@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
/* ---- v51: Hind Siliguri served from our own site (assets/fonts/, uploaded once to the server — the
   .woff2 files are not in git). The browser downloads only the weights/scripts a page uses. ---- */
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/hind-siliguri-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/hind-siliguri-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/hind-siliguri-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/hind-siliguri-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ============================================================================
   assets/app.css — Remuza customer design (the ONE shared stylesheet)
   ============================================================================
   Mobile-first (360–430 px), max 1200 px on desktop.
   Tokens: older pages use --ink/--muted/--line/--bg/--card/--brand, so those
   names are kept and simply point at the Remuza palette.
   Contrast: white text only sits on --brand-dk (#0B4F4C, ≈5.6:1). #0E5E5A is
   used for icons, borders and large shapes.
   ============================================================================ */
:root {
  --brand: #0E5E5A; --brand-dk: #0B4F4C; --brand-lt: #E3F2EF;
  --sale: #C9362E; --live: #D92D20;
  --ink: #141414; --muted: #5C6B69; --line: #DDE7E5; --bg: #F4F8F7; --card: #FFFFFF;
  --r: 8px; --nav-h: 62px;
  --sh: 0 1px 2px rgba(20, 20, 20, .06), 0 2px 8px rgba(20, 20, 20, .05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.45;
  background: var(--bg); color: var(--ink); overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom)); }
a { color: var(--brand-dk); text-decoration: none; } a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; text-wrap: pretty; }
.gm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 12px; }
.muted { color: var(--muted); }
.gm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- Header ---------------------------------------------------------------- */
.gm-header { position: sticky; top: 0; z-index: 40; background: var(--brand-dk); color: #fff; padding: 10px 0 8px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.gm-hrow { display: flex; align-items: center; gap: 8px; }
.gm-hrow-sub { min-height: 44px; }
.gm-htitle { flex: 1; font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-logo { display: none; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 20px; flex: none; }
.gm-logo:hover { color: #fff; }
@media (min-width: 760px) { .gm-logo { display: inline-flex; } }
.gm-hicon { position: relative; flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #fff; border-radius: 10px; }
.gm-hicon:hover { color: #fff; background: rgba(255,255,255,.12); }
.gm-badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--sale); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--brand-dk); }
.gm-search { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; background: #fff; border-radius: 10px; height: 44px; color: var(--ink); }
.gm-search-ic { padding: 0 4px 0 10px; color: var(--muted); display: flex; }
.gm-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 44px; padding: 0 6px; font-size: 15px; }
.gm-sbtn { flex: none; width: 40px; height: 44px; border: 0; background: transparent; color: var(--brand-dk); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gm-sbtn.on { color: var(--sale); }
/* v40: one header row — logo · Deliver to · (search) · icons. Phones wrap the search onto a full-width second line. */
.gm-mlogo { flex: none; display: inline-flex; align-items: center; color: #fff; }
@media (min-width: 760px) { .gm-mlogo { display: none; } }      /* tablets/desktops use the main logo */
.gm-header .gm-hmain .gm-logo, .gm-header .gm-hmain .gm-mlogo { flex: none; min-width: 0; max-width: 132px; margin-right: 2px; }
.gm-header .gm-hmain .gm-logo img, .gm-header .gm-hmain .gm-logo svg,
.gm-header .gm-hmain .gm-mlogo img, .gm-header .gm-hmain .gm-mlogo svg { display: block; max-height: 18px !important; max-width: 100% !important; width: auto !important; height: auto !important; }
.gm-locchip { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 36px; padding: 3px 10px 3px 8px; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font: inherit; font-size: 13px; text-align: left; line-height: 1.15; }
.gm-locchip:hover { background: rgba(255,255,255,.2); }
.gm-locchip > span:nth-of-type(1) { display: flex; flex-direction: column; min-width: 0; }
.gm-locchip small { font-size: 10.5px; opacity: .8; }
.gm-locchip b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.gm-locchip > span:last-child { opacity: .8; }
@media (max-width: 759px) {
  .gm-header { padding-top: 8px; }
  .gm-hmain { flex-wrap: wrap; row-gap: 8px; gap: 6px; }
  .gm-hmain .gm-logo-all { display: inline-flex; }
  .gm-header .gm-hmain .gm-logo, .gm-header .gm-hmain .gm-mlogo { max-width: 92px; }
  .gm-hmain .gm-locchip { flex: 1 1 0; max-width: none; margin: 0 4px 0 2px; padding-right: 8px; justify-content: center; }  /* fills the gap up to the ♥, content centred */
  .gm-hmain .gm-locchip > span:last-child { display: none; }
  .gm-hmain .gm-hicon { width: 36px; height: 40px; }
  .gm-hdesk { display: none; }        /* Messages & Orders live in the bottom bar / home card on phones */
  .gm-hmain .gm-search { order: 10; flex: 1 1 100%; }
}
@media (max-width: 340px) { .gm-locchip small { display: none; } }
/* v41: ♥ My likes in the header — pops when something is saved */
.gm-hlike.pop svg { animation: hlikePop .45s ease; }
.gm-hlike.pop svg path { fill: #fff; }
@keyframes hlikePop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .gm-hlike.pop svg { animation: none; } }
/* v43: card quick-pick sheet (Size / Colour) */
.qp-modal { z-index: 130; }
.qp-top { display: flex; gap: 12px; align-items: center; }
.qp-top img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; background: var(--brand-lt); }
.qp-top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.qp-name { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qp-price { color: var(--sale); font-weight: 700; font-size: 18px; }
.qp-x { flex: none; align-self: flex-start; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F1F3F2; cursor: pointer; font-size: 16px; }
.qp-opt { display: flex; flex-direction: column; gap: 8px; }
.qp-lbl { font-weight: 700; font-size: 14px; }
.qp-vals { display: flex; flex-wrap: wrap; gap: 8px; }
.qp-v { min-height: 38px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.qp-v small { color: var(--muted); font-size: 11px; }
.qp-v.on { border-color: var(--brand-dk); background: var(--brand-lt); color: var(--brand-dk); font-weight: 700; }
.qp-v:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.qp-go { width: 100%; min-height: 48px; font-size: 16px; }
.qp-go:disabled { opacity: .55; }
/* Search-as-you-type dropdown */
.gm-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: var(--r); box-shadow: 0 10px 28px rgba(0,0,0,.18); z-index: 60; overflow: hidden; color: var(--ink); }
.gm-suggest a { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; color: var(--ink); min-height: 56px; }
.gm-suggest a:hover, .gm-suggest a.on { background: var(--brand-lt); }
.gm-suggest .s-img { width: 44px; height: 44px; border-radius: 8px; background: var(--brand-lt) center/cover; }
.gm-suggest .s-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-suggest .s-store { display: block; font-size: 12px; color: var(--muted); }
.gm-suggest .s-price { font-weight: 700; color: var(--sale); }
.gm-suggest .s-foot { display: block; padding: 12px; border-top: 1px solid var(--line); color: var(--brand-dk); font-weight: 600; }
.gm-suggest .s-empty { padding: 12px; color: var(--muted); font-size: 14px; }

/* ---- Generic blocks ---------------------------------------------------------- */
.gm-main { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.gm-card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 14px; }
.gm-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.gm-sec-h h2 { font-size: 17px; font-weight: 700; }
.gm-sec-h a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.gm-flash { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: var(--brand-lt); color: var(--brand-dk); }
.gm-flash.error { background: #FDECEA; color: #8A1C12; }
.gm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; text-align: center; }
.gm-btn:hover { border-color: var(--brand); color: var(--ink); }
.gm-btn.primary { background: var(--brand-dk); border-color: var(--brand-dk); color: #fff; }
.gm-btn.primary:hover { background: #083B39; color: #fff; }
.gm-btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.gm-btn.sale { background: var(--sale); border-color: var(--sale); color: #fff; }
.gm-empty { text-align: center; color: var(--muted); padding: 28px 12px; }
.gm-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--brand-lt); color: var(--brand-dk); }
.gm-tag.warn { background: #FFF1D6; color: #7A4B00; } .gm-tag.bad { background: #FDECEA; color: #8A1C12; } .gm-tag.live { background: var(--live); color: #fff; }
.gm-input, .gm-card input[type=text], .gm-card input[type=password], .gm-card input[type=email], .gm-card select, .gm-card textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.gm-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }

/* ---- Account strip ------------------------------------------------------------ */
.gm-acct { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; }
.gm-acct-stats { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.gm-acct-stats b { display: block; font-size: 17px; color: var(--ink); }
/* v58: one-line member strip */
.gm-acct-slim { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13.5px; color: var(--muted); }
.gm-acct-slim b { color: var(--ink); }
.gm-acct-slim span:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-acct-go { flex: none; color: var(--brand-dk); font-weight: 700; }

/* ---- Shortcut icons: 2 rows, swipe sideways --------------------------------------- */
/* v57: shop features — one scrollable row of tinted pills */
.gm-quick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; scroll-snap-type: x proximity; }
.gm-quick::-webkit-scrollbar { display: none; }
.gm-q { position: relative; flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px 0 11px; height: 40px;
  border-radius: 999px; background: #F4F6F5; background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid #DDE7E5; border: 1px solid color-mix(in srgb, var(--c) 22%, #fff);
  color: var(--c); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.gm-q svg { flex: none; }
.gm-q:hover { background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); }
.gm-q em { position: absolute; top: 7px; left: 25px; width: 7px; height: 7px; border-radius: 50%; background: #D92D20; box-shadow: 0 0 0 2px #fff; animation: gmLiveDot 1.2s ease-in-out infinite; }
@keyframes gmLiveDot { 50% { opacity: .35; transform: scale(.8); } }
/* v57: categories — soft tinted circles with a coloured icon */
.gm-cats { padding: 12px 10px 10px; scroll-margin-top: calc(var(--hdr-h, 64px) + var(--hl-h, 0px) + var(--dn-h, 0px) + 8px); }
.gm-cats-h { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 8px; }
.gm-cats-h h2 { margin: 0; font-size: 15px; } .gm-cats-h small { font-weight: 500; color: var(--muted); }
.gm-shortcuts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 4px; }
.gm-sc { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 600; text-align: center; line-height: 1.2; }
.gm-sc:hover, .gm-sc.on { color: var(--c); }
.gm-sc i { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none;
  background: #F4F2EE; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); border: 1px solid #DDE7E5; border: 1px solid color-mix(in srgb, var(--c) 18%, #fff); }
.gm-sc.on i { background: var(--c); color: #fff; }
.gm-sc span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 340px) { .gm-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- Banner carousel ---------------------------------------------------------------- */
.gm-banner { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 5; background: var(--brand-lt); box-shadow: var(--sh); touch-action: pan-y; }
.gm-banner-track { display: flex; height: 100%; transition: transform .45s ease; }
.gm-slide { flex: 0 0 100%; height: 100%; position: relative; display: block; color: #fff; }
.gm-slide img { width: 100%; height: 100%; object-fit: cover; }
.gm-slide-gen { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 6%; background: var(--brand-dk); }
.gm-slide-gen b { font-size: clamp(24px, 7vw, 52px); line-height: 1; }
.gm-slide-gen span { font-size: clamp(14px, 3.4vw, 22px); }
.gm-slide-gen em { font-style: normal; align-self: flex-start; margin-top: 6px; background: #fff; color: var(--brand-dk); font-weight: 700; padding: 4px 12px; border-radius: 999px; font-size: 14px; }
.gm-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
.gm-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.6); cursor: pointer; transition: width .2s; }
.gm-dots button.on { width: 20px; background: #fff; }

/* ---- Live + Flash duo cards ---------------------------------------------------------- */
.gm-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gm-duo.single { grid-template-columns: minmax(0, 1fr); }
.gm-duo .gm-card { padding: 12px; }
.gm-duo-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gm-live-tile { position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #141414 center/cover; color: #fff; display: block; }
.gm-live-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0) 55%); }
.gm-live-tile .lt-top { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; gap: 4px; z-index: 1; flex-wrap: wrap; }
.gm-live-tile .lt-name { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 1; font-size: 12px; font-weight: 600; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-live-tile .lt-title { display: block; font-weight: 400; font-size: 11px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-viewers { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: rgba(0,0,0,.55); }
.gm-mini { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.gm-mini .pc-img { border-radius: 10px; }
.gm-mini b { color: var(--sale); }
.gm-count { font-size: 12px; color: var(--muted); }

/* ---- Horizontal rails (flash deals, collections) --------------------------------------- */
.gm-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 170px); gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; }
.gm-rail > * { scroll-snap-align: start; }
.gm-fd { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: var(--ink); }
.gm-fd .pc-body { padding: 8px; gap: 4px; }
.gm-bar { height: 6px; border-radius: 3px; background: #FBE3DF; overflow: hidden; }
.gm-bar span { display: block; height: 100%; background: var(--sale); }
.gm-col { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.gm-col .pc-img { border-radius: 10px; }
.gm-col small { color: var(--muted); }

/* ---- Filter chips ---------------------------------------------------------------- */
.gm-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.gm-chips::-webkit-scrollbar { display: none; }
.gm-chip { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; cursor: pointer;
  display: inline-flex; align-items: center; }
.gm-chip.on { background: var(--brand-dk); border-color: var(--brand-dk); color: #fff; }

/* ---- Product grid + card ---------------------------------------------------------- */
.gm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px)  { .gm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px)  { .gm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1100px) { .gm-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pc { display: flex; flex-direction: column; background: var(--card); border-radius: 10px; overflow: hidden; box-shadow: var(--sh); color: var(--ink); min-width: 0; }
.pc:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--brand), var(--sh); }
.pc-img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--brand-lt); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .55; }
.pc-off { position: absolute; top: 0; right: 0; background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 7px; border-bottom-left-radius: 8px; }
.pc-body { display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 10px; min-width: 0; }
.pc-name { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pc-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.pc-chip { font-size: 11px; font-weight: 600; padding: 0 6px; border-radius: 4px; border: 1px solid var(--brand); color: var(--brand-dk); line-height: 18px; white-space: nowrap; }
.pc-chip.live { border-color: var(--live); background: var(--live); color: #fff; }
.pc-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pc-price b { color: var(--sale); font-size: 16px; }
.pc-price s { color: var(--muted); font-size: 12px; }
.pc-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); min-width: 0; white-space: nowrap; }
/* v42: star rating on every card */
.pc-rate { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.pc-stars { position: relative; display: inline-block; flex: none; font-size: 12px; line-height: 1; letter-spacing: .5px; color: #D9DED9; }
.pc-stars::before { content: '★★★★★'; position: absolute; left: 0; top: 0; width: var(--r, 0%); overflow: hidden; white-space: nowrap; color: #F2A900; }
.pc-rtxt { color: var(--muted); }
.pc-zone { align-self:flex-start; font-size:11px; font-weight:700; color:#8A5A00; background:#FFF3D6; border-radius:999px; padding:1px 7px; margin-bottom:2px; }   /* v77 */
.pc-store { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-more { display: flex; justify-content: center; padding: 8px 0 4px; }

/* ---- Bottom navigation ------------------------------------------------------------ */
.gm-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(20, 20, 20,.06); }
.gm-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: 12px; min-height: 44px; }
.gm-nav a.on { color: var(--brand-dk); font-weight: 700; }
.gm-nav a.on .gm-nav-ic::before { content: ''; position: absolute; top: -8px; left: 50%; width: 28px; height: 3px; margin-left: -14px; border-radius: 2px; background: var(--brand); }
.gm-nav-ic { position: relative; display: flex; }
.gm-nav .gm-badge { top: -6px; right: -12px; box-shadow: 0 0 0 2px #fff; }
@media (min-width: 900px) { .gm-nav { left: 50%; right: auto; width: 560px; margin-left: -280px; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; } }

/* ---- Tabs (My orders etc.) --------------------------------------------------------- */
.gm-tabs { display: flex; gap: 4px; overflow-x: auto; background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 4px; scrollbar-width: none; }
.gm-tabs::-webkit-scrollbar { display: none; }
.gm-tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.gm-tabs a.on { background: var(--brand-lt); color: var(--brand-dk); }
.gm-tabs a em { font-style: normal; font-size: 12px; background: var(--sale); color: #fff; border-radius: 999px; padding: 0 6px; }
.gm-ocard { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
.gm-ocard .pc-img { border-radius: 8px; }
.gm-oactions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 10px; }
.gm-list a.gm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.gm-list a.gm-row:last-child { border-bottom: 0; }
.gm-list a.gm-row span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.gm-list a.gm-row svg { color: var(--brand-dk); }

/* ---- Location modal (bottom sheet) ---------------------------------------------- */
.gm-modal { position: fixed; inset: 0; z-index: 80; background: rgba(10,20,15,.5); display: none; align-items: flex-end; justify-content: center; }
.gm-modal.open { display: flex; }
.gm-sheet { width: 100%; max-width: 520px; background: #fff; border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; max-height: 92vh; overflow-y: auto; }
.gm-sheet h3 { font-size: 18px; } .gm-sheet p { margin: 0; color: var(--muted); font-size: 14px; }
.gm-sheet label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.gm-sheet select { min-height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; }
.gm-sheet .row-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 600px) { .gm-modal { align-items: center; } .gm-sheet { border-radius: 18px; } }

/* ---- Photo search menu --------------------------------------------------------- */
.gm-photomenu { position: absolute; z-index: 70; background: #fff; border-radius: 12px; padding: 6px; display: flex; flex-direction: column; min-width: 210px; box-shadow: 0 10px 28px rgba(0,0,0,.18); color: var(--ink); }
.gm-photomenu button { text-align: left; border: 0; background: none; padding: 12px; border-radius: 8px; cursor: pointer; min-height: 44px; }
.gm-photomenu button:hover { background: var(--brand-lt); }
.gm-photomenu span { font-size: 12px; color: var(--muted); padding: 4px 12px 8px; }

/* ---- Coupons (Offers page) ------------------------------------------------------ */
.gm-coupon { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0; overflow: hidden; }
.gm-coupon .cp-val { align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--brand-dk); color: #fff; font-weight: 700; font-size: 18px; text-align: center; padding: 10px 6px; border-right: 2px dashed #fff; }
.gm-coupon .cp-val small { font-size: 11px; font-weight: 500; }
.gm-coupon .cp-txt { padding: 10px 0; min-width: 0; }
.gm-coupon .cp-txt code { font-family: inherit; font-weight: 700; color: var(--brand-dk); background: var(--brand-lt); padding: 1px 6px; border-radius: 4px; }
.gm-coupon .gm-btn { margin-right: 12px; }

/* ---- Utilities (keep LAST) ----------------------------------------------------
   The HTML hidden attribute must always win: classes like .gm-photomenu or
   .wait set display:flex, which would otherwise override [hidden]. JS shows
   and hides these with el.hidden = true/false. */
[hidden] { display: none !important; }

/* ---- Site footer (v11): pages, contact, "We accept" payment logos ---------------- */
/* ---- Footer (v63: calm and simple) -------------------------------------------------- */
.gm-foot { margin-top: 28px; color: #CFCBC4; font-size: 14px; }
.gm-foot a { color: inherit; }
.gm-foot-main { background: #0B4F4C; padding-top: 28px; }
.gm-foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; padding-bottom: 22px; }
.gm-foot-brandcol { grid-column: 1 / -1; }
.gm-foot-logo img { max-width: 140px !important; max-height: 22px !important; width: auto !important; height: auto !important; display: block; }
.gm-foot-brandcol p { margin: 10px 0 0; color: #A8A39B; line-height: 1.6; max-width: 360px; font-size: 13.5px; }
.gm-foot-social { display: flex; gap: 8px; margin-top: 12px; }
.gm-foot-social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.gm-foot-social a:hover { background: #0E5E5A; }
.gm-foot-col b { display: block; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.gm-foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gm-foot-col li a, .gm-foot-col li.gfa { display: inline-flex; align-items: flex-start; gap: 7px; color: #D0CBC3; line-height: 1.4; }
.gm-foot-col li a:hover { color: #fff; text-decoration: none; }
.gm-foot-col li svg { flex: none; margin-top: 1px; color: #6FCF97; }
.gm-foot-col:last-child { grid-column: 1 / -1; }
.gm-foot-pay { padding-top: 14px; padding-bottom: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.gm-foot-pay > b { display: block; font-size: 12px; color: #9AA6B8; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.gm-pays { display: flex; flex-wrap: wrap; gap: 8px; }   /* v71: bigger badges */
.gm-pay { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 12px; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; }
.gm-pay img { display: block; height: 32px; width: auto; max-width: 130px; object-fit: contain; }
.gm-pay.only-logo { padding: 6px 10px; }
.gm-pay-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--pc, #0B4F4C);
  background: #F2F0EC; background: color-mix(in srgb, var(--pc, #0B4F4C) 12%, #fff); font-style: normal; flex: none; }
.gm-foot-copy { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 16px;
  border-top: 1px solid rgba(255,255,255,.08); color: #9AA6B8; font-size: 12.5px; }
.gm-foot-top { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff !important; font-weight: 600; }
.gm-foot-top:hover { background: rgba(255,255,255,.16); text-decoration: none; }
@media (max-width: 1023px) {
  body:has(.gm-foot) { padding-bottom: 0; }
  .gm-foot-main { padding-bottom: calc(var(--nav-h, 60px) + 4px + env(safe-area-inset-bottom)); }
}
@media (min-width: 720px) {
  .gm-foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
  .gm-foot-brandcol, .gm-foot-col:last-child { grid-column: auto; }
}
/* Content pages (page.php) */
.gm-page { line-height: 1.7; }
.gm-page h1 { font-size: 22px; margin: 0 0 8px; }
.gm-page h2 { font-size: 18px; margin: 18px 0 6px; }
.gm-page h3 { font-size: 16px; margin: 14px 0 4px; }
.gm-page p { margin: 0 0 10px; }
.gm-page ul, .gm-page ol { margin: 0 0 10px; padding-left: 22px; }
.gm-page a { text-decoration: underline; }

/* ---- v12: interactive product card ------------------------------------------
   Stretched link (.pc-link) covers the tile; ♥ and cart buttons sit above it.
   Motion respects prefers-reduced-motion. */
.pc { position: relative; transition: transform .18s ease, box-shadow .18s ease; -webkit-tap-highlight-color: transparent; }
.pc-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pc-link:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.pc-img img { transition: transform .35s ease; }
@media (hover: hover) {
  .pc:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--brand), 0 10px 24px rgba(20, 20, 20, .14); }
  .pc:hover .pc-img img { transform: scale(1.06); }
}
.pc:active { transform: scale(.98); }
.pc-like, .pc-add { position: relative; z-index: 2; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pc-like { position: absolute; top: 6px; left: 6px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.pc-like svg { fill: none; stroke: #5C6B69; stroke-width: 2; transition: transform .2s ease; }
.pc-like.on svg { fill: var(--sale); stroke: var(--sale); }
.pc-like.pop svg { animation: gm-pop .45s ease; }
@keyframes gm-pop { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 70% { transform: scale(.9); } 100% { transform: scale(1); } }
.pc-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; min-width: 0; }
.pc-row .pc-price { min-width: 0; }
/* v42: full-width "Add to cart" button, always at the bottom of the card */
.pc-body { flex: 1; }
/* v43: Add to cart + Buy now side by side */
.pc-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.pc-acts.one { grid-template-columns: 1fr; }
.pc-add, .pc-buy { position: relative; z-index: 2; height: 36px; min-width: 0; padding: 0 4px; gap: 5px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; transition: background .15s, color .15s, transform .15s; }
.pc-add { width: 100%; background: var(--brand-lt); color: var(--brand-dk); }
.pc-add.in { background: var(--brand-dk); color: #fff; }   /* v44: already in the cart */
.pc-buy { background: var(--sale); color: #fff; }
.pc-buy:hover { background: #C8321F; color: #fff; }
.pc-buy:active { transform: scale(.96); }
@media (max-width: 599px) { .pc-add svg { display: none; } }   /* phones: text only, so both fit */
.pc-body > .pc-store { margin-bottom: 4px; }
.pc-add svg { flex: none; }
.pc-add:hover { background: var(--brand-dk); color: #fff; }
.pc-add:active { transform: scale(.96); }
.pc-add.busy { opacity: .6; pointer-events: none; }
.pc-add.done { background: var(--brand-dk); color: #fff; animation: gm-pop .45s ease; }
.pc-rib { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; font-size: 11px; font-weight: 700; color: #fff; border-top-right-radius: 8px; }
.pc-rib.flash { background: linear-gradient(90deg, var(--sale), #FF8A5B); }
.pc-rib.flash svg { fill: #FFE27A; stroke: #FFE27A; }
.pc-rib.live { background: var(--live); }
.pc-rib.live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: gm-blink 1.2s infinite; }
@keyframes gm-blink { 50% { opacity: .25; } }
.pc-ship { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #0E7C6B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-ship svg { flex: none; }
.pc-off { z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .pc, .pc-img img, .pc-like svg, .pc-add { transition: none !important; animation: none !important; }
  .pc:hover, .pc:active { transform: none; }
  .pc:hover .pc-img img { transform: none; }
}

/* Small toast used by cards / product page */
.gm-toast { position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 76px); transform: translateX(-50%) translateY(-8px); z-index: 120; opacity: 0;
  background: #0B4F4C; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; max-width: 90vw; text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: opacity .2s, transform .2s; pointer-events: none; }
.gm-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.gm-toast.bad { background: #8a1c12; }

/* ---- v14: square promotion tiles ---------------------------------------------
   Three equal squares. Product tiles: the photo fills the square; a soft dark scrim at the
   bottom carries the price in white. Offer tile: solid deep green, value as the headline.
   One radius, one shadow, no gradients on the frame — the products are the colour. */
.gm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gm-tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gm-tile { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; isolation: isolate;
  background: #fff; color: #fff !important; box-shadow: 0 1px 2px rgba(20, 20, 20,.08), 0 1px 6px rgba(20, 20, 20,.06);
  transition: transform .15s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .gm-tile:hover { box-shadow: 0 0 0 1px var(--brand), 0 6px 16px rgba(20, 20, 20,.12); } }
.gm-tile:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.gm-tile:active, .gm-tile.gm-press { transform: scale(.98); }
.gt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--brand-lt); transition: opacity .3s ease; }
.gt-noimg { display: flex; align-items: center; justify-content: center; }
.gt-scrim { position: absolute; inset: 45% 0 0 0; background: linear-gradient(to bottom, rgba(10,24,17,0), rgba(10,24,17,.72)); pointer-events: none; }
.gt-tag { position: absolute; top: 7px; left: 7px; max-width: calc(100% - 52px); padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 18px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--brand-dk); color: #fff; }
.t-mega .gt-tag { background: #C2311F; }
/* v52: 4th tile — 4 across everywhere. Phones: small square tiles with compact type. */
.t-four .gt-tag { background: #5B3FD1; }
@media (max-width: 599px) {
  .gm-tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .gm-tiles.four .gm-tile { border-radius: 10px; }
  .gm-tiles.four .gt-tag { top: 4px; left: 4px; max-width: calc(100% - 8px); padding: 0 5px; font-size: 9px; line-height: 15px; border-radius: 4px; }
  .gm-tiles.four .gt-off { top: 20px; right: 4px; font-size: 9px; line-height: 14px; padding: 0 4px; }
  .gm-tiles.four .gt-foot { left: 5px; right: 4px; bottom: 7px; }
  .gm-tiles.four .gt-now { font-size: 12.5px; }
  .gm-tiles.four .gt-old { font-size: 9px; }
  .gm-tiles.four .gt-dots { display: none; }
  .gm-tiles.four .gt-offer { inset: 22px 5px 6px; gap: 2px; }
  .gm-tiles.four .gt-big { font-size: 12.5px; white-space: normal; }
  .gm-tiles.four .gt-sub { font-size: 8.5px; -webkit-line-clamp: 2; }
  .gm-tiles.four .gt-code { font-size: 8.5px; line-height: 14px; padding: 0 4px; letter-spacing: 0; }
}
@media (min-width: 600px) {
  .gm-tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {   /* 4 narrower tiles → slightly smaller type */
  .gm-tiles.four .gt-now { font-size: 28px; } .gm-tiles.four .gt-big { font-size: 30px; } .gm-tiles.four .gt-sub { font-size: 15px; }
  .gm-tiles.four .gt-tag, .gm-tiles.four .gt-off { font-size: 14px; line-height: 22px; }
  .gm-tiles.four .gt-offer { inset: 52px 18px 20px; padding-bottom: 34px; }
}
.gt-off { position: absolute; top: 7px; right: 7px; padding: 2px 6px; border-radius: 6px; font-size: 11px; font-weight: 800; line-height: 18px; background: #fff; color: #C2311F; }
.gt-foot { position: absolute; left: 8px; right: 8px; bottom: 12px; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.gt-now { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.gt-old { font-size: 11px; opacity: .85; min-height: 12px; }
.gt-dots { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 3px; }
.gt-dots i { width: 4px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.gt-dots i.on { width: 10px; background: #fff; }
/* swap: quick crossfade of photo + labels; the price counts down (alive.js) */
.gm-tile.out .gt-img, .gm-tile.out .gt-off { opacity: 0; }
.gm-tile .gt-off { transition: opacity .3s ease; }
/* offer tile */
.gm-tile.t-offer { background: #0A3B39; }
.t-offer .gt-tag { background: rgba(255,255,255,.16); }
.gt-offer { position: absolute; inset: 34px 8px 10px; display: flex; flex-direction: column; gap: 3px; transition: opacity .25s ease; }
.gt-offer.out { opacity: 0; }
.gt-big { font-size: 17px; font-weight: 800; line-height: 1.1; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-sub { font-size: 10.5px; line-height: 1.25; color: rgba(255,255,255,.85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* code sits bottom-left — the same place the price sits on the product tiles */
.gt-code { position: absolute; left: 0; bottom: 0; font-size: 11px; font-weight: 700; letter-spacing: .04em; border: 1px dashed rgba(255,255,255,.75); border-radius: 5px; padding: 0 6px; line-height: 18px; }
@media (min-width: 600px) {
  .gm-tiles { gap: 12px; }
  .gt-tag, .gt-off { font-size: 13px; top: 10px; } .gt-tag { left: 10px; } .gt-off { right: 10px; }
  .gt-foot { left: 12px; bottom: 16px; } .gt-now { font-size: 24px; } .gt-old { font-size: 13px; }
  .gt-big { font-size: 26px; } .gt-sub { font-size: 14px; } .gt-code { font-size: 13px; }
  .gt-offer { inset: 46px 14px 16px; gap: 8px; }
}
@media (min-width: 900px) {
  .gm-tiles { gap: 16px; }
  .gt-tag, .gt-off { font-size: 16px; line-height: 26px; padding: 2px 12px; top: 16px; border-radius: 8px; } .gt-tag { left: 16px; } .gt-off { right: 16px; }
  .gt-foot { left: 20px; bottom: 26px; } .gt-now { font-size: 36px; } .gt-old { font-size: 16px; }
  .gt-big { font-size: 40px; } .gt-sub { font-size: 17px; } .gt-code { font-size: 16px; line-height: 30px; padding: 0 12px; }
  .gt-offer { inset: 64px 22px 26px; gap: 12px; justify-content: center; padding-bottom: 40px; }
  .gt-dots { right: 14px; bottom: 14px; }
}
@media (max-width: 379px) { .gt-sub { -webkit-line-clamp: 1; } }
@media (max-width: 340px) { .gt-now, .gt-big { font-size: 15px; } .gt-tag { font-size: 10px; padding: 1px 6px; } }

/* ---- v13: scroll-in reveal (only when alive.js runs: html.gm-anim) ---------- */
.gm-anim .gm-rv { opacity: 0; transform: translateY(14px); transition: opacity .45s ease var(--d, 0ms), transform .45s ease var(--d, 0ms); }
.gm-anim .gm-rv.gm-in { opacity: 1; transform: none; }
.gm-anim .gm-bar.gm-rv { opacity: 1; transform: none; }
.gm-anim .gm-bar.gm-rv span { transform-origin: left; transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.8,.2,1) .15s; }
.gm-anim .gm-bar.gm-rv.gm-in span { transform: scaleX(1); }
/* photo shimmer while it loads */
.gm-anim .pc-img { background: linear-gradient(100deg, var(--brand-lt) 40%, #F5FBF7 50%, var(--brand-lt) 60%) 0 0 / 300% 100%; animation: gm-shimmer 1.4s linear infinite; }
.gm-anim .pc-img.ld, .gm-anim .pc-img:not(:has(img)) { animation: none; background: var(--brand-lt); }   /* stop once the photo is in */
@keyframes gm-shimmer { to { background-position: -150% 0; } }
/* live viewer number rolling */
[data-viewers] { font-variant-numeric: tabular-nums; display: inline-block; }
.gm-tick { animation: gm-tick .6s ease; }
@keyframes gm-tick { 30% { transform: translateY(-3px); color: #FFE27A; } }
.gm-sc.gm-press i { animation: gm-bounce .4s ease; }
@keyframes gm-bounce { 40% { transform: scale(.86); } 70% { transform: scale(1.08); } }
.gm-sc i { transition: transform .2s; }
@media (hover: hover) { .gm-sc:hover i { transform: translateY(-3px); } }

/* ---- v13: "just bought" pop-up ---------------------------------------------- */
.gm-just { position: fixed; left: 10px; bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: 4px;
  max-width: min(340px, calc(100vw - 20px)); background: #fff; border-radius: 14px; padding: 6px 6px 6px 6px; box-shadow: 0 8px 26px rgba(20, 20, 20,.22);
  transform: translateX(-120%); opacity: 0; transition: transform .45s cubic-bezier(.2,1.2,.4,1), opacity .3s; }
.gm-just.show { transform: none; opacity: 1; }
.gj-a { display: flex; align-items: center; gap: 10px; color: var(--ink) !important; min-width: 0; }
.gj-img { width: 46px; height: 46px; border-radius: 10px; background: var(--brand-lt) center / cover; flex: none; }
.gj-t { display: flex; flex-direction: column; min-width: 0; font-size: 13px; line-height: 1.3; }
.gj-t b { color: var(--brand-dk); }
.gj-t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gj-t small { color: var(--muted); font-size: 11px; }
.gj-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #F4F2EE; cursor: pointer; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .gm-just { bottom: calc(var(--nav-h) + 24px); left: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .gm-tile .gt-img, .gt-offer, .gm-just { transition: none !important; animation: none !important; }
  .gm-anim .pc-img { animation: none; }
}

/* v15: photo + name are links (work even before the stylesheet updates) — keep them looking like text */
a.pc-name, a.pc-name:hover { color: var(--ink); }
a.pc-img { color: inherit; }

/* ---- v34: pinned category bar ------------------------------------------------------
   The chips under "Just for you" stick right under the (sticky) header while the
   products scroll; --hdr-h is the header height, measured by index.php. A soft shadow
   appears only while pinned. Ends with the #feed section (sticky inside its parent). */
.gm-chipbar { position: sticky; top: calc(var(--hdr-h, 64px) + var(--hl-h, 0px) + var(--dn-h, 0px)); z-index: 30; background: var(--bg); margin: 0 -12px; padding: 8px 12px; transition: box-shadow .2s; }
.gm-chipbar.stuck { box-shadow: 0 8px 12px -10px rgba(20, 20, 20, .35); border-bottom: 1px solid var(--line); }
#feed { scroll-margin-top: calc(var(--hdr-h, 64px) + var(--hl-h, 0px) + var(--dn-h, 0px) + 4px); }

/* ============================================================================
   v32: DESKTOP LAYOUT (≥ 1024 px). Phones and tablets below 1024 px are untouched.
   Marketplace-style header: logo · big search · Account / Messages / Orders / Cart with
   labels, a white section bar under it (replaces the phone bottom nav), full-width
   category grid, calmer promo tiles, no floating phone bars.
   ============================================================================ */
.gm-hlbl, .gm-hacct { display: none; }
/* v60: section bar — under the headline, pinned while the page scrolls (phones: one swipeable row) */
body:has(.gm-dnav) { --dn-h: 45px; }
.gm-dnav { display: block; position: sticky; top: calc(var(--hdr-h, 64px) + var(--hl-h, 0px)); z-index: 35; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 8px -4px rgba(20, 20, 20,.14); }
.gm-dnav .gm-wrap { display: flex; align-items: center; gap: 2px; height: 44px; overflow-x: auto; scrollbar-width: none; padding: 0 8px; }
.gm-dnav .gm-wrap::-webkit-scrollbar { display: none; }
.gm-dnav a { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.gm-dnav a:hover { background: var(--brand-lt); color: var(--brand-dk); }
.gm-dnav a.on { background: var(--brand-lt); color: var(--brand-dk); }
.gm-dnav a svg { color: var(--brand-dk); flex: none; }
.gm-dnav a em { font-style: normal; font-size: 11px; background: var(--sale); color: #fff; border-radius: 999px; padding: 0 6px; line-height: 17px; }
.gm-dnav-sp { flex: 1; min-width: 8px; }
@media (min-width: 1024px) {
  body { padding-bottom: 0; font-size: 15px; }
  .gm-wrap { max-width: 1280px; padding: 0 24px; }

  /* Header: one tidy row */
  .gm-header { padding: 14px 0; box-shadow: none; }
  .gm-header .gm-hrow { gap: 14px; min-height: 52px; }
  .gm-header .gm-hmain .gm-logo { max-width: 168px; margin-right: 4px; }
  .gm-header .gm-hmain .gm-logo img, .gm-header .gm-hmain .gm-logo svg { max-height: 22px !important; }
  .gm-header .gm-logo .br-plate { max-width: 100%; }
  .gm-search { height: 48px; border-radius: 12px; max-width: 720px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
  .gm-search input { height: 48px; font-size: 16px; }
  .gm-search:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
  .gm-hicon { width: auto; height: 48px; padding: 0 10px; gap: 8px; border-radius: 10px; }
  .gm-hicon .gm-badge { top: 2px; right: auto; left: 22px; }
  .gm-hlbl { display: inline-flex; flex-direction: column; font-size: 14px; font-weight: 600; line-height: 1.15; white-space: nowrap; }
  .gm-hlbl small { font-size: 12px; font-weight: 400; opacity: .85; }
  .gm-hacct { display: inline-flex; }
  /* "Deliver to" sits beside the logo, Amazon-style */
  .gm-locchip { flex: none; max-width: 170px; min-height: 48px; background: transparent; font-size: 14px; }
  .gm-locchip small { font-size: 12px; }

  /* White section bar = desktop navigation */
  body:has(.gm-dnav) { --dn-h: 47px; }
  .gm-dnav .gm-wrap { height: 46px; gap: 4px; padding: 0 24px; }
  .gm-dnav a { height: 34px; padding: 0 12px; border-radius: 8px; font-size: 14px; gap: 6px; }
  .gm-nav { display: none; }                         /* phone bottom nav: replaced by the bar above */

  /* Page rhythm */
  .gm-main { gap: 20px; padding-top: 20px; }
  .gm-card { padding: 20px; border-radius: 14px; }
  .gm-sec-h h2 { font-size: 20px; }
  .gm-flash { margin-top: 16px; }
  .gm-acct-guest { display: none; }
  .gm-chipbar { margin: 0 -24px; padding: 10px 24px; }                  /* header already offers "Log in / Sign up" */

  /* Categories: a full-width grid, no sideways scrolling */
  .gm-cats { padding: 18px 20px 20px; }
  .gm-cats-h h2 { font-size: 17px; }
  .gm-shortcuts { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 18px 10px; }
  .gm-sc { font-size: 13.5px; gap: 10px; }
  .gm-sc i { width: 62px; height: 62px; }
  .gm-sc i svg { width: 26px; height: 26px; }
  .gm-quick { gap: 10px; }
  .gm-q { height: 44px; font-size: 14.5px; padding: 0 18px 0 14px; }

  /* Promo tiles: 4:3, the whole product photo is shown (not cropped) on a white card */
  .gm-tiles { gap: 20px; }
  .gm-tile { aspect-ratio: 4 / 3; border-radius: 16px; }
  .gm-tile:not(.t-offer) { background: #fff; }
  .gm-tile:not(.t-offer) .gt-img { object-fit: contain; padding: 14px 14px 56px; background: #fff; }
  .gm-tile:not(.t-offer) .gt-scrim { inset: 55% 0 0 0; }

  /* Banner: 1600×500 (3.2 : 1) — the whole uploaded banner, never taller than ~385 px */
  .gm-banner { aspect-ratio: 16 / 5; border-radius: 16px; }
  /* Never crop a banner on desktop: the whole picture is shown; if it is not 1600×500 the
     side gaps are filled with a blurred copy of the same picture (--bimg set in index.php). */
  .gm-slide { overflow: hidden; background: #0E5E5A; }
  .gm-slide::before { content: ''; position: absolute; inset: -30px; background: var(--bimg) center / cover no-repeat; filter: blur(24px) brightness(.85); }
  .gm-slide img { position: relative; object-fit: contain; }
  .gt-now { font-size: 32px; } .gt-big { font-size: 34px; }
  .gt-offer { inset: 62px 24px 24px; padding-bottom: 36px; }

  /* Product grid */
  .gm-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .pc { border-radius: 12px; }
  .pc-body { padding: 10px 12px 12px; gap: 6px; }
  .pc-name { font-size: 15px; }
  .pc-price b { font-size: 18px; }

  /* Floating cards: bottom corners instead of above the (hidden) phone bar */
  .gm-just { left: 24px; bottom: 24px; }
  #gmPushCard { left: auto !important; right: 24px !important; bottom: 24px !important; margin: 0 !important; }
  .gm-toast { top: 96px; }

  /* Footer */
  .gm-foot { margin-top: 40px; }
  .gm-foot-main { padding-top: 40px; }
}
@media (min-width: 1360px) { .gm-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* v101: centre "Shop" button in the bottom nav — raised orange circle */
.gm-nav a.gm-nav-shop { color: #0B4F4C; font-weight: 700; }
.gm-nav a.gm-nav-shop .gm-nav-ic { width: 52px; height: 52px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: #0B4F4C; box-shadow: 0 6px 16px rgba(11, 79, 76, .28), 0 0 0 4px #fff; transition: transform .15s; }
.gm-nav a.gm-nav-shop:active .gm-nav-ic { transform: scale(.94); }
.gm-nav a.gm-nav-shop.on .gm-nav-ic::before { display: none; }
.gm-nav a.gm-nav-shop .gm-badge { top: -2px; right: -4px; }
/* v148: the Remuza mark (black + red swoosh) on a white disc with a thin red ring, instead of the bag on black */
.gm-nav a.gm-nav-shop .gm-nav-ic:has(.gm-nav-mark) { background: #fff; box-shadow: 0 6px 16px rgba(11, 79, 76, .22), 0 0 0 2px #F25C54 inset, 0 0 0 4px #fff; }
.gm-nav-mark { width: 34px; height: 34px; display: block; object-fit: contain; }

/* v118: categories in one auto-gliding row (index.php #catRun) */
.gm-shortcuts.gm-catrun { display: flex; grid-template-columns: none; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 2px 0 4px; margin: 0 -4px; touch-action: pan-x; }
.gm-catrun::-webkit-scrollbar { display: none; }
.gm-catrun .gm-sc { flex: 0 0 78px; }
.gm-catrun.is-auto { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%); }
@media (min-width: 900px) { .gm-catrun .gm-sc { flex-basis: 96px; } }

/* ---- v133: fashion look — ink black, denim navy, warm off-white; crisper corners ---- */
.gm-btn { border-radius: 6px; letter-spacing: .01em; }
.gm-search { border-radius: 6px; }
h1, h2 { letter-spacing: -.01em; }

/* v135: category photos — a round photo (or transparent PNG on a soft card) instead of the line icon */
.gm-sc i.ph { background: #F2F0EC; overflow: hidden; padding: 0; }
.gm-sc i.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gm-sc.on i.ph { background: #F2F0EC; box-shadow: 0 0 0 2px var(--brand-dk); }

/* ---- v137: animated Flash deals chip + offer ticker in the section bar ---- */
.gm-dnav a.dn-flash, .gm-dnav a.dn-flash:hover, .gm-dnav a.dn-flash.on {
  color: #fff; font-weight: 700; background-color: #C9362E;
  background-image: linear-gradient(110deg, #C9362E 0%, #D93A22 35%, #FF7A1A 50%, #D93A22 65%, #C9362E 100%);
  background-size: 260% 100%; animation: dnShine 2.8s linear infinite, dnPulse 2.2s ease-out infinite; }
.gm-dnav a.dn-flash:hover { filter: brightness(1.08); }
.gm-dnav a.dn-flash svg { color: #FFD166; }
.dn-bolt { display: inline-flex; animation: dnBolt 1.8s ease-in-out infinite; transform-origin: 50% 60%; }
.dn-fl-t { margin-left: 2px; background: rgba(0,0,0,.28); border-radius: 6px; padding: 1px 6px; font-size: 12px; line-height: 18px; }
.dn-fl-t b, .dn-pi-cd b { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
@keyframes dnShine { from { background-position: 100% 0; } to { background-position: -160% 0; } }
@keyframes dnPulse { 0% { box-shadow: 0 0 0 0 rgba(217, 58, 34, .5); } 70% { box-shadow: 0 0 0 7px rgba(217, 58, 34, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 58, 34, 0); } }
@keyframes dnBolt { 0%, 100% { transform: scale(1) rotate(0); } 8% { transform: scale(1.3) rotate(-14deg); } 16% { transform: scale(1) rotate(0); }
  24% { opacity: .35; } 28% { opacity: 1; } }
.gm-dnav a.dn-promo { position: relative; gap: 0; height: 32px; padding: 0 12px; border-radius: 999px; background: #FFF4F2; color: #8A1C12;
  border: 1px dashed rgba(179, 38, 30, .45); max-width: 520px; overflow: hidden; }
.gm-dnav a.dn-promo:hover { background: #FDECEA; color: #8A1C12; }
.dn-pi { display: inline-flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.dn-pi[hidden] { display: none; }
.dn-pi.in { animation: dnSlide .45s cubic-bezier(.2, .8, .2, 1); }
.dn-pi-t { overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.dn-pi-code { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; border: 1px solid currentColor; border-radius: 5px; padding: 0 6px; line-height: 18px; }
.dn-pi-cd { font-size: 12.5px; color: #0B4F4C; } .dn-pi-cd > span { color: #5C6B69; font-weight: 500; }
.dn-pi-cd b { background: #0B4F4C; color: #fff; border-radius: 5px; padding: 1px 6px; font-size: 12px; }
@keyframes dnSlide { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .gm-dnav a.dn-flash, .dn-bolt, .dn-pi.in { animation: none; }
}

/* v138: countdown digits slide in when they change */
[data-cd] i { display: inline-block; font-style: normal; min-width: .58em; text-align: center; }
[data-cd] i.tk { animation: dnTick .38s cubic-bezier(.2, .8, .2, 1); }
@keyframes dnTick { from { transform: translateY(-75%); opacity: 0; } to { transform: none; opacity: 1; } }
.dn-flash.is-on .dn-fl-t { animation: dnGlow 1s ease-in-out infinite alternate; }
@keyframes dnGlow { from { background: rgba(0,0,0,.28); } to { background: rgba(0,0,0,.5); } }
@media (prefers-reduced-motion: reduce) { [data-cd] i.tk, .dn-flash.is-on .dn-fl-t { animation: none; } }

/* ---- v145: Flash Sale section ------------------------------------------------------------------------------
   Crimson → ember gradient header with a slow light sweep, flickering bolt, pulsing LIVE dot, dark glass
   countdown boxes whose digits slide in, and 4:5 deal cards with a stock bar. Motion off for reduced-motion users. */
.fs { position: relative; margin: 0; padding: 8px 8px 10px; border-radius: 18px; background: linear-gradient(180deg, #FFF1EC 0%, #FFFFFF 55%);
  border: 1px solid #F8D9CF; box-shadow: 0 8px 28px rgba(200, 40, 20, .08); }
.fs-head { position: relative; overflow: hidden; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; padding: 12px 14px; border-radius: 14px; color: #fff;
  background: linear-gradient(100deg, #B0101E 0%, #D7192B 38%, #EE3B1F 70%, #FF6A1A 100%);
  box-shadow: 0 10px 24px rgba(215, 25, 43, .28), inset 0 1px 0 rgba(255, 255, 255, .18); }
.fs-head::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); background-size: 250% 100%;
  animation: fsSweep 3.8s ease-in-out infinite; }
@keyframes fsSweep { 0% { background-position: 160% 0; } 60%, 100% { background-position: -60% 0; } }
.fs-title { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 20px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-style: italic; line-height: 1; }
.fs-bolt { display: inline-flex; color: #FFD23F; filter: drop-shadow(0 0 6px rgba(255, 210, 63, .7)); animation: fsBolt 2.4s ease-in-out infinite; }
.fs-bolt svg { fill: #FFD23F; stroke: #FFB800; }
@keyframes fsBolt { 0%, 100% { transform: rotate(0) scale(1); opacity: 1; } 6% { transform: rotate(-12deg) scale(1.25); } 12% { transform: none; }
  16% { opacity: .35; } 19% { opacity: 1; } 22% { opacity: .55; } 25% { opacity: 1; } }
.fs-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(0, 0, 0, .22);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fs-live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: fsPulse 1.6s ease-out infinite; }
@keyframes fsPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .75); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }
.fs-timer { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; }
.fs-in { font-size: 13px; font-weight: 600; opacity: .92; margin-right: 3px; }
.fs-timer b { display: inline-grid; place-items: center; min-width: 34px; height: 32px; padding: 0 5px; border-radius: 8px; overflow: hidden;
  background: rgba(40, 0, 6, .38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 6px rgba(0, 0, 0, .15);
  font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.fs-timer b.flip { animation: fsFlip .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes fsFlip { 0% { transform: translateY(-55%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.fs-timer em { font-style: normal; font-weight: 800; opacity: .85; }
.fs-timer.done b { opacity: .5; }
.fs-all { position: relative; display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: 13.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fs-all::after { content: ''; position: absolute; left: 0; right: 14px; bottom: -3px; height: 2px; background: #fff; transform: scaleX(.35); transform-origin: left; transition: transform .25s; }
.fs-all:hover { color: #fff; } .fs-all:hover::after { transform: scaleX(1); }
.fs-all span { font-size: 18px; line-height: 1; transition: transform .25s; } .fs-all:hover span { transform: translateX(3px); }
.fs-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(138px, 168px); gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 12px 2px 4px; scrollbar-width: none; }
.fs-rail::-webkit-scrollbar { display: none; }
.fs-card { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; color: var(--ink);
  border: 1px solid #F2E6E1; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: transform .2s, box-shadow .2s; }
.fs-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(200, 40, 20, .12); }
.fs-img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--brand-lt); overflow: hidden; }
.fs-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.fs-card:hover .fs-img img { transform: scale(1.05); }
.fs-off { position: absolute; top: 8px; left: 8px; padding: 3px 7px; border-radius: 6px; background: linear-gradient(135deg, #D7192B, #FF6A1A); color: #fff;
  font-size: 12px; font-weight: 800; box-shadow: 0 3px 8px rgba(215, 25, 43, .35); }
.fs-body { display: flex; flex-direction: column; gap: 6px; padding: 8px 9px 10px; }
.fs-name { font-size: 12.5px; line-height: 1.3; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.fs-price { display: flex; align-items: baseline; gap: 6px; } .fs-price b { color: #D7192B; font-size: 17px; font-weight: 800; } .fs-price s { color: var(--muted); font-size: 12px; }
.fs-bar { position: relative; display: block; height: 18px; border-radius: 999px; background: #FCE3DE; overflow: hidden; }
.fs-bar::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--fill); border-radius: inherit;
  background: linear-gradient(90deg, #FF8A3D, #EE3B1F); animation: fsFill 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.fs-bar.hot::before { background: linear-gradient(90deg, #EE3B1F, #B0101E); }
@keyframes fsFill { from { width: 0; } }
.fs-bar-t { position: relative; display: block; text-align: center; font-size: 10.5px; font-weight: 800; line-height: 18px; color: #7A1410; letter-spacing: .02em; }
@media (max-width: 559px) {
  .fs-head { padding: 11px 12px; }
  .fs-title { font-size: 18px; }
  .fs-timer { order: 3; margin-left: 0; }
  .fs-all { order: 2; margin-left: auto; font-size: 12.5px; }
  .fs-timer b { min-width: 30px; height: 28px; font-size: 15px; }
}
@media (min-width: 1024px) { .fs { padding: 10px 10px 12px; } .fs-rail { grid-auto-columns: minmax(170px, 190px); gap: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .fs-head::after, .fs-bolt, .fs-live i, .fs-timer b.flip, .fs-bar::before { animation: none; }
  .fs-card, .fs-img img { transition: none; }
}

/* ---- v152: phones — the section bar fits the screen (no sideways scrolling) ---------------------------------
   Every section is a tile (icon over the name) in one row; the offer ticker gets its own full-width line under it.
   v153: the bar stays pinned under the header while scrolling; once pinned it shrinks to a slim row
   (icon beside the name, flash = bolt + clock, thin offer line) so it doesn't eat the screen. Computers unchanged. */
@media (max-width: 1023px) {
  .gm-dnav { position: sticky; box-shadow: none; transition: box-shadow .2s; }
  .gm-dnav.stuck { box-shadow: 0 2px 8px rgba(0,0,0,.10); }
  .gm-dnav .gm-wrap { flex-wrap: wrap; height: auto; overflow: visible; gap: 6px; padding: 8px 10px 10px; }
  .gm-dnav-sp, .gm-dnav .gm-wrap > a[href$="support.php"], .gm-dnav .gm-wrap > a[href*="as=seller"] { display: none; }
  .gm-dnav .gm-wrap > a:not(.dn-promo) { position: relative; flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 3px;
    height: auto; min-height: 54px; padding: 7px 2px 6px; border-radius: 12px; background: #F4F8F7; font-size: 11.5px; line-height: 1.15;
    white-space: normal; text-align: center; }
  .gm-dnav .gm-wrap > a:not(.dn-promo) svg { width: 20px; height: 20px; }
  .gm-dnav .gm-wrap > a.on { background: var(--brand-lt); }
  .gm-dnav a em { position: absolute; top: 4px; right: 6px; font-size: 10px; padding: 0 5px; line-height: 15px; }
  .gm-dnav .gm-wrap > a.dn-flash { flex: 1.45 1 0; gap: 2px; background-color: #C9362E; color: #fff; }
  .gm-dnav a.dn-flash .dn-fl-t { margin: 0; font-size: 10.5px; line-height: 15px; padding: 0 5px; white-space: nowrap; }
  .gm-dnav a.dn-flash .dn-fl-t b { letter-spacing: 0; }
  .gm-dnav a.dn-promo { flex: 1 1 100%; order: 9; max-width: none; height: 30px; justify-content: center; font-size: 12px; padding: 0 10px; }
  .gm-dnav a.dn-promo .dn-pi { max-width: 100%; }
  .dn-pi-code { font-size: 10.5px; }
  .gm-dnav a.dn-promo .dn-pi-cd > span { display: none; }   /* "Ends in": the clock alone says it */
  /* pinned: slim */
  .gm-dnav.stuck .gm-wrap { gap: 5px; padding: 5px 8px 6px; }
  .gm-dnav.stuck .gm-wrap > a:not(.dn-promo) { flex-direction: row; min-height: 34px; padding: 4px 4px; gap: 4px; border-radius: 10px; font-size: 11.5px; white-space: nowrap; }
  .gm-dnav.stuck .gm-wrap > a:not(.dn-promo) svg { width: 16px; height: 16px; }
  .gm-dnav.stuck .gm-wrap > a.dn-flash > span:not(.dn-bolt):not(.dn-fl-t) { display: none; }
  .gm-dnav.stuck a em { top: -3px; right: -2px; }
  .gm-dnav.stuck a.dn-promo { height: 24px; font-size: 11.5px; }
}

/* ---- v152.2: "Deliver to" chip removed from the header (delivery area is still asked at checkout) ---- */
.gm-hmain .gm-locchip { display: none; }
@media (max-width: 759px) { .gm-hmain .gm-hlike { margin-left: auto; } }   /* icons stay on the right */

/* ---- v153: categories — main tabs (Ladies / Men's / Kids) over the sub-categories of the open tab -------------
   Tabs share the width equally (no sideways scrolling); the open one is dark. Subs sit in a grid, all visible. */
.ct-tabs { display: flex; gap: 6px; padding: 2px 2px 12px; }
.ct-tab { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 6px 8px;
  border: 1px solid #DDE7E5; border-radius: 999px; background: #F4F8F7; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.ct-tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-tab img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; }
.ct-tab:hover { border-color: #CFC9C1; }
.ct-tab[aria-selected="true"] { background: #102A28; border-color: #102A28; color: #fff; }
.ct-tab:focus-visible { outline: 2px solid var(--brand-dk); outline-offset: 2px; }
.ct-in .ct-grid > .gm-sc { animation: ctPop .4s cubic-bezier(.2,.8,.3,1) both; animation-delay: var(--d, 0ms); }   /* v153.1: tiles one after another */
@keyframes ctPop { from { opacity: 0; transform: translateY(10px) scale(.94); } }
/* v153.2: Shopee-style two-row strip — swiped sideways by hand (no auto-moving), next column peeks in at the right */
.ct-panel { position: relative; }
.gm-shortcuts.ct-grid { display: grid; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 6px) / 4.35); gap: 14px 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.ct-grid::-webkit-scrollbar { display: none; }
.ct-grid > .gm-sc { scroll-snap-align: start; min-width: 0; }
.ct-bar { width: 44px; height: 4px; margin: 10px auto 0; border-radius: 4px; background: #ECE8E2; overflow: hidden; }
.ct-bar[hidden] { display: none; }
.ct-bar i { display: block; height: 100%; border-radius: 4px; background: #C9362E; transition: transform .08s linear; }
.ct-arr { display: none; position: absolute; top: 34%; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #DDE7E5; background: #fff;
  color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.ct-prev { left: -6px; } .ct-next { right: -6px; }
@media (hover: hover) and (pointer: fine) { .ct-panel:hover .ct-arr:not([hidden]) { display: block; } }
.ct-all i { background: #F2F0EC; color: #102A28; border-color: #DDE7E5; }
.ct-empty { margin: 10px 4px 2px; color: var(--muted); font-size: 13px; }
@media (min-width: 700px) { .gm-shortcuts.ct-grid { grid-auto-columns: calc((100% - 5 * 6px) / 6.4); } }
@media (min-width: 1024px) { .ct-tabs { max-width: 520px; } .gm-shortcuts.ct-grid { grid-auto-columns: calc((100% - 7 * 10px) / 8); column-gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .ct-in .ct-grid > .gm-sc { animation: none; } }

/* ---- v154: banner carousel — swiped by hand on phones (next banner peeks in, "2 / 3"), 6 s auto on computers
   (paused on hover, stops once the shopper picks a slide, ‹ › buttons). Text banners: real text over a colour + photo. */
.gm-banner-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; transition: none; transform: none !important; }
.gm-banner-track::-webkit-scrollbar { display: none; }
.gm-slide { scroll-snap-align: start; }
.gm-bcount { position: absolute; right: 10px; bottom: 8px; z-index: 2; background: rgba(17,17,17,.55); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; pointer-events: none; }
.gm-barr { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.94); color: #111; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.gm-bprev { left: 12px; } .gm-bnext { right: 12px; }
@media (hover: hover) and (pointer: fine) { .gm-banner:hover .gm-barr { display: block; } }
.gm-slide.gm-slide-txt { display: flex; align-items: stretch; overflow: hidden; text-decoration: none; --bt: #C9362E; background: var(--bt); }
.gm-slide.gm-slide-txt::before { display: none; }
.bt-copy { flex: 1 1 58%; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 3% 0 6%; min-width: 0; position: relative; z-index: 1; }
.bt-copy b { font-size: clamp(28px, 8.6vw, 66px); line-height: .95; font-weight: 800; letter-spacing: -.5px; }
.bt-copy > span { font-size: clamp(12.5px, 3.3vw, 20px); opacity: .92; line-height: 1.3; }
.bt-copy em { align-self: flex-start; margin-top: 6px; font-style: normal; font-weight: 700; font-size: clamp(12px, 3.2vw, 16px); padding: 6px 14px; border-radius: 999px; }
.bt-ph { flex: 0 0 42%; position: relative; }
.bt-ph::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 35%; z-index: 1; background: linear-gradient(90deg, var(--bt), transparent); }
.gm-slide .bt-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.gm-slide.bt-red   { --bt: #C9362E; color: #fff; }  .bt-red em   { background: #fff; color: #C9362E; }
.gm-slide.bt-dark  { --bt: #102A28; color: #fff; }  .bt-dark em  { background: #FFD166; color: #102A28; }
.gm-slide.bt-cream { --bt: #F6EFE6; color: #102A28; } .bt-cream em { background: #102A28; color: #fff; }
.gm-slide.bt-pink  { --bt: #FCE4EC; color: #8A1C3C; } .bt-pink em  { background: #8A1C3C; color: #fff; }
@media (max-width: 1023px) {
  .gm-banner.has-txt { aspect-ratio: 16 / 7; }
  .gm-banner:not([data-n="1"]) { overflow: visible; background: none; box-shadow: none; border-radius: 0; aspect-ratio: auto; }
  .gm-banner:not([data-n="1"]) .gm-banner-track { gap: 8px; height: auto; }
  .gm-banner:not([data-n="1"]) .gm-slide { flex: 0 0 calc(100% - 26px); height: auto; aspect-ratio: 16 / 7; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
  .gm-banner:not([data-n="1"]) .gm-dots { display: none; }
  .gm-banner:not([data-n="1"]) .gm-bcount { right: 36px; }
}

/* ---- v154.2: deal tiles on phones — three portrait tiles (3:4, the whole outfit shows) instead of four squares.
   The Offers tile is left out on phones (the same offer is in the banner and the offer line); the % badge sits
   on the price line at the bottom so it no longer crowds the label. Computers unchanged. */
@media (max-width: 767px) {
  .gm-tiles.four { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .gm-tiles.four .t-offer { display: none; }
  .gm-tiles.four .gm-tile { aspect-ratio: 3 / 4; border-radius: 12px; }
  .gm-tiles.four .gt-img { object-position: center 18%; }
  .gm-tiles.four .gt-scrim { inset: 50% 0 0 0; }
  .gm-tiles.four .gt-tag { top: 6px; left: 6px; max-width: calc(100% - 12px); padding: 0 7px; font-size: 11px; line-height: 19px; border-radius: 6px; }
  .gm-tiles.four .gt-foot { left: 7px; right: 44px; bottom: 9px; }
  .gm-tiles.four .gt-now { font-size: 16px; }
  .gm-tiles.four .gt-old { font-size: 11px; }
  .gm-tiles.four .gt-off { top: auto; bottom: 10px; right: 6px; padding: 0 5px; font-size: 11px; line-height: 18px; border-radius: 6px; }
  .gm-tiles.four .gt-dots { display: none; }
}

/* ---- v155: slim ad strips between homepage sections (our own products) ------------------------------------
   One line of copy on the left, three product photos fanned out on the right, a soft light sweep every few
   seconds and a small lift on tap. Colours: blush, navy, sun. */
.ad-strip { position: relative; display: flex; align-items: center; gap: 10px; min-height: 78px; padding: 10px 14px; border-radius: var(--r, 14px);
  overflow: hidden; isolation: isolate; text-decoration: none; color: #102A28; box-shadow: var(--sh); transition: transform .15s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent; }
.ad-strip:active { transform: scale(.985); }
@media (hover: hover) { .ad-strip:hover { box-shadow: 0 8px 22px rgba(20,20,20,.14); } .ad-strip:hover .ad-pics img { transform: translateX(calc(var(--i) * -6px)) rotate(calc((var(--i) - 1) * 4deg)) translateY(-3px); } }
.ad-strip::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%) no-repeat; background-size: 250% 100%;
  animation: adSweep 5.5s ease-in-out infinite; }
@keyframes adSweep { 0%, 55% { background-position: 130% 0; } 85%, 100% { background-position: -30% 0; } }
.ad-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ad-txt small { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 1px 7px; border-radius: 999px; }
.ad-txt b { font-size: 16px; line-height: 1.2; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-txt > span { font-size: 12.5px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-pics { flex: none; display: flex; align-items: center; padding-right: 2px; }
.ad-pics img { width: 46px; height: 58px; object-fit: cover; border-radius: 9px; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.16); background: #f2f0ec;
  margin-left: -14px; transform: rotate(calc((var(--i) - 1) * 6deg)); transition: transform .3s cubic-bezier(.2,.8,.3,1.2); }
.ad-pics img:first-child { margin-left: 0; }
.ad-pics img:nth-child(2) { position: relative; z-index: 1; transform: translateY(-3px) scale(1.06); }
.ad-go { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 20px; line-height: 1; font-weight: 700; }
.ad-blush { background: linear-gradient(100deg, #FDE7EC, #FFF4EF); } .ad-blush small { background: #C2185B; color: #fff; } .ad-blush .ad-go { background: #C2185B; color: #fff; }
.ad-navy  { background: linear-gradient(100deg, #14213D, #24365E); color: #fff; } .ad-navy small { background: #FFD166; color: #14213D; } .ad-navy .ad-go { background: #fff; color: #14213D; }
.ad-sun   { background: linear-gradient(100deg, #FFF1C9, #FFE3A3); } .ad-sun small { background: #102A28; color: #FFE3A3; } .ad-sun .ad-go { background: #102A28; color: #FFE3A3; }
@media (min-width: 1024px) {
  .ad-strip { min-height: 96px; padding: 12px 24px; gap: 18px; }
  .ad-txt b { font-size: 20px; } .ad-txt > span { font-size: 14px; }
  .ad-pics img { width: 60px; height: 76px; margin-left: -16px; }
}
@media (prefers-reduced-motion: reduce) { .ad-strip::after { animation: none; } .ad-pics img { transition: none; } }

/* ---- v156: product page — small, honest motion (assets/pd_alive.js). #pd prefix: wins over product.css. ---------- */
/* sections fade up as they come into view */
#pd .pd-rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease var(--rd, 0ms), transform .5s cubic-bezier(.2,.8,.3,1) var(--rd, 0ms); }
#pd .pd-rv.pd-in { opacity: 1; transform: none; }
/* price: "Save RM5" pill pops in */
#pd .pd-save { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #0B7A3B; color: #fff; font-size: 12px; font-weight: 800;
  vertical-align: middle; animation: pdPop .5s cubic-bezier(.2,.9,.3,1.4) .3s both; }
@keyframes pdPop { from { opacity: 0; transform: scale(.6); } }
/* free-delivery nudge with a bar that fills when seen */
#pd .pd-fd { margin: 10px 14px 4px; padding: 9px 12px; border-radius: 12px; background: #EEF8F1; color: #0B5A2C; font-size: 13.5px; }
#pd .pd-fd > span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
#pd .pd-fd > i { display: block; height: 6px; margin-top: 7px; border-radius: 6px; background: #D2ECDB; overflow: hidden; }
#pd .pd-fd > i em { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #2FA35A, #0B7A3B); transition: width 1.1s cubic-bezier(.2,.8,.3,1) .2s; }
#pd .pd-fd.pd-in > i em, #pd .pd-fd:not(.pd-rv) > i em { width: var(--p); }
#pd .pd-fd.ok { background: #0B7A3B; color: #fff; } #pd .pd-fd.ok > i { display: none; }
/* top bar: once it turns solid, the price shows next to the name */
#pd .pd-top-p { display: none; flex: none; margin-left: 6px; color: #C9362E; font-size: 15px; font-weight: 800; }
#pd .pd-top.solid .pd-top-p { display: inline; animation: pdPop .35s ease both; }
/* colour / size chips look tappable; one gentle nudge after load */
#pd .pd-var i { transition: transform .15s ease, border-color .15s ease, background .15s ease; }
#pd .pd-vars:active .pd-var i { transform: scale(.96); }
@media (hover: hover) { #pd .pd-var i:hover { border-color: #102A28; background: #F4F8F7; } }
#pd .pd-vars.pd-nudge .pd-var i:not(.out) { animation: pdNudge .6s ease var(--nd, 0ms) both; }
@keyframes pdNudge { 30% { transform: translateY(-4px); border-color: #C9362E; } 60% { transform: translateY(1px); } }
/* vouchers: ticket look with notches, a slow shine, and a press */
#pd .pd-voucher { position: relative; overflow: hidden; transition: transform .12s ease; }
#pd .pd-voucher::before, #pd .pd-voucher::after { content: ''; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; border: 1px dashed currentColor; }
#pd .pd-voucher::before { left: -6px; } #pd .pd-voucher::after { right: -6px; }
#pd .pd-voucher:active { transform: scale(.97); }
#pd .pd-voucher b::after { content: ' ›'; font-weight: 800; }
/* ♥ burst */
#pd .pd-like.burst svg { animation: pdHeart .6s cubic-bezier(.2,.9,.3,1.4); }
#pd .pd-like { position: relative; }
#pd .pd-like.burst::after { content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 2px solid #E0245E; animation: pdRing .6s ease-out forwards; pointer-events: none; }
@keyframes pdHeart { 0% { transform: scale(1); } 30% { transform: scale(1.35); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes pdRing { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
/* Buy now: a soft shine every few seconds */
#pd .pd-bar-buy { position: relative; overflow: hidden; }
#pd .pd-bar-buy::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%) no-repeat; background-size: 250% 100%; animation: adSweep 4.5s ease-in-out 1.5s infinite; }
@media (prefers-reduced-motion: reduce) {
  #pd .pd-rv { opacity: 1; transform: none; transition: none; }
  #pd .pd-save, #pd .pd-bar-buy::after, #pd .pd-vars.pd-nudge .pd-var i, #pd .pd-like.burst svg, #pd .pd-like.burst::after { animation: none; }
}

/* ---- v157: product photos 1:1 on phones and they never scroll away: the square scrolls up until a band of
   min(300px, 42vh) is left, then stays pinned at the top while the details scroll underneath it.
   (.pd-grid becomes display:contents on phones so the pinned photo lasts the whole page.) Colour chips show
   the real product photo bigger. Computers unchanged (their photo column is already pinned). */
@media (max-width: 899px) {
  #pd .pd-grid { display: contents; }
  #pd .pd-slides { aspect-ratio: 1 / 1; }
  /* v157.2: the whole 1:1 photo stays put at the top; only the details below scroll (underneath it) */
  #pd .pd-gal { position: sticky; top: 0; z-index: 5; box-shadow: 0 6px 14px -8px rgba(0,0,0,.25); background: #fff; }
  /* the top bar stays see-through over the photo (it would otherwise cover the top of the photo) */
  #pd .pd-top.solid { background: transparent; box-shadow: none; }
  #pd .pd-top.solid .pd-ib { background: rgba(0,0,0,.38); color: #fff !important; }
  #pd .pd-top.solid .pd-top-t { opacity: 0; } #pd .pd-top.solid .pd-top-p { display: none; }   /* the title keeps its space so the icons stay right */
  #pd .pd-top { pointer-events: none; } #pd .pd-top .pd-ib { pointer-events: auto; }
  #pd .pd-info, #pd .pd-sec { position: relative; z-index: 1; }
}
#pd .pd-vimg { width: 26px; height: 32px; object-fit: cover; border-radius: 5px; vertical-align: middle; }

/* ---- v158: Flash Sale header, plain and confident (no gradient band, glow, italics, glass pills or shine).
   White card with a hairline; red title; small black clock digits; quiet "View all". Cards keep flat colours. */
.fs { padding: 4px 12px 12px; border-radius: 14px; background: #fff; border: 1px solid #EDE9E4; box-shadow: none; }
.fs-head { flex-wrap: nowrap; gap: 10px; padding: 12px 0 10px; border-radius: 0; color: var(--ink, #102A28); background: none; box-shadow: none; }
.fs-head::after { content: none; }
.fs-title { gap: 4px; font-size: 18px; font-weight: 800; font-style: normal; text-transform: none; letter-spacing: -.01em; color: #E0473E; white-space: nowrap; }
.fs-bolt { color: #E0473E; filter: none; animation: none; }
.fs-bolt svg { width: 18px; height: 18px; fill: #E0473E; stroke: #E0473E; }
.fs-live { display: none; }
.fs-timer { order: 0; margin-left: 2px; gap: 3px; }
.fs-in { font-size: 12.5px; font-weight: 500; color: #6B6B6B; opacity: 1; margin-right: 4px; white-space: nowrap; }
.fs-timer b { min-width: 24px; height: 22px; padding: 0 4px; border-radius: 4px; background: #102A28; color: #fff; box-shadow: none; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.fs-timer em { color: #102A28; font-weight: 700; opacity: 1; }
.fs-all { order: 0; margin-left: auto; gap: 2px; color: #6B6B6B; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.fs-all::after { content: none; }
.fs-all:hover { color: #102A28; }
.fs-off { background: #E0473E; border-radius: 4px; }
.fs-bar { background: #F4E4E1; }
.fs-bar::before, .fs-bar.hot::before { background: #E8412C; animation: none; }
.fs-bar.hot::before { background: #E0473E; }
.fs-card { border: 1px solid #F0ECE7; }
.fs-card:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }
.fs-price b { color: #E0473E; }
@media (max-width: 599px) {
  .fs-head { padding: 11px 0 9px; gap: 8px; }
  .fs-title { font-size: 16.5px; }
  .fs-in { display: none; }
  .fs-timer { order: 0; margin-left: 0; }
  .fs-timer b { min-width: 22px; height: 21px; font-size: 12.5px; }
  .fs-all { order: 0; font-size: 12.5px; }
}

/* ---- v159: variant picker preview on the product page, TikTok-style — a heading per option ("Colour (3)"),
   photo tiles (3 per row, square photo + name, sold-out greyed) and spaced size chips. Tapping any of them opens
   the Buy / Cart sheet with that choice already made (product.js). */
#pd .pd-vars.pv { display: block; padding: 14px 16px 16px; text-align: left; }
#pd .pd-vars.pv .pd-row-b { display: flex; flex-direction: column; gap: 16px; width: 100%; }
#pd .pv-opt { display: block; }
#pd .pv-h { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 700; color: #102A28; }
#pd .pv-h small { font-size: 14px; font-weight: 600; color: #6B6B6B; }
#pd .pv-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#pd .pv-tile { display: flex; flex-direction: column; font-style: normal; border: 1.5px solid #E4E0DA; border-radius: 10px; overflow: hidden; background: #fff;
  transition: border-color .15s, transform .15s; }
#pd .pv-tile:hover { border-color: #102A28; }
#pd .pv-tile:active { transform: scale(.97); }
#pd .pv-img { display: block; aspect-ratio: 1 / 1; background: #F4F2EF; }
#pd .pv-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
#pd .pv-img em { display: block; width: 100%; height: 100%; }
#pd .pv-t { display: block; padding: 8px 6px; text-align: center; font-size: 13.5px; line-height: 1.25; color: #102A28; }
#pd .pv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
#pd .pv-chip { display: inline-flex; align-items: center; gap: 6px; min-width: 56px; justify-content: center; padding: 9px 16px; font-style: normal;
  border: 1.5px solid #E4E0DA; border-radius: 8px; background: #fff; font-size: 14px; color: #102A28; transition: border-color .15s, transform .15s; }
#pd .pv-chip:hover { border-color: #102A28; }
#pd .pv-chip:active { transform: scale(.97); }
#pd .pv-tile.out, #pd .pv-chip.out { opacity: .45; text-decoration: line-through; }
#pd .pv-more { color: #6B6B6B; }
#pd .pd-vars.pv.pd-nudge .pv-tile:not(.out), #pd .pd-vars.pv.pd-nudge .pv-chip:not(.out) { animation: pdNudge .6s ease var(--nd, 0ms) both; }

/* ============================================================================
   Remuza look (teal + coral) — white header, Poppins, softer rounded UI.
   Kept at the end so it wins over the shared rules above.
   ============================================================================ */
:root {
  --brand: #0E5E5A; --brand-dk: #0B4F4C; --brand-lt: #E3F2EF;
  --sale: #C9362E; --coral: #F25C54; --live: #E0473E;
  --ink: #102A28; --muted: #5C6B69; --line: #DDE7E5; --bg: #F4F8F7; --card: #FFFFFF;
  --r: 14px;
  --sh: 0 1px 2px rgba(16, 42, 40, .05), 0 6px 18px rgba(16, 42, 40, .06);
}
body { font-family: 'Poppins', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 14.5px; letter-spacing: -.005em; }
h1, h2, h3, .gm-sec-h h2 { letter-spacing: -.01em; }
/* Header: white, teal accents */
.gm-header { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 4px 14px rgba(16, 42, 40, .05); }
.gm-header .gm-hicon, .gm-header .gm-hicon:hover, .gm-header .gm-logo, .gm-header .gm-logo:hover, .gm-header .gm-mlogo, .gm-header .gm-htitle, .gm-header a { color: var(--ink); }
.gm-header .gm-hicon:hover { background: var(--brand-lt); }
.gm-header .gm-badge { background: var(--coral); box-shadow: 0 0 0 2px #fff; }
.gm-header .gm-search { background: #F1F6F5; border: 1px solid var(--line); border-radius: 999px; }
.gm-header .gm-search:focus-within { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(14, 94, 90, .12); }
.gm-header .gm-search-ic { padding-left: 14px; color: var(--brand); }
.gm-header .gm-sbtn { color: var(--brand); }
.gm-locchip { background: var(--brand-lt); color: var(--brand-dk); border-radius: 999px; }
.gm-locchip:hover { background: #D3EBE7; }
.gm-hlike.pop svg path { fill: var(--coral); }
.gm-header .gm-hmain .gm-logo img, .gm-header .gm-hmain .gm-mlogo img { max-height: 24px !important; }
/* Buttons, chips, cards: pill shapes and softer cards */
.gm-btn { border-radius: 999px; }
.gm-btn.primary { background: var(--brand); border-color: var(--brand); }
.gm-btn.primary:hover { background: var(--brand-dk); }
.gm-btn.sale { background: var(--coral); border-color: var(--coral); }
.gm-chip { border-radius: 999px; background: #fff; }
.gm-chip.on { background: var(--brand); border-color: var(--brand); }
.gm-card { border-radius: var(--r); border: 1px solid #E8EFED; }
.gm-tile { border-radius: 16px; }
.gm-tag { border-radius: 999px; }
.gm-input, .gm-card input[type=text], .gm-card input[type=password], .gm-card input[type=email], .gm-card select, .gm-card textarea { border-radius: 12px; }
.gm-input:focus, .gm-card input:focus, .gm-card select:focus, .gm-card textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 94, 90, .12); }
/* Bottom bar: white glass, teal active pill */
.gm-nav { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-top: 1px solid var(--line); }
.gm-nav a.on { color: var(--brand); }
.gm-nav a.on .gm-nav-ic::before { top: -9px; width: 22px; height: 4px; margin-left: -11px; border-radius: 999px; background: var(--coral); }
.gm-nav a.gm-nav-shop { color: var(--brand); }
.gm-nav a.gm-nav-shop .gm-nav-ic:has(.gm-nav-mark) { background: #fff; box-shadow: 0 8px 20px rgba(14, 94, 90, .28), 0 0 0 2px var(--brand) inset, 0 0 0 4px #fff; }
.gm-nav .gm-badge { background: var(--coral); }

/* Remuza: offer colours */
.gm-dnav a.dn-flash, .gm-dnav a.dn-flash:hover, .gm-dnav a.dn-flash.on, .gm-dnav .gm-wrap > a.dn-flash { background: linear-gradient(135deg, #F25C54, #FF8A5B); color: #fff; }
.gm-slide.bt-red { --bt: #0E5E5A; } .bt-red em { color: #0E5E5A; }
.gm-slide.bt-dark { --bt: #102A28; }
.ct-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); }
.fs-timer b { background: var(--brand); }

/* Remuza: teal prices and buy buttons, coral discount badges */
:root { --sale: #0E5E5A; }
#pd .pd-top-p, .rx-price { color: var(--sale); }
.pd-off { background: #FFE9E6; color: #C4382F; border-radius: 999px; }
.pc-off { background: var(--coral); }
.gt-off { color: #C4382F; }
.ct-bar i { background: var(--coral); }
.ad-navy { background: linear-gradient(100deg, #0B4F4C, #13807A); } .ad-navy small { background: #F25C54; color: #fff; } .ad-navy .ad-go { color: #0B4F4C; }

/* ---- Remuza categories: picture cards + pills (replaces the tab + circle grid) ---- */
.rz-cats { padding: 14px 12px 12px; scroll-margin-top: calc(var(--hdr-h, 64px) + var(--hl-h, 0px) + var(--dn-h, 0px) + 8px); }
.rz-cats-h { display: flex; align-items: baseline; justify-content: space-between; padding: 0 2px 10px; }
.rz-cats-h h2 { margin: 0; font-size: 16px; font-weight: 700; }
.rz-cats-h a { font-size: 13px; font-weight: 600; color: var(--brand); }
.rz-mains { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.rz-main { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 0; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; text-align: center; }
.rz-main-img { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--brand-lt); color: var(--brand);
  box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s, transform .15s; }
.rz-main-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rz-main b { font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.rz-main[aria-selected="true"] .rz-main-img { box-shadow: inset 0 0 0 3px var(--brand), 0 6px 16px rgba(14, 94, 90, .18); }
.rz-main[aria-selected="true"] b { color: var(--brand); }
.rz-main[aria-selected="true"] b::after { content: ''; display: block; width: 18px; height: 3px; margin: 4px auto 0; border-radius: 999px; background: var(--coral); }
.rz-main:active .rz-main-img { transform: scale(.97); }
.rz-subs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px -12px 0; padding: 2px 12px 4px; scroll-snap-type: x proximity; }
.rz-subs::-webkit-scrollbar { display: none; }
.rz-subs.rz-in .rz-pill { animation: rzPill .35s ease both; }
@keyframes rzPill { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rz-subs.rz-in .rz-pill { animation: none; } }
.rz-pill { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 4px 14px 4px 5px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.rz-pill img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--brand-lt); }
.rz-pill-all { padding-left: 14px; background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.rz-pill:hover { border-color: var(--brand); color: var(--brand); }
.rz-pill-all:hover { color: #fff; background: var(--brand-dk); }
.rz-pill.on:not(.rz-pill-all) { border-color: var(--brand); background: var(--brand-lt); color: var(--brand-dk); font-weight: 600; }
.rz-subs-empty { color: var(--muted); font-size: 13px; padding: 8px 2px; }
@media (min-width: 760px) { .rz-cats { padding: 18px 20px 16px; } .rz-mains { grid-auto-columns: 150px; } .rz-subs { margin: 14px -20px 0; padding: 2px 20px 4px; flex-wrap: wrap; } }

/* ---- Remuza footer: light, card columns ---- */
.gm-foot { color: var(--muted); }
.gm-foot-main { background: linear-gradient(180deg, #E8F3F1, #F4F8F7); border-top: 4px solid var(--brand); border-radius: 28px 28px 0 0; }
.gm-foot-grid { gap: 12px; }
.gm-foot-brandcol { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--sh); }
.gm-foot-logo img { max-height: 26px !important; }
.gm-foot-brandcol p { color: var(--muted); }
.gm-foot-social a { background: var(--brand-lt); color: var(--brand); }
.gm-foot-social a:hover { background: var(--brand); color: #fff; }
.gm-foot-col { background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: var(--sh); }
.gm-foot-col b { color: var(--brand); text-transform: none; letter-spacing: 0; font-size: 14.5px; }
.gm-foot-col li a, .gm-foot-col li.gfa { color: var(--ink); }
.gm-foot-col li a:hover { color: var(--brand); }
.gm-foot-col li svg { color: var(--coral); }
.gm-foot-pay { border-top: 0; }
.gm-foot-pay > b { color: var(--muted); text-transform: none; letter-spacing: 0; font-size: 13px; }
.gm-foot-copy { color: var(--muted); border-top: 1px solid var(--line); }
.gm-foot-top { background: var(--brand) !important; color: #fff !important; }
.gm-foot-top:hover { background: var(--brand-dk) !important; }
.rz-main-img { aspect-ratio: 4 / 3; }

/* ---- Remuza section bar: one swipe row of chips + a teal coupon ticket (replaces the 4-tile grid + pink strip) ---- */
.gm-dnav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: none; }
.gm-dnav a.dn-flash, .gm-dnav a.dn-flash:hover, .gm-dnav a.dn-flash.on, .gm-dnav .gm-wrap > a.dn-flash {
  background: #102A28; background-image: none; color: #fff; animation: none; box-shadow: none; }
.gm-dnav a.dn-flash .dn-bolt { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); animation: none; }
.gm-dnav a.dn-flash svg { color: #fff; }
.gm-dnav a.dn-flash .dn-fl-t { background: rgba(255,255,255,.12); color: #FFB4AE; border-radius: 999px; animation: none; }
.gm-dnav a em { background: var(--coral); }
.gm-dnav a.dn-promo, .gm-dnav a.dn-promo:hover { background: var(--brand); color: #fff; border: 0; border-radius: 12px; overflow: hidden; }
.gm-dnav a.dn-promo::before, .gm-dnav a.dn-promo::after { content: ''; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; }
.gm-dnav a.dn-promo::before { left: -7px; } .gm-dnav a.dn-promo::after { right: -7px; }
.gm-dnav a.dn-promo .dn-pi-t { font-weight: 600; }
.gm-dnav a.dn-promo .dn-pi-code { background: #fff; color: var(--brand-dk); border: 1.5px dashed var(--brand); border-radius: 6px; }
.gm-dnav a.dn-promo .dn-pi-cd, .gm-dnav a.dn-promo .dn-pi-cd > span { color: #CDEBE6; }
.gm-dnav a.dn-promo .dn-pi-cd b { background: var(--coral); color: #fff; border-radius: 999px; }
@media (max-width: 1023px) {
  .gm-dnav { position: sticky; }
  .gm-dnav .gm-wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; height: auto; padding: 10px 12px; position: static; }
  .gm-dnav:has(.dn-promo) .gm-wrap { padding-bottom: 58px; }
  .gm-dnav .gm-wrap > a:not(.dn-promo), .gm-dnav.stuck .gm-wrap > a:not(.dn-promo) {
    flex: none; flex-direction: row; align-items: center; gap: 8px; min-height: 0; height: 42px; padding: 0 14px 0 8px;
    border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; text-align: left; }
  .gm-dnav .gm-wrap > a:not(.dn-promo):not(.dn-flash) svg, .gm-dnav.stuck .gm-wrap > a:not(.dn-promo):not(.dn-flash) svg {
    box-sizing: content-box; width: 16px; height: 16px; padding: 5px; border-radius: 50%; background: var(--brand-lt); color: var(--brand); }
  .gm-dnav .gm-wrap > a.on { border-color: var(--brand); background: var(--brand-lt); }
  .gm-dnav .gm-wrap > a.dn-flash, .gm-dnav.stuck .gm-wrap > a.dn-flash { flex: none; border: 0; padding-left: 8px; }
  .gm-dnav .gm-wrap > a.dn-flash > span:not(.dn-bolt):not(.dn-fl-t) { display: inline; }
  .gm-dnav a.dn-flash .dn-fl-t { font-size: 11.5px; line-height: 20px; padding: 0 8px; }
  .gm-dnav a em, .gm-dnav.stuck a em { position: static; margin-left: 2px; font-size: 11px; line-height: 18px; padding: 0 6px; }
  .gm-dnav a.dn-promo { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 38px; order: 0; flex: none; justify-content: flex-start; padding: 0 16px; font-size: 12.5px; }
  .gm-dnav a.dn-promo .dn-pi { width: 100%; gap: 8px; }
  .gm-dnav a.dn-promo .dn-pi-t { flex: 1 1 auto; }
  /* pinned: chips only, the ticket folds away */
  .gm-dnav.stuck .gm-wrap { padding: 6px 12px; }
  .gm-dnav.stuck .gm-wrap > a:not(.dn-promo) { height: 36px; }
  .gm-dnav.stuck a.dn-promo { display: none; }
}
@media (max-width: 1023px) {
  .gm-dnav .gm-wrap > a.dn-flash:not(.dn-promo), .gm-dnav.stuck .gm-wrap > a.dn-flash:not(.dn-promo) { background: #102A28; color: #fff; border: 0; flex: none; }
}

/* ---- Remuza header: round teal icon buttons; phones: menu + language left, logo centred, likes + cart right ---- */
.gm-header .gm-hicon { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-lt); color: var(--brand-dk); }
.gm-header .gm-hicon:hover { background: #D3EBE7; color: var(--brand-dk); }
.gm-header .gm-hicon svg { width: 20px; height: 20px; }
.gm-header .gm-badge { top: -2px; right: -3px; }
.gm-header .gm-lang-h { height: 40px; min-width: 40px; justify-content: center; padding: 0 10px; border: 0; border-radius: 999px; background: var(--brand-lt); color: var(--brand-dk); font-weight: 700; }
.gm-header .gm-lang-h:hover { background: #D3EBE7; color: var(--brand-dk); }
.gm-header .gm-search { background: #fff; border: 1.5px solid var(--brand); border-radius: 14px; }
.gm-header .gm-search-ic { color: var(--brand); }
.gm-header .gm-sbtn { width: 34px; height: 34px; margin-right: 5px; border-radius: 10px; background: var(--brand); color: #fff; }
.gm-header .gm-sbtn + .gm-sbtn { margin-left: -1px; }
@media (max-width: 759px) {
  .gm-header .gm-hmain { gap: 8px; }
  .gm-header .gm-hmain .gmd-open { order: -2; }
  .gm-header .gm-hmain .gm-lang-h { order: -1; }
  .gm-header .gm-hmain .gm-logo, .gm-header .gm-hmain .gm-mlogo { order: 0; flex: 1 1 auto; max-width: none; justify-content: center; margin: 0; }
  .gm-header .gm-hmain .gm-hlike { order: 1; }
  .gm-header .gm-hmain #gmCartLink { order: 2; }
  .gm-header .gm-hmain .gm-hicon { width: 38px; height: 38px; }
  .gm-header .gm-hmain .gm-lang-h { height: 38px; padding: 0 9px; font-size: 12px; }
  .gm-header .gm-hmain .gm-logo img, .gm-header .gm-hmain .gm-mlogo img { max-height: 26px !important; }
  /* the menu now opens from the left, next to its button */
  body .gmd { left: 0; right: auto; transform: translateX(-102%); box-shadow: 6px 0 28px rgba(0,0,0,.22); }
  body.gmd-open-now .gmd { transform: none; }
}

/* ---- Remuza footer brand block: teal card, logo on a white pill, centred, big faint R ---- */
.gm-foot-brandcol { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 22px 18px 20px; border-radius: 22px;
  background: linear-gradient(135deg, #0B4F4C 0%, #0E5E5A 55%, #13807A 100%); color: #fff; box-shadow: 0 10px 24px rgba(14, 94, 90, .22); }
.gm-foot-brandcol::after { content: 'R'; position: absolute; z-index: -1; right: -14px; bottom: -58px; font: 700 190px/1 'Poppins', sans-serif; color: rgba(255,255,255,.07); pointer-events: none; }
.gm-foot-brandcol::before { content: ''; position: absolute; z-index: -1; left: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(242, 92, 84, .22); }
.gm-foot-logo { display: inline-flex; align-items: center; background: #fff; padding: 9px 18px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.gm-foot-brandcol p { margin: 14px auto 0; max-width: 340px; color: rgba(255,255,255,.9); font-size: 14px; line-height: 1.65; }
.gm-foot-brandcol p::after { content: ''; display: block; width: 36px; height: 3px; margin: 14px auto 0; border-radius: 999px; background: var(--coral); }
.gm-foot-social { justify-content: center; margin-top: 14px; }
.gm-foot-social a { background: rgba(255,255,255,.14); color: #fff; }
.gm-foot-social a:hover { background: #fff; color: var(--brand); }
@media (min-width: 900px) { .gm-foot-brandcol { text-align: left; } .gm-foot-brandcol p { margin-left: 0; } .gm-foot-brandcol p::after { margin-left: 0; } .gm-foot-social { justify-content: flex-start; } }

/* ---- Remuza bottom bar: floating dark dock; the open section is a light pill with its name (replaces the full bar + raised Shop circle) ---- */
body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
.gm-nav { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 62px; padding: 0 8px; display: flex; align-items: center; justify-content: space-between;
  border: 0; border-radius: 24px; background: #102A28; box-shadow: 0 12px 30px rgba(16, 42, 40, .35); backdrop-filter: none; -webkit-backdrop-filter: none; }
.gm-nav a, .gm-nav a.gm-nav-shop { flex: none; flex-direction: row; gap: 7px; height: 44px; min-height: 0; padding: 0 12px; border-radius: 16px;
  color: rgba(255,255,255,.62); font-size: 12.5px; font-weight: 600; transition: background .2s, color .2s; }
.gm-nav a > span:last-child { display: none; }
.gm-nav a.on, .gm-nav a.gm-nav-shop.on { background: var(--brand-lt); color: var(--brand-dk); padding: 0 14px 0 12px; }
.gm-nav a.on > span:last-child { display: inline; }
.gm-nav a.on .gm-nav-ic::before { display: none; }
.gm-nav a:hover { color: #fff; } .gm-nav a.on:hover { color: var(--brand-dk); }
.gm-nav a.gm-nav-shop .gm-nav-ic, .gm-nav a.gm-nav-shop .gm-nav-ic:has(.gm-nav-mark) { width: auto; height: auto; margin: 0; border-radius: 0; background: none; box-shadow: none; }
.gm-nav-mark { width: 26px; height: 26px; border-radius: 8px; }
.gm-nav .gm-badge, .gm-nav a.gm-nav-shop .gm-badge { top: -7px; right: -9px; background: var(--coral); box-shadow: 0 0 0 2px #102A28; }
.gm-nav a.on .gm-badge { box-shadow: 0 0 0 2px var(--brand-lt); }
@media (max-width: 359px) { .gm-nav a, .gm-nav a.gm-nav-shop { padding: 0 9px; } .gm-nav { padding: 0 5px; } }
@media (min-width: 900px) { .gm-nav { left: 50%; right: auto; width: 520px; margin-left: -260px; border: 0; border-radius: 24px; } }
.gm-foot-main { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .gm-nav { display: none; } body { padding-bottom: 0; } .gm-foot-main { padding-bottom: 0; } }
.gm-nav-mark { box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.gm-nav a.on .gm-nav-ic:has(.gm-badge) { margin-right: 8px; }