/* =====================================================
   BLUE JEANS — Storefront Theme v3 "Modern Premium"
   Clean white canvas · near-black ink · one blue accent
   Big confident sans type · hairline borders · soft lift
   ===================================================== */

:root {
  --ink: #0b0c0f;
  --ink-2: #26282e;
  --muted: #71727a;
  --muted-2: #9a9ba3;
  --line: #e9e9ee;
  --line-2: #f3f3f6;
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --card: #ffffff;
  --accent: #2456e6;
  --accent-2: #4a75f0;
  --accent-soft: #eef3fe;
  --success: #149a53;
  --danger: #dc2f3e;
  --heart: #e0245e;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 12, 15, .05);
  --shadow: 0 2px 6px rgba(11, 12, 15, .05), 0 14px 34px -16px rgba(11, 12, 15, .16);
  --shadow-lg: 0 4px 10px rgba(11, 12, 15, .06), 0 28px 70px -20px rgba(11, 12, 15, .3);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);
  --header-bg: rgba(255,255,255,.88);
  --nav-bg: #ffffff;
  --surface: #ffffff;
  --footer-bg: #0b0c0f;
  --footer-heading: #ffffff;
  --footer-text: #a4a6ae;
  --footer-dim: #6b6e78;
  --btn-text: #ffffff;
  --toast-text: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
::selection { background: var(--accent-soft); color: var(--ink); }
code { background: var(--bg-soft); padding: 2px 7px; border-radius: 6px; font-size: 13px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 880px; }
.center { text-align: center; }
.right { text-align: right; }
.muted { color: var(--muted); }
.hide { display: none !important; }
.nowrap { white-space: nowrap; }
.hint { font-size: 12.5px; color: var(--muted); }

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 16px; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- embedded-preview helper bar ---------- */
.e2b-bar { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap;
  background: #0b0c0f; color: #b9bac2; font-size: 13px; padding: 8px 12px; }
.e2b-bar b { color: #fff; }

/* ---------- typography ---------- */
.eyebrow { display: inline-block; color: var(--muted); font-size: 11.5px; font-weight: 700;
  letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 14px; }
h1.display, .section-head h2, .pd-name, .cat-overlay h3, .co-title, .cart-summary h3,
.success-hero h1, .track-hero h1, .order-summary-card h3, .about-copy h1 { font-weight: 800; letter-spacing: -.025em; font-family: var(--font-display); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1.5px solid transparent;
  background: var(--ink); color: var(--btn-text); font-weight: 600; font-size: 14.5px;
  border-radius: 999px; padding: 13px 28px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; }
.btn:hover { background: #23252c; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-accent { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-accent:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); border-color: #d6d7de; box-shadow: none; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.24); }
.btn-lg { padding: 15px 34px; font-size: 15.5px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.link-btn { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; margin-top: 6px; }
.link-btn:hover { color: var(--danger); }

/* ---------- alerts / toast ---------- */
.alert { padding: 14px 18px; border-radius: 12px; margin: 14px 0; font-size: 14px; border: 1px solid; }
.alert-success { background: #f0fbf4; border-color: #c9ecd6; color: #12683b; }
.alert-error { background: #fdf2f3; border-color: #f6d3d6; color: #a32632; }
.alert-error ul { margin: 6px 0 0 20px; }
.alert-warn { background: #fdf8ec; border-color: #f0e2b6; color: #8a6a1c; }
.alert p { margin-top: 4px; }
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--ink); color: var(--toast-text); padding: 13px 24px; border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); animation: toastIn .25s ease; display: flex; gap: 8px; align-items: center; max-width: 90vw; }
.toast.err { background: var(--danger); }
.toast .tick { color: #8db4fb; font-weight: 700; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- announcement + header ---------- */
.announce { background: var(--ink); color: #d5d6dc; text-align: center; font-size: 13px; font-weight: 500;
  padding: 9px 14px; letter-spacing: .3px; }

.site-header { background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 20px; padding: 13px 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { border-radius: 10px; }
.logo-text { font-size: 25px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.logo-text span { color: var(--accent); }
.logo-text.light-text, .light-text .logo-text { color: #fff; }
.logo-text.light-text span { color: #9db9fb; }
.logo-circle { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 16px -6px rgba(11,12,15,.28); background: var(--bg-soft); }
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.logo-circle.small { width: 36px; height: 36px; border-width: 1.5px; }
.logo-circle.light { border-color: rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 6px 18px -6px rgba(0,0,0,.5); }
.logo-img { height: 46px; width: auto; }

.header-search { flex: 1; position: relative; max-width: 540px; }
.header-search input { width: 100%; padding: 12px 48px 12px 19px; border: 1.5px solid transparent; border-radius: 999px;
  background: var(--bg-soft); transition: .2s; font-size: 14.5px; }
.header-search input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.header-search button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); border: 0; width: 37px; height: 37px;
  border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: .2s; }
.header-search button:hover { background: var(--accent); }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg);
  overflow: hidden; z-index: 50; border: 1px solid var(--line); }
.suggest a { display: flex; justify-content: space-between; padding: 12px 17px; font-size: 14px; border-bottom: 1px solid var(--line-2); }
.suggest a:hover { background: var(--bg-soft); }
.suggest .tag { font-size: 11px; color: var(--accent); background: var(--accent-soft); border-radius: 99px; padding: 1px 9px; }

.header-actions { display: flex; gap: 6px; align-items: flex-start; flex-shrink: 0; }
.icon-btn { position: relative; background: none; border: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); transition: .18s; }
.icon-btn:hover { background: var(--bg-soft); color: var(--accent); }
.pill[hidden] { display: none !important; }   /* the hidden attribute must always win over .pill's display rule */
.pill { position: absolute; top: 3px; right: 1px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 99px; display: grid; place-items: center; padding: 0 4px; }
.menu-toggle { display: none; }

.main-nav { border-top: 1px solid var(--line); background: var(--nav-bg); }
.nav-inner { display: flex; gap: 4px; overflow-x: auto; }
.nav-inner > a, .has-drop > a { padding: 13px 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 1.3px;
  text-transform: uppercase; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px;
  border-bottom: 2px solid transparent; transition: .15s; }
.nav-inner > a:hover, .has-drop > a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav-featured { color: var(--accent) !important; }
.has-drop { position: relative; }
.drop { position: absolute; top: 100%; left: 0; background: var(--surface); min-width: 210px; border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); border-top: 2px solid var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60; }
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 11px 17px; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.drop a:hover { background: var(--bg-soft); color: var(--ink); }

/* ---------- mobile nav ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11,12,15,.5); z-index: 200; animation: fadeIn .2s; }
.mobile-nav { position: fixed; top: 0; left: 0; bottom: 0; width: 295px; background: var(--surface); z-index: 201;
  transform: translateX(-105%); transition: .25s ease; overflow-y: auto; padding-bottom: 30px; }
.mobile-nav.open { transform: translateX(0); }
.mobile-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.mobile-nav > a, .mobile-nav details summary { display: block; padding: 14px 20px; font-weight: 700; font-size: 13px;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line-2); cursor: pointer; }
.mobile-nav > a:hover { background: var(--bg-soft); }
.mobile-nav details a { display: block; padding: 11px 20px 11px 36px; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; font-weight: 600;
  color: var(--muted); border-bottom: 1px solid var(--line-2); }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- hero ---------- */
.hero { position: relative; background: #101114; overflow: hidden; }
.hero-slide { min-height: 560px; display: none; align-items: center; background-size: cover; background-position: center right; position: relative; }
.hero-slide::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,9,12,.78) 0%, rgba(8,9,12,.5) 40%, rgba(8,9,12,.06) 78%); }
.hero-slide.active { display: flex; animation: fadeIn .7s ease; }
.hero-inner { width: 100%; position: relative; z-index: 2; }
.hero-copy { max-width: 580px; color: #fff; padding: 30px 0; }
.hero-copy .eyebrow { color: #c3c6d2; margin-bottom: 18px; }
.hero-copy h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.035em;
  margin-bottom: 16px; color: #fff; font-weight: 800; }
.hero-copy h1 em { font-style: normal; color: var(--accent-2); }
.hero-copy p { color: #c9ccd6; font-size: 17px; max-width: 440px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(10,12,16,.38); color: #fff;
  font-size: 24px; line-height: 1; display: grid; place-items: center; backdrop-filter: blur(4px); transition: .18s; }
.hero-arrow:hover { background: rgba(10,12,16,.65); border-color: #fff; }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 5; }
.hero-dots button { width: 30px; height: 4px; border-radius: 99px; border: 0; background: rgba(255,255,255,.3); transition: .25s; }
.hero-dots button.active { background: #fff; }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px auto; }
.trust-item { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; }
.trust-item svg { flex-shrink: 0; color: var(--accent); width: 30px; height: 30px; }
.trust-item b { display: block; font-size: 13.5px; letter-spacing: .2px; }
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { margin: 56px auto; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; gap: 12px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.see-all { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .8px; text-transform: uppercase; white-space: nowrap; }
.see-all:hover { text-decoration: underline; }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; background: linear-gradient(185deg, rgba(8,9,12,0) 38%, rgba(8,9,12,.82)); color: #fff; }
.cat-overlay h3 { font-size: 26px; }
.cat-overlay span { font-size: 12px; color: #c3c6d2; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; margin-top: 5px; }

/* ---------- product cards & grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* side-scroll arrows for the Trending row (theme-aware, subtly contrasting) */
.scroll-nav { position: relative; }
.snav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 8; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: 22px; line-height: 1; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 22px rgba(15,17,25,.18); transition: .18s; }
.snav:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.snav:active { transform: translateY(-50%) scale(.94); }
.snav[hidden] { display: none; }
.snav-prev { left: -6px; }
.snav-next { right: -6px; }
@media (max-width: 720px) { .snav { display: none; } }

.scroll-row { display: grid; grid-auto-flow: column; grid-auto-columns: 265px; gap: 18px; overflow-x: auto;
  padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.scroll-row > * { scroll-snap-align: start; }
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-thumb { background: #dcdce2; border-radius: 99px; }

.pcard { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dcdce2; }
.pcard-img { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--line-2); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 800; letter-spacing: .7px;
  padding: 5px 11px; border-radius: 99px; color: var(--btn-text); }
.badge + .badge { top: 42px; }
.badge-sale { background: var(--accent); }
.badge-new { background: var(--ink); }
.oos-overlay { position: absolute; inset: 0; background: rgba(255,255,255,.75); display: grid; place-items: center;
  font-weight: 800; color: var(--ink); letter-spacing: 2px; font-size: 13px; text-transform: uppercase; backdrop-filter: blur(2px); }
.low-stock { position: absolute; bottom: 12px; left: 12px; z-index: 2; background: rgba(11,12,15,.85); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 99px; letter-spacing: .4px; }

/* wishlist heart on cards */
.wish-heart { position: absolute; top: 10px; right: 10px; z-index: 3; width: 37px; height: 37px; border-radius: 50%;
  border: 1px solid rgba(11,12,15,.07); background: rgba(255,255,255,.94); color: var(--ink-2); font-size: 17px; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 3px 10px rgba(11,12,15,.14); transition: transform .16s ease, color .16s ease; }
.wish-heart:hover { transform: scale(1.1); color: var(--heart); }
.wish-heart.on { color: var(--heart); }

.pcard-body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-name { font-size: 14.5px; font-weight: 550; line-height: 1.4; min-height: 2.8em; letter-spacing: .1px; }
.pcard-name a:hover { color: var(--accent); }
.pcard-rating { display: flex; align-items: center; gap: 6px; min-height: 16px; }
.rating-count { font-size: 12px; color: var(--muted); }
.pcard-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.pcard-price .now { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.pcard-price .was { font-size: 13px; color: var(--muted-2); text-decoration: line-through; }
.quick-add { margin-top: auto; }

/* stars */
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 15px; height: 15px; fill: #e2e2e8; }
.stars svg.on { fill: #f5a623; }

/* ---------- promo ---------- */
.promo { background-size: cover; background-position: center; padding: 96px 0; position: relative; }
.promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,12,.86), rgba(8,9,12,.28)); }
.promo-inner { position: relative; }
.promo-card { max-width: 500px; color: #fff; }
.promo-card .eyebrow { color: #c3c6d2; }
.promo-card h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; margin-bottom: 12px; font-weight: 800; }
.promo-card p { font-size: 17px; margin-bottom: 26px; color: #c9ccd6; }

/* ---------- why ---------- */
.why h2 { margin-bottom: 26px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px;
  text-align: center; transition: .2s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-ic { font-size: 28px; width: 64px; height: 64px; margin: 0 auto 6px; display: grid; place-items: center;
  background: var(--accent-soft); border-radius: 50%; }
.why-card h4 { margin: 10px 0 6px; font-size: 16px; }
.why-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- breadcrumbs / chips ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; letter-spacing: .3px;
  color: var(--muted); margin: 20px 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumb-sep { color: var(--muted-2); }

.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 17px; font-size: 13px;
  font-weight: 600; letter-spacing: .3px; color: var(--ink-2); transition: .15s; display: inline-block; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip-active { background: var(--ink); border-color: var(--ink); color: var(--btn-text); }
.chip-opt { min-width: 54px; text-align: center; font-size: 14px; }
.chip-opt.chip-active { background: var(--ink); }
.price-presets { margin-bottom: 12px; }

/* ---------- shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 258px 1fr; gap: 28px; align-items: start; }
.shop-side { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 16px; }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 13px; }
.cat-list { list-style: none; }
.cat-list a { display: block; padding: 8px 10px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.cat-list a:hover { background: var(--bg-soft); color: var(--ink); }
.cat-list a.active { background: var(--ink); color: #fff; font-weight: 600; }
.cat-list ul { list-style: none; margin-left: 10px; border-left: 2px solid var(--line-2); padding-left: 8px; }
.price-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.price-form input { width: 82px; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--bg-soft); }
.price-form input:focus { outline: none; border-color: var(--accent); background: #fff; }
.clear-filters { font-size: 13.5px; color: var(--danger); font-weight: 600; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.result-count { color: var(--muted); font-size: 14px; letter-spacing: .2px; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form select { padding: 10px 13px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 600; font-size: 13.5px; }

.cat-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden;
  margin-bottom: 24px; background: var(--card); border: 1px solid var(--line); }
.cat-hero img { width: 100%; height: 250px; object-fit: cover; order: 2; }
.cat-hero-text { padding: 30px 34px; align-self: center; }
.cat-hero-text h1 { font-family: var(--font-display); font-size: 34px; letter-spacing: -.025em; margin-bottom: 10px; font-weight: 800; }
.cat-hero-text p { color: var(--muted); margin-bottom: 16px; }

/* ---------- empty states ---------- */
.empty-state { background: var(--card); border: 1.5px dashed #d8d8e0; border-radius: var(--radius); padding: 64px 24px;
  text-align: center; margin: 30px 0; }
.empty-state.tall { padding: 96px 24px; }
.empty-ic { font-size: 46px; display: block; margin-bottom: 12px; }
.empty-ic.big { font-size: 64px; }
.empty-state h3, .empty-state h1 { margin-bottom: 8px; letter-spacing: -.02em; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* ---------- pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 32px 0 10px; flex-wrap: wrap; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px solid var(--line);
  background: var(--card); border-radius: 999px; font-weight: 600; padding: 0 14px; }
.pagination a:hover { border-color: var(--ink); }
.pagination a.active { background: var(--ink); border-color: var(--ink); color: var(--btn-text); }

/* ---------- product page ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 32px; }
.pd-main-img { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--line-2); aspect-ratio: 4/5; }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.zoom-wrap { cursor: zoom-in; }
.zoom-wrap:hover img { transform: scale(1.02); }
.pd-badge { top: 14px; left: 14px; font-size: 12px; }
.zoom-lens { position: absolute; width: 175px; height: 175px; border-radius: 50%; pointer-events: none; opacity: 0;
  transition: opacity .2s; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(11,12,15,.22), 0 16px 40px -10px rgba(11,12,15,.45);
  background-repeat: no-repeat; background-color: #fff; z-index: 5; }
.zoom-hint { position: absolute; bottom: 12px; right: 12px; z-index: 4; background: rgba(11,12,15,.72); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .4px; padding: 5px 12px; border-radius: 99px; backdrop-filter: blur(4px); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb { width: 70px; height: 86px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active { border-color: var(--ink); }

/* lightbox (click / tap on the product image) */
.lightbox { position: fixed; inset: 0; background: rgba(8,9,12,.94); z-index: 400; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; cursor: zoom-out; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 94vw; max-height: 94vh; border-radius: 10px; box-shadow: var(--shadow-lg); }

.pd-cat { color: var(--accent); font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: 2.2px; }
.pd-name { font-size: 30px; letter-spacing: -.025em; line-height: 1.16; margin: 8px 0 10px; }
.pd-rating { margin-bottom: 14px; }
.pd-price { display: flex; align-items: baseline; gap: 13px; margin-bottom: 14px; }
.pd-price .pd-now { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.pd-price .pd-was { font-size: 18px; color: var(--muted-2); text-decoration: line-through; }
.pd-short { color: var(--muted); margin-bottom: 15px; font-size: 15.5px; }
.pd-stock { display: flex; gap: 16px; align-items: center; font-size: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.in-stock { color: var(--success); font-weight: 700; }
.low-stock { position: static; background: none; color: #b7791f; font-weight: 700; }
.out-stock { color: var(--danger); font-weight: 700; }
.pd-sku { color: var(--muted); font-size: 13px; letter-spacing: .5px; }
.pd-opts { margin-bottom: 16px; }
.pd-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 9px; }
.pd-buy-form { margin: 22px 0; }
.pd-buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qty-stepper { display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.qty-stepper button { width: 44px; border: 0; background: transparent; font-size: 19px; font-weight: 700; color: var(--ink); }
.qty-stepper button:hover { background: var(--bg-soft); }
.qty-stepper input { width: 52px; text-align: center; border: 0; font-weight: 700; font-size: 15px; -moz-appearance: textfield; background: transparent; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.wish-fab { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); font-size: 21px;
  color: var(--muted); transition: .2s; }
.wish-fab:hover { border-color: var(--heart); color: var(--heart); }
.wish-fab.on { color: var(--heart); border-color: var(--heart); background: #fdf2f5; }
.pd-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.pd-trust div { font-size: 12.5px; }
.pd-trust b { display: block; font-size: 13px; }
.pd-trust span { color: var(--muted); }

.pd-tabs { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 28px; overflow: hidden; }
.tab-btns { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-btn { padding: 16px 26px; background: none; border: 0; font-weight: 700; font-size: 12.5px; letter-spacing: 1.3px;
  text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel { display: none; padding: 28px 32px; }
.tab-panel.active { display: block; animation: fadeIn .25s; }
.rich h2, .rich h3 { margin: 24px 0 8px; letter-spacing: -.01em; }
.rich p { margin-bottom: 12px; color: #3a3c45; }
.rich h4 { margin: 20px 0 8px; }
.rich ul { margin: 0 0 12px 22px; color: #3a3c45; }
.rich ol { margin: 0 0 12px 22px; color: #3a3c45; }
.rich li { margin-bottom: 4px; }
.rich u { text-underline-offset: 2px; }
.rich span[style*="background"] { padding: 0 3px; border-radius: 3px; }

/* size chart inside the description */
.size-chart-block { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 22px; }
.sc-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.sc-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; font-size: 21px; flex-shrink: 0; }
.sc-head h4 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.sc-head .hint { margin-top: 1px; }
.size-table-wrap { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 380px; }
.size-table th { background: var(--ink); color: var(--btn-text); padding: 12px 16px; text-align: left; font-size: 11.5px;
  letter-spacing: 1.4px; text-transform: uppercase; }
.size-table td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.size-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.size-table tbody tr:hover { background: var(--accent-soft); }

.review { border-bottom: 1px solid var(--line-2); padding: 15px 0; }
.review-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.review p { margin-top: 6px; color: #3a3c45; }
.review-form { margin-top: 20px; display: grid; gap: 12px; }
.review-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-form input, .review-form select, .review-form textarea { padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); }
.review-form input:focus, .review-form textarea:focus, .review-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.del-list { list-style: none; display: grid; gap: 10px; }
.del-list li { background: var(--bg-soft); padding: 13px 17px; border-radius: 10px; border: 1px solid var(--line-2); }

/* ---------- forms (checkout, contact…) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; }
.fg.full { grid-column: 1 / -1; }
.fg label { font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.fg input, .fg select, .fg textarea { padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  background: var(--card); transition: .15s; width: 100%; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.checkout-layout { display: grid; grid-template-columns: 1fr 390px; gap: 28px; align-items: start; }
.co-title { font-size: 21px; margin: 28px 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
.co-title:first-of-type { margin-top: 0; }
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zone-opt input { display: none; }
.zone-card { display: block; border: 1.5px solid var(--line); border-radius: 13px; padding: 15px 17px; cursor: pointer; transition: .15s; background: var(--card); }
.zone-opt input:checked + .zone-card { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(36,86,230,.12); }
.zone-card b { display: block; }
.zone-card span { color: var(--muted); font-size: 13.5px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opt input { display: none; }
.pay-card { display: block; border: 1.5px solid var(--line); border-radius: 13px; padding: 14px 17px; cursor: pointer; transition: .15s; background: var(--card); }
.pay-opt input:checked + .pay-card { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(36,86,230,.12); }
.pay-name { display: flex; align-items: center; gap: 8px; }
.pay-dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.pay-desc { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.mfs-box { grid-column: 1 / -1; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 13px; padding: 15px 17px; }
.mfs-box p { font-size: 14px; color: var(--ink-2); }
.mfs-actions { margin: 10px 0; }
.mfs-box input { width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; letter-spacing: .8px; background: #fff; }
.mfs-box input:focus { outline: none; border-color: var(--accent); }
.place-order { margin-top: 24px; font-size: 16.5px; }
.terms-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------- cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 390px; gap: 28px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.ci-row { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 15px; }
.ci-img img { width: 88px; height: 106px; object-fit: cover; border-radius: 10px; }
.ci-name { font-weight: 600; font-size: 15.5px; }
.ci-name:hover { color: var(--accent); }
.ci-meta { display: block; color: var(--muted); font-size: 13px; margin: 2px 0; }
.ci-price { font-weight: 700; color: var(--ink); }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; justify-content: center; }
.ci-qty { width: 46px; }
.ci-line { font-weight: 800; }
.ci-remove { background: none; border: 0; color: var(--danger); font-size: 12.5px; font-weight: 600; }

.cart-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 12px; }
.cart-summary.sticky { position: sticky; top: 150px; }
.cart-summary h3 { font-size: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; }
.sum-row b { font-size: 15px; }
.sum-row.ok { color: var(--success); }
.sum-row.total { border-top: 2px solid var(--ink); padding-top: 11px; font-size: 17.5px; font-weight: 800; color: var(--ink); }
.free-ship-note { background: var(--accent-soft); color: #1c3f9e; border-radius: 9px; padding: 10px 13px; font-size: 13px; }
.free-ship-note.ok { background: #f0fbf4; color: var(--success); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; min-width: 0; padding: 11px 14px; border: 1.5px dashed #cfd0d8; border-radius: 10px; background: var(--bg-soft);
  text-transform: uppercase; font-weight: 600; letter-spacing: 1.2px; font-size: 13px; }
.coupon-form input:focus { outline: none; border-color: var(--accent); background: #fff; }
.continue-link { text-align: center; font-size: 14px; color: var(--muted); }
.mini-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; }
.mini-item img { width: 48px; height: 58px; object-fit: cover; border-radius: 8px; }
.mini-item b { font-size: 13px; display: block; line-height: 1.3; }
.mini-item .muted { font-size: 12px; }
.mini-price { font-weight: 700; font-size: 13.5px; white-space: nowrap; }

/* ---------- order success / track ---------- */
.success-hero { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 50px 24px; margin: 20px 0; }
.success-ic { width: 80px; height: 80px; margin: 0 auto 18px; background: var(--success); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-size: 38px; font-weight: 800; box-shadow: 0 0 0 12px #f0fbf4; }
.success-hero h1 { font-size: 30px; margin-bottom: 8px; }
.order-no-box { display: inline-flex; gap: 12px; align-items: center; background: var(--bg-soft); border: 1.5px dashed #cfd0d8;
  border-radius: 12px; padding: 11px 22px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.order-no-box span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.6px; }
.order-no-box b { font-size: 21px; letter-spacing: 1px; color: var(--ink); }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.order-summary-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.order-summary-card h3 { margin-bottom: 14px; font-size: 21px; }

.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted);
  padding: 11px 8px; border-bottom: 2px solid var(--line); }
.table td { padding: 11px 8px; border-bottom: 1px solid var(--line-2); }
.table tfoot td { border-bottom: 0; }
.table .grand td { border-top: 2px solid var(--ink); font-size: 17px; font-weight: 800; color: var(--ink); padding-top: 13px; }

.track-hero { text-align: center; margin: 28px 0 22px; }
.track-hero h1 { font-size: 32px; letter-spacing: -.025em; }
.track-hero p { color: var(--muted); }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; max-width: 660px; margin: 0 auto 28px; }
.track-form input { padding: 14px 17px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 500; background: var(--card); }
.track-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.track-result { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.track-head { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.track-head .muted { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.6px; }

.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 28px; }
.timeline li { text-align: center; position: relative; padding-top: 28px; }
.timeline li::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 3px; background: var(--line); }
.timeline li.done::before { background: var(--accent); }
.timeline li:first-child::before { left: 50%; }
.timeline li:last-child::before { right: 50%; }
.tl-dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 21px; height: 21px;
  border-radius: 50%; background: #fff; border: 4px solid var(--line); z-index: 1; }
.timeline li.done .tl-dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline b { display: block; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; }
.timeline span { font-size: 12px; color: var(--muted); }

.st { display: inline-block; font-size: 11px; font-weight: 800; padding: 4px 11px; border-radius: 99px; letter-spacing: .6px; white-space: nowrap; text-transform: uppercase; }
.st-pending    { background: #fdf3d7; color: #8a6a1c; }
.st-confirmed  { background: var(--accent-soft); color: #1c3f9e; }
.st-processing { background: #ece7fb; color: #5b2ea6; }
.st-shipped    { background: #d9f2f7; color: #135a70; }
.st-delivered  { background: #ddf5e4; color: #1a6b3c; }
.st-cancelled  { background: #fbe3e0; color: #a32828; }
.st-paid       { background: #ddf5e4; color: #1a6b3c; }
.st-new        { background: var(--danger); color: #fff; }

/* ---------- contact / about / faq ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; }
.cc-ic { font-size: 24px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--accent-soft);
  border-radius: 50%; flex-shrink: 0; }
.ccard b { display: block; margin-bottom: 3px; }
.ccard p { color: var(--muted); font-size: 14.5px; }
.ccard a:hover { color: var(--accent); }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: grid; gap: 12px; }
.contact-form h3 { margin-bottom: 4px; font-size: 21px; letter-spacing: -.02em; }
.contact-form input, .contact-form textarea { padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--bg-soft); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #fff; }

.about-hero { background: linear-gradient(120deg, #0b0c0f 0%, #17181d 60%, #20222a 100%); color: #fff; padding: 76px 0; position: relative; overflow: hidden; }
.about-hero::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 46%;
  background: radial-gradient(circle at 70% 40%, rgba(74,117,240,.22), transparent 60%); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
.about-copy .eyebrow { color: var(--accent-2); }
.about-copy h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin-bottom: 18px; }
.about-copy h1 em { font-style: normal; color: var(--accent-2); }
.about-copy p { color: #c9ccd6; margin-bottom: 15px; }
.about-imgs { position: relative; }
.about-imgs img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-img-2 { position: absolute; width: 55%; bottom: -36px; left: -28px; border: 6px solid #fff; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.stat span { color: var(--muted); font-size: 13.5px; letter-spacing: .4px; }

.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 17px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--muted); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 22px 18px; color: var(--muted); }
.policy-body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.policy-body h4 { font-size: 18px; margin: 20px 0 8px; letter-spacing: -.01em; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding: 56px 24px 32px; }
.f-col h4 { color: var(--footer-heading); font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase; margin-bottom: 16px; }
.f-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--footer-text); }
.f-col a:hover { color: var(--footer-heading); }
.f-about { font-size: 14px; line-height: 1.75; margin-bottom: 16px; }
.f-social { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); padding: 10px 18px;
  border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff; transition: .18s; border: 1px solid rgba(255,255,255,.14); }
.f-social:hover { background: #1877f2; border-color: #1877f2; }
.nl-form { display: flex; gap: 8px; }
.nl-form input { flex: 1; min-width: 0; padding: 11px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07); color: #fff; }
.nl-form input::placeholder { color: #6b6e78; }
.nl-form input:focus { outline: none; border-color: var(--accent-2); }
.pay-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pp { font-size: 11.5px; font-weight: 800; padding: 5px 12px; border-radius: 7px; color: #fff; letter-spacing: .4px; }
.pp-bkash { background: #d12053; } .pp-nagad { background: #f6921e; color: #4a2804; }
.pp-rocket { background: #8c3494; } .pp-cod { background: #34353c; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.09); padding: 20px 24px 28px; font-size: 13px; color: var(--footer-dim); }
.admin-link { color: var(--footer-dim); font-size: 12.5px; }
.admin-link:hover { color: var(--footer-heading); }

/* ---------- floating buttons ---------- */
.float-btns { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 12px; z-index: 150; }
.fab { width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); transition: .18s; }
.fab:hover { transform: translateY(-3px) scale(1.06); }
.fab-fb { background: #1877f2; }
.fab-wa { background: #25d366; }

/* ---------- cart drawer ---------- */
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(410px, 92vw); background: var(--surface); z-index: 210;
  transform: translateX(105%); transition: .28s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 19px 22px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 19px; letter-spacing: -.02em; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-foot { border-top: 1px solid var(--line); padding: 17px 22px; display: grid; gap: 10px; }
.cd-item { display: grid; grid-template-columns: 62px 1fr; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.cd-item img { width: 62px; height: 74px; object-fit: cover; border-radius: 9px; }
.cd-name { font-size: 14px; font-weight: 600; display: block; line-height: 1.3; }
.cd-meta { display: block; font-size: 12px; color: var(--muted); }
.cd-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.cd-price { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.cd-remove { background: none; border: 0; color: var(--danger); font-size: 13px; }
.cart-empty { text-align: center; padding: 54px 16px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }

/* ---------- reveal-on-scroll (classes added by JS only) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }


/* =====================================================
   THEME VARIANTS — switch with the 🎨 button (bottom-left)
   ===================================================== */

/* 1 · Clean Minimal (default) — white, near-black, one blue accent */

/* 2 · Heritage Denim — warm cream, leather & indigo, serif headlines */
body.t-heritage {
  --bg: #f6f1e7; --bg-soft: #efe8d8; --card: #fffdf8;
  --line: #e6ddc9; --line-2: #f1ead9;
  --ink: #2c2115; --ink-2: #4c3b28; --muted: #8a7a62; --muted-2: #a9997f;
  --accent: #1f3d8f; --accent-2: #4660b8; --accent-soft: #e9edf9;
  --radius: 12px; --radius-sm: 9px;
  --font-display: Georgia, "Cambria", "Times New Roman", serif;
  --header-bg: rgba(255, 253, 248, .92); --nav-bg: #fffdf8; --surface: #fffdf8;
  --footer-bg: #241a10; --footer-heading: #f3e9d8;
  --shadow: 0 2px 6px rgba(44,33,21,.06), 0 14px 34px -16px rgba(44,33,21,.2);
}
body.t-heritage .eyebrow { color: #8a6a3f; }
body.t-heritage .sc-ic, body.t-heritage .why-ic, body.t-heritage .cc-ic { background: #f3ead7; }

/* 3 · Midnight Street — dark mode, electric blue, modern streetwear */
body.t-midnight {
  --bg: #0c0d11; --bg-soft: #16171d; --card: #15161c;
  --line: #262732; --line-2: #1d1e26;
  --ink: #f1f2f6; --ink-2: #c9cbd6; --muted: #8b8d9c; --muted-2: #6a6c7a;
  --accent: #3d7bff; --accent-2: #7aa2ff; --accent-soft: #17233f;
  --radius: 14px; --radius-sm: 10px;
  --header-bg: rgba(12, 13, 17, .92); --nav-bg: #101116; --surface: #17181f;
  --footer-bg: #08090c; --footer-heading: #f1f2f6; --footer-text: #8b8d9c; --footer-dim: #5a5c68;
  --btn-text: #0b0c0f; --toast-text: #0b0c0f;
  --success: #2fbf71; --danger: #ff5a67; --heart: #ff4d7d;
  --shadow: 0 2px 6px rgba(0,0,0,.35), 0 14px 34px -16px rgba(0,0,0,.6);
}
body.t-midnight .announce { background: #15161c; color: #c9cbd6; }
body.t-midnight .oos-overlay { background: rgba(18,19,25,.78); color: #f1f2f6; }
body.t-midnight .btn-accent { background: #fff; color: #0b0c0f; border-color: #fff; }
body.t-midnight .btn-accent:hover { background: #e8e9ee; color: #0b0c0f; }
body.t-midnight .free-ship-note { color: #a9c2ff; }
body.t-midnight .success-ic { box-shadow: 0 0 0 12px rgba(47,191,113,.12); }

/* 4 · Rose Boutique — soft blush, elegant, feminine editorial */
body.t-rose {
  --bg: #fffafb; --bg-soft: #f9f1f4; --card: #ffffff;
  --line: #f0e2e8; --line-2: #f8eef2;
  --ink: #33262c; --ink-2: #55424c; --muted: #8f7d86; --muted-2: #ab9aa2;
  --accent: #c2688a; --accent-2: #d98cae; --accent-soft: #faeef3;
  --radius: 20px; --radius-sm: 14px;
  --font-display: Georgia, "Cambria", "Times New Roman", serif;
  --header-bg: rgba(255, 250, 251, .9); --nav-bg: #fffafb; --surface: #fffafb;
  --footer-bg: #2b1e24; --footer-heading: #f7edf1;
}

/* 5 · Monochrome Luxe — pure black & white, ultra-minimal, high-fashion */
body.t-mono {
  --accent: #0b0c0f; --accent-2: #0b0c0f; --accent-soft: #f0f0f3;
  --radius: 4px; --radius-sm: 3px;
  --shadow: none; --shadow-sm: none;
}
body.t-mono .btn { border-radius: 3px; text-transform: uppercase; letter-spacing: 1.2px; font-size: 13px; }
body.t-mono .pcard { border-color: transparent; }
body.t-mono .pcard:hover { transform: none; border-color: var(--ink); }
body.t-mono .badge { border-radius: 2px; }
body.t-mono .chip { border-radius: 3px; }
body.t-mono .section-head h2 { text-transform: uppercase; letter-spacing: .02em; }


/* =====================================================
   PER-THEME LAYOUT — each theme has its own structure,
   not just colors: header, hero, cards, pages, footer
   ===================================================== */

/* ---- 2 · HERITAGE DENIM — centered classic department-store ---- */
body.t-heritage .header-main { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
body.t-heritage .brand { order: 1; width: 100%; justify-content: center; margin: 4px 0; }
body.t-heritage .header-search { order: 2; max-width: 460px; }
body.t-heritage .header-actions { order: 3; }
body.t-heritage .nav-inner { justify-content: center; }
body.t-heritage .hero-slide { min-height: 460px; }
body.t-heritage .hero-slide::before { background: linear-gradient(180deg, rgba(20,14,6,.5) 0%, rgba(20,14,6,.78) 100%); }
body.t-heritage .hero-inner { text-align: center; }
body.t-heritage .hero-copy { margin: 0 auto; max-width: 640px; }
body.t-heritage .hero-cta { justify-content: center; }
body.t-heritage .section-head { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
body.t-heritage .section-head h2::after { content: ""; display: block; width: 64px; height: 2px; background: var(--accent); margin: 12px auto 0; }
body.t-heritage .pcard { text-align: center; }
body.t-heritage .pcard-rating { justify-content: center; }
body.t-heritage .pcard-price { justify-content: center; }
body.t-heritage .btn { border-radius: 8px; }
body.t-heritage .pd-name, body.t-heritage .pd-short { text-align: center; }
body.t-heritage .pd-price { justify-content: center; }
body.t-heritage .pd-buy { justify-content: center; }
body.t-heritage .pd-trust { text-align: center; }
body.t-heritage .footer-grid { text-align: center; }

/* ---- 3 · MIDNIGHT STREET — compact dark nav, hover-reveal cards ---- */
body.t-midnight .main-nav { background: #0f1015; border-top: 0; }
body.t-midnight .nav-inner > a, body.t-midnight .has-drop > a { color: #c9cbd6; }
body.t-midnight .nav-inner > a:hover, body.t-midnight .has-drop > a:hover { color: #fff; border-bottom-color: var(--accent); }
body.t-midnight .hero-slide { min-height: 620px; }
body.t-midnight .hero-slide::before { background: radial-gradient(ellipse at center, rgba(5,6,10,.5) 0%, rgba(5,6,10,.88) 100%); }
body.t-midnight .hero-inner { text-align: center; }
body.t-midnight .hero-copy { margin: 0 auto; max-width: 720px; }
body.t-midnight .hero-copy h1 { font-size: clamp(40px, 6vw, 72px); text-transform: uppercase; }
body.t-midnight .hero-cta { justify-content: center; }
body.t-midnight .badge { border-radius: 4px; }
body.t-midnight .pcard-body { padding-bottom: 64px; }
body.t-midnight .quick-add { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0;
  opacity: 0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease, background .18s ease; }
body.t-midnight .pcard:hover .quick-add { opacity: 1; transform: none; }
body.t-midnight .pcard-price .now { color: #fff; }
@media (hover: none) {
  body.t-midnight .quick-add { position: static; opacity: 1; transform: none; }
  body.t-midnight .pcard-body { padding-bottom: 16px; }
}

/* ---- 4 · ROSE BOUTIQUE — boxed hero, rounded soft design ---- */
body.t-rose .header-main { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
body.t-rose .brand { order: 1; width: 100%; justify-content: center; margin: 4px 0; }
body.t-rose .header-search { order: 2; max-width: 440px; }
body.t-rose .header-actions { order: 3; }
body.t-rose .nav-inner { justify-content: center; }
body.t-rose .hero { margin: 22px 22px 0; border-radius: 28px; }
body.t-rose .hero-slide { min-height: 500px; }
body.t-rose .hero-slide::before { background: linear-gradient(180deg, rgba(43,20,30,.22) 0%, rgba(43,20,30,.72) 100%); }
body.t-rose .hero-inner { text-align: center; }
body.t-rose .hero-copy { margin: 0 auto; max-width: 620px; }
body.t-rose .hero-cta { justify-content: center; }
body.t-rose .section-head { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
body.t-rose .cat-card { border-radius: 24px; }
body.t-rose .pcard { text-align: center; }
body.t-rose .pcard-rating { justify-content: center; }
body.t-rose .pcard-price { justify-content: center; }
body.t-rose .pd-name, body.t-rose .pd-short { text-align: center; }
body.t-rose .pd-price { justify-content: center; }
body.t-rose .pd-buy { justify-content: center; }
body.t-rose .pd-trust { text-align: center; }
@media (max-width: 720px) { body.t-rose .hero { margin: 12px 12px 0; border-radius: 20px; } }

/* ---- 5 · MONOCHROME LUXE — borderless editorial, cinematic hero ---- */
body.t-mono .header-search { max-width: 340px; }
body.t-mono .nav-inner > a { font-size: 11.5px; letter-spacing: 2px; }
body.t-mono .hero-slide { min-height: 680px; }
body.t-mono .hero-slide::before { background: rgba(8,9,12,.52); }
body.t-mono .hero-inner { text-align: center; }
body.t-mono .hero-copy { margin: 0 auto; max-width: 760px; }
body.t-mono .hero-copy h1 { font-size: clamp(42px, 6.5vw, 78px); text-transform: uppercase; letter-spacing: .01em; }
body.t-mono .hero-cta { justify-content: center; }
body.t-mono .trust-item { border: 0; background: transparent; box-shadow: none; text-align: center; display: block; }
body.t-mono .trust-item svg { margin: 0 auto 8px; }
body.t-mono .why-card { border: 0; box-shadow: none; }
body.t-mono .pcard { border: 0; background: transparent; box-shadow: none; border-radius: 0; }
body.t-mono .pcard:hover { transform: none; box-shadow: none; }
body.t-mono .pcard-img { border-radius: 0; }
body.t-mono .pcard:hover .pcard-img img { transform: none; }
body.t-mono .pcard-body { padding: 14px 2px 4px; }
body.t-mono .pcard-name { font-weight: 500; }
body.t-mono .pcard-name a:hover { text-decoration: underline; color: var(--ink); }
body.t-mono .quick-add { background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 0;
  text-transform: uppercase; letter-spacing: 1.6px; font-size: 11.5px; padding: 11px; }
body.t-mono .quick-add:hover { background: var(--ink); color: #fff; transform: none; box-shadow: none; }
body.t-mono .pd-layout { border: 0; padding: 0; background: transparent; box-shadow: none; gap: 56px; }
body.t-mono .pd-main-img { border-radius: 0; }
body.t-mono .cat-card { border-radius: 0; }
body.t-mono .pd-tabs { border-radius: 0; }
body.t-mono .footer-grid { grid-template-columns: 1fr; text-align: center; max-width: 560px; margin: 0 auto; }
body.t-mono .f-about { max-width: 480px; margin-left: auto; margin-right: auto; }
body.t-mono .nl-form { max-width: 420px; margin: 0 auto; }
body.t-mono .pay-pills { justify-content: center; }
body.t-mono .footer-bottom { flex-direction: column; text-align: center; }

/* ---------- footer promo banner (admin-managed) ---------- */
.footer-banner { display: block; margin: 44px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.footer-banner img { width: 100%; transition: transform .5s ease; }
.footer-banner:hover img { transform: scale(1.02); }

/* ---------- bank transfer box (checkout) ---------- */
.bank-box .bank-details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 15px; margin: 10px 0; display: grid; gap: 6px; }
.bank-box .bank-details div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bank-box .bank-details span { color: var(--muted); }
.bank-box .bank-details b { text-align: right; }

/* ---------- product video ---------- */
.pd-main-img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pd-video-thumb { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 17px; }
.pd-video-thumb:hover { border-color: var(--ink); }
.pd-video-thumb span { pointer-events: none; }

/* ---------- theme picker (floating, bottom-left) ---------- */
.theme-picker { position: fixed; left: 18px; bottom: 18px; z-index: 160; }
.tp-toggle { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 21px; box-shadow: var(--shadow-lg);
  display: grid; place-items: center; transition: transform .16s ease; }
.tp-toggle:hover { transform: scale(1.08); }
.tp-panel { position: absolute; bottom: 60px; left: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; width: 224px; }
.tp-title { font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--muted); padding: 6px 11px 4px; }
.tp-opt { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.tp-opt:hover { background: var(--bg-soft); color: var(--ink); }
.tp-opt.active { background: var(--accent-soft); color: var(--ink); }
.tp-dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); flex-shrink: 0; }
.tp-check { margin-left: auto; color: var(--accent); font-weight: 800; }
.tp-name { display: flex; flex-direction: column; line-height: 1.25; }
.tp-name em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .side-box { flex: 1; min-width: 240px; }
  .checkout-layout, .cart-layout { grid-template-columns: 1fr; }
  .pd-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-hero { grid-template-columns: 1fr; }
  .cat-hero img { order: 0; height: 190px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-2 { display: none; }
  .track-head { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero-arrow { display: none; }
  .container { padding: 0 16px; }
  .menu-toggle { display: grid; }
  .header-search { order: 3; max-width: none; flex-basis: 100%; }
  .header-main { flex-wrap: wrap; gap: 10px; padding: 11px 14px; }
  .main-nav { display: none; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero-slide { min-height: 470px; }
  .hero-copy { padding: 20px 0; }
  .form-grid, .zone-grid, .pay-grid { grid-template-columns: 1fr; }
  .review-form .form-row { grid-template-columns: 1fr; }
  .track-form { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 16px; border-left: 3px solid var(--line); margin-left: 9px; }
  .timeline li { text-align: left; padding: 0 0 0 24px; position: relative; }
  .timeline li::before { display: none; }
  .tl-dot { left: -12.5px; top: 2px; }
  .pd-trust { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); margin-top: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .ci-row { grid-template-columns: 72px 1fr; }
  .ci-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .ci-img img { width: 72px; height: 86px; }
  .tab-panel { padding: 18px; }
  .pd-layout { padding: 16px; gap: 24px; }
  .zoom-lens, .zoom-hint { display: none; }
  .pd-name { font-size: 25px; }
  .pd-price .pd-now { font-size: 27px; }
}
@media (max-width: 400px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard-body { padding: 10px 11px 12px; }
  .quick-add { font-size: 12.5px; padding: 9px 10px; }
  .pd-buy .btn-lg { flex: 1; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- floating live-chat button ---------- */
.chat-fab { position: relative; background: #25d366; }
.chat-fab:hover { box-shadow: 0 12px 30px rgba(37,211,102,.45); }
.chat-fab::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #25d366;
  opacity: .55; animation: chat-pulse 1.8s ease-out infinite; }
@keyframes chat-pulse { 0% { transform: scale(.85); opacity: .55; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }

/* labeled header action buttons (icon above, wording below, centered) */
.header-actions .icon-btn { width: auto; min-width: 58px; height: auto; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 5px 6px 4px; }
.header-actions .icon-btn .ic { position: relative; display: grid; place-items: center; height: 24px; width: 24px; }
.header-actions .icon-btn .ic .pill { top: -8px; right: -10px; border: 2px solid var(--header-bg); min-width: 17px; height: 17px; font-size: 10px; }
.header-actions .icon-btn .icon-label { font-size: 10.5px; font-weight: 600; line-height: 1; white-space: nowrap; }
.header-actions .icon-btn:hover .icon-label { color: var(--accent); }
@media (max-width: 640px) {
  .header-actions { gap: 2px; }
  .header-actions .icon-btn { min-width: 0; padding: 4px 3px 3px; }
  .header-actions .icon-btn .icon-label { font-size: 9.5px; }
}

/* coupon field inside the cart drawer */
.dw-coupon-form { display: flex; gap: 8px; margin: 6px 0 2px; }
.dw-coupon-form input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #d9d9e3; border-radius: 8px; font-size: 13px; }
.dw-coupon-form .btn { flex-shrink: 0; }
.dw-cp-rm { background: none; border: 0; color: #c0392b; cursor: pointer; font-size: 11.5px; padding: 0 3px; text-decoration: underline; }
