/* Oprupa storefront — ported from the Meridian homepage design.
   Values (colors, sizes, spacing) are taken verbatim from the source design. */

:root {
  --navy: #14213d;
  --navy-2: #20325c;
  --accent: #c1440e;
  --ink: #101010;
  --body: #4a453f;
  --cream: #f2e9d2;
  --line: #e6e2db;
  --line-2: #ece9e3;
  --line-3: #e2ddd4;
  --tint: #efe9e0;
  --slot-tint: #f1eee9;
  --slot-text: #b6ad9f;
  --card-bg: #f9fafb;
  --card-edge: #e9ebee;
  --amber: #e8a33d;
  --sale: #d21b1b;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: #1b1b1b;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Image slots — the design ships empty <image-slot> placeholders.
   Where a record has no image we render the same tinted box with its caption. */
.slot { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--tint); }
/* Product shots are packshots on a near-white ground, so contain them rather
   than cropping. Hero and banner slots take editorial photography, which fills. */
.slot img { width: 100%; height: 100%; object-fit: contain; }
.slot-center img { object-fit: cover; }
.slot-empty {
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--slot-text);
  text-align: center;
}
/* Hero slides and banners carry copy over the bottom of the slot, so the
   placeholder caption is centred there instead of colliding with it. */
.slot-empty.slot-center { align-items: center; padding-bottom: 0; }

/* ── Deals ticker ─────────────────────────────────────────── */
.deals { background: #000; color: #fff; font-size: 13px; font-weight: 500; }
.deals-strip {
  margin: 0 auto; padding: 11px 24px;
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
  gap: 12px; min-width: 0;
}
/* Every item keeps its own line and its own width — the strip scrolls sideways
   instead of wrapping or squashing. */
.deals-strip > * { flex: 0 0 auto; white-space: nowrap; }
.deals-strip .sep { opacity: .4; }
.deals-strip b { font-weight: 700; }
.deals-strip .lead { font-weight: 700; letter-spacing: .02em; }
.deals-strip .see-all { display: flex; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; color: #fff; }

/* ── Header ───────────────────────────────────────────────── */
.head-row {
  max-width: 1280px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 26px;
}
.brandmark { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.brandmark .tag { font-size: 12px; font-weight: 500; letter-spacing: .01em; color: var(--ink); }
.brandmark .word { font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1; }

.search {
  flex: 1; display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 13px 22px; max-width: 600px; cursor: text;
}
.search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--ink);
}
.search input::placeholder { color: #6a6a6a; }

.head-right { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.signin-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .14); padding: 9px 9px 9px 16px;
}
.signin-card .blurb { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.signin-card .btn {
  background: var(--ink); color: #fff; padding: 11px 24px;
  font-size: 15px; font-weight: 700; cursor: pointer;
}
.signin-card .btn:hover { color: #fff; text-decoration: none; }
.head-link {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap;
}
.head-link:hover { color: var(--ink); text-decoration: none; }

/* ── Nav row ──────────────────────────────────────────────── */
.navrow { border-bottom: 1px solid var(--line); }
.navrow .wrap {
  padding-top: 10px; padding-bottom: 14px;
  display: flex; align-items: center; gap: 24px;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.navrow .shop-all { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; color: var(--ink); }
.navrow a { color: var(--ink); }
.nav-item {
  padding-bottom: 2px; border-bottom: 2px solid transparent;
  white-space: nowrap; cursor: pointer;
}
.nav-item:hover { border-bottom-color: var(--ink); text-decoration: none; }
.nav-sale { color: var(--sale); font-weight: 700; cursor: pointer; }
.nav-sale:hover { color: var(--sale); }

/* ── Promo bar ────────────────────────────────────────────── */
.promo {
  background-color: var(--cream);
  background-position: center; background-size: cover; background-repeat: no-repeat;
  display: flex; align-items: center; gap: 26px; padding: 22px 26px; color: var(--ink);
}
.promo-date { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.promo-title { font-size: 36px; font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.promo-off { font-size: 25px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.promo-note { font-size: 13px; font-weight: 500; margin-top: 2px; }
.promo-and {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; letter-spacing: .03em;
}
.promo-tiers { display: flex; align-items: stretch; gap: 14px; }
.promo-tiers > div { padding-right: 14px; border-right: 1px solid rgba(16, 16, 16, .35); }
.promo-tiers > div:last-child { padding-right: 0; border-right: none; }
.promo-tiers .amt { font-size: 23px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.promo-tiers .range { font-size: 12px; font-weight: 500; margin-top: 1px; white-space: nowrap; }
.promo-fine { font-size: 11px; font-weight: 500; margin-top: 7px; line-height: 1.5; max-width: 520px; }
.promo-select {
  min-width: 206px; border: 1px solid var(--ink); background: #fff; padding: 11px 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer;
}

/* ── Hero carousel ────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--tint); }
.hero-track { display: flex; width: 400%; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.hero-slide { width: 25%; height: 470px; position: relative; }
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; pointer-events: none; }
.hero-copy.center {
  align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(180deg, rgba(20, 33, 61, .05), rgba(20, 33, 61, .22) 60%, rgba(20, 33, 61, 0));
}
.hero-copy.left { align-items: flex-start; justify-content: center; padding-left: 88px; }
.hero-copy.right { align-items: flex-end; justify-content: center; padding-right: 88px; text-align: right; }
.hero-copy.card { align-items: center; justify-content: flex-end; padding-bottom: 70px; text-align: center; }
.hero-card { background: #fff; padding: 26px 54px; border: 1px solid #e6e0d5; }

.hero-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--accent); }
.hero-copy.center .hero-eyebrow { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.hero-card .hero-eyebrow { font-size: 11px; }
.hero-h1 {
  font-size: 48px; font-weight: 800; line-height: 1.04; color: var(--navy);
  margin-top: 10px; letter-spacing: -.02em;
}
.hero-copy.center .hero-h1 {
  font-size: 44px; line-height: 1.08; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.hero-card .hero-h1 { font-size: 38px; line-height: 1.06; margin-top: 8px; }
.hero-sub { font-size: 15px; font-weight: 500; color: var(--body); margin-top: 15px; max-width: 340px; line-height: 1.6; }
.hero-copy.center .hero-sub {
  font-size: 13px; color: #f2ece2; margin-top: 12px; max-width: 520px; line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.hero-copy.right .hero-sub { max-width: 320px; }
.hero-cta {
  margin-top: 22px; pointer-events: auto; background: var(--navy); color: #fff;
  padding: 12px 30px; font-size: 15px; font-weight: 700; letter-spacing: .04em;
}
.hero-cta:hover { color: #fff; text-decoration: none; }
.hero-card .hero-cta { margin-top: 16px; display: inline-block; padding: 11px 28px; }
.hero-cta.outline {
  background: #fff; border: 1.5px solid var(--navy); color: var(--navy);
  padding: 11px 20px; display: flex; align-items: center; gap: 44px;
  font-size: 12px; font-weight: 700; margin-top: 20px;
}
.hero-cta.outline:hover { color: var(--navy); }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  border: none;
}
.hero-arrow:hover { background: #fff; }
.hero-arrow.prev { left: 14px; }
.hero-arrow.next { right: 14px; }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.hero-dot {
  height: 7px; width: 7px; border-radius: 999px; cursor: pointer;
  transition: all .3s; background: rgba(255, 255, 255, .85); border: none; padding: 0;
}
.hero-dot.active { width: 24px; background: var(--navy); }

/* ── Section titles ───────────────────────────────────────── */
.sec-title { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.view-all {
  font-size: 14px; font-weight: 700; color: var(--navy);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.sponsored-label { font-size: 12px; font-weight: 500; color: #98918a; }

/* ── Rails ────────────────────────────────────────────────── */
.rail-holder { position: relative; }
.rail {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.rail::-webkit-scrollbar { height: 0; width: 0; }
.rail > * { scroll-snap-align: start; }

.rail-arrow {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.rail-arrow:hover { border-color: var(--navy); }
.rail-arrow.prev { left: -6px; }
.rail-arrow.next { right: -6px; }
.rail-arrow.mid { top: 50%; transform: translateY(-50%); }

.deal-card { flex: 0 0 232px; min-width: 0; height: 250px; }

/* ── Promo tiles ("Shop our top deals") ───────────────────── */
.promo-tile {
  flex: 0 0 260px; min-width: 0; height: 325px;
  position: relative; overflow: hidden; display: block;
  color: var(--ink); text-decoration: none;
}
.promo-tile:hover { text-decoration: none; color: var(--ink); }
.promo-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
/* Offer copy sits over the art, on a soft scrim so it stays legible whatever
   the photograph does underneath. */
.promo-tile-copy {
  position: relative; padding: 22px 22px 34px;
}
.promo-tile-head {
  font-size: 27px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05;
}
.promo-tile-sub {
  font-size: 12px; font-weight: 500; margin-top: 6px; line-height: 1.45; max-width: 180px;
}

/* ── Product cards ────────────────────────────────────────── */
.pcard { flex: 0 0 200px; min-width: 0; display: flex; flex-direction: column; }
.pcard.wide { flex: 0 0 220px; }
/* Light ground plus a hairline edge so adjacent cards read as separate tiles
   rather than one continuous band of white. */
.pcard-media {
  position: relative; height: 270px;
  background: var(--card-bg); border: 1px solid var(--card-edge);
}
.pcard.wide .pcard-media { height: 250px; }
.pcard-media .slot { background: transparent !important; }
.pcard-media:hover { border-color: #dcdfe3; }
.pcard-fav {
  position: absolute; top: 9px; right: 9px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  display: flex; align-items: center; justify-content: center; cursor: pointer; border: none;
}
.pcard-brand { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 11px; }
.pcard-name {
  font-size: 13px; font-weight: 400; color: var(--body); margin-top: 3px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-price { font-size: 14px; font-weight: 500; color: var(--body); margin-top: 4px; }
.pcard-price.sale { font-weight: 600; color: var(--accent); }

/* Pushed to the bottom so buttons line up across a row whatever the name length. */
.pcard-add { margin-top: auto; padding-top: 10px; }
.pcard-add button {
  width: 100%; padding: 9px 12px; cursor: pointer;
  background: #fff; color: var(--navy); border: 1.5px solid var(--navy);
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .02em;
  transition: background .15s, color .15s;
}
.pcard-add button:hover { background: var(--navy); color: #fff; }
.pcard-add button[disabled] {
  border-color: #d8d5cf; color: #9a958d; cursor: not-allowed; background: #fff;
}
.pcard-add button.added { background: var(--accent); border-color: var(--accent); color: #fff; }
.pcard-badge {
  display: inline-block; background: var(--amber); color: var(--ink);
  font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 4px 7px; margin-top: 11px;
}

/* ── Tabs ─────────────────────────────────────────────────── */
.tabs {
  display: flex; gap: 26px; margin: 14px 0 18px;
  border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { height: 0; }
.tab {
  padding-bottom: 11px; font-size: 15px; cursor: pointer; color: var(--navy);
  font-weight: 500; border-bottom: 2px solid transparent;
  background: none; border-left: none; border-right: none; border-top: none;
  font-family: inherit; white-space: nowrap;
}
.tab.active { font-weight: 700; border-bottom-color: var(--navy); }

.split { position: relative; display: flex; gap: 14px; }
/* Portrait editorial lead — a tall 2:3 frame beside the product rail, not the
   near-square the product cards use. */
.split .lead {
  flex: 0 0 268px; height: 402px; background: var(--tint); position: relative;
  border: 1px solid var(--card-edge);
}
.split.occasion .lead { flex: 0 0 268px; height: 402px; }
/* Fill the portrait frame rather than letterboxing a square packshot in it. */
.split .lead .slot img { object-fit: cover; }
.rail-side { flex: 1; position: relative; min-width: 0; }
.rail-side .rail-arrow { top: 132px; }

/* ── Category row (carousel of tiles, caption underneath) ─── */
.cat-rail { align-items: flex-start; }
.cat-cell {
  flex: 0 0 300px; min-width: 0; display: block;
  color: var(--navy); text-decoration: none;
}
.cat-cell:hover { text-decoration: none; color: var(--navy); }
.cat-cell:hover .label { text-decoration: underline; text-underline-offset: 3px; }
.cat-cell .media { height: 300px; background: var(--tint); }
.cat-cell .label { font-size: 15px; font-weight: 700; color: var(--navy); margin-top: 12px; }

/* The text-only lead tile. */
.cat-cell-copy .media {
  background: #f4f1ea; display: flex; align-items: center; justify-content: center; padding: 34px;
}
.cat-copy-head {
  font-size: 27px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--navy);
}
.cat-copy-link {
  display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 700;
  color: var(--navy); text-decoration: underline; text-underline-offset: 3px;
}

/* ── Brand banner ─────────────────────────────────────────── */
.banner { position: relative; height: 400px; background: #ded7cc; }
.banner-copy {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; padding-left: 64px; pointer-events: none;
  /* Scrim so the white copy holds up over light artwork, fading out to the
     right where the product photography sits. */
  background: linear-gradient(90deg, rgba(16, 16, 16, .60) 0%, rgba(16, 16, 16, .34) 42%, rgba(16, 16, 16, 0) 72%);
}
.banner-eyebrow {
  font-size: 34px; font-weight: 300; letter-spacing: .3em; color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}
.banner-h {
  font-size: 29px; font-weight: 600; color: #fff; margin-top: 10px; line-height: 1.15;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}
.banner-sub {
  font-size: 14px; font-weight: 500; color: #f0ece5; margin-top: 13px;
  max-width: 300px; line-height: 1.6; text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}
.banner-cta {
  margin-top: 22px; pointer-events: auto; align-self: flex-start;
  background: #fff; color: var(--navy); padding: 11px 30px;
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
}
.banner-cta:hover { color: var(--navy); text-decoration: none; }

/* ── Strips ───────────────────────────────────────────────── */
.strip { display: flex; align-items: center; gap: 20px; padding: 13px 22px; color: #fff; }
.strip.rewards { background: var(--navy-2); }
.strip.card { background: var(--accent); gap: 26px; padding: 22px 30px; }
.strip-chip {
  font-size: 14px; font-weight: 800; letter-spacing: .1em;
  border: 1px solid rgba(255, 255, 255, .45); padding: 6px 12px; white-space: nowrap;
}
.strip.card .strip-chip { letter-spacing: .14em; padding: 7px 14px; border-color: rgba(255, 255, 255, .5); }
.strip-text { font-size: 15px; font-weight: 500; }
.strip-links { margin-left: auto; display: flex; gap: 26px; font-size: 15px; font-weight: 700; }
.strip-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.strip.card .headline { font-size: 28px; font-weight: 800; line-height: 1.15; }
.strip.card .fine { font-size: 12px; font-weight: 500; color: #ffe2d4; margin-top: 7px; }
.strip.card .prequal { margin-left: auto; text-align: center; }
.strip.card .prequal a {
  font-size: 17px; font-weight: 800; color: #fff;
  text-decoration: underline; text-underline-offset: 4px;
}

/* ── Brand cards rail ─────────────────────────────────────── */
.brandcard { flex: 0 0 300px; }
.brandcard.copy {
  height: 290px; background: var(--ink); color: #fff; padding: 30px;
  display: flex; flex-direction: column; justify-content: center;
}
.brandcard.copy .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.brandcard.copy .h {
  font-size: 19px; font-weight: 600; line-height: 1.35; margin-top: 12px;
  /* Keep the card readable rather than letting long copy fill the tile. */
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.brandcard .media { height: 290px; background: #e4e0d8; }
.brandcard .cap { font-size: 14px; font-weight: 500; color: var(--body); margin-top: 11px; line-height: 1.5; }

/* ── Clearance block ──────────────────────────────────────── */
.clearance { background: var(--ink); color: #fff; padding: 52px 24px; text-align: center; }
.clearance-h { font-size: 58px; font-weight: 300; letter-spacing: -.01em; }
.clearance-h b { font-weight: 800; }
.clearance-sub { font-size: 15px; font-weight: 500; color: #b9b3a8; margin-top: 11px; }
.pills { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.pill {
  background: #fff; color: var(--ink); padding: 11px 30px;
  font-size: 15px; font-weight: 700; cursor: pointer;
}
.pill:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* ── Sponsored grid ───────────────────────────────────────── */
.sponsored-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.sponsored-grid .pcard-media { height: 230px; }

/* ── Shop All drawer ──────────────────────────────────────── */
.burger {
  display: none; background: none; border: none; padding: 0 4px 0 0;
  cursor: pointer; line-height: 0;
}
.shop-all {
  background: none; border: none; padding: 0; font-family: inherit;
  font-size: 15px; font-weight: 700; color: var(--ink);
}

.drawer-overlay {
  position: fixed; inset: 0; background: rgba(16, 16, 16, .45);
  z-index: 90; opacity: 0; transition: opacity .25s;
}
.drawer-overlay.open { opacity: 1; }

.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 340px; max-width: 86vw;
  background: #fff; z-index: 91; display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 2px 0 24px rgba(0, 0, 0, .18);
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.drawer-title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.drawer-x { background: none; border: none; cursor: pointer; line-height: 0; padding: 4px; }

.drawer-body { overflow-y: auto; padding: 8px 0 32px; }
.drawer-group { border-bottom: 1px solid var(--line-2); padding: 14px 20px; }
.drawer-top {
  display: block; font-size: 15px; font-weight: 700; color: var(--ink);
}
.drawer-top:hover { color: var(--accent); }
.drawer-sale { color: var(--sale); }
.drawer-subs { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.drawer-sub { font-size: 14px; font-weight: 400; color: var(--body); }
.drawer-sub:hover { color: var(--accent); }

/* ── Bag ──────────────────────────────────────────────────── */
.bag { position: relative; line-height: 0; display: inline-block; }
.bag-count {
  position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 800; line-height: 17px; text-align: center;
}

/* ── Site promo bar ───────────────────────────────────────── */
/* Value props. Sits above the footer, not the header — one strip at the top
   (the deals ticker) is enough. */
.promo-bar { background: #f7f5f0; color: var(--body); font-size: 13px; font-weight: 500; border-top: 1px solid var(--line); }
.promo-bar-inner {
  max-width: 1280px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.promo-bar-inner::-webkit-scrollbar { display: none; }
.promo-bar-inner > * { flex: 0 0 auto; }
.promo-bar .dot { opacity: .45; }
.promo-bar strong { color: var(--navy); }

/* ── Mini bag ─────────────────────────────────────────────── */
.drawer-right {
  left: auto; right: 0; width: 400px;
  transform: translateX(100%);
}
.drawer-right.open { transform: translateX(0); }
.mini-n {
  font-size: 12px; font-weight: 700; color: #fff; background: var(--accent);
  border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: middle;
}
.mini-body { flex: 1; padding: 6px 20px 20px; }
.mini-empty, .mini-loading { padding: 34px 0; font-size: 14px; color: #8a857d; text-align: center; }

.mini-line {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line-2);
}
.mini-thumb {
  flex: 0 0 68px; height: 82px; display: block;
  background: var(--card-bg); border: 1px solid var(--card-edge);
}
.mini-thumb img { width: 100%; height: 100%; object-fit: contain; }
.mini-noimg { display: block; width: 100%; height: 100%; background: var(--slot-tint); }
.mini-info { flex: 1; min-width: 0; }
.mini-brand { font-size: 13px; font-weight: 700; color: var(--navy); }
.mini-name {
  display: block; font-size: 13px; color: var(--body); margin-top: 2px; line-height: 1.4;
}
.mini-qty { font-size: 12px; color: #8a857d; margin-top: 5px; }
.mini-price { font-size: 14px; font-weight: 700; color: var(--navy); white-space: nowrap; }

.mini-foot { border-top: 1px solid var(--line); padding: 18px 20px 22px; background: #fff; }

/* ── Auth pages ───────────────────────────────────────────── */
.auth-wrap {
  display: flex; gap: 40px; align-items: flex-start;
  padding-top: 42px; padding-bottom: 80px;
}
.auth-card { flex: 1 1 460px; max-width: 460px; }
.auth-title { font-size: 28px; font-weight: 800; color: var(--navy); margin: 0; letter-spacing: -.02em; }
.auth-sub { font-size: 14px; color: var(--body); margin: 8px 0 24px; }

.auth-form label {
  display: block; font-size: 13px; font-weight: 600; color: var(--navy);
  margin: 14px 0 6px;
}
.auth-form input[type="text"], .auth-form input[type="email"],
.auth-form input[type="password"], .auth-form input[type="tel"] {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-3);
  font-family: inherit; font-size: 14px; color: var(--ink); background: #fff;
}
.auth-form input:focus { outline: 2px solid var(--navy); outline-offset: -1px; }
.auth-hint { display: block; font-size: 12px; color: #8a857d; margin-top: 5px; }
.field-row { display: flex; gap: 14px; }
.field-row > div { flex: 1; min-width: 0; }
.auth-submit {
  width: 100%; margin-top: 22px; padding: 13px; cursor: pointer; border: none;
  background: var(--navy); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: .04em;
}
.auth-submit:hover { background: #0d1729; }
.auth-alt { margin-top: 18px; font-size: 14px; color: var(--body); }
.auth-alt a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.auth-aside { flex: 0 0 300px; background: #f7f5f0; padding: 26px; }
.auth-perk { font-size: 14px; color: var(--body); padding: 11px 0; border-bottom: 1px solid #e6e2db; }
.auth-perk:last-child { border-bottom: none; }
.auth-perk strong { color: var(--navy); }

.form-errors {
  background: #fdf2f2; border: 1px solid #f0c9c9; color: #9a2b2b;
  padding: 12px 16px; margin-bottom: 18px; font-size: 14px;
}
.form-errors ul { margin: 0; padding-left: 18px; }

/* ── Account ──────────────────────────────────────────────── */
.account-layout { display: flex; gap: 40px; align-items: flex-start; }
.account-main { flex: 1; min-width: 0; }
.account-side { flex: 0 0 340px; }
.account-h { font-size: 17px; font-weight: 800; color: var(--navy); margin: 0 0 16px; }
.account-empty { font-size: 15px; color: var(--body); }

.order-card { border: 1px solid var(--line-3); margin-bottom: 16px; }
.order-head {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 18px; background: #faf9f7; border-bottom: 1px solid var(--line-2);
}
.order-ref { font-size: 15px; font-weight: 800; color: var(--navy); }
.order-date { font-size: 12px; color: #8a857d; margin-top: 3px; }
.order-right { text-align: right; }
.order-total { font-size: 15px; font-weight: 800; color: var(--navy); margin-top: 5px; }
.order-status {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
}
.status-pending { background: #fdf1dd; color: #8a5b12; }
.status-confirmed { background: #e2edf7; color: #1f4d78; }
.status-shipped { background: #e6f0ea; color: #22603c; }
.status-delivered { background: #dff0e4; color: #1d6b34; }
.status-cancelled { background: #f7e2e2; color: #8c2b2b; }

.order-items { padding: 6px 18px 14px; }
.order-item {
  display: flex; gap: 12px; align-items: baseline;
  font-size: 13px; color: var(--body); padding: 6px 0;
}
.order-item > span:nth-child(2) { flex: 1; min-width: 0; }
.order-qty { font-weight: 700; color: var(--navy); }
.order-line { font-weight: 600; color: var(--navy); white-space: nowrap; }

/* ── Checkout ─────────────────────────────────────────────── */
.checkout-guest {
  background: #f7f5f0; border-left: 3px solid var(--navy);
  padding: 13px 16px; font-size: 14px; color: var(--body); margin-bottom: 22px;
}
.checkout-guest a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.checkout-layout { display: flex; gap: 40px; align-items: flex-start; }
.checkout-main { flex: 1; min-width: 0; }
.checkout-summary { position: sticky; top: 20px; }
.checkout-block { border-bottom: 1px solid var(--line-2); padding-bottom: 26px; margin-bottom: 26px; }
.checkout-block:last-child { border-bottom: none; }
.checkout-h {
  display: flex; align-items: center; gap: 11px;
  font-size: 17px; font-weight: 800; color: var(--navy); margin: 0 0 16px;
}
.checkout-h .step {
  width: 25px; height: 25px; border-radius: 50%; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.checkout-notes {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-3);
  font-family: inherit; font-size: 14px;
}

.pay-option {
  display: flex; gap: 13px; align-items: flex-start; cursor: pointer;
  border: 2px solid var(--navy); padding: 16px; background: #fbfaf8;
}
.pay-option input { margin-top: 3px; accent-color: var(--navy); width: 17px; height: 17px; }
.pay-name { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.pay-note { display: block; font-size: 13px; color: var(--body); margin-top: 4px; }
.pay-disabled {
  border: 1px solid var(--line-3); padding: 16px; margin-top: 12px;
  opacity: .55; cursor: not-allowed;
}

.checkout-lines { margin-bottom: 16px; max-height: 320px; overflow-y: auto; }
.checkout-line { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.checkout-thumb {
  position: relative; flex: 0 0 56px; height: 68px;
  background: var(--card-bg); border: 1px solid var(--card-edge);
}
.checkout-qty {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px;
  border-radius: 999px; background: var(--navy); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 19px; text-align: center;
}
.checkout-line-info { flex: 1; min-width: 0; }
.checkout-line-brand { font-size: 12px; font-weight: 700; color: var(--navy); }
.checkout-line-name { font-size: 12px; color: var(--body); margin-top: 2px; line-height: 1.35; }
.checkout-line-total { font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ── Order confirmation ───────────────────────────────────── */
.done-card { max-width: 720px; margin: 0 auto; text-align: center; }
.done-tick {
  width: 62px; height: 62px; border-radius: 50%; background: #2c7a44;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.done-title { font-size: 27px; font-weight: 800; color: var(--navy); margin: 0; letter-spacing: -.02em; }
.done-sub { font-size: 15px; color: var(--body); margin: 12px 0 30px; line-height: 1.6; }
.done-grid {
  display: flex; gap: 30px; text-align: left;
  border: 1px solid var(--line-3); padding: 22px; margin-bottom: 22px;
}
.done-grid > div { flex: 1; }
.done-label {
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #8a857d; margin-bottom: 8px;
}
.done-value { font-size: 14px; color: var(--body); line-height: 1.7; }
.done-cod { color: var(--accent); font-weight: 600; }
.done-items { border: 1px solid var(--line-3); padding: 18px 22px; text-align: left; }
.done-actions { margin-top: 26px; }

/* ── Breadcrumbs ──────────────────────────────────────────── */
.crumbs { font-size: 12px; color: #8a857d; padding: 4px 0 16px; }
.crumbs a { color: #8a857d; }
.crumbs a:hover { color: var(--accent); }
.crumb-sep { margin: 0 7px; opacity: .6; }

/* ── Shop listing ─────────────────────────────────────────── */
.shop-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.shop-title { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin: 0; }
.shop-count { font-size: 14px; color: #8a857d; }

.shop-layout { display: flex; gap: 32px; align-items: flex-start; }
.shop-results { flex: 1; min-width: 0; }

.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line-2); margin-bottom: 20px;
}
.sort-form { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sort-form label { font-size: 13px; font-weight: 600; color: var(--body); }
.sort-form select {
  padding: 9px 12px; border: 1px solid var(--line-3); background: #fff;
  font-family: inherit; font-size: 13px; color: var(--ink); cursor: pointer;
}
.filter-toggle {
  display: none; padding: 9px 16px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--navy); color: var(--navy);
  font-family: inherit; font-size: 13px; font-weight: 700;
}

.shop-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px;
}
.shop-empty { padding: 46px 0; font-size: 15px; color: var(--body); }

/* ── Filters ──────────────────────────────────────────────── */
.filters { flex: 0 0 236px; position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
.filters-head { display: none; }
.filters-overlay { display: none; }
.filter-block { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.filter-title {
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 12px;
}
.filter-list { display: flex; flex-direction: column; gap: 9px; }
.filter-scroll { max-height: 260px; overflow-y: auto; padding-right: 4px; }
.filter-link { font-size: 14px; color: var(--body); }
.filter-link:hover { color: var(--accent); }
.filter-check {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--body); cursor: pointer; padding: 2px 0;
}
.filter-check input { accent-color: var(--navy); width: 15px; height: 15px; flex: 0 0 auto; }
.filter-check span:first-of-type { flex: 1; min-width: 0; }
.filter-n { font-size: 12px; color: #a8a29a; }
.filter-price { display: flex; align-items: center; gap: 8px; }
.filter-price input {
  width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid var(--line-3);
  font-family: inherit; font-size: 13px;
}
.filter-price span { font-size: 13px; color: #8a857d; }
.filter-apply {
  width: 100%; margin-top: 18px; padding: 11px; cursor: pointer; border: none;
  background: var(--navy); color: #fff;
  font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: .03em;
}
.filter-apply:hover { background: #0d1729; }
.filter-clear {
  display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600;
  color: var(--body); text-decoration: underline; text-underline-offset: 3px;
}

/* ── Pagination ───────────────────────────────────────────── */
.pager { margin-top: 34px; }
.pager nav > div:first-child { display: none; }          /* mobile prev/next duplicate */
.pager svg { width: 16px; height: 16px; vertical-align: middle; }
.pager .relative,
.pager span[aria-current], .pager a, .pager span {
  font-size: 14px;
}
.pager nav span[aria-current] span,
.pager nav a {
  display: inline-block; min-width: 36px; padding: 8px 10px; text-align: center;
  border: 1px solid var(--line-3); margin-right: 6px; color: var(--navy); background: #fff;
}
.pager nav a:hover { border-color: var(--navy); text-decoration: none; }
.pager nav span[aria-current] span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }

/* ── Product detail ───────────────────────────────────────── */
.pdp { display: flex; gap: 44px; align-items: flex-start; }
.pdp-gallery { flex: 0 0 540px; display: flex; gap: 14px; }
.pdp-thumbs { flex: 0 0 74px; display: flex; flex-direction: column; gap: 10px; }
.pdp-thumb {
  width: 74px; height: 90px; padding: 0; cursor: pointer;
  background: var(--card-bg); border: 1px solid var(--card-edge);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb.active { border-color: var(--navy); border-width: 2px; }
.pdp-media {
  flex: 1; min-width: 0; height: 560px;
  background: var(--card-bg); border: 1px solid var(--card-edge);
}
.pdp-media img { width: 100%; height: 100%; object-fit: contain; }

.pdp-perks {
  list-style: none; margin: 26px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line-2);
}
.pdp-perks li {
  font-size: 13px; color: var(--body); padding: 5px 0 5px 22px; position: relative;
}
.pdp-perks li::before {
  content: '✓'; position: absolute; left: 0; color: #2c7a44; font-weight: 800;
}
.pdp-perks strong { color: var(--navy); }

/* Accordions */
.accordion { margin-top: 26px; border-top: 1px solid var(--line-2); }
.acc { border-bottom: 1px solid var(--line-2); }
.acc summary {
  list-style: none; cursor: pointer; padding: 15px 0;
  font-size: 14px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 19px; font-weight: 500; color: var(--body); }
.acc[open] summary::after { content: '−'; }
.acc-body { padding: 0 0 18px; font-size: 14px; color: var(--body); line-height: 1.7; }
.acc-body p { margin: 0 0 10px; }
.acc-rating { color: #8a857d; font-size: 13px; }
.delivery-list { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; }
.delivery-list dt { font-weight: 700; color: var(--navy); }
.delivery-list dd { margin: 0; }
.pdp-info { flex: 1; min-width: 0; padding-top: 6px; }
.pdp-brand {
  font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy);
}
.pdp-name {
  font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1.3;
  margin: 10px 0 0; letter-spacing: -.01em;
}
.pdp-rating { font-size: 13px; color: #8a857d; margin-top: 10px; }
.pdp-price { font-size: 24px; font-weight: 700; color: var(--navy); margin-top: 18px; }
.pdp-price.sale { color: var(--accent); }
.pdp-was {
  font-size: 14px; font-weight: 500; color: #a8a29a;
  text-decoration: line-through; margin-left: 10px;
}
.pdp-stock { margin-top: 14px; font-size: 13px; font-weight: 600; }
.pdp-stock .in { color: #2c7a44; }
.pdp-stock .low { color: #b3690f; }
.pdp-stock .out { color: var(--sale); }

.pdp-add { display: flex; gap: 12px; margin-top: 22px; max-width: 420px; }
.pdp-add input {
  width: 76px; padding: 13px; border: 1px solid var(--line-3);
  font-family: inherit; font-size: 15px; text-align: center;
}
.pdp-add button {
  flex: 1; padding: 13px 20px; cursor: pointer; border: none;
  background: var(--navy); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: .04em;
}
.pdp-add button:hover { background: #0d1729; }
.pdp-add button[disabled] { background: #c9c5be; cursor: not-allowed; }
.pdp-add button.added { background: var(--accent); }

.pdp-meta {
  margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: 120px 1fr; gap: 9px 16px; font-size: 14px;
}
.pdp-meta dt { color: #8a857d; }
.pdp-meta dd { margin: 0; color: var(--body); }
.pdp-notes { margin-top: 22px; font-size: 13px; color: #8a857d; line-height: 1.7; }

/* ── Brand index ──────────────────────────────────────────── */
.alpha-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 26px; }
.alpha-nav a {
  min-width: 32px; padding: 6px 8px; text-align: center;
  border: 1px solid var(--line-3); font-size: 13px; font-weight: 700; color: var(--navy);
}
.alpha-nav a:hover { border-color: var(--navy); text-decoration: none; }
.alpha-block { padding: 22px 0; border-top: 1px solid var(--line-2); scroll-margin-top: 20px; }
.alpha-letter { font-size: 20px; font-weight: 800; color: var(--navy); margin: 0 0 14px; }
.alpha-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 20px;
}
.alpha-list a { font-size: 14px; color: var(--body); }
.alpha-list a:hover { color: var(--accent); }
.alpha-n { font-size: 12px; color: #a8a29a; margin-left: 5px; }

/* ── Cart ─────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.cart-note {
  background: #f0f6f0; border: 1px solid #cfe3cf; color: #2c5c2c;
  padding: 11px 16px; font-size: 14px; margin-bottom: 18px;
}
.cart-empty { padding: 40px 0; font-size: 15px; color: var(--body); }
.cart-layout { display: flex; gap: 34px; align-items: flex-start; }
.cart-lines { flex: 1; min-width: 0; }

.cart-line {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--line-2);
}
.cart-thumb {
  flex: 0 0 110px; height: 132px;
  background: var(--card-bg); border: 1px solid var(--card-edge);
}
.cart-info { flex: 1; min-width: 0; }
.cart-name { font-size: 14px; color: var(--body); margin-top: 3px; line-height: 1.4; }
.cart-remove { margin-top: 10px; }
.cart-remove button {
  background: none; border: none; padding: 0; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600; color: var(--body);
  text-decoration: underline; text-underline-offset: 3px;
}
.cart-remove button:hover { color: var(--accent); }
.cart-qty { flex: 0 0 120px; text-align: right; }
.cart-qty input {
  width: 62px; padding: 8px; border: 1px solid var(--line-3);
  font-family: inherit; font-size: 14px; text-align: center;
}
.cart-line-total { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--navy); }

.cart-summary {
  flex: 0 0 320px; border: 1px solid var(--line-3); padding: 22px; background: #fff;
}
.cart-summary-title {
  font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 16px;
}
.cart-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--body); padding: 8px 0;
}
.cart-row.muted { color: #8a857d; }
.cart-row.total {
  border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 14px;
  font-size: 16px; font-weight: 800; color: var(--navy);
}
.cart-checkout {
  width: 100%; margin-top: 16px; padding: 13px; cursor: pointer; border: none;
  background: var(--navy); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: .04em;
}
.cart-checkout:hover { background: #0d1729; }
.cart-continue {
  display: block; text-align: center; margin-top: 12px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  text-decoration: underline; text-underline-offset: 3px;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: #000; color: #fff; padding: 44px 0 0; }
.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr) 1.5fr; gap: 30px;
}
.footer-col .title { font-size: 15px; font-weight: 800; letter-spacing: .04em; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; font-weight: 400; color: #d2d2d2; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-blurb { font-size: 13px; color: #d2d2d2; line-height: 1.6; }
.signup { display: flex; gap: 0; margin-top: 14px; }
.signup input {
  flex: 1; border: none; padding: 11px 14px;
  font-family: 'Montserrat', sans-serif; font-size: 14px; outline: none;
}
.signup button {
  background: var(--accent); color: #fff; padding: 12px 24px; border: none;
  font-family: inherit; font-size: 14px; font-weight: 800; letter-spacing: .04em; cursor: pointer;
}
.card-promo { display: flex; gap: 14px; margin-top: 26px; align-items: flex-start; }
.card-promo .swatch { background: var(--accent); width: 44px; height: 28px; flex: 0 0 auto; }
.card-promo .text { font-size: 12px; color: #d2d2d2; line-height: 1.6; }
.connect { font-size: 15px; font-weight: 800; margin-top: 26px; letter-spacing: .04em; }
.social { display: flex; gap: 14px; margin-top: 12px; }
.social a {
  width: 30px; height: 30px; border: 1px solid rgba(255, 255, 255, .35);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; cursor: pointer; color: #fff;
}
.social a:hover { background: #fff; color: var(--navy); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 40px; }
.legal {
  max-width: 1280px; margin: 0 auto; padding: 22px 24px;
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: center;
  font-size: 12px; color: #d2d2d2;
}
.legal a { color: #d2d2d2; }
.legal a:hover { color: #fff; text-decoration: underline; }
.copyright {
  max-width: 1280px; margin: 0 auto; padding: 0 24px 34px;
  text-align: center; font-size: 12px; color: #9a9a9a;
}

/* ── Responsive (breakpoint from the design) ──────────────── */
@media (max-width: 1100px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  /* Horizontal slider: scroll-snapped, momentum on iOS, no visible scrollbar. */
  .deals-strip {
    font-size: 12px; justify-content: flex-start;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity; scrollbar-width: none;
    gap: 10px; padding-left: 16px; padding-right: 16px;
  }
  .deals-strip::-webkit-scrollbar { display: none; height: 0; }
  .deals-strip > span:not(.sep) { scroll-snap-align: start; }

  .burger { display: inline-block; }
  .head-row { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .search { order: 5; flex: 1 1 100%; max-width: none; padding: 11px 18px; }
  .head-right { gap: 14px; }
  .signin-card { box-shadow: none; padding: 0; }
  .hide-sm, .navrow, .rail-arrow { display: none !important; }
  .promo { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 20px 16px; }
  .promo-tiers { justify-content: center; }
  .promo-select { width: 100%; min-width: 0; }
  .hero-slide { height: 430px; }
  .hero-copy { align-items: center !important; justify-content: center !important; text-align: center; padding: 0 22px !important; }
  .hero-h1, .hero-copy.center .hero-h1, .hero-card .hero-h1 { font-size: 30px; }
  .sec-title { font-size: 20px; }
  .cat-row { overflow-x: auto; }
  .cat-cell { flex: 0 0 230px; }
  .split { flex-direction: column; }
  .split .lead, .split.occasion .lead { flex: 0 0 auto; width: 100%; height: 320px; }
  .pcard, .pcard.wide { flex: 0 0 170px; }
  .rail-side { width: 100%; }
  .banner { height: 340px; }
  .banner-copy { padding-left: 24px; }
  .strip { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .strip-links, .strip.card .prequal { margin-left: 0; }
  .clearance-h { font-size: 30px; }
  .pills { flex-wrap: wrap; }
  .sponsored-grid { grid-template-columns: repeat(2, 1fr); }
  /* Filters collapse behind a toggle; the grid drops to two across. */
  .shop-layout { flex-direction: column; }
  .filter-toggle { display: inline-block; }

  /* Filters slide in from the left, over the results. */
  .filters {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 91;
    width: 320px; max-width: 86vw; flex: 0 0 auto; max-height: none;
    background: #fff; box-shadow: 2px 0 24px rgba(0, 0, 0, .18);
    transform: translateX(-100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto; padding: 0 20px 40px;
  }
  .filters.open { transform: translateX(0); }
  .filters-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; border-bottom: 1px solid var(--line);
    position: sticky; top: 0; background: #fff; z-index: 1;
  }
  .filters-title { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
  /* Scoped to :not([hidden]) — a bare `display: block` here would override the
     hidden attribute and leave an invisible full-screen layer swallowing every
     click on the page. */
  .filters-overlay:not([hidden]) {
    display: block; position: fixed; inset: 0; z-index: 90;
    background: rgba(16, 16, 16, .45); opacity: 0; transition: opacity .25s;
  }
  .filters-overlay.open { opacity: 1; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .shop-title { font-size: 22px; }
  .pdp { flex-direction: column; gap: 24px; }
  .pdp-gallery { flex: 0 0 auto; width: 100%; flex-direction: column-reverse; }
  .pdp-thumbs { flex-direction: row; overflow-x: auto; }
  .pdp-media { flex: 0 0 auto; width: 100%; height: 380px; }
  .auth-wrap, .account-layout, .checkout-layout { flex-direction: column; }
  .auth-card, .auth-aside, .account-side, .checkout-summary { flex: 0 0 auto; width: 100%; max-width: none; }
  .checkout-summary { position: static; }
  .done-grid { flex-direction: column; gap: 20px; }
  .drawer-right { width: 100%; max-width: 100%; }
  .delivery-list { grid-template-columns: 1fr; gap: 2px 0; }
  .delivery-list dd { margin-bottom: 10px; }
  .pdp-name { font-size: 21px; }
  .alpha-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { flex-direction: column; }
  .contact-side { flex: 0 0 auto; width: 100%; }
  .legal-title { font-size: 23px; }
  .cart-layout { flex-direction: column; }
  .cart-summary { flex: 0 0 auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-col { border-bottom: 1px solid rgba(255, 255, 255, .2); padding: 16px 0; }
  .footer-links { display: none; }
  .legal { justify-content: flex-start; }
}

/* Rich text authored in admin (allowlisted tags only). */
.acc-body.rich h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 14px 0 6px; }
.acc-body.rich h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin: 12px 0 6px; }
.acc-body.rich ul, .acc-body.rich ol { margin: 0 0 10px; padding-left: 20px; }
.acc-body.rich li { margin-bottom: 4px; }
.acc-body.rich blockquote {
  margin: 10px 0; padding: 8px 0 8px 14px;
  border-left: 3px solid var(--line-3); color: #6f6a63;
}
.acc-body.rich a { text-decoration: underline; text-underline-offset: 3px; }

/* ── Variant picker ───────────────────────────────────────── */
.variants { margin-top: 22px; }
.variants-label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.variants-label span { font-weight: 400; color: var(--body); }
.variant-options { display: flex; flex-wrap: wrap; gap: 9px; }
.variant-opt {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1.5px solid var(--line-3); padding: 9px 14px; margin: 0;
  font-size: 13px; font-weight: 600; color: var(--navy); background: #fff;
  transition: border-color .15s, background .15s;
}
.variant-opt:hover { border-color: var(--navy); }
.variant-opt.selected { border-color: var(--navy); background: #f7f8fa; }
.variant-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.variant-swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.variant-opt.out {
  opacity: .45; cursor: not-allowed; text-decoration: line-through;
}
.cart-variant { font-size: 12.5px; color: #8a857d; margin-top: 4px; }
.mini-variant { font-size: 12px; color: #8a857d; margin-top: 3px; }

/* ── Policy & contact pages (Bangla) ──────────────────────── */
.legal-wrap { padding-top: 18px; padding-bottom: 74px; max-width: 900px; }
.legal-title {
  font-size: 30px; font-weight: 800; color: var(--navy);
  letter-spacing: -.01em; margin: 6px 0 0;
}
.legal-updated { font-size: 13px; color: #8a857d; margin: 8px 0 30px; }

/* Bengali reads better with a slightly taller line and a font that has the
   glyphs; fall back to the system Bangla face. */
.legal-body, [lang="bn"] {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', 'Montserrat', sans-serif;
}
.legal-body { font-size: 15.5px; line-height: 1.95; color: var(--body); }
.legal-body h2 {
  font-size: 19px; font-weight: 700; color: var(--navy);
  margin: 34px 0 12px; line-height: 1.5;
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 16px; padding-left: 24px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--navy); }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }

.legal-foot {
  margin-top: 40px; padding: 20px 22px; background: #f7f5f0;
  border-left: 3px solid var(--navy); font-size: 14.5px; line-height: 1.9;
}
.legal-foot p { margin: 0; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-layout { display: flex; gap: 44px; align-items: flex-start; margin-top: 10px; }
.contact-form { flex: 1; min-width: 0; }
.contact-side { flex: 0 0 320px; }
.contact-list { margin: 0 0 24px; display: grid; grid-template-columns: 90px 1fr; gap: 12px 16px; font-size: 14.5px; }
.contact-list dt { font-weight: 700; color: var(--navy); }
.contact-list dd { margin: 0; color: var(--body); line-height: 1.7; }
.contact-note {
  background: #f7f5f0; padding: 18px 20px; font-size: 14px; line-height: 1.85; color: var(--body);
}
.contact-note strong { display: block; color: var(--navy); margin-bottom: 6px; }
.contact-note p { margin: 0; }
.contact-links { display: flex; flex-direction: column; gap: 9px; margin-top: 22px; }
.contact-links a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* Social chips read their glyph from Font Awesome when an icon class is set. */
.social a i { font-size: 14px; line-height: 1; }
.social-empty { font-size: 12px; color: #8a857d; }
