
        /* ========== RESET & BASE STYLES ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Inter', sans-serif;
            color: #1a1a1a;
            background-color: #ffffff;
            line-height: 1.5;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .section-padding {
            padding: 60px 0;
        }
        
        /* ========== BUTTON STYLES ========== */
        .btn-primary {
            display: inline-block;
            background: #c9002c;
            color: white;
            padding: 12px 32px;
            border-radius: 40px;
            font-weight: 600;
            transition: 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        .btn-primary:hover {
            background: #a30023;
            transform: translateY(-2px);
        }
        
        /* ========== HERO SECTION ========== */
        .hero {
            width: 100%;
            background: #e2e2e2;
            padding: 40px 0;
            position: relative;
            overflow: hidden;
        }
        .hero-inner {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            position: relative;
        }
        .hero-mobile-bg {
            display: none;
        }
        .hero-image-desktop {
            width: 80%;
            height: auto;
            object-fit: contain;
            display: block;
            order: 2;
        }
        .hero-overlay-content {
            flex: 1;
            max-width: 48%;
            text-align: left;
            order: 1;
            z-index: 2;
        }
        .hero-overlay-content .hero-logo-title {
            margin: 0 0 10px 0;
        }
        .hero-overlay-content .hero-logo-title img {
            width: 200px;
            max-width: 100%;
            display: block;
        }
        .hero-overlay-content p {
            font-size: 16px;
            line-height: 1.45;
            color: #333;
            margin: 0 0 15px 0;
        }
        .hero-overlay-content .btn-primary {
            background: #a50034;
            padding: 12px 28px;
            border-radius: 30px;
            font-size: 14px;
            margin-top: 20px;
            display: inline-block;
        }
        .hero-overlay-content .btn-primary:hover {
            background: #8c002c;
        }

        @media (max-width: 768px) {
            .hero {
                padding: 0 !important;
                height: 650px !important;
                background: #e2e2e2 !important;
                overflow: hidden !important;
            }
            .hero-inner {
                width: 100% !important;
                height: 100% !important;
                max-width: 100% !important;
                padding: 0 !important;
                margin: 0 !important;
                display: block !important;
                position: relative !important;
            }
            .hero-image-desktop {
                display: none !important;
                visibility: hidden !important;
                opacity: 0 !important;
                width: 0 !important;
                height: 0 !important;
            }
            .hero-mobile-bg {
                display: block !important;
                position: absolute;
                inset: 0;
                background-image: url('../../lee zi back.webp');
                background-repeat: no-repeat;
                background-size: 80%;
                background-position: center 90%;
                z-index: 1;
            }
            .hero-overlay-content {
                position: absolute !important;
                top: 40px !important;
                left: 24px !important;
                right: 24px !important;
                width: auto !important;
                max-width: none !important;
                z-index: 2 !important;
                text-align: left !important;
                padding: 0 !important;
                display: block !important;
            }
            .hero-overlay-content .hero-logo-title {
                margin: 0 0 18px 0 !important;
            }
            .hero-overlay-content .hero-logo-title img {
                width: 220px !important;
                display: block !important;
            }
            .hero-overlay-content p {
                max-width: 100% !important;
                font-size: 14px !important;
                line-height: 1.4 !important;
                margin: 0 0 24px 0 !important;
                color: #333 !important;
            }
            .hero-overlay-content .btn-primary {
                margin-top: 0 !important;
                padding: 12px 26px !important;
                border-radius: 18px !important;
                font-size: 14px !important;
            }
        }
        @media (max-width: 430px) {
            .hero {
                height: 620px !important;
            }
            .hero-overlay-content {
                top: 38px !important;
                left: 20px !important;
                right: 20px !important;
            }
            .hero-overlay-content .hero-logo-title img {
                width: 210px !important;
            }
            .hero-overlay-content p {
                font-size: 13.5px !important;
            }
        }
        
        /* ========== SECTION TITLES ========== */
        .section-title {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 40px;
            font-weight: 700;
        }
        
        /* ========== PRODUCT CARDS (SWIPER) ========== */
        .product-card {
            text-align: center;
            background: white;
            border-radius: 24px;
            padding: 20px 10px;
            transition: 0.3s;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        .product-card img {
            max-width: 100%;
            height: 180px;
            object-fit: contain;
            margin-bottom: 15px;
        }
        .product-card h4 {
            font-size: 1rem;
            font-weight: 600;
        }
        
        /* ========== COMPARISON TABLE ========== */
        .compare-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            margin: 30px 0;
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        .compare-table th,
        .compare-table td {
            padding: 18px 16px;
            text-align: left;
            vertical-align: top;
            border-right: 1px solid #e9e3e3;
            border-bottom: 1px solid #e9e3e3;
            font-size: 0.98rem;
            line-height: 1.5;
        }
        .compare-table th:last-child,
        .compare-table td:last-child {
            border-right: none;
        }
        .compare-table tr:last-child td {
            border-bottom: none;
        }
        .compare-table thead th {
            background: #e1dbdb;
            font-weight: 700;
            color: #111;
        }
        .compare-table thead th:first-child {
            width: 18%;
            border-top-left-radius: 20px;
        }
        .compare-table thead th:nth-child(2) {
            width: 44%;
            background: #971D37;
            color: #fff;
        }
        .compare-table thead th:nth-child(3) {
            width: 38%;
            border-top-right-radius: 20px;
        }
        .compare-table tbody td:first-child {
            background: #e1dbdb;
            font-weight: 700;
            color: #111;
        }
        .compare-table tbody td:nth-child(2) {
            background: #971D37;
            color: #fff;
            font-weight: 600;
        }
        .compare-table tbody td:nth-child(3) {
            background: #e1dbdb;
            color: #555;
        }
        
        /* ========== PRODUCTS GRID ========== */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            margin-top: 20px;
            max-width: 1100px;
            margin-left: auto;
            margin-right: auto;
        }
        .reveal-box {
            position: relative;
            border-radius: 0;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            cursor: pointer;
            aspect-ratio: 16 / 10;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        .reveal-box:hover {
            transform: translateY(-5px);
        }
        .reveal-box .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3));
            color: white;
            padding: 20px 15px;
            transition: 0.3s;
        }
        .reveal-box .title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 5px;
        }
        .reveal-box .hidden-content {
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            transition: 0.3s;
        }
        .reveal-box:hover .hidden-content {
            max-height: 80px;
            opacity: 1;
            margin-top: 8px;
        }
        .reveal-box .hidden-content p {
            font-size: 0.75rem;
            margin-bottom: 8px;
            line-height: 1.3;
        }
        .reveal-box .btn-small {
            display: inline-block;
            background: #c9002c;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            margin-top: 5px;
        }
        
        /* ========== FAQ ACCORDION ========== */
        .accordion-item {
            background: #fff;
            border: 1px solid #e5e5e5;
            border-radius: 12px;
            margin-bottom: 12px;
            overflow: hidden;
            transition: 0.2s;
        }
        .accordion-header {
            padding: 18px 22px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: white;
            color: #1a1a1a;
        }
        .accordion-header i {
            color: #999;
            font-size: 0.9rem;
            transition: 0.2s;
        }
        .accordion-content {
            padding: 0 22px 20px 22px;
            display: none;
            border-top: none;
            color: #555;
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .accordion-item.active .accordion-header {
            color: #c9002c;
        }
        .accordion-item.active .accordion-header i {
            color: #c9002c;
        }
        .accordion-item.active .accordion-content {
            display: block;
        }
        .accordion-header:hover {
            color: #c9002c;
        }
        .accordion-header:hover i {
            color: #c9002c;
        }
        .faq-container {
            max-width: 700px;
            margin: 0 auto;
        }
        #faqAccordion {
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* ========== FOOTER ========== */
        .footer {
            background: #971D37;
            color: #fff;
            padding: 100px 0 28px;
            position: relative;
            margin-top: 0;
            border-top: none;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.35fr 0.8fr 1fr 1.3fr;
            gap: 50px;
            max-width: 1380px;
            margin: 0 auto;
            padding: 0 32px;
            align-items: start;
        }
        .footer-col h4 {
            color: #fff;
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 20px;
        }
        .footer-col p,
        .footer-col a,
        .footer-contact-item {
            color: #fff;
            font-size: 17px;
            line-height: 1.45;
        }
        .footer-intro-title {
            font-size: 20px;
            font-weight: 500;
            line-height: 1.25;
            margin-bottom: 24px;
            max-width: 360px;
        }
        .footer-intro-desc {
            max-width: 360px;
            margin-bottom: 28px;
        }
        .footer-bullet-list a,
        .footer-bullet-list .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 10px;
            color: #fff;
        }
        .footer-bullet-list a::before {
            content: "●";
            font-size: 12px;
            line-height: 1.8;
            flex-shrink: 0;
        }
        .footer-contact-item i {
            width: 20px;
            margin-top: 4px;
            flex-shrink: 0;
        }
        .footer-branch-label {
            font-weight: 700;
            margin: 6px 0 4px 0;
        }
        .footer-whatsapp-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: #fff;
            color: #111 !important;
            padding: 12px 22px;
            border-radius: 30px;
            font-size: 15px;
            font-weight: 500;
            margin-top: 24px;
            width: fit-content;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transition: 0.3s;
        }
        .footer-whatsapp-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 18px rgba(0,0,0,0.15);
        }
        .footer-bottom {
            text-align: center;
            margin-top: 44px;
            color: #fff;
            font-size: 18px;
        }
        
        @media (max-width: 1100px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 36px;
            }
        }
        @media (max-width: 768px) {
            .footer {
                padding: 50px 0 24px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
                padding: 0 20px;
            }
            .footer-intro-title {
                font-size: 24px;
                max-width: 100%;
            }
            .footer-whatsapp-btn {
                min-width: 100%;
                width: 100%;
            }
        }
        
        /* ========== SWIPER CUSTOM NAVIGATION ========== */
        .swiper-button-next,
        .swiper-button-prev {
            color: #c9002c;
        }
        

        /* ========== BANNER CAROUSEL ========== */
        .banner-carousel-wrapper {
            position: relative;
            max-width: 1250px;
            margin: 0 auto;
            overflow: hidden;
            border-radius: 20px;
            background: transparent;
            padding: 0;
            line-height: 0;
            font-size: 0;
        }
        .banner-track {
            display: flex;
            gap: 20px;
            align-items: stretch;
            transition: transform 0.7s ease-in-out;
            will-change: transform;
            line-height: 0;
            font-size: 0;
        }
        .banner-slide {
            position: relative;
            min-width: 380px;
            flex: 0 0 380px;
            aspect-ratio: 1 / 1;
            height: auto;
            border-radius: 20px;
            overflow: hidden;
            background: transparent;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            line-height: 0;
            font-size: 0;
            margin: 0;
            padding: 0;
        }
        .banner-slide img {
            display: block;
            width: 100%;
            height: 100%;
            max-width: none;
            max-height: none;
            object-fit: cover;
            object-position: center center;
            margin: 0;
            padding: 0;
            border: 0;
            vertical-align: top;
            transform: scale(1.018);
            transform-origin: center center;
            backface-visibility: hidden;
        }
        .banner-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0,0,0,0.75);
            color: white;
            border: none;
            width: 55px;
            height: 55px;
            border-radius: 50%;
            font-size: 34px;
            line-height: 1;
            cursor: pointer;
            z-index: 10;
        }
        .banner-prev { left: 15px; }
        .banner-next { right: 15px; }
        .banner-dots {
            text-align: center;
            margin-top: 18px;
            padding: 0;
            line-height: 1;
            font-size: initial;
        }
        .banner-dot {
            display: inline-block;
            width: 12px;
            height: 12px;
            margin: 0 8px;
            background: #bbbbbb;
            border-radius: 50%;
            cursor: pointer;
            vertical-align: top;
            transition: 0.2s;
        }
        .banner-dot.active {
            background: #c9002c;
            width: 32px;
            border-radius: 10px;
        }
        @media (max-width: 650px) {
            .banner-slide {
                min-width: 280px;
                flex: 0 0 280px;
                aspect-ratio: 1 / 1;
            }
            .products-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
        }
        /* ========== VIDEO BACKGROUND BEFORE FOOTER ========== */
        .lg-background {
            position: relative;
            width: 100%;
            height: 450px;
            overflow: hidden;
            background: #000;
            margin-bottom: 0;
        }
        .bg-video {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: auto;
            min-width: 100%;
            min-height: 100%;
            transform: translate(-50%, -50%) scale(1.03);
            object-fit: cover;
            object-position: center center;
            z-index: 1;
        }
        .lg-overlay {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.45);
            display: flex;
            align-items: center;
        }
        .lg-content {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 80px;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 60px;
        }
        .left-text { width: 48%; }
        .left-text h1 {
            margin: 0;
            font-size: 50px;
            font-weight: 600;
            line-height: 1.12;
        }
        .right-text {
            width: 32%;
            display: flex;
            justify-content: flex-end;
        }
        .right-text p {
            margin: 0;
            font-size: 25px;
            line-height: 1.45;
            max-width: 420px;
            text-align: left;
        }
        @media (max-width: 768px) {
            .lg-background {
                height: 500px;
            }
            .lg-overlay {
                align-items: center;
                justify-content: center;
            }
            .lg-content {
                padding: 0 24px;
                display: block;
                text-align: center;
            }
            .left-text,
            .right-text {
                width: 100%;
                display: block;
            }
            .left-text h1 {
                font-size: 38px;
                line-height: 1.15;
                font-weight: 400;
                text-align: center;
                margin-bottom: 28px;
            }
            .right-text p {
                font-size: 24px;
                line-height: 1.28;
                max-width: 430px;
                margin: 0 auto;
                text-align: center;
                font-weight: 600;
            }
        }   
         
        /* ========== CTA BEFORE FOOTER ========== */
        .lg-cta {
            position: relative;
            width: 100%;
            margin-top: -62px;
            margin-bottom: -50px;
            z-index: 20;
            padding: 0 20px;
            background: transparent;
        }
        .lg-cta::before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            bottom: 0;
            background: #971D37;
            z-index: 0;
        }
        .cta-container {
            max-width: 980px;
            margin: 0 auto;
            background: #ffffff;
            border-radius: 999px;
            padding: 20px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
            position: relative;
            z-index: 2;
        }
        .cta-logo {
            flex-shrink: 0;
            width: 78px;
            height: 78px;
            border-radius: 50%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .cta-logo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .cta-text {
            flex: 1;
            font-size: 25px;
            line-height: 1.4;
            color: #555;
            font-weight: 400;
            max-width: 560px;
        }
        .cta-btn { flex-shrink: 0; }
        .cta-btn a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #a50034;
            color: #ffffff;
            padding: 13px 30px;
            border-radius: 999px;
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            white-space: nowrap;
            min-width: 170px;
            transition: all 0.3s ease;
        }
        .cta-btn a:hover {
            background: #c9002c;
            transform: translateY(-2px);
        }
        @media (max-width: 768px) {
            .lg-cta {
                margin-top: -45px;
                margin-bottom: -35px;
                padding: 0 14px;
            }
            .cta-container {
                border-radius: 32px;
                padding: 20px 18px;
                flex-direction: column;
                text-align: center;
                gap: 16px;
            }
            .cta-logo {
                width: 70px;
                height: 70px;
            }
            .cta-text {
                max-width: 100%;
                font-size: 15px;
            }
            .cta-btn { width: 100%; }
            .cta-btn a {
                width: 100%;
                min-width: unset;
            }
        }
        
        @media (max-width: 768px) {
            .comparison {
                overflow-x: hidden;
            }
            .lg-table {
                width: 100%;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                padding-bottom: 10px;
            }
            .compare-table {
                min-width: 760px;
                width: 760px;
                margin: 20px 0;
            }
            .compare-table th,
            .compare-table td {
                padding: 14px 12px;
                font-size: 14px;
                line-height: 1.45;
            }
            .compare-table thead th:first-child {
                width: 130px;
            }
            .compare-table thead th:nth-child(2) {
                width: 310px;
            }
            .compare-table thead th:nth-child(3) {
                width: 320px;
            }
        }


/* ========== LG PREMIUM DESKTOP SCROLL REVEAL - MOBILE SAFE ========== */
/* Desktop keeps the premium smooth reveal.
   Mobile is kept safe to prevent layout breaking. */

html {
    scroll-behavior: smooth;
}

/* DESKTOP ONLY */
@media (min-width: 769px) {
    @supports (animation-timeline: view()) {
        @media (prefers-reduced-motion: no-preference) {
            .productSwiper,
            .banner-carousel-wrapper,
            .comparison .container,
            .products-grid,
            #faqAccordion,
            .lg-background,
            .lg-cta,
            .footer-grid {
                animation: lgPremiumDesktopReveal both linear;
                animation-timeline: view();
                animation-range: entry 6% cover 42%;
                transform-origin: center top;
                will-change: opacity, transform;
            }

            .section-title {
                animation: lgPremiumDesktopTitleReveal both linear;
                animation-timeline: view();
                animation-range: entry 10% cover 32%;
                will-change: opacity, transform;
            }
        }
    }
}

@keyframes lgPremiumDesktopReveal {
    0% {
        opacity: 0;
        transform: translateY(58px) scale(0.975);
    }
    35% {
        opacity: 0.45;
        transform: translateY(32px) scale(0.985);
    }
    70% {
        opacity: 0.88;
        transform: translateY(8px) scale(0.997);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes lgPremiumDesktopTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }
    55% {
        opacity: 0.75;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SMALL OPENING ONLY */
@media (prefers-reduced-motion: no-preference) {
    .promo-marquee,
    .main-header {
        animation: lgPremiumTopOpenSafe 0.7s ease-out both;
    }

    .hero-overlay-content {
        animation: lgPremiumHeroTextOpenSafe 0.75s ease-out both;
    }
}

@keyframes lgPremiumTopOpenSafe {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lgPremiumHeroTextOpenSafe {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE SAFETY OVERRIDE */
@media (max-width: 768px) {
    .productSwiper,
    .banner-carousel-wrapper,
    .comparison .container,
    .products-grid,
    #faqAccordion,
    .lg-background,
    .lg-cta,
    .footer-grid,
    .section-title {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        will-change: auto !important;
    }

    .hero,
    .hero-inner,
    .hero-mobile-bg,
    .hero-overlay-content {
        opacity: 1 !important;
        filter: none !important;
    }
}

/* Premium hover only for devices that support hover */
@media (hover: hover) {
    .product-card,
    .reveal-box,
    .banner-slide,
    .accordion-item {
        transition:
            transform 0.35s ease,
            box-shadow 0.35s ease,
            opacity 0.35s ease;
    }

    .product-card:hover,
    .reveal-box:hover,
    .banner-slide:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.13);
    }
}


/* ========== LG BACKGROUND IMAGE SLIDER - REPLACES BGINDEX VIDEO ========== */
.lg-image-background {
    position: relative;
    overflow: hidden;
    background: #08080b;
}

.lg-image-background .bg-video {
    display: none !important;
}

.lg-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 45%, rgba(201, 0, 44, 0.32), transparent 36%),
        linear-gradient(120deg, #050506 0%, #18181d 58%, #3b0712 100%);
}

.lg-bg-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(180deg, rgba(131, 131, 131, 0.1) 0%, rgba(201, 198, 198, 0.937) 100%),
            radial-gradient(circle at center, transparent 0%, rgba(85, 85, 85, 0.2) 76%);
    z-index: 2;
    pointer-events: none;
}

.lg-bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.02);
    animation: lgProductBgFadeZoom 24s infinite ease-in-out;
    will-change: opacity, transform;
}

.lg-bg-slide:nth-child(2) { animation-delay: 6s; }
.lg-bg-slide:nth-child(3) { animation-delay: 12s; }
.lg-bg-slide:nth-child(4) { animation-delay: 18s; }

@keyframes lgProductBgFadeZoom {
    0% { opacity: 0; transform: scale(1.02); }
    6% { opacity: 1; }
    25% { opacity: 1; }
    34% { opacity: 0; transform: scale(1.16); }
    100% { opacity: 0; transform: scale(1.16); }
}

.lg-image-background .lg-overlay {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .lg-bg-slide {
        object-position: center;
    }

    .lg-bg-slider::after {
        background:
            linear-gradient(180deg, rgba(131, 131, 131, 0.1) 0%, rgba(201, 198, 198, 0.937) 100%),
            radial-gradient(circle at center, transparent 0%, rgba(85, 85, 85, 0.2) 76%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lg-bg-slide {
        animation: none;
    }

    .lg-bg-slide:first-child {
        opacity: 1;
        transform: scale(1.04);
    }
}


/* ========== FINAL SAFE LOGO FIX - DO NOT BROADEN ========== */
/* Main top navigation LG logo only */
.main-header .logo img,
.header-inner .logo img,
.logo img.site-lg-logo,
.logo a img.site-lg-logo,
.logo a img[src*="LG-logo"],
.logo a img[src*="LG-Logo"] {
    width: auto !important;
    height: 48px !important;
    max-height: 48px !important;
    max-width: 150px !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
}

/* LG Subscribe logo general safety */
img.lg-subscribe-logo-img[src*="lgsubscribe"] {
    width: auto !important;
    max-width: 250px !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: inline-block !important;
    transform: none !important;
}

/* Homepage hero LG Subscribe logo */
.hero-logo-title img.lg-subscribe-logo-img[src*="lgsubscribe"],
.hero-overlay-content .hero-logo-title img.lg-subscribe-logo-img[src*="lgsubscribe"] {
    width: 250px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
}

/* Product pricing / subscription card LG Subscribe logo */
.price-card img.lg-subscribe-logo-img[src*="lgsubscribe"],
.pricing-card img.lg-subscribe-logo-img[src*="lgsubscribe"],
.subscription-card img.lg-subscribe-logo-img[src*="lgsubscribe"],
.price-section img.lg-subscribe-logo-img[src*="lgsubscribe"],
.price-wrapper img.lg-subscribe-logo-img[src*="lgsubscribe"],
.product-price img.lg-subscribe-logo-img[src*="lgsubscribe"],
.pricing-box img.lg-subscribe-logo-img[src*="lgsubscribe"],
.plan-card img.lg-subscribe-logo-img[src*="lgsubscribe"] {
    width: auto !important;
    max-width: 220px !important;
    height: auto !important;
    max-height: 58px !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: inline-block !important;
}

@media (max-width: 768px) {
    .main-header .logo img,
    .header-inner .logo img,
    .logo img.site-lg-logo,
    .logo a img.site-lg-logo,
    .logo a img[src*="LG-logo"],
    .logo a img[src*="LG-Logo"] {
        height: 42px !important;
        max-height: 42px !important;
        max-width: 130px !important;
    }

    .hero-logo-title img.lg-subscribe-logo-img[src*="lgsubscribe"],
    .hero-overlay-content .hero-logo-title img.lg-subscribe-logo-img[src*="lgsubscribe"] {
        width: 220px !important;
        max-height: none !important;
    }

    .price-card img.lg-subscribe-logo-img[src*="lgsubscribe"],
    .pricing-card img.lg-subscribe-logo-img[src*="lgsubscribe"],
    .subscription-card img.lg-subscribe-logo-img[src*="lgsubscribe"],
    .price-section img.lg-subscribe-logo-img[src*="lgsubscribe"],
    .pricing-box img.lg-subscribe-logo-img[src*="lgsubscribe"] {
        max-width: 180px !important;
        max-height: 48px !important;
    }
}
/* ========== SAFE IMAGE SEO ATTRIBUTE HANDLING ========== */
img { max-width:100%; height:auto; }
.logo img, .header-logo, img[src*=logo], img[src*=Logo], img[src*=cplg], img[src*=lgsubscribe], img[src*=OHSEM50], img[src*=whatsapp], img[alt*=Logo], img[alt*="LG Subscribe"] { height:auto!important; object-fit:contain!important; }


/* ========== ABOUT LG UNDER CONTACT DROPDOWN ========== */
.contact-dropdown-link {
    display: block;
    white-space: nowrap;
}

/* ========== FIX HOMEPAGE HERO IMAGE RESTORE ========== */
/* Restores the Lee Zii Jia homepage hero image after image SEO/nav changes. */
@media (min-width: 769px) {
    .hero {
        background: #e2e2e2 !important;
        padding: 40px 0 !important;
        overflow: hidden !important;
    }

    .hero-inner {
        max-width: 1280px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        display: grid !important;
        grid-template-columns: 330px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 42px !important;
        min-height: 430px !important;
    }

    .hero-overlay-content {
        grid-column: 1 !important;
        order: 1 !important;
        max-width: none !important;
        width: 100% !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .hero-image-desktop {
        grid-column: 2 !important;
        order: 2 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 930px !important;
        height: auto !important;
        max-height: 440px !important;
        object-fit: contain !important;
        object-position: center right !important;
        position: relative !important;
        z-index: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* ========== FINAL HERO SPLIT FIX - DESKTOP IMG / MOBILE BG ========== */
/* Desktop uses the PHP <img>. Mobile uses only the CSS background image. */

@media (min-width: 769px) {
    .hero-mobile-bg {
        display: none !important;
        background-image: none !important;
    }

    .hero-image-desktop {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 768px) {
    .hero-image-desktop {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    .hero-mobile-bg {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        background-image: url('../../lee zi back.webp') !important;
        background-repeat: no-repeat !important;
        background-size: 80% !important;
        background-position: center 90% !important;
        z-index: 1 !important;
    }
}

/* ========== MOBILE ONLY: REMOVE THE SECOND / INNER PAGE SCROLLBAR ========== */
/* The silver bar in the screenshot is not the real browser scrollbar.
   It happens when the homepage <main> becomes its own scroll container.
   This forces <main> back into the normal body/page scroll only. */
@media (max-width: 768px) {
    body > main,
    main {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        overflow: visible !important;
        -webkit-overflow-scrolling: auto !important;
        overscroll-behavior: auto !important;
    }

    /* Keep the hero image clipped, but stop the hero area from becoming a scroll box. */
    main .hero,
    main .hero-inner {
        max-height: none !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: auto !important;
        overscroll-behavior: auto !important;
    }
}
