/* =================================================================================================
   Dhaka — a bold Bangladeshi marketplace theme (decision 0090).
   Its own look, separate from every other theme and from the admin apps. Colors come from the
   theme settings (--accent, --header-bg, --footer-bg); everything else is derived here. Plain CSS,
   no web fonts (the phone's own Bangla font), motion only through CSS.
   ================================================================================================= */

:root {
  --accent: #be123c;
  --header-bg: #fff;
  --footer-bg: #18181b;

  /* Derived from the shop's accent. */
  --accent-ink: color-mix(in oklab, var(--accent) 82%, #000);
  --accent-soft: color-mix(in oklab, var(--accent) 8%, #fff);
  --accent-soft-2: color-mix(in oklab, var(--accent) 16%, #fff);
  --on-accent: #fff;

  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #69625c;
  --bg: #f6f4f1;
  --surface: #fff;
  --surface-2: #f1eeea;
  --line: #e9e5e0;
  --line-strong: #d6d0c9;
  --sale: #ffd43b;
  --sale-ink: #1c1917;
  --danger: #b42318;
  --success: #067647;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-1: 0 1px 2px rgb(28 25 23 / 0.05), 0 1px 3px rgb(28 25 23 / 0.04);
  --shadow-2: 0 18px 40px -18px rgb(28 25 23 / 0.28), 0 4px 12px -6px rgb(28 25 23 / 0.1);
  --shadow-3: 0 30px 70px -20px rgb(28 25 23 / 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page: 80rem;
  --gutter: clamp(0.875rem, 3vw, 1.5rem);
}

/* Readable text on the shop's own colors: white on dark, near-black on light. */
@supports (color: oklch(from red l c h)) {
  :root {
    --on-accent: oklch(from var(--accent) clamp(0.15, (0.72 - l) * 1000, 1) 0 0);
  }
}

/* ── Base ─────────────────────────────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Anything marked hidden stays hidden, whatever display a component sets. */
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 8rem;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Noto Sans Bengali',
    'Nirmala UI',
    'Hind Siliguri',
    sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang='bn'] body {
  font-family: 'Noto Sans Bengali', 'Nirmala UI', 'Hind Siliguri', system-ui, sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.chat-float svg {
  stroke: none;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
html[lang='bn'] :is(h1, h2, h3) {
  letter-spacing: 0;
  line-height: 1.35;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}
::selection {
  background: var(--accent-soft-2);
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

/* Page-to-page fades (View Transitions), the header stays put. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.22s;
  animation-timing-function: var(--ease);
}

/* ── Announcement & header ───────────────────────────────────────────────────────────────────── */

.announcement {
  background: linear-gradient(90deg, var(--accent-ink), var(--accent) 50%, var(--accent-ink));
  color: var(--on-accent);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.announcement p {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.5rem var(--gutter);
}
.site-header {
  --header-ink: var(--ink);
  position: relative;
  z-index: 30;
  background: var(--header-bg);
  color: var(--header-ink);
  border-bottom: 1px solid color-mix(in oklab, var(--header-ink) 9%, transparent);
  view-transition-name: site-header;
}
@supports (color: oklch(from red l c h)) {
  .site-header {
    --header-ink: oklch(from var(--header-bg) clamp(0.2, (0.6 - l) * 1000, 0.99) 0.01 60);
  }
}
.site-header.sticky {
  position: sticky;
  top: 0;
}
@supports (animation-timeline: scroll()) {
  .site-header.sticky {
    animation: header-lift linear both;
    animation-timeline: scroll();
    animation-range: 0 6rem;
  }
  @keyframes header-lift {
    to {
      box-shadow: 0 10px 30px -18px rgb(28 25 23 / 0.35);
    }
  }
}
.header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.5rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.75rem var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}
.brand img {
  display: block;
  max-height: 44px;
  width: auto;
}
.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-ink));
  color: var(--on-accent);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 6px 14px -6px color-mix(in oklab, var(--accent) 70%, transparent);
}

/* Search: the biggest thing in the header. */
.search {
  position: relative;
  flex: 1;
  max-width: 44rem;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 1rem;
  color: var(--muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  height: 2.9rem;
  padding: 0 7rem 0 2.9rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.95rem;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.search input::placeholder {
  color: var(--muted);
}
.search input:hover {
  border-color: var(--line-strong);
}
.search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft-2);
}
.search input::-webkit-search-cancel-button {
  display: none;
}
.search-go {
  position: absolute;
  right: 0.3rem;
  height: 2.3rem;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s var(--ease);
}
.search-go:hover {
  background: var(--accent-ink);
}
.search-suggest {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  animation: pop-in 0.18s var(--ease);
}
.search-suggest a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-s);
  color: inherit;
  text-decoration: none;
}
.search-suggest a:hover,
.search-suggest a:focus,
.search-suggest [aria-selected='true'] a {
  background: var(--accent-soft);
}
.search-suggest .note {
  color: var(--accent-ink);
  font-weight: 700;
  white-space: nowrap;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.icon-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  min-width: 3.25rem;
  padding: 0.35rem 0.5rem;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  transition: background 0.2s var(--ease);
}
.icon-link:hover {
  background: color-mix(in oklab, var(--header-ink) 7%, transparent);
}
.icon-link svg {
  transition: transform 0.25s var(--ease);
}
.icon-link:hover svg {
  transform: translateY(-1px) scale(1.06);
}
.icon-link .count {
  position: absolute;
  top: 0.05rem;
  right: 0.35rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 0 0 2px var(--header-bg);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25rem;
  text-align: center;
  animation: pop-in 0.3s var(--ease);
}
.icon-link .count[hidden] {
  display: none;
}
.lang {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  padding: 0 0.75rem;
  margin-right: 0.25rem;
  border: 1.5px solid color-mix(in oklab, var(--header-ink) 18%, transparent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s var(--ease);
}
.lang:hover {
  border-color: var(--accent);
}

/* Menu button (phones and tablets) and the shadow once the page scrolls (shop.js is-scrolled). */
.menu-button {
  display: none;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-left: -0.35rem;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  transition: background 0.2s var(--ease);
}
.menu-button:hover {
  background: color-mix(in oklab, var(--header-ink) 7%, transparent);
}
@media (max-width: 959px) {
  .menu-button {
    display: grid;
  }
}
.site-header {
  transition: box-shadow 0.3s var(--ease);
}
/* Phones: wishlist, account and language live in the menu, so the shop name has room. */
@media (max-width: 639px) {
  .header-icons .lang,
  .header-icons .icon-link:not(.cart-button) {
    display: none;
  }
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgb(28 25 23 / 0.35);
}

/* Menu: a row of chips. */
.site-nav {
  border-top: 1px solid color-mix(in oklab, var(--header-ink) 7%, transparent);
}
.site-nav > ul {
  display: flex;
  gap: 0.35rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.5rem var(--gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav > ul::-webkit-scrollbar {
  display: none;
}
.site-nav li {
  position: relative;
  flex-shrink: 0;
}
.site-nav a {
  display: block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.site-nav > ul > li > a:hover {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.site-nav li ul {
  display: none;
}
.site-nav li:hover > ul,
.site-nav li:focus-within > ul {
  display: grid;
  position: fixed;
  z-index: 50;
  min-width: 13rem;
  margin: 0.25rem 0 0;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  animation: pop-in 0.18s var(--ease);
}
.site-nav li ul a {
  border-radius: var(--radius-s);
}
.site-nav li ul a:hover {
  background: var(--accent-soft);
}

@media (max-width: 767px) {
  .header-row {
    flex-wrap: wrap;
    padding-block: 0.6rem 0.7rem;
  }
  .brand {
    font-size: 1.15rem;
    flex: 1;
  }
  .brand-mark {
    width: 2rem;
    height: 2rem;
  }
  .search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .search input {
    height: 2.75rem;
    padding-right: 1rem;
  }
  .search-go {
    display: none;
  }
  .icon-link {
    min-width: 2.6rem;
    padding: 0.45rem;
  }
  .icon-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .icon-link .count {
    top: 0;
    right: 0;
  }
  .header-icons {
    gap: 0;
  }
  .lang {
    height: 1.85rem;
    padding: 0 0.6rem;
    font-size: 0.75rem;
  }
}

/* ── Page frame & shared blocks ──────────────────────────────────────────────────────────────── */

main {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1rem var(--gutter) 3rem;
}
main > .section + .section {
  margin-top: clamp(1.5rem, 4vw, 2.75rem);
}
.section-title,
.product-grid > h2,
.rich-text-section > h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
}
.section-title::before {
  content: '';
  width: 0.35rem;
  height: 1.3em;
  border-radius: 999px;
  background: linear-gradient(var(--accent), var(--accent-ink));
}
.page-head {
  margin: 0.75rem 0 1.5rem;
}
.page-head h1,
.cart-page > h1,
.checkout-page > h1,
.account-page > h1,
.wishlist-page > h1,
.page > h1 {
  margin: 0.5rem 0 1.25rem;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 800;
}
.page-head .rich-text {
  max-width: 48rem;
  color: var(--muted);
}
.query {
  color: var(--accent-ink);
}
.empty {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 3.5rem 1rem;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-l);
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}
.empty::before {
  content: '';
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 18px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2369625c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 13H5L6 7Z'/%3E%3Cpath d='M9 10V6a3 3 0 0 1 6 0v4'/%3E%3C/svg%3E")
      center / 1.6rem no-repeat,
    var(--surface-2);
}
.more {
  display: block;
  width: fit-content;
  margin: 2rem auto 0;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.more:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
.rich-text {
  max-width: 52rem;
}
.rich-text a,
.page-body a,
.description a {
  color: var(--accent-ink);
  text-underline-offset: 3px;
}
.description img {
  margin: 1rem 0;
  border-radius: var(--radius-s);
}

/* A category's banner and toolbar. */
.collection-banner {
  position: relative;
  overflow: hidden;
  margin: 0 0 1.25rem;
  padding: clamp(1.25rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radius-l);
  background:
    radial-gradient(
      40rem 16rem at 100% 0%,
      color-mix(in oklab, var(--accent) 22%, transparent),
      transparent 70%
    ),
    linear-gradient(120deg, var(--accent-soft), var(--surface));
  box-shadow: var(--shadow-1);
}
.collection-banner::after {
  content: '';
  position: absolute;
  right: -2.5rem;
  bottom: -3.5rem;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  border: 1.5rem solid color-mix(in oklab, var(--accent) 12%, transparent);
  pointer-events: none;
}
.collection-banner h1 {
  margin: 0 !important;
}
.collection-banner .rich-text {
  position: relative;
  margin-top: 0.5rem;
}
.collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.collection-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.sort-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}
main .sort-picker select {
  width: auto;
  min-height: 2.6rem;
  margin: 0;
  padding: 0 2.4rem 0 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1917' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
      right 0.85rem center / 1rem no-repeat,
    var(--surface);
  color: var(--ink);
  font-weight: 700;
  appearance: none;
}
.more {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Hero slider ─────────────────────────────────────────────────────────────────────────────── */

.image-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: var(--radius-l);
}
.image-slider::-webkit-scrollbar {
  display: none;
}
.image-slider .slide {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--surface-2);
  scroll-snap-align: start;
}
.image-slider .slide > a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.image-slider img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.image-slider .slide:hover img {
  transform: scale(1.02);
}
.image-slider figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.35rem;
  justify-items: start;
  padding: clamp(1rem, 4vw, 2.75rem);
  padding-top: 4rem;
  background: linear-gradient(to top, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.25) 55%, transparent);
  color: #fff;
}
.image-slider figcaption strong {
  max-width: 34rem;
  font-size: clamp(1.4rem, 4.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgb(0 0 0 / 0.25);
}
.image-slider figcaption span {
  max-width: 30rem;
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  opacity: 0.92;
}
.image-slider .slide-cta {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: 0.6rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  transition: transform 0.25s var(--ease);
}
.image-slider .slide:hover .slide-cta {
  transform: translateX(4px);
}
@media (max-width: 640px) {
  .image-slider,
  .image-slider .slide {
    border-radius: 18px;
  }
  .image-slider img {
    aspect-ratio: 16 / 10;
  }
  .image-slider .slide:has(source) img {
    aspect-ratio: 1 / 1;
  }
}
/* Dots in browsers with CSS carousels. */
@supports selector(::scroll-marker) {
  .image-slider.has-many {
    scroll-marker-group: after;
  }
  .image-slider::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    padding-top: 0.85rem;
  }
  .image-slider .slide::scroll-marker {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--line-strong);
    transition:
      width 0.3s var(--ease),
      background 0.3s var(--ease);
  }
  .image-slider .slide::scroll-marker:target-current {
    width: 1.6rem;
    background: var(--accent);
  }
}

/* ── Category tiles ──────────────────────────────────────────────────────────────────────────── */

.category-icons ul {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 6.25rem;
  gap: 0.6rem;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0.25rem var(--gutter) 0.75rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.category-icons ul::-webkit-scrollbar {
  display: none;
}
.category-icons li {
  scroll-snap-align: start;
}
.category-icons a {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  height: 100%;
  padding: 0.75rem 0.4rem 0.7rem;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.category-icons a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.category-icons .icon {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--accent-soft), var(--accent-soft-2));
  color: var(--accent-ink);
  font-size: 1.6rem;
  font-weight: 800;
}
.category-icons img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.category-icons a:hover img {
  transform: scale(1.08);
}
.category-icons .name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ── Product grid & cards ────────────────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (min-width: 960px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .product-grid .grid,
  .collection .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
/* A row that swipes sideways on phones (related products). */
@media (max-width: 959px) {
  .grid.row-scroll {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(10.5rem, 44%);
    margin: 0 calc(var(--gutter) * -1);
    padding: 0.25rem var(--gutter) 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .grid.row-scroll::-webkit-scrollbar {
    display: none;
  }
  .grid.row-scroll > .card {
    scroll-snap-align: start;
  }
}
@media (min-width: 960px) {
  .grid.row-scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid.row-scroll > .card:nth-child(n + 9) {
    display: none;
  }
}
@media (min-width: 1200px) {
  .grid.row-scroll {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .grid.row-scroll > .card:nth-child(n + 6) {
    display: none;
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  color: inherit;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.card-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  border-radius: inherit;
  color: inherit;
  text-decoration: none;
}
.card-link:active {
  transform: scale(0.99);
}
.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface-2);
}
.card-media img,
.card .no-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition:
    transform 0.6s var(--ease),
    opacity 0.45s var(--ease);
}
.card-img-alt {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
}
@media (hover: hover) {
  .card:hover .card-media img {
    transform: scale(1.05);
  }
  .card.has-swap:hover .card-img-alt {
    opacity: 1;
  }
}
.no-image {
  display: block;
  aspect-ratio: 1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5aca3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E")
      center / 2.5rem no-repeat,
    var(--surface-2);
}
.card-tags {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  pointer-events: none;
}
.sale-tag,
.new-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}
.sale-tag {
  background: var(--sale);
  color: var(--sale-ink);
}
.sale-tag[hidden] {
  display: none;
}
.new-tag {
  background: var(--accent);
  color: var(--on-accent);
}
.card-tags > * {
  box-shadow: 0 4px 10px -4px rgb(0 0 0 / 0.3);
}
.card .badge {
  position: absolute;
  inset: auto 0.6rem 0.6rem;
  text-align: center;
  background: rgb(28 25 23 / 0.82);
  color: #fff;
  backdrop-filter: blur(4px);
}
.card.is-sold-out .card-media img {
  filter: grayscale(0.7);
  opacity: 0.7;
}
.card-body {
  display: grid;
  gap: 0.3rem;
  padding: 0.7rem 0.8rem 0.85rem;
}
.card .title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.6em;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.price {
  margin: 0;
  font-weight: 800;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}
.card .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.4rem;
  padding-right: 2.6rem;
  font-size: 1.05rem;
}
.price s {
  color: var(--muted);
  font-size: 0.8em;
  font-weight: 500;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.75rem;
  font-weight: 700;
}
.card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.stars {
  color: #f59e0b;
  letter-spacing: 0.06em;
}

/* The heart on a card. */
.card-wish {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.9);
  color: var(--ink);
  box-shadow: 0 4px 12px -6px rgb(28 25 23 / 0.45);
  backdrop-filter: blur(6px);
  transition:
    transform 0.2s var(--ease),
    color 0.2s var(--ease);
}
.card-wish:hover {
  color: var(--accent);
  transform: scale(1.08);
}
.card-wish[aria-pressed='true'] {
  color: var(--accent);
  animation: heart-pop 0.35s var(--ease);
}
.card-wish[aria-pressed='true'] svg,
.pill-button[data-wishlist-toggle][aria-pressed='true'] svg {
  fill: currentColor;
}

/* Quick add: a round "+" on the price row that grows into "Add" on hover. */
.quick-add {
  position: absolute;
  right: 0.6rem;
  bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  height: 2.25rem;
  min-width: 2.25rem;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 16px -8px color-mix(in oklab, var(--accent) 85%, transparent);
  transition:
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.quick-add.is-options {
  background: var(--surface-2);
  color: var(--ink);
  box-shadow: none;
}
.quick-add-text {
  display: none;
}
@media (hover: hover) and (min-width: 640px) {
  .card:hover .quick-add,
  .quick-add:focus-visible {
    padding: 0 0.85rem 0 0.6rem;
  }
  .card:hover .quick-add-text,
  .quick-add:focus-visible .quick-add-text {
    display: inline;
  }
}
.quick-add:hover {
  background: var(--accent-ink);
  color: var(--on-accent);
}
.quick-add:active {
  transform: scale(0.92);
}
.quick-add.is-loading svg {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Category block: a white panel with its own heading. */
.category-block {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.category-block .card {
  box-shadow: none;
  border: 1px solid var(--line);
}
.category-block .card:hover {
  border-color: transparent;
}
.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.block-head h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 800;
}
.block-head h2::before {
  content: '';
  width: 0.35rem;
  height: 1.3em;
  border-radius: 999px;
  background: linear-gradient(var(--accent), var(--accent-ink));
}
.view-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease);
}
.view-more:hover {
  background: var(--accent-soft-2);
}
.view-more svg {
  transition: transform 0.25s var(--ease);
}
.view-more:hover svg {
  transform: translateX(3px);
}
@media (min-width: 768px) {
  .category-block .grid {
    grid-template-columns: repeat(var(--per-row, 5), minmax(0, 1fr));
  }
}

/* Image banners */
.image-banners {
  display: grid;
  gap: 0.75rem;
}
.image-banners .banner {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--surface-2);
}
.image-banners img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.image-banners a.banner:hover img {
  transform: scale(1.04);
}
@media (min-width: 768px) {
  .image-banners {
    gap: 1rem;
  }
  .image-banners.count-1 img {
    aspect-ratio: 16 / 5;
  }
  .image-banners.count-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .image-banners.count-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Trust badges: clean icon tiles. */
.trust-badges {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.trust-badges .badge {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  font-size: 1rem;
  font-weight: 400;
}
.badge-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 1.4rem;
}
.badge-copy {
  display: grid;
  line-height: 1.35;
}
.badge-copy strong {
  font-size: 0.95rem;
}
.badge-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}
@media (max-width: 640px) {
  .trust-badges {
    grid-template-columns: 1fr;
  }
}

/* ── Product page ────────────────────────────────────────────────────────────────────────────── */

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin: 0.25rem 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.breadcrumb li + li::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}
.breadcrumb a {
  text-decoration: none;
  font-weight: 600;
}
.breadcrumb a:hover {
  color: var(--accent-ink);
}
.breadcrumb [aria-current] {
  overflow: hidden;
  max-width: 22ch;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-2);
}

.product {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 960px) {
  .product {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

/* Gallery: one big picture that swipes, thumbnails under it, and a full-screen view. */
.gallery {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}
@media (min-width: 960px) {
  .gallery {
    position: sticky;
    top: 8.5rem;
  }
}
.gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
}
.gallery-slide img,
.gallery-stage .no-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: zoom-in;
}
.gallery-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.85rem;
  box-shadow: 0 6px 14px -6px rgb(0 0 0 / 0.35);
}
.gallery-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  opacity: 0;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.gallery-nav.prev {
  left: 0.85rem;
}
.gallery-nav.next {
  right: 0.85rem;
}
.gallery-stage:hover .gallery-nav,
.gallery-nav:focus-visible {
  opacity: 1;
}
.gallery-nav:hover {
  transform: scale(1.08);
}
@media (hover: none) {
  .gallery-nav {
    display: none;
  }
}
.gallery-count,
.gallery-zoom-hint {
  position: absolute;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgb(28 25 23 / 0.7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.gallery-count {
  right: 0.85rem;
}
.gallery-zoom-hint {
  left: 0.85rem;
}
.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.15rem;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar {
  display: none;
}
.gallery-thumb {
  flex: 0 0 4.75rem;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  background: var(--surface);
  opacity: 0.65;
  transition:
    opacity 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.gallery-thumb:hover {
  opacity: 1;
}
.gallery-thumb[aria-current='true'] {
  border-color: var(--accent);
  opacity: 1;
}
@media (max-width: 959px) {
  .gallery-stage {
    margin: 0 calc(var(--gutter) * -1);
    border-radius: 0;
    box-shadow: none;
  }
  .gallery-thumbs {
    display: none;
  }
}

/* Full-screen pictures. */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(12 10 9 / 0.96);
  color: #fff;
}
.lightbox[open] {
  animation: fade 0.25s var(--ease);
}
.lightbox::backdrop {
  background: rgb(12 10 9 / 0.9);
}
.lightbox-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.lightbox-track::-webkit-scrollbar {
  display: none;
}
.lightbox-slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 3.5rem 1rem;
  scroll-snap-align: center;
}
.lightbox-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  transition: background 0.2s var(--ease);
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgb(255 255 255 / 0.24);
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
}
.lightbox-nav {
  top: 50%;
  margin-top: -1.5rem;
}
.lightbox-nav.prev {
  left: 1rem;
}
.lightbox-nav.next {
  right: 1rem;
}
@media (hover: none) {
  .lightbox-nav {
    display: none;
  }
}

/* The buying panel. */
.details {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.brand-line {
  margin: 0 0 -0.6rem;
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.details h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
}
.rating-link {
  width: fit-content;
  margin-top: -0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}
.price-box {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(
    120deg,
    var(--accent-soft),
    color-mix(in oklab, var(--accent) 3%, #fff)
  );
}
.price-box .price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  font-size: clamp(1.7rem, 3.5vw, 2.1rem);
  letter-spacing: -0.02em;
}
.price-box .price s {
  font-size: 0.5em;
  letter-spacing: 0;
}
.price-box .price s[hidden] {
  display: none;
}
.price-box .sale-tag {
  font-size: 0.8rem;
  letter-spacing: 0;
}
.price-range {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.stock-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  margin: 0.15rem 0 0;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #fff4e5;
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 800;
}
.stock-note::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: currentColor;
  animation: pulse 1.6s var(--ease) infinite;
}
.stock-note.is-out {
  background: var(--surface-2);
  color: var(--muted);
}
.stock-note.is-out::before {
  animation: none;
}
.stock-note[hidden] {
  display: none;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

/* Size / colour chips. */
.option {
  display: grid;
  gap: 0.55rem;
}
.option-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.option-label strong {
  color: var(--ink);
}
.option-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  position: relative;
  min-width: 3.25rem;
  min-height: 2.75rem;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  font-weight: 700;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.15s var(--ease);
}
.chip:hover {
  border-color: var(--ink);
}
.chip:active {
  transform: scale(0.95);
}
.chip[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.chip.is-unavailable {
  color: var(--muted);
  background:
    linear-gradient(
      to top right,
      transparent calc(50% - 0.75px),
      var(--line-strong) calc(50% - 0.75px),
      var(--line-strong) calc(50% + 0.75px),
      transparent calc(50% + 0.75px)
    ),
    var(--surface-2);
}
.variant-picker {
  margin: 0;
}

/* Quantity and add to cart. */
.buy-row {
  display: flex;
  gap: 0.75rem;
}
.qty,
.qty-stepper {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}
.qty button,
.qty-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 3.1rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  transition: background 0.2s var(--ease);
}
.qty button:hover,
.qty-btn:hover {
  background: var(--surface-2);
}
/* Beats the generic form-field look (main input:not(…)). */
main :is(.qty, .qty-stepper) input:not([type='radio']),
main :is(.qty, .qty-stepper) input:not([type='radio']):hover,
main :is(.qty, .qty-stepper) input:not([type='radio']):focus {
  width: 2.5rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
  box-shadow: none;
  outline: none;
}
.qty input::-webkit-inner-spin-button,
.qty input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button,
.qty-stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
main :is(.qty, .qty-stepper):focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft-2);
}
.buy,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px -12px color-mix(in oklab, var(--accent) 85%, transparent);
  transition:
    background 0.2s var(--ease),
    transform 0.15s var(--ease),
    box-shadow 0.2s var(--ease),
    opacity 0.2s var(--ease);
}
.buy {
  flex: 1;
  width: 100%;
}
.buy:hover,
.button:hover {
  background: var(--accent-ink);
  box-shadow: 0 14px 26px -12px color-mix(in oklab, var(--accent) 90%, transparent);
}
.buy:active,
.button:active {
  transform: scale(0.98);
}
.buy:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}
.buy[data-add-to-cart]:disabled svg {
  animation: bag-bounce 0.6s var(--ease) infinite;
}
@keyframes bag-bounce {
  50% {
    transform: translateY(-3px);
  }
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}
.button.secondary:hover {
  background: transparent;
  border-color: var(--ink);
}
.sold-out-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.9rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 800;
}

/* A phone keeps price and "Add to cart" at the bottom of the screen. */
.sticky-buy {
  display: none;
}
@media (max-width: 959px) {
  .sticky-buy {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 0.94);
    backdrop-filter: blur(14px);
    box-shadow: 0 -10px 30px -18px rgb(28 25 23 / 0.45);
    animation: rise 0.35s var(--ease);
  }
  .sticky-buy-info {
    display: grid;
    min-width: 0;
  }
  .sticky-buy-title {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .sticky-buy-price {
    color: var(--accent-ink);
    font-size: 1.15rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }
  .sticky-buy .buy {
    flex: 0 0 auto;
    width: auto;
    min-height: 3rem;
    margin-left: auto;
    padding-inline: 1.6rem;
  }
  body:has(.sticky-buy) {
    padding-bottom: 5.25rem;
  }
  body:has(.sticky-buy) :is(.chat-float, .back-to-top) {
    bottom: 6rem;
  }
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 700;
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.pill-button:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
.pill-button:active {
  transform: scale(0.95);
}
.pill-button[aria-pressed='true'] {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--accent-soft);
  animation: heart-pop 0.35s var(--ease);
}
@keyframes heart-pop {
  40% {
    transform: scale(1.1);
  }
}

.service-tiles {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-tiles li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.service-tiles svg {
  flex-shrink: 0;
  padding: 0.45rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.service-tiles span {
  display: grid;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.service-tiles strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.product-fields {
  display: grid;
  gap: 0.25rem;
}
.description-box {
  border-top: 1px solid var(--line);
}
.description-box summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 0.5rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.description-box summary::-webkit-details-marker {
  display: none;
}
.description-box summary svg {
  transition: transform 0.25s var(--ease);
}
.description-box[open] summary svg {
  transform: rotate(180deg);
}
.description {
  color: var(--ink-2);
}
.description > :first-child {
  margin-top: 0;
}
.note.preorder {
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-s);
  background: #fff7e6;
  color: #8a4b00;
  font-weight: 600;
}

/* Related and recently viewed rows. */
.product-row {
  margin-top: clamp(2rem, 5vw, 3.25rem);
}
.product-row[hidden] {
  display: none;
}
.recent-list {
  display: flex;
  gap: 0.75rem;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0.25rem var(--gutter) 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.recent-list::-webkit-scrollbar {
  display: none;
}
.recent-item {
  flex: 0 0 9.5rem;
  scroll-snap-align: start;
}
@media (min-width: 960px) {
  .recent-list {
    margin: 0;
    padding-inline: 0;
  }
  .recent-item {
    flex-basis: 11rem;
  }
}
.recent-card {
  display: grid;
  gap: 0.35rem;
  height: 100%;
  padding: 0.5rem 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.recent-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.recent-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--surface-2);
}
.recent-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recent-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding-inline: 0.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}
.recent-price {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.35rem;
  padding-inline: 0.15rem;
  color: var(--accent-ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.recent-price s {
  color: var(--muted);
  font-size: 0.8em;
  font-weight: 500;
}

/* WhatsApp & Messenger order button (plugin whatsapp-order-button, decision 0052). */
.chat-order {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chat-order a {
  flex: 1 1 12rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: filter 0.2s var(--ease);
}
.chat-order a:hover {
  filter: brightness(1.08);
}
.chat-order-whatsapp {
  background: #128c7e;
}
.chat-order-messenger {
  background: #0866ff;
}
.chat-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgb(0 0 0 / 0.4);
  transition: transform 0.25s var(--ease);
}
.chat-float:hover {
  transform: scale(1.07);
}

/* Product reviews (plugin product-reviews, decision 0053). */
.reviews {
  max-width: 52rem;
  margin: 2.5rem 0 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.reviews h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
}
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}
.reviews-summary strong {
  font-size: 1.6rem;
}
.reviews-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.reviews-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.reviews-list p {
  margin: 0.25rem 0;
}
.review-photos {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.review-photos img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-s);
}
.verified {
  color: var(--success);
  font-weight: 700;
}
.review-form {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.review-form[hidden] {
  display: none;
}
.rating-input {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
}
.rating-input legend {
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.rating-input label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 700;
}
.rating-input label:has(:checked) {
  border-color: #f59e0b;
  background: #fff7e6;
}

/* ── Forms (checkout, account, contact…) ─────────────────────────────────────────────────────── */

main label,
dialog :where(.quick-body) label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-2);
}
main input:not([type='radio'], [type='checkbox'], [type='file'], [type='search']),
main select,
main textarea,
dialog
  :where(.quick-body)
  input:not([type='radio'], [type='checkbox'], [type='file'], [type='search']),
dialog :where(.quick-body) select,
dialog :where(.quick-body) textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin-top: 0.35rem;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
main textarea,
dialog :where(.quick-body) textarea {
  min-height: 5rem;
  resize: vertical;
}
main select,
dialog :where(.quick-body) select {
  appearance: none;
  padding-right: 2.5rem;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2369625c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 0.85rem center / 1.1rem;
}
main input:not([type='radio'], [type='checkbox'], [type='file']):hover,
main select:hover,
main textarea:hover,
dialog :where(.quick-body) input:not([type='radio'], [type='checkbox'], [type='file']):hover,
dialog :where(.quick-body) select:hover,
dialog :where(.quick-body) textarea:hover {
  border-color: color-mix(in oklab, var(--line-strong) 60%, var(--ink));
}
main input:not([type='radio'], [type='checkbox'], [type='file']):focus,
main select:focus,
main textarea:focus,
dialog :where(.quick-body) input:not([type='radio'], [type='checkbox'], [type='file']):focus,
dialog :where(.quick-body) select:focus,
dialog :where(.quick-body) textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft-2);
}
main input[aria-invalid='true'],
main input:user-invalid,
main textarea:user-invalid,
dialog :where(.quick-body) input:user-invalid,
dialog :where(.quick-body) textarea:user-invalid {
  border-color: var(--danger);
}
input[type='radio'],
input[type='checkbox'] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--accent);
  flex-shrink: 0;
}
fieldset {
  min-width: 0;
}
.note {
  color: var(--muted);
  font-size: 0.9rem;
}
.problem {
  color: var(--danger);
  font-weight: 600;
}
.ok {
  color: var(--success);
  font-weight: 700;
}
.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link.danger {
  color: var(--danger);
}
.terms {
  display: flex !important;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500 !important;
}
.terms input {
  margin-top: 0.2rem;
}
.rate {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem !important;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--ink) !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.rate:hover {
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line-strong));
}
.rate:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.choices {
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
}
.choices legend {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.line-fields {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Cart, wishlist, checkout ────────────────────────────────────────────────────────────────── */

.cart-page,
.wishlist-page {
  max-width: 72rem;
  margin: 0 auto;
}
.cart-lines {
  margin: 0 0 1rem;
  padding: 0.25rem 1.25rem;
  list-style: none;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.cart-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  animation: fade-up 0.3s var(--ease) both;
}
.cart-line:last-child {
  border-bottom: 0;
}
.cart-line > div:first-child,
.cart-line > a:first-child {
  flex: 1 1 14rem;
  font-weight: 700;
}
.cart-line a {
  text-decoration: none;
}
.cart-line a:hover {
  color: var(--accent-ink);
}
.cart-line small {
  color: var(--muted);
  font-weight: 500;
}
.cart-line strong {
  font-variant-numeric: tabular-nums;
}
.cart-line-controls {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
main .cart-line-controls input {
  width: 4.75rem;
  min-height: 2.5rem;
  margin: 0;
  text-align: center;
  border-radius: 999px;
}
.coupon {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
}
main .coupon input {
  margin: 0;
  border-radius: 999px;
}
.coupon button {
  flex-shrink: 0;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.coupon button:hover {
  background: var(--ink-2);
}
.totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem 0;
  margin: 0 0 0.75rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.totals dt {
  color: var(--muted);
}
.totals dd {
  margin: 0;
  padding-left: 1rem;
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.totals dt:last-of-type:not(:first-of-type),
.totals dd:last-of-type:not(:first-of-type) {
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line-strong);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
}
.totals dd:last-of-type {
  font-weight: 800;
  color: var(--accent-ink);
}
.cart-page [data-cart] > .button,
.drawer-actions .button {
  width: 100%;
}
@media (min-width: 900px) {
  .cart-page [data-cart]:has(> .cart-lines) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 23rem;
    grid-template-rows: repeat(5, auto) 1fr;
    column-gap: 1.75rem;
    align-items: start;
  }
  .cart-page [data-cart] > .cart-lines {
    grid-column: 1;
    grid-row: 1 / span 6;
  }
  .cart-page [data-cart]:has(> .cart-lines) > :not(.cart-lines) {
    grid-column: 2;
  }
}
.cart-page [data-cart] > .note:not(:only-child) {
  margin: 0 0 1rem;
  text-align: center;
}
.cart-page [data-cart] > p:first-child:not(.note) {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Waiting for the cart / account: a soft shimmering placeholder instead of a line of text. */
[data-cart] > .note:only-child,
[data-account] > .note:only-child,
[data-wishlist-page] > .note:only-child,
[data-drawer-body]:empty {
  min-height: 9rem;
  margin: 0;
  border-radius: var(--radius-l);
  color: transparent;
  background:
    linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 0.7) 50%, transparent 70%) 0 0 / 200%
      100%,
    linear-gradient(var(--surface-2) 0 0) 1.25rem 1.5rem / 55% 0.9rem no-repeat,
    linear-gradient(var(--surface-2) 0 0) 1.25rem 3.25rem / 35% 0.9rem no-repeat,
    linear-gradient(var(--surface-2) 0 0) 1.25rem 5rem / 70% 0.9rem no-repeat,
    var(--surface);
  background-repeat: no-repeat;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
  from {
    background-position:
      150% 0,
      1.25rem 1.5rem,
      1.25rem 3.25rem,
      1.25rem 5rem;
  }
  to {
    background-position:
      -50% 0,
      1.25rem 1.5rem,
      1.25rem 3.25rem,
      1.25rem 5rem;
  }
}

.checkout-page {
  max-width: 72rem;
  margin: 0 auto;
}
.checkout-page form {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 900px) {
  .checkout-page form {
    grid-template-columns: minmax(0, 1fr) 24rem;
    gap: 1.75rem;
  }
  .checkout-side {
    position: sticky;
    top: 7rem;
  }
}
.checkout-steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.checkout-steps fieldset {
  margin: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 0;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  counter-increment: step;
}
.checkout-steps fieldset[hidden] {
  display: none;
}
/* The legend shows as a numbered heading inside the card. */
.checkout-steps legend {
  float: left;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 800;
}
.checkout-steps legend::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.9rem;
  font-weight: 800;
}
.checkout-steps fieldset > * {
  clear: both;
}
.locations {
  display: grid;
  gap: 0 0.75rem;
}
@media (min-width: 640px) {
  .locations {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }
}
.locations select {
  margin-bottom: 0.9rem;
}
.checkout-side {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.checkout-side .totals {
  margin: 0;
  padding: 0;
  box-shadow: none;
}
.checkout-side [data-summary]:empty,
.checkout-side [data-terms]:empty {
  display: none;
}
.checkout-side [data-error] {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: #fef3f2;
}
.checkout-side [data-error][hidden] {
  display: none;
}
.item-questions {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.placed {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  animation: fade-up 0.4s var(--ease) both;
}
.placed::before {
  content: '';
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23067647' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E")
      center / 1.75rem no-repeat,
    #dcfae6;
  animation: pop-in 0.45s var(--ease) 0.1s both;
}
.placed h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
}
.placed h3 {
  margin: 1rem 0 0.25rem;
}
.placed p {
  margin: 0;
}
.manual-payment,
.accounts {
  width: 100%;
}
.accounts {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}
.accounts li,
.pay-accounts li {
  padding: 0.75rem 1rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
}

/* ── Account, tracking, payment links, pages ─────────────────────────────────────────────────── */

.account-page {
  max-width: 38rem;
  margin: 0 auto;
}
.account-page > [data-account],
.account-page > [data-track-result]:not(:empty),
.account-page > .track-form,
.pay-page > [data-pay-summary]:not(:empty),
.pay-page > [data-pay-how],
.wishlist-page > [data-wishlist-page] {
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.account-page > [data-track-result]:not(:empty) {
  margin-top: 1rem;
  animation: fade-up 0.3s var(--ease) both;
}
.pay-page > [data-pay-how][hidden] {
  display: none;
}
.wishlist-page > [data-wishlist-page] .cart-lines {
  margin: 0;
  padding: 0;
  box-shadow: none;
}
.account-form,
.track-form,
.account-details,
.address-form {
  display: grid;
}
.account-form .buy,
.track-form .buy,
.address-form .buy,
.account-details .buy,
.manual-payment .buy {
  margin-top: 0.25rem;
}
.account-form .captcha:not(:empty) {
  margin-top: 0.75rem;
}
[data-account] h2,
.address-book h2,
.account-privacy h2 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
}
[data-account] > :first-child,
[data-account] > :first-child h2 {
  margin-top: 0;
}
.address-book {
  margin: 1.5rem 0;
}
.address-book .cart-lines {
  padding: 0 1rem;
  background: var(--bg);
  box-shadow: none;
}
.account-privacy {
  display: grid;
  justify-items: start;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.timeline {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  position: relative;
  padding: 0 0 1rem 1.75rem;
  color: var(--ink-2);
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft-2);
}
.timeline li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 1.35rem;
  bottom: 0.1rem;
  width: 2px;
  background: var(--line-strong);
}
.pay-online {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}
.pay-accounts {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.page {
  max-width: 50rem;
  margin: 0 auto;
}
.page-body {
  padding: clamp(1.1rem, 3vw, 2rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.page-body[hidden] {
  display: none;
}
.page-body > :first-child {
  margin-top: 0;
}
.page-body img {
  border-radius: var(--radius);
}
.page-body table {
  border-collapse: collapse;
  width: 100%;
}
.page-body td,
.page-body th {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
}
.page-unlock,
.contact-form {
  display: grid;
  max-width: 34rem;
  margin-top: 1.25rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.page-unlock[hidden],
.contact-form[hidden] {
  display: none;
}
.contact-form fieldset {
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
}
.contact-form fieldset legend {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.contact-form fieldset label,
.contact-form label:has(> input[type='checkbox']) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.contact-form .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.not-found {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  max-width: 32rem;
  margin: 2rem auto;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  text-align: center;
}
.not-found h1 {
  margin: 0.75rem 0 0;
  font-size: 1.75rem;
  font-weight: 800;
}
.not-found p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.not-found-art {
  color: var(--accent);
  stroke-width: 2.5;
  animation: float 3s ease-in-out infinite;
}
.not-found-art circle:first-child {
  fill: var(--accent-soft);
  stroke: none;
}
@keyframes float {
  50% {
    transform: translateY(-6px);
  }
}

/* ── Footer ──────────────────────────────────────────────────────────────────────────────────── */

.site-footer {
  --footer-ink: #e7e5e4;
  margin-top: 1rem;
  padding: 3rem var(--gutter) 1.25rem;
  background: var(--footer-bg);
  color: color-mix(in oklab, var(--footer-ink) 78%, transparent);
  font-size: 0.92rem;
}
@supports (color: oklch(from red l c h)) {
  .site-footer {
    --footer-ink: oklch(from var(--footer-bg) clamp(0.2, (0.6 - l) * 1000, 0.97) 0.005 60);
  }
}
.site-footer a {
  color: var(--footer-ink);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  max-width: var(--page);
  margin: 0 auto;
}
.footer-col p {
  margin: 0 0 0.6rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--footer-ink);
  font-size: 1.25rem;
  font-weight: 800;
}
.footer-title {
  color: var(--footer-ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang='bn'] .footer-title {
  letter-spacing: 0;
  font-size: 0.95rem;
}
.footer-track {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid color-mix(in oklab, var(--footer-ink) 22%, transparent);
  border-radius: 999px;
  font-weight: 600;
}
.footer-track:hover {
  text-decoration: none !important;
  border-color: var(--footer-ink);
}
.site-footer .footer-links {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .footer-links.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.site-footer .footer-links.social a {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--footer-ink) 10%, transparent);
}
.site-footer .shop-contact {
  display: grid;
  gap: 0.45rem;
  font-style: normal;
}
.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.pay-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  background: #fff;
  color: #1c1917;
  font-size: 0.8rem;
  font-weight: 800;
}
.pay-badges span::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #16a34a;
}
.pay-badges .pay-bkash::before {
  background: #e2136e;
}
.pay-badges .pay-nagad::before {
  background: #f6921e;
}
.footer-bottom {
  max-width: var(--page);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in oklab, var(--footer-ink) 14%, transparent);
  font-size: 0.8rem;
}

/* ── Cart drawer (decision 0091) and phone menu: native dialogs sliding in from the side ──────── */

.cart-drawer,
.menu-drawer {
  height: 100dvh;
  max-height: none;
  width: min(27rem, 100vw);
  max-width: 100vw;
  padding: 0;
  border: 0;
  background: var(--bg);
  color: inherit;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow-3);
}
.cart-drawer {
  margin: 0 0 0 auto;
}
.menu-drawer {
  width: min(21rem, 88vw);
  margin: 0 auto 0 0;
}
.cart-drawer[open] {
  display: flex;
  animation: drawer-in 0.32s var(--ease);
}
.menu-drawer[open] {
  display: flex;
  animation: drawer-in-left 0.32s var(--ease);
}
@media (min-width: 640px) {
  .cart-drawer {
    height: calc(100dvh - 1.5rem);
    margin: 0.75rem 0.75rem 0.75rem auto;
    border-radius: var(--radius-l);
    overflow: hidden;
  }
}
.cart-drawer::backdrop,
.menu-drawer::backdrop {
  background: rgb(28 25 23 / 0.45);
  backdrop-filter: blur(3px);
  animation: fade 0.3s var(--ease);
}
@keyframes drawer-in {
  from {
    transform: translateX(105%);
  }
}
@keyframes drawer-in-left {
  from {
    transform: translateX(-105%);
  }
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem 0.75rem 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}
.drawer-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  transition:
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.drawer-close:hover {
  background: var(--line);
  transform: rotate(90deg);
}
.drawer-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.25rem 1.25rem;
  overflow-y: auto;
}
.drawer-body > p:only-child {
  margin: auto;
  color: var(--muted);
  font-weight: 600;
}
.drawer-empty {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin: auto !important;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}
.drawer-empty::before {
  content: '';
  width: 4rem;
  height: 4rem;
  border-radius: 20px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2369625c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 13H5L6 7Z'/%3E%3Cpath d='M9 10V6a3 3 0 0 1 6 0v4'/%3E%3C/svg%3E")
      center / 1.8rem no-repeat,
    var(--surface-2);
}

/* "৳X more for free delivery". */
.free-delivery {
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.free-delivery-text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}
.free-delivery-bar {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-2);
}
.free-delivery-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--accent),
    color-mix(in oklab, var(--accent) 60%, #f59e0b)
  );
  transition: width 0.5s var(--ease);
}
.free-delivery.is-done {
  background: #ecfdf3;
  color: var(--success);
}
.free-delivery.is-done .free-delivery-fill {
  background: var(--success);
}

.drawer-lines {
  margin: 0;
  padding: 0.25rem 1rem;
  list-style: none;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition: opacity 0.2s var(--ease);
}
.drawer-lines.is-pending {
  opacity: 0.6;
}
.drawer-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  animation: fade-up 0.3s var(--ease) both;
}
.drawer-line:last-child {
  border-bottom: 0;
}
.drawer-thumb {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-2);
}
.drawer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.drawer-line:not(:has(.drawer-thumb)) {
  grid-template-columns: minmax(0, 1fr) auto;
}
.drawer-line-info {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.drawer-line a {
  font-weight: 700;
  text-decoration: none;
}
.drawer-line-info > a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.3;
}
.drawer-line small {
  color: var(--muted);
}
.drawer-qty {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.drawer-line-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}
.drawer-line-controls .qty-btn {
  width: 2.1rem;
  height: 2.1rem;
}
.qty-value {
  min-width: 1.6rem;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.drawer-remove {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.drawer-remove:hover {
  color: var(--danger);
}
.drawer-line-total {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.drawer-body .totals {
  margin: 0;
}
.drawer-body > .note {
  margin: 0;
  text-align: center;
}
.drawer-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

/* Phone menu. */
.menu-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  overflow: hidden;
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.menu-drawer-body {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1rem;
  overflow-y: auto;
}
.menu-list,
.menu-list ul,
.menu-quick {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-list {
  padding: 0.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.menu-list a,
.menu-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding: 0 0.85rem;
  border-radius: var(--radius-s);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.menu-list summary::-webkit-details-marker {
  display: none;
}
.menu-list a:hover,
.menu-list summary:hover {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.menu-list details[open] summary svg {
  transform: rotate(180deg);
}
.menu-list summary svg {
  transition: transform 0.25s var(--ease);
}
.menu-list ul {
  margin: 0 0 0.35rem 0.85rem;
  padding-left: 0.6rem;
  border-left: 2px solid var(--line);
}
.menu-list ul a {
  min-height: 2.6rem;
  font-weight: 600;
}
.menu-quick {
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.menu-quick a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}
.menu-quick svg {
  color: var(--accent);
}
.menu-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  text-decoration: none;
}

/* Toasts: short messages at the bottom of the screen. */
.toast-region {
  position: fixed;
  left: 50%;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  width: min(26rem, calc(100vw - 2rem));
  transform: translateX(-50%);
  pointer-events: none;
}
body:has(.sticky-buy) .toast-region {
  bottom: calc(6rem + env(safe-area-inset-bottom));
}
@media (min-width: 960px) {
  body:has(.sticky-buy) .toast-region {
    bottom: 1.25rem;
  }
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-3);
  pointer-events: auto;
  animation: toast-in 0.35s var(--ease);
}
.toast::before {
  content: '';
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E")
      center / 0.7rem no-repeat,
    var(--success);
}
.toast-error::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17v.01'/%3E%3C/svg%3E")
      center / 0.75rem no-repeat,
    var(--danger);
}
.toast.is-leaving {
  animation: toast-out 0.3s var(--ease) forwards;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
}

/* Back to top. */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  z-index: 34;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  animation: pop-in 0.25s var(--ease);
  transition: transform 0.2s var(--ease);
}
.back-to-top:hover {
  transform: translateY(-3px);
}
.back-to-top[hidden] {
  display: none;
}
body:has(.chat-float) .back-to-top {
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── Motion ──────────────────────────────────────────────────────────────────────────────────── */

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.96);
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes rise {
  from {
    transform: translateY(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

/* Cart page pictures (shop.js: div.cart-line-main > a.cart-thumb + div.cart-line-info). */
.cart-line-main {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}
.cart-line-info {
  min-width: 0;
}
.cart-thumb {
  flex: none;
  display: block;
  width: 4.75rem;
  height: 4.75rem;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-2);
}
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Returns from the account (shop.js: section.account-returns). Bold cards, chip statuses. */
.account-returns {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.account-returns h3 {
  margin: 0 0 0.875rem;
  font-size: 1.15rem;
  font-weight: 800;
}
.return-list {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.return-list li {
  padding: 0.75rem 0.875rem;
  border-radius: var(--radius-s);
  background: var(--surface-2);
}
.return-status {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 700;
}
.return-approved,
.return-received,
.return-completed {
  background: color-mix(in oklab, var(--success) 12%, #fff);
  color: var(--success);
}
.return-rejected {
  background: color-mix(in oklab, var(--danger) 12%, #fff);
  color: var(--danger);
}
.return-form {
  display: grid;
  gap: 0.875rem;
  margin-top: 1rem;
}
.return-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}
.return-form .return-line {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0.65rem 0.875rem;
  border-radius: var(--radius-s);
  background: var(--surface-2);
  font-weight: 500;
}
.return-form select,
.return-form textarea {
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--surface);
  font: inherit;
}
.return-form select:focus,
.return-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

/* ── Offers, flash sales and popups (plugin offers-pro / popup-offers, decision 0128) ───────── */
.flash-tag,
.offer-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}
.flash-tag {
  background: linear-gradient(135deg, #f97316, var(--accent));
  color: #fff;
}
.flash-tag svg {
  fill: currentColor;
}
.offer-tag {
  background: var(--surface);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.price.is-flash {
  color: var(--accent);
}
.card-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.card-timer svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.flash-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #f97316, var(--accent) 60%, var(--accent-ink));
  color: #fff;
  box-shadow: var(--shadow-2);
}
.flash-bolt {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.2);
}
.flash-bolt svg {
  fill: #fff;
}
.flash-banner .flash-timer {
  margin-left: auto;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.22);
  font-size: 0.85rem;
  font-weight: 700;
}
.flash-banner time,
.flash-timer time,
.offer-tile-ends time {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.price-box.is-flash {
  border-color: color-mix(in oklab, var(--accent) 40%, #fff);
}
.offer-chips {
  display: grid;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.offer-chips li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border: 1.5px dashed color-mix(in oklab, var(--accent) 45%, #fff);
  border-radius: var(--radius-s);
  background: var(--accent-soft);
  font-size: 0.875rem;
  color: var(--ink-2);
}
.offer-chip-tag {
  flex: none;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.72rem;
  font-weight: 800;
}
.applied-offers {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.85rem;
  list-style: none;
  border-radius: var(--radius-s);
  background: color-mix(in oklab, var(--success) 9%, #fff);
  color: var(--success);
  font-size: 0.875rem;
  font-weight: 700;
}
.applied-offers li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.applied-offers li::before {
  content: '🎉';
  margin-right: 0.35rem;
}
.applied-offers li span {
  flex: 1;
}

/* The Offers page */
.offers-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 2.75rem);
  border-radius: var(--radius-l);
  background:
    radial-gradient(circle at 85% 20%, rgb(255 255 255 / 0.22), transparent 40%),
    linear-gradient(120deg, #f97316, var(--accent) 55%, var(--accent-ink));
  color: #fff;
}
.offers-banner h1 {
  margin: 0.5rem 0 0.35rem;
  color: #fff;
}
.offers-banner p {
  max-width: 36rem;
  margin: 0;
  opacity: 0.92;
}
.offers-banner-pill {
  display: inline-flex;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.2);
  font-size: 0.78rem;
  font-weight: 800;
}
.offer-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 0.875rem;
  margin: 1.25rem 0 2rem;
  padding: 0;
  list-style: none;
}
.offer-tile {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.offer-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.offer-tile-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--accent-soft-2);
  color: var(--accent-ink);
}
.offer-tile-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.offer-tile--free_shipping .offer-tile-icon {
  background: color-mix(in oklab, var(--success) 14%, #fff);
  color: var(--success);
}
.offer-tile--free_gift .offer-tile-icon {
  background: #fff4d6;
  color: #b45309;
}
.offer-tile-text h2 {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
}
.offer-tile-text p {
  margin: 0.3rem 0 0;
  color: var(--ink-2);
  font-size: 0.9rem;
}
.offer-tile-badge {
  display: inline-flex;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--sale);
  color: var(--sale-ink);
  font-size: 0.72rem;
  font-weight: 800;
}
.offer-tile-ends {
  color: var(--accent-ink) !important;
  font-weight: 700;
}
.flash-panel {
  margin: 0 0 2rem;
  padding: clamp(0.875rem, 3vw, 1.25rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.flash-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.flash-panel-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}
.flash-panel-head .flash-bolt {
  background: linear-gradient(135deg, #f97316, var(--accent));
}
.flash-timer {
  margin: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.flash-timer.is-soon {
  background: var(--accent-soft-2);
  color: var(--accent-ink);
}
.empty-panel {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 2.5rem 1rem;
  border-radius: var(--radius-l);
  background: var(--surface);
  text-align: center;
}
.empty-panel svg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
}

/* Popups: a bold rounded sheet, from the bottom on phones */
.sb-popup {
  width: min(25rem, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-3);
  overflow: auto;
  animation: sb-up 0.34s var(--ease);
}
.sb-popup::backdrop {
  background: rgb(28 25 23 / 0.5);
  backdrop-filter: blur(4px);
}
.sb-popup.is-leaving {
  animation: sb-down 0.18s var(--ease) forwards;
}
@media (max-width: 599px) {
  .sb-popup {
    width: 100vw;
    max-width: 100vw;
    margin: auto 0 0;
    border-radius: var(--radius-l) var(--radius-l) 0 0;
  }
}
@keyframes sb-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
@keyframes sb-down {
  to {
    opacity: 0;
    transform: translateY(16px);
  }
}
.sb-popup-panel {
  position: relative;
}
.sb-popup-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.sb-popup-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sb-popup-body {
  padding: 1.5rem 1.25rem 1.25rem;
  text-align: center;
}
.sb-popup--capture .sb-popup-body,
.sb-popup--spin .sb-popup-body {
  background: radial-gradient(circle at 50% 0%, var(--accent-soft-2), transparent 60%);
}
.sb-popup-body h2 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  line-height: 1.2;
}
.sb-popup-text {
  margin: 0 0 1rem;
  color: var(--ink-2);
}
.sb-popup-form {
  display: grid;
  gap: 0.7rem;
  text-align: left;
}
.sb-popup-field {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.sb-popup-field input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font: inherit;
  font-weight: 500;
}
.sb-popup-field input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-soft-2);
}
.sb-popup-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--muted);
}
.sb-popup-consent input {
  margin-top: 0.15rem;
  accent-color: var(--accent);
}
.sb-popup-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}
.sb-popup-note {
  margin: 0;
  color: var(--danger);
  font-size: 0.85rem;
  font-weight: 600;
}
.sb-popup-button {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 20px -10px var(--accent);
  transition:
    transform 0.15s var(--ease),
    background 0.2s var(--ease);
}
.sb-popup-button:hover {
  background: var(--accent-ink);
}
.sb-popup-button:active {
  transform: scale(0.98);
}
.sb-popup-button:disabled {
  opacity: 0.6;
  cursor: progress;
}
.sb-popup-code {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.9rem;
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
  text-align: left;
}
.sb-popup-code-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}
.sb-popup-code strong {
  flex: 1;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}
.sb-popup-copy {
  padding: 0.45rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.sb-popup-thanks {
  margin: 0 0 0.9rem;
  font-weight: 800;
}
.sb-wheel-wrap {
  position: relative;
  width: min(16rem, 72vw);
  margin: 0.25rem auto 1.1rem;
  aspect-ratio: 1;
}
.sb-wheel {
  --spin: 0turn;
  position: relative;
  width: 100%;
  height: 100%;
  border: 8px solid #fff;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0turn,
    var(--accent) 0 calc(1turn / var(--slices)),
    #f97316 0 calc(2turn / var(--slices))
  );
  box-shadow:
    0 0 0 3px var(--accent-soft-2),
    var(--shadow-2);
  transform: rotate(var(--spin));
  transition: transform 4s cubic-bezier(0.12, 0.8, 0.12, 1);
}
.sb-wheel::after {
  content: '';
  position: absolute;
  inset: 40%;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-1);
}
.sb-wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42%;
  transform: rotate(calc(var(--turn) - 0.25turn)) translateX(22%);
  transform-origin: 0 50%;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
}
.sb-wheel-pin {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  width: 0;
  height: 0;
  border: 0.75rem solid transparent;
  border-top: 1.2rem solid var(--ink);
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / 0.3));
}
@media (prefers-reduced-motion: reduce) {
  .sb-popup,
  .sb-popup.is-leaving {
    animation: none;
  }
  .sb-wheel {
    transition: none;
  }
}

/* Sales boosters (plugin sales-boosters, decision 0127) ------------------------------------------- */

/* Volume tiers under the price box: bold yellow deal chips. */
.boost-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.boost-tiers li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--sale);
  color: var(--sale-ink);
  font-size: 0.8125rem;
  font-weight: 800;
  box-shadow: var(--shadow-1);
}
.boost-tiers li::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Combo deals: a white panel with a ribbon, the items joined by "+" and one big button. */
.combo-deals {
  margin-top: 2rem;
}
.combo {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin-top: 0.75rem;
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
@media (min-width: 900px) {
  .combo {
    grid-template-columns: 1fr minmax(15rem, 19rem);
    align-items: center;
    padding: 1.75rem;
  }
}
.combo-ribbon {
  position: absolute;
  top: -0.7rem;
  left: 1.25rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.8125rem;
  font-weight: 800;
  box-shadow: var(--shadow-2);
}
.combo-items {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.25rem 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}
.combo-item {
  display: grid;
  gap: 0.35rem;
  width: clamp(6.25rem, 24vw, 8.5rem);
  flex: none;
}
.combo-media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.combo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.combo-qty {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}
.combo-name {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.combo-each {
  color: var(--muted);
  font-size: 0.75rem;
}
.combo-plus {
  display: grid;
  flex: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft-2);
  color: var(--accent-ink);
}
.combo-plus svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.combo-buy {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.combo-title {
  margin: 0;
  font-weight: 800;
}
.combo-price {
  margin: 0;
}
.combo-price strong {
  color: var(--accent-ink);
  font-size: 1.5rem;
  font-weight: 900;
}
.combo-price s {
  margin-left: 0.35rem;
  color: var(--muted);
}
.combo-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-2);
  transition:
    transform 0.15s var(--ease),
    background 0.2s var(--ease);
}
.combo-add svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.combo-add:hover {
  background: var(--accent-ink);
}
.combo-add:active {
  transform: scale(0.97);
}
.combo-add.is-loading {
  opacity: 0.6;
}
.combo-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

/* "Frequently bought together": a product row with "Add all" beside the title. */
.together-row .row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.together-row .pill-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* Cart drawer and cart page: the saving and suggestions. */
.boost-saving {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-s);
  background: color-mix(in oklab, var(--success) 10%, #fff);
  color: var(--success);
  font-size: 0.875rem;
  font-weight: 700;
}
.boost-suggest {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.boost-suggest-title {
  margin: 0 0 0.75rem;
  font-weight: 800;
}
.boost-suggest-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.boost-suggest-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.7rem;
  align-items: center;
  padding: 0.5rem;
  border-radius: var(--radius-s);
  background: var(--surface);
}
.boost-suggest-media {
  grid-row: span 2;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface-2);
}
.boost-suggest-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.boost-suggest-name {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.boost-suggest-price {
  grid-column: 2;
  color: var(--accent-ink);
  font-size: 0.8125rem;
  font-weight: 800;
}
.boost-suggest-add {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-1);
}
.boost-suggest-add:hover {
  background: var(--accent-ink);
}
.boost-suggest-add.is-loading {
  opacity: 0.55;
}

/* Checkout: order bumps as bold tickable deal cards. */
.order-bumps-wrap {
  margin-bottom: 1rem;
}
.order-bumps-title {
  margin: 0 0 0.6rem;
  font-weight: 800;
}
.order-bumps {
  display: grid;
  gap: 0.6rem;
}
.order-bump {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.order-bump.is-on {
  border-style: solid;
  background: var(--surface);
}
.bump-check {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--accent);
}
.order-bump-img {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  object-fit: cover;
}
.order-bump-text {
  display: grid;
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
}
.order-bump-text small {
  color: var(--muted);
}
.order-bump-price {
  display: grid;
  justify-items: end;
}
.order-bump-price strong {
  color: var(--accent-ink);
  font-weight: 900;
}
.order-bump-price s {
  color: var(--muted);
  font-size: 0.75rem;
}

/* Stock alerts (plugin stock-alerts, decision 0126): a bold tinted card with a bell. */
.alert-card {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
}
.alert-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.alert-card-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
}
.alert-card-icon svg,
.price-alert-chip svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.alert-card-title {
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}
.alert-card-text {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.alert-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.alert-form input {
  flex: 1;
  min-width: 0;
  height: 3rem;
  padding: 0 1rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  font: inherit;
  color: var(--ink);
}
.alert-form input:focus-visible {
  outline: none;
  border-color: var(--accent);
}
.alert-form button {
  height: 3rem;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px -10px var(--accent);
  transition: transform 0.15s var(--ease);
}
.alert-form button:active {
  transform: scale(0.97);
}
.alert-form button:disabled {
  opacity: 0.6;
}
.alert-note {
  margin: 0.75rem 0 0;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--success);
}
.alert-note.is-error {
  color: var(--danger);
}
.price-alert-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.45rem 0.85rem;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.price-alert-chip:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
@media (max-width: 30rem) {
  .alert-form {
    flex-direction: column;
  }
}

/* ─── Product compare, specifications, FAQ and named wishlists (decision 0134) ─────────────────── */

.card-compare {
  position: absolute;
  top: 3.15rem;
  right: 0.55rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.9);
  color: var(--ink);
  box-shadow: 0 4px 12px -6px rgb(28 25 23 / 0.45);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background 0.2s,
    color 0.2s;
}
.card-compare .icon {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.card-compare:hover {
  color: var(--accent);
  transform: scale(1.08);
}
.card-compare[aria-pressed='true'] {
  background: var(--accent);
  color: var(--on-accent);
}
.pill-button[data-compare-toggle][aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.pill-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Specifications and questions: soft panels under the description. */
.spec-box .spec-groups {
  display: grid;
  gap: 1rem;
  padding: 0.5rem 0 1rem;
}
.spec-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
.spec-group h3 {
  margin: 0;
  padding: 0.55rem 0.9rem;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 800;
}
.spec-group dl {
  margin: 0;
}
.spec-group dl > div {
  display: grid;
  grid-template-columns: minmax(7rem, 42%) 1fr;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.spec-group dl > div:nth-child(even) {
  background: var(--surface-2);
}
.spec-group dt {
  color: var(--muted);
}
.spec-group dd {
  margin: 0;
  font-weight: 600;
}
.faq-box {
  margin-top: 1.25rem;
}
.faq-box h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 800;
}
.faq-box .faq {
  margin-bottom: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--surface);
}
.faq-box .faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-box .faq summary::-webkit-details-marker {
  display: none;
}
.faq-box .faq summary svg {
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.25;
  stroke-linecap: round;
  transition: transform 0.25s var(--ease);
}
.faq-box .faq[open] summary svg {
  transform: rotate(45deg);
}
.faq-box .faq p {
  margin: 0;
  padding: 0 1rem 0.9rem;
  color: var(--ink-2);
}

/* The compare bar: a bold accent pill floating above the page. */
.compare-bar {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-3);
  translate: -50% 0;
}
.compare-bar[hidden] {
  display: none;
}
.compare-bar-text {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}
.compare-bar-text strong {
  color: var(--sale);
}
.compare-bar-clear {
  padding: 0.4rem 0.6rem;
  border: 0;
  background: none;
  color: rgb(255 255 255 / 0.7);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.compare-bar-go {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .compare-bar {
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
}

/* The compare page. */
.compare-page {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 3rem;
}
.compare-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, var(--accent), var(--accent-ink));
  color: var(--on-accent);
}
.compare-banner h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
}
.compare-banner p {
  margin: 0.15rem 0 0;
  opacity: 0.85;
  font-weight: 700;
}
.compare-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.compare-tools .pill-button {
  border-color: rgb(255 255 255 / 0.5);
  background: rgb(255 255 255 / 0.12);
  color: inherit;
}
.compare-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}
.compare-switch input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--sale);
}
.compare-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.compare-table {
  width: 100%;
  min-width: calc(8.5rem + var(--cols, 2) * 12.5rem);
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.compare-table th,
.compare-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  font-size: 0.9rem;
}
.compare-table tbody th,
.compare-corner {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 8.5rem;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}
.compare-table thead th {
  vertical-align: bottom;
}
.compare-tile {
  position: relative;
  display: grid;
  gap: 0.5rem;
  padding: 0.6rem;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.compare-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--radius-s);
  background: var(--surface);
}
.compare-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.compare-media:hover img {
  transform: scale(1.06);
}
.compare-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.compare-price {
  color: var(--accent-ink);
  font-weight: 800;
}
.compare-buy {
  width: 100%;
  justify-content: center;
  min-height: 2.5rem;
  font-size: 0.875rem;
}
.compare-buy.is-soft {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.compare-remove {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 4px 12px -6px rgb(28 25 23 / 0.45);
  cursor: pointer;
}
.compare-remove svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
}
.compare-remove:hover {
  color: var(--accent);
}
.compare-price-cell {
  color: var(--accent-ink);
}
.compare-table td s {
  color: var(--muted);
  font-size: 0.85em;
}
.compare-group th {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 800;
}
.compare-table tr.is-different td {
  color: var(--ink);
  font-weight: 700;
}
.compare-table tr.is-different th {
  box-shadow: inset 3px 0 0 var(--accent);
}
.compare-none {
  color: var(--line-strong);
}
.stock-chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}
.stock-chip.is-ok {
  background: color-mix(in oklab, var(--success) 12%, #fff);
  color: var(--success);
}
.stock-chip.is-out {
  background: color-mix(in oklab, var(--danger) 10%, #fff);
  color: var(--danger);
}
.is-diff-only .compare-table tr.is-same {
  display: none;
}
.compare-empty {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 3.5rem 1rem;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  text-align: center;
  color: var(--muted);
}
.compare-empty-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.compare-empty-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.compare-note {
  margin-top: 1rem;
}

/* Named wishlists: chips, a card grid and the "save to a list" sheet. */
.wish-lists {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.wish-lists[hidden] {
  display: none;
}
.wish-list-chip {
  flex: none;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}
.wish-list-chip[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.wish-list-new {
  border-style: dashed;
  color: var(--accent-ink);
}
.wish-list-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.wish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.wish-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.5rem 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.wish-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--radius-s);
  background: var(--surface-2);
}
.wish-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wish-card-title {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.wish-card-price {
  color: var(--accent-ink);
}
.wish-card-remove {
  justify-self: start;
  font-size: 0.8rem;
}
.list-picker {
  width: min(24rem, calc(100vw - 2rem));
  padding: 0;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-3);
}
.list-picker::backdrop {
  background: rgb(28 25 23 / 0.45);
  backdrop-filter: blur(4px);
}
.list-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}
.list-picker-close {
  border: 0;
  background: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.list-picker-body {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.25rem 1.25rem;
}
.list-picker-lists {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.list-picker-item {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--surface-2);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.list-picker-item:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
.list-picker-new {
  display: flex;
  gap: 0.5rem;
}
.list-picker-new input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font: inherit;
}

/* Partial advance for cash on delivery (decision 0135). */
.cod-advance-note {
  margin: 0.35rem 0 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  color: var(--accent-ink, var(--text));
  font-size: 0.85rem;
  font-weight: 600;
}
.pay-advance {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
  color: var(--on-accent, #fff);
  font-weight: 800;
}

/* ── Product types and downloads (decision 0140) ─────────────────────────────────────────────── */
/* Sold by measure: a small unit tag after the price and in the quantity box. */
.price-unit {
  align-self: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
}
.qty-unit {
  align-self: center;
  padding-right: 0.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
}
.made-tile {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: var(--accent-soft, var(--surface-2));
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}
.made-tile svg {
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
}
.digital-tile {
  background: color-mix(in srgb, #16a34a 12%, transparent);
}
.digital-tile svg {
  stroke: #15803d;
}

/* Size chart: a chip by the sizes, and a rounded sheet with a striped table. */
.size-chart-chip {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  margin: 0.25rem 0 0.75rem;
  padding: 0.4rem 0.85rem;
  border: 1.5px dashed var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-ink, var(--accent));
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}
.size-chart-chip svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.size-sheet {
  width: min(42rem, calc(100vw - 1.5rem));
  max-height: min(82vh, 42rem);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--surface, #fff);
  color: var(--ink);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.25);
}
.size-sheet::backdrop {
  background: rgb(15 10 10 / 0.5);
  backdrop-filter: blur(4px);
}
.size-sheet-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.size-sheet-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent, #fff);
}
.size-sheet-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.size-sheet-head h2 {
  flex: 1;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
}
.size-sheet-close {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
}
.size-sheet-close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.size-sheet-scroll {
  overflow-x: auto;
  padding: 1rem 1.25rem 0;
}
.size-sheet-table {
  width: 100%;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  font-variant-numeric: tabular-nums;
}
.size-sheet-table th,
.size-sheet-table td {
  padding: 0.65rem 0.85rem;
  text-align: center;
  white-space: nowrap;
}
.size-sheet-table thead th {
  background: var(--accent);
  color: var(--on-accent, #fff);
  font-weight: 800;
}
.size-sheet-table tbody tr:nth-child(even) {
  background: var(--surface-2);
}
.size-sheet-table tbody th {
  font-weight: 800;
}
.size-sheet-note {
  margin: 0;
  padding: 0.9rem 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.size-sheet-unit {
  margin-right: 0.35rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--surface-2);
  font-weight: 700;
}

/* Product video: a big accent play button with a label over the still. */
.video-slide {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1a1414;
}
.video-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.video-play {
  position: absolute;
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.video-play-ring {
  display: grid;
  width: 4.75rem;
  height: 4.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgb(255 255 255 / 0.18);
  transition: transform 0.2s ease;
}
.video-play:hover .video-play-ring {
  transform: scale(1.07);
}
.video-play svg {
  fill: currentColor;
}
.video-play-label {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.45);
  font-size: 0.8125rem;
}
.video-frame {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  border: 0;
  aspect-ratio: 16 / 9;
}
.video-thumb {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent, #fff);
}
.video-thumb svg {
  fill: currentColor;
}

/* Account downloads: tiles with a pill button per file. */
.downloads {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 20px;
  background: var(--surface, #fff);
}
.downloads h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}
.download-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.download-item {
  padding: 1rem;
  border-radius: 16px;
  background: var(--surface-2);
}
.download-title {
  margin: 0 0 0.6rem;
}
.download-title small {
  color: var(--muted);
}
.download-files {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.download-button {
  border-radius: 999px;
}
.download-keys {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}
.download-keys code {
  margin-right: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  background: var(--surface, #fff);
  font-weight: 700;
}
/* ── One-click checkout (plugin one-click-checkout, decision 0136) ──────────────────────────────
   A bold dark "Buy now" pill with a bolt under the buy row (and a round one in the phone bar),
   an outlined pill on cards while the shop has it on (body.has-buy-now), and the quick order
   sheet: a rounded panel on wide screens, a sheet from the bottom on phones. */
.buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3.25rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1.75rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--ink),
    color-mix(in oklab, var(--ink) 75%, var(--accent))
  );
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 24px -14px rgb(28 25 23 / 0.6);
  transition:
    transform 0.15s var(--ease),
    box-shadow 0.2s var(--ease),
    opacity 0.2s var(--ease);
}
.buy-now svg {
  fill: #fde047;
  stroke: #fde047;
}
.buy-now:hover {
  box-shadow: 0 16px 30px -14px rgb(28 25 23 / 0.7);
  transform: translateY(-1px);
}
.buy-now:active {
  transform: scale(0.98);
}
.buy-now:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.buy-now.is-loading svg {
  animation: bag-bounce 0.6s var(--ease) infinite;
}
.sticky-buy .buy-now-sticky {
  flex: none;
  width: 3.25rem;
  margin-top: 0;
  padding: 0;
}
.card-buy {
  display: none;
}
.has-buy-now .card-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: calc(100% - 1.5rem);
  min-height: 2.35rem;
  margin: 0 0.75rem 0.75rem;
  padding: 0 0.85rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.has-buy-now .card-buy:hover {
  background: var(--accent);
  color: var(--on-accent);
}
.has-buy-now .card-buy svg {
  fill: currentColor;
}
.has-buy-now .card-buy.is-loading {
  opacity: 0.6;
  cursor: progress;
}

.quick-order {
  margin: auto;
  width: min(42rem, calc(100vw - 2rem));
  max-width: none;
  max-height: min(92dvh, 60rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--bg);
  color: inherit;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.quick-order[open] {
  display: flex;
  animation: pop-in 0.28s var(--ease);
}
.quick-order::backdrop {
  background: rgb(28 25 23 / 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fade 0.3s var(--ease);
}
.quick-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.quick-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-ink));
  color: #fde047;
}
.quick-icon svg {
  fill: currentColor;
}
.quick-titles {
  flex: 1;
  min-width: 0;
}
.quick-head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}
.quick-head p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.quick-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.25rem 1.5rem;
}
.quick-body form[data-checkout] {
  display: grid;
  gap: 1rem;
}
.quick-loading {
  display: grid;
  gap: 0.75rem;
}
.quick-skeleton {
  display: block;
  height: 3.25rem;
  border-radius: var(--radius);
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    var(--surface) 50%,
    var(--surface-2) 75%
  );
  background-size: 300% 100%;
  animation: quick-shimmer 1.4s linear infinite;
}
.quick-skeleton.is-short {
  width: 60%;
}
@keyframes quick-shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}
.order-again {
  margin: 0.75rem 0;
}
@media (max-width: 40rem) {
  .quick-order {
    margin: auto 0 0;
    width: 100vw;
    max-height: 94dvh;
    border-radius: var(--radius-l) var(--radius-l) 0 0;
  }
  .quick-order[open] {
    animation: rise 0.32s var(--ease);
  }
  .quick-head,
  .quick-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ── Blog (decision 0136): a banner, a feature card and rounded post cards ───────────────────── */
.blog-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.75rem 0 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border-radius: var(--radius-l);
  background:
    radial-gradient(
      circle at 90% 10%,
      color-mix(in oklab, var(--accent) 40%, transparent),
      transparent 45%
    ),
    linear-gradient(135deg, var(--accent), var(--accent-ink));
  color: var(--on-accent);
}
.blog-banner h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
}
.blog-banner p {
  margin: 0.25rem 0 0;
  opacity: 0.9;
}
.blog-banner-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.18);
}
.blog-empty {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 3rem 1rem;
  border-radius: var(--radius-l);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}
.post-noimage {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 25% 25%, var(--accent-soft-2), transparent 55%), var(--surface-2);
}
.post-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 800;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.post-excerpt {
  margin: 0.4rem 0 0;
  color: var(--ink-2);
  line-height: 1.6;
}
.blog-feature {
  display: grid;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
@media (min-width: 900px) {
  .blog-feature {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }
}
.blog-feature-media,
.post-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
}
.blog-feature-media img,
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-feature:hover .blog-feature-media img,
.post-card:hover .post-card-media img {
  transform: scale(1.05);
}
.blog-feature-text {
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.blog-feature-text h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}
.blog-feature-text h2 a,
.post-card h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-feature-text h2 a:hover,
.post-card h3 a:hover {
  color: var(--accent);
}
.read-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.read-pill:hover {
  background: var(--accent-soft-2);
}
.read-pill svg {
  transition: transform 0.2s var(--ease);
}
.read-pill:hover svg {
  transform: translateX(3px);
}
.post-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.post-card-media .post-chip {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.9rem 1rem 1rem;
}
.post-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}
.post-card .post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9rem;
}
.post-card .post-meta {
  margin-top: auto;
  padding-top: 0.75rem;
}
.blog-pager {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.article-panel {
  overflow: hidden;
  max-width: 52rem;
  margin: 0 auto;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.article-cover {
  margin: 0;
  background: var(--surface-2);
}
.article-cover img {
  width: 100%;
  height: auto;
}
.article-inner {
  padding: clamp(1.25rem, 4vw, 2.75rem);
}
.article-inner h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-top: 0.5rem;
}
.article-author {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 700;
}
.article-author .brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.8rem;
}
.article-lead {
  margin: 1.25rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
}
.article-body {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line-strong);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-tags li {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 700;
}
.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0 1.1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.share-pill:hover {
  border-color: var(--ink);
}
.more-posts {
  max-width: var(--page);
  margin: 2.5rem auto 0;
}

/* ── Gift card at checkout, wholesale account (decision 0142) — Dhaka ─────────────────────────── */
.gift-card-field input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.gift-card-field small {
  display: block;
  margin-top: 0.35rem;
}
.wholesale-account {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 20px;
  background: var(--surface, #fff);
  box-shadow: var(--shadow-1);
}
.wholesale-account h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
}
.wholesale-form {
  display: grid;
  gap: 0.85rem;
}
.wholesale-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}
.wholesale-form input,
.wholesale-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  font: inherit;
  font-weight: 400;
}
.wholesale-form input:focus,
.wholesale-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.wholesale-form .button {
  justify-self: start;
}
.wholesale-status {
  margin: 0;
  font-weight: 700;
}
.wholesale-status.is-member {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* Sales boosters part 2 (decision 0159): the offer after checkout, "bought today", recent orders. */
.upsell-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1.25rem 0;
  padding: 1rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  text-align: left;
}
.upsell-img {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-s);
  background: var(--surface);
  object-fit: cover;
}
.upsell-body {
  display: grid;
  flex: 1;
  gap: 0.35rem;
  min-width: 0;
}
.upsell-kicker {
  margin: 0;
  justify-self: start;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--sale);
  color: var(--sale-ink);
  font-size: 0.75rem;
  font-weight: 800;
}
.upsell-title {
  font-size: 1.05rem;
  font-weight: 800;
}
.upsell-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.upsell-price {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin: 0;
}
.upsell-price strong {
  color: var(--accent);
  font-size: 1.15rem;
}
.upsell-price s,
.upsell-timer {
  color: var(--muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.upsell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.35rem;
}
.upsell-skip {
  padding: 0.5rem;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
}
.upsell-status {
  margin: 0;
  color: var(--danger);
  font-size: 0.875rem;
}
.upsell-status:empty {
  display: none;
}
.upsell-done {
  margin: 0 0 0.5rem;
  color: var(--success);
  font-weight: 600;
}
.bought-today {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
}
.bought-today::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}
.bought-today[hidden] {
  display: none;
}
.sp-popup {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 60;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.6rem 0.6rem 0.6rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-3);
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.sp-popup.is-in {
  opacity: 1;
  transform: none;
}
.sp-popup-img {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-s);
  object-fit: cover;
}
.sp-popup-body {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  color: inherit;
  font-size: 0.8125rem;
  text-decoration: none;
}
.sp-popup-who,
.sp-popup-when {
  color: var(--muted);
}
.sp-popup-title {
  overflow: hidden;
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sp-popup-when {
  font-size: 0.75rem;
}
.sp-popup-close {
  align-self: flex-start;
  padding: 0.25rem 0.4rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 640px) {
  .upsell-card {
    flex-direction: column;
  }
  .sp-popup {
    right: 0.75rem;
    bottom: calc(5rem + env(safe-area-inset-bottom));
    left: 0.75rem;
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-popup {
    transform: none;
    transition: none;
  }
}

/* ── Live chat launcher (decision 0158): bottom left, clear of WhatsApp and back-to-top ── */
.live-chat-launcher {
  position: fixed;
  left: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  box-shadow: 0 10px 25px -8px rgb(0 0 0 / 0.45);
  transition: transform 0.2s ease;
  border-radius: 1rem;
}
.live-chat-launcher:hover {
  transform: scale(1.06);
}
.live-chat-launcher:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
@media (max-width: 47.99rem) {
  body:has(.sticky-buy) .live-chat-launcher {
    bottom: 5.75rem;
  }
}

/* Loyalty points and referrals (plugin advanced-marketing, decision 0157). */
.loyalty-account {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 20px;
  background: var(--surface, #fff);
  box-shadow: var(--shadow-1);
}
.loyalty-account h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
}
.loyalty-account h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
}
.loyalty-balance {
  margin: 0 0 0.35rem;
  font-weight: 700;
}
.loyalty-balance strong {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
}
.loyalty-tier {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 800;
}
.loyalty-history {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.loyalty-history li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  background: var(--surface-2);
}
.loyalty-history .is-plus {
  color: var(--accent);
}
.loyalty-account .referral {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--accent-soft);
}
.referral-link {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--surface, #fff);
  font: inherit;
}
.loyalty-account .referral .button {
  justify-self: start;
}
.loyalty-pay {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
  cursor: pointer;
}
.loyalty-pay[hidden] {
  display: none;
}

/* ── Marketplace frame: top bar, offers link ─────────────────────────────────────────────────── */

.topbar {
  background: linear-gradient(90deg, var(--accent-ink), var(--accent));
  color: var(--on-accent);
  font-size: 0.8rem;
  font-weight: 600;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.4rem var(--gutter);
}
.topbar-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-note svg {
  flex-shrink: 0;
  fill: var(--sale);
  stroke: none;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-shrink: 0;
}
.topbar-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.92;
}
.topbar-links a:hover {
  opacity: 1;
  text-decoration: underline;
}
.topbar .lang {
  padding: 0.12rem 0.65rem;
  border: 1px solid color-mix(in oklab, var(--on-accent) 45%, transparent);
  border-radius: 999px;
  background: transparent;
  color: inherit;
}
@media (max-width: 720px) {
  .topbar-phone,
  .topbar-track {
    display: none;
  }
}
.site-nav .nav-offers {
  margin-left: auto;
}
.site-nav .nav-offers a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent);
  font-weight: 800;
}
.site-nav .nav-offers svg {
  fill: var(--sale);
  stroke: var(--accent-ink);
  stroke-width: 1.4;
}

/* ── Marketplace hero: categories | banner | quick tiles ─────────────────────────────────────── */

.mall-hero {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr) 14rem;
  gap: 0.9rem;
  align-items: stretch;
}
.mall-hero:not(:has(.mall-cats)) {
  grid-template-columns: minmax(0, 1fr) 14rem;
}
.mall-cats {
  padding: 0.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.mall-cats-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.2rem 0.4rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
}
.mall-cats ul {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mall-cats a {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-s);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.mall-cats a:hover {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.mall-cat-thumb {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  overflow: hidden;
  border-radius: 8px;
  background: var(--accent-soft-2);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 800;
}
.mall-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mall-cats a > svg {
  color: var(--muted);
}
.mall-stage {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.mall-slides {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.mall-slides::-webkit-scrollbar {
  display: none;
}
.mall-slide {
  margin: 0;
  scroll-snap-align: start;
}
.mall-slide img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}
.mall-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  height: 100%;
  min-height: 19rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  overflow: hidden;
  background:
    radial-gradient(
      60% 90% at 95% 10%,
      color-mix(in oklab, var(--sale) 55%, transparent),
      transparent 60%
    ),
    linear-gradient(
      120deg,
      var(--accent-ink),
      var(--accent) 55%,
      color-mix(in oklab, var(--accent) 70%, #ff8a3d)
    );
  color: var(--on-accent);
  isolation: isolate;
}
.mall-banner::after {
  content: '';
  position: absolute;
  inset: auto -6rem -9rem auto;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  border: 2.5rem solid color-mix(in oklab, #fff 12%, transparent);
}
.mall-banner-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--sale);
  color: var(--sale-ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mall-banner-label svg {
  fill: currentColor;
  stroke: none;
}
.mall-banner-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 1rem + 2.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
:lang(bn) .mall-banner-title {
  line-height: 1.3;
  letter-spacing: 0;
}
.mall-banner-text {
  max-width: 26rem;
  margin: 0 0 1.25rem;
  opacity: 0.92;
}
.mall-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px -12px rgb(0 0 0 / 0.45);
  transition: transform 0.2s var(--ease);
}
.mall-banner-cta:hover {
  transform: translateY(-2px);
}
.mall-banner-art {
  position: relative;
  height: 100%;
  min-height: 15rem;
}
.mall-banner-art > span {
  position: absolute;
  overflow: hidden;
  border-radius: 22px;
  border: 4px solid rgb(255 255 255 / 0.9);
  box-shadow: 0 20px 40px -18px rgb(0 0 0 / 0.55);
  background: rgb(255 255 255 / 0.2);
}
.mall-banner-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mall-art-1 {
  inset: 6% 30% 22% 4%;
  rotate: -5deg;
}
.mall-art-2 {
  inset: 32% 2% 2% 48%;
  rotate: 6deg;
}
.mall-art-3 {
  inset: 0 4% 58% 62%;
  rotate: 3deg;
}
.mall-art-ring {
  inset: 10% 15%;
  border-radius: 50% !important;
  border-width: 1.5rem !important;
  border-color: rgb(255 255 255 / 0.25) !important;
  background: none !important;
}
.mall-side {
  display: grid;
  gap: 0.75rem;
}
.mall-tile {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
a.mall-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.mall-tile-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.mall-tile-offers .mall-tile-icon {
  background: var(--sale);
  color: var(--sale-ink);
}
.mall-tile strong {
  align-self: end;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}
.mall-tile small {
  color: var(--muted);
  font-size: 0.8rem;
}
@media (max-width: 1100px) {
  .mall-hero,
  .mall-hero:not(:has(.mall-cats)) {
    grid-template-columns: minmax(0, 1fr);
  }
  .mall-cats {
    display: none;
  }
  .mall-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .mall-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .mall-banner-art {
    order: -1;
    min-height: 11rem;
    margin-bottom: 1rem;
  }
  .mall-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .mall-tile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 0.75rem 0.4rem;
    row-gap: 0.35rem;
  }
  .mall-tile-icon {
    grid-row: auto;
    width: 2.4rem;
    height: 2.4rem;
  }
  .mall-tile strong {
    font-size: 0.78rem;
  }
  .mall-tile small {
    display: none;
  }
}

/* ── Section heads with "View more", category tiles grid ─────────────────────────────────────── */

.grid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.grid-head .section-title {
  margin: 0;
}
.category-icons {
  padding: clamp(0.9rem, 2.5vw, 1.4rem);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.category-icons ul {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  grid-auto-columns: auto;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.category-icons a {
  box-shadow: none;
  background: transparent;
  border-radius: var(--radius-s);
}
.category-icons a:hover {
  background: var(--accent-soft);
  box-shadow: none;
}
.category-icons .icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
}
@media (max-width: 640px) {
  .category-icons ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
  }
  .category-icons .icon {
    width: 3.75rem;
    height: 3.75rem;
  }
  .category-icons a {
    padding: 0.5rem 0.15rem;
  }
}

/* Flash deals: the grid in a red band with a lightning title. */
.deals-band {
  padding: clamp(0.9rem, 2.5vw, 1.4rem);
  border-radius: var(--radius);
  background:
    radial-gradient(
      50% 120% at 100% 0%,
      color-mix(in oklab, var(--sale) 40%, transparent),
      transparent 60%
    ),
    linear-gradient(110deg, var(--accent-ink), var(--accent));
}
.deals-band .section-title {
  color: var(--on-accent);
}
.deals-band .section-title::before {
  display: none;
}
.deals-band .section-title svg {
  fill: var(--sale);
  stroke: none;
}
.deals-band .view-more {
  background: #fff;
  color: var(--accent-ink);
}
.deals-band .grid {
  gap: 0.6rem;
}

/* The order's items at the top of the checkout summary (shop.js: ul.checkout-items). */
.checkout-items {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
  padding: 0 0 1.1rem;
  list-style: none;
  border-bottom: 1px solid var(--line);
  max-height: 22rem;
  overflow-y: auto;
}
.checkout-item {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}
.checkout-item-media {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s, var(--r-sm, 8px));
  background: var(--surface-2, var(--sunken, #f4f4f5));
}
.checkout-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.checkout-item-qty {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--ink-2);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.3rem;
  text-align: center;
}
.checkout-item-info {
  display: grid;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.35;
}
.checkout-item-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 500;
}
.checkout-item-variant {
  color: var(--muted);
  font-size: 0.8125rem;
}
.checkout-item-total {
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.totals dd.is-pending {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Category filters (snippet filters.liquid): one wrapping row of chips, a price range and Apply. */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius, var(--r, 12px));
  background: var(--surface, #fff);
}
.filters-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.filters-title svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.filters .filter-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.filters .filter-check:has(:checked) {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 9%, transparent);
}
.filters .filter-check input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--accent);
}
.filter-price {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}
.filter-price label {
  margin: 0;
}
.filters .filter-price input {
  width: 6.5rem;
  min-height: 2.35rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: 999px;
  background: var(--surface, #fff);
  font: inherit;
  font-size: 0.875rem;
  color: var(--ink);
}
.filter-apply {
  min-height: 2.35rem;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent, #fff);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}
.filter-apply:hover {
  filter: brightness(0.92);
}
.filter-clear {
  font-size: 0.875rem;
  color: var(--muted);
}
@media (max-width: 640px) {
  .filters {
    gap: 0.45rem;
    padding: 0.65rem;
  }
  .filters-title {
    width: 100%;
  }
  .filters .filter-price input {
    width: 5.25rem;
  }
}

/* ── Colour swatches (decision 0181): soft squares like its chips, ringed in the accent ── */
.chip.swatch {
  display: inline-flex;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
}
.chip.swatch:hover,
.chip.swatch[aria-pressed='true'] {
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
}
.swatch-photo,
.swatch-dot {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  transition:
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.swatch-photo {
  object-fit: cover;
  background: var(--surface);
}
.swatch-dot {
  background: var(--swatch);
}
.chip.swatch:hover .swatch-photo,
.chip.swatch:hover .swatch-dot {
  border-color: var(--ink);
}
.chip.swatch[aria-pressed='true'] .swatch-photo,
.chip.swatch[aria-pressed='true'] .swatch-dot {
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px var(--accent);
}
/* A colour with neither a photo nor a colour: its name, like the other options. */
.swatch-text {
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-weight: 500;
}
.chip.swatch[aria-pressed='true'] .swatch-text {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
  font-weight: 700;
}
.chip.swatch.is-unavailable,
.chip.swatch.is-unavailable[aria-pressed='true'] {
  background: none;
  color: var(--muted);
  text-decoration: none;
}
.chip.swatch.is-unavailable .swatch-photo,
.chip.swatch.is-unavailable .swatch-dot {
  opacity: 0.4;
}
.chip.swatch.is-unavailable .swatch-text {
  text-decoration: line-through;
}
.has-swatches .option-values,
.option-values.has-swatches {
  gap: 0.75rem 0.6rem;
  align-items: flex-start;
}

/* My Account dashboard and saved addresses at checkout (decision 0235) ----------------------------
   shop.js draws the markup (.acct-*, .saved-address); these rules give it this theme's look. */
[data-account],
[data-checkout] {
  --a-accent: var(--accent);
  --a-accent-ink: var(--accent-ink);
  --a-on: var(--on-accent, #fff);
  --a-soft: var(--accent-soft);
  --a-soft-bg: color-mix(in oklab, var(--accent) 6%, var(--surface));
  --a-card: var(--surface);
  --a-field: var(--surface);
  --a-stat-bg: var(--surface);
  --a-sunken: var(--surface-2);
  --a-ink: var(--ink);
  --a-ink-2: var(--ink-2);
  --a-muted: var(--muted);
  --a-line: var(--line);
  --a-line-strong: var(--line-strong);
  --a-success: var(--success, #15803d);
  --a-danger: var(--danger, #dc2626);
  --a-r: var(--radius-l);
  --a-r-sm: var(--radius-s);
  --a-btn-r: var(--radius-s);
  --a-tabs-r: var(--pill, 999px);
  --a-chip-r: var(--pill, 999px);
  --a-avatar-r: 50%;
  --a-shadow: var(--shadow-1);
  --a-shadow-lg: var(--shadow-2);
  --a-head-bg: linear-gradient(
    120deg,
    var(--accent),
    color-mix(in oklab, var(--accent) 70%, #f97316)
  );
  --a-head-ink: #fff;
  --a-head-muted: rgb(255 255 255 / 78%);
  --a-head-line: transparent;
}
[data-account] .acct {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  color: var(--a-ink);
}
[data-account] .acct-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px;
  border-radius: var(--a-r);
  background: var(--a-head-bg);
  color: var(--a-head-ink);
  border: 1px solid var(--a-head-line);
}
[data-account] .acct-avatar {
  width: 56px;
  height: 56px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--a-avatar-r);
  background: var(--a-accent);
  color: var(--a-on);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
[data-account] .acct-who {
  flex: 1 1 180px;
  min-width: 0;
}
[data-account] .acct-who > * {
  margin: 0;
}
[data-account] .acct-name {
  font-size: 1.3rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
[data-account] .acct-meta {
  margin: 2px 0 0;
  color: var(--a-muted);
  font-size: 0.875rem;
}
[data-account] .acct-head .acct-meta {
  color: var(--a-head-muted);
}
[data-account] .acct-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
  border-radius: var(--a-tabs-r);
  background: var(--a-sunken);
}
[data-account] .acct-tabs::-webkit-scrollbar {
  display: none;
}
[data-account] .acct-tab {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--a-muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 16px;
  border-radius: var(--a-tabs-r);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
[data-account] .acct-tab:hover {
  color: var(--a-ink);
}
[data-account] .acct-tab[aria-selected='true'] {
  background: var(--a-card);
  color: var(--a-ink);
  box-shadow: var(--a-shadow);
}
[data-account] .acct-tab[hidden] {
  display: none;
}
[data-account] :is(.acct-tab, .acct-btn, .acct-chip, .acct-order, .acct-address-add):focus-visible {
  outline: 2px solid var(--a-accent);
  outline-offset: 2px;
}
[data-account] .acct-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}
[data-account] .acct-panel[hidden] {
  display: none;
}
[data-account] :is(.acct-panel, .acct-card, .acct-form) > h3 {
  margin: 0;
  font-size: 1.05rem;
}
@media (min-width: 900px) {
  [data-account] .acct-panel:has(> .acct-stats) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  [data-account] .acct-panel:has(> .acct-stats) > :is(.acct-stats, .acct-card:nth-child(2)) {
    grid-column: 1 / -1;
  }
}
[data-account] .acct-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 720px) {
  [data-account] .acct-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
[data-account] .acct-stat {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: var(--a-r);
  background: var(--a-stat-bg);
  border: 1px solid var(--a-line);
}
[data-account] .acct-stat-value {
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--a-accent-ink);
  font-variant-numeric: tabular-nums;
}
[data-account] .acct-stat-label {
  color: var(--a-muted);
  font-size: 0.85rem;
}
[data-account] .acct-card,
[data-account] .acct-extra {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border-radius: var(--a-r);
  background: var(--a-card);
  border: 1px solid var(--a-line);
  box-shadow: var(--a-shadow);
  min-width: 0;
}
[data-account] .acct-card p {
  margin: 0;
}
[data-account] .acct-card > .acct-btn {
  justify-self: start;
}
[data-account] .acct-orders {
  display: grid;
  gap: 10px;
}
[data-account] .acct-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'top total'
    'meta total';
  gap: 6px 12px;
  align-items: center;
  width: 100%;
  text-align: start;
  padding: 14px 16px;
  border: 1px solid var(--a-line);
  border-radius: var(--a-r-sm);
  background: var(--a-card);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
[data-account] .acct-order > .acct-order-top {
  grid-area: top;
}
[data-account] .acct-order > .acct-order-meta {
  grid-area: meta;
}
[data-account] .acct-order > .acct-order-total {
  grid-area: total;
}
[data-account] .acct-order:hover {
  border-color: var(--a-accent);
  box-shadow: var(--a-shadow);
}
[data-account] .acct-order-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
[data-account] .acct-order-no {
  margin: 0;
  font-weight: 700;
}
[data-account] .acct-order-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--a-muted);
  font-size: 0.85rem;
}
[data-account] .acct-order-total {
  font-size: 1.05rem;
  white-space: nowrap;
}
[data-account] .acct-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  background: var(--a-sunken);
  color: var(--a-ink-2);
}
[data-account] .acct-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
[data-account] .acct-badge:is(.status-pending, .pay-unpaid) {
  background: #fff4e0;
  color: #8a4b00;
}
[data-account] .acct-badge:is(.status-confirmed, .status-processing, .pay-partial) {
  background: #e7efff;
  color: #1d4ed8;
}
[data-account] .acct-badge.status-shipped {
  background: #efe9ff;
  color: #6527c9;
}
[data-account] .acct-badge:is(.status-delivered, .pay-paid) {
  background: #e2f6ea;
  color: #13703c;
}
[data-account] .acct-badge:is(.status-cancelled, .status-failed_delivery) {
  background: #fde9e7;
  color: #b42318;
}
[data-account] .acct-badge:is(.status-returned, .pay-refunded) {
  background: #f0f0f3;
  color: #4b4b55;
}
[data-account] .acct-badge.address-default {
  background: var(--a-soft);
  color: var(--a-accent-ink);
}
[data-account] .acct-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
[data-account] .acct-chip {
  border: 1px solid var(--a-line-strong);
  background: var(--a-card);
  color: var(--a-ink);
  border-radius: var(--a-chip-r);
  padding: 6px 14px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
[data-account] .acct-chip[aria-pressed='true'] {
  background: var(--a-ink);
  border-color: var(--a-ink);
  color: var(--a-card);
}
[data-account] .acct-steps {
  list-style: none;
  margin: 4px 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  counter-reset: acct-step;
}
[data-account] .acct-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--a-muted);
  counter-increment: acct-step;
}
[data-account] .acct-step::before {
  content: counter(acct-step);
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--a-card);
  border: 2px solid var(--a-line-strong);
  font-weight: 700;
}
:lang(bn) [data-account] .acct-step::before {
  content: counter(acct-step, bengali);
}
[data-account] .acct-step::after {
  content: '';
  position: absolute;
  top: 14px;
  inset-inline-start: calc(-50% + 15px);
  width: calc(100% - 30px);
  height: 2px;
  background: var(--a-line-strong);
}
[data-account] .acct-step:first-child::after {
  display: none;
}
[data-account] .acct-step.is-done,
[data-account] .acct-step.is-current {
  color: var(--a-ink);
}
[data-account] .acct-step.is-done::before {
  content: '✓';
  background: var(--a-success);
  border-color: var(--a-success);
  color: #fff;
}
[data-account] .acct-step:is(.is-done, .is-current, .is-cancelled)::after {
  background: var(--a-success);
}
[data-account] .acct-step.is-current {
  font-weight: 600;
}
[data-account] .acct-step.is-current::before {
  border-color: var(--a-accent);
  color: var(--a-accent-ink);
  box-shadow: 0 0 0 4px var(--a-soft);
}
[data-account] .acct-step.is-cancelled {
  color: var(--a-danger);
  font-weight: 600;
}
[data-account] .acct-step.is-cancelled::before {
  content: '✕';
  background: var(--a-danger);
  border-color: var(--a-danger);
  color: #fff;
}
[data-account] .acct-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
[data-account] .acct-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
[data-account] .acct-item :is(img, .acct-item-img) {
  width: 56px;
  height: 56px;
  border-radius: var(--a-r-sm);
  object-fit: cover;
  background: var(--a-sunken);
}
[data-account] .acct-item-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}
[data-account] .acct-item-info small {
  color: var(--a-muted);
}
[data-account] .acct-totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  margin: 0;
}
[data-account] .acct-totals dt {
  color: var(--a-muted);
}
[data-account] .acct-totals dd {
  margin: 0;
  text-align: end;
  font-variant-numeric: tabular-nums;
}
[data-account] .acct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
[data-account] .acct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--a-btn-r);
  border: 1px solid var(--a-accent);
  background: var(--a-accent);
  color: var(--a-on);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    filter 0.2s,
    background 0.2s,
    border-color 0.2s;
}
[data-account] .acct-btn:hover {
  filter: brightness(1.06);
}
[data-account] .acct-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
[data-account] .acct-btn.is-ghost {
  background: transparent;
  color: var(--a-ink);
  border-color: var(--a-line-strong);
}
[data-account] .acct-btn.is-ghost:hover {
  border-color: var(--a-ink);
  filter: none;
}
[data-account] .acct-btn.is-danger {
  color: var(--a-danger);
}
[data-account] .acct-btn.is-danger:hover {
  border-color: var(--a-danger);
}
[data-account] .acct-head .acct-btn.is-ghost {
  color: var(--a-head-ink);
  border-color: var(--a-head-muted);
}
[data-account] .acct-addresses {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
[data-account] .acct-address {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--a-line);
  border-radius: var(--a-r);
  background: var(--a-card);
}
[data-account] .acct-address p {
  margin: 0;
}
[data-account] .acct-address.is-default {
  border-color: var(--a-accent);
  box-shadow: inset 0 0 0 1px var(--a-accent);
}
[data-account] .acct-address .acct-actions {
  margin-top: 8px;
}
[data-account] .acct-address .acct-btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
}
[data-account] .acct-address-add {
  min-height: 150px;
  border: 2px dashed var(--a-line-strong);
  border-radius: var(--a-r);
  background: transparent;
  color: var(--a-accent-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
[data-account] .acct-address-add:hover {
  background: var(--a-soft);
  border-color: var(--a-accent);
}
[data-account] .acct-form {
  display: grid;
  gap: 12px;
}
[data-account] .acct-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}
[data-account] .acct-form label.terms {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
[data-account] .acct-form :is(input:not([type='checkbox'], [type='radio']), select, textarea) {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--a-line-strong);
  border-radius: var(--a-r-sm);
  background: var(--a-field);
  color: var(--a-ink);
  font: inherit;
  font-weight: 400;
}
[data-account] .acct-form :is(input, select, textarea):focus {
  outline: 2px solid var(--a-accent);
  outline-offset: 1px;
  border-color: var(--a-accent);
}
[data-account] .acct-form .locations {
  display: grid;
  gap: 8px;
}
@media (min-width: 640px) {
  [data-account] .acct-form .locations {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
[data-account] .acct-form .problem:empty,
[data-account] .acct-form .note:empty {
  display: none;
}
[data-account] .acct-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px 12px;
  text-align: center;
  color: var(--a-muted);
}
[data-account] .acct-empty p {
  margin: 0;
}
[data-account] .acct-more {
  justify-self: center;
}
[data-account] .acct-more[hidden] {
  display: none;
}
[data-account] .acct-history summary {
  cursor: pointer;
  font-weight: 600;
}
[data-account] .acct-login {
  max-width: 440px;
  margin: 8px auto;
  display: grid;
  gap: 14px;
  padding: 28px 22px;
  border-radius: var(--a-r);
  background: var(--a-card);
  border: 1px solid var(--a-line);
  box-shadow: var(--a-shadow-lg);
}
[data-account] .acct-login::before {
  content: '';
  width: 44px;
  height: 44px;
  background: var(--a-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-4.4 0-8 2.2-8 5v3h16v-3c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-4.4 0-8 2.2-8 5v3h16v-3c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
[data-account] .acct-login > h2 {
  margin: 0;
  font-size: 1.5rem;
}
[data-account] .acct-login-intro {
  margin: 0;
  color: var(--a-muted);
}
[data-account] .acct-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
[data-account] .acct-benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
}
[data-account] .acct-benefits li::before {
  content: '✓';
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--a-soft);
  color: var(--a-accent-ink);
  font-size: 0.75rem;
  font-weight: 700;
}
[data-account] .acct-login .acct-btn {
  width: 100%;
  min-height: 48px;
}
[data-account] .acct-login .link {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--a-accent-ink);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
[data-checkout] .saved-addresses {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
[data-checkout] .saved-addresses-title {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}
[data-checkout] label.saved-address {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--a-line-strong);
  border-radius: var(--a-r-sm);
  background: var(--a-card);
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
[data-checkout] label.saved-address:hover {
  border-color: var(--a-accent);
}
[data-checkout] label.saved-address:has(input:checked) {
  border-color: var(--a-accent);
  box-shadow: inset 0 0 0 1px var(--a-accent);
  background: var(--a-soft-bg);
}
[data-checkout] label.saved-address input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  accent-color: var(--a-accent);
}
[data-checkout] .saved-address-body {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 400;
}
[data-checkout] .saved-address-body span {
  color: var(--a-muted);
  overflow-wrap: anywhere;
}
[data-checkout] label.saved-address.is-new .saved-address-body strong {
  color: var(--a-accent-ink);
}
[data-checkout] label.save-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
[data-checkout] label.save-address[hidden] {
  display: none;
}
@media (max-width: 560px) {
  [data-account] .acct-head {
    padding: 16px;
  }
  [data-account] .acct-order {
    grid-template-areas:
      'top top'
      'meta total';
  }
  [data-account] .acct-step {
    font-size: 0.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-account] *,
  [data-checkout] label.saved-address {
    transition: none;
  }
}
[data-account] .acct-avatar {
  background: #fff;
  color: var(--accent);
}
[data-account] .acct-stat {
  border-top: 3px solid var(--accent);
}
/* The dashboard and the sign-in card bring their own frames: the page widens and drops its card. */
.account-page:has(.acct) {
  max-width: min(72rem, 100%);
}
.account-page > [data-account]:has(> .acct, > .acct-login) {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
/* Wide screens: the tabs become a menu beside the panel. */
@media (min-width: 960px) {
  [data-account] .acct {
    grid-template-columns: 15rem minmax(0, 1fr);
    align-items: start;
  }
  [data-account] .acct-head {
    grid-column: 1 / -1;
  }
  [data-account] .acct-tabs {
    grid-column: 1;
    grid-row: 2 / span 4;
    position: sticky;
    top: calc(var(--header-h, 64px) + 16px);
    flex-direction: column;
    overflow: visible;
    padding: 8px;
    border-radius: var(--a-r);
  }
  [data-account] .acct-tab {
    text-align: start;
    padding: 11px 14px;
    border-radius: var(--a-r-sm);
  }
  [data-account] :is(.acct-panel, .acct-extra) {
    grid-column: 2;
  }
}
[data-account] .acct-panel > .acct-btn {
  justify-self: start;
}
/* A category's picture and its subcategories (decision 0237). */
.page-head:has(> .collection-image) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
}
.page-head:has(> .collection-image) > :not(.collection-image) {
  grid-column: 2;
}
.collection-image {
  grid-row: 1 / span 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sunken, var(--surface-2, #f3f4f6));
  border: 1px solid var(--line, #e5e7eb);
}
.subcategories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 4px 0 18px;
  padding: 2px 2px 6px;
}
.subcategories::-webkit-scrollbar {
  display: none;
}
.subcategory {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 999px;
  background: var(--surface, #fff);
  color: var(--ink, inherit);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.subcategory:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgb(0 0 0 / 8%);
}
.subcategory:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.subcategory img,
.subcategory-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--accent-soft, var(--sunken, #f3f4f6));
}
.subcategory-initial {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .subcategory {
    transition: none;
  }
}
/* ── Live chat: the unread count on its button, and the bottom right when the shop chooses it
   (decision 0233). On the right it stacks above the WhatsApp button, and back-to-top above both. ── */
.live-chat-count {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--bg);
}
.live-chat-count[hidden] {
  display: none;
}
.live-chat-launcher.is-right {
  left: auto;
  right: 1rem;
}
body:has(.chat-float) .live-chat-launcher.is-right {
  bottom: calc(5.25rem + env(safe-area-inset-bottom));
}
body:has(.live-chat-launcher.is-right) .back-to-top {
  bottom: calc(5.25rem + env(safe-area-inset-bottom));
}
body:has(.live-chat-launcher.is-right):has(.chat-float) .back-to-top {
  bottom: calc(9.5rem + env(safe-area-inset-bottom));
}
@media (max-width: 47.99rem) {
  body:has(.sticky-buy):has(.chat-float) .live-chat-launcher.is-right {
    bottom: 10.25rem;
  }
  body:has(.sticky-buy):has(.live-chat-launcher.is-right) .back-to-top {
    bottom: 10rem;
  }
  body:has(.sticky-buy):has(.live-chat-launcher.is-right):has(.chat-float) .back-to-top {
    bottom: 14.5rem;
  }
}
/* A Messenger-only shop's floating chat button (audit): Messenger blue. */
.chat-float.chat-float-messenger {
  background: linear-gradient(135deg, #0a7cff, #a033ff);
  color: #fff;
}

/* ══ Home sections: reviews, questions, countdown, logos, video — and quick view ══════════════════ */
.section-titles {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}
.section-sub {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.55;
}

/* Arrows beside a row's heading (theme.js shows them when the row overflows). */
.carousel-nav {
  display: flex;
  flex: none;
  gap: 0.4rem;
}
.carousel-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    opacity 0.2s;
}
.carousel-btn .icon {
  width: 1.1rem;
  height: 1.1rem;
}
.carousel-btn:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Customer reviews: white cards on a soft band, a row that snaps sideways. */
.testimonials .section-head {
  align-items: end;
}
.tm-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16.5rem, calc((100% - 2rem) / 3));
  gap: 1rem;
  margin: 0;
  padding: 0.25rem 0.1rem 0.75rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.tm-track::-webkit-scrollbar {
  display: none;
}
@media (max-width: 47.99rem) {
  .tm-track {
    grid-auto-columns: 84%;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
}
.tm-card {
  scroll-snap-align: start;
  display: flex;
}
.tm-card figure {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  margin: 0;
  padding: 1.5rem 1.4rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background:
    radial-gradient(120% 70% at 100% 0%, var(--accent-soft), transparent 55%), var(--surface);
  transition:
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.tm-card figure:hover {
  border-color: transparent;
  box-shadow: var(--shadow-2);
}
.tm-stars {
  margin: 0;
  color: #f59e0b;
  letter-spacing: 0.12em;
  font-size: 1rem;
  line-height: 1;
}
.tm-card blockquote {
  flex: 1;
  margin: 0;
}
.tm-card blockquote p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
}
.tm-card blockquote p::before {
  content: '“';
}
.tm-card blockquote p::after {
  content: '”';
}
.tm-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.tm-photo {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
}
.tm-initial {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-transform: uppercase;
}
.tm-who {
  display: grid;
  line-height: 1.35;
}
.tm-who strong {
  font-size: 0.9375rem;
}
.tm-who small {
  color: var(--muted);
  font-size: 0.8125rem;
}

/* Questions and answers: the heading on the left, one answer open at a time on the right. */
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 3rem;
}
@media (min-width: 60rem) {
  .faq-section {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    align-items: start;
  }
  .faq-intro {
    position: sticky;
    top: calc(4.5rem + 1.5rem);
  }
}
.faq-intro {
  display: grid;
  gap: 0.6rem;
}
/* Phones: the questions first, the "still have a question?" card after them. */
@media (max-width: 59.99rem) {
  .faq-section {
    row-gap: 0.6rem;
  }
  .faq-intro {
    display: contents;
  }
  .faq-list {
    margin-top: 0.75rem;
  }
  .faq-contact {
    order: 2;
    margin-top: 1rem;
  }
}
.faq-intro h2 {
  margin: 0;
}
.faq-contact {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.9rem;
  padding: 1.25rem;
  border-radius: var(--radius-l);
  background: var(--surface-2);
}
.faq-contact p {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.faq-contact strong {
  color: var(--ink);
}
.faq-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.faq-contact-links .button {
  min-height: 2.6rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  font-size: 0.9rem;
}
.faq-contact-links .icon {
  width: 1.05rem;
  height: 1.05rem;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-q {
  border-bottom: 1px solid var(--line);
}
.faq-q summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.faq-q summary::-webkit-details-marker {
  display: none;
}
.faq-q summary:hover {
  color: var(--accent);
}
.faq-q summary .icon {
  flex: none;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0.4rem;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  transition:
    rotate 0.3s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.faq-q[open] summary .icon {
  rotate: 45deg;
  background: var(--accent);
  color: var(--on-accent);
}
.faq-a {
  padding: 0 3rem 1.25rem 0.25rem;
  color: var(--ink-2);
  line-height: 1.7;
}
.faq-a > :first-child {
  margin-top: 0;
}
.faq-a > :last-child {
  margin-bottom: 0;
}
.faq-q[open] .faq-a {
  animation: fade-up 0.3s var(--ease);
}

/* Countdown offer: an accent panel, the clock in big even figures. */
.promo-countdown {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius-l);
  background:
    radial-gradient(
      90% 120% at 100% 0%,
      color-mix(in oklab, var(--accent) 55%, white) 0%,
      transparent 55%
    ),
    linear-gradient(135deg, var(--accent), var(--accent-ink));
  color: var(--on-accent);
  isolation: isolate;
}
.promo-countdown.has-image {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
@media (max-width: 47.99rem) {
  .promo-countdown.has-image {
    grid-template-columns: minmax(0, 1fr);
  }
  .promo-countdown .pc-media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}
.pc-body {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.pc-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.35rem;
  margin: 0;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  font-size: 0.8125rem;
  font-weight: 700;
}
.pc-eyebrow .icon {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
  stroke: none;
}
.promo-countdown h2 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.pc-text {
  margin: 0;
  max-width: 44ch;
  opacity: 0.88;
}
.pc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}
.pc-clock {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}
.pc-clock-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}
.pc-clock time {
  display: block;
  min-width: 9ch;
  min-height: 1.2em;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.pc-button {
  background: var(--surface);
  color: var(--ink);
}
.pc-button:hover {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 12px 24px -12px rgb(0 0 0 / 0.45);
}
.pc-button .icon {
  width: 1.1rem;
  height: 1.1rem;
  transition: translate 0.2s var(--ease);
}
.pc-button:hover .icon {
  translate: 3px 0;
}
.pc-media {
  position: relative;
  min-height: 14rem;
}
.pc-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Brand logos: one quiet row; grey until hovered when the owner asks for it. */
.logo-strip {
  display: grid;
  gap: 1rem;
  text-align: center;
}
.logo-strip-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-row li {
  display: grid;
  place-items: center;
  min-width: 8.5rem;
  height: 5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.logo-row a {
  display: grid;
  place-items: center;
  height: 100%;
}
.logo-row img {
  width: auto;
  max-width: 8rem;
  height: auto;
  max-height: 2.6rem;
  object-fit: contain;
  transition:
    filter 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.logo-strip.is-quiet img {
  filter: grayscale(1);
  opacity: 0.65;
}
.logo-strip.is-quiet li:hover img {
  filter: none;
  opacity: 1;
}
@media (max-width: 47.99rem) {
  .logo-row {
    flex-wrap: nowrap;
    justify-content: start;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .logo-row li {
    flex: none;
    min-width: 7.5rem;
    height: 4.25rem;
  }
}

/* Video: the words beside a wide still with a round play button. */
.video-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem 3rem;
  align-items: center;
}
@media (min-width: 60rem) {
  .video-section:not(.is-bare) {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr);
  }
}
.video-copy {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}
.video-copy h2 {
  margin: 0;
}
.video-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--ink);
  box-shadow: var(--shadow-2);
}
.video-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.video-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / 0.35));
  pointer-events: none;
}
.video-stage:hover > img {
  transform: scale(1.03);
}
.video-stage .video-play {
  z-index: 1;
  box-shadow:
    0 0 0 10px rgb(255 255 255 / 0.22),
    0 10px 30px rgb(0 0 0 / 0.3);
}
.video-stage .video-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 0;
}

/* Quick view on a card: an eye beside the quick-add bar (pointers that hover only). */
.card-qv {
  display: none;
}
@media (hover: hover) {
  .card-qv {
    position: absolute;
    z-index: 2;
    top: calc(100cqw - 3.1rem);
    right: 0.55rem;
    display: grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 999px;
    background: color-mix(in oklab, var(--surface) 94%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--ink);
    box-shadow: var(--shadow-2);
    opacity: 0;
    transform: translateY(6px);
    transition:
      opacity 0.25s var(--ease),
      transform 0.25s var(--ease),
      background 0.2s var(--ease),
      color 0.2s var(--ease);
  }
  .card:has(.card-qv) .card-action {
    right: 3.5rem;
  }
  .card:hover .card-qv,
  .card:focus-within .card-qv {
    opacity: 1;
    transform: none;
  }
  .card-qv:hover {
    background: var(--ink);
    color: var(--bg);
  }
  .card.is-sold-out .card-qv {
    left: auto;
  }
}
.card-qv .icon {
  width: 1.15rem;
  height: 1.15rem;
}
.card-qv-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The quick view sheet: pictures on the left, choices on the right; a bottom sheet on phones. */
.quick-view {
  width: min(58rem, calc(100vw - 2rem));
  max-width: none;
  max-height: min(42rem, calc(100dvh - 2rem));
  padding: 0;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.quick-view[open] {
  display: flex;
  flex-direction: column;
  animation: qv-in 0.35s var(--ease);
}
.quick-view::backdrop {
  background: rgb(17 24 39 / 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fade 0.3s var(--ease);
}
@keyframes qv-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
.qv-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in oklab, var(--surface) 90%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  cursor: pointer;
}
.qv-close:hover {
  background: var(--ink);
  color: var(--bg);
}
.qv-close .icon {
  width: 1.15rem;
  height: 1.15rem;
}
.qv-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.qv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.qv-media {
  position: relative;
  min-width: 0;
  background: var(--surface-2);
}
.qv-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.qv-track::-webkit-scrollbar {
  display: none;
}
.qv-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
}
.qv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qv-dots {
  position: absolute;
  bottom: 0.9rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}
.qv-dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.65);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08);
  transition:
    width 0.25s var(--ease),
    background 0.25s;
}
.qv-dots span.is-on {
  width: 1.25rem;
  background: #fff;
}
.qv-info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.qv-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.qv-title {
  margin: 0;
  padding-right: 2.5rem;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.25;
}
.qv-title a {
  text-decoration: none;
}
.qv-title a:hover {
  text-decoration: underline;
}
.qv-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
}
.qv-price {
  color: #be123c;
  font-size: 1.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.qv-was {
  color: var(--muted);
  font-size: 1rem;
}
.qv-options {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.qv-stock {
  margin: 0;
  color: var(--danger);
  font-weight: 600;
}
.qv-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.qv-actions .button {
  width: 100%;
}
.qv-add.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.qv-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.qv-details:hover {
  color: var(--accent);
}
.qv-problem {
  margin: 0;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--muted);
}
.qv-shimmer {
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--bg) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: dk-shimmer 1.3s linear infinite;
}
.qv-loading .qv-media {
  aspect-ratio: 4 / 5;
}
.qv-line {
  display: block;
  height: 0.9rem;
  border-radius: 6px;
}
.qv-line-lg {
  height: 1.6rem;
}
.qv-btn {
  height: 3.1rem;
  margin-top: 1rem;
  border-radius: 999px;
}
.qv-line.w-30 {
  width: 30%;
}
.qv-line.w-40 {
  width: 40%;
}
.qv-line.w-60 {
  width: 60%;
}
.qv-line.w-80 {
  width: 80%;
}
@media (max-width: 47.99rem) {
  .quick-view {
    width: 100vw;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: var(--radius-l) var(--radius-l) 0 0;
  }
  .quick-view[open] {
    animation: rise 0.35s var(--ease);
  }
  .qv-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .qv-slide {
    aspect-ratio: 1;
  }
  .qv-loading .qv-media {
    aspect-ratio: 1;
  }
  .qv-info {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }
}

/* ── Dhaka layer for the sections above: white market panels, red and yellow for deals ── */
main > .section:not(:has(> *)) {
  display: none;
}
.testimonials .icon,
.faq-section .icon,
.promo-countdown .icon,
.video-section .icon,
.quick-view .icon,
.card-qv .icon {
  width: 1.15rem;
  height: 1.15rem;
}
.testimonials,
.faq-section,
.logo-strip,
.video-section {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.testimonials .grid-head {
  align-items: end;
}
.carousel-btn {
  border: 0;
  background: var(--surface-2);
}
.carousel-btn:hover:not(:disabled) {
  background: var(--accent);
  color: var(--on-accent);
}

/* Reviews: warm cards with big amber stars, like a shop's rating wall. */
.tm-card figure {
  border: 0;
  background: var(--surface-2);
}
.tm-card figure:hover {
  box-shadow: none;
  background: var(--accent-soft);
}
.tm-stars {
  font-size: 1.15rem;
}
.tm-card blockquote p {
  font-weight: 500;
}
.tm-card figcaption {
  border-top-color: var(--line-strong);
}
.tm-initial {
  background: linear-gradient(135deg, var(--accent), var(--accent-ink));
}

/* Questions: the heading beside them; each question a soft row. */
.faq-intro .section-title {
  margin: 0;
}
.faq-list {
  display: grid;
  gap: 0.5rem;
  border-top: 0;
}
.faq-q {
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.faq-q[open] {
  background: var(--accent-soft);
}
.faq-q summary {
  padding: 1rem 1.1rem;
  font-weight: 800;
  font-size: 1rem;
}
.faq-q summary .icon {
  background: var(--surface);
  color: var(--accent);
}
.faq-q summary:hover {
  color: var(--accent-ink);
}
.faq-a {
  padding: 0 1.1rem 1.1rem;
}
.faq-contact {
  background: var(--accent-soft);
}
.faq-contact-links .button {
  min-height: 2.6rem;
  font-weight: 700;
}

/* Countdown: the market's flash-deal band, the clock on a yellow sale tag. */
.promo-countdown {
  background:
    radial-gradient(
      70% 120% at 100% 0%,
      color-mix(in oklab, var(--accent) 55%, #fff) 0%,
      transparent 60%
    ),
    linear-gradient(120deg, var(--accent), var(--accent-ink));
  box-shadow: var(--shadow-2);
}
.pc-eyebrow {
  background: var(--sale);
  color: var(--sale-ink);
  font-weight: 800;
}
.promo-countdown h2 {
  font-weight: 900;
}
.pc-clock {
  grid-auto-flow: column;
  align-items: center;
  gap: 0.6rem;
}
.pc-clock time {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-s);
  background: var(--sale);
  color: var(--sale-ink);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
}
.pc-button {
  font-weight: 800;
}

/* Logos: "top brands" tiles that lift on hover. */
.logo-strip {
  text-align: left;
}
.logo-strip-title {
  color: var(--ink);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.logo-row {
  justify-content: start;
}
.logo-row li {
  border: 1px solid var(--line);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.logo-row li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

/* Video: the play button in the accent with a soft ring, as on product videos. */
.video-stage .video-play {
  place-items: center;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 10px rgb(255 255 255 / 0.18);
  transition: transform 0.2s var(--ease);
}
.video-stage .video-play:hover {
  transform: scale(1.07);
}
.video-stage .video-play .icon {
  width: 1.75rem;
  height: 1.75rem;
}
.video-stage .video-play svg {
  fill: currentColor;
  stroke: none;
}
.video-copy .section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

/* Quick view: a "Quick view" pill rising from the photo's lower edge. */
.card {
  container-type: inline-size;
}
@media (hover: hover) {
  .card-qv {
    top: calc(100cqw - 2.9rem);
    left: 50%;
    right: auto;
    display: inline-flex;
    gap: 0.35rem;
    width: auto;
    height: 2.25rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    translate: -50% 0;
  }
  .card-qv-text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
  .card:has(.card-qv) .card-action {
    right: auto;
  }
  .card-qv:hover {
    background: var(--accent);
    color: var(--on-accent);
  }
}
.qv-close svg,
.qv-details svg {
  width: 1.15rem;
  height: 1.15rem;
}
.qv-price {
  color: var(--accent);
}
.qv-options {
  gap: 0.9rem;
}
.qv-options .option {
  display: grid;
  gap: 0.5rem;
}
.qv-shimmer {
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--bg) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
}
@keyframes dk-shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}

/* ── Polish: a helpful "nothing found", swipe-only rows on phones, photos that fade in ── */
.empty-state {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0.75rem;
  max-width: 36rem;
  margin: clamp(0.5rem, 3vw, 2rem) auto 0;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  text-align: center;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.empty-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}
.empty-state h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
}
.empty-state > p {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
}
.empty-search {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
}
.empty-search input {
  flex: 1;
  min-width: 0;
  height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.empty-search input:focus {
  border-color: var(--accent);
  outline: 3px solid color-mix(in oklab, var(--accent) 22%, transparent);
  outline-offset: 0;
}
.empty-search .button {
  flex: none;
  min-height: 3rem;
  padding-inline: 1.1rem;
}
.empty-state > .empty-browse {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
:lang(bn) .empty-state > .empty-browse {
  letter-spacing: 0;
}
.empty-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.empty-links a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.empty-links a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.empty-home {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.empty-home svg {
  width: 1rem;
  height: 1rem;
  transition: translate 0.2s var(--ease);
}
.empty-home:hover svg {
  translate: 3px 0;
}

/* Phones swipe rows; the arrows are for pointers. */
@media (max-width: 47.99rem) {
  .carousel-nav {
    display: none !important;
  }
}

/* Card photos fade in as they arrive (theme.js marks them), over a soft shimmer. */
.card-media .card-img[data-fade]:not(.is-loaded) {
  opacity: 0;
}
.card-media .card-img[data-fade].is-loaded {
  animation: photo-in 0.5s var(--ease);
}
.card-media:has(> .card-img[data-fade]:not(.is-loaded)) {
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--bg) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: photo-wait 1.3s linear infinite;
}
@keyframes photo-in {
  from {
    opacity: 0;
  }
}
@keyframes photo-wait {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}

.empty-state {
  border: 0;
  box-shadow: var(--shadow-1);
}
.empty-state h2 {
  font-weight: 800;
}
.empty-search input:focus {
  border-color: var(--accent);
}
.empty-links a {
  border: 0;
  background: var(--surface-2);
  font-weight: 700;
}
.empty-links a:hover {
  background: var(--accent);
  color: var(--on-accent);
}

/* Quick view on a phone: a shorter photo, so the price and the button show without scrolling. */
@media (max-width: 47.99rem) {
  .quick-view {
    width: 100%;
  }
  .qv-slide,
  .qv-loading .qv-media {
    aspect-ratio: auto;
    height: min(44dvh, 92vw);
  }
}

/* A home section that waits for the shop script (recently viewed): no gap while it is hidden. */
main > .section:has(> [hidden]:only-child) {
  display: none;
}
.home-recent {
  margin-top: 0;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

/* ── Phone bottom menu ──────────────────────────────────────────────────── */
/* Home, menu, wishlist, cart and account under the thumb on phones. Floating buttons, toasts and
   the product page's buy bar ride above it. Off on checkout and payment pages. */
.tabbar {
  display: none;
  font-size: 0.68rem;
  line-height: 1.2;
}
.tabbar-item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.2rem;
  min-width: 0;
  height: 100%;
  padding: 0 0.15rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.tabbar-item .icon {
  position: relative;
  width: 1.35rem;
  height: 1.35rem;
}
.tabbar-icon {
  position: relative;
  display: inline-grid;
}
.tabbar-label {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tabbar .count {
  position: absolute;
  top: -0.4rem;
  right: -0.7rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
}
.tabbar .count[hidden] {
  display: none;
}
.tabbar-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}
@media (max-width: 767px) {
  body[data-tabbar] {
    --tabbar-h: calc(4rem + env(safe-area-inset-bottom));
  }
  [data-tabbar] .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--tabbar-h);
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 36;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
  }
  [data-tabbar] .site-footer {
    padding-bottom: calc(1rem + var(--tabbar-h));
  }
  [data-tabbar]
    :is(
      .sticky-buy,
      .chat-float,
      .live-chat-launcher,
      .back-to-top,
      .toast-region,
      .compare-bar,
      .sp-popup
    ) {
    margin-bottom: var(--tabbar-h);
  }
}
@media print {
  [data-tabbar] .tabbar {
    display: none;
  }
}
[data-tabbar] .tabbar {
  border-top: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 -6px 20px -14px rgb(28 25 23 / 0.35);
  color: var(--muted);
}
[data-tabbar] .tabbar {
  font-weight: 600;
}
.tabbar-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.tabbar-item.is-current {
  color: var(--accent);
  font-weight: 800;
}
.tabbar-item.is-current::before {
  transform: scaleX(1);
}
.tabbar .count {
  background: var(--sale);
  color: var(--sale-ink);
}

/* ══ Marketplace pass: dense categories, busy cards, deals clock, feed, delivery and shop boxes ══ */

/* Category icons: a dense grid like a market's, five to a row on phones. */
@media (max-width: 640px) {
  .category-icons ul {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.15rem;
  }
  .category-icons .icon {
    width: 3.1rem;
    height: 3.1rem;
  }
  .category-icons a {
    gap: 0.35rem;
    padding: 0.45rem 0.1rem;
  }
  .category-icons .name {
    font-size: 0.7rem;
    font-weight: 600;
  }
}
@media (min-width: 641px) {
  .category-icons ul {
    grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
  }
  .category-icons .icon {
    width: 4.25rem;
    height: 4.25rem;
  }
}

/* Cards: brand, the shop's badge, colour dots, rating and service tags. */
.card-brand {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mall-chip {
  display: inline-block;
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.02em;
  vertical-align: 0.1em;
}
.mall-chip.is-official {
  background: var(--ink);
  color: #fff;
}
.card .price {
  padding-right: 0;
}
.card-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}
.card-swatch {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--swatch, var(--surface-2));
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 0.14),
    0 0 0 2px var(--surface);
  color: var(--ink-2);
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
}
.card-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover: hover) {
  .card-swatch[data-src] {
    cursor: pointer;
    transition: transform 0.2s var(--ease);
  }
  .card-swatch[data-src]:hover {
    transform: scale(1.25);
  }
}
.card.is-swatching .card-img-alt {
  opacity: 0 !important;
}
.card-swatch-more {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}
.card-rating {
  gap: 0.2rem;
}
.card-rating strong {
  margin-left: 0.1rem;
  color: var(--ink);
  font-weight: 800;
}
.card-rating-count {
  margin-left: 0.2rem;
}
/* The tags use the whole width; a spacer at the end keeps room for the round quick-add button. */
.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}
.card-foot::after {
  content: '';
  width: 2.4rem;
  height: 2.25rem;
  margin-left: auto;
}
.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
}
.svc-tag svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}
.svc-tag.is-free {
  background: color-mix(in oklab, var(--success) 12%, #fff);
  color: var(--success);
}
.svc-tag.is-cod {
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 45%, #fff);
  color: var(--accent-ink);
}
.has-buy-now .card:has(.card-buy) .quick-add {
  bottom: 3.8rem;
}

/* Flash deals band: the time left beside the title, on a yellow sale tag. */
.grid-head {
  flex-wrap: wrap;
}
.deals-clock {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto 0 0;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--sale);
  color: var(--sale-ink);
  font-size: 0.82rem;
  font-weight: 700;
}
@media (max-width: 640px) {
  .grid-head .deals-clock {
    order: 3;
  }
}
.deals-clock time {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* "Load more" under the "Just for you" grid. */
.feed-more {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.feed-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: min(18rem, 100%);
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration: none;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.feed-button:hover {
  background: var(--accent);
  color: var(--on-accent);
}
.feed-button[aria-busy='true'] {
  opacity: 0.7;
  cursor: progress;
}
.feed-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Product page: rating and questions under the title. */
.pdp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin: -0.4rem 0 0;
  font-size: 0.9rem;
}
.pdp-meta .rating-link {
  margin-top: 0;
}
.pdp-meta strong {
  color: var(--ink);
}
.qa-link {
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
}
.qa-link:hover,
.pdp-meta .rating-link:hover {
  text-decoration: underline;
}

/* Flash sale: the real stock left as a bar. */
.flash-stock {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 800;
}
.flash-stock-bar {
  flex: 1;
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.3);
}
.flash-stock-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sale);
}

/* Quantity on its own line, then "Buy now" and "Add to cart" side by side. */
.buy-row {
  align-items: center;
}
.qty-label {
  min-width: 4.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.buy-pair {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.6rem;
}
.buy-pair .buy,
.buy-pair .buy-now {
  width: auto;
  min-width: 0;
  margin: 0;
  padding-inline: 0.75rem;
}
@media (max-width: 420px) {
  .buy-pair svg {
    display: none;
  }
}
.buy-pair:has(.buy:disabled) [data-dk-buy] {
  opacity: 0.45;
  pointer-events: none;
}
.buy-now.is-loading svg {
  animation: bag-bounce 0.6s var(--ease) infinite;
}
@media (max-width: 959px) {
  .sticky-buy .buy-now-sticky {
    margin-left: auto;
  }
  .sticky-buy .buy-now-sticky + .buy {
    margin-left: 0;
  }
}

/* Delivery and services: one panel of rows, the charges on the right. */
.service-box {
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.service-title,
.shop-box-name small {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.service-box .service-tiles {
  gap: 0;
}
.service-box .service-tiles li {
  align-items: flex-start;
  padding: 0.7rem 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
}
.service-box .service-tiles li:first-child {
  padding-top: 0.2rem;
  border-top: 0;
}
.service-box .service-tiles span {
  flex: 1;
  min-width: 0;
}
.service-box .svc-zone {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.1rem 0.6rem;
  margin-top: 0.15rem;
  color: var(--ink-2);
}
.svc-zone em {
  color: var(--muted);
  font-style: normal;
}
.svc-zone b {
  margin-left: auto;
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Sold by: the shop, its badge, the brand and how to ask. */
.shop-box {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.shop-box-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.shop-box-logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 1.2rem;
  font-weight: 800;
}
.shop-box-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.shop-box-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.4rem;
  min-width: 0;
}
.shop-box-name small {
  width: 100%;
}
.shop-box-name strong {
  overflow: hidden;
  font-size: 1rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.shop-box-visit {
  flex: none;
  margin-left: auto;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}
.shop-box-visit:hover {
  background: var(--accent);
  color: var(--on-accent);
}
.shop-box-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.5rem;
}
.shop-box-links a {
  display: grid;
  gap: 0.05rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-s);
  background: var(--surface-2);
  color: inherit;
  font-size: 0.75rem;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.shop-box-links a:hover {
  background: var(--accent-soft-2);
}
.shop-box-links span {
  color: var(--muted);
  font-weight: 700;
}
.shop-box-links strong {
  overflow: hidden;
  font-size: 0.9rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.shop-box-links small {
  color: var(--accent-ink);
  font-weight: 700;
}

/* Reviews: the score beside the star bars, chips to filter. */
.reviews {
  max-width: none;
}
.reviews-board {
  display: grid;
  gap: 1rem 2rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--bg);
}
@media (min-width: 640px) {
  .reviews-board {
    grid-template-columns: auto minmax(0, 22rem);
  }
}
.reviews-board .reviews-summary {
  display: grid;
  justify-items: start;
  gap: 0.2rem;
  margin: 0;
}
.reviews-board .reviews-score {
  font-size: 2.6rem;
  line-height: 1;
}
.reviews-score small {
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 700;
}
.reviews-board .stars {
  font-size: 1.15rem;
}
.reviews-count {
  color: var(--muted);
  font-size: 0.85rem;
}
.reviews-bars {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.reviews-bars li {
  display: grid;
  grid-template-columns: 2.2rem 1fr 1.8rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.reviews-bar {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}
.reviews-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f59e0b;
}
.reviews-bar-count {
  color: var(--muted);
  text-align: right;
}
.review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.review-filters button {
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.review-filters button[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
[data-no-cod] .svc-tag.is-cod {
  display: none;
}
.service-box .svc-zone > span,
.service-box .svc-zone > em {
  display: inline;
  flex: none;
}

/* Brand and option filters on category pages (decision 0240). */
.facets {
  display: grid;
  gap: 0.625rem;
  margin: 0.75rem 0 1rem;
}
.facet {
  display: flex;
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-width: 0;
}
.facet-name {
  flex: none;
  min-width: 4.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: capitalize;
  opacity: 0.75;
}
.facet-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.facet-value {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.25rem;
  padding: 0.25rem 0.875rem;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius: 999px;
  color: inherit;
  font-size: 0.8125rem;
  text-decoration: none;
  text-transform: capitalize;
  white-space: nowrap;
  transition:
    border-color 0.15s,
    background-color 0.15s;
}
.facet-value:hover {
  border-color: color-mix(in srgb, currentColor 55%, transparent);
}
.facet-value:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.facet-value.is-on {
  border-color: currentColor;
  background: color-mix(in srgb, currentColor 10%, transparent);
  font-weight: 600;
}
.facet-value.is-on::before {
  content: '✓';
}
.facet-count {
  font-size: 0.75em;
  font-weight: 400;
  opacity: 0.6;
}
@media (max-width: 640px) {
  .facet {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.375rem;
  }
  .facet-values {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .facet-values::-webkit-scrollbar {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .facet-value {
    transition: none;
  }
}

/* Partial Payment (decision 0245): what cash on delivery asks now, under its choice. */
[data-payments] [hidden] {
  display: none !important;
}
.partial-payment-line {
  margin: 0.5rem 0 0;
  font-size: 0.9375em;
  font-weight: 600;
}
