/* ===================================
   MAIDUGURI CAPS - Ultra-Modern Design
   =================================== */

:root {
    --bg-primary: #0D0D0D;
    --bg-secondary: #1A1A1A;
    --bg-tertiary: #252525;
    --bg-light: #F8F6F1;
    --bg-cream: #F5F0E8;
    --bg-white: #FFFFFF;
    --accent-gold: #D4AF37;
    --accent-warm: #E8B86D;
    --accent-light: #F5E6C3;
    --accent-soft: rgba(212, 175, 55, 0.08);
    --success: #2ECC71;
    --danger: #E74C3C;
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8B8;
    --text-muted: #6B6B6B;
    --text-dark: #1A1A1A;
    --text-dark-secondary: #555555;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.25);
    --shadow-light: 0 8px 30px rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition-fast: 200ms ease;
    --transition-normal: 350ms ease;
    --transition-slow: 500ms ease;
    --header-height: 80px;
    --announcement-height: 40px;
    --focus-ring: 0 0 0 3px rgba(212, 175, 55, 0.35);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--announcement-height)); }

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
a:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; border-radius: 4px; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
button:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; -webkit-user-select: text; user-select: text; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 1px; }

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

/* ===================================
   ANNOUNCEMENT BAR
   =================================== */
.announcement-bar {
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-warm), var(--accent-gold));
    background-size: 200% 100%;
    animation: shimmerBar 4s ease infinite;
    color: var(--text-dark);
    padding: 10px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    z-index: 1001;
}

@keyframes shimmerBar {
    0%, 100% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
}

.announcement-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.announcement-content .separator { opacity: 0.5; }

/* ===================================
   MOBILE SIDEBAR
   =================================== */
.sidebar-categories {
    position: fixed; left: 0; top: 0;
    width: 85%; max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,0.5);
}
.sidebar-categories.active { transform: translateX(0); }

.sidebar-toggle {
    position: fixed;
    left: 0;
    top: calc(var(--header-height) + var(--announcement-height) + 20px);
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm));
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-dark);
    display: flex; align-items: center; justify-content: center;
    z-index: 1999;
    transition: all var(--transition-normal);
    box-shadow: 3px 0 15px rgba(212,175,55,0.3);
}
.sidebar-toggle:hover { transform: scale(1.05); box-shadow: 3px 0 20px rgba(212,175,55,0.5); }
.sidebar-toggle.active { left: 85%; max-width: 320px; }
.sidebar-toggle svg { width: 22px; height: 22px; }

.sidebar-content { padding: 24px 0; }
.sidebar-content h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; padding: 0 20px; margin-bottom: 20px; color: var(--accent-gold); }
.sidebar-list { margin-bottom: 24px; }

.sidebar-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; color: var(--text-secondary);
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
    cursor: pointer;
}
.sidebar-item:hover { background: var(--accent-soft); color: var(--text-primary); border-left-color: var(--accent-gold); }
.sidebar-item.active { background: rgba(212,175,55,0.15); color: var(--accent-gold); border-left-color: var(--accent-gold); }
.sidebar-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.sidebar-item span:first-of-type { flex: 1; }

.sidebar-count {
    font-size: 12px; font-weight: 600;
    background: rgba(255,255,255,0.1);
    padding: 2px 10px; border-radius: 10px;
    color: var(--text-muted);
}
.sidebar-item.active .sidebar-count { background: var(--accent-gold); color: var(--text-dark); }

.sidebar-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 24px 20px; }
.sidebar-content h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); padding: 0 20px; margin-bottom: 16px; }

.filter-link {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px; color: var(--text-secondary);
    transition: all var(--transition-fast);
}
.filter-link:hover { background: var(--accent-soft); color: var(--accent-gold); }
.filter-link svg { width: 18px; height: 18px; }

.sidebar-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1999;
    opacity: 0; visibility: hidden;
    transition: all var(--transition-normal);
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(13,13,13,0.92);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    height: var(--header-height);
}

.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    height: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 45px; height: 45px; border-radius: var(--radius-sm); object-fit: cover; }
.logo-text { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--text-primary); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }

.nav-link {
    display: flex; align-items: center; gap: 4px;
    padding: 10px 18px;
    font-size: 14px; font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    border-radius: var(--radius-sm);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute; bottom: 4px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%; height: 2px;
    background: var(--accent-gold);
    border-radius: 1px;
    transition: transform var(--transition-normal);
}
.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--accent-gold); }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 4px; }

.nav-btn {
    position: relative;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.nav-btn:hover { color: var(--accent-gold); background: var(--accent-soft); }
.nav-btn svg { width: 20px; height: 20px; }

.nav-btn .badge {
    position: absolute; top: 4px; right: 4px;
    background: var(--accent-gold); color: var(--text-dark);
    font-size: 10px; font-weight: 600;
    min-width: 18px; height: 18px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0);
    transition: all var(--transition-fast);
}
.nav-btn .badge.show { opacity: 1; transform: scale(1); }

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

/* ===================================
   SEARCH OVERLAY
   =================================== */
.search-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 15vh;
    opacity: 0; visibility: hidden;
    transition: all var(--transition-normal);
}
.search-overlay.active { opacity: 1; visibility: visible; }

.search-container { width: 100%; max-width: 700px; padding: 0 24px; }

.search-input-wrapper {
    position: relative;
    display: flex; align-items: center;
    background: var(--bg-secondary);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    transition: border-color var(--transition-fast);
}
.search-input-wrapper:focus-within { border-color: var(--accent-gold); }

.search-icon { width: 24px; height: 24px; color: var(--text-muted); margin-right: 16px; flex-shrink: 0; }
.search-input-wrapper input { flex: 1; background: none; border: none; outline: none; color: var(--text-primary); font-size: 18px; }
.search-input-wrapper input::placeholder { color: var(--text-muted); }

.search-close {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); transition: color var(--transition-fast);
}
.search-close:hover { color: var(--accent-gold); }

.search-suggestions { margin-top: 24px; }
.search-suggestions h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 16px; }

.suggestion-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
    padding: 8px 18px;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 14px; color: var(--text-secondary);
    cursor: pointer; transition: all var(--transition-fast);
}
.tag:hover { background: var(--accent-gold); color: var(--text-dark); }

/* ===================================
   MOBILE MENU
   =================================== */
.mobile-menu {
    position: fixed; top: 0; right: 0;
    width: 100%; max-width: 400px; height: 100%;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    display: flex; flex-direction: column;
}
.mobile-menu.active { transform: translateX(0); }

.mobile-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu-title { font-size: 18px; font-weight: 600; }
.mobile-menu-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); }

.mobile-nav-links { flex: 1; padding: 20px; }
.mobile-nav-link {
    display: block; padding: 16px 0;
    font-size: 16px; color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--accent-gold); }

.mobile-menu-footer { padding: 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-contact p { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; color: var(--text-secondary); }
.mobile-socials { display: flex; gap: 12px; margin-top: 16px; }
.mobile-socials a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    color: var(--text-secondary); transition: all var(--transition-fast);
}
.mobile-socials a:hover { background: var(--accent-gold); color: var(--text-dark); }

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
}
.hero-bg-image { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-bg-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }

.hero-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.5) 40%, rgba(13,13,13,0.85) 100%);
}

.hero-content {
    position: relative; z-index: 1;
    width: 100%; max-width: 1280px;
    margin: 0 auto; padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212,175,55,0.12);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 30px;
    font-size: 12px; font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 24px;
}
.hero-line { display: block; }
.hero-line.accent {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm), #F5D06B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 48px; }
.stat { text-align: left; }
.stat-number { font-family: var(--font-mono); font-size: 36px; font-weight: 700; color: var(--accent-gold); display: block; }
.stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.hero-image { position: relative; display: flex; justify-content: center; }
.hero-product {
    width: 100%; max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-float-badge {
    position: absolute; bottom: 40px; left: -20px;
    background: rgba(26,26,26,0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.float-price { font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--accent-gold); }

.hero-scroll {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm));
    color: var(--text-dark);
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,175,55,0.4); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.15);
    color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent-gold); color: var(--accent-gold); background: rgba(212,175,55,0.05); }

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
.btn-whatsapp-outline {
    background: transparent;
    border: 2px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
}
.btn-whatsapp-outline:hover { background: #25D366; color: #fff; border-color: #25D366; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3); }
.btn-dark { background: var(--text-dark); color: var(--text-primary); }
.btn-dark:hover { background: var(--bg-secondary); }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header.inline { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; }

.section-tag {
    display: inline-block;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-gold);
    margin-bottom: 12px;
    position: relative;
}
.section-tag::before,
.section-tag::after {
    content: '';
    display: inline-block;
    width: 30px; height: 1px;
    background: var(--accent-gold);
    vertical-align: middle;
    margin: 0 12px;
    opacity: 0.5;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.15;
}
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 540px; margin: 0 auto; line-height: 1.7; }
.section-footer { text-align: center; margin-top: 48px; }

/* ===================================
   CATEGORIES SECTION
   =================================== */
.categories {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.category-card {
    position: relative;
    height: 210px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.category-image {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform var(--transition-slow);
}
.category-card:hover .category-image { transform: scale(1.08); }

.category-info {
    position: absolute; bottom: 0; left: 0;
    width: 100%; padding: 18px;
    background: linear-gradient(transparent, rgba(13,13,13,0.9));
    z-index: 1;
}
.category-info h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.category-count { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.category-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(13,13,13,0.45);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--transition-normal);
}
.category-card:hover .category-overlay { opacity: 1; }

.category-cta {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 24px;
    background: var(--accent-gold); color: var(--text-dark);
    font-weight: 600; border-radius: var(--radius-sm);
    transform: translateY(20px); transition: transform var(--transition-normal);
}
.category-card:hover .category-cta { transform: translateY(0); }
.category-cta svg { width: 16px; height: 16px; }

/* ===================================
   FEATURED PRODUCTS
   =================================== */
.featured-products {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    font-size: 14px; font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
    border-radius: 30px;
    transition: all var(--transition-fast);
}
.filter-tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.08); }
.filter-tab.active { background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm)); color: var(--text-dark); }

.sort-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 40px;
}
.sort-wrapper label { font-size: 14px; color: var(--text-muted); }

.sort-select {
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px; cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--accent-gold); }

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

.product-card {
    position: relative;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(255,255,255,0.04);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(212,175,55,0.15); }

.product-image { position: relative; aspect-ratio: 1; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.product-card:hover .product-image img { transform: scale(1.08); }

.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.product-badge { padding: 4px 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; border-radius: 4px; }
.product-badge.sale { background: var(--danger); color: white; }
.product-badge.new { background: var(--accent-gold); color: var(--text-dark); }
.product-badge.bestseller { background: var(--success); color: white; }

.product-actions {
    position: absolute; top: 12px; right: 12px;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateX(10px);
    transition: all var(--transition-normal);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }

.product-action-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(13,13,13,0.8);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}
.product-action-btn:hover { background: var(--accent-gold); color: var(--text-dark); }
.product-action-btn svg { width: 18px; height: 18px; }

.product-quick-view {
    position: absolute; bottom: 0; left: 0;
    width: 100%; padding: 12px;
    background: rgba(13,13,13,0.9);
    backdrop-filter: blur(8px);
    text-align: center;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}
.product-card:hover .product-quick-view { transform: translateY(0); }
.product-quick-view button {
    padding: 10px 20px;
    background: var(--accent-gold); color: var(--text-dark);
    font-size: 13px; font-weight: 600;
    border-radius: var(--radius-sm);
    width: 100%;
}

.product-info { padding: 20px; }
.product-category { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent-gold); margin-bottom: 8px; }

.product-name {
    font-size: 16px; font-weight: 600; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-name a:hover { color: var(--accent-gold); }

.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.product-rating svg { width: 14px; height: 14px; color: var(--accent-gold); }
.product-rating svg.empty { color: var(--text-muted); }
.product-rating span { font-size: 12px; color: var(--text-muted); margin-left: 4px; }

.product-price { display: flex; align-items: center; gap: 10px; }
.price-current { font-family: var(--font-mono); font-size: 18px; font-weight: 700; color: var(--accent-gold); }
.price-original { font-family: var(--font-mono); font-size: 14px; color: var(--text-muted); text-decoration: line-through; }

.product-card-actions { display: flex; gap: 8px; margin-top: 12px; }
.product-card-actions .product-add-btn, .product-card-actions .product-whatsapp-btn { margin-top: 0; }
.product-card-actions .product-whatsapp-btn { flex: 1.3; }

.product-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 12px 8px;
    background: var(--accent-gold);
    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.product-add-btn:hover { background: var(--accent-warm); transform: translateY(-2px); }
.product-add-btn svg { width: 15px; height: 15px; }

.product-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 10px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.product-whatsapp-btn:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); }
.product-whatsapp-btn svg { width: 15px; height: 15px; }
.product-add-btn.added { background: var(--success); border-color: var(--success); color: white; }

.product-chat-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    flex: 1; padding: 12px 8px;
    background: rgba(37, 211, 102, 0.1); color: #25D366; border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; cursor: pointer;
    transition: all var(--transition-fast); white-space: nowrap;
}
.product-chat-btn:hover { background: #25D366; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); }
.product-chat-btn svg { width: 15px; height: 15px; }

/* ===================================
   NEW ARRIVALS CAROUSEL
   =================================== */
.new-arrivals { padding: 100px 0; background: var(--bg-primary); }

.carousel-nav { display: flex; gap: 8px; }
.carousel-btn {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}
.carousel-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.arrivals-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 0;
}
.arrivals-carousel::-webkit-scrollbar { display: none; }
.arrivals-carousel .product-card { flex: 0 0 calc(25% - 15px); scroll-snap-align: start; }

/* ===================================
   BRAND STORY SECTION
   =================================== */
.story-section { padding: 100px 0; background: var(--bg-secondary); }

.story-container {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}

.story-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.story-image img, .story-image video { width: 100%; height: 520px; object-fit: cover; display: block; background: var(--bg-dark); }

.story-image-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(13,13,13,0.35);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 16px;
}
.play-btn {
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-gold);
    border-radius: 50%;
    color: var(--text-dark);
    transition: transform var(--transition-fast);
}
.play-btn:hover { transform: scale(1.1); }
.play-btn svg { width: 32px; height: 32px; margin-left: 2px; }
.story-image-overlay span { font-size: 14px; font-weight: 500; color: white; }

.story-content { padding: 20px 0; }
.story-title { font-family: var(--font-heading); font-size: clamp(32px, 4vw, 44px); font-weight: 700; margin-bottom: 24px; line-height: 1.2; }
.story-text { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }

.story-features { display: grid; gap: 20px; margin: 32px 0; }
.story-feature { display: flex; align-items: flex-start; gap: 16px; }
.story-feature svg { width: 24px; height: 24px; color: var(--accent-gold); flex-shrink: 0; margin-top: 4px; }
.story-feature h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.story-feature p { font-size: 14px; color: var(--text-muted); }

/* ===================================
   WHY US SECTION
   =================================== */
.why-us { padding: 100px 0; background: var(--bg-primary); }

.features-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}
.feature-card:hover { border-color: rgba(212,175,55,0.2); transform: translateY(-6px); box-shadow: var(--shadow-md); }

.feature-icon {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212,175,55,0.08);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; color: var(--accent-gold); }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials { padding: 100px 0; background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); }

.testimonial-rating { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.testimonial-rating .stars { display: flex; gap: 4px; }
.testimonial-rating .stars svg { width: 18px; height: 18px; color: var(--accent-gold); fill: var(--accent-gold); }
.testimonial-rating span { font-size: 14px; color: var(--text-muted); }

.testimonial-slider { justify-content: center; gap: 20px; }
.testimonial-slider .slider-viewport { flex: 0 1 820px; width: 100%; }
.testimonial-track .testimonial-card { flex: 0 0 100%; min-width: 0; margin: 0; }

.testimonial-card {
    padding: 32px;
    background: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(212,175,55,0.1); }
.testimonial-card.featured { border-color: var(--accent-gold); position: relative; }
.testimonial-card.featured::before {
    content: '\201C';
    position: absolute; top: 16px; right: 24px;
    font-family: var(--font-heading);
    font-size: 80px; color: rgba(212,175,55,0.15);
    line-height: 1;
}

.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-stars svg { width: 16px; height: 16px; color: var(--accent-gold); }
.testimonial-stars svg.empty { color: var(--text-muted); }

.testimonial-text {
    font-size: 15px; color: var(--text-secondary);
    line-height: 1.8; margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author h4 { font-size: 15px; font-weight: 600; }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

/* ===================================
   NEWSLETTER
   =================================== */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm), #F5D06B);
    position: relative; overflow: hidden;
}

.newsletter-container {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    position: relative; z-index: 1;
}

.newsletter-content { text-align: center; max-width: 600px; margin: 0 auto; }
.newsletter h2 { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.newsletter p { font-size: 16px; color: rgba(13,13,13,0.75); margin-bottom: 32px; }

.newsletter-form { max-width: 520px; margin: 0 auto; }
.newsletter-input-wrapper { display: flex; gap: 12px; }
.newsletter-input-wrapper input {
    flex: 1; padding: 16px 20px;
    background: white; border: none;
    border-radius: var(--radius-sm);
    font-size: 15px; color: var(--text-dark);
}
.newsletter-input-wrapper input::placeholder { color: var(--text-muted); }
.newsletter-input-wrapper .btn { background: var(--text-dark); color: white; }
.newsletter-input-wrapper .btn:hover { background: var(--bg-secondary); }
.newsletter-disclaimer { font-size: 12px; color: rgba(13,13,13,0.55); margin-top: 16px; }

.newsletter-decoration { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.deco-circle:nth-child(1) { width: 300px; height: 300px; top: -150px; left: -100px; }
.deco-circle:nth-child(2) { width: 200px; height: 200px; bottom: -100px; right: 10%; }
.deco-circle:nth-child(3) { width: 150px; height: 150px; top: 50%; right: -50px; }

/* ===================================
   PRODUCT SLIDER
   =================================== */
.product-slider-section { padding: 100px 0; background: var(--bg-primary); overflow: hidden; }

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slider-track .product-card {
    flex: 0 0 calc(25% - 12px);
    margin-right: 16px;
    min-width: 0;
}
.slider-track .product-card:last-child { margin-right: 0; }

.slider-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--text-dark);
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}
.slider-btn:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(212,175,55,0.5); }
.slider-btn:disabled { opacity: 0.3; cursor: default; transform: none; }
.slider-btn svg { width: 22px; height: 22px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(212,175,55,0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}
.slider-dot.active { background: var(--accent-gold); transform: scale(1.3); }

.features-slider { position: relative; display: flex; align-items: center; gap: 16px; }
.features-viewport { flex: 1; overflow: hidden; border-radius: var(--radius-md); }
.features-btn { display: none; }
.features-dots { display: none; }



/* ===================================
   FOOTER
   =================================== */
.footer { background: var(--bg-secondary); }
.footer-main { padding: 80px 0 40px; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

.footer-brand .footer-logo { width: 60px; height: 60px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}
.footer-socials a:hover { background: var(--accent-gold); color: var(--text-dark); }

.footer-links h4, .footer-contact h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px; }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--accent-gold); }

.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-item svg { width: 18px; height: 18px; color: var(--accent-gold); flex-shrink: 0; margin-top: 2px; }
.contact-item span, .contact-item a { font-size: 14px; color: var(--text-secondary); }
.contact-item a:hover { color: var(--accent-gold); }

.footer-bottom { padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom-content { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

.footer-payments { display: flex; gap: 20px; }
.footer-payments span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.footer-payments svg { width: 18px; height: 18px; }

/* ===================================
   CART DRAWER
   =================================== */
.cart-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
    opacity: 0; visibility: hidden;
    transition: all var(--transition-normal);
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed; top: 0; right: 0;
    width: 100%; max-width: 450px; height: 100%;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    display: flex; flex-direction: column;
}
.cart-drawer.active { transform: translateX(0); }

.cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cart-header h3 { font-size: 18px; font-weight: 600; }
.cart-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: color var(--transition-fast); }
.cart-close:hover { color: var(--accent-gold); }
.cart-body { flex: 1; overflow-y: auto; padding: 24px; }

.cart-empty {
    display: none;
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 60px 24px; height: 100%;
}
.cart-empty.show { display: flex; }
.cart-empty svg { width: 64px; height: 64px; color: var(--text-muted); margin-bottom: 24px; }
.cart-empty p { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.cart-empty span { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.cart-item-image { width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; object-fit: cover; }
.cart-item-details { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cart-item-size { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.cart-item-price { margin-bottom: 12px; }

.cart-item-quantity { display: flex; align-items: center; gap: 8px; }
.qty-btn {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 16px; transition: background var(--transition-fast);
}
.qty-btn:hover { background: var(--accent-gold); color: var(--text-dark); }
.cart-item-quantity span { width: 32px; text-align: center; font-weight: 600; }

.cart-item-remove { color: var(--text-muted); transition: color var(--transition-fast); }
.cart-item-remove:hover { color: var(--danger); }

.cart-footer {
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: none;
}
.cart-footer.show { display: block; }

.cart-subtotal { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.cart-subtotal span:last-child { font-family: var(--font-mono); color: var(--accent-gold); }
.cart-note { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.cart-footer .btn { margin-bottom: 12px; }
.cart-footer .btn:last-child { margin-bottom: 0; }

/* ===================================
   QUICK VIEW MODAL
   =================================== */
.modal-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 3000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: all var(--transition-normal);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-container {
    position: relative;
    width: 100%; max-width: 900px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}
/* Note: the resting state must NOT keep a transform - a persistent transform
   on the container breaks input focus / the keyboard on iOS Safari. The
   scale is only used during the open transition, then removed. */
.modal-overlay.active .modal-container { transform: none; }

.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.5);
    border-radius: var(--radius-sm);
    color: white; z-index: 10;
    transition: background var(--transition-fast);
}
.modal-close:hover { background: var(--accent-gold); color: var(--text-dark); }

.modal-checkout { max-width: 520px; }
.modal-confirm { max-width: 560px; text-align: center; }

.checkout-form { padding: 32px; overflow-y: auto; max-height: 85vh; }
.checkout-form h2 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 20px; color: var(--text-light); }

.checkout-summary { background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 20px; max-height: 200px; overflow-y: auto; }
.checkout-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.checkout-item:last-child { border-bottom: none; }
.checkout-item img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.checkout-item div { flex: 1; min-width: 0; }
.checkout-item p { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checkout-item small { font-size: 11px; color: var(--text-muted); }
.checkout-item span { font-size: 13px; font-weight: 600; color: var(--accent-gold); white-space: nowrap; }

.checkout-form .form-group { margin-bottom: 14px; }
.checkout-form label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    width: 100%; padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 14px; font-family: inherit;
    transition: border-color var(--transition-fast);
}
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus { outline: none; border-color: var(--accent-gold); }
.checkout-form textarea { resize: vertical; min-height: 60px; }
.checkout-form select { cursor: pointer; }
.checkout-form select option { background: #1a1a1a; color: #fff; }

.checkout-total { background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); padding: 16px; margin: 16px 0; }
.total-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: var(--text-secondary); }
.total-row.grand-total { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 12px; margin-top: 8px; font-size: 16px; font-weight: 700; color: var(--accent-gold); }

.checkout-actions { display: flex; gap: 12px; }
.checkout-actions .btn { flex: 1; padding: 14px; font-size: 15px; }

.confirm-content { padding: 40px 32px; max-height: 88vh; overflow-y: auto; }
.confirm-icon { width: 64px; height: 64px; margin: 0 auto 16px; background: rgba(46,213,115,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #2ed573; }
.confirm-content h2 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--text-light); margin-bottom: 8px; }
.confirm-id { font-size: 16px; color: var(--accent-gold); margin-bottom: 8px; }
.confirm-msg { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }

/* Receipt shown in the confirmation modal */
.confirm-receipt {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-bottom: 24px;
    text-align: left;
    font-size: 13px;
}
.receipt-top { text-align: center; border-bottom: 1px dashed rgba(255,255,255,0.15); padding-bottom: 12px; margin-bottom: 12px; }
.receipt-brand { font-family: var(--font-heading); font-weight: 700; letter-spacing: 2px; color: var(--accent-gold); font-size: 15px; }
.receipt-id { font-family: var(--font-mono); color: var(--text-light); margin-top: 4px; font-size: 14px; }
.receipt-date { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.receipt-customer { margin-bottom: 12px; }
.receipt-customer > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 12px; }
.receipt-customer span { color: var(--text-muted); flex-shrink: 0; }
.receipt-customer strong { color: var(--text-secondary); text-align: right; word-break: break-word; }
.receipt-items { border-top: 1px dashed rgba(255,255,255,0.15); border-bottom: 1px dashed rgba(255,255,255,0.15); padding: 8px 0; margin-bottom: 8px; }
.receipt-totals, .receipt-meta { padding: 2px 0; }
.receipt-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--text-secondary); }
.receipt-row span:first-child { min-width: 0; }
.receipt-row span:last-child { text-align: right; font-weight: 600; color: var(--text-light); flex-shrink: 0; }
.receipt-grand { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 4px; padding-top: 8px; }
.receipt-grand span { font-size: 16px; color: var(--accent-gold); }
.receipt-status { text-transform: capitalize; }

.modal-checkout .btn-primary, .modal-confirm .btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #c9a032);
    border: none; color: var(--text-dark);
}
.modal-checkout .btn-primary:hover, .modal-confirm .btn-primary:hover {
    box-shadow: 0 4px 20px rgba(212,175,55,0.4);
}
.modal-checkout .btn-primary:disabled {
    opacity: 0.6; cursor: not-allowed;
}

.modal-content { display: grid; grid-template-columns: 1fr 1fr; }

/* Mobile: make modals scrollable and keyboard-friendly. Aligning to the top
   lets the browser scroll the focused field above the on-screen keyboard,
   and 16px inputs stop iOS from auto-zooming on focus. */
@media (max-width: 768px) {
    .modal-overlay {
        align-items: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 16px;
    }
    .modal-overlay .modal-container { transform: none; }
    .modal-container { max-height: none; }
    .modal-content { grid-template-columns: 1fr; }
    .checkout-form { max-height: none; }
    .dashboard-content { max-height: none; }
    .checkout-form input,
    .checkout-form textarea,
    .checkout-form select,
    .online-pay-content input,
    .online-pay-content select,
    .auth-content input,
    .dashboard-content input,
    .dashboard-content textarea,
    .dashboard-content select { font-size: 16px; }
}

/* ===================================
   TOAST NOTIFICATIONS
   =================================== */
.toast-container {
    position: fixed; bottom: 24px; right: 24px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    animation: slideIn 300ms ease-out;
    max-width: 350px;
}
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast.hiding { animation: slideOut 300ms ease-out forwards; }
@keyframes slideOut { to { transform: translateX(100%); opacity: 0; } }

.toast svg { width: 20px; height: 20px; flex-shrink: 0; }
.toast.success svg { color: var(--success); }
.toast.error svg { color: var(--danger); }
.toast.info svg { color: var(--accent-gold); }
.toast span { font-size: 14px; color: var(--text-primary); flex: 1; }
.toast button { background: none; border: none; color: inherit; cursor: pointer; margin-left: auto; }

/* Back to Top */
.back-to-top {
    position: fixed; bottom: 24px; left: 24px;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm));
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-gold);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(212,175,55,0.4); }
.back-to-top svg { width: 22px; height: 22px; }

/* ===================================
   RESPONSIVE - TABLET
   =================================== */
@media (max-width: 1200px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .category-card { height: 170px; }
    .category-info { padding: 16px; }
    .category-info h3 { font-size: 16px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .arrivals-carousel .product-card { flex: 0 0 calc(33.333% - 14px); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* ===================================
   RESPONSIVE - TABLET PORTRAIT
   =================================== */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
    .hero-image { display: none; }
    .story-container { grid-template-columns: 1fr; gap: 40px; }
    .story-image { order: 2; }
    .features-track { grid-template-columns: repeat(2, 1fr); }
    .slider-track .product-card { flex: 0 0 calc(33.333% - 11px); }
    .modal-content { grid-template-columns: 1fr; }
    .section-tag::before, .section-tag::after { width: 20px; }
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */
@media (max-width: 768px) {
    :root { --header-height: 64px; }

    .announcement-content { font-size: 11px; }
    .announcement-content .separator { display: none; }
    .announcement-content span:not(:first-child) { display: none; }

    .logo-text { font-size: 16px; }
    .nav-actions { gap: 2px; }
    .nav-btn { width: 38px; height: 38px; }

    .hero { min-height: auto; flex-direction: column; justify-content: flex-start; padding: 0; }
    .hero-background {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 2560 / 930;
        flex-shrink: 0;
    }
    .hero-bg-image, .hero-bg-video { object-fit: cover; opacity: 1; }
    .hero-overlay { background: linear-gradient(180deg, rgba(13,13,13,0.05) 0%, rgba(13,13,13,0.15) 100%); }
    .hero-content { padding: 32px 24px 48px; }
    .hero-scroll { display: none; }
    .hero-badge { font-size: 10px; padding: 6px 14px; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 15px; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .btn { width: 100%; padding: 16px 24px; font-size: 15px; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 28px; }

    .categories, .featured-products, .new-arrivals, .why-us, .testimonials, .instagram-feed { padding: 60px 0; }
    .section-header { margin-bottom: 32px; }
    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 14px; }
    .section-tag::before, .section-tag::after { display: none; }

    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-card { height: 140px; }
    .category-info { padding: 12px; }
    .category-info h3 { font-size: 15px; }
    .category-count { font-size: 11px; }
    .category-overlay { display: none; }

    .filter-tabs { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 16px; margin: 0 -16px 20px; scrollbar-width: none; }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .filter-tab { flex-shrink: 0; padding: 10px 16px; font-size: 13px; white-space: nowrap; }
    .sort-wrapper { margin-bottom: 24px; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 4px; }
    .product-info { padding: 12px; }
    .product-name { font-size: 13px; }
    .price-current { font-size: 15px; }
    .product-card-actions { gap: 6px; margin-top: 10px; }
    .product-add-btn, .product-whatsapp-btn, .product-chat-btn { padding: 10px 6px; font-size: 11px; }
    .product-add-btn svg, .product-whatsapp-btn svg, .product-chat-btn svg { width: 14px; height: 14px; }
    .product-badge { font-size: 9px; padding: 3px 8px; }
    .product-actions { opacity: 1; transform: translateX(0); }
    .product-action-btn { width: 36px; height: 36px; }
    .product-quick-view { display: none; }

    .carousel-nav { display: none; }
    .arrivals-carousel { gap: 12px; }
    .arrivals-carousel .product-card { flex: 0 0 80%; }

    .story-content { padding: 0; }
    .story-title { font-size: 28px; }
    .story-text { font-size: 14px; }
    .story-image img, .story-image video { height: 280px; }
    .features-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); will-change: transform; }
    .features-track .feature-card { flex: 0 0 100%; min-width: 0; }
    .features-slider { gap: 8px; }
    .features-btn { display: flex; }
    .features-dots { display: flex; }
    .testimonial-slider .slider-btn { display: none; }
    .feature-card { padding: 24px; }
    .feature-icon { width: 48px; height: 48px; }

    .newsletter { padding: 60px 20px; }
    .newsletter h2 { font-size: 24px; }
    .newsletter-input-wrapper { flex-direction: column; gap: 12px; }
    .newsletter-input-wrapper input, .newsletter-input-wrapper .btn { width: 100%; }

    .slider-track .product-card { flex: 0 0 calc(50% - 8px); margin-right: 12px; }
    .slider-btn { width: 36px; height: 36px; }
    .slider-btn svg { width: 18px; height: 18px; }
    .slider-wrapper { gap: 8px; }
    .product-slider-section { padding: 60px 0; }

    .footer-main { padding: 48px 0 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; text-align: center; }
    .footer-brand { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; }
    .footer-contact { grid-column: 1 / -1; }
    .footer-brand .footer-logo { margin: 0 auto 20px; }
    .footer-socials { justify-content: center; }
    .footer-links h4 { margin-bottom: 14px; }
    .footer-links ul { align-items: center; gap: 8px; }
    .contact-item { justify-content: center; }
    .footer-payments { justify-content: center; flex-wrap: wrap; }
    .footer-bottom-content { flex-direction: column; gap: 12px; text-align: center; }

    .cart-drawer { max-width: 100%; }
    .cart-header { padding: 16px 20px; }
    .cart-body { padding: 16px; }
    .cart-footer { padding: 16px; }

    .sidebar-content { padding: 20px 0; }
    .sidebar-content h3 { font-size: 20px; padding: 0 20px; }
    .sidebar-item { padding: 16px 20px; min-height: 52px; }
    .sidebar-item svg { width: 24px; height: 24px; }
    .sidebar-item span:first-of-type { font-size: 15px; }
}

/* ===================================
   RESPONSIVE - SMALL MOBILE
   =================================== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 13px; }
    .categories, .featured-products, .new-arrivals, .why-us, .testimonials, .instagram-feed { padding: 48px 0; }
    .checkout-form { padding: 20px 16px; }
    .modal-checkout { margin: 10px; }
    .modal-confirm { margin: 10px; }
    .checkout-actions { flex-direction: column-reverse; }
    .checkout-actions .btn { width: 100%; min-height: 44px; }
    .confirm-content { padding: 32px 20px; }
    .product-grid { gap: 10px; }
    .product-add-btn { min-height: 44px; }
    .cart-item { padding: 12px 0; gap: 12px; }
    .cart-item-image { width: 64px; height: 64px; }
    .qty-btn { width: 36px; height: 36px; min-width: 36px; }
    .btn { min-height: 44px; }
    .nav-btn { width: 44px; height: 44px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 14px; }
    .nav-actions { gap: 4px; }
    .sidebar-item { min-height: 48px; padding: 14px 20px; }
    .category-card { height: 115px; }
    .category-info { padding: 10px; }
    .category-info h3 { font-size: 13px; }
    .feature-card { padding: 20px; }
    .newsletter { padding: 48px 16px; }
    .newsletter h2 { font-size: 22px; }
    .footer-main { padding: 40px 0 20px; }
    .footer-grid { gap: 24px 16px; }
    .footer-links h4 { font-size: 12px; margin-bottom: 14px; }
    .footer-links ul { gap: 6px; }
    .footer-links a { font-size: 13px; }
    .footer-brand p { font-size: 13px; }
    .footer-socials a { width: 36px; height: 36px; }
    .contact-item { gap: 10px; margin-bottom: 14px; }
    .contact-item span, .contact-item a { font-size: 13px; }
    .footer-bottom { padding: 20px 0; }
    .footer-bottom-content { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 380px) {
    .container { padding: 0 12px; }
    .hero-title { font-size: 28px; }
    .hero-badge { font-size: 9px; padding: 4px 12px; }
    .product-grid { gap: 8px; }
    .product-info { padding: 10px; }
    .product-name { font-size: 12px; }
    .product-category { font-size: 10px; }
    .price-current { font-size: 14px; }
    .price-original { font-size: 11px; }
    .arrivals-carousel .product-card { flex: 0 0 85%; }
    .toast-container { bottom: 16px; right: 16px; left: 16px; }
    .toast { max-width: 100%; }
    .nav-btn { width: 40px; height: 40px; }
    .section-title { font-size: 22px; }
    .categories, .featured-products, .new-arrivals, .why-us, .testimonials { padding: 40px 0; }
    .cart-item { gap: 8px; }
    .cart-item-image { width: 56px; height: 56px; }
    .qty-btn { width: 32px; height: 32px; min-width: 32px; font-size: 14px; }
    .sidebar-item { min-height: 44px; padding: 12px 16px; }
    .sidebar-content h3 { font-size: 18px; }
}

/* ===================================
   SECTION ENTRANCE ANIMATIONS
   =================================== */
.section-animate { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.section-animate.visible { opacity: 1; transform: translateY(0); }

/* ===================================
   SKELETON LOADING
   =================================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.skeleton-card { height: 380px; }
.skeleton-img { width: 100%; aspect-ratio: 1; }
.skeleton-text { height: 14px; margin: 12px 16px; }
.skeleton-text.short { width: 60%; }
.skeleton-text.tiny { width: 40%; height: 10px; }

/* Image loading fade */
.product-image img, .category-image img, .hero-bg-image, .story-image img {
    opacity: 0; transition: opacity 0.5s ease;
}
.product-image img.loaded, .category-image img.loaded, .hero-bg-image.loaded, .story-image img.loaded {
    opacity: 1;
}
.product-image img[src]:not([src=""]) { opacity: 1; }

/* Image error fallback */
img.error-fallback { object-fit: contain; background: var(--bg-secondary); padding: 20px; }

/* ===================================
   FLOATING WHATSAPP WIDGET
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-fast);
    animation: whatsappPulse 2s ease infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    box-shadow: var(--shadow-md);
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--bg-tertiary);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

@media (max-width: 768px) {
    .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
    .whatsapp-tooltip { display: none; }
}

@media (max-width: 480px) {
    .whatsapp-float { bottom: 12px; right: 12px; width: 48px; height: 48px; }
    .whatsapp-float svg { width: 22px; height: 22px; }
}

/* Quick View inner styles */
.quick-view-gallery { background: var(--bg-primary); padding: 40px; display: flex; flex-direction: column; }
.quick-view-gallery .main-image { width: 100%; max-height: 400px; object-fit: contain; }
.thumbnail-row { display: flex; gap: 10px; margin-top: 16px; }
.thumbnail-row img { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; cursor: pointer; opacity: 0.5; transition: opacity var(--transition-fast); }
.thumbnail-row img:hover, .thumbnail-row img.active { opacity: 1; }

.quick-view-details { padding: 40px; display: flex; flex-direction: column; }
.quick-view-details h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 700; margin-bottom: 16px; }

/* ===================================
   AUTH MODALS (Login / Register)
   =================================== */
.modal-auth { max-width: 440px; }

.auth-content { padding: 40px 32px; }

.auth-header { text-align: center; margin-bottom: 32px; }
.auth-icon {
    width: 64px; height: 64px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212,175,55,0.12);
    border-radius: 50%;
}
.auth-icon svg { width: 28px; height: 28px; color: var(--accent-gold); }
.auth-header h2 { font-family: var(--font-heading); font-size: 24px; margin-bottom: 6px; color: var(--text-primary); }
.auth-header p { font-size: 14px; color: var(--text-muted); }

.auth-footer { text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); }
.auth-footer p { font-size: 14px; color: var(--text-muted); }
.auth-footer a { color: var(--accent-gold); font-weight: 600; cursor: pointer; }
.auth-footer a:hover { text-decoration: underline; }

/* ===================================
   DASHBOARD MODAL
   =================================== */
.modal-dashboard { max-width: 760px; max-height: 88vh; }

.dashboard-content { padding: 0; overflow-y: auto; max-height: 88vh; }

/* --- Header (cover style) --- */
.dash-header {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 28px 32px; padding-right: 76px;
    background: linear-gradient(135deg, rgba(212,175,55,0.10), rgba(212,175,55,0.02) 45%, rgba(255,255,255,0.02));
    border-bottom: 1px solid rgba(212,175,55,0.15);
}
.dash-cover-glow {
    position: absolute; top: -80px; right: -40px;
    width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.16), transparent 70%);
    pointer-events: none;
}
.dash-user-info { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; }
.dash-avatar {
    width: 62px; height: 62px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm));
    border-radius: 50%; font-size: 22px; font-weight: 700; color: var(--text-dark);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.25), 0 8px 24px rgba(212,175,55,0.25);
}
.dash-user-name { font-size: 19px; font-weight: 700; line-height: 1.25; }
.dash-user-email { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.dash-user-since {
    display: flex; align-items: center; gap: 6px;
    margin-top: 8px; font-size: 11.5px; color: var(--accent-gold);
    text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600;
}
.dash-user-since svg { width: 13px; height: 13px; }

.dash-logout-btn {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; font-size: 13px; font-weight: 600;
    color: var(--danger); background: rgba(231,76,60,0.1);
    border: 1px solid rgba(231,76,60,0.25);
    border-radius: var(--radius-sm); transition: all var(--transition-fast);
    white-space: nowrap;
}
.dash-logout-btn svg { width: 15px; height: 15px; }
.dash-logout-btn:hover { background: rgba(231,76,60,0.2); transform: translateY(-1px); }

/* --- Stats --- */
.dash-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    padding: 22px 32px;
}
.dash-stat-card {
    text-align: center; padding: 20px 12px 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.dash-stat-card:hover { transform: translateY(-2px); border-color: rgba(212,175,55,0.25); }
.dash-stat-icon {
    width: 42px; height: 42px; margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
}
.dash-stat-icon svg { width: 20px; height: 20px; }
.dash-stat-value {
    font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: var(--accent-gold);
    display: block; line-height: 1.1;
}
.dash-stat-label { font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; margin-top: 6px; }

/* --- Tabs --- */
.dash-tabs {
    display: flex; padding: 0 32px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    gap: 4px;
}
.dash-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 22px; font-size: 14px; font-weight: 600;
    color: var(--text-muted); border-bottom: 2px solid transparent;
    transition: all var(--transition-fast); cursor: pointer;
    border-radius: 8px 8px 0 0;
}
.dash-tab svg { width: 16px; height: 16px; }
.dash-tab:hover { color: var(--text-secondary); background: rgba(255,255,255,0.03); }
.dash-tab.active { color: var(--accent-gold); border-bottom-color: var(--accent-gold); background: rgba(212,175,55,0.05); }

.dash-body { padding: 24px 32px; }

.dash-section-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; font-weight: 700; margin-bottom: 18px;
    color: var(--text-primary);
}
.dash-section-title svg { width: 18px; height: 18px; color: var(--accent-gold); }

/* --- Order cards --- */
.dash-order-card {
    margin-bottom: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.dash-order-card:hover { border-color: rgba(212,175,55,0.25); }
.dash-order-card.is-expanded { border-color: rgba(212,175,55,0.35); box-shadow: 0 8px 28px rgba(0,0,0,0.35); }

.dash-order-main {
    display: flex; align-items: center; gap: 16px;
    padding: 16px; cursor: pointer;
}
.dash-order-thumb {
    width: 56px; height: 56px; flex-shrink: 0;
    border-radius: 12px; overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}
.dash-order-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dash-order-info { flex: 1; min-width: 0; }
.dash-order-topline { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.dash-order-id {
    font-family: var(--font-mono); font-size: 14px; font-weight: 700;
    color: var(--accent-gold); letter-spacing: 0.3px;
}
.dash-order-status {
    padding: 4px 12px; border-radius: 20px;
    font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
    white-space: nowrap;
}
.status-pending { background: rgba(241,196,15,0.15); color: #f1c40f; }
.status-processing { background: rgba(52,152,219,0.15); color: #3498db; }
.status-shipped { background: rgba(155,89,182,0.15); color: #b07ae0; }
.status-delivered, .status-completed { background: rgba(46,204,113,0.15); color: #2ecc71; }
.status-cancelled { background: rgba(231,76,60,0.15); color: #e74c3c; }

.dash-order-meta {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: 12px; color: var(--text-muted);
}
.dash-order-meta span { display: inline-flex; align-items: center; gap: 5px; }
.dash-order-meta svg { width: 13px; height: 13px; color: var(--accent-gold); }

.dash-order-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.dash-order-total { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--text-primary); white-space: nowrap; }
.dash-order-chev {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,0.06);
    color: var(--text-muted); transition: transform var(--transition-fast);
}
.dash-order-chev svg { width: 14px; height: 14px; }
.dash-order-card.is-expanded .dash-order-chev { transform: rotate(180deg); color: var(--accent-gold); }

/* --- Expandable detail body --- */
.dash-order-detail { display: none; }
.dash-order-card.is-expanded .dash-order-detail { display: block; }

.dash-order-detail-inner {
    padding: 4px 16px 16px;
    border-top: 1px dashed rgba(255,255,255,0.08);
    margin: 0 16px 16px;
}

.dash-detail-heading {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; margin-bottom: 6px;
    color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px;
}
.dash-detail-heading svg { width: 15px; height: 15px; color: var(--accent-gold); }
.dash-timeline-wrap { margin-bottom: 16px; }

.dash-items-list { margin: 6px 0 16px; display: flex; flex-direction: column; }
.dash-item-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dash-item-row:last-child { border-bottom: none; }
.dash-item-thumb {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 10px; overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
}
.dash-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dash-item-info { flex: 1; min-width: 0; }
.dash-item-info strong { display: block; font-size: 13.5px; margin-bottom: 3px; }
.dash-item-info span { font-size: 12px; color: var(--text-muted); }
.dash-item-total { font-size: 13.5px; font-weight: 700; color: var(--accent-gold); white-space: nowrap; }

.dash-totals { margin: 4px 0 14px; padding: 10px 0; border-top: 1px dashed rgba(255,255,255,0.08); }
.dash-detail-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 13.5px; color: var(--text-secondary); }
.dash-detail-row span:last-child { text-align: right; }
.dash-grand-total { font-weight: 700; color: var(--text-primary); font-size: 15px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 4px; padding-top: 10px; }
.dash-grand-total span:last-child { color: var(--accent-gold); }

.dash-cancelled-note {
    display: flex; align-items: center; gap: 10px;
    padding: 14px; margin: 6px 0 16px;
    background: rgba(231,76,60,0.08);
    border: 1px solid rgba(231,76,60,0.2);
    border-radius: var(--radius-sm);
}
.dash-cancelled-note svg { width: 18px; height: 18px; color: #e74c3c; flex-shrink: 0; }
.dash-cancelled-note p { font-size: 13px; color: var(--danger); margin: 0; }

/* --- Order quick actions --- */
.dash-order-actions {
    display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap;
}
.dash-track-btn, .dash-receipt-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; font-size: 13px; font-weight: 600;
    border-radius: var(--radius-sm); cursor: pointer;
    transition: all var(--transition-fast);
}
.dash-track-btn svg, .dash-receipt-btn svg { width: 15px; height: 15px; }
.dash-track-btn {
    background: var(--accent-gold); color: var(--text-dark);
}
.dash-track-btn:hover { background: var(--accent-warm); transform: translateY(-1px); }
.dash-receipt-btn {
    background: rgba(255,255,255,0.05); color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.1);
}
.dash-receipt-btn:hover { background: rgba(255,255,255,0.09); color: var(--text-primary); }

/* --- Empty state --- */
.dash-empty {
    text-align: center; padding: 56px 20px; color: var(--text-muted);
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
}
.dash-empty svg { width: 48px; height: 48px; margin-bottom: 16px; color: var(--accent-gold); opacity: 0.6; }
.dash-empty p { font-size: 15px; margin-bottom: 8px; color: var(--text-secondary); }
.dash-empty span { font-size: 13px; }

/* --- Order Tracking Steps --- */
.order-tracking-steps { padding: 14px 0 4px; }
.tracking-step {
    display: flex; align-items: flex-start; gap: 16px;
    padding-bottom: 22px; position: relative;
}
.tracking-step:not(:last-child)::after {
    content: '';
    position: absolute; left: 15px; top: 34px; bottom: 0;
    width: 2px; background: rgba(255,255,255,0.08);
}
.tracking-step.completed:not(:last-child)::after { background: var(--accent-gold); }
.tracking-dot {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06); flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.1);
    z-index: 1; font-size: 12px; font-weight: 700; color: var(--text-muted);
}
.tracking-step.completed .tracking-dot { background: var(--accent-gold); border-color: var(--accent-gold); color: var(--text-dark); }
.tracking-step.active .tracking-dot { border-color: var(--accent-gold); color: var(--accent-gold); animation: pulse 2s infinite; }
.tracking-step.active .tracking-info h4 { color: var(--accent-gold); }
.tracking-dot svg { width: 14px; height: 14px; }
.tracking-info h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.tracking-info p { font-size: 12px; color: var(--text-muted); }

/* ===================================
   BANK DETAILS MODAL
   =================================== */
.modal-bank { max-width: 560px; }

.bank-details-content { padding: 32px; }

.bank-header { text-align: center; margin-bottom: 28px; }
.bank-icon {
    width: 64px; height: 64px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212,175,55,0.12); border-radius: 50%;
}
.bank-icon svg { width: 28px; height: 28px; color: var(--accent-gold); }
.bank-header h2 { font-family: var(--font-heading); font-size: 22px; margin-bottom: 6px; }
.bank-header p { font-size: 14px; color: var(--text-muted); }

.bank-info-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.bank-card {
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}
.bank-card:hover { border-color: rgba(212,175,55,0.2); }

.bank-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.bank-name { font-size: 16px; font-weight: 600; }
.bank-tag {
    padding: 3px 10px; border-radius: 12px;
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    background: var(--accent-gold); color: var(--text-dark);
}
.bank-tag.secondary { background: rgba(255,255,255,0.08); color: var(--text-muted); }

.bank-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; color: var(--text-secondary); }
.bank-detail-row strong { color: var(--text-primary); font-size: 15px; }
.account-number { cursor: pointer; transition: color var(--transition-fast); display: flex; align-items: center; gap: 6px; }
.account-number:hover { color: var(--accent-gold); }
.copy-icon { width: 14px !important; height: 14px !important; }

.bank-notice {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px; margin-bottom: 20px;
    background: rgba(241,196,15,0.08);
    border: 1px solid rgba(241,196,15,0.2);
    border-radius: var(--radius-sm);
}
.bank-notice > svg { width: 20px; height: 20px; color: #f1c40f; flex-shrink: 0; margin-top: 2px; }
.bank-notice strong { font-size: 14px; display: block; margin-bottom: 4px; }
.bank-notice p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin: 0; }

.bank-order-summary {
    padding: 16px; margin-bottom: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
}
.bank-order-summary .total-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.bank-order-summary .total-row:last-child { font-weight: 700; color: var(--accent-gold); font-size: 16px; }

/* Payment steps for the bank transfer flow */
.bank-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.bank-step { display: flex; align-items: flex-start; gap: 12px; padding: 10px 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-sm); }
.bank-step-num { width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--accent-gold); color: var(--text-dark); border-radius: 50%; font-size: 13px; font-weight: 700; margin-top: 1px; }
.bank-step p { margin: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.bank-step strong { color: var(--accent-gold); }

/* ===================================
   ONLINE PAYMENT MODAL
   =================================== */
.modal-online-pay { max-width: 440px; }

.online-pay-content { padding: 32px; position: relative; }

.pay-header { text-align: center; margin-bottom: 24px; }
.pay-logo {
    width: 56px; height: 56px; margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(46,204,113,0.12); border-radius: 50%;
}
.pay-logo svg { width: 24px; height: 24px; color: #2ecc71; }
.pay-header h2 { font-family: var(--font-heading); font-size: 22px; margin-bottom: 4px; }
.pay-header p { font-size: 14px; color: var(--text-muted); }

.pay-amount-display {
    text-align: center; padding: 20px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}
.pay-amount-display span { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.pay-amount-display strong { font-family: var(--font-mono); font-size: 28px; color: var(--accent-gold); }

.card-input-wrapper { position: relative; }
.card-input-wrapper input { padding-right: 50px; font-family: var(--font-mono); letter-spacing: 2px; }
.card-brands { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.card-brands svg { width: 22px; height: 22px; }

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

.cvv-wrapper { position: relative; }
.cvv-wrapper input { padding-right: 40px; font-family: var(--font-mono); letter-spacing: 3px; }
.cvv-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-muted); }

.pay-btn { padding: 16px; font-size: 16px; margin-top: 8px; }

.pay-security { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; }
.pay-security svg { width: 14px; height: 14px; color: var(--text-muted); }
.pay-security span { font-size: 12px; color: var(--text-muted); }

.pay-processing {
    text-align: center; padding: 40px 20px;
}
.pay-spinner {
    width: 48px; height: 48px; margin: 0 auto 20px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pay-processing p { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.pay-processing span { font-size: 13px; color: var(--text-muted); }

/* ===================================
   CHECKOUT EXTRAS
   =================================== */
.checkout-account-option {
    padding: 16px; margin-bottom: 16px;
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: var(--radius-sm);
}
.checkbox-label {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; color: var(--text-secondary); cursor: pointer;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkmark {
    width: 20px; height: 20px; border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-fast); flex-shrink: 0;
}
.checkbox-label input:checked + .checkmark {
    background: var(--accent-gold); border-color: var(--accent-gold);
}
.checkbox-label input:checked + .checkmark::after {
    content: '\2713'; font-size: 12px; font-weight: 700; color: var(--text-dark);
}
.password-field { margin-top: 12px; }

.logged-in-banner {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; margin-bottom: 16px;
    background: rgba(46,204,113,0.08);
    border: 1px solid rgba(46,204,113,0.2);
    border-radius: var(--radius-sm);
}
.logged-in-banner > svg { width: 20px; height: 20px; color: #2ecc71; flex-shrink: 0; }
.logged-in-banner div { flex: 1; }
.logged-in-banner strong { display: block; font-size: 14px; }
.logged-in-banner span { font-size: 12px; color: var(--text-muted); }
.btn-link {
    background: none; border: none; color: var(--danger);
    font-size: 13px; font-weight: 600; cursor: pointer;
    padding: 4px 8px; border-radius: 4px;
}
.btn-link:hover { background: rgba(231,76,60,0.1); }

.bank-preview-card, .card-preview-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; margin-bottom: 16px;
    border-radius: var(--radius-sm);
}
.bank-preview-card {
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.12);
}
.card-preview-card {
    background: rgba(52,152,219,0.06);
    border: 1px solid rgba(52,152,219,0.12);
}
.bank-preview-card > svg, .card-preview-card > svg { width: 20px; height: 20px; flex-shrink: 0; }
.bank-preview-card > svg { color: var(--accent-gold); }
.card-preview-card > svg { color: #3498db; }
.bank-preview-card div, .card-preview-card div { flex: 1; }
.bank-preview-card strong, .card-preview-card strong { display: block; font-size: 13px; }
.bank-preview-card span, .card-preview-card span { font-size: 12px; color: var(--text-muted); }

.confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; justify-content: center; }
.confirm-actions .btn { min-width: 170px; }
.confirm-actions .btn-whatsapp { flex: 1 1 100%; justify-content: center; }

/* Pulse animation for tracking */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212,175,55,0); }
    100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

/* ===================================
   RESPONSIVE - AUTH / DASHBOARD MODALS
   =================================== */
@media (max-width: 768px) {
    .modal-auth { margin: 10px; }
    .auth-content { padding: 28px 20px; }
    .modal-dashboard { margin: 10px; max-height: 95vh; }
    .dash-header { padding: 20px; flex-direction: column; text-align: center; }
    .dash-user-info { flex-direction: column; gap: 12px; }
    .dash-cover-glow { display: none; }
    .dash-stats { grid-template-columns: 1fr; padding: 16px 20px; }
    .dash-tabs { padding: 0 12px; overflow-x: auto; }
    .dash-tab { padding: 13px 14px; font-size: 13px; white-space: nowrap; }
    .dash-body { padding: 16px 20px; }
    .dash-order-main { flex-wrap: wrap; gap: 12px; }
    .dash-order-thumb { width: 48px; height: 48px; }
    .dash-order-side { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
    .dash-order-detail-inner { margin: 0 12px 12px; padding: 4px 8px 12px; }
    .dash-order-actions { flex-direction: column; }
    .dash-track-btn, .dash-receipt-btn { width: 100%; justify-content: center; }
    .modal-bank { margin: 10px; }
    .bank-details-content { padding: 20px; }
    .modal-online-pay { margin: 10px; }
    .online-pay-content { padding: 24px 20px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .confirm-actions { flex-direction: column; }
    .confirm-actions .btn { width: 100%; }
}

/* ===================================
   INLINE CONTENT EDITING (EDIT MODE)
   =================================== */
.edit-site-btn {
    position: fixed; left: 20px; bottom: 20px; z-index: 1000;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: var(--accent-gold); color: var(--text-dark);
    font-weight: 600; font-size: 14px;
    border: none; border-radius: 999px; cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    transition: transform var(--transition-fast), background var(--transition-fast);
}
.edit-site-btn:hover { transform: translateY(-2px); }
.edit-site-btn svg { width: 16px; height: 16px; }
.edit-site-btn.active { background: #16a34a; color: #fff; }

body.edit-mode [data-edit-key] {
    outline: 2px dashed rgba(212,175,55,0.75);
    outline-offset: 3px;
    cursor: pointer;
}

.edit-badge {
    position: absolute; top: 8px; right: 8px; z-index: 20;
    width: 26px; height: 26px;
    display: none; align-items: center; justify-content: center;
    background: var(--accent-gold); color: var(--text-dark);
    font-size: 13px; line-height: 1;
    border: none; border-radius: 6px; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
body.edit-mode [data-edit-key]:hover .edit-badge,
body.edit-mode .edit-badge:hover { display: inline-flex; }

body.edit-mode [data-edit-key].edit-active {
    outline: 2px solid #22c55e;
    background: rgba(34,197,94,0.08);
}

.edit-toolbar {
    position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
    z-index: 1001;
    display: flex; align-items: center; gap: 10px;
    max-width: calc(100vw - 32px);
    background: #1a1a1a; color: #fff;
    padding: 10px 14px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.55);
}
.edit-toolbar label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); white-space: nowrap; }
.edit-toolbar .edit-toolbar-label { font-size: 13px; color: #bbb; white-space: nowrap; }
.edit-toolbar input[type="url"] {
    width: 320px; max-width: 50vw;
    padding: 8px 10px; border-radius: 8px;
    border: 1px solid #333; background: #0d0d0d; color: #fff; font-size: 13px;
}
.edit-toolbar input[type="url"]:focus { outline: none; border-color: var(--accent-gold); }
.edit-toolbar .btn { min-height: 34px; padding: 7px 16px; font-size: 13px; border-radius: 8px; }
.edit-toolbar .edit-save { background: #22c55e; color: #fff; }
.edit-toolbar .edit-save:hover { background: #16a34a; }
.edit-toolbar .edit-cancel { background: #3f3f46; color: #fff; }
.edit-toolbar .edit-cancel:hover { background: #52525b; }

@media (max-width: 600px) {
    .edit-site-btn { left: 12px; bottom: 12px; padding: 9px 14px; }
    .edit-toolbar { flex-wrap: wrap; width: calc(100vw - 24px); }
    .edit-toolbar input[type="url"] { width: 100%; max-width: 100%; }
}
