/* Rose UI: storefront pages (home, catalog, product, cart, checkout). Loaded after rose.css. */
.storefront{
  --rs-milk:var(--rh-milk);--rs-surface:var(--rh-white);--rs-powder:var(--rh-powder);--rs-blush:var(--rh-petal);
  --rs-line:var(--rh-line);--rs-line-strong:var(--rh-line-strong);--rs-ink:var(--rh-ink);--rs-muted:var(--rh-muted);
  --rs-berry:var(--rh-berry);--rs-berry-deep:var(--rh-berry-deep);--rs-ok:var(--rh-ok);--rs-ok-bg:var(--rh-ok-bg);
  --rs-err:var(--rh-err);--rs-err-bg:var(--rh-err-bg);--rs-radius:var(--rh-r-lg);
  --rs-shadow:var(--rh-shadow-2);--rs-ease:var(--rh-ease)
}
.storefront [hidden]{display:none!important}
.storefront .rs-price,.storefront .rs-line-sum,.storefront .rs-summary dd{font-variant-numeric:tabular-nums}
/* Buttons and links */
.storefront .rs-link{color:var(--rs-berry);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;background:none;border:0;padding:0;font:inherit;font-weight:600;cursor:pointer;min-height:44px;display:inline-flex;align-items:center}
.storefront .rs-link:hover{color:var(--rs-berry-deep);text-decoration-thickness:2px}
.storefront .rs-link--muted{color:var(--rs-muted);font-weight:500}
.storefront .rs-icon-btn{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:var(--rh-r);border:1px solid var(--rs-line);background:var(--rs-surface);color:var(--rs-ink);cursor:pointer}
.storefront .rs-icon-btn .icon{width:20px;height:20px}
/* Page heading and breadcrumbs */
.storefront .rs-crumbs{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:4px 8px;margin:8px 0 12px;color:var(--rs-muted);font-size:.875rem}
.storefront .rs-crumbs a{color:var(--rs-muted);text-underline-offset:3px;min-height:32px;display:inline-flex;align-items:center}
.storefront .rs-crumbs a:hover{color:var(--rs-berry)}
.storefront .rs-crumbs [aria-current]{color:var(--rs-ink);overflow-wrap:anywhere}
.storefront .rs-page-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 24px;margin:0 0 20px}
.storefront .rs-page-head h1{margin:0;font-size:clamp(1.5rem,1.2rem + 1.2vw,2.125rem);line-height:1.15;letter-spacing:-.01em;text-wrap:balance;color:var(--rs-ink)}
.storefront .rs-count{margin:0;color:var(--rs-muted);font-size:.9375rem}
.storefront .rs-page-cover{width:100%;max-height:220px;object-fit:cover;border-radius:var(--rs-radius);margin:0 0 20px;outline:1px solid rgba(0,0,0,.08);outline-offset:-1px}
/* Sections */
.storefront .rs-section{margin:clamp(40px,5vw,64px) 0}
.storefront .rs-section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;margin-bottom:16px}
.storefront .rs-section-head h2{margin:0;font-size:clamp(1.25rem,1.05rem + .8vw,1.625rem);line-height:1.2;letter-spacing:-.01em}
/* Hero */
.storefront .rs-hero-deck{position:relative;margin-top:8px}
.storefront .rs-hero{display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;border-radius:24px;background:linear-gradient(135deg,#fdf3f6 0%,#f8e1e9 100%);border:1px solid var(--rs-line)}
.storefront .rs-hero-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;padding:clamp(24px,5vw,56px)}
.storefront .rs-hero-copy :is(h1,.rs-hero-title){margin:0;max-width:18ch;font-size:clamp(1.75rem,1.2rem + 2.4vw,3rem);line-height:1.08;letter-spacing:-.02em;color:var(--rs-ink);text-wrap:balance}
.storefront .rs-hero-copy p{margin:0;max-width:44ch;color:var(--rs-muted);font-size:clamp(1rem,.95rem + .25vw,1.125rem);line-height:1.55}
.storefront .rs-hero-copy .rs-btn{margin-top:6px}
.storefront .rs-hero-visual{display:block;min-height:220px;background:var(--rs-blush)}
.storefront .rs-hero-visual img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:16/10}
.storefront .rs-hero-visual.focus-left img{object-position:left center}
.storefront .rs-hero-visual.focus-right img{object-position:right center}
.storefront .rs-hero-visual.focus-top img{object-position:center top}
.storefront .rs-hero-visual.focus-bottom img{object-position:center bottom}
@media (min-width:900px){
  .storefront .rs-hero:not(.rs-hero--text){grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);min-height:400px}
.storefront .rs-hero-visual img{aspect-ratio:auto;min-height:400px}
}
.storefront .rs-hero--text .rs-hero-copy{padding:clamp(28px,6vw,72px)}
.storefront .rs-hero-dots{display:flex;gap:4px;justify-content:center;margin-top:8px}
.storefront .rs-hero-dots .banner-tab{position:relative;width:44px;height:44px;border:0;background:none;padding:0;cursor:pointer;border-radius:999px}
.storefront .rs-hero-dots .banner-tab::before{content:"";position:absolute;inset:50% auto auto 50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:999px;background:var(--rs-line-strong);transition:width .2s var(--rs-ease),margin .2s var(--rs-ease),background-color .2s}
.storefront .rs-hero-dots .banner-tab[aria-pressed="true"]::before{width:26px;margin-left:-13px;background:var(--rs-berry)}
.storefront .rs-hero-dots .banner-tab:focus-visible{outline:3px solid var(--rs-berry);outline-offset:-6px}
/* Category tiles */
.storefront .rs-cats{display:grid;gap:16px 12px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:640px){.storefront .rs-cats{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:20px 16px}}
.storefront .rs-cat{display:grid;gap:10px;color:var(--rs-ink);text-decoration:none;border-radius:14px}
.storefront .rs-cat-media{display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;border-radius:14px;background:var(--rs-powder);border:1px solid var(--rs-line)}
.storefront .rs-cat-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s var(--rs-ease)}
.storefront .rs-cat-initial{font-size:2.5rem;font-weight:700;color:var(--rs-berry);opacity:.75}
.storefront .rs-cat-title{font-weight:600;font-size:1rem;line-height:1.3;overflow-wrap:anywhere}
.storefront .rs-cat:hover .rs-cat-media img{transform:scale(1.03)}
.storefront .rs-cat:hover .rs-cat-title{color:var(--rs-berry)}
/* Product grid and card */
.storefront .rs-grid{display:grid;gap:14px 12px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:640px){.storefront .rs-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:24px 20px}}
.storefront .rs-card{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--rs-surface);border:1px solid var(--rs-line);border-radius:var(--rs-radius);overflow:hidden;transition:transform .2s var(--rs-ease),box-shadow .2s var(--rs-ease),border-color .2s}
.storefront .rs-card:hover{transform:translateY(-2px);box-shadow:var(--rs-shadow);border-color:var(--rs-line-strong)}
.storefront .rs-card:focus-within{border-color:var(--rs-berry)}
.storefront .rs-card-media{display:block;aspect-ratio:4/3;background:var(--rs-powder);overflow:hidden}
.storefront .rs-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s var(--rs-ease)}
.storefront .rs-card:hover .rs-card-media img{transform:scale(1.03)}
.storefront .rs-card.is-out .rs-card-media img{opacity:.6}
.storefront .rs-card-body{display:flex;flex-direction:column;gap:6px;flex:1;padding:12px 12px 14px}
@media (min-width:640px){.storefront .rs-card-body{padding:14px 16px 16px}}
.storefront .rs-card-cat{margin:0;color:var(--rs-muted);font-size:.8125rem;line-height:1.3}
.storefront .rs-card-title{margin:0;font-size:1rem;line-height:1.35;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.storefront .rs-card-title a{color:var(--rs-ink);text-decoration:none}
.storefront .rs-card-title a::after{content:"";position:absolute;inset:0;z-index:1}
.storefront .rs-card-title a:focus-visible{outline:none}
.storefront .rs-card:has(.rs-card-title a:focus-visible){outline:3px solid var(--rs-berry);outline-offset:2px}
.storefront .rs-card-variants{display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0;list-style:none}
.storefront .rs-card-variants li{padding:2px 8px;border-radius:999px;background:var(--rs-powder);color:var(--rs-muted);font-size:.75rem;line-height:1.5}
.storefront .rs-card-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;margin-top:auto;padding-top:6px}
.storefront .rs-price{font-size:1.0625rem;font-weight:700;color:var(--rs-ink)}
.storefront .rs-stock{display:inline-flex;align-items:center;gap:6px;color:var(--rs-ok);font-size:.8125rem;font-weight:500}
.storefront .rs-stock::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.storefront .rs-stock.is-out,.storefront .rs-stock.empty{color:var(--rs-muted)}
/* Empty states and notes */
.storefront .rs-empty{display:grid;justify-items:center;gap:10px;padding:clamp(32px,6vw,56px) 20px;text-align:center;border:1px dashed var(--rs-line-strong);border-radius:20px;background:var(--rs-surface)}
.storefront .rs-empty :is(h2,h3){margin:0;font-size:1.25rem}
.storefront .rs-empty p{margin:0;max-width:44ch;color:var(--rs-muted)}
.storefront .rs-empty-icon{width:44px;height:44px;color:var(--rs-berry);fill:none;stroke:currentColor;stroke-width:1.5}
.storefront .rs-note{margin:0;color:var(--rs-muted);font-size:.875rem;line-height:1.5}
.storefront .rs-note--mode{padding:10px 12px;border-radius:12px;background:var(--rs-powder);color:var(--rs-ink)}
.storefront .rs-callout{margin:0 0 20px;padding:12px 16px;border-radius:14px;background:var(--rs-powder);border:1px solid var(--rs-line);color:var(--rs-ink);font-size:.9375rem;line-height:1.5}
.storefront .rs-alert{margin:0 0 12px;padding:10px 14px;border-radius:12px;background:var(--rs-err-bg);color:var(--rs-err);font-size:.9375rem}
.storefront .rs-alert:empty{display:none}
.storefront .rs-ok{margin:0;padding:10px 14px;border-radius:12px;background:var(--rs-ok-bg);color:var(--rs-ok);font-size:.9375rem}
.storefront .rs-added{margin:0;padding:12px 14px;border-radius:12px;background:var(--rs-ok-bg);color:var(--rs-ok);font-weight:500}
.storefront .rs-added a{color:var(--rs-ok);font-weight:700;text-underline-offset:3px}
/* Catalog */
.storefront .rs-sort{display:flex;align-items:center;gap:8px;min-width:0}
.storefront .rs-sort label{color:var(--rs-muted);font-size:.875rem;white-space:nowrap}
.storefront .rs-sort select,.storefront .rs-field select{min-height:44px;max-width:100%;padding:0 36px 0 12px;border:1px solid var(--rs-line-strong);border-radius:12px;background:var(--rs-surface) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M4 6l4 4 4-4%27 fill=%27none%27 stroke=%27%236d5360%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") no-repeat right 10px center/16px;appearance:none;font:inherit;color:var(--rs-ink)}
.storefront .rs-chips{justify-content:flex-start;display:flex;flex-wrap:wrap;gap:8px;padding:2px 2px 10px;margin:0 0 12px}
.storefront .rs-chip{flex:none;display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:8px 16px;overflow-wrap:anywhere;border-radius:999px;border:1px solid var(--rs-line);background:var(--rs-surface);color:var(--rs-ink);text-decoration:none;font-size:.9375rem;transition:background-color .15s,border-color .15s}
.storefront .rs-chip:hover{border-color:var(--rs-berry)}
.storefront .rs-chip[aria-current]{background:var(--rs-berry);border-color:var(--rs-berry);color:#fff;font-weight:600}
.storefront .rs-catalog{display:grid;gap:24px;grid-template-columns:minmax(0,1fr)}
@keyframes rs-sheet{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
.storefront .rs-fieldset{margin:0;padding:0;border:0;display:grid;gap:10px}
.storefront .rs-fieldset legend{padding:0;margin-bottom:8px;font-weight:600;font-size:.9375rem}
.storefront .rs-price-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.storefront .rs-filters-actions{display:grid;gap:4px}
.storefront .rs-filter-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--rs-berry);color:#fff;font-size:.75rem}
.storefront .rs-results{min-width:0}
.storefront .rs-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 16px;margin-top:28px;color:var(--rs-muted)}
/* Fields */
.storefront .rs-field{display:grid;gap:6px;min-width:0}
.storefront .rs-field > label,.storefront .rs-field > span{font-weight:600;font-size:.9375rem;color:var(--rs-ink)}
.storefront .rs-field textarea{min-height:96px;resize:vertical;line-height:1.5}
.storefront .rs-field [aria-invalid="true"]{border-color:var(--rs-err)!important;background:#fffafa}
.storefront .rs-field-error{margin:0;color:var(--rs-err);font-size:.875rem;line-height:1.4}
.storefront .rs-field-error:empty{display:none}
.storefront .rs-hint{margin:0;color:var(--rs-muted);font-size:.875rem;line-height:1.45}
.storefront .rs-hint:empty{display:none}
.storefront .rs-optional{font-weight:400;color:var(--rs-muted);font-size:.875rem}
.storefront .rs-field-row{display:grid;gap:16px}
@media (min-width:640px){.storefront .rs-field-row{grid-template-columns:minmax(0,200px) minmax(0,1fr)}.storefront .rs-field-row--even{grid-template-columns:repeat(2,minmax(0,1fr))}}
.storefront .rs-check{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding-top:10px;cursor:pointer;line-height:1.45}
.storefront .rs-check input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--rs-berry)}
.storefront .rs-check a{color:var(--rs-berry);text-underline-offset:3px}
/* Steppers */
.storefront .rs-stepper{display:inline-flex;align-items:stretch;height:52px;border:1px solid var(--rs-line-strong);border-radius:999px;background:var(--rs-surface);overflow:hidden}
.storefront .rs-stepper input{width:56px;border:0;background:none;text-align:center;font:inherit;font-size:1.0625rem;font-weight:600;color:var(--rs-ink);-moz-appearance:textfield;font-variant-numeric:tabular-nums}
.storefront .rs-stepper input::-webkit-inner-spin-button,.storefront .rs-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.storefront .rs-stepper input:focus-visible{outline:2px solid var(--rs-berry);outline-offset:-2px}
.storefront .rs-stepper:has(.rs-step:not([hidden])) input{width:44px}
.storefront .rs-step{width:48px;border:0;background:none;color:var(--rs-berry);font-size:1.375rem;line-height:1;cursor:pointer;transition:background-color .15s}
.storefront .rs-step:hover:not(:disabled){background:var(--rs-powder)}
.storefront .rs-step:disabled{color:var(--rs-line-strong);cursor:not-allowed}
.storefront .rs-stepper--sm{height:44px}
.storefront .rs-stepper--sm .rs-step{width:44px}
/* Product page */
.storefront .rs-product{display:grid;gap:24px;grid-template-columns:minmax(0,1fr);margin-bottom:56px}
@media (min-width:960px){.storefront .rs-product{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;align-items:start}.storefront .rs-gallery{position:sticky;top:96px}}
.storefront .rs-gallery{display:grid;gap:12px;min-width:0}
.storefront .rs-gallery-main{overflow:hidden;border-radius:20px;background:var(--rs-powder);border:1px solid var(--rs-line)}
.storefront .rs-gallery-main img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.storefront .rs-thumbs{display:flex;gap:10px;overflow-x:auto;padding:2px}
.storefront .rs-thumbs a{flex:none;display:block;width:72px;height:72px;border-radius:12px;overflow:hidden;border:2px solid transparent;background:var(--rs-powder);transition:border-color .15s}
.storefront .rs-thumbs a:hover{border-color:var(--rs-line-strong)}
.storefront .rs-thumbs a[aria-current]{border-color:var(--rs-berry)}
.storefront .rs-thumbs img{display:block;width:100%;height:100%;object-fit:cover}
.storefront .rs-buy{display:grid;gap:14px;align-content:start;min-width:0}
.storefront .rs-buy-cat{margin:0;color:var(--rs-muted);font-size:.9375rem}
.storefront .rs-buy h1{margin:0;font-size:clamp(1.5rem,1.2rem + 1.3vw,2.25rem);line-height:1.15;letter-spacing:-.01em;text-wrap:balance;overflow-wrap:anywhere}
.storefront .rs-buy-price{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px}
.storefront .rs-price--lg{font-size:clamp(1.5rem,1.3rem + .8vw,1.875rem)}
.storefront .rs-sku{margin:-6px 0 0;color:var(--rs-muted);font-size:.875rem}
.storefront .rs-variants{margin:0;padding:0;border:0}
.storefront .rs-variants legend{padding:0;margin-bottom:8px;font-weight:600}
.storefront .rs-variant-list{display:flex;flex-wrap:wrap;gap:8px}
.storefront .rs-variant{position:relative;cursor:pointer}
.storefront .rs-variant input{position:absolute;opacity:0;width:1px;height:1px}
.storefront .rs-variant span{display:grid;gap:2px;min-height:52px;min-width:96px;padding:8px 14px;border:1px solid var(--rs-line-strong);border-radius:14px;background:var(--rs-surface);transition:border-color .15s,background-color .15s,box-shadow .15s}
.storefront .rs-variant b{font-weight:600;font-size:.9375rem;line-height:1.3}
.storefront .rs-variant small{color:var(--rs-muted);font-size:.8125rem;font-variant-numeric:tabular-nums}
.storefront .rs-variant:hover span{border-color:var(--rs-berry)}
.storefront .rs-variant input:checked + span{border-color:var(--rs-berry);background:var(--rs-powder);box-shadow:inset 0 0 0 1px var(--rs-berry)}
.storefront .rs-variant input:focus-visible + span{outline:3px solid var(--rs-berry);outline-offset:2px}
.storefront .rs-purchase{display:grid;gap:8px;padding:16px;border-radius:18px;background:var(--rs-powder);border:1px solid var(--rs-line)}
.storefront .rs-qty-label{font-weight:600;font-size:.9375rem}
.storefront .rs-qty-label small{margin-left:6px;font-weight:400;color:var(--rs-muted)}
.storefront .rs-purchase-row{display:flex;flex-wrap:wrap;gap:10px}
.storefront .rs-purchase-row .rs-btn{flex:1 1 200px}
.storefront .rs-details{border-top:1px solid var(--rs-line)}
.storefront .rs-details details{border-bottom:1px solid var(--rs-line)}
.storefront .rs-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;cursor:pointer;font-weight:600;list-style:none}
.storefront .rs-details summary::-webkit-details-marker{display:none}
.storefront .rs-details summary::after{content:"";width:10px;height:10px;border-right:2px solid var(--rs-muted);border-bottom:2px solid var(--rs-muted);transform:translateY(-3px) rotate(45deg);transition:transform .2s var(--rs-ease)}
.storefront .rs-details details[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.storefront .rs-details summary:focus-visible{outline:3px solid var(--rs-berry);outline-offset:2px;border-radius:6px}
.storefront .rs-details-body{padding:0 0 18px;color:var(--rs-ink);line-height:1.6;max-width:68ch}
.storefront .rs-details-body p{margin:0 0 8px;white-space:pre-line}
/* Cart */
.storefront .rs-cart{display:grid;gap:24px;grid-template-columns:minmax(0,1fr);margin-bottom:56px}
@media (min-width:960px){.storefront .rs-cart{grid-template-columns:minmax(0,1fr) 360px;align-items:start}}
.storefront .rs-cart-lines{display:grid;background:var(--rs-surface);border:1px solid var(--rs-line);border-radius:var(--rs-radius);overflow:hidden}
.storefront .rs-line:first-child{border-top:0}
.storefront .rs-line-media{display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--rs-powder)}
.storefront .rs-line-media img{display:block;width:100%;height:100%;object-fit:cover}
.storefront .rs-line-info{display:grid;gap:4px;align-content:start;min-width:0}
.storefront .rs-line-title{margin:0;font-size:1rem;line-height:1.35;font-weight:600;overflow-wrap:anywhere}
.storefront .rs-line-title a{color:var(--rs-ink);text-decoration:none}
.storefront .rs-line-title a:hover{color:var(--rs-berry);text-decoration:underline;text-underline-offset:3px}
.storefront .rs-line-meta,.storefront .rs-line-unit{margin:0;color:var(--rs-muted);font-size:.875rem}
.storefront .rs-line-warn{margin:4px 0 0;color:var(--rs-err);font-size:.875rem}
.storefront .rs-line-remove .rs-link{min-height:44px;font-size:.875rem}
.storefront [aria-busy="true"]{opacity:.6;transition:opacity .15s}
.storefront .rs-summary{display:grid;gap:14px;padding:20px;background:var(--rs-surface);border:1px solid var(--rs-line);border-radius:var(--rs-radius)}
@media (min-width:960px){.storefront .rs-summary{position:sticky;top:96px}}
.storefront .rs-summary h2{margin:0;font-size:1.125rem}
.storefront .rs-promo-actions{display:flex;flex-wrap:wrap;gap:8px}
.storefront .rs-summary dl{display:grid;gap:8px;margin:0}
.storefront .rs-summary dl div{display:flex;justify-content:space-between;gap:12px}
.storefront .rs-summary dt{color:var(--rs-muted)}
.storefront .rs-summary dd{margin:0;font-weight:600}
.storefront .rs-summary .rs-total{padding-top:10px;border-top:1px solid var(--rs-line);font-size:1.125rem}
.storefront .rs-summary .rs-total dt{color:var(--rs-ink);font-weight:600}
.storefront .rs-summary .rs-total dd{font-weight:700}
.storefront .rs-summary-back{justify-self:center}
/* Checkout */
.storefront .rs-checkout{display:grid;gap:20px;grid-template-columns:minmax(0,1fr);margin-bottom:56px}
@media (min-width:960px){.storefront .rs-checkout{grid-template-columns:minmax(0,1fr) 380px;gap:32px;align-items:start}.storefront .rs-checkout > .rs-summary{grid-column:2;grid-row:1}.storefront .rs-checkout-form{grid-column:1;grid-row:1}}
.storefront .rs-checkout-form{display:grid;gap:20px;min-width:0}
.storefront .rs-step-card{display:grid;gap:16px;padding:clamp(18px,3vw,28px);background:var(--rs-surface);border:1px solid var(--rs-line);border-radius:20px}
.storefront .rs-step-card h2{display:flex;align-items:center;gap:12px;margin:0;font-size:1.1875rem}
.storefront .rs-step-num{display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--rs-berry);color:#fff;font-size:.9375rem;font-weight:700}
.storefront .rs-verify{display:grid;gap:12px;padding:16px;border-radius:14px;background:var(--rs-powder)}
.storefront .rs-verify h3{margin:0;font-size:1rem}
.storefront .rs-verify-row{display:grid;gap:12px}
@media (min-width:640px){.storefront .rs-verify-row{grid-template-columns:minmax(0,180px) minmax(0,1fr);align-items:end}}
.storefront .rs-verify-actions{display:flex;flex-wrap:wrap;gap:8px}
.storefront .rs-pickup{display:flex;gap:12px;padding:14px 16px;border-radius:14px;background:var(--rs-powder)}
.storefront .rs-pickup .icon{flex:none;width:22px;height:22px;color:var(--rs-berry);margin-top:2px}
.storefront .rs-pickup p{margin:0}
.storefront .rs-pickup-title{font-weight:600}
.storefront .rs-order-lines{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.storefront .rs-order-lines li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:.9375rem}
.storefront .rs-order-lines small{display:block;color:var(--rs-muted);font-size:.8125rem}
.storefront .rs-order-line-title{min-width:0;overflow-wrap:anywhere}
.storefront .rs-order-line-qty{flex:none;color:var(--rs-muted);font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){
  .storefront *,.storefront *::before,.storefront *::after{animation:none!important;transition:none!important}
.storefront .rs-card:hover{transform:none}
}

/* Catalogue controls stay together above the results at every width. */
.storefront .rs-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--rh-space-3);margin-bottom:var(--rh-space-4)}
.storefront .rs-search{display:flex;align-items:center;gap:var(--rh-space-2);min-width:0;padding:3px 3px 3px 12px;border:1px solid var(--rh-line-strong);border-radius:var(--rh-r);background:var(--rh-white)}
.storefront .rs-search:has(input:focus-visible){outline:2px solid var(--rh-berry-deep);outline-offset:3px}
.storefront .rs-search input{flex:1;min-width:0;border:0;box-shadow:none;padding-inline:4px;font-weight:400}
.storefront .rs-search input:focus{outline:none;box-shadow:none}
.storefront .rs-search .icon{color:var(--rh-muted)}
.storefront .rs-filter-control summary{display:inline-flex;align-items:center;gap:var(--rh-space-2);min-height:var(--rh-control);padding:8px 12px;border:1px solid var(--rh-line-strong);border-radius:var(--rh-r);background:var(--rh-white);cursor:pointer;font-weight:650;color:var(--rh-berry-deep)}
.storefront .rs-filter-control summary::-webkit-details-marker{display:none}
.storefront .rs-filter-control[open] summary{background:var(--rh-powder)}
.storefront .rs-filters{display:flex;flex-wrap:wrap;align-items:end;gap:var(--rh-space-4) var(--rh-space-6);margin-top:var(--rh-space-3);padding:var(--rh-space-4);border:1px solid var(--rh-line);border-radius:var(--rh-r-lg);background:var(--rh-white)}
.storefront .rs-filters fieldset{flex:1 1 13rem;min-width:0;max-width:25rem}
.storefront .rs-filters-actions{justify-items:start}
.storefront .rs-catalog{gap:var(--rh-space-4)}
.storefront .rs-grid-single{grid-template-columns:minmax(0,min(100%,20rem))}
@media (min-width:640px){.storefront .rs-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center}}
@media (max-width:360px){.storefront .rs-results .rs-grid{grid-template-columns:minmax(0,1fr)}}

/* Cart rows keep the image and details together and group actions below. */
.storefront .rs-line{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:start;gap:var(--rh-space-3);padding:var(--rh-space-4);border-top:1px solid var(--rh-line)}
.storefront .rs-line-sum{font-size:1rem;font-weight:750;max-width:8rem;text-align:right;overflow-wrap:anywhere}
.storefront .rs-line-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--rh-space-2) var(--rh-space-3)}
.storefront .rs-line-qty{display:flex;align-items:center;flex-wrap:wrap;gap:var(--rh-space-2);margin:0}
.storefront .rs-line-remove{margin:0}
.storefront .rs-line-remove .rs-link{font-size:.875rem;font-weight:600}
.storefront .rs-line-qty .rs-stepper{border-radius:var(--rh-r)}
.storefront .rs-line-qty .rs-stepper input{border:0;box-shadow:none;border-radius:0}
.storefront .rs-line-qty .rs-stepper :is(input,button):focus-visible{outline:2px solid var(--rh-berry-deep);outline-offset:-3px}
.storefront .rs-summary .rs-btn{margin-top:var(--rh-space-2)}
@media (min-width:640px){
  .storefront .rs-line{grid-template-columns:88px minmax(0,1fr) auto;padding:var(--rh-space-6)}
  .storefront .rs-line-media{grid-row:span 2}
  .storefront .rs-line-actions{grid-column:2/-1}
}
@media (max-width:360px){
  .storefront .rs-line{grid-template-columns:52px minmax(0,1fr) auto;gap:var(--rh-space-2)}
  .storefront .rs-line-sum{max-width:5.5rem;font-size:.9375rem}
}

.storefront .site-main:has(#catalog-products.rs-grid-single){max-width:56rem}
.storefront #catalog-products.rs-grid-single{justify-content:center}
.storefront .home-catalog-link{margin:0}
.storefront .legal-index .document-links{list-style:none;margin:0;padding:0}
.storefront .legal-index li+li{border-top:1px solid var(--rh-line)}
.storefront .legal-index a{display:flex;align-items:center;min-height:var(--rh-control);padding:8px 0;font-weight:600}
.storefront .legal-index a:hover{text-decoration:underline;text-underline-offset:3px}
.storefront .page-heading:has(+.legal-index) h1{font-size:var(--rh-type-1)}

.storefront #catalog-form>.rs-filter-control{margin-bottom:var(--rh-space-4)}
@media (max-width:767px){
  html:has(.storefront .tabbar){scroll-padding-bottom:calc(72px + env(safe-area-inset-bottom))}
}
