/* Yabisela Stores. Navy holds the header and the footer, yellow marks every action, the middle stays white: one thing per row, with room around it. */
@property --x { syntax: "<percentage>"; inherits: true; initial-value: -6%; }

:root {
  --navy: #00206f;
  --navy-2: #002a7e;
  --navy-deep: #001a57;
  --blue: #0b49d1;
  --blue-2: #1668ef;
  --yellow: #fed308;
  --yellow-2: #ffc400;
  --ink: #0a1b4d;
  --ink-2: #44517a;
  --ink-3: #7a86a8;
  --line: #e1e8f6;
  --tint: #f2f6fd;
  --tint-2: #e4edfb;
  --red: #e5202c;
  --white: #fff;
  --gut: clamp(16px, 15.4vw - 170px, 88px);
  --r: 16px;
  --font: "Lexend", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: #fefefe; color: var(--ink); font: 400 14px/1.35 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }
main :focus-visible { outline-color: var(--blue); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1500px, 100% - 2 * var(--gut)); margin-inline: auto; }
.ic { width: 1.3em; height: 1.3em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic-s { width: .95em; height: .95em; stroke-width: 2.6; }
.ic-l { width: 30px; height: 30px; stroke-width: 1.7; }
.ic-y { color: var(--yellow); }
.ic-b { color: var(--blue); }

/* == header == */
.hd { position: relative; z-index: 40; background: radial-gradient(120% 160% at 30% 0%, #0a3596 0%, var(--navy) 46%, #001a5e 100%); color: #fff; padding: 0 0 12px; }
/* one line, one centre line, like the big stores: logo, deliver to, search, account, cart; both ends sit on the page edges */
.hd-grid { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "logo loc search tools"; column-gap: clamp(14px, 1.7vw, 28px); align-items: center; padding-top: 12px; }

.logo { grid-area: logo; display: flex; align-items: center; margin-left: -2px; }
/* his logo file, never redrawn: white wordmark for the navy bars, Market pill in the page yellow (he allowed it) */
.logo-img { display: block; height: clamp(42px, 3vw, 48px); width: auto; }

/* the delivery message is a slim strip of its own above the header, not a loose line inside it */
.hd-top { background: linear-gradient(90deg, rgba(0, 8, 48, 0) 6%, rgba(0, 8, 48, .42) 30%); }   /* clears on the left so the flag in the corner shows through */
.promo { display: flex; justify-content: center; align-items: center; min-height: 32px; padding: 5px 0; font-weight: 500; font-size: 13px; line-height: 1.25; text-align: center; }
.promo > span { display: inline-flex; align-items: center; gap: 9px; }
.promo i { font-style: normal; }
.promo .ic { width: 1.6em; height: 1.6em; fill: var(--yellow); stroke: var(--navy); stroke-width: 1.3; }

.loc { grid-area: loc; position: relative; }
.loc-btn { --hole: var(--navy); display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); text-align: left; transition: background .2s; }
.loc-btn:hover { background: rgba(255, 255, 255, .18); }
.loc-btn .ic:first-child { width: 22px; height: 22px; fill: #fff; stroke: #fff; }
.loc-txt { display: grid; line-height: 1.2; }
.loc-txt small { font-size: 12px; opacity: .85; }
.loc-txt b { font-weight: 600; font-size: 14.5px; white-space: nowrap; }

.menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; color: var(--ink); border-radius: 14px; padding: 8px; box-shadow: 0 18px 44px rgba(0, 20, 80, .28), 0 0 0 1px rgba(0, 32, 111, .06); transform-origin: 20% 0; animation: pop .16s ease-out; }
.menu-r { left: auto; right: 0; transform-origin: 80% 0; }
.menu li, .menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-weight: 500; cursor: pointer; }
.menu li:hover, .menu a:hover, .menu li[aria-selected="true"] { background: var(--tint); color: var(--blue); }
.menu .ic { color: var(--blue); }
.menu img { width: 30px; height: 30px; padding: 4px; border-radius: 50%; background: var(--tint); object-fit: contain; }
.menu li:has(> a) { padding: 0; }
.menu li > a { flex: 1; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } }

.search { grid-area: search; display: flex; align-items: center; gap: 12px; height: 48px; background: #fff; border-radius: 999px; padding: 0 5px 0 20px; color: var(--ink); box-shadow: 0 0 0 2px rgba(120, 160, 255, .35); transition: box-shadow .2s; }
.search:focus-within { box-shadow: 0 0 0 3px var(--yellow); }
.search .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; height: 100%; }
.search input::placeholder { color: #36406a; opacity: 1; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search button { height: 38px; padding: 0 26px; border-radius: 999px; background: linear-gradient(#ffdd2e, var(--yellow-2)); color: var(--navy); font-weight: 700; font-size: 16px; transition: transform .15s, filter .15s; }
.search button:hover { filter: brightness(1.06); }
.search button:active { transform: scale(.96); }

.tools { grid-area: tools; display: flex; align-items: center; }
.tool { display: flex; align-items: center; gap: 10px; padding: 4px 6px; border-radius: 12px; position: relative; }
.tool span { display: grid; line-height: 1.2; }
.tool b { font-weight: 600; font-size: 15px; }
.tool small { font-size: 12.5px; opacity: .95; }
.tool-cart { margin-left: 12px; padding-left: 20px; padding-right: 0; }
.tool-cart::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: rgba(255, 255, 255, .32); }
.cart-ic { position: relative; display: block; }
.cart-ic .ic { width: 32px; height: 32px; }
.cart-ic em { position: absolute; top: -9px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--yellow); color: var(--navy); font: 700 13px/22px var(--font); text-align: center; transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.cart-ic em.on { transform: scale(1); }
.cart-ic em.bump { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 40% { transform: scale(1.45); } }

.nav { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 24px); margin-top: 12px; }
.cat-menu { position: relative; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .15s, filter .15s; }
.pill-y { background: linear-gradient(#ffdd2e, var(--yellow-2)); color: var(--navy); }
.pill:hover { filter: brightness(1.06); }
.pill:active { transform: scale(.97); }
.cat-menu .pill { min-width: clamp(140px, 12vw, 182px); }
.cat-menu .pill .ic-s { margin-left: auto; }
.nav-links { flex: 1; min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 2px; padding: 0 clamp(0px, .6vw, 10px); }
.nav-links a { padding: 6px 9px; border-radius: 10px; font-weight: 500; font-size: clamp(12.5px, .9vw, 14.5px); white-space: nowrap; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(255, 255, 255, .12); }
.nav-links a.on { color: var(--yellow); }
.pill-deals { flex: none; }

/* == hero: the light banner leads, the navy one is a dot away, one diagonal wipe between them == */
main { padding-top: 20px; }
.hero { --x: -6%; position: relative; height: clamp(200px, 14.2vw, 236px); border-radius: var(--r); overflow: hidden; isolation: isolate; background: #eef3ff; transition: --x 1.05s cubic-bezier(.7, 0, .2, 1); }
.hero.is-navy { --x: 112%; }
.slide { position: absolute; inset: 0; overflow: hidden; isolation: isolate; }
.slide-navy { background: linear-gradient(100deg, #001f6b 0%, var(--navy-2) 34%, #0a3fae 100%); color: #fff; }
.slide-light { background: linear-gradient(100deg, #f5f8ff 0%, #eff3ff 55%, #e8efff 100%); color: var(--ink); clip-path: polygon(var(--x) 0, 101% 0, 101% 100%, calc(var(--x) - 5%) 100%); }
.blade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(var(--yellow), var(--yellow-2)); clip-path: polygon(calc(var(--x) - .9%) 0, var(--x) 0, calc(var(--x) - 5%) 100%, calc(var(--x) - 5.9%) 100%); pointer-events: none; }
.swoosh { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide-light .swoosh { z-index: 1; }

.sky { position: absolute; top: 0; bottom: 0; right: 0; width: 28.5%; overflow: hidden; }
.sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: drift 26s ease-in-out infinite alternate; }
.sky-cut { clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%); }
.sky-cut::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 32, 111, .35), transparent 30%); }
.sky-fade { width: 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, 1%); } }

.hero-copy { position: absolute; z-index: 1; left: 3.7%; top: 47%; transform: translateY(-50%); width: min(31%, 440px); }
.hero-copy h1, .hero-copy .h1 { font-weight: 700; font-size: clamp(25px, 2.52vw, 42px); line-height: .98; letter-spacing: -.025em; white-space: nowrap; }
.hero-copy em { font-style: normal; }
.slide-navy em { color: var(--yellow); }
.slide-light em { color: var(--blue); }
.hero-copy p { margin-top: .7em; font-size: clamp(12.5px, 1vw, 16.5px); line-height: 1.22; max-width: 22.5em; }
.slide-light p { color: #1a2a5c; }
.btn { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(8px, .9vw, 15px); height: clamp(32px, 2.3vw, 38px); padding: 0 24px 0 28px; border-radius: 999px; font-weight: 700; font-size: clamp(13.5px, 1vw, 16px); transition: transform .18s, box-shadow .18s; }
.btn-y { background: linear-gradient(#ffdd2e, var(--yellow-2)); color: var(--navy); box-shadow: 0 6px 16px rgba(0, 10, 60, .35); }
.btn-b { background: linear-gradient(#1b6df5, #0b46d6); color: #fff; box-shadow: 0 6px 16px rgba(11, 70, 214, .3); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic { transform: translateX(3px); }
.btn .ic { transition: transform .18s; }
.btn:active { transform: scale(.97); }

.chip { position: absolute; z-index: 1; right: .7%; bottom: 11.5%; display: flex; align-items: center; gap: 12px; padding: 7px 16px 8px 18px; border-radius: 18px; }
.chip span { display: grid; line-height: 1.12; }
.chip b { font-weight: 700; font-size: clamp(14px, 1.08vw, 18px); }
.chip small { font-size: clamp(11.5px, .84vw, 14px); }
.chip .ic-pin { width: 38px; height: 38px; stroke: none; }
.chip .flag { width: 46px; height: 34px; border-radius: 7px; margin-left: 10px; }
.chip-navy { background: rgba(0, 32, 111, .92); color: #fff; box-shadow: inset 0 0 0 2px rgba(110, 160, 255, .75), 0 8px 22px rgba(0, 10, 50, .4); }
.chip-navy .ic-pin { fill: var(--yellow); }
.chip-navy { --hole: var(--navy); }
.chip-white { background: #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(0, 30, 100, .22); }
.chip-white .ic-pin { fill: var(--blue); }
.chip-white { --hole: #fff; }
.chip-white span { padding-right: 20px; border-right: 1.5px solid #d5def0; }
.chip-white .flag { margin-left: 8px; }

.group { position: absolute; z-index: 3; left: 34%; width: 41.5%; bottom: 4%; pointer-events: none; }
.group::before, .group::after { content: ""; position: absolute; left: -3%; right: -3%; border-radius: 50%; }
.group::after { top: 66%; height: 78%; background: linear-gradient(#cdd9f1, #aebfe2); box-shadow: 0 14px 30px rgba(0, 16, 70, .35); }
.group::before { z-index: 1; top: 60%; height: 66%; background: radial-gradient(60% 70% at 50% 20%, #fff 0, #f4f7fd 60%, #dfe7f6 100%); }
.group img { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 7px 7px rgba(0, 16, 60, .3)); }

.hero-nav { position: absolute; z-index: 4; left: 3.7%; bottom: 8px; display: flex; gap: 5px; }
.hero-nav button { width: 7px; height: 7px; border-radius: 99px; background: rgba(11, 73, 209, .28); transition: width .3s, background .3s; }
.hero-nav button.on { width: 22px; background: var(--blue); }
.hero.is-navy .hero-nav button { background: rgba(255, 255, 255, .5); }
.hero.is-navy .hero-nav button.on { background: var(--yellow); }

/* == categories == */
.cats { --c: clamp(60px, 4.7vw, 78px); display: grid; grid-template-columns: repeat(var(--n, 13), minmax(0, 1fr)); gap: clamp(6px, .8vw, 14px); margin-top: 32px; }
.cat { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 0 2px; text-align: center; font-weight: 500; font-size: clamp(12.5px, .86vw, 14px); line-height: 1.2; color: var(--ink); }
.cat img, .cat .ic { width: var(--c); height: var(--c); border-radius: 50%; background: var(--tint); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background .2s, box-shadow .2s; }
.cat img { padding: calc(var(--c) * .16); object-fit: contain; }
.cat .ic { padding: calc(var(--c) * .29); color: var(--navy); stroke-width: 1.5; }
.cat:hover img, .cat:hover .ic { transform: translateY(-3px); background: var(--tint-2); box-shadow: 0 8px 16px rgba(0, 32, 111, .12); }
.cat[aria-pressed="true"], .cat[aria-current="page"] { font-weight: 600; }
.cat[aria-pressed="true"] img, .cat[aria-pressed="true"] .ic, .cat[aria-current="page"] img, .cat[aria-current="page"] .ic { background: var(--yellow); box-shadow: 0 8px 18px rgba(254, 196, 0, .32); }

.results { margin-top: 24px; padding: 10px 16px; border-radius: 12px; background: var(--tint); font-weight: 500; display: flex; align-items: center; gap: 12px; }
.results button { margin-left: auto; color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* == deals + sellers == */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 40px; }
.panel { background: var(--tint); border-radius: var(--r); box-shadow: inset 0 0 0 1px #e6edfa; padding: 0 18px 18px; }
.panel-hd { display: flex; align-items: center; gap: 16px; min-height: 46px; }
.tab { display: inline-flex; align-items: center; gap: 12px; height: 46px; font-weight: 700; font-size: clamp(20px, 1.5vw, 25px); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.tab .ic { width: 1.15em; height: 1.15em; }
.tab-y { margin-left: -18px; padding: 0 38px 0 24px; background: linear-gradient(#ffdd2e, var(--yellow)); border-radius: var(--r) 0 34px 0 / var(--r) 0 42px 0; }
.tab-soft { padding-left: 2px; }
.tab-soft .ic { color: var(--navy); fill: var(--yellow); stroke-width: 1.7; }
.tab-plain { padding-left: 2px; }
.tab-plain .ic { fill: var(--blue); stroke: #fff; stroke-width: .6; width: 1.3em; height: 1.3em; }   /* Nov 15: the shirt read too small next to the other headings' icons */
.tag { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font-weight: 500; font-size: 13px; white-space: nowrap; }
.tag-timer { background: #fff; box-shadow: inset 0 0 0 1px var(--line); gap: 4px; font-weight: 600; }
.tag-timer b { display: inline-block; min-width: 22px; padding: 1px 3px; border-radius: 5px; background: var(--red); color: #fff; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; margin: 0 1px; }
.tag-timer i { font-style: normal; }
.tag-timer b:first-of-type { margin-left: 5px; }
.more { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; font-size: 14px; white-space: nowrap; }
.more:hover .ic { transform: translateX(3px); }
.more .ic { transition: transform .18s; }

.deal-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1vw, 16px); margin-top: 8px; }
/* product cards: no box. Each product stands on the logo's own shape, three layers of blue, or of yellow with .sun */
.card { --l1: #eef5ff; --l2: #e1edff; --l3: #d2e4ff; --ring: #fff; position: relative; min-width: 0; transition: opacity .3s, filter .3s; }
.card.sun { --l1: #fffaea; --l2: #fff3c7; --l3: #ffeaa0; }
.card.dim { opacity: .22; filter: grayscale(.6); pointer-events: none; }
.card .pic { position: relative; display: grid; grid-template: 100% / 100%; place-items: center; height: var(--h); width: min(100%, calc(var(--h) * 1.3)); }
.peb { position: absolute; left: 50%; top: 50%; height: 100%; width: auto; aspect-ratio: 1; transform: translate(-46%, -50%) rotate(var(--rot, 0deg)); overflow: visible; pointer-events: none; }
.peb path { transform-box: fill-box; transform-origin: 40% 50%; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.peb .p1 { --d: 140ms; fill: var(--l1); }
.peb .p2 { --d: 70ms; fill: var(--l2); transform: scale(.86); }
.peb .p3 { fill: var(--l3); transform: scale(.72); }
.card:hover .peb .p1 { transform: scale(1.05) rotate(7deg); }
.card:hover .peb .p2 { transform: scale(.9) rotate(-5deg); }
.card:hover .peb .p3 { transform: scale(.75); }
.js [data-rise].in .peb path { animation: bloom .75s cubic-bezier(.25, 1.35, .45, 1) backwards; animation-delay: calc(var(--i, 0) * 45ms + var(--d, 0ms)); }
@keyframes bloom { from { transform: scale(.3); opacity: 0; } }
.card .pic img { position: relative; height: 66%; width: auto; max-width: 66%; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(0, 20, 70, .28)); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.card:hover .pic img { transform: translateY(-5px) scale(1.06); }
.card h3 { margin-top: 12px; font-weight: 600; font-size: clamp(13.5px, .92vw, 15px); line-height: 1.28; color: var(--ink); }
/* the name is the link, and it covers the whole card; the cart and save buttons stay on top of it */
.card h3 a::after { content: ''; position: absolute; inset: 0; }
.card h3 a:hover { color: var(--blue); }
.card .add, .card .heart { z-index: 2; }
/* a quiet word on the rows that sellers pay to be in */
.spons { align-self: center; margin-left: 12px; padding: 3px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; font-weight: 500; letter-spacing: .02em; color: var(--ink-3); white-space: nowrap; }
.card h3 span { display: block; font-weight: 400; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin-top: 8px; }
.price { font-weight: 700; font-size: clamp(17px, 1.3vw, 21px); letter-spacing: -.01em; color: var(--navy); white-space: nowrap; }
.price small { font-size: .6em; font-weight: 600; letter-spacing: .02em; }
.usd { font-size: clamp(12.5px, .86vw, 14px); font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.was { display: block; margin-top: 2px; font-size: clamp(12px, .8vw, 13px); color: var(--ink-3); text-decoration: line-through; white-space: nowrap; }

.deal, .arr { padding: 0 2px; }
.panel .card { --ring: var(--tint); }
.deal-row { --h: clamp(150px, 13vw, 210px); }
.deal-all { display: none; }
.deal-all .go { position: relative; display: grid; place-items: center; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); color: var(--yellow); box-shadow: 0 8px 16px rgba(0, 20, 70, .22); }
.deal-all .go .ic { width: 46%; height: 46%; stroke-width: 2.2; }
.off { position: absolute; z-index: 1; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 58% 42% 46% 54% / 52% 48% 52% 48%; background: var(--navy); color: var(--yellow); font-weight: 700; font-size: 13.5px; letter-spacing: -.01em; transform: rotate(-8deg); box-shadow: 0 0 0 3px var(--ring); }
.add { position: absolute; z-index: 1; right: 3%; bottom: 2%; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--yellow); box-shadow: 0 0 0 3px var(--ring), 0 6px 12px rgba(0, 20, 70, .22); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), opacity .18s, background .18s; }
.add .ic { width: 20px; height: 20px; stroke-width: 2.1; }
.add:hover { transform: scale(1.1); background: var(--blue); }
.add:active { transform: scale(.92); }
.deal .add { opacity: 0; transform: translateY(4px); }
.deal:hover .add, .deal .add:focus-visible { opacity: 1; transform: none; }
.deal:hover .add:hover { transform: scale(1.1); }
@media (hover: none) { .deal .add { opacity: 1; transform: none; } }

.seller-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1vw, 16px); margin-top: 8px; }
.seller-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 16px; padding: 18px 20px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #e8eefa, 0 3px 10px rgba(0, 32, 111, .06); }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: -.02em; box-shadow: 0 3px 8px rgba(0, 20, 70, .18); }
.av-purple { background: linear-gradient(135deg, #a53bd0, #6a1b9a); }
.av-blue { background: linear-gradient(135deg, #2f86ff, #0b46d6); }
.av-orange { background: linear-gradient(135deg, #ffb52e, #f08a00); }
.av-orange .ic { width: 24px; height: 24px; stroke: var(--navy); }
.seller-id { grid-column: 2 / 4; display: grid; gap: 2px; min-width: 0; }
.seller-list .rating { grid-column: 1 / 3; }
.seller-list .btn-line { grid-column: 3; }
.seller-id b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: clamp(14px, 1.02vw, 16.5px); white-space: nowrap; }
.seller-id small { font-size: 13px; color: var(--ink-2); }
.ic-v { width: 17px; height: 17px; color: var(--blue-2); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; white-space: nowrap; }
.rating b { font-weight: 700; }
.ic-star { color: #f5a400; width: 17px; height: 17px; }
.btn-line { display: inline-grid; place-items: center; height: 34px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #b9cdf5; color: var(--blue); font-weight: 600; font-size: 13px; white-space: nowrap; transition: background .18s, color .18s, box-shadow .18s; }
.btn-line:hover { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1.5px var(--blue); }

/* == new arrivals == */
.arrivals { margin-top: 48px; }
.arr-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1vw, 16px); margin-top: 8px; }
.arr-row { --h: clamp(130px, 11vw, 180px); }
.arr h3 { font-weight: 500; }
.heart { position: absolute; z-index: 1; right: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 20, 70, .16); color: #5b6890; transition: transform .2s cubic-bezier(.3, 1.8, .5, 1), color .2s; }
.heart .ic { width: 21px; height: 21px; stroke-width: 1.7; transition: fill .2s; }
.heart:hover { color: var(--red); transform: scale(1.12); }
.heart[aria-pressed="true"] { color: var(--red); }
.heart[aria-pressed="true"] .ic { fill: var(--red); animation: bump .4s cubic-bezier(.3, 1.6, .5, 1); }

/* == trust + footer == */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; margin: 52px 0 48px; padding: 20px 6px; border-radius: 16px; background: var(--tint); }
.trust div { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.4vw, 24px); padding: 0 10px; }
.trust div + div { border-left: 1.5px solid #d3ddf0; }
.trust .ic { width: 38px; height: 38px; color: var(--navy); fill: var(--yellow); stroke-width: 1.5; }
.trust div:last-child .ic { fill: none; color: var(--blue); stroke-width: 1.9; }
.trust span { display: grid; line-height: 1.22; }
.trust b { font-weight: 600; font-size: clamp(13px, .92vw, 15px); }
.trust small { font-size: clamp(11.5px, .8vw, 13px); color: #1f2c5c; }

.ft { background: radial-gradient(100% 200% at 20% 0%, #012577 0%, var(--navy-deep) 60%); color: #fff; padding: 36px 0 16px; }
.ft-grid { display: grid; grid-template-columns: repeat(7, auto); justify-content: space-between; gap: clamp(12px, 1.3vw, 24px); align-items: start; }
.ft-brand { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(12px, 1.4vw, 26px); }
.ft-brand p { font-size: 13px; line-height: 1.5; max-width: 19em; min-width: 11em; box-sizing: content-box; padding-left: clamp(12px, 1.4vw, 26px); border-left: 1.5px solid rgba(255, 255, 255, .55); }
.logo-ft { grid-area: auto; margin: 0; width: min(180px, 44vw); }   /* a fixed width, or the logo stretched across the footer and pushed its sentence off screen on tablets */
.logo-ft .logo-img { height: auto; width: min(180px, 100%); max-width: none; aspect-ratio: 1000 / 378; object-fit: contain; }
.ft h3 { font-weight: 600; font-size: 14px; margin-bottom: 8px; text-wrap: balance; }
.ft nav a { display: block; width: fit-content; font-size: 13px; line-height: 1.75; opacity: .94; white-space: nowrap; transition: color .15s; }
.ft nav a:hover { color: var(--yellow); }
.ft-social, .ft-app { padding-left: clamp(12px, 1.4vw, 26px); border-left: 1.5px solid rgba(255, 255, 255, .55); align-self: stretch; }
.ft-social h3, .ft-app h3 { margin-bottom: 8px; }
.socials { display: flex; gap: 7px; }
.so { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; color: #fff; transition: transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.so:hover { transform: translateY(-3px) scale(1.06); }
.so .ic { width: 19px; height: 19px; stroke-width: 2; }
.so-fb { background: #1877f2; border-radius: 50%; }
.so-ig { background: linear-gradient(45deg, #fdc12f, #f0503c 40%, #d62f8f 70%, #7a3fd0); }
.so-tt { background: #000; border-radius: 50%; }
.badges { display: flex; gap: 9px; }
.badge { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 10px; border-radius: 7px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); transition: transform .18s; }
.badge:hover { transform: translateY(-2px); }
.badge .bl { flex: none; width: 21px; height: 21px; }   /* the real Google Play and Apple marks (shapes from simple-icons, CC0) */
.badge .bl-apple { width: 20px; height: 22px; margin-top: -2px; }
.badge span { display: grid; line-height: 1.05; }
.badge small { font-size: 7.5px; letter-spacing: .02em; }
.badge b { font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; white-space: nowrap; }
.ft-legal { margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 11.5px; opacity: .75; }

/* == cart panel, toast, fly == */
.cartbox { position: fixed; z-index: 60; width: min(360px, calc(100vw - 24px)); background: #fff; color: var(--ink); border-radius: 18px; padding: 16px; box-shadow: 0 24px 60px rgba(0, 20, 80, .34), 0 0 0 1px rgba(0, 32, 111, .07); animation: pop .18s ease-out; transform-origin: 90% 0; }
.cartbox h2 { font-size: 17px; font-weight: 700; display: flex; align-items: center; }
.cartbox h2 button { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.cartbox h2 button:hover { background: var(--tint); }
.cartbox ul { margin-top: 8px; max-height: min(46vh, 330px); overflow: auto; }
.cartbox li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.cartbox li img { width: 46px; height: 42px; object-fit: contain; }
.cartbox li b { display: block; font-weight: 600; font-size: 13.5px; }
.cartbox li small { color: var(--ink-2); font-size: 12px; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { width: 26px; height: 26px; border-radius: 8px; background: var(--tint); font-weight: 700; color: var(--navy); }
.qty button:hover { background: var(--tint-2); }
.qty span { min-width: 18px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-empty { padding: 22px 0 14px; text-align: center; color: var(--ink-2); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.cart-total b { font-size: 18px; font-weight: 700; color: var(--navy); }
.cart-total small { display: block; text-align: right; font-weight: 500; color: var(--ink-2); }
.cart-free { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.cart-free i { display: block; height: 6px; margin-top: 6px; border-radius: 9px; background: var(--tint-2); overflow: hidden; }
.cart-free i::before { content: ""; display: block; height: 100%; width: var(--p, 0%); border-radius: 9px; background: linear-gradient(90deg, var(--yellow-2), var(--yellow)); transition: width .4s; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 22px; transform: translate(-50%, 30px); padding: 11px 20px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 500; box-shadow: 0 14px 34px rgba(0, 20, 80, .38); opacity: 0; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), opacity .3s; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--yellow); font-weight: 600; }
.fly { position: fixed; z-index: 80; pointer-events: none; object-fit: contain; will-change: transform; }

/* entrance: rows rise once as they come into view */
.js [data-rise] { opacity: 0; transform: translateY(16px); }
.js [data-rise].in { opacity: 1; transform: none; transition: opacity .55s ease-out, transform .65s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 45ms); }

/* == responsive == */
@media (max-width: 1560px) {
  .ft-grid { grid-template-columns: repeat(6, auto); }
  .ft-app { grid-column: 1 / -1; border-left: 0; padding-left: 0; display: flex; align-items: center; gap: 16px; }
  .ft-app h3 { margin: 0; }
}
@media (max-width: 1180px) {
  .nav-links { justify-content: flex-start; gap: 4px; padding: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex: none; }
  .nav-links a:last-child { margin-right: 20px; }
  .cats { grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 22px; }
  .arr-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .arr-row { --h: clamp(176px, 21vw, 240px); gap: 30px clamp(10px, 1vw, 16px); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: 20px 24px; }
  .trust div { justify-content: flex-start; }
  .trust div + div { border-left: 0; }
  .ft-grid { grid-template-columns: repeat(4, auto); row-gap: 22px; }
  .ft-brand { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); }
  .ft-brand p { max-width: 38em; }
  .ft-social { border-left: 0; padding-left: 0; grid-column: span 2; }
  .ft-app { grid-column: span 2; display: block; }
  .ft-app h3 { margin-bottom: 8px; }
}
@media (max-width: 980px) {
  .hd-grid { column-gap: 12px; }
  .loc-btn { height: 44px; gap: 7px; padding: 0 12px; }
  .loc-txt small { display: none; }
  .loc-txt b { font-size: 13.5px; }
  .tool > span:not(.cart-ic), .tool > b { display: none; }
  .tool { padding: 8px; }
  .tool-cart { margin-left: 0; padding: 8px 0 8px 8px; }
  .tool-cart::before { display: none; }
  .nav-links a { font-size: 14px; }
  .cat-menu .pill { min-width: 0; }
  .hero { height: clamp(220px, 27vw, 260px); }
  .hero-copy { width: 44%; }
  .hero-copy h1, .hero-copy .h1 { font-size: clamp(22px, 3.5vw, 32px); }
  .hero-copy p { font-size: 13px; }
  .group { left: 44%; width: 55%; bottom: 3%; }
  .sky { width: 40%; height: 52%; bottom: auto; }
  .sky-cut { clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
  .chip { display: none; }
  .deal-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 12px; padding-top: 12px; }
  .deal-row { --h: clamp(170px, 21vw, 205px); }
  .deal-all { display: block; }
  .slide-light .swoosh { left: 12%; z-index: auto; }
  .seller-list { grid-template-columns: minmax(0, 1fr); }
  .seller-list li { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .seller-id { grid-column: 2; }
  .seller-list .rating { grid-column: 3; }
  .seller-list .btn-line { grid-column: 4; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  .hd { padding: 0 0 10px; }
  .hd-grid { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo tools" "search search"; row-gap: 10px; column-gap: 10px; padding-top: 10px; }
  .promo { font-size: 11.5px; min-height: 28px; }
  .promo i { display: none; }
  .loc { display: none; }
  .logo { margin-left: -3px; justify-self: start; }
  .logo-img { height: 44px; }
  .tools { gap: 2px; }
  .cart-ic .ic { width: 30px; height: 30px; }
  .search { height: 46px; padding-left: 16px; }
  .search button { padding: 0 18px; font-size: 15px; }
  .nav { margin-top: 10px; gap: 8px; }
  .pill-deals { display: none; }
  .deal-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .pill { height: 36px; padding: 0 16px; font-size: 14px; }

  .hero { height: auto; min-height: 0; display: grid; }
  .slide { position: relative; grid-area: 1 / 1; padding: 22px 20px 0; min-height: 392px; }
  .swoosh { display: none; }
  .hero-copy { position: relative; left: auto; top: auto; transform: none; width: auto; }
  .hero-copy h1, .hero-copy .h1 { font-size: clamp(26px, 7.9vw, 36px); }
  .hero-copy p { font-size: 14.5px; line-height: 1.3; max-width: 19.5em; }
  .btn { height: 42px; margin-top: 14px; font-size: 15.5px; }
  .sky { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 172px; }
  .sky-cut { clip-path: polygon(0 26%, 100% 0, 100% 100%, 0 100%); }
  .sky-cut::after { background: linear-gradient(rgba(0, 32, 111, .25), transparent 40%); }
  .sky-cut::before { content: ""; position: absolute; z-index: 1; inset: 0; background: var(--yellow); clip-path: polygon(0 26%, 100% 0, 100% 4.500%, 0 30.500%); }
  .sky-fade { -webkit-mask-image: linear-gradient(transparent 0, #000 46%); mask-image: linear-gradient(transparent 0, #000 46%); }
  .slide-light { clip-path: polygon(var(--x) 0, 101% 0, 101% 100%, calc(var(--x) - 18%) 100%); }
  .blade { clip-path: polygon(calc(var(--x) - 2.200%) 0, var(--x) 0, calc(var(--x) - 18%) 100%, calc(var(--x) - 20.200%) 100%); }
  .hero { --x: -8%; }
  .hero.is-navy { --x: 124%; }
  .group { left: 4%; width: 92%; bottom: 14px; }
  .hero-nav { left: 20px; bottom: auto; top: 9px; }

  .cats { --c: 64px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 6px; margin-top: 26px; }
  .duo { gap: 36px; margin-top: 32px; }
  .arrivals { margin-top: 36px; }
  .trust { margin: 36px 0 32px; }
  .usd, .was { font-size: 12px; }
  .panel-hd { gap: 8px; }
  .tab { font-size: 18.5px; gap: 8px; }
  .tab-y { padding: 0 22px 0 14px; }
  .tag-timer i { display: none; }
  .tag-timer b:first-of-type { margin-left: 0; }
  .more { font-size: 0; gap: 0; width: 34px; height: 34px; justify-content: center; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .more .ic { font-size: 14px; }
  .panel { padding: 0 12px 12px; }
  .tab-y { margin-left: -12px; }
  .seller-list li { grid-template-columns: auto minmax(0, 1fr) auto; }
  .seller-id { grid-column: 2 / 4; }
  .seller-list .rating { grid-column: 1 / 3; }
  .seller-list .btn-line { grid-column: 3; }
  .arr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .arr-row, .deal-row { --h: clamp(132px, 38vw, 190px); }
  .pr, .usd { display: block; }
  .usd { margin-top: 1px; }
  .arr-row { gap: 24px 12px; }
  .price { font-size: 16.5px; } .off { width: 44px; height: 44px; font-size: 12.5px; } .add { width: 38px; height: 38px; }
  .card h3 { font-size: 13.5px; }
  .card h3 span { white-space: normal; }
  .trust { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .ft { padding: 26px 0 18px; }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-brand { grid-template-columns: 1fr; justify-items: center; text-align: center; }   /* logo and sentence centred on the phone (his word, Nov 15) */
  .ft-brand p { border-left: 0; padding-left: 0; font-size: 13.5px; max-width: 30em; min-width: 0; }
  .ft h3 { font-size: 15px; margin-bottom: 6px; }
  .ft nav a { font-size: 14px; line-height: 1.75; }
  .ft-social, .ft-app { grid-column: 1 / -1; }
  .so { width: 38px; height: 38px; border-radius: 10px; }
  .so .ic { width: 24px; height: 24px; }
  .badge { height: 44px; }
}

/* ---------- between pages: the browser's own short cross-fade, the header stays put (no cover on every click, Nov 15) ---------- */
@view-transition { navigation: auto; }
.hd, .sh-strip, .ap-top { view-transition-name: ybs-head; }
::view-transition-old(root) { animation: vt-out .14s ease-in both; }
::view-transition-new(root) { animation: vt-in .2s ease-out both; }
::view-transition-group(ybs-head) { animation-duration: 0s; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .js [data-rise].in .peb path { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- flash deal: the kind is the title; a tap anywhere on the card opens the page of the same products ---------- */
.deal-kind { font-weight: 700; color: var(--ink); }
.deal-kind::after { content: ''; position: absolute; inset: 0; }
.deal-kind:hover { color: var(--blue); }
.deal h3 span { color: var(--ink-2); }

/* ---------- phone, after his mockup: navy top with the logo in the middle, a glass search, one row of round categories, the page as a
   white sheet over the navy, a short banner card, four small cards across, sellers as chips, a bottom bar. Desktop is untouched. ---------- */
.mcats, .mbar, .tool-saved { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .hd-top, .nav, .cats { display: none; }
  .hd { padding-bottom: 34px; }
  .hd-grid { grid-template-columns: 40px minmax(0, 1fr) 40px; grid-template-areas: ". logo tools" "search search search"; row-gap: 12px; padding-top: 12px; }
  .logo { justify-self: center; margin: 0; }
  .logo-img { height: 40px; }
  .tools .tool:not(.tool-saved) { display: none; }
  .tool-saved { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; }
  .tool-saved .ic { width: 26px; height: 26px; }
  .search { height: 46px; padding: 0 16px; background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0, 20, 80, .25); }   /* white on the phone too (his word, Nov 15) */
  .search:focus-within { box-shadow: 0 0 0 3px var(--yellow); }
  .search input { color: var(--ink); font-size: 16px; }
  .search input::placeholder { color: #5a6488; }
  .search button { display: none; }
  .mcats { display: none; }   /* his word, Nov 16: no category icons on the phone */
  .mcats a { display: grid; justify-items: center; align-content: start; gap: 7px; min-width: 0; color: #fff; font-size: 11.5px; font-weight: 500; line-height: 1.15; text-align: center; }
  .mcats .ic { box-sizing: content-box; width: 23px; height: 23px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(140, 175, 255, .38); stroke-width: 1.7; transition: transform .2s; }
  .mcats a:first-child .ic { background: var(--yellow); color: var(--navy); box-shadow: none; }
  .mcats a:active .ic { transform: scale(.92); }
  main.wrap { position: relative; z-index: 1; margin-top: -22px; padding-top: 38px; background: #fefefe; border-radius: 24px 24px 0 0; }   /* the banner stands apart from the navy header (his word, Nov 16) */

  /* the phone banner (his word, Nov 16: "fix the phone banner, it's weird"): the words on top across the card, the products
     big and centred under them, the dots at the foot */
  .hero { height: clamp(168px, 44vw, 190px); }   /* a wide rectangle (his word, Nov 16: "make this more rectangular") */   /* short (his word, Nov 16: "too big for nothing") */
  .slide { min-height: 100%; padding: 22px 18px 30px; }
  .hero-copy { width: 58%; left: 0; padding: 16px 0 0 16px; top: 0; }
  .hero-copy h1, .hero-copy .h1 { white-space: normal; font-size: clamp(18px, 5vw, 21px); line-height: 1.06; }
  .hero-copy p { display: none; }
  .btn { height: 32px; margin-top: 10px; padding: 0 14px; font-size: 12.5px; }
  .sky, .chip { display: none; }
  .group { left: auto; right: 1%; translate: none; width: 54%; bottom: 14px; }
  .hero-nav { top: auto; bottom: 8px; left: 16px; translate: none; }
  .duo { margin-top: 26px; gap: 28px; }

  .deal-row, .arr-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; --h: clamp(62px, 18vw, 96px); }
  .deal-row > :nth-child(n+5), .arr-row > :nth-child(n+5), .deal-all { display: none; }
  .deal-row .card, .arr-row .card { padding: 8px 6px 9px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px rgba(0, 32, 111, .06); }
  .deal-row .card .pic, .arr-row .card .pic { width: 100%; }
  .deal-row .card h3, .arr-row .card h3 { margin-top: 8px; font-size: 11.5px; font-weight: 500; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .deal-row .card h3 span, .arr-row .card h3 span { display: none; }
  .deal-row .deal-kind { font-size: clamp(10px, 2.6vw, 11.5px); letter-spacing: -.01em; }
  .deal-row .card { padding-left: 5px; padding-right: 5px; }
  .deal-row .pr, .arr-row .pr { margin-top: 4px; }
  .deal-row .price, .arr-row .price { font-size: clamp(12px, 3.3vw, 14px); line-height: 1.1; }
  .deal-row .price small, .arr-row .price small { display: block; font-size: 9.5px; line-height: 1.1; }
  .deal-row .usd, .arr-row .usd, .deal-row .was { font-size: 10.5px; }
  .deal-row .off { width: 30px; height: 30px; font-size: 9.5px; }
  .deal-row .add, .arr-row .add { width: 26px; height: 26px; right: 0; bottom: 0; box-shadow: 0 0 0 2px var(--ring); }
  .deal-row .add .ic, .arr-row .add .ic { width: 14px; height: 14px; }
  .arr-row .heart { width: 26px; height: 26px; top: 0; right: 0; }
  .arr-row .heart .ic { width: 14px; height: 14px; }

  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .cartbox.up { transform-origin: 50% 100%; }
  .mbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(0, 32, 111, .08); }
  .mbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 0 5px; border-radius: 14px; color: var(--ink-2); font-size: 11.5px; font-weight: 500; }
  .mbar a[aria-current] { color: var(--blue); background: var(--tint); font-weight: 600; }
  .mbar .ic { width: 24px; height: 24px; stroke-width: 1.8; }
  .mbar .cart-ic { position: relative; display: block; }
  .mbar .cart-ic em { top: -6px; right: -10px; }
}

/* small phones (under 380px): three cards across so every title fits */
@media (max-width: 379px) {
  .deal-row, .arr-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deal-row > :nth-child(n+4), .arr-row > :nth-child(n+4) { display: none; }
}


/* ---------- product cards and category tiles, after his reference (Nov 15): white cards, no coloured shape behind the products ---------- */
.deal-row.pc-row, .arr-row.pc-row { --h: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 14px; padding-top: 0; }
.arr-row.pc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pc { position: relative; display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 14px; align-items: center; min-width: 0; padding: 14px 14px 14px 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #e8ecf4, 0 6px 18px rgba(0, 32, 111, .05); transition: box-shadow .2s, transform .2s; }
.pc:hover { box-shadow: 0 0 0 1px #dbe3f2, 0 12px 26px rgba(0, 32, 111, .1); transform: translateY(-2px); }
.pc-pic { display: grid; place-items: center; height: clamp(120px, 9.4vw, 150px); }
.pc-pic { overflow: hidden; }
.pc-pic img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 20, 70, .14)); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.pc:hover .pc-pic img { transform: scale(1.04); }
.pc-txt { display: grid; align-content: center; min-width: 0; }
.pc-off { justify-self: start; margin-bottom: 8px; padding: 3px 8px; border-radius: 7px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.pc h3 { font-size: clamp(14px, 1vw, 16px); font-weight: 700; line-height: 1.25; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.pc h3 a:hover { color: var(--blue); }
.pc-spec { margin-top: 3px; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-ft { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 14px; }
.pc-price { min-width: 0; line-height: 1.15; }
.pc-price b { display: block; font-size: clamp(17px, 1.3vw, 21px); font-weight: 700; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.pc-price b small { font-size: .58em; font-weight: 600; }
.pc-price s, .pc-price span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.pc-add { position: relative; z-index: 2; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), background .18s; }
.pc-add .ic { width: 19px; height: 19px; stroke-width: 2; }
.pc-add:hover { transform: scale(1.08); background: var(--blue); }
.pc-add:active { transform: scale(.92); }
.pc-heart { top: 10px; right: 10px; left: auto; width: 32px; height: 32px; z-index: 2; box-shadow: 0 0 0 1px #e8ecf4; }
.pc-heart .ic { width: 18px; height: 18px; }
.pc:has(.pc-heart) .pc-txt { padding-right: 18px; }

.cats { --c: clamp(44px, 3.4vw, 56px); gap: clamp(8px, .7vw, 12px); }
.cat { gap: 8px; padding: 14px 4px 12px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #e8ecf4, 0 4px 14px rgba(0, 32, 111, .05); font-size: clamp(12px, .82vw, 13.5px); font-weight: 600; transition: box-shadow .2s, transform .2s; }
.cat img, .cat .ic { border-radius: 0; background: none; }
.cat img { padding: 0; filter: drop-shadow(0 4px 5px rgba(0, 20, 70, .16)); }
.cat .ic { padding: calc(var(--c) * .2); }
.cat:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #dbe3f2, 0 10px 22px rgba(0, 32, 111, .1); }
.cat:hover img, .cat:hover .ic { transform: none; background: none; box-shadow: none; }
.cat[aria-pressed="true"], .cat[aria-current="page"] { box-shadow: 0 0 0 2px var(--yellow), 0 8px 18px rgba(254, 196, 0, .25); }
.cat[aria-pressed="true"] img, .cat[aria-pressed="true"] .ic, .cat[aria-current="page"] img, .cat[aria-current="page"] .ic { background: none; box-shadow: none; }

@media (max-width: 1180px) { .deal-row.pc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .arr-row.pc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .deal-row.pc-row, .arr-row.pc-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 8px; scroll-padding-inline: 16px; }
  .deal-row.pc-row > *, .arr-row.pc-row > * { display: grid; scroll-snap-align: start; }
  .pc { grid-template-columns: 40% minmax(0, 1fr); padding: 12px; }
  .pc-pic { height: 118px; }
  .pc-price b { font-size: 17px; }
}
.sky img { transition: opacity .35s ease; }
.sky img.is-swap { opacity: 0; }
/* category tiles, second pass after "you did not respect the form": wider than tall, soft white-grey, light shadow, no outline */
.cats { --c: clamp(42px, 3.3vw, 54px); gap: clamp(10px, .9vw, 16px); margin-top: 24px; }
.cat { align-content: center; gap: 10px; aspect-ratio: 1.24; padding: 10px 6px; border-radius: 20px; background: linear-gradient(#fdfdfe, #f6f7f9); box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 16px rgba(16, 24, 40, .06); font-size: clamp(12.5px, .9vw, 14px); font-weight: 600; }
.cat:hover { box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 24px rgba(16, 24, 40, .1); }
.cat .ic { padding: calc(var(--c) * .22); color: var(--ink); }
@media (max-width: 1180px) { .cat { aspect-ratio: auto; padding: 14px 6px 12px; } }
.cats { --c: clamp(44px, 3.5vw, 56px); align-items: stretch; }
.cat { aspect-ratio: auto; height: clamp(96px, 7.6vw, 116px); line-height: 1.15; }
.cat .ic { width: var(--c); height: var(--c); padding: calc(var(--c) * .16); }
@media (max-width: 1180px) { .cat { height: auto; } }
.sky img[src*="city-lubumbashi"] { object-position: 50% 40%; }
/* tiles were too faint on the white page ("low visibility"): a light grey fill, a hairline edge and a clearer shadow */
.cat { background: #f3f5f9; box-shadow: 0 0 0 1px #e3e8f0, 0 2px 4px rgba(16, 24, 40, .05), 0 8px 18px rgba(16, 24, 40, .08); }
.cat:hover { background: #fff; box-shadow: 0 0 0 1px #d6dde9, 0 14px 28px rgba(16, 24, 40, .13); }
/* banner 2: from the Congo to the world. The cooler stands in a Yabisela bubble that unfolds layer by layer after the wipe; the banner 1 products step out while it passes */
.group { transition: opacity .4s ease .5s; }
.hero.is-navy .group { opacity: 0; transition-delay: .05s; }
.group-world { position: absolute; z-index: 3; left: 53%; width: 18%; top: 1%; bottom: 1%; display: grid; place-items: center; pointer-events: none; }
.gw-bub { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gw-bub path { transform-box: fill-box; transform-origin: 45% 50%; transform: scale(0); transition: transform .3s ease; }
.gw-bub .b1 { fill: #3d82ff; }
.gw-bub .b2 { fill: #a9d0ff; }
.gw-bub .b3 { fill: #f4f8ff; }
.hero.is-navy .gw-bub path { transition: transform .75s cubic-bezier(.2, .9, .3, 1.25); }
.hero.is-navy .gw-bub .b1 { transform: scale(1); transition-delay: .5s; }
.hero.is-navy .gw-bub .b2 { transform: scale(.84); transition-delay: .58s; }
.hero.is-navy .gw-bub .b3 { transform: scale(.68); transition-delay: .66s; }
.group-world img { position: relative; width: 54%; translate: -4% 2%; opacity: 0; transform: translateY(16px) scale(.88); filter: drop-shadow(0 12px 12px rgba(0, 12, 60, .38)); transition: opacity .2s ease, transform .2s ease; }
.hero.is-navy .group-world img { opacity: 1; transform: none; transition: opacity .4s ease .8s, transform .7s cubic-bezier(.2, .9, .3, 1.2) .8s; }
.chip-world .flag { margin-left: 0; }
.chip-world .ic-globe { width: 34px; height: 34px; stroke: var(--yellow); stroke-width: 1.5; }
.chip-world span { padding-right: 4px; }
@media (max-width: 980px) { .group-world { left: 57%; width: 24%; top: 6%; bottom: 6%; } .slide-navy .h1 { font-size: clamp(20px, 3vw, 30px); } .slide-navy .swoosh { left: 7%; } }
@media (max-width: 720px) { .group-world { left: auto; right: 3%; translate: none; width: 36%; top: auto; bottom: 14px; height: 70%; } .slide-navy .h1 { font-size: clamp(15px, 4.3vw, 18px); line-height: 1.1; } }   /* phone: short banner (Nov 16) */
@media (prefers-reduced-motion: reduce) { .group, .gw-bub path, .group-world img { transition-duration: .01s !important; transition-delay: 0s !important; } }
/* Yabisela Fresh on the market page: one band in the Fresh greens under the categories, the way into fresh.html */
.fresh-band { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); margin-top: 22px; padding: 14px clamp(16px, 2vw, 28px); border-radius: var(--r, 22px);
  background: linear-gradient(100deg, #f1fbea 0%, #e3f6d7 60%, #cfeebf 100%); box-shadow: inset 0 0 0 1px rgba(11, 79, 31, .08); color: #0b4f1f; transition: transform .2s, box-shadow .2s; }
.fresh-band:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(11, 79, 31, .14), 0 12px 24px rgba(11, 79, 31, .1); }
.fb-logo { width: clamp(120px, 10vw, 160px); height: auto; flex: none; }
.fb-txt { display: grid; gap: 3px; min-width: 0; }
.fb-txt b { font-weight: 800; font-size: clamp(17px, 1.45vw, 23px); letter-spacing: -.01em; }
.fb-txt small { font-size: clamp(12.5px, .95vw, 14.5px); color: #2f5a37; }
.fb-pics { display: flex; margin-left: auto; flex: none; }
.fb-pics img { width: clamp(52px, 4.4vw, 70px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(11, 79, 31, .18); }
.fb-pics img + img { margin-left: -14px; }
.fb-go { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 20px 0 22px; border-radius: 99px; font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(#1a7a32, #0b4f1f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 18px rgba(11, 79, 31, .25); }
.fresh-band:hover .fb-go .ic { transform: translateX(3px); }
.fb-go .ic { transition: transform .18s; }
@media (max-width: 980px) { .fb-pics { display: none; } .fb-go { margin-left: auto; } }
@media (max-width: 720px) {
  .fresh-band { flex-wrap: wrap; gap: 10px 14px; margin-top: 18px; padding: 14px 16px; }
  .fb-logo { width: 112px; }
  .fb-txt { flex: 1 1 160px; }
  .fb-go { width: 100%; justify-content: center; margin-left: 0; height: 42px; }
}
/* the DR Congo flag in the header's left corner, quiet, fading into the navy toward the search (his ask, Nov 15: "move the flag to the left and decrease visibility") */
.hd { isolation: isolate; }
.hd > :not(.hd-flag) { position: relative; z-index: 1; }   /* everything in the header stays above the flag */
.hd-flag { position: absolute; z-index: 0; top: 0; left: 0; width: 24%; height: 100%; pointer-events: none;   /* quiet: the field and stripe at ~40%, the star a little stronger so it stays gold */
  -webkit-mask-image: linear-gradient(90deg, #000 0, rgb(0 0 0 / .7) 30%, rgb(0 0 0 / .25) 65%, transparent 92%);
  mask-image: linear-gradient(90deg, #000 0, rgb(0 0 0 / .7) 30%, rgb(0 0 0 / .25) 65%, transparent 92%); }
@media (max-width: 720px) {
  .hd-flag { width: 40%; height: 64px;   /* on phone it also fades out downward, no hard edge above the search */
    -webkit-mask-image: linear-gradient(90deg, #000 0, rgb(0 0 0 / .7) 30%, rgb(0 0 0 / .25) 65%, transparent 92%), linear-gradient(#000 45%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, #000 0, rgb(0 0 0 / .7) 30%, rgb(0 0 0 / .25) 65%, transparent 92%), linear-gradient(#000 45%, transparent);
    mask-composite: intersect; }
}

/* ================= home order after his reference (Nov 15: "too much stuff competing for attention"): our design, its order =================
   top row (categories | banner | welcome + two tiles), popular categories, flash deals, featured products,
   one block per featured shop with the two fashion banners between them, every shop, trust, footer */
.top-row { display: block; }
.side-cats, .hello { display: none; }
.top-aside { display: none; }   /* phone and tablet: under the banner only the Fresh band (his word, Nov 15); Vendez sur Yabisela stays in the menu and footer */
/* (Nov 16, his word: the category list and the right column are gone; the banner is full width again) */
.side-hd { display: flex; align-items: center; gap: 8px; padding: 4px 8px 8px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.side-hd .ic { width: 18px; height: 18px; }
.side-cats a { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 0; padding: 0 8px; border-radius: 10px; font-weight: 500; font-size: 13.5px; color: var(--ink); transition: background .15s, color .15s; }
.side-cats a img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.side-cats a:hover { background: var(--tint); color: var(--blue); }
.side-all { color: var(--blue) !important; font-weight: 600 !important; }
.side-all .ic { width: 20px; height: 20px; margin: 0 1px; }
.hello { grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; align-items: center; padding: 14px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px #e6edfa; }
.hello-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--navy); }
.hello-av .ic { width: 22px; height: 22px; }
.hello p { display: grid; line-height: 1.25; }
.hello p b { font-weight: 700; font-size: 15px; color: var(--ink); }
.hello p small { font-size: 12.5px; color: var(--ink-2); }
.hello-btn { grid-column: 1 / -1; display: grid; place-items: center; height: 36px; border-radius: 99px; font-weight: 700; font-size: 13.5px; color: var(--blue); box-shadow: inset 0 0 0 1.5px #c9d8f5; transition: background .2s; }
.hello-btn:hover { background: var(--tint); }
.hello-btn.is-main { background: var(--blue); color: #fff; box-shadow: none; }
.tile-promo { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; padding: 12px 14px; border-radius: var(--r); font-size: 13px; line-height: 1.3; transition: transform .2s; }
.tile-promo:hover { transform: translateY(-2px); }
.tp-fresh { background: linear-gradient(120deg, #effbe7, #d6f3c4); color: #0b4f1f; font-weight: 600; }
.tp-fresh img { height: 30px; width: auto; align-self: flex-start; }
.tp-sell { padding-right: 40px; background: linear-gradient(120deg, var(--navy), #0a3fae); color: #fff; }
.tp-sell b { font-size: 15px; }
.tp-sell span { opacity: .85; }
.tp-sell .ic { position: absolute; right: 14px; bottom: 14px; color: var(--yellow); }

.popular { margin-top: 36px; }
.popular .cats { margin-top: 8px; }

.sellers { margin-top: 48px; }
.shop-block { display: grid; grid-template-columns: minmax(0, 26fr) minmax(0, 74fr); margin-top: 14px; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px #e6edfa; }
.sb-panel { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: color-mix(in srgb, var(--a) 8%, #fff); }
.sb-logo { display: grid; place-items: center; height: 120px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(0, 20, 70, .06); }
.sb-logo img { max-width: 82%; max-height: 80px; object-fit: contain; }   /* a little smaller so wide logos (HM) sit inside the card with room (his word, Nov 16) */
.sb-name b { display: block; font-weight: 700; font-size: 17px; color: var(--ink); }
.sb-name small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.sb-panel .feat-go { align-self: flex-start; margin-top: auto; }
.sb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sb-item { display: flex; justify-content: space-between; gap: 10px; min-width: 0; min-height: 124px; padding: 14px; box-shadow: inset -1px -1px 0 #edf1f8; transition: background .2s; }
.sb-item:hover { background: var(--tint); }
.sb-more { align-items: center; color: var(--a); } .sb-more b { color: var(--a); } .sb-more .ic { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--a); color: #fff; }
.sb-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sb-txt b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-weight: 600; font-size: 13.5px; line-height: 1.25; color: var(--ink); }
.sb-txt small { font-size: 12.5px; color: var(--ink-2); }
.sb-item img { flex: none; align-self: flex-end; width: 72px; height: 90px; object-fit: cover; border-radius: 10px; background: var(--tint); }

.duo-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.fashion-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 12px; min-height: 230px; padding: 22px 26px; border-radius: var(--r); overflow: hidden;
  background: color-mix(in srgb, var(--a) 6%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 14%, #fff); transition: transform .25s; }
.fashion-banner:hover { transform: translateY(-2px); }
.fbn-txt b { display: block; font-weight: 800; font-size: clamp(24px, 2vw, 32px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.fbn-txt small { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.fbn-shop { display: block; margin-top: 4px; font-weight: 600; font-size: 13px; color: color-mix(in srgb, var(--a) 75%, #000); }
.fbn-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; height: 38px; padding: 0 16px 0 18px; border-radius: 99px; background: var(--a); color: #fff; font-weight: 700; font-size: 13.5px; }
.fbn-pics { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 196px; }
/* the bubble behind the pictures, like the cooler on the home banner: full shop colour outside, two paler layers inside */
.ybub { position: absolute; z-index: 0; left: 50%; top: 50%; width: auto; height: 114%; aspect-ratio: 1; translate: -50% -50%; overflow: visible; pointer-events: none; }
.ybub path { transform-box: fill-box; transform-origin: 45% 50%; }
.ybub .b1 { fill: var(--a); } .ybub .b2 { fill: color-mix(in srgb, var(--a) 38%, #fff); transform: scale(.84); } .ybub .b3 { fill: color-mix(in srgb, var(--a) 7%, #fff); transform: scale(.68); }
.fbn-pics img, .ad-items img { position: relative; z-index: 1; }
.ad-items { position: relative; } .ad-items .ybub { height: 80%; top: 52%; }
.fbn-pics img { height: 100%; width: auto; max-width: 40%; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(40, 20, 30, .18)); }
.fbn-pics img + img { margin-left: -6%; }

.all-shops { margin-top: 48px; }
.shop-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.sl-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #e6edfa; transition: background .2s; }
.sl-item:hover { background: var(--tint); }
.sl-mark { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--a); color: #fff; font-weight: 700; font-size: 12.5px; }
.sl-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sl-txt { min-width: 0; }
.sl-txt b, .sl-txt small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sl-txt b { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.sl-txt small { font-size: 12px; color: var(--ink-2); }

@media (max-width: 1180px) {
  .shop-block { grid-template-columns: minmax(0, 1fr); }
  .sb-panel { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .sb-logo { height: 84px; width: 200px; } .sb-logo img { max-height: 64px; }
  .sb-name { flex: 1; min-width: 180px; }
  .sb-panel .feat-go { margin-top: 0; align-self: center; }
  .shop-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo-banners { grid-template-columns: minmax(0, 1fr); }
  .shop-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .popular { display: none; }
  .sellers, .all-shops { margin-top: 36px; }
  .sb-panel { padding: 14px; gap: 10px; }
  .sb-logo { width: 100%; height: 76px; } .sb-logo img { max-width: 72%; max-height: 52px; }
  .sb-panel .feat-go { width: 100%; justify-content: center; }
  .sb-item:nth-child(n+5) { display: none; }
  .sb-item { min-height: 0; padding: 12px; flex-direction: column-reverse; justify-content: flex-end; }
  .sb-item img { align-self: stretch; width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .fashion-banner { min-height: 180px; padding: 18px; }
  .fbn-pics { height: 150px; }
  .shop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-promo { min-height: 58px; padding: 10px 12px; font-size: 12px; }
  .tp-fresh img { height: 24px; }
  .tp-sell b { font-size: 13.5px; }
}

/* the ad between two shop blocks (Sur Mesure CD): its wordmark and line on the left, three of its real photo cases fanned, its items on the right */
.ad-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, .9fr); align-items: center; gap: 18px; margin-top: 18px; min-height: 250px;
  padding: 24px 32px; border-radius: var(--r); overflow: hidden; background: color-mix(in srgb, var(--a) 6%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 18%, #fff); transition: transform .25s; }
.ad-banner:hover { transform: translateY(-2px); }
.ad-tag { position: absolute; top: 12px; right: 14px; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .85); font-size: 11px; font-weight: 600; color: var(--ink-2); }
.ad-txt { display: grid; justify-items: start; }
.ad-wm { height: 76px; width: auto; max-width: 100%; object-fit: contain; object-position: left; margin: -6px 0 10px -4px; mix-blend-mode: multiply; }   /* the wordmark file sits on white: the white melts into the banner */
.ad-txt b { font-weight: 800; font-size: clamp(24px, 2vw, 32px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.ad-txt small { margin-top: 8px; max-width: 26em; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.ad-cases { position: relative; height: 210px; }
.ad-cases img { position: absolute; top: 50%; left: 50%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; border: 4px solid #fff; box-shadow: 0 12px 26px rgba(60, 25, 10, .22); }
.ad-cases .c0 { transform: translate(-112%, -48%) rotate(-8deg) scale(.88); }
.ad-cases .c2 { transform: translate(12%, -48%) rotate(8deg) scale(.88); }
.ad-cases .c1 { z-index: 1; transform: translate(-50%, -50%); }
.ad-items { display: flex; align-items: flex-end; justify-content: center; height: 250px; margin: -10px -12px -24px 0; }
.ad-items img { height: 100%; width: auto; max-width: 38%; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(60, 25, 10, .16)); }
.ad-items img + img { margin-left: -7%; }
@media (max-width: 980px) { .ad-banner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ad-items { display: none; } }
@media (max-width: 720px) { .ad-banner { grid-template-columns: 1fr; padding: 20px 18px; gap: 14px; } .ad-cases { height: 170px; margin-bottom: 12px; } .ad-wm { height: 60px; } }
/* a small country flag inside a line of text (HM Store: Turquie) */
.mini-flag { display: inline-block; height: .95em; width: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: 0 .2em 0 .35em; border-radius: 2px; vertical-align: -.12em; box-shadow: 0 0 0 1px rgba(16, 24, 40, .1); }

/* Catégories inside the search bar, at its left, like the big stores: a pale pill, the menu drops below in two columns */
.scats { position: relative; display: flex; align-items: center; margin-left: -14px; flex: none; }
.search .scats-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px 0 14px; border-radius: 99px; background: #eceef2; color: #2b3240; font-weight: 700; font-size: 14.5px; transition: background .15s; }   /* gray (his word, Nov 16) */
.search .scats-btn:hover, .search .scats-btn[aria-expanded="true"] { filter: none; background: #e1e4ea; }
.scats-btn .ic { width: 18px; height: 18px; }
.scats-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; width: 460px; top: calc(100% + 14px); left: -6px; }
.scats-menu[hidden] { display: none; }
.scats-menu a { font-size: 14px; }
.scats-menu .side-all { grid-column: 1 / -1; justify-content: center; color: var(--blue); font-weight: 700; border-top: 1px solid #edf1f8; border-radius: 0 0 9px 9px; margin-top: 4px; }
@media (max-width: 1100px) { .scats-btn span { display: none; } }
@media (max-width: 720px) { .scats { display: none; } }   /* the phone has its own row of category icons under the search */
@media (min-width: 1240px) { .popular { display: none; } }   /* computer: Catégories populaires stays out (his word, Nov 15); the categories are in the search bar */
.ad-items.is-one img { max-width: 62%; height: 78%; align-self: center; }   /* a single logo on the bubble (Tap to Buy Chine) */
.ad-txt b .mini-flag { height: .8em; }
/* a shop's service line on its home block (AG: Service de livraison à domicile), in the shop colour */
.sb-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: #fff; color: var(--a); font-weight: 700; font-size: 13px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--a) 35%, #fff); }
.sb-badge .ic { width: 16px; height: 16px; }

/* ---------- the project band (Nov 16): the Yabisela watermark and bubble, one button to projet.html ---------- */
.pj-band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); margin-top: 48px; padding: 22px clamp(20px, 3vw, 40px);
  border-radius: var(--r); background: radial-gradient(120% 160% at 0% 0%, #0a3596 0%, var(--navy) 55%, #001244 100%); color: #fff; transition: transform .25s; }
.pj-band:hover { transform: translateY(-2px); }
.pj-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #fff; opacity: .07; -webkit-mask: url(/assets/pattern-market.svg) 0 0 / 320px 320px repeat; mask: url(/assets/pattern-market.svg) 0 0 / 320px 320px repeat; }
.pjb-bub { position: relative; flex: none; width: 92px; aspect-ratio: 1; }
.pjb-bub svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pjb-bub path { transform-box: fill-box; transform-origin: 45% 50%; }
.pjb-bub .b1 { fill: #1f4fc2; } .pjb-bub .b2 { fill: #2f6ff0; transform: scale(.84); } .pjb-bub .b3 { fill: #7fb6ff; transform: scale(.68); }
.pjb-bub img { position: absolute; left: 42%; top: 50%; width: 46%; translate: -50% -50%; filter: drop-shadow(0 6px 10px rgba(0, 10, 50, .4)); }
.pjb-txt { display: grid; gap: 4px; min-width: 0; }
.pjb-txt small { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--yellow); text-transform: uppercase; }
.pjb-txt b { font-size: clamp(18px, 1.6vw, 24px); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.pjb-txt i { font-style: normal; font-size: 14px; opacity: .78; }
.pjb-go { display: inline-flex; align-items: center; gap: 8px; flex: none; margin-left: auto; height: 50px; padding: 0 24px 0 28px; border-radius: 99px; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 16px; }
@media (max-width: 720px) { .pj-band { flex-wrap: wrap; margin-top: 32px; padding: 20px 18px; } .pjb-bub { width: 70px; } .pjb-txt { flex: 1 1 200px; } .pjb-go { width: 100%; justify-content: center; margin-left: 0; } }
