/* Zid 2 frame on every shop page: promise strip, header bar, menu sheet, footer.
   Same look as the accepted prototype (aio .planning/tapeta-redesign/tools/zid2/zid2.css), scoped to .z2 so that
   Bootstrap and common.css do not reach in and nothing leaks into page bodies that are not ported yet.
   Retired once every page body is ported and the pages load the full Zid 2 stylesheet. */

/* common.css sets overflow-x:hidden on html and body, which turns body into a scroll box and stops the sticky header;
   clip cuts the same overflow without a scroll box */
html,body{overflow-x:clip}

.z2{--paper:#F9F9F7;--ink:#1A1A1A;--mute:#666;--line:#E5E5E5;--accent:#8c6d4c;--cta:#1A1A1A;
  --serif:"Playfair Display",Georgia,serif;--sans:Inter,system-ui,sans-serif;--ease:cubic-bezier(.16,1,.3,1);
  --pad:clamp(18px,3.2vw,48px);--bar:78px;--usp:38px;
  font:400 15px/1.55 var(--sans);color:var(--ink);text-align:left;-webkit-font-smoothing:antialiased}
[data-brand=de] .z2{--cta:#303d32}
.z2,.z2 *{box-sizing:border-box;margin:0;padding:0}
.z2 a{color:inherit;text-decoration:none}
.z2 button{font:inherit;color:inherit;background:none;border:0;border-radius:0;cursor:pointer}
.z2 ul{list-style:none}
.z2 .eye{font:500 11px/1.3 var(--sans);letter-spacing:.12em;text-transform:uppercase}

/* black strip with the four promises */
.z2.usp{height:var(--usp);background:#1A1A1A;color:#E5E5E5;display:flex;justify-content:center;align-items:center;
  gap:clamp(28px,6vw,88px);font:500 11px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;
  position:relative;overflow:hidden}
@keyframes z2usp{0%{opacity:0}4%,22%{opacity:1}26%,100%{opacity:0}}

/* header: "t" monogram, italic serif navigation, outlined button, icons; solid on paper */
.z2.bar{position:sticky;top:0;z-index:100;height:var(--bar);display:grid;grid-template-columns:1fr auto 1fr;
  align-items:center;padding:0 var(--pad);background:var(--paper);border-bottom:1px solid var(--line)}
.z2 .mark{justify-self:start;background:none;color:var(--ink);display:inline-flex;align-items:center;min-width:44px;min-height:44px}
.z2 .mark svg{height:36px;width:auto;display:block}
.z2 .mark path,.z2 .word path{fill:currentColor}
.z2.bar>nav{display:flex;gap:clamp(22px,3vw,46px)}
.z2.bar>nav a{font:italic 500 18px/1 var(--serif);position:relative;padding:13px 0}
.z2.bar>nav a::after{content:"";position:absolute;left:0;bottom:7px;width:0;height:1px;background:currentColor;
  transition:width .4s var(--ease)}
.z2.bar>nav a:hover::after{width:100%}
.z2 .tools{justify-self:end;display:flex;align-items:center;gap:14px}
.z2 .wallbtn{border:1px solid currentColor;padding:12px 22px;font:500 15px/1 var(--serif);letter-spacing:.03em;
  white-space:nowrap;transition:background-color .3s,color .3s}
.z2 .wallbtn:hover{background:var(--ink);color:#fff}
.z2 .ico{display:grid;place-items:center;width:44px;height:44px;position:relative}
.z2 .ico svg{display:block}
.z2 .ico .n{position:absolute;top:7px;right:3px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;
  background:var(--ink);color:#fff;font:500 10px/16px var(--sans);text-align:center}
.z2 .ico .n:empty{display:none}
.z2 .burger{display:none;width:44px;height:44px;place-items:center;align-content:center;gap:7px}
.z2 .burger i{display:block;width:24px;height:1px;background:currentColor;transition:transform .3s}
.z2-open .z2 .burger i:first-child{transform:translateY(4px) rotate(45deg)}
.z2-open .z2 .burger i:last-child{transform:translateY(-4px) rotate(-45deg)}

/* menu sheet: the header's links large, search, then collections, rooms and colours */
.z2.sheet{display:none;position:fixed;inset:0;z-index:99;background:var(--paper);overflow:auto;
  padding:calc(var(--bar) + 30px) var(--pad) 48px}
.z2-open{overflow:hidden}
.z2-open .z2.sheet{display:block}
.z2 .big a{display:block;font:italic 500 34px/1.4 var(--serif)}
.z2 .find{display:flex;max-width:520px;margin-top:30px;border:1px solid rgba(0,0,0,.18);background:#fff}
.z2 .find input{flex:1;min-width:0;height:50px;border:0;background:none;padding:0 14px;font:400 16px var(--sans);color:var(--ink)}
.z2 .find input:focus{outline:none}
.z2 .find button{padding:0 18px;font:500 11px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;
  border-left:1px solid rgba(0,0,0,.18)}
.z2 .cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px;max-width:1100px;margin-top:38px}
.z2 .cols .eye{color:var(--accent)}
.z2 .cols ul{margin-top:16px}
.z2 .cols li a{display:block;font:500 20px/1.25 var(--serif);padding:5px 0}
.z2 .cols li a:hover{font-style:italic;color:var(--accent)}
.z2 .tones i{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:10px;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}

/* footer in the strip's black */
.z2.foot{background:#1A1A1A;color:#cfcdc8;padding:clamp(56px,9vh,96px) var(--pad) 36px;display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px var(--pad)}
.z2 .word{display:inline-block;color:#fff}
.z2 .word svg{height:30px;width:auto;display:block}
.z2.foot .line{font:italic 400 clamp(20px,2vw,28px)/1.35 var(--serif);max-width:26ch;margin-top:26px;color:#fff}
.z2.foot>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;align-content:start}
.z2.foot a:hover{color:#fff;text-decoration:underline}
.z2 .more{grid-column:1/-1;font-size:14px}
.z2 .more>p{color:#a8a6a1}
.z2.foot .wallpaper-languages{color:#cfcdc8;border-color:rgba(255,255,255,.14);margin:18px 0 0}
.z2.foot .wallpaper-languages .language-heading,.z2.foot .wallpaper-languages .language-globe{color:#a8a6a1}
.z2.foot .wallpaper-languages a{color:#cfcdc8}
.z2.foot .wallpaper-languages a:hover,.z2.foot .wallpaper-languages a[aria-current="page"]{color:#fff;
  background:rgba(255,255,255,.06);text-decoration:none}
.z2 .legal{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:10px 16px;flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.14);padding-top:22px;font-size:13px;color:#a8a6a1}
.z2 .law,.z2 .langs{display:flex;flex-wrap:wrap;gap:6px 18px}
.z2 .langs a[aria-current]{color:#fff}
.z2 .pay{display:flex;gap:6px;align-items:center}
.z2 .pay img{height:22px;width:auto;display:block;border-radius:3px}

@media (max-width:999px){
  .z2.bar{grid-template-columns:auto 1fr}
  .z2.bar>nav{display:none}
  .z2 .burger{display:grid}
}
@media (max-width:760px){
  .z2{--bar:62px}
  .z2.usp span{position:absolute;opacity:0;animation:z2usp 12s infinite}
  .z2.usp span:nth-child(2){animation-delay:3s}
  .z2.usp span:nth-child(3){animation-delay:6s}
  .z2.usp span:nth-child(4){animation-delay:9s}
  .z2 .mark svg{height:30px}
  .z2 .tools{gap:4px}
  .z2 .ico.wish{display:none}
  .z2 .wallbtn{padding:10px 12px;font-size:14px;margin-right:6px}
  /* on a phone the advice link lives in the menu */
  .z2 .ask{display:none}
  .z2 .cols{grid-template-columns:1fr 1fr;gap:34px 18px}
  .z2 .cols li a{font-size:21px;padding:4px 0}
  .z2.foot{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .z2.usp span{animation:none!important}
  .z2.usp span:first-child{opacity:1}
}
/* the closed cart drawer waits off-screen; its shadow would otherwise lie as a grey band along the right edge */
.cart-drawer:not(.is-open){box-shadow:none}
/* the newsletter above the footer sits outside .z2 (no Zid 2 variables there): it takes the footer ink and the
   footer edge, a hairline between them, instead of a second, blacker band */
body .studio-newsletter{background:#1A1A1A;border-bottom:1px solid rgba(255,255,255,.12)}
body .studio-newsletter>.container{max-width:none;padding-left:clamp(18px,3.2vw,48px);padding-right:clamp(18px,3.2vw,48px)}
body .studio-newsletter>.container>.row{margin-left:0;margin-right:0}
body .studio-newsletter>.container>.row>*{padding-left:0}
@media (max-width:767px){body .studio-newsletter .sn-input,body .studio-newsletter .sn-button{width:100%}}
/* content pages: the classic 0.78 → 0 fade loses the lead on busy photos (peacock, foliage); a calm paper field
   behind the text, the photo stays open on the right (on a phone the text runs over the whole photo) */
body .studio-page-hero::before{background:linear-gradient(90deg,rgba(249,249,247,.95) 0,rgba(249,249,247,.9) 50%,rgba(249,249,247,.5) 76%,rgba(249,249,247,0) 96%)}
@media (max-width:767px){body .studio-page-hero::before{background:rgba(249,249,247,.88)}}
/* tap targets: legal links and the drawer close reach 44 px; the hit area grows, the row keeps its place */
.z2 .law a{padding:12px 0;margin:-12px 0}
body .cart-drawer__close{min-width:44px;min-height:44px}
/* buttons: rectangular, serif label (scoped above Bootstrap's .btn) */
.z2 .btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 30px;border-radius:0;
  background:var(--cta);color:#fff;border:1px solid var(--cta);font:500 16px/1 var(--serif);letter-spacing:.02em;
  white-space:nowrap;box-shadow:none;transition:background-color .3s,color .3s}
.z2 .btn:hover{background:transparent;color:var(--cta)}
.z2 .btn.ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.z2 .btn.ghost:hover{background:var(--ink);color:#fff}
.z2 .acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin-top:30px}
@media (max-width:767px){.z2.lost .acts .btn,.z2.head .acts .btn{flex:1 1 100%}}
/* an empty wish list keeps some air before the footer */
.z2.head.void{padding-bottom:clamp(56px,12vh,140px)}
/* an address that does not exist: the number large in the accent, the two ways on (shop/zid2/404.html) */
.z2.lost{min-height:calc(100vh - 160px);min-height:calc(100svh - 160px);display:flex;flex-direction:column;
  justify-content:center;padding:48px var(--pad);background:var(--paper)}
.z2.lost h1{font:500 clamp(120px,22vw,360px)/.9 var(--serif);font-variant-numeric:lining-nums;
  letter-spacing:-.04em;color:var(--accent)}
/* checkout steps: the first and the last label stay inside the column instead of half past its edge */
.co-steps .co-step[data-step="1"]{align-items:flex-start}
.co-steps .co-step[data-step="4"]{align-items:flex-end}
/* the rooms of a design swipe sideways on phones: reachable by keyboard, with a visible ring */
.z2 .track.m:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}
/* classic small print on the enquiry and other content pages: grey #888-#aaa on paper is below 4.5:1 -> the frame's mute */
body[data-brand] .studio-hero__trust,body[data-brand] .studio-step__num,body[data-brand] .help-text,
body[data-brand] .studio-disclaimer{color:#666;opacity:1}
