/* ============================================================
   LUXE STORE - Premium Light Theme Stylesheet
   ============================================================ */

/* === FONTS & VARIABLES === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
    --gold: #c9a84c;
    --gold-light: #f5d47e;
    --gold-dark: #a07835;

    /* LIGHT THEME COLORS */
    --bg-dark: #f6f2ea;          /* page background (light cream) */
    --bg-card: #ffffff;          /* cards pure white */
    --bg-elevated: #faf3e5;      /* slightly raised areas */
    --bg-input: #f7efe0;

    --border: #e3d6c0;
    --border-light: #efe2c9;

    --text-primary: #17130c;
    --text-secondary: #5b5345;
    --text-muted: #998b74;

    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(15,10,0,0.12);
    --shadow-gold: 0 4px 20px rgba(201,168,76,0.35);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }

::selection { background: var(--gold); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* === UTILITY === */
.text-gold { color: var(--gold) !important; }
.bg-card { background: var(--bg-card); }
.fw-600 { font-weight: 600; }
.font-display { font-family: var(--font-display); }
.border-gold { border-color: var(--gold) !important; }

/* === TOP BAR === */
.top-bar {
    background: #fff8ea;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* === NAVBAR === */
.luxe-navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    transition: var(--transition);
    z-index: 1050;
}

.luxe-navbar.nav-scrolled {
    padding: 8px 0;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    border-bottom-color: var(--gold-dark);
}

.luxe-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    line-height: 1;
}

.brand-sub {
    font-size: 9px;
    letter-spacing: 6px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.luxe-navbar .nav-link {
    color: var(--text-secondary) !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.luxe-navbar .nav-link:hover,
.luxe-navbar .nav-link.active {
    color: var(--gold) !important;
    background: rgba(201,168,76,0.12);
}

.luxe-dropdown {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    padding: 8px;
    min-width: 220px;
}

.luxe-dropdown .dropdown-item {
    color: var(--text-secondary);
    font-size: 13px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.luxe-dropdown .dropdown-item:hover {
    background: rgba(201,168,76,0.08);
    color: var(--gold);
}

.luxe-dropdown .dropdown-header {
    padding: 10px 16px;
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.nav-icon-btn:hover {
    background: rgba(201,168,76,0.12);
    border-color: var(--gold);
    color: var(--gold);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar-btn {
    border: none;
    padding: 0;
}

.user-avatar-sm {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggler-icon {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    position: relative;
    transition: var(--transition);
}
.toggler-icon::before, .toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-secondary);
    transition: var(--transition);
}
.toggler-icon::before { top: -7px; }
.toggler-icon::after { top: 7px; }

.navbar-toggler {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    background: var(--bg-card);
}
.navbar-toggler:focus { box-shadow: none; }

/* Search */
.search-wrap { position: relative; }
.luxe-search {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px 40px 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    width: 220px;
    transition: var(--transition);
    outline: none;
}
.luxe-search:focus {
    border-color: var(--gold);
    width: 280px;
    background: #fff;
}
.luxe-search::placeholder { color: var(--text-muted); }
.search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
}

/* === BUTTONS === */
.luxe-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000 !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.luxe-btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #000 !important;
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

.luxe-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--gold) !important;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.luxe-btn-outline:hover {
    background: var(--gold);
    color: #000 !important;
}

.luxe-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-card);
    color: var(--text-primary) !important;
    font-weight: 500;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.luxe-btn-dark:hover {
    border-color: var(--gold);
    color: var(--gold) !important;
}

/* === MAIN CONTENT === */
.main-content { min-height: calc(100vh - 200px); }

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fdf7ec;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 80% at 50% -20%, rgba(201,168,76,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 80%, rgba(201,168,76,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.14);
    border: 1px solid rgba(201,168,76,0.5);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(52px, 8vw, 100px);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-title .line1 { display: block; color: var(--text-primary); }
.hero-title .line2 { 
    display: block; 
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-img-frame {
    position: relative;
    animation: fadeInRight 1s ease 0.3s backwards;
}

.hero-img-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
    border-radius: var(--radius-lg);
    opacity: 0.4;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

.hero-float-card {
    position: absolute;
    background: rgba(255,253,248,0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 { bottom: 40px; left: -30px; }
.hero-float-card.card-2 { top: 40px; right: -20px; }

/* === SECTION HEADERS === */
.section-header { text-align: center; margin-bottom: 48px; }

.section-tag {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.section-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 20px auto 0;
}

/* === CATEGORY CARDS === */
.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.category-card:hover { transform: translateY(-6px); }

.category-card-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-elevated);
    transition: var(--transition);
}

.category-card:hover .category-card-bg { transform: scale(1.05); }

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
}

.category-icon {
    width: 48px;
    height: 48px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 12px;
}

.category-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}

.category-count {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* === PRODUCT CARDS === */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    border-color: var(--gold-dark);
    box-shadow: 0 12px 40px rgba(0,0,0,0.14), 0 0 0 1px rgba(201,168,76,0.16);
    transform: translateY(-4px);
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--bg-elevated);
    aspect-ratio: 1;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge-new, .badge-sale, .badge-hot {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 100px;
}

.badge-new { background: var(--info); color: #fff; }
.badge-sale { background: var(--danger); color: #fff; }
.badge-hot { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #000; }

.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 36px;
    height: 36px;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5f5f5;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.action-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.action-btn.active { background: var(--gold); color: #000; border-color: var(--gold); }

.product-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    flex: 1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.stars { color: var(--gold); font-size: 12px; }
.rating-count { font-size: 12px; color: var(--text-muted); }

.product-price-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.price-current {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
}

.price-original {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-discount {
    font-size: 11px;
    font-weight: 700;
    background: rgba(239,68,68,0.12);
    color: var(--danger);
    padding: 2px 8px;
    border-radius: 100px;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    border-color: transparent;
}

/* === FEATURED BANNER === */
.featured-banner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.featured-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.14), transparent);
}

.featured-banner-content { position: relative; z-index: 1; padding: 48px; }

/* === FORM STYLES === */
.luxe-form-group { margin-bottom: 20px; }

.luxe-label {
    display: block;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.luxe-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
}

.luxe-input:focus {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}

.luxe-input::placeholder { color: var(--text-muted); }

.luxe-input.is-invalid { border-color: var(--danger); }
.luxe-input.is-valid { border-color: var(--success); }

.input-icon-wrap { position: relative; }

.input-icon-wrap .luxe-input { padding-left: 44px; }

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition);
}

.input-icon-wrap:focus-within .input-icon { color: var(--gold); }

.input-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.input-eye:hover { color: var(--gold); }

.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; }

/* === AUTH PAGES === */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-subtitle { font-size: 14px; color: var(--text-secondary); }

/* OTP Input */
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 24px 0;
}

.otp-input {
    width: 52px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-display);
    background: var(--bg-input);
    border: 2px solid var(--border);
    color: var(--gold);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.otp-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.16);
    background: #fff;
}

.otp-input.filled { border-color: var(--gold-dark); }

/* Password Strength */
.password-strength { margin-top: 8px; }
.strength-bars { display: flex; gap: 4px; margin-bottom: 4px; }
.strength-bar { height: 3px; flex: 1; background: var(--border); border-radius: 2px; transition: var(--transition); }
.strength-text { font-size: 11px; color: var(--text-muted); }
.strength-0 .strength-bar { background: var(--border); }
.strength-1 .strength-bar:nth-child(1) { background: var(--danger); }
.strength-2 .strength-bar:nth-child(-n+2) { background: var(--warning); }
.strength-3 .strength-bar:nth-child(-n+3) { background: var(--info); }
.strength-4 .strength-bar { background: var(--success); }

/* === CART PAGE === */
.cart-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: var(--transition);
    margin-bottom: 12px;
}

.cart-item:hover { border-color: var(--border-light); }

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    padding: 8px;
    flex-shrink: 0;
}

.cart-qty-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover { background: var(--border-light); color: var(--gold); }
.qty-input { width: 40px; text-align: center; background: none; border: none; color: var(--text-primary); font-weight: 600; font-size: 15px; outline: none; }

/* Order Summary */
.order-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.summary-row:last-child { border-bottom: none; }
.summary-row.total { color: var(--text-primary); font-weight: 600; font-size: 16px; }
.summary-row .amount { color: var(--gold); font-weight: 600; }

/* Coupon input */
.coupon-wrap { display: flex; gap: 8px; }
.coupon-wrap .luxe-input { flex: 1; }

/* === PRODUCT DETAIL === */
.product-gallery { position: relative; }

.main-image-wrap {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    margin-bottom: 16px;
}

.main-image { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.main-image-wrap:hover .main-image { transform: scale(1.05); }

.thumb-grid { display: flex; gap: 8px; }

.thumb-item {
    width: 72px;
    height: 72px;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumb-item.active { border-color: var(--gold); }
.thumb-item:hover { border-color: var(--gold-dark); }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; }

.product-detail-name {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.product-detail-price {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
}

.spec-table th {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 13px;
    width: 140px;
    padding: 8px 0;
    vertical-align: top;
}

.spec-table td {
    color: var(--text-primary);
    font-size: 14px;
    padding: 8px 0;
}

/* === ORDERS PAGE === */
.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    transition: var(--transition);
}

.order-card:hover { border-color: var(--border-light); }

.order-header {
    background: var(--bg-elevated);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.order-number {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status-placed { background: rgba(59,130,246,0.12); color: var(--info); }
.status-confirmed { background: rgba(201,168,76,0.16); color: var(--gold); }
.status-processing { background: rgba(245,158,11,0.14); color: var(--warning); }
.status-shipped { background: rgba(168,85,247,0.14); color: #a855f7; }
.status-delivered { background: rgba(34,197,94,0.16); color: var(--success); }
.status-cancelled { background: rgba(239,68,68,0.16); color: var(--danger); }

/* === ADMIN SIDEBAR === */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: var(--transition);
}

.admin-sidebar-logo {
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.admin-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 4px;
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: rgba(201,168,76,0.12);
    color: var(--gold);
}

.admin-nav-item i { font-size: 18px; width: 20px; text-align: center; }

.admin-main {
    margin-left: 260px;
    flex: 1;
    background: var(--bg-dark);
    min-height: 100vh;
}

.admin-topbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-content { padding: 24px; }

/* Stats Cards */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stat-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); }

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.gold { background: rgba(201,168,76,0.16); color: var(--gold); }
.stat-icon.blue { background: rgba(59,130,246,0.14); color: var(--info); }
.stat-icon.green { background: rgba(34,197,94,0.14); color: var(--success); }
.stat-icon.red { background: rgba(239,68,68,0.14); color: var(--danger); }

.stat-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* === TABLE === */
.luxe-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.luxe-table thead th {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.luxe-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 14px;
    vertical-align: middle;
}

.luxe-table tbody tr:hover td { background: rgba(201,168,76,0.06); }
.luxe-table tbody tr:last-child td { border-bottom: none; }

/* === CARDS === */
.luxe-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.luxe-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.luxe-card-body { padding: 24px; }

/* === TOAST === */
.luxe-toast {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    border-radius: var(--radius);
    min-width: 320px;
}

/* === FOOTER === */
.luxe-footer {
    background: #fff8ea;
    border-top: 1px solid var(--border);
    margin-top: 80px;
}

.footer-top { padding: 60px 0 40px; }

.brand-text-lg {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-desc { color: var(--text-muted); font-size: 14px; line-height: 1.8; max-width: 300px; }

.footer-title {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; font-size: 14px; color: var(--text-muted); }
.footer-links a { color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }

.social-links { display: flex; gap: 8px; margin-top: 24px; }
.social-link {
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 14px;
    transition: var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }

.footer-middle {
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pay-badge {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    color: var(--text-muted);
    font-size: 13px;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes spin { to { transform: rotate(360deg); } }

.animate-fade-up { animation: fadeInUp 0.6s ease backwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-input) 50%, var(--bg-elevated) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* === PAGINATION === */
.luxe-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 48px; }
.luxe-page-btn {
    width: 40px; height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 500;
    cursor: pointer; transition: var(--transition);
    text-decoration: none;
}
.luxe-page-btn:hover, .luxe-page-btn.active { background: var(--gold); color: #000; border-color: var(--gold); }

/* === FILTER SIDEBAR === */
.filter-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.filter-title { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-secondary); font-weight: 600; margin-bottom: 16px; }

.filter-check { margin-bottom: 8px; }
.filter-check input[type="checkbox"] {
    appearance: none; width: 16px; height: 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer; vertical-align: middle;
    margin-right: 8px; transition: var(--transition);
}
.filter-check input[type="checkbox"]:checked { background: var(--gold); border-color: var(--gold); }
.filter-check label { color: var(--text-secondary); font-size: 14px; cursor: pointer; }

/* Price Range Slider */
input[type="range"] { -webkit-appearance: none; width: 100%; height: 4px; background: var(--border); border-radius: 2px; outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; background: var(--gold); border-radius: 50%; cursor: pointer; }

/* === BREADCRUMB === */
.luxe-breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-muted); margin-bottom: 32px; flex-wrap: wrap; }
.luxe-breadcrumb a { color: var(--text-muted); }
.luxe-breadcrumb a:hover { color: var(--gold); }
.luxe-breadcrumb .sep { color: var(--border-light); }
.luxe-breadcrumb .current { color: var(--text-secondary); }

/* === EMPTY STATE === */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state i { font-size: 64px; color: var(--border); margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-display); color: var(--text-secondary); font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: 14px; }

/* === PROFILE PAGE === */
.profile-avatar {
    width: 100px; height: 100px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 40px; font-weight: 700; color: #000;
    margin: 0 auto 16px;
}

/* === LOADER === */
.page-loader {
    position: fixed; inset: 0; background: var(--bg-dark);
    display: flex; align-items: center; justify-content: center; z-index: 9999;
    transition: opacity 0.5s ease;
}
.loader-ring {
    width: 48px; height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .auth-card { padding: 32px 24px; }
}

@media (max-width: 768px) {
    .hero-section { min-height: auto; padding: 60px 0; }
    .hero-title { font-size: 48px; }
    .hero-stats { gap: 24px; }
    .product-card { min-width: 0; }
    .otp-inputs { gap: 6px; }
    .otp-input { width: 44px; height: 54px; font-size: 20px; }
    .cart-item { flex-wrap: wrap; }
    .featured-banner-content { padding: 24px; }
    .footer-top { padding: 40px 0 24px; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 40px; }
    .auth-card { border-radius: var(--radius); }
    .hero-float-card { display: none; }
    .product-detail-name { font-size: 24px; }
    .product-detail-price { font-size: 28px; }
}

/* Android WebView optimizations */
@media (max-width: 480px) {
    html { font-size: 15px; }
    .container-xl { padding-left: 16px; padding-right: 16px; }
    .luxe-navbar { padding: 8px 0; }
    .brand-text { font-size: 24px; }
}

/* Prevent text selection flash on mobile */
* { -webkit-tap-highlight-color: transparent; }
input, textarea, select { font-size: 16px; } /* Prevent iOS zoom */