/* ============================================================
   CSS VARIABLES & RESET
============================================================ */
* {
    --main-color: #EF3F4A;
    --second-color: #162650;
    --accent-green: #6ab04c;
    --link-color: #1e293b;
    --link-hover-color: #EF3F4A;
    --navy: #162650;
    --navy-light: #1e3468;
    --red: #EF3F4A;
    --red-soft: rgba(239, 63, 74, 0.08);
    --red-glow: rgba(239, 63, 74, 0.18);
    --surface: #f8fafc;
    --surface-alt: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", "Open Sans", sans-serif;
}

body {
    background-color: #f8fafc;
    overflow-x: hidden;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   LAYOUT
============================================================ */
main {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    flex: 1;
}

main > [data-ng-view] {
    width: 100%;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-panel {
    display: none;
}

.main-panel aside:last-child {
    position: static;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

div.main-panel > aside {
    margin: 15px 25px;
}

.contents {
    width: 100%;
    max-width: 900px;
    border-right: thin solid #ccc;
    border-left: thin solid #ccc;
    margin: 0 auto;
    background: #f8f9fa;
}

.side-panel {
    display: none;
}

/* ============================================================
   LOGO
============================================================ */
.main-logo {
    text-align: center;
}

.main-logo-name {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.main-logo-name img {
    max-width: 100%;
    height: auto;
}

.main-logo-name span {
    color: #000;
    font-size: 2.5rem;
    font-weight: bold;
    margin: auto 10px;
}

.main-logo p {
    margin-top: 10px;
    color: gray;
    font-size: 1rem;
}

/* ============================================================
   CONTACTS WIDGET
============================================================ */
.sidebar-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
    border: 1px solid rgba(72, 114, 132, 0.18);
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbfc 0%, #edf4f7 100%);
    box-shadow: 0 10px 24px rgba(72, 114, 132, 0.08);
    font-size: 1rem;
}

.sidebar-contacts-mail,
.sidebar-contacts-phone {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #244351;
}

.sidebar-contacts-mail::before,
.sidebar-contacts-phone::before {
    min-width: 42px;
    padding: 6px 0;
    border-radius: 999px;
    background: rgba(72, 114, 132, 0.12);
    color: var(--main-color);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: center;
}

.sidebar-contacts-mail::before { content: "MAIL"; }
.sidebar-contacts-phone::before { content: "TEL"; }

.sidebar-contacts-mail span,
.sidebar-contacts-phone span {
    display: block;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.sidebar-contacts-mail span {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.sidebar-contacts-phone span {
    white-space: pre-line;
    color: #3a5562;
}

/* ============================================================
   NAV MENU
============================================================ */
.menu-mosnervmenu-container ul {
    padding-left: 0;
    margin: 0;
}

.menu-mosnervmenu-container li {
    box-sizing: border-box;
    cursor: pointer;
    align-items: center;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    color: var(--link-color);
    font-size: 1rem;
    line-height: 1rem;
    padding-bottom: 15px;
    list-style-type: none;
}

.menu-mosnervmenu-container li:last-child { padding: 0; }

.menu-mosnervmenu-container li a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.menu-mosnervmenu-container li:hover,
.menu-mosnervmenu-container li a:hover {
    color: var(--second-color);
}

/* ============================================================
   CATALOG LINKS
============================================================ */
.category-one {
    color: var(--link-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px !important;
    display: flex;
}

.category-one a {
    color: inherit;
    text-decoration: none;
    background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important;
    padding-right: 18px !important;
    line-height: 1rem;
}

.category-one a:hover { color: var(--second-color); }

/* ============================================================
   LEGAL / COMPANY INFO
============================================================ */
.legal-information {
    color: var(--link-color);
    font-size: .8rem;
    text-align: left;
    padding: 0;
}

.sidebar-company-info {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.sidebar-company-info strong { font-weight: 600; }

/* ============================================================
   POST CARDS
============================================================ */
.post {
    width: 90%;
    min-height: 300px;
    margin: 20px auto;
    border-radius: 7.5px;
    display: flex;
    background: #fff;
    overflow: hidden;
}

.post:first-child { margin-top: 7.5px; }

.post .post-left {
    width: 50%;
    margin: auto;
    height: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex;
}

.post-left img,
.post-right-reverse img {
    max-width: 100%;
    height: auto;
    margin: auto;
    padding: 15px;
}

.post .post-right {
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    width: 50%;
    height: 100%;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 1;
}

.post .post-left-reverse {
    padding-top: 20px;
    padding-right: 20px;
    padding-left: 20px;
    width: 50%;
    height: 100%;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 1;
}

.post .post-right-reverse {
    margin: auto;
    width: 50%;
    height: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex;
}

.post-right,
.post-left-reverse {
    position: relative;
    padding-bottom: 50px;
}

.post-right-date,
.post-left-date {
    color: #777;
    font-size: .8125rem;
    font-weight: 500;
    line-height: .9375rem;
    margin: 0 0 8px;
}

.post-left-tags,
.post-right-tags {
    align-items: center;
    color: #5e6973;
    flex-wrap: wrap;
}

.post-right-title,
.post-left-title {
    font-weight: 500;
    margin: 0;
    word-break: break-word;
    line-height: 1;
    color: var(--main-color);
}

.post-right-title a,
.post-left-title a {
    color: #333;
    text-decoration: none;
}

.post-right-title a:hover,
.post-left-title a:hover {
    color: var(--second-color);
}

.post-left-content,
.post-right-content {
    padding-top: 16px;
    color: #111;
    font-size: 1rem;
    line-height: 1.56;
    overflow-wrap: break-word;
}

.post-left-content p,
.post-right-content p {
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 0;
    text-align: justify;
}

.post-left-date,
.post-left-title,
.post-left-more,
.post-left-content,
.post-left-tags {
    margin-left: auto;
}

.post-left-more {
    right: 0;
    padding-right: 20px;
}

.post-right-more,
.post-left-more {
    position: absolute;
    margin-bottom: 10px;
    bottom: 0;
}

.post-right-more a,
.post-left-more a {
    font-weight: bolder;
    color: var(--second-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
}

.post-right-more a:hover,
.post-left-more a:hover {
    color: #7aa1bd;
}

/* ============================================================
   SOCIAL ICONS
============================================================ */
.social-icons-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 15px;
    background: #eee;
}

.social-icon-link.fb { background: #e8f0fe; color: #1877F2; }
.social-icon-link.yt { background: #fde8e8; color: #f2182d; }
.social-icon-link:hover { opacity: 0.8; }

.icon-fb::before { content: "f"; font-weight: bold; font-size: 14px; }
.icon-yt::before { content: "\25B6"; font-size: 12px; }

/* ============================================================
   POPUP / MODAL
============================================================ */
body.modal-open {
    overflow: hidden;
}

.pum-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 20px;
    background: rgba(12, 26, 38, 0.62);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1999999999;
}

.pum-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pum-container {
    position: relative;
    width: min(680px, 100%);
    max-height: min(88vh, 760px);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcfd 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(8, 23, 34, 0.24);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s ease;
}

.pum-overlay.open .pum-container {
    transform: translateY(0) scale(1);
}

.pum-container:focus {
    outline: none;
}

.pum-header {
    padding: 20px 26px 14px;
    background: linear-gradient(135deg, #3f6e80 0%, #5d95ad 100%);
    color: #fff;
}

.pum-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pum-title {
    margin: 8px 0 0;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.25;
}

.pum-description {
    display: none;
}

.pum-content {
    padding: 18px 26px 24px;
    overflow-y: auto;
}

.pum-highlight {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 1px solid rgba(72, 114, 132, 0.16);
    border-radius: 12px;
    background: #f3f8fa;
    color: #31505d;
}

.pum-highlight strong {
    font-size: 0.88rem;
}

.pum-highlight span {
    font-size: 0.82rem;
    line-height: 1.5;
}

.pum-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pum-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pum-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pum-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.38);
    transform: scale(1.02);
}

/* Form styles */
.custom-lable-form {
    margin: 0;
    color: #1f3b47;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
}

.custom-input-form,
.custom-texarea-form,
.wpcf7-file {
    width: 100%;
    background: #fff;
    border: 1px solid #d2dde3;
    border-radius: 14px;
    color: #153240;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.custom-input-form {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.93rem;
}

.custom-input-form::placeholder,
.custom-texarea-form::placeholder {
    color: #8a9da7;
}

.custom-texarea-form {
    min-height: 90px;
    padding: 10px 14px;
    font-size: 0.93rem;
    line-height: 1.55;
    resize: vertical;
    max-width: 100%;
    min-width: 100%;
}

.custom-input-form:focus,
.custom-texarea-form:focus,
.wpcf7-file:focus {
    border-color: #82b3d9;
    outline: 0;
    box-shadow: 0 0 0 4px rgba(130, 179, 217, 0.18);
}

.wpcf7-file {
    padding: 13px 16px;
    border-style: dashed;
    background: #f9fcfd;
    font-size: 0.94rem;
    cursor: pointer;
}

.wpcf7-file::file-selector-button {
    margin-right: 12px;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: #e2edf2;
    color: #2f5566;
    font-weight: 700;
    cursor: pointer;
}

.mr-b-50 { margin-left: 0; }

.pum-field-help {
    display: none;
}

.custom-button-form {
    min-width: 160px;
    width: auto;
    padding: 0 24px;
    height: 44px;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(135deg, #162650 0%, #2a4a8a 100%);
    color: #fff;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 24px rgba(72, 114, 132, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.custom-button-form:hover:not(:disabled) {
    background: linear-gradient(135deg, #162650 0%, #2a4a8a 100%);
    box-shadow: 0 16px 28px rgba(72, 114, 132, 0.26);
    transform: translateY(-1px);
}

.custom-button-form:disabled {
    opacity: 0.72;
    cursor: wait;
}

.custom-checkbox-form {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #35525f;
    font-size: 0.92rem;
    line-height: 1.6;
}

.custom-checkbox-form input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: var(--main-color);
}

.custom-checkbox-form span {
    flex: 1;
}

.custom-checkbox-form a {
    color: #3f6e80;
    font-weight: 700;
    text-decoration: none;
}

.custom-checkbox-form a:hover {
    text-decoration: underline;
}

.pum-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 2px;
}

.pum-submit-note {
    flex: 1;
    margin: 0;
    color: #5e7682;
    font-size: 0.86rem;
    line-height: 1.6;
    text-align: right;
}

.wpcf7-response-output {
    display: none;
    margin: 4px 0 0;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.wpcf7-response-output.is-success {
    display: block;
    background: #edf7f0;
    border-color: #b8ddc2;
    color: #1f6b35;
}

.wpcf7-response-output.is-error {
    display: block;
    background: #fff2f2;
    border-color: #f2b8b8;
    color: #b23b3b;
}

/* ============================================================
   SITE HEADER
============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(22,38,80,0.07);
    transition: box-shadow 0.25s ease, min-height 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 24px rgba(22,38,80,0.10);
}

.site-header.is-scrolled .header-inner {
    min-height: 58px;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 0 28px;
    min-height: 68px;
    transition: min-height 0.25s ease;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.header-logo-text {
    color: var(--navy);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

/* Base nav link */
.header-nav > a,
.header-nav .nav-intro > a,
.header-nav .nav-products > a {
    color: #4a5568;
    text-decoration: none;
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.18s ease, background 0.18s ease;
    position: relative;
    white-space: nowrap;
}

.header-nav > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--main-color);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.header-nav > a:hover {
    color: var(--navy);
    background: rgba(22,38,80,0.05);
}

.header-nav > a.active {
    color: var(--main-color);
    font-weight: 600;
    background: transparent;
}

.header-nav > a.active::after {
    transform: scaleX(1);
}

/* ── Header actions (Zone 3) ─────────────────────── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.header-actions-sep {
    width: 1px;
    height: 22px;
    background: rgba(22,38,80,0.12);
    margin: 0 4px;
    flex-shrink: 0;
}

/* Support ghost button */
.nav-support-btn {
    color: #4a5568;
    text-decoration: none;
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1.5px solid rgba(22,38,80,0.16);
    transition: color 0.18s, border-color 0.18s, background 0.18s;
    white-space: nowrap;
}

.nav-support-btn:hover {
    color: var(--navy);
    border-color: rgba(22,38,80,0.35);
    background: rgba(22,38,80,0.04);
}

/* Quote CTA button */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--main-color);
    box-shadow: 0 2px 10px rgba(239,63,74,0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(239,63,74,0.4);
    background: #d63140;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0d1b3e;
    font-weight: 500;
    font-size: 0.95rem;
}

.header-phone svg { width: 18px; height: 18px; }

.header-cta {
    background: var(--main-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mobile header menu button */
.mobile-header-controls {
    display: none;
    align-items: center;
    gap: 4px;
}

.mobile-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #0d1b3e;
    text-decoration: none;
    transition: background 0.2s;
}

.mobile-cart-btn:hover {
    background: rgba(13,27,62,0.08);
}

.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: rgba(13,27,62,0.06);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0d1b3e;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}

/* Animate to X when open */
.mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-subgroup {
    margin: -4px 0 4px;
    padding: 0 0 0 14px;
    border-left: 2px solid rgba(96, 165, 250, 0.24);
}

.mobile-nav-sublink {
    display: block;
    padding: 8px 0 8px 10px;
    color: #4b6584;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
}

.mobile-nav-sublink:hover {
    color: #1d4ed8;
}

/* ============================================================
   PRODUCTS MEGA DROPDOWN
============================================================ */
.nav-intro {
    position: relative;
}

.nav-intro::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    height: 14px;
    pointer-events: auto;
}

.nav-products {
    position: relative;
}

.nav-intro > a,
.nav-products > a {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

/* Active underline for dropdown triggers */
.nav-intro > a.active,
.nav-products > a.active {
    color: var(--main-color);
    font-weight: 600;
}

.nav-intro > a.active::after,
.nav-products > a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--main-color);
    border-radius: 2px;
}

.nav-intro > a .nav-arrow,
.nav-products > a .nav-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.nav-intro:hover > a .nav-arrow,
.nav-intro.open > a .nav-arrow,
.nav-products:hover > a .nav-arrow,
.nav-products.open > a .nav-arrow {
    transform: rotate(180deg);
}

.intro-dropdown {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid rgba(22,38,80,0.08);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(22,38,80,0.10), 0 2px 8px rgba(22,38,80,0.06);
    padding: 8px;
    z-index: 2000;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    transform: translateY(-8px);
    transition-delay: 0.1s;
}

.nav-intro:hover .intro-dropdown,
.nav-intro.open .intro-dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.intro-dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.intro-dropdown a:hover {
    background: rgba(22,38,80,0.05);
    color: var(--navy);
}

/* Bridge vô hình lấp khoảng hở giữa trigger và mega-dropdown,
   giữ :hover và mouseleave liên tục khi di chuột xuống */
.nav-products::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 12px; /* >= khoảng hở top: calc(100% + 8px) */
    pointer-events: auto;
}

.mega-dropdown {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #fff;
    border: 1px solid rgba(22,38,80,0.08);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(22,38,80,0.11), 0 2px 10px rgba(22,38,80,0.06);
    padding: 16px;
    min-width: 700px;
    z-index: 2000;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transition-delay: 0.1s;
}

.mega-layout {
    display: flex;
    align-items: stretch;
    gap: 18px;
}

.mega-main {
    flex: 1;
    min-width: 0;
}

.mega-dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255,255,255,0.98);
}

.nav-products:hover .mega-dropdown,
.nav-products.open .mega-dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s; /* mở ngay, không delay */
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 12px;
}

.mega-side {
    width: 190px;
    padding-left: 18px;
    border-left: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.mega-dropdown .mega-item {
    display: block;
    color: #4a5568;
    text-decoration: none;
    padding: 10px 13px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.mega-dropdown .mega-item:hover {
    background: rgba(22,38,80,0.05);
    color: var(--navy);
}

.mega-dropdown .mega-item.active {
    background: rgba(239,63,74,0.07);
    color: var(--main-color);
    font-weight: 600;
}

.mega-dropdown .mega-item.disabled {
    color: #94a3b8;
    cursor: default;
    pointer-events: none;
}

.mega-dropdown .mega-item--muted {
    color: #64748b;
}

.mega-dropdown .mega-item--muted:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.mega-dropdown .mega-item--feature {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--navy);
    background: #f8fbff;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.mega-divider {
    border: none;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    margin: 10px 0 8px;
}

.mega-extra {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.mega-extra a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid rgba(22,38,80,0.1);
    background: rgba(22,38,80,0.03);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.mega-extra a:hover {
    background: rgba(22,38,80,0.07);
    color: var(--navy);
    border-color: rgba(22,38,80,0.2);
}

.page-shell {
    padding: 120px 24px 80px;
    min-height: 60vh;
}

.page-shell__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.accessories-page h1 {
    margin: 0;
    font-size: 2rem;
    color: #1a2a33;
}

/* Mobile nav dropdown */
.mobile-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 8px 16px 20px;
    box-shadow: 0 12px 32px rgba(22,38,80,0.12);
    border-top: 1px solid rgba(22,38,80,0.07);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    z-index: 999;
}

.mobile-nav-dropdown.open {
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    animation: mobileNavIn 0.22s ease forwards;
}

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

.mobile-nav-dropdown a {
    display: flex;
    align-items: center;
    color: #1a2a33;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.97rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
    border-bottom: 1px solid transparent;
}

.mobile-nav-dropdown a:hover {
    background: rgba(72, 114, 132, 0.08);
    color: var(--main-color);
}

.mobile-nav-dropdown a:last-child {
    border-bottom: none;
}

/* Group divider between nav links and action links */
.mobile-nav-dropdown .mobile-nav-divider {
    height: 1px;
    background: #eee;
    margin: 8px 14px;
}

.mobile-nav-dropdown a.active {
    background: rgba(72, 114, 132, 0.1);
    color: var(--main-color);
    font-weight: 600;
}

.mobile-nav-dropdown a.mobile-nav-action {
    color: var(--main-color);
    font-weight: 600;
}

/* ============================================================
   SITE FOOTER
============================================================ */
.site-footer {
    background: linear-gradient(180deg, #111d3a 0%, #0a1228 100%);
    color: #fff;
    padding: 60px 0 0;
    margin-top: 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: #fff;
    font-family: "Manrope", "Open Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 16px;
    text-align: justify;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #0d1b3e;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--main-color);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover { color: #fff; }

.footer-links a::before {
    content: "\2192";
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--main-color);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================================
   HAMBURGER BUTTON & DRAWER (mobile)
============================================================ */
.hamburger-btn {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2001;
    background: var(--main-color);
    border: none;
    border-radius: 6px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1999;
}

.drawer-overlay.open { display: block; }

.drawer-close-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--navy);
    line-height: 1;
    z-index: 10;
    padding: 4px 8px;
}

/* ============================================================
   ARTICLE PAGE STYLES
============================================================ */
.article-wrap {
    background: #fff;
    margin: 0;
    min-height: calc(100vh - 0px);
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    font-size: 13px;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid #eee;
    width: 100%;
    background: #f8fafb;
    transition: background 0.15s;
}

.article-back:hover {
    background: #eef3f5;
    color: #3d6271;
}

.article-header {
    background: linear-gradient(135deg, #0f1d42 0%, #162650 60%, #1e3468 100%);
    padding: 28px 32px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.article-badge {
    background: rgba(255,255,255,0.22);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.article-date-top {
    color: rgba(255,255,255,0.80);
    font-size: 13px;
}

.article-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    word-break: break-word;
}

.article-body-wrap {
    padding: 32px 40px 48px;
}

.article-cover {
    width: calc(100% + 80px);
    margin: -32px -40px 28px;
    display: none;
}

.article-cover img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

.article-author-bar {
    display: none;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e9ecef;
}

.nd-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nd-author-info { line-height: 1.3; }

.nd-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.nd-author-date {
    font-size: 12px;
    color: #888;
}

.nd-article {
    font-size: 15.5px;
    line-height: 1.85;
    color: #2d2d2d;
}

.nd-article img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 12px 0;
}

.nd-article h1,
.nd-article h2,
.nd-article h3 {
    color: #3d6b7d;
    margin: 24px 0 10px;
    line-height: 1.3;
}

.nd-article p { margin-bottom: 14px; }

.nd-article a {
    color: var(--navy);
    text-decoration: underline;
}

.nd-article table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0;
}

.nd-article table td,
.nd-article table th {
    border: 1px solid #dde;
    padding: 8px 12px;
    font-size: 14px;
}

.nd-article table th {
    background: #f0f4f6;
    font-weight: 600;
}

.nd-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #999;
    gap: 14px;
}

.nd-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: ndSpin 0.8s linear infinite;
}

@keyframes ndSpin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   PRODUCTS — HERO SECTION
============================================================ */
.products-hero {
    background:
        radial-gradient(circle at top center, rgba(59, 130, 246, 0.28), transparent 62%),
        radial-gradient(circle at 15% 20%, rgba(125, 211, 252, 0.22), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    color: var(--text-primary);
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.products-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 50% -10%, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0) 46%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231d4ed8' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.products-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.products-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #16315f;
}

.products-hero p {
    font-size: 1.15rem;
    color: #16315f;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.product-detail-hero {
    max-width: 1240px;
}

.product-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.product-detail-back:hover {
    background: rgba(255,255,255,0.18);
}

.product-detail-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.product-detail-btn-light {
    color: #1d4f91;
    border-color: rgba(59, 130, 246, 0.26);
    background: rgba(255,255,255,0.82);
}

.product-detail-btn-light:hover {
    background: #dbeafe;
    color: #143b75;
    border-color: rgba(59, 130, 246, 0.34);
}

.product-detail-shell {
    padding-top: 48px;
    max-width: none;
    width: 100%;
    padding-left: clamp(24px, 4vw, 56px);
    padding-right: clamp(24px, 4vw, 56px);
}

.product-detail-shell .accessories-grid {
    max-width: none;
    padding: 0;
}

.product-detail-spotlight {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    width: 100%;
    margin-top: 36px;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.08) 100%);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 18px 44px rgba(7, 24, 32, 0.16);
    backdrop-filter: blur(10px);
}

.product-detail-spotlight-media {
    min-height: 320px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    overflow: hidden;
}

.product-detail-spotlight-media img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.product-detail-spotlight-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.72);
}

.product-detail-spotlight-placeholder p {
    margin-top: 14px;
    font-size: 0.92rem;
}

.product-detail-spotlight-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.product-detail-spotlight-body .product-card-category {
    color: rgba(255,255,255,0.78);
    margin-bottom: 10px;
}

.product-detail-spotlight-body h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 14px;
}

.product-detail-spotlight-body .product-card-subtitle {
    color: rgba(255,255,255,0.82);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-detail-spotlight-body .product-card-subtitle > *:first-child {
    margin-top: 0;
}

.product-detail-spotlight-body .product-card-subtitle > *:last-child {
    margin-bottom: 0;
}

.product-detail-spotlight-body .product-card-subtitle p,
.product-detail-spotlight-body .product-card-subtitle ul,
.product-detail-spotlight-body .product-card-subtitle ol {
    margin: 0 0 12px;
}

.product-detail-spotlight-body .product-card-subtitle ul,
.product-detail-spotlight-body .product-card-subtitle ol {
    padding-left: 20px;
}

.product-detail-spotlight-body .product-card-subtitle li + li {
    margin-top: 6px;
}

.product-detail-spotlight-body .product-card-subtitle a {
    color: #fff;
    text-decoration: underline;
}

.product-detail-spotlight-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.product-detail-spotlight-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.86);
    line-height: 1.65;
}

.product-detail-spotlight-features li::before {
    content: "";
    width: 7px;
    height: 7px;
    min-width: 7px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--accent-green);
}

.product-detail-desc-block {
    margin-top: 0;
    margin-bottom: 28px;
    padding: 0 0 36px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(36, 56, 71, 0.12);
    border-radius: 0;
    box-shadow: none;
}

.product-detail-desc-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.product-detail-desc-title {
    margin: 0;
    color: #233b56;
    font-size: clamp(2.1rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.product-detail-desc-accent {
    display: none;
}

.product-detail-desc-columns {
    column-count: 2;
    column-gap: 72px;
}

.product-detail-desc-columns--single {
    column-count: 1;
}

.product-detail-desc-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 32px;
    break-inside: avoid;
}

.product-detail-desc-item:last-child {
    margin-bottom: 0;
}

.product-detail-desc-item-title {
    margin: 0 0 14px;
    color: #233b56;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.45;
}

.product-detail-desc-inner .product-detail-description {
    margin: 0;
    color: #3f5872;
    line-height: 1.8;
    font-size: 1rem;
}

.product-detail-description {
    margin-top: 16px;
    color: #666;
    line-height: 1.75;
}

.product-detail-richtext {
    color: #3f5872;
    font-size: 1rem;
    line-height: 1.8;
}

.product-detail-richtext > *:first-child {
    margin-top: 0;
}

.product-detail-richtext > *:last-child {
    margin-bottom: 0;
}

.product-detail-richtext p,
.product-detail-richtext ul,
.product-detail-richtext ol,
.product-detail-richtext blockquote,
.product-detail-richtext table {
    margin: 0 0 18px;
}

.product-detail-richtext ul,
.product-detail-richtext ol {
    padding-left: 24px;
}

.product-detail-richtext li + li {
    margin-top: 8px;
}

.product-detail-richtext h2,
.product-detail-richtext h3,
.product-detail-richtext h4 {
    color: #233b56;
    margin: 28px 0 14px;
    font-weight: 800;
    line-height: 1.35;
}

.product-detail-richtext a {
    color: var(--main-color);
    text-decoration: underline;
}

.product-detail-richtext strong {
    color: #233b56;
}

.product-detail-richtext blockquote {
    padding: 16px 20px;
    background: #f5f9fb;
    border-left: 4px solid var(--main-color);
    border-radius: 12px;
}

.product-detail-richtext table {
    width: 100%;
    border-collapse: collapse;
}

.product-detail-richtext th,
.product-detail-richtext td {
    border: 1px solid rgba(35, 59, 86, 0.12);
    padding: 10px 12px;
    text-align: left;
}

.product-detail-section {
    margin-top: 48px;
}

.product-detail-related-card {
    text-decoration: none;
}

.product-detail-related-card .btn-detail {
    pointer-events: none;
}

/* ── Product Detail Tab Nav ── */
.product-tab-nav {
    background: #243847;
    position: sticky;
    top: var(--header-h, 68px);
    z-index: 998;
    border-bottom: none;
}

.product-tab-nav-inner {
    max-width: none;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    padding: 0 clamp(24px, 4vw, 56px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.product-tab-nav-inner::-webkit-scrollbar { display: none; }

.product-tab-nav-inner a {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: none;
    transition: color 0.2s;
    cursor: pointer;
    position: relative;
}

.product-tab-nav-inner a:hover {
    color: #fff;
}

.product-tab-nav-inner a.active {
    color: #4da8da;
}

.hero-badge {
    display: inline-block;
    color: #2455a6;
    background: rgba(255,255,255,0.76);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.08);
}

/* ============================================================
   PRODUCTS — CATEGORY NAV
============================================================ */
.category-nav {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 70px;
    z-index: 999;
}

.category-nav-inner {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-nav-inner::-webkit-scrollbar { height: 0; }

.category-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.category-nav a:hover {
    color: var(--main-color);
    border-bottom-color: var(--main-color);
}

.category-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   PRODUCTS — SECTIONS
============================================================ */
.category-nav-inner--products {
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 12px;
    border-top: 1px solid #f1f1f1;
}

.category-nav-label {
    color: #1a2a33;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-right: 4px;
}

.category-nav-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    border: 1px solid rgba(0, 123, 138, 0.15);
    background: #f5fafb;
    color: #275a61;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.category-nav-chip:hover {
    color: #fff;
    background: var(--main-color);
    border-color: var(--main-color);
}

.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2a33;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-label {
    display: inline-block;
    background: var(--main-color);
    color: #fff;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ============================================================
   PRODUCTS — GRID & CARDS
============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.product-card-image {
    height: 260px;
    background: #fff;
    border-bottom: 1px solid rgba(22, 38, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

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

.product-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-green);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.product-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2a33;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-card-subtitle {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 16px;
    font-weight: 400;
}

.product-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.product-card-features li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.product-card-features li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    margin-top: 7px;
}

.product-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-quote:hover {
    background: var(--link-hover-color);
    transform: translateY(-1px);
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: transparent;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-detail:hover {
    background: var(--main-color);
    color: #fff;
}

/* ============================================================
   PRODUCTS — FEATURED
============================================================ */
.product-detail-btn-light {
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}

.product-detail-btn-light:hover {
    background: #fff;
    color: #1d2f3b;
    border-color: #fff;
}

.featured-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 48px;
}

.featured-product-image {
    background: linear-gradient(180deg, #f8f9fa 0%, #eef1f3 100%);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.featured-product-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.featured-product-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2a33;
    margin-bottom: 8px;
}

.featured-product-info .product-card-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
}

.featured-product-info .product-card-features li { font-size: 0.92rem; }

.product-delivery {
    background: linear-gradient(180deg, #243847 0%, #1d2f3b 100%);
    border-radius: 0;
    padding: 36px;
    margin-bottom: 36px;
    box-shadow: none;
}

.product-delivery-head {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) 1.15fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
}

.product-delivery-kicker {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 6px 12px;
    color: rgba(255,255,255,0.74);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.product-delivery-head h3 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.product-delivery-head p {
    margin: 0;
    background: rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 14px 18px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

.product-delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-delivery-table {
    background: rgba(255,255,255,0.98);
    border-radius: 18px;
    overflow: hidden;
}

.product-delivery-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid #e8eef2;
}

.product-delivery-table .product-delivery-row:last-child {
    border-bottom: none;
}

.product-delivery-name {
    color: #30424f;
    font-size: 0.9rem;
    line-height: 1.6;
}

.product-delivery-qty {
    color: #1d2f3b;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-delivery-actions {
    margin-top: 24px;
    text-align: center;
}

.product-delivery-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.26);
    background: transparent;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-delivery-toggle:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.44);
}

.feature-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.feature-icon-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f7fa;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--main-color);
}

.feature-icon-item svg { width: 20px; height: 20px; }

/* ============================================================
   PRODUCTS — SOLUTIONS OVERVIEW
============================================================ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.solution-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.solution-card:hover {
    border-color: var(--main-color);
    transform: translateY(-2px);
}

.solution-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e8f4f8, #d1e9f0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.solution-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--main-color);
}

.solution-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2a33;
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* ============================================================
   PRODUCTS — CTA SECTION
============================================================ */
.cta-section {
    background: linear-gradient(135deg, #1a2a33, #2d4a56);
    padding: 60px 24px;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-btn-primary:hover {
    background: #5a9a40;
    transform: translateY(-2px);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* ============================================================
   PRODUCTS — EEG OVERVIEW CARD GRID
============================================================ */
.eeg-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.eeg-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: all 0.25s ease;
    border: 2px solid rgba(22, 38, 80, 0.12);
    display: flex;
    flex-direction: column;
}

.eeg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    border-color: var(--main-color);
}

.eeg-card-img {
    height: 190px;
    background: #fff;
    border-bottom: 1px solid rgba(22, 38, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.eeg-card-img img {
    mix-blend-mode: darken;
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.eeg-card-img--placeholder {
    opacity: 0.6;
}

.eeg-card-body {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eeg-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2a33;
    line-height: 1.3;
}

.eeg-card-desc {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.5;
}

.products-page {
    position: relative;
    width: 100%;
    background:
        radial-gradient(circle at top left, rgba(72, 114, 132, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(106, 176, 76, 0.08), transparent 24%),
        linear-gradient(180deg, #f4f8fa 0%, #eef3f6 320px, #f7f9fb 320px, #f7f9fb 100%);
}

.products-page::before,
.products-page::after {
    content: "";
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(10px);
    opacity: 0.55;
}

.products-page::before {
    top: 180px;
    left: -140px;
    background: radial-gradient(circle, rgba(72, 114, 132, 0.16), transparent 68%);
}

.products-page::after {
    top: 420px;
    right: -140px;
    background: radial-gradient(circle, rgba(106, 176, 76, 0.14), transparent 68%);
}

.products-page > * {
    position: relative;
    z-index: 1;
}

.products-page .products-hero {
    padding: 88px 32px 44px;
}

.products-page .products-hero-inner {
    max-width: 1480px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
    gap: 32px;
    align-items: end;
}

.products-page .products-hero-copy {
    text-align: left;
    max-width: 820px;
}

.products-page .products-hero p {
    margin: 0;
    max-width: 720px;
}

.products-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.products-hero-panel {
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(247,250,255,0.88) 100%);
    border: 1px solid rgba(148,163,184,0.16);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.10);
    backdrop-filter: blur(10px);
}

.products-hero-panel-head h2 {
    font-size: 1.2rem;
    line-height: 1.45;
    margin: 10px 0 10px;
}

.products-hero-panel-head p {
    font-size: 0.95rem;
    color: #5e7596;
    line-height: 1.7;
}

.products-hero-panel-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.10);
    color: #2455a6;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.products-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.products-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(96,165,250,0.16);
}

.products-hero-stat strong {
    color: #16315f;
    font-size: 1.55rem;
    line-height: 1;
}

.products-hero-stat span {
    color: #6881a3;
    font-size: 0.8rem;
    line-height: 1.4;
}

.products-hero-mini-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.products-hero-mini-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    border: 1px solid rgba(96,165,250,0.18);
    background: rgba(255,255,255,0.85);
    color: #1d4f91;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.products-hero-mini-chip:hover {
    background: rgba(219, 234, 254, 0.82);
    transform: translateY(-1px);
}

.products-page .category-nav {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(18, 49, 60, 0.08);
    box-shadow: 0 10px 30px rgba(20, 40, 49, 0.06);
}

.products-page .category-nav-inner {
    max-width: 1480px;
    padding-left: 32px;
    padding-right: 32px;
}

.category-nav-divider {
    width: 1px;
    height: 28px;
    background: #ddd;
    margin: 0 4px;
    display: inline-block;
    vertical-align: middle;
}

.products-page .products-section {
    max-width: 1480px;
    padding: 72px 32px;
}

.products-page .products-section--overview {
    padding-top: 56px;
}

.section-header--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 28px;
    align-items: end;
    text-align: left;
}

.section-header--split .section-header-copy p {
    margin: 0;
    max-width: 760px;
}

.section-header-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.section-meta-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 112px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7f9 100%);
    border: 1px solid rgba(72, 114, 132, 0.12);
    box-shadow: 0 12px 28px rgba(34, 65, 79, 0.08);
}

.section-meta-card span {
    color: #617480;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.5;
}

.section-meta-card strong {
    color: #153544;
    font-size: 1.35rem;
    line-height: 1.2;
}

.products-page .eeg-overview-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    justify-content: start;
}

.products-page .eeg-card {
    border-radius: 20px;
    border-color: rgba(72, 114, 132, 0.08);
    box-shadow: 0 18px 42px rgba(28, 52, 64, 0.08);
}

.eeg-card-link {
    text-decoration: none;
    color: inherit;
}

.products-page .eeg-card-img {
    height: 210px;
}

.products-page .eeg-card-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.products-page .eeg-card-name {
    font-size: 1.05rem;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.products-page .eeg-card-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    min-height: calc(1.5em * 3);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    color: #5e707a;
}

.eeg-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.eeg-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(72, 114, 132, 0.1);
    color: var(--main-color);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.eeg-card-arrow {
    color: #2d6170;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.products-page .featured-product,
.products-page .product-delivery,
.products-page .product-gallery-item,
.products-page .accessory-card {
    box-shadow: 0 18px 40px rgba(24, 45, 58, 0.08);
}

.products-page .accessories-grid {
    max-width: none;
    padding: 0;
}

.products-state {
    text-align: center;
    padding: 72px 20px;
}

.products-state-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(72, 114, 132, 0.12);
    color: #58717d;
    font-size: 0.98rem;
    box-shadow: 0 10px 24px rgba(27, 49, 61, 0.06);
}

.products-empty {
    text-align: center;
    padding: 90px 20px;
    color: #768791;
}

.products-empty p {
    margin-top: 16px;
}

.products-page-cta {
    margin-top: 0;
}

/* ============================================================
   CATALOGUE DOWNLOAD BANNER
============================================================ */
.catalogue-banner {
    position: relative;
    background: var(--navy);
    overflow: hidden;
    padding: 72px 24px;
    margin: 0;
}

.catalogue-banner-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.catalogue-banner-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.catalogue-banner-bg::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239,63,74,0.18) 0%, transparent 70%);
}

.catalogue-banner-bg::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,52,104,0.6) 0%, transparent 70%);
}

.catalogue-banner-inner {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: center;
}

/* — Document visual — */
.catalogue-banner-doc {
    position: relative;
    display: flex;
    justify-content: center;
}

.catalogue-doc-card {
    width: 180px;
    background: linear-gradient(155deg, #1e3468 0%, #162650 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 20px 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow:
        0 0 0 1px rgba(239,63,74,0.2),
        0 32px 64px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transform: perspective(800px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.catalogue-banner-doc:hover .catalogue-doc-card {
    transform: perspective(800px) rotateY(-3deg) rotateX(1deg) translateY(-4px);
}

.catalogue-doc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.catalogue-doc-badge {
    background: var(--main-color);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 3px;
}

.catalogue-doc-year {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

.catalogue-doc-icon {
    display: flex;
    justify-content: center;
    opacity: 0.7;
}

.catalogue-doc-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.catalogue-doc-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.catalogue-doc-lines div {
    height: 2px;
    border-radius: 2px;
    background: rgba(255,255,255,0.1);
}

.catalogue-doc-lines div:nth-child(1) { width: 100%; }
.catalogue-doc-lines div:nth-child(2) { width: 70%; }
.catalogue-doc-lines div:nth-child(3) { width: 85%; }

.catalogue-doc-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
    filter: blur(6px);
}

/* — Body copy — */
.catalogue-banner-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.catalogue-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--main-color);
}

.catalogue-banner-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--main-color);
    border-radius: 2px;
}

.catalogue-banner-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.catalogue-banner-desc {
    font-size: 0.98rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    max-width: 480px;
    margin: 0;
}

.catalogue-banner-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.catalogue-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

.catalogue-meta-item svg {
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}

/* — Download button — */
.catalogue-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--main-color);
    color: #fff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 8px;
    align-self: flex-start;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(239,63,74,0.35);
    position: relative;
    overflow: hidden;
}

.catalogue-download-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.catalogue-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(239,63,74,0.45);
    color: #fff;
}

.catalogue-download-btn:hover::before {
    opacity: 1;
}

.catalogue-download-btn:hover .catalogue-download-btn-icon svg {
    transform: translateY(2px);
}

.catalogue-download-btn-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.catalogue-download-btn-icon svg {
    transition: transform 0.25s ease;
}

.catalogue-download-btn-arrow {
    display: flex;
    align-items: center;
    margin-left: auto;
    opacity: 0.7;
}

@media (max-width: 860px) {
    .catalogue-banner-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .catalogue-banner-doc {
        order: -1;
    }

    .catalogue-doc-card {
        transform: perspective(800px) rotateY(0deg) rotateX(0deg);
    }

    .catalogue-banner-tag {
        justify-content: center;
    }

    .catalogue-banner-tag::before {
        display: none;
    }

    .catalogue-banner-desc {
        max-width: 100%;
    }

    .catalogue-banner-meta {
        justify-content: center;
    }

    .catalogue-download-btn {
        align-self: center;
    }
}

@media (max-width: 1200px) {
    .products-page .products-hero-inner,
    .section-header--split {
        grid-template-columns: 1fr;
    }

    .section-header-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .product-delivery-head {
        grid-template-columns: 1fr;
    }

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

    .products-page .products-hero,
    .products-page .products-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .products-page .category-nav-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .product-detail-shell,
    .product-tab-nav-inner {
        padding-left: 32px;
        padding-right: 32px;
    }

    .product-detail-desc-block {
        padding-bottom: 32px;
    }

    .product-detail-desc-columns {
        column-gap: 44px;
    }
}

@media (max-width: 768px) {
    .products-page::before,
    .products-page::after {
        display: none;
    }

    .products-page .products-hero {
        padding: 52px 16px 36px;
    }

    .products-page .products-hero-inner {
        gap: 20px;
    }

    .products-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .products-hero-actions .btn-quote,
    .products-hero-actions .btn-detail {
        width: 100%;
        justify-content: center;
    }

    .products-hero-panel {
        padding: 18px;
        border-radius: 20px;
    }

    .products-hero-stats,
    .section-header-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-page .category-nav-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .products-page .products-section {
        padding: 44px 16px;
    }

    .eeg-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .products-page .eeg-overview-grid {
        grid-template-columns: 1fr;
    }

    .eeg-card-img { height: 140px; }

    .products-page .eeg-card-img {
        height: 180px;
    }

    .section-header--split {
        gap: 18px;
    }

    .product-delivery {
        padding: 24px 18px;
        border-radius: 18px;
    }
    .product-delivery-head h3 {
        font-size: 1.5rem;
    }
    .product-delivery-head p {
        font-size: 0.88rem;
        padding: 12px 14px;
    }
    .product-delivery-row {
        padding: 12px 14px;
    }
    .product-delivery-name {
        font-size: 0.84rem;
    }
}

/* ============================================================
   PRODUCTS — IMAGE GALLERY
============================================================ */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.product-gallery-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 12px;
    background: linear-gradient(180deg, #f8f9fa 0%, #eef1f3 100%);
}

@media (max-width: 768px) {
    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-gallery-item img {
        height: 140px;
    }
}

/* ============================================================
   PAGINATION
============================================================ */
#news-pagination {
    padding: 16px;
    text-align: center;
    border-top: 1px solid #ddd;
    background: #fff;
}

#news-pagination button {
    padding: 7px 18px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    margin: 0 4px;
}

#news-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#news-pagination span {
    margin: 0 10px;
    font-size: 13px;
    color: #666;
}

/* ============================================================
   RESPONSIVE — Tablets ≤1024px
============================================================ */
@media (max-width: 1024px) {
    .header-inner { grid-template-columns: auto auto; }
    .header-nav { display: none; }
    .header-actions { display: none; }
    .header-contact { gap: 12px; }
    .header-phone { display: none; }
    .mobile-header-controls { display: flex; }
    .intro-dropdown { display: none !important; }

    .main-panel { display: none; }

    .contents {
        width: 80%;
        margin: 0 auto;
        border: none;
    }

    .side-panel { display: none; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .featured-product {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 32px;
    }

    .product-detail-spotlight {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   RESPONSIVE — Mobile ≤768px
============================================================ */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
        min-height: 60px;
    }

    .header-logo img { height: 36px; }
    .header-logo-text { font-size: 1.1rem; }

    .header-cta {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    main { flex-direction: column; }

    .main-panel { display: none; }

    .contents {
        width: 100%;
        border-left: none;
        border-right: none;
        padding-top: 20px;
    }

    .side-panel { display: none; }

    /* Post cards — stack */
    .post {
        flex-direction: column;
        width: 95%;
        min-height: auto;
    }

    .post .post-left,
    .post .post-right,
    .post .post-left-reverse,
    .post .post-right-reverse {
        width: 100%;
        border-radius: 0;
    }

    .post-left img,
    .post-right-reverse img {
        padding: 8px;
        width: 100%;
    }

    .post-right,
    .post-left-reverse {
        padding: 16px;
        padding-bottom: 50px;
    }

    .post-left-date,
    .post-left-title,
    .post-left-more,
    .post-left-content,
    .post-left-tags {
        margin-left: 0;
    }

    .post-left-more { padding-right: 0; }

    .post-right-title h2,
    .post-left-title h2 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .post-right-content p,
    .post-left-content p {
        font-size: 0.9rem;
    }

    div.main-panel > aside { margin: 10px 16px; }
    .main-logo-name img { max-width: 180px; }

    /* Popups — centered on mobile */
    .pum-overlay {
        padding: 16px;
        align-items: center;
    }

    .pum-container {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 20px;
    }

    .pum-header {
        padding: 26px 20px 18px;
    }

    .pum-title {
        font-size: 1.45rem;
    }

    .pum-description {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .pum-content {
        padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
    }

    .pum-close {
        top: 16px;
        right: 16px;
    }

    .pum-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pum-submit-note {
        text-align: left;
    }

    .custom-button-form { width: 100%; }
    .mr-b-50 { margin-left: 0; }

    #news-pagination button {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Site footer */
    .site-footer { padding: 40px 0 0; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-col { text-align: center; }

    .footer-col h4 {
        display: block;
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-col h4::after {
        content: "";
        display: block;
        width: 40px;
        height: 2px;
        background: var(--main-color);
        margin: 10px auto 0;
    }

    .footer-social { justify-content: center; }
    .footer-links a { justify-content: center; }
    .footer-contact-item { justify-content: center; text-align: left; }

    .hamburger-btn { display: none !important; }

    /* Products hero stat row: 2 cols on mobile */
    .products-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Section meta: 2 cols on mobile */
    .section-header-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Accessories page: 1 col cards on mobile */
    .accessories-page .eeg-overview-grid {
        grid-template-columns: 1fr;
    }

    /* Products */
    .products-hero { padding: 50px 16px 40px; }
    .products-hero h1 { font-size: 1.8rem; }
    .products-hero p { font-size: 1rem; }
    .product-detail-back { font-size: 0.8rem; }
    .product-detail-actions { flex-direction: column; }
    .product-detail-actions .btn-quote,
    .product-detail-actions .btn-detail { width: 100%; justify-content: center; }
    .product-detail-spotlight {
        padding: 18px;
        gap: 18px;
        border-radius: 20px;
        margin-top: 24px;
    }
    .product-detail-spotlight-media {
        min-height: 220px;
        padding: 20px;
    }
    .product-detail-spotlight-media img {
        max-height: 220px;
    }
    .product-detail-spotlight-body h2 {
        font-size: 1.6rem;
    }
    .product-detail-spotlight-body .product-card-subtitle {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    .products-section { padding: 40px 16px; }
    .product-detail-shell,
    .product-tab-nav-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
    .product-detail-desc-block {
        padding-bottom: 24px;
    }
    .product-detail-desc-head {
        margin-bottom: 24px;
        gap: 16px;
    }
    .product-detail-desc-title {
        font-size: 1.9rem;
        line-height: 1.05;
    }
    .product-detail-desc-accent {
        width: 40px;
        height: 40px;
    }
    .product-detail-desc-columns {
        column-count: 1;
        column-gap: 0;
    }
    .product-detail-desc-item {
        margin-bottom: 24px;
    }
    .product-delivery {
        padding: 24px 20px;
        border-radius: 0;
    }
    .section-header h2 { font-size: 1.5rem; }
    .products-grid { grid-template-columns: 1fr; }
    .featured-product { padding: 24px; }
    .featured-product-info h3 { font-size: 1.4rem; }
    .category-nav { top: 60px; }
}

@media (max-width: 480px) {
    .post-right-more a,
    .post-left-more a {
        font-size: 1rem;
    }

    .sidebar-contacts {
        padding: 12px 14px;
    }
}

/* ============================================================
   ACCESSORIES
============================================================ */
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.accessory-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 2px solid rgba(22, 38, 80, 0.1);
    border-radius: 12px;
    padding: 16px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    box-shadow: 0 1px 4px rgba(16,24,40,0.04);
}

.accessory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(16,24,40,0.09);
    border-color: var(--main-color);
}

.accessory-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 38, 80, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(22, 38, 80, 0.08);
    overflow: hidden;
}

.accessory-card-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.accessory-card-body {
    flex: 1;
    min-width: 0;
}

.accessory-card-name {
    font-weight: 700;
    font-size: 0.93rem;
    color: var(--navy);
    margin-bottom: 3px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.accessory-card-cat {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--main-color);
    background: rgba(239, 63, 74, 0.07);
    border-radius: 4px;
    padding: 2px 7px;
    margin-bottom: 7px;
}

.accessory-card-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.55;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.accessory-card-products {
    margin-top: 4px;
}

.accessory-card-action {
    flex-shrink: 0;
    align-self: center;
}

.accessories-page .eeg-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.acc-card-related {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.acc-card-related-label {
    font-size: 0.78rem;
    color: #888;
}

.acc-card-related-link {
    font-size: 0.78rem;
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
}

.acc-card-related-link:not(:last-of-type)::after {
    content: ',';
    color: #aaa;
    margin-right: 2px;
}

.acc-card-related-more {
    font-size: 0.75rem;
    color: #aaa;
    font-style: italic;
}

.acc-card-related-all {
    font-size: 0.78rem;
    color: #aaa;
}

/* ============================================================
   INQUIRY FORM
============================================================ */
.inquiry-form {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
}

.inquiry-field {
    margin-bottom: 16px;
}

.inquiry-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.inquiry-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.inquiry-input:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(72,114,132,0.1);
}

textarea.inquiry-input {
    resize: vertical;
    min-height: 80px;
}

@media (max-width: 768px) {
    .accessories-grid {
        grid-template-columns: 1fr;
    }
    .accessory-card {
        flex-wrap: wrap;
    }
    .accessory-card-action {
    justify-content: end;

        width: 100%;
        margin-top: 8px;
    }
}

/* ============================================================
   PRODUCT DETAIL — UI/UX ENHANCEMENTS
============================================================ */

/* ── Skeleton Loading State ── */
.product-detail-skeleton {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 60px;
}

.skeleton-pulse {
    background: linear-gradient(90deg, #e8eef2 25%, #f4f7f9 50%, #e8eef2 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-hero {
    height: 320px;
    border-radius: 28px;
    margin-bottom: 32px;
}

.skeleton-tabs {
    height: 48px;
    margin-bottom: 40px;
    border-radius: 0;
}

.skeleton-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.skeleton-block {
    height: 180px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .skeleton-content {
        grid-template-columns: 1fr;
    }
    .skeleton-hero {
        height: 220px;
        border-radius: 20px;
    }
}

/* ── Scroll-reveal animation for sections ── */
.pd-reveal,
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.pd-reveal.pd-visible,
.scroll-reveal.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-delay-1 { transition-delay: 0.08s; }
.scroll-delay-2 { transition-delay: 0.16s; }
.scroll-delay-3 { transition-delay: 0.24s; }
.scroll-delay-4 { transition-delay: 0.32s; }
.scroll-delay-5 { transition-delay: 0.40s; }

/* ── Enhanced Tab Navigation ── */
.product-tab-nav {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-tab-nav-inner a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: #4da8da;
    border-radius: 2px 2px 0 0;
    transition: width 0.3s ease, left 0.3s ease;
}

.product-tab-nav-inner a:hover::after {
    width: 60%;
    left: 20%;
}

.product-tab-nav-inner a.active::after {
    width: 100%;
    left: 0;
}

/* ── Gallery Lightbox ── */
.product-gallery-item {
    position: relative;
}

.product-gallery-item::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0,0,0,0);
    border-radius: 12px;
    transition: background 0.3s ease;
    pointer-events: none;
}

.product-gallery-item:hover::after {
    background: rgba(0,0,0,0.04);
}

.product-gallery-item .gallery-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.product-gallery-item:hover .gallery-zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-lightbox-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

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

.gallery-lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.gallery-lightbox-overlay.active img {
    transform: scale(1);
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.gallery-lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.gallery-lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}

.gallery-lightbox-nav--prev { left: 20px; }
.gallery-lightbox-nav--next { right: 20px; }

.gallery-lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .gallery-lightbox-overlay { padding: 16px; }
    .gallery-lightbox-nav { width: 38px; height: 38px; font-size: 1rem; }
    .gallery-lightbox-nav--prev { left: 10px; }
    .gallery-lightbox-nav--next { right: 10px; }
}

/* ── Floating CTA ── */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--main-color);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 6px 24px rgba(72, 114, 132, 0.35);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.floating-cta a:hover {
    background: var(--link-hover-color);
    box-shadow: 0 8px 32px rgba(72, 114, 132, 0.45);
    transform: translateY(-2px);
}

.floating-cta svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }
    .floating-cta a {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}

/* ── Improved Accessory Cards ── */
.accessory-card {
    border-radius: 12px;
    padding: 16px;
    border: 2px solid rgba(22, 38, 80, 0.1);
    background: #fff;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.accessory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(16,24,40,0.09);
    border-color: var(--main-color);
}

.accessory-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(22, 38, 80, 0.05);
    border: 1px solid rgba(22, 38, 80, 0.08);
}

/* ── Enhanced Related Product Cards ── */
.product-detail-related-card.eeg-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.product-detail-related-card.eeg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(22,38,80,0.12);
    border-color: var(--main-color);
}

.product-detail-related-card .eeg-card-img img {
    transition: transform 0.4s ease;
}

.product-detail-related-card:hover .eeg-card-img img {
    transform: scale(1.05);
}

.product-detail-related-card .eeg-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-detail-related-card .eeg-card-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--main-color);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: gap 0.2s ease;
}

.product-detail-related-card:hover .eeg-card-view-btn {
    gap: 10px;
}

/* ── Better Section Dividers ── */
.product-detail-section {
    margin-top: 56px;
    padding-top: 8px;
}

.product-detail-section .section-header {
    margin-bottom: 28px;
}

/* ── Improved Description Layout (replace column-count) ── */
.product-detail-desc-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-count: unset;
    column-gap: unset;
    gap: 28px 48px;
}

.product-detail-desc-columns--single {
    grid-template-columns: 1fr;
}

.product-detail-desc-item {
    display: block;
    break-inside: unset;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .product-detail-desc-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── Product Delivery visual polish ── */
.product-delivery {
    border-radius: 20px;
    overflow: hidden;
}

.product-delivery-row:last-child {
    border-bottom: none;
}

.product-delivery-toggle {
    font-weight: 500;
}

/* ── Breadcrumb-style back button ── */
.product-detail-back {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ============================================================
   CART ICON IN HEADER
============================================================ */
.header-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    color: #4a5568;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    flex-shrink: 0;
}

.header-cart-btn:hover {
    background: rgba(22,38,80,0.07);
    color: var(--navy);
}

.header-cart-btn.active {
    background: var(--main-color);
    color: #fff;
}

.header-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #e53e3e;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* ============================================================
   ADD TO CART BUTTON
============================================================ */
.btn-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1.5px solid var(--main-color);
    background: transparent;
    color: var(--main-color);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn-add-cart:hover {
    background: var(--main-color);
    color: #fff;
}

.btn-add-cart--added {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
}

.btn-add-cart--hero {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.btn-add-cart--hero:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

.btn-add-cart--hero.btn-add-cart--added {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
}

.btn-add-cart--sm {
    padding: 5px 10px;
    font-size: 0.75rem;
    gap: 4px;
}

/* Favorite button */
.btn-fav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}
.btn-fav:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}
.btn-fav--active {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}
.btn-fav--active:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

/* Hero favorites label */
.products-hero-mini-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
    margin-right: 4px;
}
.products-hero-mini-chip--fav {
    border-color: rgba(231, 76, 60, 0.4);
    background: rgba(231, 76, 60, 0.08);
}

/* Card actions row */
.eeg-card {
    display: flex;
    flex-direction: column;
}

.eeg-card-link-area {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.eeg-card-actions {
    padding: 10px 16px 14px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.accessory-card-action {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ============================================================
   CART PAGE
============================================================ */
.cart-page {
    min-height: 60vh;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

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

/* Empty & success states */
.cart-empty,
.cart-success {
    text-align: center;
    padding: 80px 24px;
}

.cart-empty svg,
.cart-success-icon {
    margin-bottom: 20px;
}

.cart-success-icon {
    display: flex;
    justify-content: center;
}

.cart-empty h2,
.cart-success h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.cart-empty p,
.cart-success p {
    color: #666;
    margin-bottom: 20px;
}

/* Item list */
.cart-item-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.cart-item-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8fa;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-body {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    color: #222;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.cart-item-type {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.cart-item-type--prod {
    background: #e8f0fe;
    color: #2563eb;
}

.cart-item-type--acc {
    background: #fef3c7;
    color: #b45309;
}

.cart-item-category {
    font-size: 0.78rem;
    color: #888;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #bbb;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.cart-item-remove:hover {
    color: #e53e3e;
    background: #fff5f5;
}

/* Browse more links */
.cart-browse-more {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cart-browse-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--main-color);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px dashed var(--main-color);
    transition: opacity 0.2s;
}

.cart-browse-link:hover {
    opacity: 0.75;
}

/* Form card */
.cart-form-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.cart-form-header {
    background: var(--main-color);
    color: #fff;
    padding: 20px 24px;
}

.cart-form-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-form-header p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0;
}

.cart-form-body {
    padding: 24px;
}

.cart-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 1rem;
    margin-top: 4px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
}

.cart-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.cart-form-error {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff5f5;
    border-radius: 6px;
    border-left: 3px solid #e53e3e;
}

.cart-form-note {
    text-align: center;
    font-size: 0.78rem;
    color: #999;
    margin-top: 12px;
    margin-bottom: 0;
}

/* ============================================================
   HOME PAGE — HERO
============================================================ */
.home-page {
    width: 100%;
    --home-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.home-reveal {
    opacity: 0;
    transform: translateY(28px);
    animation: homeFadeUp 0.85s var(--home-motion-ease) forwards;
}

.home-reveal-delay-1 { animation-delay: 0.08s; }
.home-reveal-delay-2 { animation-delay: 0.16s; }
.home-reveal-delay-3 { animation-delay: 0.24s; }
.home-reveal-delay-4 { animation-delay: 0.32s; }
.home-reveal-delay-5 { animation-delay: 0.40s; }

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

@keyframes homeOrbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -16px, 0) scale(1.05); }
}

@keyframes heroRedBlob {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
    33% { transform: translate3d(30px, -20px, 0) scale(1.12); opacity: 1; }
    66% { transform: translate3d(-20px, 15px, 0) scale(0.92); opacity: 0.8; }
}

@keyframes homeCardFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -10px, 0); }
}

.home-hero {
    position: relative;
    background:
        radial-gradient(circle at top center, rgba(59, 130, 246, 0.32), transparent 62%),
        radial-gradient(circle at 82% 18%, rgba(147, 197, 253, 0.28), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    color: var(--text-primary);
    padding: 90px 24px 70px;
    overflow: hidden;
}

.home-hero-inner::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 70%);
    bottom: -60px;
    left: -80px;
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
    animation: heroRedBlob 11s ease-in-out infinite 0.5s;
}

.home-scene::before,
.home-scene::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0.22;
    filter: blur(4px);
}

.home-scene::before {
    top: -120px;
    right: min(10vw, 120px);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.20) 0%, rgba(59, 130, 246, 0) 70%);
    animation: homeOrbFloat 8.5s ease-in-out infinite;
}

.home-scene::after {
    bottom: -140px;
    left: -20px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(191, 219, 254, 0.40) 0%, rgba(191, 219, 254, 0) 74%);
    animation: homeOrbFloat 10s ease-in-out infinite reverse;
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    align-items: center;
    flex-wrap: wrap;
}

.home-hero-content {
    flex: 1;
    min-width: 280px;
}

.home-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(96,165,250,0.26);
    color: #2455a6;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.home-hero-title {
    font-family: "Manrope", "Open Sans", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #16315f;
    letter-spacing: -0.01em;
}

.home-hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4f6b95;
    max-width: 520px;
    margin-bottom: 32px;
}

.home-hero-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.home-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
}

.home-stat strong {
    font-size: 1.8rem;
    font-weight: 700;
    color: #16315f;
    line-height: 1;
}

.home-stat span {
    font-size: 0.72rem;
    color: #6d85a5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.home-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(96,165,250,0.24);
}

.home-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.home-btn-primary {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
    letter-spacing: 0.01em;
}

.home-btn-primary:hover {
    background: #d9323c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(239, 63, 74, 0.35);
}

.home-btn-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.88);
    color: #1d4f91;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border: 1.5px solid rgba(59,130,246,0.26);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.12);
}

.home-btn-secondary:hover {
    background: #dbeafe;
    border-color: rgba(37,99,235,0.34);
    color: #143b75;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(59, 130, 246, 0.18);
}

.home-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border: 1.5px solid var(--navy);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.home-btn-outline:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(22, 38, 80, 0.22);
}

/* Hero visual: image + floating cards */
.home-hero-visual {
    position: relative;
    min-width: 340px;
    max-width: 440px;
}

.home-hero-img-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    line-height: 0;
}

.home-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.home-hero-card {
    position: absolute;
    z-index: 2;
    background: rgba(22, 38, 80, 0.88);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    white-space: nowrap;
    animation: homeCardFloat 5s ease-in-out infinite;
}

/* Top-left */
.home-hero-card--pos-1 {
    top: -14px;
    left: -40px;
    animation-delay: 0s;
}

/* Right-middle */
.home-hero-card--pos-2 {
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    animation-delay: 1.4s;
}

/* Bottom-left */
.home-hero-card--pos-3 {
    bottom: -14px;
    left: -30px;
    animation-delay: 2.8s;
}

.home-hero-card-icon {
    color: rgba(255,255,255,0.9);
    flex-shrink: 0;
}

.home-hero-card-text {
    min-width: 0;
}

.home-hero-card-text strong {
    display: block;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-hero-card-text span {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.68rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   AMBIENT BLOBS — floating red glow on white sections
============================================================ */
@keyframes ambientDrift1 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    25%  { transform: translate(12vw, -8vh) scale(1.15) rotate(40deg); }
    50%  { transform: translate(-5vw, 6vh) scale(0.9) rotate(90deg); }
    75%  { transform: translate(8vw, 12vh) scale(1.08) rotate(200deg); }
    100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

@keyframes ambientDrift2 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    30%  { transform: translate(-10vw, 10vh) scale(1.2) rotate(-60deg); }
    60%  { transform: translate(6vw, -5vh) scale(0.85) rotate(-150deg); }
    100% { transform: translate(0, 0) scale(1) rotate(-360deg); }
}

@keyframes ambientDrift3 {
    0%   { transform: translate(0, 0) scale(1); }
    40%  { transform: translate(14vw, 5vh) scale(1.1); }
    70%  { transform: translate(-8vw, -10vh) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Cross icon blob — inspired by the + in the logo */
@keyframes ambientCross {
    0%   { transform: translate(0, 0) rotate(0deg) scale(0.8); opacity: 0.035; }
    50%  { transform: translate(-6vw, 8vh) rotate(180deg) scale(1); opacity: 0.06; }
    100% { transform: translate(0, 0) rotate(360deg) scale(0.8); opacity: 0.035; }
}

.home-section {
    padding: 80px 24px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Blob 1: large red glow, top-right */
.home-section::before {
    content: "";
    position: absolute;
    top: -15%;
    right: -8%;
    width: 420px;
    height: 420px;
    border-radius: 42% 58% 62% 38% / 46% 52% 48% 54%;
    background: radial-gradient(ellipse at 40% 40%,
        rgba(239, 63, 74, 0.07) 0%,
        rgba(239, 63, 74, 0.03) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    animation: ambientDrift1 28s ease-in-out infinite;
    will-change: transform;
}

/* Blob 2: smaller navy tint, bottom-left */
.home-section::after {
    content: "";
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 320px;
    height: 320px;
    border-radius: 52% 48% 44% 56% / 55% 42% 58% 45%;
    background: radial-gradient(ellipse at 60% 60%,
        rgba(22, 38, 80, 0.04) 0%,
        rgba(22, 38, 80, 0.015) 45%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    animation: ambientDrift2 34s ease-in-out infinite;
    will-change: transform;
}

/* Cross-shaped accent: a + symbol ghost floating — only on odd sections */
.home-section:nth-child(odd) .home-section-inner::before {
    content: "+";
    position: absolute;
    top: 20%;
    left: 8%;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(239, 63, 74, 0.04);
    pointer-events: none;
    z-index: 0;
    animation: ambientCross 40s ease-in-out infinite;
    will-change: transform;
    line-height: 1;
}

/* Ensure section inner content stays on top */
.home-section-inner {
    position: relative;
    z-index: 1;
}

/* Alternate sections get shifted blobs */
.home-section + .home-section::before {
    top: auto;
    bottom: -12%;
    right: auto;
    left: -6%;
    width: 380px;
    height: 380px;
    animation: ambientDrift3 30s ease-in-out infinite;
}

.home-section + .home-section::after {
    bottom: auto;
    top: -8%;
    left: auto;
    right: -4%;
    animation-duration: 26s;
}

.home-section + .home-section {
    background: var(--surface);
}

.home-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.home-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.home-section-header::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: var(--red);
    transform-origin: center;
    opacity: 0;
    transform: scaleX(0.3);
    transition: opacity 0.8s var(--home-motion-ease) 0.08s, transform 0.8s var(--home-motion-ease) 0.08s;
}

.home-section-header.scroll-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

@keyframes homeHeaderLineGrow {
    from {
        opacity: 0;
        transform: scaleX(0.3);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.home-section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-soft);
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.home-section-header h2 {
    font-family: "Manrope", "Open Sans", sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.home-section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   HOME PAGE — FEATURED PRODUCTS (Category Cards)
============================================================ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* Uniform 4×2 layout for 8 cards */

.cat-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 4 / 2;
    display: block;
    text-decoration: none;
    cursor: pointer;
    background: #1a2e38;
}

.cat-grid .cat-card.scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.cat-grid .cat-card.scroll-reveal:nth-child(2) { transition-delay: 0.10s; }
.cat-grid .cat-card.scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.cat-grid .cat-card.scroll-reveal:nth-child(4) { transition-delay: 0.20s; }
.cat-grid .cat-card.scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
.cat-grid .cat-card.scroll-reveal:nth-child(6) { transition-delay: 0.30s; }
.cat-grid .cat-card.scroll-reveal:nth-child(7) { transition-delay: 0.35s; }
.cat-grid .cat-card.scroll-reveal:nth-child(8) { transition-delay: 0.40s; }

.cat-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.cat-card:hover .cat-card-img {
    transform: scale(1.08);
}

/* Persistent bottom gradient so title is always readable */
.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 22, 30, 0.88) 0%,
        rgba(10, 22, 30, 0.35) 45%,
        transparent 70%
    );
    transition: background 0.4s ease;
    z-index: 1;
}

.cat-card:hover .cat-card-overlay {
    background: linear-gradient(
        to top,
        rgba(10, 22, 30, 0.94) 0%,
        rgba(10, 22, 30, 0.6) 55%,
        rgba(10, 22, 30, 0.15) 100%
    );
}

/* Content sits at the bottom — DOM order: desc, link, title */
.cat-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 18px 18px;
    display: flex;
    flex-direction: column;
}

/* Title is last in DOM → always sticks to the bottom */
.cat-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0;
    order: 3;
}

/* Desc and link come before title in DOM but are collapsed by default */
.cat-card-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: max-height 0.38s ease, opacity 0.32s ease, transform 0.32s ease, margin 0.32s ease;
    order: 1;
}

.cat-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #ff8a8f;
    letter-spacing: 0.03em;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: max-height 0.38s ease, opacity 0.32s 0.06s ease, transform 0.32s 0.06s ease, margin 0.32s ease;
    order: 2;
}

.cat-card:hover .cat-card-desc {
    max-height: 80px;
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 10px;
}

.cat-card:hover .cat-card-link {
    max-height: 32px;
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 12px;
}

.home-products-cta {
    text-align: center;
    margin-top: 36px;
}

/* ============================================================
   HOME PAGE — FEATURED PRODUCTS (Top 8)
============================================================ */
.home-featured-section {
    background: var(--surface) !important;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.featured-grid .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.featured-grid .scroll-reveal:nth-child(2) { transition-delay: 0.10s; }
.featured-grid .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.featured-grid .scroll-reveal:nth-child(4) { transition-delay: 0.20s; }
.featured-grid .scroll-reveal:nth-child(5) { transition-delay: 0.08s; }
.featured-grid .scroll-reveal:nth-child(6) { transition-delay: 0.13s; }
.featured-grid .scroll-reveal:nth-child(7) { transition-delay: 0.18s; }
.featured-grid .scroll-reveal:nth-child(8) { transition-delay: 0.23s; }

.featured-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border: 2px solid rgba(22, 38, 80, 0.12);
}

.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(22, 38, 80, 0.1);
    border-color: var(--main-color);
}

.featured-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #fff;
    border-bottom: 1px solid rgba(22, 38, 80, 0.1);
    overflow: hidden;
}

.featured-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.45s ease;
}

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

.featured-card-img.no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-alt);
}

.featured-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--navy);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
}

.featured-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin: 0 0 8px;
}

.featured-card-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
    transition: gap 0.25s ease;
}

.featured-card:hover .featured-card-link {
    gap: 10px;
}

/* ── featured-grid: clean 4×2 for 8 items ── */

@media (max-width: 1000px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    /* Reset scroll-reveal delays for 2-col layout — stagger by row */
    .featured-grid .scroll-reveal:nth-child(1),
    .featured-grid .scroll-reveal:nth-child(2) { transition-delay: 0.05s; }
    .featured-grid .scroll-reveal:nth-child(3),
    .featured-grid .scroll-reveal:nth-child(4) { transition-delay: 0.12s; }
    .featured-grid .scroll-reveal:nth-child(5),
    .featured-grid .scroll-reveal:nth-child(6) { transition-delay: 0.19s; }
    .featured-grid .scroll-reveal:nth-child(7),
    .featured-grid .scroll-reveal:nth-child(8) { transition-delay: 0.26s; }
}

@media (max-width: 600px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .featured-card {
        flex-direction: row;
        min-height: 0;
    }
    .featured-card-img {
        flex: 0 0 110px;
        aspect-ratio: auto;
        min-height: 110px;
    }
    .featured-card-body {
        padding: 12px 14px;
    }
    .featured-card-name { font-size: 0.88rem; }
    .featured-card-desc { -webkit-line-clamp: 1; margin-bottom: 8px; }
}

/* ── cat-grid responsive ── */
@media (max-width: 900px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .cat-card {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .cat-card {
        grid-column: span 1;
        aspect-ratio: 1 / 1;
    }
}

/* ============================================================
   CATEGORIES PAGE
============================================================ */
.categories-page {
    min-height: 100vh;
}

.categories-hero {
    background:
        radial-gradient(circle at top center, rgba(59, 130, 246, 0.30), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    padding: 80px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.categories-hero::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, rgba(96, 165, 250, 0) 70%);
    top: -60px;
    right: 8%;
    filter: blur(6px);
    pointer-events: none;
    animation: heroRedBlob 9s ease-in-out infinite;
}

.categories-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.categories-hero .hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3d65a8;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(96,165,250,0.22);
    border-radius: 20px;
    padding: 6px 18px;
    margin-bottom: 16px;
}

.categories-hero h1 {
    font-family: "Manrope", "Open Sans", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #16315f;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.categories-hero p {
    font-size: 1.05rem;
    color: #577095;
    margin: 0;
    line-height: 1.6;
}

.categories-grid-section {
    padding: 48px 24px 64px;
    background: var(--bg-primary, #f5f7fa);
}

.categories-grid-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #1a2e38;
    background: #fff;
    padding: 24px;
    min-height: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.category-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding-right: 16px;
}

.category-card-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: #4caf50;
    border-radius: 20px;
    padding: 5px 16px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.category-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #1a2e38;
    line-height: 1.35;
}

.category-card-img-wrap {
    flex: 0 0 auto;
    width: 110px;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    background: #f0f4f7;
    align-self: center;
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

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

@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-hero { padding: 70px 20px 40px; }
    .categories-hero h1 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .categories-grid { grid-template-columns: 1fr; }
    .categories-grid-section { padding: 32px 16px 48px; }
    .category-card { min-height: 140px; padding: 18px; }
    .category-card-img-wrap { width: 90px; height: 90px; }
    .category-card-title { font-size: 1rem; }
}

/* ============================================================
   HOME PAGE — WHY CHOOSE MOSNEURO (video grid)
============================================================ */
.home-why-videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1440px;
    margin: 0 auto;
}

.home-why-video-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-why-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(22, 38, 80, 0.12);
}

.home-why-video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}

.home-why-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (min-width: 1280px) {
    .home-why-videos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .home-why-videos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .home-why-videos { grid-template-columns: 1fr; }
}

/* ============================================================
   HOME PAGE — WHY CHOOSE MOSNEURO (section styling)
============================================================ */
.home-why-section {
    background: linear-gradient(160deg, #f0f3fa 0%, #f8fafc 50%, #eef1f8 100%) !important;
    position: relative;
    overflow: hidden;
}

.home-why-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22,38,80,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.home-why-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239,63,74,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.home-why-section .home-section-inner {
    max-width: 1480px;
}

/* Two-column layout */
.home-why-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: start;
}

/* LEFT: Player */
.home-why-player-col {
    position: sticky;
    top: 80px;
}

.home-why-player-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-why-player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0d1f2a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 52px rgba(30,58,71,0.18);
}

.home-why-player-frame iframe,
.home-why-player-frame > div,
#why-yt-player {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

.home-why-player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.home-why-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1.5px solid #ddeaf0;
    background: #f4f9fb;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.home-why-nav-btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.home-why-counter {
    font-size: 0.82rem;
    font-weight: 600;
    color: #5a7a8a;
    min-width: 48px;
    text-align: center;
    letter-spacing: 0.04em;
}

/* RIGHT: Info + Playlist */
.home-why-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-why-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-why-header h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1e3a47;
    line-height: 1.25;
    margin: 0;
}

.home-why-header p {
    font-size: 0.88rem;
    color: #5a7a8a;
    line-height: 1.7;
    margin: 0;
}

/* Playlist */
.home-why-playlist {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 4px;
}

.home-why-playlist::-webkit-scrollbar {
    width: 4px;
}

.home-why-playlist::-webkit-scrollbar-track {
    background: #f0f7fa;
    border-radius: 2px;
}

.home-why-playlist::-webkit-scrollbar-thumb {
    background: #b8d4de;
    border-radius: 2px;
}

.home-why-pitem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s;
}

.home-why-pitem:hover {
    background: #f4f9fb;
}

.home-why-pitem.active {
    background: #edf4f7;
    border-color: var(--navy);
}

.home-why-pthumb {
    position: relative;
    width: 96px;
    min-width: 96px;
    aspect-ratio: 16 / 9;
    border-radius: 7px;
    overflow: hidden;
    background: #1e3a47;
    flex-shrink: 0;
}

.home-why-pthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s;
}

.home-why-pitem:hover .home-why-pthumb img,
.home-why-pitem.active .home-why-pthumb img {
    opacity: 0.85;
}

.home-why-pthumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.home-why-pitem:hover .home-why-pthumb-play,
.home-why-pitem.active .home-why-pthumb-play {
    opacity: 1;
}

.home-why-pinfo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.home-why-pnum {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.06em;
}

.home-why-pitem.active .home-why-pnum {
    color: #1e3a47;
}

.home-why-ptitle {
    font-size: 0.82rem;
    font-weight: 600;
    color: #3a6070;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-why-pitem.active .home-why-ptitle {
    color: #1e3a47;
}

/* ============================================================
   HOME PAGE — NEWS SECTION
============================================================ */
.home-news-section {
    background: #f6f9fb !important;
}

.home-news-section .home-section-inner {
    margin-bottom: 0;
}

.home-news-section .contents {
    max-width: 1100px;
    border: none;
    background: transparent;
}

/* ============================================================
   HOME PAGE — PARTNERS
============================================================ */
.home-partners-section {
    background: #fff !important;
}

.home-partners-section--full {
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
}

.home-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}

.home-partner-card {
    background: #fff;
    border: 1px solid #e0eaef;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.home-partner-card:hover {
    border-color: var(--navy);
    box-shadow: 0 10px 24px rgba(72,114,132,0.12);
    transform: translateY(-2px);
}

.home-partner-card--logo-only {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    width: clamp(160px, 15vw, 220px);
    flex: 0 0 auto;
}

.home-partner-logo {
    width: 100%;
    min-height: 96px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.home-partner-logo img {
    display: block;
    width: 100%;
    max-width: 190px;
    max-height: 92px;
    object-fit: contain;
    filter: saturate(0.98);
}

.home-partners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 36px;
}

.home-partners-carousel::before,
.home-partners-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 88px;
    z-index: 2;
    pointer-events: none;
}

.home-partners-carousel::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.home-partners-carousel::after {
    right: 0;
    background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.home-partners-track {
    display: flex;
    width: max-content;
    animation: partnerCarouselScroll 46s linear infinite;
    will-change: transform;
}

.home-partners-carousel:hover .home-partners-track {
    animation-play-state: paused;
}

.home-partners-group {
    display: flex;
    align-items: stretch;
    gap: 18px;
    padding-right: 18px;
}

@keyframes partnerCarouselScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.home-partner-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e3a47;
    margin-bottom: 8px;
}

.home-partner-card p {
    font-size: 0.8rem;
    color: #5a7a8a;
    line-height: 1.55;
}

.home-partners-cta {
    text-align: center;
}

/* ============================================================
   INFO PAGES (gioi-thieu, about-us)
============================================================ */
.info-page {
    width: 100%;
}

.info-hero {
    background:
        radial-gradient(circle at top center, rgba(59, 130, 246, 0.30), transparent 62%),
        radial-gradient(circle at 18% 16%, rgba(191, 219, 254, 0.46), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    color: var(--text-primary);
    padding: 88px 24px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.info-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, rgba(96, 165, 250, 0) 70%);
    top: -120px;
    left: 8%;
    filter: blur(10px);
    pointer-events: none;
    animation: heroRedBlob 10s ease-in-out infinite 1s;
}

.info-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.18) 0%, transparent 70%);
    bottom: -100px;
    right: 10%;
    filter: blur(8px);
    pointer-events: none;
    animation: heroRedBlob 12s ease-in-out infinite 3s reverse;
}

.info-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.info-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(96,165,250,0.26);
    color: #2455a6;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out both;
}

.info-hero h1 {
    font-family: "Manrope", "Open Sans", sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #16315f;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.info-hero p {
    font-size: 1.02rem;
    color: #577095;
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

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

.info-breadcrumb {
    background: #f6f9fb;
    border-bottom: 1px solid #e0eaef;
    padding: 11px 24px;
    font-size: 0.8rem;
    color: #8aa0ad;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    letter-spacing: 0.01em;
}

.info-breadcrumb a {
    color: var(--navy);
    text-decoration: none;
}

.info-breadcrumb a:hover {
    text-decoration: underline;
}

.info-section {
    padding: 72px 24px;
    background: #fff;
}

.info-section--alt {
    background: #f6f9fb;
}

.info-section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.info-section--alt .info-section-inner {
    max-width: 1480px;
}

.info-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.info-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    background: #edf4f7;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.info-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a47;
    margin-bottom: 8px;
}

/* Company overview */
.info-section--intro {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.company-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
    gap: 32px;
    align-items: start;
}

.company-overview-main h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a47;
    line-height: 1.28;
    margin-bottom: 18px;
}

.company-overview-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.company-overview-copy p {
    margin: 0;
    font-size: 0.96rem;
    color: #4a6a7a;
    line-height: 1.82;
}

.company-overview-lead {
    font-size: 1rem !important;
    color: #274654 !important;
}

.company-overview-visual {
    margin: 28px 0 0;
    border-radius: 24px;
    overflow: hidden;
    background: #edf4f7;
    box-shadow: 0 20px 44px rgba(72,114,132,0.14);
}

.company-overview-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
}

.company-overview-panel {
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f1d42 0%, #162650 55%, #2a4a8a 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(72,114,132,0.18);
}

.company-overview-panel-header {
    margin-bottom: 22px;
}

.company-overview-panel-label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.88);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.company-overview-panel h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}

.company-overview-stats {
    display: grid;
    gap: 14px;
}

.company-overview-stat {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
}

.company-overview-stat strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.company-overview-stat span {
    display: block;
    color: rgba(255,255,255,0.84);
    font-size: 0.88rem;
    line-height: 1.65;
}

.company-overview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.company-overview-tags span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Vision & Mission */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.vm-card {
    position: relative;
    border-radius: 22px;
    min-height: 480px;
    background: #0f1d42;
    border: 0;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(72,114,132,0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 42px rgba(72,114,132,0.16);
}

.vm-card-media {
    position: absolute;
    inset: 0;
    margin: 0;
    background: #edf4f7;
}

.vm-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 18, 40, 0.08) 0%, rgba(9, 18, 40, 0.28) 48%, rgba(9, 18, 40, 0.86) 100%);
}

.vm-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vm-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 22px 24px 26px;
    color: #fff;
    background: linear-gradient(180deg, rgba(9, 18, 40, 0.04) 0%, rgba(9, 18, 40, 0.58) 28%, rgba(9, 18, 40, 0.94) 100%);
    transform: translateY(calc(100% - 112px));
    transition: transform 0.32s ease;
}

.vm-card:hover .vm-card-body {
    transform: translateY(0);
}

.vm-card-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vm-card--vision .vm-card-kicker {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
}

.vm-card--mission .vm-card-kicker {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
}

.vm-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}

.vm-card p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.vm-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline */
.info-section--timeline {
    position: relative;
    overflow: hidden;
}

.info-section--timeline::before,
.info-section--timeline::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
}

.info-section--timeline::before {
    top: -60px;
    left: -80px;
    background: radial-gradient(circle, rgba(237, 86, 96, 0.14) 0%, rgba(237, 86, 96, 0) 70%);
    animation: heroRedBlob 10s ease-in-out infinite;
}

.info-section--timeline::after {
    bottom: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(237, 86, 96, 0.12) 0%, rgba(237, 86, 96, 0) 70%);
    animation: heroRedBlob 12s ease-in-out infinite 3s;
}

.timeline {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, #162650, #3a5a9a);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 28px;
    margin-bottom: 36px;
    align-items: flex-start;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
    position: absolute;
    left: -52px;
    top: 0;
    display: flex;
    align-items: center;
}

.timeline-year {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.timeline-content {
    background: #fff;
    border: 1px solid #e0eaef;
    border-radius: 12px;
    padding: 20px 24px;
    flex: 1;
    box-shadow: 0 2px 8px rgba(72,114,132,0.06);
}

.timeline-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e3a47;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.87rem;
    color: #5a7a8a;
    line-height: 1.65;
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    background: #fff;
    border: 1px solid #e0eaef;
    border-radius: 14px;
    padding: 28px 22px;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.value-card:hover {
    border-color: var(--navy);
    box-shadow: 0 6px 20px rgba(72,114,132,0.1);
    transform: translateY(-3px);
}

.value-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #EF3F4A;
    line-height: 1;
    margin-bottom: 12px;
    font-family: "Manrope", "Open Sans", sans-serif;
}

.value-icon {
    color: var(--navy);
    margin-bottom: 14px;
}

.value-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e3a47;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.82rem;
    color: #5a7a8a;
    line-height: 1.65;
}

/* Financial */
.finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.finance-text p {
    font-size: 0.95rem;
    color: #4a6a7a;
    line-height: 1.75;
    margin-bottom: 16px;
}

.finance-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.finance-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #1e3a47;
    font-weight: 500;
}

.finance-highlight svg {
    color: var(--navy);
    flex-shrink: 0;
}

.finance-chart {
    background: #fff;
    border: 1px solid #e0eaef;
    border-radius: 14px;
    padding: 20px 20px 16px;
    overflow: hidden;
    position: relative;
}

.finance-chart::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=600&q=20') center/cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

.finance-chart-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #5a7a8a;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.finance-chart-inner {
    display: flex;
    gap: 6px;
    height: 260px;
    position: relative;
}

.finance-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 26px;
    min-width: 22px;
}

.finance-y-axis span {
    font-size: 0.7rem;
    color: #aab;
    line-height: 1;
}

.finance-plot {
    flex: 1;
    position: relative;
}

.finance-grid-lines {
    position: absolute;
    inset: 0;
    bottom: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    z-index: 0;
}

.finance-grid-lines > div {
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.07);
}

.finance-bars {
    position: absolute;
    inset: 0;
    bottom: 26px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 0 2px;
    z-index: 1;
    height: auto;
}

.finance-bar-col {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.finance-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    transition: filter 0.2s;
}

.finance-bar:hover {
    filter: brightness(1.12);
}

.finance-bar--current {
    box-shadow: 0 -4px 12px rgba(21,101,192,0.28);
}

.finance-bar-label {
    position: absolute;
    bottom: -22px;
    font-size: 0.72rem;
    color: #666;
    white-space: nowrap;
    font-weight: 500;
}

/* Culture */
.culture-intro-text {
    font-size: 0.95rem;
    color: #5a7a8a;
    line-height: 1.7;
    max-width: 680px;
    margin: 12px auto 0;
    text-align: center;
}

/* Culture Values Strip */
.culture-values {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #f4f9fb;
    border: 1px solid #ddeaf0;
    border-radius: 14px;
    padding: 20px 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 4px 0;
}

.culture-value {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
}

.culture-value-icon {
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1px solid #ddeaf0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    flex-shrink: 0;
}

.culture-value span {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e3a47;
    white-space: nowrap;
}

.culture-value-divider {
    width: 1px;
    height: 32px;
    background: #ddeaf0;
    flex-shrink: 0;
}

/* Vanhoa Photo Gallery */
.vanhoa-gallery {
    columns: 4;
    column-gap: 10px;
}

.vanhoa-item {
    break-inside: avoid;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #ddeaf0;
}

.vanhoa-item img {
    width: 100%;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vanhoa-item:hover img {
    transform: scale(1.06);
}

.vanhoa-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 50%, rgba(30,58,71,0.45));
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.vanhoa-item:hover .vanhoa-overlay {
    opacity: 1;
}

/* Lightbox */
.vanhoa-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.vanhoa-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.vanhoa-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 28, 0.92);
}

.vanhoa-lightbox-img {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
    object-fit: contain;
    transition: opacity 0.2s;
}

.vanhoa-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
}

.vanhoa-lightbox-close:hover {
    background: rgba(255,255,255,0.22);
}

.vanhoa-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
}

.vanhoa-lightbox-nav:hover {
    background: rgba(255,255,255,0.22);
}

.vanhoa-lightbox-prev { left: 20px; }
.vanhoa-lightbox-next { right: 20px; }

.vanhoa-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.04em;
}

/* ============================================================
   INFO CTA SECTION
============================================================ */
.info-cta {
    background: linear-gradient(155deg, #080e24 0%, #0f1d42 40%, #1a2f5c 100%);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 300px at 20% 50%, rgba(239, 63, 74, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 400px 250px at 80% 50%, rgba(100, 160, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.info-cta-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.info-cta h2 {
    font-family: "Manrope", "Open Sans", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.info-cta p {
    font-size: 1rem;
    color: rgba(255,255,255,0.68);
    margin-bottom: 32px;
    line-height: 1.7;
}

.info-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   ABOUT-US — LEGAL TABLE
============================================================ */
.legal-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: start;
}

.legal-table-wrap {
    overflow-x: auto;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.legal-table tr {
    border-bottom: 1px solid #e0eaef;
}

.legal-table tr:last-child {
    border-bottom: none;
}

.legal-key {
    padding: 14px 16px 14px 0;
    color: #5a7a8a;
    font-weight: 600;
    white-space: nowrap;
    width: 200px;
    vertical-align: top;
}

.legal-val {
    padding: 14px 0;
    color: #1e3a47;
    line-height: 1.55;
}

.legal-summary {
    background: linear-gradient(135deg, #edf4f7, #dceef5);
    border: 1px solid #c8dde8;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
}

.legal-summary-icon {
    color: var(--navy);
    margin-bottom: 16px;
}

.legal-summary h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a47;
    margin-bottom: 10px;
}

.legal-summary p {
    font-size: 0.85rem;
    color: #4a6a7a;
    line-height: 1.65;
    margin-bottom: 16px;
}

.legal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.legal-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--navy);
    background: #fff;
    border: 1px solid #b0ccd8;
    padding: 4px 12px;
    border-radius: 999px;
}

/* ============================================================
   ABOUT-US — CONTACT
============================================================ */
.contact-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 48px;
}

.contact-showcase-info {
    min-width: 0;
    order: 1;
}

.contact-showcase-visual {
    width: 100%;
    order: 2;
    position: sticky;
    top: 104px;
}

.contact-visual-frame {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(15, 29, 66, 0.96) 0%, rgba(34, 56, 112, 0.92) 100%);
    box-shadow:
        0 16px 40px rgba(8, 16, 38, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(21, 48, 106, 0.14);
    padding: 12px;
}

.contact-visual-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(239, 63, 74, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%);
    pointer-events: none;
    z-index: 2;
}

.contact-visual-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: 840px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.contact-visual-frame:hover .contact-visual-img {
    transform: scale(1.01);
}

.contact-offices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 0;
}

.contact-office {
    background: #fff;
    border: 1px solid #e0eaef;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    position: relative;
}

.contact-office:hover {
    border-color: var(--navy);
    box-shadow: 0 6px 20px rgba(15, 29, 66, 0.1);
    transform: translateY(-2px);
}

.contact-office--hq {
    border-color: transparent;
    box-shadow:
        0 2px 12px rgba(15, 29, 66, 0.08),
        inset 0 0 0 2px var(--navy);
}

.contact-office--hq .contact-office-header {
    background: linear-gradient(135deg, #080e24 0%, #152a56 100%);
    padding: 13px 16px;
}

.contact-office-header {
    background: var(--navy);
    padding: 11px 14px;
    position: relative;
    overflow: hidden;
}

.contact-office-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(239, 63, 74, 0.12), transparent 70%);
    pointer-events: none;
}

.contact-office-badge {
    display: inline-block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(239, 63, 74, 0.2);
    color: #ff9da2;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
    border: 1px solid rgba(239, 63, 74, 0.25);
}

.contact-office-badge--secondary {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.15);
}

.contact-office-header h3 {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0;
    position: relative;
}

.contact-office-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-office--hq .contact-office-body {
    padding: 12px 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.76rem;
    color: #4a6a7a;
    line-height: 1.45;
    transition: color 0.2s;
}

.contact-item svg {
    width: 15px;
    height: 15px;
}

.contact-office:hover .contact-item {
    color: #2c4f62;
}

.contact-item svg {
    color: var(--navy);
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.contact-office:hover .contact-item svg {
    opacity: 1;
}

/* ============================================================
   OFFICE MAP — Vietnam with pin markers (dark editorial)
============================================================ */
.office-map-section {
    margin: 0 -60px;
    padding: 64px 92px 64px;
    text-align: center;
    background: linear-gradient(165deg, #0c1a3a 0%, #162650 45%, #1a2f5c 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.office-map-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 15% 20%, rgba(239, 63, 74, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 85% 75%, rgba(100, 140, 220, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.office-map-title {
    font-family: "Manrope", "Open Sans", sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.office-map-subtitle {
    max-width: 560px;
    margin: 0 auto 36px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    position: relative;
}

/* Two-column layout: map left, cards right */
.office-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
}

.office-map {
    position: sticky;
    top: 120px;
    display: block;
    width: 100%;
    overflow: visible;
}

.office-map-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.22;
    filter: saturate(0.3) brightness(1.8);
    transform: scale(1.06);
    transform-origin: center;
}

/* Pin */
.office-pin {
    position: absolute;
    z-index: 2;
    cursor: default;
}

.office-pin-dot {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red);
    border: 2.5px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 0 4px rgba(239, 63, 74, 0.2),
        0 2px 12px rgba(239, 63, 74, 0.5);
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.office-pin:hover .office-pin-dot {
    transform: scale(1.35);
    box-shadow:
        0 0 0 6px rgba(239, 63, 74, 0.25),
        0 2px 20px rgba(239, 63, 74, 0.6);
}

.office-pin-label {
    position: absolute;
    left: 50%;
    top: calc(100% + 6px);
    transform: translateX(-50%);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.office-pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border-radius: 50%;
    background: rgba(239, 63, 74, 0.12);
    z-index: 1;
    animation: pinPulse 2.8s ease-out infinite;
}

@keyframes pinPulse {
    0%   { transform: scale(0.4); opacity: 0.7; }
    100% { transform: scale(2); opacity: 0; }
}

/* Office cards — stacked vertically, no overlap */
.office-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.office-pin-card {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, rgba(28, 41, 82, 0.94) 0%, rgba(70, 87, 136, 0.84) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    box-shadow:
        0 18px 48px rgba(6, 10, 28, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    text-align: left;
}

.office-pin-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(239, 63, 74, 0.95) 0%, rgba(255, 255, 255, 0.3) 45%, rgba(112, 149, 236, 0.7) 100%);
    opacity: 0.9;
    z-index: 2;
}

.office-pin-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 20px 56px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.office-pin-photo {
    width: 100%;
    height: 132px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.office-pin-photo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: linear-gradient(to top, rgba(16, 26, 56, 0.62), transparent);
}

.office-pin-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.office-pin-card:hover .office-pin-photo img {
    transform: scale(1.06);
}

.office-pin-info {
    padding: 18px 20px 20px;
}

.office-pin-kicker {
    display: inline-flex;
    align-items: center;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff7a81;
    background: rgba(239, 63, 74, 0.16);
    border: 1px solid rgba(239, 63, 74, 0.28);
    border-radius: 999px;
    padding: 4px 11px;
    margin-bottom: 10px;
}

.office-pin-info strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.office-pin-lines,
.office-pin-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.office-pin-group {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.office-pin-group-label {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.office-pin-lines span,
.office-pin-group span:not(.office-pin-group-label) {
    display: block;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.58;
}

.office-pin-lines span:last-child,
.office-pin-group span:last-child {
    color: rgba(214, 228, 255, 0.92);
}

/* Mobile: office layout stacks */
@media (max-width: 900px) {
    .office-map-section {
        margin: 0 -20px;
        padding: 40px 20px 36px;
        border-radius: 16px;
    }

    .office-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .office-map {
        position: static;
        max-width: 200px;
        margin: 0 auto;
    }

    .office-map-img {
        transform: none;
        opacity: 0.22;
    }

    .office-cards {
        gap: 16px;
    }

    .office-pin-card {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    .office-pin-photo {
        height: 150px;
    }
}

@media (max-width: 600px) {
    .office-map-section {
        margin: 0 -16px;
        padding: 32px 16px 28px;
        border-radius: 12px;
    }

    .office-map-title {
        font-size: 1.35rem;
    }

    .office-map-subtitle {
        font-size: 0.86rem;
        margin-bottom: 24px;
    }

    .office-pin-photo {
        height: 120px;
    }

    .office-pin-info {
        padding: 12px 14px 14px;
    }
}

/* General contact */
.contact-general {
    background: #fff;
    border: 1px solid #e0eaef;
    border-radius: 18px;
    padding: 28px 32px;
    margin-top: 36px;
    position: relative;
    box-shadow: 0 2px 12px rgba(15, 29, 66, 0.04);
}

.contact-general h3 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #8aa0ad;
    margin-bottom: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-general-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.contact-general-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f6f9fb;
    border: 1px solid #e8eff3;
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
}

.contact-general-item:hover {
    background: #fff;
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(15, 29, 66, 0.08);
}

.contact-general-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(15, 29, 66, 0.08), rgba(15, 29, 66, 0.04));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s;
}

.contact-general-item:hover .contact-general-icon {
    background: var(--navy);
    color: #fff;
}

.contact-general-label {
    display: block;
    font-size: 0.68rem;
    color: #8aa0ad;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-general-item strong {
    font-size: 0.8rem;
    color: #1e3a47;
    font-weight: 600;
    display: block;
    word-break: break-word;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
    .home-hero-title { font-size: 1.9rem; }
    .home-hero-visual { display: none; }
    .home-partners-grid { grid-template-columns: repeat(3, 1fr); }
    .home-partner-card--logo-only {
        width: clamp(148px, 24vw, 190px);
        min-height: 120px;
    }
    .company-overview {
        grid-template-columns: 1fr;
    }
    .vm-grid { grid-template-columns: 1fr; }
    .vm-card {
        min-height: 420px;
    }
    .vm-card-body {
        transform: none;
    }
    .vm-card p {
        opacity: 1;
        transform: none;
    }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .vanhoa-gallery { columns: 2; }
    .culture-values { gap: 4px; }
    .culture-value-divider { display: none; }
    .finance-grid { grid-template-columns: 1fr; }
    .legal-grid { grid-template-columns: 1fr; }
    .info-section--alt .info-section-inner { max-width: 1280px; }
    .contact-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-showcase-visual {
        position: static;
    }
    .contact-offices { grid-template-columns: repeat(2, 1fr); }
    .contact-visual-img {
        max-height: 360px;
    }
    .contact-general-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .home-hero { padding: 48px 16px 40px; }
    .home-hero-title { font-size: 1.55rem; }
    .home-hero-stats { gap: 4px; }
    .home-section { padding: 48px 16px; }
    .home-partners-grid { grid-template-columns: repeat(2, 1fr); }
    .home-partners-carousel::before,
    .home-partners-carousel::after {
        width: 36px;
    }
    .home-partner-card--logo-only {
        width: clamp(132px, 48vw, 170px);
        min-height: 108px;
        padding: 14px;
    }
    .home-partner-logo img {
        max-height: 76px;
    }
    .vm-card {
        min-height: 360px;
        border-radius: 18px;
    }
    .vm-card-body {
        padding: 18px 18px 20px;
    }
    .company-overview-main h2 {
        font-size: 1.55rem;
    }
    .company-overview-visual {
        margin-top: 22px;
        border-radius: 18px;
    }
    .company-overview-visual img {
        max-height: 320px;
    }
    .company-overview-panel {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .values-grid { grid-template-columns: 1fr; }
    .vanhoa-gallery { columns: 2; }
    .culture-value span { font-size: 0.8rem; }
    .culture-value { padding: 6px 14px; }
    .info-hero h1 { font-size: 1.6rem; }
    .info-section { padding: 48px 16px; }
    .timeline { padding-left: 60px; }
    .info-section--alt .info-section-inner { max-width: 100%; }
    .contact-visual-frame {
        padding: 8px;
        border-radius: 14px;
    }
    .contact-visual-img {
        max-height: 260px;
        border-radius: 10px;
    }
    .contact-general-grid { grid-template-columns: 1fr; }
    .contact-offices { grid-template-columns: 1fr; }
}

@media (hover: none) {
    .vm-card-body {
        transform: none;
    }

    .vm-card p {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   HOME NEWS CARD GRID (3 cards)
============================================================ */
.home-news-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

.home-news-carousel {
    margin-bottom: 36px;
}

.home-news-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.home-news-dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(35, 57, 93, 0.18);
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.home-news-dot:hover {
    background: rgba(35, 57, 93, 0.38);
    transform: scale(1.08);
}

.home-news-dot.is-active {
    background: var(--accent, #ff5a5f);
    box-shadow: 0 0 0 5px rgba(255, 90, 95, 0.14);
    transform: scale(1.08);
}

.home-news-viewport {
    overflow: hidden;
}

.home-news-track {
    display: flex;
    align-items: stretch;
    will-change: transform;
}

.home-news-track.is-static {
    transition: none !important;
}

.home-news-slide {
    min-width: 100%;
    flex: 0 0 100%;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 0;
}

.home-news-card {
    background: #fff;
    border: 1px solid #e0eaef;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.home-news-grid .home-news-card.scroll-reveal:nth-child(1) { transition-delay: 0.08s; }
.home-news-grid .home-news-card.scroll-reveal:nth-child(2) { transition-delay: 0.16s; }
.home-news-grid .home-news-card.scroll-reveal:nth-child(3) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .home-reveal,
    .scroll-reveal,
    .home-product-card,

    .home-news-card,
    .home-hero-card--float,
    .home-scene::before,
    .home-scene::after,
    .home-section-header::after,
    .home-partners-track {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .home-news-track,
    .home-btn-primary,
    .home-btn-secondary,
    .home-btn-outline,
    .home-product-card,

    .home-partner-card,
    .scroll-reveal {
        transition: none !important;
    }
}

.home-news-card:hover {
    border-color: var(--navy);
    box-shadow: 0 6px 20px rgba(72,114,132,0.12);
    transform: translateY(-3px);
}

.home-news-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #edf4f7;
    flex-shrink: 0;
}

.home-news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.home-news-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-news-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-news-card-date {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.home-news-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.45;
    margin-bottom: 10px;
    flex: 1;
}

.home-news-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.home-news-card-title a:hover {
    color: var(--red);
}

.home-news-card-excerpt {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-news-card-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
    transition: gap 0.2s;
}

.home-news-card-more:hover {
    gap: 8px;
}

.home-news-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.home-news-progress {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #628391;
}

.home-news-dots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-news-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #c3d6df;
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.home-news-dot:hover {
    background: #91b3c0;
    transform: scale(1.05);
}

.home-news-dot.active {
    width: 30px;
    background: var(--navy);
}

.home-news-footer {
    text-align: center;
}

/* ============================================================
   TIN TUC PAGE
============================================================ */
.tintuc-page {
    width: 100%;
}

.tintuc-body {
    background: #f6f9fb;
    min-height: 320px;
}

.tintuc-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 80px 24px;
    color: #5a7a8a;
    font-size: 0.95rem;
}

.tintuc-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 24px;
}

.tintuc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* News cards on tin-tuc page use same card style */
.tintuc-card {
    background: #fff;
    border: 1px solid #e0eaef;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.tintuc-card:hover {
    border-color: var(--navy);
    box-shadow: 0 6px 20px rgba(72,114,132,0.12);
    transform: translateY(-3px);
}

.tintuc-card-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #edf4f7;
    flex-shrink: 0;
}

.tintuc-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.tintuc-card:hover .tintuc-card-img-wrap img {
    transform: scale(1.04);
}

.tintuc-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tintuc-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tintuc-card-date {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tintuc-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e3a47;
    line-height: 1.45;
    margin-bottom: 10px;
    flex: 1;
}

.tintuc-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.tintuc-card-title a:hover {
    color: var(--navy);
}

.tintuc-card-excerpt {
    font-size: 0.83rem;
    color: #5a7a8a;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tintuc-card-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: gap 0.2s;
}

.tintuc-card-more:hover {
    gap: 8px;
}

/* Pagination */
.tintuc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tintuc-pg-btn {
    background: #fff;
    border: 1px solid #d0e0e8;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.tintuc-pg-btn:hover:not(:disabled) {
    background: #edf4f7;
    border-color: var(--navy);
}

.tintuc-pg-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.tintuc-pg-pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tintuc-pg-num {
    min-width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #d0e0e8;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.tintuc-pg-num:hover:not(:disabled):not(.ellipsis) {
    background: #edf4f7;
    border-color: var(--navy);
}

.tintuc-pg-num.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.tintuc-pg-num.ellipsis {
    border: none;
    background: transparent;
    cursor: default;
    color: #8aacba;
}

/* ============================================================
   RESPONSIVE — news grids
============================================================ */
@media (max-width: 900px) {
    .home-why-layout { grid-template-columns: 1fr; }
    .home-why-player-col { position: static; }
    .home-why-playlist { max-height: 260px; }
    .home-news-grid { grid-template-columns: repeat(2, 1fr); }
    .tintuc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .home-why-pthumb { width: 80px; min-width: 80px; }
    .home-news-grid { grid-template-columns: 1fr; }
    .tintuc-grid { grid-template-columns: 1fr; }
    .tintuc-inner { padding: 32px 16px; }
}

/* ============================================================
   ACCESSORIES DETAIL MODAL
============================================================ */
.acc-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(20, 24, 32, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    animation: accDetailFadeIn 0.25s ease;
    font-family: "Manrope", "Open Sans", sans-serif;
}
@keyframes accDetailFadeIn { from { opacity: 0; } to { opacity: 1; } }

.acc-detail {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    min-height: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 40px 90px rgba(16,24,40,0.35), 0 0 0 1px rgba(239,63,74,0.08);
    animation: accDetailPopIn 0.35s cubic-bezier(0.2, 0.8, 0.25, 1);
}
@keyframes accDetailPopIn {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.acc-detail-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.9);
    color: #1a2433;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(16,24,40,0.12);
}
.acc-detail-close:hover {
    background: #EF3F4A;
    color: #fff;
    border-color: #EF3F4A;
    transform: rotate(90deg);
}

/* ── MEDIA SIDE ── */
.acc-detail-media {
    position: relative;
    background:
        radial-gradient(circle at 30% 20%, rgba(239,63,74,0.09), transparent 55%),
        linear-gradient(180deg, #f8f9fb 0%, #eef0f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 36px;
    overflow: hidden;
    min-height: 420px;
}
.acc-detail-media-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 100%, rgba(239,63,74,0.14), transparent 55%);
    pointer-events: none;
}
.acc-detail-media::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px dashed rgba(26, 36, 51, 0.08);
    border-radius: 12px;
    pointer-events: none;
}
.acc-detail-cat {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 3;
    padding: 6px 12px;
    background: #fff;
    color: #EF3F4A;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 100px;
    border: 1px solid rgba(239,63,74,0.2);
    box-shadow: 0 4px 12px rgba(16,24,40,0.08);
}
.acc-detail-media img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 18px 28px rgba(16,24,40,0.18));
    animation: accDetailImgIn 0.6s 0.1s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}
@keyframes accDetailImgIn {
    from { opacity: 0; transform: translateY(14px) scale(0.94); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.acc-detail-media-empty {
    position: relative;
    z-index: 2;
    opacity: 0.6;
}
.acc-detail-sku {
    position: absolute;
    bottom: 20px;
    left: 22px;
    z-index: 3;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 36, 51, 0.45);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    max-width: calc(100% - 44px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── BODY SIDE ── */
.acc-detail-body {
    padding: 44px 40px 36px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}
.acc-detail-body::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 0;
    width: 4px;
    height: 36px;
    background: #EF3F4A;
    border-radius: 0 2px 2px 0;
}
.acc-detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7480;
    margin-bottom: 14px;
    animation: accDetailSlide 0.5s 0.1s ease both;
}
.acc-detail-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EF3F4A;
    box-shadow: 0 0 0 3px rgba(239,63,74,0.18);
}
.acc-detail-title {
    margin: 0 0 16px;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1a2433;
    animation: accDetailSlide 0.5s 0.15s ease both;
}
.acc-detail-desc {
    margin: 0 0 22px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4a5363;
    animation: accDetailSlide 0.5s 0.2s ease both;
}
.acc-detail-desc--muted { color: #8892a0; font-style: italic; }

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

.acc-detail-meta {
    margin-bottom: 24px;
    border-top: 1px solid #ececef;
    padding-top: 18px;
    animation: accDetailSlide 0.5s 0.25s ease both;
}
.acc-detail-meta-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    padding: 10px 0;
    align-items: start;
    font-size: 0.88rem;
    border-bottom: 1px dashed #f4f4f6;
}
.acc-detail-meta-row:last-child { border-bottom: none; }
.acc-detail-meta-label {
    color: #8892a0;
    font-weight: 600;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-top: 4px;
}
.acc-detail-meta-value {
    color: #1a2433;
    font-weight: 600;
}
.acc-detail-compat {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.acc-detail-compat-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #fff1f2;
    color: #EF3F4A;
    border: 1px solid rgba(239,63,74,0.2);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.acc-detail-compat-chip:hover {
    background: #EF3F4A;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(239,63,74,0.3);
}

.acc-detail-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    animation: accDetailSlide 0.5s 0.3s ease both;
}
.acc-detail-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    background: #EF3F4A;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.22s ease;
    box-shadow: 0 6px 18px rgba(239,63,74,0.32);
}
.acc-detail-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(239,63,74,0.4);
    background: #e02933;
}
.acc-detail-primary.is-added {
    background: #1ab673;
    box-shadow: 0 6px 18px rgba(26,182,115,0.32);
}
.acc-detail-ghost {
    padding: 13px 18px;
    background: #fff;
    border: 1px solid #ececef;
    color: #1a2433;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.acc-detail-ghost:hover {
    border-color: #EF3F4A;
    color: #EF3F4A;
}

@media (max-width: 720px) {
    .acc-detail-overlay {
        padding: 14px;
        align-items: flex-start;
    }
    .acc-detail {
        grid-template-columns: 1fr;
        max-height: 95vh;
        overflow-y: auto;
    }
    .acc-detail-media {
        min-height: 260px;
        padding: 36px 24px 28px;
    }
    .acc-detail-media img { max-height: 200px; }
    .acc-detail-body { padding: 28px 24px 26px; }
    .acc-detail-title { font-size: 1.35rem; }
    .acc-detail-actions { flex-direction: column; }
    .acc-detail-ghost, .acc-detail-primary { width: 100%; }
    .acc-detail-meta-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================
   ACCESSORIES SHOP PAGE (e-commerce style)
============================================================ */
.acc-shop {
    --acc-red: var(--main-color);
    --acc-red-soft: #fff1f2;
    --acc-ink: #1a2433;
    --acc-ink-soft: #6b7480;
    --acc-line: #ececef;
    --acc-line-soft: #f4f4f6;
    --acc-bg: #fafbfc;
    background: var(--acc-bg);
    font-family: "Manrope", "Open Sans", sans-serif;
    color: var(--acc-ink);
}

/* ── HERO ─────────────────────────────── */
.acc-shop-hero {
    background:
        radial-gradient(1200px 400px at 85% -20%, rgba(239,63,74,0.12), transparent 60%),
        radial-gradient(800px 300px at 10% 110%, rgba(239,63,74,0.08), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border-bottom: 1px solid var(--acc-line);
    padding: 56px 24px 44px;
    position: relative;
    overflow: hidden;
}
.acc-shop-hero::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(239,63,74,0.06), transparent 70%);
    pointer-events: none;
}
.acc-shop-hero-inner {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
}
.acc-shop-hero-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--acc-ink-soft);
    margin-bottom: 14px;
    letter-spacing: 0.01em;
}
.acc-shop-hero-crumbs a {
    color: var(--acc-ink-soft);
    text-decoration: none;
    transition: color 0.18s;
}
.acc-shop-hero-crumbs a:hover { color: var(--acc-red); }
.acc-shop-hero-crumbs span:last-child { color: var(--acc-ink); font-weight: 600; }

.acc-shop-hero h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--acc-ink);
    line-height: 1.1;
}
.acc-shop-hero h1::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    background: var(--acc-red);
    border-radius: 2px;
    margin-top: 16px;
}
.acc-shop-hero p {
    max-width: 620px;
    margin: 0;
    color: var(--acc-ink-soft);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ── LAYOUT ──────────────────────────── */
.acc-shop-layout {
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 24px 72px;
    display: grid;
    grid-template-columns: 248px 1fr;
    gap: 28px;
    align-items: start;
}

/* ── SIDEBAR ─────────────────────────── */
.acc-shop-sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.acc-shop-widget {
    background: #fff;
    border: 1px solid var(--acc-line);
    border-radius: 10px;
    padding: 18px 18px 14px;
    box-shadow: 0 1px 2px rgba(16,24,40,0.03);
}
.acc-shop-widget-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--acc-line-soft);
}
.acc-shop-widget-accent {
    width: 3px;
    height: 16px;
    background: var(--acc-red);
    border-radius: 2px;
}
.acc-shop-widget-head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--acc-ink);
    text-transform: uppercase;
}

/* Category nav */
.acc-shop-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.acc-shop-nav li + li { border-top: 1px dashed var(--acc-line-soft); }
.acc-shop-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 6px;
    font-size: 0.9rem;
    color: #4a5363;
    text-decoration: none;
    transition: color 0.18s, transform 0.18s;
}
.acc-shop-nav-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d0d4db;
    flex-shrink: 0;
    transition: all 0.18s;
}
.acc-shop-nav-label { flex: 1; }
.acc-shop-nav-count {
    font-size: 0.76rem;
    color: var(--acc-ink-soft);
    background: var(--acc-line-soft);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.18s;
}
.acc-shop-nav a:hover {
    color: var(--acc-red);
    transform: translateX(2px);
}
.acc-shop-nav a:hover .acc-shop-nav-dot { background: var(--acc-red); }
.acc-shop-nav a.is-active {
    color: var(--acc-red);
    font-weight: 700;
}
.acc-shop-nav a.is-active .acc-shop-nav-dot {
    background: var(--acc-red);
    box-shadow: 0 0 0 3px rgba(239,63,74,0.15);
}
.acc-shop-nav a.is-active .acc-shop-nav-count {
    background: var(--acc-red);
    color: #fff;
}

/* Checkbox filter */
.acc-shop-check {
    list-style: none;
    padding: 0;
    margin: 0;
}
.acc-shop-check label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 2px;
    font-size: 0.88rem;
    color: #4a5363;
    cursor: pointer;
    user-select: none;
    transition: color 0.18s;
}
.acc-shop-check input { display: none; }
.acc-shop-check-box {
    width: 16px;
    height: 16px;
    border: 1.5px solid #cfd4dc;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.18s;
}
.acc-shop-check-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.acc-shop-check label:hover { color: var(--acc-red); }
.acc-shop-check label:hover .acc-shop-check-box { border-color: var(--acc-red); }
.acc-shop-check label.is-checked { color: var(--acc-red); font-weight: 600; }
.acc-shop-check label.is-checked .acc-shop-check-box {
    background: var(--acc-red);
    border-color: var(--acc-red);
}
.acc-shop-check label.is-checked .acc-shop-check-box::after {
    content: "";
    position: absolute;
    left: 4px; top: 0px;
    width: 5px; height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.acc-shop-clear {
    margin-top: 10px;
    width: 100%;
    padding: 9px;
    background: transparent;
    border: 1px solid var(--acc-red);
    color: var(--acc-red);
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
}
.acc-shop-clear:hover { background: var(--acc-red); color: #fff; }

/* Help card */
.acc-shop-help {
    position: relative;
    background: linear-gradient(135deg, #2b3444 0%, #1a2433 100%);
    color: #fff;
    border-radius: 10px;
    padding: 22px 20px;
    overflow: hidden;
}
.acc-shop-help-glow {
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(239,63,74,0.55), transparent 70%);
    pointer-events: none;
}
.acc-shop-help h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    position: relative;
}
.acc-shop-help p {
    margin: 0 0 14px;
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.75);
    position: relative;
}
.acc-shop-help-btn {
    display: inline-block;
    padding: 9px 18px;
    background: var(--acc-red);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.18s, box-shadow 0.18s;
    position: relative;
}
.acc-shop-help-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(239,63,74,0.35);
    color: #fff;
}

/* ── MAIN ────────────────────────────── */
.acc-shop-main {
    display: block;
    width: 100%;
    min-width: 0;
}

/* Unified filter bar (count + chips) */
.acc-shop-bar {
    background: #fff;
    border: 1px solid var(--acc-line);
    border-radius: 10px;
    margin-bottom: 22px;
    box-shadow: 0 1px 2px rgba(16,24,40,0.03);
    overflow: hidden;
}
.acc-shop-bar-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
}
.acc-shop-filter-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid var(--acc-line);
    background: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--acc-ink);
    font-family: inherit;
}
.acc-shop-bar-info {
    flex: 1;
    font-size: 0.9rem;
    color: var(--acc-ink-soft);
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.acc-shop-bar-info strong {
    color: var(--acc-red);
    font-size: 1.3rem;
    font-weight: 800;
    font-feature-settings: "tnum";
    letter-spacing: -0.01em;
}
.acc-shop-bar-info em {
    font-style: normal;
    color: var(--acc-ink);
    font-weight: 700;
    margin-left: 4px;
    position: relative;
    padding-left: 10px;
}
.acc-shop-bar-info em::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--acc-red);
}
.acc-shop-bar-clear {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    background: var(--acc-red-soft);
    border: 1px solid rgba(239,63,74,0.2);
    color: var(--acc-red);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s ease;
}
.acc-shop-bar-clear:hover {
    background: var(--acc-red);
    color: #fff;
    border-color: var(--acc-red);
}
.acc-shop-search {
    flex: 1;
    max-width: 380px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--acc-line);
    border-radius: 8px;
    background: #fff;
    color: #7b8694;
}
.acc-shop-search:focus-within {
    border-color: rgba(239,63,74,0.42);
    box-shadow: 0 0 0 3px rgba(239,63,74,0.12);
}
.acc-shop-search input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--acc-ink);
    font-size: 0.88rem;
    font-family: inherit;
}
.acc-shop-search input::placeholder {
    color: #9aa2ad;
}
.acc-shop-search-clear {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: #eef1f4;
    color: #6f7a86;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.acc-shop-search-clear:hover {
    background: #e4e8ec;
    color: #2f3a49;
}

.acc-shop-bar-chips {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px 14px;
    border-top: 1px dashed var(--acc-line-soft);
    background: linear-gradient(180deg, #fafbfc, #fff);
}
.acc-shop-bar-chips-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--acc-ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    padding-left: 10px;
}
.acc-shop-bar-chips-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 12px;
    background: var(--acc-red);
    border-radius: 2px;
}
.acc-shop-chips-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--acc-line) transparent;
    padding-bottom: 2px;
}
.acc-shop-chips-row::-webkit-scrollbar { height: 4px; }
.acc-shop-chips-row::-webkit-scrollbar-thumb { background: var(--acc-line); border-radius: 2px; }
.acc-shop-chip {
    padding: 7px 14px;
    background: #fff;
    border: 1px solid var(--acc-line);
    color: #4a5363;
    border-radius: 100px;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: inherit;
    flex-shrink: 0;
}
.acc-shop-chip:hover {
    border-color: var(--acc-red);
    color: var(--acc-red);
    transform: translateY(-1px);
}
.acc-shop-chip.is-active {
    background: var(--acc-red);
    border-color: var(--acc-red);
    color: #fff;
    box-shadow: 0 4px 12px rgba(239,63,74,0.28);
}
.acc-shop-chips-clear {
    padding: 7px 12px;
    background: transparent;
    border: none;
    color: var(--acc-ink-soft);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: underline;
    font-family: inherit;
}
.acc-shop-chips-clear:hover { color: var(--acc-red); }

@media (max-width: 640px) {
    .acc-shop-bar-top { padding: 12px 14px; gap: 10px; flex-wrap: wrap; }
    .acc-shop-search { max-width: none; width: 100%; order: 3; }
    .acc-shop-bar-chips {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 14px 12px;
        gap: 8px;
    }
    .acc-shop-chips-row { width: 100%; }
}

/* Loading */
.acc-shop-loading {
    text-align: center;
    padding: 80px 20px;
    color: var(--acc-ink-soft);
    font-size: 0.9rem;
}
.acc-shop-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--acc-line);
    border-top-color: var(--acc-red);
    border-radius: 50%;
    animation: accShopSpin 0.8s linear infinite;
    margin: 0 auto 14px;
}
@keyframes accShopSpin { to { transform: rotate(360deg); } }

/* Grid */
.acc-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

/* Card */
.acc-shop-card {
    background: #fff;
    border: 2px solid rgba(22, 38, 80, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16,24,40,0.04);
}
.acc-shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(16,24,40,0.1);
    border-color: var(--main-color);
}

.acc-shop-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
    border-bottom: 1px solid rgba(22, 38, 80, 0.08);
}
.acc-shop-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 9px;
    background: #fff;
    color: var(--acc-red);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 3px;
    border: 1px solid rgba(239,63,74,0.2);
    box-shadow: 0 2px 6px rgba(16,24,40,0.06);
}
.acc-shop-card-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.acc-shop-card-img img {
    mix-blend-mode: darken;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.acc-shop-card:hover .acc-shop-card-img img { transform: scale(1.05); }
.acc-shop-card-img.is-placeholder { background: var(--acc-line-soft); }

.acc-shop-card-quick {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--acc-line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--acc-ink);
    box-shadow: 0 4px 12px rgba(16,24,40,0.08);
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
}
.acc-shop-card:hover .acc-shop-card-quick {
    opacity: 1;
    transform: translateY(0);
}
.acc-shop-card-quick:hover {
    background: var(--acc-red);
    color: #fff;
    border-color: var(--acc-red);
}
.acc-shop-card-quick.is-added {
    background: #1ab673;
    color: #fff;
    border-color: #1ab673;
    opacity: 1;
    transform: translateY(0);
}

.acc-shop-card-body {
    padding: 14px 14px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.acc-shop-card-name {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--acc-ink);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.55em;
}
.acc-shop-card:hover .acc-shop-card-name { color: var(--acc-red); }
.acc-shop-card-desc {
    margin: 0;
    font-size: 0.78rem;
    color: var(--acc-ink-soft);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}
.acc-shop-card-for {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 0.72rem;
    color: var(--acc-ink-soft);
    margin-top: auto;
    padding-top: 6px;
}
.acc-shop-card-for svg { color: var(--acc-red); flex-shrink: 0; }
.acc-shop-card-for-label { font-weight: 500; }
.acc-shop-card-for-names {
    display: inline;
    color: var(--acc-ink);
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}
.acc-shop-card-for-names strong { font-weight: 600; }
.acc-shop-card-for-names strong + strong::before {
    content: ", ";
    font-weight: 400;
    color: var(--acc-ink-soft);
}
.acc-shop-card-for em {
    font-style: normal;
    color: var(--acc-red);
    font-weight: 700;
    flex-shrink: 0;
}

.acc-shop-card-foot {
    padding: 0 14px 14px;
}
.acc-shop-card-cta {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--acc-red);
    background: #fff;
    color: var(--acc-red);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s ease;
    letter-spacing: 0.01em;
    font-family: inherit;
}
.acc-shop-card-cta:hover {
    background: var(--acc-red);
    color: #fff;
    box-shadow: 0 6px 16px rgba(239,63,74,0.28);
}
.acc-shop-card-cta.is-added {
    background: #1ab673;
    border-color: #1ab673;
    color: #fff;
}
/* Hover swap: show "Xoá khỏi giỏ" when already in cart */
.acc-cta-remove { display: none; }
.acc-shop-card-cta.is-added:hover {
    background: #fff;
    border-color: #EF3F4A;
    color: #EF3F4A;
    box-shadow: 0 6px 16px rgba(239,63,74,0.2);
}
.acc-shop-card-cta.is-added:hover .acc-cta-added { display: none; }
.acc-shop-card-cta.is-added:hover .acc-cta-remove { display: inline; }

.acc-detail-primary.is-added:hover {
    background: #fff;
    color: #EF3F4A;
    box-shadow: 0 10px 22px rgba(239,63,74,0.25);
    border: 1px solid #EF3F4A;
    padding: 12px 17px;
}
.acc-detail-primary.is-added:hover .acc-cta-added,
.acc-detail-primary.is-added:hover .acc-cta-icon-added { display: none; }
.acc-detail-primary.is-added:hover .acc-cta-remove,
.acc-detail-primary.is-added:hover .acc-cta-icon-remove { display: inline-flex; }
.acc-cta-icon-remove { display: none; }

/* Pagination */
.acc-shop-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.acc-shop-pager-nums {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 4px;
}
.acc-shop-pager-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--acc-line);
    color: var(--acc-ink);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    font-feature-settings: "tnum";
    cursor: pointer;
    transition: all 0.18s ease;
    position: relative;
}
.acc-shop-pager-btn:hover:not([disabled]):not(.is-ellipsis) {
    border-color: var(--acc-red);
    color: var(--acc-red);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239,63,74,0.15);
}
.acc-shop-pager-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}
.acc-shop-pager-num.is-active {
    background: var(--acc-red);
    border-color: var(--acc-red);
    color: #fff;
    box-shadow: 0 6px 16px rgba(239,63,74,0.32);
    transform: translateY(-1px);
}
.acc-shop-pager-num.is-active:hover {
    color: #fff;
    border-color: var(--acc-red);
}
.acc-shop-pager-num.is-ellipsis {
    border: none;
    background: transparent;
    cursor: default;
    color: var(--acc-ink-soft);
    letter-spacing: 0.1em;
    min-width: 24px;
    padding: 0;
}
.acc-shop-pager-arrow svg { transition: transform 0.2s ease; }
.acc-shop-pager-arrow:hover:not([disabled]) svg:first-child { transform: translateX(-2px); }
.acc-shop-pager-arrow:hover:not([disabled]) svg:last-child { transform: translateX(2px); }

.acc-shop-pager-info {
    text-align: center;
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--acc-ink-soft);
}
.acc-shop-pager-info strong {
    color: var(--acc-red);
    font-weight: 800;
    font-feature-settings: "tnum";
}

@media (max-width: 540px) {
    .acc-shop-pager-btn { min-width: 34px; height: 34px; padding: 0 8px; font-size: 0.8rem; }
    .acc-shop-pager-arrow span { display: none; }
}

/* Empty state */
.acc-shop-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--acc-ink-soft);
}
.acc-shop-empty p {
    margin: 16px 0 8px;
    font-size: 0.95rem;
}
.acc-shop-empty a {
    color: var(--acc-red);
    font-weight: 600;
    text-decoration: none;
}
.acc-shop-empty a:hover { text-decoration: underline; }

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 1024px) {
    .acc-shop-layout {
        grid-template-columns: 1fr;
    }
    .acc-shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 290px;
        padding: 72px 18px 24px;
        background: #fafbfc;
        z-index: 9998;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        box-shadow: 8px 0 30px rgba(0,0,0,0.12);
    }
    .acc-shop-sidebar.is-open { transform: translateX(0); }
    .acc-shop-filter-toggle { display: flex; }
}

@media (max-width: 640px) {
    .acc-shop-hero { padding: 40px 20px 32px; }
    .acc-shop-layout { padding: 24px 16px 56px; }
    .acc-shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .acc-shop-card-body { padding: 10px 10px 6px; }
    .acc-shop-card-foot { padding: 0 10px 10px; }
    .acc-shop-card-name { font-size: 0.85rem; }
    .acc-shop-card-cta { padding: 8px; font-size: 0.78rem; }
}

/* ══════════════════════════════════════════════════════
   LANGUAGE TOGGLE
══════════════════════════════════════════════════════ */
/* ── Language toggle pill-switch ─────────────────── */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(22,38,80,0.06);
    border-radius: 8px;
    padding: 3px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(22,38,80,0.45);
    padding: 4px 9px;
    border-radius: 6px;
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    line-height: 1.4;
    flex-shrink: 0;
}

.lang-btn:hover {
    color: var(--navy);
}

.lang-btn.lang-active {
    color: var(--navy);
    background: #fff;
    box-shadow: 0 1px 4px rgba(22,38,80,0.12), 0 0 0 0.5px rgba(22,38,80,0.08);
}

/* Mobile lang toggle */
.mobile-lang-toggle {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 8px 0 4px;
}

.mobile-lang-toggle .lang-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    padding: 7px 16px;
    border-radius: 8px;
    letter-spacing: 0.02em;
    border: 1.5px solid rgba(22,38,80,0.12);
    background: transparent;
    box-shadow: none;
}

.mobile-lang-toggle .lang-btn.lang-active {
    color: var(--main-color);
    border-color: var(--main-color);
    background: rgba(239,63,74,0.05);
    box-shadow: none;
}

/* ============================================================
   NAVBAR SEARCH
============================================================ */

/* Search icon button (same style as cart button) */
.header-search-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    border-radius: 50%;
    color: #0d1b3e;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.header-search-btn:hover {
    background: rgba(13,27,62,0.08);
    color: var(--main-color, #0056b3);
}

/* Wrapper that holds icon OR expanded box */
.header-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40px;
    min-height: 40px;
    flex-shrink: 0;
    overflow: visible;
}

/* Expanded search box */
.header-search-box {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #d0d8ea;
    border-radius: 14px;
    padding: 8px 10px;
    min-width: 320px;
    box-shadow: 0 10px 26px rgba(13,27,62,0.16);
    animation: searchDropdownIn 0.18s ease;
    z-index: 10;
    white-space: nowrap;
}

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

.header-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    color: #1a1a2e;
    width: 220px;
    font-family: inherit;
}

.header-search-input::placeholder {
    color: #9aa5bc;
}

.header-search-submit,
.header-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    border-radius: 50%;
    color: #5a6a8a;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.header-search-submit {
    background: var(--main-color, #0056b3);
    color: #fff;
}

.header-search-submit:hover {
    background: #003f8a;
}

.header-search-close:hover {
    background: rgba(0,0,0,0.08);
    color: #1a1a2e;
}

/* Mobile search bar (below header, full-width) */
.mobile-search-bar {
    display: none;
    padding: 8px 16px;
    background: #fff;
    border-top: 1px solid #eaecf0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.mobile-search-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f4f6fb;
    border: 1.5px solid #d0d8ea;
    border-radius: 24px;
    padding: 6px 10px 6px 16px;
}

.mobile-search-inner .header-search-input {
    width: 100%;
    flex: 1;
}

@media (max-width: 991px) {
    /* Hide desktop search wrap on mobile */
    .header-nav .header-search-wrap { display: none; }
    /* Show mobile search button in controls */
    .mobile-search-btn { display: inline-flex; }
    /* Show mobile search bar when open */
    .mobile-search-bar { display: block; }
}

@media (min-width: 992px) {
    .mobile-search-btn { display: none; }
    .mobile-search-bar { display: none !important; }
}

/* ============================================================
   SEARCH RESULTS PAGE
============================================================ */

.search-page {
    min-height: 60vh;
}

/* Hero */
.search-hero {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6e 100%);
    padding: 60px 0 48px;
    color: #fff;
}

.search-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.search-hero-crumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.search-hero-crumbs a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.15s;
}

.search-hero-crumbs a:hover {
    color: #fff;
}

.search-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 28px;
    color: #fff;
}

/* Search bar in hero */
.search-bar-wrap {
    width: 100%;
}

.search-bar-inner {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    gap: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.search-bar-icon {
    width: 20px;
    height: 20px;
    color: #9aa5bc;
    flex-shrink: 0;
}

.search-bar-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #1a1a2e;
    font-family: inherit;
}

.search-bar-input::placeholder {
    color: #aab4c8;
}

.search-bar-btn {
    background: var(--main-color, #0056b3);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 10px 24px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.search-bar-btn:hover {
    background: #003f8a;
}

/* Results wrapper */
.search-results-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* Loading / empty states */
.search-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 60px 20px;
    color: #7a8aa0;
}

.search-state h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d3a50;
    margin: 0;
}

.search-state p {
    font-size: 0.95rem;
    margin: 0;
    max-width: 400px;
    line-height: 1.6;
}

.search-state--error {
    color: #c0392b;
}

.search-state--error p {
    color: #c0392b;
}

.search-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e6f0;
    border-top-color: var(--main-color, #0056b3);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.search-browse-btn {
    display: inline-block;
    margin-top: 8px;
    background: var(--main-color, #0056b3);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
}

.search-browse-btn:hover {
    background: #003f8a;
    color: #fff;
}

/* Summary */
.search-summary {
    font-size: 0.92rem;
    color: #6b7a90;
    margin-bottom: 32px;
}

/* Section */
.search-section {
    margin-bottom: 48px;
}

.search-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eaecf2;
}

.search-section-head h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--main-color, #0056b3);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 12px;
}

/* Grid */
.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* Card */
.search-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8ecf4;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.search-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.10);
    transform: translateY(-3px);
    color: inherit;
}

.search-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f4f6fb;
}

.search-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.search-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8d0e0;
}

.search-card-body {
    padding: 16px 16px 8px;
    flex: 1;
}

.search-card-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--main-color, #0056b3);
    background: rgba(0,86,179,0.08);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.search-card-name {
    font-size: 0.97rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.4;
}

.search-card-desc {
    font-size: 0.82rem;
    color: #7a8aa0;
    margin: 0;
    line-height: 1.5;
}

.search-card-footer {
    padding: 10px 16px 14px;
    border-top: 1px solid #f0f2f8;
}

.search-card-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--main-color, #0056b3);
    transition: color 0.15s;
}

.search-card:hover .search-card-link {
    color: #003f8a;
}

@media (max-width: 600px) {
    .search-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }

    .search-hero {
        padding: 40px 0 32px;
    }

    .search-bar-btn {
        padding: 9px 16px;
        font-size: 0.85rem;
    }
}
