/* ===================================================================
   Sacred Vedic Puja Booking — Stylesheet
   Palette: Maroon #7A1F1F | Saffron #E8932A | Ivory #FBF6EC | Charcoal #2B231C | Gold #C9A24B
=================================================================== */

/* ===================================================================
   Online Vedic Puja — Stylesheet
   Palette: Maroon #7A1F1F | Saffron #E8932A | Ivory #FBF6EC | Charcoal #2B231C | Gold #C9A24B
   Token structure (type scale, spacing, radius, motion) aligned to design-system spec.
=================================================================== */

:root {
    /* ---- Color tokens (semantic) ---- */
    --color-text-primary: #241c15;
    --color-text-secondary: #5A4D3D;
    --color-text-tertiary: #8a7a64;
    --color-text-inverse: #ffffff;
    --color-surface-base: #FAF5EA;
    --color-surface-raised: #ffffff;
    --color-surface-muted: #F3EEE2;
    --color-brand-primary: #6E1A1A;
    --color-brand-primary-strong: #4A1010;
    --color-brand-accent: #E08B1E;
    --color-brand-accent-light: #F3B05C;
    --color-brand-gold: #C9A24B;
    --color-feedback-success: #2E7D32;
    --color-feedback-success-bg: #e3f3e3;
    --color-feedback-error: #B33A3A;
    --color-feedback-error-bg: #fbe4e4;
    --color-feedback-warning-bg: #fff3e0;

    /* ---- Legacy aliases (kept for existing component CSS) ---- */
    --maroon: var(--color-brand-primary);
    --maroon-dark: var(--color-brand-primary-strong);
    --saffron: var(--color-brand-accent);
    --saffron-light: var(--color-brand-accent-light);
    --ivory: var(--color-surface-base);
    --charcoal: var(--color-text-primary);
    --gold: var(--color-brand-gold);
    --green-ok: var(--color-feedback-success);
    --red-err: var(--color-feedback-error);

    /* ---- Gradient tokens (signature element) ---- */
    --gradient-gold: linear-gradient(135deg, #F3CE7C 0%, #C9A24B 45%, #9C7A33 100%);
    --gradient-maroon: linear-gradient(160deg, #7A2424 0%, #4A1010 100%);
    --gradient-saffron: linear-gradient(135deg, #F3B05C 0%, #E08B1E 100%);

    /* ---- Typography tokens ---- */
    --font-family-primary: 'Inter', 'Poppins', sans-serif;
    --font-family-display: 'Playfair Display', serif;
    --font-size-xs: 12px;
    --font-size-sm: 13px;
    --font-size-md: 14.5px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 22px;
    --font-size-3xl: 28px;
    --font-size-4xl: 42px;
    --font-weight-base: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-base: 1.65;
    --line-height-tight: 1.2;
    --letter-spacing-wide: 0.06em;

    /* ---- Spacing scale (4px base step) ---- */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;

    /* ---- Radius scale ---- */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 18px;
    --radius-pill: 999px;
    --radius: var(--radius-lg); /* legacy alias used across components */

    /* ---- Shadow tokens (layered, premium elevation) ---- */
    --shadow-1: 0 1px 2px rgba(36, 28, 21, 0.06);
    --shadow-2: 0 6px 20px rgba(36, 28, 21, 0.08), 0 2px 6px rgba(36, 28, 21, 0.05);
    --shadow-3: 0 16px 40px rgba(36, 28, 21, 0.14), 0 4px 10px rgba(36, 28, 21, 0.08);
    --shadow-gold: 0 8px 24px rgba(201, 162, 75, 0.35);
    --shadow: var(--shadow-2); /* legacy alias */

    /* ---- Motion tokens ---- */
    --motion-instant: 100ms;
    --motion-fast: 180ms;
    --motion-normal: 320ms;
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);

    /* ---- Focus ring (accessibility) ---- */
    --focus-ring: 0 0 0 3px rgba(224, 139, 30, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-base);
    background: var(--color-surface-base);
    color: var(--color-text-primary);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
}

/* ---------- Accessibility: focus-visible ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, .category-card:focus-visible,
.product-card:focus-visible, .variant-option:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-xs);
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-family-display);
    color: var(--maroon);
    letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: var(--radius-pill);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    border: none;
    transition: transform var(--motion-fast) var(--ease-premium), box-shadow var(--motion-fast) var(--ease-premium), opacity var(--motion-fast) ease;
    font-size: var(--font-size-md);
    font-family: inherit;
    letter-spacing: 0.01em;
}
.btn-primary { background: var(--gradient-saffron); color: #fff; box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(224, 139, 30, 0.4); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-1); }
.btn-outline { background: transparent; border: 2px solid var(--maroon); color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; transform: translateY(-1px); }
.btn:disabled, .btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-loading { opacity: 0.7; cursor: wait; position: relative; }
.btn-block { width: 100%; text-align: center; }
.btn-sm { padding: 8px 18px; font-size: var(--font-size-xs); }
.btn-danger { background: var(--red-err); color: #fff; }
.btn-gold { background: var(--gradient-gold); color: var(--maroon-dark); box-shadow: var(--shadow-gold); font-weight: var(--font-weight-bold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 162, 75, 0.45); }


/* ---------- Top Bar ---------- */
.top-bar { background: var(--gradient-maroon); color: #f0e3c8; font-size: 13px; padding: 9px 0; border-bottom: 1px solid rgba(201,162,75,0.3); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-bar-tagline { opacity: 0.85; font-style: italic; letter-spacing: 0.02em; }

/* ---------- Header ---------- */
.main-header { background: #fff; box-shadow: var(--shadow-2); position: relative; z-index: 50; border-bottom: 3px solid transparent; border-image: var(--gradient-gold) 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; gap: 20px; flex-wrap: wrap; }
.logo { font-size: 25px; font-weight: 700; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.header-logo-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2.5px solid; border-image: var(--gradient-gold) 1; box-shadow: var(--shadow-1); }
.header-search { display: flex; flex: 1; max-width: 420px; border: 2px solid var(--gold); border-radius: 30px; overflow: hidden; transition: box-shadow var(--motion-fast) ease; }
.header-search:focus-within { box-shadow: var(--shadow-gold); }
.header-search input { flex: 1; border: none; padding: 10px 16px; outline: none; font-family: inherit; }
.header-search button { background: var(--gradient-saffron); color: #fff; border: none; padding: 0 20px; cursor: pointer; transition: opacity var(--motion-fast) ease; }
.header-search button:hover { opacity: 0.92; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-icon-link { font-weight: 500; white-space: nowrap; position: relative; transition: color var(--motion-fast) ease; }
.header-icon-link:hover { color: var(--saffron); }
.cart-link { position: relative; }
.cart-badge { background: var(--gradient-saffron); color: #fff; font-size: 11px; border-radius: 50%; padding: 1px 6px; position: relative; top: -8px; box-shadow: var(--shadow-1); }

/* ---------- Nav ---------- */
.main-nav { background: var(--gradient-maroon); }
.main-nav ul { display: flex; flex-wrap: wrap; }
.main-nav > div > ul { display: flex; }
.main-nav li { position: relative; }
.main-nav > .container > ul > li > a { display: block; padding: 14px 18px; color: #fff; font-weight: 500; font-size: 14.5px; transition: background var(--motion-fast) ease; }
.main-nav > .container > ul > li:hover > a { background: rgba(0,0,0,0.18); }
.has-dropdown .dropdown {
    display: none; position: absolute; top: 100%; left: 0; background: #fff;
    min-width: 220px; box-shadow: var(--shadow-3); border-radius: 0 0 var(--radius-md) var(--radius-md); z-index: 100;
    border-top: 2px solid var(--gold);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a { color: var(--charcoal); padding: 11px 18px; display: block; font-size: 14px; transition: background var(--motion-fast) ease; }
.dropdown li a:hover { background: var(--ivory); color: var(--maroon); }

/* ---------- Alerts ---------- */
.alert { padding: 15px 22px; border-radius: var(--radius-md); margin: 18px 0; font-weight: 500; box-shadow: var(--shadow-1); }
.alert-success { background: var(--color-feedback-success-bg); color: var(--green-ok); border: 1px solid #b8dfb8; }
.alert-error { background: var(--color-feedback-error-bg); color: var(--red-err); border: 1px solid #f0bcbc; }
.alert-info { background: var(--color-feedback-warning-bg); color: var(--saffron); border: 1px solid #ffd9a0; }

/* ---------- Hero (signature element: gold-foil frame + radial glow) ---------- */
.hero {
    background: var(--gradient-maroon);
    color: #fff; padding: 90px 0; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(201,162,75,0.22) 0%, transparent 55%),
                radial-gradient(circle at 10% 90%, rgba(224,139,30,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: var(--gradient-gold);
}
.hero-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; position: relative; z-index: 2; }
.hero-text { flex: 1; min-width: 280px; }
.hero-image { flex: 1; min-width: 280px; max-width: 480px; position: relative; }
.hero-image::before {
    content: ''; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px;
    background: var(--gradient-gold); border-radius: var(--radius-xl); z-index: -1; opacity: 0.6; filter: blur(2px);
}
.hero-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-3); border: 3px solid rgba(255,255,255,0.15); position: relative; }
.hero-badge {
    background: var(--gradient-gold); color: var(--maroon-dark); display: inline-block; padding: 7px 18px;
    border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; margin-bottom: 18px; box-shadow: var(--shadow-gold);
    letter-spacing: 0.02em;
}
.hero h1 { color: #fff; font-size: var(--font-size-4xl); margin-bottom: 18px; line-height: var(--line-height-tight); }
.hero p { font-size: var(--font-size-lg); opacity: 0.92; margin-bottom: 28px; max-width: 480px; }
.hero-stats { display: flex; gap: 34px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 26px; color: var(--gold); font-family: var(--font-family-display); }
.hero-stats div span { font-size: 13px; opacity: 0.85; letter-spacing: 0.02em; }

/* ---------- Section Heading ---------- */
.section { padding: 68px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-eyebrow {
    color: var(--saffron); font-weight: 700; letter-spacing: var(--letter-spacing-wide); font-size: 13px;
    text-transform: uppercase; position: relative; display: inline-block; padding-bottom: 10px;
}
.section-eyebrow::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 36px; height: 2px; background: var(--gradient-gold);
}
.section-head h2 { font-size: var(--font-size-3xl); margin: 12px 0; }
.section-head p { color: var(--color-text-secondary); font-size: var(--font-size-lg); }
.section-link { text-align: center; margin-top: 34px; }

.divider-om { text-align: center; color: var(--gold); font-size: 22px; margin: 10px 0 30px; opacity: 0.55; }

/* ---------- Category Cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.category-card {
    background: var(--color-surface-raised); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2);
    text-align: center; transition: transform var(--motion-normal) var(--ease-premium), box-shadow var(--motion-normal) var(--ease-premium);
    border: 1px solid rgba(201,162,75,0.15);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.category-card .cat-icon { background: var(--ivory); height: 130px; display: flex; align-items: center; justify-content: center; font-size: 48px; overflow: hidden; position: relative; }
.category-card .cat-icon-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-normal) var(--ease-premium); }
.category-card:hover .cat-icon-img img { transform: scale(1.06); }
.category-card h3 { padding: 18px 12px 4px; font-size: var(--font-size-lg); }
.category-card p { padding: 0 16px 20px; font-size: var(--font-size-sm); color: var(--color-text-secondary); }

/* ---------- Acharya / Founder Section ---------- */
.acharya-section { display: flex; gap: 44px; align-items: center; flex-wrap: wrap; }
.acharya-photo { flex: 1; min-width: 220px; max-width: 280px; position: relative; }
.acharya-photo::before {
    content: ''; position: absolute; top: -8px; left: -8px; right: -8px; bottom: -8px;
    background: var(--gradient-gold); border-radius: var(--radius-xl); z-index: -1; opacity: 0.5;
}
.acharya-photo img { border-radius: var(--radius-xl); box-shadow: var(--shadow-3); border: 3px solid #fff; width: 100%; position: relative; }
.acharya-info { flex: 2; min-width: 280px; }
.acharya-info h2 { font-size: var(--font-size-3xl); margin: 8px 0 4px; }
.acharya-role { color: var(--saffron); font-weight: 600; margin-bottom: 16px; letter-spacing: 0.01em; }
.acharya-info p { color: var(--color-text-secondary); }

/* ---------- Stats Row ---------- */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; background: var(--color-surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: 34px; border: 1px solid rgba(201,162,75,0.15); }
.stat-item { text-align: center; }
.stat-item strong { font-size: var(--font-size-3xl); color: var(--maroon); display: block; font-family: var(--font-family-display); }
.stat-item span { color: var(--color-text-secondary); font-size: var(--font-size-md); }

/* ---------- Product Grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.product-card {
    background: var(--color-surface-raised); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); position: relative;
    transition: transform var(--motion-normal) var(--ease-premium), box-shadow var(--motion-normal) var(--ease-premium);
    display: flex; flex-direction: column; border: 1px solid rgba(201,162,75,0.12);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.product-card .product-img { height: 195px; overflow: hidden; background: var(--ivory); display: flex; align-items: center; justify-content: center; font-size: 50px; }
.product-card .product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-normal) var(--ease-premium); }
.product-card:hover .product-img img { transform: scale(1.06); }
.discount-tag { position: absolute; top: 14px; left: 14px; background: var(--gradient-saffron); color: #fff; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; box-shadow: var(--shadow-1); z-index: 2; }
.product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 11px; color: var(--saffron); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.product-title { font-size: var(--font-size-lg); margin: 8px 0 10px; line-height: 1.35; flex: 1; }
.product-title a { color: var(--charcoal); }
.product-price { font-weight: 700; color: var(--maroon); font-size: var(--font-size-xl); margin-bottom: 14px; }
.product-price .old-price { text-decoration: line-through; color: #b3a48d; font-weight: 400; font-size: var(--font-size-md); margin-right: 6px; }
.rating-stars { color: var(--gold); font-size: var(--font-size-sm); margin-bottom: 6px; }

/* ---------- Single Product Page ---------- */
.product-detail { display: flex; gap: 48px; flex-wrap: wrap; }
.product-gallery { flex: 1; min-width: 300px; position: relative; }
.product-gallery::before {
    content: ''; position: absolute; top: -8px; left: -8px; right: -8px; bottom: -8px;
    background: var(--gradient-gold); border-radius: var(--radius-xl); z-index: -1; opacity: 0.45;
}
.product-gallery img { border-radius: var(--radius-xl); box-shadow: var(--shadow-3); width: 100%; border: 3px solid #fff; position: relative; }
.product-info { flex: 1; min-width: 300px; }
.product-info h1 { font-size: var(--font-size-3xl); margin-bottom: 10px; }
.product-info .price-box { font-size: var(--font-size-3xl); color: var(--maroon); font-weight: 700; margin: 18px 0; font-family: var(--font-family-display); }
.variant-list { margin: 20px 0; }
.variant-option { display: block; border: 2px solid #e8ddc9; border-radius: var(--radius-lg); padding: 14px 18px; margin-bottom: 12px; cursor: pointer; transition: all var(--motion-fast) var(--ease-premium); }
.variant-option input { margin-right: 10px; }
.variant-option.selected, .variant-option:hover { border-color: var(--saffron); background: #fff8ee; box-shadow: var(--shadow-1); }
.variant-option.selected { box-shadow: var(--shadow-gold); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 500; font-size: var(--font-size-md); }
.form-control {
    width: 100%; padding: 11px 14px; border: 1px solid #d9cbb0; border-radius: var(--radius-lg);
    font-family: inherit; font-size: var(--font-size-md); outline: none;
    transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}
.form-control:hover { border-color: #c4b390; }
.form-control:focus, .form-control:focus-visible { border-color: var(--saffron); box-shadow: var(--focus-ring); }
.form-control:disabled { background: var(--color-surface-muted); color: var(--color-text-tertiary); cursor: not-allowed; }
.form-control.is-error { border-color: var(--red-err); }
.form-error-text { color: var(--red-err); font-size: var(--font-size-xs); margin-top: 4px; display: block; }
.tabs { margin-top: 44px; border-top: 1px solid #e8ddc9; padding-top: 26px; }
.tab-buttons { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.tab-buttons button { background: #fff; border: 1px solid #e8ddc9; padding: 10px 20px; border-radius: var(--radius-pill); cursor: pointer; font-family: inherit; font-weight: 500; transition: all var(--motion-fast) ease; }
.tab-buttons button:hover { border-color: var(--saffron); color: var(--saffron); }
.tab-buttons button.active { background: var(--gradient-maroon); color: #fff; border-color: var(--maroon); box-shadow: var(--shadow-1); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ---------- Forms / Auth Cards ---------- */
.auth-wrapper { max-width: 440px; margin: 50px auto; background: var(--color-surface-raised); padding: 40px; border-radius: var(--radius-xl); box-shadow: var(--shadow-3); border: 1px solid rgba(201,162,75,0.15); }
.auth-wrapper h2 { text-align: center; margin-bottom: 24px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: var(--font-size-md); }
.auth-switch a { color: var(--saffron); font-weight: 600; }

/* ---------- Cart / Checkout Tables ---------- */
.table-wrap { overflow-x: auto; background: var(--color-surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); border: 1px solid rgba(201,162,75,0.1); }
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid #f0e8d8; font-size: var(--font-size-md); }
table th { background: var(--ivory); color: var(--maroon); font-weight: 700; font-size: var(--font-size-sm); text-transform: uppercase; letter-spacing: 0.04em; }
table tbody tr { transition: background var(--motion-fast) ease; }
table tbody tr:hover { background: rgba(232,147,42,0.04); }
.qty-input { width: 60px; padding: 7px; text-align: center; border: 1px solid #d9cbb0; border-radius: var(--radius-sm); }
.cart-summary { background: var(--color-surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: 26px; border: 1px solid rgba(201,162,75,0.15); }
.cart-summary .row { display: flex; justify-content: space-between; padding: 9px 0; }
.cart-summary .row.total { font-weight: 700; font-size: var(--font-size-xl); color: var(--maroon); border-top: 1px solid #f0e8d8; margin-top: 8px; padding-top: 16px; }
.coupon-box { display: flex; gap: 10px; margin: 18px 0; }
.coupon-box input { flex: 1; }

/* ---------- Dashboard layout (user + admin) ---------- */
.dashboard-wrap { display: flex; gap: 26px; padding: 44px 0; flex-wrap: wrap; }
.dashboard-sidebar { width: 230px; background: var(--color-surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: 22px; height: fit-content; border: 1px solid rgba(201,162,75,0.15); }
.dashboard-sidebar a { display: block; padding: 12px 15px; border-radius: var(--radius-sm); margin-bottom: 4px; color: var(--charcoal); font-weight: 500; font-size: var(--font-size-md); transition: all var(--motion-fast) ease; }
.dashboard-sidebar a:hover, .dashboard-sidebar a.active { background: var(--ivory); color: var(--maroon); }
.dashboard-sidebar a.active { box-shadow: inset 3px 0 0 var(--saffron); }
.dashboard-content { flex: 1; min-width: 280px; background: var(--color-surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: 30px; border: 1px solid rgba(201,162,75,0.15); }

/* ---------- Admin specific ---------- */
.admin-body { background: #f3eee2; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--gradient-maroon); color: #fff; padding: 24px 0; flex-shrink: 0; box-shadow: var(--shadow-3); }
.admin-sidebar .admin-logo { padding: 0 20px 24px; font-family: var(--font-family-display); font-size: 20px; border-bottom: 1px solid rgba(201,162,75,0.25); margin-bottom: 16px; }
.admin-sidebar a { display: block; padding: 12px 22px; color: #f0e3c8; font-size: var(--font-size-md); transition: all var(--motion-fast) ease; border-left: 3px solid transparent; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(0,0,0,0.18); color: #fff; border-left-color: var(--gold); }
.admin-main { flex: 1; padding: 30px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.admin-topbar h1 { font-size: var(--font-size-2xl); }
.admin-card { background: var(--color-surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: 26px; margin-bottom: 24px; border: 1px solid rgba(201,162,75,0.12); }
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 26px; }
.admin-stat-card { background: var(--color-surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: 24px; border-left: 4px solid var(--saffron); transition: transform var(--motion-fast) var(--ease-premium); }
.admin-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.admin-stat-card strong { font-size: var(--font-size-3xl); color: var(--maroon); display: block; font-family: var(--font-family-display); }
.admin-stat-card span { color: var(--color-text-secondary); font-size: var(--font-size-sm); }
.admin-table-actions a, .admin-table-actions button { margin-right: 6px; }
.status-badge { padding: 5px 13px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.status-active, .status-paid, .status-completed, .status-confirmed, .status-approved { background: var(--color-feedback-success-bg); color: var(--green-ok); }
.status-inactive, .status-failed, .status-cancelled, .status-rejected { background: var(--color-feedback-error-bg); color: var(--red-err); }
.status-pending { background: var(--color-feedback-warning-bg); color: var(--saffron); }

/* ---------- Footer ---------- */
.main-footer { background: linear-gradient(160deg, #1F1812 0%, var(--charcoal) 100%); color: #d8cdb9; padding: 56px 0 0; margin-top: 70px; position: relative; }
.main-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-gold); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-bottom: 40px; }
.footer-col h4 { color: var(--gold); margin-bottom: 16px; font-size: var(--font-size-lg); }
.footer-col p { font-size: var(--font-size-sm); line-height: 1.75; }
.footer-col ul li { margin-bottom: 10px; font-size: var(--font-size-sm); }
.footer-col ul li a { transition: color var(--motion-fast) ease; }
.footer-col ul li a:hover { color: var(--saffron); }
.footer-social a { margin-right: 14px; font-size: 13px; border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: color var(--motion-fast) ease; }
.footer-social a:hover { color: var(--saffron); border-color: var(--saffron); }
.footer-bottom { border-top: 1px solid rgba(201,162,75,0.2); padding: 18px 0; text-align: center; font-size: 13px; }

.whatsapp-float {
    position: fixed; bottom: 26px; right: 26px; background: #25D366; color: #fff;
    width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 27px; box-shadow: var(--shadow-3); z-index: 999; text-decoration: none;
    transition: transform var(--motion-fast) var(--ease-premium);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- FAQ Accordion ---------- */
.faq-item { border-bottom: 1px solid #ecdfc4; padding: 18px 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; font-weight: 600; align-items: center; font-size: var(--font-size-lg); }
.faq-question span { color: var(--saffron); font-size: 20px; transition: transform var(--motion-fast) ease; }
.faq-item.open .faq-question span { transform: rotate(45deg); }
.faq-answer { display: none; margin-top: 12px; color: var(--color-text-secondary); font-size: var(--font-size-md); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ---------- Misc ---------- */
.breadcrumb { font-size: var(--font-size-sm); color: var(--color-text-tertiary); margin-bottom: 22px; }
.breadcrumb a { color: var(--maroon); transition: color var(--motion-fast) ease; }
.breadcrumb a:hover { color: var(--saffron); }
.empty-state { text-align: center; padding: 70px 20px; color: var(--color-text-tertiary); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pagination a { padding: 9px 15px; background: var(--color-surface-raised); border-radius: var(--radius-sm); box-shadow: var(--shadow-1); transition: all var(--motion-fast) ease; }
.pagination a:hover { box-shadow: var(--shadow-2); }
.pagination a.active { background: var(--gradient-saffron); color: #fff; box-shadow: var(--shadow-gold); }

@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .header-inner { flex-direction: column; }
    .main-nav > .container > ul { flex-direction: column; }
    .product-detail { flex-direction: column; }
    .dashboard-wrap { flex-direction: column; }
    .dashboard-sidebar { width: 100%; }
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; }
}
