/* ═══════════════════════════════════════════════════════════════════════════
   PISTIS LUXURY EDITORIAL — DESIGN SYSTEM
   Strict High-Fashion Monochrome Aesthetic (#000000 / #FFFFFF / Charcoal)
   Inspired by world-class luxury fashion houses (The Row, Saint Laurent, Celine)
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ─── CSS Variables ────────────────────────────────────────────────────── */
:root {
    /* Strict Monochrome Palette */
    --primary: #000000;
    --primary-light: #262626;
    --primary-dark: #000000;
    --primary-glow: rgba(0, 0, 0, 0.08);

    --secondary: #171717;
    --secondary-light: #404040;

    --accent: #000000;
    --accent-light: #262626;

    /* Status Colors (Subtle & Refined) */
    --success: #16a34a;
    --success-bg: rgba(22, 163, 74, 0.08);
    --warning: #ca8a04;
    --warning-bg: rgba(202, 138, 4, 0.08);
    --danger: #dc2626;
    --danger-bg: rgba(220, 38, 38, 0.08);
    --info: #0284c7;
    --info-bg: rgba(2, 132, 199, 0.08);

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.95);
    --bg-glass-hover: rgba(0, 0, 0, 0.03);
    --bg-input: #ffffff;

    --border-color: #e5e5e5;
    --border-light: #f0f0f0;
    --border-dark: #171717;

    --text-primary: #0a0a0a;
    --text-secondary: #525252;
    --text-muted: #8a8a8a;
    --text-white: #ffffff;

    /* Gradients (Monochrome & Editorial) */
    --gradient-primary: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --gradient-light: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #ffffff 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 100%);

    /* Spacing */
    --nav-height: 76px;

    /* Shadows (Subtle, Crisp & Architectural) */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 8px 24px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 300ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);

    /* Border Radius (Architectural & Minimalist) */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 2px;
    --radius-xl: 4px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    letter-spacing: -0.01em;
}

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

a:hover {
    color: #525252;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Didot', 'Bodoni MT', Georgia, serif;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* ─── Layout ───────────────────────────────────────────────────────────── */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.main-content {
    flex: 1;
    padding-top: var(--nav-height);
}

/* ─── Minimalist Luxury Navigation ─────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    color: #000000;
    text-transform: uppercase;
}

.navbar-brand .brand-icon {
    width: 28px;
    height: 28px;
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 0px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.navbar-links a {
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #000000;
    transition: width var(--transition-base);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: #000000;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: opacity var(--transition-fast);
}

.cart-badge:hover {
    opacity: 0.7;
}

.cart-count {
    background: #000000;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}

.mobile-nav-auth,
.nav-divider-mobile {
    display: none;
}

@media (max-width: 768px) {
    .navbar {
        width: 100%;
        max-width: 100vw;
        overflow: visible;
    }
    .navbar-inner {
        padding: 0 16px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .navbar-brand {
        font-size: 1.05rem;
        letter-spacing: 0.22em;
        gap: 8px;
        flex-shrink: 0;
    }
    .navbar-brand .brand-icon {
        width: 24px;
        height: 24px;
        font-size: 0.95rem;
    }
    .navbar-actions {
        gap: 12px;
        flex-shrink: 0;
    }
    .desktop-auth-btn {
        display: none !important;
    }
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-nav-auth {
        display: block;
    }
    .nav-divider-mobile {
        display: block;
        height: 1px;
        background: var(--border-color);
        margin: 4px 0;
    }
    .mobile-nav-logout-btn {
        background: none;
        border: none;
        padding: 0;
        font-family: inherit;
        font-size: 0.85rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #ef4444;
        cursor: pointer;
    }
    .mobile-join-link {
        font-weight: 700 !important;
        color: #000000 !important;
    }
    .navbar-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 0 20px;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        display: flex;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        visibility: hidden;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    transform 0.3s ease,
                    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s 0.35s;
    }
    .navbar-links li {
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .navbar-links.open {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        padding: 24px 20px;
        gap: 18px;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    transform 0.3s ease,
                    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s 0s;
    }
    .navbar-links.open li {
        opacity: 1;
        transform: translateY(0);
    }
    .navbar-links.open li:nth-child(1) { transition-delay: 0.05s; }
    .navbar-links.open li:nth-child(2) { transition-delay: 0.10s; }
    .navbar-links.open li:nth-child(3) { transition-delay: 0.15s; }
    .navbar-links.open li:nth-child(4) { transition-delay: 0.20s; }
    .navbar-links.open li:nth-child(5) { transition-delay: 0.25s; }
    .navbar-links.open li:nth-child(6) { transition-delay: 0.30s; }
    .navbar-links.open li:nth-child(7) { transition-delay: 0.35s; }
}

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 0px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.btn-primary:hover {
    background: #ffffff;
    color: #000000;
    border-color: #000000;
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: transparent;
    color: #000000;
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: #000000;
    background: #fafafa;
    color: #000000;
}

.btn-outline {
    background: transparent;
    color: #000000;
    border: 1px solid #000000;
}

.btn-outline:hover {
    background: #000000;
    color: #ffffff;
}

.btn-success {
    background: #16a34a;
    color: white;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-warning {
    background: #000000;
    color: #ffffff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.84rem;
    letter-spacing: 0.18em;
}

.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
}

/* ─── Cards ────────────────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.card:hover {
    border-color: #000000;
}

.card-body {
    padding: 24px;
    position: relative;
}

.card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    background: #ffffff;
}

/* ─── Product Card (High-Fashion 3:4 Portrait) ─────────────────────────── */
.product-card {
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 0px;
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: #e5e5e5;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.product-card .product-image {
    position: relative;
    aspect-ratio: 3/4;
    background: #f5f5f5;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow), filter var(--transition-base);
}

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

.product-card .badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 0px;
}

.badge-primary {
    background: #000000;
    color: #ffffff;
}

.badge-secondary {
    background: #f0f0f0;
    color: #000000;
    border: 1px solid #e5e5e5;
}

.badge-success {
    background: #000000;
    color: #ffffff;
}

.product-card-quick-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--transition-base);
    backdrop-filter: blur(8px);
}

.product-card:hover .product-card-quick-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-card .product-info {
    padding: 16px 8px 12px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.product-card .product-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-card .product-name {
    font-family: 'Cormorant Garamond', 'Didot', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-bottom: 6px;
    color: var(--text-primary);
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-name {
    color: #737373;
}

.product-card .product-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card .price-current {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.02em;
}

.product-card .price-compare {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.badge-primary { background: #000000; color: #ffffff; }
.badge-success { background: #000000; color: #ffffff; }
.badge-warning { background: #525252; color: #ffffff; }
.badge-danger { background: #dc2626; color: #ffffff; }
.badge-info { background: #000000; color: #ffffff; }
.badge-secondary { background: #f0f0f0; color: #000000; border: 1px solid #e5e5e5; }

/* ─── Product Grid ─────────────────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 24px;
    width: 100%;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 18px;
    }
}

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

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 10px;
    }
}

/* ─── Forms ────────────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: rgba(255, 255, 255, 0.07);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-input-wrapper .form-control {
    padding-right: 44px;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
    line-height: 1;
}

.password-toggle-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

.password-toggle-btn:focus {
    outline: none;
    color: var(--text-primary);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 4px;
}

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

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

/* ─── Tables ───────────────────────────────────────────────────────────── */
.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
}

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

.table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    z-index: 10;
}


.table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
    vertical-align: middle;
}

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

.table tr:hover td {
    background: var(--bg-glass-hover);
}

/* Empty State */
.empty-state {
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.empty-state-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.empty-state-text {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* ─── Luxury Monochrome Fashion Editorial Hero Slider ──────────────────── */
.editorial-hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    min-height: 580px;
    max-height: 860px;
    background: #000000;
    color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.editorial-hero-slider.fallback-hero {
    height: calc(100vh - var(--nav-height));
    min-height: 580px;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), visibility 800ms;
    z-index: 1;
}

.hero-slide-item.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.hero-editorial-container {
    display: grid;
    grid-template-columns: 46% 54%;
    width: 100%;
    height: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
    position: relative;
}

/* Left Column: Typography */
.hero-content-col {
    z-index: 10;
    padding: 24px 36px 48px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content-inner {
    max-width: 520px;
}

.hero-collection-tag-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1) 100ms, transform 600ms cubic-bezier(0.16, 1, 0.3, 1) 100ms;
}

.hero-slide-item.is-visible .hero-collection-tag-wrap {
    opacity: 1;
    transform: translateY(0);
}

.hero-collection-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #a3a3a3;
}

.hero-subtitle-separator {
    color: #525252;
    font-size: 0.75rem;
}

.hero-subtitle-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #737373;
}

.hero-editorial-title {
    font-family: 'Cormorant Garamond', 'Didot', 'Bodoni MT', Georgia, serif;
    font-size: clamp(2.4rem, 3.8vw, 4.2rem);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
}

.title-line-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 2px;
}

.title-line-text {
    display: block;
    transform: translateY(110%);
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hero-slide-item.is-visible .title-line-mask:nth-child(1) .title-line-text {
    transform: translateY(0);
    transition-delay: 150ms;
}

.hero-slide-item.is-visible .title-line-mask:nth-child(2) .title-line-text {
    transform: translateY(0);
    transition-delay: 260ms;
}

.hero-slide-item.is-visible .title-line-mask:nth-child(3) .title-line-text {
    transform: translateY(0);
    transition-delay: 370ms;
}

.hero-slide-item.is-exiting .title-line-text {
    transform: translateY(-110%);
    transition: transform 550ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-desc-wrap {
    overflow: hidden;
}

.hero-editorial-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #a3a3a3;
    max-width: 440px;
    margin-bottom: 24px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1) 350ms, transform 700ms cubic-bezier(0.16, 1, 0.3, 1) 350ms;
}

.hero-slide-item.is-visible .hero-editorial-desc {
    opacity: 1;
    transform: translateY(0);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1) 450ms, transform 700ms cubic-bezier(0.16, 1, 0.3, 1) 450ms;
}

.hero-slide-item.is-visible .hero-cta-group {
    opacity: 1;
    transform: translateY(0);
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background: #ffffff;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid #ffffff;
    border-radius: 0px;
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.hero-btn-primary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.hero-btn-primary .btn-arrow {
    transition: transform 250ms ease;
    display: inline-block;
}

.hero-btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 0;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    transition: color 250ms;
}

.hero-btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: right;
}

.hero-btn-secondary:hover::after {
    transform: scaleX(0);
}

/* Right Column: Fashion Campaign Image */
.hero-image-col {
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-editorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    transition: transform 1800ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hero-slide-item.is-visible .hero-editorial-img {
    transform: scale(1);
}

.hero-slide-item.is-exiting .hero-editorial-img {
    transform: scale(1.06) translateX(20px);
    transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

/* Minimalist Luxury Controls */
.hero-slider-controls {
    position: absolute;
    bottom: 80px;
    right: 48px;
    z-index: 25;
}

.hero-controls-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 18px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-slide-counter {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.counter-current {
    font-weight: 700;
    transition: transform 200ms ease, opacity 200ms ease;
    display: inline-block;
}

.counter-divider {
    color: #737373;
}

.counter-total {
    color: #a3a3a3;
}

.hero-progress-track {
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.hero-progress-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
}

.hero-nav-arrows {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 200ms;
}

.hero-nav-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: scale(1.08);
}

.hero-slide-dashes {
    display: flex;
    align-items: center;
    gap: 6px;
}

.slide-dash-btn {
    padding: 6px 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.dash-line {
    display: block;
    width: 14px;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 1px;
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-dash-btn.active .dash-line {
    width: 28px;
    background: #ffffff;
}

/* Mobile & Tablet Responsive Composition */
@media (max-width: 1024px) {
    .hero-editorial-container {
        grid-template-columns: 48% 52%;
        padding: 0 24px;
    }
    .hero-editorial-title {
        font-size: 3.8rem;
    }
}

@media (max-width: 768px) {
    .editorial-hero-slider {
        min-height: auto;
        height: auto;
        max-height: none;
        overflow: hidden;
        position: relative;
        width: 100%;
        max-width: 100vw;
    }
    .editorial-hero-slider.fallback-hero {
        min-height: auto;
        height: auto;
        overflow: hidden;
    }
    .hero-slider-track {
        min-height: auto;
        height: auto;
        position: relative;
        overflow: hidden;
        width: 100%;
        max-width: 100vw;
    }
    .hero-slide-item {
        position: relative;
        inset: auto;
        display: none;
        width: 100%;
        max-width: 100vw;
        height: auto;
        overflow: hidden;
    }
    .hero-slide-item.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .hero-editorial-container {
        display: flex;
        flex-direction: column-reverse;
        min-height: auto;
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        box-sizing: border-box;
    }
    .hero-image-col {
        width: 100%;
        max-width: 100vw;
        min-height: 250px;
        height: 44vh;
        max-height: 380px;
        position: relative;
        overflow: hidden;
    }
    .hero-image-frame {
        min-height: auto;
        height: 100%;
        width: 100%;
        overflow: hidden;
    }
    .hero-editorial-img {
        object-position: center 20%;
    }
    .hero-content-col {
        padding: 24px 20px 84px 20px;
        background: #000000;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        box-sizing: border-box;
    }
    .hero-content-inner {
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }
    .hero-collection-tag-wrap {
        margin-bottom: 10px;
        gap: 6px;
    }
    .hero-collection-tag {
        font-size: 0.68rem;
        letter-spacing: 0.18em;
    }
    .hero-subtitle-tag {
        font-size: 0.65rem;
    }
    .hero-editorial-title {
        font-size: clamp(1.65rem, 6.8vw, 2.2rem);
        line-height: 1.08;
        letter-spacing: -0.01em;
        margin-bottom: 14px;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .title-line-mask {
        overflow: hidden;
        padding-bottom: 0;
        display: block;
    }
    .title-line-text {
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }
    .hero-editorial-desc {
        font-size: 0.82rem;
        line-height: 1.5;
        margin-bottom: 20px;
        max-width: 100%;
        color: #9ca3af;
    }
    .hero-cta-group {
        gap: 12px;
        align-items: center;
        flex-wrap: wrap;
    }
    .hero-btn-primary {
        padding: 11px 22px;
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }
    .hero-btn-secondary {
        font-size: 0.72rem;
        letter-spacing: 0.12em;
        padding: 8px 0;
    }
    .hero-slider-controls {
        position: absolute;
        bottom: 16px;
        left: 0;
        right: 0;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        z-index: 30;
        pointer-events: none;
    }
    .hero-controls-inner {
        pointer-events: auto;
        width: auto;
        min-width: 200px;
        max-width: calc(100vw - 32px);
        padding: 6px 14px;
        gap: 12px;
        justify-content: center;
        background: rgba(18, 18, 18, 0.88);
        border: 1px solid rgba(255, 255, 255, 0.16);
    }
    .hero-progress-track {
        width: 36px;
    }
    .hero-nav-btn {
        width: 26px;
        height: 26px;
    }
    .hero-slide-dashes {
        display: none;
    }
    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .section {
        padding: 40px 0;
        overflow-x: hidden;
        max-width: 100vw;
    }
    .brand-manifesto-section {
        padding: 50px 16px;
        margin: 40px 0;
        overflow-x: hidden;
        max-width: 100vw;
    }
    .footer {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

/* ─── Admin Hero Slides Management ─────────────────────────────────────── */
.hero-slides-drag-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-slide-admin-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 16px;
    transition: all var(--transition-fast);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    cursor: grab;
    width: 100%;
    box-sizing: border-box;
}

.hero-slide-admin-card:hover {
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hero-slide-admin-card.dragging {
    opacity: 0.4;
    border: 2px dashed #000000;
    background: #f8fafc;
}

.hero-slide-admin-card.is-disabled {
    opacity: 0.65;
    background: #f8fafc;
}

.drag-handle {
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: grab;
    padding: 0 4px;
    user-select: none;
    flex-shrink: 0;
}

.admin-slide-thumb {
    position: relative;
    width: 100px;
    height: 70px;
    border-radius: 2px;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
}

.admin-slide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.mobile-thumb-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 4px;
    padding: 1px 4px;
    font-size: 0.7rem;
    color: #ffffff;
}

.admin-slide-details {
    flex: 1;
    min-width: 180px;
}

.admin-slide-collection {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 2px;
}

.admin-slide-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-slide-desc {
    font-size: 0.8rem;
    color: #525252;
    line-height: 1.4;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-slide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.72rem;
    color: #737373;
}

.admin-slide-status-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.order-badge {
    font-size: 0.75rem;
    color: #525252;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.status-pill.active {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.3);
    color: #16a34a;
}

.status-pill.active .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
}

.status-pill.inactive {
    background: #f1f5f9;
    color: #94a3b8;
}

.status-pill.inactive .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
}

.admin-slide-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .hero-slide-admin-card {
        flex-wrap: wrap;
    }
    .admin-slide-status-col {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
}

/* Admin Floating Toast */
.admin-floating-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(12px);
    transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    pointer-events: none;
}

.admin-floating-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Preview Modal */
.preview-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.preview-modal-overlay.active {
    display: flex;
}

.preview-modal-box {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.preview-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.preview-modal-close:hover {
    background: #ffffff;
    color: #000000;
}

.modal-preview-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.modal-preview-text {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.preview-collection-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #a3a3a3;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.preview-headline {
    font-family: 'Cormorant Garamond', 'Didot', Georgia, serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.preview-title-line {
    display: block;
}

.preview-description {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #a3a3a3;
    margin-bottom: 28px;
}

.preview-cta-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.preview-btn-primary {
    padding: 12px 24px;
    background: #ffffff;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.preview-btn-secondary {
    color: #ffffff;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: underline;
}

.preview-counter-tag {
    font-size: 0.75rem;
    color: #737373;
    letter-spacing: 0.1em;
}

.modal-preview-image {
    background: #111111;
    overflow: hidden;
}

.modal-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(106%);
}

/* ─── Section Headers ──────────────────────────────────────────────────── */
.section {
    padding: 60px 0;
}

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

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ─── Category Cards ───────────────────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.category-card {
    padding: 28px 20px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 0px;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    border-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    background: #fafafa;
}

.category-card .category-name {
    font-family: 'Cormorant Garamond', 'Didot', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.category-card .category-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #737373;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ─── Stat Cards (Admin) ───────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

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

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr; }
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-card .stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}


.stat-card .stat-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* ─── Alerts ───────────────────────────────────────────────────────────── */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    animation: slideDown 300ms ease-out;
}

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

.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); }
.alert-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.2); }
.alert-info { background: var(--info-bg); color: var(--info); border: 1px solid rgba(59, 130, 246, 0.2); }

/* ─── Pagination ───────────────────────────────────────────────────────── */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 32px;
    list-style: none;
}

.pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .page-item .page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}


.pagination .page-item.disabled .page-link {
    opacity: 0.3;
    pointer-events: none;
}

/* ─── Footer ───────────────────────────────────────────────────────────── */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
    margin-top: 60px;
}

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

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
}


.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 16px;
}


.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}


.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
}


/* ─── Admin Layout & Collapsible Sidebar ────────────────────────────────── */
.admin-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
    background: #f8fafc;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
}

.sidebar-backdrop.active {
    display: block;
}

.admin-sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e5e5e5;
    padding: 20px 0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-brand-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 20px 20px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 16px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #000000;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-brand .brand-dot {
    width: 32px;
    height: 32px;
    background: #000000;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.sidebar-toggle-btn {
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.sidebar-toggle-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.sidebar-menu {
    list-style: none;
    padding: 0 12px;
    margin: 0;
}

.sidebar-section {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    padding: 16px 12px 6px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    margin-bottom: 2px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-menu a:hover {
    background: #f1f5f9;
    color: #000000;
}

.sidebar-menu a.active {
    background: #000000;
    color: #ffffff;
    font-weight: 600;
}

.sidebar-menu a .icon {
    width: 22px;
    text-align: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* ─── Collapsed Sidebar State ─────────────────────────────────────────── */
body.sidebar-collapsed .admin-sidebar {
    width: 72px;
}

body.sidebar-collapsed .sidebar-brand-wrapper {
    padding: 0 10px 20px;
    justify-content: center;
}

body.sidebar-collapsed .sidebar-brand .brand-text,
body.sidebar-collapsed .sidebar-section,
body.sidebar-collapsed .menu-label {
    display: none;
}

body.sidebar-collapsed .sidebar-toggle-btn {
    position: absolute;
    top: 20px;
    right: -14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    z-index: 105;
}

body.sidebar-collapsed .sidebar-menu {
    padding: 0 8px;
}

body.sidebar-collapsed .sidebar-menu a {
    justify-content: center;
    padding: 12px 0;
    position: relative;
}

.sidebar-badge,
.sidebar-order-badge {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    min-width: 20px;
    height: 18px;
    border-radius: 10px;
    background: #000000;
    color: #ffffff;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.sidebar-badge.black-badge {
    background: #000000;
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-menu a.active .sidebar-badge,
.sidebar-menu a.active .sidebar-order-badge,
.sidebar-menu a.active .sidebar-badge.black-badge {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.sidebar-badge.has-pending,
.sidebar-order-badge.has-pending {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.35);
}

.sidebar-menu a.active .sidebar-badge.has-pending,
.sidebar-menu a.active .sidebar-order-badge.has-pending {
    background: #ffffff !important;
    color: #ef4444 !important;
}

body.sidebar-collapsed .sidebar-badge,
body.sidebar-collapsed .sidebar-order-badge {
    position: absolute;
    top: 5px;
    right: 12px;
    margin-left: 0;
    min-width: 16px;
    height: 16px;
    font-size: 0.6rem;
    padding: 0 4px;
}

/* ─── Admin Main Content ───────────────────────────────────────────────── */
.admin-main {
    flex: 1;
    min-width: 0;
    margin-left: 260px;
    width: calc(100% - 260px);
    max-width: calc(100% - 260px);
    padding: 0 32px 48px;
    min-height: 100vh;
    box-sizing: border-box;
    transition: margin-left 0.25s cubic-bezier(0.16, 1, 0.3, 1), width 0.25s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body.sidebar-collapsed .admin-main {
    margin-left: 72px;
    width: calc(100% - 72px);
    max-width: calc(100% - 72px);
}

/* ─── Admin Top Navigation Bar ────────────────────────────────────────── */
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 32px;
    margin: 0 -32px 20px -32px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 95;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-mobile-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.topbar-brand-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #475569;
}

.topbar-brand-indicator .store-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.topbar-brand-indicator .store-name {
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.topbar-brand-indicator .store-divider {
    color: #cbd5e1;
}

.topbar-page-label {
    color: #64748b;
    font-size: 0.8rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #475569;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.topbar-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Bell Notification Container */
.topbar-dropdown {
    position: relative;
}

.topbar-bell-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.topbar-bell-btn:hover,
.topbar-bell-btn.active {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

.bell-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.35);
    animation: bellPulse 2s infinite;
}

@keyframes bellPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

/* Dropdown Menu */
.notifications-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    z-index: 120;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.notifications-menu.open {
    display: flex;
    animation: fadeInDown 0.15s ease-out;
}

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

.notifications-header {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.notifications-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.notifications-sub {
    font-size: 0.75rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

.notifications-list {
    max-height: 380px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: background var(--transition-fast);
    position: relative;
}

.notification-item:hover {
    background: #f8fafc;
}

.notification-item.is-unread {
    background: #f0fdf4;
}

.notification-item.is-unread:hover {
    background: #e6f9ed;
}

.notif-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 2px;
}

.notif-order-num {
    font-weight: 700;
    font-size: 0.82rem;
    color: #0f172a;
}

.notif-customer {
    font-size: 0.78rem;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-amount {
    font-weight: 600;
    color: #0f172a;
}

.notif-time {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 4px;
}

.notif-unread-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    position: absolute;
    top: 16px;
    right: 14px;
}

.notifications-empty {
    padding: 32px 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

.notifications-footer {
    padding: 10px 18px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.view-all-orders-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    display: block;
}

.view-all-orders-link:hover {
    text-decoration: underline;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px 3px 3px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.topbar-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-username {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
}

.admin-mobile-bar {
    display: none;
}

.mobile-bar-brand {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 20px 32px;
    margin: 0 -32px 24px -32px;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    gap: 16px;
    flex-wrap: wrap;
}

.admin-header h1 {
    font-size: 1.4rem;
    margin: 0;
}

@media (max-width: 900px) {
    .admin-sidebar {
        transform: translateX(-100%);
        width: 260px !important;
    }
    .admin-sidebar.mobile-open {
        transform: translateX(0);
    }
    .admin-main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px 32px;
    }
    .admin-topbar {
        margin: 0 -16px 16px -16px;
        padding: 0 16px;
    }
    .admin-mobile-toggle {
        display: inline-flex !important;
    }
    .topbar-brand-indicator .store-divider,
    .topbar-brand-indicator .topbar-page-label,
    .topbar-username {
        display: none;
    }
    .topbar-view-store span {
        display: none;
    }
    .notifications-menu {
        position: fixed;
        top: 60px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
    }
    .admin-header {
        margin: 0 -16px 20px -16px;
        padding: 16px;
    }
}

/* ─── Cart Page ────────────────────────────────────────────────────────── */
.cart-table {
    width: 100%;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-glass);
    flex-shrink: 0;
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}


.cart-item-price {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-input {
    width: 60px;
    text-align: center;
    padding: 6px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

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

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--text-secondary);
}

.cart-summary-row.total {
    border-top: 1px solid var(--border-color);
    margin-top: 12px;
    padding-top: 16px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
}


/* ─── Two Column Layout ────────────────────────────────────────────────── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
}

@media (max-width: 960px) {
    .two-col { grid-template-columns: 1fr; }
}

/* ─── Shopify Banner ───────────────────────────────────────────────────── */
.shopify-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(150, 191, 72, 0.1), rgba(150, 191, 72, 0.02));
    border: 1px solid rgba(150, 191, 72, 0.2);
    border-radius: var(--radius-md);
    margin-top: 16px;
}

.shopify-banner .shopify-icon {
    font-size: 1.3rem;
}

.shopify-banner span {
    font-size: 0.875rem;
    color: #96bf48;
    font-weight: 500;
}

.shopify-banner a {
    margin-left: auto;
    color: #96bf48;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ─── Auth Pages ───────────────────────────────────────────────────────── */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    background: var(--gradient-dark);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.auth-card .auth-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.auth-card .auth-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

/* ─── Empty States ─────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state h3 {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ─── Product Detail Page ──────────────────────────────────────────────── */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px 0;
}

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

/* ─── Luxury Product Gallery (Side-by-Side Viewport Fitted) ────────────── */
.product-gallery-wrapper {
    position: relative;
    width: 100%;
}

.product-gallery-layout {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* Vertical Thumbnails Rail */
.gallery-thumbs-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 72px;
    flex-shrink: 0;
}

.thumb-rail-btn {
    width: 100%;
    height: 20px;
    border: none;
    background: transparent;
    font-size: 0.65rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.thumb-rail-btn:hover {
    color: var(--primary);
    background: var(--bg-secondary);
}

.thumbs-rail-track {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 480px;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding: 3px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbs-rail-track::-webkit-scrollbar {
    display: none;
}

.thumb-item {
    position: relative;
    flex-shrink: 0;
    width: 68px;
    height: 88px;
    border-radius: 0px;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.thumb-item:hover {
    border-color: #000000;
}

.thumb-item:hover img {
    transform: scale(1.04);
}

.thumb-item.active {
    border: 2px solid #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Main Image Stage (Uncropped Full Image View) */
.main-image-stage {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 560px;
    max-height: calc(100vh - 140px);
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 0px;
    overflow: hidden;
    cursor: crosshair;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-fast);
}

.main-image-stage:hover {
    border-color: #000000;
}

.gallery-current-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 200ms ease, transform 200ms ease;
    transform-origin: center;
}

/* Zoom Magnifier Lens */
.zoom-magnifier {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 200%;
    opacity: 0;
    transition: opacity 200ms ease;
    z-index: 5;
}

/* Floating Navigation Controls */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #e5e5e5;
    border-radius: 0px;
    color: #000000;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all var(--transition-fast);
}

.main-image-stage:hover .gallery-nav-btn {
    opacity: 1;
}

.gallery-nav-btn.prev-btn {
    left: 12px;
}

.gallery-nav-btn.next-btn {
    right: 12px;
}

.gallery-nav-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.gallery-counter-pill {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 0px;
    font-size: 0.7rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    z-index: 10;
}

.gallery-zoom-hint {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e5e5;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    z-index: 10;
    cursor: pointer;
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.gallery-zoom-hint:hover {
    opacity: 1;
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

@media (max-width: 992px) {
    .main-image-stage {
        height: 400px;
    }
    .thumbs-rail-track {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .product-gallery-layout {
        flex-direction: column-reverse;
        gap: 12px;
    }
    .gallery-thumbs-rail {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    .thumbs-rail-track {
        flex-direction: row;
        max-height: none;
        max-width: 100%;
        overflow-x: auto;
    }
    .thumb-rail-btn {
        width: 24px;
        height: 100%;
    }
    .thumb-rail-btn.prev-btn { transform: rotate(-90deg); }
    .thumb-rail-btn.next-btn { transform: rotate(-90deg); }
    .main-image-stage {
        height: 340px;
        width: 100%;
    }
}

/* ─── Fullscreen Lightbox Modal ────────────────────────────────────────── */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 300ms ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-dialog {
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.lightbox-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-stage {
    position: relative;
    max-width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: fadeInScale 250ms ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-nav-btn.prev-btn { left: -64px; }
.lightbox-nav-btn.next-btn { right: -64px; }

@media (max-width: 768px) {
    .lightbox-nav-btn.prev-btn { left: 8px; }
    .lightbox-nav-btn.next-btn { right: 8px; }
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: -32px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.lightbox-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    padding: 8px 4px;
}

.lightbox-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.5;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

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

.lightbox-thumb.active,
.lightbox-thumb:hover {
    opacity: 1;
    border-color: var(--primary);
    transform: scale(1.08);
}

/* ─── Admin Image Drag & Drop Uploader ──────────────────────────────────── */
.image-upload-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    background: var(--bg-glass);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.image-upload-dropzone:hover,
.image-upload-dropzone.dragover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.04);
    transform: translateY(-1px);
}

.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.dropzone-icon {
    font-size: 2rem;
    margin-bottom: 2px;
}

.dropzone-text {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.dropzone-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.image-previews-grid,
.existing-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.image-preview-card,
.existing-image-item {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.preview-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    overflow: hidden;
    background: var(--bg-glass);
}

.preview-img-wrapper img,
.existing-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.existing-image-item {
    aspect-ratio: 1;
}

.preview-info {
    padding: 6px 8px;
    font-size: 0.72rem;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
}

.preview-filename {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-filesize {
    color: var(--text-muted);
}

.badge-cover {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 2;
}

.badge-new {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--success);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 2;
}

.preview-remove-btn,
.remove-toggle .toggle-icon {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 3;
    transition: transform var(--transition-fast), background var(--transition-fast);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.preview-remove-btn:hover,
.remove-toggle:hover .toggle-icon {
    background: #dc2626;
    transform: scale(1.15);
}

.remove-toggle input {
    display: none;
}

.existing-image-item.marked-for-removal {
    opacity: 0.35;
    filter: grayscale(1);
    border: 2px dashed var(--danger);
}

.existing-image-item.marked-for-removal .toggle-icon {
    background: var(--secondary);
}

.product-detail-info h1 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}


.product-detail-info .product-sku {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.product-detail-info .detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.product-detail-info .detail-price .current {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-detail-info .detail-price .compare {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-detail-info .stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.stock-in {
    background: var(--success-bg);
    color: var(--success);
}

.stock-out {
    background: var(--danger-bg);
    color: var(--danger);
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.add-to-cart-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
    width: 100%;
}

.add-to-cart-form .product-action-row {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.add-to-cart-form .qty-input {
    width: 48px;
}

/* ─── Filters Sidebar ──────────────────────────────────────────────────── */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    padding: 40px 0;
}

.shop-layout .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
}

@media (max-width: 1100px) {
    .shop-layout .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-layout .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }
}

@media (max-width: 480px) {
    .shop-layout .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 10px;
    }
}

.filter-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
    align-self: start;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 12px;
}


.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.filter-list a:hover,
.filter-list a.active {
    background: var(--bg-glass-hover);
    color: var(--primary);
}


/* ─── Utility Classes ──────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-primary { color: var(--primary-light); }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 32px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 32px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }

.w-100 { width: 100%; }

.hidden { display: none; }

/* No Image Placeholder */
.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    color: var(--text-muted);
    font-size: 2rem;
    width: 100%;
    height: 100%;
}

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

.animate-in {
    animation: fadeInUp 500ms ease-out forwards;
}

.animate-delay-1 { animation-delay: 100ms; }
.animate-delay-2 { animation-delay: 200ms; }
.animate-delay-3 { animation-delay: 300ms; }
.animate-delay-4 { animation-delay: 400ms; }

/* ─── Scrollbar ────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ─── Luxury Editorial Footer ─────────────────────────────────────────── */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 80px 0 40px;
    border-top: 1px solid #1f1f1f;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .brand-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-transform: uppercase;
    margin-bottom: 0;
}

.footer-brand-header {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-brand-header:hover {
    text-decoration: none;
}

.footer-brand-header .footer-logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #000000;
    display: block;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-brand-header:hover .footer-logo-img {
    opacity: 0.85;
    transform: scale(1.04);
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #a3a3a3 !important;
    -webkit-text-fill-color: #a3a3a3 !important;
    max-width: 320px;
    margin: 0;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: #8a8a8a;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

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

.newsletter-form {
    display: flex;
    border-bottom: 1px solid #333333;
    padding-bottom: 6px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    flex: 1;
    padding: 6px 0;
}

.newsletter-form input::placeholder {
    color: #525252;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 8px;
    transition: transform var(--transition-fast);
}

.newsletter-form button:hover {
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid #1a1a1a;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #525252;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ─── Brand Manifesto Section ─────────────────────────────────────────── */
.brand-manifesto-section {
    background: #000000;
    color: #ffffff;
    padding: 100px 32px;
    text-align: center;
    margin: 80px 0;
}

.brand-manifesto-inner {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #737373;
    display: block;
    margin-bottom: 20px;
}

.manifesto-quote {
    font-family: 'Cormorant Garamond', 'Didot', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-transform: none;
    margin-bottom: 24px;
}

.manifesto-body {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #a3a3a3;
    margin-bottom: 36px;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   ═══════════════════════════════════════════════════════════════════════════ */

@media screen and (max-width: 768px) {
    /* ─── 1. Section Header Mobile ─── */
    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px;
    }
    .section-header h1,
    .section-header h2,
    .section-title {
        font-size: 2.2rem !important;
    }
    .section-header .btn,
    .section-header a {
        align-self: flex-start;
    }

    /* ─── 2. Cart Page Mobile ─── */
    .cart-item {
        flex-wrap: wrap !important;
        gap: 0 !important;
        padding: 20px 0 !important;
        position: relative;
    }
    .cart-item .cart-item-image {
        width: 80px !important;
        height: 100px !important;
        flex: 0 0 80px !important;
    }
    .cart-item .cart-item-info {
        flex: 1 1 0% !important;
        min-width: 0;
        padding-right: 8px;
    }
    .cart-item .cart-item-quantity {
        margin-top: 12px;
        margin-left: 0;
    }
    .cart-item .cart-item-quantity .qty-input {
        width: 52px !important;
    }
    .cart-item .cart-item-subtotal {
        min-width: 0 !important;
        margin-top: 12px;
        margin-left: auto;
        font-size: 0.95rem !important;
        text-align: right !important;
    }
    .cart-item .cart-item-remove {
        margin-top: 12px;
        margin-left: 8px;
    }
    .cart-summary,
    .cart-summary-box {
        padding: 20px 16px !important;
    }

    /* ─── 3. Checkout Page Mobile ─── */
    .checkout-form-box {
        padding: 16px !important;
    }
    .checkout-form-box h3 {
        font-size: 1.1rem !important;
    }
    .checkout-heading,
    h1.checkout-title {
        font-size: 2rem !important;
    }
    .order-summary-item {
        padding: 12px 0 !important;
    }

    /* ─── 5. Account Pages Mobile ─── */
    .table-responsive,
    .table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 24px;
        padding-bottom: 8px;
    }
    .table-responsive .table,
    .table-wrapper .table {
        min-width: 600px !important;
    }
    .account-header,
    .account-section-header {
        font-size: 1.8rem !important;
        margin-bottom: 16px !important;
    }
    .account-card .card-body,
    .card-body {
        padding: 16px !important;
    }

    /* ─── 6. Product Detail Info Mobile ─── */
    .product-info-wrapper h1,
    .product-title {
        font-size: 2.2rem !important;
    }
    .product-info-wrapper {
        padding: 16px 0 !important;
    }
    .add-to-cart-form,
    .add-to-bag-form,
    form[action*="cart"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }
    .add-to-cart-form .btn,
    .add-to-bag-btn {
        width: 100% !important;
        margin-top: 8px;
    }
    
    /* ─── 7. Shop Filter Sidebar Mobile ─── */
    .filter-toggle-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px 16px;
        margin-bottom: 16px;
        background: #000000;
        color: #ffffff;
        border: none;
        font-family: 'Inter', sans-serif;
        font-size: 0.7rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        cursor: pointer;
    }
    .filter-toggle-btn svg {
        stroke: #ffffff;
    }
    .filter-sidebar {
        display: none !important;
        width: 100% !important;
        margin-bottom: 24px !important;
    }
    .filter-sidebar.open {
        display: block !important;
    }

    /* ─── 8. Footer Mobile Enhancement ─── */
    .site-footer,
    footer {
        padding: 40px 20px 20px !important;
    }
    .footer-newsletter form,
    .newsletter-form {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .footer-newsletter input,
    .footer-newsletter button,
    .newsletter-input,
    .newsletter-btn {
        width: 100% !important;
    }
}

@media screen and (max-width: 480px) {
    /* ─── 4. Auth Pages Mobile ─── */
    .auth-wrapper {
        padding: 24px 16px !important;
    }
    .auth-card {
        padding: 24px 20px !important;
        max-width: 100% !important;
    }
    .auth-card h1,
    .auth-title {
        font-size: 2rem !important;
    }
    .auth-card p,
    .auth-subtitle {
        margin-bottom: 24px !important;
    }
}

/* ─── 9. General Mobile Utilities ─── */
.mobile-only {
    display: none !important;
}
.desktop-only {
    display: block !important;
}

@media screen and (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
    .desktop-only {
        display: none !important;
    }
}

/* ─── Editorial Category Filter Badges ───────────────────────────────────── */
.editorial-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.editorial-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 9999px;
    border: 1px solid #e5e5e5;
    background: transparent;
    color: #525252;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    user-select: none;
    line-height: 1.4;
}

.editorial-badge:hover {
    color: #000000;
    border-color: #000000;
    background: #f7f7f7;
    transform: translateY(-1px);
}

.editorial-badge.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.editorial-badge:active {
    transform: translateY(0);
}

@keyframes editorialCardReveal {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.editorial-revealing {
    animation: editorialCardReveal 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 768px) {
    .editorial-header-wrapper {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
    }
    .editorial-badges {
        margin-top: 4px;
        gap: 6px;
    }
    .editorial-badge {
        padding: 4px 11px;
        font-size: 0.64rem;
    }

    /* ─── 2-Column Mobile Product Grid (Editorial Selection & New Arrivals) ─── */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px 10px !important;
    }
    .product-card .product-info {
        padding: 10px 4px 8px 4px !important;
    }
    .product-card .product-name {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
        line-height: 1.25 !important;
    }
    .product-card .product-category {
        font-size: 0.6rem !important;
        letter-spacing: 0.12em !important;
        margin-bottom: 3px !important;
    }
    .product-card .price-current {
        font-size: 0.85rem !important;
    }
    .product-card .price-compare {
        font-size: 0.72rem !important;
    }
    .product-card .badge-overlay {
        top: 6px !important;
        left: 6px !important;
        gap: 4px !important;
    }
    .product-card .badge-overlay .badge {
        font-size: 0.58rem !important;
        padding: 3px 6px !important;
        letter-spacing: 0.08em !important;
    }
}

/* ─── Dark Hero Page Banners (Shop, Cart, Checkout) ───────────────────── */
.page-dark-banner,
.shop-hero-banner,
.cart-hero-banner,
.checkout-hero-banner {
    background: #000000 !important;
    color: #ffffff !important;
    text-align: center;
}

.page-dark-banner h1,
.shop-hero-banner h1,
.cart-hero-banner h1,
.checkout-hero-banner h1 {
    color: #ffffff !important;
}

.page-dark-banner .banner-subtitle,
.shop-hero-banner .banner-subtitle,
.cart-hero-banner .banner-subtitle,
.checkout-hero-banner .banner-subtitle {
    color: #a3a3a3 !important;
    letter-spacing: 0.25em !important;
}

.page-dark-banner .banner-divider,
.shop-hero-banner .banner-divider,
.cart-hero-banner .banner-divider,
.checkout-hero-banner .banner-divider {
    background: rgba(255, 255, 255, 0.3) !important;
}
