/* ============================================================
   THV shop archive (card 09): dept pills, product card + grid,
   toolbar, brands rail, seller CTA.
   Ported from design/v2/home.css (7-48) and design/v2/pages.css
   (shop rules + responsive 58-71). .prod__add lives in cart.css;
   .pbanner/.crumbs/.reveal live in base.css.
   ============================================================ */

/* ---------- department pills (home.css) ---------- */
.mkt__depts{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:36px;}
.mkt__dept{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--line);
  font-size:14.5px;font-weight:500;color:var(--muted);background:#fff;transition:border-color .25s,color .25s,background .25s;}
.mkt__dept:hover{border-color:var(--blue);color:var(--blue);}
.mkt__dept.is-active{background:var(--navy);color:#fff;border-color:var(--navy);}

/* ---------- product card (home.css, minus .prod__fav wishlist) ---------- */
.prod{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;
  display:flex;flex-direction:column;transition:border-color .28s var(--ease),box-shadow .28s var(--ease),transform .28s var(--ease);}
.prod__imgs{position:relative;background:var(--pale-2);}
.prod__media{position:relative;aspect-ratio:1/1;overflow:hidden;display:block;}
.prod__media img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease);}
/* hover photos (assets/js/product-card.js builds them on the first hover): stacked over the first, crossfaded */
.prod__media img.prod__layer{position:absolute;inset:0;opacity:0;transition:opacity .45s var(--ease);}
.prod__media img.prod__layer.is-on{opacity:1;}
.prod__ph{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-weight:600;font-size:13px;
  letter-spacing:.16em;text-transform:uppercase;text-align:center;padding:16px;}
.prod__tag{position:absolute;top:12px;left:12px;z-index:2;font-size:12.5px;font-weight:600;
  background:#fff;color:var(--blue);padding:4px 10px;border-radius:999px;border:1px solid var(--line);}
.prod__sale{position:absolute;top:12px;right:12px;z-index:2;font-size:12.5px;font-weight:700;line-height:1;
  background:#1A7A50;color:#fff;padding:6px 10px;border-radius:999px;font-variant-numeric:tabular-nums;}
@media (hover:hover) and (pointer:fine){
  .prod:hover{transform:translateY(-4px);box-shadow:var(--shadow-card);border-color:var(--blue);}
  /* one photo only: the slow zoom stays; with more photos the crossfade replaces it */
  .prod:not(.prod--multi):hover .prod__media img{transform:scale(1.05);}
}
@media (hover:none){
  .prod:hover{border-color:var(--line);}
}
/* photo progress: segmented bars on pointer devices (hover/focus), 6px dots with 44px tap zones on touch */
.prod__dots{position:absolute;left:12px;right:12px;bottom:6px;z-index:3;display:flex;gap:4px;opacity:0;transition:opacity .25s var(--ease);}
.prod__dots button{position:relative;flex:1;height:24px;padding:0;}
.prod__dots button::before,.prod__dots button::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:3px;border-radius:2px;}
.prod__dots button::before{background:linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.4)),rgba(25,30,75,.25);}
.prod__dots button::after{background:rgba(255,255,255,.92);transform:scaleX(0);transform-origin:left;}
.prod__dots button[aria-current="true"]::after,.prod__dots button.is-past::after{transform:scaleX(1);}
.prod.is-cycling .prod__dots button[aria-current="true"]::after{animation:prodFill var(--prod-cycle,2200ms) linear forwards;}
@keyframes prodFill{from{transform:scaleX(0);}to{transform:scaleX(1);}}
.prod:hover .prod__dots,.prod:focus-within .prod__dots{opacity:1;}
@media (hover:none){
  .prod__dots{opacity:1;left:6px;right:auto;bottom:0;gap:0;}
  .prod__dots button{flex:none;width:24px;height:44px;}
  .prod__dots button::before,.prod__dots button::after{left:9px;right:auto;width:6px;height:6px;border-radius:50%;bottom:8px;transform:none;}
  .prod__dots button::before{background:rgba(255,255,255,.6);box-shadow:0 0 0 1px rgba(25,30,75,.3);}
  .prod__dots button::after{background:var(--navy);opacity:0;}
  .prod__dots button[aria-current="true"]::after{opacity:1;}
  .prod__dots button.is-past::after{opacity:0;}
}
.prod__body{padding:14px 15px 16px;display:flex;flex-direction:column;flex:1;}
.prod__name{font-size:15.5px;font-weight:500;line-height:1.25;margin-top:8px;min-height:2.5em;}
.prod__name a:hover{color:var(--blue);}
.prod__rate{display:flex;align-items:center;gap:5px;font-size:12.5px;color:var(--muted);margin-top:7px;}
.prod__rate svg{color:#f0a838;}
.prod__rate a:hover{color:var(--blue);}
.prod__foot{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:12px;min-height:56px;}
.prod__pricebox{flex:1 1 auto;min-width:0;}
.prod__foot > .prod__add,.prod__foot > .prod__step{flex:none;margin-left:auto;}
/* sold out: image badge + dimmed photo, the foot keeps only the price */
.prod__soldout{position:absolute;left:8px;bottom:8px;z-index:2;font-size:13px;font-weight:600;line-height:1;
  padding:6px 10px;border-radius:999px;background:rgba(25,30,75,.88);color:#fff;}
.prod--out .prod__media img{opacity:.55;filter:grayscale(1);}
.prod--out .prod__media img.prod__layer.is-on{opacity:.55;}
.prod--out .prod__price{color:var(--muted);}
/* the price is the loudest text after the photo */
.prod__price{display:block;font-size:28px;font-weight:700;line-height:1.1;letter-spacing:-.01em;color:var(--navy);font-variant-numeric:tabular-nums;}
.prod__price ins,.prod__price .amount{white-space:nowrap;}
/* Woo sale price inside the design's single price span */
.prod__price del{color:var(--muted);font-weight:500;font-size:14px;margin-right:6px;}
.prod__price ins{text-decoration:none;color:var(--navy);}
.prod--out .prod__price ins{color:var(--muted);}
.prod__body > .vprice{margin-top:8px;}

/* member prices: one chip per public tier, Gold in gold; a member's own tier is filled */
.vtiers{display:block;margin-top:12px;padding-top:12px;border-top:1px dashed var(--line);color:inherit;}
.vtiers__list{display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0;list-style:none;}
.vtier{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;padding:5px 6px 6px;border-radius:10px;line-height:1.15;white-space:nowrap;}
.vtier__l{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;}
.vtier__v{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;}
.vtier--free{background:color-mix(in srgb,var(--blue) 8%,#fff);color:var(--blue);}
.vtier--plus{background:color-mix(in srgb,var(--blue) 17%,#fff);color:var(--navy);}
.vtier--gold{background:#f8ecc4;color:#6b4e00;}
.vtier.is-own{background:var(--navy);color:#fff;}
.vtier--gold.is-own{background:#6b4e00;color:#fff6d6;}
/* the whole row is the link to the membership page: chips lift and the labels underline on hover/focus */
.vtier{transition:transform .2s var(--ease),box-shadow .2s var(--ease);}
@media (hover:hover){
  .vtiers:hover .vtier,.vtiers:focus-visible .vtier{transform:translateY(-2px);box-shadow:0 6px 12px -8px rgba(12,40,80,.5);}
  .vtiers:hover .vtier__l,.vtiers:focus-visible .vtier__l{text-decoration:underline;text-underline-offset:2px;}
}
@media (prefers-reduced-motion:reduce){
  .prod,.prod__media img,.prod__media img.prod__layer,.prod__dots,.vtier{transition:none;}
  .vtiers:hover .vtier{transform:none;}
  .prod:hover{transform:none;}
  .prod:not(.prod--multi):hover .prod__media img{transform:none;}
  .prod.is-cycling .prod__dots button[aria-current="true"]::after{animation:none;}
}

/* ---------- shop layout: toolbar, grid, chip (pages.css) ---------- */
.mkt-page{padding:clamp(40px,5vw,60px) 0 100px;}
.mkt-page .mkt__depts{margin-top:6px;}
.shop-layout{display:grid;grid-template-columns:1fr 288px;gap:34px;align-items:start;margin-top:20px;}
.shop-main{min-width:0;}
.shop-layout--full{grid-template-columns:1fr;}
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding:26px 0;margin-bottom:30px;border-bottom:1px solid var(--line);}
.shop-toolbar__count{color:var(--muted);font-size:14.5px;font-weight:500;}
.sort{display:flex;flex-wrap:wrap;align-items:center;gap:8px 13px;font-size:14px;color:var(--muted);}
.sort label,.sort__brand{min-width:0;}
.sort select{font-family:inherit;font-size:14px;font-weight:500;color:var(--ink);border:1px solid var(--line);
  border-radius:var(--r-control);padding:10px 14px;background:#fff;cursor:pointer;}
.sort select:hover{border-color:var(--blue);}
.prod-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.brand-clear{display:inline-flex;align-items:center;gap:8px;margin-bottom:20px;padding:9px 15px;border-radius:20px;
  border:1px solid var(--line);background:var(--pale-2);color:var(--blue);font-size:13.5px;font-weight:600;cursor:pointer;
  transition:border-color .2s,background .2s;}
.brand-clear:hover{border-color:var(--blue);background:#fff;}
.shop-empty{padding:20px 0 40px;color:var(--muted);font-size:16px;}
.shop-more{position:relative;display:flex;justify-content:center;min-height:40px;margin:34px 0 6px;}
.shop-more.is-loading .btn{opacity:.55;pointer-events:none;}
/* Infinite scroll (shop.js): the link stays for crawlers and as the fallback, a spinner shows while a batch loads. */
.shop-more.is-auto .btn{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.shop-more.is-auto .btn:focus-visible{position:static;width:auto;height:50px;margin:0;padding:0 28px;overflow:visible;clip:auto;}
.shop-more.is-auto.is-loading::after{content:'';width:28px;height:28px;border:3px solid var(--line);border-top-color:var(--blue);border-radius:50%;animation:shop-spin .8s linear infinite;}
@keyframes shop-spin{to{transform:rotate(360deg);}}

/* ---------- brand marks (logo, or initials on the brand colour) ---------- */
.brand-mark{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;overflow:hidden;
  color:#fff;font-weight:600;font-size:12.5px;letter-spacing:.02em;}
.brand-mark--logo{background:#fff;border:1px solid var(--line);border-radius:26%;}
.brand-mark--logo img{width:100%;height:100%;object-fit:contain;padding:2px;}
.brand-mark--photo{background:#fff;border:1px solid var(--line);border-radius:26%;}
.brand-mark--photo img{width:100%;height:100%;object-fit:cover;}

/* ---------- brands rail (desktop; phones use the Merk select) ---------- */
.brands-rail{position:sticky;top:calc(var(--hdr-h) + 16px);border-left:1px solid var(--line);padding-left:22px;}
.brands-rail__title{font-size:18px;font-weight:600;letter-spacing:-.01em;margin-bottom:10px;}
.brands-rail__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;}
.brand-link{display:flex;align-items:center;gap:11px;min-height:48px;padding:6px 8px;border-radius:var(--r-control);font-size:15px;font-weight:500;color:var(--ink);transition:background .2s;}
.brand-link:hover{background:var(--pale-2);}
.brand-link.is-active{background:var(--pale-2);font-weight:600;color:var(--navy);}
.brand-link>span:first-child:not(.brand-mark),.brand-link__name{flex:1;min-width:0;}
.brand-link__count{margin-left:auto;font-size:13.5px;color:var(--muted);}

/* ---------- become-a-seller CTA band ---------- */
.shop-invites{margin-top:60px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch;}
.shop-invites--top{margin:0 0 clamp(40px,5vw,64px);}
.shop-invites .seller-cta{margin-top:0;flex-direction:column;align-items:flex-start;justify-content:space-between;}
.invite__tag{display:block;margin-bottom:14px;font-size:14px;font-weight:600;letter-spacing:.02em;}
.seller-cta .invite__tag{color:#fff;opacity:.85;}
/* Retail: a light card with a blue rule, so the two invitations read as two different offers. */
.retail-cta{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:28px;padding:clamp(30px,4vw,52px);border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:var(--r-surface);background:var(--pale-2);color:var(--ink);}
.retail-cta .invite__tag{color:var(--blue);}
.retail-cta h2{font-size:clamp(24px,2.6vw,34px);font-weight:600;line-height:1.1;color:var(--navy);}
.retail-cta p{margin-top:12px;max-width:520px;font-size:16.5px;line-height:1.55;}
.seller-cta{margin-top:60px;position:relative;overflow:hidden;border-radius:var(--r-surface);background:var(--navy);color:#fff;
  display:flex;align-items:center;justify-content:space-between;gap:28px;padding:clamp(30px,4vw,52px);flex-wrap:wrap;}
.seller-cta::before{content:"";position:absolute;inset:0;background-image:url('../img/brand-gradient.webp');background-size:cover;opacity:.42;}
.seller-cta>*{position:relative;z-index:2;}
.seller-cta h2{font-size:clamp(24px,2.6vw,34px);font-weight:600;line-height:1.1;}
.seller-cta p{margin-top:12px;max-width:520px;font-size:16.5px;line-height:1.55;font-weight:300;opacity:.9;}

/* ---------- shop home: showcase, rows, brand strip ---------- */
.pbanner--short .pbanner__inner{padding-block:40px;}
.pbanner--short .crumbs{margin-bottom:12px;}
.pbanner__intro{max-width:720px;}
.pbanner__intro p+p{margin-top:10px;}
.shop-block{margin-bottom:clamp(40px,5vw,64px);}
.shop-block__title,.shop-toolbar__title{font-size:clamp(24px,2.6vw,32px);font-weight:600;letter-spacing:-.01em;line-height:1.1;margin-bottom:22px;color:var(--navy);}
.shop-toolbar__title{margin:0;width:100%;}
.shop-depts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.shop-depts--lead li:first-child{grid-column:span 2;grid-row:span 2;}
/* Department tiles: a soft tint, the product placed on it, no overlay. */
.shop-depts>li{container-type:inline-size;}
.shop-dept{--dept-tint:var(--pale);position:relative;display:block;height:100%;min-height:230px;border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;background:var(--dept-tint);color:var(--navy);transition:transform .45s var(--ease),box-shadow .45s var(--ease);}
.shop-dept--sky{--dept-tint:#DCEBF4;}
.shop-dept--sand{--dept-tint:#F3EBDD;}
.shop-dept--sage{--dept-tint:#DDEEE5;}
.shop-dept--clay{--dept-tint:#F5E3D6;}
.shop-dept--mist{--dept-tint:#E6E8F4;}
.shop-dept--aqua{--dept-tint:#D8EFF3;}
.shop-dept__text{position:absolute;top:18px;left:18px;right:18px;z-index:3;display:flex;flex-direction:column;gap:4px;}
.shop-dept__name{font-size:clamp(20px,2vw,26px);font-weight:600;letter-spacing:-.01em;line-height:1.1;}
.shop-dept__count{font-size:14px;color:var(--muted);}
.shop-dept__go{position:absolute;left:18px;bottom:18px;z-index:3;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;color:var(--navy);transition:background .3s var(--ease),color .3s var(--ease),transform .3s var(--ease);}
.shop-dept__media{position:absolute;right:0;bottom:0;width:62%;height:58%;}
.shop-dept__img,.shop-dept__peek{position:absolute;bottom:0;object-fit:contain;mix-blend-mode:multiply;transition:transform .45s var(--ease),opacity .45s var(--ease);}
.shop-dept__img{right:0;width:100%;height:100%;object-position:right bottom;z-index:2;transform:translate(6%,6%) rotate(-4deg);transform-origin:right bottom;}
.shop-dept__peek{left:0;width:60%;height:78%;object-position:left bottom;opacity:0;transform:translateX(24px);}
.shop-dept--icon .shop-dept__media{display:grid;place-items:end end;padding:0 18px 14px 0;color:var(--navy);opacity:.3;}
.shop-dept--icon .shop-dept__media svg{width:96px;height:96px;}
/* admin-picked photo: full bleed with a white caption plate, still no gradient */
.shop-dept--photo .shop-dept__media{inset:0;width:auto;height:auto;}
.shop-dept--photo .shop-dept__img{inset:0;width:100%;height:100%;object-fit:cover;mix-blend-mode:normal;transform:none;}
.shop-dept--photo .shop-dept__text{top:auto;right:auto;bottom:14px;left:14px;padding:10px 14px;border-radius:var(--r-control);background:rgba(255,255,255,.92);}
.shop-dept--photo .shop-dept__go{left:auto;right:14px;bottom:14px;}
.shop-depts--lead li:first-child .shop-dept__name{font-size:clamp(26px,3vw,38px);}
@media (min-width:1081px){
  .shop-depts--lead>li:first-child .shop-dept__media{width:72%;height:66%;}
  .shop-depts--lead>li:first-child .shop-dept__peek{opacity:1;transform:none;} /* the big tile shows its second product without hover */
}
@container (min-width:440px){
  .shop-dept__media{width:56%;height:calc(100% - 24px);}
  .shop-dept__text{right:auto;max-width:42%;}
}
@media (hover:hover){
  .shop-dept:hover,.shop-dept:focus-visible{transform:translateY(-4px);box-shadow:var(--shadow-card);}
  .shop-dept:hover .shop-dept__img,.shop-dept:focus-visible .shop-dept__img{transform:translate(6%,0) rotate(0);}
  .shop-dept:hover .shop-dept__peek,.shop-dept:focus-visible .shop-dept__peek{opacity:1;transform:none;}
  .shop-dept--photo:hover .shop-dept__img,.shop-dept--photo:focus-visible .shop-dept__img{transform:scale(1.03);}
  .shop-dept:hover .shop-dept__go,.shop-dept:focus-visible .shop-dept__go{background:var(--navy);color:#fff;transform:translateX(3px);}
  .shop-dept:active{transform:translateY(-1px);}
}
.shop-dept:focus-visible{outline:3px solid var(--blue);outline-offset:3px;}
@media (prefers-reduced-motion:reduce){
  .shop-dept,.shop-dept__img,.shop-dept__peek,.shop-dept__go{transition:none;}
  .shop-dept:hover,.shop-dept:focus-visible,.shop-dept:active{transform:none;box-shadow:none;}
  .shop-dept:hover .shop-dept__img,.shop-dept:focus-visible .shop-dept__img,.shop-dept:hover .shop-dept__go,.shop-dept:focus-visible .shop-dept__go{transform:translate(6%,6%) rotate(-4deg);}
  .shop-dept:hover .shop-dept__peek,.shop-dept:focus-visible .shop-dept__peek{opacity:0;transform:translateX(24px);}
  .shop-dept--photo .shop-dept__img,.shop-dept--photo:hover .shop-dept__img{transform:none;}
}
.prod-grid--four{grid-template-columns:repeat(4,minmax(0,1fr));}
.brand-strip{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 14px;}
.brand-strip a{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:7px 18px 7px 7px;border:1px solid var(--line);border-radius:999px;font-size:15px;font-weight:500;transition:border-color .2s,color .2s;}
.brand-strip a:hover{border-color:var(--blue);color:var(--blue);}

/* ---------- department page: sub-chips, SEO text ---------- */
.mkt__depts--sub{margin-top:-18px;}
.mkt__depts--sub .mkt__dept{min-height:44px;font-size:14px;background:var(--pale-2);}
.mkt__depts--sub .mkt__dept.is-active{background:var(--navy);color:#fff;border-color:var(--navy);}
.shop-seo{margin-top:clamp(40px,5vw,64px);padding-top:clamp(28px,3vw,40px);border-top:1px solid var(--line);max-width:760px;}
.shop-seo h2{font-size:clamp(22px,2.4vw,28px);font-weight:600;letter-spacing:-.01em;color:var(--navy);margin-bottom:16px;}
.shop-seo__text p{font-size:17px;line-height:1.65;color:var(--ink);}
.shop-seo__text p+p,.shop-seo__text h3+p{margin-top:14px;}
.shop-seo__text h3{font-size:19px;font-weight:600;margin-top:24px;}
.shop-seo__text a{color:var(--blue);text-decoration:underline;}
.sort__brand{display:none;}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .shop-layout{grid-template-columns:1fr;}
  .brands-rail{display:none;}
  .sort__brand{display:inline-block;}
  .prod-grid,.prod-grid--four{grid-template-columns:repeat(3,1fr);}
}
/* Department grid on 12 columns so the last row always fills: 4-up above 1080
   (a 2x2 lead tile when the count is 1 mod 4), 3-up from 761 to 1080. */
@media (min-width:761px){
  .shop-depts{grid-template-columns:repeat(12,minmax(0,1fr));}
  .shop-depts>li{grid-column:span 3;}
  .shop-depts--lead>li:first-child{grid-column:span 6;grid-row:span 2;}
  .shop-depts:not(.shop-depts--lead)>li:nth-last-child(2):nth-child(4n+1),
  .shop-depts:not(.shop-depts--lead)>li:last-child:nth-child(4n+2),
  .shop-depts:not(.shop-depts--lead)>li:nth-last-child(3):nth-child(4n+1){grid-column:span 6;}
}
@media (min-width:761px) and (max-width:1080px){
  .shop-depts>li,.shop-depts--lead>li:first-child{grid-column:span 4;grid-row:auto;}
  .shop-depts>li:last-child:nth-child(3n+1){grid-column:span 12;}
  .shop-depts>li:nth-last-child(2):nth-child(3n+1),
  .shop-depts>li:last-child:nth-child(3n+2){grid-column:span 6;}
}
@media (max-width:760px){
  .prod-grid,.prod-grid--four{grid-template-columns:repeat(2,1fr);gap:14px;}
  /* departments: one swipeable row, so the products stay near the top */
  .shop-depts{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1 * var(--gutter));padding:0 var(--gutter) 4px;scroll-padding-inline:var(--gutter);scrollbar-width:none;}
  .shop-depts::-webkit-scrollbar{display:none;}
  .shop-depts li{flex:none;width:160px;scroll-snap-align:start;}
  .shop-dept{min-height:210px;}
  .shop-dept__name{font-size:19px;}
  .shop-dept__media{width:84%;height:55%;}
  .shop-dept__peek{display:none;}
  .shop-dept__go{width:32px;height:32px;left:14px;bottom:14px;}
  .shop-dept__text{top:14px;left:14px;right:10px;}
  .prod__price{font-size:24px;}
  .prod-grid .prod__price{font-size:22px;}
  .prod__body{padding:12px 12px 14px;}
  .pbanner--short .pbanner__inner{padding-block:26px 24px;}
  .pbanner--short .crumbs{margin-bottom:8px;}
  .mkt-page{padding-top:18px;}
  /* chips: one scrollable row, so the products come first */
  .mkt__depts{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;margin-block:0 14px;margin-inline:calc(-1 * var(--gutter));padding:2px var(--gutter);scroll-padding-inline:var(--gutter);scrollbar-width:none;}
  .mkt__depts::-webkit-scrollbar{display:none;}
  .mkt__dept{flex:none;white-space:nowrap;scroll-snap-align:start;}
  .mkt__depts--sub{margin-top:-4px;}
  /* count, brand and sort in one slim block */
  .shop-toolbar{padding:10px 0;margin:0 0 16px;gap:8px 12px;}
  .shop-toolbar__count{font-size:13.5px;flex:1 0 100%;}
  /* labels stay visible: the hidden 1px labels read as clipped text */
  .sort{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;}
  .sort select{flex:1 1 100%;min-width:0;min-height:44px;}
  .shop-invites{margin-top:36px;grid-template-columns:1fr;}
  .shop-invites--top{margin-top:0;}
}

.prod__ver{display:inline-block;align-self:flex-start;font-size:12.5px;line-height:1;color:var(--muted);background:var(--pale-2);padding:5px 10px;border-radius:999px;margin-top:8px;}

/* Phone: the curated rows and the seller strip scroll sideways, one card row each,
   so the shop home does not turn into an endless column before "Alle producten".
   Same bleed pattern as the other rails: item 1 sits on the gutter at rest. */
@media (max-width:760px){
  .prod-grid--rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
    margin-inline:calc(-1 * var(--gutter));padding:0 var(--gutter) 6px;scroll-padding-inline:var(--gutter);scrollbar-width:none;}
  .prod-grid--rail::-webkit-scrollbar{display:none;}
  .prod-grid--rail > *{flex:0 0 44%;min-width:0;scroll-snap-align:start;}
  .brand-strip{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1 * var(--gutter));padding:0 var(--gutter) 6px;scroll-padding-inline:var(--gutter);scrollbar-width:none;}
  .brand-strip::-webkit-scrollbar{display:none;}
  .brand-strip li{flex:none;scroll-snap-align:start;}
  .brand-strip a{white-space:nowrap;}
}
