/* ============================================================
   MAIN.CSS - IT & Electric Ghana
   Consolidated from index.php inline styles
   ============================================================ */

/* ===== 1. BASE & UTILITY STYLES ===== */
#search-box { font-size: 0.9rem; font-weight: 300; color: #333; }
#search-box::placeholder { font-size: 0.85rem; font-weight: 300; color: #999; }
#search-box:focus { font-weight: 400; outline: none; }

/* ===== 2. PRODUCT BADGES (Consolidated: discount, new, installer) ===== */
.spotlight-product-card { position: relative; overflow: hidden; }

.spotlight-discount-badge,
.new-product-tag,
.installer-price-note,
.camera-package-badge {
    position: absolute;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 20;
}

.lazy-image {
    background-color: #f0f0f0;
    transition: opacity 0.3s ease;
}
.lazy-image.loaded {
    opacity: 1;
}

.spotlight-discount-badge {
    top: 12px;
    left: 12px;
    background: #ff3d00;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.new-product-tag {
    top: 12px;
    right: -30px;
    background: #ff0000;
    color: #fff;
    padding: 6px 35px;
    font-size: 11px;
    transform: rotate(45deg);
}

.installer-price-note {
    bottom: 10px;
    right: -25px;
    background: #0ea5e9;
    color: #fff;
    padding: 4px 36px;
    font-size: 0.7rem;
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}

.installer-price-note::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.4);
    opacity: 0.5;
    z-index: -1;
}

@media (max-width: 768px) {
    .installer-price-note { font-size: 0.6rem; padding: 3px 28px; bottom: 8px; right: -22px; }
}
@media (max-width: 480px) {
    .installer-price-note { font-size: 0.55rem; padding: 2px 22px; bottom: 6px; right: -20px; }
}

/* ===================================================
   CAMERA PACKAGES HERO SLIDER
   INCREASED HEIGHT TO MATCH 1920×800 IMAGES
=================================================== */

/* Wrapper section */
.pkg-slider-section {
    margin: 0;
    padding: 0;
}

/* Section header above the slider */
.pkg-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto 16px;
    padding: 0 20px;
}

.pkg-slider-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.pkg-slider-header h2 i {
    color: #ee2d24;
    margin-right: 8px;
}

.pkg-slider-view-all {
    font-size: 0.9rem;
    font-weight: 600;
    color: #00a8a8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.pkg-slider-view-all:hover {
    gap: 10px;
    color: #007f7f;
}

/* ============================================================
   REUSABLE SLIDESHOW COMPONENT
   Use class="slideshow-container" on any div to create a slideshow
   ============================================================ */

.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 30px;
}

.slideshow-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slideshow-slide {
    flex: 0 0 100%;
    position: relative;
    aspect-ratio: 1920 / 800;
    min-height: auto;
    background-color: #000;
}

/* For browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 1920 / 800) {
    .slideshow-slide {
        height: auto;
        padding-bottom: 41.66%;
    }
    .slideshow-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Image slides */
.slideshow-slide[style*="background-image"] {
    background-size: fill !important;
    background-repeat: no-repeat !important;
    background-position: center;
    background-color: #000;
}

/* Video slides */
.slideshow-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    background: #000;
}

/* Overlay gradient */
.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.05) 100%);
}

/* Banner content */
.slideshow-content {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.slideshow-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Navigation buttons */
.slideshow-prev,
.slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-prev { left: 15px; }
.slideshow-next { right: 15px; }

.slideshow-prev:hover,
.slideshow-next:hover {
    background: #ee2d24;
    transform: translateY(-50%) scale(1.05);
}

/* Dot indicators */
.slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-dot.active {
    background: #ee2d24 !important;
    width: 24px !important;
    border-radius: 5px !important;
}

/* Progress bar */
.slideshow-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #ee2d24;
    transition: width linear;
    z-index: 10;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .slideshow-content {
        left: 20px;
    }
    .slideshow-content h3 {
        font-size: 1.2rem;
    }
    .slideshow-content .banner-cta {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    .slideshow-prev,
    .slideshow-next {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .slideshow-content h3 {
        font-size: 0.9rem;
    }
    .slideshow-content .banner-cta {
        padding: 4px 10px;
        font-size: 0.6rem;
    }
}

/* ===== SLIDER CONTAINER - INCREASED HEIGHT ===== */
/* Override the default .slider-container-premium for this specific slider */
#pkgSliderContainer {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 800;
    max-height: none;
    min-height: 320px;
    background-color: #111;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

@media (min-width: 1920px) {
    #pkgSliderContainer {
        max-height: 800px;
    }
}

@supports not (aspect-ratio: 1920 / 800) {
    #pkgSliderContainer {
        min-height: 400px;
    }
    @media (min-width: 768px) {
        #pkgSliderContainer {
            min-height: 500px;
        }
    }
    @media (min-width: 1200px) {
        #pkgSliderContainer {
            min-height: 600px;
        }
    }
    @media (min-width: 1600px) {
        #pkgSliderContainer {
            min-height: 750px;
        }
    }
}

#pkgSliderContainer .premium-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

#pkgSliderContainer .premium-slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
    overflow: hidden;
}

#pkgSliderContainer .premium-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 8s ease-in-out;
    transform: scale(1.0);
}

#pkgSliderContainer .premium-slide.is-active img {
    transform: scale(1.08);
}

.pkg-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 0 6% 0 7%;
}

.pkg-slide-content {
    color: #fff;
    max-width: 560px;
}

.pkg-slide-label {
    display: inline-block;
    background: #ee2d24;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease 0.1s, transform 0.45s ease 0.1s;
}

.pkg-slide-title {
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.45s ease 0.22s, transform 0.45s ease 0.22s;
}

.pkg-slide-tagline {
    font-size: clamp(0.85rem, 1.6vw, 1.05rem);
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 28px;
    transition: opacity 0.45s ease 0.34s, transform 0.45s ease 0.34s;
}

.pkg-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ee2d24;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(238, 45, 36, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, gap 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.pkg-slide-cta:hover {
    box-shadow: 0 10px 28px rgba(238, 45, 36, 0.5);
    gap: 12px;
}

.pkg-slide-overlay.pkg-text-visible .pkg-slide-label,
.pkg-slide-overlay.pkg-text-visible .pkg-slide-title,
.pkg-slide-overlay.pkg-text-visible .pkg-slide-tagline {
    opacity: 1;
    transform: translateY(0);
}

.pkg-slide-overlay.pkg-text-visible .pkg-slide-cta {
    opacity: 1;
    transform: translateY(0);
}

.pkg-slide-overlay.pkg-text-visible .pkg-slide-cta:hover {
    transform: translateY(-3px);
}

/* Printers Slideshow Styles */
.printers-slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 30px;
}

.printers-slides-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.printers-slide {
    flex: 0 0 100%;
    position: relative;
    aspect-ratio: 1920 / 800;
    min-height: auto;
}

@supports not (aspect-ratio: 1920 / 800) {
    .printers-slide {
        height: auto;
        padding-bottom: 41.66%;
    }
    .printers-slide-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.printers-slide:has(video) {
    background: #000;
}

.printers-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.printers-slide[style*="background-image"] {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-color: #000;
}

.printers-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.05) 100%);
}

.printers-banner-content {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.printers-banner-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.printers-prev-btn:hover,
.printers-next-btn:hover {
    background: #ee2d24;
    transform: translateY(-50%) scale(1.05);
}

.printers-dot.active {
    background: #ee2d24 !important;
    width: 24px !important;
    border-radius: 5px !important;
}

@media (max-width: 768px) {
    .printers-banner-content {
        left: 20px;
    }
    .printers-banner-content h3 {
        font-size: 1.2rem;
    }
    .printers-banner-content .banner-cta {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .printers-banner-content h3 {
        font-size: 0.9rem;
    }
    .printers-banner-content .banner-cta {
        padding: 4px 10px;
        font-size: 0.6rem;
    }
}

#pkgSliderContainer .premium-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.1rem;
}

#pkgSliderContainer .premium-nav-btn:hover {
    background: #ee2d24;
    transform: translateY(-50%) scale(1.05);
}

#pkgSliderContainer .premium-prev-btn { left: 15px; }
#pkgSliderContainer .premium-next-btn { right: 15px; }

#pkgSliderContainer .premium-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

#pkgSliderContainer .premium-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

#pkgSliderContainer .premium-dots .dot.active {
    background: #ee2d24;
    width: 24px;
    border-radius: 5px;
}

#pkgSliderContainer .premium-dots .dot:hover {
    background: #00a8a8;
}

#pkgSliderContainer .premium-indicators {
    position: absolute;
    bottom: 18px;
    right: 20px;
    background: rgba(0, 0, 0, 0.55);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: white;
    z-index: 10;
}

#pkgSliderContainer .premium-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 10;
}

#pkgSliderContainer .premium-progress-bar {
    height: 100%;
    width: 0%;
    background: #ee2d24;
    transition: width linear;
}

@media (max-width: 768px) {
    .pkg-slider-header {
        margin: 30px auto 12px;
    }
    .pkg-slider-header h2 {
        font-size: 18px;
    }
    #pkgSliderContainer {
        aspect-ratio: 16 / 9;
    }
    .pkg-slide-overlay {
        padding: 0 5% 6% 5%;
        align-items: flex-end;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.80) 0%,
            rgba(0, 0, 0, 0.35) 55%,
            rgba(0, 0, 0, 0.05) 100%
        );
    }
    .pkg-slide-title {
        font-size: 1.4rem;
    }
    .pkg-slide-tagline {
        display: none;
    }
    .pkg-slide-cta {
        padding: 10px 22px;
        font-size: 0.82rem;
    }
    #pkgSliderContainer .premium-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    #pkgSliderContainer .premium-dots {
        bottom: 12px;
    }
    #pkgSliderContainer .premium-indicators {
        bottom: 12px;
        right: 12px;
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    #pkgSliderContainer {
        min-height: 240px;
    }
    .pkg-slide-title {
        font-size: 1.1rem;
    }
    .pkg-slide-label {
        font-size: 0.6rem;
        padding: 3px 10px;
        margin-bottom: 10px;
    }
    .pkg-slide-cta {
        padding: 8px 16px;
        font-size: 0.7rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .pkg-slide-title {
        font-size: 1.8rem;
    }
    .pkg-slide-tagline {
        font-size: 0.9rem;
    }
}

/* =====================================================
   3D ANIMATED CHATBOT AVATAR + FLOATING BUTTONS
   ===================================================== */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-10px);
}

.whatsapp-btn { background: #25D366; }
.promo-btn { background: #ff6b6b; }
.categories-btn { background: #4a6cf7; }

.btn-tooltip {
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

.chatbot-wrapper { position: relative; }

.chatbot-toggle {
    width: 64px !important;
    height: 64px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
}

.chatbot-toggle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #4a6cf7;
    opacity: 0;
    animation: chatPulseRing 2.4s ease-out infinite;
    pointer-events: none;
}

.chatbot-toggle.engaged::before { animation: none; opacity: 0 !important; }

@keyframes chatPulseRing {
    0%   { transform: scale(0.9); opacity: 0.8; }
    80%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

.chatbot-3d-scene {
    position: relative;
    width: 64px;
    height: 64px;
    perspective: 400px;
    transform-style: preserve-3d;
    cursor: pointer;
    animation: chatBob 4s ease-in-out infinite;
}

@keyframes chatBob {
    0%, 100% { transform: translateY(0)   rotateX(0deg); }
    50%      { transform: translateY(-3px) rotateX(2deg); }
}

.chatbot-3d-body {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.chatbot-3d-body svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(74, 108, 247, 0.35));
    transition: filter 0.3s ease;
}

.chatbot-toggle:hover .chatbot-3d-body svg {
    filter: drop-shadow(0 6px 12px rgba(106, 17, 203, 0.5));
}

.eye-pupil {
    transition: transform 0.08s linear;
}

.eyelid {
    transform-origin: center;
    transform: scaleY(0);
    transition: transform 0.12s ease-in;
}
.eyelid.blink { transform: scaleY(1); }

.antenna-ball { transform-origin: 32px 8px; }

.chatbot-3d-scene.thinking .antenna-ball {
    animation: antennaPulse 0.8s ease-in-out infinite;
}
.chatbot-3d-scene.thinking .eye-pupil {
    animation: eyeSpin 1.2s linear infinite;
}

@keyframes antennaPulse {
    0%, 100% { transform: scale(1)   translateY(0);   fill: #4a6cf7; }
    50%      { transform: scale(1.4) translateY(-2px); fill: #6a11cb; }
}
@keyframes eyeSpin {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(2px, -1px); }
    50%  { transform: translate(0, 1px); }
    75%  { transform: translate(-2px, -1px); }
    100% { transform: translate(0, 0); }
}

.chatbot-3d-scene.happy .chatbot-3d-body {
    animation: happyBounce 0.6s ease;
}
@keyframes happyBounce {
    0%   { transform: scale(1)   rotate(0deg); }
    25%  { transform: scale(1.1) rotate(-6deg); }
    50%  { transform: scale(1.15) rotate(6deg); }
    75%  { transform: scale(1.05) rotate(-3deg); }
    100% { transform: scale(1)   rotate(0deg); }
}

.chatbot-notif {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #ee2d24;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 9px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 5;
}
.chatbot-notif.show { opacity: 1; transform: scale(1); }

.chatbot-toggle .btn-tooltip {
    right: 74px;
}

.chatbot-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    z-index: 1100;
}
.chatbot-window.active {
    display: flex;
    animation: chatbotOpen 0.3s ease;
}

@media (max-width: 768px) {
    .floating-buttons { bottom: 15px; right: 15px; }
    .floating-btn:not(.chatbot-toggle) { width: 40px; height: 40px; font-size: 16px; }
    .floating-btn .btn-tooltip { right: 45px; font-size: 11px; padding: 5px 8px; }
    .chatbot-toggle, .chatbot-3d-scene { width: 56px; height: 56px; }
    .chatbot-toggle .btn-tooltip { right: 66px; }
}

@media (prefers-reduced-motion: reduce) {
    .chatbot-3d-scene,
    .chatbot-3d-scene.happy .chatbot-3d-body,
    .chatbot-toggle::before { animation: none !important; }
}

/* ===== 4. POPUP & MODAL STYLES (New Arrival + Weekend Deals) ===== */
.new-arrival-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.new-arrival-popup-overlay.active { display: flex; }

.new-arrival-popup-container {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.new-arrival-popup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #ff6b00;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.new-arrival-popup-close:hover {
    background: #ff4500;
    transform: rotate(90deg);
}

.new-arrival-popup-content { display: flex; flex-direction: column; }

.new-arrival-popup-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.new-arrival-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-arrival-popup-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b00, #ff4500);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
    animation: pulse 2s infinite;
}

.new-arrival-popup-text {
    padding: 30px;
    text-align: center;
}

.new-arrival-popup-text h2 {
    color: #ff4500;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.new-arrival-popup-text p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
}

.new-arrival-popup-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.new-arrival-popup-list li {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-arrival-popup-list li i { color: #ff6b00; }

.new-arrival-popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

.new-arrival-popup-btn,
.banner-cta,
.bss-readmore {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.new-arrival-popup-btn.primary,
.banner-cta{
    background: linear-gradient(135deg, #ff6b00, #ff4500);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.new-arrival-popup-btn.primary:hover,
.banner-cta:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.4);
    gap: 12px;
}

.new-arrival-popup-btn.secondary {
    background: #f1f2f6;
    color: #333;
}

.new-arrival-popup-btn.secondary:hover {
    background: #dfe4ea;
    transform: translateY(-2px);
}

.bss-readmore {
    background: #008080;
    color: #fff;
}

.bss-readmore:hover {
    background: #006666;
    gap: 13px;
    transform: translateY(-2px);
}

.new-arrival-popup-small {
    font-size: 0.85rem;
    color: #999;
}

@media (min-width: 768px) {
    .valentine-popup-content { flex-direction: row; }
    .valentine-popup-image { width: 40%; height: auto; border-radius: 20px 0 0 20px; }
    .valentine-popup-text { width: 60%; }
}

@media (max-width: 767px) {
    .valentine-popup-image { height: 180px; }
    .valentine-popup-text { padding: 20px; }
    .valentine-popup-text h2 { font-size: 1.4rem; }
    .valentine-popup-actions { flex-direction: column; }
    .new-arrival-popup-text h2 { font-size: 1.4rem; }
    .new-arrival-popup-actions { flex-direction: column; }
}

/* ===== 5. ANIMATIONS (All consolidated) ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes chatbotOpen {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kenBurnsFade80s {
    0% { opacity: 0; transform: scale(1.2); }
    2% { opacity: 1; }
    6.25% { opacity: 1; transform: scale(1.05); }
    8% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; }
}

@keyframes navPulseTeal {
    0% { box-shadow: 0 0 0 0 rgba(0, 168, 168, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(0, 168, 168, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 168, 168, 0); }
}

@keyframes gentlePulse {
    0% { box-shadow: 0 0 0 0 rgba(238, 45, 36, 0.3); }
    70% { box-shadow: 0 0 0 10px rgba(238, 45, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(238, 45, 36, 0); }
}

/* ===== 6. PREMIUM SLIDER (JS-controlled, translateX) ===== */
.slider-container-premium {
    position: relative;
    width: 100%;
    aspect-ratio: 12 / 5;
    max-height: 800px;
    min-height: 180px;
    background-color: #111;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.premium-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.premium-slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.premium-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 8s ease-in-out;
    transform: scale(1.0);
}

.premium-slide.is-active img {
    transform: scale(1.08);
}

.premium-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1rem;
}

.premium-nav-btn:hover {
    background: #ee2d24;
    transform: translateY(-50%) scale(1.05);
}

.premium-prev-btn { left: 15px; }
.premium-next-btn { right: 15px; }

.premium-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.premium-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.premium-dots .dot.active {
    background: #ee2d24;
    width: 24px;
    border-radius: 5px;
}

.premium-dots .dot:hover {
    background: #00a8a8;
}

.premium-indicators {
    position: absolute;
    bottom: 14px;
    right: 16px;
    background: rgba(0, 0, 0, 0.55);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: white;
    z-index: 10;
}

.premium-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 10;
}

.premium-progress-bar {
    height: 100%;
    width: 0%;
    background: #ee2d24;
    transition: width linear;
}

/* ===== 7. BLOG SLIDESHOW (bss) & CATEGORY BANNER STYLES ===== */
.bss {
    max-width: 1280px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bss-header { text-align: center; margin-bottom: 40px; }
.bss-header h2 { font-size: 2rem; font-weight: 700; color: #1a1a2e; margin: 0 0 8px; letter-spacing: -0.5px; }
.bss-header p { color: #666; font-size: 0.95rem; margin: 0; }
.bss-accent-bar { width: 48px; height: 3px; background: #ff6b00; margin: 14px auto 0; border-radius: 2px; }

.bss-progress { height: 2px; background: #f0f0f0; border-radius: 2px 2px 0 0; overflow: hidden; }
.bss-progress-fill { height: 100%; background: #ff6b00; width: 0%; }

.bss-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.bss-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.bss-slide { flex: 0 0 100%; display: flex; min-height: 380px; }

.bss-tilt {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.bss-img {
    flex: 0 0 42%;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.bss-img svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    display: block;
}

.bss-content {
    flex: 1;
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.bss-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
    width: fit-content;
}

.bss-cat-technology { background: #e8f4fd; color: #1a6fa8; }
.bss-cat-news { background: #fef3e8; color: #b85c00; }
.bss-cat-tips { background: #e8f8f2; color: #0a6b4a; }
.bss-cat-product { background: #f3eeff; color: #6b33cc; }
.bss-cat-guide { background: #fff8e8; color: #8a6000; }
.bss-cat-default { background: #fff0e8; color: #993a00; }

.bss-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.bss-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.bss-title a:hover { color: #ff6b00; }

.bss-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 14px;
    align-items: center;
}

.bss-meta span { display: flex; align-items: center; gap: 5px; }

.bss-excerpt {
    color: #555;
    line-height: 1.75;
    margin-bottom: 24px;
    font-size: 0.92rem;
}

.bss-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    z-index: 10;
    font-size: 1rem;
    border: none;
    backdrop-filter: blur(4px);
}

.bss-arrow:hover {
    background: #ff6b00;
    transform: translateY(-50%) scale(1.1);
}

.bss-prev { left: 14px; }
.bss-next { right: 14px; }

.bss-dots {
    position: absolute;
    bottom: 18px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.bss-dot {
    width: 36px;
    height: 4px;
    background: rgba(128,128,128,0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.bss-dot.active { background: #ff6b00; width: 56px; }
.bss-dot:hover { background: #ff6b00; }

.bss-view-all { text-align: center; margin-top: 36px; }
.bss-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid #008080;
    color: #008080;
    padding: 11px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.bss-view-all-btn:hover {
    background: #008080;
    color: #fff;
    gap: 15px;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .bss { margin: 40px auto; }
    .bss-header h2 { font-size: 1.5rem; }
    .bss-slide { flex-direction: column; }
    .bss-img { flex: 0 0 220px; min-width: 100%; }
    .bss-content { padding: 28px; }
    .bss-title { font-size: 1.25rem; }
    .bss-dots { bottom: 10px; right: 12px; }
    .bss-dot { width: 28px; }
    .bss-arrow { width: 36px; height: 36px; }
}

/* ===== 9. CATEGORY CAROUSEL & CTA SECTION ===== */
.category-carousel {
    padding: 60px 0;
    background: #f9fbfb;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    gap: 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.carousel-controls button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: 0.3s;
}

.carousel-controls button:hover {
    background: #00a8a8;
    color: #fff;
}

.category-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.category-track::-webkit-scrollbar { display: none; }

.category-card {
    min-width: 180px;
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: #00a8a8;
    box-shadow: 0 10px 25px rgba(0,168,168,0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00a8a8, #00c2c2);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 6px 15px rgba(0,168,168,0.25);
}

.category-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #111;
    font-weight: 600;
}

.category-link {
    font-size: 13px;
    font-weight: 600;
    color: #ff0000;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.category-card:hover .category-link { color: #00a8a8; }

.category-cta-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 60px 0;
}

.category-cta-card {
    height: 220px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.category-cta-card:hover { transform: translateY(-5px); }

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.cta-overlay h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.cta-btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    background: #00a8a8;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    width: max-content;
    transition: 0.3s;
}

.cta-btn:hover { background: #ff0000; }

/* ===== 10. CATEGORY BANNER (Zoom-out effect) ===== */
.category-banner {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: 16px;
    overflow: hidden;
    margin: 30px 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.category-banner:hover { background-size: 92%; background-position: center center; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }

.category-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.category-banner:hover::before { opacity: 0.7; }

.category-banner .banner-content {
    position: relative;
    z-index: 2;
    width: fit-content;
    max-width: 35%;
    margin: auto 0;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-left: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-banner:hover .banner-content {
    transform: translateX(8px);
}

.category-banner .banner-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.3px;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    text-decoration: none;
    animation: gentlePulse 2.5s ease-in-out 1s 2;
}

.banner-cta::after {
    content: '→';
    transition: transform 0.3s ease;
}

.banner-cta:hover::after { transform: translateX(5px); }

.category-banner.subject-left { background-position: center left; }
.category-banner.subject-left:hover { background-position: center center; }
.category-banner.subject-right { background-position: center right; }
.category-banner.subject-right:hover { background-position: center center; }

.category-banner.subject-right .banner-content {
    margin-left: auto;
    margin-right: 50px;
    border-right: 4px solid #ee2d24;
    border-radius: 12px 0 0 12px;
    text-align: right;
}

.category-banner.subject-right:hover .banner-content { transform: translateX(-8px); }

@media (max-width: 1024px) {
    .category-banner { min-height: 420px; }
    .category-banner .banner-content { max-width: 45%; margin-left: 35px; padding: 16px 22px; }
    .category-banner .banner-content h3 { font-size: 1.2rem; }
    .category-banner .banner-content p { font-size: 0.85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

@media (max-width: 768px) {
    .category-banner { min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
    .category-banner:hover { background-size: cover; }
    .category-banner::before { background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%); }
    .category-banner .banner-content { max-width: 85%; margin: 0 auto 20px auto; padding: 14px 20px; border-radius: 12px; }
    .category-banner .banner-content h3 { font-size: 1rem; margin-bottom: 0; }
    .category-banner .banner-content p { display: none; }
    .category-banner:hover .banner-content { transform: translateX(0); }
    .banner-cta { padding: 8px 18px; font-size: 0.7rem; }
}

@media (max-width: 480px) {
    .category-banner { min-height: 260px; }
    .category-banner .banner-content { max-width: 90%; padding: 12px 16px; margin-bottom: 15px; }
    .category-banner .banner-content h3 { font-size: 0.85rem; }
    .banner-cta { padding: 6px 14px; font-size: 0.65rem; }
}

/* ===== 11. FLYER GALLERY & BRANDS ===== */
.flyer-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.flyer-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.flyer-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.flyer-info {
    padding: 20px;
    text-align: center;
}

.flyer-info i {
    font-size: 2rem;
    color: #00a8a8;
    margin-bottom: 10px;
}

.flyer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #1a252f;
}

.flyer-info p {
    color: #666;
    font-size: 0.85rem;
}

/* ---- Brand Carousel ---- */
.popular-brands {
    padding: 40px 0;
    text-align: center;
}
.popular-brands h2 {
    margin-bottom: 28px;
    font-size: 1.5rem;
}

.brands-carousel {
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.brands-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: auto; /* JS handles smooth auto-scroll, not CSS */
    -webkit-overflow-scrolling: touch; /* smooth momentum scroll on iOS */
    cursor: grab;
    user-select: none;
    padding: 4px 0 12px; /* room so cards don't touch the mask edges */
}
.brands-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}
/* Hide scrollbar but keep it scrollable */
.brands-track::-webkit-scrollbar { display: none; }
.brands-track { scrollbar-width: none; }

.brand-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 110px;
    padding: 16px 10px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.brand-card:hover,
.brand-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
    border-color: #ff6b00;
    outline: none;
}

.brand-logo-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}
.brand-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    padding: 8px;
    border-radius: 10px;
    background: #fff;
    -webkit-user-drag: none;
}
.brand-initials {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff6b00, #e05500);
    border-radius: 10px;
    letter-spacing: 1px;
}
.brand-initials--visible {
    display: flex;
}
.brand-card h4 {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

@media (max-width: 480px) {
    .brand-card { width: 85px; }
    .brand-logo-wrap, .brand-logo { width: 70px; height: 70px; }
}

/* ===== 12. QUICK NAVIGATION BUTTONS ===== */
.quick-nav-wrapper {
    position: fixed;
    left: 20px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999999;
}

.nav-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #ffffff;
    cursor: pointer;
}

.nav-btn i { font-size: 1.4rem; margin: 0; padding: 0; }

.btn-up {
    background-color: #00a8a8;
    animation: navPulseTeal 3s infinite;
}

.btn-down { background-color: #ee2d24; }

.nav-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    filter: brightness(1.1);
}

.btn-up:hover { background-color: #1a252f; border-color: #00a8a8; }
.btn-down:hover { background-color: #1a252f; border-color: #ee2d24; }

html { scroll-behavior: smooth !important; }

@media (max-width: 768px) {
    .quick-nav-wrapper { left: 10px; bottom: 160px; }
    .nav-btn { width: 48px; height: 48px; }
    .nav-btn i { font-size: 1.1rem; }
}

/* ===== 13. BLOG FLOATING BANNER ===== */
.blog-floating-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 340px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.4s ease;
    border-left: 5px solid #ff6b00;
    overflow: hidden;
}

.blog-floating-banner.show { transform: translateX(0); }

.blog-floating-banner-content {
    display: flex;
    padding: 15px;
    gap: 12px;
    align-items: center;
}

.blog-floating-icon {
    width: 45px;
    height: 45px;
    background: #ff6b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.blog-floating-text { flex: 1; }
.blog-floating-text h4 { font-size: 0.85rem; color: #ff6b00; margin-bottom: 3px; font-weight: 700; }
.blog-floating-text p { font-size: 0.8rem; color: #333; margin-bottom: 5px; line-height: 1.4; }
.blog-floating-text a { color: #008080; text-decoration: none; font-weight: 600; font-size: 0.75rem; display: inline-flex; align-items: center; gap: 5px; }
.blog-floating-text a:hover { color: #ee2d24; gap: 8px; }

.blog-floating-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 12px;
    padding: 2px;
}

.blog-floating-close:hover { color: #ff6b00; }

@media (max-width: 480px) {
    .blog-floating-banner { width: 280px; bottom: 15px; right: 15px; }
    .blog-floating-icon { width: 38px; height: 38px; font-size: 1rem; }
}

/* ===== 14. SHUFFLE BUTTON & RESPONSIVE FIXES ===== */
.shuffle-random-btn {
    background: linear-gradient(90deg, #ff6b6b, #4a6cf7);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: 1rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .random-products-spotlight .spotlight-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .shuffle-random-btn { margin: 0 !important; align-self: flex-start; }
}

@media (min-width: 769px) {
    .random-products-spotlight .spotlight-header { flex-direction: row; align-items: center; }
}

/* ===== 15. SPOTLIGHT CAROUSEL (drag-scroll) ===== */
.spotlight-products {
    overflow-x: auto;
    scroll-behavior: smooth;
    cursor: grab;
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
}

.spotlight-products:active { cursor: grabbing; }
.spotlight-products::-webkit-scrollbar { display: none; }

.spotlight-product-card {
    flex: 0 0 auto;
    width: 250px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.spotlight-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.spotlight-product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.spotlight-product-card h3 {
    font-size: 1rem;
    padding: 10px 12px 5px;
    margin: 0;
}

.spotlight-price {
    padding: 0 12px 12px;
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.spotlight-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8rem;
}

.spotlight-current-price {
    color: #ee2d24;
    font-weight: 700;
    font-size: 1.1rem;
}

.add-to-cart-btn {
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    padding: 10px;
    background: #00a8a8;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-cart-btn:hover { background: #ee2d24; }

.spotlight-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.spotlight-controls button {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.spotlight-controls button:hover { background: #ee2d24; }

.spotlight-products-wrapper { position: relative; }

/* ===== 16. PREMIUM NAVIGATION ===== */
.it-nav-wrapper {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.it-nav-wrapper li {
    position: relative;
}

.it-nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.it-nav-link i {
    color: #00a8a8;
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.it-nav-link:hover {
    color: #ee2d24;
    background: rgba(0, 168, 168, 0.05);
}

.it-nav-link:hover i {
    color: #ee2d24;
    transform: translateY(-3px);
}

.it-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #00a8a8;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 10px;
}

.it-nav-link:hover::after {
    width: 70%;
}

.it-nav-link.active {
    color: #ee2d24;
}
.it-nav-link.active i {
    color: #ee2d24;
}
.it-nav-link.active::after {
    width: 70%;
    background: #ee2d24;
}

@media (max-width: 768px) {
    .it-nav-wrapper { gap: 5px; }
    .it-nav-link { font-size: 0.75rem; padding: 8px 10px; }
}

/* ===== 17. SOLAR BADGES ===== */
.solar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 5px;
}

.camera-badge {
    background: #1a6fa8;
    color: white;
}

.panel-badge {
    background: #f39c12;
    color: #1a252f;
}

.inverter-badge {
    background: #e67e22;
    color: white;
}

.battery-badge {
    background: #27ae60;
    color: white;
}

@media (max-width: 768px) {
    .solar-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
}