/* The shop layout's shared parts (23 Oct 2026): the page colour, the header, the banner, the line under it and the
   sections further down, for the home page and the create page. */
:root{--mm-bg:#F2F1EE}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--mm-bg:#101513}}
:root[data-theme="dark"]{--mm-bg:#101513}
body.mm{background:var(--mm-bg)}
/* header: the logo, the kinds of map, maps we've made, contact; on a phone the links under a menu button */
.mm-head{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--card) 94%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.mm-head-in{position:relative;max-width:1320px;margin:0 auto;padding:0 clamp(16px,3vw,32px);height:64px;display:flex;align-items:center;gap:24px}
.mm-nav{margin-left:auto;display:flex;gap:clamp(16px,2.4vw,30px)}
.mm-nav a{text-decoration:none;font-weight:600;font-size:15px;color:var(--ink)}
.mm-nav a:hover{color:var(--brand)}
.mm-head .logo{color:var(--ink)}
.mm-head .logo span{display:inline}
.mm-menu{display:none;margin-left:auto;width:44px;height:44px;border:0;background:none;color:var(--ink);place-items:center;cursor:pointer;border-radius:12px}
@media (max-width:760px){
  .mm-menu{display:grid}
  .mm-nav{display:none;position:absolute;top:64px;left:0;right:0;flex-direction:column;gap:0;background:var(--card);border-bottom:1px solid var(--line);box-shadow:0 12px 24px -16px rgba(0,0,0,.3)}
  body.nav-open .mm-nav{display:flex}
  .mm-nav a{padding:15px 20px;border-top:1px solid var(--line);font-size:16px}
}

/* the banner: two maps on a sitting-room wall, the words over its lower part */
.mm-hero{position:relative;height:clamp(320px,40vw,540px);overflow:hidden;background:#d8d2c8}
/* (23 Oct 2026, Marcus: "poor framing": cropped to the width, a wide screen cut the frames off and blew it up) the
   picture whole, at its own shape, in the middle; the sides a blurred copy of it, its edges faded into them */
.mm-hero-pic,.mm-hero-pic img{position:relative;display:block;height:100%;width:auto;max-width:none;margin:0 auto}
/* (23 Oct 2026, Marcus: "a bit off centre") the two frames sit at 46% of the picture's width, so it's moved right by 4%
   of its width to put them under the heading; the phones' crop is centred already */
.mm-hero-pic img{-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);transform:translateX(4%)}
.mm-hero-bg{position:absolute;inset:-40px;width:calc(100% + 80px);height:calc(100% + 80px);object-fit:cover;filter:blur(26px) brightness(.95);display:block}
.mm-hero-t{position:absolute;left:0;right:0;bottom:0;padding:90px clamp(16px,4vw,48px) clamp(26px,4vw,46px);text-align:center;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.48))}
.mm-hero h1{margin:0;color:#fff;font-size:clamp(2rem,4.8vw,3.7rem);font-weight:800;letter-spacing:-.03em;line-height:1.04;text-shadow:0 2px 18px rgba(0,0,0,.3)}
.mm-hero-t p{margin:12px 0 0;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:clamp(1.05rem,1.7vw,1.3rem);opacity:.96;text-shadow:0 1px 10px rgba(0,0,0,.35)}
@media (max-width:760px){.mm-hero{height:clamp(330px,92vw,520px)}.mm-hero-bg{display:none}.mm-hero-pic,.mm-hero-pic img{width:100%;height:100%}.mm-hero-pic img{object-fit:cover;object-position:50% 45%;-webkit-mask-image:none;mask-image:none;transform:none}}
.mm-strip{margin:0;padding:14px 16px;text-align:center;font-size:14.5px;font-weight:600;background:var(--card);border-bottom:1px solid var(--line);line-height:1.5}
.mm-strip i{font-style:normal;margin:0 10px;color:var(--ink-2)}
@media (max-width:560px){.mm-strip{font-size:13.5px}.mm-strip i{margin:0 6px}}

/* under the configurator: the questions, maps we've made, contact */
.mm-sec{padding:clamp(48px,7vw,88px) 0}
.mm-sand{background:var(--card)}
.mm-narrow{max-width:760px;margin:0 auto;padding:0 16px}
.mm-sec h2{margin:0 0 20px;font-size:clamp(1.6rem,3vw,2.2rem)}
.qa details{border-top:1px solid var(--line)}
.qa details:last-of-type{border-bottom:1px solid var(--line)}
.qa summary{cursor:pointer;padding:16px 0;font-weight:700;font-size:16px;list-style:none;display:flex;justify-content:space-between;gap:12px}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"+";color:var(--brand);font-weight:800;font-size:18px;line-height:1}
.qa details[open] summary::after{content:"−"}
.qa p{margin:0 0 16px;font-size:15px;line-height:1.6;color:var(--ink-2)}
.qa a,.qa .linkbtn{color:var(--brand)}
.mm-help{display:grid;gap:14px;justify-items:center;text-align:center}
.mm-help h2{margin:0}
.mm-help p{margin:0;color:var(--ink-2);font-size:16px;max-width:32em}
.credits{font-size:12px;line-height:1.45}
.credits a{color:inherit}

.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* phones: the basket beside the menu button, at the right */
@media (max-width:760px){.mm-head .mm-basket{margin-left:auto}.mm-head .mm-menu{margin-left:2px}}
/* hidden means hidden, whatever display a rule gives (basket.js shows and hides its parts by [hidden]) */
[hidden]{display:none!important}
