/* Shop (customer app, flows 65 onward). Tokens only: no raw colours or pixel values in this file.
   The phone frame (device tokens, 375 x 812) sits in the centre on a wide screen; below 600 px the app fills the screen.
   Phone touch targets are 48 px (buttons, fields, dropdown triggers and options); a 32 px chip or trigger keeps a 48 px touch area.
   Flat Design (11 Nov 2026 UI pass, then the reference's layout and type, and the own-signature colours, words and art of 12 Nov 2026): no shadows; one corner radius per role
   (cards and pictures 16, buttons, fields and pills 24, tags 4, round controls 50%); cards pad 12; the shop type roles are the --type-shop-*
   tokens (title 24, section heading 18, names and prices 14, labels 13, meta and tags 12); a visible focus ring. */

.shop-page{background:var(--surface-default);--text-primary:var(--color-shopInk)}
.shop-page #app{min-height:100vh;display:grid;place-items:center}
.device{position:relative;display:flex;flex-direction:column;width:100%;height:100vh;height:100dvh;background:var(--surface-shop-canvas);overflow:hidden}
/* The phone's home indicator (the reference draws it on every shop frame, 5 px high, 134 wide, centred, 2 px above the foot). It is the device's own
   pseudo-element, so the loading picture and the loaded screen show it alike. */
.device::after{content:"";position:absolute;left:50%;bottom:var(--size-2);width:var(--size-134);height:var(--size-5);transform:translateX(-50%);border-radius:var(--radius-4);background:var(--color-ink);pointer-events:none;z-index:4}
@media (min-width:600px){
  .shop-page{background:var(--surface-subtle)}
  .shop-page #app{padding:var(--space-24) 0}
  .device{width:var(--device-width);height:var(--device-height);border:var(--border-width) solid var(--border-default);border-radius:var(--device-corner)}
}

/* Focus: every control shows a ring when it has the keyboard focus. */
.shop-page a:focus-visible,.shop-page button:focus-visible,.shop-page input:focus-visible,.shop-page select:focus-visible,.shop-page textarea:focus-visible{outline:var(--stroke-width) solid var(--focus-ring);outline-offset:var(--space-4)}

.device-screen{display:flex;flex-direction:column;flex:1;min-height:0}
.status-bar{flex:none;height:var(--control-40);display:flex;align-items:center;justify-content:space-between;padding:0 var(--space-24);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--type-shop-label-weight)}
/* The time sits in the red recording pill of the reference's frames (measured (231, 57, 49) at 11.6 s, pill 36 to 98 wide, 9 to 29 high). */
.status-time{display:inline-flex;align-items:center;height:calc(var(--size-10) * 2);margin-inline-start:var(--space-12);padding:0 calc(var(--space-12) + var(--size-2));border-radius:var(--size-10);background:var(--color-shopStatusRed);color:var(--color-white)}
/* The status icons sit in the status row's centre, as the reference's (signal, Wi-Fi, battery; the height is the status row's text size). */
.status-icons{display:flex;align-items:center;gap:var(--space-4);color:var(--text-primary)}
.status-icons svg{display:block;width:auto;height:var(--size-14)}
.shop-top{flex:none;height:var(--control-40);display:flex;align-items:center;justify-content:space-between;gap:var(--space-8);padding:0 var(--space-16)}
/* A group of header actions (the store's search, save and more). The reference's three 34 px circles are 42 px between centres, the last one 16 px
   from the edge (measured on the 31 s frame, 11 Nov 2026). Each control keeps its 48 px tap area, so neighbouring tap areas overlap by 6 px. */
.top-actions{display:flex;align-items:center;margin-inline-end:calc(var(--size-6) * -1)}
.top-actions>*+*{margin-inline-start:calc(var(--size-6) * -1)}
/* The store header only: its back circle sits on the 16 px gutter, and its title starts where the reference's does. */
.shop-top:has(>.top-actions)>.icon-btn:first-child{margin-inline-start:calc(var(--size-7) * -1)}
.shop-top:has(>.top-actions) .top-title{margin-inline-start:calc(var(--space-8) * -1)}
/* Round icon buttons (back, cart): a grey round control on any band (the reference's back and search are grey, with no outline). */
.icon-btn{position:relative;width:var(--control-48);height:var(--control-48);padding:0 var(--space-16);display:inline-flex;align-items:center;justify-content:center;background:var(--surface-subtle);border:0;border-radius:50%;color:var(--text-primary);cursor:pointer}
.shop-page .icon{display:block;width:var(--size-icon);height:var(--size-icon);flex:none}
/* The hero band: the status row sits on the orange band that opens Home. The top bar floats over the band, so the
   branch pill sits where the reference's does. The photo layout: the top bar floats over the picture that opens the item. */
.device.is-hero .status-bar{background:var(--color-orange)}
.device.is-photo .shop-top,.device.is-hero .shop-top{position:absolute;top:var(--control-40);left:0;right:0;z-index:2;background:transparent}
/* The floating bar takes clicks only on its own controls (links, buttons and the More menu's summary). Its empty band over the hero (the branch pill sits under it) lets the clicks through. */
.device.is-photo .shop-top,.device.is-hero .shop-top{pointer-events:none}
.device.is-photo .shop-top :is(a,button,summary),.device.is-hero .shop-top :is(a,button,summary){pointer-events:auto}
/* The header's round buttons: the reference's 34 px grey circle (the ::before) inside the 48 px button, which keeps the 48 px tap area and the 16 px side
   padding. The icon sits above the circle. The cart button keeps its own (wider) shape. */
.shop-top .icon-btn:not(.cart-btn){background:transparent}
/* The store's first step (the grey band with the chevron only, 10.0 to 10.45 s on the video): the back control has no circle yet. */
.device:has(.skeleton-photo.is-light) .shop-top .icon-btn:not(.cart-btn)::before{background:transparent}
.shop-top .icon-btn:not(.cart-btn)::before{content:"";position:absolute;left:50%;top:50%;width:var(--size-34);height:var(--size-34);transform:translate(-50%,-50%);border-radius:50%;background:var(--surface-subtle)}
.shop-top .icon-btn:not(.cart-btn) .icon{position:relative}
.device.is-photo .shop-top .icon-btn:not(.cart-btn)::before{background:var(--color-heroButton)}
/* The titled top row (list screens, 15 Nov 2026): the title on the left, the notifications and cart buttons on the right, in one row. The row is as tall
   as its 48 px buttons. The title's box is the row's height with the space above and below its 30 px line centred, so its text sits 24 px above the
   content: the row's bottom padding is 24 px less the centring space (both from tokens). The bell matches the cart's grey circle. */
.shop-top.is-titled{height:auto;align-items:stretch;padding-bottom:calc(var(--space-24) - (var(--control-48) - var(--type-shop-title-lh)) / 2)}
.shop-top.is-titled .icon-btn{align-self:center}
/* The body starts at the row's padding (above), not at the body's own top padding: the title is no longer in the body. */
.shop-top.is-titled+.shop-main{padding-top:0}
.shop-top.is-titled .top-heading{flex:1;min-width:0;padding-block:calc((var(--control-48) - var(--type-shop-title-lh)) / 2);overflow-wrap:anywhere}
.shop-top .icon-btn.bell-btn{background:var(--surface-subtle)}
.shop-top .icon-btn.bell-btn::before{display:none}

.shop-main{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:var(--space-8) var(--space-16) var(--space-24);display:flex;flex-direction:column;gap:var(--space-24)}
/* A child of the scrolling screen keeps its own height (a picture with overflow hidden would otherwise shrink to nothing). */
.shop-main>*{flex-shrink:0}
.shop-main.is-bleed{padding:0 0 var(--space-24)}
.shop-body{display:flex;flex-direction:column;gap:var(--space-24);padding:0 var(--space-16)}

/* The headings and the search row start 13 px in, as the reference's (the page gutter is 16 px less the 3 px of --size-3). */
.shop-title{margin:0 calc(var(--size-3) * -1);font-family:var(--type-shop-title-family);font-size:var(--type-shop-title-size);line-height:var(--type-shop-title-lh);font-weight:var(--type-shop-title-weight)}
/* The list page title (a variant of .shop-title, as the reference's Groceries title). */
.shop-title.is-list{font-size:var(--type-shop-list-title-size);line-height:var(--type-shop-list-title-lh);font-weight:var(--type-shop-list-title-weight);letter-spacing:var(--type-shop-list-title-tracking)}
.shop-h2{margin:0;font-family:var(--type-shop-h2-family);font-size:var(--type-shop-h2-size);line-height:var(--type-shop-h2-lh);font-weight:var(--type-shop-h2-weight);letter-spacing:var(--type-shop-h2-tracking)}
/* Section headings (the store's, Your local shops, the offers' save row) are set wider, as the reference's (12 Nov 2026): their words measure 1 to 3 px
   from the reference's at 0.6 px tracking, against 4 to 12 px at 0.2 px. Offer-card headings keep the shop's tracking (they wrap at 157 px). */
.section-head .shop-h2{letter-spacing:var(--type-shop-section-tracking)}
/* The Groceries brand heading's spacing, as the reference's (a variant of .shop-h2). */
.shop-h2.is-spaced{letter-spacing:var(--type-shop-h2-spaced-tracking)}
.shop-intro{margin:0;color:var(--text-secondary);font-family:var(--type-shop-body-family);font-size:var(--type-shop-body-size);line-height:var(--type-shop-body-lh)}
.shop-section{display:flex;flex-direction:column;gap:var(--space-24)}
.shop-section>.shop-h2,.shop-section>.section-title,.shop-section>.section-head{margin-inline:calc(var(--size-3) * -1)}
.rate-block{display:flex;flex-direction:column;gap:var(--space-16)}
.section-title{display:flex;flex-direction:column;gap:var(--space-4)}
.shop-main{scrollbar-width:thin;scrollbar-color:var(--border-default) transparent}
.shop-status{margin:0;color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
/* The Groceries brand section's line: the reference's spacing, and one pixel lower (a variant of .shop-status). */
.shop-status.is-spaced{letter-spacing:var(--type-shop-status-spaced-tracking);margin-top:var(--size-1)}
.shop-count{margin:0;color:var(--text-secondary);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh)}

.shop-chip-row{display:flex;flex-wrap:wrap;gap:var(--space-8)}
/* A chip: a link or a button. A white pill with a grey outline (the reference's chips). On (a choice is made) it is solid orange. */
.shop-chip{display:inline-flex;align-items:center;gap:var(--space-8);flex:none;position:relative;min-height:var(--control-28);padding:0 var(--space-12);border:0;border-radius:var(--radius-24);background:var(--surface-shop-chip);color:var(--text-primary);font-family:var(--type-shop-label-family);font-size:var(--type-shop-chip-size);line-height:var(--type-shop-chip-lh);font-weight:var(--type-shop-chip-weight);text-decoration:none;white-space:nowrap;cursor:pointer}
.shop-chip .icon{width:var(--size-14);height:var(--size-14)}
/* The Pickup chip's runner: inline art (the pickup-runner entry of components/shop-art.js, 13 by 19); its shapes take the chip's ink (currentColor). */
.pickup-runner{flex:none;display:block;width:var(--size-13);height:var(--size-19);margin-inline-end:var(--size-1)}
.pickup-runner circle,.pickup-runner path{fill:currentColor}
/* The chip row's controls (the plain chips, the dropdown triggers and the branch pill) are drawn 32 px high, as the reference's chips are.
   Their tap area is 48 px (the phone touch rule), made by the ::before that reaches 8 px above and below. */
.shop-chip::before,.shop-controls .dd-trigger::before{content:"";position:absolute;left:0;right:0;top:calc((var(--control-28) - var(--control-48)) / 2);bottom:calc((var(--control-28) - var(--control-48)) / 2)}
.address-trigger::before{content:"";position:absolute;left:0;right:0;top:calc((var(--control-32) - var(--control-48)) / 2);bottom:calc((var(--control-32) - var(--control-48)) / 2)}
.shop-chip.is-on{background:var(--color-orange);border-color:var(--color-orange);color:var(--text-primary)}
/* The Pickup chip, on, is yellow (the reference's, measured at 21.0 s: (254, 186, 67) on the chip). */
.shop-chip.is-pickup.is-on{background:var(--color-yellow);border-color:var(--color-yellow)}

/* Cards: one radius (16), a 12 px padding, no shadow. A product card has no outline: the picture and the text sit on the screen (the reference). */
.product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-16)}
.product-card{position:relative;display:block;overflow:hidden;container-type:inline-size;background:var(--surface-default);border:0;border-radius:var(--radius-16);color:var(--text-primary);text-decoration:none}
.product-link{display:block;color:inherit;text-decoration:none}
.product-photo{position:relative;background:var(--surface-subtle);border-radius:var(--radius-16);overflow:hidden}
/* A product picture is square (the reference's tiles). */
.product-photo{aspect-ratio:1 / 1}
.product-photo .shop-art{display:block;width:100%;height:100%}
/* A product photograph (components/shop.js productPhotoHtml) fills its box and is cut to cover it, whatever the box's shape. */
.shop-photo{object-fit:cover}
/* A retailer's real logo (components/shop.js logoHtml) fills its tile, scaled to fit inside the tile's padding, so the tile keeps its size. */
.brand-mark{display:block;width:100%;height:100%;padding:var(--space-4);box-sizing:border-box;object-fit:contain}
/* The discount tag sits on the picture's top left, as the reference's -10% label does. */
.photo-tag{position:absolute;top:var(--space-8);left:var(--space-8);z-index:1}
.product-body{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-12)}
.product-name{margin:0;font-family:var(--type-shop-name-family);font-size:var(--type-shop-name-size);line-height:var(--type-shop-name-lh);font-weight:var(--type-shop-name-weight)}
.product-meta{margin:0;color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.branch-name{display:block;color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
/* Card controls: the favourite toggle (pressed = orange heart) sits at the picture's top right, the add button (+) at its bottom right,
   both outside the link. The category's tile sits over the picture's bottom left. The sponsored tag shows only when an item carries it. */
.fav-btn,.add-btn{position:absolute;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:var(--control-48);height:var(--control-48);padding:0 var(--space-16);background:var(--surface-default);border:0;border-radius:50%;color:var(--text-primary);cursor:pointer}
.fav-btn{top:var(--space-8);right:var(--space-8)}
/* The picture is square, so its bottom edge is the card width below the top: the add button sits on the picture, not on the text. */
.add-btn{top:calc(100cqw - var(--control-48) - var(--space-8));right:var(--space-8)}
.add-btn:disabled{color:var(--color-disabled);cursor:default}
.fav-btn .icon,.add-btn .icon,.icon-btn .icon{width:var(--size-icon);height:var(--size-icon)}
.fav-btn[aria-pressed="true"],.icon-btn[aria-pressed="true"]{color:var(--action-primary)}
.fav-btn[aria-pressed="true"] .icon path,.icon-btn[aria-pressed="true"] .icon path{fill:currentColor}
.logo-tile{position:absolute;left:var(--space-16);bottom:var(--space-16);z-index:1;display:flex;align-items:center;justify-content:center;width:var(--control-48);height:var(--control-48);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:50%}
.logo-tile .shop-art{display:block;width:var(--control-32);height:var(--control-32)}
.logo-tile.is-large{left:var(--space-16);bottom:calc(var(--size-80) / -2);width:var(--size-80);height:var(--size-80)}
.logo-tile.is-large .shop-art{width:var(--control-48);height:var(--control-48)}
/* A retailer logo (a PNG from the reference) fills a rounded square, as the reference's logo tiles do. */
.logo-tile.is-brand{width:var(--size-56);height:var(--size-56);border:0;border-radius:var(--radius-12);overflow:hidden;background:var(--surface-default)}
.logo-tile.is-brand.is-large{width:var(--size-80);height:var(--size-80)}
.sponsored-tag.is-plain{border:0;padding:0;color:var(--text-secondary)}
.sponsored-tag{display:inline-flex;align-self:flex-start;padding:var(--space-4) var(--space-8);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-4);color:var(--text-secondary);font-family:var(--type-shop-tag-family);font-size:var(--type-shop-badge-size);line-height:var(--type-shop-badge-lh);font-weight:var(--weight-label)}
/* The product grid (the store page's more-from grid) is the same two-column grid as the product list. */
.expiry-chip{display:inline-flex;align-items:center;padding:var(--size-2) var(--space-4);background:var(--color-orangeSoft);color:var(--color-orangeInk);border-radius:var(--radius-4);font-family:var(--type-shop-tag-family);font-size:var(--type-shop-tag-size);line-height:var(--type-shop-tag-lh);font-weight:var(--weight-title);white-space:nowrap}
.value-block{display:flex;flex-direction:column;gap:var(--space-16)}
.search-pill.is-link{color:var(--text-secondary);text-decoration:none}
.search-hint{flex:1 1 auto;min-width:0}
.search-clear{flex:none;margin-block:calc((var(--control-40) - var(--control-48)) / 2)}
.group-progress+.progress-marks{position:relative;height:var(--space-24);margin:0;padding:0;list-style:none}
.progress-mark{position:absolute;top:0;transform:translateX(-50%);color:var(--text-secondary);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.progress-mark.is-reached{color:var(--text-primary);font-weight:var(--weight-title)}
.progress-mark:last-child{transform:translateX(-100%)}
.group-teaser{display:flex;flex-direction:column;align-items:stretch;gap:var(--space-16);padding:var(--space-24);background:var(--color-orangeSoft);border-radius:var(--radius-16)}
.group-teaser-text{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
.group-teaser-text .product-meta{margin:0}
.group-teaser .btn{width:100%}
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);width:100%;padding:var(--space-16) 0;cursor:pointer}
.switch-text{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
.switch-track{position:relative;flex:none;width:var(--control-48);height:var(--size-28);background:var(--border-default);border-radius:var(--radius-24)}
.switch-thumb{position:absolute;top:var(--size-2);left:var(--size-2);width:var(--space-24);height:var(--space-24);background:var(--surface-default);border-radius:50%}
.switch-row[aria-checked="true"] .switch-track{background:var(--text-action)}
.switch-row[aria-checked="true"] .switch-thumb{left:calc(100% - var(--space-24) - var(--size-2))}
.faq-item{background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.faq-item+.faq-item{margin-top:var(--space-16)}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);padding:var(--space-24);cursor:pointer;list-style:none;font-weight:var(--weight-label)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item[open] summary{padding-bottom:var(--space-8)}
.faq-item p{margin:0;padding:0 var(--space-24) var(--space-24)}
.skeleton-list{display:flex;flex-direction:column;gap:var(--space-16)}
.skeleton-item{display:flex;flex-direction:column;gap:var(--space-8);padding:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.skeleton.is-chip{width:30%;height:var(--space-24);border-radius:var(--radius-8)}
.skeleton.is-title{width:55%;height:var(--space-16)}
.skeleton.is-meta{width:40%}
.card-walk-text{display:flex;flex-direction:column;min-width:0}
.card-expiry{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-4) var(--space-8)}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-16)}

/* The price: the price now and the original struck out on one line, then the discount tag and the saving. */
.price-block{display:flex;flex-direction:column;gap:var(--space-4)}
.price-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--space-4) var(--space-8);margin:0}
.price-now{font-family:var(--type-shop-price-family);font-size:var(--type-shop-price-size);line-height:var(--type-shop-price-lh);font-weight:var(--type-shop-price-weight)}
.price-now.is-large{font-size:var(--type-shop-title-size);line-height:var(--type-shop-title-lh)}
.price-label{margin-right:var(--space-4);color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);font-weight:var(--weight-label)}
.price-was{color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.price-save{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-8)}
.price-saved{color:var(--status-success);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);font-weight:var(--weight-label)}
/* The tag that shows a discount: red with white text (the palette's red, as the reference's -10% tags). */
.price-tag{display:inline-flex;align-items:center;align-self:flex-start;padding:var(--size-2) var(--space-4);background:var(--color-shopTagRed);color:var(--color-white);border-radius:var(--radius-4);font-family:var(--type-shop-tag-family);font-size:var(--type-shop-tag-size);line-height:var(--type-shop-tag-lh);font-weight:var(--weight-title);white-space:nowrap}
/* A promo code on a product card wraps inside the card (a long code such as BANANA30 otherwise runs past the card's edge). */
.product-meta .price-tag{white-space:normal;max-width:100%}
/* A price tag with its tag glyph (the store's promotion pill, as the reference): the glyph is 14 px (its ink about 10 px), 2 px from the pill's edge, 4 px from the words. */
.price-tag.is-with-icon{gap:var(--space-4);padding-left:var(--size-2);padding-right:calc(var(--space-4) + var(--size-2))}
.price-tag.is-with-icon .icon{width:var(--size-14);height:var(--size-14)}

.shop-field{display:flex;flex-direction:column;gap:var(--space-8)}
.shop-field label{font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--weight-label)}
.search-row{display:flex;align-items:center;gap:var(--space-8)}
.search-row .input{flex:1;min-width:0}
.search-row .btn{width:auto}
/* The chip row (Filter, Pickup, Sort by) scrolls sideways when it is wider than the screen. */
.shop-controls{display:flex;gap:calc(var(--space-8) + var(--size-3));align-items:center;overflow-x:auto;padding-bottom:0;scrollbar-width:none}
.shop-panel{display:flex;flex-direction:column;gap:var(--space-16);padding:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.shop-actions{display:flex;flex-direction:column;gap:var(--space-8)}
/* Buttons and fields: 48 px high, pill-shaped (radius 24), one line. */
.shop-page .btn{height:var(--control-48);min-width:0;width:100%;border-radius:var(--radius-24);font-weight:var(--weight-label)}
.shop-page .input,.shop-page .dd-trigger{height:var(--control-48)}
.shop-page .dd-list [role="option"]{min-height:var(--control-48);display:flex;align-items:center}

.method-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-24)}
.method-item{display:flex;align-items:center;justify-content:space-between;gap:var(--space-8);padding:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.method-label{margin:0;font-weight:var(--weight-label)}
.method-detail{margin:0;color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.identity{display:flex;align-items:center;gap:var(--space-16)}
.identity-text{margin:0;font-weight:var(--weight-label)}
.avatar{display:flex;align-items:center;justify-content:center;flex:none;width:var(--control-48);height:var(--control-48);border-radius:50%;background:var(--color-orangeSoft);color:var(--text-action);font-family:var(--type-shop-h2-family);font-size:var(--type-shop-h2-size);line-height:var(--type-shop-h2-lh);font-weight:var(--weight-title)}

/* Tab bar: the current tab's icon sits on an orange-soft pill (flat, no shadow). */
.tabbar{flex:none;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);margin-inline:calc(var(--size-2) / -2);background:var(--surface-default);border-top:0;padding-bottom:calc(var(--space-16) + var(--size-2))}
/* The reference's bar has no top rule. */
/* The label sits directly under the icon (no gap), 6 px under the bar's top, as the reference's (icon centre at 777 px, label cap at 797). */
.tab-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:var(--control-48);padding:calc(var(--space-4) + var(--size-2)) var(--space-8);color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-tabbar-size);line-height:var(--type-shop-tabbar-lh);font-weight:var(--type-shop-tabbar-weight);text-align:center;text-decoration:none}
.tab-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:var(--control-48);height:var(--control-32);border-radius:var(--radius-24)}
/* The tab icons are 2 px in stroke. Inactive: the palette's grey-ink (secondary text); current: orange, the chosen-option colour, filled (23 Nov 2026, owner: not black). */
.tab-icon{color:var(--text-secondary)}
/* The Orders icon is grey as the reference's; the label keeps the tab's text colour. */
.tab-icon.is-muted{color:var(--color-iconMuted)}
.tab-icon .icon{width:var(--size-icon);height:var(--size-icon)}
.tab-icon .icon path:not([style*="stroke"]){stroke-width:var(--size-2)}
/* The green dot at the top right of the icon: a news dot with a ring in the bar's colour, so it reads on the icon's edge. */
/* The dot sits 5 px under the icon box's top and 13 px in from its right, 9 px across (the reference's Discover and Profile dots). */
.tab-dot{position:absolute;top:calc(var(--size-2) + var(--size-3));right:calc(var(--size-6) + var(--size-7));width:var(--size-7);height:var(--size-7);border-radius:var(--radius-24);background:var(--color-shopDot);box-shadow:0 0 0 var(--border-width) var(--surface-default)}
.tab-item.is-current{color:var(--text-primary);font-weight:var(--type-shop-tabbar-current-weight)}
.tab-item.is-current .tab-icon{background:transparent;color:var(--action-primary)}

/* Top bar: the spacer keeps the cart on the right when there is no back button. */
.top-spacer{flex:1}
/* The cart is round while it is empty and a pill when it shows a count (the count stays inside the button). */
.cart-btn{width:auto;min-width:var(--control-48);gap:var(--space-4);border-radius:var(--radius-24)}
.cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:var(--space-20);height:var(--space-20);padding:0 var(--space-4);border-radius:var(--radius-8);background:var(--action-primary);color:var(--text-primary);font-family:var(--type-shop-tag-family);font-size:var(--type-shop-badge-size);line-height:var(--type-shop-badge-lh);font-weight:var(--weight-title)}

/* Toast: inside the phone frame, above the tab bar. */
.shop-toast{position:absolute;left:var(--space-16);right:var(--space-16);bottom:calc(var(--control-48) + var(--space-32));display:flex;align-items:center;gap:var(--space-8);margin:0;padding:var(--space-12) var(--space-16);background:var(--color-ink);color:var(--color-white);border-radius:var(--radius-16);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--weight-label);z-index:30}
.shop-toast-icon{display:inline-flex;flex:none;width:var(--space-16);height:var(--space-16)}
.shop-toast-icon .icon{width:var(--space-16);height:var(--space-16);color:var(--color-white)}

/* Item page: the picture runs edge to edge under the floating top bar. The info row holds the stock and the pick-up window. The sticky
   tab row marks the section in view and jumps to it; the section heading stops under the tabs. */
.item-photo{overflow:hidden;background:var(--surface-subtle)}
.item-photo .shop-art{display:block;width:100%;height:var(--size-200)}
.device.is-photo .item-photo{border-radius:0}
.item-photo.skeleton-photo{height:var(--size-200)}
/* The store's first two steps (the reference's, 10.25 s and 10.5 s): a grey picture band, light first and darker when the header icons appear.
   The white sheet under it runs to the bottom of the phone with no content yet. Measured on the video's edge: the top is a shallow arc, 247 px at the
   middle and 253 px at the sides (a 6 px elliptical radius), so the band is 271 px and the sheet's margin takes back the 24 px gap and 24 px curve. */
.item-photo.skeleton-photo.is-light{height:var(--size-271);background:var(--color-placeholderLight)}
.item-photo.skeleton-photo.is-dark{height:var(--size-271);background:var(--color-placeholderDark)}
/* The backdrop of the content step (the reference at 10.70 to 11.05 s): the loading band and its white sheet, behind the loaded layer. store.js draws it
   only while the content step plays, and it covers the phone from the top; the sheet's margin and the band's 24 px gap are the loading step's. */
.store-backdrop{position:absolute;inset:0;display:flex;flex-direction:column;gap:var(--space-24);pointer-events:none}
.store-backdrop .item-photo.skeleton-photo.is-deep{height:var(--size-271);background:var(--color-placeholderDeep)}
/* The opening's fades, played by a click (the is-playing and is-arriving classes). The grey band darkens continuously in the enter step (240 to 222)
   and the loading step (222 to 214). The content step's loaded layer (the hero and the body) fades in linearly over the backdrop, 10.70 to 11.05 s, which
   also makes the grey below the picture turn white and the picture come in over the grey (measured at 10.75 to 11.10 s). The product photos fade in once
   the store is loaded, on the reference's ease after a short delay (measured at 11.10 to 11.40 s). */
.item-photo.skeleton-photo.is-light.is-playing{animation:store-band-enter var(--motion-store-open) linear both}
.item-photo.skeleton-photo.is-dark.is-playing{animation:store-band-loading var(--motion-store-band) linear both}
.store-hero.is-playing,.item-body.is-playing{animation:store-layer-in var(--motion-store-content) linear both}
.product-photo .is-arriving{position:absolute;inset:0;animation:store-photo-in var(--motion-store-arrive) var(--motion-ease-arrive) var(--motion-store-arrive-delay) both}
.product-row .product-photo .is-arriving{animation-delay:var(--motion-store-arrive-row-delay)}
/* A late picture (the video's bag placeholder, shown under it): the picture is hidden until its tile is in view; then its animation holds the
   placeholder for --motion-store-photo-wait and fades the picture in on the store's curve (the placeholder shows through until it is covered). */
.product-photo.is-late .is-late-picture{position:absolute;inset:0;opacity:0}
.product-photo.is-late.is-visible .is-late-picture{animation:photo-late-hold var(--motion-store-photo-wait) linear both,photo-late-in var(--motion-store-arrive) var(--motion-ease-arrive) var(--motion-store-photo-wait) both}
@keyframes photo-late-hold{from{opacity:0}to{opacity:0}}
@keyframes photo-late-in{from{opacity:0}to{opacity:1}}
/* The Pickup list's loading photos: the light grey holds for the first quarter of the step, then darkens to the deep grey by the step's end (the
   reference's 19.30 to 20.20 s). A click plays it (the list is is-playing); the step ends with this animation. */
.store-list.is-playing .store-card.is-loading .store-photo{animation:pickup-photo-loading var(--motion-pickup-loading) linear both}
@keyframes pickup-photo-loading{0%,28%{background-color:var(--surface-subtle)}to{background-color:var(--color-placeholderDeep)}}
@keyframes store-band-enter{from{filter:brightness(1.021)}to{filter:brightness(0.945)}}
@keyframes store-band-loading{from{filter:brightness(1.005)}to{filter:brightness(0.968)}}
@keyframes store-layer-in{from{opacity:0}to{opacity:1}}
@keyframes store-photo-in{from{opacity:0}to{opacity:1}}
.item-body.is-empty{flex:1;margin-top:calc(var(--radius-24) * -2);border-radius:50% 50% 0 0 / var(--size-6) var(--size-6) 0 0}
/* The content under the picture is a white curve that overlaps the picture's bottom edge. Its first row starts below the category tile. */
.item-body{position:relative;display:flex;flex-direction:column;gap:var(--space-24);margin-top:calc(var(--radius-24) * -1);padding-top:calc(var(--size-80) + var(--space-8));background:var(--surface-shop-sheet);border-radius:var(--radius-24) var(--radius-24) 0 0}
.device.is-photo .item-body>*:not(.item-tabs):not(.footer-link.is-fees):not(.buy-foot){margin-inline:var(--space-16)}
.shop-stock{display:flex;flex-direction:column;gap:var(--space-4);font-weight:var(--weight-label)}
.shop-stock p{margin:0}
.shop-actions .footer-primary{align-items:stretch}
/* The basket's add to cart stays at the foot of the screen while its page scrolls: the negative offsets run it to the screen's bottom edge over the scroller's padding. */
/* The foot of a product or basket screen (shop.js buyFootHtml): the bar with the price and the one primary, stuck to the bottom of the screen. */
.buy-foot{position:sticky;bottom:calc(var(--space-24) * -1);z-index:2;margin-bottom:calc(var(--space-24) * -1);padding:var(--space-16) var(--space-16) var(--space-24);background:var(--surface-shop-sheet)}
/* The foot's row: the price on the left, Add to cart on the right (the button takes the rest, on one line). */
.buy-bar-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16)}
.buy-bar-row .price-block{flex:none}
.buy-bar-row .btn{flex:1 1 auto;min-width:0;white-space:nowrap}
.shop-page .btn.compact{width:auto}
.price-note{margin:0;color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.info-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-16);padding:var(--space-16) 0;border-top:var(--border-width) solid var(--border-default);border-bottom:var(--border-width) solid var(--border-default)}
.info-cell{display:flex;flex-direction:column;gap:var(--space-8);min-width:0}
.info-label{margin:0;color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);font-weight:var(--weight-label)}
.info-value{margin:0;font-family:var(--type-shop-price-family);font-size:var(--type-shop-price-size);line-height:var(--type-shop-price-lh);font-weight:var(--type-shop-price-weight)}
/* The store's facts: four icons across, each with its value under it (the reference's row). */
.info-row.is-icons{--facts:4;--fact-pitch:var(--size-96);display:grid;grid-template-columns:repeat(var(--facts),var(--fact-pitch));justify-content:center;gap:0;margin:0 calc(var(--space-16) * -1);padding:var(--space-16) 0}
.info-row.is-icons.is-three{--facts:3;--fact-pitch:var(--size-128)}
.info-row.is-icons .info-cell{align-items:center;text-align:center;gap:var(--space-4);min-width:0}
.info-row.is-icons .icon{width:var(--size-icon);height:var(--size-icon);color:var(--text-primary)}
.info-row.is-icons .info-value{font-family:var(--type-shop-label-family);font-size:var(--type-shop-fact-size);line-height:var(--type-shop-fact-lh);font-weight:var(--type-shop-fact-weight)}
/* The tab row sticks under the top bar (the top bar floats over the screen's first row on the store page). */
.item-tabs{position:sticky;top:var(--control-40);z-index:3;display:flex;gap:var(--space-8);margin-inline:0;padding:0 var(--space-16);background:var(--surface-shop-sheet);border-bottom:var(--border-width) solid var(--border-default)}
.item-tab{display:inline-flex;align-items:center;min-height:var(--control-48);padding:0 var(--space-8);margin-bottom:calc(var(--border-width) * -1);border-bottom:var(--stroke-width) solid transparent;color:var(--text-secondary);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--weight-label);text-decoration:none}
.item-tab[aria-current="true"]{color:var(--text-primary);border-bottom-color:var(--text-primary)}
.item-target{scroll-margin-top:calc(var(--control-40) + var(--control-48))}

/* Cart page. */
.shop-page .stepper{width:var(--size-160)}
/* The cart's lines: one card under another, full width (the shop's product grid is two columns, which wrapped the names and the meta on a phone). */
.cart-lines{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-16)}
/* The cart by store: one group per store, 24 px apart; each group's head, mode choice, fee, lines and subtotal 16 px apart. */
.cart-groups{display:flex;flex-direction:column;gap:var(--space-24)}
.cart-group{display:flex;flex-direction:column;gap:var(--space-16);padding:var(--space-24);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.cart-group-head{display:flex;flex-direction:column;gap:var(--space-4)}
.cart-line{display:flex;flex-direction:column;gap:var(--space-16);padding:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.cart-line-head{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-8)}
/* In the two-column product list a card is narrow: when the one-line price does not fit beside the name, it drops under the name. */
.product-list .cart-line-head{flex-wrap:wrap}
.cart-line-head.has-thumb{justify-content:flex-start;gap:var(--space-16)}
.cart-thumb{display:block;flex:none;width:var(--size-56);height:var(--size-56);overflow:hidden;border-radius:var(--radius-8);background:var(--surface-subtle)}
.cart-thumb .cart-photo{display:block;width:100%;height:100%;object-fit:cover}
.cart-thumb .basket-collage{height:100%;gap:var(--size-2);border-radius:0}
.cart-line-main{display:flex;flex-direction:column;gap:var(--space-4);flex:1 1 auto;min-width:0}
.cart-line-total{margin:0;font-family:var(--type-shop-h2-family);font-size:var(--type-shop-h2-size);line-height:var(--type-shop-h2-lh);font-weight:var(--weight-title);white-space:nowrap}
.cart-line-foot{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:var(--space-8)}
.cart-line-foot .stepper{flex:0 1 var(--size-160);min-width:0}
.cart-line-foot .btn{flex:none}
.cart-line .field-help{margin:0}
.shop-facts{display:flex;flex-direction:column;gap:var(--space-8);margin:0}
.shop-facts .fact{display:flex;justify-content:space-between;gap:var(--space-8)}
.shop-page .fact dt{margin:0;color:var(--text-secondary);font-family:var(--type-shop-body-family);font-size:var(--type-shop-body-size);line-height:var(--type-shop-body-lh)}
.shop-page .fact dd{margin:0;font-weight:var(--weight-label)}

/* A plain note on a screen (the add-card screen): cream surface, ink text, no status colour. */
.shop-notice{display:flex;flex-direction:column;gap:var(--space-8);padding:var(--space-24);background:var(--surface-subtle);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.shop-notice-title{margin:0;font-weight:var(--weight-label)}
.shop-notice-text{margin:0;color:var(--text-secondary)}

/* Checkout: payment method options (radio cards), with the check mark on the chosen one. */
.method-options{display:flex;flex-direction:column;gap:var(--space-24)}
.method-option{display:flex;align-items:center;justify-content:space-between;gap:var(--space-8);min-height:var(--control-48);padding:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16);cursor:pointer}
.method-option.is-selected{border-color:var(--action-primary);border-width:var(--stroke-width)}
.method-text{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
.method-text .method-label,.method-text .method-detail{margin:0}
.method-end{display:inline-flex;align-items:center;gap:var(--space-8);flex:none}
.method-check{display:inline-flex;width:var(--space-20);height:var(--space-20);color:var(--action-primary)}
.method-check .icon{width:var(--space-20);height:var(--space-20)}

/* The reason a button is off, under the button (footer-primary): secondary text, not body ink. */
.shop-page .footer-primary .field-help{margin:var(--space-8) 0 0;color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}

/* Group buying (flow 71): the price steps as cards (the chip beside the step), the group's progress bar and its status. */
.group-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-8)}
.group-step{display:flex;align-items:center;justify-content:space-between;gap:var(--space-8);padding:var(--space-12) var(--space-16);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.group-step-text{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
.group-step-label{margin:0;font-weight:var(--weight-label)}
.group-status{display:flex;align-items:center}
.group-progress{display:block;flex:none;width:100%;height:var(--space-12);margin:0;border:0;border-radius:var(--radius-24);appearance:none;-webkit-appearance:none;background:var(--border-default);overflow:hidden}
.group-progress::-webkit-progress-bar{background:var(--border-default);border-radius:var(--radius-24)}
.group-progress::-webkit-progress-value{background:var(--action-progress);border-radius:var(--radius-24)}
.group-progress::-moz-progress-bar{background:var(--action-progress);border-radius:var(--radius-24)}

/* Orders and support (flows 72 to 77): the order card and its status row, the status timeline (a mark, the words, done or to do), the
   note cards (notifications, questions and answers), the report's text area, and the helper text of a check row. */
.shop-page .check-text .field-help{display:block;margin-top:var(--space-4);color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.order-list{display:flex;flex-direction:column;gap:var(--space-24)}
.order-card{display:flex;flex-direction:column;gap:var(--space-16);padding:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16);color:var(--text-primary);text-decoration:none}
.order-main{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-8);min-width:0}
.order-name{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
.order-card .product-meta{margin:0}
.order-card.has-thumb{flex-direction:row;align-items:flex-start;gap:var(--space-16)}
.order-body{display:flex;flex-direction:column;gap:var(--space-8);min-width:0;flex:1 1 auto}
.order-code{margin:0;font-family:var(--type-shop-name-family);font-size:var(--type-shop-name-size);line-height:var(--type-shop-name-lh);font-weight:var(--weight-title)}
.pickup-card{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-24);background:var(--color-orangeSoft);border-radius:var(--radius-16)}
.pickup-card .product-meta{margin:0}
.pickup-card-code{margin:0;color:var(--color-orangeInk);font-family:var(--type-shop-h2-family);font-size:var(--size-40);line-height:var(--size-40);font-weight:var(--weight-heading);letter-spacing:var(--size-2)}
.order-chip-row{display:flex}
.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-16)}
.timeline-step{display:flex;align-items:flex-start;gap:var(--space-12)}
.timeline-mark{display:inline-flex;flex:none;align-items:center;justify-content:center;width:var(--space-24);height:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:50%;color:var(--color-white)}
.timeline-step.is-done .timeline-mark{background:var(--status-success);border-color:var(--status-success)}
.timeline-mark .icon{width:var(--space-16);height:var(--space-16)}
.timeline-text{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
.timeline-label{margin:0;font-weight:var(--weight-label)}
.timeline-text .product-meta{margin:0}
.note-card{position:relative;display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-24);color:inherit;text-decoration:none;background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.note-list{display:flex;flex-direction:column;gap:var(--space-16)}
.note-card.is-unread{padding-left:var(--space-32)}
.note-card.is-unread .note-title{font-weight:var(--weight-title)}
.note-dot{position:absolute;top:calc(var(--space-24) + var(--size-3));left:var(--space-12);width:var(--size-7);height:var(--size-7);border-radius:50%;background:var(--color-shopDot)}
.note-time{color:var(--text-secondary)}
.bell-btn.has-new::after{content:"";position:absolute;top:var(--space-8);right:var(--space-8);width:var(--size-7);height:var(--size-7);border-radius:50%;background:var(--color-shopDot);box-shadow:0 0 0 var(--size-2) var(--surface-subtle)}
.note-title{margin:0;font-family:var(--type-shop-name-family);font-size:var(--type-shop-name-size);line-height:var(--type-shop-name-lh);font-weight:var(--weight-label)}
.note-card .product-meta{margin:0}
.shop-page textarea.input{height:auto;min-height:var(--size-160);padding:var(--space-12) var(--space-16);font:inherit;resize:vertical}

/* Home (flow 65): the hero is a solid orange band (the brand's orange), with the branch pill on it and the five services as tiles in one row (hubHtml's fit). No pattern and no wave. */
.home-hub{display:flex;flex-direction:column;align-items:center;gap:var(--space-24);padding:0 var(--space-16) var(--space-24);background:var(--color-orange);color:var(--text-primary)}
.hub-address{align-self:center;padding-top:var(--space-4)}
/* On the orange band the pill is white at about 40% (the hero's pill fill). */
.hub-address .address-trigger{background:var(--surface-hero-pill)}
/* Save on top brands: a sideways row of pages, four tiles to a page; each tile is the brand's logo with its top rate under it. */
.brand-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-top:var(--size-3)}
.brand-track::-webkit-scrollbar{display:none}
.brand-page{display:grid;grid-template-columns:repeat(4,var(--size-63));gap:var(--space-24);justify-content:center;flex:0 0 100%;scroll-snap-align:start}
.brand-offer{display:flex;flex-direction:column;align-items:center;gap:var(--space-8);min-width:0;color:var(--text-primary)}
.brand-offer .price-tag{align-self:center}
.brand-offer .logo-tile{position:static;width:var(--size-63);height:var(--size-63)}
.branch-pill{display:inline-flex;align-items:center;align-self:flex-start;min-height:var(--control-32);margin:0;padding:var(--space-4) var(--space-16);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-24);color:var(--text-primary);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--weight-label)}
.cat-row{display:flex;justify-content:space-between;gap:var(--space-8)}
/* The branch pill: a button that opens the branch menu (its chevron turns while the menu is open). The reference's location pill is grey. */
.address-trigger{display:inline-flex;align-items:center;gap:var(--space-4);min-height:var(--size-36);position:relative;padding:0 var(--space-12);background:var(--color-pillGrey);border:0;border-radius:var(--radius-24);color:var(--text-primary);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--weight-label);cursor:pointer}
.address-trigger .icon{width:var(--size-14);height:var(--size-14)}
.address-trigger .icon:last-child{transform:rotate(90deg)}
.address-menu[open] .address-trigger .icon:last-child{transform:rotate(-90deg)}
.address-trigger::before{top:calc((var(--size-36) - var(--control-48)) / 2);bottom:calc((var(--size-36) - var(--control-48)) / 2)}
.address-menu .disclosure-list{min-width:var(--size-240)}
/* A category: a round picture with its name under it (the reference's sub-category row). */
.cat-link{display:flex;flex-direction:column;align-items:center;gap:calc(var(--space-4) + var(--size-3));flex:1;min-width:0;color:var(--text-primary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-cat-size);line-height:var(--type-shop-meta-lh);font-weight:var(--type-shop-cat-weight);text-align:center;text-decoration:none}
.cat-round{display:flex;align-items:center;justify-content:center;width:var(--size-57);height:var(--size-57);background:var(--surface-subtle);border:0;border-radius:50%;overflow:hidden}
.cat-round .shop-art{display:block;width:100%;height:100%}
/* A category whose picture is not loaded yet (the icons step): no circle behind it, as the reference's. */
.cat-round.is-blank{background:transparent}
.cat-link[aria-current="true"] .cat-round{box-shadow:inset 0 0 0 var(--stroke-width) var(--action-primary)}
/* The category label in a white pill, as the reference's labels are, on the colour hero. */

/* The offer: the largest approved saving (from the data), with the hero picture. */
.offer-card{display:flex;align-items:center;gap:var(--space-16);padding:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.offer-text{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-8);flex:1;min-width:0}
.offer-art{display:block;flex:none;width:var(--size-120);height:var(--size-120);overflow:hidden;border-radius:var(--radius-16)}
.offer-text .shop-h2{text-wrap:balance}
.carousel-dots{display:flex;justify-content:center;gap:var(--space-4)}
.dot{display:inline-flex;align-items:center;justify-content:center;width:var(--control-48);height:var(--control-48);padding:0 var(--space-16);background:transparent;border:0;cursor:pointer}
.dot-mark{display:block;width:var(--space-8);height:var(--space-8);border-radius:50%;background:var(--border-default)}
.dot[aria-current="true"] .dot-mark{background:var(--text-primary)}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-8)}

/* Round thumbnails of the items: a grid, so the row fits the screen (no sideways scroll). */
.round-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--size-120),1fr));gap:var(--space-16);justify-items:center}
.round-item{display:flex;flex-direction:column;align-items:center;gap:var(--space-8);width:100%;color:var(--text-primary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);font-weight:var(--weight-label);text-align:center;text-decoration:none}
.round-item .price-tag{align-self:center}
.round-pic{display:block;width:var(--size-80);height:var(--size-80);border-radius:50%;overflow:hidden;background:var(--surface-subtle)}
.round-pic .shop-art{display:block;width:100%;height:100%}
.round-name{font-family:var(--type-shop-name-family);font-size:var(--type-shop-name-size);line-height:var(--type-shop-name-lh);font-weight:var(--weight-label)}

/* Horizontal tiles (available to pick up, the reference's top-brand cards): a picture, the name and the price. They scroll sideways;
   each tile keeps its width and snaps to the start. */
.tile-row{display:flex;gap:var(--space-16);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:var(--space-4)}
.pick-tile{display:flex;flex:0 0 var(--size-160);flex-direction:column;gap:var(--space-8);min-width:0;color:var(--text-primary);text-decoration:none;scroll-snap-align:start}
.pick-photo{position:relative;display:block;height:var(--size-120);border-radius:var(--radius-16);overflow:hidden;background:var(--surface-subtle)}
.pick-photo .shop-art{display:block;width:100%;height:100%}
/* The store's logo box on a tile: a small round mark at the top left of the picture. */
.pick-photo .logo-tile{left:var(--space-8);top:var(--space-8);bottom:auto;width:var(--control-32);height:var(--control-32)}
.pick-photo .logo-tile .shop-art{width:var(--space-16);height:var(--space-16)}
.pick-name{font-family:var(--type-shop-name-family);font-size:var(--type-shop-name-size);line-height:var(--type-shop-name-lh);font-weight:var(--weight-label)}
.pick-price{font-family:var(--type-shop-price-family);font-size:var(--type-shop-price-size);line-height:var(--type-shop-price-lh);font-weight:var(--type-shop-price-weight)}
.pick-price s{color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-weight:var(--weight-body)}

/* Pick-up window cards (the reference's store list): an icon, the window and the count of items, and a chevron. */
.window-list{display:flex;flex-direction:column;gap:var(--space-24)}
.window-card{display:flex;align-items:center;gap:var(--space-16);padding:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16);color:var(--text-primary);text-decoration:none}
.window-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:var(--control-48);height:var(--control-48);border-radius:50%;background:var(--color-greenSoft);color:var(--status-success)}
.window-icon .icon{width:var(--size-icon);height:var(--size-icon)}
.window-text{display:flex;flex:1;flex-direction:column;gap:var(--space-4);min-width:0}
.window-label{font-family:var(--type-shop-h2-family);font-size:var(--type-shop-h2-size);line-height:var(--type-shop-h2-lh);font-weight:var(--weight-title)}
.window-hours{color:var(--text-secondary);font-family:var(--type-shop-body-family);font-size:var(--type-shop-body-size);line-height:var(--type-shop-body-lh)}
.window-count{color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.window-go{display:inline-flex;flex:none;width:var(--size-icon);height:var(--size-icon);color:var(--text-action)}
.window-go .icon{width:var(--size-icon);height:var(--size-icon)}

/* The map (flow 79): a schematic picture with two pins, a card for each branch with its distance, and the store's link to it. */
.map-figure{margin:0}
.map-figure .shop-art{display:block;width:100%;height:auto;border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.map-legend{display:flex;flex-direction:column;gap:var(--space-24);margin:0;padding:0;list-style:none}
.map-row{display:flex;align-items:center;gap:var(--space-16);padding:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.map-row[aria-current="true"]{border-color:var(--action-primary)}
.map-text{display:flex;flex:1;flex-direction:column;gap:var(--space-8);min-width:0}
.map-name{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-8);margin:0;font-family:var(--type-shop-name-family);font-size:var(--type-shop-name-size);line-height:var(--type-shop-name-lh);font-weight:var(--weight-title)}
.legend-pin{display:block;flex:none;width:var(--space-16);height:var(--space-16);border-radius:50%}
.legend-pin.is-orange{background:var(--action-primary)}
.legend-pin.is-green{background:var(--status-success)}
.map-link{display:inline-flex;align-items:center;margin-left:var(--space-8);color:var(--text-action);vertical-align:middle}
.map-link .icon{width:var(--size-icon);height:var(--size-icon)}

/* The shop banner (Home's group banner, Discover's best promotion): a green band, an icon on a cream circle, and white text. */
.shop-banner{display:flex;align-items:center;gap:var(--space-16);padding:var(--space-24);background:var(--status-success);color:var(--color-white);border-radius:var(--radius-16)}
.banner-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:var(--control-48);height:var(--control-48);border-radius:50%;background:var(--color-cream);color:var(--status-success)}
.banner-icon .icon{width:var(--size-icon);height:var(--size-icon)}
.banner-text-col{display:flex;flex:1;flex-direction:column;gap:var(--space-8);min-width:0}
.banner-title{margin:0;font-family:var(--type-shop-h2-family);font-size:var(--type-shop-h2-size);line-height:var(--type-shop-h2-lh);font-weight:var(--weight-title)}
.banner-text{margin:0;font-family:var(--type-shop-body-family);font-size:var(--type-shop-body-size);line-height:var(--type-shop-body-lh)}
.banner-label{margin:0;font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--weight-label)}

/* Discover: the search pill (a field with a leading icon), the filter pill, and the count with Reset. The reference's search is grey, with
   no outline; its focus shows as a ring inside the pill. */
.search-pill{display:flex;align-items:center;gap:var(--space-8);min-height:var(--control-40);padding:0 var(--space-8) 0 var(--space-16);background:var(--surface-shop-search);border:0;border-radius:var(--radius-24);box-shadow:inset 0 0 0 var(--stroke-width) var(--color-shellDeep)}
.search-pill:focus-within{box-shadow:inset 0 0 0 var(--stroke-width) var(--focus-ring)}
.search-pill .input{flex:1;min-width:0;padding:0;border:0;background:transparent;box-shadow:none;font-family:var(--type-shop-body-family);font-size:var(--type-shop-body-size);line-height:var(--type-shop-body-lh)}
.search-icon{display:inline-flex;flex:none;width:var(--size-21);height:var(--size-21);color:var(--text-secondary)}
.search-icon .icon{width:var(--size-21);height:var(--size-21)}
.shop-controls .btn,.shop-page .dd-trigger{border-radius:var(--radius-24)}
.count-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-8)}
.count-row .btn{width:auto}

/* List (Discover, the reference's groceries list): the chip row sticks to the top while the list scrolls. The background matches the
   screen so the cards pass under it without showing through. */
.sticky-band{position:sticky;z-index:2;display:flex;flex-direction:column;gap:var(--space-8);margin:0 calc(-1 * var(--space-16));padding:var(--space-8) var(--space-16);background:var(--surface-shop-canvas)}
/* The condensed header (the back chevron and the search) is pinned up over the list's top padding (space-8), so no scrolled content
   shows above it. The chip row's offset counts from the list's content edge, which puts it just under the header's search row (the
   header's own bottom padding is covered). */
.sticky-band.is-top{top:calc(-1 * var(--space-8))}
.device.is-stuck .sticky-band{box-shadow:var(--shadow-chip)}
.sticky-band.is-chips{top:calc(var(--control-48) + var(--space-8))}
.sticky-band.is-chips .shop-controls{margin-inline:calc(var(--size-6) * -1)}
.sticky-band.list-head{flex-direction:row;align-items:center;padding-inline:calc(var(--space-16) - var(--size-3))}
.list-head .shop-field{flex:1;min-width:0}
.shop-controls>*{flex:none}
.shop-controls .btn{width:auto;padding:0 var(--space-24)}
/* The chip row's dropdowns are as wide as their label and chevron (the reference's "Category" and "Sort by" are about 100 and 88 px), not a fixed 160 px, so the row fits the phone as the reference's does. */
.shop-controls .dd{width:auto;position:static}
.shop-controls .dd-trigger{gap:calc(var(--space-12) + var(--size-1));height:var(--control-28);position:relative;border:0;border-radius:var(--radius-24);background:var(--surface-shop-chip);padding:0 var(--space-12);font-family:var(--type-shop-label-family);font-size:var(--type-shop-chip-size);line-height:var(--type-shop-chip-lh);font-weight:var(--type-shop-chip-weight)}
/* The chip row's dropdowns show a thin chevron (the reference's), not the shared triangle. */
.shop-controls .dd-trigger::after{width:var(--space-8);height:var(--space-8);border-top:0;border-left:0;border-right:var(--size-1) solid var(--text-primary);border-bottom:var(--size-1) solid var(--text-primary);transform:translate(calc(var(--size-2) * -1), calc(var(--size-2) * -1)) rotate(45deg)}
/* The chip row scrolls sideways, and a scrolling box clips what opens from it. Its menus are placed against the sticky block instead
   (it is positioned), so an open menu shows in full under the chips, on the gutter. */
.sticky-band.is-chips .dd-menu{top:calc(100% + var(--space-8));left:var(--space-16);right:var(--space-16);width:auto;min-width:0}
/* The category row scrolls sideways on Discover; each link keeps its width (on Home the links spread across the hero). */
/* The sideways rows (categories, chips, brands) scroll by touch; their bars are hidden, as on a phone. */
.cat-row.is-scroll{justify-content:flex-start;gap:0;margin-inline-start:calc(var(--space-16) * -1);padding-inline-start:calc(var(--space-16) - var(--space-8));overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:0;scrollbar-width:none}
.cat-row.is-scroll::-webkit-scrollbar,.shop-controls::-webkit-scrollbar,.brand-row::-webkit-scrollbar{display:none}
.cat-row.is-scroll .cat-link{flex:0 0 calc(var(--size-72) + var(--space-4));scroll-snap-align:start}

/* Store page (the reference's store): the picture with the category's tile over its corner, the name with a round arrow, the pickup
   mode pill, and the top bar's title once the picture has scrolled away. */
.item-hero{position:relative}
/* The category tile over the picture is .logo-tile (the card and the store page share it). */
.item-title-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-8)}
.item-title-row .shop-title{min-width:0}
.round-arrow{display:inline-flex;flex:none;align-items:center;justify-content:center;width:var(--control-48);height:var(--control-48);background:var(--surface-subtle);border:0;border-radius:50%;color:var(--text-primary);text-decoration:none}
.round-arrow .icon{width:var(--size-icon);height:var(--size-icon)}
/* The store header's arrow is a 28 px circle at the 13 px inset, as the reference (11.5 s frame). Its 10 px margins keep the title row 48 px tall, as before; its 48 px touch area is added by ::before. */
.round-arrow.is-small{position:relative;width:var(--size-28);height:var(--size-28);margin:var(--size-10) calc(var(--size-3) * -1)}
.round-arrow.is-small::before{content:"";position:absolute;inset:calc(var(--size-10) * -1)}
.round-arrow.is-small .icon{width:var(--space-12);height:var(--space-12)}
/* Pickup or Delivery: a two-part choice. The part in use is orange-soft; the part not offered is grey and cannot be pressed. */
.mode-group{display:flex;flex-direction:column;gap:var(--space-8)}
.shop-page .notice:not(.is-warning):not(.is-success):not(.is-danger){background:var(--surface-subtle)}
.shop-page .notice:not(.is-warning):not(.is-success):not(.is-danger) .alert-title{color:var(--text-primary)}
.fulfil-list{display:flex;flex-direction:column;gap:var(--space-16);margin:0;padding:0;list-style:none}
.fulfil-row{display:flex;align-items:center;gap:var(--space-16)}
.fulfil-mark{display:flex;align-items:center;justify-content:center;flex:none;width:var(--control-40);height:var(--control-40);border-radius:50%;background:var(--surface-subtle)}
.fulfil-row>div{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
.fulfil-name{margin:0;font-family:var(--type-shop-label-family);font-weight:var(--type-shop-fact-weight)}
.fulfil-row.is-off{color:var(--text-secondary)}
.segmented{display:flex;overflow:hidden;background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-24)}
.seg{display:inline-flex;flex:1;align-items:center;justify-content:center;min-height:var(--control-48);margin:0;padding:0 var(--space-16);background:transparent;border:0;color:var(--text-primary);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--weight-label);cursor:pointer}
.seg+.seg{border-left:var(--border-width) solid var(--border-default)}
.seg.is-on{background:var(--color-orangeSoft);color:var(--text-action)}
/* The store's mode choice: two boxes (the reference's Delivery and Pickup), each with its mark; the chosen box has the 2 px dark border. */
/* Measured on the reference's 11.6 s frame by ink box: the boxes sit 1 px higher than the flow puts them, and their labels 1 px higher still
   (the label's ink centre is about 2.5 px below the box centre in the flow; the reference's is level with it). */
.segmented.is-boxes{position:relative;top:calc(var(--size-2) / -2);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--size-10);margin-inline:calc(var(--size-3) * -1);overflow:visible;background:transparent;border:0;border-radius:0}
.segmented.is-boxes .seg > span{position:relative;top:calc(var(--size-2) / -2)}
/* The reference's mode boxes: the icon sits at the left (its centre 21 px in, the box edge measured on the reference's 11.6 s frame) and the label starts 47 px in, the same in both boxes.
   The box keeps its 16 px padding; the icon is pulled 7 px back. The box's tap area is 48 px: the ::before adds 3 px above and below the 42 px box. */
.segmented.is-boxes .seg{position:relative;min-height:var(--control-42);justify-content:flex-start;gap:var(--space-16);border:var(--border-width) solid var(--color-shopBoxBorder);border-radius:var(--radius-8);background:var(--surface-default);color:var(--text-primary)}
.segmented.is-boxes .seg::before{content:"";position:absolute;inset:calc(var(--size-3) * -1) 0}
.segmented.is-boxes .seg.is-on{background:var(--surface-default);color:var(--text-primary);border:var(--stroke-width) solid var(--text-primary)}
.segmented.is-boxes .seg .icon{width:var(--size-icon);height:var(--size-icon);margin-inline-start:calc(var(--space-8) * -1 + var(--size-2) / 2)}
.seg:disabled{color:var(--color-disabled);cursor:default}
/* The top bar's title: empty space until the picture has scrolled away (it keeps the buttons apart), then the name on a white bar. */
.top-title{flex:1;min-width:0;overflow:hidden;opacity:0;font-family:var(--type-shop-name-family);font-size:var(--type-shop-name-size);line-height:var(--type-shop-name-lh);font-weight:var(--weight-label);white-space:nowrap;text-overflow:ellipsis}
.device.is-photo.is-scrolled .top-title{opacity:1}
.device.is-photo.is-scrolled .shop-top .icon-btn:not(.cart-btn)::before{background:var(--surface-subtle)}
.device.is-photo.is-scrolled .shop-top{background:var(--surface-shop-sheet)}

/* The store page's round buttons over the picture (the favourite toggle and the ⋮ menu), under the top bar. The menu is a native
   disclosure; its items sit in a card over the picture. */
.hero-actions{position:absolute;top:calc(var(--control-40) + var(--space-16));right:var(--space-16);z-index:2;display:flex;gap:var(--space-8)}
/* A disclosure menu (the ⋮ menu and the branch menu): the summary opens a card of links under it. */
.disclosure{position:relative}
.disclosure summary{list-style:none;cursor:pointer}
.disclosure summary::-webkit-details-marker{display:none}
.disclosure-list{position:absolute;top:calc(var(--control-40) + var(--space-8));left:0;z-index:5;display:flex;flex-direction:column;min-width:var(--size-240);padding:var(--space-8);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.hero-actions .disclosure-list{left:auto;right:0}
.menu-item{display:flex;align-items:center;min-height:var(--control-48);padding:0 var(--space-16);border-radius:var(--radius-8);color:var(--text-primary);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--weight-label);text-decoration:none}
/* The address menu: each address is two lines, its label and its text; the current address is tinted. */
.address-menu .menu-item{flex-direction:column;align-items:flex-start;justify-content:center;gap:var(--space-4);padding:var(--space-8) var(--space-16)}
.address-menu .menu-item-text{font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);font-weight:var(--weight-body);color:var(--text-secondary)}
.address-menu .menu-item[aria-current="true"]{background:var(--surface-shop-chip)}
/* Also sold by (the item page): one row per other store that sells the product. */
.also-list{display:flex;flex-direction:column;gap:var(--space-8);margin:0;padding:0;list-style:none}
.also-row,.seller-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);min-height:var(--control-48);padding:var(--space-12) var(--space-16);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16);color:var(--text-primary);text-decoration:none}
.also-store,.seller-text{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
/* The seller (the item page, under the name): the store's logo tile, its name and distance, and a chevron to the store. The logo is in the row, not over the picture. */
.seller-logo{display:flex;flex:none}
.seller-logo .logo-tile{position:static}
.seller-text{flex:1}
.seller-chev{display:flex;flex:none;color:var(--text-secondary)}
.seller-chev .icon{width:var(--size-icon);height:var(--size-icon)}
.footer-link{display:flex;align-items:center;justify-content:center;min-height:var(--control-48);color:var(--text-action);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--weight-label);text-decoration:underline}
/* The delivery store's fees line: no underline, grey, and it sticks to the foot of the screen (the reference's "Fees information"). */
/* The store's fees line sticks to the foot of the screen, down to the screen's edge: the shop body pads its foot, so the sticky line is pulled down by that
   pad, and its own pad keeps the white band under the text (the reference's bar, 25 to 31 s). */
.footer-link.is-fees{position:sticky;bottom:calc(var(--space-24) * -1);min-height:var(--space-64);padding-top:var(--space-4);padding-bottom:var(--space-32);gap:var(--space-8);z-index:1;color:var(--text-secondary);font-weight:var(--weight-body);text-decoration:none;background:var(--surface-default)}
.footer-link.is-fees .icon{width:var(--size-14);height:var(--size-14)}

/* The store page (flow 78) and the store card on Home: the reference's store layout (a row of product cards, the store card with its
   picture and pickup line, the free-pickup mark). Tokens only. */
.product-row{display:grid;grid-auto-flow:column;grid-auto-columns:var(--size-240);gap:var(--space-16);overflow-x:auto;scrollbar-width:none}
.product-row::-webkit-scrollbar{display:none}
.store-card{position:relative;overflow:hidden;background:var(--surface-default);border:0;border-radius:var(--radius-16)}
.store-link{display:block;color:var(--text-primary);text-decoration:none}
/* A store's picture is short (the reference's store card: a picture, then the name and the line of pickup facts). */
.store-photo{display:block;position:relative;height:var(--size-140);background:var(--color-orangeSoft)}
.store-photo .shop-art{display:block;width:100%;height:100%}
/* Groceries (the reference's list): the Top brands cards, and Your local shops as a sideways row of store cards with the sponsored branch
   in a list below. The rows scroll sideways; the cards keep their size. */
/* The Top brands grid (the reference's): two columns of three cards, filled top to bottom, scrolling sideways. */
.brand-row{display:grid;grid-template-rows:repeat(3,auto);grid-auto-flow:column;grid-auto-columns:var(--size-272);gap:var(--size-10) calc(var(--space-12) + var(--size-2));margin-inline:calc(var(--size-3) * -1);overflow-x:auto;padding-bottom:0;scrollbar-width:none}
.brand-card{display:grid;flex:none;grid-template-columns:var(--size-56) minmax(0,1fr);align-items:center;gap:var(--space-12);width:var(--size-272);height:var(--size-84);padding:var(--space-12);color:inherit;text-decoration:none;background:var(--surface-default);border:0;border-radius:var(--radius-16);box-shadow:var(--shadow-brand-card)}
.brand-logo{display:flex;align-items:center;justify-content:center;width:var(--size-56);height:var(--size-56);overflow:hidden;background:var(--surface-default);border-radius:var(--radius-12)}
.brand-logo .shop-art{display:block;width:100%;height:100%}
/* A brand whose logo is not loaded yet (the brands step): an empty tile with a light outline, as the reference's. */
.brand-logo.is-blank{background:transparent;box-shadow:0 0 0 var(--size-2) var(--color-shellBack)}
/* The store cards as the reference draws them (measured on the 17.2 s frame, Home's Your local shops): a row card 280 wide with 12 between
   the cards, the picture 140 high, the logo tile 56 at 6 from the picture's left and bottom, and the heart a 32 circle 8 from the card's top
   and right. The heart's button is the 48 touch area; its white disc is the ::before, drawn 8 in from the button's edge. */
.store-row{display:flex;gap:var(--size-10);margin-inline:calc(var(--size-3) * -1);overflow-x:auto;padding-bottom:var(--space-4)}
.store-row .store-card{flex:none;width:var(--size-283)}
.store-photo .logo-tile{left:var(--size-6);bottom:var(--size-6);width:var(--size-56);height:var(--size-56)}
.store-card .fav-btn{top:0;right:0;background:none}
.store-card .fav-btn::before{content:"";position:absolute;z-index:-1;inset:var(--space-8);border-radius:50%;background:var(--surface-default)}
.store-list{display:flex;flex-direction:column;gap:var(--space-16)}
.store-body{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-4);padding:var(--space-12) 0}
.fee-free{display:inline-flex;align-items:center;gap:var(--space-4);color:var(--status-success);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);font-weight:var(--weight-label)}
.fee-free .icon{width:var(--size-icon);height:var(--size-icon)}
.store-promo{margin:0;display:flex;line-height:var(--type-shop-tag-lh)}
/* The store's section tabs run on one line and scroll sideways (the reference's tab row); a promotion tag in a narrow grid card wraps. */
.store-tabs{overflow-x:auto;scrollbar-width:none}
.store-tabs::-webkit-scrollbar{display:none}
/* The store's tabs as the reference's: the name size, ink, the current tab bold; the row starts at the page edge (the tabs' own 8 px). */
.store-tabs{padding-inline:0;overflow-x:auto;scrollbar-width:none}
.store-tabs{gap:0}
.store-tabs .item-tab{flex:none;white-space:nowrap;padding-inline:var(--size-10);font-size:var(--type-shop-name-size);line-height:var(--type-shop-name-lh);font-weight:var(--weight-body);letter-spacing:var(--type-shop-tab-tracking);color:var(--text-primary)}
.store-tabs .item-tab[aria-current="true"]{font-weight:var(--weight-title);letter-spacing:var(--type-shop-tab-current-tracking)}
/* The store's tab rule runs under the tabs only (it ends after the last tab, as the reference's 11.5 s frame), and the current tab's mark is 3 px and sits on it. */
.store-tabs{border-bottom:0}
.store-tabs .item-tab{margin-bottom:0;padding-top:var(--space-4);border-bottom:var(--border-width) solid var(--border-default)}
.store-tabs .item-tab[aria-current="true"]{padding-top:var(--size-6);border-bottom:var(--size-3) solid var(--text-primary)}
/* The store's -10% tag takes its size and padding from the shared price tag (tokens.css). */
.store-section .price-tag{white-space:normal;text-align:left}
/* The grid's tag line starts 4 px higher than the flow puts it, and the next row follows it (the reference's 27 s frame, measured from the picture's top: the tag at 218.5, the flow at 222; the next row 15.5 px under the tag's foot). */
.store-section .product-grid .price-save{margin-top:calc(var(--space-4) * -1)}

/* Store header and cards: the top bar shows the name and the pickup line once scrolled; the store hero steps down; the pickup walk line
   on each card; the Sponsored store card and its promo note; the loading picture of a card. Tokens only. */
.top-title>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top-meta{font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);font-weight:var(--weight-body);color:var(--text-secondary)}
.top-walk{display:inline-flex;align-items:center;vertical-align:middle}
.top-walk .icon{width:var(--size-14);height:var(--size-14)}
.shop-top .more-menu{position:relative}
.shop-top .more-menu .disclosure-list{left:auto;right:0}
/* The store's hero shrinks with the scroll: its picture runs from --size-280 down to --size-200 as --hero-p goes from 0 to 1. */
.store-hero .item-photo{height:calc(var(--size-80) - var(--hero-p, 0) * (var(--size-80) - var(--control-32)))}
/* The store's retailer logo sits on the picture's bottom edge, at the reference's size (56); the title follows the picture closely. */
/* The store's body starts 5 px higher (space-16 plus size-3): the title and the chips sit where the reference's do (its title at 158 px, its chips at 199 px, measured on the 11.5 s frame). */
.store-hero + .item-body{padding-top:calc(var(--space-16) + var(--size-6))}
.store-hero .logo-tile.is-large.is-brand{width:var(--size-56);height:var(--size-56);bottom:calc(var(--size-56) / -4)}
.store-hero .item-photo .shop-art{height:100%}
.card-walk{display:flex;align-items:center;gap:var(--space-4)}
.card-walk .icon{width:var(--size-icon);height:var(--size-icon);flex:none}
.product-photo.skeleton-photo{height:auto;aspect-ratio:1 / 1;background:var(--surface-subtle)}
/* Moving between shop screens (a real page change, from goTo) is a horizontal slide inside the phone frame, as on the reference video (checklist
   row 60). The frame is the transition's element, so the desktop stage stays still, and the frame clips the slide. A forward move brings the
   new screen in from the right and sends the old one to the left. A Back button does the reverse (shop-transition.js sets data-nav="back" on the new page).
   Reduced motion turns the movement off. */
@view-transition{navigation:auto}
.device{view-transition-name:shop-device}
::view-transition-group(root),::view-transition-old(root),::view-transition-new(root){animation:none}
::view-transition-group(shop-device){overflow:clip;animation-duration:var(--motion-page);animation-timing-function:var(--motion-ease-page)}
::view-transition-old(shop-device),::view-transition-new(shop-device){mix-blend-mode:normal;animation-duration:var(--motion-page);animation-timing-function:var(--motion-ease-page);animation-fill-mode:both}
::view-transition-old(shop-device){animation-name:shop-page-out-left}
::view-transition-new(shop-device){animation-name:shop-page-in-right}
:root[data-nav="back"]::view-transition-old(shop-device){animation-name:shop-page-out-right}
:root[data-nav="back"]::view-transition-new(shop-device){animation-name:shop-page-in-left}
@keyframes shop-page-out-left{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@keyframes shop-page-in-right{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes shop-page-out-right{from{transform:translateX(0)}to{transform:translateX(100%)}}
@keyframes shop-page-in-left{from{transform:translateX(-100%)}to{transform:translateX(0)}}
/* A Home category icon opens the next screen as a circle that grows from the icon (the reference's Groceries tap). The old screen stays as it
   was (it holds for the same time, so the browser keeps the transition open for the circle). The circle's origin and final radius are the
   tap and the frame's farthest corner, in px, written into its keyframes by shop-transition.js. Reduced motion turns the movement off. */
:root[data-nav="circle"]::view-transition-group(shop-device){animation-duration:var(--motion-reveal)}
:root[data-nav="circle"]::view-transition-old(shop-device){animation-name:shop-page-hold;animation-duration:var(--motion-reveal);animation-timing-function:var(--motion-ease-page);animation-fill-mode:both}
@media (prefers-reduced-motion: no-preference){:root[data-nav="circle"]::view-transition-new(shop-device){animation-name:shop-page-reveal-circle;animation-duration:var(--motion-reveal);animation-timing-function:var(--motion-ease-page);animation-fill-mode:both}}
@keyframes shop-page-hold{from{opacity:1}to{opacity:1}}
@media (prefers-reduced-motion: reduce){::view-transition-group(root),::view-transition-old(root),::view-transition-new(root),::view-transition-group(shop-device),::view-transition-old(shop-device),::view-transition-new(shop-device){animation:none}}

/* The shell: the loading picture of a shop screen (components/shop-shell.js), at the reference's measured places in its 384 px frame (12 Nov 2026,
   the frame at 2.63 s): the back circle, the title bar, the search bar, five round icons, four pills, the heading and the two cards with their lines.
   The shell has no gutter: each block sets its own place, and the blocks of the column follow each other with the measured spaces (the tokens).
   The shell's grey is light; the head step's cards are deeper (the frame at 3.38 s). */
.shop-main.is-shell{display:flex;flex-direction:column;gap:0;padding:var(--space-4) 0 0;overflow:hidden}
.shell-row{display:flex;align-items:center;flex:none}
.shell-row.is-top{margin-inline-start:calc(var(--space-16) + var(--size-1))}
.shell-back{flex:none;width:var(--size-36);height:var(--size-36);padding:0;background:var(--color-shellBack);border-color:var(--color-shellBack)}
.shell-bar,.shell-round,.shell-pill,.shell-card,.shell-line{flex:none;background:var(--color-shellLight)}
/* The opening's shell darkens over its step (the reference's grey goes from 239 to 214 by 3.23 s, ease-in-out). The step's first frame is the light grey. */
.is-shell.is-opening .shell-bar,.is-shell.is-opening .shell-round,.is-shell.is-opening .shell-pill,.is-shell.is-opening .shell-card,.is-shell.is-opening .shell-line{animation:shell-darken var(--motion-groceries-shell-darken) var(--motion-ease-shell) both}
@keyframes shell-darken{from{background:var(--color-shellLight)}to{background:var(--color-shellDeep)}}
.shell-bar{border-radius:var(--radius-24)}
.shell-bar.is-title{margin:var(--size-1) 0 0 var(--size-10);width:var(--size-174);height:var(--size-37)}
.shell-bar.is-search{margin:calc(var(--space-16) + var(--size-5)) calc(var(--space-16) - var(--size-3)) 0;height:var(--size-37)}
.shell-row.is-round{margin:calc(var(--space-24) + var(--size-7)) 0 0 calc(var(--space-16) + var(--size-2));gap:calc(var(--space-24) + var(--size-2))}
.shell-round{width:var(--size-57);height:var(--size-57);border-radius:50%}
.shell-row.is-pills{margin:calc(var(--space-24) + var(--size-3)) 0 0 var(--size-10);gap:var(--size-10)}
.shell-pill{width:var(--size-100);height:var(--size-30);border-radius:var(--radius-24)}
.shell-bar.is-heading{margin:calc(var(--space-32) + var(--size-7)) 0 0 var(--size-10);width:var(--size-174);height:var(--size-30)}
.shell-cards{display:flex;flex-direction:column;margin-top:calc(var(--space-16) - var(--size-3))}
.shell-card{height:var(--size-146);margin-inline:calc(var(--space-8) + var(--size-1));border-radius:var(--radius-16)}
.shell-card.is-second{margin-top:var(--size-10);height:var(--size-145)}
.shell-line{height:var(--size-19);margin-inline-start:calc(var(--space-8) + var(--size-1));border-radius:var(--radius-24)}
.shell-line.is-long{margin-top:var(--size-6);width:var(--size-117)}
.shell-line.is-short{margin-top:var(--size-3);width:var(--size-72)}
.shell-cards.is-deep{margin-top:calc(var(--space-32) + var(--size-9))}
.shell-cards.is-deep .shell-card{height:var(--size-145)}
.shell-cards.is-deep .shell-card.is-second{height:var(--size-146)}
.shell-cards.is-deep .shell-card,.shell-cards.is-deep .shell-line{background:var(--color-shellDeep)}
/* The opening's steps after the shell (the reference's timed steps, tokens in tokens.css): each step is a named state. Its marker holds for the
   step's measured time, and the step ends when that hold ends (areas/shop/groceries.js). The loaded list fades in over its arrival time. */
.step-clock{position:absolute;width:0;height:0;overflow:hidden}
.step-clock.is-playing{animation-name:groceries-hold;animation-timing-function:linear;animation-fill-mode:both}
.step-clock.is-shell.is-playing{animation-duration:var(--motion-groceries-shell)}
.step-clock.is-head.is-playing{animation-duration:var(--motion-groceries-head)}
.step-clock.is-brands.is-playing{animation-duration:var(--motion-groceries-brands)}
.step-clock.is-icons.is-playing{animation-duration:var(--motion-groceries-icons)}
.step-clock.is-logos.is-playing{animation-duration:var(--motion-groceries-logos)}
@keyframes groceries-hold{from{opacity:1}to{opacity:1}}
/* The chip row's fade (the reference's, 3.50 to 3.70 s): one curve from the brand step's start. Each re-rendered step starts its element at the
   phase the element it replaces had reached (--chip-phase, set by groceries.js), so the fade runs on without a jump. The loaded list's row ends its
   fade as it arrives (its animationend clears the arrival, groceries.js); the list itself is solid from its first frame. */
.shop-controls.is-fade{animation:chip-fade var(--motion-groceries-chip) var(--motion-ease-chip) both;animation-delay:calc(var(--chip-phase, 0ms) * -1)}
@keyframes chip-fade{from{opacity:var(--opacity-shop-chip-start)}to{opacity:1}}


.product-photo,.store-photo{background:var(--surface-subtle)}


/* Groceries: the top row (back and the branch menu), the condensed head (back and search on one row, shown once the title has scrolled out),
   and the on state of a chip (solid, as the reference's Pickup chip). Each back is hidden in the other head, so one back is visible. */
/* The top row: back at the left, the branch pill centred on the page (the reference's 11.5 to 21 s frames). */
.groceries-top{display:grid;grid-template-columns:var(--size-36) minmax(0,1fr) var(--control-40);align-items:center;gap:var(--space-8)}
.groceries-top .address-menu{justify-self:center}
/* The Reset of the pickup list is a grey chip, as the reference's (34 px high, the chip's type, 48 px tap area). */
.btn.btn-chip{position:relative;flex:none;width:auto;height:var(--size-34);min-width:0;padding:0 var(--space-16);border:0;border-radius:var(--radius-24);background:var(--color-pillGrey);color:var(--text-primary);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--weight-label)}
.btn.btn-chip::before{content:"";position:absolute;left:0;right:0;top:calc((var(--size-34) - var(--control-48)) / 2);bottom:calc((var(--size-34) - var(--control-48)) / 2)}
/* Groceries sits as the reference's does (measured with a 10 px ruler on the frame): the top row 8 px up, the title close under it, the search close
   under the title, and the chips close under the category labels (the body gap between rows is 24 px). */
.groceries-top{margin-top:calc(var(--space-8) * -1 + var(--space-4))}
.groceries-top + .shop-title{margin-top:calc(var(--space-24) * -1 + var(--space-4) + var(--size-3))}
.groceries-top + .shop-title + .list-head{margin-top:calc(var(--space-16) * -1 + var(--space-4))}
.shop-title + .list-head{margin-top:calc(var(--space-16) * -1)}
.cat-row + .sticky-band.is-chips{margin-top:calc(var(--space-24) * -1 + var(--space-4))}
/* The Groceries list's fit to the reference's 3.8 s frame (12 Nov 2026): the title 1 px higher, the category row 2 px higher, the chips 1 px higher than the rules above; the search field stays put. */
.groceries-top + .shop-title.is-list{margin-top:calc(var(--space-24) * -1 + var(--space-4) + var(--size-3) - var(--size-1))}
.groceries-top + .shop-title.is-list + .list-head{margin-top:calc(var(--space-16) * -1 + var(--space-4) + var(--size-1))}
.shop-title.is-list + .list-head + .cat-row{margin-top:calc(var(--size-2) * -1)}
.shop-title.is-list + .list-head + .cat-row + .sticky-band.is-chips{margin-top:calc(var(--space-24) * -1 + var(--space-4) + var(--size-1))}
/* The back button and the search field are drawn at 40 px (the reference's are about 36); their touch area is 48 px, as the chips' is. */
.groceries-top .icon-btn,.list-head .head-back{width:var(--control-40);height:var(--control-40);padding:0}
/* The top row's back circle is the reference's 36 px; its touch area stays 48 px. */
.groceries-top .icon-btn{width:var(--size-36);height:var(--size-36)}
.groceries-top .icon-btn::before{inset:calc((var(--size-36) - var(--control-48)) / 2)}
.groceries-top .icon-btn::before,.list-head .head-back::before,.list-head .search-pill::before{content:"";position:absolute;inset:calc((var(--control-40) - var(--control-48)) / 2)}
.list-head .search-pill{position:relative;height:var(--control-40)}
/* The Groceries search bar is 36 px high, 2 px lower than the head's top padding, as the reference's (11.5 to 21 s frames). */
.list-head.is-short{padding-top:calc(var(--space-8) + var(--size-2))}
.list-head.is-short .search-pill{height:var(--size-37);min-height:var(--size-37)}
/* The pickup list's count row sits lower, and its list 8 px further below the count row, as the reference's 21 s frame. */
.shop-section.is-results.is-list{margin-top:0;gap:var(--space-16)}
.shop-page .list-head.is-short .search-pill .input{height:var(--size-36)}
.shop-page .list-head .search-pill .input{height:var(--control-40)}
/* Clear search sits inside the 40 px pill: it is drawn at 32 px and its 48 px touch area comes from ::before, as the chips' does. */
.search-pill .btn{position:relative;height:var(--control-32)}
.search-pill .btn::before{content:"";position:absolute;left:0;right:0;top:calc((var(--control-32) - var(--control-48)) / 2);bottom:calc((var(--control-32) - var(--control-48)) / 2)}
.list-head .head-back{display:none}
.device.is-compact .list-head .head-back{display:inline-flex}
.device.is-compact .groceries-top{display:none}
/* The compact head (the title has scrolled out) is the search row alone at the top of the screen, with no band padding: the reference's 8 s and
   9 s frames put the search text at 57 to 65 and the chip row's text at 98 to 107 (measured 12 Nov 2026). */
.device.is-compact .sticky-band.list-head{padding-block:0}
/* ...and the chip row sticks directly under that head (the head's height less the band's top offset, measured from the scrolling screen). */
.device.is-compact .sticky-band.is-chips{top:calc(var(--control-40) - var(--space-8))}

/* The Free tag of a brand or store card: the reference's red tag (white text, and the walk mark in white). */
.brand-free{display:inline-flex;align-items:center;gap:var(--space-4);padding:var(--size-2) var(--space-4);background:var(--color-shopTagRed);color:var(--color-white);border-radius:var(--radius-4);font-family:var(--type-shop-tag-family);font-size:var(--type-shop-tag-size);line-height:var(--type-shop-tag-lh);font-weight:var(--weight-title)}
.brand-free .icon{width:var(--size-icon);height:var(--size-icon);color:var(--color-white)}
/* The Free tag on a store card is the reference's small red pill (about 16 high, its icon about 14). */
.brand-free.is-small .icon{width:var(--size-14);height:var(--size-14)}
/* The walk mark and the distance on a store card (the reference's card line: rating, the walk mark with the distance, then the time). */
.walk-line{display:inline-flex;align-items:center;gap:var(--space-4)}
.walk-line .icon{width:var(--size-icon);height:var(--size-icon)}

/* The store hero picture has its grey placeholder behind it until it loads. */
.item-photo{background:var(--surface-subtle)}

/* The welcome gift on Groceries and Discover: one picture edge to edge (inline art, the welcome-band entry of components/shop-art.js, 384 by 124 as the frame,
   drawn behind the text). The picture is the text column's box, so the label and the title sit centred over it
   and the title wraps after "your", as the reference's does. The body text, when there is one, sits under the picture. */
.shop-banner.is-yellow{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;margin-inline:calc(var(--space-16) * -1);border-radius:0;background:none;color:var(--text-primary);text-align:center}
.shop-banner.is-yellow .banner-text-col{flex:none;gap:0;align-items:center;justify-content:center;padding-inline:var(--size-72);padding-top:var(--size-2);aspect-ratio:384 / 124;position:relative;isolation:isolate}
.welcome-band-art{position:absolute;inset:0;z-index:-1;display:block;width:100%;height:100%}
.shop-banner.is-yellow .banner-label{font-size:var(--type-shop-meta-size)}
.shop-banner.is-yellow .banner-text{padding:var(--space-16) var(--space-16) 0}

.shop-banner.is-yellow .banner-title{font-family:var(--type-shop-welcome-family);font-size:var(--type-shop-banner-title-size);line-height:var(--type-shop-h2-lh);font-weight:var(--type-shop-banner-title-weight);max-width:calc(var(--size-72) * 3);margin-inline:auto}
/* The Promotions chip shows in the chip row only once the row has stuck under the head (the reference's sticky chip row). */
.promo-chip{display:none}
.device.is-chips-stuck .promo-chip{display:inline-flex}
/* Top brands: a row card, the logo on the left and the name and meta on the right (the reference's brand cards). */
.brand-card .brand-logo{grid-row:1}
/* The name and its meta share one cell with no gap (the reference's name and meta lines sit about 20 px apart). */
.brand-card .brand-text{grid-column:2;grid-row:1;display:flex;flex-direction:column;min-width:0}
.brand-card .product-name{font-weight:var(--type-shop-brand-name-weight);letter-spacing:var(--type-shop-brand-name-tracking)}
/* The welcome banner's picture (the scooter) and the picture beside a section heading (the crate): the shop's art (components/shop-art.js). */
.banner-art{flex:none;width:var(--size-72);height:auto}
.section-head-title{display:flex;align-items:center;gap:var(--space-8);min-width:0}
.section-head-title .shop-h2{margin-inline-start:var(--space-8)}
.section-art{flex:none;width:var(--control-48);height:auto}
/* The crate sits in a round tile of 56 (the reference's heading, measured on the 17.2 s frame: a light grey circle about 56 across). */
/* The crate tile is 58 px, 4 px in and 2 px down, and the title sits 16 px after it, as the reference (8 s frame: tile ink 17 to 74 by 461 to 518, title from 90). */
.section-art-tile{display:inline-flex;flex:none;align-items:center;justify-content:center;width:calc(var(--size-56) + var(--size-2));height:calc(var(--size-56) + var(--size-2));margin-inline-start:var(--space-4);translate:0 var(--size-2);border-radius:50%;background:var(--color-soft)}
.section-art-tile .section-art{width:var(--control-40)}
/* The info mark after the section title (the reference's Your local shops): a bare glyph beside the words, not a round button. Its tap area is the padding. */
.section-head-title .icon-btn.is-inline{flex:none;width:auto;height:auto;padding:var(--space-8);margin:calc(var(--space-8) * -1) calc(var(--space-8) * -1) calc(var(--space-8) * -1) calc(var(--size-6) * -1);background:none}
.section-head-title .icon-btn.is-inline .icon{width:var(--space-16);height:var(--space-16)}

/* The Home welcome block is bare (no card), the product photos are the shop's own art, and the hub labels stay on one line. */
.offer-card.is-bare{background:transparent;border:0;padding:0;border-radius:0;box-shadow:none;align-items:flex-start}
/* The welcome text starts 13 px in and 4 px down, as the reference's (the same inset as the shop's headings). */
.offer-card.is-bare .offer-text{flex:none;width:var(--size-200);margin:var(--space-4) 0 0 calc(var(--size-3) * -1)}
.offer-card.is-bare .price-tag{padding-top:0;padding-bottom:0;line-height:var(--type-shop-meta-lh)}
/* The welcome picture sits 4 px lower and 8 px further right than before (the reference's 0.5 s frame; the offset search matches it within 1 px). */
.offer-card.is-bare .offer-art{margin:calc(var(--space-24) * -1 + var(--space-4)) calc(var(--space-8) * -1) calc(var(--space-8) * -1) auto}
.shop-h2.is-welcome{font-family:var(--type-shop-welcome-family);font-size:var(--type-shop-welcome-size);line-height:var(--type-shop-welcome-lh);font-weight:var(--type-shop-welcome-weight);text-wrap:wrap}
/* The store header follows the reference: the photo ends one size-80 below the status bar, and the name sits one space-24 below it. */
.store-hero + .item-body .item-title-row{margin-top:calc(var(--space-8) * -1)}
.store-hero + .item-body .shop-title{font-weight:var(--type-shop-store-name-weight);letter-spacing:var(--type-shop-store-name-tracking)}
/* Store page, as the reference: product rows are 120 px tiles, and the Delivery/Pickup boxes sit one space-16 below the name. */
.store-section .product-row{grid-auto-columns:var(--size-100);gap:var(--size-10)}
/* The store's product grid and rows start 13 px in, as the reference's tiles (the same offset as its headings). */
.store-section>.product-grid,.store-section>.product-row{margin-inline:calc(var(--size-3) * -1)}
/* A store product's name is the meta size, as the reference's tiles. */
/* The grid's product names are the meta size (two lines for the longest name, as the reference's). */
.store-section .product-grid .product-name,.store-section .product-grid .price-block,.store-section .product-grid .product-meta{margin-inline:calc(var(--space-12) * -1);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.store-section .product-row .product-name{margin-inline:calc(var(--space-12) * -1);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* The reference's row prices sit on one line with the struck price, in the grid's meta role, on the tile's edge like the name (measured on the 25.5 s frame). */
.store-section .product-row .price-block{margin-inline:calc(var(--space-12) * -1)}
.store-section .product-row .price-now{font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-price-lh);font-weight:var(--type-shop-meta-weight)}
/* The store grid's vertical rhythm as the video's (measured on the 31 s frame, 11 Nov 2026): the name 8 px under the picture, the price right under the
   name, the next row 12 px under the price (the card's own bottom space, no row gap), and the heading 18 px above the grid. */
.store-section{gap:calc(var(--space-24) - var(--size-6))}
/* The first section's heading sits 6 px lower than the tab row's bottom, as the reference (11.5 s frame, the heading and the picture both move). */
.store-tabs + .store-section{margin-top:var(--size-6)}
/* The store's top, as the reference's 24 s frame (12 Nov 2026, before the page scrolls). Ink positions are within 1 px of it (bbox): the title at 158,
   the delivery row at 215, the promotion pill at 339 (18 px tall, with its tag glyph), the notice's first line at 376 (13 px lines), the tab text at 433,
   and the first heading at 502. The pill's and the notice's left edges sit 2 px right of the reference's; that is not changed. */
.store-hero + .item-body .store-promo .price-tag{padding-block:var(--size-2)}
.store-hero + .item-body .price-note + .store-tabs + .store-section{margin-top:calc(var(--size-6) - var(--size-7))}
.store-section .product-grid{row-gap:0}
.store-section .product-grid .product-body{gap:0;padding-top:var(--size-9)}
/* The row card's name and price read as the grid's (11.5 s frame): 9 px under the picture, no gap between name and price, no space under the price. */
.store-section .product-row .product-body{gap:0;padding:var(--size-9) var(--space-12) 0}
.store-section .product-grid .product-name{line-height:var(--type-shop-grid-name-lh)}
/* The grid's prices are the meta role too (the video's price is the regular weight, about 12 px: its ink matches this role, not the bold price role). */
.store-section .product-grid .price-now{font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-price-lh);font-weight:var(--type-shop-meta-weight)}
.store-hero + .item-body .mode-group{margin-top:calc(var(--size-14) * -1)}
/* The store's four facts: no rules around them, and each value stays on one line (the reference's row). */
.store-hero + .item-body .info-row.is-icons{border-top:0;border-bottom:0}
.store-hero + .item-body .info-row.is-icons .info-value{white-space:nowrap}
/* The store's add button: a 32 px box with the button's 16 px side padding, and its visible circle 28 px inside it (::after, behind the icon), as the reference (11.5 s frame). The 48 px touch area is added by ::before. */
.store-section .add-btn{width:var(--control-32);height:var(--control-32);background:transparent;top:calc(100cqw - var(--control-32) + var(--size-2) - var(--space-8));right:calc(var(--space-8) - var(--size-2))}
.store-section .add-btn::after{content:"";position:absolute;z-index:-1;inset:var(--size-2);border-radius:50%;background:var(--surface-default)}
.store-section .add-btn::before{content:"";position:absolute;inset:calc(var(--space-8) * -1)}
.store-section .add-btn .icon{width:var(--space-16);height:var(--space-16)}
/* A hub label may wrap inside its cell (the reference wraps "Pharmacy & Beauty"), so no label runs into the next. */
/* A partner tile's tag sits over the tile's top-left corner, as the reference's -40% tags. */
.brand-offer.is-partner{position:relative}
.brand-offer.is-partner .price-tag{position:absolute;top:calc(var(--size-3) * -1);left:0;z-index:1;align-self:auto;padding:0 var(--space-4);line-height:var(--type-shop-meta-lh)}
/* The store's four facts: each icon sits in a tinted circle, as the reference (the tint follows the fact). */
.info-row.is-icons .info-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--size-30);height:var(--size-30);border-radius:50%;background:var(--color-factAmber)}
/* The reference's fact glyphs are about 22 px inside a 30 px circle (11.5 s frame). */
.info-row.is-icons .info-icon .icon{width:var(--size-28);height:var(--size-28)}
/* The fact labels sit 3 px lower than the cell's flow puts them (the reference's 11.5 s frame); moved visually, so the row keeps its height. */
.info-row.is-icons .info-value{position:relative;top:var(--size-3)}
.info-row.is-icons .is-thumb .info-icon{background:var(--color-factTeal)}
.info-row.is-icons .is-pin .info-icon{background:var(--color-blueSoft)}
.info-row.is-icons .is-walk .info-icon{background:var(--color-orangeSoft)}
/* The fact glyphs' stroke is 2 px on the screen (the reference's 11.5 s frame): the 20-unit glyph is drawn at 28 px, so the stroke is 2 px * 20 / 28. */
.info-row.is-icons .icon path,.info-row.is-icons .icon circle{stroke-width:calc(var(--size-2) * 20 / 28)}
/* The thumb and the clock's face are white inside their tints, as the reference's. */
.info-row.is-icons .is-thumb .icon path,.info-row.is-icons .is-clock .icon path{fill:var(--color-white)}
/* The delivery fee: the struck fee, and the red Free tag under it (the reference's stacked fact). */
.fee-stack{display:flex;flex-direction:column;align-items:center;gap:var(--space-4)}
/* The store header, as the reference: the facts sit close under the boxes, and the note sits close under the promo pill. */
.store-hero + .item-body .info-row.is-icons{margin-top:calc(var(--space-8) * -1);padding-top:var(--space-4);padding-bottom:var(--size-2)}
.store-promo .price-tag{padding-top:0;padding-bottom:0}
.store-hero + .item-body .store-promo{margin-top:calc(var(--space-4) * -1);translate:calc(var(--size-2) * -1) 0}
.store-hero + .item-body .store-promo + .price-note{margin-top:calc(var(--size-6) * -1);line-height:var(--type-shop-note-lh);translate:calc(var(--size-2) * -1) 0}
/* The store page: the status row floats over the picture, which runs to the top of the phone (the reference). The picture keeps its height from the top bar down. */
.device.is-status-over .status-bar{position:absolute;top:0;left:0;right:0;z-index:2;background:transparent}
.device.is-status-over.is-scrolled .status-bar{background:var(--surface-default)}
.device.is-status-over .store-hero .item-photo{height:calc(var(--size-80) + var(--control-48) - var(--hero-p, 0) * (var(--size-80) + var(--control-48) - var(--control-32)))}
/* The store page's sticky tabs stick below the top bar (the scrolling screen starts at the top of the phone). */
.device.is-status-over .item-tabs{top:calc(var(--control-40) * 2)}
/* The prices keep one line: a struck or current price is never broken across two lines (the reference's 100 px store cards). */
.price-now,.price-was{white-space:nowrap}
/* A small section heading (the partner row, as the reference: a lowercase line in the name type). A variant of .shop-h2, not a screen override. */
.shop-h2.is-small{font-family:var(--type-shop-name-family);font-size:var(--type-shop-brands-heading-size);line-height:var(--type-shop-brands-heading-lh);font-weight:var(--type-shop-brands-heading-weight)}
/* Discover's services row: the Home hub's five services as tiles in one row, sideways. A service with no link is grey. The Home hero fits the same tiles to its band (.is-fit). */
.service-row{display:flex;gap:var(--space-8);margin-inline:calc(var(--space-16) * -1);padding-inline:var(--space-16);overflow-x:auto;scrollbar-width:none}
.service-row::-webkit-scrollbar{display:none}
.service-tile{display:flex;flex:none;flex-direction:column;align-items:flex-start;gap:var(--space-8);width:var(--size-120);padding:var(--space-12);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16);color:var(--text-primary);text-decoration:none;font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);font-weight:var(--weight-label)}
.service-tile.is-off{color:var(--text-secondary)}
.service-art{display:flex;flex:none;width:var(--control-48);height:var(--control-48);overflow:hidden;border-radius:var(--radius-12)}
.service-art .shop-art{display:block;width:100%;height:100%}
.service-label{min-width:0}
/* The Home hero's row (hubHtml's fit prop): five equal columns across the band. Each service is a circle with a light orange to cream gradient, holding its cut-out picture, and its name under it. */
.service-row.is-fit{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-8);width:100%;margin-inline:0;padding-inline:0;overflow:visible}
.service-row.is-fit .service-tile{display:flex;flex-direction:column;align-items:center;gap:var(--space-8);width:auto;min-width:0;padding:0;background:none;border:0;border-radius:0;text-align:center}
.service-row.is-fit .service-art{justify-content:center;width:var(--size-56);height:var(--size-56);background:linear-gradient(var(--color-orangeSoft),var(--color-cream));border-radius:50%}
.service-row.is-fit .service-art .shop-photo{object-fit:contain}
.service-row.is-fit .service-label{font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);font-weight:var(--weight-label)}
/* On the orange band a service with no link keeps its ink label and its picture at full strength (grey text is too faint there). It has no link, as before. */
.service-row.is-fit .service-tile.is-off{color:var(--text-primary)}
/* Discover's collections: a row of tiles, each a picture and a name. A tile opens the items of that collection. */
.collection-row{display:flex;gap:var(--space-12);margin-inline:calc(var(--space-16) * -1);padding-inline:var(--space-16);overflow-x:auto;scrollbar-width:none}
.collection-row::-webkit-scrollbar{display:none}
.collection-tile{display:flex;flex:none;flex-direction:column;gap:var(--space-8);width:var(--size-120);color:var(--text-primary);text-decoration:none}
.collection-photo{display:block;width:var(--size-120);height:var(--size-120);border-radius:var(--radius-16);overflow:hidden;background:var(--surface-subtle)}
.collection-photo .shop-art{display:block;width:100%;height:100%}
.collection-name{font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);font-weight:var(--weight-label)}
/* The pickup results (a variant of the section): the count row sits 8 px above its first card, as the reference, and its top is pulled up to the reference's row (the chip band's foot). */
.shop-section.is-results{gap:var(--space-8);margin-top:calc(var(--space-8) * -1)}
/* A pickup card (the reference's result list): the name sits 8 px under the picture, 12 px above the facts, and the walk icon is 14 px. */
.store-card.is-pickup .store-body{padding:var(--size-7) 0 0;gap:0}
/* The pickup list's rating: a thumb in a tint, the percentage bold, the count muted (the reference's card, 21 s frame). */
/* The rating is one line of text (inline, not a flex row, so its text reads "100% (12)"); the thumb's circle sits on the baseline, a little above it. */
.rating-text{display:inline}
.rating-text .rating-icon{vertical-align:calc(var(--size-3) * -1);margin-right:var(--space-4)}
.rating-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--size-14);height:var(--size-14);border-radius:50%;background:var(--color-factTeal)}
.rating-icon .icon{flex:none;width:var(--space-16);height:var(--space-16)}
.rating-text strong{font-weight:var(--weight-title)}
.rating-count{margin-inline-start:var(--size-2);color:var(--text-secondary);font-size:var(--type-shop-tag-size);line-height:var(--type-shop-tag-lh)}
/* The pickup list sits 13 px in, as the reference's headings and cards (the same as the count row). */
.shop-section.is-results.is-list>.store-list{margin-inline:calc(var(--size-3) * -1)}
.store-card.is-pickup .product-meta{color:var(--text-primary);margin-top:var(--size-2);letter-spacing:var(--type-shop-meta-pickup-tracking)}
/* The pickup card's walk mark sits inline on the text's baseline, its glyph centred about 5 px above it (the reference's card line). */
.store-card.is-pickup .walk-line{display:inline}
.store-card.is-pickup .walk-line .icon{display:inline-block;vertical-align:calc(var(--size-3) * -1);margin-inline:calc(var(--size-3) * -1) var(--size-2);width:var(--space-16);height:var(--space-16)}
/* The tabs sit 12 px above the gap after the crossed-out note (the reference's tab text at 433 px, 12 Nov 2026). Only the screens with a note. */
.store-hero + .item-body .price-note + .item-tabs{margin-top:calc(var(--size-12) * -1)}
/* Match the video (the user's choice): the partner row sits closer to its heading (space-16, the nearest token to the video). */
/* The partner row starts 8 px higher (space-8 less): its heading sits 8 px under the welcome picture's edge, as the reference's. The tiles sit 17 px under the heading (size-10 plus size-7; the reference's tags start 17 px under the heading's text), measured on the 0.5 s frame. */
.shop-section.is-brands{gap:calc(var(--size-10) + var(--size-7));margin-top:calc(var(--space-8) * -1)}
/* The partner row's page dots sit close under the tiles, as the reference's (their 48 px touch areas overlap the tiles' foot, which takes no taps). Their marks sit 8 px higher than before (space-32 less): the reference's marks are centred at 744 px. */
.shop-section.is-brands .carousel-dots{margin-top:calc(var(--space-32) * -1);gap:0}
/* The marks sit 11 px apart (size-9 plus size-2), as the reference's: each dot after the first overlaps the one before by 37 px (11 less its 48 px tap area), so the tap areas still stand 48 px. A gap cannot be negative, so the overlap is a margin. */
.shop-section.is-brands .dot+.dot{margin-left:calc(var(--size-9) + var(--size-2) - var(--control-48))}
/* A store card while its list loads: two grey lines under the grey photo (storeCardSkeletonHtml). */
.store-card.is-loading .skeleton{display:block;height:var(--space-16);margin:var(--space-8) 0 0}
.store-card.is-loading .skeleton.is-short{width:60%}

/* The offers map (flow 80) and its strip under the Home hero's categories (components/shop-map.js). The screen follows the reference's map: the header
   (title, Live pill, search) on the page, the map card under it down to the tab bar (16 px gutters, radius 16), the filter chips over its top edge (one
   row that scrolls sideways), round pins (a store's mark, or a group bundle's in green, with its count), and a row of store cards along its foot.
   The picture is a real street map in a stage that covers its viewport. It is taller than wide, so the stage is zoomed about the centre (--cx, --cy,
   --map-zoom) and kept inside the viewport by its min() and max() clamp. The address and the pins sit in the stage in percent of the picture, so they
   keep their place, and their size, at each zoom. The chosen pin is centred in the band between the chips and the foot (--anchor-y, placeOffersBand). */
.shop-main.is-map{padding:var(--space-8) 0 var(--space-16)}
.shop-main.is-map>.offers-screen{flex:1 1 auto;min-height:0}
.offers-screen{display:flex;flex-direction:column;gap:var(--space-24)}
.offers-head,.offers-screen>.shop-field{margin-inline:var(--space-16)}
.offers-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-12)}
.offers-head .shop-title{margin:0;text-wrap:balance}
.offers-map{position:relative;flex:1 1 auto;min-height:var(--size-360);overflow:hidden;background:var(--color-cream)}
.offers-viewport{position:absolute;inset:0;container-type:size;overflow:hidden;background:var(--color-cream);pointer-events:none}
.offers-stage{position:absolute;--zoomed:calc(var(--map-zoom) * max(100cqw, 100cqh * var(--aspect)));width:var(--zoomed);height:calc(var(--zoomed) / var(--aspect));left:min(0px, max(100cqw - var(--zoomed), calc(var(--anchor-x, 50%) - var(--cx) * var(--zoomed) / 100)));top:min(0px, max(100cqh - var(--zoomed) / var(--aspect), calc(var(--anchor-y, 50%) - var(--cy) * var(--zoomed) / var(--aspect) / 100)))}
.offers-image{display:block;width:100%;height:100%;user-select:none;pointer-events:none}
.offers-you{position:absolute;left:calc(var(--x) * 1%);top:calc(var(--y) * 1%);width:var(--size-14);height:var(--size-14);transform:translate(-50%,-50%);border:var(--size-2) solid var(--color-cream);border-radius:50%;background:var(--color-shopInk);pointer-events:none}

/* A pin: the store's round mark, 32 px, centred on its place in a 48 px touch area. Its count sits on its top right. Green when a group bundle is on
   offer there; ink when chosen. The Home strip's pins are static (no touch). */
.offer-pin{position:absolute;z-index:1;left:calc(var(--x) * 1%);top:calc(var(--y) * 1%);display:block;width:var(--control-48);height:var(--control-48);transform:translate(-50%,-50%);border-radius:50%;color:var(--color-ink);text-decoration:none;pointer-events:auto}
.offer-pin-body{position:absolute;left:50%;top:50%;display:flex;align-items:center;justify-content:center;width:var(--control-32);height:var(--control-32);transform:translate(-50%,-50%);border-radius:50%;background:var(--color-white);color:var(--color-ink);box-shadow:0 0 0 var(--size-2) var(--color-cream)}
.offer-pin-body .icon{width:var(--size-19);height:var(--size-19)}
.offer-pin.is-group .offer-pin-body{background:var(--color-green);color:var(--color-cream)}
.offer-pin.is-selected .offer-pin-body{background:var(--color-ink);color:var(--color-cream)}
.offer-pin-count{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;min-width:var(--size-19);height:var(--size-19);padding:0 var(--space-4);box-sizing:border-box;border-radius:var(--radius-24);background:var(--color-ink);color:var(--color-cream);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--type-shop-label-weight)}
.offer-pin.is-selected .offer-pin-count{background:var(--color-orange);color:var(--color-ink)}
.offer-pin.is-selected{z-index:2}
.offer-pin.is-static{pointer-events:none}

/* The filter chips over the map's top edge: one row that scrolls sideways. */
.offers-filters{position:absolute;z-index:2;left:0;right:0;top:var(--space-12);padding:0 var(--space-12);pointer-events:auto}
.offers-filters::-webkit-scrollbar{display:none}

/* The foot of the map: the zoom and centre tools (right, above the cards), the store cards (or the empty state), and the credit (right, under them). */
.offers-foot{position:absolute;z-index:2;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:var(--space-8);padding-bottom:var(--space-12);pointer-events:none}
.offers-foot>*{pointer-events:auto}
.offers-tools{display:flex;justify-content:flex-end;gap:var(--space-8);padding:0 var(--space-12)}
.offers-tool{background:var(--surface-default);box-shadow:var(--shadow-chip)}
.offers-tool:disabled{color:var(--text-secondary);cursor:default}
.offers-tool .icon{width:var(--size-icon);height:var(--size-icon)}
.offers-cards{display:flex;align-items:stretch;gap:var(--size-10);overflow-x:auto;padding:0 var(--space-12);scrollbar-width:none}
.offers-cards::-webkit-scrollbar{display:none}
.offers-card{flex:none;box-sizing:border-box;width:var(--size-283);display:flex;flex-direction:column;gap:var(--space-12);padding:var(--space-12);border-radius:var(--radius-16);background:var(--surface-default);color:var(--text-primary)}
.offers-card.offers-none{flex:none;width:auto;margin:0 var(--space-12)}
.offers-card .shop-actions{margin:0}
.offers-card-link{display:flex;gap:var(--space-12);min-width:0;color:var(--text-primary);text-decoration:none}
.offers-card-photo{flex:none;width:var(--size-72);height:var(--size-72);border-radius:var(--radius-12);overflow:hidden;background:var(--surface-subtle)}
.offers-card-photo .shop-photo{display:block;width:100%;height:100%}
.offers-card-text{display:flex;flex-direction:column;justify-content:center;gap:var(--space-4);min-width:0}
.offers-card-name{overflow:hidden;font-family:var(--type-shop-name-family);font-size:var(--type-shop-name-size);line-height:var(--type-shop-name-lh);font-weight:var(--type-shop-name-weight);text-overflow:ellipsis;white-space:nowrap}
.offers-card-meta{font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh);color:var(--text-secondary)}
.offers-card-deal{font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--type-shop-label-weight);color:var(--color-orangeInk)}
.offers-credit{align-self:flex-end;margin-inline:var(--space-12);padding:var(--space-4) var(--space-8);border-radius:var(--radius-8);background:var(--surface-default);color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}

/* The strip under the Home hero's categories: a fixed-height map, with the count at its top-left and the button at its foot (the pins sit between). */
.hub-map{position:relative;width:100%;height:calc(var(--size-200) + var(--space-16));overflow:hidden;border-radius:var(--radius-16)}
.offers-count{position:absolute;z-index:3;top:var(--space-12);left:var(--space-12);padding:var(--space-4) var(--space-12);border-radius:var(--radius-24);background:var(--surface-default);color:var(--text-primary);font-family:var(--type-shop-label-family);font-size:var(--type-shop-chip-size);line-height:var(--type-shop-chip-lh);font-weight:var(--type-shop-chip-weight)}
.hub-map-cta{position:absolute;z-index:3;left:50%;bottom:var(--space-8);transform:translateX(-50%)}

/* Market baskets (flow 81 and the shelves that show them, components/shop-basket.js). A card is a link: a collage of its items' photos (two by two),
   then the market, the title, the items and the end date, and the basket price with the items' original price and the rate. A row scrolls sideways
   (Home and Discover); the market page lists its baskets one to a row. The basket page shows the collage larger and the items as a list. */
.basket-row{display:flex;gap:var(--space-16);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:var(--space-4)}
.basket-row::-webkit-scrollbar{display:none}
.basket-list{display:flex;flex-direction:column;gap:var(--space-16)}
.basket-card{display:flex;flex-direction:column;gap:var(--space-12);box-sizing:border-box;padding:var(--space-12);background:var(--surface-default);border-radius:var(--radius-16);color:var(--text-primary);text-decoration:none;scroll-snap-align:start}
.basket-card.is-row{flex:none;width:var(--size-283)}
.basket-card.is-tile{width:100%}
.basket-collage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:var(--space-4);height:var(--size-140);overflow:hidden;border-radius:var(--radius-8);background:var(--surface-subtle)}
.basket-card.is-tile .basket-collage{height:var(--size-200)}
.basket-hero .basket-collage{height:var(--size-280);border-radius:0}
/* The basket's market line sits 24 px under the collage (the item page's 88 px top padding is for its taller photo). */
.basket-hero + .item-body{padding-top:calc(var(--size-80) + var(--space-8))}
.basket-collage .shop-photo{display:block;width:100%;height:100%;min-height:0}
.basket-text{display:flex;flex-direction:column;gap:var(--space-8)}
.basket-items{display:flex;flex-direction:column;gap:var(--space-16)}
.basket-item{display:flex;flex-direction:column}
.basket-item-text{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
/* A three-item basket fills its collage grid: its third photo spans both columns. */
.basket-collage.is-three>:last-child{grid-column:1 / -1}

/* The group sheet (components/shop-sheet.js): a bottom sheet over the phone frame, on a scrim. It is the frame's overlay (shopFrame), above the
   sticky foot (z 2) and below the home indicator (z 4) and the toast (z 30); its parameter (sheet=) opens and closes it. Flat: a white sheet with
   bordered rows, no shadow. */
.shop-sheet{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;justify-content:flex-end}
.sheet-scrim{position:absolute;inset:0;background:var(--scrim)}
.sheet{position:relative;display:flex;flex-direction:column;gap:var(--space-16);box-sizing:border-box;max-height:calc(100% - var(--control-40));padding:var(--space-8) var(--space-16) var(--space-32);background:var(--surface-default);border-radius:var(--radius-24) var(--radius-24) 0 0;overflow-y:auto;outline:none}
.sheet-handle{align-self:center;width:var(--size-40);height:var(--space-4);border-radius:var(--radius-4);background:var(--border-default)}
.sheet-title{margin:0;font-family:var(--type-shop-h2-family);font-size:var(--type-shop-h2-size);line-height:var(--type-shop-h2-lh);font-weight:var(--type-shop-h2-weight);letter-spacing:var(--type-shop-h2-tracking)}
.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-8)}
.sheet-close{flex:none}
.sheet-actions{display:flex;flex-direction:column;gap:var(--space-8)}
.sheet-actions .btn{width:100%}
/* The open groups a customer can request to join (components/shop-group.js): one card each, with its button under the text. */
.group-list{display:flex;flex-direction:column;gap:var(--space-16)}
/* The standard card (24 px padding, 16 px between rows, a 1 px border), as the order card; it had 12 px and no border (23 Nov 2026, owner). */
.group-card{display:flex;flex-direction:column;gap:var(--space-16);box-sizing:border-box;padding:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.group-card-text{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
/* The join requests of the customer's own group (group-progress.js): one row per buyer, Approve and Decline stacked under the name. */
.request-list{display:flex;flex-direction:column;gap:var(--space-16);margin:0;padding:0;list-style:none}
.request-row{display:flex;flex-direction:column;gap:var(--space-8);box-sizing:border-box;padding:var(--space-12);background:var(--surface-default);border-radius:var(--radius-16)}
.request-row .product-name{margin:0}
.request-actions{display:flex;flex-direction:row;gap:var(--space-8)}
.request-actions .btn{flex:1 1 0;min-width:0}
.row-list{display:flex;flex-direction:column;gap:var(--space-16)}
.group-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);padding:var(--space-16) var(--space-24);color:inherit;text-decoration:none;background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.group-row>span{display:flex;flex-direction:column;gap:var(--space-4)}
.product-list.is-rows{grid-template-columns:minmax(0,1fr)}
.address-chips{display:flex;flex-wrap:wrap;gap:var(--space-8)}
.code-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);padding:var(--space-16) var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.code-text{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
.code-text .product-meta{margin:0}
.code-value{margin:0;font-family:var(--type-shop-name-family);font-size:var(--type-shop-name-size);line-height:var(--type-shop-name-lh);font-weight:var(--weight-title);overflow-wrap:anywhere}
.group-how,.group-terms{margin:0;padding-left:var(--space-24);display:flex;flex-direction:column;gap:var(--space-8);color:var(--text-secondary)}
.shop-h3{margin:0;font-family:var(--type-shop-name-family);font-size:var(--type-shop-name-size);line-height:var(--type-shop-name-lh);font-weight:var(--weight-title)}
/* The group link on the invite and progress screens: one unbroken address, wrapped where it must be. */
.shop-link{margin:0;overflow-wrap:anywhere;color:var(--text-primary);font-family:var(--type-shop-body-family);font-size:var(--type-shop-body-size);line-height:var(--type-shop-body-lh)}

.dates-card{display:flex;flex-direction:column;gap:var(--space-16);padding:var(--space-16);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16);background:var(--surface-default)}
.dates-list{display:flex;flex-direction:column;gap:var(--space-16);margin:0}
.dates-row{display:flex;justify-content:space-between;gap:var(--space-16)}
.dates-row dt{margin:0;color:var(--text-secondary)}
.dates-row dd{margin:0;font-family:var(--type-shop-label-family);font-weight:var(--type-shop-fact-weight);text-align:end}
.life-bar{height:var(--space-8);border-radius:var(--radius-4);background:var(--surface-subtle);overflow:hidden}
.life-fill{display:block;height:100%;background:var(--color-green)}
.item-title-row{align-items:baseline;justify-content:flex-start;gap:var(--space-8)}
.item-title-row .shop-title,.item-unit{font-size:var(--type-shop-item-name-size);line-height:var(--type-shop-item-name-lh)}
.item-unit{flex:none;color:var(--text-secondary);font-family:var(--type-shop-title-family);font-weight:var(--weight-body)}
.item-title-row{flex-wrap:wrap}
.item-hero .logo-link{position:absolute;left:var(--space-16);bottom:calc(var(--size-80) / -2);z-index:1;display:block;border-radius:50%}
.item-hero .logo-link .logo-tile{position:static}
/* The market's logo over the picture of an item or a basket is a circle with the logo inside it. */
.item-hero .logo-tile.is-large.is-brand{border:var(--border-width) solid var(--border-default);border-radius:50%}
.item-hero .logo-tile.is-large .brand-mark{padding:var(--space-16)}

.group-free{margin:0;color:var(--color-green);font-family:var(--type-shop-label-family);font-weight:var(--type-shop-label-weight)}
.group-count{margin:0;color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.group-rules{display:flex;flex-direction:column;gap:var(--space-8)}
.group-rule-list{display:flex;flex-direction:column;gap:var(--space-8);margin:0;padding:0;list-style:none}
.group-rule-list li{display:flex;align-items:center;gap:var(--space-8);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.group-rule-list .icon{flex:none;width:var(--space-16);height:var(--space-16);color:var(--color-green)}
.group-rules .product-meta{margin:0}
.cart-group-head{flex-direction:row;align-items:center;gap:var(--space-16)}
.cart-group-head .seller-logo{flex:none}

.hub-top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);align-self:stretch}
.top-actions{display:flex;align-items:center;gap:var(--space-8);margin-inline-start:auto}
.hub-top .icon-btn{background:var(--surface-hero-pill)}

/* The choice cards of checkout step one (windows, Group buying, Single order): a title with its radio mark, a badge, a meta line, a body and small print. */
.choice-list{display:flex;flex-direction:column;gap:var(--space-16)}
.choice-card{display:flex;flex-direction:column;gap:var(--space-8);padding:var(--space-24);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16);cursor:pointer}
.choice-card.is-selected{border-color:var(--action-primary);border-width:var(--stroke-width)}
.choice-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16)}
.choice-title{margin:0;font-family:var(--type-shop-title-family);font-size:var(--type-shop-card-title-size);line-height:var(--type-shop-card-title-lh);font-weight:var(--type-shop-card-title-weight)}
.choice-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--space-24);height:var(--space-24);border:var(--stroke-width) solid var(--border-default);border-radius:50%;color:var(--color-white)}
.choice-card.is-selected .choice-mark{background:var(--action-primary);border-color:var(--action-primary)}
.choice-mark .icon{width:var(--space-16);height:var(--space-16)}
.choice-badge{align-self:flex-start;margin:0;padding:var(--space-4) var(--space-8);background:var(--color-greenSoft);color:var(--color-green);border-radius:var(--radius-8);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--type-shop-label-weight)}
.choice-meta,.choice-body{margin:0;color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.choice-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-8) var(--space-16);margin:var(--space-8) 0 0;padding:var(--space-16) 0 0;list-style:none;border-top:var(--border-width) solid var(--border-default)}
.choice-rules li{display:flex;align-items:flex-start;gap:var(--space-8);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.choice-rules .icon{flex:none;width:var(--space-16);height:var(--space-16);color:var(--color-green)}
.choice-small{margin:0;color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}

.group-lines{display:flex;flex-direction:column;gap:var(--space-16);margin:0;padding:0;list-style:none}
.group-line .product-meta,.group-line .product-name{margin:0}

/* A fire offer's timer: a chip over the bottom-left of a photo and a strip under the price. Ink on cream, so it does not compete with the red discount tag. */
.fire-chip{position:absolute;left:var(--space-8);bottom:var(--space-8);z-index:1;display:inline-flex;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-8);background:var(--color-cream);color:var(--text-primary);border-radius:var(--radius-8);font-family:var(--type-shop-tag-family);font-size:var(--type-shop-tag-size);line-height:var(--type-shop-tag-lh);font-weight:var(--weight-title);white-space:nowrap}
.fire-chip .icon{width:var(--space-16);height:var(--space-16);color:var(--color-orange)}
.pick-photo,.basket-collage{position:relative}
.fire-strip{display:flex;flex-direction:column;gap:var(--space-8);padding:var(--space-16);background:var(--surface-default);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-16)}
.fire-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16)}
.fire-title{display:inline-flex;align-items:center;gap:var(--space-8);font-family:var(--type-shop-title-family);font-weight:var(--weight-title)}
.fire-title .icon{width:var(--space-20);height:var(--space-20);color:var(--color-orange)}
.fire-time{color:var(--text-secondary)}
.fire-bar{height:var(--space-8);border-radius:var(--radius-4);background:var(--surface-subtle);overflow:hidden}
.fire-fill{display:block;height:100%;background:var(--color-orange)}

/* The cards (16 Nov 2026): one price line, a promo code as outlined text (the discount tag is the only red one), the market's logo on the photo, and a light ring on the heart
   and add buttons so they read on a white photo. */
.promo-code{display:inline-flex;align-items:center;padding:var(--size-2) var(--space-4);border:var(--border-width) solid var(--border-default);border-radius:var(--radius-4);color:var(--text-primary);font-family:var(--type-shop-tag-family);font-size:var(--type-shop-tag-size);line-height:var(--type-shop-tag-lh);font-weight:var(--weight-title);white-space:normal;max-width:100%}
.fav-btn,.add-btn{border:var(--border-width) solid var(--border-default)}
.product-photo .logo-tile{left:var(--space-8);top:calc(var(--space-8) * 2 + var(--space-16) + var(--size-9));bottom:auto;width:var(--control-32);height:var(--control-32)}
.product-photo .logo-tile .shop-art{width:var(--space-16);height:var(--space-16)}
.basket-collage .photo-tag{top:var(--space-8);left:var(--space-8)}
.basket-collage .logo-tile{left:auto;right:var(--space-8);top:var(--space-8);bottom:auto;width:var(--control-32);height:var(--control-32)}
.pick-photo .photo-tag.is-end{left:auto;right:var(--space-8)}
.pick-time{color:var(--text-secondary);font-family:var(--type-shop-meta-family);font-size:var(--type-shop-meta-size);line-height:var(--type-shop-meta-lh)}
.market-row{display:flex;gap:var(--space-16);overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:var(--space-4)}
.market-card{display:flex;flex:none;align-items:center;gap:var(--space-16);padding:var(--space-16);background:var(--surface-default);border-radius:var(--radius-16);color:var(--text-primary);text-decoration:none;scroll-snap-align:start}
.market-card .logo-tile{position:static}
.market-text{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}

/* Checkout, Delivery (23 Nov 2026): the Group buying card's live strip and the small map under the address. Tokens only. */
.choice-live{display:flex;align-items:center;gap:var(--space-8);margin:0;padding:var(--space-8) var(--space-16);background:var(--color-greenSoft);color:var(--color-green);border-radius:var(--radius-8);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--type-shop-label-weight)}
.choice-live-dot{flex:none;width:var(--space-8);height:var(--space-8);border-radius:50%;background:var(--color-green)}
.map-peek{position:relative;overflow:hidden;height:calc(var(--space-96) + var(--space-48));border-radius:var(--radius-16);background:var(--surface-shop-sheet)}
.map-peek-img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 40%}
.map-peek-pin{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:var(--space-8);margin:0;padding:var(--space-8) var(--space-16);background:var(--color-ink);color:var(--color-white);border-radius:var(--radius-16);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--type-shop-label-weight)}
.map-peek-pin .icon{width:var(--space-16);height:var(--space-16)}
.map-peek-credit{position:absolute;right:var(--space-8);bottom:var(--space-4);margin:0;font-family:var(--type-shop-meta-family);font-size:var(--type-shop-tabbar-size);line-height:var(--type-shop-tabbar-lh);color:var(--text-secondary)}

/* Category photographs in the round category links (23 Nov 2026): a photo fills the round; a cut-out (PNG) sits whole inside it. */
.cat-round .cat-photo{display:block;width:100%;height:100%;object-fit:cover}
.cat-round .cat-photo[src$=".png"]{object-fit:contain}

/* The number that matters inside a sentence (the amount still to go): ink at weight 700 (23 Nov 2026). */
.shop-intro strong{color:var(--text-primary);font-weight:var(--weight-title)}

/* The shop's empty-state title is a card title (16 px, 700), not the back office's 20 px at 600 (23 Nov 2026). */
.shop-page .empty-block h2{font-family:var(--type-shop-title-family);font-size:var(--type-shop-card-title-size);line-height:var(--type-shop-card-title-lh);font-weight:var(--type-shop-card-title-weight)}

/* A read notification's title is grey, so an unread one (ink, 700, green dot) stands out (23 Nov 2026). */
.note-card:not(.is-unread) .note-title{color:var(--text-secondary)}

/* The checkout group card's extra rules behind "More rules" (23 Nov 2026): a text-link summary, then the rest of the checklist. */
.choice-more{margin:0}
.choice-more summary{cursor:pointer;list-style:none;color:var(--text-action);font-family:var(--type-shop-label-family);font-size:var(--type-shop-label-size);line-height:var(--type-shop-label-lh);font-weight:var(--weight-label)}
.choice-more summary::-webkit-details-marker{display:none}
.choice-more[open] .choice-rules{margin-top:var(--space-8)}
.choice-more .choice-rules{border-top:0;padding-top:0}
