/* Site storefront stylesheet — the .lpsf-* rules behind the product grid, product page, cart page and
   the mini-cart drawer. The accent (--lpsf-accent) and the chrome cart badge's own rules are emitted
   inline by StorefrontAssets (storefront/_badge-style), so a page carrying only the badge never needs
   this file until the visitor touches the cart. Inlined whole on pages that need it immediately;
   fetched lazily (versioned by mtime) everywhere else. */
/* Muted/secondary text. A site's own stylesheet can set --lpsf-muted / --lpsf-text on
   :root to theme every storefront surface; the defaults pass WCAG AA on white AND on
   off-white surfaces (the old #94a3b8/#64748b did not: 2.2–4.1:1). */
.lpsf-crumbs { font-size:.8rem; color:var(--lpsf-muted, #475569); margin-bottom:1rem; }
.lpsf-crumbs a { color:inherit; text-decoration:none; } .lpsf-crumbs a:hover { text-decoration:underline; }
.lpsf-crumbs [aria-current] { color:var(--lpsf-text, #0f172a); }
.lpsf-crumbs .lpsf-crumb-sep { margin:0 .4rem; }
/* The breadcrumb BAR (Breadcrumbs::barHtml — Site ▸ Shop ▸ Product pages ▸ Breadcrumbs look): full width under
   the header, lined up with the theme's page through --lpsf-page-width / --lpsf-page-pad. */
.lpsf-crumbbar { background:var(--lpsf-crumbbar-bg, #fff); color:var(--lpsf-text, #0f172a); font-size:.8rem; text-transform:uppercase; letter-spacing:.02em; }
.lpsf-crumbbar-in { list-style:none; display:flex; flex-wrap:wrap; align-items:center; box-sizing:border-box; max-width:var(--lpsf-page-width, 1280px); margin:0 auto; padding:.7rem var(--lpsf-page-pad, 1.25rem); }
.lpsf-crumbbar li { display:inline-flex; align-items:center; }
.lpsf-crumbbar li + li::before { content:"/"; margin:0 .45rem; color:var(--lpsf-muted, #475569); }
.lpsf-crumbbar a { color:inherit; text-decoration:none; } .lpsf-crumbbar a:hover { text-decoration:underline; }
.lpsf-crumbbar-home { display:inline-flex; align-items:center; gap:.35rem; }
.lpsf-crumbbar-home svg { flex:none; margin-top:-2px; }
.lpsf-page-title { font-size:1.5rem; font-weight:700; color:var(--lpsf-text, #0f172a); margin:0 0 1.5rem; }
.lpsf-btn { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:.4rem; height:44px; padding:0 1.1rem; border-radius:10px; border:0; cursor:pointer; font:600 .925rem/1 inherit; transition:filter .15s, background .15s; text-decoration:none; }
.lpsf-btn-primary { background:var(--lpsf-accent); color:#fff; } .lpsf-btn-primary:hover { filter:brightness(1.08); }
.lpsf-btn-outline { background:transparent; color:var(--lpsf-accent); border:1.5px solid var(--lpsf-accent); } .lpsf-btn-outline:hover { background:rgba(0,0,0,.03); }
.lpsf-btn[disabled] { background:#e2e8f0; color:#94a3b8; cursor:not-allowed; filter:none; }
.lpsf-btn[hidden] { display:none; }   /* display:inline-flex above would otherwise beat the hidden attribute (empty "Load more" box under every grid) */
@keyframes lpsf-pop { 0%{transform:scale(1)} 45%{transform:scale(1.45)} 100%{transform:scale(1)} }
.lpsf-badge.lpsf-pop { animation:lpsf-pop .35s ease; }
.lpsf-toast { position:fixed; left:50%; bottom:calc(28px + var(--lt-consent-bottom, 0px)); transform:translateX(-50%) translateY(8px); background:#0f172a; color:#fff; font-size:.875rem; line-height:1.45; padding:.7rem 1.1rem; border-radius:12px; box-shadow:0 12px 30px rgba(2,6,23,.25); z-index:10000; opacity:0; transition:opacity .18s, transform .18s; max-width:min(92vw,480px); text-align:center; }
.lpsf-toast.lpsf-toast-in { opacity:1; transform:translateX(-50%) translateY(0); }
/* A message never blocks what is under it (on a phone it sits over the basket's checkout button); its own action button still takes the tap. */
.lpsf-toast { pointer-events:none; }
.lpsf-toast a, .lpsf-toast button { pointer-events:auto; }
.lpsf-btn.lpsf-added { background:#10b981 !important; border-color:#10b981 !important; color:#fff !important; }
.lpsf-qty[data-busy="1"] { opacity:.45; pointer-events:none; }
/* grid */
.lpsf-grid { display:grid; gap:1.6rem; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); margin:1rem 0; }
.lpsf-card { border:1px solid #e2e8f0; border-radius:14px; overflow:hidden; background:#fff; display:flex; flex-direction:column; transition:box-shadow .18s, transform .18s; }
.lpsf-card:hover { box-shadow:0 10px 28px rgba(2,6,23,.10); transform:translateY(-2px); }
.lpsf-card-img { aspect-ratio:4/3; background:#f1f5f9; display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
.lpsf-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.lpsf-card:hover .lpsf-card-img img { transform:scale(1.045); }
/* the product's "Show the whole picture" (PictureFit): the photo fits its frame, never cropped — beats a theme's cover */
.lpsf-card.lpsf-card--whole .lpsf-card-img img { object-fit:contain !important; }
/* the second photo on a desktop hover (Site › Shop — HoverPhoto): stacked in the same frame, so nothing moves; fades in once loaded */
.lpsf-card .lpsf-card-img img.lpsf-card-img2 { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .35s ease, transform .35s ease; pointer-events:none; }
.lpsf-card.lpsf-hover-on .lpsf-card-img img.lpsf-card-img2.lpsf-img2-ready { opacity:1; }
.lpsf-card.lpsf-card--whole .lpsf-card-img img.lpsf-card-img2 { background:inherit; }
.lpsf-card-body { padding:1rem; display:flex; flex-direction:column; gap:.35rem; flex:1; }
.lpsf-card-name { font-weight:600; color:#0f172a; font-size:.975rem; }
/* Site ▸ Shop ▸ Product cards (CardLook): the brand line above the name, and colour swatches above that. */
.lpsf-card-brand { font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--lpsf-muted, #475569); line-height:1.3; }
.lpsf-card-swatches { display:flex; flex-wrap:wrap; gap:.35rem; align-items:center; margin-bottom:.15rem; }
.lpsf-swatch { display:block; width:28px; height:28px; box-sizing:border-box; border:1px solid #e5e7eb; border-radius:4px; background:#fff; overflow:hidden; }
.lpsf-swatch:hover, .lpsf-swatch:focus-visible { border-color:var(--lpsf-text, #0f172a); }
.lpsf-swatch img { width:100%; height:100%; object-fit:contain; display:block; }
.lpsf-swatch-more { font-size:.75rem; color:var(--lpsf-muted, #475569); text-decoration:none; }
.lpsf-card-price { display:flex; align-items:baseline; gap:.5rem; }
.lpsf-card-price b { color:#0f172a; } .lpsf-card-price s { color:var(--lpsf-muted, #475569); font-size:.85em; }
.lpsf-pill { position:absolute; top:10px; left:10px; background:#0f172a; color:#fff; font:700 10px/1 sans-serif; text-transform:uppercase; letter-spacing:.05em; border-radius:999px; padding:5px 9px; }
.lpsf-pill-save { left:auto; right:10px; background:#10b981; }
/* Featured steps to the right when a sale roundel holds the top-left corner (App\Support\Storefront\SaleBadge). */
.lpsf-pill-right { left:auto; right:10px; }
/* A grid roundel reads at 80% on a two-up phone grid (its size + corner come inline from SaleBadge). */
/* Phones: a smaller roundel from its own corner; `scale` composes with the shop's tilt (SaleBadge sets transform + origin). */
@media (max-width:600px) { .lpsf-card-img .lp-roundel--grid { scale:var(--lp-roundel-phone,.8); } }
/* Product labels (App\Support\Storefront\LabelBadges): scale down with the photo on a phone, like the roundel. */
@media (max-width:600px) { .lpsf-card-img .lp-labels--grid { transform:scale(.82); } }
.lpsf-soldout-overlay { position:absolute; inset:0; background:rgba(255,255,255,.55); display:flex; align-items:center; justify-content:center; }
.lpsf-soldout-overlay span { background:#fff; border:1px solid #cbd5e1; color:#475569; font:700 11px/1 sans-serif; text-transform:uppercase; letter-spacing:.08em; border-radius:999px; padding:7px 13px; }
.lpsf-scarce { color:#b45309; background:#fffbeb; border-radius:6px; font-size:.75rem; font-weight:600; padding:.25rem .5rem; align-self:flex-start; }
.lpsf-card .lpsf-btn { margin-top:auto; width:100%; }
.lpsf-empty { text-align:center; color:var(--lpsf-muted, #475569); padding:3rem 1rem; border:1px dashed #cbd5e1; border-radius:14px; }
/* grid controls (search/sort/load-more) */
.lpsf-controls { display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; margin:1rem 0 .25rem; }
.lpsf-search { position:relative; flex:1; min-width:200px; }
.lpsf-search svg { position:absolute; left:.75rem; top:50%; transform:translateY(-50%); width:15px; height:15px; color:#94a3b8; }
.lpsf-search input { box-sizing:border-box; width:100%; height:42px; padding:0 .9rem 0 2.3rem; border:1px solid #cbd5e1; border-radius:12px; font-size:.9rem; background:#fff; color:#0f172a; }
.lpsf-controls select { height:42px; padding:0 .8rem; border:1px solid #cbd5e1; border-radius:12px; font-size:.9rem; background:#fff; color:#0f172a; }
.lpsf-loadmore-wrap { text-align:center; margin:1.4rem 0; }
.lpsf-instock { display:inline-flex; align-items:center; gap:.35rem; color:#047857; font-size:.75rem; font-weight:600; }
.lpsf-instock span { width:6px; height:6px; border-radius:999px; background:#10b981; }
/* free-shipping progress (drawer + cart) */
.lpsf-freeship { font-size:.78rem; color:#475569; }
.lpsf-freeship-bar { height:6px; background:#f1f5f9; border-radius:999px; overflow:hidden; margin-top:.35rem; }
.lpsf-freeship-bar i { display:block; height:100%; background:var(--lpsf-accent); border-radius:999px; transition:width .3s ease; }
.lpsf-freeship-unlocked { color:#047857; background:#ecfdf5; border-radius:8px; padding:.45rem .6rem; font-weight:600; }
/* product-page gallery thumbs */
.lpsf-thumbs { display:flex; gap:.6rem; margin-top:.8rem; flex-wrap:wrap; }
.lpsf-thumb { width:64px; height:64px; border-radius:10px; overflow:hidden; border:2px solid transparent; padding:0; background:#f1f5f9; cursor:pointer; }
.lpsf-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.lpsf-thumb-active { border-color:var(--lpsf-accent, #4f46e5); }
/* drawer */
.lpsf-drawer-overlay { position:fixed; inset:0; background:rgba(15,23,42,.35); z-index:9998; opacity:0; pointer-events:none; transition:opacity .2s; }
/* --lt-consent-top/-bottom: the strip a cookie bar or box occupies (set by lt-consent.js while it is up), so neither covers the other's buttons. */
.lpsf-drawer { position:fixed; top:var(--lt-consent-top, 0px); right:0; bottom:var(--lt-consent-bottom, 0px); width:min(420px,100vw); background:#fff; z-index:9999; box-shadow:-12px 0 40px rgba(2,6,23,.18); transform:translateX(102%); visibility:hidden; transition:transform .25s ease, visibility 0s linear .25s; display:flex; flex-direction:column; font-size:.925rem; color:#0f172a; }
.lpsf-open .lpsf-drawer { transform:translateX(0); visibility:visible; transition:transform .25s ease, visibility 0s; }
.lpsf-open .lpsf-drawer-overlay { opacity:1; pointer-events:auto; }
/* Scroll-lock: the page must freeze while the drawer is open — without this,
   mobile scroll bleeds through the overlay and iOS can scroll the fixed
   drawer out of view. overscroll-behavior stops chain-scrolling at the list
   edges from reaching the page. */
html.lpsf-open, html.lpsf-open body { overflow:hidden; }
.lpsf-drawer-items { overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.lpsf-drawer-head { display:flex; align-items:center; justify-content:space-between; padding:1rem 1.25rem; border-bottom:1px solid #f1f5f9; font-weight:700; }
.lpsf-drawer-close { border:0; background:none; font-size:1.4rem; color:#94a3b8; cursor:pointer; line-height:1; }
.lpsf-drawer-items { flex:1; overflow:auto; padding:1rem 1.25rem; }
.lpsf-line { display:flex; gap:.85rem; padding:.6rem 0; }
.lpsf-line-img { width:60px; height:60px; border-radius:10px; background:#f1f5f9; overflow:hidden; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.lpsf-line-img img { width:100%; height:100%; object-fit:cover; }
.lpsf-line-main { flex:1; min-width:0; }
.lpsf-line-name { font-weight:600; font-size:.875rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lpsf-line-name a { color:inherit; text-decoration:none; } .lpsf-line-name a:hover { text-decoration:underline; }
.lpsf-line-meta { display:flex; align-items:center; justify-content:space-between; margin-top:.5rem; }
.lpsf-qty { display:inline-flex; align-items:center; border:1px solid #e2e8f0; border-radius:8px; }
.lpsf-qty button { width:28px; height:28px; border:0; background:none; color:#64748b; cursor:pointer; font-size:1rem; }
.lpsf-qty span { min-width:24px; text-align:center; font-size:.85rem; }
.lpsf-line-remove { border:0; background:none; color:#cbd5e1; cursor:pointer; font-size:1.1rem; align-self:flex-start; }
.lpsf-line-remove:hover { color:#ef4444; }
.lpsf-drawer-foot { border-top:1px solid #f1f5f9; padding:1rem 1.25rem; display:flex; flex-direction:column; gap:.65rem; }
/* A full-width drawer would meet the cookie re-open button (bottom-left corner, --lt-consent-reopen): keep the foot above it. */
@media (max-width:480px){ .lpsf-drawer-foot { padding-bottom:calc(1rem + var(--lt-consent-reopen, 0px)); } }
.lpsf-row { display:flex; justify-content:space-between; font-size:.9rem; }
.lpsf-muted { color:var(--lpsf-muted, #475569); } .lpsf-note { color:var(--lpsf-muted, #475569); font-size:.75rem; }
.lpsf-drawer-empty { text-align:center; color:var(--lpsf-muted, #475569); padding:2.5rem 0; }
.lpsf-cart-link { text-align:center; font-size:.8rem; color:var(--lpsf-muted, #475569); text-decoration:underline; }
@media (max-width:640px){ .lpsf-grid { grid-template-columns:1fr 1fr; gap:1rem; } }
@media (max-width:420px){ .lpsf-grid { grid-template-columns:1fr; } }
/* Shipping zones — "Delivering to" + delivery method (drawer + cart page, _shipping-picker) */
.lpsf-ship { display:flex; flex-direction:column; gap:.5rem; }
.lpsf-ship[data-busy] { opacity:.6; pointer-events:none; }
.lpsf-ship-to { display:flex; align-items:center; justify-content:space-between; gap:.5rem; font-size:.85rem; }
.lpsf-ship-country { max-width:62%; height:34px; padding:0 .5rem; border:1px solid #cbd5e1; border-radius:8px; background:#fff; font:inherit; font-size:.85rem; color:#0f172a; }
.lpsf-ship-rates { display:flex; flex-direction:column; gap:.35rem; }
.lpsf-ship-rate { display:flex; align-items:center; gap:.5rem; padding:.5rem .6rem; border:1px solid #e2e8f0; border-radius:10px; background:#fff; cursor:pointer; font-size:.85rem; line-height:1.3; }
.lpsf-ship-rate:has(input:checked) { border-color:var(--lpsf-accent, #4f46e5); box-shadow:0 0 0 1px var(--lpsf-accent, #4f46e5); }
.lpsf-ship-rate input { margin:0; accent-color:var(--lpsf-accent, #4f46e5); flex-shrink:0; }
.lpsf-ship-rate[data-lpsf-ship-fixed] { cursor:default; }
.lpsf-ship-rate-name { flex:1; min-width:0; }
.lpsf-ship-rate-price { white-space:nowrap; }
.lpsf-ship-rate-price s { font-size:.75rem; margin-right:.2rem; }
.lpsf-ship-free { color:#047857; }
.lpsf-ship-total { border-top:1px solid #e2e8f0; padding-top:.5rem; font-size:1rem; }
.lpsf-drawer-foot[data-zones] > .lpsf-note { display:none; }

/* Bundles (Products › Bundles): the offer on a product page, a line's bundle price, the "finish the bundle" nudge. */
.lpsf-bundle { margin-top:1rem; padding:.9rem 1rem; border:1.5px solid #a7f3d0; border-radius:12px; background:#ecfdf5; text-align:left; }
.lpsf-bundle-head { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; }
.lpsf-bundle-tag { font:700 .66rem/1 inherit; letter-spacing:.04em; padding:.3rem .5rem; border-radius:999px; background:#059669; color:#fff; }
.lpsf-bundle-name { font-weight:600; font-size:.92rem; color:var(--lpsf-text, #0f172a); }
.lpsf-bundle-items { margin-top:.4rem; font-size:.8rem; line-height:1.45; color:var(--lpsf-muted, #475569); }
.lpsf-bundle-price { margin-top:.5rem; display:flex; align-items:baseline; gap:.5rem; }
.lpsf-bundle-price s { font-size:.8rem; color:var(--lpsf-muted, #475569); }
.lpsf-bundle-price b { font-size:1.25rem; color:var(--lpsf-text, #0f172a); }
.lpsf-bundle-btn { width:100%; margin-top:.6rem; background:#059669; }
.lpsf-line-bundle { display:inline-block; margin-top:.25rem; font-size:.7rem; font-weight:600; color:#047857; background:#ecfdf5; border-radius:999px; padding:.15rem .5rem; }
/* The sale-ending line under a basket line (SaleEnding, basket surface): a touch smaller in the mini basket. */
.lpsf-drawer-items [data-lpsf-basket-sale-ending] > span { font-size:.75rem !important; }
.lpsf-line-was { font-size:.75rem; color:var(--lpsf-muted, #475569); margin-right:.3rem; }
.lpsf-bundle-nudge { margin:.75rem 0 0; padding:.6rem .75rem; border:1px dashed #6ee7b7; border-radius:10px; background:#f0fdf4; font-size:.8rem; line-height:1.45; color:var(--lpsf-text, #0f172a); }
.lpsf-bundle-nudge button { margin-top:.45rem; height:34px; padding:0 .8rem; font-size:.8rem; background:#059669; }
.lpsf-pick-options { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.5rem; }
.lpsf-bundle-nudge .lpsf-pick-option { height:auto; margin-top:0; border:1px solid #a7f3d0; background:#fff; border-radius:999px; padding:.3rem .65rem; font:500 .75rem/1.2 inherit; color:var(--lpsf-text, #0f172a); cursor:pointer; }
.lpsf-bundle-nudge .lpsf-pick-option:hover { border-color:#34d399; background:#f0fdf4; }

/* Account pages (/account): sign in (email → code, or password) and Orders · Addresses · Details. */
.lpsf-acct { max-width:860px; margin:0 auto; padding:2.5rem 1.25rem 3rem; color:var(--lpsf-text, #0f172a); }
.lpsf-acct-narrow { max-width:400px; margin:0 auto; }
.lpsf-acct-title { font-size:1.4rem; font-weight:700; margin:0 0 .35rem; color:var(--lpsf-text, #0f172a); }
.lpsf-acct-lead { font-size:.9rem; color:#64748b; margin:0 0 1.1rem; line-height:1.5; }
.lpsf-label { display:block; font-size:.82rem; font-weight:600; margin:.9rem 0 .3rem; color:var(--lpsf-text, #0f172a); }
.lpsf-field { display:block; width:100%; height:44px; padding:0 .85rem; border:1px solid #cbd5e1; border-radius:10px; font:inherit; font-size:.95rem; color:#0f172a; background:#fff; box-sizing:border-box; }
.lpsf-field:focus { outline:none; border-color:var(--lpsf-accent, #4f46e5); box-shadow:0 0 0 1px var(--lpsf-accent, #4f46e5); }
select.lpsf-field { padding-right:2rem; }
.lpsf-acct .lpsf-btn { width:100%; margin-top:.9rem; }
.lpsf-btn-inline { width:auto !important; padding:0 1.1rem; height:40px; }
.lpsf-or { display:flex; align-items:center; gap:.75rem; margin:1rem 0 0; font-size:.75rem; color:#94a3b8; }
.lpsf-or::before, .lpsf-or::after { content:""; flex:1; height:1px; background:#e2e8f0; }
.lpsf-check { display:flex; gap:.5rem; align-items:center; margin-top:1rem; font-size:.875rem; color:#334155; cursor:pointer; }
.lpsf-check input { width:16px; height:16px; margin:0; accent-color:var(--lpsf-accent, #4f46e5); }
.lpsf-alert { font-size:.85rem; line-height:1.45; border-radius:10px; padding:.7rem .9rem; margin:0 0 1rem; }
.lpsf-alert-ok { color:#047857; background:#ecfdf5; }
.lpsf-alert-bad { color:#b91c1c; background:#fef2f2; }
.lpsf-alert a, .lpsf-alert button { color:inherit; }
.lpsf-linkbtn { background:none; border:0; padding:0; margin:0; font:inherit; font-size:.85rem; color:var(--lpsf-text, #0f172a); text-decoration:underline; cursor:pointer; }
.lpsf-linkrow { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-top:.9rem; font-size:.85rem; }
.lpsf-linkrow .lpsf-muted { font-size:.85rem; }
/* The code: one real input (paste and phone autofill just work), drawn as six boxes once the script runs. */
.lpsf-code { position:relative; margin-top:1.1rem; }
.lpsf-code-input { letter-spacing:.6em; font-size:1.4rem; font-weight:600; text-align:center; height:56px; }
.lpsf-code-boxes { display:none; gap:.5rem; justify-content:space-between; }
.lpsf-code-box { flex:1; max-width:54px; height:58px; border:1.5px solid #cbd5e1; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.5rem; font-weight:600; color:#0f172a; background:#fff; box-sizing:border-box; }
.lpsf-code-box.is-active { border-color:var(--lpsf-accent, #4f46e5); box-shadow:0 0 0 1px var(--lpsf-accent, #4f46e5); }
.lpsf-code.is-live .lpsf-code-boxes { display:flex; }
.lpsf-code.is-live .lpsf-code-input { position:absolute; inset:0; height:100%; opacity:0; color:transparent; caret-color:transparent; }
.lpsf-acct-head { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.lpsf-tabs { display:flex; gap:1.6rem; border-bottom:1px solid #e2e8f0; margin:1.3rem 0 1.1rem; overflow-x:auto; }
.lpsf-tab { padding:0 0 .6rem; font-weight:600; font-size:.9rem; color:#64748b; text-decoration:none; border-bottom:2px solid transparent; white-space:nowrap; }
.lpsf-tab:hover { color:var(--lpsf-text, #0f172a); }
.lpsf-tab.is-on { color:var(--lpsf-text, #0f172a); border-bottom-color:var(--lpsf-text, #0f172a); }
.lpsf-tag { display:inline-block; font:700 10px/1 sans-serif; text-transform:uppercase; letter-spacing:.02em; border-radius:999px; padding:5px 10px; border:1px solid transparent; white-space:nowrap; }
.lpsf-order { border:1px solid #e2e8f0; border-radius:14px; padding:1rem 1.1rem; display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
.lpsf-order.is-past { background:#f8fafc; }
.lpsf-addr-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:.75rem; align-items:start; }
.lpsf-addr { border:1px solid #e2e8f0; border-radius:14px; padding:1rem 1.05rem; font-size:.875rem; color:#475569; line-height:1.55; background:#fff; }
.lpsf-addr.is-default { border:2px solid var(--lpsf-text, #0f172a); }
.lpsf-addr b { color:var(--lpsf-text, #0f172a); }
.lpsf-addr-tags { display:flex; flex-wrap:wrap; gap:.3rem; margin-bottom:.5rem; }
.lpsf-addr-actions { display:flex; flex-wrap:wrap; gap:.4rem .9rem; margin-top:.7rem; }
.lpsf-addr-actions form { margin:0; }
.lpsf-addr-actions .lpsf-addr-edit[open] { order:9; flex-basis:100%; }
.lpsf-fold summary { cursor:pointer; list-style:none; font-size:.85rem; text-decoration:underline; color:var(--lpsf-text, #0f172a); }
.lpsf-fold summary::-webkit-details-marker { display:none; }
.lpsf-fold[open] summary { margin-bottom:.4rem; }
.lpsf-addr-new { border:1px dashed #cbd5e1; border-radius:14px; padding:1rem 1.05rem; }
.lpsf-addr-new summary { text-decoration:none; font-weight:600; color:#475569; }
.lpsf-grid2 { display:grid; grid-template-columns:1fr 1fr; gap:0 .75rem; }
@media (max-width:540px) { .lpsf-grid2 { grid-template-columns:1fr; } }
.lpsf-block { border-top:1px solid #e2e8f0; padding-top:1.15rem; margin-top:1.4rem; font-size:.9rem; }
.lpsf-block-row { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; }
.lpsf-block-title { font-weight:600; color:var(--lpsf-text, #0f172a); }
.lpsf-devices { list-style:none; margin:.4rem 0 0; padding:0; color:#475569; font-size:.875rem; line-height:1.7; }
.lpsf-deliver { margin-top:1rem; display:grid; gap:.45rem; }
.lpsf-deliver[hidden] { display:none; }
.lpsf-deliver-new { display:grid; gap:.4rem; }
.lpsf-deliver-new[hidden] { display:none; }
/* Gift cards: the product page's form (storefront/_gift-card-form), the basket's gift card + credit
   lines (storefront/_cart-balances) and the account's "Gift cards & credit" tab + balance check. */
.lpsf-gc { margin-top:1rem; display:grid; gap:.7rem; text-align:left; color:var(--lpsf-text, #0f172a); }
.lpsf-gc-label { font-size:.8rem; font-weight:600; color:#475569; margin-bottom:-.3rem; }
.lpsf-gc-chips { display:flex; flex-wrap:wrap; gap:.45rem; }
.lpsf-gc-chip { min-width:64px; height:42px; padding:0 1rem; border-radius:10px; border:1.5px solid #cbd5e1; background:#fff; color:#0f172a; font:600 .925rem/1 inherit; cursor:pointer; }
.lpsf-gc-chip.is-on { border-color:var(--lpsf-accent, #0f172a); box-shadow:0 0 0 1px var(--lpsf-accent, #0f172a); }
.lpsf-gc-other { display:flex; align-items:center; gap:.4rem; max-width:220px; }
.lpsf-gc-other[hidden] { display:none; }
.lpsf-gc-sym { font-weight:600; color:#475569; }
.lpsf-gc-designs { display:flex; flex-wrap:wrap; gap:.5rem; }
.lpsf-gc-design { width:84px; aspect-ratio:16/10; padding:0; border-radius:10px; overflow:hidden; border:2px solid transparent; background:#f1f5f9; cursor:pointer; }
.lpsf-gc-design img { width:100%; height:100%; object-fit:cover; display:block; }
.lpsf-gc-design.is-on { border-color:var(--lpsf-accent, #0f172a); }
.lpsf-gc-grid { display:grid; grid-template-columns:1fr 1fr; gap:.55rem .65rem; }
.lpsf-gc-field { display:grid; gap:.25rem; font-size:.78rem; font-weight:600; color:#475569; }
.lpsf-gc-field em { font-weight:400; font-style:normal; }
.lpsf-gc-field textarea.lpsf-field { height:auto; padding:.6rem .85rem; resize:vertical; line-height:1.4; }
.lpsf-gc-wide { grid-column:1 / -1; }
@media (max-width:480px) { .lpsf-gc-grid { grid-template-columns:1fr; } }
.lpsf-gc-when { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1.1rem; font-size:.875rem; }
.lpsf-gc-when label { display:inline-flex; align-items:center; gap:.4rem; cursor:pointer; }
.lpsf-gc-when .lpsf-field { max-width:200px; height:40px; }
.lpsf-gc-when .lpsf-field[hidden] { display:none; }
.lpsf-gc-note { line-height:1.5; } .lpsf-gc-note a { color:inherit; }
.lpsf-gc-sum { display:grid; gap:.45rem; margin-top:.6rem; }
.lpsf-gc-line { color:#047857; align-items:flex-start; gap:.75rem; }
.lpsf-gc-line > span:first-child { display:flex; flex-wrap:wrap; align-items:center; gap:0 .35rem; }
.lpsf-gc-line small { flex-basis:100%; font-size:.72rem; }
.lpsf-gc-line > span:last-child { white-space:nowrap; }
.lpsf-gc-x { border:0; background:none; padding:0 .15rem; font-size:1rem; line-height:1; color:#64748b; cursor:pointer; }
.lpsf-gc-x:hover { color:#b91c1c; }
.lpsf-gc-credit { display:flex; align-items:flex-start; gap:.5rem; font-size:.85rem; cursor:pointer; line-height:1.4; }
.lpsf-gc-credit input { margin-top:.15rem; }
.lpsf-gc-topay { border-top:1px dashed #cbd5e1; padding-top:.55rem; font-size:1rem; }
.lpsf-gc-cards { display:grid; gap:.6rem; }
.lpsf-gc-card { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; border:1px solid #e2e8f0; border-radius:14px; padding:.9rem 1.05rem; font-size:.9rem; }
.lpsf-gc-card b { font-variant-numeric:tabular-nums; }
.lpsf-gc-credit-box { border:1px solid #e2e8f0; border-radius:14px; padding:1.1rem 1.15rem; background:#f8fafc; }
.lpsf-gc-big { font-size:1.8rem; font-weight:700; letter-spacing:-.01em; margin:.15rem 0 .2rem; }
.lpsf-gc-grants { list-style:none; margin:.7rem 0 0; padding:0; font-size:.85rem; color:#475569; line-height:1.7; }
.lpsf-gc-result { border:1px solid #e2e8f0; border-radius:14px; padding:1rem 1.1rem; margin-top:1rem; }
@media (max-width:480px) { .lpsf-hide-sm { display:none; } }

/* ── Saved items (Commerce\Saved\SavedItems): hearts, Save for later, the Saved strip + tab ── */
.lpsf-note-good { background:#ecfdf5; border:1px solid #a7f3d0; color:#065f46; border-radius:10px; padding:.6rem .85rem; font-size:.85rem; line-height:1.45; }
.lpsf-note-good a { color:inherit; font-weight:600; }
.lpsf-card { position:relative; }
.lpsf-heart-slot { position:absolute; top:0; left:0; right:0; aspect-ratio:4/3; pointer-events:none; z-index:2; }
.lpsf-heart { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:.45rem; width:36px; height:36px; padding:0; border-radius:999px; border:0; background:rgba(255,255,255,.94); color:#334155; box-shadow:0 1px 4px rgba(2,6,23,.16); cursor:pointer; transition:transform .15s, color .15s; }
.lpsf-heart svg { fill:none; stroke:currentColor; stroke-width:1.9; stroke-linejoin:round; transition:fill .15s; }
.lpsf-heart:hover { transform:scale(1.08); color:#e11d48; }
.lpsf-heart.is-on { color:#e11d48; } .lpsf-heart.is-on svg { fill:currentColor; }
.lpsf-heart.lpsf-pop svg { animation:lpsf-heart-pop .32s ease; }
@keyframes lpsf-heart-pop { 0%{transform:scale(1)} 45%{transform:scale(1.32)} 100%{transform:scale(1)} }
.lpsf-heart-slot .lpsf-heart { position:absolute; right:10px; bottom:10px; pointer-events:auto; }
.lpsf-heart-big { width:100%; height:44px; margin-top:.6rem; border-radius:10px; background:transparent; box-shadow:none; border:1.5px solid #e2e8f0; font:600 .925rem/1 inherit; color:var(--lpsf-text, #0f172a); }
.lpsf-heart-big:hover { transform:none; border-color:#fecdd3; }
.lpsf-heart-big.is-on { border-color:#fecdd3; background:#fff1f2; color:#be123c; }
.lpsf-in-basket { display:flex; gap:.5rem; align-items:flex-start; margin-top:.6rem; padding:.55rem .7rem; border-radius:10px; font-size:.82rem; line-height:1.45; background:color-mix(in srgb, var(--lpsf-accent) 9%, #fff); color:var(--lpsf-text, #0f172a); }
.lpsf-in-basket svg { flex:none; margin-top:.15rem; color:var(--lpsf-accent); }
.lpsf-in-basket[hidden] { display:none; }
.lpsf-save-later { display:inline-block; margin-top:.35rem; padding:0; border:0; background:none; cursor:pointer; font:500 .75rem/1.4 inherit; color:var(--lpsf-accent); text-decoration:underline; text-underline-offset:2px; }
.lpsf-saved-row { display:flex; align-items:center; justify-content:space-between; margin:0 1.25rem .75rem; padding:.7rem .85rem; border:1px solid #e2e8f0; border-radius:12px; font-size:.85rem; color:var(--lpsf-text, #0f172a); text-decoration:none; }
.lpsf-saved-row[hidden] { display:none; }
.lpsf-saved-row svg { vertical-align:-2px; margin-right:.3rem; }
.lpsf-saved { margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid #e2e8f0; }
[data-account-saved] .lpsf-saved { margin-top:0; padding-top:0; border-top:0; }
.lpsf-saved-head { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-bottom:1rem; }
.lpsf-saved-title { font-size:1.05rem; font-weight:700; margin:0; color:var(--lpsf-text, #0f172a); }
.lpsf-saved-all { font-size:.8rem; color:var(--lpsf-muted, #475569); }
.lpsf-saved-filters { display:flex; gap:.4rem; flex-wrap:wrap; }
.lpsf-chip { height:32px; padding:0 .8rem; border-radius:999px; border:1px solid #e2e8f0; background:#fff; cursor:pointer; font:500 .78rem/1 inherit; color:var(--lpsf-text, #0f172a); }
.lpsf-chip.is-on { background:var(--lpsf-accent); border-color:var(--lpsf-accent); color:#fff; }
.lpsf-btn-sm { height:36px; padding:0 .9rem; font-size:.82rem; }
.lpsf-acct .lpsf-saved-head .lpsf-btn { width:auto; margin-top:0; }
.lpsf-saved-cards { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:.9rem; }
@media (min-width:720px) { .lpsf-saved-cards { grid-template-columns:repeat(4, minmax(0,1fr)); } [data-account-saved] .lpsf-saved-cards { grid-template-columns:repeat(3, minmax(0,1fr)); } }
.lpsf-saved-card { display:flex; flex-direction:column; gap:.3rem; border:1px solid #e2e8f0; border-radius:12px; padding:.6rem; background:#fff; }
.lpsf-saved-card[hidden] { display:none; }
.lpsf-saved-card.is-out .lpsf-saved-img img { opacity:.6; }
.lpsf-saved-img { position:relative; aspect-ratio:4/3; border-radius:8px; overflow:hidden; background:#f1f5f9; }
.lpsf-saved-img img { width:100%; height:100%; object-fit:cover; display:block; }
.lpsf-saved-img .lpsf-heart { position:absolute; top:8px; right:8px; width:32px; height:32px; }
.lpsf-saved-flag { position:absolute; left:8px; bottom:8px; background:#fff; color:#475569; font:700 10px/1 sans-serif; text-transform:uppercase; letter-spacing:.05em; border-radius:999px; padding:5px 8px; }
.lpsf-saved-flag-drop { background:#059669; color:#fff; } .lpsf-saved-flag-back { background:var(--lpsf-accent); color:#fff; }
.lpsf-saved-name { font-size:.88rem; font-weight:600; line-height:1.3; } .lpsf-saved-name a { color:inherit; text-decoration:none; }
.lpsf-saved-meta { font-size:.78rem; color:var(--lpsf-muted, #475569); }
.lpsf-saved-now { color:#047857; }
.lpsf-saved-card .lpsf-btn { width:100%; margin-top:auto; }
.lpsf-saved-out { margin-top:auto; font-size:.78rem; text-align:center; color:#475569; background:#f8fafc; border-radius:8px; padding:.55rem; }
.lpsf-saved-signin { margin-top:1rem; }
.lpsf-saved-empty-heart { width:48px; height:48px; border-radius:999px; background:#fff1f2; display:flex; align-items:center; justify-content:center; margin:0 auto .6rem; }
/* The basket's code box (storefront/_code-box) and "Continue shopping" — Site > Shop > Checkout. */
.lpsf-promo { margin-bottom:1rem; }
.lpsf-promo-label { display:block; font-size:.85rem; margin-bottom:.4rem; color:var(--lpsf-text, #0f172a); }
.lpsf-promo-form { display:flex; gap:.5rem; margin:0; }
.lpsf-promo-input { flex:1; min-width:0; height:40px; padding:0 .75rem; border:1px solid #cbd5e1; border-radius:10px; font-size:.875rem; box-sizing:border-box; background:#fff; }
.lpsf-promo-apply { height:40px; }
.lpsf-promo-msg { margin:.45rem 0 0; font-size:.85rem; line-height:1.4; font-weight:600; color:#b91c1c; }
.lpsf-promo-msg[data-ok="1"] { color:#047857; }
.lpsf-promo-msg[hidden] { display:none; }
/* A shop that uses gift cards: a Discount code box and a Gift card box, what's applied as removable lines (card #11791). */
.lpsf-codes { display:grid; gap:.85rem; }
.lpsf-code-applied { display:flex; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom:.4rem; padding:.55rem .75rem; border:1px solid #a7f3d0; background:#ecfdf5; border-radius:10px; color:#065f46; font-size:.85rem; font-weight:600; }
.lpsf-code-applied > span { min-width:0; overflow-wrap:anywhere; }
.lpsf-code-remove { flex:none; border:0; background:none; padding:.2rem 0; font:inherit; font-size:.8rem; font-weight:600; color:#475569; text-decoration:underline; cursor:pointer; }
.lpsf-code-remove:hover { color:#b91c1c; }
@media (max-width:640px) { .lpsf-codes .lpsf-promo-input { font-size:16px; } }
/* Product page: the details column stays in view while the photos scroll (KUMU ticket #423).
   storefront/_product-body switches it on only where it helps — photos and details side by side
   on a wide screen, and the photo column the taller — and sets the top: below a fixed/sticky
   header, or, for details taller than the window, so their foot settles at the window's foot. */
.lpsf-pp .lp-card-grid.lpsf-pp-sticky > .lp-card-details { position:sticky; top:var(--lpsf-pp-sticky-top, 24px); align-self:start; }
.lpsf-drawer .lpsf-promo { margin-bottom:0; }
.lpsf-continue { width:100%; margin-top:.75rem; }
