/* Storefront (8 Nov 2026): shop front = Figma "Card list 02 · photo on top"; product page = "Product page 01 · Clear & classic".
   Loaded after figma.css. Rollback: remove this file's <link> in shop/index.html and restore the previous app.mjs. */
.mm-shop{--sf-ink:#1B2A41;--sf-muted:#4E5A6B;--sf-line:#E2DACB;--sf-pill:#EFEDEA;--sf-deep:#B4472F;--sf-cream:#FFFFFF;--sf-action:#9A3B26;--sf-green:#2E5E8C;--sf-card:#fff;--sf-tint:#F6E1D9}

/* Your map box (shop front and download page) */
.mm-shop .sf-mapbox{display:flex;align-items:center;gap:12px;margin:12px 0 0;padding:8px 12px 8px 8px;border:1.5px solid var(--sf-line);border-radius:16px;background:var(--sf-card);box-shadow:none}
.mm-shop:not(.shop-routed) #shop-design.sf-mapbox,.shop-front #shop-design.sf-mapbox{display:none!important} /* 9 Nov: no old panel flash before the shop opens */ /* owner, 8 Nov 15:23: remove the Your map panel from the shop */
.shop-pdp #shop-design.sf-mapbox{display:none!important}
.mm-shop .sf-mapbox .design-thumbnail{flex:0 0 46px;width:46px;height:46px;border-radius:8px;overflow:hidden;background:#EFE7DA;display:grid;place-items:center;padding:4px}
.mm-shop .sf-mapbox .design-thumbnail img{width:100%;height:100%;object-fit:contain;background:#fff}
.mm-shop .sf-mapbox .design-label{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.mm-shop .sf-mapbox #design-kicker{font:600 16px/1.3 var(--mm-font-body);color:var(--sf-ink);letter-spacing:0;text-transform:none}
.mm-shop .sf-mapbox .design-label strong{font:400 14px/1.35 var(--mm-font-body);color:var(--sf-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-shop .sf-mapbox-edit{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font:600 14px/1 var(--mm-font-body);color:var(--sf-action);text-decoration:none}
.mm-shop .sf-mapbox-edit:hover{text-decoration:underline;text-underline-offset:3px}

/* Shop front */
.mm-shop .sf-title{margin:24px 0 12px;font:700 24px/1.2 var(--mm-font-body);color:var(--sf-ink);letter-spacing:-.01em}
.mm-shop .sf-list{display:grid;grid-template-columns:1fr;gap:12px}
.mm-shop .sf-card{display:flex;flex-direction:column;border:1.5px solid var(--sf-line);border-radius:16px;background:var(--sf-card);padding:16px;scroll-margin-top:72px;transition:border-color .15s,box-shadow .15s}
.mm-shop .sf-card:hover{border-color:#C9C3B8;box-shadow:0 10px 28px rgba(27,42,65,.14)}
.mm-shop .sf-card-photo{border-radius:16px;overflow:hidden;background:#EFE7DA;aspect-ratio:1.2/1}
.mm-shop .sf-card-photo .shop-photo-gallery,.mm-shop .sf-card-photo .shop-photo-stage,.mm-shop .sf-card-photo .product-gallery-main{height:100%;border-radius:0;margin:0}
.mm-shop .sf-card-photo .shop-photo-footer{display:none}
.mm-shop .sf-file-photo{display:grid;place-items:center;width:100%;height:100%;padding:12% 16%;background:#EFE7DA}
.mm-shop .sf-file-photo img{max-width:100%;max-height:100%;object-fit:contain;background:#fff;box-shadow:0 2px 8px rgba(27,42,65,.08)}
.mm-shop .sf-card-body{position:relative;display:flex;flex-direction:column;gap:8px;padding:12px 4px 2px}
.mm-shop .sf-tags{display:flex;flex-wrap:wrap;gap:8px}
.mm-shop .sf-tag{display:inline-flex;align-items:center;min-height:28px;padding:0 8px;border-radius:8px;font:600 14px/1 var(--mm-font-body)}
.mm-shop .sf-tag--green{background:#F6E1D9;color:#9A3B26}
.mm-shop .sf-tag--blue{background:#E3EAF2;color:#2E5E8C}
.mm-shop .sf-card-title{margin:2px 0 0;font:700 20px/1.25 var(--mm-font-body);color:var(--sf-ink);letter-spacing:-.01em}
.mm-shop .sf-card-link{color:inherit;text-decoration:none}
.mm-shop .sf-card-link::after{content:"";position:absolute;inset:0;border-radius:16px} /* whole text area opens the product */
.mm-shop .sf-card-link:focus-visible{outline:none}
.mm-shop .sf-card-link:focus-visible::after{outline:3px solid var(--sf-deep);outline-offset:2px}
.mm-shop .sf-card-detail{margin:0;font:400 16px/1.45 var(--mm-font-body);color:var(--sf-muted)}
.mm-shop .sf-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.mm-shop .sf-pill{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:8px;background:var(--sf-pill);color:#3A3F47;font:600 14px/1 var(--mm-font-body)}
.mm-shop .sf-card-go{align-self:flex-end;margin-top:-2px;font:600 16px/1 var(--mm-font-body);color:var(--sf-deep)}
.mm-shop .sf-trust{list-style:none;margin:24px 0 0;padding:0 4px;display:grid;gap:8px}
.mm-shop .sf-trust li{display:flex;align-items:center;gap:8px;font:500 14px/1.4 var(--mm-font-body);color:var(--sf-ink)}
.mm-shop .sf-trust svg{flex:none;width:20px;height:20px;color:var(--sf-ink)}
.mm-shop .sf-deliver{margin:16px 0 0;padding:0 4px}
.mm-shop .sf-deliver label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font:500 14px/1.4 var(--mm-font-body);color:var(--sf-muted)}
.mm-shop .sf-deliver select{min-height:40px;padding:0 32px 0 12px;border:1.5px solid var(--sf-line);border-radius:8px;background-color:#fff;font:600 16px/1 var(--mm-font-body);color:var(--sf-ink)}
.mm-shop .sf-note{margin:8px 0 0;padding:0 4px;font:400 14px/1.5 var(--mm-font-body);color:var(--sf-muted)}
@media (min-width:760px){
 .mm-shop .sf-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .mm-shop .sf-title{font-size:32px;margin-top:24px}
 .mm-shop .sf-trust{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1100px){.mm-shop .sf-list{grid-template-columns:repeat(4,minmax(0,1fr))}.mm-shop .sf-trust{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Back link (product and download pages) */
.mm-shop .sf-back{display:inline-flex;align-items:center;min-height:40px;margin:4px 0 4px;font:600 14px/1 var(--mm-font-body);color:var(--sf-action);text-decoration:none}
.mm-shop .sf-back:hover{text-decoration:underline;text-underline-offset:3px}

/* Product page 01 */
.mm-shop .sf-pdp{display:grid;grid-template-columns:1fr;gap:16px}
.mm-shop .sf-pdp-media .shop-photo-gallery,.mm-shop .sf-pdp-media .product-gallery-main{border-radius:16px}
.mm-shop .sf-pdp-copy{display:flex;flex-direction:column;min-width:0}
.mm-shop .sf-pdp-title{margin:0;font:400 clamp(30px,8vw,40px)/1.15 var(--mm-font-heading);color:var(--sf-ink);letter-spacing:-.02em}
.mm-shop .sf-yourmap{margin:4px 0 0;font:400 14px/1.5 var(--mm-font-body);color:var(--sf-action)}
.mm-shop .sf-yourmap a{color:var(--sf-action);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.mm-shop .sf-price-row{display:flex;align-items:baseline;gap:8px;margin:16px 0 4px}
.mm-shop .sf-price-row .product-price{margin:0;font:700 24px/1.1 var(--mm-font-body)!important;color:var(--sf-ink)}
.mm-shop .sf-incl{font:500 14px/1 var(--mm-font-body);color:var(--sf-green)}
.mm-shop .sf-pdp .product-controls{display:flex;flex-direction:column;gap:8px;margin:12px 0 0;padding:0;border:0;background:none}
.mm-shop .sf-label{margin:0 0 2px;font:600 16px/1.3 var(--mm-font-body);color:var(--sf-ink)}
.mm-shop .sf-sizes{display:grid;gap:8px}
.mm-shop .sf-size{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:8px 16px;border:1.5px solid var(--sf-line);border-radius:16px;background:#fff;color:var(--sf-ink);text-align:left;cursor:pointer;font:inherit}
.mm-shop .sf-size:hover{border-color:#B9B2A6}
.mm-shop .sf-size:focus-visible{outline:3px solid #2E5E8C;outline-offset:2px}
.mm-shop .sf-size[aria-checked=true]{border:2px solid var(--sf-deep);background:var(--sf-tint);padding:8px 16px}
.mm-shop .sf-size-dot{flex:none;width:20px;height:20px;border:1.5px solid #6B7280;border-radius:50%;display:grid;place-items:center}
.mm-shop .sf-size[aria-checked=true] .sf-size-dot{border-color:var(--sf-deep)}
.mm-shop .sf-size[aria-checked=true] .sf-size-dot::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--sf-deep)}
.mm-shop .sf-size-name{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.mm-shop .sf-size-name strong{font:600 16px/1.2 var(--mm-font-body)}
.mm-shop .sf-size-name small{font:400 14px/1.3 var(--mm-font-body);color:var(--sf-muted)}
.mm-shop .sf-size-price{flex:none;font:700 16px/1 var(--mm-font-body)}
.mm-shop .sf-fit-note{margin:2px 0 0;font:400 14px/1.4 var(--mm-font-body);color:var(--sf-muted)}
.mm-shop .sf-actions{display:flex;flex-direction:column;gap:8px;margin:16px 0 0}
.mm-shop .sf-actions .shop-button.sf-add,.mm-shop .sf-actions>.shop-button:first-child{justify-content:center;width:100%;min-height:54px;border-radius:999px;border-color:var(--sf-deep);background:var(--sf-deep);color:var(--sf-cream)!important;font:600 16px/1 var(--mm-font-body)}
.mm-shop .sf-actions>.shop-button:first-child:hover:not(:disabled){background:#9A3B26}
.mm-shop .sf-actions>.shop-button:first-child:disabled{opacity:.55}
.mm-shop .sf-pdp-copy>.gallery-note{margin:8px 0 0;font-size:14px}
.mm-shop .sf-pdp .sf-trust{margin-top:16px;padding:0 2px}
.mm-shop .sf-pdp .product-specs{margin-top:16px}
@media (min-width:900px){
 .mm-shop .sf-pdp{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:32px;align-items:start}
 .mm-shop .sf-pdp-media{position:sticky;top:88px}
}
.mm-shop #shop-design.sf-mapbox #design-kicker{display:block;font-size:16px!important;font-weight:600;color:var(--sf-ink)}
/* Card photos fill the box like the Figma cards: the square room photo is centred and cropped top and bottom;
   the map overlay moves with it because the whole square composite is scaled together. */
.mm-shop .sf-card-photo .shop-photo-slide>a{position:relative;overflow:hidden}
.mm-shop .sf-card-photo .shop-photo-composite{position:absolute;left:0;right:0;top:50%;height:auto!important;aspect-ratio:1/1;transform:translateY(-50%)}
.mm-shop .sf-card-photo .shop-photo-image{width:100%;height:100%}
.mm-shop .sf-card-photo :is(.shop-photo-prev,.shop-photo-next){display:none!important}
.mm-shop h1.sf-title{font:700 24px/1.2 var(--mm-font-body)!important;letter-spacing:-.01em!important}
@media (min-width:760px){.mm-shop h1.sf-title{font-size:32px!important}}
.mm-shop h1.sf-pdp-title{font:400 clamp(30px,8vw,40px)/1.15 var(--mm-font-heading)!important}
/* (one-column rule removed 8 Nov 16:30: promises are 2 × 2 everywhere) */
.mm-shop .sf-pdp-copy>.gallery-note:empty{display:none}
.mm-shop .sf-price-row>.product-price{display:inline}
/* Flag country picker beside the shop title (8 Nov 2026 15:12) */
.mm-shop .sf-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px}
.mm-shop .sf-title-row h1.sf-title{margin:0!important}
.mm-shop .sf-flag{position:relative;flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;cursor:pointer}
.mm-shop .sf-flag-emoji{font-size:32px;line-height:1}
.mm-shop .sf-flag:focus-within{outline:3px solid #2E5E8C;outline-offset:2px}
.mm-shop .sf-flag .sf-flag-select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;border:0;appearance:none}
/* Delivery pill (8 Nov 15:23) */
.mm-shop .sf-flag{width:auto;height:40px;border-radius:999px;display:inline-flex;align-items:center;gap:4px;padding:0 12px;border:1.5px solid var(--sf-line);background:#fff;color:var(--sf-ink)}
.mm-shop .sf-flag svg{width:18px;height:18px;color:var(--sf-ink);flex:none}
.mm-shop .sf-flag-emoji{font-size:20px}
.mm-shop .sf-flag-name{font:600 14px/1 var(--mm-font-body)}
.mm-shop .sf-flag-chev{font-size:12px;color:var(--sf-muted);margin-left:1px}
.shop-front #shop-main .sf-title-row{margin-top:16px}
/* "Choose size" as a real button look (the whole card text area is the link) */
.mm-shop .sf-card-go{align-self:stretch;display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:4px;border-radius:999px;background:var(--sf-deep);color:var(--sf-cream);font:600 16px/1 var(--mm-font-body)}
.mm-shop .sf-card:hover .sf-card-go{background:#9A3B26}
/* Never let photo slides widen the page on iPhone */
.mm-shop #shop-main{overflow-x:clip}
.mm-shop .sf-card-photo{contain:paint;isolation:isolate}
/* Download page in the product-page style (8 Nov 15:32) */
.shop-download #shop-design.sf-mapbox,.shop-download #shop-heading{display:none!important}
/* Whole map always visible, tall or wide (owner, 8 Nov 2026 16:31: UK map cut off on the download page). */
.mm-shop .sf-download-art{display:grid;place-items:center;padding:7%;border-radius:16px;background:#EFE7DA;overflow:hidden}
.mm-shop .sf-download-art img{display:block;width:auto;height:auto;max-width:100%;max-height:min(58vh,520px);object-fit:contain;background:#fff;box-shadow:0 10px 28px rgba(27,42,65,.14)}
.mm-shop .sf-download-caption{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font:400 14px/1.4 var(--mm-font-body);color:var(--sf-muted)}
.mm-shop .sf-download .sf-fit-note p{margin:0}
.mm-shop .sf-download .sf-label-gap{margin-top:12px}
.mm-shop .sf-download .digital-options{display:grid;gap:8px;margin-top:4px}
.mm-shop .sf-download .digital-options select,.mm-shop .sf-download .digital-options input{min-height:48px;border:1.5px solid var(--sf-line);border-radius:16px;background-color:#fff;font-size:16px}
.mm-shop .sf-download .sf-actions .shop-button.secondary{justify-content:center;min-height:48px;border-radius:999px}
.mm-shop .sf-download .download-status{margin:0;font:400 14px/1.5 var(--mm-font-body);color:var(--sf-muted)}
.mm-shop .sf-download .download-status:empty{display:none}
.mm-shop .sf-download .download-progress{width:100%}
/* Download page: pay-what-you-want chips on the page (8 Nov 16:09) */
.mm-shop .sf-chips{display:flex;flex-wrap:wrap;gap:8px}
.mm-shop .sf-chip{min-width:64px;min-height:46px;padding:0 16px;border:1.5px solid var(--sf-line);border-radius:999px;background:#fff;color:var(--sf-ink);font:600 16px/1 var(--mm-font-body);cursor:pointer}
.mm-shop .sf-chip:hover{border-color:#B9B2A6}
.mm-shop .sf-chip[aria-checked=true]{border-color:#9A3B26;background:var(--sf-tint);color:#9A3B26}
.mm-shop .sf-chip:focus-visible{outline:3px solid #2E5E8C;outline-offset:2px}
.mm-shop .sf-custom{display:flex;align-items:center;gap:8px;margin-top:4px;padding:0 12px;min-height:48px;border:1.5px solid var(--sf-line);border-radius:16px;background:#fff;font:600 16px/1 var(--mm-font-body)}
.mm-shop .sf-custom[hidden],.mm-shop .sf-check[hidden]{display:none}
.mm-shop .sf-custom input{flex:1;min-width:0;border:0;outline:0;background:none;font:500 16px/1 var(--mm-font-body);color:var(--sf-ink)}
.mm-shop .sf-check{display:flex;align-items:flex-start;gap:8px;margin-top:4px;font:400 14px/1.4 var(--mm-font-body);color:var(--sf-muted)}
.mm-shop .sf-check input{width:20px;height:20px;margin:0;accent-color:var(--sf-deep)}
.mm-shop .sf-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.mm-shop .sf-chip{min-width:0;padding:0 4px}
/* 8 Nov 16:15: no numbers under the product photos; selected photo outlined in the shop green */
.mm-shop .sf-pdp .shop-photo-thumbnail span{display:none}
.mm-shop .sf-pdp .shop-photo-thumbnail{padding:4px}
.mm-shop .sf-pdp .shop-photo-thumbnail[aria-current=true],.mm-shop .sf-pdp .shop-photo-thumbnail[aria-pressed=true]{border-color:var(--sf-deep)!important;background:var(--sf-tint)!important}
/* Delivery pill: the truck sits in a small green circle */
.mm-shop .sf-flag svg{box-sizing:content-box;width:16px;height:16px;padding:4px;border-radius:50%;background:#E3EAF2;color:var(--sf-ink);stroke-width:2}
.mm-shop .sf-flag{padding:0 12px 0 4px;gap:8px;height:42px;border-radius:999px}
.mm-shop .sf-pdp .shop-photo-thumbnail{height:68px;grid-template-rows:minmax(0,1fr);border-radius:16px;padding:4px;overflow:hidden}
.mm-shop .sf-pdp .shop-photo-thumbnail img,.mm-shop .sf-pdp .shop-photo-thumbnail .shop-photo-thumbnail-preview{object-fit:cover;border-radius:8px}
.mm-shop .sf-pdp .shop-photo-thumbnail[aria-pressed=true]{border:2px solid var(--sf-deep)!important;background:#fff!important;box-shadow:none!important;padding:2px}
/* Compact promises: 2 × 2 (8 Nov 16:22) */
.mm-shop .sf-trust{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 12px;padding:0 2px}
.mm-shop .sf-trust li{gap:8px;font:500 14px/1.3 var(--mm-font-body)}
.mm-shop .sf-trust svg{width:18px;height:18px}
@media (min-width:1100px){.shop-front .sf-trust{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
/* Real product facts */
.mm-shop .sf-facts{margin:0;padding:0 16px 16px 32px;display:grid;gap:4px;font:400 16px/1.45 var(--mm-font-body);color:var(--sf-ink)}
.mm-shop .sf-facts li::marker{color:var(--sf-ink)}
.mm-shop .sf-facts .sf-facts-note{list-style:none;margin:4px 0 0 -16px;font-size:14px;color:var(--sf-muted)}
/* Download card: the whole map always fits, tall or wide (8 Nov 16:39 "framing issue") */
.mm-shop .sf-card-photo .sf-file-photo{position:relative;display:block;width:100%;height:100%;padding:0}
.mm-shop .sf-card-photo .sf-file-photo img{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:auto;height:auto;max-width:76%;max-height:80%;object-fit:contain}
.mm-shop .sf-wallet{min-height:50px}
.mm-shop .sf-wallet[hidden]{display:none}
.mm-shop .sf-card-form{padding:12px;border:1.5px solid var(--sf-line);border-radius:16px;background:#fff}
.mm-shop .sf-card-form[hidden]{display:none}
/* Spacing levels (docs/DESIGN-SYSTEM.md, 8 Nov 2026): sections 32–48, groups 16–24, inside a group 4–8. */
.mm-shop .sf-title-row{margin:24px 0 16px}
.mm-shop .sf-list{gap:16px}
.mm-shop .sf-card-body{gap:8px;padding:16px 4px 0}
.mm-shop .sf-card-go{margin-top:8px}
.mm-shop .shop-front-note,.mm-shop .sf-trust{margin-top:32px}
.mm-shop .sf-note{margin-top:16px}
.mm-shop .sf-pdp{gap:24px}
.mm-shop .sf-yourmap{margin-top:4px}
.mm-shop .sf-price-row{margin:16px 0 0}
.mm-shop .sf-pdp .product-controls{margin-top:24px;gap:8px}
.mm-shop .sf-label-gap{margin-top:24px!important}
.mm-shop .sf-actions{margin-top:24px;gap:8px}
.mm-shop .sf-pdp .sf-trust{margin-top:32px}
.mm-shop .sf-pdp .product-specs{margin-top:32px}
/* Product details, delivery and file-type notes as a FAQ list (owner, 8 Nov 18:07): no box, a line between
   questions, "+" that turns into "−" when open, the answer as plain text underneath. */
.mm-shop .sf-pdp .product-specs{border:0;border-radius:0;background:none;overflow:visible;border-top:1px solid var(--sf-line)}
.mm-shop .sf-pdp .product-specs details{border-bottom:1px solid var(--sf-line)}
.mm-shop .sf-pdp .product-specs details:last-child{border-bottom:1px solid var(--sf-line)}
.mm-shop .sf-pdp .product-specs summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:16px 0;font:600 16px/1.4 var(--mm-font-body)!important;color:var(--sf-ink);cursor:pointer;list-style:none}
.mm-shop .sf-pdp .product-specs summary::-webkit-details-marker{display:none}
.mm-shop .sf-pdp .product-specs summary::after{content:"+";flex:none;display:grid;place-items:center;width:24px;height:24px;font:400 24px/1 var(--mm-font-body);color:var(--sf-ink)}
.mm-shop .sf-pdp .product-specs details[open] summary::after{content:"−"}
.mm-shop .sf-pdp .product-specs summary:focus-visible{outline:3px solid #2E5E8C;outline-offset:2px}
.mm-shop .sf-pdp .product-specs details>*:not(summary){margin:0;padding:0 0 16px;font:400 16px/1.5 var(--mm-font-body)!important;color:var(--sf-muted)}
.mm-shop .sf-pdp .product-specs details>p+p{padding-top:0}
.mm-shop .sf-pdp .product-specs .sf-facts{padding:0 0 16px 16px;font-size:16px;color:var(--sf-muted)}
.mm-shop .sf-pdp .product-specs .sf-facts li{color:var(--sf-ink)}
.mm-shop .sf-pdp .product-specs .sf-facts .sf-facts-note{margin:8px 0 0 -16px;font-size:14px;color:var(--sf-muted)}
.mm-shop .sf-pdp .product-specs details a{color:var(--sf-action);text-decoration:underline;text-underline-offset:3px}

/* Paid / downloaded confirmations (owner, 9 Nov 2026 01:00) */
.sf-ok{display:flex;gap:12px;align-items:flex-start;margin:12px 0 0;padding:12px 16px;border-radius:16px;background:#E5F0EA;color:#1E4D36;font-size:16px;line-height:1.4}
.sf-ok strong{font-weight:600}
.sf-ok-icon{flex:none;display:inline-grid;place-items:center;width:24px;height:24px;border-radius:999px;background:#2F6B4A;color:#fff;font-size:14px;font-weight:700}
.sf-paid{margin-top:16px}

/* Delivery pill styled like the builder's undo/redo toolbar (owner, 9 Nov 2026 07:57): one white pill, thin border,
   plain icon, thin divider, then flag · country · ▾ */
.mm-shop .sf-flag{height:44px;padding:0 16px 0 4px;gap:8px;border:1.2px solid var(--sf-line);border-radius:999px;background:#fff;box-shadow:none}
.mm-shop .sf-flag .sf-flag-truck{display:grid;place-items:center;width:40px;height:38px}
.mm-shop .sf-flag .sf-flag-truck svg{box-sizing:border-box;width:20px;height:20px;padding:0;border-radius:0;background:none;color:var(--sf-ink);stroke-width:1.8}
.mm-shop .sf-flag-div{display:block;width:1px;height:22px;background:var(--sf-line);margin-right:4px}
.mm-shop .sf-flag-emoji{font-size:20px}
.mm-shop .sf-flag-name{font:600 16px/1 var(--mm-font-body)}

/* Frame colour swatches (owner, 9 Nov 2026) */
.mm-shop .sf-swatches{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.mm-shop .sf-swatch{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px 0 12px;border:1.5px solid var(--sf-line);border-radius:999px;background:#fff;color:var(--sf-ink);font:600 16px/1 var(--mm-font-body);cursor:pointer}
.mm-shop .sf-swatch[aria-checked=true]{border-color:var(--sf-deep);background:var(--sf-tint)}
.mm-shop .sf-swatch-dot{width:20px;height:20px;border-radius:999px;border:1px solid rgba(27,42,65,.25)}

/* Loading outline (owner, 9 Nov 2026 11:05): the page's own layout shows at once; only the parts still loading
   (photos, prices, sizes) shimmer. Still when the visitor prefers reduced motion. */
@keyframes sf-shimmer{from{background-position:100% 0}to{background-position:0 0}}
.mm-shop .sk{display:block;border-radius:8px;background:linear-gradient(90deg,#EFE7DA 30%,#F6F1E9 50%,#EFE7DA 70%);background-size:300% 100%;animation:sf-shimmer 1.4s ease-in-out infinite}
.mm-shop .sf-card-photo.sk{border-radius:16px}
.mm-shop .sk-row{display:flex;gap:8px;flex-wrap:wrap}
.mm-shop .sk-line{height:16px;margin:4px 0}
.mm-shop .sk-h22{height:22px}.mm-shop .sk-h28{height:28px}.mm-shop .sk-h36{height:36px}
.mm-shop .sk-w20{width:20%}.mm-shop .sk-w30{width:30%}.mm-shop .sk-w50{width:50%}.mm-shop .sk-w60{width:60%}.mm-shop .sk-w70{width:70%}.mm-shop .sk-w80{width:80%}
.mm-shop .sk-gap{margin:16px 0 12px}
.mm-shop .sk-tag{width:96px;height:28px}
.mm-shop .sk-pill{width:104px;height:36px}.mm-shop .sk-pill-s{width:72px}
.mm-shop .sk-btn{height:56px;border-radius:999px;margin-top:8px}
.mm-shop .sk-flag{width:116px;height:44px;border-radius:999px}
.mm-shop .sk-stage{aspect-ratio:1/1;border-radius:16px}
.mm-shop .sk-thumbs i{width:64px;height:64px;border-radius:16px}
.mm-shop .sk-options{display:flex;flex-direction:column;gap:8px;margin:8px 0 16px}
.mm-shop .sk-swatch{width:104px;height:44px;border-radius:999px}
.mm-shop .sk-option{height:64px;border-radius:16px}
.mm-shop .sf-card-photo,.mm-shop .sf-pdp-media .shop-photo-stage{background:linear-gradient(90deg,#EFE7DA 30%,#F6F1E9 50%,#EFE7DA 70%);background-size:300% 100%;animation:sf-shimmer 1.4s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.mm-shop .sk,.mm-shop .sf-card-photo,.mm-shop .sf-pdp-media .shop-photo-stage{animation:none}}
/* "See it on your wall" — 3D / AR view of the customer's print (9 Nov 2026). */
.mm-shop .shop-wall-view{display:inline-flex;align-items:center;gap:8px;margin:4px 0 12px;min-height:44px;padding:0 16px;border:1px solid #dedfd5;border-radius:999px;background:#fffefa;color:#1B2A41;font:600 15px/1 'DM Sans',system-ui,sans-serif;cursor:pointer}
.mm-shop .shop-wall-view:hover{border-color:#1B2A41}
.mm-shop .shop-wall-view:focus-visible,.shop-wall-sheet button:focus-visible{outline:2px solid #a45b38;outline-offset:3px}
.shop-wall-sheet{width:min(560px,100vw);max-width:100vw;max-height:100dvh;margin:auto;padding:0;border:0;border-radius:18px;background:#F7F3EA;color:#1B2A41;font-family:'DM Sans',system-ui,sans-serif}
.shop-wall-sheet::backdrop{background:rgba(27,42,65,.55)}
.shop-wall-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 6px;font-size:17px}
.shop-wall-close{width:44px;height:44px;border:0;border-radius:50%;background:transparent;font-size:28px;line-height:1;color:#1B2A41;cursor:pointer}
.shop-wall-stage{display:grid;place-items:center;height:min(62dvh,480px);margin:0 16px;border-radius:12px;background:linear-gradient(#efe9dd,#e3dccd);color:#5f6b61;font-size:15px}
.shop-wall-stage model-viewer{width:100%;height:100%;--poster-color:transparent}
.shop-wall-ar{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);min-height:48px;padding:0 22px;border:0;border-radius:999px;background:#B4472F;color:#fff;font:600 16px/1 'DM Sans',system-ui,sans-serif;cursor:pointer;box-shadow:0 4px 14px rgba(27,42,65,.25)}
.shop-wall-sheet .shop-wall-note{margin:0;padding:10px 16px 18px;font-size:14px;line-height:1.45;color:#5f6b61}
@media (max-width:560px){.shop-wall-sheet{border-radius:18px 18px 0 0;margin-bottom:0}}
/* Design 2 (9 Nov 2026): the wall button as a dark chip on the main photo. */
.mm-shop .shop-photo-stage .shop-wall-view.is-chip{position:absolute;left:14px;bottom:14px;z-index:3;margin:0;min-height:40px;padding:0 14px 0 12px;gap:7px;border:0;background:rgba(27,42,65,.78);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;font-size:14px;box-shadow:0 2px 10px rgba(27,42,65,.25)}
.mm-shop .shop-photo-stage .shop-wall-view.is-chip:hover{background:rgba(27,42,65,.9)}
.mm-shop .shop-photo-stage .shop-wall-view.is-chip svg{width:17px;height:17px}
/* Free-delivery hour (9 Nov 2026), design B: soft amber strip above Add to cart, rule behind an (i). */
.mm-shop .sf-free-hour{position:relative;display:flex;align-items:flex-start;gap:10px;margin:2px 0 12px;padding:11px 12px 11px 14px;border:1px solid #EED9AE;border-radius:12px;background:#FBF0D9;color:#7A5512;font:400 14px/1.4 var(--mm-font-body)}
.mm-shop .sf-free-hour[hidden]{display:none}
.mm-shop .sf-free-clock{font-size:16px;line-height:1.3}
.mm-shop .sf-free-text{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.mm-shop .sf-free-text strong{font-weight:600;font-size:15px}
.mm-shop .sf-free-time{font-variant-numeric:tabular-nums}
.mm-shop .sf-free-text small{font-size:13px}
.mm-shop .sf-free-hour.is-ended{border-color:#E2DCCF;background:#F3EFE6;color:#5F6670}
.mm-shop .sf-free-infowrap{position:relative;flex:none}
.mm-shop .sf-free-info{display:grid;place-items:center;width:28px;height:28px;margin:-3px -4px 0 0;border:1.5px solid currentColor;border-radius:50%;background:transparent;color:inherit;font:700 13px/1 Georgia,serif;font-style:italic;cursor:pointer}
.mm-shop .sf-free-info:focus-visible{outline:2px solid #a45b38;outline-offset:2px}
.mm-shop .sf-free-tip{position:absolute;right:-4px;bottom:calc(100% + 8px);z-index:5;width:230px;padding:10px 12px;border-radius:10px;background:#1B2A41;color:#fff;font:400 13px/1.4 var(--mm-font-body);box-shadow:0 6px 18px rgba(27,42,65,.25)}
@media (hover:hover){.mm-shop .sf-free-infowrap:hover .sf-free-tip{display:block!important}}
.mm-shop .sf-incl.is-charged{color:#5F6670}
/* Thumbnail selectors tidied (owner, 9 Nov 2026 11:20): photo fills the tile, thin border; selected = clear terracotta ring, no white gap. */
.mm-shop .sf-pdp .shop-photo-thumbnails{gap:10px;padding:3px 3px 6px}
.mm-shop .sf-pdp .shop-photo-thumbnail{flex:0 0 64px;width:64px;height:64px;padding:0!important;border:1px solid #E2DCCF!important;border-radius:12px;background:#fff!important;box-shadow:none!important;overflow:hidden}
.mm-shop .sf-pdp .shop-photo-thumbnail img,.mm-shop .sf-pdp .shop-photo-thumbnail .shop-photo-thumbnail-preview{width:100%;height:100%;object-fit:cover;border-radius:0}
.mm-shop .sf-pdp .shop-photo-thumbnail[aria-pressed=true],.mm-shop .sf-pdp .shop-photo-thumbnail[aria-current=true]{border-color:#B4472F!important;box-shadow:0 0 0 1.5px #B4472F!important}
/* Free-delivery strip polish (owner, 9 Nov 2026 11:22): card-matching corners, even spacing, small (i). */
.mm-shop .sf-free-hour{align-items:center;margin:12px 0 0;padding:12px 14px;border-radius:16px;gap:10px}
.mm-shop .sf-free-hour+.sf-actions{margin-top:12px}
.mm-shop .sf-free-clock{display:grid;place-items:center;font-size:0;line-height:0}
.mm-shop .sf-free-text strong{line-height:1.3}
.mm-shop .sf-free-info{position:relative;width:18px;height:18px;margin:0;border-width:1.3px;font-size:11px;line-height:1}
.mm-shop .sf-free-info::after{content:'';position:absolute;inset:-12px}
.mm-shop .sf-free-tip{right:-8px;bottom:calc(100% + 10px)}
/* (i) in the strip's top-right corner, no circle (owner, 9 Nov 2026 11:25). */
.mm-shop .sf-free-hour{padding-right:34px}
.mm-shop .sf-free-infowrap{position:absolute;top:7px;right:8px}
.mm-shop .sf-free-info{width:20px;height:20px;border:0!important;border-radius:4px;background:transparent;font:italic 700 15px/1 Georgia,'Times New Roman',serif;opacity:.8}
.mm-shop .sf-free-info:hover{opacity:1}
.mm-shop .sf-free-tip{right:-2px;bottom:auto;top:calc(100% + 6px)}
/* Page never wider than the phone (owner, 9 Nov 2026 11:44): the column cannot be stretched by the thumbnail row or a long caption. */
.mm-shop .sf-pdp{grid-template-columns:minmax(0,1fr)}
.mm-shop .sf-pdp>*,.mm-shop .sf-pdp-media,.mm-shop .sf-pdp-copy,.mm-shop .shop-photo-gallery{min-width:0;max-width:100%}
.mm-shop .sf-pdp .shop-photo-thumbnails{max-width:100%;gap:8px}
.mm-shop .sf-pdp .shop-photo-thumbnail{flex-basis:60px;width:60px;height:60px}
.mm-shop .shop-photo-caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (min-width:900px){.mm-shop .sf-pdp{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
/* Shop cards look like the homepage map cards (owner, 12 Nov 2026 08:01):
   two across on phones, white card with soft shadow, framed picture, centred name and price, outline button. */
.mm-shop .sf-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mm-shop .sf-card{padding:6px 6px 10px;border:0;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(27,42,65,.14)}
.mm-shop .sf-card:hover{border-color:transparent;box-shadow:0 14px 32px rgba(27,42,65,.18)}
.mm-shop .sf-card-photo{aspect-ratio:auto;height:150px;padding:4px;border:1px solid var(--sf-line);border-radius:16px;background:#F6F6F2}
.mm-shop .sf-card-photo .shop-photo-gallery,.mm-shop .sf-card-photo .shop-photo-stage,.mm-shop .sf-card-photo .product-gallery-main{border-radius:12px;overflow:hidden}
.mm-shop .sf-card-body{gap:0;padding:0;text-align:center;flex:1}
.mm-shop .sf-tags,.mm-shop .sf-card-detail{display:none}
.mm-shop .sf-card-title{margin:10px 0 0;font:700 16px/20px var(--mm-font-body)}
.mm-shop .sf-pills{justify-content:center;gap:0;margin:4px 0 0}
.mm-shop .sf-pill{min-height:0;padding:0;background:none;font:600 14px/18px var(--mm-font-body);color:var(--sf-muted)}
.mm-shop .sf-pill+.sf-pill{display:none}
.mm-shop .sf-card-go{margin-top:auto;min-height:38px;border:1.5px solid #0B6566;background:transparent;color:#0B6566;font:600 15px/1 var(--mm-font-body)}
.mm-shop .sf-card-body>.sf-pills{margin-bottom:10px}
.mm-shop .sf-card-go::after{content:" \2192";margin-left:4px}
.mm-shop .sf-card:hover .sf-card-go{background:#0B6566;color:#fff}
@media (min-width:768px){.mm-shop .sf-card{padding:10px 10px 14px}.mm-shop .sf-card-photo{height:240px}}
@media (min-width:1100px){.mm-shop .sf-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}}
/* Shop cards: labelled "View on your wall" chip, small and dark (owner chose Figma design 01, 12 Nov 2026 08:45). */
.mm-shop .sf-card-photo .shop-photo-stage .shop-wall-view.is-chip{left:7px;bottom:7px;min-height:24px;height:24px;padding:0 9px 0 7px;gap:5px;border-radius:999px;background:rgba(43,49,56,.88);-webkit-backdrop-filter:none;backdrop-filter:none;font-size:10.5px;font-weight:600;white-space:nowrap;box-shadow:none}
.mm-shop .sf-card-photo .shop-photo-stage .shop-wall-view.is-chip svg{width:13px;height:13px}

/* Digital download card = Figma E11 'faint cloud watermark' (owner, 12 Nov 2026 09:42): reads as a file, not a wall print. */
.mm-shop .sf-card-photo .sf-file-dl{background:#F5F1EA;border-radius:12px;overflow:hidden}
.mm-shop .sf-file-dl .sf-dl-cloud{position:absolute;left:4%;right:4%;top:6%;height:74%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 56'%3E%3Cpath d='M22 50h40a14 14 0 0 0 2-27.9A20 20 0 0 0 26 16 16 16 0 0 0 22 50z' fill='%230B6566'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.13}
.mm-shop .sf-card-photo .sf-file-dl img{top:48%;max-width:68%;max-height:58%;padding:3px;background:#fff;border-radius:6px;box-shadow:0 6px 14px rgba(27,42,65,.16)}
.mm-shop .sf-file-dl .sf-dl-badge{position:absolute;right:11%;bottom:12%;width:22%;max-width:56px;aspect-ratio:1;border-radius:50%;background:#0B6566 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 5v13M6 12l6 6 6-6' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/54% no-repeat;box-shadow:0 4px 10px rgba(27,42,65,.22)}
.mm-shop .sf-grid-yourmap{margin:-6px 0 14px;font:500 14px/20px var(--mm-font-body);color:var(--sf-muted)}
.mm-shop .sf-grid-yourmap a{display:inline-block;padding:6px 0;color:#0B6566;font-weight:600;text-decoration:underline;text-underline-offset:3px}
/* Cart: the main button is full width like every other main button (owner review, 12 Nov 2026). */
.mm-shop .sf-checkout-go{display:flex!important;width:100%;justify-content:center}
/* One-tap download on the shop card (owner, 12 Nov 2026 15:48): main button saves the PNG, small link for the rest. */
.mm-shop .sf-card--file .sf-dl-now{position:relative;z-index:1;cursor:pointer}
.mm-shop .sf-card--file .sf-dl-now::after{content:none}
.mm-shop .sf-card--file .sf-dl-now:disabled{opacity:.7;cursor:progress}
.mm-shop .sf-dl-more{position:relative;z-index:1;display:inline-block;margin:6px 0 -6px;padding:4px 0;font:500 12.5px/16px var(--mm-font-body);color:var(--sf-muted);text-decoration:underline;text-underline-offset:3px}
.mm-shop .sf-dl-status{margin:4px 0 0;font:400 12px/16px var(--mm-font-body);color:var(--sf-muted)}
.mm-shop .sf-dl-status:empty{display:none}
/* Download panel under the cards (owner, 12 Nov 2026 18:39; Figma 'Download panel under cards' 1+2). */
.mm-shop .sf-dl-panel{margin:16px 0 4px;padding:18px 16px;border-radius:20px;background:#fff;box-shadow:0 1px 2px rgba(27,42,65,.05)}
.mm-shop .sf-dl-panel .product-controls{margin:0}
.mm-shop .sf-dl-panel .sf-actions{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.mm-shop .sf-dl-panel .sf-add{width:100%;justify-content:center}
.mm-shop .sf-dl-note{margin:10px 0 0;font:400 12.5px/17px var(--mm-font-body,'DM Sans',sans-serif);color:var(--sf-muted)}
.mm-shop .sf-dl-note[hidden]{display:none}
.mm-shop .sf-sheet-loading{margin:4px 0;font:400 14px/20px var(--mm-font-body,'DM Sans',sans-serif);color:var(--sf-muted)}
.mm-shop .sf-card--file .sf-dl-now[aria-expanded="true"]{background:#0B6566;border-color:#0B6566;color:#fff}
.mm-shop .sf-card--file:has(.sf-dl-now[aria-expanded="true"]){box-shadow:0 0 0 2px #0B6566}
.mm-shop .sf-dl-panel .product-controls{border:0;padding:0;background:none;box-shadow:none;border-radius:0}
.mm-shop .sf-dl-panel .sf-add.is-free{background:#0B6566;border-color:#0B6566}
.mm-shop .sf-dl-panel .sf-add.is-free:hover{background:#095556}
.mm-shop .sf-dl-panel .sf-label-gap{margin-top:0!important}
.mm-shop .sf-dl-panel .download-status:empty{display:none}
.mm-shop .sf-dl-panel .product-controls>*:first-child{margin-top:0!important}
/* Apple Pay loading placeholder (owner, 13 Nov 2026 21:45: Apple Pay appeared late, leaving an empty gap) */
.mm-shop .sf-wallet{position:relative}
.mm-shop .sf-wallet.is-loading .sf-wallet-mount{position:absolute;inset:0;visibility:hidden}
.mm-shop .sf-wallet-wait{height:50px;border-radius:12px;background:#ECE7DD;display:flex;align-items:center;justify-content:center;font:500 14px/1 var(--mm-font-body,'DM Sans',sans-serif);color:var(--sf-muted,#6B6B6B);animation:sf-wait 1.2s ease-in-out infinite alternate}
@keyframes sf-wait{from{opacity:.55}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.mm-shop .sf-wallet-wait{animation:none}}
/* Download panel built folded away while the shop is open, so Apple Pay is ready before Download is tapped (owner, 13 Nov 2026 22:33).
   Not display:none — Stripe's Apple Pay check needs the box laid out. */
.mm-shop .sf-dl-panel.is-warm{height:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;overflow:hidden;visibility:hidden;pointer-events:none;box-shadow:none}

/* Personalised note before payment (owner, 12 Nov 2026): one plain line, link underlined. */
.payment-methods-note.sf-personal-note{display:block;margin-top:10px}.payment-methods-note.sf-personal-note a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* Quiet 'add to cart' link under Buy now / Apple Pay (owner, 13 Nov 2026 23:44, Figma design 01). */
.mm-shop .sf-cart-link{display:block;width:100%;margin:10px 0 0;padding:6px 0;border:0;background:none;font:400 14px/1.4 var(--mm-font-body);color:var(--mm-muted);text-decoration:underline;text-underline-offset:3px;text-align:center;cursor:pointer}
.mm-shop .sf-cart-link:disabled{opacity:.5;cursor:default}
.mm-shop .sf-cart-link[hidden]{display:none}
/* Shop placeholder matches the real cards: photo, title, price, button, and the 'Your map · Edit map' line (owner, 14 Nov 2026 02:26). */
.mm-shop .sk-yourmap .sk-line{width:132px;height:18px;margin:0}
.mm-shop .sk-card .sk-body{display:flex;flex-direction:column;align-items:center;gap:8px}
.mm-shop .sk-card .sk-title{width:62%;height:22px;margin:4px 0 0}
.mm-shop .sk-card .sk-price{width:44%;height:18px;margin:0}
.mm-shop .sk-card .sk-go{width:100%;height:46px;border-radius:999px;margin-top:6px;background:none;border:2px solid #E7E0D3}

/* Inside the builder's "Get your map" sheet (owner, 16 Nov 2026 21:42, Figma "Download payment" design 02):
   only the real download panel shows; the builder draws the cards itself and reads their prices from this page. */
html.mm-embed-sheet,html.mm-embed-sheet body{background:transparent!important}
html.mm-embed-sheet body{visibility:hidden}
html.mm-embed-sheet .sf-dl-panel:not(.is-warm){visibility:visible;position:fixed;top:0;left:0;right:0;margin:0;padding:0 2px 2px;border-radius:0;background:transparent;box-shadow:none;z-index:5}
html.mm-embed-sheet .shop-toast,html.mm-embed-sheet .mm-site-header,html.mm-embed-sheet .mm-site-footer{display:none!important}
