/*
 * Atelick theme - loaded after app.gen.css (style.css rewritten for phone width, see app_css()).
 * The store is a phone-width app on every screen: centred column on desktops, full width on phones.
 * Colours come from the logo: pink #f0145a (primary), blue #3b4cf0 (accent). Admin → Settings can still override both.
 */
:root {
  --app-w: 480px;
  --gut: max(0px, calc((100vw - var(--app-w)) / 2)); /* empty space either side of the app column */
  --text: #16161d;
  --muted: #7a7d8a;
  --line: #ececf1;
  --bg-soft: #f5f5f8;
  --green: #11865a;
  --radius: 10px;
}

/* ---------- app frame ---------- */
html { background: #ebebf0; }
body { max-width: var(--app-w); margin: 0 auto; min-height: 100vh; background: #fff; box-shadow: 0 0 48px rgba(20, 20, 40, .10); overflow-x: clip;
  font-family: 'Plus Jakarta Sans', Helvetica, Arial, system-ui, sans-serif; font-size: 14.5px; }
.container { padding-left: 14px; padding-right: 14px; }
/* fixed bars and panels stay inside the column */
.mbnav, .sticky-buy, .co-mbar { left: var(--gut) !important; right: var(--gut) !important; }
.loc-pop { left: var(--gut) !important; right: var(--gut) !important; }
.drawer-panel { margin-left: var(--gut); }
.cd-panel { right: var(--gut); max-width: var(--app-w); }
.wa-float { right: calc(var(--gut) + 16px); }
.toast-card { left: calc(var(--gut) + 12px); right: calc(var(--gut) + 12px); }

/* ---------- buttons ---------- */
.btn { border-radius: 6px; letter-spacing: .02em; }
.btn-primary { background: var(--primary); }
.btn-outline { border-color: #16161d; color: #16161d; }

/* ---------- offer strip ---------- */
.announce { position: relative; background: #111; color: #fff; font-weight: 600; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; padding: 10px 40px 10px 0; }
.announce-x { position: absolute; top: 0; right: 0; bottom: 0; width: 40px; display: grid; place-items: center; background: #111; border: 0; color: #fff; cursor: pointer; }

/* ---------- header: menu · logo · deliver to … bag · search · account ---------- */
.site-header { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.header-main { height: auto; min-height: 62px; gap: 8px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.menu-toggle { padding: 4px; margin-left: -4px; }
.logo img { height: 30px; width: auto; }
.loc { order: 0; flex: 0 1 auto; width: auto; min-width: 0; margin-left: 4px; padding-left: 10px; border-left: 1px solid var(--line); }
.loc-pill { display: flex !important; gap: 2px; padding: 0; border: 0; background: none; box-shadow: none !important; width: auto; }
.loc-text { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.2; }
.loc-text small { font-size: 11px; color: var(--muted); font-weight: 600; }
.loc-text strong { font-size: 13px; font-weight: 700; color: var(--text); max-width: 108px; }
.loc-chev { color: var(--text); }
.header-spacer { flex: 1; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions .icon-btn, .cart-link { color: var(--text); padding: 6px; }
.cart-link { position: relative; display: inline-flex; }
.cart-count { background: var(--primary); }
.account-link { padding: 2px 0 2px 4px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.avatar .ico { width: 20px; height: 20px; }
.header-main .search { display: none; order: 10; flex: 1 1 100%; height: 42px; margin-top: 2px; border-radius: 8px !important; background: var(--bg-soft) !important; border-color: transparent !important; }
body.show-search .header-main .search { display: flex; }

/* ---------- homepage ---------- */
.hero-full { padding-top: 0; }
.hero, .hero-full .hero { border-radius: 0; }
.hero-slide img, .hero-full .hero-slide img { aspect-ratio: auto; height: auto; width: 100%; }
.hero .slider-arrow { display: none; }
.hero-dots button.active { background: #fff; }
.section { padding-top: 22px; padding-bottom: 8px; }
.section-head { align-items: center; }
.section-title { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
.view-all { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.carousel-cell { width: 44%; min-width: 0; }
.carousel-track { gap: 10px; }
.tile-photo img { border-radius: 8px; }
.tile-cap { font-weight: 700; }

/* ---------- product cards: big photo, heart, no button ---------- */
.product-grid { grid-template-columns: 1fr 1fr; gap: 20px 10px; }
.pcard { position: relative; }
.pcard-img { border: 0; border-radius: 6px; aspect-ratio: 3 / 4; background: var(--bg-soft); }
.pcard-img img { border-radius: 6px; object-fit: cover; object-position: top; }
.pcard-title { margin-top: 8px; font-size: 13.5px; font-weight: 500; color: #34343d; }
.pcard-variant { font-size: 12px; }
.pcard-price { margin: 2px 0 0; padding-top: 2px; gap: 0 6px; }
.pcard-price strong { font-size: 15px; font-weight: 700; }
.pcard-price s { font-size: 12px; }
.pcard-off { font-size: 12px; font-weight: 700; color: var(--primary); }
.pcard .btn { display: none; }
.pbadge { border-radius: 3px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }

.wish-btn { position: absolute; top: 8px; right: 8px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #2a2a33; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); transition: transform .15s, color .15s; }
.wish-btn:active { transform: scale(.85); }
.wish-btn.on { color: var(--primary); }
.wish-btn.on .ico { fill: currentColor; }
.wish-btn[disabled] { opacity: .6; }
.pdp-info { position: relative; }
.pdp-wish { top: 12px; right: 0; width: 38px; height: 38px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pdp-info h1 { padding-right: 46px; }

/* ---------- bottom navigation: Home · Category · (New In) · Wishlist · Account ---------- */
.mbnav { border-top: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -4px 24px rgba(20, 20, 40, .09); padding-top: 8px; overflow: visible; }
.mbnav-item { position: relative; color: #8b8e9a; font-size: 11px; font-weight: 600; }
.mbnav-item.is-active { color: var(--primary); }
.mbnav-item.is-active::before { content: ''; position: absolute; top: -8px; width: 22px; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary); }
.mbnav-new { color: var(--text); font-weight: 700; }
.mbnav-new.is-active::before { display: none; }
.mbnav-orb { width: 52px; height: 52px; margin-top: -28px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 4px solid #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 40%, transparent); }
.mbnav-new:active .mbnav-orb { transform: scale(.92); }

/* ---------- footer ---------- */
.ft-news { grid-template-columns: 1fr; padding: 22px 18px; }
.ft-news h3 { font-size: 20px; }

/* ---------- product page: store promise box in brand colours ---------- */
.srg-promise { border-color: var(--line); background: var(--bg-soft); }
.srg-promise-head { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.srg-promise-ico { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 25%, #fff); }
.srg-promise-grid b { color: var(--text); }
.srg-promise-grid small { color: var(--muted); }
.srg-promise-foot { border-top-color: var(--line); }
.loc-pill .loc-text strong { color: var(--text); }
.allcat-rail { background: var(--bg-soft); }

/* ---------- listing: back · title · bag · search, then Sort | Sizes | Filters, then chips ---------- */
.lh-bar { display: flex; align-items: center; gap: 6px; height: 58px; padding: 0 10px 0 6px; }
.lh-bar .cart-link, .lh-bar .icon-btn { color: var(--text); padding: 6px; }
.lh-title { flex: 1; min-width: 0; line-height: 1.15; padding-left: 4px; }
.lh-title h1 { margin: 0; font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lh-title small { font-size: 11.5px; color: var(--muted); }
.lh-search { display: none; margin: 0 14px 10px; height: 42px; border-radius: 8px; background: var(--bg-soft); border-color: transparent; }
body.show-search .lh-search { display: flex; }
.lbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-bottom: 1px solid var(--line); background: #fff; }
.lbar button { display: flex; align-items: center; justify-content: center; gap: 5px; height: 48px; border: 0; background: none; cursor: pointer;
  font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text); }
.lbar button + button { box-shadow: -1px 0 0 var(--line); }
.lbar em { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #111; color: #fff; font-size: 11px; font-style: normal; }
.lchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 14px 4px; }
.lchips::-webkit-scrollbar { display: none; }
.lchip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 16px; border-radius: 18px; border: 1px solid #dedee6;
  background: var(--bg-soft); font-size: 13.5px; font-weight: 500; color: var(--text); cursor: pointer; white-space: nowrap; }
.lchip.on { background: #111; border-color: #111; color: #fff; }
.lchip-zap { color: #ff7a1a; fill: #ff7a1a; }
.listing-page { padding-top: 10px; padding-bottom: 20px; }
.listing-page .product-grid { gap: 18px 8px; }

/* ---------- bottom sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 380; background: rgba(15, 15, 25, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet-box { width: min(100%, var(--app-w)); max-height: 86vh; overflow-y: auto; background: #fff; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom); animation: sheet-up .25s ease-out; }
.sheet-head { position: sticky; top: 0; display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.sheet-head strong { flex: 1; font-size: 16px; text-transform: uppercase; letter-spacing: .05em; }
.sheet-clear { font-size: 13px; font-weight: 700; color: var(--primary); }
.sheet-x { border: 0; background: none; padding: 4px; cursor: pointer; display: inline-flex; color: var(--text); }
.sheet-list a { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; font-size: 15px; border-bottom: 1px solid var(--line); }
.sheet-list a.on { font-weight: 700; color: var(--primary); }
.sheet-body { padding: 6px 16px 18px; }
.sheet-body .filter-block { padding: 14px 0; border-bottom: 1px solid var(--line); }
.sheet-body .filter-block > strong { display: block; margin-bottom: 10px; font-size: 14px; }
.sheet-foot { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); }
.size-pills, .fpills { display: flex; flex-wrap: wrap; gap: 10px; }
.size-pills { padding: 18px 16px; }
.size-pill input, .fpill input { position: absolute; opacity: 0; pointer-events: none; }
.size-pill span { display: grid; place-items: center; min-width: 56px; height: 44px; padding: 0 12px; border: 1px solid #d6d6de; border-radius: 8px; font-weight: 600; cursor: pointer; }
.fpill span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid #d6d6de; border-radius: 18px; font-size: 13.5px; cursor: pointer; }
.size-pill input:checked + span, .fpill input:checked + span { background: #111; border-color: #111; color: #fff; }
.size-pill input:focus-visible + span, .fpill input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.sheet .price-range { margin-top: 12px; }

/* ---------- product card (v2): rating chip on photo, brand + title, heart beside text, MRP · price · % OFF, coupon price ---------- */
.pcard-img { border-radius: 10px; }
.pcard-img img { border-radius: 10px; }
.prating { position: absolute; left: 8px; bottom: 8px; top: auto; display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 12px;
  background: rgba(255, 255, 255, .9); color: var(--text); font-size: 12px; font-weight: 700; box-shadow: none; }
.prating b { display: inline-flex; color: #14958f; }
.prating b .ico { fill: currentColor; }
.prating i { width: 1px; height: 11px; margin: 0 3px; background: #c4c4cc; }
.pcard-oos { position: absolute; inset: auto 0 0; z-index: 2; padding: 6px; background: rgba(255, 255, 255, .88); text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pcard-body { display: flex; align-items: flex-start; gap: 4px; margin-top: 8px; }
.pcard-text { flex: 1; min-width: 0; }
.pcard-brand { display: block; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.pcard-brand-title { text-transform: none; font-size: 13.5px; letter-spacing: 0; }
.pcard-body .pcard-title { display: block; margin: 1px 0 0; font-size: 12.5px; font-weight: 400; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; }
.pcard .wish-btn { position: static; flex-shrink: 0; width: 30px; height: 30px; margin: -3px -4px 0 0; background: none; box-shadow: none; color: #4a4a55; }
.pcard .wish-btn.on { color: var(--primary); }
.pcard-price { align-items: baseline; gap: 0 6px; margin-top: 4px; }
.pcard-price s { order: 0; font-size: 12.5px; color: var(--muted); }
.pcard-price strong { font-size: 15px; }
.pcard-off { font-size: 12.5px; font-weight: 700; color: #ff7a45; }
.pcard-best { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.pcard-best b { color: #03a685; }
.pcard-best { color: #03a685; font-weight: 600; }

/* ---------- listing: fixed SORT | FILTER bar ---------- */
.lsbar { position: fixed; bottom: 0; left: var(--gut); right: var(--gut); z-index: 85; display: grid; grid-template-columns: 1fr 1fr; background: #fff;
  border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(20, 20, 40, .06); padding-bottom: env(safe-area-inset-bottom); }
.lsbar button { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border: 0; background: none; cursor: pointer;
  font-size: 14.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #3e4152; }
.lsbar button + button::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.lsbar-dot { position: relative; top: -7px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
body:has(.lsbar) { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
body:has(.lsbar) .wa-float { bottom: 72px; }
.lchips { padding-top: 12px; padding-bottom: 2px; }

/* ---------- full-height filter sheet: rail + options ---------- */
.sheet-full { align-items: stretch; }
.fsheet { width: min(100%, var(--app-w)); height: 100%; display: flex; flex-direction: column; background: #fff; animation: sheet-up .25s ease-out; }
.fsheet-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 16px; border-bottom: 1px solid var(--line); }
.fsheet-head strong { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #3e4152; }
.fsheet-head a { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); }
.fsheet-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 38% 62%; }
.fsheet-rail { background: #f5f5f6; overflow-y: auto; }
.fsheet-rail button { display: flex; align-items: center; gap: 6px; width: 100%; padding: 18px 16px; border: 0; border-bottom: 1px solid #e9e9ed; background: none;
  text-align: left; font-size: 14.5px; color: #3e4152; cursor: pointer; }
.fsheet-rail button.on { background: #fff; font-weight: 700; }
.fsheet-rail small { margin-left: auto; font-size: 12px; color: var(--muted); }
.ftab-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.fsheet-panes { overflow-y: auto; padding: 0 14px; }
.fopt { position: relative; display: flex; align-items: center; gap: 12px; padding: 17px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: #3e4152; cursor: pointer; }
.fopt input { position: absolute; opacity: 0; pointer-events: none; }
.fopt-tick { flex-shrink: 0; color: #cfcfd6; }
.fopt input:checked ~ .fopt-tick { color: var(--primary); }
.fopt input:checked ~ span { font-weight: 700; color: var(--text); }
.fopt input:focus-visible ~ span { outline: 2px solid var(--primary); outline-offset: 2px; }
.fopt small { margin-left: auto; font-size: 12px; color: var(--muted); }
.fsheet .price-range { display: flex; align-items: center; gap: 8px; padding: 16px 2px; }
.fsheet .price-range input { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #d6d6de; border-radius: 6px; }
.fsheet-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.fsheet-foot button { position: relative; height: 56px; border: 0; background: none; cursor: pointer; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #3e4152; }
.fsheet-foot button + button::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.fsheet-foot .fsheet-apply { color: var(--primary); font-weight: 700; }

/* card text as in the reference: brand in its own case, "Best Price ₹X" green + "with coupon" grey */
.pcard-brand { text-transform: none; font-size: 15px; letter-spacing: 0; }
.pcard-body .pcard-title { font-size: 13.5px; color: #686b78; }
.pcard-price s { font-size: 13.5px; }
.pcard-price strong { font-size: 16px; }
.pcard-off { font-size: 13.5px; color: #ff905a; }
.pcard-best { font-size: 13.5px; font-weight: 400; color: #686b78; }
.pcard-best b { color: #03a685; font-weight: 700; }
.pcard .wish-btn .ico { stroke-width: 1.6; }

/* login popup: bottom sheet inside the app column (not the full desktop width) */
.auth-modal-box { width: min(100%, var(--app-w)); max-width: var(--app-w); }
.auth-tag { color: var(--primary); }

/* ---------- section headings: "Featured *This Week*" → light + bold brand colour ---------- */
.section-title:has(.title-hl) { font-weight: 400; letter-spacing: .02em; }
.title-hl { color: var(--primary); font-weight: 800; }

/* ---------- "Featured stories": big rounded portrait cards, the next one peeks in ---------- */
.tile-story { position: relative; flex-shrink: 0; width: 56%; aspect-ratio: 3 / 5; border-radius: 16px; overflow: hidden; background: var(--bg-soft); box-shadow: 0 2px 10px rgba(20, 20, 40, .08); }
.tile-story img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.tile-story:active img { transform: scale(.98); }
.carousel-track:has(.tile-story) { gap: 12px; }

/* ---------- bottom navigation (v2): even labels, soft pill behind the active icon, smaller centre button ---------- */
.mbnav { border-radius: 0; border-top: 1px solid var(--line); box-shadow: 0 -2px 14px rgba(20, 20, 40, .05); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.mbnav-item { gap: 3px; padding: 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; color: #80838f; }
.mbnav-item > .ico { box-sizing: content-box; padding: 4px 16px; border-radius: 16px; stroke-width: 1.8; transition: background .2s, color .2s; }
.mbnav-item.is-active { color: var(--primary); }
.mbnav-item.is-active::before { display: none; }
.mbnav-item.is-active > .ico { background: color-mix(in srgb, var(--primary) 12%, #fff); transform: none; }
.mbnav-new { color: #80838f; font-weight: 600; }
.mbnav-new.is-active { color: var(--primary); }
.mbnav-orb { width: 46px; height: 46px; margin-top: -20px; margin-bottom: 1px; border: 3px solid #fff; box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 32%, transparent); }
.mbnav-orb .ico { stroke-width: 1.9; }
.mbnav { align-items: end; }
.mbnav-item { justify-content: flex-end; }
.mbnav-orb { margin-bottom: 2px; }

/* ---------- product page (v2) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wish-hdr { position: static; width: auto; height: auto; padding: 6px; background: none; box-shadow: none; color: var(--text); }
.wish-hdr.on { color: var(--primary); }
/* gallery: rounded bottom, View Similar + rating on the photo, dots underneath */
.m-gallery { position: relative; }
.m-track { border-radius: 0 0 22px 22px; }
.m-gallery .m-dots { position: static; transform: none; display: flex; justify-content: center; gap: 6px; height: 26px; align-items: center; padding: 0; background: none; box-shadow: none; backdrop-filter: none; }
.m-gallery .m-dots button { background: #d4d5d9; }
.m-gallery .m-dots button.active { background: #3e4152; }
.m-chip { position: absolute; bottom: 42px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .95); font-size: 14px; font-weight: 700; color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.m-similar { left: 14px; }
.m-rating { right: 14px; gap: 3px; }
.m-rating b { display: inline-flex; color: #14958f; }
.m-rating b .ico { fill: currentColor; }
.m-rating i { width: 1px; height: 14px; margin: 0 6px; background: #c9c9d1; }
.m-share { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--text); cursor: pointer; box-shadow: 0 1px 6px rgba(0, 0, 0, .12); }
/* Colour row + Select Size */
.opt-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 17px; }
.opt-head b { font-weight: 700; color: var(--text); }
.pdp-colours { margin: 18px 0 8px; }
.pdp-colours .opt-head span { font-size: 16px; color: #535766; }
.pdp-colour-list { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pdp-colour-list::-webkit-scrollbar { display: none; }
.pdp-colour { flex: 0 0 74px; height: 100px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--bg-soft); }
.pdp-colour img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pdp-colour.on { border-color: var(--primary); }
.opt-chart { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; padding: 0; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--primary); }
.opt-size { margin-top: 16px; }
.opt-size .opt-list { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 22px; }
.opt-size .opt-btn { position: relative; min-width: 64px; height: 60px; padding: 0 12px; border: 1px solid #d4d5d9; border-radius: 16px; background: #fff;
  font-size: 17px; font-weight: 700; color: var(--text); }
.opt-size .opt-btn.active { border-color: var(--primary); color: var(--primary); background: #fff; box-shadow: 0 0 0 1px var(--primary); }
.opt-size .opt-btn.is-oos { color: #b5b6bd; background: #f7f7f8; }
.opt-size .opt-btn small { position: absolute; top: 100%; left: -4px; right: -4px; margin-top: 5px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: center; white-space: nowrap; }
.opt-size .opt-btn small.is-low { color: #ff7a1a; }
.size-chart { padding: 14px 16px 20px; }
.size-chart img { width: 100%; height: auto; border-radius: 8px; }
/* bottom bar: Add to Bag + Buy Now, same shape */
.sticky-buy { grid-template-columns: 1fr 1fr !important; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
.pdp-cta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 45px; border-radius: 14px; border: 1.5px solid var(--primary);
  font-size: 16.5px; font-weight: 700; cursor: pointer; transition: filter .15s, transform .1s; }
.pdp-cta:active { transform: scale(.98); }
.pdp-cta-bag { background: #fff; color: var(--primary); }
.pdp-cta-buy { background: var(--primary); color: #fff; }
.pdp-cta-buy .ico { fill: currentColor; stroke: none; }
.pdp-cta[disabled] { background: #ececf0 !important; border-color: #ececf0 !important; color: #9a9ca8 !important; cursor: not-allowed; }
.opt-size .opt-btn { display: inline-flex; align-items: center; justify-content: center; }
.sticky-buy .pdp-cta-buy { background: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }
.sticky-buy .pdp-cta-bag { background: #fff !important; border-color: var(--primary) !important; color: var(--primary) !important; }
.pdp-wish { display: none; } /* the heart sits in the header on product pages */
.pdp-info h1 { padding-right: 0; }

/* size boxes as in the reference: larger medium-weight letters, sold out = struck through on grey */
.opt-size .opt-btn { font-size: 18px; font-weight: 600; color: #282c3f; }
.opt-size .opt-btn.is-oos { background: #f5f5f6; border-color: #e0e0e4; color: #c3c4ca; text-decoration: line-through; text-decoration-thickness: 1.5px; cursor: not-allowed; }
.opt-size .opt-btn.is-oos small { text-decoration: none; }
.opt-size.need-pick .opt-list { animation: size-nudge .45s; }
.opt-size.need-pick .opt-head b { color: var(--primary); }
@keyframes size-nudge { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* size boxes, closer to the reference: bolder dark letters, square-ish boxes */
.opt-size .opt-btn { min-width: 62px; height: 62px; font-size: 19px; font-weight: 700; color: #282c3f; border-color: #d4d5d9; border-radius: 16px; }
.opt-head b { font-size: 19px; }
.opt-chart { font-size: 16px; }

/* standard size chart (when no chart image is uploaded) */
.sc-tabs { display: inline-flex; margin-bottom: 12px; border: 1px solid #d4d5d9; border-radius: 8px; overflow: hidden; }
.sc-tabs label { padding: 6px 16px; font-size: 13.5px; font-weight: 700; cursor: pointer; color: #535766; }
#sc-in:checked ~ .sc-tabs label[for="sc-in"], #sc-cm:checked ~ .sc-tabs label[for="sc-cm"] { background: #282c3f; color: #fff; }
#sc-in:checked ~ .sc-table .sc-cm, #sc-cm:checked ~ .sc-table .sc-in { display: none; }
.sc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; text-align: center; }
.sc-table th, .sc-table td { padding: 12px 6px; border-bottom: 1px solid var(--line); }
.sc-table thead th { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg-soft); }
.sc-table tbody th { font-weight: 700; color: var(--text); }
.sc-how { margin-top: 16px; font-size: 13.5px; line-height: 1.55; }
.sc-how strong { display: block; margin-bottom: 4px; font-size: 14.5px; }
.sc-how p { margin: 0 0 6px; }

/* ---------- product page: Similar Products (cards with Add to Bag) + quick size picker ---------- */
.pdp-similar .pcard-img { border: 1px solid var(--line); }
.pcard-bag { display: block; width: 100%; height: 40px; margin-top: 10px; border: 1px solid var(--primary); border-radius: 12px; background: #fff;
  color: var(--primary); font-size: 15px; font-weight: 700; cursor: pointer; }
.pcard-bag:active { transform: scale(.98); }
.pcard-bag[disabled] { border-color: #e0e0e4; color: #a0a2ab; cursor: not-allowed; }
.pdp-similar .carousel-cell { display: flex; }
.pdp-similar .pcard { width: 100%; }
.pdp-similar .pcard-best { margin-bottom: auto; }
.qa-body { padding: 14px 16px 22px; }
.qa-title { margin-bottom: 14px; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-similar .section-title { text-transform: none; letter-spacing: 0; font-size: 20px; font-weight: 700; }
.pcard-bag { height: 34px; margin-top: 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }

/* ---------- loading: grey Atelick mark (page change + product photos still loading) ---------- */
.page-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(255, 255, 255, .96); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.page-loader.on { opacity: 1; visibility: visible; }
.page-loader img { width: 96px; height: 96px; filter: grayscale(1); opacity: .35; animation: loader-breathe 1.4s ease-in-out infinite; }
@keyframes loader-breathe { 0%, 100% { transform: scale(.92); opacity: .22; } 50% { transform: scale(1); opacity: .42; } }
@media (prefers-reduced-motion: reduce) { .page-loader img { animation: none; } }
.pcard-img::before, .m-slide::before, .tile-story::before, .tile-photo::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('../img/brand/atelick-icon.png') center / 34% no-repeat; filter: grayscale(1); opacity: .13; }
.m-slide, .tile-photo { position: relative; }
.m-slide img, .tile-story img, .tile-photo img { position: relative; z-index: 1; }
.pcard-img img { z-index: 1; }
.page-loader { background: #fff; }
.pcard-img img, .m-slide img, .tile-story img, .tile-photo img { color: transparent; font-size: 0; } /* no alt text over the placeholder if a photo fails */

/* carousels run edge to edge with the first card on the content line, so card borders are never clipped by scroll-snap */
.carousel-track { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; scroll-padding: 0 14px; }

/* categories page: product tiles in a category pane (name in 2 lines + price) */
.allcat-prods .allcat-tile-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; font-weight: 500; color: #535766; text-align: center; }
.allcat-price { font-size: 13px; font-weight: 700; color: var(--text); }
.allcat-prods .allcat-tile-img img { object-fit: cover; object-position: top; }

/* smooth cross-fade between pages in browsers that support it (Chrome/Edge/Safari 18+), e.g. switching product colour */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }

/* ---------- type scale for Plus Jakarta Sans (same font as newme.asia; larger x-height than Assistant, so sizes come down ~1px) ---------- */
body { font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.section-title { font-size: 16px; letter-spacing: .04em; }
.pdp-similar .section-title { font-size: 18px; }
.pcard-brand { font-size: 14px; font-weight: 700; }
.pcard-brand-title { font-size: 13px; font-weight: 600; }
.pcard-body .pcard-title { font-size: 12.5px; }
.pcard-price strong { font-size: 14.5px; font-weight: 700; }
.pcard-price s, .pcard-off, .pcard-best { font-size: 12px; }
.pcard-off { font-weight: 700; }
.mbnav-item { font-size: 11px; font-weight: 500; }
.mbnav-item.is-active { font-weight: 600; }
.lbar button, .lsbar button { font-size: 13px; font-weight: 600; }
.lchip { font-size: 13px; font-weight: 500; }
.lh-title h1 { font-size: 17px; font-weight: 700; }
.pdp-info h1 { font-size: 15px; font-weight: 500; line-height: 1.45; }
.opt-head b { font-size: 17px; }
.opt-size .opt-btn { font-size: 16px; font-weight: 600; }
.opt-chart { font-size: 14.5px; font-weight: 600; }
.pdp-cta { font-size: 15px; font-weight: 600; }
.pcard-bag { font-size: 13.5px; font-weight: 600; }
.announce { font-size: 11.5px; font-weight: 600; letter-spacing: .05em; }
.loc-text strong { font-size: 12.5px; }
.view-all { font-size: 12px; }
.fsheet-rail button, .fopt { font-size: 14px; }

/* product page header: logo right next to the back arrow */
body.is-pdp .m-pdp-bar { grid-template-columns: auto auto 1fr auto; gap: 2px; }
.m-pdp-logo { justify-self: start; }
.m-pdp-logo img { height: 30px; }
.m-pdp-actions { grid-column: 4; }

/* ---------- checkout (newme style): strip, Delivery details · Offers & Rewards · Payment options ---------- */
body:has(.co2), body:has(.co2) main { background: #f4f4f6; }
.simple-header .sh-logo { display: none; }
.simple-header .sh-inner { min-height: 58px; }
.sh-secure { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: 12.5px; font-weight: 500; color: #3e4152; }
.sh-secure .ico { color: #9a9ca8; }
.co2-strip { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 14px; background: #e8f6ee; font-size: 13px; color: #3e4152; }
.co2-strip .ico { color: #ff7a1a; fill: #ff7a1a; }
.co2 { padding-top: 6px; padding-bottom: 28px; }
.co2 .alert { margin: 10px 0 0; }
.co2-login { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #fff; font-size: 13px; }
.co2-login a { color: var(--primary); font-weight: 700; }
.co2-label { margin: 18px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #696b79; }
.co2-card { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin-bottom: 12px; padding: 14px; border: 1px solid #e3e3e8; border-radius: 4px; background: #fff; text-align: left; font: inherit; color: var(--text); }
.co2-ico { flex-shrink: 0; display: inline-flex; padding-top: 2px; color: #282c3f; }
/* order summary */
.co2-summary { display: block; padding: 0; }
.co2-summary summary { display: flex; align-items: flex-start; gap: 12px; padding: 14px; list-style: none; cursor: pointer; }
.co2-summary summary::-webkit-details-marker { display: none; }
.co2-sum-main { flex: 1; min-width: 0; }
.co2-sum-main b { display: block; font-size: 16px; font-weight: 600; }
.co2-saved { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; padding: 2px 7px; border-radius: 3px; background: #e8f6ee; color: #03a685; font-size: 11.5px; font-weight: 700; font-style: normal; text-transform: uppercase; }
.co2-sum-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.co2-sum-right small { font-size: 13px; color: #696b79; }
.co2-sum-right s { font-size: 13px; color: #94969f; }
.co2-sum-right b { font-size: 17px; font-weight: 700; }
.co2-caret { margin-top: 4px; transition: transform .2s; }
.co2-summary[open] .co2-caret { transform: rotate(180deg); }
.co2-items { padding: 0 14px 12px; border-top: 1px solid #eeeef2; }
.co2-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1f1f4; }
.co2-item img { width: 46px; height: 58px; object-fit: cover; border-radius: 4px; background: var(--bg-soft); }
.co2-item > div { flex: 1; min-width: 0; }
.co2-item-t { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co2-item small { font-size: 12px; color: #696b79; }
.co2-item b { font-size: 13.5px; }
/* address */
.co2-deliver-main { flex: 1; min-width: 0; }
.co2-deliver-main b { display: block; font-size: 16px; font-weight: 600; }
.co2-deliver-main p { margin: 3px 0 2px; font-size: 14.5px; line-height: 1.45; color: #282c3f; }
.co2-deliver-main small { font-size: 12.5px; color: #696b79; word-break: break-all; }
.co2-change, .co2-apply { flex-shrink: 0; padding: 6px 16px; border: 1px solid #282c3f; border-radius: 2px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.co2-add { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 20px); height: 48px; margin: 18px auto; border: 1px solid #282c3f; border-radius: 2px; background: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.co2-form { display: block; }
.co2-form-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.co2-form-head b { font-size: 15px; }
.co2-form-head small { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--green); }
/* shipping */
.co2-ship b { font-size: 16px; font-weight: 600; }
.co2-ship-line { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: #3e4152; }
.co2-free { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; background: #03a685; color: #fff; font-size: 12px; font-weight: 600; font-style: italic; }
.co2-free .ico { color: #ffd23f; fill: #ffd23f; }
/* offers */
.co2-offer { display: block; padding: 0; overflow: hidden; }
.co2-offer-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: #03a685; color: #fff; font-size: 13px; font-weight: 700; }
.co2-offer-bar > span { display: inline-flex; align-items: center; gap: 6px; }
.co2-ends { font-weight: 600; font-size: 12px; }
.co2-ends b { margin-left: 4px; font-size: 16px; }
.co2-offer-row { display: flex; align-items: center; gap: 12px; padding: 14px 14px 4px; }
.co2-offer-row > div { flex: 1; }
.co2-offer-row b { display: block; font-size: 16px; font-weight: 600; }
.co2-offer-row small { font-size: 13.5px; color: #696b79; }
.co2-pct { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #03a685; color: #fff; font-size: 12px; font-weight: 800; }
.co2-allcoupons { display: inline-flex; align-items: center; gap: 2px; margin: 4px 0 12px 50px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: #3e4152; cursor: pointer; }
/* payment options */
.co2-pay { align-items: center; padding: 16px 14px; cursor: pointer; }
.co2-pay:active { background: #fafafb; }
.co2-pay-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.co2-pay-main b { font-size: 16px; font-weight: 500; }
.co2-pay-main small { font-size: 12.5px; color: #696b79; }
.co2-codfee { color: #c80a28 !important; font-weight: 600; }
.co2-logos { display: flex; gap: 6px; }
.co2-logos img { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #f1f2f6; object-fit: contain; }
.co2-pay-amt b { font-size: 17px; font-weight: 700; color: #03a685; }
.co2-pay-amt b.is-fee { color: #c80a28; }
.co2-go { color: #282c3f; }
.co2-pay[disabled] { opacity: .6; cursor: progress; }
.co2-pay.is-loading .co2-go, .co2-codgo.is-loading { animation: co2-pulse .8s ease-in-out infinite; }
@keyframes co2-pulse { 50% { opacity: .35; } }
/* trust */
.co2-trust { display: block; padding: 12px; }
.co2-trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 8px; background: #e8f6ee; border-radius: 2px; }
.co2-trust-row span { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.25; color: #282c3f; }
.co2-trust-row .ico { flex-shrink: 0; color: #03a685; }
.co2-trust-row b { font-weight: 700; margin-right: 2px; }
.co2-trust p { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: #696b79; }
.co2-trust a { color: #282c3f; font-weight: 600; text-decoration: underline; }
/* COD confirmation sheet */
.co2-codbox { position: relative; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; overflow: visible; }
.co2-codbox h3 { margin: 0 0 16px; font-size: 19px; font-weight: 600; }
.co2-codx { position: absolute; top: -56px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.co2-codline { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 14.5px; }
.co2-codline small { display: block; margin-top: 4px; font-size: 13.5px; color: #7e818c; }
.co2-codline b { font-weight: 600; }
.co2-codico { flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 10px; background: #f4f4f6; }
.co2-codgo { display: block; width: 100%; height: 54px; margin-top: 6px; border: 0; border-radius: 2px; background: #03a685; color: #fff; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.sh-secure { background: none !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
.co2-trust-row i { font-style: normal; }

/* ---------- address book: "Select address" / "Add Your Address" bottom sheets ---------- */
.ab-drawer { align-items: flex-end; justify-content: center; }
.ab-panel { width: min(100%, var(--app-w)); height: auto; max-height: 88vh; border-radius: 22px 22px 0 0; animation: sheet-up .25s ease-out; }
.ab-x { left: auto; right: 14px; top: -56px; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.ab-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px 16px; }
.ab-head h3 { font-size: 22px; font-weight: 700; color: #141626; }
.ab-addnew { border: 0; background: none; padding: 0; font: inherit; font-size: 16px; font-weight: 600; color: #03a685; cursor: pointer; }
.ab-body { min-height: 320px; }
.ab-saved { margin: 4px 0 6px; font-size: 18px; font-weight: 600; color: #141626; }
[data-mode="select"] .ab-list { display: block; }
[data-mode="select"] .ab-item { display: flex; gap: 14px; padding: 16px 4px 18px 24px; border: 0; border-bottom: 1px dashed #dcdce2; border-radius: 0; background: none; box-shadow: none; }
[data-mode="select"] .ab-item.is-on { background: none; box-shadow: none; }
.ab-radio { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border: 2px solid #b8b9c2; border-radius: 50%; background: #fff; }
.ab-item.is-on .ab-radio { border: 6px solid #141626; }
.ab-item-top strong { font-size: 16px; font-weight: 600; color: #141626; }
.ab-item p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.45; text-transform: none; color: #3e4152; }
.ab-item .ab-mob { margin-top: 8px; font-size: 14px; font-weight: 600; color: #141626; }
.ab-edit { position: static; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 16px; width: auto; height: auto; border: 1px solid #141626; border-radius: 8px; background: #fff; font: inherit; font-size: 16px; font-weight: 500; color: #141626; cursor: pointer; }
.ab-edit svg, .ab-edit .ico { width: 18px; height: 18px; }
.ab-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); }
.ab-proceed, .ab-save { display: block; width: 100%; height: 56px; border: 0; border-radius: 8px; background: #000; color: #fff; font: inherit; font-size: 18px; font-weight: 600; cursor: pointer; }
.ab-save[disabled] { opacity: .6; }
/* form */
.ab-form-head { display: flex; align-items: center; gap: 10px; margin: -2px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ab-form-head strong { font-size: 22px; font-weight: 700; color: #141626; }
.ab-grid { display: flex; flex-direction: column; gap: 18px; }
.ab-f input, .ab-f select { height: 58px; padding: 0 16px; border: 1px solid #dcdce2; border-radius: 8px; font-size: 17px; color: #141626; background: #fff; }
.ab-f input::placeholder { color: #b3b4bc; }
.ab-f select:invalid, .ab-f select option[value=""] { color: #b3b4bc; }
.ab-auto input, .ab-auto select { background: #f6f6f8; }
.ab-prefix { display: flex; align-items: center; height: 58px; border: 1px solid #dcdce2; border-radius: 8px; overflow: hidden; }
.ab-prefix > span { padding: 0 6px 0 16px; font-size: 17px; color: #3e4152; }
.ab-prefix input { height: 56px; border: 0 !important; box-shadow: none !important; padding-left: 6px; }
.ab-bad input, .ab-bad select, .ab-bad .ab-prefix { border-color: #e5484d !important; }
.ab-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 16px; font-weight: 500; color: #141626; cursor: pointer; }
.ab-toggle > span { display: inline-flex; align-items: center; gap: 8px; }
.ab-toggle > span .ico { color: #f6b100; fill: #f6b100; }
.ab-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.ab-toggle i { position: relative; width: 52px; height: 30px; border-radius: 15px; background: #dcdce2; transition: background .2s; }
.ab-toggle i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.ab-toggle input:checked + i { background: #03a685; }
.ab-toggle input:checked + i::after { transform: translateX(22px); }
.ab-toggle input:focus-visible + i { outline: 2px solid var(--primary); outline-offset: 2px; }
.ab-form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.ab-form-actions .ab-del { order: 2; align-self: center; }
/* checkout "Add Your Address" sheet (same look as the address book form) */
.co2-addsheet .sheet-box { position: relative; overflow: visible; display: flex; flex-direction: column; max-height: 90vh; border-radius: 22px 22px 0 0; }
.co2-sheetx { position: absolute; top: -56px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.co2-addhead { display: flex; flex-direction: column; gap: 4px; padding: 22px 20px 16px; border-bottom: 1px solid var(--line); }
.co2-addhead b { font-size: 22px; font-weight: 700; color: #141626; }
.co2-addhead small { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--green); }
.co2-addbody { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; padding: 18px 20px; }
.co2-addbody .co-field { margin: 0; }
.co2-addbody input, .co2-addbody select, .co2-addbody textarea { width: 100%; height: 58px; padding: 0 16px; border: 1px solid #dcdce2; border-radius: 8px; font: inherit; font-size: 17px; color: #141626; background: #fff; }
.co2-addbody textarea { padding-top: 17px; resize: none; line-height: 1.3; }
.co2-addbody input::placeholder, .co2-addbody textarea::placeholder { color: #b3b4bc; }
.co2-addbody .co2-auto input, .co2-addbody .co2-auto select, .co2-addbody select[disabled] { background: #f6f6f8; }
.co2-addbody .co-prefix { display: flex; align-items: center; height: 58px; border: 1px solid #dcdce2; border-radius: 8px; overflow: hidden; }
.co2-addbody .co-prefix > span { padding: 0 6px 0 16px; font-size: 17px; color: #3e4152; background: none; border: 0; }
.co2-addbody .co-prefix input { height: 56px; border: 0; padding-left: 6px; }
.co2-addbody .has-error input, .co2-addbody .has-error select, .co2-addbody .has-error textarea, .co2-addbody .has-error .co-prefix { border-color: #e5484d; }
.co2-addbody .co-note input { height: 48px; margin-top: 8px; font-size: 15px; }
.co2-addfoot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.ab-radio::after, .ab-radio::before { display: none !important; }
.ab-item.is-on .ab-radio { background: #fff; }
.ab-prefix > span { background: none !important; border: 0 !important; border-radius: 0 !important; height: auto; }

/* phone with a small "Phone number*" label inside the box; locked (grey) until "Change"; alternate number hint */
.ph-box { position: relative; }
.ph-in { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding-left: 12px; border-left: 2px solid #dcdce2; margin: 12px 0; }
.ph-in small { font-size: 12.5px; line-height: 1.1; color: #9a9ca8; }
.ph-in input { height: 26px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 17px; }
.ph-box > span { border: 0 !important; }
.ph-box.is-locked { background: #f6f6f8; }
.ph-box.is-locked input, .ph-box.is-locked > span { color: #9a9ca8; }
.ph-change { flex-shrink: 0; margin-right: 16px; border: 0; background: none; padding: 0; font: inherit; font-size: 16px; font-weight: 500; color: #141626; cursor: pointer; }
.ph-hint { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 400; color: #3e4152; }
.ab-alt-hint { display: flex; align-items: center; gap: 8px; margin-top: 8px !important; font-size: 13.5px !important; color: #d9480f !important; }
.co2-addbody .co-prefix:not(.ph-box) > span, .ab-prefix:not(.ph-box) > span { padding-right: 10px; border-right: 2px solid #dcdce2 !important; margin-right: 10px; line-height: 1.6; }

/* photo lightbox: dark backdrop over the whole screen, photo + controls inside the app column */
.lb { padding: 0 var(--gut); }
.lb-top { padding: 12px 14px; }
.lb-close { display: grid; place-items: center; width: 40px; height: 40px; background: rgba(255, 255, 255, .16); font-size: 0; }
.lb-close:hover { background: rgba(255, 255, 255, .28); }
.lb-count { font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.lb-nav { display: grid !important; place-items: center; width: 40px; height: 40px; font-size: 0; background: rgba(255, 255, 255, .16); }
.lb-nav.prev { left: calc(var(--gut) + 10px); } .lb-nav.next { right: calc(var(--gut) + 10px); }
.lb-stage { padding: 0 10px; }
.lb-img { max-width: 100%; border-radius: 10px; }
.lb-th { border-radius: 8px; }
.lb-nav { background: rgba(0, 0, 0, .45); color: #fff; }
.lb-nav:hover { background: rgba(0, 0, 0, .6); }

/* ---------- checkout + address sheets in Atelick colours (pink primary, blue accent) instead of green ---------- */
.co2-strip, .co2-trust-row { background: color-mix(in srgb, var(--primary) 7%, #fff); }
.co2-strip .ico { color: var(--primary); fill: var(--primary); }
.co2-saved { background: color-mix(in srgb, var(--primary) 9%, #fff); color: var(--primary); }
.co2-free { background: var(--primary); }
.co2-free .ico { color: #fff; fill: #fff; }
.co2-offer-bar { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.co2-pct { background: var(--primary); }
.co2-pay-amt b { color: var(--primary); }
.co2-trust-row .ico { color: var(--primary); }
.co2-codgo { background: var(--primary); border-radius: 8px; }
.co2-change, .co2-apply { border-color: var(--primary); color: var(--primary); border-radius: 6px; }
.co2-add { border-color: var(--primary); color: var(--primary); border-radius: 8px; }
.co2-login a, .co2-trust a { color: var(--primary); }
.ab-addnew { color: var(--primary); }
.ab-proceed, .ab-save { background: var(--primary); }
.ab-item.is-on .ab-radio { border-color: var(--primary); }
.ab-edit { border-color: var(--primary); color: var(--primary); }
.ab-toggle input:checked + i { background: var(--primary); }
.ab-tag-def { background: color-mix(in srgb, var(--accent) 10%, #fff); color: var(--accent); }
.co2-codein { display: flex; gap: 10px; padding: 10px 14px 0 50px; }
.co2-codein input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #dcdce2; border-radius: 6px; font: inherit; font-size: 14px; text-transform: uppercase; }
.co2-codein input::placeholder { text-transform: none; }
.co2-offer-gap { height: 14px; }

/* product page delivery line: date · COD · pincode on one row */
body.is-pdp .pdp-delivery, .pdp-delivery { flex-wrap: nowrap; gap: 6px; font-size: 13px; white-space: nowrap; }
.pdp-delivery > .ico { flex-shrink: 0; }
.pdp-delivery [data-deliv-text] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pdp-delivery small.pdp-cod { margin-left: 6px; padding: 1px 6px; font-size: 11px; background: color-mix(in srgb, var(--primary) 9%, #fff); color: var(--primary); }
.pdp-pin { flex-shrink: 0; margin-left: auto; font-size: 13px; }
.pcard-bag { display: flex; align-items: center; justify-content: center; gap: 6px; }
.pcard-bag .ico { flex-shrink: 0; stroke-width: 2; }

/* size boxes: a bit smaller, letters a bit larger */
.opt-size .opt-btn { min-width: 54px; height: 54px; padding: 0 10px; border-radius: 14px; font-size: 17px; font-weight: 600; }
.opt-size .opt-list { gap: 10px; }

/* =================== decorative touches (all switched off for "reduce motion") =================== */

/* 1. shine sweeping across the main pink buttons every few seconds */
.pdp-cta-buy, .ab-proceed, .ab-save, .co2-codgo, .btn-primary, .fsheet-apply, .mbnav-orb { position: relative; overflow: hidden; isolation: isolate; }
.pdp-cta-buy::after, .ab-proceed::after, .ab-save::after, .co2-codgo::after, .btn-primary::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .55) 50%, transparent 100%);
  transform: skewX(-18deg); animation: atl-shine 3.6s ease-in-out infinite;
}
.ab-proceed::after, .ab-save::after { animation-delay: .6s; }
.co2-codgo::after { animation-delay: .3s; }
@keyframes atl-shine { 0%, 62% { left: -60%; } 100% { left: 130%; } }

/* 2. "New In" orb: slowly turning gradient + soft breathing glow */
.mbnav-orb { background: conic-gradient(from 0deg, var(--primary), var(--accent), #ff6aa2, var(--primary)); animation: atl-orb-spin 6s linear infinite, atl-orb-glow 2.8s ease-in-out infinite; }
.mbnav-orb .ico { animation: atl-orb-spin 6s linear infinite reverse; } /* keeps the sparkle upright */
@keyframes atl-orb-spin { to { transform: rotate(360deg); } }
@keyframes atl-orb-glow { 0%, 100% { box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 30%, transparent); } 50% { box-shadow: 0 6px 22px color-mix(in srgb, var(--primary) 55%, transparent); } }

/* 3. highlighted heading words in a pink → blue gradient */
.title-hl { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 4. wishlist heart pop with a small burst ring */
.wish-btn { position: relative; }
.wish-btn.pop .ico { animation: atl-heart .45s cubic-bezier(.2, .9, .3, 1.4); }
.wish-btn.pop::before { content: ''; position: absolute; inset: 2px; border-radius: 50%; border: 2px solid var(--primary); animation: atl-burst .5s ease-out forwards; pointer-events: none; }
.pcard .wish-btn.pop::before { inset: -2px; }
@keyframes atl-heart { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes atl-burst { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

/* 5. bag count hops when something is added */
.cart-count.bump { animation: atl-bump .5s cubic-bezier(.2, .9, .3, 1.5); }
@keyframes atl-bump { 0% { transform: scale(1); } 40% { transform: scale(1.5) translateY(-3px); } 100% { transform: scale(1); } }

/* 6. cards / tiles fade up while scrolling */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 7. homepage banner: slow Ken Burns zoom */
.hero-slide { overflow: hidden; }
.hero-slide img { animation: atl-kenburns 14s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes atl-kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }

/* 8. shimmer while a photo is still loading (sits under the image) */
.pcard-img::after, .m-slide::after, .tile-story::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%) -150% 0 / 60% 100% no-repeat;
  animation: atl-shimmer 1.6s ease-in-out infinite; }
@keyframes atl-shimmer { to { background-position: 250% 0; } }

/* 9. "% OFF" tag and checkout offer bar */
.off-tag { background: linear-gradient(90deg, var(--primary), #ff5a8c); border-radius: 6px; }
.co2-offer-bar { position: relative; overflow: hidden; }
.co2-offer-bar::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-18deg); animation: atl-shine 4.2s ease-in-out infinite; pointer-events: none; }

/* 10. small tactile press on buttons and cards */
.pdp-cta, .pcard-bag, .co2-pay, .lchip, .opt-btn, .ab-proceed, .ab-save { transition: transform .12s ease, box-shadow .2s ease, filter .15s ease; }
.pdp-cta:active, .pcard-bag:active, .co2-pay:active, .lchip:active, .opt-btn:active, .ab-proceed:active, .ab-save:active { transform: scale(.97); }
.pcard-img img { transition: transform .5s ease; }
@media (hover: hover) { .pcard:hover .pcard-img img { transform: scale(1.04); } }

@media (prefers-reduced-motion: reduce) {
  .pdp-cta-buy::after, .ab-proceed::after, .ab-save::after, .co2-codgo::after, .btn-primary::after, .co2-offer-bar::after,
  .pcard-img::after, .m-slide::after, .tile-story::after { animation: none; display: none; }
  .mbnav-orb, .mbnav-orb .ico, .hero-slide img, .wish-btn.pop .ico, .wish-btn.pop::before, .cart-count.bump { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.wish-hdr, .pcard .wish-btn { top: auto; right: auto; }

/* product page: heart on the photo (share under it); header heart = link to the wishlist */
.m-wish { position: absolute; top: 12px; right: 12px; left: auto; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 6px rgba(0, 0, 0, .12); color: var(--text); }
.m-wish.on { color: var(--primary); }
.m-share { top: 58px; }
.wish-link { position: relative; color: var(--text); }
.wish-count { top: -2px; right: -4px; }

/* ---------- bottom navigation (v3, clean): five equal tabs, thin icons, active = brand colour + soft fill + top bar ---------- */
.mbnav { grid-template-columns: repeat(5, 1fr); align-items: stretch; padding: 0 0 env(safe-area-inset-bottom); border-top: 1px solid #ececf1; border-radius: 0; box-shadow: 0 -1px 12px rgba(20, 20, 40, .04); background: #fff; }
.mbnav-item { position: relative; justify-content: center; gap: 4px; height: 58px; padding: 0; font-size: 10.5px; font-weight: 500; letter-spacing: .02em; color: #6b6e7b; }
.mbnav-item > .ico { width: 23px; height: 23px; padding: 0; border-radius: 0; background: none !important; stroke-width: 1.6; transition: color .2s, transform .2s; }
.mbnav-item.is-active { color: var(--primary); font-weight: 600; }
.mbnav-item.is-active > .ico { fill: currentColor; fill-opacity: .14; stroke-width: 1.8; transform: none; }
.mbnav-item::before { content: ''; position: absolute; top: -1px; left: 50%; width: 0; height: 2.5px; border-radius: 0 0 3px 3px; background: var(--primary); transform: translateX(-50%); transition: width .25s ease; display: block !important; }
.mbnav-item.is-active::before { width: 26px; }
.mbnav-item:active > .ico { transform: scale(.9); }
body:has(.mbnav) { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }

/* account dropdown stays inside the screen: right-aligned to the avatar */
.acct-menu { right: 0 !important; left: auto !important; width: min(260px, calc(100vw - 28px)) !important; max-width: calc(var(--app-w) - 28px); }
.acct-menu::before { right: 12px !important; left: auto !important; }

/* bottom nav polish: slightly taller, frosted white, crisper labels */
.mbnav { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-top-color: #e9e9ef; }
.mbnav-item { height: 60px; font-size: 11px; }
.mbnav-item > .ico { width: 24px; height: 24px; }
body:has(.mbnav) { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
.mbnav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 -2px 16px rgba(20, 20, 40, .06); }
.lh-title h1 { font-size: 17px; font-weight: 600; }

/* ---------- Track order ---------- */
.trk { padding-top: 22px; padding-bottom: 30px; }
.trk-hero { text-align: center; margin-bottom: 18px; }
.trk-badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 30%, transparent); }
.trk-hero h1 { margin: 14px 0 6px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.trk-hero p { margin: 0 auto; max-width: 300px; font-size: 13.5px; color: var(--muted); }
.trk-card { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px; border: 1px solid #ececf1; border-radius: 16px; background: #fff; box-shadow: 0 6px 24px rgba(20, 20, 40, .05); }
.trk-f > span:first-child { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #3e4152; }
.trk-in { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border: 1px solid #dcdce2; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.trk-in:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
.trk-in .ico { flex-shrink: 0; color: #9a9ca8; }
.trk-in b { font-weight: 500; color: #3e4152; padding-right: 10px; border-right: 1.5px solid #dcdce2; }
.trk-in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 15.5px; color: var(--text); }
.trk-in input[name=order] { text-transform: uppercase; }
.trk-in input::placeholder { text-transform: none; color: #b3b4bc; }
.trk-err { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 8px; background: #fdecee; color: #c0263a; font-size: 13px; font-weight: 500; }
.trk-go { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; margin-top: 2px; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; position: relative; overflow: hidden; }
.trk-go:active { transform: scale(.98); }
.trk-alt { margin: 0; text-align: center; font-size: 13px; color: var(--muted); display: flex; justify-content: center; align-items: center; gap: 2px; }
.trk-alt a, a.trk-alt { color: var(--primary); font-weight: 600; }
.trk-help { display: grid; gap: 10px; margin-top: 18px; }
.trk-help > div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-size: 13px; color: #3e4152; }
.trk-help .ico { flex-shrink: 0; color: var(--primary); }
.trk-help a { color: var(--primary); font-weight: 600; }
.trk-result { margin-top: 18px; }

/* thinner header icons */
.site-header .ico, .site-header .menu-toggle svg { stroke-width: 1.5; }
.site-header .menu-toggle svg { stroke-width: 1.6; }
.avatar { font-weight: 600; font-size: 14px; }
.allcat-all { display: inline-flex; margin-bottom: 14px; }

/* Featured stories: ~2.7 cards on screen */
.tile-story { width: calc((100% - 24px) / 2.7); border-radius: 14px; }

/* ---------- category circles row (homepage) ---------- */
.carousel-track:has(.tile-circle) { gap: 12px; padding-top: 2px; }
.tile-circle { width: 78px; flex-shrink: 0; text-align: center; }
.tile-circle img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; object-position: top; background: linear-gradient(180deg, #f3f3f6, #e7e7ec);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04); transition: transform .2s; }
.tile-circle:active img { transform: scale(.94); }
.tile-circle span { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 600; color: #282c3f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
section:has(> .carousel .tile-circle) { padding-top: 16px; padding-bottom: 4px; }

/* category circles v2: story-style gradient ring, zoomed on the upper body, uniform backdrop */
.carousel-track:has(.tile-circle) { gap: 14px; padding-top: 4px; padding-bottom: 6px; }
.tile-circle { width: 80px; }
.tile-circle img { width: 80px; height: 80px; padding: 3px; border: 0; border-radius: 50%; object-fit: cover; object-position: 50% 12%;
  background: linear-gradient(#f4f1f6, #f4f1f6) content-box, conic-gradient(from 210deg, var(--primary), #ff7aa8, var(--accent), var(--primary)) border-box;
  outline: 2.5px solid #fff; outline-offset: -5.5px; box-shadow: 0 3px 10px rgba(240, 20, 90, .12); transition: transform .25s ease, filter .25s; }
.tile-circle:hover img { filter: saturate(1.08); }
.tile-circle:active img { transform: scale(.93) rotate(-4deg); }
.tile-circle span { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: #282c3f; }
.mbnav-item.is-active::before { top: -1px; height: 2.5px; border-radius: 0 0 3px 3px; }
.mbnav-item.is-active::before, .mbnav-item::before { top: 0 !important; }

/* price sits right under the title (no stretching to line up with taller neighbours) */
.pcard-price { margin-top: 4px !important; padding-top: 0; }
.pcard { height: auto; }
.pcard .wish-btn { width: 28px; height: 22px; margin: -1px -4px -4px 0; }
.pcard-body { align-items: flex-start; }

/* ---------- About Us page ---------- */
.about { font-size: 14.5px; line-height: 1.7; color: #3e4152; }
.about h2 { margin: 26px 0 8px; font-size: 17px; font-weight: 700; color: var(--text); }
.about h2::after { content: ''; display: block; width: 36px; height: 3px; margin-top: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.about-lead { padding: 16px; border-radius: 14px; background: color-mix(in srgb, var(--primary) 6%, #fff); border-left: 3px solid var(--primary); font-size: 15px; color: var(--text); }
.about-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.about-points li { position: relative; padding: 12px 14px 12px 40px; border-radius: 12px; background: var(--bg-soft); }
.about-points li::before { content: '✓'; position: absolute; left: 12px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.about a { color: var(--primary); font-weight: 600; }
.about-sign { margin-top: 26px; text-align: center; color: var(--muted); }
.about-sign strong { color: var(--text); }

/* ---------- honest badges: card / product photo (New · Hot Deal · Only N left · admin badge) + info perks ---------- */
.pbadge, .m-badge { display: none !important; }
.pbadge2 { position: absolute; top: 8px; left: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px 4px 7px; border-radius: 20px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .15); }
.pbadge2 .ico { flex-shrink: 0; }
.b-new { background: linear-gradient(135deg, #1b1c2a, #3b3d58); }
.b-new .ico { color: #ffd84d; fill: #ffd84d; }
.b-hot { background: linear-gradient(135deg, var(--primary), #ff7a45); }
.b-hot .ico { fill: #fff2c2; color: #fff2c2; }
.b-low { background: linear-gradient(135deg, #ff9f1a, #ff6a00); }
.b-low .ico { fill: #fff; }
.b-admin { background: linear-gradient(135deg, var(--accent), var(--primary)); }
.b-admin .ico { fill: #fff; }
.b-hot, .b-new { overflow: hidden; }
.b-hot::after, .b-new::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg); animation: atl-shine 4.5s ease-in-out infinite; }
.m-badge2 { top: 12px; left: 12px; font-size: 11px; padding: 5px 11px 5px 9px; }
.pdp-perks { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.pdp-perks span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; color: #3e4152;
  background: color-mix(in srgb, var(--primary) 6%, #fff); border: 1px solid color-mix(in srgb, var(--primary) 14%, #fff); }
.pdp-perks .ico { color: var(--primary); }
@media (prefers-reduced-motion: reduce) { .b-hot::after, .b-new::after { animation: none; display: none; } }

/* badges v2: small corner tag, no icon, no shadow */
.pbadge2 { top: 0; left: 0; gap: 0; padding: 4px 8px; border-radius: 10px 0 8px 0; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; line-height: 1.2; box-shadow: none; }
.b-hot { background: var(--primary); }
.b-new { background: #1b1c2a; }
.b-low { background: #f08a00; }
.b-admin { background: var(--accent); }
.b-hot::after, .b-new::after { display: none; }
.m-badge2 { top: 0; left: 0; padding: 5px 10px; border-radius: 0 0 10px 0; font-size: 10.5px; }

/* badges v3: small corner tag + gradient, a tiny mark and a soft shine */
.pbadge2 { overflow: hidden; gap: 4px; padding: 4px 9px 4px 8px; }
.pbadge2::before { content: '✦'; font-size: 8.5px; line-height: 1; opacity: .95; }
.b-hot { background: linear-gradient(120deg, #f0145a 0%, #ff4f7b 55%, #ff8a4c 100%); }
.b-new { background: linear-gradient(120deg, #15161f 0%, #2d2f4a 60%, #4b3f8f 100%); }
.b-new::before { color: #ffd84d; }
.b-low { background: linear-gradient(120deg, #ff8a00, #ffb02e); }
.b-low::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: atl-pulse 1.2s ease-in-out infinite; }
.b-admin { background: linear-gradient(120deg, var(--accent), var(--primary)); }
.b-hot::after, .b-new::after, .b-admin::after { content: ''; display: block; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); animation: atl-shine 4.8s ease-in-out infinite; }
.b-new::after { animation-delay: 1.2s; }
@keyframes atl-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .b-hot::after, .b-new::after, .b-admin::after, .b-low::before { animation: none; } .b-hot::after, .b-new::after, .b-admin::after { display: none; } }

/* size-pick sheet (Add to Bag / Buy Now without a size) */
.sp-box { padding-bottom: env(safe-area-inset-bottom); }
.sp-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); }
.sp-head img { width: 54px; height: 68px; border-radius: 8px; object-fit: cover; object-position: top; background: var(--bg-soft); flex-shrink: 0; }
.sp-head > div { flex: 1; min-width: 0; }
.sp-title { font-size: 13.5px; color: #3e4152; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-price { margin-top: 4px; font-size: 13px; }
.sp-price b { font-size: 16px; }
.sp-price s { color: var(--muted); }
.sp-price em { font-style: normal; font-weight: 700; color: #ff905a; }
.sp-sizehead { padding: 16px 16px 0; margin-bottom: 12px; }
.sp-box .opt-size { margin: 0; padding: 0 16px; }
.sp-box .opt-list { padding-bottom: 26px; }
.sp-box .opt-btn.active { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.sp-foot { padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.sp-foot .pdp-cta { width: 100%; }

/* carousels scroll sideways only (no vertical nudge that clips the top of the cards) */
.carousel-track { overflow-y: hidden; overscroll-behavior-x: contain; }

/* ---------- Shopping Bag (cart) ---------- */
body:has(.bag), body:has(.bag) main { background: #f4f4f6; }
body:has(.bag) .sh-text h1, body:has(.bag-empty) .sh-text h1 { font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #3e4152; }
.bag-pin { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #ececf1; font-size: 14px; color: #3e4152; }
.bag-pin b { color: var(--text); font-weight: 700; }
.bag-change { border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--primary); cursor: pointer; }
.bag-tabs { position: sticky; top: 58px; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-bottom: 1px solid #ececf1; }
.bag-tabs a { display: flex; align-items: center; justify-content: center; padding: 11px 4px; font-size: 13px; color: #696b79; white-space: nowrap; }
.bag-tabs a.on { color: var(--primary); font-weight: 600; }
.bag-tabs a.on::before { content: ''; position: absolute; }
.bag-tabs a.on { box-shadow: inset 0 -2px 0 var(--primary); }
.bag { padding-top: 6px; padding-bottom: 130px; }
.bag section { scroll-margin-top: 110px; }
.bag-h { margin: 18px 0 10px; font-size: 16px; font-weight: 700; color: #3e4152; }
.bag-h small { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.bag-item { position: relative; display: flex; gap: 12px; margin-bottom: 10px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 40, .04); }
.bag-img { flex-shrink: 0; width: 96px; }
.bag-img img { width: 96px; height: 128px; border-radius: 10px; object-fit: cover; object-position: top; background: var(--bg-soft); }
.bag-info { flex: 1; min-width: 0; padding-right: 22px; }
.bag-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; font-weight: 500; line-height: 1.35; color: #282c3f; }
.bag-selects { display: flex; flex-wrap: wrap; gap: 8px; margin: 9px 0 8px; }
.bag-selects form { margin: 0; }
.bag-sel { position: relative; display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 26px 0 10px; border: 1px solid #d4d5d9; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; color: #282c3f; cursor: pointer; }
.bag-sel span { font-weight: 500; color: #535766; }
.bag-sel select { appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 0 2px; font: inherit; font-weight: 600; color: inherit; cursor: pointer; outline: 0; }
.bag-sel .ico { position: absolute; right: 8px; pointer-events: none; color: #535766; }
.bag-price { font-size: 13px; }
.bag-price b { font-size: 16px; font-weight: 700; color: var(--text); }
.bag-price s { color: var(--muted); margin: 0 2px; }
.bag-price em { font-style: normal; font-weight: 600; color: #ff905a; }
.bag-warn { margin-top: 4px; font-size: 12px; font-weight: 600; color: #ff7a1a; }
.bag-deliv { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: #535766; }
.bag-deliv .ico { color: var(--primary); flex-shrink: 0; }
.bag-deliv b { color: var(--text); font-weight: 600; }
.bag-move { margin-top: 8px; }
.bag-move button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--primary); cursor: pointer; }
.bag-x { position: absolute; top: 8px; right: 8px; margin: 0; }
.bag-x button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: #535766; cursor: pointer; }
.bag-x button:active { background: var(--bg-soft); }
.bag-card { padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 40, .04); }
.bag-coupon { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.bag-coupon input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #dcdce2; border-radius: 8px; font: inherit; font-size: 14px; text-transform: uppercase; }
.bag-coupon input::placeholder { text-transform: none; }
.bag-coupon > div { flex: 1; }
.bag-coupon b { display: block; font-size: 14.5px; }
.bag-coupon small { font-size: 12.5px; color: var(--muted); }
.bag-card .offers-trigger { margin: 10px 0 0; width: 100%; }
.bag-totals .totals { margin: 0; }
.bag-more { padding: 0; }
.bag-more .bag-h { margin-bottom: 10px; }
.bag-bar { position: fixed; bottom: 0; left: var(--gut); right: var(--gut); z-index: 85; background: #fff; box-shadow: 0 -4px 18px rgba(20, 20, 40, .08); padding-bottom: env(safe-area-inset-bottom); }
.bag-bar-note { padding: 7px 14px; text-align: center; font-size: 12.5px; color: #3e4152; background: color-mix(in srgb, var(--primary) 8%, #fff); }
.bag-bar-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.bag-bar-total { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.bag-bar-total b { font-size: 18px; }
.bag-bar-total a { font-size: 12px; font-weight: 600; color: var(--primary); }
.bag-place { flex: 1.4; text-decoration: none; }
/* empty bag */
.bag-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 70px 24px 40px; }
.bag-empty-ico { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, #fff); }
.bag-empty h2 { margin: 18px 0 6px; font-size: 19px; }
.bag-empty p { margin: 0 0 22px; max-width: 280px; font-size: 13.5px; color: var(--muted); }
.bag-empty .pdp-cta { width: 100%; max-width: 280px; text-decoration: none; }
.bag-empty-link { display: inline-flex; align-items: center; gap: 2px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--primary); }

/* bag: progress steps + free-delivery meter (instead of tabs) */
.bag-steps { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 16px 12px; background: #fff; }
.bag-steps span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #9a9ca8; white-space: nowrap; }
.bag-steps i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #d4d5d9; font-style: normal; font-size: 11.5px; font-weight: 700; color: #9a9ca8; }
.bag-steps span.on { color: var(--primary); }
.bag-steps span.on i { border: 0; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 3px 10px color-mix(in srgb, var(--primary) 35%, transparent); }
.bag-steps b { flex: 1; max-width: 46px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, #d4d5d9 0 4px, transparent 4px 7px); }
.bag-free { padding: 10px 16px 12px; background: #fff; border-top: 1px solid #f1f1f4; border-bottom: 1px solid #ececf1; }
.bag-free-txt { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #3e4152; }
.bag-free-txt .ico { color: var(--primary); flex-shrink: 0; }
.bag-free-txt b { color: var(--text); }
.bag-free-bar { height: 6px; margin-top: 8px; border-radius: 6px; background: #f0f0f4; overflow: hidden; }
.bag-free-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--primary), #ff7aa8, var(--accent)); background-size: 200% 100%; animation: bag-flow 2.5s linear infinite; transition: width .6s ease; }
.bag-free.done .bag-free-txt b { color: var(--green); }
.bag-free.done .bag-free-bar i { background: linear-gradient(90deg, #03a685, #3ccf9e); }
@keyframes bag-flow { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .bag-free-bar i { animation: none; } }
.bag section { scroll-margin-top: 70px; }

/* bag: size / qty picker sheet */
.bag-sel { font: inherit; font-size: 13px; font-weight: 600; }
.bp-box { padding-bottom: env(safe-area-inset-bottom); border-radius: 22px 22px 0 0; }
.bp-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 18px 6px; }
.bp-head strong { font-size: 16px; font-weight: 600; color: #3e4152; }
.bp-cur { padding: 10px 18px 14px; font-size: 19px; font-weight: 700; color: var(--text); }
.bp-opts { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 18px 26px; }
.bp-opt { position: relative; min-width: 64px; height: 56px; padding: 0 16px; border: 1px solid #d4d5d9; border-radius: 14px; background: #fff; font: inherit; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; transition: transform .12s; }
.bp-opt:active { transform: scale(.95); }
.bp-opt.on { border: 0; background: #16161d; color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary); }
.bp-opt.is-oos { color: #c3c4ca; background: #f5f5f6; text-decoration: line-through; cursor: not-allowed; }
.bp-opt small { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: #ff7a1a; text-decoration: none; }
.bp-foot { display: flex; align-items: center; gap: 16px; padding: 14px 18px 16px; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(20, 20, 40, .04); }
.bp-price { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.bp-price b { font-size: 19px; }
.bp-price span { font-size: 13px; color: var(--muted); }
.bp-price em { font-style: normal; color: #ff905a; font-weight: 600; }
.bp-done { flex: 1.5; }

/* quantity: one scrolling row, no "Quantity: 1" line */
.bp-qty .bp-cur { display: none; }
.bp-qty .bp-head { padding-bottom: 16px; }
.bp-qty .bp-opts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 18px 24px; }
.bp-qty .bp-opts::-webkit-scrollbar { display: none; }
.bp-qty .bp-opt { flex-shrink: 0; width: 64px; min-width: 64px; height: 64px; font-size: 17px; }

/* pincode sheet: "Select Delivery Location" */
.loc-pop { padding: 22px 18px calc(20px + env(safe-area-inset-bottom)) !important; border-radius: 22px 22px 0 0 !important; }
.loc-pop-title { display: block; margin: 0 40px 16px 0; font-size: 18px; font-weight: 700; color: var(--text); }
.loc-pop .loc-x { top: 16px !important; right: 14px !important; width: 36px; height: 36px; background: none !important; font-size: 30px; color: var(--text); }
.loc-form { position: relative; display: flex; align-items: center; margin: 0; border: 1px solid #d4d5d9; border-radius: 10px; background: #fff; overflow: hidden; }
.loc-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
.loc-form input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; border: 0 !important; outline: 0; box-shadow: none !important; background: none; font: inherit; font-size: 16px; letter-spacing: .04em; }
.loc-form .loc-check { flex-shrink: 0; height: 52px; padding: 0 14px; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--primary) !important; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: none !important; }
.loc-result:not(:empty) { margin-top: 12px; }
.loc-detect { display: flex !important; align-items: center; gap: 10px; width: 100%; margin-top: 18px; padding: 4px 0 !important; border: 0 !important; background: none !important; color: var(--primary) !important; font: inherit; font-size: 15.5px; font-weight: 600; text-align: left; cursor: pointer; box-shadow: none !important; }
.loc-detect svg { flex-shrink: 0; }
.loc-detect .ico { margin-left: -2px; }
.loc-or, .loc-pop-sub { display: none !important; }
.loc-detect { justify-content: flex-start !important; }

/* ---------- payment page ---------- */
body:has(.pay2), body:has(.pay2) main { background: #f4f4f6; }
.pay2 { padding-top: 18px; padding-bottom: 30px; }
.pay2-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px 20px; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(20, 20, 40, .06); }
.pay2-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 120px; background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--primary) 12%, #fff), transparent 70%); pointer-events: none; }
.pay2-ring { position: relative; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--primary), var(--accent), var(--primary)); animation: atl-orb-spin 2.4s linear infinite; }
.pay2-ring span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--primary); animation: atl-orb-spin 2.4s linear infinite reverse; }
.pay2-card.is-waiting .pay2-ring, .pay2-card.is-waiting .pay2-ring span, .pay2-card.is-failed .pay2-ring, .pay2-card.is-failed .pay2-ring span { animation: none; }
.pay2-card.is-failed .pay2-ring { background: #e5484d; }
.pay2-card.is-failed .pay2-ring span { color: #e5484d; }
.pay2-card h1 { position: relative; margin: 16px 0 4px; font-size: 21px; font-weight: 700; }
.pay2-order { position: relative; margin: 0; font-size: 13px; color: var(--muted); }
.pay2-order b { color: var(--text); }
.pay2-amt { display: flex; flex-direction: column; margin: 16px 0 8px; }
.pay2-amt small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pay2-amt b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay2-status { min-height: 20px; margin: 0 0 16px; font-size: 13.5px; color: #535766; }
.pay2-card.is-failed .pay2-status { color: #c0263a; font-weight: 600; }
.pay2-btn { width: 100%; height: 52px; text-decoration: none; }
.pay2-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay2-logos img { height: 22px; width: auto; padding: 3px 6px; border-radius: 6px; background: #f6f6f8; }
.pay2-safe { display: flex; align-items: center; gap: 5px; margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.pay2-safe .ico { color: var(--green); }
.pay2-items { margin-top: 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 40, .04); overflow: hidden; }
.pay2-items summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; }
.pay2-items summary::-webkit-details-marker { display: none; }
.pay2-items summary span { flex: 1; }
.pay2-items summary > .ico:first-child { color: var(--primary); }
.pay2-caret { transition: transform .2s; }
.pay2-items[open] .pay2-caret { transform: rotate(180deg); }
.pay2-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid #f1f1f4; }
.pay2-item img { width: 44px; height: 56px; border-radius: 6px; object-fit: cover; object-position: top; background: var(--bg-soft); }
.pay2-item > div { flex: 1; min-width: 0; }
.pay2-item-t { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay2-item small { font-size: 12px; color: var(--muted); }
.pay2-item b { font-size: 13.5px; }
.pay2-addr { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid #f1f1f4; font-size: 12.5px; color: #535766; }
.pay2-addr .ico { flex-shrink: 0; color: var(--primary); margin-top: 1px; }
.pay2-help { margin: 16px 6px 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.pay2-help a { color: var(--primary); font-weight: 600; }

/* ---------- policy pages ---------- */
.policy { font-size: 14px; line-height: 1.7; color: #3e4152; }
.policy-updated { display: inline-block; margin: 0 0 12px; padding: 3px 10px; border-radius: 20px; background: var(--bg-soft); font-size: 12px; color: var(--muted); }
.policy-lead { padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--primary) 6%, #fff); border-left: 3px solid var(--primary); color: var(--text); }
.policy h2 { margin: 26px 0 8px; font-size: 16px; font-weight: 700; color: var(--text); }
.policy h2::after { content: ''; display: block; width: 32px; height: 3px; margin-top: 7px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.policy ul, .policy ol { margin: 8px 0; padding-left: 20px; }
.policy li { margin-bottom: 6px; }
.policy li::marker { color: var(--primary); }
.policy a { color: var(--primary); font-weight: 600; }
.policy-contact { margin-top: 26px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); font-size: 13.5px; }
.policy-contact strong { display: block; margin-bottom: 2px; color: var(--text); }
.page-title { font-size: 22px; font-weight: 700; }

/* ---------- order placed (brand colours, confetti, ticket) ---------- */
body:has(.os), body:has(.os) main { background: #f4f4f6; }
.leaf-rain { left: var(--gut) !important; right: var(--gut) !important; overflow: hidden; }
.os { padding-top: 16px; }
.os-hero { position: relative; overflow: hidden; padding: 30px 18px 20px !important; border: 0 !important; border-radius: 22px !important; text-align: center;
  background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--primary) 14%, #fff) 0%, #fff 62%) !important; box-shadow: 0 10px 30px rgba(20, 20, 40, .07); }
.os-badge { position: relative; width: 96px; height: 96px; margin: 0 auto 14px; }
.os-badge::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 22%, transparent), transparent 70%); animation: os2-pulse 2.2s ease-in-out infinite; }
.os-ring circle { stroke: var(--accent) !important; stroke-width: 5 !important; }
.os-badge > .os-check, .os-check { background: linear-gradient(135deg, var(--primary), var(--accent)) !important; border-radius: 50%; }
@keyframes os2-pulse { 0%, 100% { transform: scale(.9); opacity: .6; } 50% { transform: scale(1.08); opacity: 1; } }
.os-eyebrow { display: inline-block; padding: 5px 12px; border-radius: 20px; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary) !important; font-size: 11.5px !important; font-weight: 700; letter-spacing: .08em; }
.os-hero h1 { margin: 12px 0 6px; font-size: 22px !important; font-weight: 700; color: var(--text) !important; }
.os-lead { margin: 0 auto; max-width: 340px; font-size: 13.5px !important; color: #535766 !important; }
.os2-ticket { position: relative; margin: 20px 0 16px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px dashed color-mix(in srgb, var(--primary) 30%, #e3e3e8); text-align: left; }
.os2-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 13px; color: var(--muted); }
.os2-row b { font-size: 14px; color: var(--text); }
.os2-cut { position: relative; height: 1px; margin: 8px -16px; border-top: 1px dashed #e3e3e8; }
.os2-cut::before, .os2-cut::after { content: ''; position: absolute; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #f8eef3; }
.os2-cut::before { left: -9px; } .os2-cut::after { right: -9px; }
.os2-total b { font-size: 20px; font-weight: 800; background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.os2-pay { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: #fff7e9; color: #9a5b00; font-size: 12.5px; font-weight: 600; }
.os2-pay.paid { background: #e8f6ee; color: #087a52; }
.os-actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
.os-actions .pdp-cta { height: 48px; font-size: 14.5px; text-decoration: none; }
.os-next { margin-top: 14px; padding: 6px 16px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 40, .04); }
.os-next-item span { color: var(--primary) !important; background: color-mix(in srgb, var(--primary) 9%, #fff) !important; }
.os-next-item:first-child span { color: #fff !important; background: linear-gradient(135deg, var(--primary), var(--accent)) !important; }
.os-care { border-radius: 18px !important; background: #fff !important; border: 0 !important; }
.os-care-ico { color: var(--primary) !important; background: color-mix(in srgb, var(--primary) 9%, #fff) !important; }
@media (prefers-reduced-motion: reduce) { .os-badge::before { animation: none; } }
.os-badge > .os-check, .os-check { background: none !important; }
.os-ring circle { fill: var(--primary); }

/* icons exactly centred in their round badges */
.os-check { inset: auto !important; left: 50% !important; top: 50% !important; width: 56px !important; height: 56px !important; transform: translate(-50%, -50%); }
.os-ring { inset: 0; }
.trk-badge .ico, .pay2-ring .ico, .bag-empty-ico .ico, .os-next-item span .ico, .os-care-ico .ico, .co2-pct, .bag-steps i .ico,
.allcat-tab-img .ico, .empty-icon .ico, .ct-ico .ico, .srg-promise-ico .ico, .srg-promise-mark .ico, .avatar .ico, .m-share .ico, .m-wish .ico, .wish-btn .ico, .sheet-x .ico, .lb-close svg, .lb-nav svg { display: block; flex-shrink: 0; }
.os-next-item span, .os-care-ico, .empty-icon, .ct-ico, .srg-promise-ico, .srg-promise-mark { display: grid !important; place-items: center; }

/* login popup close: real icon, centred */
.auth-x { display: grid !important; place-items: center; width: 38px !important; height: 38px !important; padding: 0 !important; font-size: 0 !important; line-height: 1 !important; border-radius: 50%; background: #fff; color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.auth-x .ico { display: block; stroke-width: 2.2; }

/* thin headers everywhere (simple header: categories, bag, checkout, payment · listing header) */
.simple-header .sh-text h1, .sh-text h1 { font-size: 17px !important; font-weight: 500 !important; letter-spacing: 0; color: var(--text); }
body:has(.bag) .sh-text h1, body:has(.bag-empty) .sh-text h1 { font-weight: 500 !important; letter-spacing: .06em; }
.simple-header .ico, .simple-header svg, .lh-bar .ico, .list-header .ico, .m-pdp-bar .ico { stroke-width: 1.5 !important; }
.lh-title h1 { font-weight: 500 !important; }
.sh-secure { font-weight: 400; }

/* ---------- 404 ---------- */
.nf { padding-top: 26px; padding-bottom: 24px; }
.nf-hero { text-align: center; padding: 26px 18px 22px; border-radius: 22px; background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--primary) 12%, #fff), #fff 65%); box-shadow: 0 8px 28px rgba(20, 20, 40, .06); }
.nf-num { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.nf-num span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-num i { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 35%, transparent); animation: nf-bob 2.6s ease-in-out infinite; }
.nf-num i .ico { display: block; }
@keyframes nf-bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-6px) rotate(6deg); } }
.nf-hero h1 { margin: 18px 0 6px; font-size: 20px; font-weight: 700; }
.nf-hero p { margin: 0 auto 16px; max-width: 320px; font-size: 13.5px; color: var(--muted); }
.nf-search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid #dcdce2; border-radius: 12px; background: #fff; }
.nf-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
.nf-search .ico { color: #9a9ca8; flex-shrink: 0; }
.nf-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; }
.nf-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.nf-actions .pdp-cta { height: 46px; font-size: 14.5px; text-decoration: none; }
.nf-title { margin: 26px 0 12px; }
@media (prefers-reduced-motion: reduce) { .nf-num i { animation: none; } }

/* ---------- search help ---------- */
.srch { padding-top: 4px; }
.srch-none { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; margin-bottom: 8px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 1px 2px rgba(20, 20, 40, .04); }
.srch-none > span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: var(--primary); background: color-mix(in srgb, var(--primary) 9%, #fff); }
.srch-none > span .ico { display: block; }
.srch-none b { font-size: 16px; }
.srch-none small { font-size: 13px; color: var(--muted); max-width: 280px; }
.srch-clear { margin-top: 6px; font-weight: 700; color: var(--primary); }
.srch-block { margin-top: 16px; }
.srch-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; font-size: 14px; }
.srch-h b { font-weight: 700; }
.srch-h button { border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--primary); cursor: pointer; }
.srch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.srch-chips a { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 14px; border-radius: 18px; border: 1px solid #e3e3e8; background: #fff; font-size: 13px; color: #3e4152; }
.srch-chips a .ico { color: #ff7a1a; fill: #ff7a1a; }
.srch-fresh { margin-top: 22px; }

/* ---------- My Account (app style) ---------- */
body:has(.acc), body:has(.acc) main { background: #f4f4f6; }
.acc { padding-top: 14px; }
.acc-side { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.acc-user { display: flex; align-items: center; gap: 12px; padding: 18px 16px !important; border-radius: 20px !important; color: #fff;
  background: linear-gradient(135deg, var(--primary), #c4306f 55%, var(--accent)) !important; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 28%, transparent); }
.acc-user strong { color: #fff !important; font-size: 16px; }
.acc-user small { color: rgba(255, 255, 255, .85) !important; }
.acc-avatar { background: rgba(255, 255, 255, .22) !important; color: #fff !important; border: 2px solid rgba(255, 255, 255, .6); }
.acc-nav { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; padding: 12px 8px !important; border-radius: 18px; background: #fff; overflow: visible !important; flex-wrap: wrap; }
.acc-nav a { position: relative; display: flex !important; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px !important; border: 0 !important; border-radius: 12px !important; background: none !important;
  font-size: 11.5px !important; font-weight: 500 !important; color: #3e4152 !important; text-align: center; white-space: normal !important; line-height: 1.2; box-shadow: none !important; }
.acc-nav a .ico { width: 22px; height: 22px; padding: 10px; box-sizing: content-box; border-radius: 14px; color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, #fff); }
.acc-nav a.on { color: var(--primary) !important; font-weight: 700 !important; }
.acc-nav a.on .ico { color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.acc-nav a em { position: absolute; top: 2px; right: 10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 700; line-height: 18px; }
.acc-nav .acc-logout .ico { color: #6b6e7b; background: #f1f1f4; }
.acc-hello { margin-top: 6px; }
.acc-hello h1 { font-size: 20px !important; font-weight: 700; }
.acc-stats > div { background: #fff !important; border: 0 !important; border-radius: 14px !important; box-shadow: 0 1px 2px rgba(20, 20, 40, .04); }
.acc-empty, .acc-card { border: 0 !important; border-radius: 18px !important; background: #fff !important; box-shadow: 0 1px 2px rgba(20, 20, 40, .04); }
.acc-empty .btn-primary { border-radius: 10px; }
.ocard { border: 0 !important; border-radius: 16px !important; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 40, .04); }
.acc-filters button.on { background: var(--text) !important; border-color: var(--text) !important; color: #fff !important; }

/* banners carry their own text: no zoom (it cropped the headline and the price pill) */
.hero-slide img, .hero-full .hero-slide img { animation: none !important; transform: none !important; }

/* ---------- pop-ups (assets/js/ui-dialog.js) — replace the browser's alert / confirm ---------- */
.ud { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 20px; background: rgba(17, 17, 24, 0); transition: background .14s; }
.ud.in { background: rgba(17, 17, 24, .5); }
.ud-box { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; width: min(440px, 100%); padding: 20px 20px 16px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .14s, transform .14s; }
.ud.in .ud-box { opacity: 1; transform: none; }
.ud-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.ud-error .ud-ic { background: #fdecec; color: #d12c2c; }
.ud-danger .ud-ic { background: #fdecec; color: #d12c2c; }
.ud-question .ud-ic, .ud-info .ud-ic { background: #eaf1ff; color: #2f5bd8; }
.ud-success .ud-ic { background: #e6f6ec; color: #1a7f4b; }
.ud-tx { min-width: 0; padding-top: 2px; }
.ud-tx b { display: block; font-size: 16px; line-height: 1.35; color: #1f2133; }
.ud-tx p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: #555a6b; white-space: pre-line; overflow-wrap: anywhere; }
.ud-copy { display: flex; gap: 8px; margin-top: 12px; }
.ud-copy input { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #dcdce2; border-radius: 9px; font: inherit; font-size: 13px; background: #f7f7f9; color: #1f2133; }
.ud-ft { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.ud-btn { min-width: 84px; height: 40px; padding: 0 16px; border: 1px solid #d8d8de; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #1f2133; cursor: pointer; }
.ud-btn:hover { background: #f5f5f7; }
.ud-btn:focus-visible { outline: 2px solid #2f5bd8; outline-offset: 2px; }
.ud-ok { border-color: #1f2133; background: #1f2133; color: #fff; }
.ud-ok:hover { background: #000; }
.ud-ok.ud-red { border-color: #d12c2c; background: #d12c2c; }
.ud-ok.ud-red:hover { background: #b51f1f; }
@media (max-width: 480px) { .ud { align-items: end; padding: 0; } .ud-box { width: 100%; border-radius: 18px 18px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); } .ud-ft .ud-btn { flex: 1; } }
.ud-ok { border-color: var(--primary); background: var(--primary); }
.ud-ok:hover { background: color-mix(in srgb, var(--primary) 85%, #000); }
.ud-btn, .ud-tx b { font-family: inherit; }

/* header must stay on ONE row on small phones (360 px): icons were dropping to a second line */
.header-actions { flex-shrink: 0; }
.loc, .loc-pill, .loc-text { min-width: 0; }
.loc-text strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-spacer { flex: 1 1 0; width: 0; min-width: 0; }
.site-header .header-main .logo { flex-shrink: 1; min-width: 0; }
.site-header .header-main .logo img { max-width: 100%; }
@media (max-width: 480px) {
  .header-actions .acct { display: none; } /* account is in the bottom bar (Login / Account) */
}
@media (max-width: 420px) {
  .header-main { gap: 6px; }
  .site-header .header-main .logo img { height: 26px; }
  .loc { margin-left: 2px; padding-left: 8px; }
  .loc-text strong { max-width: 88px; }
  .header-actions { gap: 0; }
}
@media (max-width: 340px) {
  .loc-text small { display: none; } /* very small phones: just the pincode */
}
/* the logo file is wide (535×137 with ™): smaller on small phones so the icons keep their row */
@media (max-width: 380px) {
  .site-header .header-main .logo img { height: 22px; }
  .loc-text strong { max-width: 100px; }
}
@media (max-width: 340px) {
  .header-main { gap: 4px; }
  .site-header .header-main .logo img { height: 20px; }
  .loc { padding-left: 6px; }
  .loc-text strong { max-width: 72px; }
}

/* side menu: the logo is pink/blue, so its bar must be white (it vanished on the pink bar) */
.drawer-head { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.drawer-head .icon-btn { color: var(--text); }
.drawer-logo { height: 34px; }
