/* ==========================================================================
   TukiStopPicks - storefront styles
   Dark theme, mobile first. LED products look best on a dark surface.
   ========================================================================== */

:root {
  /* surfaces */
  --bg:            #0c0e13;
  --surface:       #14181f;
  --surface-2:     #1c212b;
  --surface-3:     #252b36;
  --border:        #2c333f;
  --border-soft:   #222832;

  /* text */
  --text:          #eef1f6;
  --text-muted:    #a3acbb;
  --text-dim:      #717c8c;

  /* brand - taken from the Tuki's Top Picks logo */
  --accent:        #e8114b;   /* lotus crimson, used for every CTA */
  --accent-hover:  #f5225e;
  --accent-deep:   #b80c3a;
  --accent-ink:    #ffffff;
  --amber:         #ffc20e;   /* golden lower petals - size badges */
  --amber-deep:    #f4900c;
  --amber-ink:     #2a1c00;
  --green:         #5bc63f;   /* the green in "Top Picks" */
  --blue:          #4a9eff;
  --red:           #ff4d4d;

  /* shape */
  --radius:        12px;
  --radius-lg:     18px;
  --radius-pill:   999px;

  --shadow:        0 2px 8px rgba(0,0,0,.35);
  --shadow-lg:     0 10px 30px rgba(0,0,0,.45);

  --wrap:          1180px;
  --gutter:        16px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-script: "Pacifico", "Brush Script MT", cursive;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }
p  { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.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;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  font: inherit; font-weight: 600; line-height: 1.2;
  border: 1px solid transparent; border-radius: var(--radius);
  background: var(--surface-3); color: var(--text);
  cursor: pointer; text-align: center;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.btn:hover { background: var(--border); color: var(--text); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 4px 16px rgba(255,75,43,.28);
}
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); }

.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--text-dim); }

.btn--block { width: 100%; }
.btn--lg { padding: 16px 26px; font-size: 1.05rem; }
.btn--sm { padding: 8px 14px; font-size: .875rem; }

/* ---------------------------------------------------------------- top bar */

.topbar {
  background: linear-gradient(90deg, #0d1a09, #132512);
  border-bottom: 1px solid var(--border-soft);
  font-size: .8rem; color: #c8ebbd;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px var(--gutter);
}
.topbar strong { color: var(--green); }
.topbar__msg { min-width: 0; }
.topbar__sep, .topbar__advance { white-space: nowrap; }

/* On a narrow phone only the advance line survives; it is the part that
   actually changes someone's mind about ordering. */
@media (max-width: 599px) {
  .topbar__inner > .topbar__msg { overflow: hidden; }
  .topbar__sep { display: none; }
  .topbar__msg { font-size: .74rem; }
}

/* ---------------------------------------------------------------- language switch */

.langswitch {
  display: inline-flex; flex: 0 0 auto;
  padding: 2px;
  border: 1px solid rgba(91,198,63,.3); border-radius: var(--radius-pill);
  background: rgba(0,0,0,.35);
}
.langswitch a {
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 600; line-height: 1.5;
  color: #a8c9a0; white-space: nowrap;
}
.langswitch a:hover { color: #fff; }
.langswitch a.is-active {
  background: var(--green); color: #0b1a07;
}

/* ---------------------------------------------------------------- Bangla typography */

/* Bangla glyphs sit taller than Latin ones, so the text needs a little more
   room to stay comfortable to read. */
.lang-bn {
  font-family: "Hind Siliguri", var(--font);
  line-height: 1.75;
}
.lang-bn h1, .lang-bn h2, .lang-bn h3, .lang-bn h4 { line-height: 1.45; letter-spacing: 0; }
.lang-bn .hero__title { font-size: 1.75rem; }
.lang-bn .sizebox__value { font-size: 1.35rem; }
.lang-bn .btn { line-height: 1.4; }
.lang-bn .nav a, .lang-bn .chip { font-size: .9rem; }
.lang-bn .hero__eyebrow { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.lang-bn .sizebox__head { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.lang-bn .card__cat { letter-spacing: 0; text-transform: none; font-size: .78rem; }
.lang-bn .footer h4 { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.lang-bn .deliverybox h4 { letter-spacing: 0; text-transform: none; font-size: .88rem; }

@media (min-width: 880px) {
  .lang-bn .hero__title { font-size: 2.5rem; }
  .lang-bn .sizebox__value { font-size: 1.6rem; }
}

/* ---------------------------------------------------------------- header */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,14,19,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.header__inner {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px;
}

/* Logo
   The artwork is the original brand image. Rather than redrawing it, the
   parts are cropped straight out of it with background-position, so the
   lotus and the lettering stay exactly as designed.
   `mix-blend-mode: screen` drops the image's black background on our dark
   surfaces, so no black box shows around it.
   Clicking the logo goes home, so the nav carries no separate "Home" link. */

.logo { display: flex; align-items: center; gap: 9px; }
.logo:hover { color: var(--text); }

.logo__mark,
.logo__words {
  flex: 0 0 auto;
  background-image: url("../img/logo-original.webp");
  background-repeat: no-repeat;
  mix-blend-mode: screen;
}

/* lotus: source crop 417,323 420x340 */
.logo__mark {
  width: 37px; height: 30px;
  background-size: 110.6px 110.6px;
  background-position: -36.8px -28.5px;
}

/* "Tuki's Top Picks" + tagline: source crop 162,699 932x268 */
.logo__words {
  width: 104px; height: 30px;
  background-size: 140.4px 140.4px;
  background-position: -18.1px -78.3px;
}

@media (min-width: 560px) {
  .logo__mark  { width: 49px;  height: 40px; background-size: 147.5px 147.5px; background-position: -49.1px -38.0px; }
  .logo__words { width: 139px; height: 40px; background-size: 187.2px 187.2px; background-position: -24.2px -104.3px; }
}

/* Stacked full logo (lotus over lettering) for the footer.
   Source crop 162,323 932x644 */
.logo-stack {
  display: block;
  width: 150px; height: 104px;
  background: url("../img/logo-original.webp") no-repeat;
  background-size: 201.8px 201.8px;
  background-position: -26.1px -52.0px;
  mix-blend-mode: screen;
}

.header__spacer { flex: 1; }

.nav { display: none; gap: 4px; }
.nav a {
  padding: 8px 12px; border-radius: var(--radius);
  font-size: .925rem; font-weight: 500; color: var(--text-muted);
}
.nav a:hover, .nav a.is-active { background: var(--surface-2); color: var(--text); }

.header__call {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: .875rem; font-weight: 600; white-space: nowrap;
}
.header__call:hover { background: var(--surface-3); color: var(--text); }
.header__call span { display: none; }

.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
  padding: 8px var(--gutter) 14px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 11px 4px;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 500; color: var(--text-muted);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover { color: var(--text); }

.mobile-nav__cat { display: flex; align-items: center; gap: 10px; color: var(--text) !important; font-weight: 600; }
.mobile-nav__icon { color: var(--accent); display: inline-flex; }
.mobile-nav__kid { padding-left: 31px !important; font-size: .9rem; }

/* ---------------------------------------------------------------- category dropdown */

.dropdown { position: relative; }

.nav__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  font: inherit; font-size: .925rem; font-weight: 500;
  color: var(--text-muted);
  background: none; border: 0; border-radius: var(--radius);
  cursor: pointer;
}
.nav__btn:hover, .nav__btn.is-active { background: var(--surface-2); color: var(--text); }
.nav__btn svg { transition: transform .18s ease; }
.dropdown.is-open .nav__btn { background: var(--surface-2); color: var(--text); }
.dropdown.is-open .nav__btn svg { transform: rotate(180deg); }

/* Anchored to the button's right edge, not centred on it: the button sits
   near the end of the nav, so a centred panel runs off the screen. */
.dropdown__panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  z-index: 80;
  width: min(560px, calc(100vw - 32px));
  transform: translateY(-6px);
  padding: 14px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
/* A small bridge, so the pointer can cross the gap without the panel closing. */
.dropdown__panel::before {
  content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.dropdown:hover .dropdown__panel,
.dropdown:focus-within .dropdown__panel,
.dropdown.is-open .dropdown__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}

.dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

.catcard {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: var(--radius);
  border: 1px solid transparent;
}
.catcard:hover {
  background: var(--surface-2); border-color: var(--border);
  color: var(--text);
}
.catcard__icon {
  flex: 0 0 auto; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 10px;
  background: rgba(232,17,75,.13); color: var(--accent);
}
.catcard:hover .catcard__icon { background: var(--accent); color: #fff; }
.catcard__body { min-width: 0; }
.catcard__name {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: .95rem; font-weight: 600; color: var(--text);
}
.catcard__count {
  font-style: normal; font-size: .7rem; font-weight: 700;
  padding: 1px 7px; border-radius: var(--radius-pill);
  background: var(--surface-3); color: var(--text-muted);
}
.catcard__soon {
  font-style: normal; font-size: .68rem; font-weight: 700;
  padding: 2px 7px; border-radius: var(--radius-pill);
  background: rgba(255,194,14,.15); color: var(--amber);
  text-transform: uppercase; letter-spacing: .03em;
}
.catcard__kids {
  display: block; margin-top: 3px;
  font-size: .8rem; color: var(--text-dim); line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

.dropdown__all {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 10px; padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: .875rem; font-weight: 600; color: var(--accent);
}
.dropdown__all:hover { color: var(--accent-hover); }

@media (min-width: 880px) {
  .nav { display: flex; }
  .burger { display: none; }
  .mobile-nav { display: none !important; }
  .header__call span { display: inline; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: 40px 0 44px;
  background:
    radial-gradient(900px 400px at 75% 10%, rgba(255,75,43,.16), transparent 70%),
    radial-gradient(600px 300px at 10% 90%, rgba(74,158,255,.10), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.hero__grid { display: grid; gap: 28px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; margin-bottom: 14px;
  border-radius: var(--radius-pill);
  background: rgba(91,198,63,.12); border: 1px solid rgba(91,198,63,.32);
  font-size: .78rem; font-weight: 600; color: var(--green);
  text-transform: uppercase; letter-spacing: .04em;
}
.hero__title { font-size: 2rem; margin-bottom: .4em; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__text { color: var(--text-muted); font-size: 1.05rem; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.hero__points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 9px; }
.hero__points li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: .925rem; color: var(--text-muted);
}
.hero__points svg { flex: 0 0 auto; margin-top: 3px; color: var(--green); }

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 880px) {
  .hero { padding: 64px 0 70px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
  .hero__title { font-size: 2.9rem; }
}

/* ---------------------------------------------------------------- sections */

.section { padding: 44px 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border-soft); }

.section__head { margin-bottom: 24px; }
.section__head--center { text-align: center; }
.section__title { margin-bottom: .25em; }
.section__sub { color: var(--text-muted); margin: 0; }

@media (min-width: 880px) { .section { padding: 64px 0; } }

/* ---------------------------------------------------------------- product grid */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 14px;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
}

/* ---------------------------------------------------------------- product card */

.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--border); transform: translateY(-2px); color: var(--text); }

.card__media { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

/* The size badge is the whole point: it sits on the image, always visible. */
.size-badge {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  max-width: calc(100% - 16px);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--amber); color: var(--amber-ink);
  font-size: .78rem; font-weight: 800; letter-spacing: -.01em;
  line-height: 1.25;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.size-badge svg { flex: 0 0 auto; }
.size-badge__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.card__discount {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  padding: 4px 9px; border-radius: var(--radius-pill);
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 800;
}
.card__stock-out {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  background: rgba(12,14,19,.72);
  font-weight: 700; font-size: .9rem; color: var(--text);
}

.card__body { padding: 12px 13px 14px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); margin-bottom: 4px; }
.card__name { font-size: .95rem; font-weight: 600; line-height: 1.35; margin: 0 0 8px; }
.card__size-line { font-size: .8rem; color: var(--green); font-weight: 600; margin: 0 0 10px; }
.card__prices { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.card__price { font-size: 1.1rem; font-weight: 800; }
.card__compare { font-size: .85rem; color: var(--text-dim); text-decoration: line-through; }
.card__btn { margin-top: 11px; }

/* ---------------------------------------------------------------- feature strip */

.features {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.feature {
  display: flex; gap: 13px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.feature__icon {
  flex: 0 0 auto; width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,75,43,.14); color: var(--accent);
}
.feature h3 { font-size: .98rem; margin-bottom: 3px; }
.feature p { font-size: .875rem; color: var(--text-muted); margin: 0; }

/* ---------------------------------------------------------------- steps */

.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding: 22px 18px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -14px; left: 18px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: .9rem; font-weight: 800;
}
.step h3 { font-size: 1rem; margin: 6px 0 5px; }
.step p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ---------------------------------------------------------------- notices */

.notice {
  display: flex; gap: 11px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: .9rem; line-height: 1.55;
}
.notice svg { flex: 0 0 auto; margin-top: 2px; }
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--text); }

.notice--warn   { border-color: rgba(255,178,36,.4);  background: rgba(255,178,36,.08); color: #ffe0ad; }
.notice--warn svg { color: var(--amber); }
.notice--info   { border-color: rgba(74,158,255,.35); background: rgba(74,158,255,.08); color: #cfe4ff; }
.notice--info svg { color: var(--blue); }
.notice--good   { border-color: rgba(40,199,111,.35); background: rgba(40,199,111,.08); color: #c3f0d7; }
.notice--good svg { color: var(--green); }
.notice--bad    { border-color: rgba(255,77,77,.4);   background: rgba(255,77,77,.08); color: #ffd0d0; }
.notice--bad svg { color: var(--red); }

/* ---------------------------------------------------------------- size promise */

.size-promise {
  display: flex; gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(91,198,63,.28);
  background:
    linear-gradient(135deg, rgba(91,198,63,.10), rgba(91,198,63,.03)),
    var(--surface-2);
}
.size-promise__icon {
  flex: 0 0 auto; width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(91,198,63,.15); color: var(--green);
}
.size-promise__title { color: var(--green); font-size: 1.15rem; }
.size-promise p { color: var(--text-muted); font-size: .95rem; }

@media (min-width: 880px) {
  .size-promise { padding: 28px 30px; gap: 22px; align-items: flex-start; }
  .size-promise__title { font-size: 1.4rem; }
  .size-promise p { font-size: 1rem; max-width: 70ch; }
}

/* ---------------------------------------------------------------- price split */

.price-split {
  margin-top: 26px;
  max-width: 460px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
}
.price-split__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 7px 0; font-size: .925rem; color: var(--text-muted);
}
.price-split__row strong { color: var(--text); font-weight: 600; }
.price-split__row--total {
  margin-top: 4px; padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 1rem; color: var(--text);
}
.price-split__row--total strong { font-size: 1.1rem; font-weight: 800; }

.price-split__split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.price-split__part {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 13px;
  border-radius: var(--radius);
  background: var(--surface-2);
  font-size: .8rem;
}
.price-split__part strong { font-size: 1.15rem; font-weight: 800; }
.price-split__advance { color: var(--green); }

/* ---------------------------------------------------------------- category chips */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: var(--surface-2);
  font-size: .875rem; font-weight: 500; color: var(--text-muted);
}
.chip:hover { border-color: var(--text-dim); color: var(--text); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip__count {
  padding: 1px 7px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.12);
  font-size: .72rem; font-weight: 700;
}

/* ---------------------------------------------------------------- product page */

.product__grid { display: grid; gap: 26px; }
@media (min-width: 900px) {
  .product__grid { grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
}

.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.size-badge--lg {
  left: 12px; bottom: 12px;
  padding: 8px 14px; font-size: .95rem;
}

/* A row that scrolls sideways rather than wrapping, so a product with ten
   photos still shows one tidy strip under the big picture. */
.gallery__thumbs {
  display: flex; gap: 9px; margin-top: 10px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.gallery__thumbs::-webkit-scrollbar { height: 6px; }
.gallery__thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

.gallery__thumb {
  flex: 0 0 auto; width: 72px;
  padding: 0; cursor: pointer;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--border-soft); border-radius: 10px;
  background: var(--surface-2); overflow: hidden;
  scroll-snap-align: start;
  transition: border-color .15s ease, transform .15s ease;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { border-color: var(--text-dim); transform: translateY(-2px); }
.gallery__thumb.is-active { border-color: var(--accent); }
.gallery__thumb.is-active:hover { transform: none; }

@media (min-width: 640px) { .gallery__thumb { width: 84px; } }

/* The big picture fades between photos instead of snapping. */
.gallery__main img { transition: opacity .12s ease; }

/* ---- buy box ---- */

.buybox__title { font-size: 1.45rem; margin-bottom: .35em; }
.buybox__intro { color: var(--text-muted); }
@media (min-width: 900px) { .buybox__title { font-size: 1.85rem; } }

/* The size block is the loudest thing on the page, on purpose. */
.sizebox {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,194,14,.45);
  background: linear-gradient(135deg, rgba(255,194,14,.14), rgba(244,144,12,.05)), var(--surface-2);
}
.sizebox__head {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; color: var(--amber);
  text-transform: uppercase; letter-spacing: .05em;
}
.sizebox__value {
  margin-top: 8px;
  font-size: 1.5rem; font-weight: 800; color: var(--amber);
  letter-spacing: -.01em; line-height: 1.2;
}
.sizebox__compare { margin: 7px 0 0; font-size: .9rem; color: #ffe0ad; }
@media (min-width: 900px) { .sizebox__value { font-size: 1.75rem; } }

.buybox__prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.buybox__price { font-size: 1.9rem; font-weight: 800; }
.buybox__compare { font-size: 1.05rem; color: var(--text-dim); text-decoration: line-through; }
.buybox__save {
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: rgba(91,198,63,.14); color: var(--green);
  font-size: .78rem; font-weight: 700;
}

.buybox__stock { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.dot--in  { background: var(--green); box-shadow: 0 0 0 3px rgba(91,198,63,.2); }
.dot--low { background: var(--amber); box-shadow: 0 0 0 3px rgba(255,194,14,.2); }
.dot--out { background: var(--text-dim); }

.buybox__actions { display: grid; gap: 10px; margin: 18px 0; }

.trustlist { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.trustlist li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text-muted); }
.trustlist svg { flex: 0 0 auto; margin-top: 2px; color: var(--green); }
.trustlist strong { color: var(--text); }

.deliverybox {
  padding: 15px 17px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-2);
}
.deliverybox h4 {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-dim); margin-bottom: 10px;
}
.deliverybox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deliverybox li {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: .875rem; color: var(--text-muted);
}
.deliverybox strong { color: var(--text); white-space: nowrap; }

/* ---- detail panels ---- */

.product__details { display: grid; gap: 16px; }
@media (min-width: 820px) { .product__details { grid-template-columns: 1fr 1fr; } }

.panel {
  padding: 20px 22px;
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.panel h2 { font-size: 1.1rem; margin-bottom: .7em; }
.panel p { color: var(--text-muted); font-size: .93rem; }
.panel p:last-child { margin-bottom: 0; }
@media (min-width: 820px) { .panel--wide { grid-column: 1 / -1; } }

.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticklist li { display: flex; align-items: flex-start; gap: 9px; font-size: .92rem; color: var(--text-muted); }
.ticklist svg { flex: 0 0 auto; margin-top: 3px; color: var(--green); }

.spec { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec th, .spec td { padding: 9px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-soft); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 38%; font-weight: 500; color: var(--text-dim); }
.spec td { color: var(--text); }
.spec__size { color: var(--amber) !important; font-weight: 700; }

.faq { border-bottom: 1px solid var(--border-soft); }
.faq:last-child { border-bottom: 0; }
.faq summary {
  padding: 12px 0; cursor: pointer; list-style: none;
  font-size: .93rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--text-dim); font-weight: 400; }
.faq[open] summary::after { content: '−'; }
.faq p { margin: 0 0 14px; color: var(--text-muted); font-size: .9rem; }

/* ---------------------------------------------------------------- long-form pages */

.prose { max-width: 72ch; }
.prose h1 { font-size: 1.7rem; margin-bottom: .7em; }
.prose h2 {
  font-size: 1.15rem; margin: 1.8em 0 .5em;
  padding-top: 1.1em; border-top: 1px solid var(--border-soft);
}
.prose h2:first-of-type { border-top: 0; padding-top: 0; }
.prose p, .prose li { color: var(--text-muted); font-size: .97rem; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 2px; }
.prose__updated {
  margin-top: 2.5em; padding-top: 1em;
  border-top: 1px solid var(--border-soft);
  font-size: .85rem; color: var(--text-dim);
}
@media (min-width: 880px) {
  .prose h1 { font-size: 2.1rem; }
  .prose h2 { font-size: 1.3rem; }
}

/* a.feature gets a hover state; div.feature does not. */
a.feature:hover { border-color: var(--border); background: var(--surface-3); color: var(--text); }

/* ---------------------------------------------------------------- forms */

.field { margin-bottom: 16px; }
.field label, .field .label {
  display: block; margin-bottom: 6px;
  font-size: .9rem; font-weight: 600;
}
.req { color: var(--accent); }

.field input[type=text],
.field input[type=tel],
.field input[type=email],
.field input[type=password],
.field input[type=url],
.field input[type=number],
.field input[type=search],
.field textarea,
.field select {
  width: 100%; min-width: 0; padding: 12px 14px;
  font: inherit; font-size: 1rem;      /* 16px stops iOS zooming on focus */
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; background-image: none; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,17,75,.18);
}
.field__help { margin: 6px 0 0; font-size: .82rem; color: var(--text-dim); }
.field__err  { margin: 6px 0 0; font-size: .85rem; color: var(--red); font-weight: 500; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--red); }

.formblock {
  margin: 0 0 20px; padding: 20px 18px;
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  background: var(--surface);
}
.formblock legend {
  padding: 0 8px; margin-left: -8px;
  font-size: 1rem; font-weight: 700;
}
@media (min-width: 700px) { .formblock { padding: 24px; } }

/* ---- delivery area radios ---- */

.radios { display: grid; gap: 9px; }
.radio {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg);
}
.radio:hover { border-color: var(--text-dim); }
.radio:has(input:checked) {
  border-color: var(--accent);
  background: rgba(232,17,75,.07);
}
.radio input { accent-color: var(--accent); width: 18px; height: 18px; flex: 0 0 auto; }
.radio__body { flex: 1; min-width: 0; }
.radio__name { display: block; font-size: .93rem; font-weight: 600; }
.radio__note { display: block; font-size: .8rem; color: var(--text-dim); margin-top: 2px; }
.radio__price { font-weight: 700; white-space: nowrap; }

/* Free delivery: the area price stays visible but struck through, so the
   customer can see what the offer just saved them. */
.radio__free { display: none; color: var(--green); }
.radios--free .radio__was { text-decoration: line-through; color: var(--text-dim); font-weight: 600; }
.radios--free .radio__free { display: inline; margin-left: 7px; }

.field__help--offer,
.deliverybox__offer,
.price-split__offer {
  display: flex; align-items: center; gap: 7px;
  margin: 10px 0 0; font-size: .84rem; font-weight: 600;
  color: var(--green);
}
.deliverybox__offer, .price-split__offer {
  padding-top: 10px; border-top: 1px solid var(--border);
}
.summary__lines dd.is-free { color: var(--green); font-weight: 700; }

/* ---- consent tickbox ---- */

.field--consent {
  padding: 15px 16px; margin-bottom: 20px;
  border: 1px solid rgba(255,194,14,.4); border-radius: var(--radius);
  background: rgba(255,194,14,.07);
}
.check { display: flex; gap: 11px; cursor: pointer; }
.check input {
  width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px;
  accent-color: var(--amber);
}
.check span { font-size: .9rem; line-height: 1.6; color: #ffe8c2; font-weight: 400; }
.check__size { display: block; margin-top: 5px; color: var(--amber); font-size: 1rem; }

/* ---- bKash instructions ---- */

.bkashbox {
  padding: 16px 18px; margin-bottom: 18px;
  border: 1px solid rgba(232,17,75,.35); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(232,17,75,.12), rgba(232,17,75,.04)), var(--bg);
}
.bkashbox__lead { margin: 0 0 12px; font-size: .95rem; }
.bkashbox__number {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px 12px;
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px dashed var(--border);
}
.bkashbox__number .mono { font-size: 1.2rem; font-weight: 700; letter-spacing: .04em; }
.bkashbox__help { margin: 11px 0 0; font-size: .85rem; color: var(--text-muted); }

/* Honeypot: off-screen, never shown, never announced. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- checkout layout */

.checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 22px; }
.checkout__foot { margin: 14px 0 0; font-size: .85rem; color: var(--text-dim); text-align: center; }

/* A text input carries an intrinsic width of about twenty characters, and a
   grid or flex child will not shrink below its content unless told to. Left
   alone that pushed the checkout ten pixels wider than a 320px phone, which
   makes the whole page slide sideways under the thumb. */
.checkout, .checkout__fields, .checkout__summary,
.formblock, .field, .bkashbox, .summary { min-width: 0; }

@media (min-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 34px; }
  .checkout__fields { grid-column: 1; grid-row: 1; }
  .checkout__summary { grid-column: 2; grid-row: 1; position: sticky; top: 76px; }
}

/* ---------------------------------------------------------------- order summary */

.summary {
  padding: 18px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface);
}
.summary__head { font-size: 1rem; margin-bottom: 14px; }
.summary__item { display: flex; gap: 12px; align-items: flex-start; }
.summary__item img {
  width: 72px; height: 72px; flex: 0 0 auto;
  border-radius: 10px; object-fit: cover; background: var(--surface-2);
}
.summary__name { margin: 0 0 4px; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.summary__price { margin: 0; font-size: .85rem; color: var(--text-muted); }

.summary__size {
  display: flex; gap: 9px; align-items: flex-start;
  margin: 13px 0; padding: 11px 13px;
  border-radius: var(--radius);
  background: rgba(255,194,14,.12); border: 1px solid rgba(255,194,14,.3);
}
.summary__size svg { flex: 0 0 auto; margin-top: 2px; color: var(--amber); }
.summary__size strong { display: block; color: var(--amber); font-size: .95rem; }
.summary__size span { display: block; margin-top: 3px; font-size: .8rem; color: #ffe0ad; }

.summary__lines { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border-soft); }
.summary__lines > div {
  display: flex; justify-content: space-between; gap: 14px;
  margin: 0 0 8px;
}
.summary__lines dt { font-size: .9rem; color: var(--text-muted); margin: 0; }
.summary__lines dd { font-size: .9rem; margin: 0; font-weight: 600; white-space: nowrap; }
.summary__total { margin-top: 10px !important; padding-top: 10px; border-top: 1px solid var(--border-soft); }
.summary__total dt { color: var(--text) !important; font-weight: 600; }
.summary__total dd { font-size: 1.15rem !important; font-weight: 800; }

.summary__split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border);
}
.summary__part {
  padding: 11px 12px; border-radius: var(--radius);
  background: var(--surface-2);
}
.summary__part span { display: block; font-size: .76rem; color: var(--text-dim); }
.summary__part strong { display: block; margin-top: 3px; font-size: 1.1rem; font-weight: 800; }
.summary__part--adv { background: rgba(91,198,63,.12); border: 1px solid rgba(91,198,63,.3); }
.summary__part--adv strong { color: var(--green); }
.summary__note { margin: 12px 0 0; font-size: .8rem; color: var(--text-dim); }

/* ---------------------------------------------------------------- order placed */

.success { max-width: 680px; margin: 0 auto; text-align: center; }
.success__badge {
  width: 64px; height: 64px; margin: 0 auto 16px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(91,198,63,.15); color: var(--green);
  border: 2px solid rgba(91,198,63,.45);
}
.success__title { font-size: 1.5rem; }
.success__sub { color: var(--text-muted); }
.success__no {
  display: inline-flex; align-items: center; gap: 11px; flex-wrap: wrap;
  justify-content: center;
  margin: 6px 0 20px; padding: 12px 18px;
  border: 1px dashed var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.success__no span { font-size: .82rem; color: var(--text-dim); }
.success__no strong { font-size: 1.25rem; letter-spacing: .04em; }
.success .panel { margin-top: 16px; }
.success__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.success__help { margin-top: 18px; font-size: .88rem; color: var(--text-dim); }
.success__help a { color: var(--text-muted); text-decoration: underline; }
@media (min-width: 700px) { .success__title { font-size: 1.9rem; } }

.nextlist { margin: 0; padding-left: 20px; }
.nextlist li { margin-bottom: 9px; color: var(--text-muted); font-size: .93rem; }
.nextlist li:last-child { margin-bottom: 0; }

.orderline {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--border-soft);
}
.orderline:last-of-type { border-bottom: 0; }
.orderline__name { margin: 0 0 4px; font-weight: 600; font-size: .93rem; }
.orderline__size {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 4px; font-size: .82rem; color: var(--amber); font-weight: 600;
}
.orderline p.dim { margin: 0; font-size: .82rem; }
.orderline > strong { white-space: nowrap; font-weight: 700; }

/* ---------------------------------------------------------------- tracking */

.trackwrap { max-width: 680px; margin: 0 auto; }
.trackform {
  display: grid; gap: 14px; align-items: end;
  padding: 20px 18px; margin-bottom: 22px;
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  background: var(--surface);
}
.trackform .field { margin-bottom: 0; }
@media (min-width: 640px) { .trackform { grid-template-columns: 1fr 1fr auto; } }

.trackresult__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; flex-wrap: wrap; margin-bottom: 18px;
}
.trackresult__head p { margin: 0; }
.trackresult__head .dim { font-size: .78rem; }
.trackresult__no { font-size: 1.2rem; font-weight: 700; letter-spacing: .04em; }

.statusbadge {
  padding: 6px 13px; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 700; white-space: nowrap;
  background: var(--surface-3); color: var(--text);
}
.status--pending-verification { background: rgba(255,194,14,.16); color: var(--amber); }
.status--confirmed,
.status--packing              { background: rgba(74,158,255,.16); color: var(--blue); }
.status--shipped              { background: rgba(74,158,255,.16); color: var(--blue); }
.status--delivered            { background: rgba(91,198,63,.16); color: var(--green); }
.status--returned,
.status--cancelled            { background: rgba(255,77,77,.16); color: var(--red); }

.steps-line { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 0; }
.steps-line li {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 0 0 20px 0;
}
.steps-line li:last-child { padding-bottom: 0; }
.steps-line li::before {
  content: ''; position: absolute; left: 11px; top: 24px; bottom: 0;
  width: 2px; background: var(--border);
}
.steps-line li:last-child::before { display: none; }
.steps-line li.is-done::before { background: var(--green); }
.steps-line__dot {
  position: relative; z-index: 1;
  width: 24px; height: 24px; flex: 0 0 auto;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--surface-2); border: 2px solid var(--border);
  color: #0b1a07;
}
.steps-line li.is-done .steps-line__dot { background: var(--green); border-color: var(--green); }
.steps-line li.is-current .steps-line__dot {
  background: var(--amber); border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(255,194,14,.18);
}
.steps-line__label { font-size: .92rem; color: var(--text-dim); }
.steps-line li.is-done .steps-line__label { color: var(--text-muted); }
.steps-line li.is-current .steps-line__label { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- footer */

.footer {
  margin-top: 8px;
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  padding: 40px 0 90px;   /* bottom room for the floating chat button */
  font-size: .9rem;
}
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }

.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--text); }
.footer__about p { color: var(--text-muted); max-width: 42ch; }
.footer__bottom {
  margin-top: 30px; padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim); font-size: .82rem;
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
}

/* ---------------------------------------------------------------- floating chat */

.chatdock {
  position: fixed; right: 14px; bottom: 14px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}

/* Logo only, nothing else: on a phone these sit over the page, so every
   pixel they take is a pixel of product the customer cannot see. */
.chat-fab {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  color: #fff;
  transition: transform .15s ease, filter .15s ease;
}
.chat-fab:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.chat-fab svg { flex: 0 0 auto; }

/* Each button wears its own app's colour, so it is recognised before it is
   read — the Messenger gradient and the WhatsApp green. */
.chat-fab--msg {
  background: linear-gradient(45deg, #0099ff 10%, #a033ff 55%, #ff5280 85%, #ff7061 100%);
  box-shadow: 0 6px 20px rgba(130,60,255,.42);
}
.chat-fab--wa {
  background: #25d366;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
}

@media (max-width: 559px) {
  .chat-fab { width: 44px; height: 44px; }
  .chatdock { gap: 9px; bottom: 12px; right: 12px; }
}

/* ---------------------------------------------------------------- breadcrumb */

.crumb { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 0; font-size: .82rem; color: var(--text-dim); }
.crumb a { color: var(--text-muted); }
.crumb a:hover { color: var(--text); }

/* ---------------------------------------------------------------- utility */

.muted { color: var(--text-muted); }
.dim   { color: var(--text-dim); }
.center { text-align: center; }
.mono  { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 16px; }

.empty {
  padding: 48px 20px; text-align: center;
  border: 1px dashed var(--border); border-radius: var(--radius-lg);
  color: var(--text-muted);
}

/* ---------------------------------------------------------------- phone first

   Most of the people who buy here arrive on a phone, so this block is not a
   set of patches — it is the size the site is really used at. Three things
   matter and they are all here: nothing may stick out sideways, everything
   that can be tapped must be big enough for a thumb, and no text may be too
   small to read at arm's length.                                             */

/* No `overflow-x: hidden` on html or body here, tempting as it is. It would
   turn the page into a scroll container and the sticky header would stop
   sticking on every screen. The overflow is fixed where it starts instead —
   see the min-width:0 rules in the checkout layout block. */

/* A long order number, transaction id or e-mail address must wrap rather
   than widen the page. */
.mono, .summary__name, .prose a, .footer a { overflow-wrap: anywhere; }

@media (max-width: 759px) {
  /* Footer links were 17px tall — under half a fingertip. Full-width rows
     with real padding are far easier to hit than tighter, prettier ones. */
  .footer ul { gap: 0; }
  .footer ul a { display: block; padding: 11px 0; }
  .footer__bottom { gap: 6px; }

  /* Same reasoning for the two language buttons in the top strip. */
  .langswitch a { padding: 7px 13px; font-size: .78rem; }

  /* Breadcrumbs sit between two tappable rows, so give them room. */
  .crumb { gap: 8px; }
  .crumb a { padding: 3px 0; }
}

@media (max-width: 400px) {
  /* On the narrowest phones still in use the two money boxes sat shoulder to
     shoulder and squeezed "Cash on delivery" onto three lines. Stacked, each
     one gets the full width and reads in a glance. */
  .summary__split { grid-template-columns: 1fr; }
  .bkashbox { padding: 14px; }
  .bkashbox__number .mono { font-size: 1.1rem; }
  .formblock { padding: 18px 14px; }
}

/* ---------------------------------------------------------------- packing slip

   slip.php, opened on a phone in Rajshahi while a parcel is being packed. It
   is read standing up, often in a hurry, so: one column, big photo, and the
   amount to collect larger than anything else on the page.                   */

.is-slip { background: var(--bg); }

.slip {
  max-width: 520px; margin: 0 auto; padding: 16px 16px 40px;
  display: grid; gap: 14px;
}

.slip__head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; padding: 4px 2px 2px;
}
.slip__label {
  margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-dim);
}
.slip__no { margin: 2px 0 0; font-size: 1.5rem; font-weight: 800; }
.slip__paid {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(91,198,63,.14); color: var(--green);
  font-size: .8rem; font-weight: 700;
}

.slipcard {
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden;
}
.slipcard--pad { padding: 18px 16px; }

/* The photo is why this page exists — it answers "which one do I pack?"
   before a single word is read. */
.slip__photo {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: var(--surface-2);
}
.slip__more {
  display: flex; gap: 7px; padding: 7px 7px 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.slip__more img {
  width: 62px; height: 62px; flex: 0 0 auto;
  border-radius: 8px; object-fit: cover; background: var(--surface-2);
}

.slip__body { padding: 14px 16px 18px; }
.slip__product { margin: 0; font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.slip__qty {
  margin: 6px 0 0; font-size: 1rem; font-weight: 700; color: var(--accent);
}
.slip__size {
  display: flex; align-items: center; gap: 7px;
  margin: 10px 0 0; padding: 9px 11px;
  border-radius: var(--radius);
  background: rgba(255,194,14,.12); color: var(--amber);
  font-size: .9rem; font-weight: 700;
}

.slip__h3 {
  margin: 0 0 12px; font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim);
}
.slip__name { margin: 0; font-size: 1.1rem; font-weight: 700; }
.slip__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin: 10px 0 0;
}
.slip__phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  font-family: var(--font-mono);
}
.slip__phone:hover { color: var(--accent-hover); }
.slip__address {
  margin: 12px 0 0; padding: 12px 14px;
  border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--border);
  font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere;
}
.slip__zone {
  display: flex; align-items: center; gap: 7px;
  margin: 10px 0 14px; font-size: .88rem; color: var(--text-muted);
}

/* The one number that must not be got wrong. */
.slip__cod {
  padding: 20px 16px; text-align: center;
  border-color: rgba(91,198,63,.4);
  background: linear-gradient(180deg, rgba(91,198,63,.13), rgba(91,198,63,.03)), var(--surface);
}
.slip__codlabel {
  margin: 0; font-size: .76rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--text-dim);
}
.slip__codamount {
  margin: 6px 0 0; font-size: 2.4rem; font-weight: 800; line-height: 1.1;
  color: var(--green);
}
.slip__codnote { margin: 8px 0 12px; font-size: .85rem; color: var(--text-muted); }

.slip__notetext { margin: 0; font-size: .95rem; line-height: 1.7; }
.slip__foot {
  margin: 4px 0 0; text-align: center;
  font-size: .8rem; color: var(--text-dim);
}
