/*
Theme Name: Kolumbi
Version: 2.0.0
*/

/* ==========================================================================
   Kolumbi — shared site styles
   Minimal / editorial. Espresso canvas, cream type, generous space.
   Translated from Steins' brandbook. See DESIGN.md.
   ========================================================================== */

:root{
  --zeme:#2b140a; --salmi:#f3f1d7; --zale:#596330; --udens:#89c9c9; --garsa:#a80e4c;
  --zeme-2:#33190d; --zeme-3:#21100a; --garsa-hover:#c01457;
  --line:rgba(243,241,215,.12); --line-2:rgba(243,241,215,.2);
  --dim:rgba(243,241,215,.62); --dim-2:rgba(243,241,215,.42);
  --serif:"Instrument Serif",Georgia,serif;
  --body:"Host Grotesk",system-ui,sans-serif;
  --ui:"Manrope",system-ui,sans-serif;
  --maxw:1280px; --gut:40px; --nav-h:92px; --announce-h:40px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--zeme);color:var(--salmi);font-family:var(--body);font-size:1.05rem;line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--gut)}

/* type ------------------------------------------------------------------ */
h1,h2,h3,h4{font-family:var(--serif);font-weight:400;line-height:1.0;letter-spacing:-.005em}
.display{font-size:clamp(3rem,7.5vw,6.4rem)}
h2{font-size:clamp(2.2rem,4.6vw,3.9rem)}
h3{font-size:1.7rem;line-height:1.05}
.serif-i{font-style:italic}
.eyebrow{display:inline-block;font-family:var(--ui);font-weight:600;font-size:.72rem;text-transform:uppercase;letter-spacing:.28em;color:var(--dim);margin-bottom:1.6em}
.lead{font-size:clamp(1.05rem,1.5vw,1.3rem);line-height:1.55;color:var(--dim);max-width:46ch;font-weight:400}
.muted{color:var(--dim)}

/* actions --------------------------------------------------------------- */
.btn{display:inline-flex;align-items:center;gap:.7em;font-family:var(--ui);font-weight:600;font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;padding:1.15em 2.2em;border-radius:100px;cursor:pointer;border:0;background:var(--garsa);color:var(--salmi);transition:background .25s ease,transform .25s ease}
.btn:hover{background:var(--garsa-hover);transform:translateY(-1px)}
.btn--block{width:100%;justify-content:center}
.link{display:inline-flex;align-items:center;gap:.6em;font-family:var(--ui);font-weight:600;font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;color:var(--salmi);padding-bottom:.4em;border-bottom:1px solid var(--line-2);transition:border-color .25s,color .25s}
.link:hover{border-color:var(--salmi)}
.link .ar,.btn .ar{transition:transform .25s ease}
.link:hover .ar,.btn:hover .ar{transform:translateX(4px)}
.txtlink{color:var(--dim);transition:color .2s}
.txtlink:hover{color:var(--salmi)}

/* tag (replaces chunky badges — minimal uppercase label) ---------------- */
.tag{font-family:var(--ui);font-weight:600;font-size:.64rem;letter-spacing:.2em;text-transform:uppercase;color:var(--dim)}
.tag--bio{color:var(--zale)}
.tag--accent{color:var(--garsa)}
.tag--dry{color:var(--salmi)}

/* announce + header ----------------------------------------------------- */
/* announce: a thin bar at the very top that scrolls away with the page */
.announce{position:relative;z-index:55;height:var(--announce-h);display:flex;align-items:center;justify-content:center;gap:.2em;font-family:var(--ui);font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--dim);background:var(--zeme-3);border-bottom:1px solid var(--line);white-space:nowrap;overflow:hidden;padding:0 16px}
.announce b{color:var(--salmi);font-weight:600}
.announce .a-short{display:none}
/* header: sticky; transparent over the hero at the top, turns solid once stuck/scrolled */
header{position:sticky;top:0;z-index:60;border-bottom:1px solid transparent;transition:background .35s ease,backdrop-filter .35s ease,border-color .35s ease}
header.solid{background:rgba(43,20,10,.82);backdrop-filter:blur(16px);border-bottom-color:var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:var(--nav-h)}
.nav-logo{display:flex;align-items:center}
.nav-logo img{height:40px;width:auto;display:block}
.nav-links{display:flex;align-items:center;gap:32px;font-family:var(--ui);font-weight:500;font-size:.76rem;letter-spacing:.13em;text-transform:uppercase}
.nav-links a{color:var(--dim);transition:color .2s}
.nav-links a:hover,.nav-links a.active{color:var(--salmi)}
.nav-right{display:flex;align-items:center;gap:24px}
.lang{font-family:var(--ui);font-size:.7rem;font-weight:600;letter-spacing:.14em;color:var(--dim-2)}
.lang b{color:var(--salmi)}
.cart{display:inline-flex;align-items:center;gap:.5em;font-family:var(--ui);font-weight:600;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--salmi)}
.cart .count{min-width:1.5em;height:1.5em;padding:0 .4em;border-radius:100px;background:var(--garsa);color:var(--salmi);font-size:.66rem;display:inline-grid;place-items:center}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px}
.burger span{width:24px;height:1.5px;background:var(--salmi);transition:.2s}
.mobile-menu{display:none}

/* layout helpers -------------------------------------------------------- */
section{position:relative}
.pad{padding:clamp(80px,11vw,160px) 0}
.pad-sm{padding:clamp(56px,7vw,96px) 0}
.sec-head{max-width:var(--maxw);margin:0 auto clamp(48px,6vw,84px);padding:0 var(--gut)}
.sec-head.between{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;flex-wrap:wrap}
.sec-head h2{max-width:16ch}
.divider{height:1px;background:var(--line);border:0;max-width:var(--maxw);margin:0 auto}

/* hero ------------------------------------------------------------------ */
/* hero sits behind the sticky nav (pulled up by --nav-h) and fills the rest of the
   first viewport, so announce + hero == exactly one screen */
.hero{position:relative;margin-top:calc(-1 * var(--nav-h));height:calc(100vh - var(--announce-h));height:calc(100dvh - var(--announce-h));min-height:520px;display:flex;align-items:flex-end;overflow:hidden}
.hero-bg{position:absolute;inset:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center 28%}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(43,20,10,.6) 0%,rgba(43,20,10,.12) 34%,rgba(43,20,10,.72) 80%,rgba(43,20,10,.98) 100%)}
.hero-inner{position:relative;z-index:2;width:100%;padding-bottom:clamp(56px,7vw,96px);padding-top:calc(var(--nav-h) + 24px)}
.hero .display{max-width:15ch;margin:.18em 0 .5em}
.hero .lead{max-width:50ch}
.hero-actions{display:flex;align-items:center;gap:34px;flex-wrap:wrap;margin-top:44px}
.hero-meta{display:flex;gap:30px;flex-wrap:wrap;margin-top:clamp(48px,6vw,72px);font-family:var(--ui);font-size:.73rem;letter-spacing:.16em;text-transform:uppercase;color:var(--dim)}
.hero-meta span{position:relative;padding-left:30px}
.hero-meta span::before{content:"";position:absolute;left:0;top:50%;width:14px;height:1px;background:var(--line-2)}

/* quiet trust line ------------------------------------------------------ */
.trustline{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.trustline .wrap{display:flex;align-items:center;justify-content:center;gap:clamp(28px,5vw,72px);flex-wrap:wrap;padding:30px var(--gut)}
.trustline .lbl{font-family:var(--ui);font-size:.68rem;letter-spacing:.22em;text-transform:uppercase;color:var(--dim-2)}
.trustline .mk{font-family:var(--serif);font-size:1.5rem;color:var(--dim)}

/* editorial image + caption (categories, minimal — no cards) ------------ */
.tiles{display:grid;gap:clamp(20px,3vw,40px)}
.tiles.c3{grid-template-columns:repeat(3,1fr)}
.tiles.c4{grid-template-columns:repeat(4,1fr)}
.tile{display:block;cursor:pointer}
.tile-fig{position:relative;overflow:hidden;aspect-ratio:4/5;background:var(--zeme-2)}
.tile-fig img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.tile:hover .tile-fig img{transform:scale(1.045)}
.tile-cap{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-top:18px}
.tile-cap h3{font-size:1.5rem}
.tile-cap .price{font-family:var(--ui);font-weight:600;font-size:.82rem;letter-spacing:.04em;color:var(--dim);white-space:nowrap}
.tile .meta{font-family:var(--ui);font-size:.7rem;letter-spacing:.04em;color:var(--dim);margin-top:6px}

/* product tile (shop / featured) — borderless ---------------------------- */
.product{position:relative;display:flex;flex-direction:column}
.product-fig{position:relative;overflow:hidden;aspect-ratio:4/5;background:var(--zeme-2)}
.product-fig img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.product:hover .product-fig img{transform:scale(1.05)}
.product-fig .tags{position:absolute;top:16px;left:16px;display:flex;gap:12px}
.product-add{position:absolute;right:14px;bottom:14px;width:44px;height:44px;border-radius:100px;background:var(--salmi);color:var(--zeme);border:0;display:grid;place-items:center;font-size:1.4rem;line-height:1;cursor:pointer;opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s,background .2s}
.product:hover .product-add{opacity:1;transform:none}
.product-add:hover{background:var(--garsa);color:var(--salmi)}
.product-body{display:grid;grid-template-columns:1fr auto;align-items:baseline;column-gap:16px;padding-top:16px}
.product-body .cat{grid-column:1/-1;font-family:var(--ui);font-size:.64rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--dim-2);margin-bottom:7px}
.product-body h3{grid-column:1;font-size:1.32rem;line-height:1.12}
.product-foot{grid-column:2;justify-self:end;display:flex;align-items:baseline;gap:.28em;font-family:var(--ui);white-space:nowrap}
.product-foot .p{font-weight:700;font-size:1.12rem;letter-spacing:-.01em}
.product-foot .u{font-size:.66rem;letter-spacing:.05em;text-transform:uppercase;color:var(--dim)}

/* split / feature ------------------------------------------------------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,6vw,96px);align-items:center}
.split.wide-media{grid-template-columns:1.15fr .85fr}
.media{position:relative;overflow:hidden}
.media img{width:100%;height:100%;object-fit:cover;display:block}
.media .cap{position:absolute;left:20px;bottom:20px;font-family:var(--ui);font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:var(--salmi);background:rgba(33,16,10,.55);padding:.7em 1.1em;border-radius:100px;backdrop-filter:blur(6px)}
.ar-45{aspect-ratio:4/5}
.ar-11{aspect-ratio:1/1}
.ar-43{aspect-ratio:4/3}

/* numbered steps (full-cycle) — hairline only --------------------------- */
.steps{margin-top:clamp(28px,4vw,44px)}
.step{display:grid;grid-template-columns:auto 1fr;gap:28px;padding:26px 0;border-top:1px solid var(--line)}
.step:last-child{border-bottom:1px solid var(--line)}
.step .n{font-family:var(--serif);font-size:1.6rem;color:var(--dim-2);line-height:1}
.step h4{font-family:var(--ui);font-weight:600;font-size:.84rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.5em}
.step p{color:var(--dim);font-size:.97rem;line-height:1.6;max-width:52ch}

/* light section --------------------------------------------------------- */
.light{background:var(--salmi);color:var(--zeme)}
.light .eyebrow,.light .muted{color:rgba(43,20,10,.55)}
.light h2{color:var(--zeme)}
.light .lead{color:rgba(43,20,10,.7)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(20px,3vw,48px);margin-top:clamp(36px,5vw,60px)}
.stat .n{font-family:var(--serif);font-size:clamp(2.6rem,4vw,3.6rem);line-height:.9;color:var(--zeme)}
.stat .l{font-family:var(--ui);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(43,20,10,.55);margin-top:.9em}
.light .certrow{display:flex;gap:28px;flex-wrap:wrap;margin-top:clamp(36px,5vw,56px);padding-top:30px;border-top:1px solid rgba(43,20,10,.15)}
.light .certrow span{font-family:var(--ui);font-weight:600;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:rgba(43,20,10,.7)}

/* checklist ------------------------------------------------------------- */
.checklist{list-style:none;margin:clamp(22px,3vw,34px) 0 clamp(30px,4vw,40px);display:flex;flex-direction:column;gap:0}
.checklist li{display:flex;gap:18px;align-items:flex-start;color:var(--dim);padding:18px 0;border-top:1px solid var(--line)}
.checklist li:last-child{border-bottom:1px solid var(--line)}
.checklist li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--udens);margin-top:11px;flex:none}

/* CTA band -------------------------------------------------------------- */
.cta{position:relative;overflow:hidden;text-align:center}
.cta-bg{position:absolute;inset:0}
.cta-bg img{width:100%;height:100%;object-fit:cover}
.cta-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(43,20,10,.82),rgba(43,20,10,.95))}
.cta .wrap{position:relative;z-index:2}
.cta h2{max-width:18ch;margin:.2em auto .5em}
.cta .lead{margin:0 auto}
.cta .hero-actions{justify-content:center}

/* services grid --------------------------------------------------------- */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(20px,2.6vw,40px)}
.service-card{display:flex;flex-direction:column;padding:clamp(32px,3.2vw,48px);border:1px solid var(--line);position:relative;transition:border-color .3s ease,background .3s ease}
.service-card:hover{border-color:var(--line-2);background:var(--zeme-2)}
.service-card .sc-icon{font-size:clamp(2.6rem,4vw,3.6rem);margin-bottom:.6em;line-height:1}
.service-card h3{font-size:clamp(1.25rem,2vw,1.7rem);margin-bottom:.9em}
.service-card p{color:var(--dim);font-size:.97rem;line-height:1.6;margin-bottom:1.6em;flex:1}
.service-card .link{margin-top:auto;align-self:flex-start}

/* footer ---------------------------------------------------------------- */
footer{border-top:1px solid var(--line);padding-top:clamp(64px,8vw,96px)}
.foot-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:48px;padding-bottom:clamp(48px,6vw,64px)}
.foot-logo img{height:44px;width:auto;margin-bottom:14px}
.foot-tagline{display:block;font-family:var(--ui);font-weight:600;font-size:.66rem;letter-spacing:.34em;text-transform:uppercase;color:var(--dim);margin-bottom:24px}
.foot-brand p{color:var(--dim);font-size:.92rem;max-width:32ch}
.foot-col h5{font-family:var(--ui);font-weight:600;font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:var(--dim-2);margin-bottom:22px}
.foot-col a,.foot-col p{display:block;color:var(--dim);font-size:.94rem;margin-bottom:13px;transition:color .2s}
.foot-col a:hover{color:var(--salmi)}
.foot-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:30px 0 44px;border-top:1px solid var(--line);font-family:var(--ui);font-size:.74rem;letter-spacing:.06em;color:var(--dim-2)}
.foot-bottom .certs{display:flex;gap:24px;flex-wrap:wrap}
.foot-bottom .certs span{letter-spacing:.16em;text-transform:uppercase}

/* shop-specific --------------------------------------------------------- */
.shop-hero{padding:clamp(40px,6vw,72px) 0 clamp(40px,5vw,64px)}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-top:clamp(32px,4vw,48px)}
.filter{font-family:var(--ui);font-weight:600;font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--dim);background:none;border:1px solid var(--line);padding:.85em 1.5em;border-radius:100px;cursor:pointer;transition:.2s}
.filter:hover{color:var(--salmi);border-color:var(--line-2)}
.filter.active{background:var(--salmi);color:var(--zeme);border-color:var(--salmi)}
.cat-block{margin-bottom:clamp(64px,8vw,110px)}
.cat-block-head{display:flex;align-items:baseline;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-bottom:26px;margin-bottom:clamp(32px,4vw,48px);border-bottom:1px solid var(--line)}
.cat-block-head h2{font-size:clamp(1.9rem,3.4vw,2.8rem)}
.cat-block-head .note{font-family:var(--ui);font-size:.74rem;letter-spacing:.06em;color:var(--dim)}
.grid-products{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(20px,2.6vw,38px)}

/* product detail (PDP) -------------------------------------------------- */
.breadcrumb{font-family:var(--ui);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--dim-2);padding:clamp(26px,3.5vw,40px) 0 0}
.breadcrumb a:hover{color:var(--salmi)}
.pdp{display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(40px,5vw,72px);padding:clamp(20px,3vw,32px) 0 clamp(64px,8vw,110px);align-items:start}
.pdp-media{position:sticky;top:84px;overflow:hidden;aspect-ratio:4/5;background:var(--zeme-2)}
.pdp-media img{width:100%;height:100%;object-fit:cover}
.pdp h1{font-size:clamp(2.4rem,4.4vw,3.6rem);margin:.2em 0 .35em}
.pdp .tags{display:flex;gap:18px;margin-bottom:1.6em}
.pdp .price{font-family:var(--ui);display:flex;align-items:baseline;gap:.4em;margin:1.4em 0}
.pdp .price .p{font-weight:700;font-size:2.2rem;letter-spacing:-.01em}
.pdp .price .u{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.pdp p.desc{color:var(--dim);max-width:48ch;margin-bottom:1.8em}
.opt-label{font-family:var(--ui);font-weight:600;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--dim);margin-bottom:1em;display:block}
.opts{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:2em}
.opt{font-family:var(--ui);font-weight:600;font-size:.82rem;color:var(--salmi);background:none;border:1px solid var(--line-2);padding:.85em 1.4em;border-radius:100px;cursor:pointer;transition:.2s}
.opt:hover{border-color:var(--salmi)}
.opt.active{background:var(--salmi);color:var(--zeme);border-color:var(--salmi)}
.buy-row{display:flex;gap:16px;align-items:stretch;margin-bottom:2.4em}
.qty{display:flex;align-items:center;border:1px solid var(--line-2);border-radius:100px;overflow:hidden}
.qty button{width:48px;height:100%;background:none;border:0;color:var(--salmi);font-size:1.2rem;cursor:pointer}
.qty span{min-width:36px;text-align:center;font-family:var(--ui);font-weight:600}
.acc{border-top:1px solid var(--line)}
.acc details{border-bottom:1px solid var(--line)}
.acc summary{list-style:none;cursor:pointer;padding:20px 0;font-family:var(--ui);font-weight:600;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;display:flex;justify-content:space-between;align-items:center}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:"+";color:var(--dim);font-size:1.2rem}
.acc details[open] summary::after{content:"–"}
.acc .acc-body{padding:0 0 22px;color:var(--dim);font-size:.95rem;max-width:52ch}

/* reveal — progressive enhancement (gated under .js) -------------------- */
.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.js .reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none;transition:none}}

/* responsive ------------------------------------------------------------ */
@media(max-width:1040px){
  .tiles.c4,.grid-products{grid-template-columns:repeat(3,1fr)}
  .services-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:880px){
  :root{--gut:26px;--nav-h:72px}
  .nav-logo img{height:34px}
  .nav-links,.lang{display:none}
  .burger{display:flex}
  .split,.pdp{grid-template-columns:1fr;gap:36px}
  .pdp-media{position:relative;top:0}
  .tiles.c3,.tiles.c4,.grid-products{grid-template-columns:repeat(2,1fr)}
  .stats{grid-template-columns:repeat(2,1fr)}
  .foot-top{grid-template-columns:1fr 1fr;gap:32px}
  .mobile-menu.open{display:flex;flex-direction:column;position:fixed;inset:0;background:var(--zeme);z-index:80;padding:32px 26px}
  .mobile-menu .mm-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:40px}
  .mobile-menu .mm-top img{height:40px}
  .mobile-menu .mm-close{background:none;border:0;color:var(--salmi);font-size:2rem;cursor:pointer;line-height:1}
  .mobile-menu a.mm-link{font-family:var(--serif);font-size:2.2rem;padding:14px 0;border-bottom:1px solid var(--line);color:var(--salmi)}
  .mobile-menu .btn{margin-top:34px}
}
@media(max-width:640px){
  .announce .a-full{display:none}
  .announce .a-short{display:inline}
}
@media(max-width:560px){
  .tiles.c3,.tiles.c4,.grid-products{grid-template-columns:1fr 1fr;gap:16px}
  .services-grid{grid-template-columns:1fr}
  .foot-top{grid-template-columns:1fr}
  .product-add{opacity:1;transform:none}
  .hero-meta{gap:18px}
}

/* ── WooCommerce form elements ─────────────────────────────────────────
   WooCommerce ships its own button/field styling: #e9e6ed grey, #7f54b3
   (WooCommerce purple) for .alt, 3px radius. None of that is in the brand.

   These selectors deliberately do NOT require a .woocommerce ancestor.
   WooCommerce's own rules key off body classes via :where(), which
   contributes zero specificity — so element+class here (0,1,1) already beats
   their .button (0,1,0), and this file is enqueued last.

   Buttons mirror .btn in assets/site.css so a WooCommerce button and a
   design-system button are indistinguishable. */

body.woocommerce button.button, body.woocommerce a.button, body.woocommerce input.button, body.woocommerce button.button.alt, body.woocommerce a.button.alt, body.woocommerce input.button.alt, body.woocommerce a.checkout-button, body.woocommerce button#place_order, body.woocommerce .wc-proceed-to-checkout a.button, body button.single_add_to_cart_button, body a.checkout-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  background: var(--garsa, #a80e4c); color: var(--salmi, #f3f1d7);
  font-family: var(--ui, inherit); font-weight: 600; font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 1.15em 2.2em; border: 0; border-radius: 4px;
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: background .2s ease, transform .2s ease;
}
body.woocommerce button.button:hover, body.woocommerce a.button:hover, body.woocommerce input.button:hover, body.woocommerce button.button.alt:hover, body.woocommerce a.button.alt:hover, body.woocommerce input.button.alt:hover, body.woocommerce a.checkout-button:hover, body.woocommerce button#place_order:hover, body.woocommerce .wc-proceed-to-checkout a.button:hover, body button.single_add_to_cart_button:hover, body a.checkout-button:hover {
  background: var(--garsa-hover, #c01457); transform: translateY(-1px);
}
body.woocommerce a.checkout-button, body.woocommerce .wc-proceed-to-checkout a.button,
body.woocommerce button#place_order {
  width: 100%; box-sizing: border-box; font-size: .8rem; padding: 1.25em 2.2em;
}

/* Fields — transparent on the dark ground, cream text, brand focus ring. */
.quantity input.qty, input.input-text, textarea.input-text,
.woocommerce-checkout input[type="text"], .woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"], .woocommerce-checkout textarea,
input[type="text"].input-text, input[type="email"].input-text,
input[type="tel"].input-text, input[type="password"].input-text,
.select2-container .select2-selection, select.country_select, select.state_select,
form.checkout select, form.checkout input, form.checkout textarea {
  background: transparent; color: var(--salmi, #f3f1d7);
  border: 1px solid var(--line-2, rgba(243,241,215,.2));
  border-radius: 6px; padding: .9em 1em; font: inherit; font-size: .95rem;
  box-sizing: border-box;
}
.quantity input.qty { width: 5.5em; text-align: center; padding: .9em .4em; }
input.input-text:focus, textarea.input-text:focus, form.checkout input:focus,
form.checkout select:focus, form.checkout textarea:focus, .quantity input.qty:focus {
  outline: none; border-color: var(--garsa, #a80e4c);
}
::placeholder { color: var(--dim-2, rgba(243,241,215,.42)); }
select.country_select, select.state_select, form.checkout select { color: var(--salmi, #f3f1d7); }
select option { background: var(--zeme, #2b140a); color: var(--salmi, #f3f1d7); }

form.cart { display: flex; gap: 14px; align-items: center; margin: 26px 0; flex-wrap: wrap; }
label { display: block; margin-bottom: .45em; font-size: .8rem; color: var(--dim, rgba(243,241,215,.62)); }

/* Notices + tables — WooCommerce defaults are white boxes on a dark page. */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-NoticeGroup ul {
  background: rgba(243,241,215,.05); color: var(--salmi, #f3f1d7);
  border-left: 3px solid var(--garsa, #a80e4c);
  padding: 1em 1.2em; margin: 0 0 1.5em; list-style: none; border-radius: 4px;
}
table.shop_table, table.cart, table.woocommerce-checkout-review-order-table {
  border-collapse: collapse; width: 100%; color: var(--salmi, #f3f1d7);
}
table.shop_table th, table.shop_table td, table.cart th, table.cart td {
  border-bottom: 1px solid var(--line, rgba(243,241,215,.12));
  padding: 1em .6em; text-align: left;
}
.cart_totals, .woocommerce-checkout-review-order, #order_review,
.woocommerce-billing-fields, .woocommerce-additional-fields {
  background: var(--zeme-2, #33190d); border: 1px solid var(--line, rgba(243,241,215,.12));
  border-radius: 10px; padding: 1.6em; margin-bottom: 1.5em;
}
.price, .woocommerce-Price-amount, .amount { color: var(--salmi, #f3f1d7); font-weight: 600; }

.pdp-media img { width: 100%; height: auto; border-radius: 6px; display: block; }
.pdp-info .rich { margin: 18px 0; line-height: 1.7; }
.pdp-info .note { font-size: .8rem; color: var(--dim, rgba(243,241,215,.62)); }
.lang-switch { display: flex; gap: 10px; align-items: center; margin-left: 16px; }
.lang-switch a { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim-2, rgba(243,241,215,.42)); text-decoration: none; }
.lang-switch a.is-active, .lang-switch a:hover { color: var(--salmi, #f3f1d7); }


/* ── WooCommerce Blocks (cart + checkout) ──────────────────────────────
   The cart and checkout pages are block-based (wp:woocommerce/cart,
   wp:woocommerce/checkout), rendered client-side by React. They share no
   markup with the classic templates above — no #place_order, no .input-text
   — so they need their own rules or they fall back to the stock grey
   (#e9e6ed) and WooCommerce purple (#7f54b3).

   Class names verified against the plugin's own CSS, not assumed.
   No !important: this file is enqueued after wc-blocks.css, so equal
   specificity already wins. */

body .wc-block-components-button:not(.wc-block-components-notice-banner .wc-block-components-button),
body .wc-block-cart__submit-button,
body .wc-block-components-checkout-place-order-button {
  background: var(--garsa, #a80e4c); color: var(--salmi, #f3f1d7);
  font-family: var(--ui, inherit); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 1.15em 2.2em; border: 0; border-radius: 4px;
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: background .2s ease, transform .2s ease;
}
.wc-block-components-button:not(.wc-block-components-notice-banner .wc-block-components-button):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: var(--garsa-hover, #c01457); transform: translateY(-1px);
}
.wc-block-components-button__text { color: inherit; }

/* Fields */
.wc-block-components-text-input input,
.wc-blocks-components-select__select,
.wc-block-components-textarea {
  background: transparent; color: var(--salmi, #f3f1d7);
  border: 1px solid var(--line-2, rgba(243,241,215,.2));
  border-radius: 6px; padding: .95em 1em; font: inherit; font-size: .95rem;
}
.wc-block-components-text-input input:focus,
.wc-blocks-components-select__select:focus {
  outline: none; border-color: var(--garsa, #a80e4c); box-shadow: none;
}
.wc-block-components-text-input label,
.wc-blocks-components-select__label,
.wc-block-components-checkout-step__title {
  color: var(--dim, rgba(243,241,215,.62));
}
.wc-blocks-components-select__select option { background: var(--zeme, #2b140a); }

/* Panels + totals */
.wc-block-components-sidebar, .wc-block-cart__sidebar,
.wc-block-components-order-summary, .wc-block-checkout__sidebar {
  background: var(--zeme-2, #33190d);
  border: 1px solid var(--line, rgba(243,241,215,.12));
  border-radius: 10px; padding: 1.4em;
}
.wc-block-components-totals-item, .wc-block-components-product-name,
.wc-block-components-formatted-money-amount, .wc-block-components-totals-footer-item {
  color: var(--salmi, #f3f1d7);
}
.wc-block-components-totals-item__label { color: var(--dim, rgba(243,241,215,.62)); }
.wc-block-cart-items__row, .wc-block-components-totals-wrapper {
  border-color: var(--line, rgba(243,241,215,.12));
}


/* ── WordPress block buttons + alignwide containment ───────────────────
   Two things the block editor brings in that the static design never had.

   1. WooCommerce's product grids render add-to-cart as
      `.wp-block-button__link.add_to_cart_button` — a *WordPress* block
      button, not `.wc-block-components-button`. Different class, so the
      rules above never touched it; it kept the stock grey.

   2. Block pages (cart, checkout) mark their wrapper `alignwide`, which is
      sized against the global wide-size, not the theme's `.wrap`. Inside
      `main.wrap.pad` that overflows both edges — the page title clipped on
      the left, the product grid running off the right. */

body .wp-block-button__link,
body .wp-block-button__link.add_to_cart_button,
body a.add_to_cart_button, body a.added_to_cart {
  background: var(--garsa, #a80e4c); color: var(--salmi, #f3f1d7);
  font-family: var(--ui, inherit); font-weight: 600; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 1em 1.9em; border: 0; border-radius: 4px;
  text-decoration: none; line-height: 1; display: inline-block;
  transition: background .2s ease, transform .2s ease;
}
body .wp-block-button__link:hover,
body a.add_to_cart_button:hover, body a.added_to_cart:hover {
  background: var(--garsa-hover, #c01457); transform: translateY(-1px);
}

.wrap .alignwide, .wrap .alignfull,
main .wp-block-woocommerce-cart, main .wp-block-woocommerce-checkout {
  max-width: 100%; width: auto; margin-left: 0; margin-right: 0;
}


/* ── .wrap + .pad on one element ───────────────────────────────────────
   site.css defines them to be nested, not combined:
     .wrap { padding: 0 var(--gut) }              horizontal gutter
     .pad  { padding: clamp(80px,11vw,160px) 0 }  vertical rhythm, sides 0
   `.pad` is declared later, so `<main class="wrap pad">` loses its gutter
   and content sits flush against the viewport edge. Restore both axes for
   the combined case rather than restructuring every template. */
.wrap.pad {
  padding-left: var(--gut, 40px);
  padding-right: var(--gut, 40px);
}


/* ── Squared commerce buttons + matched control heights ────────────────
   Radius is 4px by preference (the design system's .btn is still a 100px
   pill — the two need reconciling; tracked for the design-system pass).

   The qty field and Add to cart were sized by their own padding, so they
   never matched. Pin both to one height and centre their content instead. */
:root { --ctl-h: 52px; }

body.woocommerce form.cart .quantity input.qty,
body.woocommerce form.cart button.single_add_to_cart_button,
body form.cart .quantity input.qty,
body form.cart button.single_add_to_cart_button {
  height: var(--ctl-h);
  min-height: var(--ctl-h);
  padding-top: 0; padding-bottom: 0;
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px;
}
body form.cart { align-items: stretch; }


/* ── Block cart/checkout fields ────────────────────────────────────────
   The block checkout renders bare <input> elements with NO class inside a
   wrapper div, with the <label> as a following sibling (floating label).
   Class-based selectors therefore never reached them, so the fields kept
   WooCommerce's white background — and the cream floating labels were
   invisible on white, which is the bug being fixed here.

   Scoping by container + element type is what actually matches, and
   survives changes to the block's internal class names. */

body .wp-block-woocommerce-checkout input[type="text"],
body .wp-block-woocommerce-checkout input[type="email"],
body .wp-block-woocommerce-checkout input[type="tel"],
body .wp-block-woocommerce-checkout input[type="number"],
body .wp-block-woocommerce-checkout textarea,
body .wp-block-woocommerce-checkout select,
body .wp-block-woocommerce-cart input[type="text"],
body .wp-block-woocommerce-cart select,
body .wc-block-components-text-input input,
body .wc-blocks-components-select__select {
  background: rgba(243,241,215,.04) !important;
  color: var(--salmi, #f3f1d7) !important;
  border: 1px solid var(--line-2, rgba(243,241,215,.2)) !important;
  border-radius: 4px;
  box-shadow: none;
}
body .wp-block-woocommerce-checkout input:focus,
body .wp-block-woocommerce-checkout select:focus,
body .wp-block-woocommerce-checkout textarea:focus {
  border-color: var(--garsa, #a80e4c) !important;
  outline: none; box-shadow: none;
}
/* Floating labels sit over the field, so they must read on the dark ground. */
body .wp-block-woocommerce-checkout label,
body .wc-block-components-text-input label,
body .wc-blocks-components-select__label,
body .wp-block-woocommerce-checkout .wc-block-components-checkbox__label {
  color: var(--dim, rgba(243,241,215,.62)) !important;
  background: transparent;
}
body .wp-block-woocommerce-checkout input::placeholder,
body .wp-block-woocommerce-checkout textarea::placeholder {
  color: var(--dim-2, rgba(243,241,215,.42)) !important;
}
body .wp-block-woocommerce-checkout select option { background: var(--zeme, #2b140a); }
/* The one white panel left: the shipping-option row. */
body .wc-block-components-radio-control__option { color: var(--salmi, #f3f1d7); }


/* The country field's white box is the wrapper, not the <select>. */
body .wc-blocks-components-select,
body .wc-blocks-components-select__container {
  background: rgba(243,241,215,.04) !important;
  border: 1px solid var(--line-2, rgba(243,241,215,.2)) !important;
  border-radius: 4px;
}
body .wc-blocks-components-select__container { padding: 0; }
body .wc-blocks-components-select__select {
  border: 0 !important; background: transparent !important;
}
body .wc-blocks-components-select__label { color: var(--dim, rgba(243,241,215,.62)) !important; }
