/* Jhok base: tokens, typography, buttons, header, footer, content pages. */

:root{
  --bg:#F7F1E7; --surface:#FFFCF6; --ink:#3A2418; --ink-deep:#17130F;
  --accent:#C9902E; --accent-lift:#DDA845; --on-accent:#17130F;
  --green:#65705A; --muted:#7A6555; --line:#E4D8C6; --line-deep:#2C1C12;
  --on-dark:#F7F1E7; --on-dark-muted:#BBA893;
  --shadow:0 18px 40px -24px rgba(58,36,24,.38);
  --display:"DM Serif Display",Georgia,"Times New Roman",serif;
  --body:"Manrope","Helvetica Neue",Arial,sans-serif;
  --xs:8px; --sm:16px; --md:32px; --lg:64px; --xl:112px;
  --r-sm:6px; --r-md:10px; --r-lg:18px;
  --wrap:1240px; --hdr:76px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

body.jhok{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.65;font-weight:400;-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.jhok :where(h1,h2,h3,h4,.jhok-display){font-family:var(--display);font-weight:400;color:var(--ink);margin:0;text-wrap:balance;letter-spacing:-.005em}
body.jhok :where(h1){font-size:clamp(38px,5.4vw,68px);line-height:1.04;letter-spacing:-.018em}
body.jhok :where(h2){font-size:clamp(28px,3.6vw,44px);line-height:1.1}
body.jhok :where(h3){font-size:clamp(20px,2vw,26px);line-height:1.2}
body.jhok :where(p,li){max-width:68ch}
body.jhok a{color:inherit;text-underline-offset:3px;text-decoration-thickness:1px}
body.jhok img{max-width:100%;height:auto;display:block}
body.jhok :focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}
.jhok-wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:20px;width:100%}
.jhok-num{font-family:var(--body);font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.01em}
.jhok-muted{color:var(--muted)}
.jhok-eyebrow{font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0 0 12px}
.jhok-lead{font-size:clamp(17px,1.6vw,20px);color:var(--muted);max-width:60ch}
.jhok-i{flex:none;vertical-align:middle}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.jhok-skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:var(--on-dark);padding:12px 18px;z-index:999}
.jhok-skip:focus{left:12px;top:12px}

.jhok-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:var(--body);font-weight:600;font-size:14px;letter-spacing:.02em;line-height:1;padding:15px 26px;min-height:48px;border-radius:var(--r-sm);border:1px solid var(--ink);background:var(--ink);color:var(--bg);text-decoration:none;cursor:pointer;transition:transform .22s var(--ease),background .22s var(--ease),border-color .22s var(--ease),color .22s var(--ease)}
.jhok-btn:hover{background:var(--ink-deep);border-color:var(--ink-deep);color:var(--bg);transform:translateY(-1px)}
.jhok-btn--ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.jhok-btn--ghost:hover{background:transparent;color:var(--ink-deep);border-color:var(--ink-deep)}
.jhok-btn--gold{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.jhok-btn--gold:hover{background:var(--accent-lift);border-color:var(--accent-lift);color:var(--on-accent)}
.jhok-btn--sm{padding:11px 18px;min-height:40px;font-size:13px}
.on-dark .jhok-btn--ghost{color:var(--on-dark);border-color:rgba(247,241,231,.42)}
.on-dark .jhok-btn--ghost:hover{color:var(--bg);border-color:var(--on-dark)}
.jhok-textlink{font-weight:600;font-size:14px;letter-spacing:.02em;text-decoration:none;display:inline-flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding-bottom:4px;transition:border-color .22s var(--ease),gap .22s var(--ease)}
.jhok-textlink:hover{border-color:var(--ink);gap:12px}

.jhok-hdr{position:sticky;top:0;z-index:60;background:rgba(247,241,231,.88);backdrop-filter:saturate(1.3) blur(12px);-webkit-backdrop-filter:saturate(1.3) blur(12px);border-bottom:1px solid transparent;transition:border-color .3s var(--ease),background .3s var(--ease)}
body.admin-bar .jhok-hdr{top:32px}
.jhok-hdr.is-stuck{border-bottom-color:var(--line);background:rgba(247,241,231,.96)}
.jhok-hdr__in{max-width:var(--wrap);margin-inline:auto;padding:0 20px;height:var(--hdr);display:flex;align-items:center;gap:22px;transition:height .3s var(--ease)}
.jhok-hdr.is-stuck .jhok-hdr__in{height:62px}
.jhok-brand{text-decoration:none;display:flex;flex-direction:column;gap:2px;margin-right:auto}
.jhok-brand__name{font-family:var(--display);font-size:26px;line-height:1;letter-spacing:.08em;color:var(--ink)}
.jhok-brand__tag{font-size:9px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.jhok-nav ul{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.jhok-nav li{max-width:none}
.jhok-nav a{font-size:14px;font-weight:500;text-decoration:none;color:var(--ink);white-space:nowrap;padding-block:6px;border-bottom:1px solid transparent;transition:border-color .22s var(--ease),color .22s var(--ease)}
.jhok-nav a:hover{border-bottom-color:var(--accent)}
.jhok-hdr__acts{display:flex;align-items:center;gap:4px;margin-left:8px}
.jhok-iconbtn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:0;background:transparent;color:var(--ink);border-radius:var(--r-sm);cursor:pointer;text-decoration:none;position:relative;transition:background .22s var(--ease)}
.jhok-iconbtn:hover{background:rgba(58,36,24,.07)}
.jhok-hdr__burger{display:none;margin-left:-10px}
.jhok-cartcount{position:absolute;top:5px;right:4px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--accent);color:var(--on-accent);font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums}
.jhok-cartcount.is-empty{display:none}
.jhok-searchwrap{border-top:1px solid var(--line);background:var(--surface)}
.jhok-searchwrap form{max-width:var(--wrap);margin-inline:auto;padding:16px 20px;display:flex;gap:10px}
.jhok-searchwrap input{flex:1;min-width:0;border:1px solid var(--line);background:var(--bg);border-radius:var(--r-sm);padding:13px 16px;font:inherit;font-size:16px;color:var(--ink)}
.jhok-searchwrap input::placeholder{color:var(--muted)}

.jhok-drawer{position:fixed;inset:0 0 0 auto;width:min(88vw,380px);background:var(--bg);z-index:80;padding:18px 22px 40px;overflow-y:auto;border-left:1px solid var(--line);transform:translateX(100%);transition:transform .32s var(--ease)}
.jhok-drawer.is-open{transform:translateX(0)}
.jhok-drawer__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.jhok-drawer nav ul{list-style:none;margin:0;padding:0}
.jhok-drawer nav li{max-width:none;border-bottom:1px solid var(--line)}
.jhok-drawer nav a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 2px;font-family:var(--display);font-size:22px;text-decoration:none;color:var(--ink)}
.jhok-drawer nav a .jhok-i{color:var(--accent)}
.jhok-drawer__note{margin-top:26px;font-size:13.5px;color:var(--muted)}
.jhok-scrim{position:fixed;inset:0;background:rgba(23,19,15,.45);z-index:70;opacity:0;transition:opacity .3s var(--ease)}
.jhok-scrim.is-open{opacity:1}
body.jhok-locked{overflow:hidden}

.jhok-bottombar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:55;background:rgba(247,241,231,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom))}
.jhok-bottombar a,.jhok-bottombar button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 4px;border:0;background:transparent;color:var(--ink);font:inherit;font-size:10.5px;font-weight:600;letter-spacing:.04em;text-decoration:none;cursor:pointer;position:relative}
.jhok-bottombar .jhok-cartcount{top:2px;right:calc(50% - 20px)}

.jhok-foot{background:var(--ink-deep);color:var(--on-dark-muted);padding-block:var(--lg) var(--md);font-size:14.5px}
.jhok-foot a{color:var(--on-dark-muted);text-decoration:none;transition:color .22s var(--ease)}
.jhok-foot a:hover{color:var(--accent-lift)}
.jhok-foot__grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:36px}
.jhok-foot__brand .jhok-brand__name{color:var(--on-dark);display:block;margin-bottom:14px}
.jhok-foot__brand p{max-width:34ch;margin:0 0 14px}
.jhok-foot__pay{display:flex;align-items:center;gap:9px;color:var(--on-dark);font-weight:600;font-size:13.5px}
.jhok-foot__pay span{color:var(--on-dark-muted)}
.jhok-foot__col h2{font-family:var(--body);font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0 0 14px}
.jhok-foot__col ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.jhok-foot__col li{max-width:none}
.jhok-foot__legal{margin-top:var(--md);padding-top:20px;border-top:1px solid var(--line-deep);display:flex;flex-wrap:wrap;gap:8px 28px;font-size:12.5px}
.jhok-foot__credit a{text-decoration:underline}
body.jhok .site-primary-footer-wrap,body.jhok .site-above-footer-wrap,body.jhok .site-below-footer-wrap,body.jhok .ast-small-footer{display:none!important}
body.jhok .site-footer{background:var(--ink-deep);border:0}

/* Astra sets .site-content .ast-container to display:flex for its sidebar
   layout, which turns every coded section into a row item. Coded templates
   own the full canvas, so it goes back to block flow. */
body.jhok-canvas #content .ast-container,
body.jhok-canvas .site-content .ast-container{display:block;max-width:none;width:100%;padding:0;margin:0;flex-direction:unset}
body.jhok-canvas #content{padding:0}
body.jhok-canvas .entry-content>*{max-width:none}
body.jhok #content{background:var(--bg)}

body.jhok:not(.jhok-canvas) .site-content .ast-container{max-width:860px;padding-block:var(--lg)}
body.jhok .entry-title{font-size:clamp(32px,4.4vw,52px);margin-bottom:var(--sm)}
body.jhok .entry-content h2{font-size:clamp(24px,2.8vw,32px);margin:var(--md) 0 12px}
body.jhok .entry-content h3{font-size:21px;margin:28px 0 8px}
body.jhok .entry-content p,body.jhok .entry-content li{font-size:17px}
body.jhok .entry-content ul,body.jhok .entry-content ol{padding-left:20px;margin-block:14px}
body.jhok .entry-content li{margin-bottom:8px}
body.jhok .entry-content .jhok-lead{margin-bottom:var(--sm)}
body.jhok .entry-content table{border-collapse:collapse;width:100%;font-size:15px}
body.jhok .entry-content th,body.jhok .entry-content td{border:1px solid var(--line);padding:11px 14px;text-align:left}
body.jhok .entry-content th{background:var(--surface);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600}
body.jhok .entry-content a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--accent)}

.jhok-reveal{opacity:1}
html.jhok-js .jhok-reveal{opacity:0;transform:translateY(18px);transition:opacity .55s var(--ease),transform .55s var(--ease)}
html.jhok-js .jhok-reveal.is-in{opacity:1;transform:none}

@media (max-width:1080px){
  .jhok-nav ul{gap:16px}
  .jhok-nav a{font-size:13.5px}
  .jhok-foot__grid{grid-template-columns:1fr 1fr 1fr}
}
@media (max-width:900px){
  .jhok-nav{display:none}
  .jhok-hdr__burger{display:inline-flex}
  :root{--hdr:64px}
  .jhok-bottombar{display:flex}
  body.jhok{padding-bottom:64px}
}
@media (max-width:680px){
  body.jhok{font-size:16px}
  .jhok-foot__grid{grid-template-columns:1fr 1fr;gap:28px}
  .jhok-foot__brand{grid-column:1/-1}
  .jhok-hide-sm{display:none}
  body.jhok:not(.jhok-canvas) .site-content .ast-container{padding-block:var(--md)}
}
@media (max-width:400px){
  .jhok-wrap{padding-inline:16px}
  .jhok-hdr__in{padding-inline:16px;gap:8px}
  .jhok-brand__name{font-size:22px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
  html.jhok-js .jhok-reveal{opacity:1;transform:none}
  .jhok-drawer{transition:none}
}

/* single article */
body.jhok.single-post .site-content .ast-container{max-width:760px}
body.jhok.single-post .post-thumb-img-content img,body.jhok.single-post .wp-post-image{border-radius:var(--r-md);margin-bottom:var(--md)}
body.jhok .entry-meta,body.jhok .ast-blog-meta-container{font-size:12.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
body.jhok .entry-meta a{color:var(--muted);text-decoration:none}
body.jhok.single-post .entry-content>p:first-of-type{font-size:19px;color:var(--muted)}

/* Astra colours every anchor, so the button label needs to win on specificity. */
body.jhok a.jhok-btn,body.jhok button.jhok-btn{color:var(--bg)}
body.jhok a.jhok-btn:hover{color:var(--bg)}
body.jhok a.jhok-btn--ghost,body.jhok button.jhok-btn--ghost{color:var(--ink)}
body.jhok a.jhok-btn--ghost:hover{color:var(--ink-deep)}
body.jhok a.jhok-btn--gold,body.jhok button.jhok-btn--gold{color:var(--on-accent)}
body.jhok .on-dark a.jhok-btn--ghost{color:var(--on-dark)}

/* Jhok draws its own offer badge on the image; hide the theme's duplicate. */
body.jhok ul.products li.product > .onsale,body.jhok ul.products li.product .jhok-pcard__body > .onsale{display:none!important}

/* Astra colours every heading element. Rules written with :where() carry no
   specificity, so headings on the dark grounds have to be stated plainly or
   they fall back to the dark brown and vanish into the background. */
body.jhok .jhok-batchblock h1,body.jhok .jhok-batchblock h2,body.jhok .jhok-batchblock h3,body.jhok .jhok-batchblock h4,body.jhok .jhok-batchblock__lh{color:var(--on-dark)}
body.jhok .on-dark h1,body.jhok .on-dark h2,body.jhok .on-dark h3,body.jhok .on-dark h4{color:var(--on-dark)}
body.jhok .jhok-foot h2,body.jhok .jhok-foot h3,body.jhok .jhok-foot h4{color:var(--accent)}
body.jhok .jhok-foot .jhok-brand__name{color:var(--on-dark)}
body.jhok .jhok-batchblock .jhok-lead,body.jhok .on-dark .jhok-lead{color:var(--on-dark-muted)}
body.jhok .jhok-batchblock p{color:var(--on-dark-muted)}
body.jhok .jhok-batchblock .jhok-bcard dd{color:var(--on-dark)}
body.jhok .jhok-hero__chip b{color:var(--ink)}

/* sold out state and the order tracking form */
.jhok-soldout{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);border:1px solid var(--line);border-radius:var(--r-sm);padding:5px 11px;margin-right:12px}
body.jhok ul.products li.product .jhok-pcard__body{gap:9px}
body.jhok ul.products li.product a.jhok-textlink{margin-top:2px;align-self:flex-start}
.jhok-stocknote{margin-top:18px;padding:20px 22px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface)}
.jhok-stocknote p{font-size:15px;color:var(--muted);margin:0 0 14px;max-width:46ch}
body.jhok .woocommerce div.product p.stock.out-of-stock{color:var(--madder,#8C3B2E);font-weight:600;font-size:15px}
