/*
Theme Name: SHMOVEW Atelier
Theme URI: https://shmovew.com
Author: SHMOVEW Studio
Author URI: https://shmovew.com
Description: WordPress theme for shmovew.com built 1:1 on the "Tobacco Atelier" design draft (shmovew-design-v2.html). Position-driven menus with built-in fallbacks, full WooCommerce support, built-in Home / About / Contact pages, working contact form, no widget areas to break. v2.0.3 clean rebuild.
Version: 2.0.3
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shmovew
Tags: e-commerce, custom-colors, custom-logo, custom-menu, translation-ready
*/

/* ============================================================
   PART 1 — DESIGN SYSTEM (extracted verbatim from
   shmovew-design-v2.html — do not hand-edit these lines)
   ============================================================ */
/* ============================================================
   SHMOVEW — DESIGN SYSTEM v2
   Direction: "Tobacco Atelier" — bright parchment workshop.
   Deliberately breaks from v1 (dark gallery-noir + nickel silver).
   ============================================================ */
:root{
  --paper:#F7F2E8;        /* page ground — parchment */
  --surface:#FFFCF6;      /* cards */
  --surface-2:#F1E9DA;    /* recessed bands */
  --ink:#2A1C12;          /* deep tobacco brown */
  --ink-soft:#6E5947;
  --ink-mute:#9A8875;
  --teal:#14453F;         /* primary brand — deep petrol */
  --teal-soft:#E3EBE7;
  --terra:#C05621;        /* CTA — burnt sienna */
  --terra-soft:#F6E4D8;
  --line:#E2D7C4;
  --line-strong:#CDBEA5;
  --pewter:#8A8175;       /* hardware tone (NOT brass gold, NOT nickel) */
  --radius:6px;
  --radius-lg:14px;
  --serif:"Fraunces","Iowan Old Style",Georgia,"Songti SC",serif;
  --sans:"DM Sans","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --shadow:0 2px 10px rgba(42,28,18,.06);
  --shadow-lg:0 18px 44px rgba(42,28,18,.13);
  --max:1280px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--sans);background:var(--paper);color:var(--ink);font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--max);margin:0 auto;padding:0 32px}
.eyebrow{font-size:10.5px;font-weight:700;letter-spacing:3.2px;text-transform:uppercase;color:var(--teal)}
.rule{height:1px;background:var(--line);border:0}

/* ---------- utility / header ---------- */
.util{background:var(--ink);color:#D8CCBA;font-size:11.5px;letter-spacing:.6px}
.util .wrap{display:flex;justify-content:space-between;align-items:center;height:34px}
.util span{opacity:.85}
.util .r{display:flex;gap:20px}
.hdr{position:sticky;top:0;z-index:900;background:rgba(247,242,232,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.hdr-in{max-width:var(--max);margin:0 auto;padding:18px 32px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.hdr nav{display:flex;gap:26px;font-size:13px;font-weight:500;letter-spacing:.4px}
.hdr nav a{padding:4px 0;border-bottom:1.5px solid transparent;transition:.15s}
.hdr nav a:hover{border-bottom-color:var(--terra);color:var(--terra)}
.hdr .right{display:flex;gap:22px;justify-content:flex-end;font-size:13px;font-weight:500}
.wm{text-align:center;line-height:1}
.wm .mark{font-family:var(--serif);font-size:26px;font-weight:700;letter-spacing:7px;color:var(--ink)}
.wm .sub{font-size:8.5px;letter-spacing:3.4px;text-transform:uppercase;color:var(--ink-mute);margin-top:5px}
.cartpill{background:var(--teal);color:#fff;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700;margin-left:5px}

/* ---------- hero ---------- */
.hero{padding:56px 0 0}
.hero-in{max-width:var(--max);margin:0 auto;padding:0 32px;display:grid;grid-template-columns:1.02fr .98fr;gap:56px;align-items:center}
.hero h1{font-family:var(--serif);font-size:60px;line-height:1.04;font-weight:600;letter-spacing:-.5px;margin:16px 0 20px}
.hero h1 em{font-style:italic;color:var(--terra)}
.hero p.lede{font-size:16px;color:var(--ink-soft);max-width:420px;margin-bottom:28px}
.btn{display:inline-flex;align-items:center;gap:9px;padding:14px 30px;border-radius:var(--radius);font-size:13.5px;font-weight:700;letter-spacing:.6px;border:1.5px solid transparent;cursor:pointer;transition:.16s;font-family:var(--sans)}
.btn-1{background:var(--terra);color:#fff}
.btn-1:hover{background:#A8471A;transform:translateY(-1px)}
.btn-2{border-color:var(--ink);color:var(--ink);background:transparent}
.btn-2:hover{background:var(--ink);color:var(--paper)}
.hero-stats{display:flex;gap:34px;margin-top:40px;padding-top:26px;border-top:1px solid var(--line)}
.hero-stats div b{display:block;font-family:var(--serif);font-size:28px;font-weight:600;line-height:1}
.hero-stats div span{font-size:10.5px;letter-spacing:2px;text-transform:uppercase;color:var(--ink-mute)}
.hero-art{position:relative}
.hero-art .ph{height:520px;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}
.tagcard{position:absolute;left:-26px;bottom:38px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px 22px;box-shadow:var(--shadow-lg);max-width:230px}
.tagcard .t{font-family:var(--serif);font-size:17px;font-weight:600}
.tagcard .m{font-size:11.5px;color:var(--ink-mute);margin:4px 0 8px}
.tagcard .p{font-family:var(--serif);font-size:21px;font-weight:700;color:var(--terra)}

/* ---------- ticker ---------- */
.ticker{margin-top:64px;background:var(--teal);color:#D9E5E1;overflow:hidden}
.ticker .wrap{display:flex;gap:44px;justify-content:center;height:46px;align-items:center;font-size:11px;letter-spacing:3px;text-transform:uppercase;white-space:nowrap}
.ticker b{color:#fff;font-weight:700}

/* ---------- section frames ---------- */
section{padding:86px 0}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:38px}
.sec-head h2{font-family:var(--serif);font-size:38px;font-weight:600;line-height:1.1;margin-top:10px}
.sec-head p{color:var(--ink-soft);max-width:400px;font-size:14px}
.sec-head .l .eyebrow{display:block;margin-bottom:6px}

/* ---------- category index (editorial numbered list) ---------- */
.catlist{border-top:1px solid var(--line-strong)}
.catrow{display:grid;grid-template-columns:64px 1fr auto 34px;align-items:center;gap:20px;padding:20px 8px;border-bottom:1px solid var(--line);transition:.16s;cursor:pointer}
.catrow:hover{background:var(--surface);padding-left:18px}
.catrow .n{font-family:var(--serif);font-size:15px;color:var(--terra);font-weight:600}
.catrow .nm{font-family:var(--serif);font-size:24px;font-weight:600}
.catrow .ct{font-size:11.5px;letter-spacing:2px;text-transform:uppercase;color:var(--ink-mute)}
.catrow .ar{font-size:17px;color:var(--ink-mute);transition:.16s;text-align:right}
.catrow:hover .ar{color:var(--terra);transform:translateX(4px)}
.catrow .thumb{width:66px;height:48px;border-radius:4px;background:var(--surface-2);opacity:0;transition:.2s}
.catrow:hover .thumb{opacity:1}

/* ---------- editorial feature grid (asymmetric) ---------- */
.fgrid{display:grid;grid-template-columns:1.35fr 1fr 1fr;grid-template-rows:300px 300px;gap:18px}
.fcard{position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:var(--surface)}
.fcard.a{grid-row:span 2}
.fcard .ph{width:100%;height:100%}
.fcard .cap{position:absolute;left:22px;bottom:22px;right:22px}
.fcard .cap .k{font-size:10px;letter-spacing:2.6px;text-transform:uppercase;color:#fff;opacity:.85;margin-bottom:6px}
.fcard .cap .t{font-family:var(--serif);font-size:26px;font-weight:600;color:#fff;line-height:1.15}
.fcard .cap .t.s{font-size:20px}

/* ---------- craft trio ---------- */
.craft{background:var(--surface-2)}
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.tcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:34px 30px}
.tcard .ic{width:46px;height:46px;border-radius:50%;background:var(--teal-soft);display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:19px;color:var(--teal);font-weight:700;margin-bottom:20px}
.tcard h4{font-family:var(--serif);font-size:20px;font-weight:600;margin-bottom:10px}
.tcard p{font-size:13.8px;color:var(--ink-soft)}

/* ---------- product grid ---------- */
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px 24px}
.pcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.18s;position:relative}
.pcard:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px);border-color:var(--line-strong)}
.pcard .ph{height:280px}
.pcard .body{padding:18px 20px 22px}
.pcard .cat{font-size:10px;letter-spacing:2.2px;text-transform:uppercase;color:var(--ink-mute)}
.pcard .nm{font-family:var(--serif);font-size:18px;font-weight:600;margin:6px 0 4px}
.pcard .meta{font-size:12px;color:var(--ink-mute);margin-bottom:12px}
.pcard .pr{display:flex;align-items:baseline;gap:10px}
.pcard .pr b{font-family:var(--serif);font-size:19px;font-weight:700}
.pcard .pr s{font-size:12.5px;color:var(--ink-mute)}
.badge{position:absolute;top:14px;left:14px;background:var(--teal);color:#fff;font-size:9.5px;font-weight:700;letter-spacing:2px;text-transform:uppercase;padding:5px 11px;border-radius:3px}
.badge.terra{background:var(--terra)}
.quick{position:absolute;left:14px;right:14px;bottom:14px;background:rgba(42,28,18,.92);color:#F7F2E8;text-align:center;padding:11px;border-radius:4px;font-size:12px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;opacity:0;transform:translateY(6px);transition:.18s}
.pcard:hover .quick{opacity:1;transform:translateY(0)}

/* ---------- quote band ---------- */
.quote{background:var(--teal);color:#E4EDE9;text-align:center;padding:92px 0}
.quote q{display:block;font-family:var(--serif);font-size:34px;font-weight:400;line-height:1.35;font-style:italic;max-width:820px;margin:0 auto 22px;color:#fff}
.quote .by{font-size:11px;letter-spacing:3px;text-transform:uppercase;color:#A9C4BC}

/* ---------- newsletter ---------- */
.news{background:var(--surface-2)}
.news-in{max-width:var(--max);margin:0 auto;padding:64px 32px;text-align:center}
.news h3{font-family:var(--serif);font-size:34px;font-weight:600;margin:12px 0 12px}
.news p{color:var(--ink-soft);max-width:460px;margin:0 auto 28px;font-size:14.5px}
.news form{display:flex;gap:10px;justify-content:center;max-width:470px;margin:0 auto;flex-wrap:wrap}
.news input{flex:1;min-width:230px;padding:14px 18px;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);font-family:var(--sans);font-size:14px;color:var(--ink);outline:none}
.news input:focus{border-color:var(--teal)}
.news .fine{font-size:11.5px;color:var(--ink-mute);margin-top:16px}

/* ---------- footer (LIGHT — key differentiation from v1) ---------- */
.ftr{background:var(--surface);border-top:1px solid var(--line);padding:70px 0 0;color:var(--ink-soft)}
.ftr-in{max-width:var(--max);margin:0 auto;padding:0 32px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1.4fr;gap:46px}
.ftr h5{font-size:10.5px;letter-spacing:2.6px;text-transform:uppercase;color:var(--ink);margin-bottom:18px;font-weight:700}
.ftr ul{list-style:none}
.ftr li{padding:5px 0;font-size:13.5px}
.ftr li a:hover{color:var(--terra)}
.ftr .brand .mark{font-family:var(--serif);font-size:24px;font-weight:700;letter-spacing:5px;color:var(--ink)}
.ftr .brand p{font-size:13.5px;margin:14px 0 18px;max-width:280px}
.pay{display:flex;gap:9px;margin-top:18px}
.ftr-bot{border-top:1px solid var(--line);margin-top:56px;padding:22px 0 34px;font-size:11.5px;color:var(--ink-mute)}
.ftr-bot .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

/* ---------- SHOP view ---------- */
.shophead{background:var(--surface-2);border-bottom:1px solid var(--line);padding:44px 0 34px}
.crumb{font-size:11.5px;letter-spacing:1.6px;text-transform:uppercase;color:var(--ink-mute);margin-bottom:14px}
.shophead h1{font-family:var(--serif);font-size:46px;font-weight:600}
.shophead p{color:var(--ink-soft);margin-top:10px;max-width:560px;font-size:14.5px}
.shoplay{max-width:var(--max);margin:0 auto;padding:38px 32px 90px;display:grid;grid-template-columns:250px 1fr;gap:44px;align-items:start}
.filters{position:sticky;top:110px}
.fgroup{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:20px 22px;margin-bottom:16px}
.fgroup h6{font-size:10.5px;letter-spacing:2.4px;text-transform:uppercase;color:var(--ink);margin-bottom:14px;font-weight:700}
.fgroup li{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:7px 0;font-size:13.5px;border-bottom:1px solid var(--line);cursor:pointer}
.fgroup li:last-child{border-bottom:0}
.fgroup li:hover{color:var(--terra)}
.fgroup li.on{color:var(--terra);font-weight:700}
.fgroup li .c{font-size:11px;color:var(--ink-mute);background:var(--surface-2);border-radius:999px;padding:1px 9px}
.pricerow{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.pricerow input{width:100%;padding:9px 11px;border:1px solid var(--line-strong);border-radius:4px;font-family:var(--sans);font-size:13px;background:var(--surface)}
.apply{width:100%;padding:11px;background:var(--ink);color:var(--paper);border:0;border-radius:var(--radius);font-size:12.5px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;cursor:pointer;font-family:var(--sans)}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:13px 20px;margin-bottom:26px;flex-wrap:wrap}
.toolbar .cnt{font-size:13px;color:var(--ink-soft)}
.toolbar select{padding:9px 14px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface);font-family:var(--sans);font-size:13px;color:var(--ink)}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.chip{border:1px solid var(--line-strong);border-radius:999px;padding:6px 15px;font-size:12.5px;background:var(--surface);cursor:pointer}
.chip.on{background:var(--teal);border-color:var(--teal);color:#fff;font-weight:600}

/* ---------- PDP ---------- */
.pdp{max-width:var(--max);margin:0 auto;padding:34px 32px 90px}
.pdp-in{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:start}
.gal .main{height:520px;border-radius:var(--radius);border:1px solid var(--line)}
.gal .thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.gal .thumbs .ph{height:112px;border-radius:4px;border:1px solid var(--line)}
.pdp h1{font-family:var(--serif);font-size:40px;font-weight:600;line-height:1.1;margin:10px 0 12px}
.pdp .sku{font-size:11.5px;letter-spacing:2px;text-transform:uppercase;color:var(--ink-mute)}
.pdp .price{font-family:var(--serif);font-size:32px;font-weight:700;margin:18px 0 6px}
.pdp .price span{font-family:var(--sans);font-size:13px;font-weight:500;color:var(--ink-mute);letter-spacing:0}
.pdp .desc{font-size:14.5px;color:var(--ink-soft);margin:16px 0 26px}
.opt{margin-bottom:22px}
.opt .lb{font-size:10.5px;letter-spacing:2.4px;text-transform:uppercase;color:var(--ink);font-weight:700;margin-bottom:10px}
.opt .row{display:flex;gap:10px;flex-wrap:wrap}
.opt .sw{border:1.5px solid var(--line-strong);border-radius:var(--radius);padding:10px 18px;font-size:13.5px;cursor:pointer;background:var(--surface)}
.opt .sw.on{border-color:var(--ink);font-weight:700;box-shadow:inset 0 0 0 1px var(--ink)}
.qty{display:flex;align-items:center;gap:0;border:1.5px solid var(--line-strong);border-radius:var(--radius);overflow:hidden;width:132px}
.qty button{width:40px;height:46px;border:0;background:var(--surface-2);font-size:17px;cursor:pointer;color:var(--ink)}
.qty .v{flex:1;text-align:center;font-weight:700}
.buyrow{display:flex;gap:12px;margin:26px 0 20px;flex-wrap:wrap}
.buyrow .btn{flex:1;justify-content:center;min-width:200px}
.assure{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}
.assure div{font-size:12.5px;color:var(--ink-soft)}
.assure b{display:block;color:var(--ink);font-size:12.5px;margin-bottom:3px}

/* ---------- placeholder art ---------- */
.ph{background:linear-gradient(145deg,#EDE3D2 0%,#DFD2BC 55%,#CDBEA5 100%);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.ph::after{content:attr(data-l);position:relative;z-index:2;font-size:10px;letter-spacing:2.6px;text-transform:uppercase;color:#8A7B66;font-weight:700;text-align:center;padding:0 14px}
.ph::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 32% 26%,rgba(255,255,255,.55),transparent 58%)}
.ph.d{background:linear-gradient(145deg,#2F4A44 0%,#1E3A35 60%,#143029 100%)}
.ph.d::after{color:#9FB8B0}
.ph.t{background:linear-gradient(145deg,#E9C7A9 0%,#D9A277 60%,#C05621 100%)}
.ph.t::after{color:#5A2A10}
.ph.k{background:linear-gradient(145deg,#3B2A1D 0%,#2A1C12 60%,#1B1109 100%)}
.ph.k::after{color:#9A8875}

/* ---------- ABOUT ---------- */
.pghead{background:var(--surface-2);border-bottom:1px solid var(--line);padding:54px 0 44px}
.pghead h1{font-family:var(--serif);font-size:54px;font-weight:600;line-height:1.06;margin:14px 0 16px;max-width:840px}
.pghead p{color:var(--ink-soft);font-size:16px;max-width:600px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:52px}
.split h3{font-family:var(--serif);font-size:26px;font-weight:600;margin-bottom:14px}
.split p{color:var(--ink-soft);font-size:14.8px;margin-bottom:14px}
.statband{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:56px;padding-top:34px;border-top:1px solid var(--line)}
.statband div b{display:block;font-family:var(--serif);font-size:38px;font-weight:600;line-height:1}
.statband div span{font-size:10.5px;letter-spacing:2.2px;text-transform:uppercase;color:var(--ink-mute)}
.tl{border-top:1px solid var(--line-strong);margin-top:12px}
.tlrow{display:grid;grid-template-columns:120px 1fr;gap:28px;padding:24px 6px;border-bottom:1px solid var(--line);align-items:baseline}
.tlrow .yr{font-family:var(--serif);font-size:26px;font-weight:600;color:var(--terra)}
.tlrow h5{font-family:var(--serif);font-size:19px;font-weight:600;margin-bottom:5px}
.tlrow p{font-size:14px;color:var(--ink-soft)}
.ctaband{background:var(--teal);color:#DCE7E3;text-align:center;padding:76px 0}
.ctaband h3{font-family:var(--serif);font-size:36px;font-weight:600;color:#fff;margin:12px 0 14px}
.ctaband p{max-width:520px;margin:0 auto 26px;font-size:14.5px}

/* ---------- CONTACT ---------- */
.cgrid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:start}
.formcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:34px 34px 38px}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{margin-bottom:18px}
.field label{display:block;font-size:10.5px;letter-spacing:2.2px;text-transform:uppercase;color:var(--ink);font-weight:700;margin-bottom:8px}
.field input,.field textarea,.field select{width:100%;padding:13px 15px;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);font-family:var(--sans);font-size:14px;color:var(--ink);outline:none}
.field textarea{min-height:132px;resize:vertical;line-height:1.6}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-soft)}
.infocard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:30px 30px 34px;margin-bottom:18px}
.infocard h6{font-size:10.5px;letter-spacing:2.4px;text-transform:uppercase;color:var(--ink);font-weight:700;margin-bottom:16px}
.infocard dl{display:grid;grid-template-columns:96px 1fr;gap:12px 14px;font-size:14px}
.infocard dt{color:var(--ink-mute);font-size:11.5px;letter-spacing:1.2px;text-transform:uppercase;padding-top:2px}
.infocard dd{color:var(--ink)}
.infocard dd a{color:var(--terra);font-weight:600}
.infocard dd a:hover{text-decoration:underline}
.map{height:210px;border-radius:var(--radius);border:1px solid var(--line);margin-top:4px}
.faq{border-top:1px solid var(--line-strong);margin-top:14px}
.faqrow{display:grid;grid-template-columns:32px 1fr;gap:16px;padding:20px 4px;border-bottom:1px solid var(--line);align-items:start}
.faqrow .q{font-family:var(--serif);font-size:20px;color:var(--terra);font-weight:600;line-height:1.2}
.faqrow .a{font-size:14px;color:var(--ink-soft)}
.faqrow .a b{display:block;font-family:var(--sans);font-size:15px;color:var(--ink);font-weight:700;margin-bottom:5px}
.note{background:var(--terra-soft);border:1px solid var(--line-strong);border-radius:var(--radius);padding:16px 20px;font-size:13.5px;color:var(--ink);margin-top:22px}

@media(max-width:1080px){
  .hero-in,.pdp-in{grid-template-columns:1fr;gap:36px}
  .hero-art .ph{height:380px}
  .fgrid{grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .fcard.a{grid-row:auto;grid-column:span 2}
  .shoplay{grid-template-columns:1fr}
  .filters{position:static}
  .ftr-in{grid-template-columns:1fr 1fr}
  .pgrid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .hdr-in{grid-template-columns:1fr;gap:12px;text-align:center}
  .hdr nav,.hdr .right{justify-content:center}
  .hero h1{font-size:38px}
  .pgrid,.trio,.fgrid,.ftr-in{grid-template-columns:1fr}
  .fcard.a{grid-column:auto}
  .hero-stats{gap:20px}
}


/* ============================================================
   PART 2 — WORDPRESS / WOOCOMMERCE COMPATIBILITY LAYER
   WP core, Woo pages and the theme's own dynamic blocks dressed
   in the exact design system above.
   ============================================================ */

/* ---------- pagination (Woo default CSS is disabled — zero the bullets) ---------- */
.woocommerce nav.woocommerce-pagination ul{list-style:none;padding-left:0}
.woocommerce nav.woocommerce-pagination ul li{list-style:none}
.nav-links{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;list-style:none;margin:34px 0 0;padding:0}
.nav-links .page-numbers{display:inline-block;border:1px solid var(--line-strong);border-radius:999px;padding:8px 16px;font-size:13px;background:var(--surface);color:var(--ink);line-height:1.5}
.nav-links span.page-numbers.current{background:var(--teal);border-color:var(--teal);color:#fff;font-weight:700}
.nav-links a.page-numbers:hover{border-color:var(--terra);color:var(--terra)}
.nav-links .dots{border:0;background:none}

/* ---------- Elementor compat ---------- */
/* Elementor sections manage their own spacing; the design-system
   section padding must only apply to <section> tags inside our HTML
   widgets, never to Elementor's own structural <section> wrappers. */
section.elementor-section{padding:0}

/* ---------- WP core ---------- */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link{position:absolute;left:-9999px;top:0;z-index:100000;background:var(--ink);color:var(--paper);padding:10px 18px;border-radius:0 0 var(--radius) 0}
.skip-link:focus{left:0}
.alignleft{float:left;margin:6px 28px 18px 0}
.alignright{float:right;margin:6px 0 18px 28px}
.aligncenter{margin-left:auto;margin-right:auto}
.wp-caption-text,.wp-element-caption,figcaption{font-size:12px;color:var(--ink-mute);text-align:center;padding-top:6px}
body{overflow-wrap:break-word}
::selection{background:var(--terra);color:#fff}
.wp-block-button__link{background:var(--terra)!important;border-radius:var(--radius)!important;font-weight:700}
.wp-block-search__button{background:var(--ink);color:var(--paper);border:0;border-radius:var(--radius);padding:12px 20px;font-weight:700;cursor:pointer}

/* ---------- header nav menu (WP real menus output <li> items) ---------- */
.hdr nav ul{display:flex;gap:26px;align-items:center;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.hdr nav li{list-style:none}
.hdr .right ul{display:flex;gap:22px;justify-content:flex-end;align-items:center;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.hdr .right li{list-style:none}

/* ---------- theme helpers ---------- */
.shm-ok{background:var(--teal-soft);border:1px solid var(--line);border-radius:var(--radius);padding:16px 20px;color:var(--teal);font-weight:600;margin-bottom:18px}
.shm-err{background:var(--terra-soft);border:1px solid var(--line-strong);border-radius:var(--radius);padding:16px 20px;color:#A8471A;font-weight:600;margin-bottom:18px}
.cartpill.is-empty{display:none}
.shmovew-homepage-notice{margin-top:40px}

/* ---------- wordmark logo ---------- */
.wm .custom-logo-link{display:inline-block;line-height:0}
.wm .custom-logo-link img{display:block;margin:0 auto;width:auto}

/* ---------- blog / plain page entry ---------- */
.shm-entry{padding:56px 32px 90px;max-width:860px}
.shm-entry h1{font-family:var(--serif);font-size:40px;font-weight:600;line-height:1.15;margin:10px 0 20px}
.shm-entry h2,.shm-entry h3,.shm-entry h4{font-family:var(--serif);font-weight:600;margin:28px 0 10px;color:var(--ink)}
.shm-entry h2{font-size:26px}
.shm-entry h3{font-size:21px}
.shm-entry p{margin:0 0 14px;color:var(--ink-soft);font-size:15px}
.shm-entry a{color:var(--terra)}
.shm-entry ul,.shm-entry ol{margin:0 0 14px 22px;color:var(--ink-soft)}
.shm-entry img{border-radius:var(--radius)}
.shm-entry blockquote{border-left:3px solid var(--terra);padding:4px 0 4px 18px;color:var(--ink-soft);margin:0 0 14px;font-style:italic}

/* ---------- WooCommerce: kill Woo default CSS in functions.php,
   everything below is the full Woo skin in design-system style ---------- */
.woocommerce-page section,
.woocommerce-page div.shm-shop-body{padding:0}

/* products grid = design .pgrid / .pcard */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,1fr);gap:30px 24px;list-style:none;margin:0 0 10px;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{float:none;width:auto;margin:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;position:relative;display:flex;flex-direction:column;transition:.18s}
.woocommerce ul.products li.product:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px);border-color:var(--line-strong)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block}
.woocommerce ul.products li.product img{width:100%;height:280px;object-fit:cover;margin:0;display:block;background:var(--surface-2)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--serif);font-size:18px;font-weight:600;margin:0;padding:16px 20px 4px;color:var(--ink)}
.woocommerce ul.products li.product .woocommerce-loop-product__title:hover{color:var(--terra)}
.woocommerce ul.products li.product .price{padding:0 20px;color:var(--ink);font-family:var(--serif);font-size:19px;font-weight:700}
.woocommerce ul.products li.product .price del{font-family:var(--sans);font-size:12.5px;color:var(--ink-mute);font-weight:400}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .star-rating{margin:6px 20px 0;font-size:11px;color:var(--terra)}
.woocommerce ul.products li.product .button{margin:14px 20px 20px;background:var(--terra);color:#fff!important;border:0;border-radius:4px;font-weight:700;font-size:12px;letter-spacing:1.4px;text-transform:uppercase;padding:12px 10px;text-align:center;transition:.16s;font-family:var(--sans)}
.woocommerce ul.products li.product .button:hover{background:#A8471A}
.woocommerce ul.products li.product .button.loading::after{display:none}
.woocommerce ul.products li.product-category{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px}
.woocommerce ul.products li.product-category h2 mark{background:none;color:var(--ink-mute);font-size:12px}
.woocommerce span.onsale{position:absolute;top:14px;left:14px;z-index:3;min-width:0;min-height:0;background:var(--teal);color:#fff;font-size:9.5px;font-weight:700;letter-spacing:2px;text-transform:uppercase;padding:5px 11px;border-radius:3px;line-height:1.4;margin:0}

/* shop head + pagination */
.shm-shophead{background:var(--surface-2);border-bottom:1px solid var(--line);padding:44px 0 34px}
.shm-shophead .crumb{margin-bottom:14px}
.shm-shophead h1{font-family:var(--serif);font-size:46px;font-weight:600;margin:0}
.shm-shophead p{color:var(--ink-soft);margin:10px 0 0;max-width:560px;font-size:14.5px}
.shm-shop-body{max-width:var(--max);margin:0 auto;padding:38px 32px 90px}
.woocommerce nav.woocommerce-pagination{margin-top:34px}
.woocommerce nav.woocommerce-pagination ul{display:flex;gap:8px;justify-content:center;border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;float:none;overflow:visible}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border:1px solid var(--line-strong);border-radius:999px;padding:8px 16px;font-size:13px;background:var(--surface);color:var(--ink);min-width:0;line-height:1.5}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--teal);border-color:var(--teal);color:#fff;font-weight:700}
.woocommerce nav.woocommerce-pagination ul li a:hover{border-color:var(--terra);color:var(--terra)}

/* result count / ordering */
.woocommerce .woocommerce-result-count{font-size:13px;color:var(--ink-soft);margin:0 0 16px}
.woocommerce .woocommerce-ordering{margin-bottom:16px}
.woocommerce .woocommerce-ordering select{padding:9px 14px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface);font-family:var(--sans);font-size:13px;color:var(--ink)}

/* single product */
.woocommerce div.product{display:flow-root;margin-top:10px}
.woocommerce div.product div.images{float:left;width:47%;margin-bottom:36px}
.woocommerce div.product div.images img{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2)}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.woocommerce div.product div.images .flex-control-thumbs li{float:none;width:auto}
.woocommerce div.product div.images .flex-control-thumbs img{height:112px;object-fit:cover;border-radius:4px;border:1px solid var(--line);opacity:1}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active{border-color:var(--terra);box-shadow:0 0 0 2px var(--terra-soft)}
.woocommerce div.product div.summary{float:right;width:49%;margin-bottom:36px}
.woocommerce div.product .product_title{font-family:var(--serif);font-size:40px;font-weight:600;line-height:1.1;margin:6px 0 12px}
.woocommerce div.product .product_meta{font-size:11.5px;letter-spacing:1.2px;text-transform:uppercase;color:var(--ink-mute);margin:0 0 10px}
.woocommerce div.product .product_meta a{color:var(--teal)}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-family:var(--serif);font-size:32px;font-weight:700;color:var(--ink);margin:14px 0 4px}
.woocommerce div.product p.price del,.woocommerce div.product p.price ins{font-family:var(--sans);font-size:14px;font-weight:500;color:var(--ink-mute)}
.woocommerce div.product p.price ins{text-decoration:none;color:var(--ink)}
.woocommerce div.product div.woocommerce-product-details__short-description{font-size:14.5px;color:var(--ink-soft);margin:14px 0 20px}
.woocommerce div.product form.cart{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:22px 0 18px;padding:0}
.woocommerce div.product form.cart.variations_form{display:block}
.woocommerce div.product form.cart .button{background:var(--terra);color:#fff;border:0;border-radius:var(--radius);padding:14px 30px;font-size:13.5px;font-weight:700;letter-spacing:.6px;font-family:var(--sans);cursor:pointer;transition:.16s;flex:1;min-width:210px;text-align:center}
.woocommerce div.product form.cart .button:hover{background:#A8471A}
.woocommerce div.product form.cart .button:disabled{opacity:.5;cursor:not-allowed}
.woocommerce div.product form.cart .reset_variations{font-size:12.5px;color:var(--ink-mute)}
.woocommerce div.product .quantity .qty{border:0;padding:0;text-align:center;font-weight:700;font-size:15px;height:44px;width:52px;background:var(--surface);-moz-appearance:textfield}
.woocommerce div.product .quantity input::-webkit-outer-spin-button,.woocommerce div.product .quantity input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.woocommerce-variation-price{margin-bottom:14px}
.woocommerce-variation-availability{font-size:13px;color:var(--ink-soft)}
.woocommerce-variation-price .price{font-family:var(--serif);font-size:24px;font-weight:700}

/* attribute pills + qty stepper injected by theme.js */
.shmovew-qty{display:inline-flex;align-items:stretch;border:1.5px solid var(--line-strong);border-radius:var(--radius);overflow:hidden;height:48px;background:var(--surface)}
.shmovew-qty button{width:40px;border:0;background:var(--surface-2);font-size:17px;cursor:pointer;color:var(--ink);line-height:1}
.shmovew-qty button:hover{background:var(--line)}
.sw.disabled{opacity:.35;cursor:not-allowed;text-decoration:line-through}
.woocommerce table.variations{border-collapse:collapse;margin:0 0 8px}
.woocommerce table.variations tr,.woocommerce table.variations th,.woocommerce table.variations td{border:0;padding:0 0 16px;display:block;background:none}
.woocommerce table.variations td.label{padding:0 0 8px}
.woocommerce table.variations td.label label{font-size:10.5px;letter-spacing:2.4px;text-transform:uppercase;color:var(--ink);font-weight:700;margin:0}
.woocommerce table.variations select{padding:10px 14px;border:1.5px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);font-family:var(--sans);font-size:13.5px;color:var(--ink)}

/* tabs */
.woocommerce div.product .woocommerce-tabs{clear:both;padding-top:26px}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:6px;flex-wrap:wrap;list-style:none;margin:0 0 0;padding:0 0 0;border-bottom:1px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none;border:0;border-radius:0;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:12px 18px;font-size:13px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:var(--ink-soft);border-bottom:2px solid transparent}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink);border-bottom-color:var(--terra)}
.woocommerce div.product .woocommerce-Tabs-panel{padding:24px 0 0;font-size:14.5px;color:var(--ink-soft)}
.woocommerce div.product .woocommerce-Tabs-panel h2:first-child{font-family:var(--serif);font-size:24px;color:var(--ink);margin-bottom:12px}

/* related / upsells */
.woocommerce .related.products,.woocommerce .upsells.products,.woocommerce .cross-sells{clear:both;padding-top:44px}
.woocommerce .related.products>h2,.woocommerce .upsells.products>h2,.woocommerce .cross-sells>h2{font-family:var(--serif);font-size:28px;font-weight:600;margin:0 0 24px}

/* global Woo buttons (cart / checkout / account) */
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--ink);color:var(--paper);border:0;border-radius:var(--radius);padding:12px 24px;font-size:12.5px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;font-family:var(--sans);cursor:pointer;transition:.16s;line-height:1.5}
.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--terra);color:#fff}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce .wc-forward:hover{background:var(--terra)}
.woocommerce .woocommerce-message .button,.woocommerce .woocommerce-info .button,.woocommerce .woocommerce-error .button{float:right;background:none;color:inherit;text-decoration:underline;letter-spacing:0;padding:0;text-transform:none}
.woocommerce button.button:disabled,.woocommerce button.button.disabled{opacity:.5;cursor:not-allowed}

/* notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:var(--teal-soft);border:1px solid var(--line);border-top-width:0;border-left:4px solid var(--teal);color:var(--ink);list-style:none;padding:16px 20px;margin:0 0 22px;font-size:14px;border-radius:0 var(--radius) var(--radius) 0}
.woocommerce-info{background:var(--teal-soft)}
.woocommerce-error{background:var(--terra-soft);border-left-color:var(--terra)}
.woocommerce-error li{margin:2px 0}

/* cart / checkout tables + forms */
.woocommerce table.shop_table{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);border-collapse:separate;border-spacing:0;margin:0 0 26px}
.woocommerce table.shop_table th{font-size:10.5px;letter-spacing:2.4px;text-transform:uppercase;color:var(--ink);font-weight:700;text-align:left;padding:14px 16px;border-bottom:1px solid var(--line-strong)}
.woocommerce table.shop_table td{padding:14px 16px;border-bottom:1px solid var(--line);font-size:14px}
.woocommerce table.shop_table img{width:64px;height:auto;border:1px solid var(--line);border-radius:4px}
.woocommerce table.shop_table .quantity .qty{border:1px solid var(--line-strong);border-radius:4px;width:64px;height:38px;text-align:center}
.woocommerce a.remove{color:var(--terra)!important;font-weight:700}
.woocommerce a.remove:hover{background:var(--terra);color:#fff!important}
.cart_totals h2,.woocommerce-billing-fields h3,.woocommerce-additional-fields h3,#order_review_heading,.woocommerce-account .woocommerce h2{font-family:var(--serif);font-size:24px;font-weight:600;margin:0 0 16px}
.woocommerce form .form-row{padding:0;margin-bottom:16px}
.woocommerce form .form-row label{display:block;font-size:10.5px;letter-spacing:2.2px;text-transform:uppercase;color:var(--ink);font-weight:700;margin-bottom:8px}
.woocommerce form .form-row label .required{color:var(--terra);text-decoration:none}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce form .form-row .select2-container .select2-selection--single{width:100%;padding:12px 15px;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);font-family:var(--sans);font-size:14px;color:var(--ink);height:auto;line-height:1.5;outline:none}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-soft)}
.select2-container--default .select2-selection--single{border:1px solid var(--line-strong)!important;border-radius:var(--radius)!important;height:46px!important;background:var(--surface)}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:44px!important;padding-left:14px!important;color:var(--ink)}
.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:var(--ink-mute) transparent transparent transparent!important}
.select2-dropdown{border:1px solid var(--line-strong)!important;border-radius:var(--radius)!important}
#add_payment_method #payment,.woocommerce-cart #payment,.woocommerce-checkout #payment{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius);padding:22px}
#add_payment_method #payment div.payment_box,.woocommerce-cart #payment div.payment_box,.woocommerce-checkout #payment div.payment_box{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;font-size:13.5px}
#add_payment_method #payment div.payment_box::before,.woocommerce-checkout #payment div.payment_box::before{display:none}

/* my account */
.woocommerce-account .woocommerce-MyAccount-navigation{float:left;width:26%}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:11px 15px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin-bottom:8px;font-size:13.5px;font-weight:600;color:var(--ink)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{border-color:var(--teal);color:var(--teal)}
.woocommerce-account .woocommerce-MyAccount-content{float:right;width:70%}
.woocommerce-account .woocommerce::after{content:"";display:table;clear:both}
.woocommerce-account .woocommerce h2,.woocommerce-account .woocommerce h3{font-family:var(--serif);font-size:24px;font-weight:600}

/* reviews */
.woocommerce #reviews #comments ol.commentlist li{border-bottom:1px solid var(--line);padding:18px 0;list-style:none}
.woocommerce #reviews #comments ol.commentlist li img.avatar{background:var(--surface-2);border:1px solid var(--line);border-radius:50%;padding:0}
.woocommerce #reviews .comment-text .meta{color:var(--ink-mute);font-size:12.5px}
.woocommerce p.stars a{color:var(--terra)}
.woocommerce .star-rating::before{color:var(--line-strong)}
.woocommerce .star-rating span{color:var(--terra)}

/* store notice + password etc */
.woocommerce-store-notice{background:var(--teal);color:#fff;text-align:center;padding:12px;position:fixed;bottom:0;width:100%;z-index:99;font-size:13px}

/* responsive tweaks for the compat layer */
@media(max-width:1080px){
  .woocommerce ul.products{grid-template-columns:1fr 1fr}
  .woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%}
  .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%}
}
@media(max-width:680px){
  .woocommerce ul.products{grid-template-columns:1fr}
  .shm-shophead h1{font-size:34px}
  .shm-shop-body{padding:26px 20px 60px}
  .woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:10px 12px}
}
