/* ===== Kidoria Clothing: store styles ===== */
:root {
  /* Kidoria Clothing brand palette: deep navy, slate navy & warm tangerine */
  --brand: #001128;
  /* primary deep navy */
  --brand-600: #0F233D;
  /* hover / secondary navy */
  --brand-50: #E8EEF5;
  /* soft navy tint */
  --accent: #F7931E;
  /* tangerine CTA accent */
  --accent-600: #DE7A08;
  --pink: #E11D48;
  --green: #15803D;
  --sky: #0284C7;
  --sun: #F7931E;
  --nav: #0F233D;
  /* category bar */
  --ink: #0F172A;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FAFAFA;
  --surface: #ffffff;
  --surface-2: #F1F5F9;
  --card: #ffffff;
  --save: #ECFDF5;
  --wa: #1fa855;
  --call: #0F233D;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(0, 17, 40, .05);
  --wrap: 1320px;
  --font: 'DM Sans', 'Hind Siliguri', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.45;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

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

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
}

/* ---------- top strip ---------- */
.topstrip {
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 6px 12px;
}

.topstrip b {
  color: var(--sun);
}

/* ---------- header ---------- */
.hdr {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hdr-row {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.logo img {
  height: 40px;
  max-height: 40px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
}

.drawer-head .logo img {
  height: 34px;
  max-width: 150px;
}

.logo-mark {
  width: 38px;
  height: 38px;
}

.logo-txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-txt b {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--brand), var(--pink) 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-txt small {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
}

.search {
  flex: 1;
  max-width: 480px;
  margin: 0 auto 0 6px;
  position: relative;
}

.search input {
  width: 100%;
  height: 42px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: var(--surface-2);
  padding: 0 48px 0 16px;
  font-size: 14px;
  outline: none;
  transition: .15s;
}

.search input:focus {
  border-color: var(--brand);
  background: var(--surface);
}

.search button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
}

.search button .icon {
  width: 17px;
  height: 17px;
}

.suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: 48px;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 17, 40, .15);
  z-index: 60;
  overflow: hidden;
  display: none;
}

.suggest.on {
  display: block;
}

.suggest a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}

.suggest a:hover {
  background: var(--brand-50);
}

.suggest img {
  width: 42px;
  height: 42px;
  border-radius: 5px;
}

.suggest span {
  flex: 1;
  font-size: 14px;
}

.suggest b {
  color: var(--accent);
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.hact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  white-space: nowrap;
}

.hact:hover {
  color: var(--brand);
}

.badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
  line-height: 1;
}

.burger {
  display: none;
}

/* category nav */
.catnav {
  background: var(--nav);
  color: #fff;
  position: relative;
  z-index: 40;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.catnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px 6px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.catnav li {
  position: relative;
}

.catnav>.wrap>ul>li>a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 7px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .15s;
}

.catnav>.wrap>ul>li:first-child {
  display: flex;
  align-items: center;
}

.catnav>.wrap>ul>li:first-child::after {
  content: '';
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .18);
  margin-left: 8px;
}

.catnav a:hover,
.catnav a.on {
  color: var(--sun);
}

.catnav .offer,
.catnav [data-all-shop] {
  color: var(--sun);
  font-weight: 600;
}

.catnav .drop {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 210px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 30px rgba(0, 17, 40, .18);
  padding: 8px 0;
  display: none;
}

.catnav li:hover .drop {
  display: block;
}

.catnav .drop a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
}

.catnav .drop a:hover {
  background: var(--brand-50);
  color: var(--brand);
}

/* ---------- generic section ---------- */
main {
  padding-bottom: 40px;
}

.sec {
  margin-top: 36px;
}

.sec-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 18px;
}

.sec-title span {
  color: var(--accent);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  gap: 12px;
}

.sec-head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  padding-bottom: 8px;
  position: relative;
}

.sec-head h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 46px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent);
}

.sec-head a {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-bottom: 8px;
  white-space: nowrap;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  margin-top: 18px;
  align-items: stretch;
}

.slider {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  height: 100%;
  background: var(--brand-50);
}

.slides {
  display: flex;
  height: 100%;
  transition: transform .5s ease;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  padding: 28px 40px;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.slide h2 {
  font-size: clamp(22px, 3.2vw, 44px);
  line-height: 1.1;
  margin: 0 0 10px;
  font-weight: 800;
}

.slide p {
  margin: 0 0 16px;
  font-size: clamp(13px, 1.3vw, 17px);
  opacity: .9;
}

.slide .art {
  font-size: clamp(64px, 11vw, 160px);
  text-align: center;
  line-height: 1;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .15));
}

.slide .tag {
  display: inline-block;
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 10px;
}

.s1 {
  background: linear-gradient(120deg, #001128, #0F233D);
  color: #fff;
}

.s2 {
  background: linear-gradient(120deg, #F7931E, #DE7A08);
  color: #fff;
}

.s3 {
  background: linear-gradient(120deg, #0F233D, #1E3A5F);
  color: #fff;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  padding: 0;
}

.dots button.on {
  background: var(--surface);
  width: 22px;
  border-radius: 6px;
}

.side-banner {
  border-radius: 6px;
  background: linear-gradient(160deg, #fff4cc, #ffd9e6);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.side-banner h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
}

.side-banner h3 em {
  font-style: normal;
  color: var(--pink);
}

.side-banner .big {
  font-size: 64px;
  position: absolute;
  right: 14px;
  bottom: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  transition: .15s;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-600);
}

.btn-dark {
  background: var(--nav);
  color: #fff;
}

.btn-white {
  background: var(--surface);
  color: var(--brand);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}

.btn-call {
  background: var(--call);
  color: #fff;
}

.btn-out {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: var(--surface);
}

.btn-out:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.trust div {
  background: var(--surface);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: var(--shadow);
  min-width: 0;
}

.trust i {
  font-style: normal;
  font-size: 26px;
  flex: none;
}

.trust b {
  display: block;
  font-size: 14px;
}

.trust small {
  color: var(--muted);
  font-size: 12px;
}

/* ---------- carousel (generic horizontal scroller) ---------- */
.carousel {
  position: relative;
}

.track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}

.track::-webkit-scrollbar {
  display: none;
}

.track>* {
  scroll-snap-align: start;
  flex: none;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(243, 132, 49, .35);
}

.arrow.prev {
  left: -14px;
}

.arrow.next {
  right: -14px;
}

.arrow .icon {
  width: 18px;
  height: 18px;
}

.cdots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.cdots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
}

.cdots span.on {
  background: var(--accent);
  width: 20px;
  border-radius: 6px;
}

/* category tiles */
.arrow {
  transition: opacity .2s;
}

.arrow.off {
  opacity: 0;
  pointer-events: none;
}

.cats .arrow {
  top: 60px;
}

/* centre on the tile box, not box + label */
.cats .track>.cat-tile {
  flex: 1 0 136px;
}

/* tiles stretch to fill the row */
.cat-tile {
  width: 136px;
  text-align: center;
}

.cats .cat-tile .box {
  width: 100%;
}

.cat-tile .box {
  width: 136px;
  height: 120px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 54px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .15s;
}

.cat-tile:hover .box {
  transform: translateY(-3px);
}

.cat-tile span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- product card ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.grid.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.track .pcard {
  width: 228px;
}

.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  transition: box-shadow .15s, transform .15s;
}

.pcard:hover {
  box-shadow: 0 10px 26px rgba(0, 17, 40, .09);
  transform: translateY(-2px);
}

.pcard .thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  display: block;
  background: var(--surface-2);
}

.pcard .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform .3s;
}

.pcard:hover .thumb img {
  transform: scale(1.04);
}

.flag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
}

.flag.best {
  background: #E11D48;
}

.flag.new {
  background: var(--brand);
}

.flag.soldout {
  background: #334155;
}

.flag.save {
  left: auto;
  right: 16px;
  background: #1fa855;
}

.wish {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  color: var(--muted);
}

.pcard .flag.save+.wish {
  top: 44px;
}

.wish .icon {
  width: 17px;
  height: 17px;
}

.wish.on {
  color: var(--pink);
}

.wish.on .icon {
  fill: currentColor;
}

.pcard .age {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-50);
  padding: 1px 8px;
  border-radius: 6px;
  align-self: flex-start;
  margin-top: 10px;
}

.pcard h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 6px 0 4px;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stars {
  color: #ffb400;
  font-size: 13px;
  letter-spacing: 1px;
}

.stars small {
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 4px 0 10px;
}

.price b {
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

.price s {
  color: #9a93ad;
  font-size: 14px;
}

.price .savep {
  background: var(--save);
  color: #2d4300;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 6px;
}

.pcard .cta {
  margin-top: auto;
}

.add {
  width: 100%;
  height: 40px;
  border-radius: 6px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--surface);
  font-size: 14px;
}

.add:hover {
  background: var(--accent);
  color: #fff;
}

.add .icon {
  width: 17px;
  height: 17px;
}

.stepper {
  display: flex;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid var(--accent);
}

.stepper button {
  width: 40px;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  flex: none;
}

.stepper input {
  flex: 1;
  min-width: 0;
  width: 100%;
  text-align: center;
  border: 0;
  font-weight: 700;
  outline: none;
  background: var(--surface);
}

/* promo banners */
.promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.promo {
  border-radius: 6px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 150px;
  overflow: hidden;
}

.promo h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}

.promo p {
  margin: 0 0 12px;
}

.promo .art {
  font-size: 80px;
  flex: none;
}

.promo.p1 {
  background: #E8EEF5;
}

.promo.p2 {
  background: #FFF3E5;
}

.wide-banner {
  border-radius: 6px;
  background: linear-gradient(100deg, var(--nav), var(--brand));
  color: #fff;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.wide-banner h3 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 800;
}

.wide-banner p {
  margin: 0;
  opacity: .85;
}

.wide-banner .code {
  border: 2px dashed var(--sun);
  color: var(--sun);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .08em;
}

/* age shop */
.ages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.age-card {
  border-radius: 6px;
  padding: 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}

.age-card b {
  font-size: 26px;
  font-weight: 800;
}

.age-card span {
  font-size: 13px;
  opacity: .9;
}

.age-card i {
  position: absolute;
  right: 10px;
  bottom: 4px;
  font-size: 54px;
  font-style: normal;
}

.age-card:nth-child(1) {
  background: var(--sky);
}

.age-card:nth-child(2) {
  background: var(--accent);
}

.age-card:nth-child(3) {
  background: var(--pink);
}

.age-card:nth-child(4) {
  background: var(--brand);
}

/* reviews */
.rcard {
  width: 320px;
  background: var(--surface);
  border-radius: 6px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.rcard p {
  margin: 8px 0 12px;
  font-size: 14px;
}

.rcard .who {
  display: flex;
  gap: 10px;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.rcard small {
  color: var(--muted);
  display: block;
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.load-more .btn {
  border-radius: 6px;
  padding: 0 34px;
}

/* ---------- footer ---------- */
/* scroll-to-top with progress ring */
.to-top {
  position: fixed;
  right: 28px;
  bottom: 80px;
  z-index: 69;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.9);
  transition: opacity .25s, transform .25s, visibility .25s;
}

.to-top.on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.tt-ring {
  position: absolute;
  inset: 0;
  width: 34px;
  height: 34px;
  transform: rotate(-90deg);
}

.tt-ring circle {
  fill: none;
  stroke-width: 2.5;
}

.tt-ring circle:first-child {
  stroke: rgba(243, 132, 49, .2);
}

.tt-prog {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset .1s linear;
}

.tt-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px -4px rgba(243, 132, 49, .5);
  transition: transform .2s, background .2s;
}

.tt-btn svg {
  width: 13px;
  height: 13px;
}

.to-top:hover .tt-btn {
  transform: translateY(-2px);
  background: var(--accent-600);
}

@media (max-width: 991px) {
  .to-top {
    right: 14px;
    bottom: 76px;
  }
}

@media (max-width: 767px) {
  .to-top {
    display: none;
  }
}

/* phones: not needed (bottom nav is enough) */

/* ================= footer ================= */
.ftr {
  margin-top: 70px;
  position: relative;
}

/* help banner, overlapping the dark footer */
.ftr-help {
  position: relative;
  z-index: 2;
  margin-bottom: -42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--surface);
  border-radius: 10px;
  padding: 20px 28px;
  box-shadow: 0 12px 32px -12px rgba(0, 17, 40, .18);
  border: 1px solid var(--line);
}

.fh-txt {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.fh-ic {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(247, 147, 30, .12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex: none;
}

.fh-txt b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.fh-txt small {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
}

.fh-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s, filter .15s;
}

.fh-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.fh-btn .icon {
  width: 19px;
  height: 19px;
}

.fh-btn.wa {
  background: #1fa855;
}

/* main */
.ftr-main {
  background: #001128;
  color: #CBD5E1;
  padding: 82px 0 36px;
}

.ftr-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, minmax(120px, 1fr));
  gap: 28px 36px;
}

.ftr-logo {
  display: inline-block;
  background: rgba(255, 255, 255, .96);
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.ftr-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.ftr-brand p {
  margin: 14px 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #CBD5E1;
  max-width: 310px;
}

.ftr-contact {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.ftr-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.55;
  color: #CBD5E1;
}

.ftr-contact .icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
  margin-top: 2px;
}

.ftr-contact a:hover {
  color: #fff;
}

.ftr-social {
  display: flex;
  gap: 10px;
}

.ftr-social a {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 6px;
  transition: transform .18s, box-shadow .18s;
}

.ftr-social a svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ftr-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .6);
}

.fcol summary {
  list-style: none;
  color: #F8FAFC;
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fcol summary::-webkit-details-marker {
  display: none;
}

.fcol ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.fcol li {
  font-size: 14px;
}

.fcol a {
  transition: color .15s, padding .15s;
}

.fcol a:hover {
  color: var(--accent);
  padding-left: 3px;
}

.ftr-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
  color: #E2E8F0;
}

/* bottom bar */
.ftr-bottom {
  background: #000B1B;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 15px 0;
  font-size: 13px;
}

.ftr-bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pays {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.pays em {
  font-style: normal;
  font-size: 13px;
  margin-right: 4px;
}

.pays span {
  background: rgba(255, 255, 255, .08);
  color: #F1F5F9;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
}

.pays .bk {
  color: #e2136e;
}

.pays .ng {
  color: #f26522;
}

.pays .rk {
  color: #8c3494;
}

.pays .vs {
  color: #1a1f71;
  font-style: italic;
}

.pays .mc {
  color: #eb001b;
}

.copy {
  font-size: 13px;
}

@media (min-width: 641px) {
  .fcol summary {
    pointer-events: none;
  }
}

@media (max-width: 1100px) {
  .ftr-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .ftr-brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 24px;
    align-items: start;
  }

  .ftr-brand .ftr-logo {
    grid-row: span 3;
  }

  .ftr-brand p {
    margin-top: 0;
    max-width: none;
  }
}

@media (max-width: 991px) {
  .ftr-help {
    padding: 18px 20px;
  }
}

@media (max-width: 640px) {
  .ftr {
    margin-top: 56px;
  }

  .ftr-help {
    margin-bottom: -60px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
    border-radius: 6px;
    gap: 14px;
  }

  .fh-ic {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }

  .fh-txt b {
    font-size: 16px;
  }

  .fh-txt small {
    font-size: 12.5px;
  }

  .fh-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .fh-btn {
    justify-content: center;
    height: 46px;
    padding: 0 8px;
    font-size: 14px;
    white-space: nowrap;
    gap: 6px;
  }

  .fh-btn .icon {
    width: 17px;
    height: 17px;
  }

  .ftr-main {
    padding-top: 92px;
  }

  .ftr-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ftr-brand {
    display: block;
    text-align: center;
    padding-bottom: 22px;
  }

  .ftr-logo img {
    height: 36px;
  }

  .ftr-brand p {
    margin: 14px auto 14px;
    font-size: 13.5px;
  }

  .ftr-contact {
    justify-items: center;
  }

  .ftr-contact li {
    font-size: 13.5px;
  }

  .ftr-social {
    justify-content: center;
  }

  .fcol {
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .fcol summary {
    margin: 0;
    padding: 15px 2px;
    cursor: pointer;
    font-size: 15px;
  }

  .fcol summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #94A3B8;
    transition: transform .2s;
  }

  .fcol[open] summary::after {
    transform: rotate(45deg);
  }

  .fcol ul {
    padding: 0 2px 16px;
    gap: 12px;
  }

  .ftr-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
    font-size: 12.5px;
    text-align: left;
  }

  .ftr-bottom .wrap {
    flex-direction: column;
    text-align: center;
  }

  .pays {
    justify-content: center;
  }
}

/* ---------- floating ---------- */
/* floating cart: simple two-part tab (colour block + white total) */
.float-cart {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  min-width: 80px;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-radius: 6px 0 0 6px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.fc-top {
  background: var(--accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px 8px;
}

.fc-top .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.fc-top>span {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.fc-tot {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 4px;
  text-align: center;
  white-space: nowrap;
}

.float-cart.bump {
  animation: fcBump .4s ease;
}

@keyframes fcBump {
  50% {
    transform: translateY(-50%) translateX(-6px);
  }
}

.chat {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 70;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(31, 168, 85, .4);
}

.chat .icon {
  width: 28px;
  height: 28px;
}

.bnav {
  display: none;
}

/* ---------- drawers ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(48, 32, 60, .5);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.overlay.on {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(400px, 92vw);
  background: var(--surface);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease;
}

.drawer.right {
  right: 0;
  transform: translateX(100%);
}

.drawer.left {
  left: 0;
  transform: translateX(-100%);
}

.drawer.on {
  transform: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h3 {
  margin: 0;
  font-size: 18px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 18px;
}

.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.x {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.citem {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.citem img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
}

.citem h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.citem .mini {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  height: 30px;
}

.citem .mini button {
  width: 28px;
  background: var(--surface-2);
  font-weight: 700;
}

.citem .mini span {
  min-width: 30px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

.citem .rm {
  color: #b3adc4;
  font-size: 18px;
  align-self: start;
}

.citem .lp {
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}

/* cart drawer upsell */
.dr-up {
  background: var(--surface-2);
  margin: -14px -18px 4px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.dr-up h4 {
  margin: 0;
  font-size: 16px;
  position: relative;
  padding-bottom: 6px;
}

.dr-up h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.dr-arrows {
  display: flex;
  gap: 6px;
}

.dr-arrows button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
}

.dr-arrows .icon {
  width: 16px;
  height: 16px;
}

.dr-uptrack {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-top: 10px;
}

.dr-uptrack::-webkit-scrollbar {
  display: none;
}

.dr-upc {
  flex: 0 0 82%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
}

.dr-upc img {
  width: 72px;
  height: 72px;
  border-radius: 6px;
}

.dr-upc div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.dr-upc b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dr-upc span {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.dr-upc s {
  color: #9a93ad;
  font-weight: 500;
  font-size: 12px;
}

.dr-upc button {
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  padding: 3px 14px;
  font-size: 13px;
  font-weight: 700;
}

.ship-bar {
  background: var(--brand-50);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 6px;
}

.ship-bar .bar {
  height: 6px;
  background: var(--surface);
  border-radius: 4px;
  margin-top: 6px;
  overflow: hidden;
}

.ship-bar .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.row-sb {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.empty {
  text-align: center;
  padding: 50px 10px;
  color: var(--muted);
}

.empty div {
  font-size: 60px;
}

.mmenu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.mmenu a i {
  font-style: normal;
  font-size: 22px;
  width: 30px;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 120;
  opacity: 0;
  transition: .25s;
  pointer-events: none;
  white-space: nowrap;
  max-width: 92vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* option colour swatches (review #12) */
.sw-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
  flex: none;
  vertical-align: middle;
  margin-right: 6px;
}

.pv .sw-dot,
.vp-o .sw-dot {
  margin-right: 6px;
}

/* customer cancels an order (review #30) */
.ord-cancel {
  color: #c2331f !important;
  border-color: #f2c4bd !important;
}

.ord-cancel-f {
  margin-top: 10px;
  background: #fdecea;
  border-radius: 6px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.ord-cancel-f label {
  font-weight: 600;
  font-size: 14px;
}

.ord-cancel-f select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #f2c4bd;
  font: inherit;
}

.ord-cancel-f>div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* payment logos (review #29): product page under the perks, and the footer */
.pay-logo {
  display: block;
  max-width: 100%;
  max-height: 46px;
  width: auto;
  object-fit: contain;
  margin-top: 12px;
}

.ftr-bottom .pay-logo {
  display: inline-block;
  margin: 0 0 0 8px;
  max-height: 30px;
  vertical-align: middle;
  background: #fff;
  border-radius: 6px;
  padding: 2px 6px;
}

/* Fraud Shield OTP popup (KB.otpAsk) */
#kb-otp {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(20, 12, 28, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#kb-otp .otp-box {
  background: var(--surface, #fff);
  border-radius: 6px;
  padding: 22px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

#kb-otp h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

#kb-otp p {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--muted, #526072);
}

#kb-otp .otp-err {
  color: #c2331f;
  font-weight: 600;
}

#kb-otp input {
  width: 100%;
  box-sizing: border-box;
  font-size: 28px;
  letter-spacing: .5em;
  text-align: center;
  padding: 10px;
  border: 2px solid var(--line, #DCE3EC);
  border-radius: 6px;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

#kb-otp input:focus {
  outline: none;
  border-color: var(--brand, #001128);
}

#kb-otp .btn {
  width: 100%;
  justify-content: center;
}

#kb-otp .otp-links {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

#kb-otp .otp-links button {
  background: none;
  border: 0;
  color: var(--brand, #001128);
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
  padding: 6px;
}

/* ---------- breadcrumb / page head ---------- */
.crumb {
  font-size: 13px;
  color: var(--muted);
  padding: 14px 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.crumb a:hover {
  color: var(--brand);
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 0 6px;
  flex-wrap: wrap;
}

.page-head h1 {
  margin: 0;
  font-size: 24px;
}

/* ---------- shop page ---------- */
.shop {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}

.filters {
  display: grid;
  gap: 14px;
}

.fbox {
  background: var(--surface);
  border-radius: 6px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.fbox h4 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  position: relative;
}

.fbox h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

.fbox label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  padding: 4px 0;
  cursor: pointer;
}

.fbox input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.range {
  display: grid;
  gap: 8px;
}

.range .vals {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

.range input {
  width: 100%;
  accent-color: var(--accent);
}

.toolbar {
  background: var(--surface);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.toolbar select {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 10px;
  background: var(--surface);
}

.toolbar .count {
  font-size: 14px;
  color: var(--muted);
}

.fbtn {
  display: none;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.chips button {
  background: var(--brand-50);
  color: var(--brand);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- product page ---------- */
.pbox {
  background: var(--surface);
  border-radius: 6px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  box-shadow: var(--shadow);
}

.gallery {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  min-width: 0;
}

.thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbs button {
  border: 2px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 1;
}

.thumbs button.on {
  border-color: var(--accent);
}

.mainimg {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  min-width: 0;
}

.mainimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pinfo {
  min-width: 0;
}

.pinfo h1 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.2;
}

.pinfo .price b {
  font-size: 28px;
}

.pinfo .price s {
  font-size: 17px;
}

.pinfo .price .savep {
  font-size: 12px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 14px;
}

.eta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -6px 0 14px;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 13.5px;
}

.eta .icon,
.eta svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
}

.hdr-actions .hot span {
  font-weight: 700;
  color: var(--brand);
}

.meta span {
  font-size: 13px;
  background: var(--surface-2);
  padding: 4px 10px;
  border-radius: 6px;
}

.meta .stock {
  background: #e4f8ec;
  color: #137a3d;
  font-weight: 700;
}

.meta .low {
  background: #fff0e4;
  color: #c25200;
}

.qtyrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
}

.qtyrow .stepper {
  width: 140px;
  border-color: var(--line);
}

.qtyrow .stepper button {
  background: var(--surface-2);
  color: var(--ink);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cta-grid .btn {
  height: 48px;
  padding: 0 10px;
  font-size: 14px;
}

.cta-grid .icon {
  width: 19px;
  height: 19px;
}

.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.perks div {
  font-size: 13px;
  background: var(--bg);
  padding: 8px 10px;
  border-radius: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.panel {
  background: var(--surface);
  border-radius: 6px;
  padding: 20px 22px;
  margin-top: 18px;
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.fbt {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.fbt .it {
  flex: 1 1 200px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  min-width: 0;
}

.fbt .it.on {
  border-color: var(--accent);
  background: #FFF3EA;
}

.fbt .it img {
  width: 58px;
  height: 58px;
  border-radius: 5px;
  flex: none;
}

.fbt .it div {
  font-size: 13px;
  min-width: 0;
}

.fbt .op {
  align-self: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--muted);
}

.fbt .sum {
  flex: 0 1 200px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  display: grid;
  gap: 6px;
  align-content: center;
}

.fbt .sum b {
  font-size: 22px;
}

.fbt .sum button {
  background: var(--surface);
  color: var(--accent);
  border-radius: 5px;
  min-height: 36px;
  padding: 6px 8px;
  font-weight: 700;
  line-height: 1.2;
}

/* ---------- Top Selling: wide cards ---------- */
.wide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pcard.wide {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 26px 30px;
  border-color: transparent;
  box-shadow: 0 2px 14px rgba(0, 17, 40, .06);
  border-radius: 6px;
}

.pcard.wide:hover {
  transform: translateY(-3px);
}

.pcard.wide .thumb {
  flex: 0 0 40%;
  max-width: 270px;
  border-radius: 6px;
}

.pcard.wide .flag.best {
  left: auto;
  right: 18px;
  top: 0;
  border-radius: 0 0 5px 5px;
  padding: 5px 10px;
  font-size: 12px;
}

.pcard.wide .flag.new {
  left: auto;
  right: 18px;
  top: 0;
  border-radius: 0 0 5px 5px;
  padding: 5px 10px;
  font-size: 12px;
}

.pcard.wide .wish {
  left: 18px;
  right: auto;
  top: 18px;
}

.winfo {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.winfo .age {
  margin-top: 0;
}

.pcard.wide h3 {
  font-size: 21px;
  font-weight: 700;
  min-height: 0;
  margin: 8px 0 4px;
  -webkit-line-clamp: 2;
}

.pcard.wide .price {
  margin: 6px 0 6px;
  gap: 4px 12px;
}

.pcard.wide .price b {
  font-size: 24px;
}

.pcard.wide .price s {
  font-size: 18px;
}

.winfo>.savep {
  background: var(--save);
  color: #2d4300;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 6px;
}

.wbtns {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  width: 100%;
  max-width: 330px;
}

.wbtns .cta {
  flex: 1;
  margin: 0;
  min-width: 0;
}

.wbtns .add,
.wbtns .stepper,
.wbtns .wbuy {
  height: 46px;
  border-radius: 6px;
  font-size: 15px;
}

.wbtns .wbuy {
  flex: 1;
  padding: 0 12px;
  box-shadow: 0 6px 16px rgba(243, 132, 49, .3);
}

.wbtns .wbuy .icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 1200px) {
  .pcard.wide {
    gap: 18px;
    padding: 20px;
  }

  .pcard.wide h3 {
    font-size: 18px;
  }

  .wbtns {
    flex-direction: column;
  }
}

.price .savep.inl {
  display: none;
}

@media (max-width: 991px) {
  .wbtns {
    flex-direction: row;
  }
}

/* phones: 2-column vertical cards (image, name, price + save, Add To Cart) */
@media (max-width: 767px) {
  .wide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .pcard.wide {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 12px 14px;
    border-radius: 6px;
  }

  .pcard.wide .thumb {
    flex: none;
    width: 100%;
    max-width: none;
    border-radius: 6px;
    background: var(--surface);
  }

  .pcard.wide .flag.best,
  .pcard.wide .flag.new {
    right: 0;
    top: 0;
    border-radius: 0 6px 0 6px;
    font-size: 12px;
    padding: 4px 10px;
  }

  .pcard.wide .wish,
  .pcard.wide .age,
  .pcard.wide .stars,
  .pcard.wide .wbuy,
  .winfo>.savep.blk {
    display: none;
  }

  .winfo {
    padding-top: 0;
  }

  .pcard.wide h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 12px 0 6px;
    -webkit-line-clamp: 1;
  }

  .pcard.wide .price {
    margin: 0 0 12px;
    gap: 4px 8px;
  }

  .pcard.wide .price b {
    font-size: 17px;
  }

  .pcard.wide .price s {
    font-size: 14px;
  }

  .price .savep.inl {
    display: inline-block;
    font-size: 11.5px;
    padding: 1px 7px;
  }

  .wbtns {
    margin-top: auto;
    padding-top: 0;
    max-width: none;
  }

  .wbtns .add,
  .wbtns .stepper {
    height: 36px;
    font-size: 14px;
    border-radius: 6px;
  }
}

@media (max-width: 400px) {
  .wide-grid {
    gap: 10px;
  }

  .pcard.wide {
    padding: 10px 10px 12px;
  }

  .pcard.wide h3 {
    font-size: 14px;
  }

  .pcard.wide .price b {
    font-size: 16px;
  }

  .pcard.wide .price s {
    font-size: 12.5px;
  }

  .price .savep.inl {
    font-size: 10.5px;
    padding: 1px 6px;
  }

  .pcard.wide .flag.best,
  .pcard.wide .flag.new {
    font-size: 10.5px;
    padding: 3px 8px;
  }
}

.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  overflow-x: auto;
}

.tabs button {
  padding: 10px 14px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.tabs button.on {
  color: var(--brand);
  border-color: var(--brand);
}

.desc ul {
  padding-left: 18px;
}

.rating-sum {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.rating-sum .avg {
  text-align: center;
}

.rating-sum .avg b {
  font-size: 46px;
  line-height: 1;
  display: block;
}

.bars div {
  display: grid;
  grid-template-columns: 50px 1fr 40px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  margin: 4px 0;
}

.bars i {
  display: block;
  height: 8px;
  background: #f0ecf6;
  border-radius: 4px;
  overflow: hidden;
}

.bars i em {
  display: block;
  height: 100%;
  background: #ffb400;
}

.video {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--nav), var(--brand));
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
}

.video .play {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ff0033;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  font-size: 28px;
}

.sticky-buy {
  display: none;
}

/* ---------- checkout ---------- */
.co {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: start;
}

.co .card {
  background: var(--surface);
  border-radius: 6px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  min-width: 0;
}

.co h2 {
  font-size: 17px;
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 4px solid var(--accent);
  line-height: 1.2;
}

.login-hint {
  text-align: center;
  font-size: 14px;
  border: 1px dashed var(--line);
  background: var(--surface);
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 16px;
}

.login-hint a {
  display: inline-block;
  margin: 4px 3px 0;
  padding: 2px 12px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

.login-hint a.fill {
  background: var(--accent);
  color: #fff;
}

.field {
  margin-bottom: 12px;
  min-width: 0;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.field label i {
  color: #e5484d;
  font-style: normal;
}

.inp {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: var(--surface);
  outline: none;
}

textarea.inp {
  height: 80px;
  padding: 10px 14px;
  resize: vertical;
}

.inp:focus {
  border-color: var(--brand);
}

.inp.err {
  border-color: #e5484d;
}

.phone {
  display: flex;
}

.phone span {
  flex: none;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  font-weight: 700;
}

.phone .inp {
  border-radius: 0 6px 6px 0;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pay label {
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 12px 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  min-width: 0;
}

.pay label:has(input:checked) {
  border-color: var(--accent);
  background: #FFF3EA;
}

.pay input {
  accent-color: var(--accent);
  flex: none;
}

.pay i {
  font-style: normal;
  font-size: 20px;
  flex: none;
}

.coupon {
  display: flex;
  gap: 8px;
}

.coupon .inp {
  flex: 1;
  min-width: 0;
}

.coupon .btn {
  height: 46px;
  flex: none;
}

.trk-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  max-width: 620px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.trk-form .btn {
  height: 46px;
}

@media (max-width: 640px) {
  .trk-form {
    grid-template-columns: 1fr;
  }
}

.osum .citem {
  grid-template-columns: 56px 1fr auto;
}

.osum .citem img {
  width: 56px;
  height: 56px;
}

.totals div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 15px;
}

.totals .grand {
  border-top: 1px dashed var(--line);
  margin-top: 6px;
  padding-top: 12px;
  font-size: 19px;
  font-weight: 800;
}

.totals .disc {
  color: #137a3d;
}

.agree {
  display: flex;
  gap: 8px;
  font-size: 13px;
  align-items: flex-start;
  margin: 10px 0 14px;
}

.agree input {
  accent-color: var(--accent);
  margin-top: 3px;
  flex: none;
}

.agree a {
  color: var(--accent);
  font-weight: 600;
}

.place {
  width: 100%;
  height: 54px;
  font-size: 17px;
  letter-spacing: .03em;
}

.secure {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.done {
  max-width: 560px;
  margin: 30px auto;
  background: var(--surface);
  border-radius: 6px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.done .tick {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e4f8ec;
  color: #1fa855;
  display: grid;
  place-items: center;
  font-size: 44px;
  margin: 0 auto 12px;
}

.done h1 {
  margin: 0 0 6px;
}

.done .oid {
  display: inline-block;
  background: var(--brand-50);
  color: var(--brand);
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 5px;
  margin: 10px 0 16px;
}

.done .acts {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= one-page checkout (popup + page): minimal ================= */
.ck-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 17, 40, .5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.ck-modal.on {
  opacity: 1;
  pointer-events: auto;
}

.ck {
  --ck-bg: var(--surface-2);
  --ck-line: var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--ink);
}

.ck.is-modal {
  position: relative;
  width: min(540px, 100%);
  max-height: min(92vh, 940px);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 17, 40, .45);
  transform: translateY(16px);
  transition: transform .25s ease;
}

.ck-modal.on .ck.is-modal {
  transform: none;
}

.ck.is-page {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 6px;
  border: 1px solid var(--ck-line);
}

/* header */
.ck-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--ck-line);
}

.ck-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.ck-head small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 2px;
}

.ck-head small svg {
  color: #1fa855;
}

.ck-x {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--ck-bg);
  flex: none;
  transition: .15s;
}

.ck-x:hover {
  background: var(--ck-line);
  color: var(--ink);
}

/* body + sections */
.ck-body {
  padding: 4px 22px 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
}

.ck-sec {
  padding: 18px 0;
  border-bottom: 1px solid var(--ck-line);
}

.ck-sec:last-child {
  border-bottom: 0;
}

.ck-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 15.5px;
  font-weight: 700;
}

.ck-h span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex: none;
}

.ck-h2 {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 600;
}

/* items */
.ck-items {
  display: grid;
  gap: 14px;
}

.ck-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  align-items: center;
}

.ck-item img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--ck-bg);
}

.ck-in {
  min-width: 0;
}

.ck-in b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ck-in small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 1px;
}

.ck-in small s {
  opacity: .7;
  margin-left: 4px;
}

.ck-q {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  border: 1px solid var(--ck-line);
  border-radius: 6px;
  height: 30px;
}

.ck-q button {
  width: 30px;
  height: 28px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  border-radius: 6px;
}

.ck-q button:hover {
  background: var(--ck-bg);
}

.ck-q span {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.ck-ip {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.ck-ip b {
  font-size: 15.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ck-ip button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #b3a9b8;
}

.ck-ip button:hover {
  background: #fdecee;
  color: #d93a4a;
}

/* reward ladder */
.ck-tier {
  margin-top: 16px;
  background: var(--ck-bg);
  border-radius: 6px;
  padding: 12px 34px 6px;
}

.ck-tmsg {
  margin: 0 -20px 12px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink);
}

.ck-tmsg b {
  color: var(--brand);
}

.ck-tbar {
  position: relative;
  height: 4px;
  background: #E3DAE7;
  border-radius: 4px;
  margin: 14px 0 44px;
}

.ck-tbar>i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 4px;
  transition: width .4s ease;
}

.ck-tm {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -13px);
  display: grid;
  justify-items: center;
  width: 84px;
  text-align: center;
}

.ck-tm em {
  font-style: normal;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid #E3DAE7;
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: .2s;
}

.ck-tm.on em {
  border-color: var(--accent);
  background: #FFF3EA;
}

.ck-tm small {
  font-size: 11px;
  line-height: 1.25;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 84px;
}

.ck-tm small:nth-of-type(1) {
  margin-top: 4px;
  color: var(--ink);
  font-weight: 600;
}

.ck-tm.on small:nth-of-type(1) {
  color: var(--accent);
}

/* inputs */
.ck-f {
  margin-bottom: 14px;
}

.ck-f>label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.ck-inp {
  width: 100%;
  height: 50px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  background: var(--ck-bg);
  padding: 0 16px;
  font-size: 15px;
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

textarea.ck-inp {
  height: auto;
  min-height: 50px;
  padding: 13px 16px;
  resize: vertical;
  line-height: 1.45;
}

.ck-inp::placeholder {
  color: #94A3B8;
}

.ck-inp:focus {
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 17, 40, .1);
}

.ck-inp.err {
  border-color: #e5484d;
  background: #fff7f7;
}

.ck-phone {
  display: flex;
  align-items: stretch;
  border-radius: 6px;
  background: var(--ck-bg);
}

.ck-phone span {
  display: flex;
  align-items: center;
  padding: 0 4px 0 16px;
  font-weight: 700;
  color: var(--muted);
  font-size: 15px;
}

.ck-phone .ck-inp {
  padding-left: 8px;
}

/* delivery chips */
.ck-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-radius: 6px;
}

.ck-areas.err {
  outline: 1.5px solid #e5484d;
  outline-offset: 4px;
}

.ck-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 11px 12px;
  border: 1.5px solid var(--ck-line);
  border-radius: 6px;
  cursor: pointer;
  transition: .15s;
  min-width: 0;
}

.ck-chip:hover {
  border-color: #94A3B8;
}

.ck-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ck-chip b {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
}

.ck-chip small {
  font-size: 12.5px;
  color: var(--muted);
}

.ck-chip::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #94A3B8;
  transition: .15s;
}

.ck-chip:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-50);
}

.ck-chip:has(input:checked)::after {
  border: 4.5px solid var(--brand);
}

.ck-chip:has(input:focus-visible) {
  box-shadow: 0 0 0 4px rgba(0, 17, 40, .14);
}

/* payment */
.ck-pays {
  display: grid;
  gap: 8px;
}

.ck-pay {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--ck-line);
  border-radius: 6px;
  cursor: pointer;
  transition: .15s;
  position: relative;
}

.ck-pay:hover {
  border-color: #94A3B8;
}

.ck-pay input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ck-pi {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--ck-bg);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}

.ck-pt {
  flex: 1;
  min-width: 0;
}

.ck-pt b {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 600;
}

.ck-pt small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.ck-save {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #137a3d;
  background: #e4f8ec;
  padding: 1px 8px;
  border-radius: 6px;
}

.ck-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  flex: none;
  transition: .15s;
}

.ck-pay:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-50);
}

.ck-pay:has(input:checked) .ck-dot {
  border: 6px solid var(--brand);
}

.ck-pay:has(input:checked) .ck-pi {
  background: var(--brand);
  color: #fff;
}

.ck-pay:has(input:focus-visible) {
  box-shadow: 0 0 0 4px rgba(0, 17, 40, .14);
}

.ck-onote {
  margin-top: 10px;
  font-size: 13px;
  color: #137a3d;
  padding-left: 2px;
}

.ck-onote[hidden] {
  display: none;
}

/* coupon */
.ck-coupon {
  margin-top: 14px;
}

.ck-coupon summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.ck-coupon summary::-webkit-details-marker {
  display: none;
}

.ck-coupon summary span {
  border-bottom: 1px dashed currentColor;
}

.ck-cbox {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.ck-cbox .ck-inp {
  flex: 1;
  min-width: 0;
  height: 46px;
  text-transform: uppercase;
}

.ck-cbox button {
  flex: none;
  height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.ck-cmsg {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.ck-cmsg.ok {
  color: #137a3d;
}

.ck-cmsg.bad {
  color: #e5484d;
}

/* upsell */
.ck-up {
  padding: 16px 0;
}

.ck-uphead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ck-arrows {
  display: flex;
  gap: 6px;
}

.ck-arrows button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--ck-line);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.ck-arrows button:hover {
  background: var(--ck-bg);
}

.ck-arrows .icon {
  width: 14px;
  height: 14px;
}

.ck-uptrack {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ck-uptrack::-webkit-scrollbar {
  display: none;
}

.ck-upc {
  flex: 0 0 min(250px, 74%);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 8px 8px 8px;
  border-radius: 6px;
  background: var(--ck-bg);
}

.ck-upc img {
  width: 46px;
  height: 46px;
  border-radius: 6px;
}

.ck-upc div {
  min-width: 0;
}

.ck-upc b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ck-upc span {
  font-size: 13px;
  color: var(--muted);
}

.ck-upc button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 1px 4px rgba(0, 17, 40, .12);
  transition: .15s;
}

.ck-upc button:hover {
  background: var(--brand);
  color: #fff;
}

/* summary */
.ck-sum>div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--muted);
}

.ck-sum>div b {
  color: var(--ink);
  font-weight: 600;
}

.ck-sum .g b {
  color: #137a3d;
}

.ck-sum .m {
  color: #a99fae;
  font-weight: 500;
}

.ck-sum .free {
  color: #137a3d;
  font-weight: 700;
}

.ck-sum .t {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--ck-line);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  align-items: baseline;
}

.ck-sum .t b {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.ck-sum .sv {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: 12.5px;
  color: #137a3d;
  background: #eefaf2;
  border-radius: 6px;
  padding: 7px 10px;
}

.ck-note {
  margin: 14px 0 0;
}

.ck-terms {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.ck-terms a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ck-agree {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
  margin: 10px 0 0;
  font-size: 13px;
  cursor: pointer;
}

.ck-agree input {
  margin-top: 3px;
  accent-color: var(--brand);
}

.ck-codnote {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* footer */
.ck-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 16px;
  background: var(--surface);
  border-top: 1px solid var(--ck-line);
}

.ck.is-page .ck-foot {
  position: sticky;
  bottom: 0;
  border-radius: 0 0 6px 6px;
}

.ck-ft {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex: none;
}

.ck-ft small {
  font-size: 12px;
  color: var(--muted);
}

.ck-ft b {
  font-size: 21px;
  font-weight: 800;
  white-space: nowrap;
}

.ck-order {
  flex: 1;
  height: 54px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 700;
  box-shadow: 0 10px 24px -8px rgba(0, 17, 40, .4);
  transition: background .15s, transform .1s;
}

.ck-order:hover {
  background: var(--brand-600);
}

.ck-order:active {
  transform: scale(.99);
}

.ck-order:disabled {
  opacity: .7;
  cursor: wait;
}

.ck-order svg {
  transition: transform .15s;
}

.ck-order:hover svg {
  transform: translateX(3px);
}

/* phones: bottom sheet */
@media (max-width: 640px) {
  .ck-modal {
    padding: 0;
    align-items: flex-end;
  }

  .ck.is-modal {
    width: 100%;
    height: 94dvh;
    max-height: 94dvh;
    border-radius: 6px 6px 0 0;
    transform: translateY(40px);
  }

  .ck.is-modal::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 4px;
    background: #ddd3e1;
  }

  .ck-head {
    padding: 18px 16px 12px;
    position: relative;
  }

  .ck-head h3 {
    font-size: 18px;
  }

  .ck-body {
    padding: 0 16px 6px;
  }

  .ck-sec {
    padding: 16px 0;
  }

  .ck-tier {
    padding: 12px 30px 6px;
  }

  .ck-tm {
    width: 72px;
  }

  .ck-tm small {
    max-width: 72px;
    font-size: 10.5px;
  }

  .ck-areas {
    gap: 6px;
  }

  .ck-chip {
    padding: 10px 9px;
  }

  .ck-chip b {
    font-size: 12.5px;
    padding-right: 14px;
  }

  .ck-chip::after {
    top: 9px;
    right: 8px;
    width: 12px;
    height: 12px;
  }

  .ck-foot {
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    gap: 12px;
  }

  .ck.is-page .ck-foot {
    bottom: 62px;
  }

  .ck-ft b {
    font-size: 19px;
  }

  .ck-order {
    height: 50px;
    font-size: 15.5px;
  }
}

@media (max-width: 370px) {
  .ck-chip b {
    font-size: 12px;
  }

  .ck-tm small:nth-of-type(2) {
    display: none;
  }

  .ck-tbar {
    margin-bottom: 32px;
  }

  .ck-order .tx {
    font-size: 14.5px;
  }
}

/* ================= responsive ================= */
@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid.g4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .wrap {
    padding: 0 16px;
  }

  .catnav,
  .hdr-actions .hide-m,
  .float-cart,
  .search.desk {
    display: none;
  }

  .burger {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-left: -8px;
  }

  /* mobile header: menu | centred logo | icons */
  .hdr-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    height: 60px;
    gap: 10px;
  }

  .burger {
    justify-self: start;
  }

  .logo {
    justify-self: center;
    margin: 0;
  }

  .hdr-actions {
    justify-self: end;
  }

  .logo img {
    height: 32px;
    max-height: 32px;
    max-width: 140px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .logo-txt b {
    font-size: 21px;
  }

  .hdr-actions {
    gap: 14px;
  }

  .hact span {
    display: none;
  }

  .msearch {
    padding: 0 0 10px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .side-banner {
    display: none;
  }

  .slider {
    aspect-ratio: 16 / 9;
  }

  .trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid,
  .grid.g4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop {
    grid-template-columns: 1fr;
  }

  .filters {
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: var(--bg);
    overflow-y: auto;
    padding: 16px;
    transform: translateX(-100%);
    transition: transform .3s;
    align-content: start;
  }

  .filters.on {
    transform: none;
  }

  .fbtn {
    display: inline-flex;
  }

  .pbox {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 14px;
  }

  .co {
    grid-template-columns: 1fr;
  }

  /* bottom nav */
  body {
    padding-bottom: 64px;
  }

  .bnav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: var(--brand);
    color: #fff;
    height: 62px;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 16px rgba(0, 17, 40, .2);
  }

  .bnav a,
  .bnav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #fff;
    position: relative;
  }

  .bnav .icon {
    width: 22px;
    height: 22px;
  }

  .bnav .badge {
    top: 6px;
    right: calc(50% - 20px);
    background: var(--sun);
    color: var(--ink);
  }

  .bnav .wa-btn {
    background: var(--wa);
    margin: -14px 6px 8px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  }

  .chat {
    display: none;
  }

  .toast {
    bottom: 80px;
  }

  .sticky-buy {
    display: grid;
    grid-template-columns: 48px 1fr 1.25fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    background: var(--surface);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px -6px rgba(0, 17, 40, .16);
    border-radius: 6px 6px 0 0;
    transform: translateY(110%);
    transition: transform .3s cubic-bezier(.2, .9, .3, 1);
  }

  .sticky-buy.on {
    transform: none;
  }

  .sticky-buy .btn {
    height: 48px;
    padding: 0 8px;
    font-size: 14px;
    border-radius: 6px;
    min-width: 0;
  }

  .sticky-buy .btn .icon {
    width: 18px;
    height: 18px;
  }

  .sb-wa {
    height: 48px;
    border-radius: 6px;
    background: #e8f8ee;
    color: #1fa855;
    display: grid;
    place-items: center;
  }

  .sb-wa .icon {
    width: 24px;
    height: 24px;
  }

  .bnav {
    transition: transform .3s cubic-bezier(.2, .9, .3, 1);
  }

  body.has-buybar .bnav {
    transform: translateY(130%);
  }

  body.has-buybar .to-top {
    bottom: 84px;
  }
}

@media (min-width: 992px) {
  .msearch {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .hide-xs {
    display: none;
  }

  .topstrip {
    font-size: 12px;
  }

  .sec {
    margin-top: 26px;
  }

  .sec-title {
    font-size: 21px;
    margin-bottom: 12px;
  }

  .sec-head h2 {
    font-size: 18px;
  }

  .slide {
    grid-template-columns: 1.3fr 1fr;
    padding: 16px 18px;
  }

  .slide .btn {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .slide .tag {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .slide p {
    margin-bottom: 10px;
  }

  .trust {
    gap: 8px;
  }

  .trust div {
    padding: 10px;
    gap: 8px;
  }

  .trust i {
    font-size: 22px;
  }

  .trust b {
    font-size: 13px;
  }

  .trust small {
    font-size: 11px;
  }

  .grid,
  .grid.g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .track {
    gap: 10px;
  }

  .track .pcard {
    width: calc((100vw - 32px - 10px) / 2);
  }

  .pcard {
    padding: 8px;
  }

  .pcard h3 {
    font-size: 13.5px;
  }

  .price b {
    font-size: 16px;
  }

  .price s {
    font-size: 12px;
  }

  .flag {
    top: 12px;
    left: 12px;
    font-size: 10px;
    padding: 2px 6px;
  }

  .flag.save {
    right: 12px;
  }

  .wish {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
  }

  .pcard .flag.save+.wish {
    top: 36px;
  }

  .add,
  .stepper {
    height: 36px;
    font-size: 13px;
  }

  .stepper button {
    width: 34px;
  }

  .arrow {
    display: none;
  }

  .cat-tile,
  .cat-tile .box {
    width: 92px;
  }

  .cats .track>.cat-tile {
    flex: 0 0 92px;
  }

  .cat-tile .box {
    height: 86px;
    font-size: 40px;
    border-radius: 6px;
  }

  .cat-tile span {
    font-size: 12px;
    line-height: 1.2;
  }

  .promo-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .promo {
    padding: 18px;
    min-height: 0;
  }

  .promo h3 {
    font-size: 19px;
  }

  .promo .art {
    font-size: 56px;
  }

  .wide-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .wide-banner h3 {
    font-size: 20px;
  }

  .ages {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .age-card {
    min-height: 96px;
    padding: 14px;
  }

  .age-card b {
    font-size: 21px;
  }

  .age-card i {
    font-size: 40px;
  }

  .rcard {
    width: 82vw;
  }

  .page-head h1 {
    font-size: 20px;
  }

  .pinfo h1 {
    font-size: 20px;
  }

  .pinfo .price b {
    font-size: 24px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .thumbs {
    flex-direction: row;
    order: 2;
  }

  .thumbs button {
    width: 60px;
  }

  .cta-grid .btn {
    font-size: 13px;
    height: 46px;
    gap: 6px;
  }

  .perks {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 16px 14px;
  }

  .fbt .op {
    display: none;
  }

  .fbt .sum {
    flex: 1 1 100%;
  }

  .rating-sum {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .two {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pay {
    grid-template-columns: 1fr;
  }

  .co .card {
    padding: 16px 14px;
  }
}

@media (max-width: 380px) {
  .hdr-actions {
    gap: 10px;
  }

  .logo img {
    height: 28px;
    max-height: 28px;
    max-width: 120px;
  }

  .logo-txt b {
    font-size: 19px;
  }

  .logo-txt small {
    display: none;
  }

  .slide h2 {
    font-size: 20px;
  }

  .slide p {
    display: none;
  }

  .cta-grid .btn {
    font-size: 12px;
  }

  .cta-grid .icon {
    width: 16px;
    height: 16px;
  }

  .trust small {
    display: none;
  }
}

/* =====================================================================
   PROFESSIONAL ICON SYSTEM + MOTION (overrides; keep at end of file)
   ===================================================================== */
.icon {
  flex: none;
}

/* top strip & nav */
.topstrip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.topstrip .icon {
  width: 16px;
  height: 16px;
  opacity: .9;
}

.catnav a .icon,
.catnav .offer .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* hero illustrations */
.slide .art {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 120px;
  font-size: 0;
  filter: none;
}

.art .orb {
  width: clamp(118px, 17vw, 236px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 clamp(12px, 1.8vw, 24px) rgba(255, 255, 255, .07), 0 30px 60px -20px rgba(0, 0, 0, .25);
  display: grid;
  place-items: center;
}

.art .orb .icon {
  width: 46%;
  height: 46%;
  color: #fff;
  stroke-width: 1.35;
}

.art .chip {
  position: absolute;
  width: clamp(36px, 4.4vw, 56px);
  aspect-ratio: 1;
  border-radius: 30%;
  background: var(--surface);
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .3);
  animation: kbFloat 4.5s ease-in-out infinite;
}

.art .chip .icon {
  width: 50%;
  height: 50%;
  stroke-width: 2;
}

.art .c1 {
  top: 10%;
  right: 14%;
}

.art .c2 {
  bottom: 12%;
  left: 12%;
  color: var(--accent);
  animation-delay: -2.2s;
}

.s2 .art .c1 {
  color: var(--pink);
}

.s3 .art .c1 {
  color: #1fa855;
}

.s3 .art .c2 {
  color: var(--pink);
}

@keyframes kbFloat {
  50% {
    transform: translateY(-8px) rotate(-3deg);
  }
}

.side-banner .big {
  width: 84px;
  height: 84px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--pink);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 30px -12px rgba(229, 37, 138, .45);
  transform: rotate(-8deg);
  right: 22px;
  bottom: 22px;
  font-size: 0;
}

.side-banner .big .icon {
  width: 42px;
  height: 42px;
  stroke-width: 1.6;
}

/* trust strip */
.trust i {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 0;
}

.trust i .icon {
  width: 22px;
  height: 22px;
}

/* categories */
.cat-tile .box {
  font-size: 0;
}

.cat-ic {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  display: grid;
  place-items: center;
  transition: transform .25s ease;
}

.cat-ic .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.6;
}

.cat-ic.emoji {
  font-size: 34px;
}

.cat-tile .box .cat-ic {
  display: grid;
  margin: 0;
}

.cat-tile:hover .cat-ic {
  transform: scale(1.08) rotate(-4deg);
}

/* age cards & promos */
.age-card i {
  font-size: 0;
  right: 14px;
  bottom: 12px;
  opacity: .9;
}

.age-card i .icon {
  width: 46px;
  height: 46px;
  color: #fff;
  stroke-width: 1.5;
}

.promo .art {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  display: grid;
  place-items: center;
  font-size: 0;
}

.promo .art .icon {
  width: 52px;
  height: 52px;
  stroke-width: 1.5;
}

.promo.p1 .art {
  color: var(--brand);
}

.promo.p2 .art {
  color: #2E9D6B;
}

/* badges */
.flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: .01em;
}

.flag .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.3;
}

/* product page */
.meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta .icon {
  width: 15px;
  height: 15px;
}

.perks div {
  gap: 10px;
}

.perks .icon {
  width: 19px;
  height: 19px;
  color: var(--brand);
}

.video .play {
  display: grid;
  place-items: center;
}

.video .play .icon {
  width: 30px;
  height: 30px;
  fill: #fff;
  stroke: none;
  margin-left: 4px;
}

/* drawers, empty states, done */
.drawer-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-head h3 .icon {
  width: 22px;
  height: 22px;
  color: var(--brand);
}

.x .icon {
  width: 18px;
  height: 18px;
}

.mmenu a i.mi {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 0;
  flex: none;
}

.mmenu a i.mi .icon {
  width: 20px;
  height: 20px;
}

.mmenu a i.mi .cat-ic {
  width: auto;
  height: auto;
  background: none;
}

.mmenu a i.mi .cat-ic.emoji {
  font-size: 20px;
}

.empty-ic {
  width: 84px;
  height: 84px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
}

.empty-ic .icon {
  width: 38px;
  height: 38px;
  stroke-width: 1.5;
}

.done .tick .icon {
  width: 40px;
  height: 40px;
  stroke-width: 2.4;
}

.done .tick.soft {
  background: var(--brand-50);
  color: var(--brand);
}

.done .tick.soft .icon {
  stroke-width: 1.6;
  width: 36px;
  height: 36px;
}

.ship-bar .icon {
  width: 16px;
  height: 16px;
  color: #1fa855;
  vertical-align: -3px;
}

/* toast */
.toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  box-shadow: 0 14px 34px -10px rgba(0, 17, 40, .5);
}

.toast .icon {
  width: 18px;
  height: 18px;
  color: #6EE7A0;
}

.toast span {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* footer */
.fh-ic {
  font-size: 0;
  color: var(--brand);
}

.fh-ic .icon {
  width: 24px;
  height: 24px;
}

.ftr-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ftr-trust .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* checkout bits */
.ck-onote {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ck-onote .icon,
.ck-cmsg .icon {
  width: 15px;
  height: 15px;
  vertical-align: -3px;
}

.ck-sum .g .icon {
  width: 15px;
  height: 15px;
  vertical-align: -2px;
}

/* ---------- checkout reward ladder (professional) ---------- */
.ck-tier {
  background: var(--surface);
  border: 1px solid var(--ck-line);
  border-radius: 6px;
  padding: 14px 36px 6px;
}

.ck-tmsg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 -22px 18px;
  font-size: 13.5px;
}

.ck-tmsg .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}

.ck-tbar {
  height: 6px;
  background: #EFE8F2;
  margin: 16px 0 46px;
}

.ck-tbar>i {
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.ck-tbar>i::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(243, 132, 49, .45);
}

.ck-tm {
  transform: translate(-50%, -15px);
}

.ck-tm em {
  width: 30px;
  height: 30px;
  border: 1.5px solid #E3DAE7;
  background: var(--surface);
  color: #A094A6;
  font-size: 0;
}

.ck-tm em .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.ck-tm.on em {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(243, 132, 49, .6);
}

.ck-tm.on em .icon {
  stroke-width: 2.6;
}

.ck-tm small:nth-of-type(1) {
  margin-top: 6px;
}

/* ---------- motion: add to cart ---------- */
.fly-img {
  position: fixed;
  z-index: 200;
  object-fit: cover;
  border-radius: 6px;
  pointer-events: none;
  box-shadow: 0 18px 40px -10px rgba(0, 17, 40, .45);
  will-change: transform, opacity;
}

.kb-bump {
  animation: kbBump .55s cubic-bezier(.3, 1.6, .5, 1);
}

@keyframes kbBump {
  0% {
    scale: 1;
  }

  35% {
    scale: 1.18;
  }

  65% {
    scale: .95;
  }

  100% {
    scale: 1;
  }
}

.badge.kb-bump,
[data-cart-count].kb-bump {
  animation: kbPop .5s cubic-bezier(.3, 1.8, .5, 1);
}

@keyframes kbPop {
  0% {
    scale: .4;
  }

  60% {
    scale: 1.35;
  }

  100% {
    scale: 1;
  }
}

.cta .stepper {
  animation: kbIn .3s cubic-bezier(.2, 1.4, .4, 1);
}

@keyframes kbIn {
  from {
    opacity: 0;
    transform: scale(.9);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.add,
.btn {
  transition: background .18s, color .18s, transform .12s, box-shadow .18s;
}

.add:active,
.btn:active {
  transform: scale(.97);
}

#addc.added {
  background: #1fa855;
}

@media (prefers-reduced-motion: reduce) {

  .art .chip,
  .kb-bump,
  .cta .stepper {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .cat-ic {
    width: 54px;
    height: 54px;
  }

  .cat-ic .icon {
    width: 27px;
    height: 27px;
  }

  .age-card i .icon {
    width: 36px;
    height: 36px;
  }

  .promo .art {
    width: 84px;
    height: 84px;
  }

  .promo .art .icon {
    width: 40px;
    height: 40px;
  }

  .trust div {
    padding: 10px;
    gap: 8px;
    align-items: flex-start;
    border-radius: 8px;
  }

  .trust b {
    font-size: 12.5px;
    line-height: 1.25;
  }

  .trust small {
    font-size: 11px;
    line-height: 1.3;
    display: block;
  }

  .trust i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .trust i .icon {
    width: 16px;
    height: 16px;
  }

  .art .c1 {
    right: 4%;
  }

  .art .c2 {
    left: 2%;
  }

  .ck-tier {
    padding: 12px 30px 6px;
  }
}

/* ---------- product reviews ---------- */
.rv-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.rv-side {
  background: var(--bg);
  border-radius: 6px;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.rv-avg {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rv-avg>b {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}

.rv-avg small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.rv-stars {
  display: inline-flex;
  gap: 2px;
}

.rv-stars i {
  display: grid;
  color: #E3DAE7;
}

.rv-stars i.on {
  color: #F5A623;
}

.rv-stars .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.rv-stars.sm .icon {
  width: 14px;
  height: 14px;
}

.rv-bars {
  display: grid;
  gap: 6px;
}

.rv-bars div {
  display: grid;
  grid-template-columns: 34px 1fr 26px;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.rv-bars span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
}

.rv-bars span .icon {
  width: 12px;
  height: 12px;
  fill: #F5A623;
  stroke: none;
}

.rv-bars i {
  height: 7px;
  border-radius: 4px;
  background: #ECE4EF;
  overflow: hidden;
}

.rv-bars em {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #F5A623;
}

.rv-bars small {
  color: var(--muted);
  text-align: right;
}

.rv-none {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 6px 0;
}

.rv-none span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFF4E0;
  color: #F5A623;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.rv-none .icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: none;
}

.rv-none small {
  color: var(--muted);
}

.rv-open {
  width: 100%;
  background: var(--brand);
  color: #fff;
}

.rv-open .icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}

.rv-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.rv-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.rv-item:last-child {
  border-bottom: 0;
}

.rv-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rv-top>div {
  flex: 1;
  min-width: 0;
}

.rv-top b {
  display: block;
  font-size: 14.5px;
}

.rv-top small {
  color: var(--muted);
  font-size: 12px;
}

.rv-item p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
}

.rv-photos {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.rv-photos img {
  width: 76px;
  height: 76px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.rv-empty-list {
  margin: 8px 0;
}

/* form */
.rv-form {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  position: relative;
  --ck-bg: var(--surface-2);
}

.rv-form h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.rv-f {
  margin-bottom: 16px;
}

.rv-f>label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
}

.rv-f>label i {
  color: #e5484d;
  font-style: normal;
}

.rv-f>label small {
  color: var(--muted);
  font-weight: 400;
}

.rv-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.rv-pick {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 6px;
}

.rv-pick.err {
  outline: 1.5px solid #e5484d;
}

.rv-pick button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #DCD2E0;
  border-radius: 6px;
  transition: transform .12s, color .12s;
}

.rv-pick button:hover {
  transform: scale(1.12);
}

.rv-pick button.on {
  color: #F5A623;
}

.rv-pick .icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: none;
}

.rv-pick-l {
  margin-left: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.rv-count {
  display: block;
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.rv-f>label.rv-drop {
  display: grid;
  font-weight: 400;
  margin: 0;
}

.rv-drop {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  padding: 22px 16px;
  border: 1.5px dashed #D9CCDF;
  border-radius: 6px;
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.rv-drop:hover,
.rv-drop:focus-visible,
.rv-drop.over {
  border-color: var(--brand);
  background: var(--brand-50);
  outline: none;
}

.rv-drop.full {
  display: none;
}

.rv-drop-ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.rv-drop-ic .icon {
  width: 22px;
  height: 22px;
}

.rv-drop b {
  font-size: 14.5px;
}

.rv-drop small {
  color: var(--muted);
  font-size: 12.5px;
}

.rv-prev {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.rv-prev:empty {
  display: none;
}

.rv-th {
  position: relative;
}

.rv-th img {
  width: 84px;
  height: 84px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}

.rv-th button {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.rv-th .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
}

.rv-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.rv-actions .btn {
  height: 48px;
  border-radius: 6px;
}

.rv-submit .icon {
  width: 18px;
  height: 18px;
}

.rv-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.rv-note .icon {
  width: 15px;
  height: 15px;
  color: #1fa855;
}

.rv-done {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 18px 0 6px;
}

.rv-done span {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e4f8ec;
  color: #1fa855;
  display: grid;
  place-items: center;
}

.rv-done .icon {
  width: 30px;
  height: 30px;
}

.rv-done b {
  font-size: 17px;
  margin-top: 6px;
}

.rv-done p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 767px) {
  .rv-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rv-two {
    grid-template-columns: 1fr;
  }

  .rv-pick button {
    width: 38px;
    height: 38px;
  }

  .rv-pick .icon {
    width: 28px;
    height: 28px;
  }

  .rv-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .rv-note {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- sign in / register ---------- */
.hav {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
}

.hav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-wrap {
  --ck-bg: var(--surface-2);
  --ck-line: var(--line);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  max-width: 1000px;
  margin: 36px auto 10px;
  background: var(--surface);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(74, 18, 80, .35);
  border: 1px solid var(--line);
}

.auth-art {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 44px 40px;
  background: linear-gradient(150deg, #1E3A5F 0%, var(--brand) 45%, #001128 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aa-logo {
  width: 96px;
  height: 96px;
  border-radius: 6px;
  background: var(--surface);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .4);
  margin-bottom: 26px;
}

.aa-logo img {
  width: 74px;
  height: auto;
}

.auth-art h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.auth-art p {
  margin: 0 0 26px;
  opacity: .85;
  font-size: 15px;
}

.auth-art ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.auth-art li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
}

.auth-art li span {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .14);
  display: grid;
  place-items: center;
  flex: none;
}

.auth-art li .icon {
  width: 19px;
  height: 19px;
}

.aa-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.aa-blob.b1 {
  width: 260px;
  height: 260px;
  right: -90px;
  top: -80px;
  background: rgba(243, 132, 49, .35);
  filter: blur(10px);
}

.aa-blob.b2 {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -90px;
  background: rgba(229, 37, 138, .3);
  filter: blur(10px);
}

.auth-card {
  padding: 34px 40px 28px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ck-bg);
  border-radius: 6px;
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tabs button {
  height: 42px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  transition: .2s;
}

.auth-tabs button.on {
  background: var(--surface);
  color: var(--brand);
  box-shadow: 0 4px 12px -4px rgba(74, 18, 80, .25);
}

.auth-h {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.auth-sub {
  margin: 4px 0 20px;
  color: var(--muted);
}

.auth-alert {
  background: #FFF4E5;
  color: #9A4B00;
  border: 1px solid #FFD8A8;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
}

.auth-social {
  display: grid;
  gap: 10px;
}

.soc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .12s, box-shadow .18s, background .18s;
}

.soc svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.soc-g {
  background: var(--surface);
  border: 1.5px solid #DADCE0;
  color: #3C4043;
}

.soc-g:hover {
  background: #F8F9FA;
  box-shadow: 0 4px 14px -6px rgba(60, 64, 67, .35);
}

.soc-f {
  background: #1877F2;
  color: #fff;
}

.soc-f:hover {
  background: #166FE5;
  box-shadow: 0 6px 16px -6px rgba(24, 119, 242, .6);
}

.soc:active {
  transform: scale(.98);
}

.auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.auth-or::before,
.auth-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ck-line);
}

.lbl-row {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
}

.lbl-row a {
  color: var(--brand);
  font-weight: 600;
  font-size: 12.5px;
}

.lbl-row small {
  color: var(--muted);
  font-weight: 400;
}

.pw {
  position: relative;
}

.pw .ck-inp {
  padding-right: 50px;
}

.pw-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  color: var(--muted);
  display: grid;
  place-items: center;
}

.pw-eye:hover {
  background: var(--surface);
  color: var(--ink);
}

.pw-eye .icon {
  width: 20px;
  height: 20px;
}

.auth-submit {
  width: 100%;
  height: 52px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  margin-top: 6px;
  box-shadow: 0 12px 24px -10px rgba(0, 17, 40, .35);
}

.auth-submit:hover {
  background: var(--brand-600);
}

.auth-submit .icon {
  width: 18px;
  height: 18px;
}

.auth-switch {
  text-align: center;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.auth-switch button {
  color: var(--brand);
  font-weight: 700;
}

.auth-terms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
}

.auth-terms .icon {
  width: 14px;
  height: 14px;
  color: #1fa855;
}

.auth-terms a {
  text-decoration: underline;
}

/* my account */
.acct {
  --ck-bg: var(--surface-2);
  --ck-line: var(--line);
  max-width: 1100px;
  margin: 28px auto 0;
}

.acct-welcome,
.acct-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 14px;
}

.acct-welcome {
  background: #E8F8EE;
  color: #137a3d;
}

.acct-tip {
  background: #FFF6EC;
  color: #8A4B10;
}

.acct-welcome .icon,
.acct-tip .icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.acct-head {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(120deg, var(--brand), #1E3A5F);
  color: #fff;
  border-radius: 6px;
  padding: 22px 24px;
  margin-bottom: 18px;
}

.acct-av {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 800;
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .25);
}

.acct-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acct-id {
  flex: 1;
  min-width: 0;
}

.acct-id h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.acct-id small {
  opacity: .85;
  font-size: 13.5px;
}

.via {
  background: rgba(255, 255, 255, .2);
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.acct-out {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  height: 42px;
}

.acct-out:hover {
  background: var(--surface);
  color: var(--brand);
}

.acct-out .icon {
  width: 17px;
  height: 17px;
}

.acct-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: start;
}

.acct-side {
  display: grid;
  gap: 18px;
}

.acct-card {
  background: var(--surface);
  border-radius: 6px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.acct-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 17px;
}

.acct-card h2 .icon {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.acct-card h2 small {
  margin-left: auto;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 12px;
  padding: 1px 10px;
  border-radius: 6px;
}

.acct-form .btn {
  height: 46px;
  border-radius: 6px;
  width: 100%;
}

.ord-list {
  display: grid;
  gap: 10px;
}

.ord {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
}

.ord-top,
.ord-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ord p {
  margin: 6px 0;
  font-size: 13.5px;
  color: var(--muted);
}

.ord-bot small {
  color: var(--muted);
  font-size: 12.5px;
}

.ord-st {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 6px;
  background: #eee;
}

.ord-st.st-pending {
  background: #fff1e0;
  color: #b45309;
}

.ord-st.st-confirmed {
  background: #e6efff;
  color: #1d4ed8;
}

.ord-st.st-shipped {
  background: #f0e6fb;
  color: var(--brand);
}

.ord-st.st-delivered {
  background: #e4f8ec;
  color: #137a3d;
}

.ord-st.st-cancelled,
.ord-st.st-returned {
  background: #fde8ea;
  color: #d93a4a;
}

@media (max-width: 860px) {
  .auth-wrap {
    grid-template-columns: 1fr;
    margin-top: 18px;
    border-radius: 6px;
  }

  .auth-art {
    padding: 26px 22px;
  }

  .auth-art ul,
  .auth-art p {
    display: none;
  }

  .auth-art {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .aa-logo {
    width: 62px;
    height: 62px;
    border-radius: 6px;
    margin: 0;
    flex: none;
  }

  .aa-logo img {
    width: 48px;
  }

  .auth-art h2 {
    font-size: 21px;
    margin: 0;
  }

  .auth-card {
    padding: 22px 18px 20px;
  }

  .acct-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .acct-head {
    flex-wrap: wrap;
    padding: 18px;
  }

  .acct-av {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }

  .acct-out {
    width: 100%;
  }

  .auth-h {
    font-size: 23px;
  }
}

/* =====================================================================
   DARK MODE  (html[data-theme="dark"]) — Kidoria Midnight Navy
   ===================================================================== */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0C1118;
  --surface: #151C28;
  --surface-2: #1E2736;
  --card: #151C28;
  --ink: #F1F5F9;
  --muted: #94A3B8;
  --line: #273244;
  --brand-50: #1A283D;
  --nav: #090E16;
  --shadow: 0 2px 14px rgba(0, 0, 0, .4);
}

[data-theme="dark"] body {
  background: var(--bg);
}

[data-theme="dark"] .hdr {
  border-color: var(--line);
}

[data-theme="dark"] .hdr-actions .hot {
  color: var(--ink);
}

[data-theme="dark"] .hdr-actions .hot span {
  color: var(--accent);
}

[data-theme="dark"] .hdr-actions .hact:hover {
  color: var(--accent);
}

[data-theme="dark"] .logo img {
  background: rgba(255, 255, 255, .95);
  border-radius: 6px;
  padding: 4px 10px;
  box-sizing: border-box;
}

[data-theme="dark"] .search input {
  background: var(--surface-2);
  color: var(--ink);
}

[data-theme="dark"] .search input:focus {
  background: var(--surface);
}

[data-theme="dark"] .toast {
  background: #1E293B;
  color: #fff;
}

[data-theme="dark"] .side-banner {
  background: #1A2536;
}

[data-theme="dark"] .promo.p1 {
  background: #172334;
}

[data-theme="dark"] .promo.p2 {
  background: #261C12;
}

[data-theme="dark"] .promo .art,
[data-theme="dark"] .cat-ic {
  background: var(--surface-2);
}

[data-theme="dark"] .cat-tile .box {
  background: var(--surface) !important;
  border: 1px solid var(--line);
}

[data-theme="dark"] .pcard {
  border-color: var(--line);
}

[data-theme="dark"] .pcard .thumb,
[data-theme="dark"] .mainimg,
[data-theme="dark"] .thumbs button {
  border-color: var(--line);
}

[data-theme="dark"] .meta .stock,
[data-theme="dark"] .ck-save,
[data-theme="dark"] .done .tick,
[data-theme="dark"] .acct-welcome,
[data-theme="dark"] .sb-wa,
[data-theme="dark"] .ck-sum .sv,
[data-theme="dark"] .rv-done span {
  background: rgba(31, 168, 85, .16);
}

[data-theme="dark"] .meta .low,
[data-theme="dark"] .fbt .it.on,
[data-theme="dark"] .acct-tip,
[data-theme="dark"] .auth-alert,
[data-theme="dark"] .rv-none span {
  background: rgba(247, 147, 30, .14);
  border-color: rgba(247, 147, 30, .3);
}

[data-theme="dark"] .acct-tip,
[data-theme="dark"] .auth-alert {
  color: #FDBA74;
}

[data-theme="dark"] .ck-chip:has(input:checked),
[data-theme="dark"] .ck-pay:has(input:checked) {
  background: rgba(59, 130, 246, .14);
  border-color: #60A5FA;
}

[data-theme="dark"] .ck-pay:has(input:checked) .ck-dot,
[data-theme="dark"] .ck-chip:has(input:checked)::after {
  border-color: #60A5FA;
}

[data-theme="dark"] .ck-h span,
[data-theme="dark"] .ck-pay:has(input:checked) .ck-pi {
  background: var(--accent);
}

[data-theme="dark"] .ck-pi,
[data-theme="dark"] .trust i,
[data-theme="dark"] .mmenu a i.mi,
[data-theme="dark"] .empty-ic,
[data-theme="dark"] .rv-drop-ic {
  color: #93C5FD;
}

[data-theme="dark"] .ck-tbar {
  background: var(--surface-2);
}

[data-theme="dark"] .ck-tm em {
  border-color: var(--line);
}

[data-theme="dark"] .ck-cbox button,
[data-theme="dark"] .rv-th button {
  background: var(--accent);
}

[data-theme="dark"] .ck-tmsg b,
[data-theme="dark"] .ck-coupon summary,
[data-theme="dark"] .lbl-row a,
[data-theme="dark"] .auth-switch button,
[data-theme="dark"] .sec-head a,
[data-theme="dark"] .ck-terms a,
[data-theme="dark"] .crumb a:hover,
[data-theme="dark"] .tabs button.on {
  color: var(--accent);
}

[data-theme="dark"] .tabs button.on {
  border-color: var(--accent);
}

[data-theme="dark"] .rv-stars i,
[data-theme="dark"] .rv-pick button {
  color: #334155;
}

[data-theme="dark"] .rv-stars i.on,
[data-theme="dark"] .rv-pick button.on {
  color: #F5A623;
}

[data-theme="dark"] .rv-bars i {
  background: var(--surface-2);
}

[data-theme="dark"] .soc-g {
  border-color: var(--line);
  color: var(--ink);
}

[data-theme="dark"] .soc-g:hover {
  background: var(--surface-2);
}

[data-theme="dark"] .auth-wrap,
[data-theme="dark"] .ftr-help {
  border-color: var(--line);
}

[data-theme="dark"] .auth-tabs button.on,
[data-theme="dark"] .acct-av {
  color: var(--accent);
}

[data-theme="dark"] .ord,
[data-theme="dark"] .fbox,
[data-theme="dark"] .rcard {
  border-color: var(--line);
}

[data-theme="dark"] .btn-out {
  background: transparent;
}

[data-theme="dark"] .fh-btn:not(.wa) {
  background: var(--brand-600);
}

[data-theme="dark"] .price s {
  color: #64748B;
}

[data-theme="dark"] .aa-logo,
[data-theme="dark"] .ftr-logo,
[data-theme="dark"] .btn-white {
  background: #fff;
}

[data-theme="dark"] .btn-dark {
  background: #1E3A5F;
}

[data-theme="dark"] .pcard .age,
[data-theme="dark"] .meta span {
  color: #93C5FD;
}

[data-theme="dark"] img.fly-img {
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .7);
}

/* ---------- theme + language switches ---------- */
.prefs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pref-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .15s, background .15s;
}

.pref-btn:hover {
  border-color: var(--brand);
}

.pref-btn .icon {
  width: 16px;
  height: 16px;
}

.mm-prefs {
  display: grid;
  gap: 10px;
  padding: 14px 4px 6px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}

.mm-prefs>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}

.seg {
  display: inline-grid;
  grid-auto-flow: column;
  background: var(--surface-2);
  border-radius: 6px;
  padding: 3px;
}

.seg button {
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.seg button .icon {
  width: 15px;
  height: 15px;
}

.seg button.on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

@media (max-width: 991px) {
  .prefs {
    display: none;
  }
}

html.i18n-pending body {
  visibility: hidden;
}

/* sign-in identifier field (mobile or email) */
.ck-id {
  position: relative;
}

.ck-id-ic {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  display: grid;
  pointer-events: none;
}

.ck-id-ic .icon {
  width: 18px;
  height: 18px;
}

.ck-id .ck-inp {
  padding-left: 42px;
}

/* ---------- contact button (Messenger / WhatsApp / Chat / Call) ---------- */
/* review #4: the closed menu (hidden items + labels) still took up a ~200×240px invisible box over product cards and footer links and swallowed taps.
   Only the round button, and the items while the menu is open, may catch taps. */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 72;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.fab-main,
.fab.open .fab-items,
.fab.open .fab-it {
  pointer-events: auto;
}

.fab-main {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px -6px rgba(247, 147, 30, .5);
  transition: transform .2s;
}

.fab-main:hover {
  transform: scale(1.05);
}

.fab-main::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: fabPulse 2.4s ease-out infinite;
}

.fab.open .fab-main::after {
  animation: none;
  opacity: 0;
}

@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: .42;
  }

  80%,
  100% {
    transform: scale(1.32);
    opacity: 0;
  }
}

.fab-main .icon {
  width: 20px;
  height: 20px;
}

.fab-o,
.fab-x {
  position: absolute;
  display: grid;
  transition: transform .25s, opacity .2s;
}

.fab-x {
  opacity: 0;
  transform: rotate(-90deg) scale(.6);
}

.fab.open .fab-o {
  opacity: 0;
  transform: rotate(90deg) scale(.6);
}

.fab.open .fab-x {
  opacity: 1;
  transform: none;
}

.fab-items {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.fab:not(.open) .fab-items {
  visibility: hidden;
  transition: visibility 0s .25s;
}

/* fully out of the way once closed (after the fade) */
.fab-it {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px) scale(.9);
  transition: opacity .2s, transform .25s cubic-bezier(.2, 1.3, .4, 1);
}

.fab.open .fab-items {
  pointer-events: auto;
}

.fab.open .fab-it {
  opacity: 1;
  transform: none;
}

.fab.open .fab-it:nth-child(4) {
  transition-delay: 0s;
}

.fab.open .fab-it:nth-child(3) {
  transition-delay: .04s;
}

.fab.open .fab-it:nth-child(2) {
  transition-delay: .08s;
}

.fab.open .fab-it:nth-child(1) {
  transition-delay: .12s;
}

.fab-lb {
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 8px 22px -8px rgba(0, 17, 40, .35);
  white-space: nowrap;
}

.fab-ic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .4);
  flex: none;
}

.fab-ic svg {
  width: 100%;
  height: 100%;
}

.fab-ic.fab-chat {
  background: #2F6FED;
  color: #fff;
}

.fab-ic.fab-call {
  background: #22B35E;
  color: #fff;
}

.fab-ic.fab-chat .icon,
.fab-ic.fab-call .icon {
  width: 24px;
  height: 24px;
}

.fab-it:hover .fab-lb {
  color: var(--brand);
}

.fab-it:hover .fab-ic {
  transform: scale(1.06);
}

.fab .fab-ic {
  transition: transform .15s;
}

@media (max-width: 991px) {
  .fab {
    right: 14px;
    bottom: 76px;
  }

  .fab-main {
    width: 52px;
    height: 52px;
  }

  .fab-ic {
    width: 46px;
    height: 46px;
  }

  body.has-buybar .fab {
    bottom: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fab-main::after {
    animation: none;
  }
}

.to-top {
  bottom: 80px;
}

/* phones: the cart lives in the bottom bar, so the header shows only the account icon */
/* phones: account + cart icons side by side in the header */
/* admin-uploaded banner images */
.slide.slide-img {
  display: block;
  padding: 0;
}

.slide.slide-img img,
.side-banner.side-img img,
.promo.promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.side-banner.side-img,
.promo.promo-img {
  padding: 0;
  overflow: hidden;
}

.promo.promo-img {
  min-height: 0;
  aspect-ratio: auto;
  display: block;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}

.promo.promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* keep the designed banner whole, never crop it */
.hero.no-side {
  grid-template-columns: 1fr;
}

.hero.no-side .slider {
  aspect-ratio: 21 / 7;
}

.custom-html img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .hero.no-side .slider {
    aspect-ratio: 16 / 9;
  }
}

/* footer social: one uniform circular shape for every brand logo */
.ftr-social {
  gap: 10px;
}

.ftr-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: none;
  opacity: .92;
  transition: transform .18s, opacity .18s, border-color .18s;
}

.ftr-social a svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1.12);
}

.ftr-social a:hover {
  transform: translateY(-2px);
  opacity: 1;
  border-color: var(--accent);
}

/* ---------- info pages ---------- */
.ip-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(120deg, var(--brand), #1E3A5F);
  color: #fff;
  border-radius: 6px;
  padding: 26px 28px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.ip-hero::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(243, 132, 49, .35);
  filter: blur(12px);
}

.ip-ic {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .16);
  display: grid;
  place-items: center;
  flex: none;
}

.ip-ic .icon {
  width: 30px;
  height: 30px;
}

.ip-hero h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.ip-hero p {
  margin: 4px 0 0;
  opacity: .88;
}

.ip-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items: start;
}

.ip-nav {
  position: sticky;
  top: 16px;
  background: var(--surface);
  border-radius: 6px;
  padding: 10px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
}

.ip-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}

.ip-nav a .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.ip-nav a:hover {
  background: var(--surface-2);
}

.ip-nav a.on {
  background: var(--brand-50);
  color: var(--brand);
}

.ip-nav a.on .icon {
  color: var(--brand);
}

.ip-body {
  background: var(--surface);
  border-radius: 6px;
  padding: 28px 34px;
  box-shadow: var(--shadow);
  line-height: 1.8;
  font-size: 15.5px;
  min-width: 0;
}

.ip-body h2 {
  font-size: 19px;
  margin: 26px 0 8px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  line-height: 1.35;
}

.ip-body h2:first-child {
  margin-top: 0;
}

.ip-body h3 {
  font-size: 16.5px;
  margin: 18px 0 6px;
}

.ip-body p {
  margin: 0 0 10px;
}

.ip-body ul {
  margin: 0 0 12px;
  padding-left: 4px;
  list-style: none;
  display: grid;
  gap: 6px;
}

.ip-body ul li {
  position: relative;
  padding-left: 22px;
}

.ip-body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: .75em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.ip-body a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ip-body details {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 16px;
  margin-bottom: 10px;
  background: var(--surface);
}

.ip-body details[open] {
  border-color: #d9c3df;
  box-shadow: 0 8px 22px -16px rgba(74, 18, 80, .5);
}

.ip-body summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 30px 14px 0;
  font-weight: 700;
  position: relative;
}

.ip-body summary::-webkit-details-marker {
  display: none;
}

.ip-body summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 10px;
  font-size: 22px;
  color: var(--muted);
  transition: transform .2s;
}

.ip-body details[open] summary::after {
  transform: rotate(45deg);
}

.ip-body details p {
  margin: 0 0 14px;
  color: var(--muted);
}

.ip-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 6px;
  background: var(--surface-2);
}

.ip-help b {
  display: block;
  font-size: 16px;
}

.ip-help small {
  color: var(--muted);
}

.ip-help-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ip-help .btn {
  height: 44px;
  text-decoration: none;
}

.ip-help .btn .icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 860px) {
  .ip-grid {
    grid-template-columns: 1fr;
  }

  .ip-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 6px;
    gap: 4px;
  }

  .ip-nav::-webkit-scrollbar {
    display: none;
  }

  .ip-nav a {
    flex: none;
    padding: 8px 12px;
    font-size: 13.5px;
  }

  .ip-body {
    padding: 20px 18px;
    font-size: 15px;
  }

  .ip-hero {
    padding: 20px;
    border-radius: 6px;
  }

  .ip-hero h1 {
    font-size: 22px;
  }

  .ip-ic {
    width: 48px;
    height: 48px;
    border-radius: 6px;
  }
}

/* admin show/hide switches */
.off-show_topstrip .topstrip,
.off-show_prefs .prefs,
.off-show_prefs .mm-prefs,
.off-show_help .ftr-help,
.off-show_trust_row .ftr-trust,
.off-show_social .ftr-social,
.off-show_fab .fab,
.off-fab_messenger .fab-ms,
.off-fab_whatsapp .fab-wa,
.off-fab_call .fab-tel,
.off-show_bnav_order .bnav .wa-btn,
.off-show_float_cart .float-cart,
.off-show_to_top .to-top,
.off-show_perks .perks,
.off-show_payments .ftr-bottom .pays {
  display: none !important;
}

.off-show_help .ftr-main {
  padding-top: 48px;
}

@media (max-width: 991px) {
  .off-show_bnav_order .bnav {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- customer account area ---------- */
.acct-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 18px;
  align-items: start;
}

.acct-nav {
  position: sticky;
  top: 16px;
  background: var(--surface);
  border-radius: 6px;
  padding: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
}

.acct-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
}

.acct-nav a .icon {
  width: 19px;
  height: 19px;
  color: var(--muted);
}

.acct-nav a:hover {
  background: var(--surface-2);
}

.acct-nav a.on {
  background: var(--brand-50);
  color: var(--brand);
}

.acct-nav a.on .icon {
  color: var(--brand);
}

.acct-nav em {
  margin-left: auto;
  font-style: normal;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  padding: 0 6px;
}

.acct-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.acct-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.as {
  background: var(--surface);
  border-radius: 6px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 2px;
}

.as span {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.as span .icon {
  width: 19px;
  height: 19px;
}

.as b {
  font-size: 20px;
}

.as small {
  color: var(--muted);
  font-size: 12.5px;
}

a.as:hover {
  box-shadow: 0 10px 24px -14px rgba(0, 17, 40, .6);
}

.acct-card h2 .more {
  margin-left: auto;
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
}

.ord {
  padding: 0;
  overflow: hidden;
}

.ord>summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
}

.ord>summary::-webkit-details-marker {
  display: none;
}

.ord[open]>summary {
  background: var(--surface-2);
}

.ord-body {
  padding: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.tl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.tl li {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  position: relative;
}

.tl li::before {
  content: '';
  position: absolute;
  top: 13px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: var(--line);
  z-index: 0;
}

.tl li:first-child::before {
  display: none;
}

.tl li.done::before {
  background: #1fa855;
}

.tl i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  color: transparent;
  position: relative;
  z-index: 1;
}

.tl i .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.tl li.done i {
  background: #1fa855;
  border-color: #1fa855;
  color: #fff;
}

.tl li.done {
  color: var(--ink);
  font-weight: 600;
}

.tl-off {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red, #d93a4a);
  font-weight: 700;
  font-size: 14px;
}

.tl-off .icon {
  width: 18px;
  height: 18px;
}

.ord-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ord-items li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
}

.ord-items img,
.ord-items .ph {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface-2);
  display: grid;
  place-items: center;
}

.ord-items span {
  display: grid;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}

.ord-items span a {
  color: var(--ink);
}

.ord-items small {
  color: var(--muted);
  font-weight: 400;
}

.ord-sum {
  border-top: 1px dashed var(--line);
  padding-top: 10px;
  display: grid;
  gap: 4px;
  font-size: 14px;
}

.ord-sum div {
  display: flex;
  justify-content: space-between;
}

.ord-sum .g {
  color: #137a3d;
}

.ord-sum .t {
  font-weight: 800;
  font-size: 16px;
  margin-top: 4px;
}

.ord-addr {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.ord-addr .icon {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
}

.ord-acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ord-acts .btn {
  height: 42px;
  border-radius: 6px;
  font-size: 14px;
}

.ord-acts .icon {
  width: 17px;
  height: 17px;
}

.acct-main .acct-form .btn {
  width: auto;
  padding: 0 22px;
}

.sec-out {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sec-out .btn {
  height: 42px;
}

.sec-out .icon {
  width: 17px;
  height: 17px;
}

.acct-tip a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .acct-layout {
    grid-template-columns: 1fr;
  }

  .acct-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 6px;
  }

  .acct-nav::-webkit-scrollbar {
    display: none;
  }

  .acct-nav a {
    flex: none;
    padding: 8px 12px;
    font-size: 13.5px;
  }

  .acct-stats {
    grid-template-columns: 1fr 1fr;
  }

  .tl li span {
    font-size: 11px;
  }
}

/* home: shop by age (tabs) */
.age-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.age-tabs button {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  text-align: left;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 17, 40, .04);
  transition: border-color .15s, background .15s, transform .15s;
}

.age-tabs button span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
}

.age-tabs button span .icon {
  width: 20px;
  height: 20px;
}

.age-tabs button b {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.age-tabs button small {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 2px;
}

.age-tabs button:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.age-tabs button.on {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.age-tabs button.on small {
  color: rgba(255, 255, 255, .82);
}

.age-tabs button.on span {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

[data-theme="dark"] .age-tabs button.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

@media (max-width: 640px) {
  .age-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .age-tabs button {
    padding: 10px;
    column-gap: 9px;
  }

  .age-tabs button span {
    width: 34px;
    height: 34px;
  }

  .age-tabs button b {
    font-size: 13.5px;
  }
}

/* footer payment: COD badge */
.pays .cod {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pays .cod .icon {
  width: 16px;
  height: 16px;
}


/* top strip: single row, messages slide up one after another */
.topstrip {
  display: block;
  padding: 0 12px;
}

.topstrip .ts-track {
  position: relative;
  height: 30px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.topstrip .ts-msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .55s;
}

.topstrip .ts-msg span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.topstrip .ts-msg.on {
  opacity: 1;
  transform: none;
}

.topstrip .ts-msg.out {
  opacity: 0;
  transform: translateY(-100%);
}

.topstrip .ts-msg .icon {
  flex: none;
}

.ck-tier[hidden] {
  display: none !important;
}

/* footer trust row: glass tiles with round icon badges */
.ftr-trust {
  display: none !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  padding: 22px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
  text-align: left;
}

.ftr-trust span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #F1F5F9;
  font-weight: 600;
  line-height: 1.3;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform .2s, border-color .2s;
}

.ftr-trust span:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 132, 49, .45);
}

.ftr-trust .icon {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #F7A15A, #F38431 55%, #E2671A);
  box-shadow: 0 8px 18px -8px rgba(243, 132, 49, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}

@media (max-width: 900px) {
  .ftr-trust {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 380px) {
  .ftr-trust {
    gap: 8px;
  }

  .ftr-trust span {
    padding: 10px;
    gap: 9px;
    font-size: 12px;
  }

  .ftr-trust .icon {
    width: 32px;
    height: 32px;
    padding: 7px;
  }
}

/* product buy box: clear primary actions, quieter secondary ones, perks as one tidy card */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cta-grid .btn {
  height: 52px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  gap: 8px;
  box-shadow: none;
  transition: transform .15s, box-shadow .2s, background .2s;
}

.cta-grid .btn .icon {
  width: 20px;
  height: 20px;
}

.cta-grid #addc {
  background: var(--surface);
  color: var(--brand);
  border: 2px solid var(--brand);
}

.cta-grid #addc:hover {
  background: var(--brand-50);
}

.cta-grid #buy {
  background: linear-gradient(135deg, #F7A15A, #F38431 50%, #E2671A);
  color: #fff;
  border: 0;
  box-shadow: 0 12px 24px -12px rgba(243, 132, 49, .9), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.cta-grid #buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -12px rgba(243, 132, 49, 1), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.cta-grid .btn-wa,
.cta-grid .btn-call {
  height: 46px;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  justify-content: center;
}

.cta-grid .btn-wa i,
.cta-grid .btn-call i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.cta-grid .btn-wa i {
  background: #25D366;
}

.cta-grid .btn-call i {
  background: var(--brand);
}

.cta-grid .btn-wa i .icon,
.cta-grid .btn-call i .icon {
  width: 15px;
  height: 15px;
}

.cta-grid .btn-wa:hover {
  border-color: #25D366;
  background: #F0FBF4;
}

.cta-grid .btn-call:hover {
  border-color: var(--brand);
  background: var(--brand-50);
}

.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}

.perks>div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin: 0;
  background: none;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  border-bottom: 1px solid var(--line);
}

.perks>div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.perks>div:nth-last-child(-n+2):nth-child(odd),
.perks>div:last-child {
  border-bottom: 0;
}

.perks>div .icon {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand);
}

.pk-free {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #BFE8D0;
  background: linear-gradient(90deg, #E8F8EE, #F6FCF8);
  color: #17734A;
  font-weight: 700;
  font-size: 13.5px;
}

.pk-free .icon {
  flex: none;
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: #2E9D6B;
  color: #fff;
}

.pk-free+.perks {
  margin-top: 10px;
}

[data-theme="dark"] .pk-free {
  border-color: rgba(46, 157, 107, .35);
  background: linear-gradient(90deg, rgba(46, 157, 107, .18), transparent);
  color: #7FE0B0;
}

[data-theme="dark"] .cta-grid .btn-wa:hover {
  background: rgba(37, 211, 102, .1);
}

@media (max-width: 420px) {
  .cta-grid {
    gap: 8px;
  }

  .cta-grid .btn {
    height: 48px;
    font-size: 14px;
  }

  .cta-grid .btn-wa,
  .cta-grid .btn-call {
    font-size: 12.5px;
    padding: 0 8px;
  }

  .perks>div {
    padding: 10px;
    font-size: 12px;
    gap: 8px;
  }

  .perks>div .icon {
    width: 30px;
    height: 30px;
    padding: 7px;
  }
}

/* frequently bought together with several options: tidy grid + total bar */
.fbt.many {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.fbt.many .op {
  display: none;
}

.fbt.many .sum {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  text-align: left;
  padding: 12px 16px;
}

.fbt.many .sum b {
  order: 1;
}

.fbt.many .sum small {
  order: 0;
  flex: 1;
}

.fbt.many .sum button {
  order: 2;
  padding: 8px 18px;
}

.fbt .it:not(.on) {
  background: var(--surface);
}

.fbt .it:not(.on):hover {
  border-color: var(--accent);
}

/* checkout: free delivery highlight */
.ck-free {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
  padding: 12px 14px;
  border-radius: 6px;
  background: linear-gradient(120deg, #E3F7EC, #F3FBF6 60%, #E9F8EF);
  border: 1.5px solid #9EDDB9;
  color: #145F3D;
  position: relative;
  overflow: hidden;
  animation: kbFreeIn .5s cubic-bezier(.2, .8, .2, 1);
}

.ck-free[hidden] {
  display: none;
}

.ck-free::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: kbShine 2.8s ease-in-out 1s infinite;
  pointer-events: none;
}

.ck-free-ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2E9D6B;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(46, 157, 107, .9);
}

.ck-free-ic .icon {
  width: 22px;
  height: 22px;
}

.ck-free b {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.ck-free small {
  font-size: 12.5px;
  opacity: .85;
}

.ck-areas small s {
  opacity: .55;
}

.ck-fr {
  font-style: normal;
  font-weight: 800;
  color: #1E8A57;
}

[data-theme="dark"] .ck-free {
  background: linear-gradient(120deg, rgba(46, 157, 107, .22), rgba(46, 157, 107, .08));
  border-color: rgba(46, 157, 107, .45);
  color: #8BE6B8;
}

[data-theme="dark"] .ck-free::after {
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .12) 50%, transparent 70%);
}

[data-theme="dark"] .ck-fr {
  color: #6FDCA5;
}

@keyframes kbFreeIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kbShine {
  0% {
    transform: translateX(-100%);
  }

  60%,
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {

  .ck-free,
  .ck-free::after {
    animation: none;
  }
}

/* free delivery ribbon on product images */
.pcard .thumb,
.mainimg {
  position: relative;
}

.fd-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 5px;
  border-radius: 6px;
  background: linear-gradient(135deg, #34B27A, #1E8A57);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  box-shadow: 0 6px 14px -6px rgba(30, 138, 87, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
  white-space: nowrap;
  pointer-events: none;
}

.fd-badge .icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}

.pcard.wide .fd-badge {
  left: 6px;
  bottom: 6px;
  font-size: 10.5px;
}

.mainimg .fd-badge {
  left: 14px;
  bottom: 14px;
  font-size: 13px;
  padding: 6px 14px 6px 6px;
  gap: 7px;
}

.mainimg .fd-badge .icon {
  width: 26px;
  height: 26px;
  padding: 5px;
}

@media (max-width: 400px) {
  .fd-badge {
    font-size: 10px;
    padding: 3px 8px 3px 4px;
  }

  .fd-badge .icon {
    width: 17px;
    height: 17px;
  }
}

/* product tag row: age + free delivery */
.pc-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.pc-tags .age {
  margin-top: 0;
}

.pc-tags .fd-badge {
  position: static;
  font-size: 10.5px;
  padding: 2px 9px 2px 3px;
  gap: 4px;
  box-shadow: none;
}

.pc-tags .fd-badge .icon {
  width: 17px;
  height: 17px;
  padding: 2.5px;
}

.winfo .pc-tags {
  margin-top: 0;
}

.mainimg .fd-badge {
  left: auto;
  right: 14px;
  top: 14px;
  bottom: auto;
}

/* phones: smaller chat button */
@media (max-width: 767px) {
  .fab-main {
    width: 44px;
    height: 44px;
  }

  .fab-main .icon {
    width: 20px;
    height: 20px;
  }

  .fab {
    right: 12px;
    gap: 10px;
  }
}

[data-page="checkout"] .fab {
  display: none;
}

/* ======================================================================
   Liquid glass layer (iOS-style): translucent, blurred, light-edged chrome.
   Content (text, forms, prices) stays on solid surfaces for readability.
   ====================================================================== */
:root {
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-brd: rgba(255, 255, 255, .7);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25);
  --glass-shadow: 0 10px 30px -12px rgba(0, 17, 40, .2);
  --glass-blur: saturate(180%) blur(18px);
}

[data-theme="dark"] {
  --glass: rgba(21, 28, 40, .62);
  --glass-strong: rgba(21, 28, 40, .85);
  --glass-brd: rgba(255, 255, 255, .1);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 -1px 0 rgba(255, 255, 255, .03);
  --glass-shadow: 0 12px 34px -12px rgba(0, 0, 0, .7);
}

/* clean neutral canvas */
body {
  background-image: none;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  /* header: sticky frosted bar on laptops / desktops */
  @media (min-width: 992px) {
    .hdr {
      position: sticky;
      top: 0;
      z-index: 60;
      background: var(--glass-strong);
      -webkit-backdrop-filter: var(--glass-blur);
      backdrop-filter: var(--glass-blur);
      border-bottom: 1px solid var(--glass-brd);
      box-shadow: var(--glass-edge);
    }
  }

  .hdr .search input {
    background: rgba(255, 255, 255, .65);
    box-shadow: inset 0 1px 2px rgba(0, 17, 40, .05);
  }

  [data-theme="dark"] .hdr .search input {
    background: rgba(255, 255, 255, .06);
  }

  .pref-btn {
    background: var(--glass);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-color: var(--glass-brd);
    box-shadow: var(--glass-edge);
  }

  /* search suggestions, toast, floating cart, chat button menu */
  .suggest {
    background: var(--glass-strong);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-brd);
    box-shadow: var(--glass-shadow), var(--glass-edge);
  }

  .toast {
    background: rgba(0, 17, 40, .88);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 16px 36px -12px rgba(0, 17, 40, .55);
  }

  .float-cart {
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, .35);
  }

  .fab-main {
    box-shadow: 0 12px 26px -10px rgba(0, 17, 40, .55), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 6px rgba(0, 0, 0, .15);
  }

  /* drawers (cart, menu, filters) and overlay */
  .overlay {
    background: rgba(0, 17, 40, .28);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    backdrop-filter: blur(6px) saturate(140%);
  }

  .drawer {
    background: var(--glass-strong);
    -webkit-backdrop-filter: saturate(180%) blur(26px);
    backdrop-filter: saturate(180%) blur(26px);
    box-shadow: -20px 0 50px -20px rgba(0, 17, 40, .35), var(--glass-edge);
  }

  .drawer.left {
    box-shadow: 20px 0 50px -20px rgba(0, 17, 40, .35), var(--glass-edge);
  }

  .ck-modal {
    background: rgba(0, 17, 40, .3);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    backdrop-filter: blur(8px) saturate(140%);
  }

  /* phones: bottom tab bar + sticky buy bar as frosted glass */
  @media (max-width: 991px) {
    .bnav {
      background: rgba(98, 26, 106, .78);
      -webkit-backdrop-filter: saturate(180%) blur(20px);
      backdrop-filter: saturate(180%) blur(20px);
      border-top: 1px solid rgba(255, 255, 255, .16);
      box-shadow: 0 -10px 30px -14px rgba(0, 17, 40, .5), inset 0 1px 0 rgba(255, 255, 255, .18);
    }

    .sticky-buy {
      background: var(--glass-strong);
      -webkit-backdrop-filter: var(--glass-blur);
      backdrop-filter: var(--glass-blur);
      border-top: 1px solid var(--glass-brd);
      box-shadow: 0 -10px 30px -14px rgba(0, 17, 40, .35), var(--glass-edge);
    }
  }
}

/* glassy highlights on cards and key buttons (works everywhere) */
.pcard,
.side-banner,
.trust>div {
  box-shadow: var(--shadow, 0 1px 2px rgba(0, 0, 0, .04)), inset 0 1px 0 rgba(255, 255, 255, .7);
}

[data-theme="dark"] .pcard,
[data-theme="dark"] .trust>div {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.btn-accent,
.cta-grid #buy,
.wbuy {
  position: relative;
  overflow: hidden;
}

.btn-accent::before,
.wbuy::before {
  content: "";
  position: absolute;
  inset: 0 0 50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0));
  pointer-events: none;
  border-radius: inherit;
}

@media (min-width: 992px) {

  .ip-nav,
  .acct-nav {
    top: 104px;
  }
}


/* buy buttons never push the page wider (320px phones) */
.cta-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cta-grid .btn {
  min-width: 0;
  padding-left: 8px;
  padding-right: 8px;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .cta-grid .btn {
    font-size: 13px;
    gap: 5px;
  }

  .cta-grid .btn .icon {
    width: 17px;
    height: 17px;
  }

  .cta-grid .btn-wa,
  .cta-grid .btn-call {
    font-size: 11.5px;
  }

  .cta-grid .btn-wa i,
  .cta-grid .btn-call i {
    width: 24px;
    height: 24px;
  }
}

/* phones: compact "Best selling" chip on the photo, free delivery as a quiet green line */
@media (max-width: 767px) {
  .pcard .flag {
    font-size: 9.5px;
    padding: 3px 7px;
    gap: 3px;
    border-radius: 6px;
    line-height: 1.2;
    letter-spacing: 0;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .3);
  }

  .pcard .flag .icon {
    width: 11px;
    height: 11px;
  }

  .pcard.wide .flag {
    top: 14px;
    left: 14px;
    right: auto;
  }

  .pc-tags {
    gap: 4px 8px;
    margin-top: 8px;
  }

  .pc-tags .fd-badge {
    background: none;
    color: #1E8A57;
    padding: 0;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 700;
  }

  .pc-tags .fd-badge .icon {
    width: 15px;
    height: 15px;
    padding: 2px;
    background: #E3F6EC;
    color: #1E8A57;
  }

  [data-theme="dark"] .pc-tags .fd-badge {
    color: #6FDCA5;
  }

  [data-theme="dark"] .pc-tags .fd-badge .icon {
    background: rgba(46, 157, 107, .2);
    color: #6FDCA5;
  }
}

@media (max-width: 991px) {
  .hdr-actions {
    gap: 4px;
  }

  .hdr-actions .hact {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    position: relative;
  }

  .hdr-actions .hact:active {
    background: var(--brand-50);
  }

  .hdr-actions .hact .icon {
    width: 23px;
    height: 23px;
  }

  .hdr-actions .hact .badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10.5px;
    line-height: 18px;
    border: 2px solid var(--surface);
    box-sizing: content-box;
  }
}

@media (max-width: 991px) {
  .hdr-actions .hact.hide-m {
    display: none;
  }

  .wrap.msearch {
    padding: 0 14px 10px;
  }
}

@media (max-width: 767px) {

  .pcard.wide .flag.best,
  .pcard.wide .flag.new,
  .pcard .flag.best,
  .pcard .flag.new {
    top: 14px;
    left: 14px;
    right: auto;
    font-size: 9.5px;
    padding: 3px 8px 3px 6px;
    gap: 3px;
    border-radius: 6px;
    line-height: 1.2;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .35);
  }

  .pcard .flag.best .icon,
  .pcard .flag.new .icon {
    width: 11px;
    height: 11px;
  }
}

/* developer credit */
.dev-credit {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  opacity: .75;
}

.dev-credit a {
  color: var(--sun);
  font-weight: 700;
  text-decoration: none;
}

.dev-credit a:hover {
  text-decoration: underline;
}

/* product page buttons: refined, consistent, app-like */
.cta-grid {
  gap: 10px;
}

.cta-grid .btn {
  height: 50px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .005em;
  text-transform: none;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.cta-grid .btn:active {
  transform: translateY(1px) scale(.99);
}

.cta-grid .btn:focus-visible {
  outline: 3px solid rgba(0, 17, 40, .28);
  outline-offset: 2px;
}

.cta-grid #addc {
  background: var(--brand-50);
  color: var(--brand);
  border: 1.5px solid rgba(0, 17, 40, .18);
}

.cta-grid #addc:hover {
  background: #DCE5F0;
  border-color: rgba(0, 17, 40, .35);
}

.cta-grid #buy {
  background: var(--brand);
  color: #fff;
}

.cta-grid #buy:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
}

.cta-grid #buy::before {
  display: none;
}

.cta-grid .btn-wa,
.cta-grid .btn-call {
  height: 44px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(48, 32, 60, .05);
}

.cta-grid .btn-wa i,
.cta-grid .btn-call i {
  width: 24px;
  height: 24px;
}

.cta-grid .btn-wa i .icon,
.cta-grid .btn-call i .icon {
  width: 13px;
  height: 13px;
}

.cta-grid .btn-wa:hover {
  border-color: #25D366;
  background: #F3FCF6;
  color: #128C4A;
}

.cta-grid .btn-call:hover {
  border-color: var(--brand);
  background: var(--brand-50);
  color: var(--brand);
}

[data-theme="dark"] .cta-grid #addc {
  background: rgba(15, 35, 61, .5);
  color: #E2E8F0;
  border-color: rgba(148, 163, 184, .25);
}

[data-theme="dark"] .cta-grid .btn-wa:hover {
  background: rgba(37, 211, 102, .1);
  color: #6EE7A0;
}

[data-theme="dark"] .cta-grid .btn-call:hover {
  color: #93C5FD;
}

@media (max-width: 420px) {
  .cta-grid .btn {
    height: 48px;
    font-size: 14px;
  }

  .cta-grid .btn-wa,
  .cta-grid .btn-call {
    height: 42px;
    font-size: 12.5px;
  }
}

/* ===================== product options (variations) ===================== */
/* home cards: one Buy Now button */
.pcard .cta .add.buy {
  background: linear-gradient(180deg, #F89A4E, #F38431 55%, #E8731F);
  color: #fff;
  border: 0;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 16px -10px rgba(232, 115, 31, .9);
}

.pcard .cta .add.buy:hover {
  filter: brightness(1.04);
}

[data-page="home"] .pcard.wide .wbtns .cta {
  display: none;
}

[data-page="home"] .pcard.wide .wbtns .wbuy {
  flex: 1;
  width: 100%;
}

.price .prange {
  font-weight: 800;
  color: var(--accent);
  font-size: .8em;
  margin-left: 2px;
}

.cvar,
.ck-var {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 1px 0 3px;
}

.cvar b,
.ck-var b {
  color: var(--brand);
  font-weight: 700;
}

#buy.is-off {
  opacity: .5;
}

/* option chips (product page + picker) */
.pvar {
  margin: 14px 0 4px;
}

.pvar-lab,
.vp-lab {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.pvar-lab b,
.vp-lab b {
  color: var(--ink);
  font-weight: 700;
}

.pvar-opts,
.vp-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pv,
.vp-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  min-width: 74px;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}

.pv.has-img,
.vp-o.has-img {
  padding-left: 5px;
}

.pv img,
.vp-o img {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  object-fit: cover;
}

.pv small,
.vp-o small {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.pv:hover,
.vp-o:hover {
  border-color: rgba(0, 17, 40, .45);
}

.pv.on,
.vp-o.on {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 2px 6px rgba(0, 17, 40, .18);
  color: #fff;
}

[data-theme="dark"] .pv.on,
[data-theme="dark"] .vp-o.on {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.pv:disabled,
.vp-o:disabled {
  opacity: .48;
  border-style: dashed;
  background: var(--surface-2);
  color: var(--muted);
  cursor: not-allowed;
  text-decoration: line-through;
}

/* option picker popup: bottom sheet on phones, centred card on larger screens */
.vp-modal {
  position: fixed;
  inset: 0;
  z-index: 115;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 17, 40, .35);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.vp-modal.on {
  opacity: 1;
  pointer-events: auto;
}

.vp {
  position: relative;
  width: min(460px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--glass-strong, var(--surface));
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  backdrop-filter: saturate(180%) blur(26px);
  border: 1px solid var(--glass-brd, var(--line));
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 30px 70px -20px rgba(0, 17, 40, .55), var(--glass-edge, none);
  transform: translateY(14px) scale(.98);
  transition: transform .25s cubic-bezier(.2, .9, .3, 1);
}

.vp-modal.on .vp {
  transform: none;
}

.vp-grab {
  display: none;
}

.vp-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2, #F3EEF5);
  color: var(--ink);
  border: 0;
  cursor: pointer;
}

.vp-x .icon {
  width: 16px;
  height: 16px;
}

.vp-top {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-right: 36px;
  margin-bottom: 16px;
}

.vp-top>img {
  width: 88px;
  height: 88px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
  background: var(--surface-2, #F3EEF5);
}

.vp-info h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  line-height: 1.3;
}

.vp-price b {
  font-size: 20px;
  color: var(--accent);
  font-weight: 800;
}

.vp-price s {
  margin-left: 6px;
  color: var(--muted);
  font-size: 14px;
}

.vp-info .pc-tags {
  margin-top: 6px;
}

.vp-foot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.vp-q {
  height: 48px;
}

.vp-q button .icon {
  width: 16px;
  height: 16px;
}

.vp-q input {
  width: 42px;
}

.vp-go {
  height: 48px;
  border-radius: 6px;
  border: 0;
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: #fff;
}

.vp-go .icon {
  width: 19px;
  height: 19px;
}

.vp-go em {
  font-style: normal;
  font-weight: 700;
  opacity: .9;
  padding-left: 8px;
  margin-left: 2px;
  border-left: 1px solid rgba(255, 255, 255, .4);
}

.vp-go.is-buy {
  background: var(--accent);
}

.vp-go.is-add {
  background: var(--brand);
}

.vp-go:disabled {
  opacity: .5;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .vp-modal {
    padding: 0;
    align-items: flex-end;
  }

  .vp {
    width: 100%;
    border-radius: 6px 6px 0 0;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }

  .vp-grab {
    display: block;
    width: 40px;
    height: 5px;
    border-radius: 6px;
    background: var(--line);
    margin: 0 auto 10px;
  }

  .vp-top>img {
    width: 72px;
    height: 72px;
  }
}

/* ===================== brand panels: Kidoria clean deep navy ===================== */
.ip-hero,
.auth-art,
.acct-head {
  background-color: #001128;
  background-image: linear-gradient(135deg, #001128 0%, #0F233D 100%);
  color: #fff;
  box-shadow: 0 18px 40px -22px rgba(0, 17, 40, .55);
  isolation: isolate;
}

.ip-hero::after {
  content: none;
}

.aa-blob {
  display: none;
}

.ip-hero>*,
.auth-art>*,
.acct-head>* {
  position: relative;
  z-index: 1;
}

.ip-hero h1,
.auth-art h2,
.acct-head h1,
.acct-head h2 {
  color: #fff;
  letter-spacing: -.01em;
}

.ip-hero p,
.auth-art p {
  color: rgba(255, 255, 255, .82);
  opacity: 1;
}

.auth-art h2 em,
.auth-art h2 b,
.ip-hero h1 em,
.acct-head em {
  font-style: normal;
  color: #F7931E;
}

.ip-ic,
.aa-logo {
  background: rgba(255, 255, 255, .14) !important;
  border: 1px solid rgba(255, 255, 255, .22);
}

.aa-logo {
  background: #fff !important;
}

[data-theme="dark"] .ip-hero,
[data-theme="dark"] .auth-art,
[data-theme="dark"] .acct-head {
  background-color: #090E16;
  background-image: linear-gradient(135deg, #090E16 0%, #151C28 100%);
}

/* header cart: solid cart icon with a round orange count badge */
.hdr-actions [data-open="cart"] .icon {
  stroke-width: 2.3;
  color: var(--ink);
}

.hdr-actions [data-open="cart"] .badge {
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  border: 2px solid var(--surface);
  box-shadow: 0 3px 8px -2px rgba(243, 132, 49, .7);
}

.hdr-actions .hact .badge {
  border-radius: 6px;
  padding: 0 4px;
}

/* header cart badge: small round counter on the cart's top-right corner */
.hdr-actions .hact[data-open="cart"] .badge {
  position: absolute;
  top: 1px;
  right: -3px;
  left: auto;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 6px;
  font-size: 10.5px;
  line-height: 15px;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface);
}

/* ===================== homepage reviews ===================== */
.rv-home .rv-sum:empty {
  display: none;
}

.rv-home .rv-sum {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: -6px 0 18px;
}

.rv-home .rv-sum>b {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}

.rv-home .rv-sum small {
  color: var(--muted);
  font-size: 13.5px;
}

.rs {
  display: inline-flex;
  gap: 2px;
}

.rs i {
  display: grid;
  color: #E2D9E6;
}

.rs i.on {
  color: #FFB020;
}

.rs .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.rv-home .track {
  align-items: stretch;
}

.rcard2 {
  flex: 0 0 min(320px, 82%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -16px rgba(15, 23, 42, .16);
  scroll-snap-align: start;
}

.rc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rc-src {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-2);
  padding: 3px 9px 3px 4px;
  border-radius: 6px;
  white-space: nowrap;
}

.rc-src svg {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.rc-src.src-website svg,
.rc-src.src-phone svg,
.rc-src.src-inperson svg {
  color: var(--brand);
  padding: 1px;
}

.rc-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rc-ph {
  display: flex;
  gap: 6px;
}

.rc-ph a {
  flex: 1;
  max-width: 33%;
}

.rc-ph img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 6px;
  display: block;
}

.rc-ph a:only-child {
  max-width: 100%;
}

.rc-ph a:only-child img {
  aspect-ratio: 4 / 3;
}

.rc-who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.rc-who .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand);
  font-weight: 800;
  flex: none;
}

.rc-who b {
  display: block;
  font-size: 14px;
}

.rc-who small {
  color: var(--muted);
  font-size: 12px;
}

.rc-prod {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--surface-2, #F7F2F8);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.rc-prod img {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  object-fit: cover;
  flex: none;
}

.rc-prod span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-prod .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.rc-prod:hover {
  background: var(--brand-50);
}

/* no reviews yet */
.rv-invite {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 6px;
  background: linear-gradient(120deg, #FFF7EC, #FDF0F7);
  border: 1px solid #F6E1D2;
}

.rv-inv-ic {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #FFB020;
  box-shadow: 0 8px 18px -10px rgba(243, 132, 49, .7);
}

.rv-inv-ic .icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: none;
}

.rv-invite b {
  display: block;
  font-size: 16px;
  margin-bottom: 3px;
}

.rv-invite small {
  color: var(--muted);
  font-size: 13.5px;
}

.rv-invite>div {
  flex: 1;
}

.rv-invite .btn {
  flex: none;
  white-space: nowrap;
}

.rv-via {
  color: var(--brand);
  font-weight: 600;
}

[data-theme="dark"] .rv-invite {
  background: linear-gradient(120deg, rgba(243, 132, 49, .12), rgba(229, 37, 138, .08));
  border-color: var(--line);
}

[data-theme="dark"] .rv-inv-ic {
  background: var(--surface);
}

@media (max-width: 640px) {
  .rv-invite {
    flex-direction: column;
    text-align: center;
    padding: 18px 16px;
  }

  .rv-invite .btn {
    width: 100%;
  }
}

.rv-home .carousel .track>.rcard2 {
  flex: 0 0 300px;
  width: 300px;
  max-width: 84vw;
  min-width: 0;
}

.rc-ph a:only-child img {
  width: 100%;
  height: auto;
  max-height: 250px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rc-ph img {
  max-height: 220px;
  object-fit: contain;
  background: var(--surface-2);
}

[data-theme="dark"] .rc-ph a:only-child img,
[data-theme="dark"] .rc-ph img {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
}

@media (max-width: 640px) {
  .rv-home .carousel .track>.rcard2 {
    flex-basis: 82%;
    width: 82%;
  }
}

/* ===================== final polish (v1) ===================== */
/* phones: home "best picks" wide cards keep their Buy now button */
[data-page="home"] .pcard.wide .wbtns {
  display: flex;
}

[data-page="home"] .pcard.wide .wbtns .wbuy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  border-radius: 6px;
}

/* categories: fixed-size tiles, centred, however many there are */
.carousel.cats .track {
  justify-content: center;
}

.carousel.cats .cat-tile {
  flex: 0 0 150px;
  width: 150px;
}

.carousel.cats .cat-tile .box {
  aspect-ratio: 1;
  height: auto;
}

@media (max-width: 640px) {
  .carousel.cats .track {
    justify-content: flex-start;
  }

  .carousel.cats .cat-tile {
    flex-basis: 108px;
    width: 108px;
  }
}

/* product page: no reviews yet → one centred card, no empty column */
.rv-grid.is-empty {
  display: block;
}

.rv-grid.is-empty .rv-list {
  display: none;
}

.rv-grid.is-empty .rv-side {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

/* floating cart tab only when the cart has something in it (and never on checkout) */
.float-cart:not(.has),
[data-page="checkout"] .float-cart {
  display: none !important;
}

/* categories centred on every screen; auto margins (not justify-content) so many tiles can still scroll */
.carousel.cats .track {
  justify-content: flex-start !important;
}

.carousel.cats .track>.cat-tile:first-child {
  margin-left: auto;
}

.carousel.cats .track>.cat-tile:last-child {
  margin-right: auto;
}

/* search box: always visible against the header (light + dark) */
.hdr .search input {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  height: 42px;
}

.hdr .search input:focus {
  background: #fff !important;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 17, 40, .1);
  outline: none;
}

[data-theme="dark"] .hdr .search input {
  background: rgba(255, 255, 255, .07) !important;
  border-color: rgba(255, 255, 255, .08);
}

[data-theme="dark"] .hdr .search input::placeholder {
  color: #94A3B8;
  opacity: 1;
}

[data-theme="dark"] .hdr .search input:focus {
  background: rgba(255, 255, 255, .1) !important;
}

/* ================= Stage 7 (review #5–#9) ================= */
/* #5 phone bottom bar: the bar used a fixed 62px height that INCLUDED the iPhone home-bar inset, so when the browser
   toolbar collapsed on scroll (inset 0 → 34px) the buttons were squeezed and the middle button's background shrank.
   The row is now always 62px and the inset is added below it. */
@media (max-width: 991px) {
  .bnav {
    height: auto;
    min-height: 0;
    grid-template-rows: 62px;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .bnav>a,
  .bnav>button {
    height: 62px;
    min-height: 62px;
  }

  .bnav .wa-btn {
    height: 58px;
    min-height: 58px;
    margin: -10px 6px 0;
    align-self: start;
    border-radius: 6px;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  body.has-buybar .fab {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }

  body.has-buybar .to-top {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

/* #6 product sticky buy bar: never wraps or overflows; very narrow phones show the cart as an icon */
@media (max-width: 991px) {
  .sticky-buy {
    grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.35fr);
    align-items: center;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .sticky-buy .btn {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
  }

  .sticky-buy .btn>span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sticky-buy .btn .icon {
    flex: none;
  }

  .sticky-buy .sb-buy {
    font-weight: 800;
  }
}

@media (max-width: 370px) {
  .sticky-buy {
    grid-template-columns: 44px 48px minmax(0, 1fr);
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .sticky-buy .sb-add>span,
  .sticky-buy .sb-add {
    font-size: 0;
  }

  .sticky-buy .sb-add .icon {
    width: 20px;
    height: 20px;
  }

  .sticky-buy .btn {
    font-size: 13px;
  }
}

@media (min-width: 600px) and (max-width: 991px) {
  .sticky-buy {
    padding-left: max(12px, calc((100vw - 640px) / 2));
    padding-right: max(12px, calc((100vw - 640px) / 2));
  }
}

/* #7 search suggestions */
.suggest {
  top: calc(100% + 8px);
  border-radius: 6px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
}

.suggest a {
  border-bottom: 0;
  border-radius: 6px;
}

.suggest .sg-p {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 8px 10px;
}

.suggest .sg-p img {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface-2);
}

.suggest .sg-p span {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: inherit;
  flex: initial;
}

.suggest .sg-p .nm {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.suggest .sg-p small {
  font-size: 12px;
  color: var(--muted);
}

.suggest .sg-p small em {
  color: #c0392b;
  font-style: normal;
  font-weight: 600;
}

.suggest .sg-p .pr {
  text-align: right;
  align-content: center;
}

.suggest .sg-p .pr b {
  color: var(--accent);
  font-size: 14px;
}

.suggest .sg-p .pr s {
  font-size: 11.5px;
  color: var(--muted);
}

.suggest mark {
  background: none;
  color: var(--brand);
  font-weight: 800;
}

.suggest a:hover,
.suggest a.kb {
  background: var(--brand-50);
}

.sg-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.sg-h button {
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.sg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 8px 8px;
}

.sg-chips.top {
  padding-top: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.suggest .sg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.suggest .sg-chip .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.suggest .sg-chip.cat {
  background: var(--brand-50);
  color: var(--brand);
}

.suggest .sg-chip.cat .icon {
  color: var(--brand);
}

.suggest .sg-all {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 11px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--brand);
  border-top: 1px solid var(--line);
  border-radius: 0 0 6px 6px;
}

.suggest .sg-all .icon {
  width: 16px;
  height: 16px;
}

.sg-none {
  text-align: center;
  padding: 18px 12px 10px;
}

.sg-none>.icon {
  width: 30px;
  height: 30px;
  color: var(--muted);
}

.sg-none p {
  margin: 6px 0 2px;
  font-weight: 700;
}

.sg-none small {
  color: var(--muted);
}

.sg-none .sg-chips {
  justify-content: center;
  padding-top: 10px;
}

@media (max-width: 991px) {
  .msearch .suggest {
    position: absolute;
    left: 0;
    right: 0;
  }
}

/* #9 frequently bought together: compact box right above the buttons (reference layout) */
.fbt2 {
  margin: 16px 0 12px;
  padding: 12px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--brand-50) 70%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 12%, transparent);
}

.fbt2-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 2px 10px;
}

.fbt2-h b {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brand);
}

.fbt2-h small {
  font-size: 12.5px;
  color: var(--ink);
}

.fbt2-h small b {
  font-size: 13.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}

.fbt2-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.fbt2-it {
  flex: 0 0 min(250px, 78%);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 22px 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}

.fbt2-it:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, transparent);
}

.fbt2-it.on {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
}

.fbt2-it input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.fbt2-it img {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface-2);
}

.fbt2-it span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.fbt2-it em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink);
}

.fbt2-it b {
  font-size: 14.5px;
  color: var(--ink);
}

.fbt2-it s {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}

/* buttons: quantity + Add to Cart, full-width Buy Now, "or order instantly", WhatsApp / Call (reference layout) */
.cta-grid.cta2 {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.cta2 .qty2 {
  flex: 0 0 132px;
  height: 50px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.cta2 .qty2 button {
  width: 40px;
  background: none;
  color: var(--ink);
  font-size: 20px;
}

.cta2 .qty2 button:hover {
  background: var(--surface-2);
}

.cta2 .qty2 input {
  background: none;
  font-size: 16px;
}

.cta2 #addc {
  flex: 1 1 0;
  min-width: 0;
}

.cta2 #buy {
  flex: 1 1 100%;
  height: 52px;
  font-size: 16px;
}

.cta2 .or-line {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.cta2 .or-line::before,
.cta2 .or-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.cta2 .btn-wa,
.cta2 .btn-call {
  flex: 1 1 calc(50% - 5px);
  min-width: 0;
}

@media (max-width: 380px) {
  .cta2 .qty2 {
    flex-basis: 112px;
  }

  .cta2 .qty2 button {
    width: 34px;
  }
}

/* #8 trust / delivery info: its own soft box below the buttons, so it never looks like another button */
.pinfo-trust {
  margin-top: 20px;
}

.pinfo-trust .perks {
  margin-top: 0;
  border: 0;
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface-2) 70%, var(--surface));
  box-shadow: none;
}

.pinfo-trust .perks>div {
  background: none;
  border-color: color-mix(in srgb, var(--line) 80%, transparent);
  font-weight: 500;
  color: var(--ink);
  font-size: 12.5px;
  padding: 12px 14px;
}

.pinfo-trust .perks>div .icon {
  width: 22px;
  height: 22px;
  padding: 0;
  background: none;
  color: var(--brand);
}

.pinfo-trust .pk-free {
  margin-top: 0;
  margin-bottom: 10px;
}

.pinfo-trust .pay-logo {
  margin-top: 14px;
}

@media (max-width: 640px) {
  .pinfo-trust .perks {
    grid-template-columns: 1fr 1fr;
  }

  .pinfo-trust .perks>div {
    padding: 10px 12px;
  }
}

[data-theme="dark"] .fbt2 {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .08);
}

/* #10 Track Order: modern card, progress bar and step timeline with a gentle animation */
.trk {
  grid-column: 1 / -1;
  max-width: 720px;
  width: 100%;
  margin: 18px auto 30px;
  display: grid;
  gap: 16px;
}

.trk-card {
  background: var(--surface);
  border-radius: 6px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(48, 32, 60, .05), 0 12px 32px -18px rgba(48, 32, 60, .25);
  border: 1px solid var(--line);
}

.trk-top {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 6px 16px;
  align-items: center;
}

.trk-ic {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand);
}

.trk-ic .icon {
  width: 26px;
  height: 26px;
}

.trk-top h1 {
  font-size: 22px;
  margin: 0;
}

.trk-top p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.trk .trk-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  max-width: none;
  margin: 12px 0 0 !important;
  align-items: end;
}

.trk-form label {
  display: grid;
  gap: 5px;
}

.trk-form label span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
}

.trk-form .inp {
  height: 48px;
  border-radius: 6px;
}

.trk-form .btn {
  height: 48px;
  border-radius: 6px;
  padding: 0 20px;
  gap: 8px;
}

.trk-hint {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12.5px;
}

.trk-msg {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
  padding: 20px;
}

.trk-msg .icon {
  width: 28px;
  height: 28px;
}

.trk-msg p {
  margin: 4px 0 0;
  font-weight: 600;
}

.trk-msg small {
  color: var(--muted);
}

.trk-msg.err .icon {
  color: #d64545;
}

.trk-load {
  display: grid;
  gap: 12px;
}

.trk-load span {
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2));
  background-size: 200% 100%;
  animation: trkShimmer 1.2s infinite;
}

.trk-load span:nth-child(1) {
  width: 40%;
}

.trk-load span:nth-child(3) {
  width: 70%;
}

@keyframes trkShimmer {
  to {
    background-position: -200% 0;
  }
}

.trk-res {
  display: grid;
  gap: 16px;
  animation: trkIn .35s ease both;
}

@keyframes trkIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.trk-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.trk-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.trk-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: .01em;
}

.trk-pill {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--brand-50);
  color: var(--brand);
  white-space: nowrap;
}

.trk-pill.s-done {
  background: #e6f7ee;
  color: #17734a;
}

.trk-pill.s-cancelled,
.trk-pill.s-lost {
  background: #fdeceb;
  color: #b42318;
}

.trk-pill.s-returned,
.trk-pill.s-waiting,
.trk-pill.s-pickup_failed {
  background: #fff4e0;
  color: #9a5b00;
}

.trk-pill.s-preorder {
  background: #e8f0ff;
  color: #2459c6;
}

.trk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 13px;
}

.trk-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trk-meta .icon {
  width: 16px;
  height: 16px;
}

.trk-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13.5px;
}

.trk-alert .icon {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
}

.trk-alert b {
  display: block;
}

.trk-alert span {
  color: inherit;
  opacity: .85;
}

.trk-alert.red {
  background: #fdeceb;
  color: #9b1c1c;
}

.trk-alert.amber {
  background: #fff4e0;
  color: #8a5300;
}

.trk-alert.blue {
  background: #e8f0ff;
  color: #1d4aa8;
}

.trk-bar {
  height: 8px;
  border-radius: 6px;
  background: var(--surface-2);
  overflow: hidden;
}

.trk-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  animation: trkBar 1s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes trkBar {
  from {
    width: 0;
  }
}

.trk-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.trk-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding-bottom: 18px;
  animation: trkIn .4s ease both;
  animation-delay: var(--d);
}

.trk-steps li:last-child {
  padding-bottom: 0;
}

.trk-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.trk-steps li.ok:not(:last-child)::after {
  background: var(--brand);
}

.trk-steps i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.trk-steps i .icon {
  width: 17px;
  height: 17px;
}

.trk-steps li.ok i {
  background: var(--brand);
  color: #fff;
}

.trk-steps li.now i {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent);
  animation: trkPulse 1.8s infinite;
}

@keyframes trkPulse {
  70% {
    box-shadow: 0 0 0 10px transparent;
  }

  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.trk-steps li.off {
  opacity: .45;
}

.trk-steps li div {
  padding-top: 7px;
}

.trk-steps b {
  display: block;
  font-size: 14.5px;
}

.trk-steps small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 1px;
}

.trk-steps p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  padding: 8px 10px;
  border-radius: 6px;
}

.trk-steps li.todo b {
  color: var(--muted);
  font-weight: 600;
}

.trk-courier {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--surface-2);
}

.trk-courier>.icon {
  width: 24px;
  height: 24px;
  color: var(--brand);
}

.trk-courier small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.trk-courier .mono {
  font-family: ui-monospace, Consolas, monospace;
}

.trk-courier .btn {
  height: 36px;
  padding: 0 12px;
  gap: 6px;
  margin-left: auto;
  font-size: 13px;
}

.trk-courier .btn .icon {
  width: 15px;
  height: 15px;
}

.trk-items {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
}

.trk-items summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

.trk-items summary small {
  color: var(--muted);
  font-weight: 500;
}

.trk-items ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.trk-items li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
}

.trk-items li small {
  color: var(--muted);
}

.trk-tot {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.trk-tot b {
  color: var(--ink);
}

.trk-help {
  height: 48px;
  border-radius: 6px;
  gap: 8px;
  justify-content: center;
}

@media (max-width: 640px) {
  .trk {
    margin-top: 8px;
  }

  .trk-card {
    padding: 16px;
    border-radius: 6px;
  }

  .trk-top {
    grid-template-columns: 44px 1fr;
  }

  .trk-ic {
    width: 44px;
    height: 44px;
    border-radius: 6px;
  }

  .trk-top h1 {
    font-size: 19px;
  }

  .trk .trk-form {
    grid-template-columns: 1fr;
  }

  .trk-form .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .trk-res,
  .trk-steps li,
  .trk-bar i,
  .trk-steps li.now i,
  .trk-load span {
    animation: none !important;
  }
}

[data-theme="dark"] .trk-pill.s-done {
  background: rgba(31, 168, 85, .15);
  color: #6fe0a0;
}

[data-theme="dark"] .trk-alert.red,
[data-theme="dark"] .trk-pill.s-cancelled {
  background: rgba(229, 72, 77, .15);
  color: #ff9b9b;
}

[data-theme="dark"] .trk-alert.amber {
  background: rgba(255, 180, 0, .12);
  color: #ffcf73;
}

/* ================= Minimal storefront (reference: clean product cards, compact product page) ================= */
/* product cards: white card, square photo, 2-line name, price + old price + small save tag, thin outline button */
html body .pcard,
html body .pcard.wide {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  border-radius: 6px;
  padding: 10px 10px 12px;
  box-shadow: 0 1px 2px rgba(48, 32, 60, .04);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  transform: none;
}

html body .pcard:hover {
  box-shadow: 0 6px 18px -10px rgba(48, 32, 60, .25);
  transform: none;
}

html body .pcard .thumb,
html body .pcard.wide .thumb {
  flex: none;
  width: 100%;
  max-width: none;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--surface-2);
}

html body .pcard:hover .thumb img {
  transform: scale(1.03);
}

html body .pcard .flag.save,
html body .pcard .pc-tags,
html body .pcard .stars,
html body .pcard .winfo>.savep.blk {
  display: none !important;
}

html body .pcard .flag.best,
html body .pcard .flag.new,
html body .pcard.wide .flag.best,
html body .pcard.wide .flag.new {
  top: 10px;
  right: 10px;
  left: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 0 6px 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  box-shadow: none;
  color: #fff;
}

html body .pcard .flag.best {
  background: #ef4444;
}

html body .pcard .flag.new {
  background: var(--brand);
}

html body .pcard .flag .icon {
  width: 12px;
  height: 12px;
}

html body .pcard .wish,
html body .pcard.wide .wish {
  display: grid;
  top: 16px;
  left: 16px;
  right: auto;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

html body .pcard .wish .icon {
  width: 16px;
  height: 16px;
}

html body .pcard h3,
html body .pcard.wide h3 {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  margin: 10px 0 6px;
  min-height: 2.7em;
  -webkit-line-clamp: 2;
  color: var(--ink);
  letter-spacing: 0;
}

html body .pcard .price,
html body .pcard.wide .price {
  margin: 0 0 10px;
  gap: 2px 8px;
  align-items: center;
}

html body .pcard .price b,
html body .pcard.wide .price b {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

html body .pcard .price s,
html body .pcard.wide .price s {
  font-size: 12.5px;
  color: var(--muted);
}

html body .pcard .price .savep,
html body .pcard .price .savep.inl {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  background: #c8f169;
  color: #2d4300;
}

html body .pcard .cta {
  margin-top: auto;
}

html body .pcard .cta .add,
html body .pcard .cta .add.buy,
html body[data-page="home"] .pcard.wide .wbtns .wbuy {
  width: 100%;
  height: 36px;
  border-radius: 5px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
  gap: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: none;
  text-transform: none;
}

html body .pcard .cta .add:hover,
html body .pcard .cta .add.buy:hover,
html body[data-page="home"] .pcard.wide .wbtns .wbuy:hover {
  background: var(--accent);
  color: #fff;
}

html body .pcard .cta .add .icon,
html body .pcard .wbuy .icon {
  width: 15px;
  height: 15px;
}

html body[data-page="home"] .pcard.wide .wbtns .wbuy::before {
  display: none;
}

html body .pcard .cta .stepper {
  height: 36px;
  border-radius: 5px;
  border-width: 1px;
}

html body .pcard .winfo {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

html body .pcard .wbtns {
  margin-top: auto;
}

[data-theme="dark"] html body .pcard .wish,
html[data-theme="dark"] body .pcard .wish {
  background: rgba(30, 24, 34, .85);
}

/* phone bottom bar: five equal flat buttons (Home · Menu · Cart · Search · Account), same colours as before */
@media (max-width: 991px) {
  .bnav.bnav5 {
    grid-template-columns: repeat(5, 1fr) !important;
  }

  .bnav.bnav5>a,
  .bnav.bnav5>button {
    height: 58px;
    min-height: 58px;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .03em;
  }

  .bnav.bnav5 {
    grid-template-rows: 58px;
  }

  .bnav.bnav5 .icon {
    width: 21px;
    height: 21px;
  }

  .bnav.bnav5 a.on {
    opacity: 1;
  }

  .bnav.bnav5>*:not(.on) {
    opacity: .92;
  }

  .bnav.bnav5 .badge {
    top: 5px;
    right: calc(50% - 19px);
  }

  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
}

/* product page (reference: everything that matters in the first screen on a phone) */
html body .pinfo .meta>span:not(.low),
html body .mainimg .flag,
html body .mainimg .fd-badge {
  display: none !important;
}

html body .pinfo .meta {
  margin: 0 0 8px;
}

html body .pinfo .meta:not(:has(.low, .sold)) {
  display: none;
}

html body .pinfo .meta .low,
html body .pinfo .meta .sold {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 700;
}

html body .pinfo .meta .sold {
  background: #FEE2E2;
  color: #B91C1C;
}

[data-theme="dark"] .pinfo .meta .sold {
  background: rgba(239, 68, 68, .18);
  color: #FCA5A5;
}

html body .pinfo h1 {
  font-family: inherit;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 6px;
  letter-spacing: 0;
}

html body .pinfo .price {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  gap: 4px 10px;
}

html body .pinfo .price b {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

html body .pinfo .price s {
  font-size: 15px;
  color: var(--muted);
}

html body .pinfo .price .savep {
  background: #22a35a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}

.qtyline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 14px;
  font-size: 14px;
  color: var(--ink);
}

.qtyline .stepper.qty2 {
  flex: none;
  width: 124px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  overflow: hidden;
}

.qtyline .qty2 button {
  width: 36px;
  background: none;
  color: var(--ink);
  font-size: 18px;
}

.qtyline .qty2 button:hover {
  background: var(--surface-2);
}

.qtyline .qty2 input {
  background: none;
  font-size: 15px;
  font-weight: 600;
}

html body .cta-grid.cta4 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

html body .cta4 .btn {
  height: 46px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  gap: 8px;
  box-shadow: none;
  border: 0;
  padding: 0 8px;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

html body .cta4 .btn::before {
  display: none;
}

html body .cta4 #addc {
  background: var(--brand);
  color: #fff;
  text-transform: uppercase;
}

html body .cta4 #buy {
  background: var(--accent);
  color: #fff;
  text-transform: uppercase;
}

html body .cta4 #addc:hover,
html body .cta4 #buy:hover {
  filter: brightness(1.08);
  transform: none;
  box-shadow: none;
}

html body .cta4 .btn-wa {
  background: #22a35a;
  color: #fff;
}

html body .cta4 .btn-call {
  background: var(--surface);
  color: var(--brand);
  border: 1.5px solid var(--brand);
}

html body .cta4 .btn-wa:hover {
  filter: brightness(1.08);
  color: #fff;
}

html body .cta4 .btn-call:hover {
  background: var(--brand-50);
  color: var(--brand);
}

html body .cta4 .btn-wa i {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: #fff;
}

html body .cta4 .btn-call i {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: var(--brand);
}

[data-theme="dark"] html body .cta4 .btn-call i,
[data-theme="dark"] .cta4 .btn-call i {
  color: #E2E8F0;
}

html body .cta4 .btn .icon,
html body .cta4 .btn i .icon {
  width: 17px;
  height: 17px;
}

.brandbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 13.5px;
  color: var(--muted);
}

.brandbox b {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .02em;
}

html body .pinfo-trust {
  margin-top: 16px;
}

/* frequently bought together: product cards with a tick box + a total card (reference layout) */
.fbt3-panel h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.fbt3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.fbt3-it {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  padding: 12px 10px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 6px;
  background: var(--surface);
  text-align: center;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.fbt3-it.on {
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  border-color: var(--accent);
}

.fbt3-it img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 5px;
  background: var(--surface-2);
}

.fbt3-it em {
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.fbt3-it b {
  font-size: 13.5px;
  color: var(--ink);
}

.fbt3-it input {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.fbt3-it input:disabled {
  opacity: 1;
  cursor: default;
}

.fbt3-sum {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 14px 10px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  text-align: center;
}

.fbt3-sum b {
  font-size: 19px;
  font-weight: 700;
}

.fbt3-sum small {
  font-size: 12px;
  opacity: .92;
}

.fbt3-sum button {
  margin-top: 6px;
  width: 100%;
  max-width: 200px;
  height: 32px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}

.fbt3-sum button:hover {
  background: #fff7f0;
}

@media (max-width: 991px) {
  html body[data-page="product"] .crumb {
    font-size: 12px;
    padding: 8px 0;
  }

  html body .pbox {
    padding: 12px;
    gap: 14px;
    border-radius: 6px;
    border: 1px solid var(--line);
    box-shadow: none;
  }

  html body .gallery {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
  }

  html body .thumbs {
    flex-direction: column;
    order: 0;
    gap: 8px;
  }

  html body .thumbs button {
    width: 52px;
    border-width: 1px;
    border-radius: 5px;
  }

  html body .thumbs button.on {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
  }

  html body .mainimg {
    border-radius: 6px;
  }

  html body .pinfo h1 {
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 4px;
  }

  html body .pinfo .price {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  html body .pinfo .price b {
    font-size: 20px;
  }

  html body .pinfo .price s {
    font-size: 13px;
  }

  .qtyline {
    margin: 2px 0 12px;
  }

  html body .cta-grid.cta4 {
    gap: 8px;
  }

  html body .cta4 .btn {
    height: 40px;
    font-size: 12.5px;
    gap: 6px;
  }

  html body .cta4 .btn .icon,
  html body .cta4 .btn i .icon {
    width: 15px;
    height: 15px;
  }

  .brandbox {
    margin-top: 12px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .fbt3-panel {
    padding: 14px;
  }

  .fbt3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 360px) {
  html body .cta4 .btn {
    font-size: 11.5px;
  }
}

/* phones, product page: room for the buttons in the first screen (search opens from the bottom bar's SEARCH; crumb stops at the category) */
@media (max-width: 991px) {
  body[data-page="product"]:not(.show-msearch) .msearch {
    display: none;
  }

  body[data-page="product"] #crumb>span:last-child {
    display: none;
  }

  body[data-page="product"] #crumb {
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
  }
}

@media (max-width: 991px) {

  html body .float-cart,
  html body .float-cart:not(.x-off) {
    display: none !important;
  }
}

/* home cards: Add To Cart (like every other list), no separate Buy now */
html body[data-page="home"] .pcard.wide .wbtns .cta {
  display: block !important;
  width: 100%;
}

html body[data-page="home"] .pcard.wide .wbtns .wbuy {
  display: none !important;
}

/* side cart, minimal like the reference: narrow tab, small plain text, light shadow */
@media (max-width: 991px) {
  html body .float-cart:not(.x-off) {
    min-width: 0;
    width: 50px;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  }

  html body .float-cart .fc-top {
    padding: 7px 2px 5px;
    gap: 2px;
  }

  html body .float-cart .fc-top .icon {
    width: 16px;
    height: 16px;
    stroke-width: 1.7;
  }

  html body .float-cart .fc-top>span {
    font-size: 9.5px;
    font-weight: 400;
  }

  html body .float-cart .fc-tot {
    font-size: 10.5px;
    font-weight: 600;
    padding: 4px 2px;
  }
}

/* card badges, minimal (reference): small square tags, best/new top-left, "Save x%" top-right; no heart on cards */
html body .pcard .flag.best,
html body .pcard .flag.new,
html body .pcard.wide .flag.best,
html body .pcard.wide .flag.new {
  top: 16px;
  left: 16px;
  right: auto;
  padding: 3px 7px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 600;
  gap: 0;
  box-shadow: none;
  background: var(--accent);
}

html body .pcard .flag.new {
  background: var(--brand);
}

html body .pcard .flag .icon {
  display: none;
}

html body .pcard .flag.save.save {
  display: inline-flex !important;
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  left: auto;
  padding: 3px 7px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 600;
  background: #2fb36a;
  color: #fff;
  box-shadow: none;
  line-height: 1.4;
}

html body .pcard .price .savep,
html body .pcard .price .savep.inl {
  display: none;
}

html body .pcard .wish,
html body .pcard.wide .wish {
  display: none !important;
}

html body .pcard,
html body .pcard.wide {
  border-radius: 6px;
}

html body .pcard .thumb,
html body .pcard.wide .thumb {
  border-radius: 4px;
  background: var(--surface);
}

html body .pcard .cta .add,
html body .pcard .cta .add.buy {
  border-radius: 4px;
}

html body .pcard .flag.best,
html body .pcard .flag.new,
html body .pcard.wide .flag.best,
html body .pcard.wide .flag.new,
html body .pcard .flag.save.save {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 9.5px;
  padding: 2px 6px;
  line-height: 1.35;
}

/* same professional tag everywhere (product page price, lists, drawers) */
html body .savep,
html body .pinfo .price .savep,
html body .fbt3-sum small+.savep {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 3px;
  background: #2fb36a;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0;
}

html body .pinfo .price .savep {
  font-size: 11px;
}

html body .pcard .price .savep,
html body .pcard .price .savep.inl {
  display: none;
}

/* ===== "Top Selling" wide cards: kept like before (reference screenshots), computer + phone ===== */
html body .pcard.wide.wide {
  border: 0;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(48, 32, 60, .05);
}

html body .pcard.wide.wide .flag.save {
  display: none !important;
}

html body .pcard.wide.wide .flag.best,
html body .pcard.wide.wide .flag.new {
  top: 0;
  right: 0;
  left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 0 6px 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: #ef4444;
  color: #fff;
}

html body .pcard.wide.wide .flag.new {
  background: var(--brand);
}

html body .pcard.wide.wide .flag .icon {
  display: inline-block;
  width: 13px;
  height: 13px;
}

html body .pcard.wide.wide .thumb {
  background: transparent;
  border-radius: 4px;
}

html body .pcard.wide.wide .price .savep.inl,
html body .pcard.wide.wide .winfo>.savep {
  background: #c8f169;
  color: #2d4300;
  border-radius: 999px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
}

@media (min-width: 768px) {
  html body .pcard.wide.wide {
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 26px 30px;
  }

  html body .pcard.wide.wide .thumb {
    flex: 0 0 40%;
    width: auto;
    max-width: 270px;
  }

  html body .pcard.wide.wide .winfo {
    align-items: flex-start;
  }

  html body .pcard.wide.wide h3 {
    font-size: 21px;
    font-weight: 500;
    min-height: 0;
    margin: 0 0 6px;
    -webkit-line-clamp: 2;
  }

  html body .pcard.wide.wide .price {
    margin: 0 0 8px;
    gap: 4px 14px;
  }

  html body .pcard.wide.wide .price b {
    font-size: 20px;
  }

  html body .pcard.wide.wide .price s {
    font-size: 17px;
  }

  html body .pcard.wide.wide .price .savep.inl {
    display: none !important;
  }

  html body .pcard.wide.wide .winfo>.savep.blk {
    display: inline-block !important;
    font-size: 12px;
    padding: 2px 9px;
  }

  html body .pcard.wide.wide .wbtns {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 18px;
    width: auto;
    max-width: none;
  }

  html body .pcard.wide.wide .wbtns .cta {
    flex: none;
    width: auto;
    display: block !important;
  }

  html body .pcard.wide.wide .wbtns .cta .add {
    width: auto;
    padding: 0 16px;
    height: 40px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
  }

  html body .pcard.wide.wide .wbtns .cta .stepper {
    width: 132px;
    height: 40px;
    border-radius: 4px;
  }

  html body[data-page="home"] .pcard.wide.wide .wbtns .wbuy.wbuy,
  html body .pcard.wide.wide .wbtns .wbuy.wbuy {
    display: inline-flex !important;
    flex: none;
    width: auto;
    height: 40px;
    padding: 0 16px;
    border-radius: 4px;
    border: 0;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
    gap: 6px;
  }

  html body .pcard.wide.wide .wbtns .wbuy:hover {
    filter: brightness(1.06);
    background: var(--accent);
    color: #fff;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  html body .pcard.wide.wide {
    gap: 18px;
    padding: 20px;
  }

  html body .pcard.wide.wide h3 {
    font-size: 18px;
  }

  html body .pcard.wide.wide .wbtns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  html body .pcard.wide.wide .wbtns .cta .add,
  html body .pcard.wide.wide .wbtns .wbuy.wbuy {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  html body .pcard.wide.wide {
    padding: 10px 10px 12px;
  }

  html body .pcard.wide.wide h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 10px 0 4px;
    -webkit-line-clamp: 1;
    min-height: 0;
  }

  html body .pcard.wide.wide .price {
    margin: 0 0 10px;
    gap: 2px 6px;
  }

  html body .pcard.wide.wide .price b {
    font-size: 15px;
  }

  html body .pcard.wide.wide .price s {
    font-size: 12px;
  }

  html body .pcard.wide.wide .price .savep.inl {
    display: inline-block !important;
    font-size: 10px;
    padding: 1px 6px;
  }

  html body .pcard.wide.wide .winfo>.savep.blk {
    display: none !important;
  }

  html body .pcard.wide.wide .flag.best,
  html body .pcard.wide.wide .flag.new {
    font-size: 10.5px;
    padding: 3px 8px;
  }
}

/* button labels: icon and text centred as boxes, independent of the font's built-in spacing */
.btn .bl,
.add .bl,
.wbuy .bl {
  display: inline-block;
  line-height: 1;
  padding-top: .06em;
}

html body .cta4 .btn,
html body .pcard .cta .add,
html body .pcard .wbtns .wbuy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

html body .cta4 .btn>.icon,
html body .cta4 .btn>i,
html body .pcard .cta .add>.icon,
html body .pcard .wbtns .wbuy>.icon {
  display: block;
  flex: none;
}

html body .cta4 .btn>i {
  display: flex;
  align-items: center;
}

html body .cta4 #addc>.icon {
  width: 17px;
  height: 17px;
}

/* home & grid cards: Add to Cart / Select Size solid brand navy (#001128), Buy Now solid orange (#F7931E) */
html body[data-page="home"] .pcard .cta .add {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

html body[data-page="home"] .pcard .cta .add:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  filter: none;
}

html body[data-page="home"] .pcard .cta .add .icon {
  width: 16px;
  height: 16px;
}

/* computer Top Selling cards: Buy Now stays solid orange so Select Size (navy) and Buy Now (orange) stand apart */
@media (min-width: 768px) {

  html body[data-page="home"] .pcard.wide.wide .wbtns .wbuy.wbuy,
  html body .pcard.wide.wide .wbtns .wbuy.wbuy {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
  }

  html body[data-page="home"] .pcard.wide.wide .wbtns .wbuy.wbuy:hover,
  html body .pcard.wide.wide .wbtns .wbuy.wbuy:hover {
    background: var(--accent-600);
    border-color: var(--accent-600);
    color: #fff;
    filter: none;
  }
}

/* phones: no search bar under the header on any page; the bottom bar's SEARCH button opens it (and focuses it) */
@media (max-width: 991px) {
  body:not(.show-msearch) .msearch {
    display: none;
  }
}

/* every product card: Select Size / Add to Cart (solid navy) + Buy Now (solid orange) stacked, crisp contrast */
html body .pcard .cta {
  display: grid;
  gap: 6px;
}

html body .pcard .cta .add,
html body[data-page="home"] .pcard .cta .add {
  height: 36px;
  border-radius: 4px;
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  width: 100%;
}

html body .pcard .cta .add:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  filter: none;
}

html body .pcard .cta .add.buy2,
html body[data-page="home"] .pcard .cta .add.buy2 {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

html body .pcard .cta .add.buy2:hover,
html body[data-page="home"] .pcard .cta .add.buy2:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
  color: #fff;
  filter: none;
}

html body .pcard .cta .add .icon {
  width: 15px;
  height: 15px;
}

html body .pcard .cta .stepper {
  height: 36px;
  border-radius: 4px;
}

/* phone Top Selling cards: their Buy now under Add to Cart, outline like the other cards */
@media (max-width: 767px) {
  html body .pcard.wide.wide .wbtns {
    display: grid !important;
    gap: 6px;
    margin-top: auto;
  }

  html body .pcard.wide.wide .wbtns .wbuy.wbuy,
  html body[data-page="home"] .pcard.wide.wide .wbtns .wbuy.wbuy {
    display: inline-flex !important;
    width: 100%;
    height: 36px;
    border-radius: 4px;
    background: var(--surface);
    color: var(--accent);
    border: 1px solid var(--accent);
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: none;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  html body .pcard.wide.wide .wbtns .wbuy .icon {
    width: 15px;
    height: 15px;
  }
}

/* sign-in page footer: one sentence that wraps as normal text on narrow phones (the flex row split it into columns) */
html body .auth-terms {
  display: block;
  text-align: center;
  line-height: 1.55;
  padding: 0 6px;
  font-size: 12px;
}

html body .auth-terms .icon {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 5px;
}

html body .auth-terms a {
  white-space: nowrap;
}

html body .auth-switch {
  line-height: 1.6;
  padding: 0 6px;
}

html body .auth-switch button {
  white-space: nowrap;
  display: inline;
  padding: 0;
}

@media (max-width: 991px) {
  html body[data-page="account"] .float-cart:not(.x-off):not(.y-off) {
    display: none !important;
  }
}

/* product page buttons: hover keeps each button's own brand colour cleanly */
html body .cta4 #addc:hover {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-600);
}

html body .cta4 #buy:hover {
  background: var(--accent-600);
  color: #fff;
}

html body .cta4 .btn-wa:hover {
  background: #22a35a;
  color: #fff;
  border-color: #22a35a;
}

html body .cta4 .btn-call:hover {
  background: var(--brand-50);
  color: var(--brand);
  border-color: var(--brand);
}

html body .cta4 .btn:hover {
  filter: brightness(1.1);
  transform: none;
}

html body .cta4 .btn:active {
  filter: brightness(.95);
}

html[data-theme="dark"] body .cta4 .btn-wa:hover,
html[data-theme="dark"] body .cta4 .btn-call:hover {
  color: #fff;
}

/* phones: the chat / contact button always sits above the bottom bar. The bar grows by the iPhone safe area when the
   Safari toolbar shows again (scrolling up), so the button follows that inset and is drawn above the bar. */
@media (max-width: 991px) {
  html body .fab {
    bottom: calc(70px + env(safe-area-inset-bottom));
    z-index: 85;
  }

  html body.has-buybar .fab {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

/* landing pages: never the store's floating side cart */
html body[data-page="lp"] .float-cart,
html body[data-page="lp"] .float-cart:not(.x-off):not(.y-off) {
  display: none !important;
}

/* option popup: clean neutral stepper + solid orange Buy Now / solid navy Add to Cart */
html body .vp-foot .vp-q {
  height: 46px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

html body .vp-foot .vp-q button {
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

html body .vp-foot .vp-q button:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  color: var(--ink);
}

html body .vp-foot .vp-q input {
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

html body .vp-go.is-buy {
  height: 46px;
  border-radius: 9px;
  background: var(--accent) !important;
  color: #FFFFFF !important;
  border: 1.5px solid var(--accent) !important;
  box-shadow: none;
}

html body .vp-go.is-buy:hover {
  background: var(--accent-600) !important;
  border-color: var(--accent-600) !important;
  color: #FFFFFF !important;
}

html body .vp-go.is-add {
  height: 46px;
  border-radius: 9px;
  background: var(--brand) !important;
  color: #FFFFFF !important;
  border: 1.5px solid var(--brand) !important;
}

html body .vp-go.is-buy em,
html body .vp-go.is-add em {
  border-left-color: rgba(255, 255, 255, .42) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] html body .vp-foot .vp-q {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
}

.vp-go .bl {
  display: inline-flex;
  align-items: center;
}

/* product page: free delivery note sits above the order buttons */
/* product page: small highlighted pill (keeps the order buttons on the first screen on phones) */
.pk-free.pk-free-top {
  display: inline-flex;
  gap: 6px;
  margin: 10px 0 0;
  padding: 4px 11px 4px 5px;
  border-radius: 99px;
  font-size: 12.5px;
  line-height: 1.3;
  box-shadow: 0 1px 0 rgba(46, 157, 107, .12);
}

.pk-free.pk-free-top .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
}

/* checkout popup: change the option right on the line */
.ck-vopts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 4px 0 6px;
}

.ck-vopts>span {
  width: 100%;
  font-size: 12px;
  color: var(--muted);
}

.ck-vo {
  border: 1px solid var(--ck-line, #e6dfe9);
  background: var(--surface);
  border-radius: 6px;
  padding: 5px 10px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text, #2a2238);
}

.ck-vo:hover:not(:disabled) {
  border-color: var(--brand);
}

.ck-vo.on {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.ck-vo:disabled {
  opacity: .45;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* checkout: highlighted Delivery Info step + crisp unified phone prefix & orange focus ring */
.ck-sec.ck-sec-main {
  background: color-mix(in srgb, var(--accent) 4%, var(--surface));
  border: 1.5px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: 12px;
  padding: 15px 16px;
  box-shadow: 0 6px 20px -12px rgba(0, 17, 40, .14);
}

.ck-sec.ck-sec-main .ck-step b {
  background: var(--accent);
  color: #fff;
}

.ck-sec.ck-sec-main .ck-f>label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

html body .ck-inp {
  height: 46px;
  background: var(--surface);
  border: 1.5px solid #CBD5E1;
  border-radius: 9px;
  font-weight: 500;
  color: var(--ink);
}

html body textarea.ck-inp {
  min-height: 62px;
  padding: 11px 14px;
}

html body .ck-inp:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(247, 147, 30, .18);
  background: var(--surface);
}

html body .ck-phone {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 1.5px solid #CBD5E1;
  border-radius: 9px;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}

html body .ck-phone span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--surface-2);
  border-right: 1px solid var(--line);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

html body .ck-phone .ck-inp {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-left: 12px;
  background: transparent;
}

html body .ck-phone:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(247, 147, 30, .18);
}

html body .ck-phone:has(.ck-inp.err) {
  border-color: #e5484d;
  background: #fff7f7;
}

[data-theme="dark"] .ck-sec.ck-sec-main {
  background: rgba(247, 147, 30, .06);
  border-color: rgba(247, 147, 30, .35);
}

[data-theme="dark"] html body .ck-inp,
[data-theme="dark"] html body .ck-phone {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
}

[data-theme="dark"] html body .ck-phone span {
  background: rgba(255, 255, 255, .07);
  border-right-color: rgba(255, 255, 255, .14);
  color: #F8FAFC;
}

/* checkout: full-width aligned horizontal delivery rows (zero height jump, zero collision, zero truncation) */
html body .ck-areas {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

html body .ck-chip.ck-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 9px 12px;
  border-width: 1px;
  border-radius: 9px;
  background: var(--surface);
}

html body .ck-chip.ck-row::after {
  content: none;
}

.ck-row .ck-rd {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid #94A3B8;
  flex: none;
  transition: .15s;
}

.ck-row:has(input:checked) .ck-rd {
  border: 5px solid var(--brand);
}

.ck-row .ck-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
}

html body .ck-row b {
  flex: none;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--ink);
}

.ck-row .ck-rs {
  padding-left: 0;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--muted);
  white-space: normal;
}

html body .ck-row small {
  flex: none;
  margin-left: auto;
  padding-left: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

html body .ck-row:has(input:checked) {
  background: color-mix(in srgb, var(--brand) 4%, var(--surface));
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

html body .ck-row:has(input:checked) small {
  color: var(--accent);
}

[data-theme="dark"] html body .ck-row:has(input:checked),
[data-theme="dark"] .ck-row:has(input:checked) {
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

[data-theme="dark"] .ck-row:has(input:checked) .ck-rd {
  border-color: var(--accent);
}

@media (max-width: 480px) {
  html body .ck-chip.ck-row {
    padding: 8px 11px;
    gap: 8px;
  }

  html body .ck-row b {
    font-size: 12.5px;
  }

  .ck-row .ck-rs {
    font-size: 11px;
  }
}

/* #22 progress bars: clean and minimal (no icons), accessible */
.ck-tbar.ck-tbar2 {
  height: 4px;
  border-radius: 99px;
  background: var(--line);
}

.ck-tbar.ck-tbar2>i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 99px;
  background: var(--brand);
  transition: width .4s ease;
}

.ck-tbar.ck-tbar2>i {
  background: var(--brand);
}

.ck-tbar.ck-tbar2>i::after {
  content: none;
}

.ck-tbar.ck-tbar2 .ck-tm {
  transform: translate(-50%, -6px);
  gap: 0;
}

.ck-tbar.ck-tbar2 .ck-tm em {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid #d9cfe0;
  font-size: 0;
}

.ck-tbar.ck-tbar2 .ck-tm.on em {
  background: var(--brand);
  border-color: var(--brand);
}

.ck-tbar.ck-tbar2 .ck-tm small:nth-of-type(1) {
  margin-top: 6px;
  font-weight: 600;
  color: var(--muted);
}

.ck-tbar.ck-tbar2 .ck-tm.on small:nth-of-type(1) {
  color: var(--brand);
}

.ck-tmsg .icon {
  display: none;
}

/* account: order progress as a thin step line with dots */
.tl.tl2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  margin: 4px 0 14px;
  counter-reset: none;
}

.tl.tl2 li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.tl.tl2 li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--line, #e6dfe9);
  z-index: 0;
}

.tl.tl2 li:first-child::before {
  display: none;
}

.tl.tl2 li.done::before {
  background: var(--brand);
}

.tl.tl2 li i {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line, #d9cfe0);
  display: block;
}

.tl.tl2 li i .icon,
.tl.tl2 li i svg {
  display: none;
}

.tl.tl2 li.done i {
  background: var(--brand);
  border-color: var(--brand);
}

.tl.tl2 li.now i {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}

.tl.tl2 li.done span {
  color: var(--text, #2a2238);
}

.tl.tl2 li.now span {
  font-weight: 700;
  color: var(--brand);
}

@media (prefers-reduced-motion: reduce) {
  .ck-tbar.ck-tbar2>i {
    transition: none;
  }
}

/* #11 video showcase (homepage) */
.vsec .vs-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}

.vsec .vs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 4px 10px;
  border-radius: 99px;
}

.vsec .vs-badge .icon {
  width: 13px;
  height: 13px;
}

.vsec h2 {
  margin: 8px 0 4px;
}

.vsec .vs-head p {
  margin: 0;
  color: var(--muted);
}

.vsec .vs-nav {
  display: flex;
  gap: 8px;
  flex: none;
}

.vsec .vs-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text, #2a2238);
}

.vsec .vs-nav button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.vs-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 14px) / 5);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.vs-track::-webkit-scrollbar {
  display: none;
}

.vcard {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vmedia {
  position: relative;
  aspect-ratio: 9 / 13;
  background: #111;
  overflow: hidden;
}

.vmedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vmedia iframe,
.vmedia video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: cover;
}

.vplay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s, background .15s;
}

.vplay:hover {
  background: rgba(0, 0, 0, .75);
  transform: translate(-50%, -50%) scale(1.06);
}

.vplay .icon {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.vmedia.on .vplay,
.vmedia.on .vcap {
  display: none;
}

.vcap {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

.vprod {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.vprod>img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  flex: none;
}

.vprod>div {
  flex: 1;
  min-width: 0;
}

.vprod b {
  display: block;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vprod span {
  font-size: 13.5px;
  color: var(--brand);
  font-weight: 700;
}

.vprod s {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

.varr {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text, #1d1424);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.varr .icon {
  width: 15px;
  height: 15px;
  transform: rotate(-45deg);
}

.vbuy {
  margin: 0 10px 10px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .vs-track {
    grid-auto-columns: 44%;
  }

  .vsec .vs-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .vs-track {
    grid-auto-columns: 68%;
  }
}

/* Offers: free-delivery badge pulse (Offers → Free delivery) */
@keyframes fdPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(31, 168, 85, .45);
  }

  60% {
    box-shadow: 0 0 0 7px rgba(31, 168, 85, 0);
  }
}

.fd-badge.fd-pulse {
  animation: fdPulse 2.2s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .fd-badge.fd-pulse {
    animation: none;
  }
}

/* A14: order form layouts (admin: Checkout fields → Form layout). Classic = the default look above. */
.ck-l-compact .ck-sec {
  padding: 12px 0;
}

.ck-l-compact .ck-h {
  margin-bottom: 10px;
  font-size: 14.5px;
}

.ck-l-compact .ck-f {
  margin-bottom: 9px;
}

.ck-l-compact .ck-f>label {
  font-size: 12px;
  margin-bottom: 4px;
}

.ck-l-compact .ck-inp {
  height: 42px;
  font-size: 14px;
  padding: 0 12px;
}

.ck-l-boxed .ck-sec {
  background: var(--surface);
  border: 1px solid var(--ck-line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}

.ck-l-boxed .ck-sec:last-child {
  border-bottom: 1px solid var(--ck-line);
}

.ck-l-boxed .ck-inp {
  background: var(--surface);
  border-color: var(--ck-line);
}

.ck-l-lined .ck-inp {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--ck-line);
  border-radius: 0;
  padding: 0 2px;
}

.ck-l-lined .ck-inp:focus {
  box-shadow: none;
  border-bottom-color: var(--brand);
  background: transparent;
}

.ck-l-lined .ck-h span {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}

/* product page: "Free delivery" as a small badge right after the Save badge (no extra row) */
html body .pinfo .price .freep {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 8px 2px 6px;
  border-radius: 99px;
  border: 1px solid #9ED9B8;
  background: #EAF8F0;
  color: #17734A;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  vertical-align: middle;
}

html body .pinfo .price .freep .icon {
  width: 13px;
  height: 13px;
  flex: none;
}

[data-theme="dark"] .pinfo .price .freep {
  border-color: rgba(46, 157, 107, .45);
  background: rgba(46, 157, 107, .15);
  color: #7FE0B0;
}

/* ===== Smooth scrolling on Macs / Safari / high-refresh screens (Nov 2026) =====
   Scrolling felt shaky on a MacBook (Retina, 120 Hz, Safari) because three things were redrawn on every scroll frame:
   1. the page background was "background-attachment: fixed" → Safari repaints the whole page each frame;
   2. a live blur (backdrop-filter) behind everything that stays on screen: header, its buttons, floating cart, phone bars;
   3. pulse animations that never stop.
   Now: the background sits on its own fixed layer (cheap to keep still), the always-on-screen bars use a near-solid
   background instead of a live blur (they look almost the same), and the pulses pause while the page scrolls (app.js adds
   html.is-scrolling). Pop-ups that open only for a moment (search suggestions, drawers, toast) keep their glass blur. */
body {
  background-attachment: scroll;
  background-image: none;
}

body::before {
  content: none;
}

@media (min-width: 992px) {
  .hdr {
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

[data-theme="dark"] .hdr {
  background: rgba(21, 28, 40, .96);
}

.pref-btn,
.float-cart {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.pref-btn {
  background: rgba(255, 255, 255, .9);
}

[data-theme="dark"] .pref-btn {
  background: rgba(255, 255, 255, .06);
}

@media (max-width: 991px) {
  .bnav {
    background: rgba(0, 17, 40, .97);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .sticky-buy {
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  [data-theme="dark"] .sticky-buy {
    background: rgba(21, 28, 40, .97);
  }
}

.hdr,
.bnav,
.float-cart,
.fab {
  transform: translateZ(0);
}

/* each fixed bar on its own layer: moved, not repainted */
.sticky-buy {
  will-change: transform;
}

/* NOT translateZ: its own transform slides it in and out (it must stay hidden until the order buttons scroll away) */
html.is-scrolling .fab-main::after,
html.is-scrolling .fd-pulse,
html.is-scrolling .ck-free::after {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {

  .fab-main::after,
  .fd-pulse {
    animation: none;
  }
}

/* ===== Product page buy bar v2 (phones / tablets): photo + name + price, then − 1 + · Buy Now · cart (· WhatsApp) =====
   Slides up only after the page's own order buttons have scrolled out of view (pages.js). Brand colours: Buy Now = brand,
   cart = accent; Shop design → Mobile sticky buy bar can still change the bar's background / text colour and hide parts. */
@media (max-width: 991px) {
  .sticky-buy.sb2 {
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 7px;
    align-items: center;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -10px 28px -12px rgba(0, 17, 40, .28);
  }

  .sb2 .sb-img {
    grid-row: 1 / 3;
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--surface-2);
    align-self: center;
  }

  .sb2 .sb-top {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
  }

  .sb2 .sb-name {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sb2 .sb-price {
    flex: none;
    font-size: 14px;
    font-weight: 800;
    color: var(--accent);
  }

  .sb2 .sb-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .sb2 .sb-qty {
    flex: none;
    display: flex;
    align-items: center;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
  }

  .sb2 .sb-qty button {
    width: 30px;
    height: 100%;
    border: 0;
    background: none;
    font-size: 18px;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
  }

  .sb2 .sb-qty span {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
  }

  .sticky-buy.sb2 .sb-buy {
    flex: 1;
    min-width: 0;
    height: 42px;
    border-radius: 10px;
    border: 0;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: none;
  }

  .sticky-buy.sb2 .sb-buy:hover {
    background: var(--accent-600);
    filter: none;
  }

  .sticky-buy.sb2 .sb-buy::before {
    display: none;
  }

  .sticky-buy.sb2 .sb-add {
    flex: none;
    width: 46px;
    height: 42px;
    border-radius: 10px;
    border: 0;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: inherit;
    cursor: pointer;
  }

  .sticky-buy.sb2 .sb-add .icon {
    width: 20px;
    height: 20px;
  }

  .sticky-buy.sb2 .sb-wa {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .sticky-buy.sb2 .sb-wa .icon {
    width: 22px;
    height: 22px;
  }

  [data-theme="dark"] .sb2 .sb-qty {
    border-color: rgba(255, 255, 255, .14);
  }

  @media (max-width: 360px) {
    .sb2 .sb-qty button {
      width: 26px;
    }

    .sticky-buy.sb2 .sb-buy {
      font-size: 14px;
    }

    .sticky-buy.sb2 .sb-wa {
      display: none;
    }
  }
}

/* ---------- product gallery v2 (Nov 25): small arrows, swipe, counter, full-screen viewer ---------- */
.mainimg {
  touch-action: pan-y;
  cursor: zoom-in;
  -webkit-user-select: none;
  user-select: none;
}

.mainimg img {
  -webkit-user-drag: none;
}

/* minimal arrows (Nov 25, per reference): only a thin chevron, no circle; the tap area stays 32px */
.gl-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 32px;
  height: 44px;
  margin-top: -22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  opacity: .85;
  cursor: pointer;
  transition: opacity .15s, transform .15s;
}

.gl-nav svg {
  width: 18px;
  height: 18px;
  display: block;
}

.gl-prev {
  left: 2px;
}

.gl-next {
  right: 2px;
}

.gl-nav:hover {
  opacity: 1;
}

.gl-nav:active {
  transform: scale(.88);
}

.gl-nav:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
  border-radius: 6px;
  opacity: 1;
}

.gl-count {
  display: none;
}

/* the thumbnails already show which photo is open */
@keyframes gl-in-r {
  from {
    opacity: .35;
    transform: translateX(14%);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gl-in-l {
  from {
    opacity: .35;
    transform: translateX(-14%);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.gl-in-r {
  animation: gl-in-r .26s cubic-bezier(.2, .7, .2, 1);
}

.gl-in-l {
  animation: gl-in-l .26s cubic-bezier(.2, .7, .2, 1);
}

.lbx {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  background: rgba(12, 8, 14, .94);
  color: #fff;
  opacity: 0;
  transition: opacity .2s;
}

.lbx.on {
  opacity: 1;
}

.lbx-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  padding-top: max(10px, env(safe-area-inset-top));
}

.lbx-n {
  font-size: 14px;
  opacity: .9;
}

.lbx-n b {
  font-weight: 700;
}

.lbx-x {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
}

.lbx-x:hover {
  background: rgba(255, 255, 255, .2);
}

.lbx-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  touch-action: pan-y pinch-zoom;
  overflow: hidden;
}

.lbx-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  -webkit-user-select: none;
  user-select: none;
}

.lbx-nav {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 14, 24, .55);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
  cursor: pointer;
}

.lbx-nav:hover {
  background: rgba(20, 14, 24, .75);
}

.lbx-nav .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.lbx-prev {
  left: 10px;
}

.lbx-next {
  right: 10px;
}

.lbx-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  overflow-x: auto;
}

.lbx-thumbs button {
  flex: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  opacity: .55;
  cursor: pointer;
}

.lbx-thumbs button.on {
  border-color: var(--accent);
  opacity: 1;
}

.lbx-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lbx button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .lbx-nav {
    width: 36px;
    height: 36px;
    margin-top: -18px;
  }

  .lbx-prev {
    left: 6px;
  }

  .lbx-next {
    right: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .gl-in-r,
  .gl-in-l {
    animation: none;
  }

  .lbx {
    transition: none;
  }
}

/* ---------- reward / free-delivery bar v5: ultra-compact single-glance strip ---------- */
html body .ck-tier {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}

.rb {
  --rb-ok: #16A34A;
  position: relative;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.rb-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rb-ic {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent);
}

.rb-ic .icon {
  width: 14px;
  height: 14px;
}

.rb-msg {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--ink);
}

.rb-msg b {
  color: var(--ink);
  font-weight: 700;
}

.rb-msg .rb-amt {
  color: var(--accent);
}

.rb-pct {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.2;
}

.rb-track {
  position: relative;
  height: 5px;
  margin: 7px 0 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 10%, var(--surface));
  overflow: hidden;
}

.rb-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: var(--accent);
  transition: width .4s cubic-bezier(.2, .7, .2, 1);
}

.rb-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.rb-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  line-height: 1.2;
  color: var(--muted);
}

.rb-step .icon {
  width: 12px;
  height: 12px;
  flex: none;
}

.rb-step b {
  font-weight: 600;
  color: var(--ink);
}

.rb-step small {
  font-weight: 600;
  color: var(--muted);
}

.rb-step.on,
.rb-step.on b,
.rb-step.on small {
  color: var(--rb-ok);
}

.rb-done {
  border-color: color-mix(in srgb, var(--rb-ok) 35%, transparent);
  background: color-mix(in srgb, var(--rb-ok) 7%, var(--surface));
}

.rb-done .rb-ic {
  background: var(--rb-ok);
  color: #fff;
}

.rb-done .rb-msg b,
.rb-done .rb-pct {
  color: var(--rb-ok);
  border-color: color-mix(in srgb, var(--rb-ok) 30%, transparent);
}

.rb-done .rb-fill {
  background: var(--rb-ok);
}

[data-theme="dark"] .rb {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
}

[data-theme="dark"] .rb-pct {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  color: #E2E8F0;
}

@media (max-width: 420px) {
  .rb {
    padding: 8px 10px;
  }

  .rb-msg {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rb-fill {
    transition: none;
  }

  .rb-fill::after {
    animation: none;
  }
}

/* cart drawer free-delivery line, matching the checkout reward bar */
.ship-bar {
  border-radius: 12px;
  padding: 11px 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 7%, var(--surface)), color-mix(in srgb, var(--accent) 7%, var(--surface)));
}

.ship-bar b {
  color: var(--brand);
}

.ship-bar .bar {
  height: 8px;
  border-radius: 99px;
  margin-top: 8px;
  background: color-mix(in srgb, var(--ink) 9%, var(--surface));
}

.ship-bar .bar i {
  border-radius: 99px;
  transition: width .5s cubic-bezier(.2, .7, .2, 1);
}

.ship-bar.is-done {
  border-color: color-mix(in srgb, #1E9E55 30%, transparent);
  background: color-mix(in srgb, #1E9E55 8%, var(--surface));
}

.ship-bar.is-done b {
  color: #1E9E55;
}

.ship-bar.is-done .bar i {
  background: linear-gradient(90deg, #1E9E55, #34C273);
}

/* estimated delivery v2 (Nov 25): minimal one line, no box or icon; a thin divider between the two places */
html body .eta.eta2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 0;
  margin: -4px 0 14px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

.eta2 .eta-t {
  margin-right: 10px;
  font-weight: 700;
  color: var(--ink);
}

.eta2 .eta-i {
  white-space: nowrap;
}

.eta2 .eta-i b {
  font-weight: 700;
  color: var(--ink);
}

.eta2 .eta-i+.eta-i {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

/* always ONE line: never wraps; pages.js shrinks the font until it fits the width */
html body .eta.eta2 {
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}

@media (max-width: 560px) {
  html body .eta.eta2 {
    font-size: 12.5px;
  }

  .eta2 .eta-t {
    margin-right: 8px;
  }

  .eta2 .eta-i+.eta-i {
    margin-left: 7px;
    padding-left: 7px;
  }
}

/* ===== Kidoria Apparel Extensions: collection photo tiles, sold out state, size guide ===== */
.cat-tile .box.has-pic {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface-2) !important;
}

.cat-ic.cat-pic {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: var(--surface-2);
  display: block;
  padding: 0;
}

.cat-ic.cat-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform .3s ease;
}

.cat-tile:hover .cat-ic.cat-pic {
  transform: none;
}

.cat-tile:hover .cat-ic.cat-pic img {
  transform: scale(1.06);
}

.mmenu .mi {
  overflow: hidden;
}

.mmenu .mi .cat-ic.cat-pic {
  width: 100%;
  height: 100%;
}

.pcard.is-sold .thumb img {
  opacity: .65;
  filter: grayscale(.2);
}

html body .pcard .cta .add.is-sold,
html body[data-page="home"] .pcard .cta .add.is-sold {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  filter: none;
}

.pvar-lab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.pvar-sg-row {
  margin: 12px 0 4px;
}

.sg-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  transition: background .15s;
}

.sg-btn:hover {
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
}

.sg-btn .icon {
  width: 14px;
  height: 14px;
}

[data-theme="dark"] .sg-btn {
  color: #93C5FD;
  border-color: rgba(147, 197, 253, .25);
}

.sg-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 17, 40, .55);
  opacity: 0;
  transition: opacity .2s;
}

.sg-modal.on {
  opacity: 1;
}

.sg-box {
  width: min(640px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--surface);
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 17, 40, .35);
}

.sg-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.sg-hd b {
  font-size: 16px;
  color: var(--ink);
}

.sg-x {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.sg-box img,
.sg-panel img {
  width: 100%;
  max-width: 580px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin: 0 auto;
  display: block;
  background: #fff;
}

.sg-note {
  margin: 12px auto 0;
  max-width: 580px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.side-banner.side-img {
  position: relative;
  height: 100%;
  min-height: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}

.side-banner.side-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* Header right clean look (phone removed) + Orange Buy Now card button contrast */
@media (min-width: 992px) {
  .hdr-row {
    gap: 16px;
  }

  .prefs {
    gap: 6px;
    padding-right: 14px;
    border-right: 1px solid var(--line);
  }

  .pref-btn {
    height: 34px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: none;
  }

  .pref-btn:hover {
    border-color: var(--brand);
    background: var(--brand-50);
  }

  [data-theme="dark"] .pref-btn {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
    color: #E2E8F0;
  }

  [data-theme="dark"] .pref-btn:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .28);
  }

  .hdr-actions {
    gap: 6px;
  }

  .hdr-actions .hact {
    padding: 6px 10px;
    border-radius: 8px;
    gap: 3px;
    font-size: 11.5px;
    font-weight: 600;
    transition: background .15s, color .15s;
  }

  .hdr-actions .hact:hover {
    background: var(--brand-50);
    color: var(--brand);
  }

  [data-theme="dark"] .hdr-actions .hact:hover {
    background: rgba(255, 255, 255, .08);
    color: #F8FAFC;
  }

  .hdr-actions .hact .badge {
    top: 1px;
    right: 3px;
  }
}

/* Guarantee Buy Now is solid orange on all product cards & dark mode contrast for Navy button */
html body .pcard .cta a.add.buy2,
html body[data-page="home"] .pcard .cta a.add.buy2,
html body .pcard.wide .wbtns .wbuy,
html body[data-page="home"] .pcard.wide .wbtns .wbuy {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #FFFFFF !important;
}

html body .pcard .cta a.add.buy2:hover,
html body[data-page="home"] .pcard .cta a.add.buy2:hover,
html body .pcard.wide .wbtns .wbuy:hover,
html body[data-page="home"] .pcard.wide .wbtns .wbuy:hover {
  background: var(--accent-600) !important;
  border-color: var(--accent-600) !important;
  color: #FFFFFF !important;
  filter: none !important;
}

[data-theme="dark"] .pcard .cta .add:not(.buy2):not(.is-sold) {
  border-color: rgba(255, 255, 255, .16) !important;
}

/* Guarantee Product Detail Buy Now + Call Outline match 2-color branding cleanly */
html body .cta4 #buy,
html body .cta4 .btn#buy {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #FFFFFF !important;
}

html body .cta4 #buy:hover {
  background: var(--accent-600) !important;
  border-color: var(--accent-600) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] html body .cta4 #addc,
[data-theme="dark"] .cta4 #addc {
  border: 1px solid rgba(255, 255, 255, .18) !important;
}

[data-theme="dark"] html body .cta4 .btn-call,
[data-theme="dark"] .cta4 .btn-call {
  background: rgba(255, 255, 255, .06) !important;
  color: #E2E8F0 !important;
  border-color: rgba(255, 255, 255, .2) !important;
}

[data-theme="dark"] .rv-home .rcard2 {
  background: var(--surface);
  border-color: rgba(255, 255, 255, .1);
}

.hdr-actions a[href*="wish"] {
  display: none !important;
}

/* Checkout Step 1 (.ck-item): compact structured order card */
html body .ck-items {
  gap: 8px;
}

html body .ck-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

html body .ck-item img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 15%;
  flex: none;
  border: 1px solid var(--line);
}

html body .ck-in {
  flex: 1;
  min-width: 0;
}

.ck-ihd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

html body .ck-ihd>b {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink);
}

html body .ck-ihd .ck-ip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

html body .ck-ihd .ck-ip b {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

[data-theme="dark"] html body .ck-ihd .ck-ip b {
  color: var(--accent);
}

.ck-imeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}

html body .ck-imeta small {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.ck-qwrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ck-qlab {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

html body .ck-imeta .ck-q {
  margin-top: 0;
  height: 30px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  display: inline-flex;
  align-items: stretch;
  box-shadow: 0 1px 2px rgba(0, 17, 40, .05);
}

html body .ck-imeta .ck-q button {
  width: 30px;
  height: 100%;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
  background: var(--surface-2);
  border-radius: 0;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: background .15s, color .15s;
}

html body .ck-imeta .ck-q button:first-child {
  border-right: 1px solid #E2E8F0;
}

html body .ck-imeta .ck-q button:first-child:hover {
  background: #E2E8F0;
  color: #0F172A;
}

html body .ck-imeta .ck-q button:last-child {
  background: var(--brand);
  color: #FFFFFF;
  border-left: 1px solid var(--brand);
}

html body .ck-imeta .ck-q button:last-child:hover {
  background: var(--accent);
  border-left-color: var(--accent);
  color: #FFFFFF;
}

html body .ck-imeta .ck-q span {
  min-width: 30px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  display: grid;
  place-items: center;
  background: var(--surface);
  font-variant-numeric: tabular-nums;
}

[data-theme="dark"] html body .ck-imeta .ck-q {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
}

[data-theme="dark"] html body .ck-imeta .ck-q button:first-child {
  background: rgba(255, 255, 255, .08);
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, .14);
}

[data-theme="dark"] html body .ck-imeta .ck-q button:last-child {
  background: var(--accent);
  border-left-color: var(--accent);
  color: #FFFFFF;
}

[data-theme="dark"] html body .ck-imeta .ck-q span {
  background: transparent;
  color: #F8FAFC;
}

html body .ck-item .ck-vopts {
  margin: 7px 0 0;
  gap: 5px;
}

html body .ck-item .ck-vo {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 5px;
}

[data-theme="dark"] html body .ck-item {
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 255, 255, .12);
}

[data-theme="dark"] html body .ck-item .ck-vo {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
  color: #E2E8F0;
}

[data-theme="dark"] html body .ck-item .ck-vo.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}