

/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════ */
:root {
    --bg: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-light: #EDEDE9;
    --bg-dark: #111110;
    --bg-dark-2: #1C1C1B;

    --ink: #0E0E0D;
    --ink-2: #3D3D3A;
    --ink-3: #7A7A77;
    --ink-4: #B8B8B5;

    --border: #DDDDD8;
    --border-2: #C8C8C3;

    --surface: #FFFFFF;

    --blue: #1A56DB;
    --blue-d: #1344C5;
    --blue-bg: #EEF2FF;
    --blue-bdr: #C7D7FE;

    --green: #059669;
    --green-bg: #ECFDF5;
    --red: #DC2626;
    --red-bg: #FEF2F2;

    --sh-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --sh-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --sh: 0 4px 20px rgba(0, 0, 0, 0.07);
    --sh-lg: 0 16px 48px rgba(0, 0, 0, 0.10);
    --sh-xl: 0 32px 80px rgba(0, 0, 0, 0.13);

    --r-xs: 4px;
    --r-sm: 8px;
    --r: 12px;
    --r-lg: 18px;
    --r-xl: 28px;
    --r-full: 9999px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Hide template demo launcher & scroll indicator ── */
.theme-demos { display: none !important; }
.scroll-progress { display: none !important; }

/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ═══════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════ */
[data-anim] {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.8s var(--ease-out),
        transform 0.8s var(--ease-out);
    will-change: opacity, transform;
}

[data-anim="from-left"] {
    transform: translateX(-40px);
}

[data-anim="from-right"] {
    transform: translateX(40px);
}

[data-anim="scale-up"] {
    transform: scale(0.88);
}

[data-anim="fade"] {
    transform: none;
}

[data-anim].in-view {
    opacity: 1;
    transform: none;
}

[data-delay="1"].in-view {
    transition-delay: 0.06s;
}

[data-delay="2"].in-view {
    transition-delay: 0.14s;
}

[data-delay="3"].in-view {
    transition-delay: 0.22s;
}

[data-delay="4"].in-view {
    transition-delay: 0.30s;
}

[data-delay="5"].in-view {
    transition-delay: 0.38s;
}

/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
.show-mobile {
    display: none !important;
}

.navbar {
    height: 64px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(246, 245, 242, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--ink);
    white-space: nowrap;
}

.nav-logo span {
    color: var(--blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-3);
    padding: 0.5rem 0.875rem;
    border-radius: var(--r-full);
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--ink);
    background: var(--bg-light);
}

/* Prevent app.css from overriding Crafto navbar nav-link hover styles */
.navbar-nav .nav-link {
    border-radius: 0;
    background: transparent;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    background-color: transparent;
}

.nav-link.active {
    color: var(--ink);
    background: var(--bg-light);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Dark pill cart button */
.nav-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ink);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--r-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.nav-cart-btn:hover {
    background: var(--ink-2);
    transform: translateY(-1px);
    color: #fff;
    box-shadow: var(--sh-sm);
}

.nav-cart-count {
    background: var(--blue);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon-only round button */
.nav-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--ink-2);
    font-size: 0.8rem;
    font-weight: 600;
}

.nav-icon-btn:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.nav-store-info {
    line-height: 1.25;
}

.nav-powered {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-4);
}

.nav-store-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.nav-sep {
    width: 1px;
    height: 22px;
    background: var(--border);
    margin: 0 0.25rem;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--sh-md);
    min-width: 160px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.nav-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: var(--ink-2);
    background: transparent;
    border: none;
    border-radius: var(--r-sm);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s;
}

.nav-dropdown-item:hover {
    background: var(--bg);
}

.nav-dropdown-item svg {
    color: var(--ink-4);
}

/* Hamburger Button */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--ink);
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.5rem;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */

/* Dark */
.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-dark:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    box-shadow: var(--sh-sm);
    transform: translateY(-1px);
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Blue (primary) */
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 1px 3px rgba(26, 86, 219, 0.2);
}

.btn-primary:hover {
    background: var(--blue-d);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.3);
}

/* Outline */
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--ink-2);
}

.btn-outline:hover {
    border-color: var(--ink);
    color: var(--ink);
    background: var(--bg-light);
}

/* Ghost */
.btn-ghost {
    background: transparent;
    color: var(--ink-3);
    padding: 0.6rem 1rem;
}

.btn-ghost:hover {
    background: var(--bg-light);
    color: var(--ink);
}

/* Danger */
.btn-danger {
    background: transparent;
    border: 1.5px solid #FECACA;
    color: var(--red);
    font-size: 0.78rem;
    padding: 0.35rem 0.875rem;
}

.btn-danger:hover {
    background: var(--red-bg);
    border-color: var(--red);
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
}

.w-full {
    width: 100%;
}

/* ═══════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════ */
.form-group {
    margin-bottom: 1.125rem;
}

.checkout-city-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
}

.checkout-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--ink-2);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.1rem;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.925rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(14, 14, 13, 0.07);
}

.form-control::placeholder {
    color: var(--ink-4);
}

.form-control.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

/* ═══════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════ */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-xs);
    padding: 2rem;
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════ */
.hero-wrap {
    position: relative;
    padding: 3rem 0 6rem;
    overflow: hidden;
}

/* Subtle bg texture */
.hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(26, 86, 219, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 85% 70%, rgba(5, 150, 105, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* Animated decorative ring */
.hero-ring {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid var(--border);
    opacity: 0.5;
    animation: spin-slow 30s linear infinite;
    pointer-events: none;
}

.hero-ring::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
    bottom: 60px;
    border-radius: 50%;
    border: 1px solid var(--border);
    animation: spin-slow 20s linear infinite reverse;
}

@keyframes spin-slow {
    to {
        transform: rotate(360deg);
    }
}

.hero-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.12) 0%, rgba(5, 150, 105, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ambient-float 15s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes ambient-float {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-40%, -60%) scale(1.1);
    }
}

.hero-inner {
    position: relative;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--ink-2);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.875rem;
    border-radius: var(--r-full);
    margin-bottom: 2.5rem;
    box-shadow: var(--sh-xs);
    /* hero-load animation */
    animation: slide-up 0.8s var(--ease-out) 0.1s both;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.65);
        opacity: 0.45;
    }
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin-bottom: 2rem;
    animation: slide-up 0.9s var(--ease-out) 0.22s both;
}

.hero-title em {
    font-style: italic;
    color: var(--blue);
}

.text-gradient-anim {
    background: linear-gradient(270deg, var(--blue), var(--green), var(--blue));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-text 4s linear infinite;
    font-style: normal !important;
}

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

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

.hero-title .line-2 {
    display: block;
    font-weight: 300;
    font-style: italic;
    color: var(--ink-3);
    font-size: 0.85em;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--ink-3);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 3rem;
    animation: slide-up 0.8s var(--ease-out) 0.38s both;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slide-up 0.8s var(--ease-out) 0.5s both;
}

.hero-input-pill {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-full);
    padding: 0.375rem 0.375rem 0.375rem 1.25rem;
    box-shadow: var(--sh-sm);
    max-width: 380px;
    width: 100%;
}

.hero-email-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--ink);
    background: transparent;
    cursor: text;
    min-width: 0;
}

.hero-email-input.error {
    color: var(--red);
}

.hero-email-input::placeholder {
    color: var(--ink-4);
}

.hero-hint {
    font-size: 0.78rem;
    color: var(--ink-4);
    margin-top: 1rem;
    animation: slide-up 0.8s var(--ease-out) 0.6s both;
}

.hero-hint a {
    color: var(--ink-3);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-hint a:hover {
    color: var(--ink);
}

/* Enrolled companies bar */
.enrolled-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    animation: slide-up 0.8s var(--ease-out) 0.75s both;
}

.enrolled-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-4);
}

.co-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.875rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-2);
    transition: all 0.2s;
}

.co-pill:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.co-more {
    font-size: 0.78rem;
    color: var(--ink-4);
}

/* ── Hero stats strip ── */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-top: 5rem;
}

.stat-cell {
    background: var(--bg-white);
    padding: 1.75rem 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--ink-3);
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

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

/* ═══════════════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════════════ */
.features-section {
    padding: 7rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.section-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    display: block;
    margin-bottom: 1rem;
}

.features-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

.features-header h2 {
    margin-bottom: 0.75rem;
}

.features-header p {
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.25rem;
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue-bg) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-lg);
    border-color: var(--blue-bdr);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--ink-2);
    position: relative;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.feature-card h3 {
    margin-bottom: 0.625rem;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    position: relative;
}

/* ═══════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════ */
.how-section {
    padding: 7rem 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.how-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 100%, rgba(26, 86, 219, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.how-section .section-eyebrow {
    color: #60A5FA;
}

.how-section h2 {
    color: #fff;
}

.how-intro {
    color: #71717A;
    margin-top: 0.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-top: 4rem;
}

.step-cell {
    background: var(--bg-dark);
    padding: 2.5rem 2rem;
    position: relative;
    transition: background 0.3s;
}

.step-cell:hover {
    background: var(--bg-dark-2);
}

.step-num {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.step-dot {
    width: 36px;
    height: 36px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}

.step-cell h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 0.975rem;
}

.step-cell p {
    font-size: 0.85rem;
    color: #71717A;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   PRICING SECTION
═══════════════════════════════════════════════════ */
.pricing-section {
    padding: 7rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.pricing-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.pricing-text h2 {
    margin-bottom: 1rem;
}

.pricing-text p {
    font-size: 1rem;
    max-width: 420px;
}

.price-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
}

.price-node {
    flex: 1;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.price-node.featured {
    border-color: var(--blue);
    border-width: 2px;
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.07);
    transform: scale(1.05);
}

.price-node:hover:not(.featured) {
    box-shadow: var(--sh);
    transform: translateY(-2px);
}

.pn-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-4);
    margin-bottom: 0.625rem;
    display: block;
}

.price-node.featured .pn-label {
    color: var(--blue);
}

.pn-val {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--ink);
}

.pn-val.strike {
    text-decoration: line-through;
    color: var(--ink-4);
    font-size: 1.5rem;
}

.pn-val.blue {
    color: var(--blue);
}

.pn-val.green {
    color: var(--green);
}

.pn-sub {
    font-size: 0.72rem;
    color: var(--ink-4);
    margin-top: 0.375rem;
}

.pn-badge {
    display: inline-block;
    background: var(--blue-bg);
    color: var(--blue);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--r-full);
    margin-top: 0.5rem;
    letter-spacing: 0.03em;
}

.pt-arrow {
    color: var(--ink-4);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   STOREFRONT – STORE LAYOUT
═══════════════════════════════════════════════════ */
.store-page {
    /* padding-top: 2rem;
    padding-bottom: 5rem; */
}

.store-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 0 1.75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.store-topbar .btn {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.store-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    padding-top: 0rem;
}

/* ── Filter Sidebar ── */
.filter-sidebar {
    position: sticky;
    top: 84px;
    align-self: start;
}

/* ── Filter mobile toggle & overlay ── */
.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.filter-toggle-btn:hover {
    border-color: var(--ink-3);
}

.filter-close-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink-3);
    padding: 0.2rem;
    line-height: 1;
    transition: color 0.2s;
}

.filter-close-btn:hover {
    color: var(--ink);
}

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

.filter-overlay.active {
    display: block;
}

.filter-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filter-heading span {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.filter-clear {
    font-size: 0.75rem;
    color: var(--ink-4);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    transition: color 0.2s;
}

.filter-clear:hover {
    color: var(--red);
}

.filter-group {
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
}

.filter-group-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 1rem;
    cursor: pointer;
    user-select: none;
}

.filter-group-title svg {
    color: var(--ink-4);
    transition: transform 0.2s;
}

/* Search input in sidebar */
.filter-search {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.4rem 0.625rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.filter-search:focus-within {
    border-color: var(--ink);
}

.filter-search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.78rem;
    color: var(--ink);
    background: transparent;
}

.filter-search input::placeholder {
    color: var(--ink-4);
}

/* Size pill filters */
.size-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-pill input {
    display: none;
}

.size-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.375rem 0.875rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    background: none;
    font-family: inherit;
    transition: all 0.18s;
}

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

/* Brand pill filters */
.brand-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.brand-pill {
    padding: 0.375rem 0.875rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    background: none;
    font-family: inherit;
    transition: all 0.18s;
    white-space: nowrap;
}

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

/* Brand label on product cards */
.product-brand {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--ink-4);
    margin-bottom: 0.2rem;
}

/* Checkbox filters */
.check-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    cursor: pointer;
}

.check-item-left {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.check-box {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.check-item:hover .check-box {
    border-color: var(--ink);
}

.check-item.active .check-box {
    background: var(--ink);
    border-color: var(--ink);
}

.check-label {
    font-size: 0.82rem;
    color: var(--ink-2);
}

.check-count {
    font-size: 0.72rem;
    color: var(--ink-4);
    font-weight: 500;
}

/* Price range */
.price-range-track {
    position: relative;
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    margin: 1.5rem 0 1.25rem;
    overflow: visible;
}

.price-range-fill {
    position: absolute;
    height: 100%;
    background: var(--ink);
    border-radius: 2px;
    left: 0;
    right: 0;
    pointer-events: none;
}

.price-range-input {
    position: absolute;
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ink);
    cursor: pointer;
    pointer-events: all;
    border: 2px solid var(--bg-white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.price-range-input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ink);
    cursor: pointer;
    pointer-events: all;
    border: 2px solid var(--bg-white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.price-range-input::-moz-range-track {
    background: none;
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--ink-3);
    font-weight: 500;
}

/* Sort dropdown */
.sort-select {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-full);
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%237A7A77' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.25rem;
    transition: border-color 0.2s;
}

.sort-select:focus {
    outline: none;
    border-color: var(--ink);
}

/* ── Product grid ── */
.store-main {}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.products-count {
    font-size: 0.82rem;
    color: var(--ink-3);
    font-weight: 500;
}

.toolbar-sort-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toolbar-sort-label {
    font-size: 0.82rem;
    color: var(--ink-3);
    font-weight: 500;
    white-space: nowrap;
}

.toolbar-sort {
    width: auto;
    min-width: 0;
    font-size: 0.82rem;
    padding-right: 1.75rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.875rem;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color 0.22s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--border-2);
}

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

.product-img-wrap {
    position: relative;
    background: #ebebeb;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: transform 0.5s var(--ease-out), opacity 0.3s ease;
}

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

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--ink);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--r-full);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-tag.green {
    background: var(--green);
}

.product-tag.out-of-stock {
    background: #6B7280;
}

.product-card-link.out-of-stock .product-img {
    filter: grayscale(55%);
    opacity: 0.72;
}

.product-oos-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6B7280;
    letter-spacing: 0.02em;
}

.product-info {
    padding: 0.5rem 0.75rem 0.625rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.15rem;
    letter-spacing: -0.01em;
}

.product-desc {
    font-size: 0.73rem;
    color: var(--ink-4);
    margin-bottom: 0.35rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.product-price {
    font-size: 1rem;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
}

/* ═══════════════════════════════════════════════════
   CART
═══════════════════════════════════════════════════ */
.page-header {
    padding: 2.5rem 0 1.75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2.5rem;
}

.page-header h2 {
    font-size: 1.75rem;
}

.page-header p {
    font-size: 0.875rem;
    color: var(--ink-3);
    margin-top: 0.25rem;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    padding-bottom: 5rem;
    align-items: start;
}

.cart-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.cart-panel-header {
    padding: 1.125rem 1.75rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-3);
}

.cart-item {
    display: flex;
    gap: 1.125rem;
    align-items: center;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background: var(--bg);
}

.cart-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--r-sm);
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--bg-light);
}

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

.cart-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.cart-qty {
    font-size: 0.8rem;
    color: var(--ink-4);
}

.cart-right {
    text-align: right;
    flex-shrink: 0;
}

.cart-price {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

/* Grouped cart items */
.cart-group {
    border-bottom: 1px solid var(--border);
}

.cart-group:last-child {
    border-bottom: none;
}

.cart-group-body {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem 1.75rem;
    align-items: flex-start;
}

.cart-group-left {
    flex-shrink: 0;
    width: 110px;
}

.cart-group-left .cart-img {
    width: 110px;
    height: 110px;
    margin-bottom: 0.625rem;
}

.cart-group-right {
    flex: 1;
    min-width: 0;
}

.cart-size-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-size-row:first-child {
    padding-top: 0;
}

.cart-size-row:last-child {
    border-bottom: none;
}

.cart-size-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-3);
    width: 36px;
    flex-shrink: 0;
    text-align: center;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    padding: 0.15rem 0.25rem;
}

.cart-size-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
    margin-left: auto;
    flex-shrink: 0;
}

.cart-group-total-row {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.625rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--border);
}

.cart-group-total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.025em;
}

.summary-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    position: sticky;
    top: 84px;
}

.summary-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.summary-row span:first-child {
    color: var(--ink-3);
}

.summary-row span:last-child {
    font-weight: 600;
}

.summary-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.25rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    margin-bottom: 2rem;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    opacity: 0.35;
    display: block;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════
   AUTH
═══════════════════════════════════════════════════ */
.auth-wrap {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    background: var(--bg);
}

.auth-box {
    max-width: 420px;
    width: 100%;
}

.auth-logo-mark {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--ink);
}

.auth-logo-mark span {
    color: var(--blue);
}

.auth-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.375rem;
    text-align: center;
}

.auth-card-sub {
    font-size: 0.875rem;
    text-align: center;
    color: var(--ink-3);
    margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════
   SUCCESS PAGE — two-column viewport-fit layout
═══════════════════════════════════════════════════ */
.success-wrap {
    /* Fill remaining height below the 64px navbar */
    height: calc(100vh - 64px);
    display: grid;
    grid-template-columns: 42% 58%;
    overflow: hidden;
}

/* ── Left: confirmation panel ── */
.success-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem 4rem 2.5rem 5rem;
    background: var(--bg);
    border-right: 1px solid var(--border);
    gap: 0;
}

/* ── Right: order detail panel ── */
.success-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem 5rem 2.5rem 4rem;
    background: var(--bg-white);
    overflow-y: auto;
    gap: 0;
}

.success-right-inner {
    margin: auto 0;
    width: 100%;
}

.success-check-ring {
    width: 64px;
    height: 64px;
    background: var(--green-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    animation: pop-in 0.6s var(--ease-out) both;
}

@keyframes pop-in {
    from {
        transform: scale(0.4);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ── Success summary rows ── */
.success-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

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

.success-row-label {
    font-size: 0.825rem;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.success-row-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
}

/* ── Success trust items ── */
.success-trust {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}

.success-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--ink-3);
}

.success-trust-item svg {
    color: var(--ink-4);
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .success-wrap {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .success-left {
        align-items: center;
        text-align: center;
        padding: 3rem 2rem 2rem;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .success-right {
        padding: 2rem;
    }
}

/* ═══════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════ */
.text-muted {
    color: var(--ink-3) !important;
}

.text-blue {
    color: var(--blue) !important;
}

.text-green {
    color: var(--green) !important;
}

.text-danger {
    color: var(--red);
    font-size: 0.82rem;
    margin-top: 0.3rem;
    display: block;
}

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

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
    background: var(--bg-dark);
    padding: 3.5rem 2rem 2.5rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #fff;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-logo span {
    color: #60A5FA;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-links a {
    font-size: 0.82rem;
    color: #52525B;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: #3F3F46;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
.order-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

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

    .filter-toggle-btn {
        display: inline-flex;
    }

    .filter-close-btn {
        display: block;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 290px;
        height: 100%;
        z-index: 1000;
        background: var(--surface, #fff);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        border-right: 1px solid var(--border);
        padding: 1.5rem;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    }

    .filter-sidebar.open {
        transform: translateX(0);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .order-layout {
        grid-template-columns: 1fr;
    }

    .price-track {
        flex-direction: column;
        gap: 0;
    }

    .pt-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .cart-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.625rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.125rem;
    }

    .navbar {
        padding: 0.5rem 1.125rem;
        flex-wrap: wrap;
        height: max-content;
        min-height: 60px;
        gap: 0.5rem;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        order: 3;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        text-align: center;

        /* Transition settings */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-top: 0;
        padding-top: 0;
        gap: 0;
        border-top: 1px solid transparent;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.show {
        max-height: 400px;
        opacity: 1;
        margin-top: 0.5rem;
        padding-top: 1rem;
        gap: 0.75rem;
        border-top-color: var(--border);
    }

    .nav-actions {
        order: 2;
    }

    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: inline-flex !important;
    }

    .nav-cart-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .nav-store-info {
        display: none;
    }

    .cart-group-body {
        flex-direction: column;
        padding: 1.25rem 1rem;
        gap: 1.25rem;
    }

    .cart-group-left {
        width: 100%;
        display: grid;
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
        gap: 0.2rem 1rem;
        align-items: center;
    }

    .cart-group-left .cart-img {
        grid-row: 1 / 3;
        grid-column: 1;
        width: 70px;
        height: 70px;
        margin-bottom: 0;
    }

    .cart-name {
        grid-row: 1;
        grid-column: 2;
        align-self: end;
        margin-bottom: 0;
    }

    .cart-variant {
        grid-row: 2;
        grid-column: 2;
        align-self: start;
    }

    .cart-size-row {
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: flex-start;
    }

    .cart-size-price {
        margin-left: auto;
    }

    .cart-size-row form {
        margin-left: 0.5rem;
    }

    .checkout-city-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-name-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    h1 {
        font-size: 2.8rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-input-pill {
        flex-direction: column;
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        gap: 0.75rem;
        max-width: 100%;
        width: 100%;
    }

    .hero-email-input {
        width: 100%;
        background: var(--bg-white);
        border: 1.5px solid var(--border);
        border-radius: var(--r-full);
        padding: 0.8rem 1.25rem;
        box-shadow: var(--sh-sm);
    }

    .hero-input-pill .btn {
        width: 100%;
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .store-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .product-info {
        padding: 0.4rem 0.45rem 0.5rem;
    }

    .product-name {
        font-size: 0.65rem;
    }

    .product-brand {
        font-size: 0.58rem;
    }

    .product-desc {
        display: none;
    }

    .product-price {
        font-size: 0.8rem;
    }

    .product-price-retail {
        font-size: 0.6rem;
    }

    .product-view-btn {
        padding: 0.2rem 0.3rem;
        border-radius: 50%;
    }

    .product-view-btn .view-btn-text {
        display: none;
    }

    .product-footer {
        border-top: none;
        padding-top: 0.2rem;
    }

    .product-swatches-preview {
        gap: 3px;
        margin-top: 0.2rem;
    }

    .product-swatch-dot {
        width: 9px;
        height: 9px;
    }

    .product-tag {
        font-size: 0.5rem;
        padding: 0.12rem 0.3rem;
        top: 5px;
        left: 5px;
    }

    .product-tag-colors {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════
   STOREFRONT CARD UPDATES
═══════════════════════════════════════════════════ */
.product-card-link {
    display: flex;
    flex-direction: column;
    height: 330px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.product-card-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh);
    border-color: var(--border-2);
    color: inherit;
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.product-price-retail {
    font-size: 0.75rem;
    color: var(--ink-4);
    text-decoration: line-through;
    font-weight: 500;
}

.product-tag-colors {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    color: var(--ink-2);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: var(--r-full);
    letter-spacing: 0.02em;
}

.product-view-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: opacity 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
    opacity: 0;
    pointer-events: none;
}

.product-card-link:hover .product-view-btn {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    opacity: 1;
    pointer-events: auto;
}

.product-swatches-preview {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.35rem;
}

.product-swatch-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

/* ── Gender pills (same style as size pills) ── */
.gender-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gender-pill input {
    display: none;
}

.gender-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.375rem 0.875rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-3);
    user-select: none;
    transition: all 0.18s;
}

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

/* ── Sidebar filter select ── */
.filter-select {
    width: 100%;
    padding: 0.45rem 2rem 0.45rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--bg-white);
    color: var(--ink-2);
    font-size: 0.82rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B8B8B5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color 0.2s;
}

.filter-select:focus {
    border-color: var(--ink);
}

/* ── Filter apply button ── */
.filter-apply-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.75rem;
    font-family: inherit;
    transition: opacity 0.15s;
}

.filter-apply-btn:hover {
    opacity: 0.82;
}

/* ── Store pagination ── */
.store-pagination-wrap {
    margin-top: 2.5rem;
    padding-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.store-pagination {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.store-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.625rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface);
    color: var(--ink-2);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}

.store-page-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.store-page-btn--active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.store-page-btn--disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Cart variant badge */
.cart-variant {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--ink-3);
    font-weight: 500;
    margin-top: 0.15rem;
}

.cart-variant-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
═══════════════════════════════════════════════════ */
.pd-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* Breadcrumb */
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
    font-size: 0.82rem;
    color: var(--ink-3);
}

.pd-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--ink-2);
    padding: 0.35rem 0.75rem 0.35rem 0.5rem;
    border-radius: var(--r-full);
    background: var(--bg-light);
    border: 1px solid var(--border);
    transition: all 0.18s;
}

.pd-back-link:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.pd-breadcrumb-sep {
    color: var(--ink-4);
}

.pd-breadcrumb-current {
    color: var(--ink);
    font-weight: 600;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Two-column layout */
.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* ── Gallery ── */
.pd-gallery {
    position: sticky;
    top: 80px;
}

.pd-img-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: linear-gradient(145deg, #EAE8E2 0%, #DDDBD5 100%);
    aspect-ratio: 4/5;
    box-shadow: var(--sh-lg);
}

.pd-img-wrap.pd-img-error {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.pd-img-wrap:hover .pd-img {
    transform: scale(1.03);
}

.pd-img-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(5, 150, 105, 0.92);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.7rem;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-transform: uppercase;
}

.pd-img-color-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    mix-blend-mode: multiply;
}

/* Thumbnail strip */
.pd-thumb-strip {
    display: flex;
    gap: 0.625rem;
    margin-top: 1rem;
}

.pd-thumb {
    width: 80px;
    height: auto;
    border-radius: var(--r-sm);
    border: 2px solid var(--border);
    padding: 3px;
    background: var(--surface);
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
    flex-shrink: 0;
}

.pd-thumb.active,
.pd-thumb:hover {
    border-color: var(--ink);
    box-shadow: var(--sh-sm);
}

.pd-thumb-swatch {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* Savings strip */
.pd-savings-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--green-bg);
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.7rem 1rem;
    border-radius: var(--r);
    border: 1px solid #A7F3D0;
    margin-top: 1rem;
}

.pd-savings-strip strong {
    font-weight: 800;
}

/* ── Info Panel ── */
.pd-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pd-header {
    margin-bottom: 1.25rem;
}

.pd-company-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 0.25rem 0.75rem;
    border-radius: var(--r-full);
    margin-bottom: 0.875rem;
}

.pd-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--ink);
    line-height: 1.05;
    margin-bottom: 0.625rem;
}

.pd-description {
    font-size: 0.9rem;
    color: var(--ink-3);
    line-height: 1.65;
}

/* Price block */
.pd-price-block {
    margin-bottom: 1.5rem;
}

.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.pd-retail-price {
    font-size: 1rem;
    color: var(--ink-4);
    text-decoration: line-through;
    font-weight: 500;
}

.pd-sale-price {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.04em;
    line-height: 1;
}

.pd-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pd-save-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--green-bg);
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: var(--r-full);
    border: 1px solid #A7F3D0;
}

.pd-free-ship {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--blue-bg);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: var(--r-full);
    border: 1px solid var(--blue-bdr);
}

/* Divider */
.pd-divider {
    height: 1px;
    background: var(--border);
    margin: 1.25rem 0;
}

/* Sections */
.pd-section {
    margin-bottom: 1.5rem;
}

.pd-section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-3);
    margin-bottom: 0.75rem;
}

.pd-color-name-display {
    color: var(--ink);
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 0.85rem;
}

.pd-size-guide-link {
    margin-left: auto;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--blue);
    font-size: 0.78rem;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s;
}

.pd-size-guide-link:hover {
    text-decoration-color: var(--blue);
}

/* Color swatches */
.pd-swatches {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pd-swatch {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2.5px solid var(--border);
    padding: 3px;
    background: var(--surface);
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-swatch:hover {
    border-color: var(--ink-3);
    transform: scale(1.1);
    box-shadow: var(--sh-sm);
}

.pd-swatch.active {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px var(--ink);
}

.pd-swatch-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pd-swatch-check {
    position: absolute;
    opacity: 0;
    transition: opacity 0.15s;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}

.pd-swatch.active .pd-swatch-check {
    opacity: 1;
}

/* Size table */
.pd-size-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-xs);
    margin-bottom: 1rem;
}

.pd-size-header {
    display: grid;
    grid-template-columns: 60px 1fr 120px;
    padding: 0.625rem 1.25rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ink-3);
}

.pd-color-group {
    display: none;
}

.pd-color-group.active {
    display: block;
}

.pd-size-row {
    display: grid;
    grid-template-columns: 60px 1fr 120px;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.pd-size-row:last-child {
    border-bottom: none;
}

.pd-size-row:hover:not(.oos) {
    background: var(--bg);
}

.pd-size-row.oos {
    opacity: 0.45;
}

.pd-size-lbl {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.02em;
}

.pd-avail {
    font-size: 0.78rem;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pd-avail.low {
    color: #D97706;
}

.pd-avail.none {
    color: var(--ink-4);
}

.pd-oos-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink-4);
    flex-shrink: 0;
}

.pd-low-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D97706;
    flex-shrink: 0;
}

/* Quantity stepper */
.pd-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    overflow: hidden;
    width: 100px;
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pd-stepper:focus-within {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(14, 14, 13, 0.07);
}

.pd-stepper.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.pd-step-btn {
    width: 32px;
    height: 34px;
    border: none;
    background: var(--bg-light);
    color: var(--ink-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
    font-family: inherit;
}

.pd-step-btn:hover {
    background: var(--ink);
    color: #fff;
}

.pd-step-btn.minus {
    border-right: 1px solid var(--border);
}

.pd-step-btn.plus {
    border-left: 1px solid var(--border);
}

.pd-qty {
    width: 100%;
    border: none;
    outline: none;
    text-align: center;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    background: transparent;
    padding: 0;
    -moz-appearance: textfield;
}

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

.pd-step-oos {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: var(--ink-4);
    padding: 0.5rem;
    display: block;
}

/* Cart action bar */
.pd-cart-bar {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--sh-sm);
}

.pd-cart-bar-meta {
    flex: 1;
    min-width: 0;
}

.pd-items-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-3);
}

.pd-price-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.pd-add-btn {
    flex-shrink: 0;
    border-radius: var(--r-lg);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    gap: 0.5rem;
    transition: all 0.22s var(--ease-out);
}

.pd-add-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pd-add-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: var(--sh);
}

/* Trust row */
.pd-trust {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

.pd-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-3);
}

.pd-trust-item svg {
    flex-shrink: 0;
    color: var(--ink-4);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pd-gallery {
        position: static;
    }

    .pd-size-header,
    .pd-size-row {
        grid-template-columns: 50px 1fr 110px;
    }

    .pd-stepper {
        width: 90px;
    }
}

@media (max-width: 640px) {
    .pd-page {
        padding: 1.25rem 1.125rem 3rem;
    }

    .pd-cart-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

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

    .pd-trust {
        gap: 0.75rem;
    }
}

/* ── Product Detail Accordions ── */
.pd-accordions {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border);
}

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

.pd-acc-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.125rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    text-align: left;
}

.pd-acc-trigger:hover {
    color: var(--ink-2);
}

.pd-acc-chevron {
    flex-shrink: 0;
    transition: transform 0.22s ease;
    color: var(--ink-4);
}

.pd-acc-trigger.open .pd-acc-chevron {
    transform: rotate(0deg);
}

.pd-acc-trigger:not(.open) .pd-acc-chevron {
    transform: rotate(180deg);
}

.pd-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.pd-acc-content {
    padding: 0 0 1.5rem;
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--ink-3);
    text-align: center;
}

/* ═══════════════════════════════════════════════════
   MODALS
═══════════════════════════════════════════════════ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14, 14, 13, 0.60);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: var(--bg-white);
    border-radius: var(--r-xl);
    padding: 0;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: var(--sh-xl);
    animation: modal-in 0.28s var(--ease-out);
    overflow: hidden;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(12px);
    }

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

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 30px;
    height: 30px;
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    background: var(--bg-light);
    color: var(--ink-3);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    line-height: 1;
}

/* ═══════════════════════════════════════════════════
   FILTER CHECKBOX / RADIO LIST
═══════════════════════════════════════════════════ */
.filter-checkbox-list {
    display: flex;
    flex-direction: column;
}

.filter-checkbox-list.scrollable {
    max-height: 196px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-2) transparent;
}

.filter-checkbox-list.scrollable::-webkit-scrollbar {
    width: 4px;
}

.filter-checkbox-list.scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.filter-checkbox-list.scrollable::-webkit-scrollbar-thumb {
    background: var(--border-2);
    border-radius: 99px;
}

.filter-checkbox-list.scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--ink-4);
}

.filter-check-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0;
    cursor: pointer;
    user-select: none;
}

.filter-check-row input[type="checkbox"],
.filter-check-row input[type="radio"] {
    display: none;
}

.filter-check-box-custom {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--border);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
    color: transparent;
}

.filter-check-row:hover .filter-check-box-custom {
    border-color: var(--ink-3);
}

.filter-check-row.active .filter-check-box-custom {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.filter-radio-custom {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    transition: border-color 0.15s;
    position: relative;
}

.filter-check-row:hover .filter-radio-custom {
    border-color: var(--ink-3);
}

.filter-check-row.active .filter-radio-custom {
    border-color: var(--ink);
}

.filter-check-row.active .filter-radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ink);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filter-check-label {
    font-size: 0.82rem;
    color: var(--ink-2);
    flex: 1;
    line-height: 1.3;
}

.filter-check-count {
    font-size: 0.72rem;
    color: var(--ink-4);
    font-weight: 500;
    flex-shrink: 0;
}

/* Brand search inside sidebar */
.filter-brand-search {
    margin-bottom: 0.625rem;
    margin-top: -0.25rem;
}

/* ═══════════════════════════════════════════════════
   FILTER COLOR LIST (row style)
═══════════════════════════════════════════════════ */
.filter-color-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.3rem 0;
    cursor: pointer;
    user-select: none;
}

.filter-color-row input[type="checkbox"] {
    display: none;
}

.filter-color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.14);
    flex-shrink: 0;
    display: block;
}

.filter-color-row:hover .filter-check-box-custom {
    border-color: var(--ink-3);
}

.filter-color-row.active .filter-check-box-custom {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.filter-color-row .filter-check-label {
    flex: 1;
}

.color-show-more {
    background: none;
    border: none;
    padding: 0.35rem 0 0;
    color: var(--base-color);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: block;
}

.color-show-more:hover {
    text-decoration: underline;
}

/* Search inside color filter */
.filter-color-search {
    margin-bottom: 0.625rem;
    margin-top: -0.25rem;
}

.modal-close-btn:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* ── Modal header band (linen bg) ── */
.modal-header-band {
    background: #F6F5F2;
    border-bottom: 1px solid #E8E3DB;
    padding: 1.25rem 2.5rem 1rem;
    text-align: center;
}

.modal-brand-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.modal-brand-inline img {
    height: 4rem;
    width: 180px;
    object-fit: contain;
    margin-right: 0;
}

.modal-brand-name {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.modal-brand-name span {
    color: var(--blue);
}

.modal-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
}

/* ── Modal white form body ── */
.modal-form-body {
    padding: 1.25rem 2.5rem 1.5rem;
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin-bottom: 0.2rem;
    text-align: center;
    line-height: 1.2;
}

.modal-sub {
    font-size: 0.875rem;
    color: var(--ink-3);
    line-height: 1.4;
    margin-bottom: 0.2rem;
    text-align: center;
}

.modal-sub strong {
    color: var(--ink);
    font-weight: 600;
}

.modal-expiry {
    font-size: 0.78rem;
    color: var(--ink-4);
    text-align: center;
    margin-top: 0.2rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

/* hero inline error */
.hero-field-error {
    display: none;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--red);
    margin-top: 0.6rem;
    animation: slide-up 0.2s var(--ease-out);
}

.hero-field-error.show {
    display: flex;
}

/* OTP input */
.otp-input {
    width: 100%;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: 0.45em;
    padding-left: 0.45em;
    border: 2px solid var(--border);
    border-radius: var(--r);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    outline: none;
    color: var(--ink);
    background: var(--bg-white);
    transition: border-color 0.18s;
    font-variant-numeric: tabular-nums;
}

.otp-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12);
}

.otp-input.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}

/* inline modal error */
.modal-field-error {
    display: none;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.82rem;
    color: var(--red);
    margin-top: 0.5rem;
}

.modal-field-error.show {
    display: flex;
}

/* eligibility status chip */
.eligibility-status {
    display: none;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 0.75rem;
    border: 1px solid transparent;
}

.eligibility-status.show {
    display: flex;
}

.eligibility-status.success {
    background: var(--green-bg);
    color: var(--green);
    border-color: #A7F3D0;
}

.eligibility-status.error {
    background: var(--red-bg);
    color: var(--red);
    border-color: #FECACA;
}

.eligibility-status.loading {
    background: var(--blue-bg);
    color: var(--blue);
    border-color: var(--blue-bdr);
}

.modal-resend-row {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    color: var(--ink-4);
}

.modal-resend-row button {
    background: none;
    border: none;
    color: var(--ink-3);
    font-size: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: inherit;
    padding: 0;
    transition: color 0.15s;
}

.modal-resend-row button:hover {
    color: var(--ink);
}

.modal-resend-row button:disabled {
    color: var(--ink-4);
    cursor: default;
    text-decoration: none;
}

.modal-back-link {
    background: none;
    border: none;
    color: var(--ink-4);
    font-size: 0.82rem;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0.75rem;
    transition: color 0.15s;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.modal-back-link:hover {
    color: var(--ink);
}

@media (max-width: 500px) {
    .modal-box {
        border-radius: var(--r-lg);
    }

    .modal-header-band {
        padding: 1.75rem 1.5rem 1.5rem;
    }

    .modal-form-body {
        padding: 1.5rem 1.5rem 1.75rem;
    }

    .otp-input {
        font-size: 1.75rem;
    }
}

/* ═══════════════════════════════════════════════════
   PRODUCT CARD SKELETON LOADING
═══════════════════════════════════════════════════ */
@keyframes sk-shimmer {
    0% {
        background-position: -600px 0;
    }

    100% {
        background-position: 600px 0;
    }
}

/* Shimmer wave on image area */
.product-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ebebeb 25%, #f5f5f5 50%, #ebebeb 75%);
    background-size: 600px 100%;
    animation: sk-shimmer 1.4s ease-in-out infinite;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Once image is loaded: reveal image, hide shimmer */
.product-img-wrap.img-loaded::after {
    opacity: 0;
}

.product-img-wrap.img-loaded .product-img {
    opacity: 1;
}

/* Skeleton text lines while card is loading */
.skeleton-loading .product-brand,
.skeleton-loading .product-name,
.skeleton-loading .product-desc {
    background: linear-gradient(90deg, #ebebeb 25%, #f5f5f5 50%, #ebebeb 75%);
    background-size: 600px 100%;
    animation: sk-shimmer 1.4s ease-in-out infinite;
    color: transparent !important;
    border-radius: 4px;
    user-select: none;
}

.skeleton-loading .product-brand {
    width: 55%;
    min-height: 0.8em;
}

.skeleton-loading .product-name {
    width: 85%;
    min-height: 1em;
}

.skeleton-loading .product-desc {
    width: 70%;
}

.skeleton-loading .product-price {
    background: linear-gradient(90deg, #ebebeb 25%, #f5f5f5 50%, #ebebeb 75%);
    background-size: 600px 100%;
    animation: sk-shimmer 1.4s ease-in-out infinite;
    color: transparent !important;
    border-radius: 4px;
    min-width: 3.5rem;
}

.skeleton-loading .product-price-retail {
    visibility: hidden;
}

.skeleton-loading .product-view-btn {
    opacity: 0;
    pointer-events: none;
}

.skeleton-loading .product-swatches-preview {
    opacity: 0;
}

.skeleton-loading .product-footer {
    border-top-color: transparent;
}

@media (max-width: 767px) {
    .enterprise-logo {
        max-width: 16% !important;
    }
}