/* ============================================================
   VEDERE — ВИТРИНА
   Design system.

   Principles, in order of authority:
   1. The object is the interface. Products float on paper with the
      white studio background blended away; nothing sits in a box.
   2. Type is small, wide-tracked and rare. Serif appears only for
      display moments; everything functional is 10.5–15px sans.
   3. Chrome is close to invisible, but never at the cost of use:
      every control has a visible label, a hit area and a focus ring.
   4. No corner radius. No shadows. Hairlines only.
   ============================================================ */

:root{
  --paper:#F7F5F1;
  --paper-2:#F1EEE8;      /* faint tint for panels that must separate */
  --ink:#141310;
  --ink-2:#4A473F;
  --grey:#A5A099;
  --hair:#E2DED6;
  --ok:#3F6B4F;
  --warn:#9A3B2A;

  --serif:"Spectral",Georgia,"Times New Roman",serif;
  --sans:"Onest",system-ui,-apple-system,sans-serif;

  --gut:clamp(20px,5vw,72px);
  --shell:1400px;
  --head:clamp(64px,9vh,92px);
  --bar:0px;              /* WordPress admin bar height when logged in */
  --mark-scale:1;         /* Customizer > Contact and hours > Wordmark size */
  --e:cubic-bezier(.16,1,.3,1);

  /* Near-whites in the catalogue are not pure white; this nudges them
     to true white so multiply drops the background completely. */
  --clean:brightness(1.07) contrast(1.05);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-size:15px;line-height:1.55;font-weight:300;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3{margin:0;font-family:var(--serif);font-weight:200;line-height:1.02;letter-spacing:-.015em}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
:focus-visible{outline:1px solid var(--ink);outline-offset:6px}

.shell{max-width:var(--shell);margin-inline:auto;padding-inline:var(--gut)}
.wide{max-width:none;padding-inline:var(--gut)}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* small, wide-tracked label — the workhorse of this system */
.cap{
  font-size:10.5px;font-weight:400;letter-spacing:.24em;text-transform:uppercase;
  color:var(--grey);
}
.cap--ink{color:var(--ink)}

/* ---------------- buttons and links ---------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  background:var(--ink);color:var(--paper);border:1px solid var(--ink);
  padding:19px 34px;font-size:10.5px;font-weight:400;letter-spacing:.24em;
  text-transform:uppercase;cursor:pointer;border-radius:0;
  transition:background .45s var(--e),color .45s var(--e);
}
.btn:hover{background:transparent;color:var(--ink)}
.btn[disabled]{opacity:.35;cursor:not-allowed}
.btn--ghost{background:transparent;color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:var(--paper)}
.btn--block{width:100%}

/* Also used on <button>, so the native border and background are reset. */
.link{
  display:inline-block;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;
  background:none;border:0;border-bottom:1px solid var(--ink);
  padding:0 0 4px;cursor:pointer;
  transition:opacity .3s var(--e),border-color .3s var(--e);
}
.link:hover{opacity:.55}
.link--quiet{border-bottom-color:var(--hair);color:var(--grey)}
.link--quiet:hover{color:var(--ink);border-bottom-color:var(--ink);opacity:1}

/* ---------------- header ---------------- */
.head{
  position:fixed;top:var(--bar);right:0;left:0;z-index:60;
  height:var(--head);display:flex;align-items:center;
  padding-inline:var(--gut);gap:20px;
  background:transparent;transition:background .5s var(--e),border-color .5s var(--e);
  border-bottom:1px solid transparent;
}
.head.is-solid{
  background:color-mix(in srgb,var(--paper) 86%,transparent);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom-color:var(--hair);
}
.mark{
  font-family:var(--serif);font-size:calc(18px * var(--mark-scale));font-weight:300;
  letter-spacing:.42em;padding-left:.42em;flex:none;
}
/* The smaller variant in the footer and the drawers. It scales with the
   header so the two never drift apart. */
.mark--sm{font-size:calc(15px * var(--mark-scale))}
/* The text wordmark is set in capitals, as drawn. Applied only to the
   wordmark variant so an uploaded logo image is never affected. */
.mark.is-wordmark{text-transform:uppercase;white-space:nowrap}
/* A custom logo is an <img> at whatever size it was uploaded. Cap it, or a
   217x50 file sits three times taller than the rest of the header. */
.mark img,.mark .custom-logo{max-height:calc(26px * var(--mark-scale));width:auto;display:block}
.mark a{display:block;line-height:0}
.foot .mark img,.foot .mark .custom-logo{max-height:calc(22px * var(--mark-scale))}
.head nav{display:flex;gap:clamp(14px,2.4vw,34px);margin-inline:auto}
.head nav a{
  font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--grey);
  transition:color .3s var(--e);
}
.head nav a:hover,.head nav a[aria-current]{color:var(--ink)}
.head .util{display:flex;gap:clamp(14px,2vw,24px);flex:none;align-items:center}
.head .util button,.head .util a{
  background:none;border:0;padding:0;cursor:pointer;
  font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;
}
.burger{display:none}

/* pushes page content clear of the fixed header */
.pad-head{padding-top:calc(var(--head) + var(--bar))}

/* ---------------- drawers ---------------- */
.scrim{
  position:fixed;inset:0;z-index:80;background:rgba(20,19,16,.32);
  opacity:0;visibility:hidden;transition:opacity .45s var(--e),visibility .45s;
}
.scrim.is-open{opacity:1;visibility:visible}
.drawer{
  position:fixed;inset:0 0 0 auto;width:min(92vw,440px);z-index:90;
  background:var(--paper);padding:var(--gut);overflow-y:auto;
  translate:100% 0;transition:translate .55s var(--e);
  display:flex;flex-direction:column;
}
.drawer.is-open{translate:0 0}
.drawer--left{inset:0 auto 0 0;translate:-100% 0}
.drawer-top{
  display:flex;justify-content:space-between;align-items:center;
  gap:16px;margin-bottom:clamp(24px,4vh,44px);
}
.drawer-top button{background:none;border:0;cursor:pointer;padding:0}

/* ---------------- the object ---------------- */
/* Any product image. Never in a box, never on a plate. */
.obj{display:grid;place-items:center;position:relative}
.obj img{
  max-width:100%;max-height:100%;width:auto;object-fit:contain;
  mix-blend-mode:multiply;filter:var(--clean);
}
.obj--drift img{animation:drift 9s ease-in-out infinite alternate}
@keyframes drift{from{transform:translateY(-9px)}to{transform:translateY(9px)}}

/* ---------------- product grid ---------------- */
.grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:clamp(24px,5vw,90px);row-gap:clamp(48px,8vh,110px);
}
.grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}

.tile{display:block;position:relative}
.tile .obj{height:clamp(220px,32vh,360px);margin-bottom:22px}
.tile .obj img{transition:transform .7s var(--e)}
.tile:hover .obj img{transform:scale(1.05)}
.tile .nm{font-family:var(--serif);font-size:18px;font-weight:300;line-height:1.3;margin-bottom:5px}
.tile .pr{font-size:13px;color:var(--grey)}
.tile .pr s{margin-right:8px;opacity:.7}
.tile .pr b{font-weight:400;color:var(--ink)}
.tile .note{
  position:absolute;top:0;left:0;font-size:10.5px;letter-spacing:.2em;
  text-transform:uppercase;color:var(--warn);
}
/* save control: present but weightless */
.save{
  position:absolute;top:0;right:0;width:34px;height:34px;display:grid;place-items:center;
  background:none;border:0;cursor:pointer;opacity:0;translate:0 -4px;
  transition:opacity .35s var(--e),translate .35s var(--e);
}
.tile:hover .save,.tile:focus-within .save,.save.is-on{opacity:1;translate:0 0}
.save i{font-size:17px;color:var(--ink)}
@media (hover:none){.save{opacity:1;translate:0 0}}

/* ---------------- horizontal vitrine ---------------- */
.vitrine{position:relative}
.vitrine .stick{position:sticky;top:0;height:100svh;overflow:hidden;display:flex;align-items:center}
.track{
  display:flex;gap:clamp(40px,9vw,150px);align-items:center;
  padding-inline:clamp(20px,12vw,220px);will-change:transform;
}
.track .tile{flex:none;width:clamp(210px,26vw,380px);text-align:center}
.track .tile .obj{height:clamp(240px,42svh,440px)}
.track .tile .save{right:auto;left:50%;translate:-50% -4px}
.track .tile:hover .save{translate:-50% 0}
.vrail{
  position:absolute;left:var(--gut);right:var(--gut);bottom:clamp(28px,5vh,54px);
  display:flex;align-items:center;gap:16px;
}
.vrail .bar{flex:1;height:1px;background:var(--hair);position:relative}
.vrail .bar i{position:absolute;inset:0 auto 0 0;background:var(--ink);width:10%}

/* The timeline subject must be the tall .vitrine, NOT the track. The track
   lives inside the pinned .stick, whose geometry never changes while pinned,
   so a view() timeline on it reports a frozen progress.

   The range must be `contain`, not `cover`. With `cover` the timeline spans
   (sectionHeight + viewportHeight) while the section is only PINNED for
   (sectionHeight - viewportHeight) — measured on a real page that put 35% of
   the pan outside the pinned window, so the rail was already part-way across
   before it appeared and finished before it left. `contain` maps the pan
   exactly onto the pinned window: starts at 0, ends at full travel. */
@supports (animation-timeline: view()){
  .vitrine{view-timeline-name:--vitrine;view-timeline-axis:block}
  .vitrine .track{
    animation:pan linear both;
    animation-timeline:--vitrine;
    animation-range:contain 0% contain 100%;
  }
  .vitrine .vrail .bar i{
    animation:grow linear both;
    animation-timeline:--vitrine;
    animation-range:contain 0% contain 100%;
  }
}
@keyframes pan{from{transform:translateX(0)}to{transform:translateX(calc(-100% + 100vw))}}
@keyframes grow{from{width:8%}to{width:100%}}

/* Where scroll-driven animation is unsupported (Safari today), fall back
   to an honest horizontal swipe. No pin, no hijack, still tactile. */
@supports not (animation-timeline: view()){
  .vitrine{height:auto!important}
  .vitrine .stick{position:static;height:auto;padding-block:clamp(50px,9vh,90px)}
  .track{overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:20px}
  .track .tile{scroll-snap-align:center}
  .vrail{display:none}
}

/* ---------------- page head ---------------- */
.phead{padding-top:clamp(28px,6vh,64px);padding-bottom:clamp(28px,5vh,52px)}
.phead h1{font-size:clamp(34px,6vw,80px)}
.phead .crumbs{display:flex;gap:10px;align-items:center;margin-bottom:clamp(18px,3vh,30px)}
.phead .crumbs a{color:var(--grey);transition:color .3s}
.phead .crumbs a:hover{color:var(--ink)}
.phead .intro{margin-top:16px;max-width:46ch;color:var(--ink-2)}

/* ---------------- toolbar (collection) ---------------- */
.toolbar{
  display:flex;justify-content:space-between;align-items:center;gap:20px;
  flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--hair);
  margin-bottom:clamp(40px,7vh,80px);
}
.toolbar .left,.toolbar .right{display:flex;align-items:center;gap:clamp(14px,2.4vw,30px)}
.tbtn{
  background:none;border:0;padding:0;cursor:pointer;
  font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;
  display:inline-flex;align-items:center;gap:9px;
}
.tbtn:hover{opacity:.6}
.tbtn .dot{width:5px;height:5px;background:var(--ink);display:block}

.sortsel{
  background:none;border:0;padding:0 18px 0 0;cursor:pointer;appearance:none;
  font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;
  background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),
                   linear-gradient(135deg,var(--ink) 50%,transparent 50%);
  background-position:calc(100% - 5px) 55%,calc(100% - 1px) 55%;
  background-size:4px 4px;background-repeat:no-repeat;
}
.sortsel:focus{outline:none;text-decoration:underline;text-underline-offset:5px}

/* applied filters, as quiet removable words */
.applied{display:flex;flex-wrap:wrap;gap:10px 18px;margin-bottom:clamp(28px,5vh,52px)}
.applied a{
  display:inline-flex;align-items:center;gap:8px;font-size:12px;
  border-bottom:1px solid var(--hair);padding-bottom:3px;
}
.applied a:hover{border-bottom-color:var(--ink)}
.applied a i{font-style:normal;color:var(--grey);font-size:14px;line-height:1}

/* ---------------- filter drawer ---------------- */
.fgroup{padding-block:clamp(20px,3vh,28px);border-top:1px solid var(--hair)}
.fgroup:first-of-type{border-top:0;padding-top:0}
.fgroup h3{font-family:var(--sans);font-size:10.5px;font-weight:400;letter-spacing:.24em;
  text-transform:uppercase;color:var(--grey);margin-bottom:16px}
.fgroup li{margin-bottom:11px}
.fgroup li a{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.fgroup li a span{color:var(--grey);font-size:12px}
.fgroup li a:hover,.fgroup li.on a{color:var(--ink)}
.fgroup li.on a::before{content:"—";margin-right:8px;color:var(--ink)}

.sw{display:flex;flex-wrap:wrap;gap:12px}
.sw a{
  width:44px;height:44px;display:block;background-size:cover;background-position:center;
  position:relative;
}
.sw a::after{
  content:"";position:absolute;inset:-5px;border:1px solid transparent;
  transition:border-color .3s var(--e);
}
.sw a:hover::after{border-color:var(--hair)}
.sw a.on::after{border-color:var(--ink)}

.frange{display:flex;align-items:center;gap:14px}
.frange input{
  width:100%;background:none;border:0;border-bottom:1px solid var(--hair);
  padding:9px 0;font-size:15px;
}
.frange input:focus{outline:none;border-bottom-color:var(--ink)}

/* ---------------- forms ---------------- */
/* Underline-only. Boxes would be the loudest thing on the page. */
.field{margin-bottom:clamp(22px,3.4vh,34px)}
.field > label,.field .lab{
  display:block;font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;
  color:var(--grey);margin-bottom:9px;
}
.field input,.field textarea,.field select{
  width:100%;background:none;border:0;border-bottom:1px solid var(--hair);
  padding:11px 0;font-size:16px;font-weight:300;border-radius:0;
  transition:border-color .3s var(--e);
}
.field textarea{resize:vertical;min-height:90px}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-bottom-color:var(--ink)}
.field .help{display:block;margin-top:9px;font-size:12.5px;color:var(--grey)}
.field .err{display:none;margin-top:9px;font-size:12.5px;color:var(--warn)}
.field.is-bad input,.field.is-bad textarea{border-bottom-color:var(--warn)}
.field.is-bad .err{display:block}
.field.is-bad .help{display:none}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(20px,3vw,40px)}

.check{display:flex;align-items:flex-start;gap:12px;font-size:14px;color:var(--ink-2)}
.check input{width:auto;accent-color:var(--ink);margin-top:4px}

/* ---------------- product page ---------------- */
.pdp{
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  gap:clamp(28px,6vw,110px);align-items:start;
}
.pdp-gal{position:relative}
.pdp-stage{
  height:clamp(360px,74svh,780px);display:grid;place-items:center;position:relative;
}
.pdp-stage img{max-height:100%;width:auto;object-fit:contain;mix-blend-mode:multiply;filter:var(--clean)}
.pdp-thumbs{display:flex;gap:14px;justify-content:center;margin-top:clamp(20px,3vh,34px)}
.pdp-thumbs button{
  width:56px;height:56px;background:none;border:0;padding:0;cursor:pointer;position:relative;
}
.pdp-thumbs img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;filter:var(--clean)}
.pdp-thumbs button::after{
  content:"";position:absolute;left:0;right:0;bottom:-9px;height:1px;background:transparent;
  transition:background .3s var(--e);
}
.pdp-thumbs button[aria-current="true"]::after{background:var(--ink)}
.pdp-thumbs button:hover::after{background:var(--hair)}

.pdp-sum{position:sticky;top:calc(var(--head) + var(--bar) + 24px)}
.pdp-sum h1{font-size:clamp(28px,3.6vw,50px);margin-bottom:18px}
.pdp-price{display:flex;align-items:baseline;gap:14px;margin-bottom:8px;font-size:19px;font-weight:300}
.pdp-price s{color:var(--grey);font-size:15px}
.pdp-price .off{font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--warn)}
.pdp-vat{font-size:12.5px;color:var(--grey);margin-bottom:clamp(24px,3.4vh,36px)}
.pdp-desc{color:var(--ink-2);max-width:44ch;margin-bottom:clamp(24px,3.4vh,36px)}

.stock{display:flex;align-items:center;gap:10px;font-size:12.5px;margin-bottom:clamp(24px,3.4vh,34px)}
.stock i{width:5px;height:5px;background:var(--ok);display:block;font-style:normal}
.stock.low i{background:var(--warn)}
.stock.low{color:var(--warn)}

.opt{margin-bottom:clamp(24px,3.4vh,34px)}
.opt-h{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:14px}
.opt-list{display:flex;flex-wrap:wrap;gap:14px}
.opt-list button{
  background:none;border:0;padding:0;cursor:pointer;position:relative;
  width:58px;height:58px;
}
.opt-list button img{width:100%;height:100%;object-fit:cover}
.opt-list button::after{
  content:"";position:absolute;inset:-5px;border:1px solid transparent;
  transition:border-color .3s var(--e);
}
.opt-list button:hover::after{border-color:var(--hair)}
.opt-list button[aria-checked="true"]::after{border-color:var(--ink)}
.opt-list button[aria-disabled="true"]{opacity:.3;cursor:not-allowed}
.opt-list button[aria-disabled="true"]::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top left,transparent calc(50% - .5px),var(--ink) calc(50% - .5px),
    var(--ink) calc(50% + .5px),transparent calc(50% + .5px));
}
.opt-list--text button{width:auto;height:auto;padding:11px 20px;border:1px solid var(--hair);font-size:13px}
.opt-list--text button::after{display:none}
.opt-list--text button[aria-checked="true"]{border-color:var(--ink);background:var(--ink);color:var(--paper)}

.buy{display:flex;gap:14px;align-items:stretch;margin-bottom:16px}
.qtybox{display:flex;align-items:center;border-bottom:1px solid var(--hair);flex:none;width:auto}
.qtybox button{background:none;border:0;cursor:pointer;width:34px;height:58px;font-size:15px;flex:none}
.qtybox button:hover{opacity:.5}
/* Woo sets the field to 3.631em from `.woocommerce .quantity .qty`, so
   match that weight rather than lose to it. */
.woocommerce .quantity .qtybox input,
.qtybox input{
  width:44px;height:58px;text-align:center;background:none;border:0;
  font-size:15px;-moz-appearance:textfield;flex:none;padding:0;
}
.qtybox input::-webkit-outer-spin-button,.qtybox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
/* The label is screen-reader only; it must not take a slot in the row. */
.qtybox .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.buy .btn{flex:1}

.assure{margin-top:clamp(26px,4vh,40px);padding-top:clamp(22px,3vh,30px);border-top:1px solid var(--hair)}
.assure li{display:flex;gap:14px;font-size:13.5px;color:var(--ink-2);margin-bottom:11px}
.assure li b{font-weight:400;color:var(--ink);flex:none;min-width:112px;font-size:10.5px;
  letter-spacing:.2em;text-transform:uppercase;padding-top:3px}

.acc{margin-top:clamp(26px,4vh,40px);border-top:1px solid var(--hair)}
.acc-i{border-bottom:1px solid var(--hair)}
.acc-i > button{
  width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;
  background:none;border:0;cursor:pointer;padding:20px 0;text-align:left;
  font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;
}
.acc-i > button em{font-style:normal;color:var(--grey);transition:transform .35s var(--e)}
.acc-i.is-open > button em{transform:rotate(45deg)}
.acc-p{display:none;padding-bottom:26px;color:var(--ink-2);max-width:58ch}
.acc-i.is-open .acc-p{display:block}
.acc-p p + p{margin-top:12px}
.spec{display:grid;grid-template-columns:auto 1fr;gap:10px 26px;font-size:14px}
.spec dt{color:var(--grey)}
.spec dd{margin:0}

/* ---------------- cart ---------------- */
.cart-line{
  display:grid;grid-template-columns:130px minmax(0,1fr) auto;
  gap:clamp(18px,3vw,40px);align-items:center;
  padding-block:clamp(24px,4vh,38px);border-bottom:1px solid var(--hair);
}
.cart-line:first-child{border-top:1px solid var(--hair)}
.cart-line .obj{height:130px}
.cart-line .nm{font-family:var(--serif);font-size:21px;font-weight:300;margin-bottom:6px}
.cart-line .var{font-size:12.5px;color:var(--grey);margin-bottom:16px}
.cart-line .ctrl{display:flex;align-items:center;gap:clamp(16px,3vw,30px);flex-wrap:wrap}
.cart-line .rm{background:none;border:0;padding:0;cursor:pointer;font-size:10.5px;
  letter-spacing:.2em;text-transform:uppercase;color:var(--grey)}
.cart-line .rm:hover{color:var(--warn)}
.cart-line .amt{font-size:17px;white-space:nowrap;text-align:right}

.sum{border-top:1px solid var(--ink);padding-top:clamp(22px,3vh,30px)}
.sum-row{display:flex;justify-content:space-between;gap:20px;padding-block:9px;font-size:14px;color:var(--ink-2)}
.sum-row.total{
  border-top:1px solid var(--hair);margin-top:12px;padding-top:18px;
  font-size:19px;color:var(--ink);
}
.sum .note,.sum-note{font-size:12.5px;line-height:1.6;color:var(--grey);margin:12px 0 0}

/* Delivery: the label on one line, the method under it, so a long carrier
   name has the full width instead of half a flex row. */
.sum-ship{display:block}
.sum-ship-l{
  display:block;font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;
  color:var(--grey);margin-bottom:8px;
}
.sum-ship-v{display:block;font-size:14px;color:var(--ink)}
.sum-ship-v .amount{color:var(--ink)}
.sum-ship .shipping-methods{list-style:none;margin:0;padding:0}
.sum-ship .shipping-methods li{
  display:flex;align-items:flex-start;gap:10px;padding-block:6px;
}
.sum-ship .shipping-methods input{margin-top:4px;flex:none}
.sum-ship .shipping-methods label{cursor:pointer;line-height:1.5}

/* Woo floats the summary right at 48% of its container, from
   `.woocommerce .cart-collaterals .cart_totals`. Inside our own column
   that halves it again, which is what squeezed the delivery address into
   a ribbon. Same weight, undone. */
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals{width:100%}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals{float:none;width:100%}
.woocommerce .cart-collaterals .cross-sells,
.woocommerce-page .cart-collaterals .cross-sells{float:none;width:100%}
.woocommerce .cart-collaterals .shipping_calculator,
.woocommerce-page .cart-collaterals .shipping_calculator{float:none;width:100%}
/* Its clearfix pseudo-elements are table boxes; nothing here floats. */
.woocommerce .cart-collaterals::before,
.woocommerce .cart-collaterals::after{content:none}

/* The checkout button belongs to the summary, so it fills it. */
.cart_totals .wc-proceed-to-checkout{margin-top:26px}
.cart_totals .wc-proceed-to-checkout .button,
.cart_totals .checkout-button{
  display:flex;width:100%;justify-content:center;text-align:center;
}

/* ---------------- shared two-column layouts ---------------- */
/* The summary must never be squeezed: 320px is the width at which the
   longest line it carries, a delivery address, stops wrapping into a
   ribbon. Below that the whole grid collapses to one column instead. */
.split{
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);
  gap:clamp(30px,5vw,80px);align-items:start;
}
.split .aside{position:sticky;top:calc(var(--head) + var(--bar) + 24px)}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,6vw,90px);align-items:start}
.pair{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(20px,5vw,90px);align-items:center;
  padding-block:clamp(40px,7vh,80px);border-top:1px solid var(--hair);
}
.pair .obj{height:clamp(240px,40vh,420px)}
.pair .txt{max-width:34ch}
.pair h2{font-size:clamp(24px,3.2vw,46px);margin-bottom:16px}
.pair .txt p{color:var(--ink-2);margin-bottom:22px}

/* ---------------- checkout ---------------- */
.co{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(32px,7vw,120px);align-items:start}
.co-side{position:sticky;top:calc(var(--head) + var(--bar) + 24px)}
.co-side .panel{background:var(--paper-2);padding:clamp(24px,3vw,36px)}
.co h2{
  font-family:var(--sans);font-size:10.5px;font-weight:400;letter-spacing:.24em;
  text-transform:uppercase;color:var(--grey);margin-bottom:clamp(20px,3vh,28px);
}
.co-step{margin-bottom:clamp(40px,6vh,72px)}
.co-mini{display:flex;gap:16px;align-items:center;padding-block:14px;border-bottom:1px solid var(--hair)}
.co-mini .obj{width:56px;height:56px;flex:none}
.co-mini .t{flex:1;font-size:14px}
.co-mini .t span{display:block;font-size:12px;color:var(--grey)}
.co-mini .a{font-size:14px;white-space:nowrap}

.pay label{
  display:flex;align-items:flex-start;gap:12px;padding-block:16px;
  border-bottom:1px solid var(--hair);cursor:pointer;font-size:14px;
}
.pay input{accent-color:var(--ink);margin-top:4px}
.pay .why{display:block;font-size:12.5px;color:var(--grey);margin-top:5px}

/* ---------------- account ---------------- */
.acct{display:grid;grid-template-columns:200px minmax(0,1fr);gap:clamp(30px,6vw,90px);align-items:start}
.acct-nav li{border-bottom:1px solid var(--hair)}
.acct-nav li:first-child{border-top:1px solid var(--hair)}
.acct-nav a{display:block;padding:16px 0;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--grey)}
.acct-nav a:hover{color:var(--ink)}
.acct-nav li.on a{color:var(--ink)}
.acct-nav li.on a::before{content:"— ";}

.orow{
  display:grid;grid-template-columns:auto 1fr auto auto;gap:clamp(14px,3vw,36px);
  align-items:center;padding-block:22px;border-bottom:1px solid var(--hair);
}
.orow:first-child{border-top:1px solid var(--hair)}
.orow .num{font-size:15px}
.orow .st{font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--grey)}
.orow .st.done{color:var(--ok)}

.addr{border:1px solid var(--hair);padding:clamp(20px,2.6vw,28px);font-style:normal;
  font-size:14px;line-height:1.8;color:var(--ink-2)}

/* ---------------- order received ---------------- */
.done-head{max-width:36ch}
.done-head h1{font-size:clamp(30px,5vw,64px);margin-bottom:18px}
.facts{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:clamp(20px,3vw,40px);padding-block:clamp(28px,4vh,44px);
  border-block:1px solid var(--hair);margin-block:clamp(32px,5vh,56px);
}
.facts div span{display:block;margin-top:7px;font-size:16px;color:var(--ink)}

/* ---------------- empty / loading ---------------- */
.empty{text-align:center;padding-block:clamp(70px,14vh,150px);max-width:44ch;margin-inline:auto}
.empty h2{font-size:clamp(24px,3.4vw,40px);margin-bottom:16px}
.empty p{color:var(--ink-2);margin-bottom:clamp(26px,4vh,38px)}
.skel .obj{background:var(--paper-2)}
.skel .ln{height:11px;background:var(--paper-2);margin-top:12px}
.skel .ln.s{width:45%}

/* ---------------- footer ---------------- */
.foot{border-top:1px solid var(--hair);margin-top:clamp(70px,12vh,150px);padding-block:clamp(40px,7vh,80px)}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:clamp(24px,4vw,56px)}
.foot h4{font-family:var(--sans);font-size:10.5px;font-weight:400;letter-spacing:.24em;
  text-transform:uppercase;color:var(--grey);margin:0 0 16px}
.foot li{margin-bottom:10px}
.foot li a{font-size:14px}
.foot li a:hover{color:var(--grey)}
.foot .sign{max-width:26ch;color:var(--grey);margin-top:14px;font-size:14px}
.foot-base{
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-top:clamp(36px,6vh,64px);font-size:10.5px;letter-spacing:.2em;
  text-transform:uppercase;color:var(--grey);
}
.nl{display:flex;gap:12px;align-items:flex-end;margin-top:8px;max-width:320px}
.nl input{flex:1;background:none;border:0;border-bottom:1px solid var(--hair);padding:10px 0;font-size:14px}
.nl input:focus{outline:none;border-bottom-color:var(--ink)}
.nl button{background:none;border:0;cursor:pointer;font-size:10.5px;letter-spacing:.2em;
  text-transform:uppercase;border-bottom:1px solid var(--ink);padding-bottom:10px}

/* ---------------- reveal ---------------- */
.rv{opacity:0;transform:translateY(20px);transition:opacity 1s var(--e),transform 1s var(--e)}
.rv.in{opacity:1;transform:none}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px){
  .pdp{grid-template-columns:1fr;gap:32px}
  .pdp-sum{position:static}
  .pdp-stage{height:clamp(300px,52svh,520px)}
  .co{grid-template-columns:1fr;gap:44px}
  .co-side{position:static}
  .acct{grid-template-columns:1fr;gap:32px}
  .grid,.grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .split,.two{grid-template-columns:minmax(0,1fr);gap:44px}
  .split .aside{position:static}
  .head nav{display:none}
  .burger{display:inline-flex}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  body{font-size:14.5px}
  .grid,.grid--4,.grid--2{grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:16px;row-gap:44px}
  .tile .obj{height:170px}
  .tile .nm{font-size:15px}
  .field-row{grid-template-columns:1fr}
  .cart-line{grid-template-columns:90px minmax(0,1fr);row-gap:14px}
  .cart-line .obj{height:90px}
  .cart-line .amt{grid-column:2;text-align:left}
  .orow{grid-template-columns:1fr auto;row-gap:8px}
  .foot-grid{grid-template-columns:1fr}
  .buy{flex-wrap:wrap}
  .buy .btn{flex:1 1 100%;order:2}
  .pair{grid-template-columns:1fr;gap:24px}
  .pair .obj{height:240px}
  /* the profile link lives in the menu drawer on small screens */
  .head .util [data-sm-hide]{display:none}
  .head .util{gap:16px}
  .mark{font-size:15px;letter-spacing:.3em}
  .vitrine{height:auto!important}
  .vitrine .stick{position:static;height:auto;padding-block:56px}
  .track{overflow-x:auto;scroll-snap-type:x mandatory;animation:none;padding-inline:20px}
  .track .tile{scroll-snap-align:center}
  .vrail{display:none}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
  .obj--drift img{animation:none}
  .rv{opacity:1;transform:none}
  .save{opacity:1;translate:0 0}
  .vitrine{height:auto!important}
  .vitrine .stick{position:static;height:auto;padding-block:56px}
  .track{overflow-x:auto}
  .vrail{display:none}
}

/* ============================================================
   WOOCOMMERCE MAPPING
   Everything above is the design system. Everything below maps
   WooCommerce's own markup onto it, for the parts we do not
   override with a template.
   ============================================================ */

/* ---------- notices ---------- */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews{
  list-style:none;margin:0 0 clamp(24px,4vh,40px);padding:18px 0 18px 20px;
  border:0;border-left:1px solid var(--ink);background:transparent;
  font-size:14px;color:var(--ink-2);border-radius:0;
}
.woocommerce-error{border-left-color:var(--warn);color:var(--warn)}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-error li{margin:0}
.woocommerce-message .button,.woocommerce-info .button{
  float:none;margin-left:16px;background:none;border:0;border-bottom:1px solid var(--ink);
  padding:0 0 3px;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;
}

/* ---------- buttons Woo prints itself ---------- */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  background:var(--ink);color:var(--paper);border:1px solid var(--ink);
  padding:19px 34px;font-family:var(--sans);font-size:10.5px;font-weight:400;
  letter-spacing:.24em;text-transform:uppercase;line-height:1;border-radius:0;
  transition:background .45s var(--e),color .45s var(--e);
}
.woocommerce a.button:hover,.woocommerce button.button:hover,
.woocommerce input.button:hover,.woocommerce button.button.alt:hover{
  background:transparent;color:var(--ink);
}
.woocommerce .button.disabled,.woocommerce .button[disabled]{opacity:.35}

/* ---------- product loop ---------- */
.woocommerce ul.products{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:clamp(24px,5vw,90px);row-gap:clamp(48px,8vh,110px);
  margin:0;padding:0;
}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{
  margin:0;padding:0;width:auto;float:none;text-align:left;position:relative;
}
.woocommerce ul.products.columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--serif);font-size:18px;font-weight:300;line-height:1.3;
  margin:0 0 5px;padding:0;
}
/* The sale flag is a word in the corner, never a badge. */
.woocommerce span.onsale{
  position:absolute;top:0;left:0;right:auto;margin:0;padding:0;min-height:0;min-width:0;
  background:transparent;color:var(--warn);border-radius:0;line-height:1;
  font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;font-weight:400;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,.woocommerce div.product span.price{
  color:var(--grey);font-size:13px;font-weight:300;margin:0;display:block;
}
.woocommerce ul.products li.product .price del{opacity:.7;margin-right:8px}
.woocommerce ul.products li.product .price ins{
  text-decoration:none;color:var(--ink);font-weight:400;background:transparent;
}
/* Woo's loop add-to-cart is suppressed: on this design the tile is a link
   to the product, and adding happens on the product page. */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart{display:none}

/* ---------- single product ----------
   WooCommerce's legacy layout still floats the gallery and summary into
   two 48% columns, and its selectors carry an #content ID:

     .woocommerce #content div.product div.images { float:left; width:48% }

   That is specificity (1,3,2) and outranks any plain class reset. The theme
   no longer names its main element #content, but a plugin or a stray
   template could, so these resets match with and without it and use
   !important on the two properties that break the grid outright. */
.woocommerce div.product div.images,
.woocommerce #content div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce div.product div.summary,
.woocommerce #content div.product div.summary,
.woocommerce-page div.product div.summary,
.woocommerce-page #content div.product div.summary{
  float:none!important;width:auto!important;margin:0;
}
/* Same story for the product grid: Woo floats and widths each li. */
.woocommerce ul.products li.product,
.woocommerce #content ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce-page #content ul.products li.product{
  float:none!important;width:auto!important;margin:0;clear:none;
}
.woocommerce ul.products,
.woocommerce #content ul.products{margin:0;padding:0}

.woocommerce div.product{display:block}
.woocommerce div.product .product_title{font-size:clamp(28px,3.6vw,50px);margin:0 0 18px;padding:0}
.woocommerce div.product p.price{
  display:flex;align-items:baseline;gap:14px;margin-bottom:8px;
  font-size:19px;color:var(--ink);font-weight:300;
}
.woocommerce div.product p.price del{color:var(--grey);font-size:15px;opacity:1}
.woocommerce div.product p.price ins{text-decoration:none;font-weight:300;color:var(--ink)}
.woocommerce div.product .woocommerce-product-details__short-description{
  color:var(--ink-2);max-width:44ch;margin-bottom:clamp(24px,3.4vh,36px);
}
.woocommerce div.product div.images{margin:0;float:none;width:auto}
.woocommerce div.product .woocommerce-tabs{display:none}
.woocommerce div.product .related > h2,.woocommerce div.product .upsells > h2{
  font-family:var(--sans);font-size:10.5px;font-weight:400;letter-spacing:.24em;
  text-transform:uppercase;color:var(--grey);margin:0 0 clamp(28px,5vh,50px);
}
.woocommerce div.product .related,.woocommerce div.product .upsells{
  max-width:var(--shell);margin:clamp(80px,14vh,170px) auto 0;padding-inline:var(--gut);
}

/* gallery: rendered by the theme, not flexslider */
.woocommerce div.product div.images,
.woocommerce #content div.product div.images{position:relative}
.pdp-stage,
.woocommerce div.product div.images .pdp-stage{
  height:clamp(340px,68svh,720px);display:grid;place-items:center;position:relative;
}
.pdp-stage .woocommerce-product-gallery__image{
  display:grid;place-items:center;height:100%;width:100%;
}
.woocommerce div.product div.images img,
.woocommerce #content div.product div.images img,
.pdp-stage img{
  max-height:100%;max-width:100%;width:auto!important;height:auto;
  object-fit:contain;mix-blend-mode:multiply;filter:var(--clean);
  box-shadow:none;
}
.pdp-thumbs{display:flex;gap:14px;justify-content:center;margin-top:clamp(20px,3vh,34px);flex-wrap:wrap}
.pdp-thumbs button{
  width:56px;height:56px;background:none;border:0;padding:0;cursor:pointer;position:relative;
}
.pdp-thumbs img{
  width:100%!important;height:56px;object-fit:contain;
  mix-blend-mode:multiply;filter:var(--clean);
}
.pdp-thumbs button::after{
  content:"";position:absolute;left:0;right:0;bottom:-9px;height:1px;background:transparent;
  transition:background .3s var(--e);
}
.pdp-thumbs button[aria-current="true"]::after{background:var(--ink)}
.pdp-thumbs button:hover::after{background:var(--hair)}
/* sale flag sits over the stage */
.woocommerce div.product .images span.onsale{top:0;left:0;z-index:4}

/* variation form */
.woocommerce div.product form.cart{margin:0}
.woocommerce div.product form.cart .variations{display:block;margin:0 0 clamp(24px,3.4vh,34px);border:0}
.woocommerce div.product form.cart .variations tbody,
.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th{display:block;padding:0;border:0;text-align:left}
.woocommerce div.product form.cart .variations label{
  font-family:var(--sans);font-size:10.5px;font-weight:400;letter-spacing:.24em;
  text-transform:uppercase;color:var(--grey);margin-bottom:12px;display:block;
}
.woocommerce div.product form.cart .variations select{
  width:100%;max-width:320px;background:none;border:0;border-bottom:1px solid var(--hair);
  padding:11px 0;font-size:16px;border-radius:0;margin-bottom:14px;
}
.woocommerce div.product form.cart .variations select:focus{outline:none;border-bottom-color:var(--ink)}
.woocommerce div.product form.cart .reset_variations{
  font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--grey);
}
.woocommerce div.product form.cart .woocommerce-variation-price{margin-bottom:18px}
.woocommerce div.product form.cart .woocommerce-variation-availability p{font-size:13px;color:var(--ink-2)}
.woocommerce div.product form.cart .button{flex:1}
.woocommerce div.product form.cart div.quantity{float:none;margin:0}

/* ---------- checkout / cart forms Woo renders ---------- */
.woocommerce form .form-row{display:block;margin:0 0 clamp(22px,3.4vh,34px);padding:0}
.woocommerce form .form-row label{
  display:block;font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;
  color:var(--grey);margin-bottom:9px;
}
.woocommerce form .form-row label .required{color:var(--ink);text-decoration:none;border:0}
.woocommerce form .form-row .optional{letter-spacing:0;text-transform:none;color:var(--grey)}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single,
.woocommerce input[type="text"],.woocommerce input[type="email"],
.woocommerce input[type="tel"],.woocommerce input[type="password"],
.woocommerce textarea{
  width:100%;background:none;border:0;border-bottom:1px solid var(--hair);
  padding:11px 0;font-size:16px;font-weight:300;font-family:var(--sans);
  border-radius:0;box-shadow:none;color:var(--ink);
  transition:border-color .3s var(--e);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce input:focus,.woocommerce textarea:focus{outline:none;border-bottom-color:var(--ink)}
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select{border-bottom-color:var(--warn)}
.woocommerce form .form-row ::placeholder{color:var(--grey)}
.woocommerce .woocommerce-input-wrapper{display:block;width:100%}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:auto;float:none}
.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:auto;float:none}
.woocommerce .select2-container--default .select2-selection--single{height:auto;padding:11px 0;border:0;border-bottom:1px solid var(--hair)}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{padding:0;line-height:1.5;color:var(--ink)}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{top:50%;translate:0 -50%;right:0}
.woocommerce form .form-row.create-account label,
.woocommerce-form__label-for-checkbox{
  display:flex;align-items:flex-start;gap:12px;font-size:14px;font-weight:300;
  letter-spacing:0;text-transform:none;color:var(--ink-2);
}
.woocommerce-form__label-for-checkbox input{width:auto;accent-color:var(--ink);margin-top:4px}

/* two-up name fields on checkout */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper{
  display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(20px,3vw,40px);
}
.woocommerce form .form-row-wide,
.woocommerce form #billing_address_1_field,
.woocommerce form #billing_address_2_field,
.woocommerce form #billing_email_field,
.woocommerce form #order_comments_field{grid-column:1 / -1}

/* review order table */
.woocommerce table.shop_table{border:0;border-collapse:collapse;border-radius:0;margin:0;width:100%}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{
  border:0;border-bottom:1px solid var(--hair);padding:14px 0;font-weight:300;
}
.woocommerce table.shop_table thead th{
  font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;color:var(--grey);
  padding-bottom:12px;
}
.woocommerce table.shop_table tfoot th{font-weight:300;color:var(--ink-2);font-size:14px;border-bottom:0;padding:9px 0}
.woocommerce table.shop_table tfoot td{text-align:right;border-bottom:0;padding:9px 0;font-size:14px}
.woocommerce table.shop_table tfoot .order-total th,
.woocommerce table.shop_table tfoot .order-total td{
  border-top:1px solid var(--hair);padding-top:18px;margin-top:12px;
  font-size:19px;color:var(--ink);
}
.woocommerce-checkout-review-order-table .product-total{text-align:right;white-space:nowrap}
.woocommerce-checkout-review-order-table .product-quantity{color:var(--grey)}
.woocommerce-checkout-review-order-table dl.variation{
  display:flex;flex-wrap:wrap;gap:0 6px;margin:5px 0 0;font-size:12.5px;color:var(--grey);
}
.woocommerce-checkout-review-order-table dl.variation dt,
.woocommerce-checkout-review-order-table dl.variation dd{margin:0;padding:0;float:none;font-weight:300}
.woocommerce-checkout-review-order-table dl.variation dd p{margin:0;display:inline}

/* payment box */
.woocommerce-checkout #payment{background:transparent;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{border:0;padding:0;margin:0 0 20px;list-style:none}
.woocommerce-checkout #payment ul.payment_methods li{
  border-bottom:1px solid var(--hair);padding:16px 0;margin:0;
}
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]{accent-color:var(--ink);margin-right:10px}
.woocommerce-checkout #payment ul.payment_methods li label{
  display:inline;font-size:14px;font-weight:300;cursor:pointer;letter-spacing:0;text-transform:none;color:var(--ink);
}
.woocommerce-checkout #payment ul.payment_methods li img{max-height:20px;margin-left:8px;display:inline-block;vertical-align:middle}
.woocommerce-checkout #payment div.payment_box{
  background:transparent;color:var(--grey);font-size:12.5px;margin:8px 0 0;padding:0;
}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment div.form-row{padding:0;margin:0}
.woocommerce-checkout #payment #place_order{width:100%;float:none;margin:0}
.woocommerce-privacy-policy-text{font-size:12.5px;color:var(--grey);margin-bottom:18px}

/* coupon forms */
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{
  border:0;border-top:1px solid var(--hair);border-radius:0;
  padding:clamp(24px,4vh,36px) 0 0;margin:0 0 clamp(28px,4vh,40px);background:transparent;
}
.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle{margin-bottom:clamp(20px,3vh,28px)}
.woocommerce form.login .lost_password{font-size:12.5px;margin-top:14px}
.woocommerce form.login .lost_password a{color:var(--grey);border-bottom:1px solid var(--hair)}

/* Woo prints its own ordering form; map it onto the bare select. */
.woocommerce .woocommerce-ordering{margin:0;float:none}
.woocommerce .woocommerce-ordering select,
.woocommerce select.orderby{
  background:none;border:0;padding:0 18px 0 0;cursor:pointer;appearance:none;
  font-family:var(--sans);font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--ink);
  background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),
                   linear-gradient(135deg,var(--ink) 50%,transparent 50%);
  background-position:calc(100% - 5px) 55%,calc(100% - 1px) 55%;
  background-size:4px 4px;background-repeat:no-repeat;
}
.woocommerce .woocommerce-ordering select:focus{outline:none;text-decoration:underline;text-underline-offset:5px}

/* pagination */
.woocommerce nav.woocommerce-pagination{margin-top:clamp(56px,10vh,110px);display:flex;justify-content:center}
.woocommerce nav.woocommerce-pagination ul{display:flex;gap:22px;border:0;margin:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0;overflow:visible}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  padding:0 0 4px;background:none;font-size:10.5px;letter-spacing:.2em;
  text-transform:uppercase;color:var(--grey);border-bottom:1px solid transparent;
}
.woocommerce nav.woocommerce-pagination ul li a:hover{color:var(--ink)}
.woocommerce nav.woocommerce-pagination ul li span.current{color:var(--ink);border-bottom-color:var(--ink)}

/* my account */
.woocommerce-account .woocommerce{display:block}
.woocommerce-MyAccount-navigation{width:auto;float:none}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--hair)}
.woocommerce-MyAccount-navigation li:first-child{border-top:1px solid var(--hair)}
.woocommerce-MyAccount-navigation li a{
  display:block;padding:16px 0;font-size:10.5px;letter-spacing:.2em;
  text-transform:uppercase;color:var(--grey);transition:color .3s var(--e);
}
.woocommerce-MyAccount-navigation li a:hover{color:var(--ink)}
.woocommerce-MyAccount-navigation li.is-active a{color:var(--ink)}
.woocommerce-MyAccount-navigation li.is-active a::before{content:"— "}
.woocommerce-MyAccount-content{width:auto;float:none}
.woocommerce-MyAccount-content > p:first-child{color:var(--ink-2);margin-bottom:clamp(24px,4vh,38px)}
.woocommerce-MyAccount-content mark{background:none;color:var(--ink)}
.woocommerce table.woocommerce-orders-table td,
.woocommerce table.woocommerce-orders-table th{padding:20px 0;font-size:14px}
.woocommerce table.woocommerce-orders-table .button{padding:0 0 3px;background:none;border:0;
  border-bottom:1px solid var(--hair);color:var(--grey);font-size:10.5px}
.woocommerce table.woocommerce-orders-table .button:hover{color:var(--ink);border-bottom-color:var(--ink);background:none}
.woocommerce .woocommerce-Addresses{display:grid;grid-template-columns:1fr 1fr;gap:clamp(18px,3vw,32px);margin-top:8px}
.woocommerce .woocommerce-Address{width:auto;float:none}
.woocommerce .woocommerce-Address-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}
.woocommerce .woocommerce-Address-title h2,.woocommerce .woocommerce-Address-title h3{
  font-family:var(--sans);font-size:10.5px;font-weight:400;letter-spacing:.24em;
  text-transform:uppercase;color:var(--grey);margin:0;
}
.woocommerce .woocommerce-Address-title a{font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--grey);border-bottom:1px solid var(--hair);padding-bottom:3px}
.woocommerce .woocommerce-Address address{
  border:1px solid var(--hair);padding:clamp(20px,2.6vw,28px);font-style:normal;
  font-size:14px;line-height:1.8;color:var(--ink-2);
}
.woocommerce-EditAccountForm fieldset{border:0;border-top:1px solid var(--hair);padding:clamp(24px,4vh,36px) 0 0;margin:clamp(28px,4vh,40px) 0 0}
.woocommerce-EditAccountForm legend{font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;color:var(--grey);padding:0}

/* order received / order details */
.woocommerce .woocommerce-order{max-width:100%}
.woocommerce ul.order_details{margin:0;padding:0;list-style:none;display:contents}
.woocommerce .woocommerce-order-details__title,.woocommerce .woocommerce-column__title,
.woocommerce .woocommerce-customer-details h2{
  font-family:var(--sans);font-size:10.5px;font-weight:400;letter-spacing:.24em;
  text-transform:uppercase;color:var(--grey);margin:0 0 20px;
}
.woocommerce .woocommerce-customer-details address{
  border:1px solid var(--hair);padding:clamp(20px,2.6vw,28px);font-style:normal;
  font-size:14px;line-height:1.8;color:var(--ink-2);
}
.woocommerce .woocommerce-customer-details .woocommerce-columns{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,48px);
}

/* quantity, rendered by our template override */
.woocommerce .quantity{display:inline-flex;float:none;margin:0}

@media (max-width:1080px){
  .woocommerce ul.products,.woocommerce ul.products.columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .woocommerce .woocommerce-Addresses,
  .woocommerce .woocommerce-customer-details .woocommerce-columns{grid-template-columns:1fr}
}
@media (max-width:640px){
  .woocommerce ul.products,.woocommerce ul.products.columns-4{
    grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:44px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px}
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}
}

/* ============================================================
   LATE OVERRIDES
   WooCommerce prints an inline <style> block for its accent colour after
   every enqueued stylesheet, so ordinary rules cannot beat it. These are
   the few places that matters.
   ============================================================ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt,
.woocommerce button.button.alt.single_add_to_cart_button,
.woocommerce div.product form.cart .button{
  background-color:var(--ink)!important;
  background-image:none!important;
  color:var(--paper)!important;
  border-color:var(--ink)!important;
  border-radius:0!important;
  text-shadow:none!important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce div.product form.cart .button:hover{
  background-color:transparent!important;
  color:var(--ink)!important;
}
.woocommerce .button.disabled,.woocommerce .button:disabled[disabled]{opacity:.35!important}

/* ============================================================
   BAG DRAWER
   woocommerce_mini_cart() nests the thumbnail INSIDE the product link:

     <li><a class="remove">x</a><a><img>Name</a><span class="quantity">..</span></li>

   so the image is not a grid child and any grid on the <li> collapses.
   Absolute positioning against a padded <li> is what actually works here.
   ============================================================ */
#bag .widget_shopping_cart_content{display:flex;flex-direction:column;flex:1;min-height:0}
#bag ul.cart_list{list-style:none;margin:0;padding:0;flex:1}
#bag ul.cart_list li{
  position:relative;display:block;list-style:none;
  padding:18px 34px 18px 80px;min-height:100px;
  border-bottom:1px solid var(--hair);
}
#bag ul.cart_list li img{
  position:absolute;left:0;top:18px;width:64px;height:64px;
  object-fit:contain;margin:0;float:none;
  mix-blend-mode:multiply;filter:var(--clean);
}
#bag ul.cart_list li > a:not(.remove){
  display:block;font-family:var(--serif);font-size:16px;font-weight:300;
  line-height:1.3;padding:0;margin-bottom:4px;
}
#bag ul.cart_list li .quantity{
  display:block;font-size:12.5px;color:var(--grey);border:0;
}
#bag ul.cart_list li dl.variation{
  display:flex;flex-wrap:wrap;gap:0 8px;margin:0 0 4px;
  font-size:12px;color:var(--grey);
}
#bag ul.cart_list li dl.variation dt,
#bag ul.cart_list li dl.variation dd{margin:0;padding:0;float:none;font-weight:400}
#bag ul.cart_list li dl.variation dd p{margin:0}
#bag ul.cart_list li a.remove{
  position:absolute;right:0;top:16px;left:auto;
  width:24px;height:24px;display:grid;place-items:center;
  font-size:17px;line-height:1;color:var(--grey);background:none;border:0;
}
#bag ul.cart_list li a.remove:hover{background:none;color:var(--warn)}

#bag .woocommerce-mini-cart__total{
  display:flex;justify-content:space-between;align-items:baseline;gap:16px;
  border-top:1px solid var(--ink);border-bottom:0;
  margin:0;padding:20px 0 0;font-size:19px;
}
#bag .woocommerce-mini-cart__total strong{
  font-size:10.5px;font-weight:400;letter-spacing:.24em;text-transform:uppercase;
  color:var(--grey);
}
#bag .woocommerce-mini-cart__buttons{display:grid;gap:10px;margin:22px 0 0;padding:0}
#bag .woocommerce-mini-cart__buttons a{
  display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0;
  padding:19px 24px;font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;
  border:1px solid var(--ink);border-radius:0;
}
/* The generic button override further down uses !important, so the ghost
   variant has to match it. */
.woocommerce #bag .woocommerce-mini-cart__buttons a:not(.checkout),
#bag .woocommerce-mini-cart__buttons a:not(.checkout){
  background-color:transparent!important;color:var(--ink)!important;
}
.woocommerce #bag .woocommerce-mini-cart__buttons a:not(.checkout):hover,
#bag .woocommerce-mini-cart__buttons a:not(.checkout):hover{
  background-color:var(--ink)!important;color:var(--paper)!important;
}
#bag .woocommerce-mini-cart__empty-message{
  color:var(--grey);padding:40px 0;text-align:center;margin:0;
}

/* ============================================================
   ACCOUNT: LOGIN AND REGISTER
   Woo nests both forms inside one .u-columns wrapper, so a grid on our
   own container only ever sees a single child. Grid the wrapper.
   ============================================================ */
.woocommerce .u-columns#customer_login,
.woocommerce-account .u-columns.col2-set{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,6vw,90px);
  align-items:start;width:100%;
}
/* Woo floats these at .woocommerce .col2-set .col-1, which outranks a
   single-class selector, so match its weight. */
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce .u-column1,
.woocommerce .u-column2{width:auto;float:none}

/* Woo clears the float with ::before and ::after on the same element.
   Inside a grid those pseudo-elements are grid items: they take the first
   and last cell, and push the login form into the second column and the
   register form onto a row of its own. */
.woocommerce .u-columns#customer_login::before,
.woocommerce .u-columns#customer_login::after,
.woocommerce-account .u-columns.col2-set::before,
.woocommerce-account .u-columns.col2-set::after{content:none}

/* Woo draws a box around each form at .woocommerce form.login, which also
   outranks a single class. */
.woocommerce-account form.woocommerce-form-login,
.woocommerce-account form.woocommerce-form-register{
  border:0;padding:0;margin:0;border-radius:0;
}
.woocommerce-account h2{
  font-family:var(--sans);font-size:10.5px;font-weight:400;letter-spacing:.24em;
  text-transform:uppercase;color:var(--grey);margin:0 0 clamp(20px,3vh,28px);
}
/* Woo puts remember-me, the nonces and the submit button in one <p>, so
   they end up on the same line. Only that row is stacked: the field rows
   carry form-row-wide and must keep their full-width inputs. */
.woocommerce-account .woocommerce-form-login p.form-row:not(.form-row-wide){
  display:flex;flex-direction:column;align-items:flex-start;gap:20px;
}
.woocommerce-account .woocommerce-form-login__rememberme{
  display:flex;align-items:center;gap:10px;font-size:13px;color:var(--ink-2);
  letter-spacing:0;text-transform:none;
}
.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-register .button{margin-top:8px}
.woocommerce-account .lost_password{margin-top:16px;font-size:12.5px}
.woocommerce-account .woocommerce-privacy-policy-text{margin-top:14px}

@media (max-width:900px){
  .woocommerce .u-columns#customer_login,
  .woocommerce-account .u-columns.col2-set{grid-template-columns:1fr;gap:44px}
}

/* ============================================================
   EDITORIAL PAGES
   About, Newsletter, FAQ, Contact and anything else written in the
   editor. Plain prose, set at a comfortable measure.
   ============================================================ */
.page-content.is-prose{font-size:16px;line-height:1.7;color:var(--ink-2)}
.page-content.is-prose > *:first-child{margin-top:0}
.page-content.is-prose p{margin:0 0 1.15em;max-width:68ch}
/* The opening paragraph carries the page, so it is set larger. */
.page-content.is-prose > p:first-of-type{
  font-size:clamp(17px,1.7vw,21px);line-height:1.5;color:var(--ink);
  margin-bottom:1.4em;max-width:56ch;
}
.page-content.is-prose h2,.page-content.is-prose h3,.page-content.is-prose h4{
  font-family:var(--serif);font-weight:200;color:var(--ink);
  letter-spacing:-.015em;line-height:1.15;
  margin:clamp(34px,5vh,60px) 0 .5em;max-width:26ch;
}
.page-content.is-prose h2{font-size:clamp(26px,3.2vw,40px)}
.page-content.is-prose h3{font-size:clamp(21px,2.4vw,28px)}
.page-content.is-prose h4{
  font-family:var(--sans);font-size:10.5px;font-weight:400;letter-spacing:.24em;
  text-transform:uppercase;color:var(--grey);margin-bottom:1em;
}
.page-content.is-prose a:not(.btn):not(.link){
  border-bottom:1px solid var(--hair);color:var(--ink);
  transition:border-color .3s var(--e);
}
.page-content.is-prose a:not(.btn):not(.link):hover{border-bottom-color:var(--ink)}
.page-content.is-prose ul,.page-content.is-prose ol{margin:0 0 1.3em;padding-left:0;max-width:68ch}
.page-content.is-prose ul li{position:relative;padding-left:22px;margin-bottom:.6em;list-style:none}
.page-content.is-prose ul li::before{
  content:"";position:absolute;left:0;top:.72em;width:9px;height:1px;background:var(--grey);
}
.page-content.is-prose ol{counter-reset:v;list-style:none}
.page-content.is-prose ol li{position:relative;padding-left:32px;margin-bottom:.6em;counter-increment:v}
.page-content.is-prose ol li::before{
  content:counter(v,decimal-leading-zero);position:absolute;left:0;top:.15em;
  font-size:10.5px;letter-spacing:.16em;color:var(--grey);
}
.page-content.is-prose img{margin-block:clamp(24px,4vh,44px);max-width:100%;height:auto}
.page-content.is-prose figure{margin:clamp(24px,4vh,44px) 0}
.page-content.is-prose blockquote{
  margin:clamp(28px,4vh,48px) 0;padding-left:26px;border-left:1px solid var(--hair);
  font-family:var(--serif);font-weight:200;font-size:clamp(19px,2.2vw,26px);
  line-height:1.3;color:var(--ink);max-width:34ch;
}
.page-content.is-prose blockquote p{max-width:none}
.page-content.is-prose strong,.page-content.is-prose b{font-weight:500;color:var(--ink)}
.page-content.is-prose hr{border:0;border-top:1px solid var(--hair);margin:clamp(34px,5vh,56px) 0}

/* ============================================================
   FORMS IN PAGE CONTENT
   Contact Form 7, Mailchimp and plain HTML forms all arrive as raw
   browser defaults. Give them the same underline treatment as checkout.
   ============================================================ */
.page-content.is-prose form{max-width:560px;margin-top:clamp(24px,4vh,40px)}
.page-content.is-prose form p{margin:0 0 clamp(20px,3vh,30px);max-width:none}
.page-content.is-prose label{
  display:block;font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;
  color:var(--grey);margin-bottom:9px;
}

.page-content.is-prose input[type="text"],
.page-content.is-prose input[type="email"],
.page-content.is-prose input[type="tel"],
.page-content.is-prose input[type="url"],
.page-content.is-prose input[type="number"],
.page-content.is-prose input[type="date"],
.page-content.is-prose input[type="search"],
.page-content.is-prose input[type="password"],
.page-content.is-prose textarea,
.page-content.is-prose select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select{
  width:100%;background:none;border:0;border-bottom:1px solid var(--hair);
  padding:11px 0;font-family:var(--sans);font-size:16px;font-weight:300;
  color:var(--ink);border-radius:0;box-shadow:none;
  transition:border-color .3s var(--e);
}
.page-content.is-prose input:focus,
.page-content.is-prose textarea:focus,
.page-content.is-prose select:focus,
.wpcf7 input:focus,.wpcf7 textarea:focus,.wpcf7 select:focus{
  outline:none;border-bottom-color:var(--ink);
}
.page-content.is-prose ::placeholder,.wpcf7 ::placeholder{color:var(--grey);opacity:1}
.page-content.is-prose textarea,.wpcf7 textarea{min-height:120px;resize:vertical}

.page-content.is-prose input[type="submit"],
.page-content.is-prose button[type="submit"],
.wpcf7 input[type="submit"],
.wpcf7-submit{
  display:inline-flex;align-items:center;justify-content:center;
  width:auto;background:var(--ink);color:var(--paper);border:1px solid var(--ink);
  padding:19px 34px;font-family:var(--sans);font-size:10.5px;font-weight:400;
  letter-spacing:.24em;text-transform:uppercase;cursor:pointer;border-radius:0;
  transition:background .45s var(--e),color .45s var(--e);
}
.page-content.is-prose input[type="submit"]:hover,
.page-content.is-prose button[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover,.wpcf7-submit:hover{
  background:transparent;color:var(--ink);
}

/* Contact Form 7 leaves <br> between fields; suppress them so the
   underline rhythm is set by margins rather than line breaks. */
.wpcf7-form br{display:none}
.wpcf7-form p{margin:0 0 clamp(20px,3vh,30px)}
.wpcf7-form-control-wrap{display:block}
.wpcf7 form .wpcf7-response-output{
  border:0;border-left:1px solid var(--ink);margin:22px 0 0;padding:14px 0 14px 18px;
  font-size:14px;color:var(--ink-2);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output{border-left-color:var(--warn);color:var(--warn)}
.wpcf7 form.sent .wpcf7-response-output{border-left-color:var(--ok);color:var(--ok)}
.wpcf7-not-valid-tip{color:var(--warn);font-size:12.5px;margin-top:8px;display:block}
.wpcf7 .wpcf7-spinner{display:none}

/* Mailchimp / newsletter widgets: input and button on one line. */
.page-content.is-prose form[id^="wpr-mailchimp"],
.page-content.is-prose .mc4wp-form form{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}
.page-content.is-prose form[id^="wpr-mailchimp"] input[type="email"],
.page-content.is-prose .mc4wp-form input[type="email"]{flex:1 1 240px;width:auto}
.page-content.is-prose form[id^="wpr-mailchimp"] button,
.page-content.is-prose .mc4wp-form input[type="submit"]{flex:none}

/* Contact details block */
.page-content.is-prose .contact-info,
.page-content.is-prose h4 + ul{margin-bottom:clamp(28px,4vh,44px)}

@media (max-width:640px){
  .page-content.is-prose form{max-width:none}
  .page-content.is-prose input[type="submit"],
  .wpcf7 input[type="submit"],.wpcf7-submit{width:100%}
}

/* ============================================================
   NEWSLETTER SIGNUP
   The footer keeps the compact form; a page gets the tall one.
   States come from the server reply, so nothing is faked here.
   ============================================================ */
.nl{position:relative;flex-wrap:wrap}
.nl-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.nl-msg{
  flex:0 0 100%;margin:10px 0 0;min-height:0;font-size:12.5px;color:var(--grey);
  transition:color .3s var(--e);
}
.nl-msg:empty{margin:0}
.nl.is-bad input{border-bottom-color:var(--warn)}
.nl.is-bad .nl-msg{color:var(--warn)}
.nl.is-done .nl-msg{color:var(--ok)}
.nl.is-busy{opacity:.55;pointer-events:none}

.nl--lg{max-width:520px;gap:16px;margin-top:clamp(22px,3vh,32px)}
.nl--lg input{flex:1 1 240px;font-size:16px;padding:13px 0}
.nl--lg button{
  background:var(--ink);color:var(--paper);border:1px solid var(--ink);
  padding:17px 30px;letter-spacing:.24em;
  transition:background .45s var(--e),color .45s var(--e);
}
.nl--lg button:hover{background:transparent;color:var(--ink)}
.nl-note{margin-top:14px;font-size:12.5px;color:var(--grey);max-width:46ch}

.nl-block{
  margin:clamp(30px,5vh,54px) 0;padding-top:clamp(28px,4vh,44px);
  border-top:1px solid var(--hair);
}
.nl-block h2{margin-top:0}
.nl-block .nl-lead{max-width:52ch;margin-bottom:0}

/* ============================================================
   PROSE MEASURE
   The container runs full width so an image, a form or the FAQ can
   breathe; the measure is applied per element in the editorial block.
   ============================================================ */
.page-content.is-prose{padding-bottom:clamp(40px,8vh,90px);margin-inline:0}
.page-content.is-prose > *{max-width:min(100%,880px)}

/* FAQ accordion built from the page's own question and answer pairs. */
.acc--faq{
  margin-top:clamp(28px,4vh,44px);max-width:min(100%,760px);
}
.acc--faq .acc-i > button{font-size:15px;letter-spacing:0;text-transform:none;padding:22px 0}
.acc--faq .acc-p{max-width:66ch;font-size:15.5px;line-height:1.65}
.acc--faq .acc-p p{max-width:none;margin:0 0 .8em}
.acc--faq .acc-p p:last-child{margin-bottom:0}

/* The generic page-form rules above are more specific than the signup's
   own, so re-state the few properties the flex row depends on. */
.page-content.is-prose .nl input[type="email"]{width:auto;flex:1 1 240px}
.page-content.is-prose .nl .nl-msg{margin:10px 0 0;flex-basis:100%}
.page-content.is-prose .nl .nl-msg:empty{margin:0}
.page-content.is-prose .nl button[type="submit"]{flex:none;align-self:stretch}
.page-content.is-prose .nl-hp label{margin:0}

/* Contact Form 7 sets rows="10" on the message field, which browsers turn
   into a 400px box. Cap it and let it be dragged taller. */
.page-content.is-prose textarea,.wpcf7 textarea{min-height:0;height:150px}

/* The response box is printed empty on load, so its rule would draw a
   lone rule under the button until the form is used. */
.wpcf7-response-output[aria-hidden="true"],
.wpcf7 form:not(.invalid):not(.failed):not(.sent):not(.spam) .wpcf7-response-output{
  display:none;
}

/* ============================================================
   EDITORIAL LAYOUTS
   About, contact, FAQ and newsletter. These are composed pages,
   not prose: a statement band, a two-column story against a
   numbered rail, a figures strip, panelled forms.
   See inc/pages.php.
   ============================================================ */
.ed{--rail:clamp(90px,13vw,190px)}

/* ---- opening statement ---- */
.ed-open{padding-top:clamp(30px,7vh,80px);padding-bottom:clamp(34px,7vh,80px)}
.ed-open-grid{
  display:grid;grid-template-columns:var(--rail) minmax(0,1fr);
  gap:clamp(16px,3vw,40px);align-items:start;
}
.ed-open-grid > .cap{padding-top:clamp(10px,1.6vw,22px);margin:0}
.ed-open h1{
  font-size:clamp(42px,8.5vw,132px);line-height:.92;letter-spacing:-.03em;
  margin:0 0 clamp(20px,3vh,34px);max-width:14ch;
}
.ed-lede{
  font-size:clamp(18px,2vw,26px);line-height:1.42;color:var(--ink);
  max-width:44ch;font-weight:300;
}
.ed-lede p{margin:0 0 .6em}
.ed-lede p:last-child{margin-bottom:0}

/* ---- the story, numbered ---- */
.ed-story{padding-block:clamp(34px,6vh,70px);border-top:1px solid var(--hair)}
.ed-story-grid{
  display:grid;grid-template-columns:var(--rail) minmax(0,1fr);
  gap:clamp(16px,3vw,40px);align-items:start;
}
.ed-story-grid > .cap{position:sticky;top:calc(var(--head) + var(--bar) + 28px);margin:0}
.ed-story-body{max-width:64ch}
.ed-para{
  display:grid;grid-template-columns:44px minmax(0,1fr);
  gap:clamp(10px,2vw,24px);align-items:baseline;
  padding-block:clamp(18px,3vh,28px);
}
.ed-para + .ed-para{border-top:1px solid var(--hair)}
.ed-n{
  font-size:10.5px;letter-spacing:.16em;color:var(--grey);
  font-variant-numeric:tabular-nums;
}
.ed-para p{margin:0;font-size:16.5px;line-height:1.72;color:var(--ink-2)}

/* ---- a full-bleed figure ---- */
.ed-figure{margin:0;padding-inline:var(--gut)}
.ed-figure img{
  display:block;width:100%;height:clamp(260px,52vh,620px);object-fit:cover;
}

/* ---- figures ---- */
.ed-facts{padding-block:clamp(36px,7vh,84px);border-top:1px solid var(--hair)}
.ed-facts dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,4vw,60px);margin:0}
.ed-facts dt{
  font-family:var(--serif);font-weight:200;font-size:clamp(38px,6vw,86px);
  line-height:.94;letter-spacing:-.03em;color:var(--ink);
}
.ed-facts dd{
  margin:14px 0 0;font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;
  color:var(--grey);max-width:20ch;line-height:1.7;
}

/* ---- a band of real products ---- */
.ed-band{padding-block:clamp(36px,7vh,84px);border-top:1px solid var(--hair)}
.ed-band-head{
  display:flex;justify-content:space-between;align-items:baseline;gap:20px;
  margin-bottom:clamp(22px,4vh,40px);
}
.ed-band-head .cap{margin:0}

/* ---- foot links ---- */
.ed-links{border-top:1px solid var(--hair)}
.ed-links ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}
.ed-links li + li{border-left:1px solid var(--hair)}
.ed-links a{
  display:flex;flex-direction:column;gap:8px;position:relative;
  padding:clamp(26px,4vh,44px) clamp(20px,3vw,44px) clamp(26px,4vh,44px) 0;
  transition:opacity .35s var(--e);
}
.ed-links li + li a{padding-left:clamp(20px,3vw,44px)}
.ed-links-t{font-family:var(--serif);font-weight:200;font-size:clamp(20px,2.2vw,28px);letter-spacing:-.015em}
.ed-links-n{font-size:12.5px;color:var(--grey)}
.ed-links i{
  position:absolute;right:clamp(20px,3vw,44px);top:50%;transform:translateY(-50%);
  font-size:18px;color:var(--grey);transition:transform .4s var(--e),color .4s var(--e);
}
.ed-links a:hover i{transform:translate(6px,-50%);color:var(--ink)}

/* ---- contact ---- */
.ed-contact{padding-block:clamp(10px,2vh,20px) clamp(40px,7vh,90px);border-top:1px solid var(--hair)}
.ed-contact-grid{
  display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);
  gap:clamp(30px,6vw,100px);align-items:start;padding-top:clamp(30px,5vh,60px);
  position:relative;
}
/* A rule down the column boundary, so a short details column reads as
   structure rather than as a hole beside the form. */
@media (min-width:1081px){
  .ed-contact-grid::before{
    content:"";position:absolute;top:0;bottom:0;
    left:calc(70 / 200 * (100% - clamp(30px,6vw,100px)) + clamp(15px,3vw,50px));
    width:1px;background:var(--hair);
  }
}
.ed-rows{margin:0}
.ed-rows > div{
  display:grid;grid-template-columns:minmax(96px,.5fr) minmax(0,1fr);gap:20px;
  padding-block:18px;border-bottom:1px solid var(--hair);align-items:baseline;
}
.ed-rows > div:first-child{border-top:1px solid var(--hair)}
.ed-rows dt{font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;color:var(--grey)}
.ed-rows dd{margin:0;font-size:15.5px;color:var(--ink)}
.ed-rows dd a{border-bottom:1px solid var(--hair);transition:border-color .3s var(--e)}
.ed-rows dd a:hover{border-bottom-color:var(--ink)}

.ed-social{margin-top:clamp(26px,4vh,42px)}
.ed-social .cap{margin:0 0 14px}
.ed-social ul{display:flex;flex-wrap:wrap;gap:10px 26px}
.ed-social a{display:inline-flex;align-items:center;gap:7px;font-size:15px}
.ed-social i{font-size:13px;color:var(--grey);transition:transform .35s var(--e)}
.ed-social a:hover i{transform:translate(2px,-2px)}
.ed-note{font-size:13.5px;line-height:1.65;color:var(--grey);max-width:44ch;margin:clamp(22px,3vh,32px) 0 0}

.ed-formcard{
  background:var(--paper-2);padding:clamp(26px,4vw,56px);
}
.ed-formcard .cap{margin:0 0 12px}
.ed-formcard h2{
  font-family:var(--serif);font-weight:200;font-size:clamp(24px,2.8vw,38px);
  letter-spacing:-.02em;margin:0 0 clamp(22px,3vh,34px);
}

/* ---- FAQ ---- */
.ed-faq{padding-block:clamp(10px,2vh,20px) clamp(36px,6vh,80px);border-top:1px solid var(--hair)}
.ed-faq-grid{
  display:grid;grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);
  gap:clamp(28px,6vw,100px);align-items:start;padding-top:clamp(30px,5vh,60px);
}
.ed-index{position:sticky;top:calc(var(--head) + var(--bar) + 28px)}
.ed-index .cap{margin:0 0 18px}
.ed-index ol{list-style:none;margin:0;padding:0;counter-reset:none}
.ed-index li{border-top:1px solid var(--hair)}
.ed-index li:last-child{border-bottom:1px solid var(--hair)}
.ed-index a{
  display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;
  padding:15px 0;font-size:14px;color:var(--ink-2);line-height:1.45;
  transition:color .3s var(--e);
}
.ed-index a:hover{color:var(--ink)}
.ed-index a span{font-size:10.5px;letter-spacing:.16em;color:var(--grey)}

.ed-faq .acc--faq{margin-top:0;max-width:none;border-top:1px solid var(--ink)}
.ed-faq .acc-i > button{
  display:grid;grid-template-columns:44px minmax(0,1fr) 20px;gap:clamp(10px,2vw,22px);
  align-items:baseline;padding:clamp(22px,3.4vh,30px) 0;text-align:left;
}
.acc--faq .acc-q{
  font-family:var(--serif);font-weight:200;font-size:clamp(19px,2vw,26px);
  letter-spacing:-.015em;line-height:1.2;text-transform:none;
}
.ed-faq .acc-p{padding-left:clamp(54px,calc(44px + 2vw),66px);max-width:60ch}
.ed-faq .acc-i > button em{justify-self:end}

.ed-ask{border-top:1px solid var(--hair)}
.ed-ask-in{
  display:flex;justify-content:space-between;align-items:center;gap:clamp(24px,5vw,60px);
  flex-wrap:wrap;padding-block:clamp(34px,6vh,72px);
}
.ed-ask h2{
  font-family:var(--serif);font-weight:200;font-size:clamp(24px,3.2vw,44px);
  letter-spacing:-.02em;margin:0 0 10px;
}
.ed-ask p{margin:0;color:var(--grey);max-width:44ch}

/* ---- newsletter ---- */
.ed-nl{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:stretch;min-height:min(78svh,760px);
}
.ed-nl-img{position:relative;overflow:hidden;background:var(--paper-2)}
.ed-nl-img img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.ed-nl-body{display:flex;align-items:center;padding:clamp(34px,6vw,90px)}
.ed-nl-body.is-wide{grid-column:1/-1}
.ed-nl-in{width:100%;max-width:520px}
.ed-nl-in .cap{margin:0 0 18px}
.ed-nl h1{
  font-size:clamp(34px,4.6vw,66px);line-height:.98;letter-spacing:-.03em;
  margin:0 0 clamp(16px,2.4vh,26px);
}
.ed-nl .ed-lede{font-size:clamp(16px,1.4vw,19px);max-width:38ch}
.ed-nl-list{list-style:none;margin:clamp(26px,4vh,40px) 0 0;padding:0}
.ed-nl-list li{
  position:relative;padding:14px 0 14px 22px;border-top:1px solid var(--hair);
  font-size:14px;color:var(--ink-2);
}
.ed-nl-list li:last-child{border-bottom:1px solid var(--hair)}
.ed-nl-list li::before{
  content:"";position:absolute;left:0;top:calc(50% - .5px);width:9px;height:1px;background:var(--grey);
}

/* ---- responsive ---- */
@media (max-width:1080px){
  .ed-contact-grid,.ed-faq-grid{grid-template-columns:minmax(0,1fr);gap:38px}
  .ed-index{position:static}
  .ed-index ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:26px}
  .ed-nl{grid-template-columns:minmax(0,1fr);min-height:0}
  .ed-nl-img{height:clamp(260px,46vh,460px)}
  .ed-nl-img img{position:static;height:100%}
  .ed-nl-in{max-width:none}
}
@media (max-width:860px){
  .ed{--rail:0px}
  .ed-open-grid,.ed-story-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .ed-open-grid > .cap,.ed-story-grid > .cap{padding-top:0;position:static}
  .ed-facts dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}
  .ed-links ul{grid-template-columns:minmax(0,1fr)}
  .ed-links li + li{border-left:0;border-top:1px solid var(--hair)}
  .ed-links li + li a{padding-left:0}
  .ed-links i{right:0}
}
@media (max-width:560px){
  .ed-facts dl{grid-template-columns:minmax(0,1fr)}
  .ed-para{grid-template-columns:minmax(0,1fr);gap:6px}
  .ed-faq .acc-i > button{grid-template-columns:34px minmax(0,1fr) 18px;gap:12px}
  .ed-faq .acc-p{padding-left:46px}
  .ed-index ol{grid-template-columns:minmax(0,1fr)}
}

/* ============================================================
   NOTICES INSIDE A GRID
   Woo prints its notice wrapper on the same hooks that open our
   layout grids. Wherever one lands in a grid it takes a whole
   column; make it span instead so nothing is pushed sideways.
   ============================================================ */
.split > .woocommerce-notices-wrapper,
.two > .woocommerce-notices-wrapper,
.co > .woocommerce-notices-wrapper,
.acct > .woocommerce-notices-wrapper,
.ed-contact-grid > .woocommerce-notices-wrapper{grid-column:1/-1}
.split > .woocommerce-notices-wrapper:empty,
.two > .woocommerce-notices-wrapper:empty,
.co > .woocommerce-notices-wrapper:empty,
.acct > .woocommerce-notices-wrapper:empty{display:none}

/* ============================================================
   WORDPRESS ADMIN BAR
   The bar is fixed at the top with a z-index far above anything a
   theme sets, and WordPress only pushes the document down: fixed
   elements stay put and end up underneath it. For a logged-in shop
   owner that clipped the header on every single page. Every offset
   in this stylesheet already adds --bar, so only the value changes.
   ============================================================ */
body.admin-bar{--bar:32px}
body.admin-bar .drawer,
body.admin-bar .scrim{top:var(--bar)}

@media screen and (max-width:782px){
  body.admin-bar{--bar:46px}
}
@media screen and (max-width:600px){
  /* Below 600px WordPress stops fixing the bar and lets it scroll
     away, so the offset has to go back to nothing. */
  body.admin-bar{--bar:0px}
}

/* ============================================================
   POLICY AND CUSTOMER SERVICE
   Pages written as a plain run of statements: delivery terms,
   payment, complaints. Each statement is a numbered clause, so
   the reader can scan them and point at one.
   ============================================================ */
.ed-policy{padding-block:clamp(34px,6vh,70px);border-top:1px solid var(--hair)}
.ed-clauses{list-style:none;margin:0;padding:0;max-width:min(100%,900px);counter-reset:none}
.ed-clauses li{
  display:grid;grid-template-columns:var(--rail) minmax(0,1fr);
  gap:clamp(16px,3vw,40px);align-items:baseline;
  padding-block:clamp(20px,3.4vh,32px);border-top:1px solid var(--hair);
}
.ed-clauses li:last-child{border-bottom:1px solid var(--hair)}
.ed-clauses p{
  margin:0;font-size:clamp(15.5px,1.5vw,17.5px);line-height:1.7;color:var(--ink-2);
  max-width:60ch;
}
/* The opening clause carries the most weight, as on the story page. */
.ed-clauses li:first-child p{color:var(--ink)}

.ed-more{border-top:1px solid var(--hair);padding-block:clamp(30px,5vh,60px)}
.ed-more .cap{margin:0 0 clamp(16px,2.4vh,24px)}
.ed-more ul{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:0 clamp(20px,4vw,60px);margin:0;
}
.ed-more li{border-top:1px solid var(--hair)}
.ed-more a{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:16px 0;font-size:15px;color:var(--ink-2);transition:color .3s var(--e);
}
.ed-more a:hover{color:var(--ink)}
.ed-more i{font-size:14px;color:var(--grey);transition:transform .4s var(--e)}
.ed-more a:hover i{transform:translateX(5px)}

@media (max-width:860px){
  .ed-clauses li{grid-template-columns:34px minmax(0,1fr);gap:14px}
}
