:root {
    --header-height: 70px;
    --primary-blue: #1d4ed8;
    --primary-dark: #1e3a8a;
    --primary-light: #eff6ff;
    --accent-blue: #3b82f6;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --border-gray: #e5e7eb;
    --glass-bg: rgba(255, 255, 255, 0.85);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;

    scroll-behavior: smooth;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter Variable', 'Inter', 'Segoe UI', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.products-page,
.news-page,
.page-default-section,
.page-layout-full-width,
.page-hot-news-section,
.about-pro-section,
.contact-page,
.contact-map-section,
.related-products-block {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.top-bar {
    background-color: var(--primary-dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gray);
    position: relative;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header-main .container {
    max-width: none;
    margin: 0;
    padding-left: 90px;
    /* padding-right: 200px; */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height); /* Consistent height for the merged header */
    gap: 0.75rem;
    min-width: 0;
    padding-left: 0;
    position: relative;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    display: inline-block;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--primary-dark);
    white-space: nowrap;
}

.main-nav-combined {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    overflow: visible;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: visible;
    max-width: 100%;
    justify-content: center;
}

.nav-link {
    display: block;
    padding: 1.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-main);
    letter-spacing: 0.05em;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 0 0 auto;
    min-width: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
    min-width: 0;
}

.contact-item {
    display: flex;
    align-items: center;
}

.mobile-traffic-entry {
    display: none;
}

.mobile-toggle {
    display: none;
}

.mobile-submenu-toggle {
    display: none;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    z-index: 10010;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
}


/* Navigation moved to header */

.nav-item {
    position: relative;
    flex: 0 0 auto;
}

@media (min-width: 1025px) {
    .nav-item.has-children {
        position: static;
    }

    .header-container {
        justify-content: flex-start;
    }

    .main-nav-combined {
        justify-content: flex-end;
        padding-left: clamp(16px, 2vw, 40px);
        min-width: 0;
    }

    .nav-links {
        justify-content: flex-end;
        min-width: 0;
    }

    .header-actions {
        margin-left: clamp(20px, 1.9vw, 33px);
        padding-left: clamp(8px, 1vw, 16px);
    }

    .contact-info {
        gap: clamp(0.7rem, 1vw, 1rem);
    }
}

.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    font-weight: 550;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: var(--text-main);
    letter-spacing: 0.06em;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.desktop-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(37, 99, 235, 0.28);
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 0 0 auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.desktop-more-toggle.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.desktop-more-toggle:hover {
    background: rgba(37, 99, 235, 0.14);
    transform: translateY(-1px);
}

.desktop-more-toggle i {
    font-size: 1rem;
}

.desktop-more-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(90vw, 340px);
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid var(--border-gray);
    box-shadow: -10px 0 35px rgba(15, 23, 42, 0.2);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 10020;
    display: flex;
    flex-direction: column;
}

.desktop-more-drawer.active {
    transform: translateX(0);
}

.desktop-more-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 0.9rem;
    border-bottom: 1px solid var(--border-gray);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.desktop-more-head button {
    border: 0;
    background: transparent;
    font-size: 1rem;
    color: var(--text-main);
    cursor: pointer;
}

.desktop-more-list {
    list-style: none;
    margin: 0;
    padding: 0.75rem;
    overflow-y: auto;
}

.desktop-more-list .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border-gray);
}

.desktop-more-list .nav-link {
    display: block;
    padding: 0.8rem 0.25rem;
    font-size: 0.82rem;
}

.desktop-more-list .mega-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    max-width: none;
    border: 0;
    box-shadow: none;
    padding: 0.5rem 0;
    grid-template-columns: 1fr;
    margin: 0;
}

.mega-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translate(-50%, 10px);
    width: min(1320px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    background: var(--bg-white);
    border: 1px solid var(--border-gray);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    align-content: start;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
    z-index: 1000;
    margin-left: 0;
    white-space: normal;
}

.mega-menu-five-cols {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mega-col,
.mega-links li {
    min-width: 0;
}

.mega-col h5 {
    font-size: 0.88rem;
    font-weight: 650;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.45;
    letter-spacing: 0.02em;
}
.mega-col h5 a {
    color: inherit;
    text-decoration: none;
    display: block;
    white-space: normal;
    word-break: break-word;
}
.mega-col h5 a:hover {
    color: var(--primary-blue);
}

.mega-menu-five-cols .mega-col-highlight h5 {
    border-bottom: none;
    margin-bottom: 0.9rem;
    padding-bottom: 0;
}

.mega-menu-five-cols .mega-col-highlight h5 a {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-blue);
    color: #fff;
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(37, 77, 167, 0.18);
    transition: var(--transition-fast);
}

.mega-menu-five-cols .mega-col-highlight-blink h5 a {
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        #35b8ff 22%,
        var(--accent-blue) 42%,
        #7c3aed 62%,
        #ff8a00 82%,
        var(--primary-blue) 100%
    );
    background-size: 280% 280%;
    text-shadow: 0 1px 6px rgba(12, 29, 84, 0.4);
    animation: megaMenuHighlightBlink 0.9s ease-in-out infinite, megaMenuHighlightGradient 2.8s linear infinite;
}

.mega-menu-five-cols .mega-col-highlight-blink h5 a::before {
    content: '';
    position: absolute;
    inset: -30% auto -30% -25%;
    width: 34%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0));
    transform: rotate(18deg);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: megaMenuHighlightShine 1.35s ease-in-out infinite;
}

.mega-menu-five-cols .mega-col-highlight h5 a:hover {
    color: #fff;
    background-color: var(--accent-blue);
    transform: translateY(-2px);
}

@keyframes megaMenuHighlightBlink {
    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow:
            0 10px 22px rgba(37, 77, 167, 0.18),
            0 0 0 0 rgba(53, 184, 255, 0.14);
        filter: saturate(1) hue-rotate(0deg);
    }

    50% {
        transform: translateY(-1px) scale(1.1);
        box-shadow:
            0 16px 34px rgba(37, 77, 167, 0.36),
            0 0 0 6px rgba(124, 58, 237, 0.14),
            0 0 18px rgba(255, 138, 0, 0.22);
        filter: saturate(1.28) hue-rotate(10deg);
    }
}

@keyframes megaMenuHighlightGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes megaMenuHighlightShine {
    0% {
        left: -35%;
        opacity: 0;
    }

    25% {
        opacity: 0.25;
    }

    55% {
        left: 118%;
        opacity: 0.95;
    }

    100% {
        left: 140%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mega-menu-five-cols .mega-col-highlight-blink h5 a {
        animation: none;
    }

    .mega-menu-five-cols .mega-col-highlight-blink h5 a::before {
        animation: none;
    }
}

.mega-links li {
    margin-bottom: 0.5rem;
}

.mega-links a {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    padding: 0.15rem 0 0.15rem 1rem;
    position: relative;
    transition: var(--transition-fast);
    white-space: normal;
    word-break: break-word;
    line-height: 1.55;
}

.mega-link-installment {
    color: #d92d20 !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em;
    text-shadow: 0 0 0 rgba(255, 106, 0, 0);
    transform-origin: left center;
    animation: megaLinkInstallmentBlink 0.82s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.mega-col-highlight h5 .mega-link-installment,
.mega-col-highlight-blink h5 .mega-link-installment {
    color: #fff !important;
    animation: megaLinkInstallmentBlinkOnHighlight 0.95s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.mega-links a.mega-link-installment:hover,
.mega-links .sub-links a.mega-link-installment:hover {
    color: #ff6a00 !important;
    padding-left: 1rem;
}

.mega-links > li > a::before,
.sub-links > li > a::before {
    content: none;
    display: none;
}

.mega-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

@keyframes megaLinkInstallmentBlink {
    0%,
    100% {
        color: #d92d20;
        text-shadow: 0 0 0 rgba(255, 106, 0, 0);
        transform: scale(1);
        filter: saturate(1) brightness(1);
    }

    50% {
        color: #ff6a00;
        text-shadow: 0 0 10px rgba(255, 106, 0, 0.42), 0 0 20px rgba(255, 212, 0, 0.28);
        transform: scale(1.06);
        filter: saturate(1.28) brightness(1.08);
    }
}

@keyframes megaLinkInstallmentBlinkOnHighlight {
    0%,
    100% {
        color: #fff;
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
        filter: brightness(1) saturate(1);
    }

    50% {
        color: #fff7cc;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 18px rgba(255, 212, 0, 0.28);
        filter: brightness(1.08) saturate(1.18);
    }
}

@keyframes megaLinkInstallmentBlinkMobile {
    0%,
    100% {
        color: #d92d20;
        text-shadow: 0 0 0 rgba(255, 106, 0, 0);
        filter: saturate(1) brightness(1);
    }

    50% {
        color: #ff6a00;
        text-shadow: 0 0 8px rgba(255, 106, 0, 0.28), 0 0 14px rgba(255, 212, 0, 0.18);
        filter: saturate(1.16) brightness(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mega-link-installment {
        animation: none;
    }
}

.mega-links .sub-links {
    max-height: 0;
    overflow: hidden;
    margin-left: 1.2rem;
    border-left: 1px solid var(--border-gray);
    padding-left: 0.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}




.mega-links li.is-open .sub-links {
    max-height: 500px;
    opacity: 1;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}


.mega-links li.has-children>a {
    padding-right: 1.5rem;
}

.mega-links li.has-children>a::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.5;
    transition: var(--transition-base);
}

.mega-links li.is-open>a::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.mega-links .sub-links a {
    font-size: 0.81rem;
    color: #64748b;
    margin-bottom: 0.2rem;
    white-space: normal;
    word-break: break-word;
}

.mega-links a i {
    font-size: 0.7rem;
    margin-right: 0.5rem;
    opacity: 0.5;
}

.hero {
    position: relative;
    height: clamp(360px, calc(100vw * 860 / 1905), 860px);
    background-color: #1e3a8a;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 30%, transparent 100%);
    z-index: 2;
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
}

.hero-slide.active::after {
    animation: heroOverlayFromBottom 0.8s ease-out forwards;
}

@keyframes heroOverlayFromBottom {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.hero-slide.no-overlay::after {
    display: none;
}

.hero-slide.no-overlay {
    background-size: contain;
    background-position: center center;
    background-color: #ffffff;
}

.hero > .container {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}

.hero-slide-content {
    display: none;
}

.hero-slide-content.active {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-size: clamp(2.35rem, 4vw, 2.9rem);
    font-weight: 600;
    line-height: 1.12;
    margin-bottom: 1.15rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.75rem;
    max-width: 42rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 1rem;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    -webkit-tap-highlight-color: transparent;
}

.hero-arrow:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow:focus,
.hero-arrow:focus-visible,
.hero-arrow:active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
    outline: none;
}

.prev-hero {
    left: 2rem;
}

.next-hero {
    right: 2rem;
}

@media (max-width: 768px) {
    .hero-arrow {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    width: 30px;
    border-radius: 6px;
}

/* Exclusive Products Section */
.exclusive-section {
    background-color: var(--bg-gray);
    padding: 10px 0;
}

.exclusive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.exclusive-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.exclusive-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.exclusive-card img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevent stretching/distortion */
    padding: 1rem;
    background-color: #fff;
    transition: var(--transition-base);
}

.exclusive-card:hover img {
    transform: scale(1.1);
}

.exclusive-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    color: white;
    transform: translateY(20px);
    transition: var(--transition-base);
    opacity: 0.9;
}

.exclusive-card:hover .exclusive-overlay {
    transform: translateY(0);
}

.exclusive-tag {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Section Title */
.section-header {
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.section-title {
    font-size: 1.62rem;
    font-weight: 600;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.products-catalog-title {
    animation: productsTitleBlink 0.85s ease-in-out infinite;
}

@keyframes productsTitleBlink {
    0%, 45%, 100% {
        color: #1d4ed8;
        text-shadow:
            0 0 8px rgba(37, 99, 235, 0.65),
            0 0 18px rgba(37, 99, 235, 0.35);
    }
    55%, 75% {
        color: #dc2626;
        text-shadow:
            0 0 10px rgba(220, 38, 38, 0.7),
            0 0 24px rgba(220, 38, 38, 0.45);
    }
}

/* Consolidated Product Card Styles are at the end of the file */

.flash-sale-section {
    padding: 1rem 0 0.9rem;
    background: #f5f5f5;
}

.flash-sale-section .container {
    max-width: 1380px;
}

.flash-sale-panel {
    background: #fff;
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 8px;
    padding: 1rem 1.1rem 0.95rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.flash-sale-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.flash-sale-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.flash-sale-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #ef3f22;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
}

.flash-sale-title i {
    color: #ff5a1f;
    filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.25));
}

.flash-sale-subtitle {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flash-sale-head-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
    margin-left: auto;
}

.flash-sale-countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.flash-sale-countdown span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 0.28rem;
    border-radius: 4px;
    background: #111827;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.1);
}

.flash-sale-countdown.is-ended span {
    background: #6b7280;
}

.flash-sale-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: #c2410c;
    font-size: 0.92rem;
    font-weight: 650;
    white-space: nowrap;
}

.flash-sale-view-all:hover {
    color: #ef3f22;
}

.flash-sale-carousel {
    position: relative;
}

.flash-sale-carousel.has-carousel {
    padding-inline: 2.75rem;
}

.flash-sale-nav {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(239, 68, 68, 0.18);
    background: rgba(255, 255, 255, 0.96);
    color: #dc2626;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(10px);
}

.flash-sale-nav.prev-btn {
    left: 0.2rem;
}

.flash-sale-nav.next-btn {
    right: 0.2rem;
}

.flash-sale-nav:hover {
    background: linear-gradient(135deg, #ef3f22, #ff7a1a);
    color: #fff;
    border-color: transparent;
    transform: translateY(-50%) scale(1.05);
}

.flash-sale-scroller {
    --flash-sale-gap: 1.2rem;
    display: flex;
    justify-content: flex-start;
    gap: var(--flash-sale-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.1rem 0.05rem 0.15rem;
}

.flash-sale-scroller::-webkit-scrollbar {
    display: none;
}

.flash-sale-card {
    flex: 0 0 calc((100% - (var(--flash-sale-gap) * 5)) / 6);
    min-width: 0;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.flash-sale-card:hover {
    transform: translateY(-4px);
    border-color: rgba(248, 113, 113, 0.45);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.flash-sale-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
}

.flash-sale-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0.35rem;
    transition: transform 0.25s ease;
}

.flash-sale-card:hover .flash-sale-img img {
    transform: scale(1.04);
}

.flash-sale-favorite {
    position: absolute;
    top: 0.45rem;
    left: 0.45rem;
    max-width: calc(100% - 3rem);
    padding: 0.28rem 0.46rem;
    border-radius: 4px;
    background: linear-gradient(135deg, #ff4d1c, #ff7a1a);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flash-sale-discount {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    min-width: 42px;
    padding: 0.3rem 0.45rem;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(180deg, #ffb347 0%, #ff7a1a 100%);
    color: #a62700;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    box-shadow: 0 6px 14px rgba(255, 122, 26, 0.24);
}

.flash-sale-body {
    display: grid;
    gap: 0.42rem;
    padding: 0.7rem 0.72rem 0.75rem;
    text-align: center;
}

.flash-sale-product-name {
    min-height: 2.55rem;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: 0;
}

.flash-sale-product-name a {
    display: -webkit-box;
    color: inherit;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.flash-sale-product-name a:hover {
    color: #ef3f22;
}

.flash-sale-product-name.is-blinking {
    transform-origin: center;
    animation: megaLinkInstallmentBlink 0.82s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.flash-sale-price {
    min-height: 1.45rem;
    color: #c2410c;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.flash-sale-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    min-height: 25px;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff5a1f 0%, #ff8a3d 18%, #ffc2aa 100%);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
}

.flash-sale-status i {
    color: #fff7cc;
    font-size: 0.82rem;
}

@media (prefers-reduced-motion: reduce) {
    .flash-sale-product-name.is-blinking {
        animation: none;
    }
}

@media (max-width: 1200px) {
    .flash-sale-card {
        flex-basis: calc((100% - (var(--flash-sale-gap) * 4)) / 5);
    }
}

@media (max-width: 992px) {
    .flash-sale-card {
        flex-basis: calc((100% - (var(--flash-sale-gap) * 2)) / 3);
    }
}

@media (max-width: 768px) {
    .flash-sale-section {
        padding: 0.65rem 0;
    }

    .flash-sale-section .container {
        padding-inline: 0.75rem;
    }

    .flash-sale-panel {
        border-radius: 7px;
        padding: 0.85rem 0.75rem;
    }

    .flash-sale-head {
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.55rem;
        margin-bottom: 0.7rem;
    }

    .flash-sale-title-wrap {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.35rem;
    }

    .flash-sale-title {
        flex: 0 1 auto;
        min-width: 0;
        font-size: clamp(0.84rem, 3.2vw, 1.08rem);
        line-height: 1.15;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .flash-sale-subtitle {
        display: none;
        flex: 0 0 100%;
        max-width: 100%;
        font-size: 0.82rem;
        white-space: normal;
    }

    .flash-sale-countdown {
        flex: 0 0 auto;
        gap: 0.2rem;
    }

    .flash-sale-countdown span {
        min-width: 25px;
        height: 22px;
        padding-inline: 0.2rem;
        font-size: 0.72rem;
    }

    .flash-sale-head-actions {
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-end;
        gap: 0.4rem;
        margin-left: 0;
    }

    .flash-sale-view-all {
        gap: 0.25rem;
        font-size: 0.78rem;
    }

    .flash-sale-carousel.has-carousel {
        padding-inline: 1.65rem;
    }

    .flash-sale-nav {
        width: 32px;
        height: 32px;
        font-size: 0.78rem;
    }

    .flash-sale-nav.prev-btn {
        left: -0.05rem;
    }

    .flash-sale-nav.next-btn {
        right: -0.05rem;
    }

    .flash-sale-scroller {
        --flash-sale-gap: 0.85rem;
        padding-block: 0.05rem 0.2rem;
        scroll-padding-inline: 0;
    }

    .flash-sale-card {
        flex-basis: calc((100% - var(--flash-sale-gap)) / 2);
        border-radius: 7px;
    }

    .flash-sale-body {
        gap: 0.36rem;
        padding: 0.62rem 0.6rem 0.68rem;
    }

    .flash-sale-product-name {
        min-height: 2.38rem;
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .flash-sale-price {
        min-height: 1.25rem;
        font-size: 0.9rem;
    }

    .flash-sale-status {
        min-height: 24px;
        padding-inline: 0.4rem;
        font-size: 0.68rem;
    }
}

@media (max-width: 520px) {
    .flash-sale-section .container {
        padding-inline: 0.55rem;
    }

    .flash-sale-panel {
        padding: 0.75rem 0.58rem;
    }

    .flash-sale-head-actions {
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .flash-sale-title {
        font-size: clamp(0.78rem, 3.4vw, 0.98rem);
    }

    .flash-sale-title i {
        font-size: 0.9em;
    }

    .flash-sale-countdown span {
        min-width: 22px;
        height: 21px;
        font-size: 0.66rem;
    }

    .flash-sale-view-all {
        font-size: 0.72rem;
    }

    .flash-sale-carousel.has-carousel {
        padding-inline: 1.1rem;
    }

    .flash-sale-nav {
        width: 30px;
        height: 30px;
        font-size: 0.72rem;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
    }

    .flash-sale-nav.prev-btn {
        left: -0.15rem;
    }

    .flash-sale-nav.next-btn {
        right: -0.15rem;
    }

    .flash-sale-scroller {
        --flash-sale-gap: 0.65rem;
    }

    .flash-sale-card {
        flex-basis: calc(100% - 0.15rem);
        scroll-snap-align: center;
    }

    .flash-sale-img img {
        padding: 0.28rem;
    }

    .flash-sale-favorite {
        top: 0.38rem;
        left: 0.38rem;
        max-width: calc(100% - 3.2rem);
        font-size: 0.68rem;
    }

    .flash-sale-discount {
        min-width: 38px;
        padding: 0.28rem 0.38rem;
        font-size: 0.76rem;
    }

    .flash-sale-product-name {
        min-height: 2.25rem;
        font-size: 0.8rem;
    }

    .flash-sale-status span {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 380px) {
    .flash-sale-title {
        font-size: 0.72rem;
    }

    .flash-sale-countdown span {
        min-width: 20px;
        height: 20px;
        font-size: 0.62rem;
    }

    .flash-sale-view-all {
        font-size: 0.68rem;
    }

    .flash-sale-carousel.has-carousel {
        padding-inline: 0.95rem;
    }

    .flash-sale-nav {
        width: 28px;
        height: 28px;
    }

    .flash-sale-status {
        font-size: 0.64rem;
    }
}

.home-product-row {
    padding: 2rem 0 1.5rem;
    background: #fff;
}

.home-product-row .container {
    max-width: 1380px;
}

.home-product-row.pt-0 {
    padding-top: 0;
}

.home-product-row.pb-0 {
    padding-bottom: 0;
}

.linehome__item {
    width: 100%;
}

.home-row-highlight {
    background: #fff;
}

.home-product-row-heading {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 1.65rem;
    text-align: center;
}

.home-product-row-heading::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #d40000;
}

.home-product-row-heading span {
    position: relative;
    min-width: min(360px, 86vw);
    padding: 0.75rem 2.25rem;
    background: #d40000;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 1;
}

.home-product-row-heading span::before,
.home-product-row-heading span::after {
    content: '';
    position: absolute;
    top: 0;
    width: 18px;
    height: 100%;
    background: #b80000;
    z-index: -1;
}

.home-product-row-heading span::before {
    left: -10px;
    transform: skewX(-18deg);
}

.home-product-row-heading span::after {
    right: -10px;
    transform: skewX(18deg);
}

.linehome__item__header {
    min-height: 44px;
}

.home-product-row-inner {
    display: grid;
    grid-template-columns: minmax(280px, 428px) 1fr;
    gap: 1.75rem;
    align-items: stretch;
}

.home-product-row-banner {
    min-height: 640px;
    overflow: hidden;
    background: transparent;
}

.home-product-row-banner img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
}

.home-product-row-products {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
}

.home-product-row-products:only-child {
    grid-column: 1 / -1;
}

.home-product-row-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.05rem 1.7rem;
}

.home-product-row-card {
    min-width: 0;
    padding: 0;
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: var(--transition-base);
}

.home-product-row-card:hover {
    transform: translateY(-8px);
}

.home-product-row-card:hover .home-product-row-img img {
    transform: scale(1.04);
}

.home-product-row-img {
    position: relative;
    height: 154px;
    overflow: hidden;
    background: #f3f4f6;
}

.home-product-row-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    padding: 0;
    filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.12));
    transition: var(--transition-base);
}

.home-product-row-img .badge-installment {
    top: 0.75rem;
    left: 0.75rem;
}

.home-product-row-img .badge-discount-ribbon {
    top: 12px;
    right: -38px;
}

.home-product-row-name {
    min-height: 3.05rem;
    margin: 0;
    padding: 0.85rem 0.85rem 0.2rem;
    color: #374151;
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.35;
}

.home-product-row-name a {
    color: inherit;
}

.home-product-row-name a:hover {
    color: #d40000;
}

.home-product-row-price {
    min-height: 1.4rem;
    padding: 0 0.85rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.home-product-row-price-old {
    color: #9ca3af;
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: line-through;
}

.home-product-row-price-current {
    color: #f00000;
}

.home-product-row-more {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    margin-top: 1.75rem;
    padding: 0.78rem 1.1rem;
    border-radius: 8px;
    background: var(--primary-blue);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.home-product-row-more:hover {
    background: var(--accent-blue);
    color: #fff;
}

@media (max-width: 1100px) {
    .home-product-row-inner {
        grid-template-columns: minmax(220px, 320px) 1fr;
    }

    .home-product-row-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-product-row-banner {
        min-height: 540px;
    }
}

@media (max-width: 768px) {
    .home-product-row {
        padding: 1.5rem 0 1rem;
    }

    .home-product-row-inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .home-product-row-banner {
        min-height: 0;
        aspect-ratio: 3 / 4;
    }

    .home-product-row-banner img {
        min-height: 0;
    }

    .home-product-row-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 0.9rem;
    }

    .home-product-row-heading span {
        min-width: min(300px, 78vw);
        padding: 0.65rem 1.4rem;
        font-size: 0.9rem;
    }

    .home-product-row-img {
        height: 132px;
    }

    .home-product-row-name {
        font-size: 0.9rem;
    }
}

.product-price {
    font-weight: 650;
    color: #dc2626;
    font-size: 1rem;
}

/* Footer */
.main-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-blue);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8)), url('upload/images/maylaptrinhtui.jpg') center/cover no-repeat;
    padding: 6rem 0;
    color: white;
    text-align: center;
}

.about-content {
    padding: 5rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.about-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.about-slogan {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    border-top: 2px solid var(--primary-light);
    border-bottom: 2px solid var(--primary-light);
    padding: 1.5rem 0;
    margin: 2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.about-images img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.about-images img:hover {
    transform: scale(1.02);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.6s ease forwards;
}

/* Mobile Responsive Refinements */
@media (max-width: 1024px) {
    .header-main .container {
        flex-wrap: nowrap;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .main-nav-combined {
        overflow: visible;
    }
    .search-box {
        order: 3;
        flex: 1 1 100%;
        margin: 1rem 0 0 0;
    }
    .mega-menu {
        width: 95vw;
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .header-main {
        position: sticky;
    }

    body.menu-open .header-main {
        z-index: 10030;
    }

    .header-container {
        height: 64px;
        gap: 0.65rem;
    }

    .logo {
        min-width: 0;
    }

    .logo img {
        max-width: min(46vw, 180px);
        height: 40px;
        object-fit: contain;
    }

    .logo-text {
        max-width: min(52vw, 240px);
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1rem;
    }

    .main-nav-combined {
        flex: 0 0 auto;
        margin-left: auto;
        overflow: visible;
    }

    .mobile-toggle {
        display: flex !important;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(37, 99, 235, 0.18);
        background: var(--primary-light);
        color: var(--primary-blue);
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-size: 1.25rem;
        cursor: pointer;
        flex: 0 0 auto;
        position: relative;
        z-index: 10030;
    }


    .contact-info, .search-box {
        display: none !important;
    }

    .header-actions {
        display: none !important;
    }

    .mobile-traffic-entry {
        display: block;
        list-style: none;
        margin: 0 0 0.85rem;
        padding: 0 0 1rem;
        border-bottom: 1px solid var(--border-gray);
    }

    
    .nav-links {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: min(88vw, 340px);
        max-width: calc(100vw - 28px);
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 5.25rem 1.1rem 1.25rem;
        transform: translateX(105%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10020;
        box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        overflow-y: auto;
        overflow-x: hidden;
        white-space: normal;
    }

    .nav-links:not(.active) {
        display: none !important;
    }

    .desktop-more-toggle,
    .desktop-more-drawer {
        display: none !important;
    }

    .header-traffic-panel-mobile .header-traffic-row {
        font-size: 0.84rem;
    }

    .nav-links.active {
        display: flex !important;
        transform: translateX(0);
    }


    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-gray);
        position: relative;
    }

    .nav-link {
        padding: 1rem 0.15rem;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        white-space: normal;
        word-break: break-word;
        line-height: 1.35;
    }

    .nav-item.has-mobile-toggle > .nav-link {
        width: calc(100% - 48px);
        padding-right: 0.5rem;
    }

    .nav-link .fa-chevron-down {
        display: none;
    }

    .mobile-submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0.55rem;
        right: 0;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: var(--primary-blue);
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-submenu-toggle i {
        transition: transform 0.2s ease;
    }

    .has-mobile-toggle.is-open > .mobile-submenu-toggle {
        background: rgba(29, 78, 216, 0.08);
    }

    .has-mobile-toggle.is-open > .mobile-submenu-toggle i {
        transform: rotate(180deg);
    }

    .mega-menu {
        display: none !important;
        position: relative !important;
        top: 0 !important; /* Fix gap/overlap issue */
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background-color: #f8fafc !important;
        padding: 1rem !important;
        margin: 0.5rem 0 !important;
        border: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        z-index: 1 !important;
    }



    .nav-item.is-open > .mega-menu {
        display: block !important;
    }

    .mega-col {
        display: block !important;
        margin-bottom: 1.5rem !important;
        min-height: 20px !important;
    }

    .mega-col h5 {
        color: var(--primary-blue) !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        margin: 1rem 0 0.5rem !important;
        display: block !important;
        border-bottom: 1px solid #cbd5e1 !important;
        padding-bottom: 0.25rem !important;
    }


    .mega-links {
        display: block !important;
        list-style: none !important;
    }

    .mega-links li {
        display: block !important;
        margin-bottom: 0.5rem !important;
    }

    .mega-links li a:not(.mega-link-installment) {
        color: #334155 !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important; /* Align everything to the left */
        padding: 0.75rem 0 !important;
        position: relative !important;
        width: 100% !important;
    }

    .mega-links li a.mega-link-installment {
        font-size: 0.95rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0.75rem 0 !important;
        position: relative !important;
        width: 100% !important;
        transform: none !important;
        animation: megaLinkInstallmentBlinkMobile 0.82s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
    }

    .mega-links li {
        position: relative;
    }

    .mega-links li.has-mobile-toggle > a {
        width: calc(100% - 44px) !important;
        padding-right: 0.5rem !important;
    }

    .mega-links a,
    .sub-links a {
        padding-left: 0 !important;
    }

    /* Push the + icon to the far right specifically */
    .mega-links li.has-children>a::after {
        content: none !important;
        display: none !important;
    }

    .mega-links a::before,
    .sub-links a::before,
    .mega-links > li > a::before,
    .sub-links > li > a::before {
        content: none !important;
        display: none !important;
    }

    .mega-links li.has-mobile-toggle > .mobile-submenu-toggle {
        top: 0.35rem;
        right: 0;
        width: 36px;
        height: 36px;
    }



    .mega-links .sub-links {
        display: block !important;
        position: relative !important;
        margin-left: 1rem !important;
        padding-left: 0.5rem !important;
        border-left: 1px solid var(--border-gray) !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease-out !important;
    }

    .mega-links li.is-open .sub-links {
        max-height: 1000px !important; /* Large enough for all children */
        opacity: 1 !important;
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .nav-item {
        display: block !important;
        position: relative !important;
        height: auto !important;
    }

    .nav-item.is-open {
        background-color: transparent !important;
    }


    /* Hero Section Mobile */
    .hero {
        padding: 0;
    }

    .hero-title {
        font-size: 2.25rem !important;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }

    /* Grids to 1 column */
    .exclusive-grid, .product-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .exclusive-card {
        height: 350px;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-images {
        grid-template-columns: 1fr;
    }
}

/* Special Product Section */
.special-product-section {
    padding: 1.75rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.special-product-container {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.special-product-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.special-product-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: var(--transition-base);
}

.special-product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-lg);
    z-index: -1;
    pointer-events: none;
}

.product-main-image-btn {
    border: 0;
    background: transparent;
    width: 100%;
    height: 500px;
    padding: 0;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-main-image-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-thumbs {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.product-thumb-btn {
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    padding: 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.product-thumb-btn img {
    width: 100%;
    height: 88px;
    object-fit: cover;
}

.product-thumb-btn.active {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 1px #1d4ed8 inset;
}

.special-product-content {
    flex: 1.2;
}

.special-tag {
    background: var(--primary-blue);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.special-title {
    font-size: clamp(1.7rem, 2.6vw, 1.95rem);
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.special-code {
    font-size: 0.98rem;
    font-weight: 450;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: block;
}

.special-price {
    font-size: 1.22rem;
    color: #dc2626;
    font-weight: 650;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-highlight-badges {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.2rem;
    position: relative;
    z-index: 3;
}

.product-highlight-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 34px;
    padding: 0.38rem 0.82rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.14);
    gap: 0.42rem;
    border: 0;
}

.product-highlight-badge.is-installment {
    background: linear-gradient(120deg, #ff1744 0%, #ff6a00 45%, #ffd400 100%);
    background-size: 220% 220%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    text-shadow: 0 1px 4px rgba(122, 18, 0, 0.45);
    box-shadow:
        0 10px 24px rgba(255, 82, 25, 0.38),
        0 0 18px rgba(255, 212, 0, 0.24);
    animation: promotionBadgeBlink 0.95s cubic-bezier(0.4, 0, 0.2, 1) infinite, promotionBadgeGlow 2.4s linear infinite;
}

.product-highlight-badge.is-installment::before {
    content: '';
    position: absolute;
    inset: -20% auto -20% -35%;
    width: 42%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0));
    transform: rotate(18deg);
    animation: promotionBadgeShine 1.4s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

.product-highlight-badge.is-flash-sale {
    background: linear-gradient(120deg, #ef3f22 0%, #ff7a1a 34%, #ffd400 62%, #ef3f22 100%);
    background-size: 240% 240%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    text-shadow: 0 1px 5px rgba(122, 18, 0, 0.42);
    box-shadow:
        0 12px 26px rgba(239, 63, 34, 0.34),
        0 0 18px rgba(255, 212, 0, 0.22);
}

.product-highlight-badge.is-flash-sale.is-blinking {
    animation: promotionBadgeBlink 0.82s cubic-bezier(0.4, 0, 0.2, 1) infinite, promotionBadgeGlow 2.2s linear infinite;
}

.product-highlight-badge.is-flash-sale::before {
    content: '';
    position: absolute;
    inset: -20% auto -20% -35%;
    width: 42%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
    transform: rotate(18deg);
    animation: promotionBadgeShine 1.25s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

.product-promo-widget {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
}

.product-promo-trigger {
    cursor: pointer;
    font-family: inherit;
    appearance: none;
}

.product-promo-popup {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: min(360px, calc(100vw - 32px));
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 12;
}

.product-promo-widget.is-open .product-promo-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.product-promo-popup__inner {
    background: #fff;
    border: 1px solid #f9c5d7;
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(190, 24, 93, 0.16), 0 10px 24px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.product-promo-popup__header {
    padding: 1rem 1rem 0.5rem;
}

.product-promo-popup__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #e11d48;
    font-size: 0.95rem;
    font-weight: 800;
}

.product-promo-popup__title-wrap h3 {
    margin: 0.45rem 0 0;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.35;
}

.product-promo-popup__gift-name {
    color: #db2777;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.product-promo-popup__body {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 0.95rem;
    padding: 0 1rem 1rem;
    align-items: start;
}

.product-promo-popup__body.no-image {
    grid-template-columns: minmax(0, 1fr);
}

.product-promo-popup__media {
    margin: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff1f5 0%, #ffffff 100%);
    border: 1px solid #ffe4ec;
    aspect-ratio: 1 / 1;
    padding: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-promo-popup__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-promo-popup__content {
    min-width: 0;
}

.product-promo-popup__description {
    margin: 0;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.55;
}

.product-promo-popup__countdown {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0.75rem 0 0;
    padding: 0.65rem 0.8rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff1f7 0%, #fff7fb 100%);
    border: 1px solid #fbcfe8;
}

.product-promo-popup__countdown-label {
    color: #be185d;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-promo-popup__countdown-value {
    color: #9d174d;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
}

.product-highlight-badge.is-discount {
    background: var(--primary-blue);
}

.product-highlight-badge.is-availability-ready {
    background: #15803d;
}

.product-highlight-badge.is-availability-preorder {
    background: #ea580c;
}

@keyframes promotionBadgeBlink {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        filter: saturate(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.09);
        filter: saturate(1.28);
    }
}

@keyframes promotionBadgeGlow {
    0% {
        background-position: 0% 50%;
        box-shadow:
            0 10px 24px rgba(255, 82, 25, 0.32),
            0 0 14px rgba(255, 212, 0, 0.18);
    }

    50% {
        background-position: 100% 50%;
        box-shadow:
            0 16px 34px rgba(255, 23, 68, 0.48),
            0 0 26px rgba(255, 212, 0, 0.34);
    }

    100% {
        background-position: 0% 50%;
        box-shadow:
            0 10px 24px rgba(255, 82, 25, 0.32),
            0 0 14px rgba(255, 212, 0, 0.18);
    }
}

@keyframes promotionBadgeShine {
    0% {
        left: -40%;
        opacity: 0;
    }

    20% {
        opacity: 0.3;
    }

    50% {
        left: 120%;
        opacity: 0.9;
    }

    100% {
        left: 140%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-highlight-badge.is-installment,
    .product-highlight-badge.is-flash-sale.is-blinking {
        animation: none;
    }

    .product-highlight-badge.is-installment::before,
    .product-highlight-badge.is-flash-sale::before {
        animation: none;
    }

    .badge-installment {
        animation: none;
    }

    .badge-installment::before {
        animation: none;
    }

    .product-promo-popup {
        transition: none;
    }
}

@media (min-width: 992px) {
    .product-promo-popup {
        top: -0.5rem;
        left: calc(100% + 14px);
    }
}

@media (max-width: 1024px) {
    .product-promo-popup {
        top: calc(100% + 10px);
        left: 0;
        width: min(340px, calc(100vw - 32px));
    }
}

@media (max-width: 767px) {
    .product-highlight-badges {
        margin-bottom: 1rem;
    }

    .product-promo-popup {
        width: min(320px, calc(100vw - 24px));
    }

    .product-promo-popup__header {
        padding: 0.9rem 0.9rem 0.45rem;
    }

    .product-promo-popup__body {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 0.9rem 0.9rem;
    }

    .product-promo-popup__media {
        max-width: 180px;
        margin: 0 auto;
    }
}

.badge-installment i {
    margin-right: 0.35rem;
}

.special-features {
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: 0.86rem;
}

.feature-item i {
    color: #22c55e;
    font-size: 1rem;
}

.tech-specs {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.tech-specs h4 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 650;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
    padding-bottom: 0.15rem;
}

.tech-specs ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.tech-specs li {
    font-size: 0.86rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.tech-specs li i {
    color: var(--primary-blue);
    margin-top: 0.2rem;
    font-size: 0.7rem;
}

.contact-box {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary-dark);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 550;
    transition: var(--transition-base);
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-sm);
    font-size: 0.96rem;
    border-radius: 10px;
}


.contact-btn.highlight {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

@media (max-width: 768px) {
    .contact-box {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Video Wrapper */
.video-container {
    margin-top: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-lightbox.open {
    display: flex;
}

.product-lightbox img {
    max-width: min(1200px, 96vw);
    max-height: 92vh;
    object-fit: contain;
}

.product-lightbox-close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
}

body.no-scroll {
    overflow: hidden;
}

/* Compact Tech Specs Grid */
.special-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.76rem;
}

.spec-item:last-child, .spec-item:nth-last-child(2) {
    border-bottom: none;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 500;
}

.spec-value {
    color: var(--primary-dark);
    font-weight: 600;
    text-align: right;
}

.product-spec-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.product-spec-gallery-item {
    margin: 0;
    overflow: hidden;
    border: 1px solid #dbe3ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.product-spec-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

.special-description {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 1.5rem;
}

.product-support-block {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.product-support-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.product-support-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.product-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-align: center;
}

.product-support-btn.primary {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.product-support-btn.secondary {
    background: #fff;
    border-color: #1d4ed8;
    color: #1d4ed8;
}

.product-support-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.product-support-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 0.95rem;
}

.product-support-section h3 {
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.product-support-section div {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.6;
}

.description-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
}

.description-list li {
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.description-list li i {
    color: var(--primary-blue);
    margin-top: 3px;
    font-size: 0.75rem;
}


@media (max-width: 992px) {
    .special-product-container {
        flex-direction: column;
        gap: 3rem;
    }
    .special-product-content {
        width: 100%;
    }
    .special-title {
        font-size: 2.25rem;
    }
    .special-features {
        grid-template-columns: 1fr;
    }

    .product-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-main-image-btn {
        height: 380px;
    }

    .product-support-actions {
        grid-template-columns: 1fr;
    }
}

/* Partners Marquee */
.partners-section {
    padding: 2rem 0;
    background-color: var(--bg-white);
    overflow: hidden;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.partners-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: fit-content;
    gap: 4rem;
}

.marquee-group {
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-shrink: 0;
}

.partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 130px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    transition: var(--transition-base);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: var(--transition-base);
}

.partner-logo:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.partner-logo:hover img {
    opacity: 1;
}

.scroll-left {
    animation: scrollLeft 40s linear infinite;
}

.scroll-right {
    animation: scrollRight 40s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 2rem)); }
}

@keyframes scrollRight {
    0% { transform: translateX(calc(-50% - 2rem)); }
    100% { transform: translateX(0); }
}

/* Pause on hover */
.marquee-track:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .partner-logo {
        width: 210px;
        height: 96px;
        padding: 0;
    }
    .partners-section {
        padding: 1.5rem 0;
    }
}

/* Slogan Section */
.slogan-section {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(180deg, #eef4ff 0%, #e7f0ff 100%);
    text-align: center;
    border-top: 1px solid #d6e3fb;
    border-bottom: 1px solid #d6e3fb;
    overflow: hidden;
}

.slogan-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 25%, rgba(29, 78, 216, 0.12) 0, rgba(29, 78, 216, 0) 44%),
        radial-gradient(circle at 88% 70%, rgba(30, 58, 138, 0.10) 0, rgba(30, 58, 138, 0) 42%);
    pointer-events: none;
}

.slogan-content {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 2.2rem 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(189, 210, 245, 0.9);
    box-shadow: 0 18px 45px rgba(30, 58, 138, 0.12);
    backdrop-filter: blur(4px);
}

.slogan-text {
    font-size: clamp(2rem, 3.6vw, 3.15rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.16;
    text-wrap: balance;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.slogan-subtext {
    max-width: 780px;
    margin: 0 auto;
    font-size: clamp(1.06rem, 1.7vw, 1.45rem);
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.65;
    position: relative;
}

.slogan-subtext::before,
.slogan-subtext::after {
    color: rgba(30, 58, 138, 0.45);
    font-size: 1.5em;
    line-height: 0;
}

.slogan-subtext::before {
    content: "\201C";
    margin-right: 0.2rem;
}

.slogan-subtext::after {
    content: "\201D";
    margin-left: 0.2rem;
}

.home-benefits {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid #dbe3ef;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #ffffff;
    border: 1px solid #e3e9f3;
    border-radius: 10px;
    min-height: 52px;
    padding: 0.75rem 1rem;
    font-size: 0.98rem;
    font-weight: 550;
    letter-spacing: -0.01em;
    color: #111827;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.benefit-icon {
    color: #10b981;
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 5px 0;
    background-color: var(--bg-gray);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 650;
    color: var(--primary-dark);
    font-size: 1rem;
    letter-spacing: -0.01em;
    user-select: none;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    white-space: normal;
}

.faq-item.active {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.faq-item.active .faq-question {
    color: var(--primary-blue);
}

.faq-item.active .faq-answer {
    padding-bottom: 2rem;
    max-height: 1000px; /* Large enough to fit multiline content */
}

.faq-question i {
    transition: transform 0.4s ease;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .slogan-section {
        padding: 2.7rem 0;
    }
    .slogan-content {
        padding: 1.6rem 1.2rem;
        border-radius: 14px;
    }
    .slogan-text {
        letter-spacing: 0.02em;
    }
    .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .benefit-item {
        min-height: 100%;
        padding: 0.75rem;
        font-size: 0.92rem;
        line-height: 1.35;
    }
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
}

/* Slider Wrapper */
.slider-wrapper {
    position: relative;
    width: 100%;
}

#new-products {
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

#new-products .section-header {
    margin-bottom: 0.5rem;
}

#new-products .slider-wrapper {
    overflow: visible;
    padding-left: 2.75rem;
    padding-right: 2.75rem;
    padding-bottom: 0.5rem;
    box-sizing: border-box;
}

#new-products .product-grid {
    --new-products-gap: 1.5rem;
    display: flex !important;
    grid-template-columns: none;
    gap: var(--new-products-gap);
    margin-bottom: 0;
    padding: 1rem 0 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

#new-products .product-card {
    flex: 0 0 calc((100% - (var(--new-products-gap) * 3)) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

@media (max-width: 1200px) {
    #new-products .product-card {
        flex-basis: calc((100% - (var(--new-products-gap) * 2)) / 3);
    }
}

@media (max-width: 992px) {
    #new-products .product-card {
        flex-basis: calc((100% - var(--new-products-gap)) / 2);
    }
}

@media (max-width: 768px) {
    #new-products {
        overflow: visible;
    }

    #new-products .slider-wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #new-products .product-grid {
        padding-left: 0;
        padding-right: 0;
        gap: 1rem;
        scroll-padding-left: 0;
        scroll-padding-right: 0;
    }

    #new-products .product-card {
        flex-basis: calc(100% - 0.25rem);
        margin: 0;
    }
}

#new-products .prev-btn {
    left: 0;
}

#new-products .next-btn {
    right: 0;
}

@media (max-width: 768px) {
    #new-products .prev-btn {
        left: -0.35rem;
    }

    #new-products .next-btn {
        right: -0.35rem;
    }
}

#new-products .slider-btn {
    width: 46px;
    height: 46px;
    border: 0;
    color: #1d4ed8;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
}

#new-products .slider-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

#new-products .product-card {
    border: 1px solid rgba(191, 219, 254, 0.75);
}

#new-products .product-card:hover {
    transform: translateY(-6px);
}

#new-products .product-img {
    background: #ffffff;
}

#new-products .product-info {
    padding: 1.15rem 1rem 1rem;
}

#new-products .product-name {
    font-size: 1rem;
    line-height: 1.45;
}

#new-products .new-product-benefits {
    margin: 0.75rem 0 0.8rem;
    padding: 0 0 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

#new-products .new-product-benefits li {
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #7a8497;
    font-size: 0.82rem;
    line-height: 1.3;
}

#new-products .new-product-benefits li:last-child {
    margin-bottom: 0;
}

#new-products .new-product-benefits li i {
    color: #10b981;
    font-size: 0.72rem;
    margin-top: 0.2rem;
    flex: 0 0 auto;
}

#new-products .new-product-benefits li span {
    display: block;
    font-size: 1em;
}

#new-products .new-product-specs {
    margin: 0 0 1rem;
    padding-top: 0;
    gap: 0.55rem;
}

#new-products .new-product-specs .spec {
    font-size: 0.76rem;
    line-height: 1.35;
    padding: 0.34rem 0.55rem;
    align-items: flex-start;
}

#new-products .new-product-specs .spec span {
    font-size: 0.95em;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

#new-products .product-price {
    font-size: 0.95rem;
    line-height: 1.2;
    word-break: normal;
}

#new-products .product-footer {
    gap: 0.75rem;
    align-items: flex-end;
    flex-wrap: nowrap;
}

#new-products .price-box {
    flex: 1 1 auto;
    min-width: 0;
}

#new-products .product-actions {
    flex: 0 0 auto;
}

#new-products .btn-detail {
    min-width: 88px;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    white-space: nowrap;
    word-break: normal;
    text-wrap: nowrap;
    writing-mode: horizontal-tb;
}

.exclusive-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.product-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 1rem 0.5rem 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory; /* Enable scroll snapping */
}

.product-card {
    flex: 0 0 350px;
    scroll-snap-align: center; /* Snap items to center */
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 85%; /* Make card take most of the width on mobile */
        margin: 0 7.5%; /* Center it a bit more */
    }
}

.exclusive-grid::-webkit-scrollbar, .product-grid::-webkit-scrollbar {
    display: none;
}

.exclusive-card {
    scroll-snap-align: start;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-gray);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-lg);
}

.prev-btn {
    left: -22px;
}

.next-btn {
    right: -22px;
}

@media (max-width: 1280px) {
    .prev-btn { left: 0; }
    .next-btn { right: 0; }
}

/* --- Consolidated Product Card System --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gray);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.clickable-card {
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent-blue);
}

.product-img {
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 14px;
    filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.12));
    transition: var(--transition-base);
}

.product-card:hover .product-img img {
    transform: scale(1.06);
}

.products-page {
    background: #f5f5f5;
    border-radius: 16px;
}

.products-page-full {
    width: 100%;
    border-radius: 0;
    padding-bottom: 2rem;
}

.products-page-full > .container,
.products-hero .container {
    max-width: 1520px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.products-page-full > .container {
    padding-top: 0.75rem;
    padding-bottom: 2rem;
}

.products-hero,
.news-hero,
.about-hero.page-hero,
.contact-hero.page-hero {
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.products-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    align-items: stretch;
    background:
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.products-hero-backdrop,
.products-hero-surface {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.products-hero-backdrop {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.72;
    transform: scale(1.04);
}

.products-hero.has-custom-image .products-hero-backdrop {
    background-size: 100% 100%;
    filter: saturate(1.25) contrast(1.08);
    opacity: 1;
    transform: none;
}

.products-hero-surface {
    background:
        radial-gradient(circle at left center, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.76) 34%, rgba(255, 255, 255, 0.34) 58%, rgba(255, 255, 255, 0.54) 100%),
        linear-gradient(110deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.56) 48%, rgba(255, 255, 255, 0.22) 100%);
}

.products-hero.has-custom-image .products-hero-surface {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0) 100%);
}

.products-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 2rem;
    align-items: center;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.products-hero-copy {
    max-width: 440px;
    display: grid;
    gap: 0.85rem;
    justify-items: start;
}

.products-hero.has-custom-image .products-hero-copy {
    padding: 1.45rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 22px 54px rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(8px);
}

.products-hero-inner.is-copy-only {
    grid-template-columns: minmax(0, 1fr);
}

.products-hero-inner.is-copy-only .products-hero-copy {
    max-width: 720px;
}

.products-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.products-hero-inner h1 {
    margin: 0;
    font-size: clamp(2.25rem, 3.7vw, 3.75rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
    /* text-transform: uppercase;
    text-wrap: balance; */
    overflow: visible;
    padding-bottom: 0.08em;
    color: #0f172a;
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 56%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 12px 28px rgba(37, 99, 235, 0.18));
}

.products-hero-inner p {
    margin: 0;
    max-width: 42rem;
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.8;
}

.products-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1.35rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.24);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.products-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(37, 99, 235, 0.3);
    filter: saturate(1.05);
}

.products-hero-showcase {
    --hero-showcase-gap: 0.85rem;
    --hero-card-size: clamp(174px, 15vw, 210px);
    --hero-group-width: calc((var(--hero-item-count) * var(--hero-card-size)) + ((var(--hero-item-count) - 1) * var(--hero-showcase-gap)));
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.products-hero-marquee-row {
    --hero-edge-fade: clamp(2rem, 5vw, 4.5rem);
    position: relative;
    overflow: hidden;
    min-width: 0;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 var(--hero-edge-fade),
        #000 calc(100% - var(--hero-edge-fade)),
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 var(--hero-edge-fade),
        #000 calc(100% - var(--hero-edge-fade)),
        transparent 100%
    );
}

.products-hero-marquee-row::before,
.products-hero-marquee-row::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--hero-edge-fade);
    z-index: 2;
    pointer-events: none;
}

.products-hero-marquee-row::before {
    left: 0;
    background: linear-gradient(90deg, rgba(248, 251, 255, 0.96), rgba(248, 251, 255, 0));
}

.products-hero-marquee-row::after {
    right: 0;
    background: linear-gradient(270deg, rgba(248, 251, 255, 0.96), rgba(248, 251, 255, 0));
}

.products-hero-marquee-track {
    display: flex;
    gap: var(--hero-showcase-gap);
    width: max-content;
    min-width: max-content;
    animation: productsHeroMarquee 34s linear infinite;
    will-change: transform;
}

.products-hero-marquee-row.is-reverse .products-hero-marquee-track {
    animation-direction: reverse;
    animation-duration: 36s;
}

.products-hero-marquee-row:hover .products-hero-marquee-track {
    animation-play-state: paused;
}

.products-hero-marquee-group {
    flex: 0 0 var(--hero-group-width);
    min-width: var(--hero-group-width);
    display: flex;
    gap: var(--hero-showcase-gap);
}

.products-hero-card {
    flex: 0 0 var(--hero-card-size);
    width: var(--hero-card-size);
    min-width: 0;
}

.products-hero-card-link {
    display: grid;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 28px rgba(148, 163, 184, 0.16);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.products-hero-card-link:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 22px 42px rgba(37, 99, 235, 0.16);
}

.products-hero-card-media {
    position: relative;
    aspect-ratio: 1 / 0.76;
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.products-hero-card-media img,
.products-hero-card-placeholder {
    width: 100%;
    height: 100%;
    display: block;
}

.products-hero-card-media img {
    object-fit: contain;
    padding: 0.55rem;
}

.products-hero-card-placeholder {
    background:
        radial-gradient(circle at 30% 20%, rgba(96, 165, 250, 0.2), transparent 48%),
        linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
}

.products-hero-card-badge {
    position: absolute;
    top: 0.62rem;
    left: 0.62rem;
    z-index: 1;
    padding: 0.3rem 0.52rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.24);
}

.products-hero-card-body {
    display: grid;
    align-content: start;
    gap: 0.42rem;
    padding: 0.78rem 0.82rem 0.9rem;
}

.products-hero-card-name {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.32;
}

.products-hero-card-price {
    width: fit-content;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    background: #eff6ff;
}

.products-hero-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    min-width: 0;
}

.products-hero-card-meta span {
    min-width: 0;
    max-width: 100%;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.products-hero-card-summary {
    margin: 0;
    color: #475569;
    font-size: 0.84rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@keyframes productsHeroMarquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(calc(-1 * (var(--hero-group-width) + var(--hero-showcase-gap))), 0, 0);
    }
}

@keyframes productsHeroMarqueeMobile {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes productsHeroMobileLoop {
    from {
        transform: translate3d(var(--hero-mobile-loop-start, 0px), 0, 0);
    }
    to {
        transform: translate3d(var(--hero-mobile-loop-end, 0px), 0, 0);
    }
}

@media (max-width: 1200px) {
    .products-hero-showcase {
        --hero-card-size: clamp(168px, 20vw, 200px);
    }
}

@media (max-width: 992px) {
    .products-hero-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .products-hero-copy {
        max-width: 100%;
    }

    .products-hero-showcase {
        --hero-card-size: clamp(166px, 30vw, 206px);
    }
}

@media (max-width: 768px) {
    .products-hero {
        min-height: 0;
        padding: 0 !important;
        align-items: stretch;
    }

    .products-hero-backdrop {
        opacity: 0.5;
    }

    .products-hero.has-custom-image .products-hero-backdrop {
        opacity: 1;
    }

    .products-hero-surface {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.74) 42%, rgba(255, 255, 255, 0.86) 100%);
    }

    .products-hero.has-custom-image .products-hero-surface {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 44%, rgba(255, 255, 255, 0.18) 100%);
    }

    .products-hero-inner {
        gap: 1.25rem;
        padding-top: 2.35rem;
        padding-bottom: 2.35rem;
    }

    .products-hero-copy {
        gap: 0.9rem;
    }

    .products-hero-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }

    .products-hero-inner h1 {
        max-width: 12ch;
        font-size: clamp(1.9rem, 8.4vw, 2.6rem) !important;
        line-height: 1.04;
        margin-bottom: 0;
        text-shadow: none;
    }

    .products-hero-inner p {
        font-size: 0.96rem !important;
        line-height: 1.65;
        text-shadow: none;
    }

    .products-hero-cta {
        width: 100%;
        justify-content: center;
        padding: 0.88rem 1.1rem;
    }

    .products-hero-showcase {
        --hero-showcase-gap: 0.75rem;
        --hero-card-size: min(42vw, 168px);
    }

    .products-hero-card-link {
        border-radius: 18px;
    }

    .products-hero-card-body {
        gap: 0.45rem;
        padding: 0.82rem 0.82rem 0.95rem;
    }

    .products-hero-card-name {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .products-hero-card-price {
        font-size: 0.74rem;
    }
}

@media (max-width: 420px) {
    .products-hero-showcase {
        --hero-card-size: min(68vw, 176px);
    }

    .products-hero-kicker {
        padding: 0.4rem 0.72rem;
    }
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1rem;
    align-items: start;
    min-width: 0;
}

.catalog-sidebar {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    padding: 1rem;
    position: sticky;
    top: 1rem;
}

.catalog-sidebar h3 {
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
}

.sidebar-intro {
    font-size: 0.88rem;
    color: #6b7280;
    margin-bottom: 0.9rem;
}

.filter-block {
    border-top: 1px solid #ececec;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.filter-block h4 {
    font-size: 0.96rem;
    margin-bottom: 0.55rem;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.catalog-filter-form input[type="number"],
.catalog-filter-form select {
    width: 100%;
    border: 1px solid #d4d4d8;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
}

.filter-actions {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.5rem;
}

.catalog-content {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.products-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.9rem;
    border: 1px solid rgba(29, 78, 216, 0.16);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.94), rgba(255, 255, 255, 0.98));
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    font-size: 0.92rem;
}
.products-toolbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.toolbar-left {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.toolbar-right {
    flex: 0 0 auto;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.products-search-form {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1 1 340px;
    min-width: min(100%, 340px);
}
.products-search-field {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 0.85rem;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}
.products-search-field > i {
    color: #64748b;
    font-size: 0.9rem;
}
.products-search-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 0.72rem 0.75rem;
    background: transparent;
    color: #0f172a;
}
.products-search-field input:focus {
    outline: none;
}
.products-search-field input[type="search"]::-webkit-search-decoration,
.products-search-field input[type="search"]::-webkit-search-cancel-button,
.products-search-field input[type="search"]::-webkit-search-results-button,
.products-search-field input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}
.products-search-field:focus-within {
    border-color: rgba(29, 78, 216, 0.45);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}
.products-search-submit {
    border: 0;
    border-radius: 10px;
    padding: 0.72rem 1rem;
    background: var(--primary-blue);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.products-search-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}
.products-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-right: 0.35rem;
    border-radius: 999px;
    color: #64748b;
    transition: background 0.2s ease, color 0.2s ease;
}
.products-search-clear:hover {
    background: rgba(148, 163, 184, 0.16);
    color: #0f172a;
}
.products-tag-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(29, 78, 216, 0.12);
}
.product-tag-more {
    position: relative;
}

.product-tag-more summary {
    list-style: none;
    cursor: pointer;
}

.product-tag-more summary::-webkit-details-marker {
    display: none;
}

.product-tag-chip-more::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: 0.15rem;
    align-self: center;
}

.product-tag-more[open] .product-tag-chip-more::after {
    content: '\f077';
}

.product-tag-more-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: auto;
    /* left: auto; */
    z-index: 20;
    min-width: min(360px, 86vw);
    max-width: min(520px, 92vw);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.8rem;
    border: 1px solid rgba(29, 78, 216, 0.16);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.product-tag-more-menu .product-tag-chip {
    width: 100%;
}

.product-tag-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.45rem;
    height: 1.45rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.1);
    color: var(--primary-blue);
    font-size: 0.74rem;
}
.product-tag-chip {
    display: inline-grid;
    grid-template-columns: minmax(0, max-content) auto;
    align-items: center;
    justify-self: start;
    align-self: start;
    column-gap: 0.35rem;
    border: 1px solid rgba(29, 78, 216, 0.18);
    background: #fff;
    color: #1e293b;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.25;
}
.product-tag-label {
    min-width: 0;
}
.product-tag-more-menu .product-tag-chip {
    grid-template-columns: minmax(0, 12ch) auto;
}

.product-tag-chip-more {
    grid-template-columns: minmax(0, max-content) auto auto;
}

.product-tag-more-menu .product-tag-label {
    max-width: 12ch;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.product-tag-chip-more::after {
    grid-column: 3;
    grid-row: 1;
}
.product-tag-chip.is-active,
.product-tag-chip:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: rgba(29, 78, 216, 0.35);
    box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.08);
}
.product-tag-chip.is-active .product-tag-count,
.product-tag-chip:hover .product-tag-count {
    background: var(--primary-blue);
    color: #fff;
}
.per-page-form {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.per-page-form label {
    font-weight: 600;
}
.per-page-form select {
    border: 1px solid #d4d4d8;
    border-radius: 8px;
    padding: 0.3rem 0.45rem;
    background: #fff;
}

.catalog-grid {
    display: grid !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
    margin: 0;
}

.catalog-card {
    flex: initial !important;
    width: 100% !important;
    min-width: 0;
    height: 100%;
    padding: 0;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e3e3e3;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.compare-check {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.92rem;
}

.catalog-actions {
    margin-top: auto;
    padding-top: 0.7rem;
    flex-direction: column;
    width: 100%;
}

.catalog-actions .btn-detail {
    width: 100%;
    text-align: center;
    border-radius: 999px;
}

.product-meta {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
}

.product-snippet {
    margin-top: 0.5rem;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #334155;
    min-height: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.catalog-card .product-img {
    height: 185px;
    background: #f8fafc;
}

.catalog-card .product-img img {
    object-fit: contain;
    padding: 10px;
}

.catalog-card .product-info {
    padding: 0.95rem 0.95rem 0.85rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.catalog-card .product-name {
    margin-bottom: 0.5rem;
    font-size: 1.02rem;
}

.newsletter-signup {
    margin-top: 1.8rem;
    background-color: #0b2a68;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.newsletter-signup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(5, 23, 66, 0.84), rgba(11, 42, 104, 0.58));
    pointer-events: none;
}

.newsletter-signup .container {
    max-width: 1520px;
    padding: 3rem 1rem;
    position: relative;
    z-index: 1;
}

.newsletter-signup-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 24, 58, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 50px rgba(5, 23, 66, 0.2);
}

.newsletter-signup-title {
    margin: 0 0 0.7rem;
    font-size: clamp(1.55rem, 2.5vw, 2.3rem);
    font-weight: 650;
    letter-spacing: -0.025em;
}

.newsletter-signup-desc {
    margin: 0 auto 1.25rem;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 760px;
}

.newsletter-signup-form {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 0;
    max-width: 760px;
    margin: 0 auto 0.8rem;
}

.newsletter-signup-input {
    border: 0;
    min-height: 50px;
    border-radius: 10px 0 0 10px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
}

.newsletter-signup-input:focus {
    outline: none;
}

.newsletter-signup-btn {
    border: 0;
    border-radius: 0 10px 10px 0;
    min-height: 50px;
    padding: 0.8rem 1.45rem;
    background-color: var(--primary-blue);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.18);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-signup-btn:hover,
.newsletter-signup-btn:focus {
    background-color: var(--accent-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.24);
}

.newsletter-signup-btn:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.35);
    outline-offset: 3px;
}

.newsletter-signup-note {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .newsletter-signup-form {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .newsletter-signup-input,
    .newsletter-signup-btn {
        border-radius: 10px;
    }

    .newsletter-signup-btn {
        width: 100%;
        min-height: 48px;
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
        letter-spacing: 0.02em;
    }
}

.btn-buy {
    background: #1d4ed8;
    border: 1px solid #1d4ed8;
}

.btn-outline {
    background: #fff;
    color: #1d4ed8;
    border: 1px solid #1d4ed8;
}

.related-products-toggle.btn-detail.btn-outline {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}

.related-products-toggle.btn-detail.btn-outline:hover,
.related-products-toggle.btn-detail.btn-outline:focus {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.v-pagination {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    max-width: 100%;
}

.v-pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.v-pagination-pages-mobile {
    display: none;
}

.v-pg-btn,
.v-pg-dots {
    flex: 0 0 auto;
}

.v-pg-btn {
    min-width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #d6d6d6;
    background: #fff;
    color: #111827;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.v-pg-btn.active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

@media (max-width: 992px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: static;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-tag-more {
        width: auto;
    }

    .product-tag-more-menu {
        position: absolute;
        top: calc(100% + 0.55rem);
        right: 0;
        left: auto;
        min-width: min(340px, 88vw);
        max-width: min(520px, 92vw);
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .products-page-full > .container {
        padding-top: 0.35rem;
        padding-bottom: 1.1rem;
        /* padding-left: 0.2rem;
        padding-right: 0.2rem; */
    }

    .section-header {
        text-align: left;
        margin: 0 0 0.8rem;
        padding: 0 0.15rem;
    }

    .section-title {
        font-size: 1.38rem;
        padding-bottom: 0.7rem;
    }

    .section-title::after {
        left: 0;
        transform: none;
        width: 44px;
        height: 3px;
    }

    .products-toolbar {
        align-items: flex-start;
        gap: 0.6rem;
        padding: 0.75rem;
        border-radius: 16px;
    }

    .products-toolbar-main {
        width: 100%;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .products-tag-toolbar {
        width: 100%;
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 0;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .product-tag-chip {
        flex: 0 0 auto;
        max-width: min(74vw, 260px);
    }

    .product-tag-more {
        width: auto;
    }

    .product-tag-more-menu {
        position: absolute;
        top: calc(100% + 0.55rem);
        right: 0;
        left: auto;
        min-width: min(300px, 88vw);
        max-width: min(360px, 92vw);
        grid-template-columns: 1fr;
    }

    .toolbar-left,
    .toolbar-right,
    .per-page-form,
    .products-search-form {
        width: 100%;
    }

    .products-search-form {
        flex-wrap: wrap;
    }

    .products-search-submit {
        width: 100%;
    }

    .per-page-form {
        justify-content: space-between;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
        width: 100%;
        margin-left: -13px;    }

    .v-pagination {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.35rem;
        padding: 0 0.45rem;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .v-pagination-pages {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .v-pagination-pages::-webkit-scrollbar {
        display: none;
    }

    .v-pagination-pages-desktop {
        display: none;
    }

    .v-pagination-pages-mobile {
        display: flex;
    }

    .v-pg-btn {
        min-width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .v-pagination > .v-pg-btn {
        flex: 0 0 34px;
    }

    .catalog-card {
        border-radius: 16px;
        border-color: rgba(148, 163, 184, 0.18);
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
    }

    .catalog-content {
        overflow: visible;
    }

    .catalog-card .product-img {
        height: clamp(104px, 26vw, 128px);
        overflow: hidden;
    }

    .catalog-card .product-img img {
        padding: 8px;
    }

    .catalog-card .product-info {
        min-height: 0;
        padding: 0.8rem 0.76rem 0.76rem;
    }

    .catalog-card .product-name {
        margin-bottom: 0.28rem;
        font-size: 0.9rem;
        line-height: 1.32;
        min-height: 2.1em;
    }

    .catalog-card .product-price {
        font-size: 0.96rem;
        line-height: 1.25;
        margin-bottom: 0.18rem;
    }

    .catalog-card .product-meta {
        margin-top: 0;
        font-size: 0.72rem;
        line-height: 1.25;
        min-height: 1.7em;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

    .catalog-card .product-snippet {
        margin-top: 0.22rem;
        font-size: 0.74rem;
        line-height: 1.35;
        min-height: 1.82em;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .catalog-card .product-cat {
        margin-bottom: 0.35rem;
        font-size: 0.68rem;
        line-height: 1.2;
        min-height: 1.5em;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

    .catalog-actions {
        gap: 0.32rem;
        padding-top: 0.38rem;
    }

    .catalog-actions .btn-detail {
        padding: 0.44rem 0.5rem;
        font-size: 0.72rem;
        line-height: 1.2;
        min-height: 32px;
    }

    .badge-installment {
        font-size: 0.72rem;
        padding: 0.36rem 0.8rem;
    }

    .badge-discount-ribbon {
        top: 4.05rem;
        right: -1.3rem;
        width: 5.9rem;
        height: 1.2rem;
        font-size: 0.64rem;
        transform: rotate(45deg);
        transform-origin: top right;
    }
}

.product-detail-tabs {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.detail-tab-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
}

.detail-tab-btn {
    flex: 0 0 auto;
    border: 1px solid #d5dfec;
    background: #ffffff;
    color: #0f172a;
    padding: 0.7rem 1.05rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.detail-tab-btn:hover {
    background: #eef4ff;
    border-color: #b9cdf7;
    transform: translateY(-1px);
}

.detail-tab-btn.active {
    color: #ffffff;
    border-color: #1d4ed8;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.24);
}

.detail-outline-box {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid #d2deeb;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    text-transform: uppercase;
    color: #1e3a5f;
    letter-spacing: 0.04em;
}

.detail-tab-content {
    display: none;
    margin-top: 0.8rem;
    border: 1px solid #dbe3ed;
    border-radius: 12px;
    padding: 1.15rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transform-origin: top center;
    opacity: 0;
    transform: translateY(8px);
}

.detail-tab-content.active {
    display: block;
}

.detail-tab-content.active.is-entering {
    animation: detail-tab-reveal 0.36s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.detail-tab-content h3 {
    margin-bottom: 0.9rem;
    font-size: 1.25rem;
    color: #0f172a;
    border-bottom: 1px solid #e3ebf5;
    padding-bottom: 0.65rem;
}

.product-guide-content {
    margin-bottom: 1rem;
}

.product-guide-media + .product-guide-media {
    margin-top: 1rem;
}

.product-guide-media h4 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #1e3a5f;
}

.product-guide-file-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #d8e2ef;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7fc 100%);
}

.product-guide-file-card p {
    margin-top: 0.25rem;
    color: #475569;
    word-break: break-word;
}

.product-guide-file-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.product-guide-file-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: #1d4ed8;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-guide-file-actions a:last-child {
    background: #e2e8f0;
    color: #0f172a;
}

.product-guide-file-actions a:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.product-guide-pdf-frame {
    width: 100%;
    min-height: 520px;
    margin-top: 0.9rem;
    border: 1px solid #d8e2ef;
    border-radius: 12px;
    background: #fff;
}

.product-guide-file-note {
    margin-top: 0.85rem;
    color: #475569;
}

@keyframes detail-tab-reveal {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .product-detail-tabs {
        padding: 0.85rem;
        border-radius: 12px;
    }

    .detail-tab-content {
        padding: 1rem;
    }

    .product-guide-file-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-guide-file-actions {
        width: 100%;
    }

    .product-guide-file-actions a {
        flex: 1 1 160px;
    }

    .product-guide-pdf-frame {
        min-height: 380px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .detail-tab-btn,
    .detail-tab-content {
        transition: none !important;
        animation: none !important;
    }

    .detail-tab-content.active {
        opacity: 1;
        transform: none;
    }
}

.related-products-block {
    margin-top: 1.25rem;
}

.related-products-header {
    text-align: left;
    margin-bottom: 1rem;
}

.related-products-header .section-title {
    font-size: 1.6rem;
}

.related-products-header .section-title::after {
    left: 0;
    transform: none;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 1200px) {
    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.related-product-card.is-hidden {
    display: none;
}

.related-product-card.is-hidden.show {
    display: flex;
}

.related-products-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
        width: calc(100% + 0.20rem);
        margin-left: -0.90rem;
    }
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary-blue);
    font-weight: 550;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 550;
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.badge-new, .badge-hot, .badge-exclusive {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    max-width: calc(100% - 1.5rem);
}

.badge-new { background: #10b981; }
.badge-hot { background: #ef4444; }
.badge-exclusive { background: #f59e0b; }

.badge-installment {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    overflow: hidden;
    isolation: isolate;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(120deg, #ff1744 0%, #ff6a00 45%, #ffd400 100%);
    background-size: 220% 220%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    text-shadow: 0 1px 4px rgba(122, 18, 0, 0.45);
    z-index: 4;
    box-shadow:
        0 10px 24px rgba(255, 82, 25, 0.38),
        0 0 18px rgba(255, 212, 0, 0.24);
    animation: promotionBadgeBlink 0.95s cubic-bezier(0.4, 0, 0.2, 1) infinite, promotionBadgeGlow 2.4s linear infinite;
}

.badge-installment::before {
    content: '';
    position: absolute;
    inset: -20% auto -20% -35%;
    width: 42%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0));
    transform: rotate(18deg);
    animation: promotionBadgeShine 1.4s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

.badge-installment ~ .badge-new,
.badge-installment ~ .badge-hot,
.badge-installment ~ .badge-exclusive {
    top: 2.85rem;
    left: 0.75rem;
}

.badge-new + .badge-hot,
.badge-new + .badge-exclusive,
.badge-hot + .badge-exclusive {
    top: 3.35rem;
    left: 0.75rem;
}

.badge-installment ~ .badge-new + .badge-hot,
.badge-installment ~ .badge-new + .badge-exclusive,
.badge-installment ~ .badge-hot + .badge-exclusive {
    top: 3.95rem;
    left: 0.75rem;
}

.badge-new + .badge-hot + .badge-exclusive {
    top: 4.7rem;
    left: 0.75rem;
}

.badge-installment ~ .badge-new + .badge-hot + .badge-exclusive {
    top: 5.05rem;
    left: 0.75rem;
}

.badge-discount-ribbon {
    position: absolute;
    top: 12px;
    right: -38px;
    width: 140px;
    height: 24px;
    background: #d92d20;
    color: #fff;
    font-weight: 800;
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    letter-spacing: 0.01em;
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 8px 16px rgba(217, 45, 32, 0.28);
}

@media (max-width: 640px) {
    .badge-discount-ribbon {
        top: 4.05rem;
        right: -1.3rem;
        width: 5.9rem;
        height: 1.2rem;
        padding: 0;
        border-radius: 0;
        font-size: 0.64rem;
        line-height: 1.2rem;
        white-space: nowrap;
        transform: rotate(45deg);
        transform-origin: top right;
        box-shadow: 0 6px 14px rgba(217, 45, 32, 0.24);
    }
}

.product-features {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.product-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li i {
    color: #10b981;
    font-size: 0.75rem;
}

.product-features-lined {
    margin: 0.95rem 0 1rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.product-features-lined li {
    font-size: 0.98rem;
    color: #6b7280;
    margin-bottom: 0.55rem;
    gap: 0.55rem;
}

.product-features-lined li:last-child {
    margin-bottom: 0;
}

.product-features-lined li i {
    color: #10b981;
    font-size: 0.82rem;
    margin-top: 0.25rem;
}

.product-specs-mini {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-gray);
}

.product-specs-mini .spec {
    font-size: 0.75rem;
    color: var(--text-main);
    background: var(--primary-light);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.product-specs-mini .spec i {
    color: var(--primary-blue);
}

.product-specs-middle {
    margin: 0.85rem 0 1rem;
    padding-top: 0;
    border-top: 0;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-specs-middle .spec {
    font-size: 0.82rem;
    padding: 0.38rem 0.62rem;
    border-radius: 6px;
    background: #eef4ff;
}

.product-specs-middle .spec i {
    color: #2563eb;
}

.product-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.product-code {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.btn-icon:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.btn-detail {
    background: var(--primary-dark);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-detail:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.page-hero {
    background: linear-gradient(120deg, #0f172a, #1d4ed8);
    color: #fff;
    padding: 2.4rem 0;
}

.page-hero .container {
    max-width: 1520px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.news-hero {
    background: linear-gradient(120deg, #0f172a, #1d4ed8);
    color: #fff;
    padding: 2.4rem 0;
}

.page-hero h1,
.news-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 0.35rem;
}

.page-hero p,
.news-hero p {
    opacity: 0.92;
    max-width: 760px;
}

.products-hero.page-hero {
    padding: 0;
    align-items: stretch;
    background:
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    color: inherit;
}

.products-hero.page-hero .products-hero-inner h1 {
    margin-bottom: 0;
    font-size: clamp(2.25rem, 3.7vw, 3.75rem);
}

.products-hero.page-hero .products-hero-inner p {
    max-width: 42rem;
    opacity: 1;
}

.news-featured-hero.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 620px;
    padding: 0;
    color: #14213d;
    background:
        linear-gradient(135deg, #f8fbff 0%, #ffffff 46%, #eef5ff 100%);
}

.news-featured-hero-backdrop,
.news-featured-hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.news-featured-hero-backdrop {
    z-index: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.12;
    filter: saturate(1.05);
}

.news-featured-hero.has-custom-image .news-featured-hero-backdrop {
    opacity: 0.36;
    filter: saturate(1.12) contrast(1.04);
}

.news-featured-hero-pattern {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.28), transparent 62%);
}

.news-featured-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: inherit;
    display: grid;
    grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
    gap: clamp(2rem, 4.5vw, 5rem);
    align-items: center;
    padding-top: clamp(3rem, 7vw, 6.5rem);
    padding-bottom: clamp(3rem, 7vw, 6.5rem);
}

.news-featured-hero-inner.is-copy-only {
    grid-template-columns: minmax(0, 1fr);
}

.news-featured-hero-copy {
    max-width: 600px;
    display: grid;
    gap: 1.3rem;
    justify-items: start;
}

.news-featured-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.58rem 1rem;
    border-radius: 999px;
    background: #eaf1ff;
    color: #2563eb;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-featured-hero.page-hero .news-featured-hero-copy h1 {
    margin: 0;
    color: #14213d;
    font-size: clamp(2.45rem, 5.2vw, 5rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.news-featured-hero.page-hero .news-featured-hero-copy p {
    max-width: 36rem;
    margin: 0;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.78;
    opacity: 1;
}

.news-featured-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 56px;
    padding: 0.95rem 1.4rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-featured-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(37, 99, 235, 0.28);
}

.news-featured-hero-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.news-featured-card {
    grid-column: span 2;
    min-width: 0;
}

.news-featured-card.is-large {
    grid-column: span 3;
}

.news-featured-card-link {
    display: grid;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-featured-card-link:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: 0 24px 46px rgba(37, 99, 235, 0.14);
}

.news-featured-card-media {
    position: relative;
    aspect-ratio: 16 / 8.8;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #f8fafc 100%);
}

.news-featured-card:not(.is-large) .news-featured-card-media {
    aspect-ratio: 16 / 9.8;
}

.news-featured-card-media img,
.news-featured-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.news-featured-card-media img {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-featured-card-link:hover .news-featured-card-media img {
    transform: scale(1.035);
}

.news-featured-card-placeholder {
    background:
        linear-gradient(135deg, #dbeafe 0%, #eff6ff 54%, #f8fafc 100%);
}

.news-featured-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    max-width: calc(100% - 1.5rem);
    padding: 0.45rem 0.72rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.24);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-featured-card-body {
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem 1.25rem 1.25rem;
}

.news-featured-card:not(.is-large) .news-featured-card-body {
    gap: 0.72rem;
    padding: 1rem 1.05rem 1.05rem;
}

.news-featured-card-body h2 {
    margin: 0;
    color: #14213d;
    font-size: 1.18rem;
    line-height: 1.42;
    font-weight: 900;
    letter-spacing: 0;
}

.news-featured-card:not(.is-large) .news-featured-card-body h2 {
    font-size: 1rem;
}

.news-featured-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.85rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 700;
}

.news-featured-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.news-featured-card-meta span + span::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #94a3b8;
    margin-right: 0.25rem;
}

@media (max-width: 1180px) {
    .news-featured-hero-inner {
        grid-template-columns: 1fr;
    }

    .news-featured-hero-copy {
        max-width: 760px;
    }
}

@media (max-width: 768px) {
    .news-featured-hero.page-hero {
        min-height: 0;
        padding: 0 !important;
    }

    .news-featured-hero-inner {
        gap: 1.6rem;
        padding: 2rem 0.95rem 2.2rem;
    }

    .news-featured-hero-copy {
        gap: 1rem;
    }

    .news-featured-hero-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        padding: 0.48rem 0.78rem;
    }

    .news-featured-hero.page-hero .news-featured-hero-copy h1 {
        font-size: clamp(2rem, 9vw, 2.8rem) !important;
        line-height: 1.08;
    }

    .news-featured-hero.page-hero .news-featured-hero-copy p {
        font-size: 0.96rem !important;
        line-height: 1.62;
    }

    .news-featured-hero-cta {
        width: 100%;
        justify-content: center;
    }

    .news-featured-hero-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .news-featured-card,
    .news-featured-card.is-large {
        grid-column: auto;
    }

    .news-featured-card-media,
    .news-featured-card:not(.is-large) .news-featured-card-media {
        aspect-ratio: 16 / 9;
    }

    .news-featured-card-body,
    .news-featured-card:not(.is-large) .news-featured-card-body {
        padding: 1rem;
    }

    .news-featured-card-body h2,
    .news-featured-card:not(.is-large) .news-featured-card-body h2 {
        font-size: 1rem;
        line-height: 1.38;
    }

    .news-featured-card-meta {
        font-size: 0.82rem;
    }
}

.page-hero-dynamic {
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.page-hero-dynamic h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}

.news-page {
    padding: 1.5rem 0 2rem;
    background: #f8fafc;
}

.page-default-section {
    padding: 2rem 0;
    background: #f8fafc;
}

.page-layout-default {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1rem;
    align-items: start;
}

.page-default-main {
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: clamp(1rem, 2vw, 1.5rem);
    box-shadow: 0 14px 34px -28px rgba(15, 23, 42, 0.38);
}

.page-layout-default .section-header {
    margin-bottom: 1rem;
}

.page-layout-default .page-rich-content-centered {
    max-width: none;
}

.page-hot-news-section {
    padding: 0 0 2rem;
    background: #f8fafc;
}

.page-hot-news-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-hot-news-head span {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 0.28rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.page-hot-news-head h2 {
    margin-top: 0.4rem;
    color: #0f172a;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 850;
    letter-spacing: -0.02em;
}

.page-hot-news-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
}

.page-hot-news-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px -24px rgba(15, 23, 42, 0.42);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-hot-news-card:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 34px -24px rgba(29, 78, 216, 0.42);
}

.page-hot-news-image {
    display: flex;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #1d4ed8;
    font-size: 2rem;
    font-weight: 900;
    text-decoration: none;
}

.page-hot-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.24s ease;
}

.page-hot-news-card:hover .page-hot-news-image img {
    transform: scale(1.04);
}

.page-hot-news-body {
    padding: 0.72rem;
}

.page-hot-news-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
}

.page-hot-news-meta .is-hot {
    border-radius: 999px;
    background: linear-gradient(135deg, #dc2626, #f97316);
    color: #fff;
    padding: 0.12rem 0.4rem;
    font-size: 0.66rem;
}

.page-hot-news-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.35;
}

.page-hot-news-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.page-hot-news-card h3 a:hover {
    color: #1d4ed8;
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1rem;
    align-items: start;
}

.news-main {
    min-width: 0;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.news-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.news-search-form--wide {
    margin-bottom: 0.75rem;
}

.news-search-form input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.72rem 0.85rem;
    font-size: 0.95rem;
    background: #fff;
}

.news-search-form button {
    border: 1px solid #1d4ed8;
    background: #1d4ed8;
    color: #fff;
    border-radius: 10px;
    padding: 0.72rem 1rem;
    font-weight: 700;
    cursor: pointer;
}

.news-empty-state {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1rem;
    color: #475569;
}
.news-tag-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
}

.news-tag-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1e293b;
    padding: 0.36rem 0.72rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
}

.news-tag-chip.is-active,
.news-tag-chip:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.news-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    opacity: 1 !important;
    visibility: visible !important;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px -22px rgba(15, 23, 42, 0.35);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.news-list > .news-card {
    grid-column: auto;
    grid-row: auto;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -20px rgba(30, 58, 138, 0.35);
    border-color: #c7d2fe;
}

.news-card-image {
    position: relative;
    background: #e2e8f0;
    min-height: 190px;
    aspect-ratio: 16 / 9;
}

.news-card-ribbons {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 2;
}

.news-card-ribbon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.03em;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 8px 20px -12px rgba(15, 23, 42, 0.8);
}

.news-card-ribbon.is-hot {
    background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
}

.news-card-ribbon.is-latest {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 1rem 1rem 1.05rem;
    display: flex;
    flex-direction: column;
}

.news-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
}

.news-load-more-btn {
    border: 1px solid #1d4ed8;
    background: #1d4ed8;
    color: #fff;
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-load-more-btn:hover {
    background: #1e40af;
    border-color: #1e40af;
}

.news-load-more-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

.news-card-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 0.65rem;
    font-weight: 600;
}

.news-card h2,
.news-detail-main h1 {
    font-size: clamp(1.02rem, 1.05vw, 1.28rem);
    line-height: 1.35;
    margin-bottom: 0.55rem;
    color: #0f172a;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.news-card h2 a {
    color: inherit;
    text-decoration: none;
}

.news-card h2 a:hover {
    color: #1d4ed8;
}

.news-card p {
    color: #334155;
    line-height: 1.6;
    font-size: 0.92rem;
}

.news-card h2 a,
.news-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card h2 a {
    -webkit-line-clamp: 2;
}

.news-card p {
    -webkit-line-clamp: 3;
}

.news-sidebar {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.85rem;
}

.news-sidebar-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    box-shadow: 0 10px 24px -22px rgba(15, 23, 42, 0.42);
}

.news-sidebar-card h3 {
    font-size: 0.98rem;
    margin-bottom: 0.75rem;
    color: #0b1f4a;
    font-weight: 800;
    letter-spacing: 0.01em;
    border-left: 3px solid #2563eb;
    padding-left: 0.55rem;
}

.news-sidebar-card.compact {
    padding: 0.85rem 0.9rem;
}

.news-sidebar-card.compact h3 {
    font-size: 0.94rem;
    margin-bottom: 0.6rem;
}

.news-sidebar-list {
    display: grid;
    gap: 0.55rem;
}

.news-sidebar-list.compact {
    gap: 0.35rem;
}

.news-sidebar-list a,
.news-sidebar-link {
    color: #1e3a8a;
    font-weight: 700;
    font-size: 0.92rem;
}

.news-sidebar-list.compact a {
    display: block;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.5;
    color: #334155;
    padding: 0.2rem 0.05rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.news-sidebar-list.compact a:hover {
    color: #1d4ed8;
    transform: translateX(3px);
}

.news-sidebar-empty {
    color: #64748b;
    font-size: 0.9rem;
}

.news-detail-main {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
}

.news-detail-excerpt {
    color: #334155;
    font-size: 1.05rem;
}

.news-detail-image {
    margin: 0 0 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    height: auto;
}

.news-detail-content {
    color: #1e293b;
    line-height: 1.75;
}

.news-detail-content p,
.news-detail-content ul,
.news-detail-content ol,
.news-detail-content h2,
.news-detail-content h3 {
    margin-bottom: 0.95rem;
}

.news-detail-content img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.news-detail-content [style*="text-align:center"],
.news-detail-content [style*="text-align: center"],
.news-detail-content .text-center,
.news-detail-content .is-centered,
.news-detail-content .image-style-align-center {
    text-align: center !important;
}

.news-detail-content [style*="text-align:left"],
.news-detail-content [style*="text-align: left"],
.news-detail-content [style*="text-align:start"],
.news-detail-content [style*="text-align: start"],
.news-detail-content .text-left,
.news-detail-content .is-left,
.news-detail-content .image-style-align-left {
    text-align: left !important;
}

.news-detail-content [style*="text-align:right"],
.news-detail-content [style*="text-align: right"],
.news-detail-content [style*="text-align:end"],
.news-detail-content [style*="text-align: end"],
.news-detail-content .text-right,
.news-detail-content .is-right,
.news-detail-content .image-style-align-right {
    text-align: right !important;
}

.news-detail-content figure.image.image-style-align-left img,
.news-detail-content figure.image-style-align-left img,
.news-detail-content figure.is-left img,
.news-detail-content .text-left img {
    display: block !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.news-detail-content figure.image.image-style-align-right img,
.news-detail-content figure.image-style-align-right img,
.news-detail-content figure.is-right img,
.news-detail-content .text-right img {
    display: block !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

.news-detail-content figure.image.image-style-align-center img,
.news-detail-content figure.image-style-align-center img,
.news-detail-content figure.is-centered img,
.news-detail-content .text-center img {
    display: block !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.news-detail-content img[style*="float:left"],
.news-detail-content img[style*="float: left"] {
    float: left !important;
    margin: 1rem 1rem 1rem 0 !important;
}

.news-detail-content img[style*="float:right"],
.news-detail-content img[style*="float: right"] {
    float: right !important;
    margin: 1rem 0 1rem 1rem !important;
}

.news-detail-content figure,
.news-detail-content figure.image,
.news-detail-content figure.image.image-style-align-center,
.news-detail-content figure.is-centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.news-detail-content figure.image.image-style-align-left,
.news-detail-content figure.is-left {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.news-detail-content figure.image.image-style-align-right,
.news-detail-content figure.is-right {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.page-rich-content {
    color: #1e293b;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.page-rich-content-centered {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.page-layout-full-width {
    width: 100%;
    padding: 2rem 0;
}

.page-layout-full-width .page-content-shell {
    width: 100%;
    max-width: min(1680px, 100%);
    margin: 0 auto;
    padding: 0 2rem;
}

.page-layout-full-width .section-header {
    text-align: left;
}

.page-layout-full-width .section-title::after {
    left: 0;
    transform: none;
}

.page-full-width-content {
    max-width: none;
}

.page-mode-builder {
    max-width: none;
}

.page-builder-layout {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.25rem 0;
}

.page-rich-content p,
.page-rich-content ul,
.page-rich-content ol,
.page-rich-content h1,
.page-rich-content h2,
.page-rich-content h3,
.page-rich-content h4,
.page-rich-content h5,
.page-rich-content h6,
.page-rich-content blockquote,
.page-rich-content table,
.page-rich-content pre,
.page-rich-content details,
.page-rich-content figure {
    margin-bottom: 0.95rem;
}

.page-rich-content h1,
.page-rich-content h2,
.page-rich-content h3,
.page-rich-content h4,
.page-rich-content h5,
.page-rich-content h6 {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.page-rich-content h1 {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.page-rich-content h2 {
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.page-rich-content h3 {
    font-size: clamp(1.18rem, 1.8vw, 1.45rem);
}

.page-rich-content h4,
.page-rich-content h5,
.page-rich-content h6 {
    font-size: 1.05rem;
}

.page-rich-content ul,
.page-rich-content ol {
    padding-left: 1.45rem;
}

.page-rich-content ul {
    list-style: disc;
}

.page-rich-content ol {
    list-style: decimal;
}

.page-rich-content li + li {
    margin-top: 0.35rem;
}

.page-rich-content a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #93c5fd;
    text-underline-offset: 3px;
}

.page-rich-content blockquote {
    border-left: 4px solid #bfdbfe;
    background: #f8fbff;
    border-radius: 0 12px 12px 0;
    color: #334155;
    font-style: italic;
    padding: 0.85rem 1rem;
}

.page-rich-content table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    font-size: 0.95rem;
}

.page-rich-content th,
.page-rich-content td {
    border: 1px solid #dbe3ef;
    padding: 0.72rem 0.8rem;
    text-align: left;
    vertical-align: top;
}

.page-rich-content th {
    background: #eff6ff;
    color: #0f172a;
    font-weight: 800;
}

.page-rich-content code {
    border-radius: 0.35rem;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.9em;
    padding: 0.12rem 0.35rem;
}

.page-rich-content pre {
    overflow-x: auto;
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
    padding: 1rem;
}

.page-rich-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.page-rich-content details {
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
    padding: 0.85rem 1rem;
}

.page-rich-content summary {
    cursor: pointer;
    color: #0f172a;
    font-weight: 800;
}

.page-rich-content figcaption {
    margin-top: 0.45rem;
    color: #64748b;
    font-size: 0.88rem;
    font-style: italic;
    text-align: center;
}

.page-rich-content img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.page-rich-content [style*="text-align:center"],
.page-rich-content [style*="text-align: center"],
.page-rich-content [data-text-align="center"],
.page-rich-content .text-center,
.page-rich-content .is-centered,
.page-rich-content .image-style-align-center {
    text-align: center !important;
}

.page-rich-content [style*="text-align:left"],
.page-rich-content [style*="text-align: left"],
.page-rich-content [style*="text-align:start"],
.page-rich-content [style*="text-align: start"],
.page-rich-content [data-text-align="left"],
.page-rich-content [data-text-align="start"],
.page-rich-content .text-left,
.page-rich-content .is-left,
.page-rich-content .image-style-align-left {
    text-align: left !important;
}

.page-rich-content [style*="text-align:right"],
.page-rich-content [style*="text-align: right"],
.page-rich-content [style*="text-align:end"],
.page-rich-content [style*="text-align: end"],
.page-rich-content [data-text-align="right"],
.page-rich-content [data-text-align="end"],
.page-rich-content .text-right,
.page-rich-content .is-right,
.page-rich-content .image-style-align-right {
    text-align: right !important;
}

.page-rich-content [style*="text-align:justify"],
.page-rich-content [style*="text-align: justify"],
.page-rich-content [data-text-align="justify"] {
    text-align: justify !important;
}

.page-rich-content figure.image.image-style-align-left img,
.page-rich-content figure.image-style-align-left img,
.page-rich-content figure.is-left img,
.page-rich-content .text-left img {
    display: block !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.page-rich-content figure.image.image-style-align-right img,
.page-rich-content figure.image-style-align-right img,
.page-rich-content figure.is-right img,
.page-rich-content .text-right img {
    display: block !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

.page-rich-content figure.image.image-style-align-center img,
.page-rich-content figure.image-style-align-center img,
.page-rich-content figure.is-centered img,
.page-rich-content .text-center img {
    display: block !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-rich-content img[style*="float:left"],
.page-rich-content img[style*="float: left"] {
    float: left !important;
    margin: 1rem 1rem 1rem 0 !important;
}

.page-rich-content img[style*="float:right"],
.page-rich-content img[style*="float: right"] {
    float: right !important;
    margin: 1rem 0 1rem 1rem !important;
}

.page-rich-content figure,
.page-rich-content figure.image,
.page-rich-content figure.image.image-style-align-center,
.page-rich-content figure.is-centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.page-rich-content figure.image.image-style-align-left,
.page-rich-content figure.is-left {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.page-rich-content figure.image.image-style-align-right,
.page-rich-content figure.is-right {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.page-rich-content figure[style*="margin-left:auto"][style*="margin-right:0"],
.page-rich-content figure[style*="margin-left: auto"][style*="margin-right: 0"] {
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

.page-rich-content figure[style*="margin-left:0"][style*="margin-right:auto"],
.page-rich-content figure[style*="margin-left: 0"][style*="margin-right: auto"] {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.page-rich-content figure[style*="margin-left:auto"][style*="margin-right:auto"],
.page-rich-content figure[style*="margin-left: auto"][style*="margin-right: auto"] {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-rich-content figure[style*="float:right"],
.page-rich-content figure[style*="float: right"] {
    float: right !important;
    margin: 1rem 0 1rem 1rem !important;
}

.page-rich-content figure[style*="float:left"],
.page-rich-content figure[style*="float: left"] {
    float: left !important;
    margin: 1rem 1rem 1rem 0 !important;
}

.news-related {
    margin-top: 1.3rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.news-related h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.news-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.news-related-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.news-related-image {
    height: 120px;
    background: #e2e8f0;
}

.news-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-related-body {
    padding: 0.7rem;
}

.news-related-body h4 {
    font-size: 0.95rem;
    line-height: 1.45;
}

@media (max-width: 860px) {
    .page-layout-default {
        grid-template-columns: 1fr;
    }

    .page-layout-default .news-sidebar {
        position: static;
    }

    .page-hot-news-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
    }

    .news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-default-section {
        padding: 1rem 0;
    }

    .page-default-main {
        border-radius: 12px;
        padding: 0.9rem;
    }

    .page-hot-news-section {
        padding-bottom: 1.2rem;
    }

    .page-hot-news-head {
        display: block;
    }

    .page-hot-news-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .page-hot-news-body {
        padding: 0.58rem;
    }

    .page-hot-news-card h3 {
        font-size: 0.8rem;
    }

    .news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        width: calc(100% + 0.2rem);
        margin-left: -0.1rem;
    }

    .news-card {
        border-radius: 10px;
        box-shadow: none;
    }

    .news-card-image {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .news-card-body {
        padding: 0.62rem 0.58rem 0.65rem;
    }

    .news-card-meta {
        gap: 0.25rem;
        margin-bottom: 0.35rem;
        font-size: 0.66rem;
        line-height: 1.25;
    }

    .news-card-meta span {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

    .news-card h2 {
        margin-bottom: 0.35rem;
        font-size: 0.82rem;
        line-height: 1.28;
    }

    .news-card p {
        font-size: 0.7rem;
        line-height: 1.35;
        -webkit-line-clamp: 2;
    }

    .news-card-ribbons {
        top: 0.45rem;
        left: 0.45rem;
        gap: 0.25rem;
    }

    .news-card-ribbon {
        padding: 0.16rem 0.42rem;
        font-size: 0.58rem;
    }
}

/* Banner Switcher Section - Redesigned */
.banner-switcher-section {
    padding: 10px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.banner-switcher-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-watermark {
    position: absolute;
    top: 0.15rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(4.5rem, 9vw, 8rem);
    font-weight: 900;
    color: #f1f5f9;
    z-index: 0;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.28rem;
    pointer-events: none;
    transition: all 0.5s ease;
}

.banner-main {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    min-height: 430px;
}

.banner-image-box {
    flex: 0 1 min(760px, 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding-top: 4.25rem;
}

.banner-image-box a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image-box img {
    width: min(100%, 680px);
    max-height: 360px;
    object-fit: contain;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.banner-product-code {
    margin-top: 0.85rem;
    min-height: 1.35rem;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    z-index: 2;
}

.banner-arrow {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: white;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.2rem;
    font-weight: 900;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.banner-arrow.prev {
    left: 1.5rem;
}

.banner-arrow.next {
    right: 1.5rem;
}

.banner-arrow:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.banner-specs-row {
    --banner-spec-columns: 4;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(var(--banner-spec-columns), minmax(0, 1fr));
    gap: 1.5rem 2rem;
    padding: 1.5rem 0 0.5rem;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 0.5rem;
    z-index: 1;
    align-items: stretch;
}

.banner-spec-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    min-width: 0;
    min-height: 100%;
    padding: 0 0.35rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.banner-specs-row.is-updating .banner-spec-item {
    opacity: 0;
    transform: translateY(5px);
}

.banner-spec-item .label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.banner-spec-item .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    transition: opacity 0.2s ease, transform 0.2s ease;
    word-break: break-word;
}

.banner-spec-item .value.changing {
    opacity: 0;
    transform: translateY(5px);
}

.banner-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.btn-cta {
    padding: 1rem 3rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 220px;
}

.btn-cta.primary {
    background: var(--primary-blue);
    color: white;
    border: 1px solid var(--primary-blue);
}

.btn-cta.primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.btn-cta.secondary {
    background: white;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-cta.secondary:hover {
    background: var(--primary-light);
}

.banner-dots {
    display: flex;
    gap: 0.75rem;
    z-index: 1;
}

.banner-dots .nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.banner-dots .nav-dot.active {
    background: var(--primary-blue);
    width: 10px;
}

@media (max-width: 768px) {
    .banner-watermark {
        font-size: 4rem;
    }
    .banner-specs-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .banner-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-cta {
        width: 100%;
    }
}

/* Service & Warranty Section */
.service-banner-section {
    padding: 0;
    background-color: #0b2a68;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    position: relative;
    color: #fff;
}

.service-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 23, 66, 0.72) 0%, rgba(5, 23, 66, 0.48) 28%, rgba(5, 23, 66, 0.18) 58%, rgba(5, 23, 66, 0.1) 100%);
}

.service-banner-section .container {
    position: relative;
    z-index: 1;
    max-width: 1520px;
    padding: 3rem 1rem;
}

.service-banner-content {
    width: 100%;
    min-height: clamp(420px, 42vw, 540px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.service-text-side {
    max-width: min(540px, 100%);
    padding: clamp(1.1rem, 2.8vw, 2rem);
    margin-left: clamp(0rem, 2vw, 1rem);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(7, 25, 67, 0.68), rgba(7, 25, 67, 0.38));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 50px rgba(5, 23, 66, 0.16);
    backdrop-filter: blur(6px);
}

.service-title {
    font-size: clamp(1.8rem, 3vw, 2.05rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.service-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.service-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-service {
    padding: 1rem 2rem;
    font-weight: 650;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 180px;
}

.btn-service.primary {
    background: var(--primary-blue);
    color: white;
    border: 1px solid var(--primary-blue);
}

.btn-service.primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.btn-service.secondary {
    background: white;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-service.secondary:hover {
    background: var(--primary-light);
}

@media (max-width: 992px) {
    .service-banner-section .container {
        padding: 2.5rem 1rem;
    }

    .service-banner-content {
        min-height: 460px;
        text-align: center;
        justify-content: center;
    }

    .service-text-side {
        max-width: 100%;
        margin: 0 auto;
        padding-left: clamp(1rem, 3vw, 1.6rem);
    }

    .service-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .service-actions {
        flex-direction: column;
    }
    .btn-service {
        width: 100%;
    }
}

/* Mobile button and touch-target hardening */
.btn,
.btn-detail,
.btn-cta,
.btn-service,
.slider-btn,
.hero-arrow,
.banner-arrow,
.nav-dot {
    touch-action: manipulation;
}

.btn,
.btn-detail,
.btn-cta,
.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    line-height: 1.25;
    text-wrap: balance;
    word-break: break-word;
}

.contact-info .btn {
    white-space: nowrap;
}

.header-hotline-btn {
    font-size: 0.94rem;
    font-weight: 700;
}

.header-traffic-panel {
    /* display: inline-flex; */
    flex-direction: column;
    /* gap: 0.45rem; */
    min-width: 210px;
    padding: 0.65rem 0.85rem;
    /* border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1); */
}

.header-traffic-panel-mobile {
    width: 100%;
    min-width: 0;
}

.header-traffic-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    line-height: 1.15;
}

.header-traffic-row-online {
    position: relative;
}

.header-traffic-label {
    color: #475569;
    font-weight: 700;
}

.header-traffic-value {
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 800;
}

.header-traffic-icon {
    font-size: 0.86rem;
    color: var(--primary-blue);
}

.header-online-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #22c55e;
    flex: 0 0 auto;
    box-shadow:
        0 0 0 0 rgba(34, 197, 94, 0.55),
        0 0 18px rgba(34, 197, 94, 0.95);
    animation: headerOnlinePulse 1.8s ease-out infinite;
}

@keyframes headerOnlinePulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(34, 197, 94, 0.55),
            0 0 10px rgba(34, 197, 94, 0.9);
        transform: scale(1);
    }
    60% {
        box-shadow:
            0 0 0 8px rgba(34, 197, 94, 0),
            0 0 20px rgba(34, 197, 94, 1);
        transform: scale(1.08);
    }
    100% {
        box-shadow:
            0 0 0 0 rgba(34, 197, 94, 0),
            0 0 12px rgba(34, 197, 94, 0.75);
        transform: scale(1);
    }
}

/* Floating contact FAB */
.fab_contact_wrap {
    position: fixed;
    right: 16px;
    bottom: 88px;
    z-index: 10040;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fab_btn.is-float.is-visible {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-md);
    animation: fabShake 2s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
    transform-origin: center;
    position: relative;
    overflow: visible;
}

/* Promo popup overlay */
.promo-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.56);
    z-index: 10060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vw, 24px);
    overflow-y: auto;
}

.promo-popup-overlay.is-open {
    display: flex;
}

.promo-popup-card {
    position: relative;
    width: min(560px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    background: #fff;
    border-radius: 0;
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: promoPopupIn 0.24s ease-out;
    margin: auto;
}

.promo-popup-media {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: clamp(220px, 34vh, 320px);
    flex-shrink: 0;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent 56%),
        linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.promo-popup-slides {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(16px, 2.8vw, 26px);
}

.promo-popup-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    object-position: center;
    filter: drop-shadow(0 16px 26px rgba(15, 23, 42, 0.18));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.promo-popup-slide.is-active {
    opacity: 1;
}

.promo-popup-content {
    padding: 22px 20px 24px;
    text-align: center;
    overflow-y: auto;
}

.promo-popup-content h3 {
    color: #1f2937;
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 800;
}

.promo-popup-content p {
    color: #6b7280;
    margin-bottom: 16px;
    font-size: 1rem;
}

.promo-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(320px, 100%);
    margin: 0 auto;
    padding: 12px 16px;
    border-radius: 6px;
    background: #1d4ed8;
    border: 1px solid #1d4ed8;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.promo-popup-btn + .promo-popup-btn {
    margin-top: 10px;
}

.promo-popup-btn-secondary {
    background: #0f766e;
    border-color: #0f766e;
}

.promo-popup-btn-secondary:hover {
    background: #115e59;
    border-color: #115e59;
}

.promo-popup-countdown {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 14px 0 16px;
}

.promo-popup-count-item {
    width: 84px;
    background: #f3f4f6;
    padding: 10px 6px;
}

.promo-popup-count-item strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 800;
    color: #374151;
}

.promo-popup-count-item span {
    display: block;
    margin-top: 6px;
    font-size: 0.95rem;
    color: #4b5563;
}

.promo-popup-note {
    margin-top: 14px;
    font-size: 0.98rem;
    color: #6b7280;
}

.promo-popup-btn:hover {
    background: #1e40af;
    border-color: #1e40af;
    color: #fff;
}

.promo-popup-btn-secondary:hover {
    background: #115e59;
    border-color: #115e59;
}

.promo-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    z-index: 2;
}

@media (max-width: 1199px) {
    .promo-popup-card {
        width: min(520px, calc(100vw - 40px));
        max-height: calc(100vh - 40px);
    }

    .promo-popup-media {
        min-height: clamp(210px, 32vh, 280px);
    }
}

@media (max-width: 767px) {
    .promo-popup-overlay {
        padding: 10px;
        align-items: flex-start;
    }

    .promo-popup-card {
        width: min(100%, 420px);
        max-height: calc(100vh - 20px);
    }

    .promo-popup-media {
        aspect-ratio: 1 / 1;
        min-height: clamp(170px, 28vh, 220px);
    }

    .promo-popup-content {
        padding: 16px 14px 18px;
    }

    .promo-popup-content h3 {
        font-size: clamp(1.2rem, 6vw, 1.55rem);
    }

    .promo-popup-content p {
        font-size: 0.94rem;
        margin-bottom: 14px;
    }

    .promo-popup-countdown {
        gap: 8px;
        margin: 12px 0 14px;
    }

    .promo-popup-count-item {
        width: calc((100% - 16px) / 3);
        min-width: 0;
        padding: 9px 4px;
    }

    .promo-popup-count-item strong {
        font-size: 1.35rem;
    }

    .promo-popup-count-item span {
        font-size: 0.8rem;
    }

    .promo-popup-btn {
        width: 100%;
        padding: 11px 14px;
        font-size: 0.9rem;
    }
}

@keyframes promoPopupIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fab_btn.is-float.is-visible i {
    font-size: 18px;
}

.fab_btn.is-float.is-visible::before,
.fab_btn.is-float.is-visible::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid rgba(37, 99, 235, 0.45);
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
}

.fab_btn.is-float.is-visible::before {
    animation: fabWave 2s ease-out infinite;
}

.fab_btn.is-float.is-visible::after {
    animation: fabWave 2s ease-out 0.38s infinite;
}

.fab-btn-zalo {
    background: #fff;
    border: 1px solid #dbeafe;
}

.fab-zalo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.fab-btn-facebook {
    background: #000;
}

.fab-btn-phone {
    background: var(--primary-blue);
}

@keyframes fabShake {
    0%, 62%, 100% { transform: rotate(0deg) scale(1); }
    66% { transform: rotate(-22deg) scale(1.04); }
    70% { transform: rotate(20deg) scale(1.04); }
    74% { transform: rotate(-18deg) scale(1.03); }
    78% { transform: rotate(16deg) scale(1.03); }
    82% { transform: rotate(-12deg) scale(1.02); }
    86% { transform: rotate(10deg) scale(1.02); }
    90% { transform: rotate(-6deg) scale(1.01); }
    94% { transform: rotate(5deg) scale(1.01); }
}

@keyframes fabWave {
    0%, 60% {
        opacity: 0;
        transform: scale(0.92);
    }
    64% {
        opacity: 0.42;
        transform: scale(1);
    }
    82% {
        opacity: 0.22;
        transform: scale(1.34);
    }
    100% {
        opacity: 0;
        transform: scale(1.56);
    }
}

@media (max-width: 768px) {
    .fab_contact_wrap {
        right: 10px;
        bottom: 18px;
        gap: 8px;
    }

    .fab_btn.is-float.is-visible {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        width: min(86vw, 320px);
        padding: 5.5rem 1.25rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-arrow,
    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .banner-actions,
    .service-actions {
        gap: 0.75rem;
    }

    .btn-cta,
    .btn-service {
        min-width: 0;
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 0.82rem;
    }

    .faq-question {
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Mobile hero slider tuning */
@media (max-width: 768px) {
    .hero {
        height: clamp(250px, 58vw, 360px);
        min-height: 0;
        align-items: stretch;
        background: #ffffff;
        display: block;
    }

    .hero-slider,
    .hero-slide {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .hero-slide {
        background-size: contain;
        background-position: center center;
        background-color: #ffffff;
    }

    .hero-slide::after {
        background: linear-gradient(to top, rgba(15, 23, 42, 0.66) 0%, rgba(15, 23, 42, 0.32) 38%, rgba(15, 23, 42, 0) 72%);
        transform: none;
        opacity: 1;
    }

    .hero-slide.active::after {
        animation: none;
    }

    .hero > .container {
        position: relative;
        inset: auto;
        width: 100%;
        height: 100%;
        min-height: 0;
        align-items: flex-end;
        padding: 0 1rem 2.8rem;
        pointer-events: none;
    }

    .hero-content {
        display: block;
        width: 100%;
        max-width: 100%;
        text-align: left;
        pointer-events: auto;
    }

    .hero-title {
        max-width: 100%;
        margin-bottom: 0.45rem;
        font-size: clamp(1.25rem, 5.2vw, 1.85rem) !important;
        line-height: 1.18;
        font-weight: 800;
        text-wrap: balance;
        text-shadow: 0 2px 12px rgba(15, 23, 42, 0.68);
    }

    .hero-subtitle {
        max-width: 34rem;
        margin-bottom: 0.75rem;
        font-size: clamp(0.82rem, 3.2vw, 0.95rem) !important;
        line-height: 1.45;
        opacity: 0.95;
        text-shadow: 0 1px 8px rgba(15, 23, 42, 0.72);
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .hero-buttons .btn {
        width: min(240px, 100%);
        min-height: 42px;
        padding: 0.68rem 0.9rem;
        font-size: 0.86rem;
    }

    .slider-nav {
        bottom: 0.65rem;
        gap: 0.55rem;
        max-width: calc(100% - 2rem);
        flex-wrap: wrap;
        justify-content: center;
    }

    .dot {
        width: 9px;
        height: 9px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        background: rgba(255, 255, 255, 0.48);
        box-shadow: 0 1px 5px rgba(15, 23, 42, 0.22);
    }

    .dot.active {
        width: 24px;
        background: #ffffff;
        border-color: #ffffff;
    }
}

@media (max-width: 420px) {
    .hero {
        height: clamp(220px, 62vw, 300px);
    }

    .hero > .container {
        padding-bottom: 2.8rem;
    }
}

/* Polished mobile banners */
@media (max-width: 768px) {
    .hero {
        height: clamp(310px, 76vw, 440px);
        border-bottom: 1px solid #e5e7eb;
    }

    .hero-slide {
        background-size: cover;
        background-position: center center;
    }

    .hero-slide.no-overlay {
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #ffffff;
    }

    .hero-slide::after {
        background:
            linear-gradient(to top, rgba(8, 13, 25, 0.7) 0%, rgba(8, 13, 25, 0.38) 42%, rgba(8, 13, 25, 0.05) 78%),
            linear-gradient(to right, rgba(8, 13, 25, 0.38) 0%, rgba(8, 13, 25, 0.08) 60%);
    }

    .hero > .container {
        padding: 0 3.7rem 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-slide-content.active:has(.hero-title, .hero-subtitle, .hero-buttons) {
        width: min(100%, 290px);
        padding: 0.72rem 0.78rem;
        border-radius: 8px;
        background: linear-gradient(90deg, rgba(8, 13, 25, 0.48), rgba(8, 13, 25, 0.16));
        box-shadow: 0 12px 28px rgba(8, 13, 25, 0.16);
        backdrop-filter: blur(2px);
    }

    .hero-title {
        font-size: clamp(1.28rem, 5.7vw, 2rem) !important;
        line-height: 1.12;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: clamp(0.86rem, 3.4vw, 1rem) !important;
        line-height: 1.42;
        margin-bottom: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-buttons .btn {
        width: fit-content;
        max-width: 100%;
        min-width: 168px;
        min-height: 40px;
        border-radius: 6px;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
    }

    .hero-arrow {
        display: flex !important;
        width: 36px;
        height: 36px;
        top: 52%;
        border: 1px solid rgba(255, 255, 255, 0.72);
        background: rgba(15, 23, 42, 0.34);
        color: #fff;
        font-size: 0.82rem;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
        backdrop-filter: blur(8px);
    }

    .hero-arrow:hover {
        transform: translateY(-50%);
    }

    .hero-arrow:focus,
    .hero-arrow:focus-visible,
    .hero-arrow:active {
        background: var(--primary-blue);
        border-color: var(--primary-blue);
        transform: translateY(-50%);
    }

    .prev-hero {
        left: 0.8rem;
    }

    .next-hero {
        right: 0.8rem;
    }

    .slider-nav {
        bottom: 0.8rem;
    }

    .page-hero,
    .products-hero,
    .news-hero,
    .about-pro-hero,
    .contact-hero {
        min-height: 220px;
        padding: 3.2rem 1rem 2.8rem !important;
        display: flex;
        align-items: flex-end;
        overflow: hidden;
        background-position: center center !important;
        background-size: cover !important;
    }

    .contact-hero {
        border-radius: 10px;
    }

    .page-hero .container,
    .products-hero-inner,
    .news-hero .container,
    .about-pro-hero .container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-hero h1,
    .news-hero h1,
    .products-hero-inner h1,
    .about-pro-hero h1,
    .contact-hero h1 {
        font-size: clamp(1.65rem, 7vw, 2.25rem) !important;
        line-height: 1.12;
        margin-bottom: 0.65rem;
        text-wrap: balance;
        text-shadow: 0 2px 14px rgba(15, 23, 42, 0.45);
    }

    .page-hero p,
    .news-hero p,
    .products-hero-inner p,
    .about-pro-hero p,
    .contact-hero p {
        max-width: 100%;
        font-size: 0.98rem !important;
        line-height: 1.5;
        text-shadow: 0 1px 10px rgba(15, 23, 42, 0.42);
    }

    .page-hero-dynamic {
        min-height: 240px;
    }

    .products-hero {
        min-height: 0;
        padding: 0 !important;
        align-items: stretch;
    }

    .products-hero-backdrop {
        opacity: 0.5;
    }

    .products-hero.has-custom-image .products-hero-backdrop {
        opacity: 1;
    }

    .products-hero-surface {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.74) 42%, rgba(255, 255, 255, 0.86) 100%);
    }

    .products-hero.has-custom-image .products-hero-surface {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 44%, rgba(255, 255, 255, 0.18) 100%);
    }

    .products-hero-inner {
        display: grid;
        gap: 1.25rem;
        padding-top: 2.35rem;
        padding-right: 0;
        padding-bottom: 2.35rem;
        padding-left: 0;
    }

    .products-hero-copy {
        gap: 0.9rem;
    }

    .products-hero-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }

    .products-hero-inner h1 {
        font-size: clamp(1.9rem, 8.4vw, 2.6rem) !important;
        line-height: 1.08;
        margin-bottom: 0;
        text-shadow: none;
    }

    .products-hero-inner p {
        font-size: 0.96rem !important;
        line-height: 1.65;
        text-shadow: none;
    }

    .products-hero-cta {
        width: 100%;
        justify-content: center;
        padding: 0.88rem 1.1rem;
    }

    .products-hero-showcase {
        --hero-showcase-columns: 2;
        --hero-showcase-gap: 0.75rem;
    }

    .products-hero-card-link {
        border-radius: 18px;
    }

    .products-hero-card-body {
        gap: 0.45rem;
        padding: 0.82rem 0.82rem 0.95rem;
    }

    .products-hero-card-name {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .products-hero-card-price {
        font-size: 0.74rem;
    }

    .banner-switcher-section {
        padding: 1.25rem 0 1.5rem;
    }

    .banner-switcher-wrapper {
        padding: 0 1rem;
    }

    .banner-watermark {
        top: 0.75rem;
        font-size: clamp(2.2rem, 13vw, 4.8rem);
        letter-spacing: 0.12rem;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .banner-main {
        min-height: 230px;
        margin-bottom: 1.25rem;
        justify-content: center;
    }

    .banner-image-box {
        min-height: 230px;
        padding: 3.2rem 2.4rem 0;
    }

    .banner-image-box img {
        max-width: 100%;
        max-height: 245px;
    }

    .banner-product-code {
        margin-top: 0.65rem;
        font-size: 0.8rem;
    }

    .banner-arrow {
        position: absolute;
        top: 50%;
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.9);
        border-width: 1px;
        font-size: 0.9rem;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    }

    .banner-arrow.prev {
        left: 0.15rem;
    }

    .banner-arrow.next {
        right: 0.15rem;
    }

    .banner-specs-row {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.75rem;
        padding-top: 1rem;
        margin-bottom: 1rem;
    }

    .banner-spec-item {
        padding: 0.75rem 0.5rem;
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
    }

    .banner-spec-item .label {
        font-size: 0.78rem;
        margin-bottom: 0;
    }

    .banner-spec-item .value {
        font-size: 1rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .banner-actions {
        margin-bottom: 1rem;
    }

    .banner-dots {
        justify-content: center;
    }

    .service-banner-section {
        padding: 2.25rem 0;
    }

    .service-banner-content {
        gap: 1.5rem;
    }

    .service-title {
        font-size: clamp(1.55rem, 6vw, 2.1rem);
        margin-bottom: 0.85rem;
    }

    .service-description {
        font-size: 0.98rem;
        margin-bottom: 1.3rem;
    }

    .service-image-side img {
        max-height: 270px;
    }
}

@media (max-width: 420px) {
    .home-benefits {
        gap: 0.65rem;
    }

    .benefit-item {
        padding: 0.7rem 0.65rem;
        gap: 0.55rem;
        font-size: 0.85rem;
    }

    .benefit-icon {
        width: 16px;
        font-size: 0.92rem;
    }

    .hero {
        height: clamp(300px, 84vw, 380px);
    }

    .hero > .container {
        padding-left: 3.25rem;
        padding-right: 3.25rem;
        padding-bottom: 2.75rem;
    }

    .hero-slide-content.active:has(.hero-title, .hero-subtitle, .hero-buttons) {
        width: min(100%, 270px);
        padding: 0.65rem 0.7rem;
    }

    .hero-arrow {
        width: 32px;
        height: 32px;
    }

    .prev-hero {
        left: 0.55rem;
    }

    .next-hero {
        right: 0.55rem;
    }
}

/* Home responsive image safety: keep uploaded images visible on mobile. */
@media (max-width: 768px) {
    .hero {
        height: clamp(340px, 88vw, 500px);
        background: #ffffff;
    }

    .hero-slide {
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: #ffffff;
    }

    .hero-slide::after {
        background: linear-gradient(to top, rgba(8, 13, 25, 0.46) 0%, rgba(8, 13, 25, 0.18) 38%, rgba(8, 13, 25, 0) 76%);
    }

    .hero-slide.no-overlay::after {
        display: none;
    }

    .hero > .container {
        padding: 0 1rem 2.7rem;
    }

    .hero-slide-content.active:has(.hero-title, .hero-subtitle, .hero-buttons) {
        width: min(100%, 320px);
        background: rgba(8, 13, 25, 0.42);
    }

    .special-product-image {
        min-height: 0;
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        overflow: visible;
        background: transparent;
    }

    .special-product-image > img,
    .product-main-image-btn img,
    .product-img img,
    .home-product-row-img img {
        width: 100%;
        height: 100%;
        object-fit: contain !important;
        object-position: center center;
    }

    .special-product-image > img {
        height: auto;
        max-height: clamp(220px, 68vw, 420px);
        padding: 0.75rem;
        background: #f8fafc;
    }

    .product-main-image-btn {
        height: clamp(260px, 70vw, 380px);
        background: #f8fafc;
        border-radius: var(--radius-lg);
    }

    .product-main-image-btn img {
        max-height: none;
        padding: 0.75rem;
    }

    .special-product-image .video-container {
        flex: 0 0 auto;
        width: 100%;
        margin-top: 0;
    }

    .product-img {
        height: clamp(210px, 58vw, 280px);
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }

    .home-product-row-banner {
        aspect-ratio: 16 / 10;
        min-height: 0;
        border-radius: 12px;
        background: #f8fafc;
    }

    .home-product-row-banner img {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: contain !important;
        object-position: center center;
        padding: 0.25rem;
    }

    .home-product-row-img {
        height: clamp(160px, 44vw, 220px);
        background: #ffffff;
    }

    .banner-main {
        min-height: clamp(280px, 78vw, 430px);
        margin-bottom: 1rem;
    }

    .banner-image-box {
        min-height: clamp(260px, 74vw, 400px);
        padding: 3.5rem 2.8rem 0;
        background: radial-gradient(circle, #f8fafc 0%, #ffffff 70%);
    }

    .banner-image-box img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: clamp(250px, 72vw, 390px);
        object-fit: contain !important;
    }

    .service-banner-section {
        background-size: contain !important;
        background-position: center top !important;
        background-color: #0b2a68;
        padding: 0;
    }

    .service-banner-section::before {
        background:
            linear-gradient(to top, rgba(5, 23, 66, 0.92) 0%, rgba(5, 23, 66, 0.68) 44%, rgba(5, 23, 66, 0.18) 100%);
    }

    .service-banner-section .container {
        padding-top: clamp(260px, 64vw, 420px);
        padding-bottom: 2rem;
    }

    .service-banner-content {
        min-height: 0;
        justify-content: center;
        text-align: center;
    }

    .service-text-side {
        max-width: 100%;
        padding: 1rem;
        margin-left: 0;
    }

    .service-actions {
        justify-content: center;
    }

    .partner-logo {
        width: clamp(120px, 36vw, 170px);
        height: clamp(70px, 22vw, 96px);
    }

    .partner-logo img {
        max-width: 86%;
        max-height: 76%;
        object-fit: contain !important;
    }
}

@media (max-width: 420px) {
    .hero {
        height: clamp(320px, 96vw, 430px);
    }

    .hero > .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .banner-image-box {
        padding: 3.35rem 2.25rem 0;
    }

    .home-product-row-grid {
        gap: 1rem 0.65rem;
    }

    .home-product-row-img {
        height: clamp(148px, 48vw, 190px);
    }

    .product-img {
        height: clamp(200px, 66vw, 260px);
    }

    .products-hero-showcase {
        --hero-showcase-columns: 1;
    }

    .products-hero-kicker {
        padding: 0.4rem 0.72rem;
    }
}

@media (max-width: 768px) {
    .products-hero {
        padding-bottom: 0.25rem !important;
    }

    .products-hero .products-hero-inner.container {
        gap: 1rem;
        padding-top: 1.55rem;
        padding-right: 0.95rem;
        padding-bottom: 1.4rem;
        padding-left: 0.95rem;
    }

    .products-hero-copy {
        gap: 0.8rem;
        max-width: 100%;
        padding: 1.05rem 1rem 1rem;
        border-radius: 28px;
        background:
            linear-gradient(160deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.72) 100%);
        border: 1px solid rgba(148, 163, 184, 0.14);
        box-shadow: 0 18px 40px rgba(37, 99, 235, 0.08);
        backdrop-filter: blur(10px);
        position: relative;
        overflow: visible;
    }

    .products-hero-copy::before {
        content: "";
        position: absolute;
        inset: -24% auto auto 58%;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, rgba(96, 165, 250, 0.06) 45%, rgba(96, 165, 250, 0) 74%);
        pointer-events: none;
    }

    .products-hero-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.12em;
        padding: 0.42rem 0.78rem;
    }

    .products-hero-inner h1 {
        max-width: min(100%, 13ch);
        font-size: clamp(1.8rem, 8vw, 2.35rem) !important;
        line-height: 1.1;
        letter-spacing: 0;
        padding-top: 0.06em;
        padding-bottom: 0.14em;
        overflow: visible;
    }

    .products-hero-inner p {
        max-width: 30ch;
        font-size: 0.94rem !important;
        line-height: 1.56;
    }

    .products-hero-cta {
        min-height: 54px;
        border-radius: 18px;
    }

    .products-hero-showcase {
        gap: 0.85rem;
        margin-top: 0.05rem;
        position: relative;
        padding-right: 4.35rem;
        padding-top: 1.9rem;
    }

    .products-hero-showcase::before {
        content: "Sản phẩm mới";
        position: absolute;
        top: 0;
        left: 0.15rem;
        color: #0f172a;
        font-size: 0.9rem;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .products-hero-showcase::after {
        content: "Vuốt xem thêm";
        position: absolute;
        top: 0.08rem;
        right: 0.35rem;
        color: #64748b;
        font-size: 0.72rem;
        font-weight: 700;
    }

    .products-hero-marquee-row {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.35rem;
        padding-right: 4.35rem;
        margin-inline: 0;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .products-hero-marquee-row::-webkit-scrollbar {
        display: none;
    }

    .products-hero-marquee-row.is-reverse {
        display: none;
    }

    .products-hero-marquee-row::before,
    .products-hero-marquee-row::after {
        display: none;
    }

    .products-hero-marquee-track {
        width: max-content;
        min-width: max-content;
        gap: 0.85rem;
        padding-inline: 0;
        animation: none !important;
    }

    .products-hero-marquee-group {
        flex: 0 0 auto;
        min-width: max-content;
        display: flex;
        gap: 0.85rem;
    }

    .products-hero-marquee-group[aria-hidden="true"] {
        display: none;
    }

    .products-hero-card {
        flex: 0 0 min(46vw, 188px);
        width: min(46vw, 188px);
        scroll-snap-align: start;
    }

    .products-hero-card:first-child {
        flex-basis: min(46vw, 188px);
        width: min(46vw, 188px);
    }

    .products-hero-card-link {
        border-radius: 20px;
        border-color: rgba(96, 165, 250, 0.16);
        box-shadow: 0 14px 30px rgba(37, 99, 235, 0.1);
    }

    .products-hero-card-media {
        aspect-ratio: 1 / 0.78;
    }

    .products-hero-card:first-child .products-hero-card-media {
        aspect-ratio: 1 / 0.88;
    }

    .products-hero-card-body {
        gap: 0.46rem;
        padding: 0.86rem 0.9rem 1rem;
    }

    .products-hero-card-name {
        font-size: 0.82rem;
        line-height: 1.32;
    }

    .products-hero-card-price {
        font-size: 0.74rem;
    }
}

@media (max-width: 420px) {
    .products-hero .products-hero-inner.container {
        padding-top: 1.35rem;
        padding-right: 0.85rem;
        padding-bottom: 1.2rem;
        padding-left: 0.85rem;
    }

    .products-hero-inner h1 {
        max-width: min(100%, 12ch);
        font-size: clamp(1.82rem, 9.4vw, 2.25rem) !important;
        line-height: 1.1;
    }

    .products-hero-inner p {
        max-width: 28ch;
        font-size: 0.92rem !important;
    }

    .products-hero-card {
        flex-basis: min(62vw, 176px);
        width: min(62vw, 176px);
    }

    .products-hero-card:first-child {
        flex-basis: min(62vw, 176px);
        width: min(62vw, 176px);
    }
}

@media (max-width: 768px) and (max-height: 700px) {
    .products-hero .products-hero-inner.container {
        gap: 0.8rem;
        padding-top: 1.1rem;
        padding-bottom: 1rem;
    }

    .products-hero-inner h1 {
        max-width: min(100%, 13ch);
        font-size: clamp(1.72rem, 8vw, 2.12rem) !important;
        line-height: 1.08;
    }

    .products-hero-inner p {
        max-width: 27ch;
        font-size: 0.9rem !important;
        line-height: 1.48;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .products-hero-cta {
        min-height: 50px;
        padding: 0.8rem 1rem;
    }

    .products-hero-showcase {
        margin-top: 0.1rem;
        padding-top: 1.7rem;
    }

    .products-hero-card {
        flex-basis: min(46vw, 176px);
        width: min(46vw, 176px);
    }

    .products-hero-card-media {
        aspect-ratio: 1 / 0.76;
    }

    .products-hero-card-body {
        padding: 0.72rem 0.78rem 0.82rem;
    }
}

@media (max-width: 768px) {
    .products-hero-showcase {
        gap: 0.58rem;
        padding-top: 1.75rem;
        padding-inline: 0.15rem;
        width: 100%;
    }

    /* .products-hero-showcase::after {
        content: "2 hang chuyen dong";
        right: 0.15rem;
        font-size: 0.68rem;
    } */

    .products-hero-marquee-row {
        overflow: hidden;
        width: 100%;
        padding-right: 0;
        padding-bottom: 0;
        border-radius: 18px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .products-hero-marquee-row.is-reverse {
        display: block !important;
    }

    .products-hero-marquee-row::before,
    .products-hero-marquee-row::after {
        display: block !important;
        width: 1.15rem;
    }

    .products-hero-marquee-row::before {
        background: linear-gradient(90deg, rgba(245, 248, 255, 0.98), rgba(245, 248, 255, 0));
    }

    .products-hero-marquee-row::after {
        background: linear-gradient(270deg, rgba(245, 248, 255, 0.98), rgba(245, 248, 255, 0));
    }

    .products-hero-marquee-track {
        gap: 0;
        display: flex;
        will-change: transform;
        animation: none !important;
    }

    .products-hero-marquee-track.is-mobile-loop {
        animation-name: productsHeroMobileLoop !important;
        animation-duration: var(--hero-mobile-loop-duration, 26s) !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite !important;
        animation-fill-mode: both !important;
        transform: translate3d(var(--hero-mobile-loop-start, 0px), 0, 0) !important;
    }

    .products-hero-marquee-row.is-reverse .products-hero-marquee-track {
        animation-direction: reverse !important;
        animation-duration: 27.5s !important;
    }

    .products-hero-marquee-group,
    .products-hero-marquee-group[aria-hidden="true"] {
        flex: 0 0 auto;
        min-width: max-content;
        display: flex !important;
        gap: 0.58rem;
        padding-right: 0.58rem;
    }

    .products-hero-card,
    .products-hero-card:first-child {
        flex: 0 0 min(46vw, 176px);
        width: min(46vw, 176px);
    }

    .products-hero-card-link {
        border-radius: 16px;
        box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
    }

    .products-hero-card-media,
    .products-hero-card:first-child .products-hero-card-media {
        aspect-ratio: 1 / 0.78;
    }

    .products-hero-card-body {
        gap: 0.4rem;
        padding: 0.78rem 0.82rem 0.92rem;
    }

    .products-hero-card-name {
        font-size: 0.82rem;
        line-height: 1.32;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .products-hero-card-price {
        font-size: 0.74rem;
    }

    .products-hero-card-meta {
        gap: 0.3rem;
    }

    .products-hero-card-meta span {
        padding: 0.24rem 0.44rem;
        font-size: 0.68rem;
    }

    .products-hero-card-summary {
        font-size: 0.74rem;
        line-height: 1.38;
    }
}

@media (max-width: 420px) {
    .products-hero-card,
    .products-hero-card:first-child {
        flex-basis: min(62vw, 176px);
        width: min(62vw, 176px);
    }
}

@media (max-width: 768px) and (max-height: 700px) {
    .products-hero-showcase {
        padding-top: 1.6rem;
    }

    .products-hero-card,
    .products-hero-card:first-child {
        flex-basis: min(48vw, 168px);
        width: min(48vw, 168px);
    }

    .products-hero-card-media,
    .products-hero-card:first-child .products-hero-card-media {
        aspect-ratio: 1 / 0.76;
    }

    .products-hero-card-body {
        padding: 0.68rem 0.72rem 0.78rem;
    }
}

@media (max-width: 768px) {
    .news-featured-hero.page-hero {
        min-height: 0;
        display: block;
        padding: 0 !important;
        align-items: initial;
        background:
            linear-gradient(135deg, #f8fbff 0%, #ffffff 48%, #eef5ff 100%) !important;
    }

    .news-featured-hero .news-featured-hero-inner.container {
        display: grid;
        gap: 1.6rem;
        padding-top: 2rem;
        padding-right: 0.95rem;
        padding-bottom: 2.2rem;
        padding-left: 0.95rem;
    }

    .news-featured-hero.page-hero .news-featured-hero-copy h1 {
        margin-bottom: 0;
        text-shadow: none;
    }

    .news-featured-hero.page-hero .news-featured-hero-copy p {
        max-width: 100%;
        text-shadow: none;
    }
}
