:root {
    --primary: #0B0B0B;      /* header black */
    --brand: #D4AF37;        /* gold accent */
    --brand-dark: #B8962E;   /* gold (hover) */
    --gold-text: #8F6F12;    /* gold, light background e likhar jonno */
    --dark: #0B0B0B;
    --card: #1F1F1F;         /* card / footer */
    --text: #222;
    --muted: #777;
    --bg: #F8F8F8;
    --white: #fff;
    --danger: #ef233c;
    --radius: 12px;
    --shadow: 0 2px 10px rgba(0,0,0,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', 'Hind Siliguri', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    padding-bottom: 70px; /* bottom nav er jonno */
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

/* ===== Header ===== */
.site-header {
    background: var(--primary);
    padding: 10px 0 12px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.icon-btn {
    background: none;
    border: 0;
    font-size: 32px;
    line-height: 1;
    color: var(--dark);
    padding: 6px;
}
.bars { display: block; width: 24px; }
.bars i { display: block; height: 3px; background: var(--dark); margin: 5px 0; border-radius: 2px; }

.logo { display: flex; align-items: center; gap: 8px; }
.logo img { width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.logo-text { font-weight: 700; font-size: 22px; letter-spacing: 1px; color: var(--dark); }

.cart-link { display: flex; align-items: center; gap: 6px; font-weight: 500; position: relative; padding: 4px 6px; }
.cart-count {
    position: absolute;
    top: -4px;
    left: 18px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.cart-count.hide { display: none; }

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border-radius: 30px;
    padding: 5px 5px 5px 14px;
    box-shadow: var(--shadow);
}
.search-form input {
    flex: 1;
    border: 0;
    outline: 0;
    font-size: 15px;
    font-family: inherit;
    min-width: 0;
    background: transparent;
}
.search-form button {
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 24px;
    padding: 9px 22px;
    font-weight: 600;
    font-size: 14px;
}
.search-form button:hover { background: var(--brand-dark); }

/* ===== Side drawer ===== */
.overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0; visibility: hidden;
    transition: .25s;
    z-index: 90;
}
.overlay.show { opacity: 1; visibility: visible; }
.drawer {
    position: fixed; top: 0; left: 0;
    width: 280px; max-width: 85%;
    height: 100%;
    background: var(--white);
    transform: translateX(-100%);
    transition: transform .25s;
    z-index: 100;
    overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--primary);
    padding: 12px 16px;
    font-size: 18px;
}
.drawer a { display: block; padding: 12px 18px; border-bottom: 1px solid #eee; font-size: 15px; }
.drawer a:hover { background: #f8f8f8; color: var(--brand); }
.drawer-title { padding: 10px 18px; background: #fafafa; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--muted); }

/* ===== Main ===== */
.site-main { min-height: 60vh; }
.section { padding: 20px 0; }
.section-title { font-size: 22px; font-weight: 600; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 14px;
}
.btn:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: #ddd; margin-top: 30px; padding-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.site-footer h4 { color: #fff; margin-bottom: 8px; }
.site-footer p { font-size: 14px; margin-bottom: 4px; }
.site-footer a:hover { color: var(--primary); }
.copyright { text-align: center; font-size: 13px; padding: 16px; margin-top: 20px; border-top: 1px solid #333; color: #999; }

/* ===== Bottom nav (mobile) ===== */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 6px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.1);
    z-index: 60;
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; font-size: 12px; gap: 2px; color: #333; }
.bottom-nav a:hover { color: var(--brand); }

/* ===== Desktop ===== */
@media (min-width: 768px) {
    body { padding-bottom: 0; }
    .bottom-nav { display: none; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .site-header .container { display: flex; align-items: center; }
    .header-top { width: 100%; }
}
@media (max-width: 480px) {
    .cart-text { display: none; }
}

/* =========================================
   STEP 3 : Homepage
   ========================================= */

/* ----- Banner (default) ----- */
.banner-default {
    margin-top: 12px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, #ffe600 0%, #ffd000 55%, #16a34a 140%);
    padding: 26px 20px;
    overflow: hidden;
    position: relative;
}
.bd-tag {
    display: inline-block;
    background: #ff5a36;
    color: #fff;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 15px;
}
.bd-text h1 { font-size: 24px; color: #ff5a36; margin: 10px 0 6px; line-height: 1.25; }
.bd-text p { font-weight: 600; font-size: 13px; }
.bd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bd-chips span {
    background: var(--dark);
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 4px;
}

/* ----- Banner slider (admin theke image dile) ----- */
.banner-slider { margin-top: 12px; position: relative; border-radius: var(--radius); overflow: hidden; background: #ddd; }
.banner-slider .slides { display: flex; transition: transform .5s ease; }
.banner-slider .slide { min-width: 100%; display: block; }
.banner-slider .slide img { width: 100%; height: auto; aspect-ratio: 16/6; object-fit: cover; }
.banner-slider .dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.banner-slider .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.6); }
.banner-slider .dot.active { background: #fff; width: 20px; border-radius: 4px; }

/* ----- Category circles ----- */
.cat-section { padding-bottom: 6px; }
.cat-row { display: flex; gap: 18px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: none; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; width: 84px; }
.cat-circle {
    width: 74px; height: 74px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; overflow: hidden;
    box-shadow: var(--shadow);
}
.cat-circle img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-size: 13px; font-weight: 500; text-align: center; line-height: 1.25; }
.cat-item:hover .cat-name { color: var(--brand); }

/* ----- Feature strip ----- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 18px; }
.feature { background: #ecece2; border: 1px solid #e0e0d4; border-radius: 6px; padding: 10px 12px; }
.feature b { display: block; font-size: 14px; }
.feature small { color: #555; font-size: 12px; }

/* ----- Product sections ----- */
.prod-section { padding: 18px 0 22px; margin-top: 14px; }
.prod-section.trending { background: #86e57a; }
.prod-section.hot { background: #ff9c9c; }
.sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sec-head h2 { font-size: 24px; font-weight: 600; }
.sec-head a { text-decoration: underline; font-weight: 500; font-size: 14px; }
.empty-note { padding: 14px 0; font-size: 14px; }

/* Mobile: horizontal scroll */
.prod-row {
    display: flex; gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.prod-row::-webkit-scrollbar { display: none; }
.prod-row .product-card { flex: 0 0 62%; scroll-snap-align: start; }

/* ----- Product card ----- */
.product-card {
    background: var(--white);
    border-radius: 10px;
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}
.badge-off {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: #ffe3e3; color: #e03131;
    font-size: 11px; font-weight: 600;
    padding: 2px 7px; border-radius: 10px;
}
.pc-img { display: block; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; background: #f4f4f4; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; }
.pc-actions {
    display: flex; justify-content: center; gap: 6px;
    margin: -20px auto 6px; position: relative; z-index: 2;
}
.pc-btn {
    background: rgba(70,70,70,.88); color: #fff; border: 0;
    width: 38px; height: 30px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
}
.pc-btn:hover { background: var(--brand); }
.pc-btn.active { background: var(--danger); }
.pc-btn.active svg { fill: #fff; }
.pc-name {
    font-size: 13px; line-height: 1.35; color: #333;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 35px;
}
.pc-name:hover { color: var(--brand); }
.pc-price { margin-top: 6px; font-size: 15px; }
.pc-price del { color: #999; font-size: 12px; margin-left: 4px; }
.pc-out { color: var(--danger); font-size: 12px; margin-top: 2px; }

/* ----- Toast ----- */
.toast {
    position: fixed; left: 50%; bottom: 84px;
    transform: translateX(-50%) translateY(20px);
    background: #222; color: #fff;
    padding: 10px 18px; border-radius: 24px;
    font-size: 14px; opacity: 0; pointer-events: none;
    transition: .25s; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ----- Desktop ----- */
@media (min-width: 768px) {
    .features { grid-template-columns: repeat(4, 1fr); }
    .banner-default { padding: 50px 40px; }
    .bd-text h1 { font-size: 40px; }
    .cat-row { justify-content: center; gap: 36px; }
    .cat-item { width: 110px; }
    .cat-circle { width: 100px; height: 100px; font-size: 42px; }
    .prod-row { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; }
    .prod-row .product-card { flex: none; }
    .toast { bottom: 30px; }
}

/* =========================================
   STEP 4 : Products page
   ========================================= */
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
    flex: 0 0 auto;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.page-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 10px 0 12px; }
.page-head .section-title { font-size: 20px; }
.result-count { color: var(--muted); font-size: 13px; white-space: nowrap; }

.filter-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    background: var(--white);
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}
.filter-bar select,
.filter-bar input[type=number] {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    outline: 0;
}
.filter-bar select:focus,
.filter-bar input:focus { border-color: var(--brand); }
.filter-bar select { flex: 1 1 160px; }
.price-filter { display: flex; align-items: center; gap: 6px; flex: 1 1 260px; }
.price-filter input { width: 90px; flex: 1; min-width: 0; }
.price-filter .btn { padding: 8px 16px; }
.clear-link { color: var(--danger); font-size: 13px; text-decoration: underline; }

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

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 26px 0 6px; }
.pagination a, .pagination .dots {
    min-width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 12px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}
.pagination .dots { border: 0; background: none; min-width: 20px; padding: 0; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.empty-box { text-align: center; background: var(--white); border-radius: var(--radius); padding: 40px 20px; box-shadow: var(--shadow); }
.empty-icon { font-size: 48px; }
.empty-box h3 { margin: 8px 0 4px; }
.empty-box p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

@media (min-width: 768px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .page-head .section-title { font-size: 26px; }
    .filter-bar select { flex: 0 0 220px; }
    .price-filter { flex: 0 1 320px; }
}

/* =========================================
   STEP 5 : Product details & Cart
   ========================================= */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--brand); }
.breadcrumb span { color: #444; }

.pd-wrap { display: grid; grid-template-columns: 1fr; gap: 18px; background: var(--white); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.pd-image { position: relative; border-radius: 10px; overflow: hidden; background: #f4f4f4; aspect-ratio: 1/1; }
.pd-image img { width: 100%; height: 100%; object-fit: contain; }
.pd-title { font-size: 20px; line-height: 1.35; font-weight: 600; }
.pd-price { margin: 10px 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.pd-price strong { font-size: 28px; color: var(--brand-dark); }
.pd-price del { color: #999; }
.pd-price .save { background: #ffe3e3; color: #e03131; font-size: 12px; padding: 2px 8px; border-radius: 10px; font-weight: 500; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; margin-bottom: 14px; }
.pd-meta a { color: var(--brand); }
.stock.in { color: var(--brand); font-weight: 500; }
.stock.out { color: var(--danger); font-weight: 500; }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-weight: 500; }
.qty-box { display: inline-flex; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.qty-box button { background: #f5f5f5; border: 0; width: 38px; height: 38px; font-size: 20px; }
.qty-box button:hover { background: #e9e9e9; }
.qty-box input { width: 48px; text-align: center; border: 0; font-size: 15px; font-family: inherit; background: #fff; outline: 0; }
.qty-box.small button { width: 30px; height: 30px; font-size: 17px; }
.qty-box.small input { width: 38px; font-size: 14px; }

.pd-actions { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.pd-actions .btn { flex: 1; padding: 13px 10px; font-size: 15px; }
.btn-buy { background: #ff7a00; }
.btn-buy:hover { background: #e06c00; }
.wish-btn {
    flex: 0 0 48px; height: 48px;
    border: 1.5px solid #ddd; background: #fff; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; color: #555;
}
.wish-btn:hover { border-color: var(--danger); color: var(--danger); }
.wish-btn.active { background: var(--danger); border-color: var(--danger); color: #fff; }
.wish-btn.active svg { fill: #fff; }
.pd-note { background: #f7f7f1; border-radius: 8px; padding: 10px 14px; font-size: 13px; }
.pd-note p { margin: 3px 0; }
.pd-note a { color: var(--brand); }

.pd-desc { background: var(--white); border-radius: var(--radius); padding: 16px; margin-top: 16px; box-shadow: var(--shadow); }
.pd-desc h3 { margin-bottom: 8px; font-size: 17px; }
.pd-desc p { font-size: 14px; color: #444; }
.rel-title { margin: 24px 0 12px; font-size: 20px; }

/* ----- Cart ----- */
.cart-root { margin-top: 14px; }
.loading { color: var(--muted); padding: 20px 0; }
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cart-items { display: flex; flex-direction: column; gap: 10px; }
.cart-item { display: flex; gap: 12px; background: var(--white); padding: 10px; border-radius: 10px; box-shadow: var(--shadow); }
.ci-img { flex: 0 0 84px; height: 84px; border-radius: 8px; overflow: hidden; background: #f4f4f4; }
.ci-img img { width: 100%; height: 100%; object-fit: contain; }
.ci-body { flex: 1; min-width: 0; }
.ci-name { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-name:hover { color: var(--brand); }
.ci-price { font-size: 13px; color: var(--muted); margin: 2px 0 6px; }
.ci-row { display: flex; align-items: center; gap: 12px; }
.ci-line { margin-left: auto; font-size: 15px; }
.ci-remove { background: #fff0f0; color: var(--danger); border: 0; width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; }
.ci-remove:hover { background: var(--danger); color: #fff; }

.cart-summary { background: var(--white); padding: 16px; border-radius: 10px; box-shadow: var(--shadow); align-self: start; }
.cart-summary h3 { margin-bottom: 10px; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed #e5e5e5; }
.sum-row.total { font-size: 18px; font-weight: 600; border-bottom: 0; color: var(--brand-dark); }
.ship-note { background: #fff8d6; font-size: 13px; padding: 8px 10px; border-radius: 6px; margin: 8px 0 14px; }
.ship-note.ok { background: #dcf8e3; }
.btn-block { display: block; text-align: center; width: 100%; padding: 13px; font-size: 15px; }
.continue-link { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--brand); }
.clear-cart { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--danger); font-size: 12px; text-decoration: underline; }

@media (min-width: 768px) {
    .pd-wrap { grid-template-columns: 420px 1fr; padding: 24px; gap: 32px; }
    .pd-title { font-size: 26px; }
    .pd-actions .btn { flex: 0 0 170px; }
    .cart-layout { grid-template-columns: 1fr 340px; align-items: start; }
    .cart-summary { position: sticky; top: 130px; }
}

/* =========================================
   STEP 6 : Checkout & Order success
   ========================================= */
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 14px; }
.checkout-form { background: var(--white); padding: 16px; border-radius: 10px; box-shadow: var(--shadow); position: relative; }
.checkout-form h3 { margin-bottom: 12px; font-size: 17px; }
.checkout-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.checkout-form input[type=text],
.checkout-form input[type=tel],
.checkout-form textarea {
    display: block; width: 100%; margin-top: 5px;
    border: 1px solid #ddd; border-radius: 8px;
    padding: 10px 12px; font-size: 15px; font-family: inherit;
    outline: 0; background: #fff; resize: vertical;
}
.checkout-form input:focus,
.checkout-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22,163,74,.12); }
.form-error { background: #ffe9e9; color: #c92a2a; border: 1px solid #ffc9c9; padding: 10px 12px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }

.checkout-form label.pay-option {
    display: flex; align-items: center; gap: 12px;
    border: 1.5px solid #ddd; border-radius: 10px;
    padding: 12px; cursor: pointer; font-weight: 400;
}
.pay-option:has(input:checked) { border-color: var(--brand); background: #f0fbf3; }
.pay-option input { accent-color: var(--brand); width: 18px; height: 18px; }
.pay-option b { display: block; font-size: 15px; }
.pay-option small { color: var(--muted); font-size: 12px; }
.pay-hint { font-size: 12px; color: #555; background: #fff8d6; padding: 8px 10px; border-radius: 6px; margin-bottom: 4px; }

.sum-items { max-height: 260px; overflow-y: auto; margin-bottom: 8px; }
.sum-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #e5e5e5; font-size: 13px; }
.sum-item img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: #f4f4f4; flex: 0 0 44px; }
.sum-item > div { flex: 1; min-width: 0; }
.si-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sum-item small { color: var(--muted); }

.success-box { text-align: center; background: var(--white); border-radius: var(--radius); padding: 28px 18px; box-shadow: var(--shadow); }
.success-icon {
    width: 70px; height: 70px; margin: 0 auto 12px;
    background: var(--brand); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 38px;
}
.success-box h1 { font-size: 22px; margin-bottom: 6px; }
.success-box p { font-size: 14px; color: #444; }
.order-id { display: inline-block; background: #fff8d6; padding: 8px 18px; border-radius: 8px; margin-top: 14px; font-size: 16px; }
.muted { color: var(--muted) !important; font-size: 12px !important; margin-top: 6px; }
.info-card { background: var(--white); padding: 14px; border-radius: 10px; box-shadow: var(--shadow); font-size: 14px; }
.info-card h3 { margin-bottom: 8px; font-size: 16px; }
.info-card p { margin-bottom: 4px; }

@media (min-width: 768px) {
    .checkout-layout { grid-template-columns: 1fr 380px; align-items: start; }
    #orderSummary { position: sticky; top: 130px; }
}

/* =========================================
   STEP 9 : Wishlist & Order Track
   ========================================= */
.wl-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.wl-actions .btn { flex: 1; padding: 8px 10px; font-size: 13px; }
.wl-remove { flex: 0 0 34px; height: 34px; border: 0; border-radius: 50%; background: #fff0f0; color: var(--danger); font-size: 20px; line-height: 1; }
.wl-remove:hover { background: var(--danger); color: #fff; }

.muted-text { color: var(--muted); font-size: 14px; margin: 4px 0 14px; }
.track-wrap { display: grid; grid-template-columns: 1fr; gap: 16px; }
.track-result { background: var(--white); border-radius: 10px; padding: 16px; box-shadow: var(--shadow); font-size: 14px; }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tbadge { padding: 3px 12px; border-radius: 14px; font-size: 13px; font-weight: 500; }
.tb-pending   { background: #fff4d6; color: #8a5a00; }
.tb-confirmed { background: #e7f1ff; color: #1c5fb3; }
.tb-shipped   { background: #efe5ff; color: #6b32c9; }
.tb-delivered { background: #dcf8e3; color: #146c2e; }
.tb-cancelled { background: #ffe9e9; color: #c92a2a; }

.stepper { display: flex; justify-content: space-between; margin: 18px 0 6px; position: relative; }
.stepper::before { content: ''; position: absolute; top: 14px; left: 12%; right: 12%; height: 3px; background: #e2e2e2; }
.step { flex: 1; text-align: center; position: relative; }
.step .dot {
    width: 30px; height: 30px; border-radius: 50%;
    background: #e2e2e2; color: #777;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600; position: relative; z-index: 1;
}
.step small { display: block; margin-top: 4px; font-size: 11px; color: #777; }
.step.done .dot { background: var(--brand); color: #fff; }
.step.done small { color: #222; font-weight: 500; }

@media (min-width: 768px) {
    .track-wrap { grid-template-columns: 360px 1fr; align-items: start; }
}

/* =========================================
   STEP 10A : Coupon & Product gallery
   ========================================= */
.coupon-box { display: flex; gap: 8px; margin: 10px 0 4px; }
.coupon-box input {
    flex: 1; min-width: 0;
    border: 1px dashed #aaa; border-radius: 8px;
    padding: 9px 12px; font-size: 14px; font-family: inherit;
    text-transform: uppercase; outline: 0;
}
.coupon-box input:focus { border-color: var(--brand); }
.coupon-box button { background: var(--dark); color: #fff; border: 0; border-radius: 8px; padding: 0 18px; font-size: 14px; }
.coupon-box button:hover { background: var(--brand); }
.coupon-box button:disabled { opacity: .6; }
.coupon-msg { font-size: 12px; min-height: 16px; margin-bottom: 6px; }
.coupon-msg.err { color: var(--danger); }
.coupon-applied {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    background: #dcf8e3; color: #146c2e; border-radius: 8px;
    padding: 9px 12px; font-size: 14px; margin: 10px 0;
}
.coupon-applied button { background: none; border: 0; color: var(--danger); text-decoration: underline; font-size: 12px; }
.sum-row.disc { color: #146c2e; }

.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumb {
    flex: 0 0 64px; width: 64px; height: 64px; padding: 2px;
    border: 2px solid #e2e2e2; border-radius: 8px; background: #fff; overflow: hidden;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb.active { border-color: var(--brand); }
.pd-thumb:hover { border-color: var(--brand); }

/* =========================================
   STEP 10B : Language toggle
   ========================================= */
.header-right { display: flex; align-items: center; gap: 10px; }
.lang-switch {
    background: var(--dark); color: #fff !important;
    border-radius: 16px; padding: 4px 12px;
    font-size: 13px; font-weight: 500; white-space: nowrap;
}
.lang-switch:hover { background: var(--brand); }
.drawer .drawer-lang { color: var(--brand); font-weight: 500; }

/* =========================================================
   THEME : Black & Gold  (#0B0B0B / #D4AF37 / #F8F8F8 / #1F1F1F)
   Shudhu rong. Layout ager moto-i.
   ========================================================= */

/* ----- Header ----- */
.site-header { background: #0B0B0B; box-shadow: 0 2px 8px rgba(0,0,0,.45); }
.icon-btn { color: #fff; }
.bars i { background: #fff; }
.logo-text { color: var(--brand); }
.cart-link { color: #fff; }
.search-form { background: #1F1F1F; border: 1px solid #333; box-shadow: none; }
.search-form input { color: #fff; }
.search-form input::placeholder { color: #9a9a9a; }
.search-form button { color: #0B0B0B; }
.lang-switch { background: transparent; border: 1px solid var(--brand); color: var(--brand) !important; }
.lang-switch:hover { background: var(--brand); color: #0B0B0B !important; }

/* ----- Side menu ----- */
.drawer-head { background: #0B0B0B; color: var(--brand); }
.drawer a:hover { color: var(--gold-text); }
.drawer .drawer-lang { color: var(--gold-text); }

/* ----- Buttons ----- */
.btn { color: #0B0B0B; }
.btn-outline { color: var(--gold-text); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #0B0B0B; }
.btn-buy { background: #0B0B0B; color: var(--brand); }
.btn-buy:hover { background: #1F1F1F; }

/* ----- Footer & bottom nav ----- */
.site-footer { background: #1F1F1F; }
.site-footer a:hover { color: var(--brand); }
.copyright { border-top-color: #333; }
.bottom-nav { background: #0B0B0B; box-shadow: 0 -2px 10px rgba(0,0,0,.45); }
.bottom-nav a { color: #d6d6d6; }
.bottom-nav a:hover { color: var(--brand); }

/* ----- Home : banner ----- */
.banner-default { background: linear-gradient(120deg, #0B0B0B 0%, #1F1F1F 55%, #4a3b0e 140%); border: 1px solid #2a2a2a; }
.bd-tag { background: var(--brand); color: #0B0B0B; }
.bd-text h1 { color: #fff; }
.bd-text p { color: #d9d9d9; }
.bd-chips span { background: rgba(212,175,55,.14); color: var(--brand); border: 1px solid rgba(212,175,55,.5); }

/* ----- Home : category, features, sections ----- */
.cat-circle { border: 2px solid rgba(212,175,55,.65); }
.cat-item:hover .cat-name { color: var(--gold-text); }
.feature { background: #1F1F1F; border-color: #2c2c2c; }
.feature b { color: #fff; }
.feature small { color: #b5b5b5; }
.prod-section.trending { background: #0B0B0B; }
.prod-section.hot { background: #141414; }
.sec-head h2 { color: #fff; }
.sec-head a { color: var(--brand); }
.prod-section .empty-note { color: #cfcfcf; }

/* ----- Product card ----- */
.product-card { background: var(--card); }
.pc-name { color: #f1f1f1; }
.pc-name:hover { color: var(--brand); }
.pc-price strong { color: var(--brand); }
.pc-price del { color: #8d8d8d; }
.pc-btn { background: rgba(11,11,11,.92); color: var(--brand); }
.pc-btn:hover { background: var(--brand); color: #0B0B0B; }
.pc-btn.active { background: var(--danger); color: #fff; }

/* ----- Products page / pagination ----- */
.chip:hover { color: var(--gold-text); }
.chip.active { color: #0B0B0B; }
.pagination a:hover { color: var(--gold-text); }
.pagination a.active { color: #0B0B0B; }

/* ----- Product details ----- */
.breadcrumb a, .pd-meta a, .pd-note a, .continue-link { color: var(--gold-text); }
.pd-price strong, .sum-row.total { color: var(--gold-text); }
.stock.in { color: #1b8a3d; }
.pd-note { background: #F5F0DF; }

/* ----- Checkout / success / track ----- */
.checkout-form input:focus,
.checkout-form textarea:focus { box-shadow: 0 0 0 3px rgba(212,175,55,.25); }
.pay-option:has(input:checked) { background: #FBF6E6; }
.ship-note, .pay-hint, .order-id { background: #FBF3D4; }
.ship-note.ok { background: #dcf8e3; }
.success-icon { color: #0B0B0B; }
.step.done .dot { color: #0B0B0B; }
.coupon-box button:hover { color: #0B0B0B; }
