/* BrickMaster — collection, September 2026. Shared storefront design system. */
:root {
  --ink:#232724; --muted:#696d66; --paper:#f6f5f0; --panel:#fff;
  --line:#dedfd7; --yellow:#c1a56c; --gold:#846b39; --gallery:#242c27;
  --warm:#eee6d4; --green:#42634d; --red:#a63d32; --brick:#a63d32;
  --teal:#42634d; --shadow:0 16px 50px #19251b14; --radius:14px;
  --serif:"Playfair Display",Georgia,serif; --ease-premium:cubic-bezier(.2,.8,.2,1);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:145px; }
body { margin:0; color:var(--ink); background:var(--paper); font:15px/1.6 Inter,system-ui,-apple-system,sans-serif; -webkit-font-smoothing:antialiased; }
body.scroll-locked { position:fixed; left:0; right:0; width:100%; overflow:hidden; }
[hidden] { display:none!important; }
button,input,select { font:inherit; }
button,a,input,select,summary { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button { color:inherit; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
h1,h2,h3,p { margin:0; }
h1,h2 { font-family:var(--serif); font-weight:600; letter-spacing:-.045em; line-height:1.1; }
h2 { font-size:clamp(30px,3.2vw,44px); }
h3 { line-height:1.3; }
button:disabled { opacity:.45; cursor:not-allowed; }
:focus-visible { outline:3px solid var(--gold); outline-offset:4px; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:-100px; left:20px; z-index:200; padding:12px 20px; background:white; }
.skip-link:focus { top:10px; }
.eyebrow,.brand-signature { display:block; color:var(--gold); font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.16em; }
.primary-action,.secondary-action,.monthly-offer-add,.monthly-offer-link,.product-bottom button,.modal-actions>button,.checkout-trigger,.order-confirmation-card>a {
  display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:12px 22px; border:1px solid var(--ink); border-radius:7px; background:var(--ink); color:white; font-size:13px; font-weight:600; line-height:1.3; transition:background .2s,transform .2s;
}
.primary-action:hover,.monthly-offer-add:hover,.product-bottom button:hover,.modal-actions>button:hover,.checkout-trigger:hover { background:#435047; border-color:#435047; }
.secondary-action,.monthly-offer-link { background:transparent; color:var(--ink); border-color:var(--line); }
.secondary-action:hover,.monthly-offer-link:hover { background:var(--warm); }
.text-action { display:inline-flex; align-items:center; gap:16px; font-size:13px; font-weight:600; border-bottom:1px solid currentColor; padding-bottom:4px; }
.text-action::after { content:'↗'; font-size:18px; }

/* Navigation */
.site-header { position:sticky; top:0; z-index:30; display:flex; align-items:center; justify-content:space-between; gap:28px; height:82px; padding:0 max(4vw,calc((100vw - 1320px)/2)); background:#f6f5f0f5; border-bottom:1px solid var(--line); backdrop-filter:blur(14px); }
.brand { flex-shrink:0; display:block; }
.brand strong { display:block; font-family:var(--serif); font-size:29px; letter-spacing:-.06em; line-height:1.2; }
.brand small { display:block; font-size:8px; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); margin-top:3px; }
.main-nav { display:flex; align-items:center; gap:30px; font-size:12px; font-weight:500; }
.main-nav a { padding:10px 0; border-bottom:1px solid transparent; }
.main-nav a:hover,.main-nav a[aria-current=page] { border-color:var(--gold); }
.header-actions { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.cart-button { display:flex; gap:9px; align-items:center; padding:9px 11px; border:1px solid transparent; border-radius:9px; background:none; font-size:12px; font-weight:500; }
.cart-button strong { display:grid; place-items:center; min-width:21px; height:21px; padding:0 5px; border-radius:50%; color:var(--ink); background:#e7e1d3; font-size:11px; }
.cart-button-label { display:flex; flex-direction:column; align-items:flex-start; line-height:1.35; white-space:nowrap; }
.cart-button-total { font-size:13px; font-weight:600; font-variant-numeric:tabular-nums; }
.cart-button.has-items { background:var(--panel); border-color:var(--line); }
.cart-button.has-items .cart-button-label>span:first-child { font-size:10px; color:var(--muted); }
.cart-button.has-items strong { background:var(--ink); color:white; }
.cart-button:hover { border-color:var(--gold); }
.mobile-menu { display:none; }
.collection-ribbon { position:sticky; top:82px; z-index:28; display:flex; align-items:center; justify-content:center; gap:28px; min-height:44px; padding:9px 20px; color:#f7f3e9; background:var(--gallery); font-size:12px; }
.collection-ribbon-label { color:#d4be91; font-size:10px; text-transform:uppercase; letter-spacing:.09em; }
.collection-ribbon-tiers { display:flex; gap:24px; }
.collection-ribbon-tiers>span { white-space:nowrap; }
.collection-ribbon-tiers strong { font-size:15px; font-weight:700; color:#e1c58f; margin-right:3px; }
.collection-ribbon-note { padding-left:24px; border-left:1px solid #ffffff30; font-size:11px; color:#d4d8d1; }
.collection-ribbon-note b { margin-left:12px; color:#fff; font-size:15px; }
.collection-ribbon:hover { background:#344239; }

/* Home */
.hero { max-width:1440px; margin:0 auto; display:grid; grid-template-columns:46% 54%; min-height:610px; }
.hero-copy { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:60px 42px 60px max(4vw,calc((1440px - 1320px)/2)); }
.hero-copy .eyebrow { margin-bottom:24px; }
.hero h1 { font-size:clamp(42px,4.7vw,68px); line-height:1.08; }
.hero-copy>p:not(.eyebrow) { max-width:370px; margin-top:24px; color:var(--muted); font-size:15px; line-height:1.8; }
.hero-actions { display:flex; flex-direction:column; align-items:flex-start; gap:21px; margin-top:32px; }
.hero-visual { position:relative; min-width:0; overflow:hidden; aspect-ratio:4/3; align-self:center; width:100%; }
.hero-visual img { width:100%; height:100%; position:absolute; object-fit:contain; object-position:center; }
.hero-visual::after { content:''; position:absolute; inset:70% 0 0; background:linear-gradient(transparent,#0006); pointer-events:none; }
.hero-caption { position:absolute; z-index:1; bottom:26px; left:28px; right:20px; color:white; font-size:11px; letter-spacing:.02em; }
.reassurance-band { display:flex; align-items:center; justify-content:center; gap:70px; border-bottom:1px solid var(--line); padding:21px 24px; color:var(--muted); font-size:12px; }
.reassurance-band span { display:flex; align-items:center; gap:10px; }
.reassurance-band svg { width:19px; height:19px; color:var(--gold); }
.featured-toolbar,.featured-products,.universe-section,.collection-moment,.lifestyle-gallery,.discount-showcase,.logistics-section,.feature-strip,.reviews,.faq,.soft-cta { width:min(1240px,92%); margin-left:auto; margin-right:auto; }
.featured-toolbar { padding:70px 0 28px; display:flex; justify-content:space-between; align-items:end; gap:20px; }
.featured-toolbar .eyebrow { margin-bottom:12px; }
.featured-products { padding-bottom:70px; }
.monthly-offer-card { display:grid; grid-template-columns:1fr 1fr; background:#eae9e1; border-radius:var(--radius); overflow:hidden; min-height:355px; }
.monthly-offer-visual { display:grid; place-items:center; padding:25px 50px; min-width:0; background:#e0e2dc; }
.monthly-offer-visual img { width:100%; height:310px; object-fit:contain; }
.monthly-offer-copy { padding:42px 46px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.monthly-offer-copy>span { font-size:10px; color:var(--gold); text-transform:uppercase; letter-spacing:.14em; margin-bottom:14px; }
.monthly-offer-copy>strong { font-family:var(--serif); font-size:40px; letter-spacing:-.04em; line-height:1.2; }
.monthly-offer-copy>p { color:var(--muted); font-size:13px; margin:12px 0 22px; max-width:340px; }
.monthly-offer-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 15px; }
.monthly-offer-price>strong { font-size:28px; letter-spacing:-.05em; }
.monthly-offer-price small { text-decoration:line-through; font-size:14px; color:var(--muted); }
.monthly-offer-price em { flex-basis:100%; font-style:normal; color:var(--green); font-size:12px; }
.monthly-offer-actions { display:flex; gap:10px; margin-top:22px; }
.latest-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:48px 0 22px; }
.latest-heading h3 { font-size:22px; font-weight:500; letter-spacing:-.035em; }
.latest-heading>a { font-size:12px; border-bottom:1px solid var(--line); white-space:nowrap; }
.carousel-shell { position:relative; }
.featured-grid { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 48px)/3); gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#ccc7ba transparent; padding-bottom:20px; }
.featured-grid .product-card { scroll-snap-align:start; }
.carousel-button { display:grid; place-items:center; position:absolute; top:32%; z-index:3; width:38px; height:38px; border:1px solid var(--line); border-radius:50%; background:#fff; box-shadow:0 3px 15px #0001; font-size:25px; line-height:1; }
.carousel-button:first-child { left:-19px; }
.carousel-button:last-child { right:-19px; }
.featured-catalogue-link { display:none; }
.universe-section { border-top:1px solid var(--line); padding:54px 0 64px; }
.universe-section h2 { font-size:32px; margin-bottom:24px; }
.universe-links { display:flex; gap:12px; flex-wrap:wrap; }
.universe-links a { display:flex; justify-content:space-between; align-items:center; flex:1; gap:24px; padding:18px 20px; border:1px solid var(--line); border-radius:8px; font-size:13px; }
.universe-links a::after { content:'↗'; color:var(--gold); }
.universe-links a:hover { background:var(--warm); }
.collection-moment { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:8%; margin-bottom:28px; }
.collection-moment-media { overflow:hidden; border-radius:var(--radius); }
.collection-moment-media img { width:100%; aspect-ratio:1.15; object-fit:cover; }
.collection-moment-copy { padding:30px 0; }
.collection-moment-copy h2 { max-width:380px; }
.collection-moment-copy p { max-width:370px; color:var(--muted); margin:22px 0; }
.lifestyle-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:64px; }
.lifestyle-gallery article { min-width:0; }
.lifestyle-gallery img { width:100%; aspect-ratio:1.3; object-fit:cover; border-radius:var(--radius); }
.lifestyle-gallery article>div { padding:18px 0; }
.lifestyle-gallery span { display:block; text-transform:uppercase; color:var(--gold); font-size:9px; letter-spacing:.15em; margin-bottom:7px; }
.lifestyle-gallery h2 { font-size:25px; }
.discount-showcase { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:50px; padding:40px 46px; border-radius:var(--radius); color:#f5f2e9; background:var(--gallery); margin-bottom:70px; }
.discount-showcase-copy>span { color:#cdbb94; text-transform:uppercase; font-size:10px; letter-spacing:.14em; }
.discount-showcase h2 { margin:12px 0; font-size:32px; }
.discount-showcase-copy p { color:#c3c9c1; font-size:13px; }
.discount-panel-head { display:none; }
.discount-steps { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.discount-step { display:grid; gap:4px; }
.discount-step+.discount-step { border-left:1px solid #ffffff26; padding-left:28px; }
.discount-step small { font-size:12px; color:#c3c9c1; }
.discount-step strong { font-size:36px; color:#ddc897; font-weight:500; letter-spacing:-.05em; }
.discount-step span { font-size:10px; color:#c3c9c1; }
.discount-rail { display:none; }
.discount-showcase-panel>a { display:inline-block; font-size:12px; margin-top:20px; border-bottom:1px solid #ffffff55; }
.logistics-section { display:grid; grid-template-columns:1.05fr 1fr; align-items:center; gap:54px; margin-bottom:70px; }
.logistics-visual { min-width:0; margin:0; }
.logistics-visual img { width:100%; height:auto; border-radius:var(--radius); }
.logistics-visual figcaption { margin-top:11px; color:var(--muted); font-size:10px; line-height:1.5; }
.logistics-copy .eyebrow { margin-bottom:15px; font-size:10px; }
.logistics-copy h2 { font-size:clamp(29px,3vw,38px); line-height:1.14; }
.logistics-copy>p { margin-top:18px; color:var(--muted); font-size:13px; line-height:1.75; max-width:490px; }
.logistics-copy>.logistics-route { display:flex; align-items:center; gap:15px; width:max-content; max-width:100%; margin-top:17px; padding:8px 14px; border-radius:6px; background:var(--warm); color:var(--ink); font-size:11px; }
.logistics-route b { color:var(--gold); font-weight:400; }
.logistics-route strong { font-weight:600; }
.logistics-steps { list-style:none; padding:0; margin:23px 0 0; }
.logistics-steps li { display:flex; gap:17px; border-top:1px solid var(--line); padding:14px 0; }
.logistics-steps li:last-child { padding-bottom:0; }
.logistics-steps li>span { flex-shrink:0; width:21px; color:var(--gold); font-size:11px; line-height:1.7; font-variant-numeric:tabular-nums; }
.logistics-steps h3 { font-size:13px; font-weight:600; }
.logistics-steps p { margin-top:4px; color:var(--muted); font-size:12px; line-height:1.6; }
.feature-strip { padding:0 0 62px; }
.feature-strip h2,.reviews h2 { font-size:32px; margin-bottom:30px; }
.features,.review-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:36px; }
.features article { border-top:1px solid var(--line); padding-top:24px; }
.feature-icon { display:block; margin-bottom:14px; color:var(--gold); }
.feature-icon svg { width:28px; height:28px; }
.features h3 { font-size:15px; font-weight:600; }
.features p { font-size:13px; color:var(--muted); margin-top:9px; max-width:280px; }
.reviews { padding:44px 0 60px; border-top:1px solid var(--line); }
.review-grid article { padding:26px; border-radius:10px; background:#eeece5; }
.stars { color:var(--gold); font-size:13px; letter-spacing:3px; margin-bottom:14px; }
.review-grid p { font-size:13px; }
.review-grid strong { display:block; font-size:11px; color:var(--muted); margin-top:18px; }
.soft-cta { padding:36px 0; border-block:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:40px; }
.soft-cta h2 { font-size:30px; max-width:580px; }
.soft-cta p { max-width:570px; color:var(--muted); font-size:13px; margin-top:14px; }
.soft-cta>a { flex-shrink:0; }
.faq { display:grid; grid-template-columns:1fr 1.5fr; gap:60px; padding:70px 0; }
.faq h2 { font-size:34px; }
.faq-list details,.product-information details { border-bottom:1px solid var(--line); }
.faq-list summary,.product-information summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:18px; align-items:center; padding:19px 0; font-size:13px; font-weight:500; }
summary::-webkit-details-marker { display:none; }
.faq-list summary::after,.product-information summary::after { content:'+'; font-size:21px; font-weight:400; }
.faq-list details[open] summary::after,.product-information details[open] summary::after { content:'−'; }
.faq-list p,.product-information p { font-size:13px; color:var(--muted); padding:0 20px 20px 0; line-height:1.8; }

/* Catalogue */
.catalogue-hero { width:min(1240px,92%); margin:auto; padding:45px 0 30px; min-height:210px; border-bottom:1px solid var(--line); }
.catalogue-hero h1 { font-size:clamp(35px,4vw,50px); }
.catalogue-hero p { color:var(--muted); margin-top:15px; font-size:14px; max-width:650px; }
.catalogue-hero .eyebrow,.catalogue-hero .brand-signature { margin:0 0 14px; font-size:10px; color:var(--gold); }
.catalogue-collection-offer { width:min(1240px,92%); margin:24px auto 0; padding:22px 28px; display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:28px; border:1px solid #d8c7a3; border-radius:12px; background:var(--warm); }
.catalogue-collection-offer .eyebrow { font-size:9px; margin-bottom:4px; }
.catalogue-collection-offer>div>strong { font-size:17px; font-weight:600; }
.catalogue-collection-offer p { font-size:12px; color:#655d4e; margin-top:5px; max-width:540px; }
.catalogue-offer-tier { min-width:100px; padding-left:28px; border-left:1px solid #c9b993; text-align:center; }
.catalogue-collection-offer .catalogue-offer-tier strong { display:block; font-size:30px; line-height:1.2; letter-spacing:-.04em; }
.catalogue-offer-tier>span { font-size:11px; color:#655d4e; }
body[data-page=catalogue] .toolbar { display:flex; align-items:center; gap:14px; width:min(1240px,92%); margin:26px auto; }
.search-field { position:relative; flex:1; max-width:470px; }
.search-field::before { content:''; width:12px; height:12px; border:1.5px solid var(--muted); border-radius:50%; position:absolute; top:15px; left:17px; }
.search-field::after { content:''; width:6px; height:1.5px; background:var(--muted); transform:rotate(45deg); position:absolute; top:29px; left:28px; }
.search-field input { width:100%; height:46px; background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:10px 14px 10px 44px; color:var(--ink); font-size:13px; }
.sort-field select { height:46px; padding:10px 28px 10px 14px; border:1px solid var(--line); border-radius:8px; background:transparent; color:var(--ink); font-size:12px; max-width:190px; }
.catalogue-results { font-size:12px; color:var(--muted); margin-left:auto; }
.mobile-quick-filters,.mobile-filter-toggle,.filters-head { display:none; }
.shop-layout { display:grid; grid-template-columns:190px minmax(0,1fr); gap:34px; width:min(1240px,92%); margin:0 auto 70px; align-items:start; }
.filters { position:sticky; top:150px; }
.filter-group { padding:0 0 23px; margin-bottom:20px; border-bottom:1px solid var(--line); }
.filter-group h3 { color:var(--gold); font-size:10px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; margin-bottom:12px; }
.filter-group label { display:flex; gap:9px; align-items:center; padding:7px 0; font-size:12px; cursor:pointer; }
.filter-group label:has(input:checked) { font-weight:600; }
.filter-group input { accent-color:var(--ink); margin:0; }
.filter-reset { background:none; padding:4px 0; border:0; border-bottom:1px solid var(--muted); color:var(--muted); font-size:12px; }
.filter-backdrop,.filter-results-action { display:none; }
.product-grid:not(.featured-grid) { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px 20px; }
.product-card { min-width:0; background:var(--paper); }
.product-visual { display:block; position:relative; width:100%; padding:0; border:1px solid #e6e7e0; border-radius:12px; aspect-ratio:1.05; overflow:hidden; background:#e9ebe5; }
.brick-art { display:block; position:relative; width:100%; height:100%; }
.brick-art.has-photo img { width:100%; height:100%; object-fit:var(--image-fit,contain); object-position:var(--image-position,center); transform:translate(var(--image-x,0),var(--image-y,0)) scale(var(--image-zoom,1)); transition:transform .35s var(--ease-premium); }
.brick-art.has-photo img[src$="bm76271-gotham-city-front-v2.png"] { filter:drop-shadow(0 1px 1px #252a2340); }
/* Blend legacy white packshots into the same neutral surface as transparent photos. */
.product-visual,.modal-visual,.cart-thumb,.image-viewer-stage { isolation:isolate; }
.brick-art.has-photo img.has-white-background,.image-viewer-stage img.has-white-background { mix-blend-mode:multiply; }
.product-visual .brick-art { width:90%; height:90%; margin:5%; }
.badge { position:absolute; left:12px; top:12px; padding:5px 9px; background:#f8f7f0ed; border-radius:5px; color:var(--ink); font-size:9px; font-weight:500; }
.monthly-badge { background:#e6d9b9; color:#604b25; }
.retired-badge { background:#e6e8e0; }
.product-info { padding:16px 2px 0; cursor:pointer; }
.product-meta { font-size:9px; letter-spacing:.1em; color:var(--muted); text-transform:uppercase; }
.product-info h3 { font-size:15px; letter-spacing:-.025em; font-weight:600; margin:6px 0 8px; min-height:39px; }
.product-info>p { display:none; }
.product-card-rating { display:inline-flex; align-items:center; flex-wrap:wrap; gap:5px; align-self:flex-start; margin:0 0 10px; max-width:100%; font-size:11px; line-height:1.5; text-underline-offset:3px; }
.product-card-rating>span:first-child { color:var(--gold); font-size:15px; line-height:1; }
.product-card-rating strong { font-weight:600; white-space:nowrap; }
.product-card-rating>span:last-child { color:var(--muted); white-space:nowrap; }
.product-card-rating:hover strong { text-decoration:underline; }
body[data-page=catalogue] .product-card { display:flex; flex-direction:column; }
body[data-page=catalogue] .product-visual { flex-shrink:0; }
body[data-page=catalogue] .product-info { display:flex; flex-direction:column; flex:1; }
body[data-page=catalogue] .product-bottom { margin-top:auto; }
.product-specs { display:flex; gap:9px; font-size:10px; color:var(--muted); margin-bottom:14px; }
.product-specs span+span::before { content:'·'; margin-right:9px; }
.product-bottom { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.product-bottom>div { display:flex; flex-direction:column; }
.product-bottom strong { font-size:18px; letter-spacing:-.04em; font-weight:600; }
.product-bottom small { font-size:11px; color:var(--muted); text-decoration:line-through; }
.product-bottom button { min-height:39px; padding:9px 15px; font-size:11px; }
.product-bottom button.is-added,.modal-actions button.is-added { background:var(--green); border-color:var(--green); }
.empty-state { grid-column:1/-1; padding:70px 30px; text-align:center; color:var(--muted); border:1px dashed var(--line); border-radius:12px; }
.empty-state button { display:block; margin:20px auto 0; background:none; border:0; color:var(--ink); text-decoration:underline; }
.brick-art.image-load-failed::after { position:absolute; inset:0; display:grid; place-items:center; content:'Visuel indisponible'; font-size:12px; color:var(--muted); background:var(--paper); }

/* Shared overlays. Hidden panels never intercept clicks or keyboard focus. */
.cart-drawer,.modal,.checkout-modal,.order-confirmation-modal { position:fixed; inset:0; z-index:70; padding:28px; background:#17201c77; backdrop-filter:blur(6px); visibility:hidden; opacity:0; pointer-events:none; transition:opacity .18s,visibility .18s; }
.cart-drawer[aria-hidden=false],.modal[aria-hidden=false],.checkout-modal[aria-hidden=false],.order-confirmation-modal[aria-hidden=false] { visibility:visible; opacity:1; pointer-events:auto; }
.modal,.checkout-modal,.order-confirmation-modal { display:flex; align-items:center; justify-content:center; }
.modal-card,.checkout-panel,.order-confirmation-panel { width:min(1050px,100%); max-height:calc(100dvh - 56px); display:grid; grid-template-columns:1fr 1fr; position:relative; overflow:auto; border-radius:16px; background:var(--paper); box-shadow:0 30px 100px #0003; }
.modal-close,.checkout-close,.cart-head button,.filters-head button { position:absolute; right:16px; top:16px; display:grid; place-items:center; width:38px; height:38px; border:1px solid var(--line); border-radius:50%; background:#fff; color:var(--ink); font-size:25px; line-height:1; z-index:4; }
.modal-visual { min-height:480px; position:relative; overflow:hidden; padding:35px 22px 62px; background:#e6e8e1; }
.modal-visual .brick-art { height:100%; min-height:380px; }
.modal-visual .brick-art img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; transform:none; }
.modal-visual .brick-art img.has-tight-framing { transform:translate(var(--image-x,0),var(--image-y,0)) scale(var(--image-zoom,1)); }
.image-zoom-button { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:8px; padding:8px 14px; background:#fff9; border:1px solid #cdd0c5; border-radius:6px; font-size:11px; white-space:nowrap; }
.image-zoom-button svg { width:16px; height:16px; }
.modal-copy { padding:40px 36px 24px; min-width:0; }
.modal-copy .eyebrow { font-size:9px; margin-bottom:10px; }
.modal-copy h2 { font-family:Inter,system-ui,sans-serif; font-size:30px; line-height:1.2; letter-spacing:-.04em; padding-right:14px; }
.modal-copy>p[data-modal-description] { margin:14px 0 22px; color:var(--muted); font-size:13px; line-height:1.7; }
.modal-copy .product-identity { margin:-8px 0 20px; color:var(--ink); font-size:11px; line-height:1.6; }
.modal-copy ul { padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:8px 18px; margin:0 0 22px; }
.modal-copy li { font-size:11px; color:var(--muted); }
.modal-copy li[data-fact-type=highlight] { flex-basis:100%; margin-top:8px; }
.image-source { display:none; }
.modal-actions { display:flex; flex-direction:column; gap:16px; padding:20px 0; border-top:1px solid var(--line); }
.modal-price { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.modal-price>span:not(:empty) { order:2; border-radius:5px; padding:4px 8px; background:var(--warm); color:var(--gold); font-size:11px; }
.modal-price>div { display:flex; align-items:baseline; flex-wrap:wrap; gap:10px; }
.modal-price strong { font-size:28px; letter-spacing:-.055em; font-weight:600; }
.modal-price small { font-size:12px; color:var(--muted); text-decoration:line-through; }
.modal-price em { width:100%; font-style:normal; font-size:11px; color:var(--muted); }
.modal-actions>button { width:100%; }
.price-reference-note { margin:0 0 10px; font-size:10px; line-height:1.6; color:var(--muted); }
.product-collection-offer { padding:12px 15px; border-left:3px solid var(--yellow); border-radius:0 7px 7px 0; background:var(--warm); }
.product-collection-offer strong { display:block; font-size:12px; font-weight:600; }
.product-collection-offer span { display:block; font-size:10px; color:#655d4e; margin-top:3px; }
.product-information { margin-top:3px; }
.product-information summary { font-size:12px; padding:14px 0; }
.product-information p { font-size:12px; }
.product-information a { text-decoration:underline; }
.image-viewer { width:min(1200px,96vw); height:92dvh; max-width:none; max-height:none; padding:0; border:0; border-radius:14px; overflow:hidden; background:#eef0e9; color:var(--ink); }
.image-viewer::backdrop { background:#152018bc; backdrop-filter:blur(8px); }
.image-viewer-close,.image-viewer-nav { position:absolute; z-index:2; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:#f6f5f0e6; color:var(--ink); cursor:pointer; }
.image-viewer-close { top:12px; right:12px; }
.image-viewer-nav { top:50%; transform:translateY(-50%); }
.image-viewer-nav[hidden] { display:none; }
.image-viewer-previous { left:12px; }
.image-viewer-next { right:12px; }
.image-viewer-close svg,.image-viewer-nav svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.image-viewer-counter { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); z-index:2; margin:0; padding:7px 11px; border-radius:999px; background:#f6f5f0e6; color:var(--ink); font-size:12px; line-height:1; font-variant-numeric:tabular-nums; letter-spacing:.04em; pointer-events:none; user-select:none; }
.image-viewer-counter[hidden] { display:none; }
.image-viewer-stage { position:relative; height:100%; overflow:auto; background:#eef0e9; }
.image-viewer.has-review-photo-gallery .image-viewer-stage { touch-action:pan-y pinch-zoom; }
.image-viewer-stage img { width:100%; height:100%; max-width:none; object-fit:contain; padding:20px; }
.image-viewer-stage [data-review-photo-outgoing] { position:absolute; inset:0; pointer-events:none; }

/* Direct product pages and the first-visit selection. */
.product-page { max-width:1260px; margin:auto; padding:30px 32px 80px; }
.product-breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; gap:9px; font-size:11px; color:var(--muted); margin:0 0 30px; }
.product-breadcrumbs a { text-decoration:underline; text-underline-offset:3px; }
.product-page-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:58px; align-items:start; }
.product-page-photo { background:#e6e8e1; border-radius:14px; isolation:isolate; overflow:hidden; }
.product-page-photo>button { display:block; position:relative; width:100%; height:540px; padding:35px 25px 65px; background:none; border:0; }
.product-page-photo img { width:100%; height:100%; object-fit:contain; }
.product-page-photo img.has-white-background { mix-blend-mode:multiply; }
.product-page-photo button>span { position:absolute; left:50%; bottom:22px; transform:translateX(-50%); padding:8px 13px; background:#fff9; border:1px solid #cdd0c5; border-radius:6px; font-size:11px; white-space:nowrap; }
.product-page-caption { text-align:center; color:var(--muted); font-size:10px; padding:0 10px 15px; }
.product-page-copy h1 { font-size:clamp(29px,3.5vw,44px); line-height:1.15; margin-bottom:23px; }
.product-page-description { color:var(--muted); font-size:14px; line-height:1.8; margin-bottom:18px; }
.product-page-copy .product-identity { font-size:11px; line-height:1.7; margin:15px 0; }
.product-page-facts { display:flex; flex-wrap:wrap; gap:10px 18px; padding:0; list-style:none; font-size:11px; color:var(--muted); margin:20px 0; }
.product-page-price { display:flex; flex-wrap:wrap; gap:12px; align-items:baseline; border-top:1px solid var(--line); padding-top:24px; margin-bottom:10px; }
.product-page-price strong { font-size:32px; font-weight:600; letter-spacing:-.045em; }
.product-page-price s { font-size:13px; color:var(--muted); }
.product-page-price>span { font-size:11px; color:var(--green); }
.product-page-add { display:flex; justify-content:space-between; width:100%; padding:16px 20px; margin:24px 0 12px; border:0; border-radius:7px; background:var(--ink); color:var(--paper); font-size:14px; font-weight:600; }
.product-page-share { display:block; margin:0 auto 18px; padding:5px 0; border:0; border-bottom:1px solid var(--line); background:none; color:var(--muted); font-size:11px; }
.product-page-delivery { font-size:11px; line-height:1.8; color:var(--muted); }
.product-page-details { display:grid; grid-template-columns:1fr 1fr; gap:65px; margin:55px 0 65px; padding-top:32px; border-top:1px solid var(--line); }
.product-page-details h2 { font-size:26px; margin-bottom:18px; }
.product-page-details p,.product-page-details li { font-size:13px; line-height:1.9; color:var(--muted); }
.product-page-details ul { padding-left:18px; }
.product-page-details .text-link { display:inline-block; font-size:12px; margin-top:12px; border-bottom:1px solid var(--line); }
.product-page-related h2 { font-size:32px; }
.product-review-summary { display:inline-flex; align-items:center; gap:9px; margin:-9px 0 21px; font-size:12px; text-underline-offset:4px; }
.product-review-summary>span:first-child { color:var(--gold); font-size:17px; }
.product-review-summary>span:last-child { color:var(--muted); }
.product-review-summary:hover strong { text-decoration:underline; }
.product-customer-reviews { margin:0 0 60px; padding-top:30px; border-top:1px solid var(--line); }
.product-reviews-heading { display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:22px; max-width:760px; }
.product-reviews-heading h2 { font-size:28px; }
.product-reviews-heading>p { font-size:15px; font-weight:600; white-space:nowrap; }
.product-reviews-heading>p>span { color:var(--muted); font-size:12px; font-weight:400; }
.product-customer-review { max-width:760px; padding:24px; border:1px solid var(--line); border-radius:12px; background:var(--panel); }
.product-customer-review+.product-customer-review { margin-top:16px; }
.product-customer-review>header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 18px; margin-bottom:14px; }
.product-customer-review>header strong { font-size:13px; }
.product-customer-review time { font-size:11px; color:var(--muted); }
.customer-review-content { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; }
.customer-review-copy { flex:1; min-width:0; }
.customer-review-stars { font-size:17px; letter-spacing:2px; line-height:1.3; color:var(--gold); }
.customer-review-copy blockquote { margin:14px 0 22px; font-size:15px; line-height:1.8; overflow-wrap:anywhere; }
.customer-review-no-comment { margin:10px 0; color:var(--muted); font-size:12px; }
.customer-review-disclosure { font-size:10px; line-height:1.7; color:var(--muted); }
.customer-review-disclosure { margin-bottom:10px; }
.customer-review-photo { flex:0 0 144px; width:144px; margin:0; }
.customer-review-photo>a { position:relative; display:block; overflow:hidden; border:1px solid var(--line); border-radius:7px; background:var(--paper); }
.customer-review-photo img { width:100%; height:auto; }
.customer-review-photo a>span { position:absolute; bottom:6px; right:6px; padding:3px 7px; border-radius:4px; background:#fffE; font-size:9px; }
.customer-review-photo figcaption { margin-top:7px; font-size:10px; line-height:1.6; color:var(--muted); }
.customer-review-photos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:10px; max-width:308px; margin-top:18px; }
.customer-review-photos .customer-review-photo { width:100%; min-width:0; }
.customer-review-photos .customer-review-photo img { height:104px; object-fit:contain; }
.more-product-reviews { max-width:760px; margin-top:16px; }
.more-product-reviews>summary { width:fit-content; max-width:100%; padding:12px 16px; border:1px solid var(--line); border-radius:8px; background:var(--panel); font-size:12px; cursor:pointer; }
.more-product-reviews[open]>summary { margin-bottom:16px; }
.more-reviews-hide,.more-product-reviews[open] .more-reviews-show { display:none; }
.more-product-reviews[open] .more-reviews-hide { display:inline; }
@media(max-width:760px) {
  .product-customer-reviews { margin-bottom:40px; padding-top:24px; }
  .product-reviews-heading { align-items:flex-start; gap:12px; }
  .product-reviews-heading h2 { font-size:25px; }
  .product-reviews-heading>p { text-align:right; font-size:14px; }
  .product-reviews-heading>p>span { display:block; font-size:11px; }
  .product-customer-review { padding:18px; }
  .customer-review-content { gap:16px; }
  .customer-review-content { flex-direction:column; }
  .customer-review-content>.customer-review-photo { flex-basis:auto; }
  .customer-review-photo { flex-basis:112px; width:112px; }
}
.discovery-intro { max-width:780px; padding:25px 0 42px; }
.discovery-intro h1 { font-size:clamp(36px,5vw,58px); line-height:1.1; margin:0 0 25px; }
.discovery-intro>p:not(.eyebrow) { color:var(--muted); font-size:14px; line-height:1.8; margin:16px 0; }
.discovery-intro .product-collection-offer { margin-top:25px; }
@media(max-width:760px) {
  .product-page { padding:22px 20px 55px; }
  .product-breadcrumbs { font-size:10px; margin-bottom:22px; }
  .product-page-layout { grid-template-columns:1fr; gap:30px; }
  .product-page-photo>button { height:340px; padding:23px 20px 58px; }
  .product-page-copy h1 { font-size:34px; }
  .product-page-details { grid-template-columns:1fr; gap:30px; margin:40px 0; }
  .product-page .product-grid:not(.featured-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 14px; }
  .product-page .product-bottom { align-items:flex-start; gap:8px; flex-wrap:wrap; }
  .product-page .product-bottom>button { width:100%; }
  .product-page .product-info h3 { font-size:13px; }
  .product-page-related .section-heading { gap:20px; }
}

/* Cart */
.cart-drawer { padding:0; display:flex; justify-content:flex-end; }
.cart-panel { width:min(510px,100%); height:100dvh; display:flex; flex-direction:column; overflow:hidden; background:var(--paper); box-shadow:-10px 0 60px #0001; }
.cart-head { flex-shrink:0; position:relative; padding:16px 28px; border-bottom:1px solid var(--line); }
.cart-head h2 { display:flex; align-items:center; gap:10px; font-family:Inter,system-ui,sans-serif; font-size:23px; font-weight:500; letter-spacing:-.04em; }
.cart-head-count { padding:3px 8px; border:1px solid var(--line); border-radius:20px; color:var(--muted); font-size:11px; font-weight:500; line-height:1.5; letter-spacing:0; white-space:nowrap; }
.cart-body { min-height:0; flex:1 1 auto; overflow-y:auto; overscroll-behavior:contain; }
.cart-items { padding:0 28px; }
.cart-line { position:relative; display:grid; grid-template-columns:64px minmax(0,1fr); gap:14px; align-items:start; padding:14px 0; border-bottom:1px solid var(--line); }
.cart-thumb { height:68px; overflow:hidden; border-radius:8px; background:#e9ebe5; }
.cart-thumb img { object-fit:contain; }
.cart-line-copy { min-width:0; display:flex; flex-direction:column; gap:5px; }
.cart-line h3 { font-size:13px; line-height:1.4; padding-right:28px; font-weight:500; margin:0; }
.cart-line-price { display:flex; flex-direction:column; align-items:flex-end; gap:2px; margin-left:auto; text-align:right; line-height:1.35; white-space:nowrap; }
.cart-line-price strong { font-size:14px; font-weight:600; }
.cart-line-price small { font-size:10px; color:var(--muted); }
.cart-line-controls { display:flex; align-items:center; width:max-content; border:1px solid var(--line); border-radius:6px; margin:0; overflow:hidden; background:white; }
.quantity-button { width:32px; height:32px; background:none; border:0; font-size:17px; }
.cart-line-controls strong { font-size:11px; font-weight:500; min-width:25px; text-align:center; }
.cart-line-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:3px; }
.cart-remove { position:absolute; right:-7px; top:7px; display:grid; place-items:center; background:none; border:0; width:32px; height:32px; color:var(--muted); }
.cart-remove svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.cart-remove:hover { color:var(--ink); }
.cart-empty { display:none; padding:35px 28px; color:var(--muted); font-size:14px; }
.cart-empty.is-visible { display:block; }
.cart-summary { flex-shrink:0; padding:10px 28px 12px; border-top:1px solid var(--line); background:#fff; }
.bundle-offer { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:14px; margin:14px 28px 0; padding:14px; border:1px solid #435046; border-radius:10px; color:#f8f5ed; background:var(--gallery); }
.bundle-heading { display:none; }
.bundle-heading>span:first-child { font-size:9px; text-transform:uppercase; letter-spacing:.13em; color:#d3c09b; }
.bundle-badge { font-size:23px; line-height:1; font-weight:700; letter-spacing:-.05em; color:#e1c58f; }
.bundle-offer>strong { grid-column:1; display:block; font-size:15px; line-height:1.35; font-weight:600; letter-spacing:-.025em; }
.bundle-offer>small { grid-column:1; display:block; font-size:11px; line-height:1.5; color:#cdd4ca; margin-top:4px; }
.bundle-offer>a { grid-column:2; grid-row:1/3; display:flex; justify-content:center; align-items:center; min-height:40px; max-width:142px; padding:8px 12px; border:1px solid #e1c58f; border-radius:6px; background:#e1c58f; color:#242c27; font-size:11px; font-weight:600; text-align:center; }
.bundle-offer>a:hover { background:#f0d9ae; }
.bundle-track { display:none; }
.bundle-progress { display:flex; gap:5px; }
.bundle-progress i { flex:1; height:4px; background:#ffffff24; border-radius:3px; }
.bundle-progress i.is-filled { background:#e1c58f; }
.bundle-tiers { display:flex; justify-content:space-between; margin-top:5px; color:#d3c09b; font-size:10px; }
.cart-summary>div:not(.paypal-message) { display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin:5px 0; font-size:12px; }
.cart-summary>div strong { font-weight:500; white-space:nowrap; }
.cart-discount { color:var(--green); }
.cart-summary>div:has([data-cart-total]) { padding-top:9px; margin:9px 0 11px; border-top:1px solid var(--line); font-size:17px; }
.cart-summary [data-cart-total] { font-size:23px; letter-spacing:-.05em; }
.cart-total-caption { min-width:0; }
.cart-savings { display:block; margin-top:3px; color:var(--green); font-size:11px; line-height:1.4; letter-spacing:0; }
.cart-summary .cart-savings strong { font-weight:600; }
.checkout-trigger { width:100%; }
.cart-summary>small { display:block; margin-top:7px; color:var(--muted); text-align:center; font-size:10px; line-height:1.4; }
.cart-reassurance { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:10px 0 0; padding:0; list-style:none; color:var(--muted); }
.cart-reassurance li { display:flex; align-items:center; justify-content:center; gap:5px; font-size:10px; line-height:1.4; white-space:nowrap; }
.cart-reassurance svg { width:15px; height:15px; flex:none; fill:none; stroke:var(--green); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }

.checkout-copy,.order-confirmation-copy { padding:46px 36px; }
.checkout-copy>span,.order-confirmation-copy>span { color:var(--gold); font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
.checkout-copy h2,.order-confirmation-copy h2 { font-size:32px; margin:14px 0 20px; }
.checkout-copy p,.order-confirmation-copy p { font-size:13px; color:var(--muted); line-height:1.8; }
.checkout-copy .checkout-delivery { margin-top:16px; font-size:12px; }
.checkout-recap { margin-top:26px; padding-top:15px; border-top:1px solid var(--line); }
.checkout-recap>div { display:flex; justify-content:space-between; gap:18px; padding:8px 0; font-size:12px; }
.checkout-recap>div:last-child { font-size:18px; border-top:1px solid var(--line); margin-top:10px; padding-top:14px; }
.checkout-recap [data-checkout-discount-row],.checkout-recap [data-checkout-brickmaster-discount-row] { color:var(--green); }
.paypal-checkout { padding:60px 30px 30px; background:white; }
.checkout-shipping { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:0 0 28px; padding:0 0 24px; border-bottom:1px solid var(--line); }
.checkout-shipping h3,.checkout-shipping>p,.checkout-shipping .shipping-wide { grid-column:1/-1; }
.checkout-shipping h3 { margin:0; font-size:17px; }
.checkout-shipping>p { margin:0; }
.checkout-shipping label { display:grid; gap:7px; font-size:12px; }
.checkout-shipping input,.checkout-shipping select { box-sizing:border-box; width:100%; min-width:0; min-height:44px; padding:10px 12px; border:1px solid var(--line); border-radius:7px; background:white; font:inherit; font-size:14px; color:var(--ink); }
.checkout-shipping input:focus-visible,.checkout-shipping select:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
@media(max-width:480px) { .checkout-shipping { grid-template-columns:1fr; } }
.paypal-checkout>div:first-of-type { margin-bottom:22px; font-size:13px; }
.paypal-checkout p { font-size:12px; color:var(--muted); }
.paypal-checkout p:empty { display:none; }
.paypal-checkout .is-error { color:var(--red); }
.paypal-message { width:100%; min-width:0; }
.cart-summary>.paypal-message { margin:0 0 10px; padding:9px 10px; border-radius:7px; background:#eef3f6; }
.hero-financing { max-width:450px; margin-top:20px; }
.product-page-financing { margin:10px 0 14px; }
.paypal-checkout>.paypal-message { margin-bottom:18px; }
.order-confirmation-card { padding:46px 30px 30px; background:#fff; }
.order-confirmation-card-head>span { font-size:13px; font-weight:600; }
.order-confirmation-number { display:flex; flex-direction:column; gap:4px; margin:15px 0; font-size:11px; color:var(--muted); }
.order-confirmation-number strong { font-weight:500; overflow-wrap:anywhere; }
.order-confirmation-lines { max-height:280px; overflow:auto; }
.order-confirmation-lines>div { display:flex; justify-content:space-between; gap:24px; font-size:12px; padding:13px 0; border-top:1px solid var(--line); }
.order-confirmation-lines strong { font-weight:500; white-space:nowrap; }
.order-confirmation-total { display:flex; justify-content:space-between; gap:20px; align-items:baseline; margin:20px 0; border-top:1px solid var(--line); padding-top:16px; font-size:13px; }
.order-confirmation-total strong { font-size:25px; }
.order-confirmation-card>a { width:100%; }
.cart-dock { display:none; }
.cart-toast { position:fixed; bottom:100px; left:16px; right:16px; z-index:45; display:flex; align-items:center; gap:12px; padding:14px 18px; border:1px solid var(--line); border-radius:10px; background:white; box-shadow:var(--shadow); opacity:0; visibility:hidden; pointer-events:none; }
.cart-toast.is-visible { opacity:1; visibility:visible; pointer-events:auto; }
.cart-toast-badge { flex-shrink:0; display:grid; place-items:center; width:55px; height:55px; border-radius:8px; background:var(--warm); color:var(--ink); font-size:16px; font-weight:700; }
.cart-toast>div { flex:1; min-width:0; }
.cart-toast strong { display:block; font-size:12px; }
.cart-toast span:not(.cart-toast-badge) { display:block; font-size:11px; color:var(--muted); }
.cart-toast a { display:inline-flex; align-items:center; min-height:32px; font-size:11px; font-weight:600; color:var(--gold); text-decoration:underline; text-underline-offset:3px; }
.cart-toast button { flex-shrink:0; align-self:flex-start; border:0; background:none; font-size:22px; width:30px; height:30px; }
.bundle-offer { position:relative; overflow:hidden; }
.cart-toast { overflow:hidden; }
.bundle-offer.is-offer-animated,.cart-toast.is-offer-animated { animation:collection-offer-glow 1.25s ease-out 1; }
.is-offer-animated::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(110deg,transparent 30%,#e1c58f26 50%,transparent 70%); transform:translateX(-110%); animation:collection-offer-sheen 1.15s ease-out .1s 1; }
@keyframes collection-offer-glow {
  35% { border-color:#d4b778; box-shadow:inset 0 0 0 1px #e1c58f40,0 0 0 3px #c1a56c18; }
}
@keyframes collection-offer-sheen {
  from { transform:translateX(-110%); }
  to { transform:translateX(110%); }
}
.catalogue-quick-nav { position:fixed; bottom:24px; right:24px; z-index:35; display:flex; gap:8px; opacity:0; visibility:hidden; }
.catalogue-quick-nav.is-visible { opacity:1; visibility:visible; }
body.cart-toast-open .catalogue-quick-nav { opacity:0; visibility:hidden; }
.catalogue-quick-nav a,.catalogue-quick-nav button { padding:10px 16px; border:1px solid var(--line); border-radius:8px; background:#fff; font-size:11px; box-shadow:var(--shadow); }
[data-floating-filter] { display:none; }
body:is(.cart-open,.modal-open,.checkout-open,.confirmation-open,.filters-open) :is(.cart-dock,.catalogue-quick-nav,.cart-toast) { display:none; }

/* Footer & legal */
.site-footer { display:grid; grid-template-columns:2fr 1fr 1fr 1.3fr; gap:50px; background:var(--gallery); color:#f3f0e7; padding:55px max(4vw,calc((100vw - 1240px)/2)) 70px; }
.site-footer>div>strong { font-family:var(--serif); font-size:25px; letter-spacing:-.05em; }
.site-footer h2 { font-family:Inter,sans-serif; font-size:10px; color:#cdbb94; text-transform:uppercase; letter-spacing:.12em; margin-bottom:19px; }
.site-footer p { max-width:250px; color:#b5beb5; font-size:11px; margin-top:12px; }
.site-footer a,.site-footer span { display:block; color:#cdd4cc; font-size:11px; margin:8px 0; }
.site-footer a:hover { color:#fff; text-decoration:underline; }
.legal-page { width:min(1000px,92%); margin:0 auto 70px; }
.legal-page .catalogue-hero { width:100%; padding:50px 0 30px; }
.legal-page .catalogue-hero h1 { font-size:42px; }
.legal-actions { display:flex; flex-wrap:wrap; gap:12px 25px; font-size:12px; color:var(--muted); padding:24px 0; }
.legal-actions a:hover { text-decoration:underline; }
.legal-content { max-width:760px; padding:30px 0; }
.legal-content h2 { font-family:Inter,sans-serif; font-size:19px; margin:30px 0 12px; }
.legal-content p { font-size:14px; color:var(--muted); line-height:1.85; }
.legal-content a { text-decoration:underline; }
.legal-contact-card { padding:24px; background:var(--warm); border-radius:10px; margin-top:30px; }
.legal-contact-card>* { display:block; font-size:13px; }
.reveal-item { opacity:1; transform:none; }

@media (min-width:761px) and (max-width:1100px) {
  .main-nav { gap:18px; } .hero { min-height:520px; } .hero-copy { padding:40px 28px; }
  .hero h1 { font-size:46px; } .shop-layout { grid-template-columns:170px minmax(0,1fr); gap:24px; }
  .product-grid:not(.featured-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .monthly-offer-copy { padding:28px; } .monthly-offer-visual { padding:25px; }
  .modal-copy { padding:36px 24px 20px; } .site-footer { gap:28px; }
}
@media (max-width:760px) {
  html { scroll-padding-top:135px; }
  .site-header { height:68px; padding:0 20px; gap:14px; }
  .brand strong { font-size:25px; } .brand small { display:none; }
  .main-nav { display:none; } .header-actions { gap:10px; }
  .cart-button { padding:10px 0; gap:5px; } .cart-button>span { display:none; }
  .cart-button.has-items { padding:10px 0; background:transparent; border-color:transparent; }
  .cart-button svg { width:21px; } .cart-button strong { min-width:18px; height:18px; font-size:10px; }
  .mobile-menu { display:block; }
  .mobile-menu>summary { display:flex; align-items:center; justify-content:center; list-style:none; width:38px; height:42px; cursor:pointer; }
  .mobile-menu>nav { position:absolute; top:67px; left:0; right:0; max-height:calc(100dvh - 68px); overflow-y:auto; overscroll-behavior:contain; padding:16px 24px 24px; background:var(--paper); border-bottom:1px solid var(--line); box-shadow:0 25px 35px #0001; }
  .mobile-menu>nav a { display:block; padding:12px 0; border-bottom:1px solid var(--line); font-size:14px; }
  .mobile-menu>nav small { display:block; margin:18px 0 3px; color:var(--gold); font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
  .mobile-menu[open]>summary { color:var(--gold); }
  .collection-ribbon { top:68px; flex-wrap:wrap; gap:2px 12px; min-height:54px; padding:6px 16px; }
  .collection-ribbon-label { display:none; }
  .collection-ribbon-tiers { justify-content:center; gap:20px; width:100%; font-size:11px; }
  .collection-ribbon-tiers strong { font-size:14px; }
  .collection-ribbon-note { padding:0; border:0; font-size:9px; }
  .collection-ribbon-note b { margin-left:5px; font-size:11px; }
  .hero { display:flex; flex-direction:column; min-height:0; }
  .hero-copy { padding:36px 24px 32px; }
  .hero-copy .eyebrow { font-size:9px; margin-bottom:17px; }
  .hero h1 { font-size:43px; max-width:400px; line-height:1.08; }
  .hero-copy>p:not(.eyebrow) { font-size:13px; margin-top:16px; max-width:320px; line-height:1.7; }
  .hero-actions { margin-top:23px; gap:16px; width:100%; }
  .hero-actions .primary-action { min-height:46px; }
  .hero-actions .text-action { font-size:11px; }
  .hero-visual { height:auto; width:calc(100% - 32px); flex-shrink:0; margin:0 16px; border-radius:12px; }
  .hero-caption { bottom:18px; left:18px; font-size:10px; }
  .reassurance-band { padding:20px 14px; gap:10px; justify-content:space-between; }
  .reassurance-band span { flex-direction:column; gap:6px; text-align:center; font-size:9px; }
  .reassurance-band svg { width:17px; height:17px; }
  .featured-toolbar,.featured-products,.universe-section,.collection-moment,.lifestyle-gallery,.discount-showcase,.logistics-section,.feature-strip,.reviews,.faq,.soft-cta { width:calc(100% - 40px); }
  .featured-toolbar { padding:42px 0 22px; }
  .featured-toolbar h2 { font-size:30px; }
  .featured-products { padding-bottom:38px; }
  .monthly-offer-card { display:flex; flex-direction:column; min-height:0; }
  .monthly-offer-visual { padding:20px; }
  .monthly-offer-visual img { height:235px; }
  .monthly-offer-copy { padding:25px; }
  .monthly-offer-copy>strong { font-size:33px; }
  .monthly-offer-copy>span { margin-bottom:9px; }
  .monthly-offer-copy>p { margin:10px 0 18px; font-size:12px; }
  .monthly-offer-price>strong { font-size:28px; }
  .monthly-offer-actions { width:100%; gap:8px; margin-top:20px; }
  .monthly-offer-actions button { flex:1; padding:11px 12px; font-size:11px; }
  .latest-heading { margin:32px 0 20px; align-items:baseline; gap:8px; }
  .latest-heading h3 { font-size:19px; }
  .latest-heading>a { font-size:10px; }
  .featured-grid { grid-auto-columns:82%; gap:16px; margin-right:-20px; padding-right:20px; }
  .carousel-button { display:none; }
  .featured-grid .product-info h3 { min-height:0; }
  .universe-section { padding:32px 0 40px; }
  .universe-section h2 { font-size:28px; }
  .universe-links { gap:8px; }
  .universe-links a { flex-basis:calc(50% - 8px); padding:14px; font-size:11px; }
  .collection-moment { display:flex; flex-direction:column; gap:0; margin-bottom:18px; }
  .collection-moment-media { width:100%; }
  .collection-moment-copy { padding:26px 0 18px; }
  .collection-moment h2 { font-size:31px; max-width:300px; }
  .collection-moment-copy p { margin:16px 0; font-size:13px; }
  .lifestyle-gallery { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:40px; }
  .lifestyle-gallery img { aspect-ratio:.75; border-radius:8px; }
  .lifestyle-gallery article>div { padding:11px 0; }
  .lifestyle-gallery span { font-size:7px; letter-spacing:.05em; }
  .lifestyle-gallery h2 { font-size:17px; line-height:1.15; }
  .discount-showcase { display:block; padding:27px; margin-bottom:42px; }
  .discount-showcase h2 { font-size:28px; }
  .discount-showcase-copy p { font-size:12px; }
  .discount-showcase-panel { margin-top:25px; padding-top:22px; border-top:1px solid #ffffff22; }
  .discount-steps { gap:20px; }
  .discount-step strong { font-size:31px; }
  .logistics-section { grid-template-columns:1fr; gap:25px; margin-bottom:42px; }
  .logistics-visual figcaption { margin-top:8px; font-size:9px; }
  .logistics-copy .eyebrow { margin-bottom:12px; font-size:9px; }
  .logistics-copy h2 { font-size:30px; }
  .logistics-copy>p { margin-top:14px; font-size:12px; }
  .logistics-steps { margin-top:20px; }
  .logistics-steps li { gap:13px; padding:13px 0; }
  .logistics-steps p { font-size:11px; }
  .feature-strip { padding-bottom:36px; }
  .features { display:block; }
  .features article { position:relative; padding:20px 0 20px 44px; }
  .feature-icon { position:absolute; top:20px; left:0; }
  .features p { margin-top:7px; font-size:12px; }
  .features h3 { font-size:13px; }
  .feature-strip h2,.reviews h2 { font-size:29px; margin-bottom:24px; }
  .reviews { padding:32px 0; }
  .review-grid { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; margin-right:-20px; padding-right:20px; padding-bottom:10px; }
  .review-grid article { flex:0 0 87%; scroll-snap-align:start; padding:23px; }
  .soft-cta { display:block; padding:30px 0; }
  .soft-cta h2 { font-size:28px; }
  .soft-cta>a { margin-top:23px; }
  .faq { display:block; padding:40px 0; }
  .faq h2 { font-size:30px; margin-bottom:20px; }
  .faq-list summary { font-size:12px; }
  .catalogue-hero { width:calc(100% - 40px); padding:28px 0 24px; min-height:0; }
  .catalogue-hero h1 { font-size:33px; max-width:330px; }
  .catalogue-hero p { margin-top:12px; font-size:12px; }
  .catalogue-collection-offer { width:calc(100% - 40px); grid-template-columns:1fr 1fr; gap:14px; margin-top:20px; padding:18px; }
  .catalogue-collection-offer>div:first-child { grid-column:1/-1; }
  .catalogue-collection-offer>div>strong { font-size:15px; }
  .catalogue-collection-offer p { font-size:11px; line-height:1.65; }
  .catalogue-offer-tier { min-width:0; padding:10px 0 0; border-left:0; border-top:1px solid #c9b993; }
  .catalogue-collection-offer .catalogue-offer-tier strong { font-size:26px; }
  body[data-page=catalogue] .toolbar { width:calc(100% - 40px); flex-wrap:wrap; gap:12px; margin:20px auto 25px; }
  .search-field { flex-basis:100%; max-width:none; }
  .search-field input { height:44px; }
  .mobile-quick-filters { display:flex; gap:7px; width:100%; overflow:auto; }
  .mobile-quick-filters button { padding:8px 12px; white-space:nowrap; border:1px solid var(--line); border-radius:6px; background:transparent; font-size:10px; }
  .mobile-quick-filters button.is-active { background:var(--gallery); border-color:var(--gallery); color:white; }
  .sort-field { flex:1; } .sort-field select { height:40px; font-size:11px; width:100%; max-width:none; padding:8px 24px 8px 12px; }
  .catalogue-results { font-size:10px; margin-left:0; }
  .mobile-filter-toggle { display:block; height:40px; padding:8px 16px; font-size:11px; border:1px solid var(--line); border-radius:7px; background:white; }
  .shop-layout { display:block; width:calc(100% - 40px); margin-bottom:44px; }
  .filters { position:fixed; z-index:65; top:auto; bottom:0; left:0; right:0; padding:70px 25px 28px; max-height:85dvh; overflow:auto; background:var(--paper); border-radius:18px 18px 0 0; transform:translateY(105%); visibility:hidden; transition:transform .22s,visibility .22s; }
  .filter-results-action { display:block; position:sticky; bottom:-28px; padding:18px 0 8px; background:var(--paper); }
  .filter-results-action button { width:100%; min-height:44px; border:0; border-radius:7px; background:var(--ink); color:white; font-size:12px; font-weight:600; }
  .filters.is-open { visibility:visible; transform:translateY(0); }
  .filter-backdrop { position:fixed; inset:0; z-index:64; background:#17201c88; border:0; width:100%; height:100%; }
  body.filters-open .filter-backdrop { display:block; }
  .filters-head { display:flex; align-items:center; position:absolute; top:0; left:0; right:0; padding:24px; height:66px; }
  .filter-group { margin-bottom:16px; padding-bottom:16px; }
  .filter-group label { padding:11px 0; font-size:13px; }
  .filter-reset { font-size:13px; }
  .product-grid:not(.featured-grid) { grid-template-columns:1fr; gap:16px; }
  body[data-page=catalogue] .product-card { display:grid; grid-template-columns:36% minmax(0,1fr); border:1px solid var(--line); border-radius:10px; background:#fff; overflow:hidden; }
  body[data-page=catalogue] .product-visual { aspect-ratio:auto; height:100%; min-height:170px; border:0; border-radius:0; }
  body[data-page=catalogue] .product-visual .brick-art { position:absolute; inset:4%; width:92%; height:92%; margin:0; }
  body[data-page=catalogue] .product-info { padding:16px 13px; }
  body[data-page=catalogue] .product-meta { font-size:8px; }
  body[data-page=catalogue] .product-info h3 { font-size:14px; min-height:0; margin:7px 0 8px; }
  body[data-page=catalogue] .product-specs { font-size:9px; margin-bottom:10px; gap:6px; }
  body[data-page=catalogue] .product-specs span+span::before { margin-right:6px; }
  body[data-page=catalogue] .product-bottom { flex-wrap:wrap; gap:10px; }
  body[data-page=catalogue] .product-bottom>div { flex-direction:row; align-items:baseline; gap:8px; flex-wrap:wrap; }
  body[data-page=catalogue] .product-bottom strong { font-size:16px; }
  body[data-page=catalogue] .product-bottom small { font-size:10px; }
  body[data-page=catalogue] .product-bottom button { width:100%; min-height:36px; font-size:10px; }
  .badge { left:8px; top:8px; font-size:8px; padding:4px 6px; max-width:calc(100% - 16px); }
  .cart-drawer { padding:0; }
  .cart-head { padding:14px 20px; }
  .cart-head button { top:10px; }
  .cart-items { padding:0 20px; }
  .cart-line { grid-template-columns:48px minmax(0,1fr); gap:12px; padding:12px 0; }
  .cart-thumb { height:54px; }
  .cart-line h3 { font-size:12px; }
  .cart-line-price strong { font-size:13px; }
  .cart-summary { padding:8px 20px max(10px,env(safe-area-inset-bottom)); }

  .cart-body .bundle-offer { grid-template-columns:minmax(0,1fr) auto; column-gap:10px; margin:10px 20px 0; padding:6px 12px; border:1px solid #d7e0d1; border-left:3px solid #617b5b; border-radius:7px; background:#edf1e9; color:#2f4937; }
  .cart-body .bundle-offer>strong { font-size:12px; line-height:1.4; }
  .cart-body .bundle-offer>small { display:none; }
  .cart-body .bundle-offer>a { grid-column:2; grid-row:1; max-width:none; margin:0; min-height:28px; padding:3px 0 3px 6px; border:0; border-radius:0; background:none; color:#2f4937; font-size:11px; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
  .cart-body .bundle-offer>a:hover { background:none; }
  .cart-toast { gap:10px; padding:13px; }
  .cart-summary>div:not(.paypal-message) { font-size:11px; }
  .cart-summary>div:has([data-cart-total]) { margin:8px 0 10px; font-size:16px; }
  .cart-summary [data-cart-total] { font-size:22px; }
  .modal,.checkout-modal,.order-confirmation-modal { padding:16px; }
  .modal-card,.checkout-panel,.order-confirmation-panel { display:block; max-height:calc(100dvh - 32px); border-radius:14px; width:100%; }
  .modal-visual { min-height:0; height:280px; padding:20px 22px 42px; }
  .modal-visual .brick-art { min-height:0; }
  .modal-visual .brick-art img.has-tight-framing { transform:translate(8%,-2%) scale(1.2); }
  .image-zoom-button { bottom:12px; font-size:10px; padding:5px 11px; }
  .modal-copy { padding:23px 22px; }
  .modal-copy h2 { font-size:26px; }
  .modal-copy>p[data-modal-description] { font-size:12px; margin:12px 0 17px; }
  .modal-copy ul { gap:7px 12px; margin-bottom:18px; }
  .modal-copy li { font-size:10px; }
  .modal-actions { gap:12px; padding:16px 0; }
  .modal-price strong { font-size:25px; }
  .modal-close,.checkout-close { right:12px; top:12px; width:35px; height:35px; }
  .checkout-copy,.order-confirmation-copy { padding:35px 25px 25px; }
  .checkout-copy h2,.order-confirmation-copy h2 { font-size:28px; padding-right:15px; }
  .paypal-checkout,.order-confirmation-card { padding:28px 25px; }
  .order-confirmation-lines { max-height:200px; }
  .image-viewer { width:calc(100vw - 20px); height:92dvh; }
  body.has-cart { padding-bottom:calc(80px + env(safe-area-inset-bottom)); }
  .cart-dock { position:fixed; bottom:0; left:0; right:0; z-index:40; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 20px calc(12px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:#fdfdfaf5; backdrop-filter:blur(18px); box-shadow:0 -6px 24px #19251b0a; }
  .cart-dock-summary { min-width:0; }
  .cart-dock-caption { display:flex; align-items:center; gap:8px; font-size:10px; line-height:1.5; white-space:nowrap; color:var(--muted); }
  [data-cart-dock-discount] { color:var(--green); }
  .cart-dock-summary>strong { display:block; margin-top:2px; font-size:21px; font-weight:600; line-height:1.3; letter-spacing:-.04em; font-variant-numeric:tabular-nums; white-space:nowrap; }
  .cart-dock-open { flex-shrink:0; display:flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:12px 17px; border:1px solid var(--ink); border-radius:7px; background:var(--ink); color:white; font-size:12px; font-weight:600; }
  .cart-dock-open svg { width:17px; height:17px; }
  .cart-dock-open:hover { background:#435047; }
  body:has(.mobile-menu[open]) .cart-dock,body:has([data-search]:focus) .cart-dock { display:none; }
  body.has-cart .cart-toast { bottom:calc(94px + env(safe-area-inset-bottom)); }
  body.has-cart .catalogue-quick-nav { bottom:calc(90px + env(safe-area-inset-bottom)); }
  .catalogue-quick-nav { right:16px; bottom:20px; gap:5px; }
  .catalogue-quick-nav a,.catalogue-quick-nav button { padding:10px; font-size:10px; }
  [data-floating-filter] { display:block; }
  .site-footer { grid-template-columns:1fr 1fr; gap:32px 24px; padding:38px 24px 100px; }
  .site-footer>div:first-child { grid-column:1/-1; }
  .site-footer>div:last-child { grid-column:1/-1; }
  .site-footer p { max-width:300px; }
  .site-footer h2 { margin-bottom:14px; }
  .legal-page .catalogue-hero h1 { font-size:34px; }
}
@media (max-width:360px) {
  .cart-line-copy { column-gap:6px; }
  .cart-line-actions { gap:6px; }
  .cart-dock { padding-left:16px; padding-right:16px; gap:10px; }
  .cart-dock-open { padding:12px 13px; font-size:11px; gap:7px; }
  .hero h1 { font-size:37px; }
  .hero-copy { padding-left:20px; padding-right:20px; }
  .cart-button { gap:3px; } .header-actions { gap:5px; }
  .lifestyle-gallery h2 { font-size:15px; }
  .catalogue-results { display:none; }
  .modal-copy { padding:20px 17px; }
}
@media (max-height:650px) {
  .cart-head { padding:14px 20px; }
  .cart-head button { top:9px; }
  .cart-summary { padding:10px 20px max(12px,env(safe-area-inset-bottom)); }
  .cart-summary>div:not(.paypal-message) { margin:4px 0; }
  .cart-summary>div:has([data-cart-total]) { padding-top:7px; margin:7px 0 8px; }
  .cart-summary>.paypal-message { margin-bottom:10px; }
  .cart-summary>.checkout-trigger { min-height:42px; }
  .cart-summary>small { margin-top:5px; font-size:10px; }
  .cart-reassurance { margin-top:8px; }
  .bundle-offer { grid-template-columns:minmax(0,1fr) auto; column-gap:10px; margin-top:10px; padding:10px 12px; }
  .bundle-offer>small { font-size:10px; }
  .bundle-offer>a { grid-column:2; grid-row:1/3; max-width:108px; margin:0; min-height:40px; padding:5px 8px; }
  .cart-line { padding-top:7px; padding-bottom:7px; }
  .cart-thumb { height:56px; }
}
@media (max-width:360px) {
  .cart-body .bundle-offer { column-gap:8px; padding:6px 10px; }
  .cart-body .bundle-offer>strong { font-size:12px; }
  .cart-body .bundle-offer>a { max-width:92px; padding:5px 8px; }
}
@media (max-height:480px) {
  .cart-panel { overflow-y:auto; overscroll-behavior:contain; }
  .cart-body { flex:1 0 auto; overflow:visible; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none!important; transition:none!important; }
}

.order-confirmation-card>a.order-return-link { background:transparent; color:var(--muted); border:0; margin-top:12px; font-weight:400; text-decoration:underline; }

/* A review reward adds one compact line; its code form stays collapsed. */
.review-reward-slot{font-size:12px;margin:7px 0;color:var(--muted)}.review-reward-slot summary{cursor:pointer;line-height:1.7}.review-reward-slot form{display:flex;gap:8px;margin:10px 0}.review-reward-slot form label{flex:1;min-width:0}.review-reward-slot input{box-sizing:border-box;width:100%;padding:10px;border:1px solid var(--line);border-radius:7px;font:inherit;background:var(--panel);color:var(--ink)}.review-reward-slot [type=submit]{padding:8px 12px;border:0;border-radius:7px;background:var(--ink);color:var(--panel);font:inherit;cursor:pointer}.review-reward-slot p{font-size:11px;line-height:1.6;margin:8px 0}.review-reward-slot p.is-error{color:#9b2c23}.review-reward-slot [data-reward-remove]{padding:0;border:0;background:none;color:inherit;text-decoration:underline;font:inherit;cursor:pointer}.review-reward-notice{max-width:1180px;margin:18px auto;padding:14px 20px;background:#eee9dc;border:1px solid #d7c9a8;border-radius:10px;font-size:13px;line-height:1.7;display:flex;align-items:center;gap:16px;justify-content:space-between}.review-reward-notice[hidden]{display:none}.review-reward-notice button{flex:none;border:0;background:none;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}.checkout-recap>.cart-discount[data-review-reward-row]{color:#5b6748}@media(max-width:760px){.review-reward-notice{margin:14px 18px;padding:12px 14px;font-size:12px;align-items:flex-start}.review-reward-notice button{font-size:11px}}

/* BrickMaster identity, 31 October 2026: outlined, compact signature. */
.brand .brand-logo { display:block; width:158px; height:auto; }
.site-footer .footer-logo { display:block; width:175px; height:auto; margin:0 0 16px; }
@media(max-width:760px) { .brand .brand-logo { width:137px; } }
@media(max-width:360px) { .brand .brand-logo { width:125px; } }

/* Checkout: delivery first, then the complete list of eligible payment methods. */
.checkout-panel { display:flex; flex-direction:column; overflow:hidden; }
.checkout-header { flex:none; position:relative; padding:20px 28px 16px; border-bottom:1px solid var(--line); background:var(--paper); }
.checkout-eyebrow { color:var(--gold); font-size:9px; letter-spacing:.12em; text-transform:uppercase; }
.checkout-header h2 { padding-right:40px; margin:6px 0 16px; font:500 28px/1.15 Inter,system-ui,sans-serif; letter-spacing:-.045em; }
.checkout-progress-row { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.checkout-steps { display:flex; align-items:center; gap:20px; padding:0; margin:0; list-style:none; color:var(--muted); font-size:11px; }
.checkout-steps li { display:flex; align-items:center; gap:7px; white-space:nowrap; }
.checkout-steps li>span { display:grid; place-items:center; width:23px; height:23px; border:1px solid var(--line); border-radius:50%; font-size:10px; }
.checkout-steps [aria-current] { color:var(--ink); font-weight:600; }
.checkout-steps [aria-current]>span { border-color:var(--ink); background:var(--ink); color:white; }
.checkout-header-amount { display:flex; align-items:baseline; gap:10px; white-space:nowrap; }
.checkout-header-amount>span { color:var(--muted); font-size:10px; }
.checkout-header-amount>strong { font-size:20px; font-weight:600; letter-spacing:-.04em; }
.checkout-layout { display:grid; grid-template-columns:minmax(280px,.85fr) minmax(0,1fr); min-height:0; overflow-y:auto; overscroll-behavior:contain; }
.checkout-layout .checkout-copy { padding:24px 28px; }
.checkout-copy>h3 { margin:0; font-size:14px; font-weight:600; }
.checkout-copy .checkout-recap { margin-top:14px; padding-top:8px; }
.checkout-layout .paypal-checkout { padding:24px; min-width:0; }
.checkout-shipping { gap:10px 12px; padding:0; margin:0; border:0; }
.checkout-shipping h3,.checkout-payment h3 { font-size:17px; font-weight:600; line-height:1.4; margin:0; }
.checkout-shipping>p { font-size:11px; line-height:1.5; margin:0 0 4px; }
.checkout-shipping label { gap:5px; font-size:11px; }
.checkout-shipping input,.checkout-shipping select { min-height:42px; padding:9px 11px; }
.checkout-continue { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; width:100%; min-height:46px; margin-top:8px; padding:12px 16px; border:0; border-radius:7px; background:var(--ink); color:white; font:600 12px Inter,system-ui,sans-serif; }
.checkout-address-review { display:flex; align-items:baseline; gap:10px; justify-content:space-between; margin:12px 0 20px; padding-bottom:13px; border-bottom:1px solid var(--line); }
.checkout-address-review p { min-width:0; margin:0; font-size:11px; line-height:1.5; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.checkout-address-review button { flex:none; border:0; padding:4px 0; background:none; font:inherit; font-size:10px; color:var(--muted); text-decoration:underline; text-underline-offset:3px; }
.checkout-payment>.paypal-message { margin:16px 0 0; }
.checkout-payment [data-paypal-status] { margin-top:10px; line-height:1.5; }
@media(max-width:760px) {
  .checkout-modal { padding:10px; }
  .checkout-panel { display:flex; max-height:calc(100dvh - 20px); border-radius:12px; }
  .checkout-header { padding:16px 18px 13px; }
  .checkout-header h2 { font-size:22px; margin-bottom:12px; }
  .checkout-header .checkout-close { right:12px; top:12px; width:34px; height:34px; }
  .checkout-progress-row { gap:8px; }
  .checkout-steps { gap:12px; font-size:10px; }
  .checkout-steps li { gap:5px; }
  .checkout-steps li>span { width:20px; height:20px; }
  .checkout-header-amount { display:block; text-align:right; }
  .checkout-header-amount>span { display:block; font-size:9px; line-height:1.2; }
  .checkout-header-amount>strong { font-size:18px; }
  .checkout-layout { display:flex; flex-direction:column; }
  .checkout-layout .paypal-checkout { order:0; padding:18px; }
  .checkout-layout .checkout-copy { order:1; padding:20px 18px; border-top:1px solid var(--line); }
  .checkout-shipping { grid-template-columns:1fr 1fr; }
  .checkout-shipping .shipping-wide { grid-column:1/-1; }
  .checkout-shipping input,.checkout-shipping select { font-size:16px; }
  .checkout-shipping h3,.checkout-payment h3 { font-size:16px; }
  .checkout-address-review { align-items:flex-start; flex-wrap:wrap; gap:4px 12px; margin-bottom:16px; }
  .checkout-address-review p { flex:1 1 130px; }
}

/* Keep the official 4X message legible without crowding the product list. */
.cart-summary>div.cart-total-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:baseline; gap:2px 12px; line-height:1.2; }
.cart-total-row>.cart-savings { grid-column:1/-1; margin-top:0; }
@media(max-width:760px) and (max-height:650px) {
  .cart-head { padding:10px 20px; }
  .cart-head button { top:5px; }
  .cart-body .bundle-offer { margin-top:6px; padding-top:4px; padding-bottom:4px; }
  .cart-line { padding-top:5px; padding-bottom:5px; }
  .cart-line-copy { gap:3px; }
  .cart-remove { top:3px; align-items:start; padding-top:0; }
  .cart-summary { padding-top:8px; padding-bottom:max(8px,env(safe-area-inset-bottom)); }
  .cart-summary>div:not(.paypal-message) { margin-top:2px; margin-bottom:2px; }
  .cart-summary>.review-reward-slot { margin:4px 0; }
  .cart-summary>div.cart-total-row { margin-top:6px; margin-bottom:6px; }
  .cart-summary>.paypal-message { padding:0; margin-bottom:6px; background:none; }
  .cart-reassurance { margin-top:6px; }
  .cart-summary>.cart-delivery { margin-top:3px; }
}
