:root {
  --brand: #c2185b;
  --brand-dark: #9c1149;
  --brand-soft: #fde7ef;
  --plum: #3d1a3a;
  --ink: #282c3f;
  --muted: #7e818c;
  --line: #eaeaec;
  --bg-soft: #f5f5f6;
  --success: #03a685;
  --gold: #c9a227;
  --radius: 6px;
  --bs-body-font-family: 'Assistant', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--ink);
  --bs-link-color-rgb: 194, 24, 91;
  --bs-link-hover-color-rgb: 156, 17, 73;
}
body { font-family: var(--bs-body-font-family); color: var(--ink); background: #fff; font-size: 15px; }
a { text-decoration: none; }
img { max-width: 100%; }
.text-brand { color: var(--brand) !important; }
.link-brand { color: var(--brand) !important; }
.link-brand:hover { color: var(--brand-dark) !important; }
.min-w-0 { min-width: 0; }

.btn-brand { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-dark); --bs-btn-disabled-bg: #d4d5d9; --bs-btn-disabled-border-color: #d4d5d9;
  font-weight: 700; letter-spacing: .3px; border-radius: 4px; }
.btn-outline-brand { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--brand-dark);
  font-weight: 700; border-radius: 4px; }

.announce-bar { background: var(--plum); color: #f7d9e6; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .3px; padding: 7px 12px; }

/* ---------- Header ---------- */
.site-header { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.05); z-index: 1030; }
.site-header > nav { height: 76px; }
.brand-logo { font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 700; color: var(--plum); letter-spacing: .5px; white-space: nowrap; }
.brand-logo span { color: var(--brand); }
.admin-tag { font-family: var(--bs-body-font-family); font-size: 10px; letter-spacing: 2px; background: var(--brand); color: #fff; padding: 2px 6px; border-radius: 3px; vertical-align: middle; }
.main-nav { list-style: none; margin: 0; padding: 0; gap: 4px; height: 100%; }
.nav-item-mega { position: static; height: 100%; display: flex; align-items: center; }
.nav-item-mega > a { color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .3px; text-transform: uppercase; padding: 0 14px; height: 100%; display: flex; align-items: center; border-bottom: 4px solid transparent; }
.nav-item-mega:hover > a { border-bottom-color: var(--brand); }
.nav-men:hover > a { border-bottom-color: #1e63d6; }
.nav-kids:hover > a { border-bottom-color: #f26a10; }
.nav-beauty:hover > a { border-bottom-color: #0db7af; }
.mega { display: none; position: absolute; top: 76px; left: 50%; transform: translateX(-50%); width: min(960px, 96vw); background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.1); padding: 24px 32px; gap: 48px; border-top: 1px solid var(--line); }
.nav-item-mega:hover .mega { display: flex; }
.mega-col { display: flex; flex-direction: column; min-width: 180px; }
.mega-col h6 { color: var(--brand); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.mega-col a { color: var(--ink); font-size: 14px; padding: 3px 0; }
.mega-col a:hover { font-weight: 700; }
.search-box { position: relative; align-items: center; max-width: 520px; background: var(--bg-soft); border-radius: 4px; }
.search-box i { position: absolute; left: 12px; color: var(--muted); }
.search-box input { width: 100%; border: 1px solid transparent; background: transparent; padding: 10px 12px 10px 38px; font-size: 14px; border-radius: 4px; outline: none; }
.search-box input:focus { background: #fff; border-color: var(--line); }
.header-actions { display: flex; gap: 18px; align-items: center; }
.hdr-icon { display: flex; flex-direction: column; align-items: center; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.1; cursor: pointer; }
.hdr-icon i { font-size: 20px; margin-bottom: 2px; }
.bag-count { position: absolute; top: -6px; right: -8px; background: var(--brand); color: #fff; border-radius: 10px; font-size: 11px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; }
.profile-menu { width: 260px; }
.profile-menu .dropdown-item { padding: 5px 0; font-size: 14px; }
.profile-menu .dropdown-item:hover { background: none; font-weight: 700; }
@media (max-width: 575px) { .hdr-icon span { display: none; } .header-actions { gap: 14px; } .site-header > nav { height: 60px; } .brand-logo { font-size: 24px; } }

.flash-stack { position: fixed; top: 90px; right: 16px; z-index: 1080; width: min(380px, calc(100vw - 32px)); }

/* ---------- Home ---------- */
.hero { background: linear-gradient(120deg, #3d1a3a 0%, #7b1e4f 55%, #c2185b 100%); color: #fff; padding: 28px 0; }
/* Photo panels: image pinned right, panel colour fades over it from the left so copy stays legible. */
.hero-grid { display: grid; grid-template-columns: 1.9fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; min-height: 460px; }
.hero-main, .hero-side { position: relative; overflow: hidden; isolation: isolate; border-radius: 14px; box-shadow: 0 10px 30px rgba(20,0,20,.25); }
.hero-photo { position: absolute; top: 0; right: 0; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.hero-main::before, .hero-side::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-main { grid-row: span 2; display: flex; align-items: center; padding: 48px 56px; background: #4b1a45; }
.hero-main .hero-photo { width: 58%; object-position: 50% 20%; }
.hero-main::before { background: linear-gradient(90deg, #4b1a45 0%, #4b1a45 40%, rgba(75,26,69,.75) 47%, rgba(75,26,69,.25) 58%, rgba(75,26,69,0) 70%); }
.hero-copy { max-width: 560px; }
.hero-kicker { letter-spacing: 5px; font-size: 13px; font-weight: 700; color: #f2c46d; }
.hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.08; margin: 14px 0; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero p { font-size: 19px; opacity: .92; margin-bottom: 28px; }
.hero-main .btn-lg { padding: 12px 32px; border-radius: 8px; }
.hero-main .btn-outline-light { border-width: 1.5px; }
.hero-side { padding: 28px 30px; color: #fff; display: flex; flex-direction: column; justify-content: center; min-height: 220px; }
.hero-side .hero-photo { width: 68%; object-position: 50% 30%; }
.hero-side:hover { color: #fff; }
.hero-main:hover .hero-photo, .hero-side:hover .hero-photo { transform: scale(1.04); }
.hero-side span { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,.2); }
.hero-side b { font-size: 16px; letter-spacing: 1px; margin-top: 6px; }
.hs-1 { background: #d9578c; }
.hs-1::before { background: linear-gradient(90deg, #d9578c 0%, #d9578c 30%, rgba(217,87,140,.7) 40%, rgba(217,87,140,0) 62%); }
.hs-2 { background: #a57a26; }
.hs-2::before { background: linear-gradient(90deg, #8f6a1f 0%, #9a7323 30%, rgba(154,115,35,.7) 40%, rgba(154,115,35,0) 62%); }
@media (max-width: 991px) {
  .hero-main { padding: 36px 32px; }
  .hero-main .hero-photo { width: 65%; }
  .hero-copy { max-width: 60%; }
}
@media (max-width: 767px) {
  .hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; min-height: 0; gap: 12px; }
  .hero-main { grid-column: span 2; grid-row: auto; min-height: 420px; padding: 28px 22px; align-items: flex-end; }
  .hero-main .hero-photo { width: 100%; object-position: 70% 15%; }
  .hero-main::before { background: linear-gradient(0deg, #4b1a45 0%, rgba(75,26,69,.92) 38%, rgba(75,26,69,.35) 65%, rgba(75,26,69,0) 85%); }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; margin-bottom: 18px; }
  .hero-side { min-height: 150px; padding: 16px; justify-content: flex-end; }
  .hero-side .hero-photo { width: 100%; }
  .hs-1::before { background: linear-gradient(0deg, rgba(217,87,140,.95) 0%, rgba(217,87,140,.5) 45%, rgba(217,87,140,0) 75%); }
  .hs-2::before { background: linear-gradient(0deg, rgba(143,106,31,.95) 0%, rgba(143,106,31,.5) 45%, rgba(143,106,31,0) 75%); }
  .hero-side span { font-size: 22px; }
  .hero-side b { font-size: 13px; }
}
.usp-strip { background: var(--brand-soft); color: var(--plum); font-weight: 600; font-size: 14px; padding: 12px 0; }
.usp-strip i { color: var(--brand); margin-right: 4px; }
.coupon-banner { border: 2px dashed var(--brand); border-radius: 10px; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; background: #fffafc; }
.coupon-banner b { font-size: 24px; color: var(--brand); margin-right: 10px; }
.coupon-banner .code strong { background: var(--plum); color: #fff; padding: 4px 10px; border-radius: 4px; letter-spacing: 1px; }
.section-title { font-size: 20px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin: 0; }
.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 991px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 575px) { .cat-tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.cat-tile { text-align: center; color: var(--ink); display: block; }
.cat-tile:hover { color: var(--ink); }
.ct-img { aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; background: var(--brand-soft); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand-soft), 0 4px 12px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.cat-tile:hover .ct-img { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--brand), 0 8px 18px rgba(0,0,0,.1); }
.ct-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ct-name { font-weight: 700; margin-top: 8px; font-size: 14px; }
.ct-cta { font-size: 12px; color: var(--brand); font-weight: 700; }
.split-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 767px) { .split-banners { grid-template-columns: 1fr; } }
.sb { border-radius: 12px; padding: 36px 28px; color: #fff; display: flex; flex-direction: column; min-height: 170px; justify-content: flex-end; }
.sb:hover { color: #fff; filter: brightness(1.05); }
.sb span { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; letter-spacing: 2px; }
.sb-women { background: linear-gradient(135deg, #c2185b, #6a1b4d); }
.sb-men { background: linear-gradient(135deg, #1a2a5e, #3f6fd8); }
.sb-beauty { background: linear-gradient(135deg, #00897b, #4db6ac); }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.hscroll-item { scroll-snap-align: start; }
@media (max-width: 991px) { .hscroll { grid-auto-columns: 40%; } }
@media (max-width: 575px) { .hscroll { grid-auto-columns: 62%; } }

/* ---------- Product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px 16px; }
@media (max-width: 575px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; } }
.product-card { position: relative; min-width: 0; background: #fff; transition: box-shadow .2s; border-radius: 4px; }
.product-card:hover { box-shadow: 0 2px 16px 4px rgba(40,44,63,.07); }
.pc-media { display: block; position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-soft); border-radius: 4px 4px 0 0; }
.pc-img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .4s; }
.pc-img-alt { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .pc-img-alt { opacity: 1; }
.product-card:hover .pc-img:not(.pc-img-alt) { transform: scale(1.03); }
.pc-rating { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.9); font-size: 12px; font-weight: 700; padding: 1px 6px; border-radius: 3px; color: var(--ink); }
.pc-rating i { color: var(--success); font-size: 10px; }
.pc-wish { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); opacity: 0; transition: opacity .2s; }
.product-card:hover .pc-wish, .pc-wish.on, .pc-wish:focus-visible { opacity: 1; }
@media (hover: none) { .pc-wish { opacity: 1; } }
.pc-wish.on { color: var(--brand); }
.pc-body { display: block; padding: 10px 10px 12px; color: var(--ink); }
.pc-brand { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-name { color: #535766; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-sizes { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.pc-price { font-size: 14px; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 0 6px; align-items: baseline; }
.pc-price s { color: var(--muted); font-size: 12px; }
.off { color: #ff905a; font-size: 12px; font-weight: 700; }

/* ---------- Listing ---------- */
.listing-title { font-size: 17px; font-weight: 700; margin: 4px 0 16px; }
.listing-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); border-top: 1px solid var(--line); }
.filters { border-right: 1px solid var(--line); }
.filters-head { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.fgroup { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.fgroup h6 { font-size: 13px; font-weight: 700; letter-spacing: .5px; margin-bottom: 10px; }
.fscroll { max-height: 240px; overflow-y: auto; }
.fcheck { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 3px 0; cursor: pointer; }
.fcheck input { accent-color: var(--brand); width: 15px; height: 15px; }
.fcheck small { color: var(--muted); }
.swatch { width: 15px; height: 15px; border-radius: 50%; display: inline-block; border: 1px solid #ddd; }
.size-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.size-pill input { display: none; }
.size-pill span { display: inline-block; border: 1px solid #d4d5d9; border-radius: 16px; padding: 3px 12px; font-size: 13px; cursor: pointer; }
.size-pill input:checked + span { border-color: var(--brand); color: var(--brand); font-weight: 700; }
.results { padding: 12px 0 0 24px; min-width: 0; }
.results-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid #d4d5d9; border-radius: 20px; padding: 3px 10px; font-size: 13px; color: var(--ink); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.sort-select { display: flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }
.sort-select select { min-width: 190px; }
@media (max-width: 991px) {
  .listing-wrap { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .results { padding: 0; }
  .filters { position: fixed; inset: 0; z-index: 1090; background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .25s; border: 0; }
  .filters.open { transform: none; }
  .sort-select select { min-width: 0; }
}
.empty-state { text-align: center; padding: 64px 16px; }
.empty-state > i { font-size: 56px; color: var(--brand); opacity: .6; }
.empty-state h5 { font-weight: 700; margin-top: 16px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 58% 1fr; gap: 32px; }
.pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: start; }
.pdp-img { aspect-ratio: 3/4; overflow: hidden; background: var(--bg-soft); border-radius: 4px; }
.pdp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pdp-img:hover img { transform: scale(1.06); }
.pdp-video { background: #000; }
.pdp-video video { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp-info { position: sticky; top: 96px; align-self: start; }
.pdp-brand { font-size: 24px; font-weight: 700; margin: 0; }
.pdp-name { font-size: 20px; color: var(--muted); font-weight: 400; margin: 4px 0 10px; }
.pdp-rating { display: inline-block; border: 1px solid var(--line); padding: 2px 10px; font-size: 14px; color: var(--ink); border-radius: 3px; }
.pdp-rating i { color: var(--success); font-size: 12px; }
.pdp-price { font-size: 24px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pdp-price .mrp { color: var(--muted); font-size: 18px; }
.pdp-price .off { font-size: 18px; }
.pdp-sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pdp-size { position: relative; }
.pdp-size input { position: absolute; opacity: 0; pointer-events: none; }
.pdp-size span { min-width: 50px; height: 50px; padding: 0 12px; border: 1px solid #bfc0c6; border-radius: 25px; display: grid; place-items: center; font-weight: 700; font-size: 14px; cursor: pointer; background: #fff; }
.pdp-size:hover span { border-color: var(--brand); }
.pdp-size input:checked + span { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.pdp-size input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.pdp-size.oos span { color: #bfc0c6; border-color: #eaeaec; cursor: not-allowed; text-decoration: line-through; }
.pdp-size em { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); background: #ff905a; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; padding: 0 5px; border-radius: 3px; white-space: nowrap; }
.pdp-actions { display: flex; gap: 12px; }
.pdp-actions .btn { padding: 14px 20px; font-size: 15px; }
.pdp-wish.on { border-color: var(--brand); color: var(--brand); background: #fff; }
.pdp-wish.on:hover { background: var(--brand-soft); color: var(--brand); }
.pdp-details p { font-size: 15px; color: #3e4152; }
.rating-summary { display: flex; gap: 28px; align-items: center; margin: 14px 0; }
.rating-summary .big { font-size: 40px; font-weight: 700; display: flex; flex-direction: column; line-height: 1; }
.rating-summary .big i { color: var(--success); font-size: 22px; }
.rating-summary .big small { font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 6px; }
.bars { flex: 1; max-width: 260px; }
.bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.bar-row > span:first-child { width: 28px; color: var(--muted); }
.bar { flex: 1; height: 4px; background: var(--line); }
.bar i { display: block; height: 100%; }
.r5, .r4 { background: #14958f; } .r3 { background: #72bfbc; } .r2 { background: #fcb301; } .r1 { background: #f16565; }
.review { border-top: 1px solid var(--line); padding: 12px 0; font-size: 14px; }
.rating-badge { color: #fff; font-size: 12px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 26px; color: #d4d5d9; cursor: pointer; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
@media (max-width: 991px) { .pdp { grid-template-columns: 1fr; } .pdp-info { position: static; } .pdp-gallery { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; } .pdp-img { scroll-snap-align: start; } }
@media (max-width: 575px) { .pdp-actions { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 10px 12px; box-shadow: 0 -2px 10px rgba(0,0,0,.08); z-index: 1020; } .pdp-actions .btn { padding: 12px; font-size: 14px; } body:has(.pdp) .site-footer { padding-bottom: 90px; } }

/* ---------- Bag / checkout ---------- */
.checkout-steps { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--muted); margin-bottom: 24px; }
.checkout-steps .active { color: var(--success); border-bottom: 2px solid var(--success); }
.checkout-steps .done { color: var(--ink); }
.checkout-steps .sep { width: 60px; border-top: 1px dashed var(--muted); }
@media (max-width: 575px) { .checkout-steps { letter-spacing: 1px; font-size: 11px; } .checkout-steps .sep { width: 24px; } }
.note-box { border: 1px solid var(--line); border-radius: 4px; padding: 12px 16px; font-size: 14px; margin-bottom: 14px; background: #fffaf3; }
.note-box.success { background: #eefaf6; }
.note-box i { color: var(--brand); margin-right: 6px; }
.bag-item { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: 4px; padding: 12px; margin-bottom: 10px; position: relative; }
.bag-item.unavailable { background: #fff7f7; border-color: #f5c2c7; }
.bag-item > a img { width: 110px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.bag-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 575px) { .bag-item > a img { width: 80px; } }
.side-box { border: 1px solid var(--line); border-radius: 4px; padding: 16px; margin-bottom: 14px; }
.price-box { padding: 4px 0; }
.price-title { font-size: 12px; font-weight: 700; color: #535766; letter-spacing: .5px; margin-bottom: 12px; }
.pd-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; gap: 12px; }
.save-note { background: #eefaf6; color: var(--success); font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 4px; margin-top: 8px; }
.coupon-tag { display: inline-block; border: 1px dashed var(--brand); color: var(--brand); font-weight: 700; padding: 0 6px; border-radius: 3px; font-size: 12px; letter-spacing: .5px; }
.address-card { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.address-card.selectable { cursor: pointer; }
.address-card.selectable:has(input:checked) { border-color: var(--brand); background: #fffafc; }
.address-card input[type=radio] { accent-color: var(--brand); margin-top: 4px; }
details > summary { cursor: pointer; list-style: none; }
.confirm-tick { width: 76px; height: 76px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; font-size: 44px; margin: 0 auto; }

/* ---------- Account ---------- */
.auth-wrap { background: linear-gradient(160deg, var(--brand-soft), #fff 60%); padding: 48px 16px; min-height: 70vh; }
.auth-card .nav-pills .nav-link { color: inherit; border: 1px solid var(--line); }
.auth-card .nav-pills .nav-link.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.otp-input { letter-spacing: .5em; font-size: 1.25rem; font-weight: 700; }
.auth-card { max-width: 420px; margin: 0 auto; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.08); border-radius: 8px; overflow: hidden; }
.auth-banner { background: linear-gradient(120deg, var(--plum), var(--brand)); color: #fff; padding: 24px; display: flex; flex-direction: column; }
.auth-banner b { font-family: 'Playfair Display', serif; font-size: 26px; }
.auth-banner span { opacity: .85; font-size: 14px; }
.account-nav { border: 1px solid var(--line); border-radius: 4px; padding: 16px; }
.account-nav a { display: block; color: var(--ink); padding: 7px 0; font-size: 14px; border-top: 1px solid var(--line); }
.account-nav a.active { color: var(--brand); font-weight: 700; }
.stat-tile { border: 1px solid var(--line); border-radius: 6px; padding: 16px; display: flex; flex-direction: column; align-items: center; color: var(--ink); text-align: center; }
.stat-tile i { font-size: 22px; color: var(--brand); }
.stat-tile b { font-size: 20px; }
.stat-tile span { font-size: 12px; color: var(--muted); }
.order-card { display: block; border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; margin-bottom: 12px; color: var(--ink); background: var(--bg-soft); }
.order-card:hover { color: var(--ink); border-color: #d4d5d9; }
.tracker { display: flex; justify-content: space-between; position: relative; }
.tracker::before { content: ''; position: absolute; top: 8px; left: 8%; right: 8%; border-top: 2px solid var(--line); }
.tstep { display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 1; flex: 1; font-size: 13px; }
.tstep i { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #d4d5d9; margin-bottom: 6px; }
.tstep.done i { background: var(--success); border-color: var(--success); }
.tstep small { color: var(--muted); }
.wish-remove { position: absolute; top: 8px; right: 8px; z-index: 2; }

/* ---------- Footer ---------- */
.site-footer { background: #fafbfc; padding: 48px 0 24px; margin-top: 48px; font-size: 14px; }
.site-footer h6 { font-size: 12px; font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; }
.site-footer a { display: block; color: #696e79; padding: 2px 0; }
.site-footer .d-flex a { display: inline; }
.promise { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: #696e79; }
.promise i { font-size: 28px; color: var(--brand); }
.promise b { color: var(--ink); }
.static-page li { margin-bottom: 8px; }

/* ---------- Admin ---------- */
body.admin { background: #f4f5f7; }
.admin-shell { display: flex; min-height: 100vh; }
/* !important: Bootstrap's .offcanvas-lg forces a transparent background at ≥992px. */
.admin-side { width: 240px; background-color: var(--plum) !important; color: #fff; flex-shrink: 0; }
@media (min-width: 992px) { .admin-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; } }
.admin-side.offcanvas-lg { --bs-offcanvas-bg: var(--plum); --bs-offcanvas-width: 240px; }
.admin-nav { display: flex; flex-direction: column; padding: 0 10px; }
.admin-nav a, .admin-nav button { color: #e9d6e4; padding: 9px 12px; border-radius: 6px; font-size: 14px; display: flex; align-items: center; gap: 10px; background: none; border: 0; width: 100%; text-align: left; }
.admin-nav a:hover, .admin-nav button:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav a.active { background: var(--brand); color: #fff; font-weight: 700; }
.admin-main { flex: 1; min-width: 0; }
.admin-top { background: #fff; padding: 14px 24px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.kpi { display: flex; flex-direction: column; background: #fff; border-radius: 8px; padding: 14px 16px; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.05); height: 100%; }
.kpi i { color: var(--brand); font-size: 18px; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi b { font-size: 20px; }
.admin .card { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.admin-thumb { width: 110px; text-align: center; position: relative; }
.admin-video { width: 220px; max-width: 100%; aspect-ratio: 3/4; background: #000; border-radius: 4px; }
.admin-thumb img { width: 110px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.admin-thumb .badge { position: absolute; top: 4px; left: 4px; }
.timeline { list-style: none; padding-left: 16px; border-left: 2px solid var(--line); }
.timeline li { position: relative; margin-bottom: 12px; }
.timeline li::before { content: ''; position: absolute; left: -22px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.nav-pills .nav-link.active { background: var(--brand); }
.nav-pills .nav-link { color: var(--ink); }
.cat-img-cell { display: flex; gap: 8px; align-items: center; min-width: 130px; }
.cat-thumb { width: 45px; height: 60px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); background: var(--bg-soft); }
.cat-thumb.empty { opacity: .5; }
.refer-box { margin-top: 16px; border: 1px dashed var(--brand); background: #fffafc; border-radius: 6px; padding: 12px 14px; }
.refer-box > div > i { font-size: 22px; color: var(--brand); }
.wallet-summary { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; }
.wallet-hero { background: linear-gradient(120deg, var(--plum), var(--brand)); color: #fff; border-radius: 10px; padding: 22px 24px; }
.wallet-hero .bal { font-size: 36px; font-weight: 800; line-height: 1; }
.wallet-hero small { opacity: .85; }
.amt-plus { color: var(--success); font-weight: 700; }
.amt-minus { color: #d32f2f; font-weight: 700; }
.amt-void { color: var(--muted); text-decoration: line-through; }
.wallet-adjust { position: relative; }
.wallet-adjust summary { list-style: none; }
.wallet-adjust[open] form { position: absolute; right: 0; z-index: 5; width: 230px; }
.site-footer a.btn-seller { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 16px; border: 1.5px solid var(--brand); border-radius: 999px; color: var(--brand); font-weight: 700; font-size: 13px; }
.site-footer a.btn-seller:hover { background: var(--brand); color: #fff; }
/* Seller registration */
.seller-wrap { background: linear-gradient(160deg, var(--brand-soft), #fff 60%); padding: 32px 16px 48px; min-height: 70vh; }
.seller-card { max-width: 760px; margin: 0 auto; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.08); border-radius: 8px; overflow: hidden; scroll-margin-top: 80px; }
.seller-card .row > .form-floating > label { left: calc(var(--bs-gutter-x) * .5); }
.seller-card fieldset[hidden] { display: none; }
.seller-steps { display: flex; list-style: none; margin: 0; padding: 16px 12px 4px; gap: 4px; overflow-x: auto; }
.seller-steps li { flex: 1; min-width: 64px; text-align: center; font-size: 11px; color: #94969f; position: relative; }
.seller-steps li::before { content: ''; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: 0; }
.seller-steps li:first-child::before { display: none; }
.seller-steps li span { position: relative; z-index: 1; display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--line); font-weight: 700; font-size: 12px; }
.seller-steps li em { display: block; font-style: normal; margin-top: 4px; white-space: nowrap; }
.seller-steps li.done { color: var(--ink); cursor: pointer; }
.seller-steps li.done span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.seller-steps li.done::before, .seller-steps li.active::before { background: var(--brand); }
.seller-steps li.active { color: var(--brand); font-weight: 700; }
.seller-steps li.active span { background: var(--brand); border-color: var(--brand); color: #fff; }
.seller-steps li.has-error span { border-color: var(--bs-danger); color: var(--bs-danger); }
.seller-steps li.has-error em { color: var(--bs-danger); }
/* OTP code inputs have no constraint — suppress Bootstrap's green was-validated checkmark */
.was-validated [data-verify-code].form-control { border-color: var(--bs-border-color) !important; background-image: none !important; padding-right: .75rem !important; }
.seller-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.seller-cats .btn-check:checked + .btn { background: var(--brand); border-color: var(--brand); color: #fff; }
.seller-doc { border: 1px dashed var(--line); border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; }
.seller-nav { display: flex; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.seller-nav [hidden] { display: none !important; }
.seller-review-block { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; font-size: 13px; }
.seller-review-block dl, .seller-summary { display: grid; grid-template-columns: minmax(110px, 35%) 1fr; gap: 2px 12px; margin: 0; }
.seller-review-block dt, .seller-summary dt { font-weight: 400; color: #696e79; }
.seller-review-block dd, .seller-summary dd { margin: 0; word-break: break-word; }
@media (max-width: 575px) { .seller-steps li em { display: none; } .seller-steps li.active em { display: block; } }
.seller-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seller-kind .btn { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; padding: 12px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 13px; }
.seller-kind .btn i { font-size: 20px; color: var(--brand); }
.seller-kind .btn span { color: #6c757d; font-size: 12px; }
.seller-kind .btn-check:checked + .btn { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); }
.seller-card [data-show-for][hidden] { display: none !important; }
@media (max-width: 575px) { .seller-kind { grid-template-columns: 1fr; } }
/* Floating labels never run past their field (Bootstrap labels don't wrap). */
.seller-card .form-floating > label { max-width: 100%; }
.seller-card .row > .form-floating > label { max-width: calc(100% - var(--bs-gutter-x)); }
