/* ========================================
   Warnitha Bookshop — Clean Minimal Design
   Font: Inter
   ======================================== */

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

:root {
    --primary: #2637a9;
    --primary-dark: #1e2d8a;
    --accent: #3a4fd4;
    --dark: #1a1a1a;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #e8e8e8;
    --bg: #ffffff;
    --bg-gray: #f8f8f8;
    --bg-warm: #faf7f2;
    --green: #27ae60;
    --orange: #e67e22;
    --blue: #2980b9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    padding: 8px 0;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar i {
    margin-right: 6px;
    opacity: 0.7;
}

/* ========================================
   Header
   ======================================== */
.header {
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 24px;
    color: var(--primary);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark);
}

.logo-accent {
    color: var(--primary);
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-img {
    height: 40px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    padding: 4px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown > .nav-link {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Prominent “button” nav items (Bookshop, Print Shop) */
.nav-link--cta {
    padding: 8px 16px;
    border-radius: var(--radius);
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link--cta:hover {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(38, 55, 169, 0.45);
}

.nav-link--cta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
    background: var(--accent);
    color: #fff !important;
}

.nav-link--cta.active {
    background: var(--primary-dark);
    color: #fff !important;
}

.nav-link--cta.active::after {
    display: none;
}

.nav-link--cta i {
    opacity: 0.95;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 200;
    margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-register-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: var(--radius);
}

.header-register-link:hover {
    background: var(--bg-gray);
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: var(--transition);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Navbar search: icon only (no text field). Hides legacy cached markup if present. */
.header-actions .header-search-form,
.header-actions .header-search-input,
.header-actions .header-search-submit {
    display: none !important;
}

.header-actions .header-search-link {
    text-decoration: none;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
}

.header-actions .header-search-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 2px;
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    color: #0a0a0a;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile menu toggle (hidden on desktop) */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.mobile-menu-root {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-root {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 300;
        pointer-events: none;
        visibility: hidden;
    }

    .mobile-menu-root.mobile-menu-root--open {
        pointer-events: auto;
        visibility: visible;
    }

    .mobile-menu-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        transition: opacity 0.28s ease;
    }

    .mobile-menu-root.mobile-menu-root--open .mobile-menu-backdrop {
        opacity: 1;
    }

    .mobile-menu-panel {
        position: absolute;
        top: 0;
        right: 0;
        width: min(100vw - 40px, 360px);
        max-width: 100%;
        height: 100%;
        height: 100dvh;
        background: #fff;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .mobile-menu-root.mobile-menu-root--open .mobile-menu-panel {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid var(--border);
        flex-shrink: 0;
    }

    .mobile-menu-title {
        font-size: 17px;
        font-weight: 700;
        color: var(--dark);
    }

    .mobile-menu-close {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 50%;
        background: var(--bg-gray);
        color: var(--text);
        font-size: 18px;
        cursor: pointer;
        transition: var(--transition);
    }

    .mobile-menu-close:hover {
        background: var(--border);
    }

    .mobile-menu-nav {
        flex: 1;
        overflow-y: auto;
        padding: 12px 0 20px;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu-link {
        display: block;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        color: var(--dark);
        border-bottom: 1px solid var(--bg-gray);
        transition: var(--transition);
    }

    .mobile-menu-link:hover,
    .mobile-menu-link.active {
        color: var(--primary);
        background: rgba(37, 99, 235, 0.06);
    }

    .mobile-menu-link--sub {
        font-weight: 500;
        font-size: 14px;
        padding-left: 28px;
        color: var(--text-light);
    }

    /* Bookshop + Print Shop — same emphasis as desktop nav CTA buttons */
    a.mobile-menu-link.mobile-menu-link--cta {
        margin: 8px 16px 10px;
        padding: 14px 18px;
        border-radius: var(--radius);
        background: var(--primary) !important;
        color: #fff !important;
        font-weight: 700;
        font-size: 15px;
        text-align: left;
        border-bottom: none !important;
        box-shadow: 0 2px 8px rgba(38, 55, 169, 0.35);
        letter-spacing: 0.01em;
    }

    a.mobile-menu-link.mobile-menu-link--cta:hover,
    a.mobile-menu-link.mobile-menu-link--cta:focus-visible {
        background: var(--accent) !important;
        color: #fff !important;
    }

    a.mobile-menu-link.mobile-menu-link--cta.active {
        background: var(--primary-dark) !important;
        color: #fff !important;
        box-shadow: 0 0 0 2px rgba(38, 55, 169, 0.35);
    }

    /* Bookshop — categories in a collapsible row (same idea as desktop nav dropdown) */
    .mobile-menu-details {
        margin: 8px 16px 10px;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(38, 55, 169, 0.2);
    }

    .mobile-menu-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 18px;
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        background: var(--primary);
        cursor: pointer;
        list-style: none;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    .mobile-menu-summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu-summary--cta:hover {
        background: var(--accent);
    }

    .mobile-menu-details--active .mobile-menu-summary--cta {
        background: var(--primary-dark);
        box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    }

    .mobile-menu-chevron {
        font-size: 10px;
        opacity: 0.95;
        transition: transform 0.25s ease;
        flex-shrink: 0;
    }

    .mobile-menu-details[open] .mobile-menu-chevron {
        transform: rotate(180deg);
    }

    .mobile-menu-details[open] .mobile-menu-summary--cta {
        background: var(--accent);
    }

    .mobile-menu-dropdown-list {
        padding: 6px 0;
        background: #fff;
        border-top: 1px solid rgba(38, 55, 169, 0.15);
    }

    .mobile-menu-dropdown-link {
        display: block;
        padding: 12px 18px 12px 22px;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-light);
        border-bottom: 1px solid var(--bg-gray);
        transition: var(--transition);
    }

    .mobile-menu-dropdown-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-dropdown-link:hover,
    .mobile-menu-dropdown-link:focus-visible,
    .mobile-menu-dropdown-link.active {
        color: var(--primary);
        background: rgba(37, 99, 235, 0.08);
    }

    .mobile-menu-subhead {
        padding: 16px 20px 8px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--text-muted);
    }

    .mobile-menu-user {
        display: block;
        padding: 4px 20px 12px;
        font-size: 13px;
        font-weight: 600;
        color: var(--text-muted);
    }

    .mobile-menu-trust {
        flex-shrink: 0;
        padding: 16px 18px 24px;
        border-top: 1px solid var(--border);
        background: var(--bg-warm);
    }

    .mobile-menu-trust-title {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-muted);
        margin-bottom: 12px;
    }

    .mobile-menu-trust-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .trust-item--compact {
        font-size: 12px;
        align-items: flex-start;
        line-height: 1.35;
    }

    .trust-item--compact i {
        margin-top: 2px;
        flex-shrink: 0;
    }

    .trust-bar--desktop {
        display: none;
    }

    .logo-img {
        height: 52px;
    }
}

/* ========================================
   Trust Bar (scrolling marquee on desktop)
   ======================================== */
.trust-bar {
    padding: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Edge-to-edge ticker row (100vw + margin trick; html overflow-x hidden avoids stray scrollbar) */
.trust-bar.trust-marquee-bar {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.trust-marquee-viewport {
    overflow: hidden;
    padding: 12px 0;
    width: 100%;
    max-width: none;
}

.trust-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    gap: 0;
    /* Longer strip = longer path across the screen; duration keeps motion readable */
    -webkit-animation: trust-marquee-scroll 40s linear infinite;
    animation: trust-marquee-scroll 40s linear infinite;
}

.trust-marquee-group {
    display: flex;
    align-items: center;
    gap: clamp(28px, 5vw, 56px);
    padding-right: clamp(28px, 5vw, 56px);
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.trust-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}

.trust-marquee-item i {
    color: var(--green);
    font-size: 16px;
    flex-shrink: 0;
}

@-webkit-keyframes trust-marquee-scroll {
    from {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    to {
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes trust-marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        /* Half of total track = one full copy of the message set (two identical groups) */
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-marquee-track {
        -webkit-animation: none;
        animation: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        row-gap: 10px;
        padding: 0 16px;
    }

    .trust-marquee-group[aria-hidden='true'] {
        display: none;
    }

    .trust-marquee-group {
        padding-right: 0;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.trust-bar-inner {
    display: flex;
    justify-content: space-between;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

.trust-item i {
    color: var(--green);
    font-size: 16px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--dark);
}

.btn-white {
    background: #fff;
    color: var(--dark);
    font-weight: 600;
}

.btn-white:hover {
    background: var(--bg-gray);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    background: #e8eef8;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg-image, url('/images/bookshop hero.png'));
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 0;
}

/* Light wash so headline stays readable without hiding the photo (especially at the top) */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.258) 0%,
        rgba(255, 255, 255, 0.152) 28%,
        rgba(255, 255, 255, 0.1) 55%,
        rgba(255, 255, 255, 0) 85%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 56px;
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    min-height: min(52vh, 420px);
}

.hero-content {
    text-align: center;
    max-width: 620px;
    width: 100%;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 28px;
    letter-spacing: -1px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85), 0 0 24px rgba(255, 255, 255, 0.45);
}

.text-accent {
    color: var(--primary);
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 500px;
    object-fit: cover;
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--bg-gray);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

/* Intentional two-line titles (e.g. Books / Special Offer) */
.section-title--stack {
    line-height: 1.15;
    min-width: 0;
}

.section-title-row2 {
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 768px) {
    /* Only "Books / Special Offer" blocks — keeps other section-headers (e.g. title + View more) in a row */
    .section-header:has(.section-title--stack) {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-header:has(.section-title--stack) .section-subtitle {
        order: -1;
        margin-bottom: 0;
        align-self: stretch;
    }

    .section-header:has(.section-title--stack) .section-title--stack {
        width: 100%;
    }
}

.view-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-more:hover {
    gap: 10px;
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

/* ========================================
   Categories Grid
   ======================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

/* Image fills the top; label is a separate bar below, visually one block */
.category-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-lg);
    background-color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.category-card__media {
    position: relative;
    flex: 1 1 auto;
    min-height: 220px;
    background-color: #1e293b;
    background-size: cover;
    background-position: center;
}

.category-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    /*background: linear-gradient(to bottom, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(15, 23, 42, 0.55) 100%);*/
    z-index: 0;
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
    border-color: rgba(255, 255, 255, 0.2);
}

.category-card__footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: 0;
    padding: 12px 14px;
    background: #000;
    transition: background 0.2s ease;
}

.category-card:hover .category-card__footer {
    background: var(--primary-dark);
}

.category-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.35;
    max-width: none;
}

/* Print Shop: same category tiles as home, not product links */
.print-category-card {
    cursor: default;
}

.print-shop-categories .category-card h3 {
    font-size: 13px;
}

/* 7th tile (Book Lists / Others): center when it sits alone on the last row */
@media (max-width: 1024px) and (min-width: 769px) {
    .categories-grid .category-card:last-child {
        grid-column: 2 / 3;
    }
}

@media (max-width: 768px) {
    .categories-grid .category-card:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 20px) / 2);
        max-width: 100%;
    }
}

.category-count {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   Product Cards
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Homepage only: swipeable product row on small screens */
@media (max-width: 768px) {
    .home-products-slider {
        margin-left: -24px;
        margin-right: -24px;
        padding: 0 24px 12px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 24px;
        scrollbar-width: thin;
        touch-action: pan-x;
    }

    .home-products-slider::-webkit-scrollbar {
        height: 5px;
    }

    .home-products-slider::-webkit-scrollbar-thumb {
        background: var(--border);
        border-radius: 4px;
    }

    .home-products-slider .products-grid--home {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 16px;
        grid-template-columns: unset;
    }

    .home-products-slider .products-grid--home > .product-card {
        flex: 0 0 min(300px, 82vw);
        max-width: none;
        scroll-snap-align: start;
    }

    .home-products-slider .products-grid--home > .section-empty-msg {
        flex: 0 0 100%;
        min-width: 100%;
        text-align: center;
        padding: 20px 8px;
        scroll-snap-align: start;
    }
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: transparent;
}

.product-image {
    position: relative;
    padding: 24px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

.product-image img {
    max-height: 220px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-sale {
    background: var(--orange);
    color: #fff;
}

.badge-new {
    background: var(--green);
    color: #fff;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #f39c12;
    font-size: 12px;
}

.product-rating span {
    font-size: 12px;
    color: var(--text-muted);
}

.product-price {
    margin-top: auto;
    margin-bottom: 12px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.price-old {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
}

.stock i {
    font-size: 6px;
}

.in-stock {
    color: var(--green);
}

.low-stock {
    color: var(--orange);
}

.pre-order {
    color: var(--blue);
}

.stock.out-of-stock {
    color: #dc2626;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Search page
   ======================================== */
.search-page-section {
    padding-top: 0;
}

.search-tools {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 28px 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.search-text-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-text-icon {
    color: var(--text-muted);
    font-size: 18px;
}

.search-text-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
}

.search-text-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-image-block {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.search-image-label {
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 8px;
}

.search-image-label i {
    margin-right: 8px;
    color: var(--primary);
}

.search-image-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    max-width: 560px;
    line-height: 1.5;
}

.search-image-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.search-file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.search-file-label {
    cursor: pointer;
}

.search-file-name {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-status {
    font-size: 14px;
    margin-top: 12px;
    color: var(--text-muted);
}

.search-status-error {
    color: #c0392b;
}

.search-results-meta {
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--text-light);
}

.search-results-grid {
    margin-top: 8px;
}

.search-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}

.search-empty i {
    font-size: 40px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.search-prompt-hint {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================================
   Promo Cards
   ======================================== */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.promo-card {
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    min-height: 220px;
}

.promo-dark {
    background: var(--dark);
    color: #fff;
}

.promo-accent {
    background: var(--primary);
    color: #fff;
}

.promo-warm {
    background: #2c3e50;
    color: #fff;
}

.promo-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 8px;
}

.promo-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.promo-title span {
    opacity: 0.85;
}

.promo-image {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 160px;
    height: 160px;
    opacity: 0.3;
    border-radius: 50%;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    position: relative;
    z-index: 1;
}

/* ========================================
   Tabs
   ======================================== */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.tab {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tab:hover {
    border-color: var(--text-muted);
}

.tab.active {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

/* ========================================
   Reviews
   ======================================== */
.reviews-section {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}

.reviews-summary {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.reviews-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.reviews-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.reviews-stars i {
    color: #f39c12;
    font-size: 20px;
}

.reviews-count {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.google-badge img {
    margin: 0 auto;
}

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

.review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-source {
    margin-left: auto;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}

.review-stars i {
    color: #f39c12;
    font-size: 13px;
}

.review-text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Homepage: customer reviews slider */
.reviews-slider-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    width: 100%;
}

.reviews-slider-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.reviews-slider {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.reviews-slider-wrap .review-card {
    box-sizing: border-box;
    flex-shrink: 0;
}

.reviews-slider-wrap .slider-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.reviews-slider-wrap .slider-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 768px) {
    .reviews-slider-wrap {
        gap: 8px;
    }

    .reviews-slider-wrap .slider-arrow {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   Newsletter
   ======================================== */
.newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.newsletter h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.newsletter p {
    font-size: 14px;
    color: var(--text-light);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.newsletter-input {
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    width: 300px;
    background: #fff;
    outline: none;
    transition: var(--transition);
}

.newsletter-input:focus {
    border-color: var(--primary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    color: var(--primary);
}

.footer-logo .logo-text {
    color: #fff;
}

.footer-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 14px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

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

/* Higher specificity than .footer-col a so icons stay centered in circles */
.footer-col .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    font-size: 14px;
    width: 36px;
    height: 36px;
    padding: 0;
}

.footer-col .social-links a i {
    line-height: 1;
}

.footer-col p {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col p i {
    margin-top: 3px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #666;
}

.footer-copyright a {
    color: #94a3b8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.payment-methods {
    display: flex;
    gap: 12px;
    font-size: 24px;
    color: #666;
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .current {
    color: var(--text);
    font-weight: 500;
}

/* ========================================
   Product Detail Page
   ======================================== */
.product-detail {
    padding: 48px 0 80px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    position: sticky;
    top: 90px;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumb {
    width: 80px;
    height: 90px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    transition: var(--transition);
    cursor: pointer;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb.active,
.thumb:hover {
    border-color: var(--primary);
}

.gallery-main {
    position: relative;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.gallery-main img {
    max-height: 500px;
    object-fit: contain;
    padding: 24px;
}

.gallery-zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--text-light);
    transition: var(--transition);
}

.gallery-zoom:hover {
    color: var(--primary);
}

/* Product Info */
.product-detail-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.product-author {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.product-author strong {
    color: var(--primary);
}

.product-detail-badge {
    margin-bottom: 16px;
}

.stock-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.stock-badge.in-stock {
    background: #e8f8ef;
    color: var(--green);
}

.stock-badge.low-stock {
    background: #fff8e6;
    color: #ca8a04;
}

.stock-badge.out-of-stock {
    background: #fef2f2;
    color: #dc2626;
}

.stock-badge.pre-order {
    background: #eef2ff;
    color: var(--primary);
}

.product-meta-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.product-meta-row span {
    padding: 4px 12px;
    background: var(--bg-gray);
    border-radius: 4px;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.product-detail-rating .stars i {
    font-size: 14px;
}

.product-detail-rating span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Product page — customer reviews */
.product-reviews-section {
    padding-top: 8px;
    padding-bottom: 48px;
}

.product-review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-review-card {
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.product-review-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.product-review-date {
    font-size: 13px;
    color: var(--text-muted);
}

.product-review-stars {
    margin-bottom: 8px;
}

.product-review-stars i {
    font-size: 14px;
}

.product-review-body {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    white-space: pre-wrap;
}

.product-review-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
}

.product-detail-price {
    margin-bottom: 8px;
}

.detail-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.installment-info {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.payzy-badge {
    font-weight: 700;
    color: var(--green);
}

/* Payment Options */
.payment-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.payment-option {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.payment-option i {
    font-size: 22px;
    color: var(--text-muted);
}

.payment-option.highlighted {
    border-color: #dab5f5;
    background: #faf5ff;
}

.payment-option.highlighted i {
    color: #8b5cf6;
}

.payment-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.payment-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}

.payment-options-note {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: -12px 0 24px;
    max-width: 42em;
}

/* Add to Cart */
.add-to-cart-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text);
    background: var(--bg-gray);
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--border);
}

.qty-input {
    width: 50px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.add-to-cart-btn {
    flex: 1;
    justify-content: center;
    height: 48px;
}

.wishlist-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.wishlist-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.wishlist-btn.active {
    color: #e11d48;
    border-color: rgba(225, 29, 72, 0.45);
    background: rgba(225, 29, 72, 0.06);
}

.wishlist-btn.active:hover {
    color: #be123c;
    border-color: #e11d48;
}

.wishlist-card-wrap {
    position: relative;
}

.wishlist-card-wrap .wishlist-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.wishlist-card-wrap .wishlist-remove-btn:hover {
    background: #fff;
    color: #c0392b;
}

/* Accordion */
.product-details-accordion {
    border-top: 1px solid var(--border);
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.accordion-header i {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.accordion-item.open .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    display: none;
    padding-bottom: 20px;
}

.accordion-item.open .accordion-body {
    display: block;
}

.accordion-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.accordion-body ul {
    list-style: none;
    padding: 0;
}

.accordion-body ul li {
    font-size: 14px;
    color: var(--text-light);
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
}

.accordion-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
    border: none;
}

.specs-table td {
    padding: 10px 0;
    font-size: 14px;
}

.specs-table td:first-child {
    color: var(--text-muted);
    width: 140px;
    font-weight: 500;
}

.specs-table td:last-child {
    color: var(--text);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .reviews-section {
        grid-template-columns: 1fr;
    }
    .reviews-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-right {
        display: none;
    }
    .nav {
        display: none;
    }
    .hero {
        min-height: 400px;
    }
    .hero::before {
        background-position: center 40%;
    }
    .hero-inner {
        padding: 36px 16px 40px;
        min-height: min(48vh, 280px);
    }
    .hero-title {
        font-size: 32px;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .newsletter {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    .newsletter-input {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .product-gallery {
        position: static;
    }
    .payment-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .reviews-list {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 48px 0;
    }
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* ========================================
   Products Page
   ======================================== */
.page-header {
    background: var(--bg-warm);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-light);
    font-size: 16px;
}

.products-filters {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.products-filters-pills {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-pill {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg-gray);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.category-pill:hover,
.category-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.products-count {
    font-size: 14px;
    color: var(--text-muted);
}

.products-filter-label {
    align-self: center;
    margin-right: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.subcategory-pills {
    align-items: center;
}

.subcategory-select-wrap {
    display: none;
}

.products-filters-mobile-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 8px;
}

.products-count--mobile-only {
    display: none;
}

.subcategory-filter-select {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 500;
    color: var(--dark);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    appearance: auto;
    transition: var(--transition);
}

.subcategory-filter-select:hover,
.subcategory-filter-select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

@media (max-width: 768px) {
    .subcategory-pills--desktop {
        display: none !important;
    }

    .subcategory-select-wrap {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .products-filters-mobile-head {
        display: flex;
    }

    .products-count--desktop-only {
        display: none !important;
    }

    .products-count--mobile-only {
        display: inline;
    }

    .products-filters {
        align-items: stretch;
    }

    .products-filters-pills {
        width: 100%;
    }
}

/* ========================================
   Booklists
   ======================================== */
.booklists-section {
    padding-top: 40px;
}

.container--booklists {
    max-width: 720px;
}

.booklists-intro {
    margin-bottom: 28px;
    padding: 20px 22px;
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-light);
}

.booklists-intro strong {
    color: var(--dark);
}

.booklist-form.contact-form h2 {
    margin-bottom: 20px;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
}

.contact-info-card .icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-form {
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: #fff;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(38,55,169,0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-map {
    margin-top: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 250px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Auth (login / register)
   ======================================== */
.auth-section {
    padding-top: 0;
}

.auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
}

.auth-card-wide {
    max-width: 560px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.auth-form input,
.auth-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.auth-form textarea {
    resize: vertical;
    min-height: 88px;
}

.auth-form input:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row-auth {
        grid-template-columns: 1fr;
    }
}

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

.form-error {
    font-size: 13px;
    color: #c0392b;
    margin-bottom: 12px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
}

.cart-inline-msg {
    font-size: 14px;
    margin-top: 12px;
    font-weight: 500;
}

/* ========================================
   Shopping cart
   ======================================== */
.cart-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}

.cart-empty i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.cart-empty p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.cart-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cart-table th,
.cart-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-table .btn-icon.delete {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #dc2626;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background 0.2s;
}

.cart-table .btn-icon.delete:hover {
    background: #fef2f2;
}

.cart-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
}

.cart-product img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.cart-product-name {
    font-weight: 600;
    color: var(--dark);
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.cart-qty .qty-input {
    width: 48px;
    text-align: center;
    border: 1px solid var(--border);
    padding: 6px 4px;
    border-radius: var(--radius);
}

.cart-summary-card {
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    position: sticky;
    top: 24px;
}

.cart-summary-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.cart-summary-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cart-summary .btn-block + .btn-block {
    margin-top: 10px;
}

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

/* Checkout & order detail */
.checkout-section .checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}
.checkout-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.checkout-summary-panel {
    position: sticky;
    top: 88px;
    background: var(--bg-gray);
}
.checkout-card-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 700;
}
.checkout-form .form-group {
    margin-bottom: 16px;
}
.checkout-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    font-size: 13px;
}
.radio-pill input {
    width: auto;
}
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.payment-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
}
.payment-radio input {
    width: auto;
}
.checkout-lines {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: 14px;
}
.checkout-lines li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.checkout-totals .row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}
.checkout-totals .row.total {
    font-weight: 800;
    font-size: 18px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid var(--border);
}
.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.order-detail-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.order-detail-card h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}
.order-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.order-items-table th,
.order-items-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.order-detail-totals .row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}
.order-detail-totals .row.total {
    font-weight: 700;
    margin-top: 8px;
}
.text-muted {
    color: var(--text-muted);
    font-size: 14px;
}
@media (max-width: 900px) {
    .checkout-section .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-summary-panel {
        position: static;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Coming Soon Page
   ======================================== */
/* ---- Print Shop Coming Soon (Modern) ---- */
.coming-soon-hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f0f4ff 0%, #e8eeff 40%, #f8f6ff 100%);
}

/* Print Shop: intro → category grid → WhatsApp (column stack, full-width grid) */
.coming-soon-hero--stacked {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 56px;
    padding-bottom: 64px;
}

.coming-soon-hero--stacked > .coming-soon-content-modern {
    align-self: center;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-hero--stacked > .coming-soon-content-modern--cta {
    align-self: center;
    margin-top: 32px;
}

.coming-soon-hero--stacked .coming-soon-content-modern:not(.coming-soon-content-modern--cta) p {
    margin-bottom: 20px;
}

.print-shop-categories--in-hero {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    padding: 8px 0 12px;
    margin: 0;
}

.print-shop-categories__header {
    justify-content: center;
    margin-bottom: 22px;
}

.print-shop-categories__header .section-title {
    margin: 0;
}

.coming-soon-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cs-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.cs-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -120px;
    right: -80px;
}

.cs-shape-2 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    bottom: -60px;
    left: -40px;
}

.cs-shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary);
    top: 40%;
    left: 10%;
    opacity: 0.07;
}

.coming-soon-content-modern {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.cs-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 28px;
    background: white;
    box-shadow: 0 8px 32px rgba(60, 60, 200, 0.10), 0 1px 4px rgba(0,0,0,0.04);
    margin-bottom: 28px;
    color: var(--primary);
}

.cs-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.coming-soon-content-modern h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.coming-soon-content-modern h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-content-modern p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cs-services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}

.cs-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: white;
    border: 1px solid #e2e6f0;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cs-service-tag svg {
    color: var(--primary);
    flex-shrink: 0;
}

.cs-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-cta:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-back-subtle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-back-subtle:hover {
    color: var(--primary);
}

@media (max-width: 600px) {
    .coming-soon-hero {
        min-height: 65vh;
        padding: 50px 16px;
    }
    .coming-soon-content-modern h1 {
        font-size: 30px;
    }
    .cs-icon-wrap {
        width: 80px;
        height: 80px;
        border-radius: 22px;
    }
    .cs-icon-wrap svg {
        width: 48px;
        height: 48px;
    }
    .btn-whatsapp-cta {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* ========================================
   Offers Page
   ======================================== */
.offers-banner {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.offers-banner h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

.offers-banner p {
    font-size: 18px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .page-header {
        padding: 28px 0;
    }

    .page-header h1 {
        font-size: 24px;
        line-height: 1.25;
    }

    .page-header p {
        font-size: 14px;
        line-height: 1.5;
    }

    .offers-banner {
        padding: 36px 0;
    }

    .offers-banner h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .offers-banner h1 svg {
        width: 28px !important;
        height: 28px !important;
        margin-right: 8px !important;
        vertical-align: -0.15em !important;
    }

    .offers-banner p {
        font-size: 14px;
        line-height: 1.55;
        max-width: 22em;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 22px;
    }

    .offers-banner h1 {
        font-size: 22px;
    }

    .offers-banner p {
        font-size: 13px;
    }
}

/* ========================================
   Static / legal pages (shipping, FAQs, terms)
   ======================================== */
.static-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
}

.static-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 0.75rem;
}

.static-content h2:first-of-type {
    margin-top: 0;
}

.static-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin: 1.25rem 0 0.5rem;
}

.static-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.static-lead {
    font-size: 1.05rem;
    color: var(--text) !important;
    margin-bottom: 1.5rem !important;
}

.static-content ul,
.static-content ol {
    margin: 0 0 1rem 1.25rem;
    color: var(--text-light);
}

.static-ol {
    list-style: decimal;
}

.static-content a {
    color: var(--primary);
    font-weight: 500;
}

.static-content a:hover {
    text-decoration: underline;
}

.static-note {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background: var(--bg-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin-bottom: 0 !important;
}

.faqs-page .faq-block {
    margin-bottom: 2.5rem;
}

.faqs-page .faq-block > h2 {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.faqs-page .faq-accordion {
    margin-top: 0;
}

.faqs-page .accordion-header {
    text-align: left;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    align-items: flex-start;
    gap: 12px;
}

.faqs-page .accordion-header span {
    flex: 1;
    min-width: 0;
    font-weight: 600;
}

.faqs-page .accordion-header i {
    flex-shrink: 0;
    margin-top: 3px;
}

.faqs-page .accordion-body p:last-child {
    margin-bottom: 0;
}
