:root {
    --maroon: #7a1535;
    --maroon-dark: #4e0d22;
    --gold: #c9a24b;
    --gold-light: #ecd9a0;
    --rose: #e8b4b8;
    --cream: #faf3e8;
    --ink: #2a2222;
    --muted: #7a6f68;
    --line: #e8d9bd;
    --radius: 14px;
    --shadow: 0 14px 36px rgba(78, 13, 34, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Jost', sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.15; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- Topbar & Header ---------- */
.topbar {
    background: var(--maroon-dark);
    color: var(--gold-light);
    text-align: center;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 8px 10px;
    text-transform: uppercase;
}
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 246, 238, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px; font-weight: 700;
    color: var(--maroon); line-height: 1;
}
.logo small {
    display: block; font-family: 'Jost', sans-serif;
    font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); font-weight: 500; margin-top: 5px;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
    font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
    font-weight: 500; position: relative; padding: 4px 0;
}
.nav a::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    height: 2px; width: 0; background: var(--gold); transition: width 0.3s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .cart-link { background: var(--maroon); color: #fff; padding: 9px 20px; border-radius: 30px; }
.nav .cart-link::after { display: none; }
.menu-btn { display: none; background: none; border: none; font-size: 28px; color: var(--maroon); cursor: pointer; }

/* ---------- Buttons (fixed hover — solid colors, text always visible) ---------- */
.btn, form button {
    display: inline-block;
    background: var(--maroon);
    color: #fff;
    padding: 13px 30px;
    border: 2px solid var(--maroon);
    border-radius: 40px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.btn:hover, form button:hover {
    background: var(--maroon-dark);
    border-color: var(--maroon-dark);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--maroon);
    border: 2px solid var(--maroon);
}
.btn-outline:hover {
    background: var(--maroon);
    color: #fff;
}
.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}
.btn-gold:hover {
    background: #9c7230;
    border-color: #9c7230;
    color: #fff;
}
.btn-sm { padding: 9px 18px; font-size: 12px; }
.btn-link {
    display: inline-block;
    background: var(--maroon);
    color: #fff;
    padding: 13px 30px;
    border-radius: 40px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-left: 10px;
}
.btn-link:hover { background: var(--maroon-dark); }

/* ---------- Hero (image now fills the full right half, edge to edge) ---------- */
.hero { background: linear-gradient(120deg, #f6ead8 0%, var(--cream) 65%); overflow: hidden; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0;
    min-height: 620px;
}
.hero-grid > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 50px 60px 0;
}
.eyebrow { color: var(--gold); letter-spacing: 4px; text-transform: uppercase; font-size: 12px; font-weight: 500; margin-bottom: 14px; }
.hero h1 { font-size: clamp(42px, 6vw, 74px); color: var(--maroon-dark); margin-bottom: 20px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p { color: var(--muted); font-size: 18px; max-width: 480px; margin-bottom: 32px; }
.hero .eyebrow { font-size: 12px; margin-bottom: 14px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background-color: #f0e6d6;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

/* ---------- Database-backed category shortcuts ---------- */
.category-strip { background: #fff; border-bottom: 1px solid var(--line); }
.category-strip-inner {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; padding: 16px 0; flex-wrap: wrap;
}
.category-chip {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 18px; border: 1px solid var(--line); border-radius: 30px;
    color: var(--maroon-dark); font-size: 13px; letter-spacing: 0.5px;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.category-chip:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.category-chip span { color: var(--gold); font-size: 11px; }
.category-chip:hover span { color: var(--gold-light); }

/* ---------- Features ---------- */
.features { background: var(--maroon-dark); color: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.features-grid div { text-align: center; }
.features-grid b { display: block; font-weight: 500; color: var(--gold-light); letter-spacing: 1px; }
.features-grid span { font-size: 13px; opacity: 0.8; }

.why-himali { background: linear-gradient(180deg, #fffdfb 0%, #f8efe5 100%); }
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 18px;
}
.benefit-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(122, 21, 53, 0.08);
    box-shadow: 0 18px 38px rgba(66, 28, 25, 0.06);
    padding: 28px 24px;
    border-radius: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 42px rgba(66, 28, 25, 0.1);
}
.benefit-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--gold-light), #f5e7c4);
    border-radius: 16px;
    color: var(--maroon-dark);
    font-size: 24px;
    margin-bottom: 18px;
}
.benefit-card h3 {
    font-size: 28px;
    color: var(--maroon-dark);
    margin-bottom: 10px;
}
.benefit-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: #f5ebdc; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head span { color: var(--gold); letter-spacing: 4px; text-transform: uppercase; font-size: 12px; font-weight: 500; }
.section-head h2 { font-size: 44px; color: var(--maroon-dark); margin-top: 6px; }
.section-head .line { height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); width: 110px; margin: 16px auto 0; }
.empty { text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
    height: 340px; border-radius: var(--radius); position: relative; overflow: hidden;
    display: flex; align-items: flex-end; padding: 24px;
    background-image: var(--img), linear-gradient(135deg, var(--maroon), var(--gold));
    background-size: cover; background-position: center;
    transition: transform 0.4s, box-shadow 0.4s;
}
.cat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(40, 8, 8, 0.75), transparent 60%); }
.cat-card span { position: relative; color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.product-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); transition: transform 0.35s, box-shadow 0.35s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f0e6d6; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.product-card:hover .product-img img { transform: scale(1.08); }
.tag {
    position: absolute; top: 14px; left: 14px;
    background: rgba(255, 255, 255, 0.92); color: var(--maroon);
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 5px 12px; border-radius: 20px; font-weight: 500;
}
.product-info { padding: 18px; text-align: center; }
.product-info h3 { font-size: 22px; color: var(--ink); margin-bottom: 4px; }
.price { color: var(--maroon); font-weight: 600; font-size: 18px; }
.card-actions { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }

/* ---------- Promo banner ---------- */
.promo {
    background-image: linear-gradient(90deg, rgba(74, 18, 18, 0.93) 40%, rgba(74, 18, 18, 0.25)), var(--img);
    background-size: cover; background-position: center; color: #fff; padding: 100px 0;
}
.promo-text { max-width: 520px; }
.promo h2 { font-size: 52px; margin-bottom: 14px; }
.promo p { margin-bottom: 26px; opacity: 0.9; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.big { font-size: 46px; color: var(--maroon-dark); margin-bottom: 16px; }
.about-grid p { color: var(--muted); }

/* ---------- Page banner & filters ---------- */
.page-banner { background: var(--maroon-dark); color: #fff; text-align: center; padding: 56px 20px; }
.page-banner h1 { font-size: 52px; }
.page-banner p { color: var(--gold-light); letter-spacing: 3px; text-transform: uppercase; font-size: 12px; margin-top: 8px; }
.track-order-shell { max-width: 980px; margin: 50px auto; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 30px; }
.track-order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.track-order-card h2 { font-size: clamp(30px, 3vw, 42px); color: var(--maroon-dark); margin-bottom: 10px; }
.track-order-card p { color: var(--muted); }
.track-order-form { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.track-status-box { padding: 26px; background: linear-gradient(135deg, #fff9f5, #f8efe5); border-radius: var(--radius); border: 1px solid var(--line); }
.track-status-box h3 { font-size: 28px; color: var(--maroon-dark); margin-bottom: 16px; }
.track-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.track-meta div { background: rgba(122, 21, 53, 0.04); border: 1px solid rgba(122, 21, 53, 0.08); border-radius: 12px; padding: 12px 14px; }
.track-meta small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.track-meta strong { color: var(--ink); }
.order-items { margin-top: 18px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.order-items li strong { color: var(--ink); }
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.pill { padding: 9px 24px; border: 1px solid var(--line); border-radius: 30px; background: #fff; font-size: 13px; letter-spacing: 1px; transition: all 0.3s; }
.pill:hover, .pill.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.shop-result-count { color: var(--muted); font-size: 13px; margin: -24px 0 22px; text-align: right; }

/* ---------- Product detail ---------- */
.crumbs { padding: 26px 0 0; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--maroon); }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 34px 0 60px; align-items: start; }
.pd-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.pd-info h1 { font-size: 46px; color: var(--maroon-dark); margin: 6px 0 10px; }
.pd-price { font-size: 30px; color: var(--maroon); font-weight: 600; margin-bottom: 18px; }
.pd-desc { color: var(--muted); margin-bottom: 28px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.trust li { margin-bottom: 8px; }

/* ---------- Cart, checkout, forms ---------- */
.cart-page { max-width: 900px; margin: 50px auto; padding: 0 20px; }
.cart-page h2 { font-size: 40px; color: var(--maroon-dark); margin-bottom: 20px; }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow); }
.cart-table th { background: var(--maroon-dark); color: #fff; font-weight: 500; letter-spacing: 1px; font-size: 13px; text-transform: uppercase; }
.cart-table th, .cart-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); }
.cart-table img { display: inline-block; vertical-align: middle; border-radius: 8px; margin-right: 12px; }
.cart-table a { color: var(--maroon); font-size: 14px; }

form { display: flex; flex-direction: column; gap: 14px; }
.cart-form { display: block; }
body > form, .cart-page form:not(.cart-form) {
    max-width: 520px; margin: 30px auto; background: #fff;
    padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow);
}
input:not([type="radio"]):not([type="hidden"]), textarea, select {
    width: 100%; padding: 13px 14px; border: 1px solid var(--line);
    border-radius: 10px; font: inherit; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
label { cursor: pointer; }
#verify_form { display: none !important; }
.form-error, .form-success {
    margin-bottom: 16px; padding: 12px 14px; border-radius: 10px;
}
.form-error { color: #8a1c1c; background: #fff0ee; border: 1px solid #f0c4bd; }
.form-success { color: #245c37; background: #edf8ef; border: 1px solid #badfc2; }
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.contact-copy { padding-top: 20px; }
.contact-copy p:not(.eyebrow) { color: var(--muted); margin-bottom: 24px; }
.contact-form-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.contact-form-card form label { color: var(--maroon-dark); font-size: 13px; font-weight: 500; margin-bottom: -9px; }
.contact-whatsapp { color: var(--maroon); text-decoration: underline; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-dark); color: #e8d9c0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.site-footer h3 { color: #fff; font-size: 34px; margin-bottom: 10px; }
.site-footer h4 { color: var(--gold-light); font-size: 20px; margin-bottom: 14px; }
.site-footer p { font-size: 14px; opacity: 0.85; }
.site-footer a { display: block; font-size: 14px; margin-bottom: 8px; opacity: 0.85; }
.site-footer a:hover { opacity: 1; color: var(--gold-light); }
.footer-bottom { text-align: center; padding: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; opacity: 0.75; }

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 60;
    background: #25d366; color: #fff; font-size: 13px; font-weight: 500;
    padding: 12px 20px; border-radius: 40px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ---------- Checkout extras ---------- */
.secure-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }

.mini-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.mini-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.mini-item-info { flex: 1; display: flex; flex-direction: column; }
.mini-item-info span { font-size: 14px; font-weight: 500; }
.mini-item-info small { color: var(--muted); font-size: 12px; }
.mini-item-price { font-weight: 600; color: var(--maroon); font-size: 14px; white-space: nowrap; }

.row .free { color: #2e7d32; font-weight: 600; }
.edit-cart-link { display: block; text-align: center; margin-top: 16px; font-size: 14px; color: var(--maroon); }
.edit-cart-link:hover { text-decoration: underline; }

.upsell-note { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted); }
.upsell-note a { color: var(--maroon); text-decoration: underline; }

/* ---------- Invoice / Billing ---------- */
.invoice {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow); position: sticky; top: 100px;
}
.invoice-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--gold); padding-bottom: 12px; margin-bottom: 16px; }
.invoice-head h3 { font-size: 26px; color: var(--maroon-dark); }
.invoice-date { font-size: 12px; color: var(--muted); }

.invoice-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 16px; }
.invoice-table th { text-align: left; color: var(--muted); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; font-size: 11px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.invoice-table td { padding: 10px 0; border-bottom: 1px dashed var(--line); vertical-align: middle; }
.invoice-table th:not(:first-child), .invoice-table td:not(:first-child) { text-align: right; }

.inv-item { display: flex; align-items: center; gap: 10px; text-align: left !important; }
.inv-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.inv-item span { font-size: 13px; font-weight: 500; }

.invoice-totals .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--muted); }
.invoice-totals .row.total { font-size: 20px; font-weight: 600; color: var(--maroon); border-top: 2px solid var(--gold); padding-top: 12px; margin-top: 6px; }
.invoice-totals .free { color: #2e7d32; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .menu-btn { display: block; }
    .nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 18px;
        background: var(--cream); padding: 22px 4%; border-bottom: 1px solid var(--line);
    }
    .nav.open { display: flex; }
    .hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .hero-grid > div:first-child { padding: 40px 0 20px; }
    .hero-img { height: 380px; min-height: 300px; }
    .about-grid, .pd-grid, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
    .cat-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-card { height: 240px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 55px 0; }
    .section-head h2, .big { font-size: 34px; }
    .promo h2 { font-size: 38px; }
    .pd-info h1 { font-size: 36px; }
    .invoice { position: static; }
}
@media (max-width: 520px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-info { padding: 12px 8px; }
    .product-info h3 { font-size: 18px; }
    .card-actions { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .cart-table th, .cart-table td { padding: 8px; font-size: 13px; }
    .invoice-table { font-size: 12px; }
    .inv-item img { width: 32px; height: 32px; }
}

/* ---------- Cart Drawer ---------- */
.cart-drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 90; opacity: 0; visibility: hidden; transition: opacity 0.3s;
}
.cart-drawer-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed; top: 0; right: -380px; width: 360px; height: 100%;
    background: #fff; z-index: 91; padding: 24px;
    box-shadow: -8px 0 30px rgba(0,0,0,0.2);
    transition: right 0.35s ease; display: flex; flex-direction: column; gap: 14px;
}
.cart-drawer.open { right: 0; }

.drawer-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--maroon-dark); border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.drawer-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); }

.drawer-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.drawer-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.drawer-item div { display: flex; flex-direction: column; }
.drawer-item span { color: var(--maroon); font-weight: 600; margin-top: 4px; }

.btn-block { display: block; text-align: center; width: 100%; }
.drawer-continue { background: none; border: none; text-align: center; color: var(--muted); text-decoration: underline; cursor: pointer; margin-top: 4px; }

@media (max-width: 480px) { .cart-drawer { width: 100%; right: -100%; } }

/* ---------- Checkout Wizard ---------- */
.step-indicator { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; font-size: 13px; }
.step-dot { color: var(--muted); font-weight: 500; padding: 6px 12px; border-radius: 20px; }
.step-dot.active { color: var(--maroon); background: var(--cream); font-weight: 600; }
.step-sep { color: var(--line); }

.checkout-step { display: none; flex-direction: column; gap: 14px; }
.checkout-step.active { display: flex; }
.checkout-step h3 { font-size: 24px; color: var(--maroon-dark); margin-bottom: 4px; }

.step-btns { display: flex; gap: 10px; }
.step-btns .btn { flex: 1; text-align: center; }

/* ---------- Checkout trigger card ---------- */
.checkout-trigger { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 30px; box-shadow: var(--shadow); }
.checkout-trigger h2 { font-size: 30px; color: var(--maroon-dark); margin-bottom: 8px; }
.checkout-trigger p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Checkout Modal (Razorpay-style popup) ---------- */
.checkout-overlay {
    position: fixed; inset: 0; background: rgba(42, 10, 20, 0.55);
    z-index: 100; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s;
    padding: 20px;
}
.checkout-overlay.open { opacity: 1; visibility: visible; }

.checkout-modal {
    background: #fff; width: 100%; max-width: 780px; max-height: 90vh;
    border-radius: var(--radius); overflow: hidden; display: flex;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.95); transition: transform 0.3s;
}
.checkout-overlay.open .checkout-modal { transform: scale(1); }

.modal-summary {
    width: 260px; flex-shrink: 0; background: var(--maroon-dark); color: #fff;
    padding: 28px 22px; overflow-y: auto;
}
.modal-summary h4 { font-size: 20px; color: var(--gold-light); margin-bottom: 16px; font-family: 'Cormorant Garamond', serif; }
.modal-summary .mini-item { border-bottom-color: rgba(255,255,255,0.15); }
.modal-summary .mini-item-info span { color: #fff; }
.modal-summary .mini-item-info small { color: rgba(255,255,255,0.6); }
.modal-summary .mini-item-price { color: var(--gold-light); }
.modal-summary .row.total { color: var(--gold-light); border-top-color: var(--gold); display:flex; justify-content:space-between; padding-top:12px; margin-top:10px; font-weight:600; font-size:17px; }
.secured-by { font-size: 11px; opacity: 0.6; margin-top: 20px; text-align: center; }

.modal-form-side { flex: 1; padding: 30px 32px; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 24px; color: var(--muted); cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--maroon); }

/* Wizard inside modal */
.step-indicator { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; font-size: 13px; }
.step-dot { color: var(--muted); font-weight: 500; padding: 6px 12px; border-radius: 20px; }
.step-dot.active { color: var(--maroon); background: var(--cream); font-weight: 600; }
.step-sep { color: var(--line); }

.checkout-step { display: none; flex-direction: column; gap: 14px; }
.checkout-step.active { display: flex; }
.checkout-step h3 { font-size: 24px; color: var(--maroon-dark); margin-bottom: 4px; }

.step-btns { display: flex; gap: 10px; }
.step-btns .btn { flex: 1; text-align: center; }

@media (max-width: 700px) {
    .checkout-modal { flex-direction: column; max-height: 94vh; }
    .modal-summary { width: 100%; max-height: 160px; }
}

/* ---------- Admin Panel ---------- */
.admin-bar { background: var(--maroon-dark); color: #fbeee0; padding: 12px 24px; display: flex; align-items: center; gap: 16px; font-size: 13px; }
.admin-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: #7ecb8f; }
.admin-bar-link { color: #fbeee0; opacity: 0.9; margin-left: auto; }
.admin-bar-link:hover { opacity: 1; color: #fff; text-decoration: underline; }
.admin-bar-link + .admin-bar-link { margin-left: 16px; }

.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 90vh; }
.admin-side { background: #fff; border-right: 1px solid var(--line); padding: 24px 14px; display: flex; flex-direction: column; gap: 2px; }
.admin-side a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; color: var(--muted); font-size: 14px; }
.admin-side a.active, .admin-side a:hover { background: var(--cream); color: var(--maroon); font-weight: 600; }
.admin-main { padding: 30px 32px 60px; }

.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-head h2 { color: var(--maroon-dark); font-size: 26px; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 36px; }
.stat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat-tile .num { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 700; color: var(--maroon-dark); }
.stat-tile .lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; color: var(--muted); font-weight: 500; padding: 12px; border-bottom: 1px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:hover td { background: var(--cream); }

.order-code { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.05em; background: var(--cream); display: inline-block; padding: 4px 12px; border-radius: 8px; font-size: 14px; }

.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.pill-pending { background: #fde9c8; color: #8a5a12; }
.pill-paid { background: #dcf0e0; color: #2e7d32; }
.pill-failed { background: #fbdede; color: #b3261e; }

.prod-thumb { width: 46px; height: 46px; object-fit: cover; border-radius: 6px; }
.prod-actions a { margin-right: 10px; font-size: 13px; color: var(--maroon); }
.prod-actions .del { color: #b3261e; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .glyph { font-size: 40px; margin-bottom: 10px; }
.empty-state h3 { color: var(--maroon-dark); margin-bottom: 6px; }

@media (max-width: 800px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-side { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
    .admin-main { padding: 20px 16px 50px; }
}

/* ---------- Admin forms (add/edit product) ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; max-width: 520px; box-shadow: var(--shadow); }
.img-preview { width: 100%; height: 220px; border: 2px dashed var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 14px; background: var(--cream); cursor: pointer; }
.img-preview img { width: 100%; height: 100%; object-fit: cover; display: none; }
.img-preview span { color: var(--muted); font-size: 13px; text-align: center; padding: 0 20px; }
.current-img-large { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }

/* ---------- Hero badges (Sarovar-style) ---------- */
.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges span { font-size: 12px; color: var(--muted); letter-spacing: 0.5px; }

/* ---------- Category chip rail (OPTIONAL — only if mam wants categories back) ---------- */
.cat-rail-wrap { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 73px; z-index: 40; }
.cat-rail { display: flex; gap: 10px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.cat-rail::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 8px 20px; border-radius: 30px; border: 1px solid var(--line); font-size: 13px; letter-spacing: 0.5px; white-space: nowrap; }
.chip.active, .chip:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }

/* ---------- Cart row style (Sarovar-style with qty dropdown) ---------- */
.cart-table-v2 { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.cart-row-v2 {
    display: grid; grid-template-columns: 90px 1fr; gap: 18px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
}
.cart-row-v2 img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; }
.cv2-name { font-size: 18px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 2px; }
.cv2-cat { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.cv2-price-row { margin-top: 8px; font-size: 14px; }
.cv2-price-row .main-price { color: var(--maroon); font-weight: 600; font-size: 17px; }
.cv2-price-row .each-price { color: var(--muted); font-size: 12px; margin-left: 6px; }
.cv2-controls { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.cv2-controls select { width: auto; padding: 7px 10px; border-radius: 8px; }
.cv2-remove { background: none; border: none; color: #b3261e; font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; }

/* ---------- Radio card (payment option, refined) ---------- */
.radio-card {
    display: flex; align-items: flex-start; gap: 12px;
    border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px;
    cursor: pointer; transition: all 0.2s; margin-bottom: 10px;
}
.radio-card:has(input:checked), .radio-card.selected {
    border-color: var(--maroon); background: var(--cream);
}
.radio-card input { margin-top: 3px; width: auto; }
.radio-card strong { display: block; font-size: 15px; color: var(--ink); }
.radio-card .d { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- Boutique storefront refinements ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 9px max(4%, calc((100% - 1200px) / 2)); font-size: 10px; letter-spacing: 1.4px; }
.topbar span:nth-child(2) { color: #fff; letter-spacing: 1px; }
.site-header { background: rgba(255, 253, 248, 0.97); }
.nav-wrap { min-height: 84px; }
.nav { gap: clamp(12px, 1.5vw, 22px); }
.nav a { font-size: 11px; letter-spacing: 1px; white-space: nowrap; }
.nav .cart-link { padding: 10px 19px; }
.hero { background: #f8f1e7; }
.hero-grid { grid-template-columns: 1.02fr .98fr; min-height: 630px; }
.hero-grid > .hero-copy { padding: 62px 38px 54px 0; }
.hero h1 { font-size: clamp(50px, 6.2vw, 82px); letter-spacing: -1.5px; margin: 12px 0 20px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; color: #9a7140; letter-spacing: 3px; }
.hero .eyebrow span { width: 28px; height: 1px; background: var(--gold); }
.hero .hero-copy > p:not(.eyebrow) { color: #75685f; font-size: 17px; max-width: 440px; line-height: 1.8; }
.hero-btns { align-items: center; }
.hero-btns .btn { border-radius: 3px; padding: 15px 24px; font-size: 11px; letter-spacing: 1.1px; }
.hero-btns .btn span { font-size: 17px; margin-left: 8px; }
.hero-story-link { font-size: 13px; color: var(--maroon-dark); border-bottom: 1px solid var(--gold); padding: 7px 0; }
.hero-img {
    position: relative; display: flex; align-items: flex-end; justify-content: flex-end;
    min-height: 500px; margin: 34px 0; border-radius: 48% 48% 4px 4px;
    background-image: linear-gradient(0deg, rgba(42, 18, 19, .48), transparent 36%), url('../images/himali.jpeg');
    background-size: cover; background-position: center 30%; box-shadow: 0 20px 60px rgba(78, 13, 34, .14);
}
.hero-image-note { display: flex; flex-direction: column; color: #fff; margin: 0 26px 27px 0; text-align: right; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.hero-image-note b { font: 600 27px 'Cormorant Garamond', serif; }
.hero-image-note small { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; }
.category-strip { background: #fffdfa; }
.category-strip-inner { justify-content: center; gap: 12px; padding: 17px 0; }
.category-chip { border: 0; border-radius: 3px; padding: 10px 18px; background: #f8f3eb; text-transform: uppercase; font-size: 10px; letter-spacing: 1.1px; }
.category-chip-all { background: var(--maroon-dark); color: #fff; }
.category-chip-all:hover { background: var(--maroon); border-color: var(--maroon); }
.category-chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 50%; background: #fff; color: var(--maroon); font-size: 10px; }
.category-chip-all span { color: #fff; background: rgba(255,255,255,.15); }
.features { background: #4b182a; }
.features-grid { padding: 22px 0; }
.features-grid b { font-size: 13px; }
.features-grid span { color: #e2d1cb; }
.featured-section { background: #fffdfa; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; text-align: left; margin-bottom: 32px; }
.section-head-row h2 { font-size: clamp(34px, 4vw, 48px); }
.section-head-row p { margin-top: 9px; max-width: 480px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--maroon); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid var(--gold); padding-bottom: 8px; }
.text-link span { font-size: 18px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.product-card { border-radius: 4px; border-color: #eee6dc; }
.product-img { aspect-ratio: 4 / 4.8; background: #f4eee7; }
.product-info { padding: 17px 16px 19px; text-align: left; }
.product-info h3 { font-size: 22px; min-height: 50px; }
.product-info h3 a:hover { color: var(--maroon); }
.product-info .tag { text-transform: uppercase; }
.product-info .price { font-size: 17px; }
.card-actions { justify-content: flex-start; }
.card-actions .btn { border-radius: 3px; padding: 9px 14px; font-size: 10px; letter-spacing: .8px; }
.card-actions .btn-outline { border-width: 1px; }
.promo { position: relative; min-height: 390px; display: flex; align-items: center; overflow: hidden; background-position: 50% 38%; padding: 70px 0; }
.promo > .container { display: flex; justify-content: space-between; align-items: center; }
.promo-text { position: relative; z-index: 1; max-width: 560px; }
.promo .eyebrow { color: var(--gold-light); }
.promo h2 { font-size: clamp(38px, 5vw, 58px); }
.promo-mark { color: rgba(255,255,255,.2); font: 200px 'Cormorant Garamond', serif; }
.about-grid .text-link { margin-top: 22px !important; }
.page-banner { background: #4b182a; }
.filters { margin-bottom: 34px; }
.shop-result-count { margin: -18px 0 20px; }

/* ---------- Store admin workspace ---------- */
.admin-body { background: #f5f2ee; color: #292428; }
.admin-layout { grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.admin-side { position: sticky; top: 0; height: 100vh; padding: 27px 18px 18px; background: #321723; border: 0; color: #fff; }
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 32px; color: #fff; font: 700 28px/1 'Cormorant Garamond', serif; }
.admin-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #b99565; border-radius: 50%; color: #e1c18b; font: italic 26px 'Cormorant Garamond', serif; }
.admin-brand small { display: block; margin-top: 6px; color: #c7a56c; font: 500 8px 'Jost', sans-serif; letter-spacing: 1.7px; }
.admin-nav-label { padding: 12px 12px 9px; color: #a48a90; font-size: 9px; font-weight: 600; letter-spacing: 1.8px; }
.admin-nav { display: grid; gap: 6px; }
.admin-side .admin-nav a { min-height: 47px; padding: 10px 13px; border-radius: 7px; color: #d1c2c5; font-size: 13px; transition: background .2s, color .2s; }
.admin-side .admin-nav a.active, .admin-side .admin-nav a:hover { background: #593346; color: #fff; }
.admin-side .admin-nav a.active { box-shadow: inset 3px 0 #d4ae73; }
.admin-nav-icon { display: inline-grid; place-items: center; width: 22px; color: #dfbf88; font-size: 17px; }
.admin-side-bottom { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 18px 4px 2px; border-top: 1px solid rgba(255,255,255,.13); }
.admin-avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #755265; color: #fff; font: 600 16px 'Cormorant Garamond', serif; }
.admin-side-bottom b, .admin-side-bottom small { display: block; }
.admin-side-bottom b { font-size: 11px; font-weight: 500; }
.admin-side-bottom small { color: #bba8ad; font-size: 10px; }
.admin-side-bottom > a { margin-left: auto; color: #dec08e; font-size: 19px; }
.admin-content { min-width: 0; }
.admin-bar { position: sticky; top: 0; z-index: 30; min-height: 66px; justify-content: space-between; padding: 0 38px; background: rgba(255,255,255,.94); border-bottom: 1px solid #ebe5de; color: #756c69; backdrop-filter: blur(10px); }
.admin-bar > span { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.admin-bar > span i { color: #c7bdb5; font-style: normal; }
.admin-bar .dot { width: 7px; height: 7px; background: #74a67c; box-shadow: 0 0 0 4px #e9f2e8; }
.admin-bar > div { display: flex; align-items: center; gap: 25px; }
.admin-bar-link { margin: 0; color: var(--maroon); font-size: 11px; opacity: 1; }
.admin-date { color: #948983; font-size: 11px; }
.admin-main { max-width: 1440px; margin: 0 auto; padding: 38px clamp(20px, 4vw, 58px) 64px; }
.admin-welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 5px 0 30px; }
.admin-eyebrow { margin-bottom: 7px; color: #aa8050; font-size: 9px; font-weight: 600; letter-spacing: 2px; }
.admin-welcome h1, .admin-head h1 { color: #321723; font: 600 clamp(32px, 4vw, 43px)/1.1 'Cormorant Garamond', serif; }
.admin-welcome h1 span { color: #c19961; font-size: 26px; }
.admin-welcome > div > p:last-child, .admin-subtitle { margin-top: 8px; color: #8a817c; font-size: 12px; }
.btn.admin-primary-btn { padding: 13px 19px; border: 0; border-radius: 4px; background: #5b263e; color: #fff; font-size: 10px; letter-spacing: .9px; }
.admin-primary-btn:hover { background: #321723; }
.stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 40px; }
.stat-tile { position: relative; min-height: 160px; padding: 19px 20px; border: 1px solid #eee8e2; border-radius: 8px; box-shadow: 0 5px 20px rgba(54, 29, 37, .035); }
.stat-icon { position: absolute; top: 17px; right: 18px; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #f5edf1; color: #73394f; font-size: 17px; }
.stat-icon-rose { background: #faeeee; color: #a8585d; }
.stat-icon-amber { background: #fbf3e6; color: #a67a36; }
.stat-icon-dark { background: #efeef3; color: #62566f; }
.stat-tile .num { margin-top: 7px; color: #321723; font: 600 34px/1 'Cormorant Garamond', serif; }
.stat-tile .lbl { margin-top: 8px; color: #817773; font-size: 11px; text-transform: none; letter-spacing: .2px; }
.stat-tile > a { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; color: #7c4158; font-size: 10px; }
.admin-section-title { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 15px; }
.admin-section-title h2 { color: #321723; font: 600 27px 'Cormorant Garamond', serif; }
.admin-head { align-items: center; margin: 4px 0 27px; }
.admin-count { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 5px 10px; border-radius: 30px; background: #efe5e8; color: #743d53; font: 500 10px 'Jost', sans-serif; }
.admin-back-link { color: #753c52; font-size: 11px; }
.table-wrap { border-color: #eee8e2; border-radius: 8px; box-shadow: 0 5px 20px rgba(54, 29, 37, .035); }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 19px; border-bottom: 1px solid #f0ebe6; color: #51474a; font-size: 12px; }
.table-toolbar > div span { color: #958a84; }
.table-search { display: flex; align-items: center; gap: 9px; width: min(310px, 48%); padding: 0 11px; border: 1px solid #eee8e2; border-radius: 5px; color: #9c8f89; }
.table-search input { width: 100%; height: 36px; padding: 0 !important; border: 0 !important; outline: 0 !important; background: transparent !important; font-size: 11px; }
.admin-table { font-size: 12px; }
.admin-table th { padding: 12px 17px; background: #fcfaf8; color: #968b85; font-size: 9px; letter-spacing: 1.1px; }
.admin-table td { padding: 13px 17px; border-bottom-color: #f2ede8; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-product-cell { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.prod-thumb { width: 48px; height: 54px; border-radius: 4px; }
.admin-product-cell b, .admin-product-cell small { display: block; }
.admin-product-cell b { max-width: 240px; color: #392d31; font-size: 11px; font-weight: 500; }
.admin-product-cell small { margin-top: 4px; color: #9a8f89; font-size: 10px; }
.category-badge { display: inline-block; padding: 5px 9px; border-radius: 3px; background: #f5f0e9; color: #796149; font-size: 10px; }
.prod-actions a { display: inline-block; margin: 0 7px 0 0; font-size: 10px; }
.prod-actions .del { color: #ad5656; }
.admin-form-card { max-width: 720px; border-color: #eee8e2; border-radius: 8px; }
.admin-form-card form { gap: 10px; }
.admin-form-card form > label:not(.img-preview) { margin-top: 5px; color: #4b3e42; font-size: 11px; font-weight: 500; }
.admin-form-card input, .admin-form-card select, .admin-form-card textarea { border-color: #e9e2dc; border-radius: 5px; font-size: 12px; }
.admin-form-card .img-preview { height: 245px; border-color: #ddcdb7; border-radius: 6px; background: #faf7f2; }
.img-preview span small { display: inline-block; margin-top: 8px; color: #aa9b8a; font-size: 10px; }
.admin-form-card form button { align-self: flex-start; margin-top: 8px; border-radius: 4px; font-size: 10px; }

/* ---------- Admin sign-in ---------- */
.admin-login-page { min-height: 100vh; background: #f7f3ed; }
.login-shell { display: grid; grid-template-columns: minmax(360px, .92fr) 1.08fr; min-height: 100vh; }
.login-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 36px clamp(28px, 5vw, 72px); background: #381c2b; color: #fff; }
.login-art::after { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(35,15,26,.56), rgba(43,17,30,.42) 50%, rgba(35,15,26,.85)); content: ''; }
.login-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; opacity: .78; }
.login-brand, .login-art-copy, .login-art-caption { position: relative; z-index: 1; }
.login-brand { display: flex; align-items: center; gap: 12px; width: fit-content; color: #fff; font: 700 30px 'Cormorant Garamond', serif; }
.login-brand small { display: block; margin-top: 4px; color: #e0c38f; font: 500 8px 'Jost', sans-serif; letter-spacing: 2px; }
.login-art-copy { margin: auto 0; padding: 65px 0; }
.login-art-copy > p { color: #e3c58e; font-size: 9px; letter-spacing: 3px; }
.login-art-copy h1 { margin: 16px 0; font: 500 clamp(54px, 6vw, 82px)/.91 'Cormorant Garamond', serif; }
.login-art-copy h1 em { color: #e2c28c; }
.login-art-copy > span, .login-art-caption { color: rgba(255,255,255,.78); font-size: 11px; letter-spacing: .4px; }
.login-panel { display: flex; flex-direction: column; justify-content: center; position: relative; padding: 70px clamp(26px, 8vw, 120px); }
.login-back { position: absolute; top: 34px; left: clamp(26px, 8vw, 120px); color: #887c76; font-size: 11px; }
.login-card { width: 100%; max-width: 390px; margin: auto; }
.login-lock { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 26px; border-radius: 50%; background: #efe5e8; color: #713c51; }
.login-card .admin-eyebrow { margin-bottom: 10px; }
.login-card h2 { color: #351c29; font-size: 47px; }
.login-intro { margin: 4px 0 27px; color: #897f79; font-size: 12px; }
.login-card form { gap: 10px; }
.login-card form label { margin-top: 8px; color: #493d40; font-size: 11px; font-weight: 500; }
.login-card form input { height: 46px; border-color: #e8e0d9; border-radius: 5px; font-size: 12px; }
.login-card .login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 12px; padding: 14px 18px; border: 0; border-radius: 4px; font-size: 10px; letter-spacing: 1px; }
.login-submit span { font-size: 18px; }
.login-error { margin-bottom: 14px; padding: 10px 12px; border: 1px solid #efcfca; border-radius: 4px; background: #fff3f1; color: #9f4138; font-size: 11px; }
.login-secure { margin-top: 24px; padding-top: 18px; border-top: 1px solid #e9e2db; color: #938984; font-size: 10px; }
.login-secure span { margin-right: 6px; color: #9b7a4f; }
.login-footer { position: absolute; right: 25px; bottom: 20px; left: 25px; color: #a19791; font-size: 9px; text-align: center; }

/* ---------- Homepage category lookbook ---------- */
.home-categories { padding: 82px 0 78px; background: #f7f0e7; }
.home-categories .section-head-row { margin-bottom: 29px; }
.home-categories .section-head-row h2 { max-width: 560px; }
.home-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 17px; }
.home-category-card {
    position: relative; display: flex; min-height: 320px; flex-direction: column;
    justify-content: space-between; overflow: hidden; padding: 15px;
    background: #e9dfd3 var(--category-image) center 35% / cover no-repeat;
    color: #fff; box-shadow: 0 8px 24px rgba(51, 26, 34, .08);
    transition: transform .3s, box-shadow .3s;
}
.home-category-card::before {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(36, 18, 25, .25), transparent 34%, rgba(36, 18, 25, .76));
    content: '';
}
.home-category-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(51, 26, 34, .17); }
.home-category-count, .home-category-caption { position: relative; z-index: 1; }
.home-category-count {
    align-self: flex-start; padding: 6px 10px;
    background: rgba(255, 253, 248, .92); color: var(--maroon-dark);
    font-size: 9px; letter-spacing: .8px; text-transform: uppercase;
}
.home-category-caption { display: flex; flex-direction: column; gap: 4px; }
.home-category-caption b { font: 600 30px/1.1 'Cormorant Garamond', serif; }
.home-category-caption > span { display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.home-category-caption i { font-size: 17px; font-style: normal; transition: transform .2s; }
.home-category-card:hover .home-category-caption i { transform: translateX(4px); }

@media (max-width: 1100px) {
    .nav { gap: 12px; }
    .nav a { font-size: 10px; letter-spacing: .6px; }
    .admin-layout { grid-template-columns: 220px minmax(0, 1fr); }
    .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .topbar span:first-child, .topbar span:last-child { display: none; }
    .topbar { justify-content: center; }
    .nav { gap: 18px; }
    .nav a { font-size: 12px; }
    .hero-grid { grid-template-columns: 1fr 1fr; min-height: 560px; }
    .hero-grid > .hero-copy { padding: 45px 25px 40px 0; }
    .hero-img { min-height: 440px; }
    .benefit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-side { position: static; width: 100%; height: auto; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 12px; padding: 11px 17px; }
    .admin-brand { padding: 0; font-size: 23px; }
    .admin-brand-mark { width: 36px; height: 36px; font-size: 22px; }
    .admin-nav-label, .admin-side-bottom { display: none; }
    .admin-nav { display: flex; justify-content: flex-end; gap: 3px; }
    .admin-side .admin-nav a { min-height: 38px; padding: 7px 10px; font-size: 11px; }
    .admin-nav-icon { width: 16px; }
    .admin-bar { min-height: 54px; padding: 0 20px; }
    .admin-main { padding: 28px 20px 50px; }
    .login-shell { grid-template-columns: .78fr 1.22fr; }
    .login-art { padding: 28px; }
    .login-panel { padding: 65px 35px; }
    .login-back { left: 35px; }
}
@media (max-width: 650px) {
    .nav { gap: 18px; }
    .hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .hero-grid > .hero-copy { padding: 48px 0 22px; }
    .hero h1 { font-size: clamp(49px, 13vw, 69px); }
    .hero-img { min-height: 410px; margin: 10px 0 28px; border-radius: 43% 43% 4px 4px; background-position: center 27%; }
    .category-strip-inner { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .category-strip-inner::-webkit-scrollbar { display: none; }
    .category-chip { flex: 0 0 auto; }
    .home-categories { padding: 55px 0; }
    .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .home-category-card { min-height: 245px; padding: 10px; }
    .home-category-count { padding: 5px 7px; font-size: 8px; letter-spacing: .3px; }
    .home-category-caption b { font-size: 24px; }
    .home-category-caption > span { font-size: 8px; letter-spacing: .5px; }
    .section-head-row { align-items: flex-start; flex-direction: column; gap: 12px; }
    .section-head-row h2 { font-size: 37px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .product-info h3 { min-height: 44px; font-size: 18px; }
    .card-actions { flex-direction: row; }
    .card-actions .btn { padding: 9px 10px; }
    .promo-mark { display: none; }
    .admin-side { grid-template-columns: 1fr; gap: 8px; }
    .admin-brand { display: none; }
    .admin-nav { justify-content: stretch; }
    .admin-side .admin-nav a { flex: 1; justify-content: center; }
    .admin-bar { padding: 0 15px; }
    .admin-date { display: none; }
    .admin-main { padding: 24px 14px 40px; }
    .admin-welcome { align-items: flex-start; flex-direction: column; }
    .admin-primary-btn { align-self: flex-start; }
    .stat-row { gap: 10px; }
    .stat-tile { min-height: 145px; padding: 14px; }
    .stat-tile .num { font-size: 30px; }
    .stat-icon { width: 30px; height: 30px; top: 13px; right: 12px; }
    .table-toolbar { align-items: flex-start; flex-direction: column; }
    .table-search { width: 100%; }
    .admin-head { align-items: flex-start; flex-direction: column; gap: 14px; }
    .admin-section-title h2 { font-size: 24px; }
    .login-shell { grid-template-columns: 1fr; }
    .login-art { display: none; }
    .login-panel { min-height: 100vh; padding: 78px 25px 60px; }
    .login-back { top: 26px; left: 25px; }
}

.otp-row { display: flex; gap: 8px; }
.otp-row input { flex: 1; }
.otp-row .btn { white-space: nowrap; }
.otp-msg { font-size: 12px; margin-top: -6px; }
.otp-msg.success { color: #2e7d32; }
.otp-msg.error { color: #b3261e; }
.resend-link { font-size: 13px; color: var(--maroon); align-self: center; }