/* HITOMO Terra production bundle. Source order: base.css, patterns.css, themes.css, pages.css, wp.css */


/* === base.css === */
/* ============================================================
   BASE — shared skeleton for all three directions
   Theme tokens (color, type, radius, shape) live in themes.css,
   scoped by html[data-theme]. base.css only references vars.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.08; }

:root {
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --s-1: 6px;  --s-2: 12px; --s-3: 20px; --s-4: 32px;
  --s-5: 52px; --s-6: 80px; --s-7: 120px; --s-8: 160px;
  --switch-h: 52px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, var(--s-7)); }
.text-center { text-align: center; }

/* ---- Display / type helpers ---- */
.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 500);
  letter-spacing: var(--display-tracking, -0.01em);
  line-height: var(--display-leading, 1.02);
  color: var(--ink);
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink, var(--accent));
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .7;
  display: var(--eyebrow-rule, inline-block);
}
.lede { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; max-width: 56ch; }

/* ============================================================
   DIRECTION SWITCHER (prototype chrome — always visible top bar)
   ============================================================ */
.switcher {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--switch-h);
  background: #1c1814;
  color: #f3ece1;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--font-body);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.switcher__label { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; opacity: .55; }
.switcher__opts { display: flex; gap: 6px; background: rgba(255,255,255,.07); padding: 4px; border-radius: 100px; }
.switcher__btn {
  border: 0; background: transparent; color: rgba(243,236,225,.7);
  padding: 6px 16px; border-radius: 100px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .01em; transition: .22s ease; white-space: nowrap;
}
.switcher__btn:hover { color: #fff; }
.switcher__btn.is-active { background: #f3ece1; color: #1c1814; }
.switcher__btn small { display: block; font-weight: 400; font-size: 10px; opacity: .6; letter-spacing: .04em; }
.switcher__hint { font-size: 11px; opacity: .4; }
@media (max-width: 720px) {
  .switcher { gap: 10px; padding-inline: 12px; }
  .switcher__label, .switcher__hint { display: none; }
  .switcher__btn { padding: 6px 12px; }
}
body { padding-top: var(--switch-h); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: var(--switch-h); z-index: 100;
  background: var(--nav-bg, color-mix(in oklab, var(--bg) 86%, transparent));
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--nav-line, var(--line));
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h, 76px); }
.brand {
  font-family: var(--font-display);
  font-weight: var(--brand-weight, 600);
  font-size: var(--brand-size, 25px);
  letter-spacing: var(--brand-tracking, .02em);
  color: var(--ink);
}
.brand sup { font-size: .5em; vertical-align: super; color: var(--accent); margin-left: 2px; }
.nav__links { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav__links a {
  font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--muted);
  padding: 6px 0; position: relative; transition: color .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--accent);
}
.nav__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink);
  border-radius: var(--icon-radius, 50%); position: relative; transition: background .2s;
}
.icon-btn:hover { background: color-mix(in oklab, var(--ink) 8%, transparent); }
.cart-badge {
  position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: var(--accent-on, #fff); font-size: 10px; font-weight: 700;
  border-radius: 100px; display: grid; place-items: center; font-family: var(--font-body);
}
.nav__toggle { display: none; width: 42px; height: 42px; border: 0; background: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: .25s; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open .nav__links { max-height: 320px; }
  .nav__links a { padding: 16px var(--gutter); border-top: 1px solid var(--line); font-size: 16px; }
  .nav__links a.is-active::after { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --pad-y: 15px; --pad-x: 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  letter-spacing: var(--btn-tracking, .04em); text-transform: var(--btn-transform, none);
  padding: var(--pad-y) var(--pad-x); border: 1px solid transparent;
  border-radius: var(--btn-radius, 4px); transition: .22s ease; cursor: pointer; line-height: 1;
}
.btn--primary { background: var(--accent); color: var(--accent-on, #fff); }
.btn--primary:hover { background: var(--accent-d, var(--accent)); transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { transform: translateY(-1px); opacity: .92; }
.btn--ghost { background: transparent; border-color: var(--line-strong, var(--ink)); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--light:hover { background: var(--bg); }
.btn--block { width: 100%; }
.btn--lg { --pad-y: 18px; --pad-x: 40px; font-size: 14px; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(3px); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.shead { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.shead.center { margin-inline: auto; text-align: center; }
.shead.center .eyebrow::before { display: none; }
.shead__title { font-family: var(--font-display); font-weight: var(--display-weight,500); font-size: clamp(30px, 4vw, 50px); letter-spacing: var(--display-tracking,-0.01em); line-height: 1.05; margin: 16px 0 14px; }
.shead__sub { color: var(--muted); font-size: 17px; line-height: 1.65; }
.shead.center .shead__sub { margin-inline: auto; max-width: 54ch; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.grid-products { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: var(--card-gap, 28px) var(--card-gap, 28px); }
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media {
  position: relative; aspect-ratio: var(--card-aspect, 4/5); overflow: hidden;
  border-radius: var(--card-radius, 4px); background: var(--surface);
  border: var(--card-border, 0px) solid var(--line);
}
.pcard__media > .rug { position: absolute; inset: 0; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard__media > .rug { transform: scale(1.05); }
.pcard__badge {
  position: absolute; top: 18px; left: 20px; z-index: 4;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 11px; background: var(--badge-bg, var(--ink)); color: var(--badge-on, var(--bg));
  border-radius: var(--badge-radius, 3px);
  pointer-events: none;
}
.pcard__fav {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px;
  background: color-mix(in oklab, var(--bg) 80%, transparent); backdrop-filter: blur(6px);
  border-radius: 50%; display: grid; place-items: center; color: var(--ink); opacity: 0; transform: translateY(-4px);
  transition: .25s; border: 1px solid var(--line);
}
.pcard:hover .pcard__fav { opacity: 1; transform: translateY(0); }
.pcard__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  opacity: 0; transform: translateY(8px); transition: .28s ease;
}
.pcard:hover .pcard__quick { opacity: 1; transform: translateY(0); }
.pcard__info { padding-top: 18px; display: flex; flex-direction: column; gap: 5px; }
.pcard__cat { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pcard__name { font-family: var(--font-display); font-weight: var(--pname-weight, 500); font-size: var(--pname-size, 21px); letter-spacing: -.01em; }
.pcard__row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; }
.pcard__price { font-size: 16px; font-weight: 600; font-family: var(--font-body); }
.pcard__price s { color: var(--muted); font-weight: 400; margin-right: 8px; }
.pcard__stars { display: flex; gap: 1px; color: var(--accent); }

@media (max-width: 1000px) { .grid-products { --cols: 3; } }
@media (max-width: 720px)  { .grid-products { --cols: 2; --card-gap: 16px; } }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); }
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--footer-bg, var(--ink)); color: var(--footer-ink, color-mix(in oklab, var(--bg) 78%, #fff)); padding-block: clamp(56px, 8vw, 96px) 36px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer__brand .brand { color: var(--footer-brand, var(--bg)); font-size: 30px; }
.footer__tag { margin: 18px 0 22px; max-width: 34ch; font-size: 14.5px; line-height: 1.7; opacity: .8; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid color-mix(in oklab, var(--bg) 30%, transparent); border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-on,#fff); }
.footer__col h5 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 6px 0 18px; opacity: .55; font-weight: 600; font-family: var(--font-body); }
.footer__col a { display: block; padding: 7px 0; font-size: 14.5px; opacity: .8; transition: .2s; }
.footer__col a:hover { opacity: 1; color: var(--accent-ink, var(--bg)); padding-left: 4px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 56px; padding-top: 26px; border-top: 1px solid color-mix(in oklab, var(--bg) 18%, transparent); font-size: 13px; opacity: .7; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.ticker { background: var(--ticker-bg, var(--ink)); color: var(--ticker-ink, var(--bg)); overflow: hidden; border-block: 1px solid transparent; }
.ticker__track { display: flex; gap: 56px; white-space: nowrap; padding: 13px 0; width: max-content; animation: ticker 32s linear infinite; }
.ticker__track span { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 56px; opacity: .85; }
.ticker__track span::after { content: "✷"; opacity: .5; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ============================================================
   UTILITY
   ============================================================ */
.divider { height: 1px; background: var(--line); border: 0; }
.muted { color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }

/* === patterns.css === */
/* ============================================================
   PATTERNS — CSS-generated rug / chair-mat swatches.
   Stand-ins for product photography (warm, on-brand, intentional).
   Each .rug--N carries its own earthy palette. A faint woven
   overlay gives every swatch a fabric texture.
   Use:  <div class="rug rug--2"></div>
   ============================================================ */

.rug { position: relative; width: 100%; height: 100%; background-color: #e7dcca; }
/* universal woven texture overlay */
.rug::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .5;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.06) 0 1px, transparent 1px 3px);
}

/* 1 · Vintage Blue Abstract — watercolor blooms */
.rug--1 {
  background:
    radial-gradient(60% 50% at 28% 32%, #9fb4c0 0%, transparent 60%),
    radial-gradient(50% 60% at 75% 68%, #c4a98c 0%, transparent 55%),
    radial-gradient(40% 40% at 60% 22%, #e8ddc8 0%, transparent 55%),
    linear-gradient(135deg, #cdd7d8, #b7c3c4 55%, #a9b6b8);
}

/* 2 · Oriental Garden — medallion */
.rug--2 {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 16%, #b6452e 16% 18%, transparent 18% 22%, #1f5a4f 22% 24%, transparent 24%),
    radial-gradient(circle at 50% 50%, #e9d9b8 0 34%, transparent 34%),
    repeating-radial-gradient(circle at 50% 50%, #a23a26 0 5px, transparent 5px 13px),
    linear-gradient(0deg, #8d2f20, #9c3724);
  background-blend-mode: normal, normal, soft-light, normal;
}

/* 3 · Modern Lattice — interlocking grid */
.rug--3 {
  background:
    repeating-linear-gradient(45deg,  #b98a5e 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, #b98a5e 0 2px, transparent 2px 26px),
    linear-gradient(160deg, #f0e7d6, #e4d6bf);
}

/* 4 · Classic Floral — diamond trellis with dots */
.rug--4 {
  background:
    radial-gradient(circle at 50% 50%, #7d8a5a 0 3px, transparent 4px),
    repeating-linear-gradient(45deg,  #cdbf9a 0 1.5px, transparent 1.5px 22px),
    repeating-linear-gradient(-45deg, #cdbf9a 0 1.5px, transparent 1.5px 22px),
    linear-gradient(135deg, #efe7d3, #e7dcc3);
  background-size: 22px 22px, auto, auto, auto;
}

/* 5 · Minimalist Lines — fine warm stripes */
.rug--5 {
  background:
    repeating-linear-gradient(90deg, #d8c8ab 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #f4eede, #ece2cd);
}

/* 6 · Kilim Stripe — banded earth tones */
.rug--6 {
  background: linear-gradient(180deg,
    #b5623c 0 14%, #e3cfa6 14% 24%, #6f7d52 24% 38%,
    #e3cfa6 38% 48%, #8d4a30 48% 62%, #e3cfa6 62% 72%,
    #6f7d52 72% 86%, #b5623c 86% 100%);
  position: relative;
}
.rug--6::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(40,25,15,.16) 0 2px, transparent 2px 9px);
}

/* 7 · Terracotta Field — tonal abstract */
.rug--7 {
  background:
    radial-gradient(55% 65% at 70% 30%, #d8895d 0%, transparent 60%),
    radial-gradient(50% 50% at 25% 75%, #9d5236 0%, transparent 55%),
    linear-gradient(135deg, #c87a4f, #aa5e3c);
}

/* 8 · Sage Geometric — chevron */
.rug--8 {
  background:
    repeating-linear-gradient(135deg, #6f7d52 0 12px, #8a9568 12px 24px),
    linear-gradient(0deg, #7c8a5d, #7c8a5d);
  background-size: 34px 34px, auto;
}

/* 9 · Pebble Neutral — soft mottle (great for scene tiles) */
.rug--9 {
  background:
    radial-gradient(40% 40% at 30% 30%, #efe6d4 0%, transparent 60%),
    radial-gradient(45% 45% at 72% 64%, #d9c9ac 0%, transparent 60%),
    linear-gradient(135deg, #e7dbc3, #ddcfb2);
}

/* 10 · Clay Diamond — bold single motif */
.rug--10 {
  background:
    conic-gradient(from 45deg at 50% 50%, #b5623c 0 25%, #c87a4f 0 50%, #b5623c 0 75%, #c87a4f 0),
    #b5623c;
  background-size: 40px 40px;
}

/* Photographic-scene placeholder (for lifestyle shots we still need real photos) */
.photo-slot {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, color-mix(in oklab, var(--ink) 5%, var(--surface)) 0 14px, var(--surface) 14px 28px);
  display: grid; place-items: center;
}
.photo-slot__tag {
  font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); background: color-mix(in oklab, var(--bg) 70%, transparent);
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 100px; backdrop-filter: blur(4px);
}

/* === themes.css === */
/* ============================================================
   THEMES — three premium "directions", scoped by html[data-theme].
   Each sets design tokens + a few bold structural overrides so the
   directions read as genuinely different systems, not recolors.
   A · Atelier  — editorial warm minimal, fine serif, sharp, airy
   B · Terra    — tactile organic, arched forms, sage+sand, soft
   C · Loom     — modern gallery, bold grotesque, walnut contrast
   ============================================================ */

/* =======================  A · ATELIER  ======================= */
html[data-theme="a"] {
  --bg: #f7f1e8;
  --surface: #fffdf9;
  --ink: #2a241e;
  --muted: #786d5f;
  --line: #e6ddcd;
  --line-strong: #c9bda7;
  --accent: oklch(0.585 0.108 47);      /* terracotta */
  --accent-d: oklch(0.52 0.108 47);
  --accent-ink: oklch(0.5 0.1 47);
  --accent-on: #fff7ef;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 500; --display-tracking: -0.005em; --display-leading: 1.0;
  --brand-weight: 600; --brand-size: 26px; --brand-tracking: .04em;

  --btn-radius: 2px; --btn-tracking: .08em; --btn-transform: uppercase;
  --card-radius: 2px; --card-aspect: 4/5;
  --badge-bg: var(--bg); --badge-on: var(--ink); --badge-radius: 2px;
  --pname-size: 23px; --pname-weight: 500;
  --footer-bg: #221d18;
  --eyebrow-rule: inline-block;
}
html[data-theme="a"] .badge-outline { border: 1px solid var(--line-strong); }
html[data-theme="a"] .pcard__badge { border: 1px solid var(--line-strong); }
/* airy, large serif feel: display heads run extra-large & light */
html[data-theme="a"] .shead__title { font-weight: 500; letter-spacing: -.012em; }
html[data-theme="a"] .hero__title { font-weight: 500; }
html[data-theme="a"] .nav { --nav-h: 80px; }

/* =======================  B · TERRA  ======================= */
html[data-theme="b"] {
  --bg: #ece2d0;
  --surface: #f5eede;
  --ink: #39312a;
  --muted: #7d7060;
  --line: #ddcfb6;
  --line-strong: #c3b291;
  --accent: oklch(0.55 0.072 128);       /* olive / sage */
  --accent-d: oklch(0.47 0.072 128);
  --accent-ink: oklch(0.46 0.07 128);
  --accent-on: #f6f3e8;

  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 500; --display-tracking: -0.012em; --display-leading: 1.04;
  --brand-weight: 500; --brand-size: 27px; --brand-tracking: .005em;

  --btn-radius: 100px; --btn-tracking: .03em; --btn-transform: none;
  --card-radius: 18px; --card-aspect: 1/1;
  --badge-bg: var(--accent); --badge-on: var(--accent-on); --badge-radius: 100px;
  --pname-size: 22px; --pname-weight: 500;
  --icon-radius: 50%;
  --footer-bg: #2f5147;  --footer-brand: #f3ecdc; --accent-ink: #cdb98e;
  --eyebrow-rule: none;
}
html[data-theme="b"] .brand { font-style: italic; }
html[data-theme="b"] .shead.center .eyebrow { justify-content: center; }
html[data-theme="b"] .eyebrow { color: var(--accent-ink, var(--accent)); }
/* arched media on cards & heroes */
html[data-theme="b"] .pcard__media { border-top-left-radius: 999px; border-top-right-radius: 999px; }
html[data-theme="b"] .btn { font-weight: 600; }
html[data-theme="b"] .pcard__name { font-style: normal; }
html[data-theme="b"] .footer { --footer-ink: #d9e2da; }
html[data-theme="b"] .footer__col a:hover { color: #cdb98e; }

/* =======================  C · LOOM  ======================= */
html[data-theme="c"] {
  --bg: #f0e9dd;
  --surface: #e6ddcc;
  --ink: #211c17;
  --muted: #6c6256;
  --line: #d8cdba;
  --line-strong: #b9ab92;
  --accent: oklch(0.66 0.122 67);        /* brass / amber */
  --accent-d: oklch(0.58 0.122 67);
  --accent-ink: oklch(0.5 0.11 67);
  --accent-on: #221c14;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 700; --display-tracking: -0.025em; --display-leading: 0.98;
  --brand-weight: 800; --brand-size: 23px; --brand-tracking: -.02em;

  --btn-radius: 0px; --btn-tracking: .06em; --btn-transform: uppercase;
  --card-radius: 0px; --card-aspect: 5/6; --card-border: 1px;
  --badge-bg: var(--ink); --badge-on: var(--bg); --badge-radius: 0px;
  --pname-size: 19px; --pname-weight: 700;
  --icon-radius: 0px;
  --footer-bg: #241e18; --footer-brand: #f0e9dd;
  --eyebrow-rule: inline-block;
  --nav-h: 72px;
}
html[data-theme="c"] .brand { text-transform: uppercase; }
html[data-theme="c"] .display, html[data-theme="c"] .shead__title, html[data-theme="c"] .hero__title { text-transform: none; }
html[data-theme="c"] .pcard__name { text-transform: uppercase; letter-spacing: -.01em; font-size: 16px; }
html[data-theme="c"] .pcard__media { border-color: var(--ink); }
html[data-theme="c"] .icon-btn { border-radius: 0; }
/* Loom uses tighter, punchier display sizing */
html[data-theme="c"] .shead__title { font-size: clamp(32px, 4.4vw, 56px); }

/* Dark feature band — only Loom flips a section to deep walnut */
html[data-theme="c"] .band-dark {
  --bg: #2a2320; --ink: #f0e9dd; --muted: #b3a691; --line: #463c33; --surface: #332b25;
  background: #2a2320; color: #f0e9dd;
}
html[data-theme="a"] .band-dark, html[data-theme="b"] .band-dark { background: var(--surface); }

/* === pages.css === */
/* ============================================================
   PAGES — hero, home sections, listing, product detail.
   Variable-driven; theme.css supplies color/type/shape.
   ============================================================ */

/* ----------------------------- HERO ----------------------------- */
.hero { padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(48px, 7vw, 96px); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font-size: clamp(44px, 7.2vw, 104px); margin: 22px 0 0; }
.hero__title em { font-style: italic; color: var(--accent-ink, var(--accent)); }
.hero__lede { margin: 26px 0 34px; font-size: clamp(16px, 1.5vw, 19px); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__meta div { display: flex; flex-direction: column; gap: 2px; }
.hero__meta b { font-family: var(--font-display); font-size: 24px; font-weight: var(--display-weight); }
.hero__meta span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.hero__media { position: relative; }
.hero__slider { position: relative; aspect-ratio: 4/5; border-radius: var(--card-radius); overflow: hidden; background: var(--surface); }
html[data-theme="b"] .hero__slider { aspect-ratio: 1/1; border-top-left-radius: 999px; border-top-right-radius: 999px; }
html[data-theme="c"] .hero__slider { border: 1px solid var(--ink); }
.hero__slide { position: absolute; inset: 0; opacity: 0; display: block; color: inherit; transition: opacity .9s ease, transform 1.4s ease; transform: scale(1.04); }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.hero__slide:hover .hero__product-img {
  transform: scale(1.035);
}
.hero__cap {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  background: color-mix(in oklab, var(--bg) 84%, transparent); backdrop-filter: blur(6px);
  color: var(--ink); padding: 9px 15px; border-radius: 100px; border: 1px solid var(--line);
}
.hero__dots { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: flex; gap: 8px; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: color-mix(in oklab, var(--bg) 55%, var(--ink)); opacity: .5; transition: .25s; padding: 0; }
.hero__dot.is-active { opacity: 1; width: 24px; border-radius: 100px; background: var(--accent); }
/* floating accent tag */
.hero__float {
  position: absolute; z-index: 4; top: 24px; right: -14px;
  background: var(--accent); color: var(--accent-on, #fff); padding: 14px 18px;
  border-radius: var(--card-radius); box-shadow: 0 18px 40px -18px rgba(40,30,20,.5);
  text-align: center; line-height: 1.1;
}
html[data-theme="b"] .hero__float { border-radius: 18px; }
.hero__float b { font-family: var(--font-display); font-size: 22px; display: block; }
.hero__float span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .hero__media { order: -1; max-width: 460px; }
  .hero__float { right: 8px; }
}

/* ----------------------- VALUE / FEATURE STRIP ----------------------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); }
.value { display: flex; flex-direction: column; gap: 12px; }
.value__ic { width: 46px; height: 46px; display: grid; place-items: center; color: var(--accent-ink, var(--accent)); border: 1px solid var(--line-strong); border-radius: var(--btn-radius); }
html[data-theme="b"] .value__ic { border-radius: 50%; }
.value h3 { font-family: var(--font-display); font-size: 20px; font-weight: var(--display-weight); }
.value p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ----------------------- CATEGORY TILES ----------------------- */
.cats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; height: clamp(420px, 52vw, 600px); }
.cat { position: relative; overflow: hidden; border-radius: var(--card-radius); display: flex; align-items: flex-end; padding: 26px; color: #fff; }
.cat .rug { position: absolute; inset: 0; z-index: 0; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.cat:hover .rug { transform: scale(1.06); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25,18,12,.66), rgba(25,18,12,.05) 55%); z-index: 1; }
.cat__body { position: relative; z-index: 2; }
.cat__body h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: var(--display-weight); margin-bottom: 4px; }
.cat__body span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.cat--feature { grid-row: 1 / 3; }
@media (max-width: 760px) {
  .cats { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .cat { aspect-ratio: 4/5; }
  .cat--feature { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16/10; }
}

/* ----------------------- LIFESTYLE SPLIT ----------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { aspect-ratio: 5/6; border-radius: var(--card-radius); overflow: hidden; }
html[data-theme="b"] .split__media { border-radius: 24px; }
.split__list { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.fitem { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.fitem:last-child { border-bottom: 1px solid var(--line); }
.fitem__ic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--accent-ink, var(--accent)); display: grid; place-items: center; }
.fitem h4 { font-family: var(--font-display); font-size: 19px; font-weight: var(--display-weight); }
.fitem p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .split__media { order: -1; }
  .split__media { max-width: 480px; }
}

/* ----------------------- TESTIMONIALS ----------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); display: flex; flex-direction: column; gap: 16px; }
.quote__stars { color: var(--accent); }
.quote p { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; font-weight: var(--display-weight); font-style: var(--quote-style, normal); }
html[data-theme="b"] .quote p { font-style: italic; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--accent-on,#fff); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.quote__by b { font-size: 14.5px; display: block; }
.quote__by span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* ----------------------- NEWSLETTER ----------------------- */
.news { text-align: center; max-width: 640px; margin-inline: auto; }
.news__form { display: flex; gap: 10px; margin: 28px auto 14px; max-width: 460px; }
.news__form input {
  flex: 1; padding: 16px 20px; border: 1px solid var(--line-strong); background: var(--surface);
  border-radius: var(--btn-radius); font-family: var(--font-body); font-size: 15px; color: var(--ink);
}
html[data-theme="b"] .news__form input { border-radius: 100px; }
.news__form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.news__note { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .news__form { flex-direction: column; } }

/* ============================================================
   LISTING / SHOP
   ============================================================ */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 10px; font-size: 12.5px; letter-spacing: .04em; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: .5; }
.page-head h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 60px); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
.page-head p { color: var(--muted); margin-top: 12px; max-width: 56ch; }

.shop-layout { display: grid; grid-template-columns: 248px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding-block: clamp(36px, 5vw, 56px); }
.filters { position: sticky; top: calc(var(--switch-h) + var(--nav-h, 76px) + 20px); display: flex; flex-direction: column; gap: 28px; }
.fgroup h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.fgroup label { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14.5px; cursor: pointer; color: var(--ink); }
.fgroup label input { accent-color: var(--accent); width: 16px; height: 16px; }
.fgroup label .count { margin-left: auto; color: var(--muted); font-size: 13px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); cursor: pointer; position: relative; }
.swatch.is-active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.shop-toolbar .count { font-size: 14px; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 13px; font-weight: 500; padding: 9px 16px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink); border-radius: 100px; transition: .18s;
}
html[data-theme="c"] .chip { border-radius: 0; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter-toggle { display: none; }
@media (max-width: 880px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; flex-direction: row; flex-wrap: wrap; gap: 10px; display: none; }
  .filters.open { display: flex; }
  .filter-toggle { display: inline-flex; }
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pd { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 4vw, 64px); align-items: start; padding-block: clamp(32px, 4vw, 52px); }
.gallery { position: sticky; top: calc(var(--switch-h) + var(--nav-h, 76px) + 20px); display: grid; grid-template-columns: 76px 1fr; gap: 16px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery__thumb { width: 76px; height: 90px; border-radius: calc(var(--card-radius) * .6); overflow: hidden; border: 1px solid var(--line); cursor: pointer; padding: 0; background: none; position: relative; transition: .2s; }
.gallery__thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gallery__main { aspect-ratio: 4/5; border-radius: var(--card-radius); overflow: hidden; background: var(--surface); }
html[data-theme="b"] .gallery__main { aspect-ratio: 1/1; border-radius: 24px; }
@media (max-width: 980px) { .pd { grid-template-columns: 1fr; } .gallery { position: static; } }
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; }
  .gallery__thumb { width: 64px; height: 64px; }
}

.pd-info .eyebrow { margin-bottom: 14px; }
.pd-info h1 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 50px); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.05; }
.pd-rating { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 13.5px; color: var(--muted); }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 22px; }
.pd-price .now { font-family: var(--font-display); font-size: 36px; font-weight: var(--display-weight); }
.pd-price s { color: var(--muted); font-size: 20px; }
.pd-price .save { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-on,#fff); background: var(--accent); padding: 4px 10px; border-radius: 100px; }
.pd-desc { color: var(--muted); line-height: 1.7; max-width: 52ch; }
.pd-opt { margin-top: 26px; }
.pd-opt__label { display: flex; justify-content: space-between; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pd-opt__label b { color: var(--ink); letter-spacing: 0; text-transform: none; font-weight: 600; font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--btn-radius); overflow: hidden; }
html[data-theme="b"] .qty { border-radius: 100px; }
.qty button { width: 46px; height: 50px; border: 0; background: transparent; font-size: 18px; color: var(--ink); }
.qty button:hover { background: color-mix(in oklab, var(--ink) 7%, transparent); }
.qty input { width: 52px; height: 50px; border: 0; text-align: center; background: transparent; font-family: var(--font-body); font-size: 16px; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-actions { display: flex; gap: 12px; margin-top: 28px; }
.pd-actions .btn--primary { flex: 1; }
.icon-square { width: 54px; flex: none; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--btn-radius); display: grid; place-items: center; color: var(--ink); transition: .2s; }
html[data-theme="b"] .icon-square { border-radius: 50%; }
.icon-square:hover { border-color: var(--ink); }
.trust { display: flex; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.trust div { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.trust svg { color: var(--accent-ink, var(--accent)); }

/* tabs */
.tabs__nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tab { background: none; border: 0; padding: 16px 22px; font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--muted); position: relative; }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.tabpanel { display: none; max-width: 760px; }
.tabpanel.is-active { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; } }
.tabpanel h3 { font-family: var(--font-display); font-size: 24px; font-weight: var(--display-weight); margin: 28px 0 12px; }
.tabpanel h3:first-child { margin-top: 0; }
.tabpanel p { color: var(--muted); line-height: 1.75; margin: 0 0 14px; }
.tabpanel ul.dotted { display: flex; flex-direction: column; gap: 8px; }
.tabpanel ul.dotted li { color: var(--muted); padding-left: 22px; position: relative; }
.tabpanel ul.dotted li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.spectable { width: 100%; border-collapse: collapse; }
.spectable th, .spectable td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spectable th { width: 36%; font-weight: 600; color: var(--ink); }
.spectable td { color: var(--muted); }

/* === wp.css === */
/* Production WordPress/WooCommerce integration for HITOMO Terra. */

:root {
  --switch-h: 0px;
}

body {
  padding-top: 0;
}

.hitomo-terra:not(.single-product) .cr-pswp {
  display: none !important;
}

.switcher {
  display: none !important;
}

.site-main {
  min-height: 50vh;
}

.hitomo-row-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: none;
  gap: 24px;
  flex-wrap: wrap;
}

.hitomo-no-margin {
  margin-bottom: 0;
}

.hitomo-section-title {
  margin-top: 14px;
}

.hitomo-center-eyebrow {
  justify-content: center;
}

.muted {
  color: var(--muted);
}

.divider {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.ticker {
  overflow: hidden;
  background: #2a241f;
  color: #f3ecdc;
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 42px;
  padding: 18px 0;
  animation: hitomoTicker 28s linear infinite;
}

.ticker__track span {
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ticker__track span::after {
  content: "*";
  margin-left: 42px;
  color: var(--accent-ink);
}

@keyframes hitomoTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hitomo-card-img,
.pcard__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}

.pcard:hover .hitomo-card-img,
.pcard:hover .pcard__media > img {
  transform: scale(1.05);
}

.hitomo-shop-grid {
  --cols: 3;
}

.hitomo-toolbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.woocommerce-ordering select {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
}

.hitomo-filter-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--ink);
}

.hitomo-filter-link .count {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.hitomo-pagination {
  margin-top: 56px;
}

.hitomo-pagination ul,
.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.hitomo-pagination a,
.hitomo-pagination span,
.woocommerce-pagination a,
.woocommerce-pagination span {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--ink);
}

.hitomo-pagination .current,
.woocommerce-pagination .current {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.hitomo-empty {
  padding: 56px;
  background: var(--surface);
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
}

.hitomo-blog-hero {
  padding-bottom: 24px;
}

.hitomo-blog-hero .shead {
  max-width: 980px;
  margin-top: 42px;
}

.hitomo-blog-hero .shead p {
  max-width: 62ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
}

.hitomo-blog-section {
  padding-top: 20px;
}

.hitomo-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
}

.hitomo-blog-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 250, 241, .38);
}

.hitomo-blog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(57, 49, 42, .06);
}

.hitomo-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.hitomo-blog-card:hover .hitomo-blog-card__media img {
  transform: scale(1.04);
}

.hitomo-blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(205, 185, 142, .16) 25%, transparent 25%) 0 0 / 34px 34px,
    rgba(255, 250, 241, .45);
}

.hitomo-blog-card__placeholder span {
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .18em;
}

.hitomo-blog-card__body {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 28px);
}

.hitomo-post-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hitomo-post-meta span::before {
  content: "/";
  margin-right: 10px;
  color: var(--line-strong);
}

.hitomo-blog-card h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.02;
  color: var(--ink);
}

.hitomo-blog-card h2 a:hover,
.hitomo-read-link:hover {
  color: var(--accent-d);
}

.hitomo-blog-excerpt {
  color: var(--muted);
  line-height: 1.7;
}

.hitomo-read-link {
  width: fit-content;
  color: var(--ink);
  font-weight: 700;
}

.hitomo-article-hero {
  padding-bottom: 22px;
}

.hitomo-article-head {
  display: grid;
  grid-template-columns: minmax(0, 960px);
  gap: 18px;
  align-items: start;
  margin-top: 36px;
}

.hitomo-article-head h1 {
  max-width: 18ch;
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: 1;
  color: var(--ink);
}

.hitomo-article-head > p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.75vw, 22px);
  line-height: 1.6;
}

.hitomo-article-featured {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, .42);
}

.hitomo-article-featured img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}

.hitomo-article-body {
  padding-top: clamp(24px, 3.2vw, 42px);
}

.hitomo-article-content {
  max-width: 900px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(17px, 1.18vw, 19px);
  line-height: 1.68;
}

.hitomo-article-content > * {
  margin-bottom: .82em;
}

.hitomo-article-content h2,
.hitomo-article-content h3 {
  margin-top: 1.18em;
  margin-bottom: .28em;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.1;
}

.hitomo-article-content h2 {
  font-size: clamp(28px, 2.7vw, 38px);
}

.hitomo-article-content h3 {
  font-size: clamp(23px, 2.1vw, 30px);
}

.hitomo-article-content a {
  color: var(--accent-d);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hitomo-article-content ul,
.hitomo-article-content ol {
  padding-left: 1.3em;
}

.hitomo-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.hitomo-collection-hero {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 12%, rgba(102, 123, 80, .13), transparent 34%),
    linear-gradient(135deg, rgba(255, 250, 241, .36), rgba(205, 185, 142, .12));
}

.hitomo-collection-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: clamp(30px, 5vw, 76px);
  align-items: end;
  margin-top: 42px;
}

.hitomo-collection-head h1 {
  max-width: 16ch;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(46px, 5.2vw, 78px);
  line-height: 1;
  color: var(--ink);
}

.hitomo-collection-head p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.65;
}

.hitomo-collection-section {
  padding-top: clamp(46px, 7vw, 92px);
}

.hitomo-collection-section .grid-products {
  margin-top: clamp(34px, 5vw, 64px);
}

.hitomo-product-breadcrumb {
  padding-top: 26px;
}

.gallery__thumb img,
.hitomo-main-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd,
.pd > *,
.gallery,
.pd-info {
  min-width: 0;
}

.gallery__main {
  position: relative;
  min-width: 0;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery__main {
  order: 1;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: var(--surface);
  cursor: zoom-in;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(57, 49, 42, .72);
  color: #fffaf1;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: .18s ease;
  pointer-events: none;
}

.gallery__main:hover .gallery__zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.gallery__nav {
  order: 2;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.gallery__thumb-viewport {
  min-width: 0;
  overflow: hidden;
}

.gallery__thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 1px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.gallery__thumb-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102, 123, 80, .28);
  border-radius: 50%;
  background: rgba(255, 250, 241, .64);
  color: var(--accent-d);
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(49, 41, 33, .08);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, opacity .18s ease;
}

.gallery__thumb-arrow:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-on, #fff);
  transform: translateY(-1px);
}

.gallery__thumb-arrow:disabled {
  opacity: .26;
  pointer-events: none;
  box-shadow: none;
}

.gallery__thumb {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  border-radius: 16px;
  background: var(--surface);
}

.gallery__thumb:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.hitomo-lightbox-open {
  overflow: hidden;
}

.hitomo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(31, 26, 22, .86);
}

.hitomo-lightbox.is-open {
  display: flex;
}

.hitomo-lightbox__image {
  max-width: min(1120px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .36);
  transition: opacity .16s ease, transform .16s ease;
}

.hitomo-lightbox__image.is-loading {
  opacity: .5;
  transform: scale(.992);
}

.hitomo-lightbox__close,
.hitomo-lightbox__nav {
  position: absolute;
  border: 1px solid rgba(255, 250, 241, .34);
  background: rgba(255, 250, 241, .12);
  color: #fffaf1;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.hitomo-lightbox__close {
  top: 24px;
  right: 24px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hitomo-lightbox__nav {
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.hitomo-lightbox__nav--prev {
  left: 24px;
}

.hitomo-lightbox__nav--next {
  right: 24px;
}

.hitomo-rating-number,
.hitomo-stock-inline {
  color: var(--ink);
}

.hitomo-stock-inline {
  color: var(--accent-ink);
}

.stars.is-empty {
  color: rgba(57, 49, 42, .22);
}

.pd-price .now {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
}

.pd-price .now,
.pd-price .now .amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: var(--display-weight);
  color: var(--ink);
}

.pd-price .price {
  margin: 0;
}

.hitomo-add-form {
  margin-top: 16px;
}

.hitomo-buy-panel {
  max-width: 560px;
  padding: 20px;
  border: 1px solid rgba(121, 103, 78, .2);
  border-radius: 22px;
  background: rgba(255, 250, 241, .38);
  box-shadow: 0 16px 42px rgba(49, 41, 33, .06);
}

.hitomo-buy-panel form.cart,
.hitomo-buy-panel .variations_form {
  margin: 0;
}

.hitomo-add-form table.variations {
  display: block;
  width: 100%;
  border: 0;
  margin: 0 0 20px;
  background: transparent !important;
  box-shadow: none !important;
}

.hitomo-add-form table.variations tbody,
.hitomo-add-form table.variations tr {
  display: block;
  width: 100%;
  background: transparent !important;
  box-shadow: none !important;
}

.hitomo-add-form table.variations th,
.hitomo-add-form table.variations td {
  display: block;
  padding: 0;
  border: 0;
  text-align: left;
  background: transparent !important;
  box-shadow: none !important;
}

.hitomo-add-form table.variations label {
  display: block;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  background: transparent !important;
}

.hitomo-add-form table.variations select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.hitomo-variation-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  background: transparent;
}

.hitomo-variation-button {
  min-height: 46px;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border: 1px solid rgba(102, 123, 80, .36);
  background: rgba(245, 238, 222, .42);
  color: var(--ink);
  border-radius: 100px;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}

.hitomo-variation-button:hover {
  border-color: var(--accent);
  background: rgba(102, 123, 80, .09);
  color: var(--accent-d);
  transform: translateY(-1px);
}

.hitomo-variation-button.is-active {
  background: var(--accent);
  color: var(--accent-on, #fff);
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(76, 96, 55, .18);
}

.hitomo-variation-button.is-disabled {
  opacity: .42;
  text-decoration: line-through;
  cursor: not-allowed;
}

.reset_variations {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: transparent !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.single_variation_wrap {
  margin-top: 18px;
}

.woocommerce-variation {
  margin-bottom: 16px;
  color: var(--muted);
}

.woocommerce-variation-price {
  color: var(--ink);
  font-weight: 700;
}

.woocommerce-variation-availability {
  color: var(--accent-d);
}

.hitomo-buy-panel .woocommerce-variation-add-to-cart,
.hitomo-buy-panel form.cart:not(.variations_form) {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: end;
}

.hitomo-qty-label {
  grid-column: 1 / -1;
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.hitomo-buy-panel .quantity {
  display: grid;
  grid-template-columns: 48px minmax(56px, 1fr) 48px;
  align-items: center;
  width: 176px;
  min-height: 56px;
  border: 1px solid rgba(57, 49, 42, .34);
  border-radius: 6px;
  overflow: hidden;
  margin: 0;
  background: rgba(255, 250, 241, .62);
}

.hitomo-buy-panel .quantity input.qty {
  width: 100%;
  height: 54px;
  border: 0;
  border-inline: 1px solid rgba(57, 49, 42, .12);
  text-align: center;
  background: transparent;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  -moz-appearance: textfield;
}

.hitomo-buy-panel .quantity input.qty::-webkit-outer-spin-button,
.hitomo-buy-panel .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hitomo-qty-btn {
  width: 48px;
  height: 54px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  transition: background .18s ease, color .18s ease;
}

.hitomo-qty-btn:hover {
  background: rgba(102, 123, 80, .1);
  color: var(--accent-d);
}

.single_add_to_cart_button,
.woocommerce .button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--accent);
  color: var(--accent-on, #fff);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.single_add_to_cart_button:hover,
.woocommerce .button:hover,
.button:hover {
  background: var(--accent-d);
  color: var(--accent-on, #fff);
}

.hitomo-buy-panel .single_add_to_cart_button {
  width: 100%;
  min-height: 56px;
  padding-inline: 26px;
  font-size: 15px;
  letter-spacing: .01em;
}

.hitomo-buy-panel .single_add_to_cart_button.disabled,
.hitomo-buy-panel .single_add_to_cart_button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.hitomo-buy-panel .ppcp-messages,
.hitomo-buy-panel .wc-ppcp-product-payments__container,
.hitomo-buy-panel .ppc-button-wrapper,
.hitomo-buy-panel .ppcp-button-wrapper,
.hitomo-buy-panel .ppcp-button-container,
.hitomo-buy-panel .paypal-button-container,
.hitomo-buy-panel [id^="ppc-button"] {
  grid-column: 1 / -1;
}

.hitomo-buy-panel .ppcp-messages {
  margin-top: 10px;
}

.hitomo-buy-panel .wc-ppcp-product-payments__container,
.hitomo-buy-panel .ppc-button-wrapper,
.hitomo-buy-panel .ppcp-button-wrapper,
.hitomo-buy-panel .ppcp-button-container,
.hitomo-buy-panel .paypal-button-container,
.hitomo-buy-panel [id^="ppc-button"] {
  margin-top: 16px;
}

.pd-desc {
  margin-top: 24px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  max-width: var(--container);
  margin: 24px auto;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--card-radius);
  background: var(--surface);
  color: var(--ink);
}

.hitomo-product-tabs-section {
  padding-top: 48px;
}

.hitomo-product-tabs-section .tabs__nav .tab {
  border: 1px solid transparent;
  border-radius: 999px 999px 0 0;
  background: transparent !important;
  color: var(--muted);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.hitomo-product-tabs-section .tabs__nav .tab:hover,
.hitomo-product-tabs-section .tabs__nav .tab.is-active {
  background: rgba(102, 123, 80, .12) !important;
  border-color: rgba(102, 123, 80, .18);
  color: var(--accent-d);
}

.hitomo-product-tabs-section .tabs__nav .tab.is-active::after {
  background: var(--accent);
}

.hitomo-product-description-panel {
  max-width: 1120px;
}

.hitomo-product-description,
.hitomo-product-copy {
  max-width: 100%;
}

.hitomo-reviews-panel {
  max-width: 1120px;
}

.hitomo-reviews-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 241, .38);
}

.hitomo-reviews-head h3 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  color: var(--ink);
}

.hitomo-reviews-score {
  min-width: 170px;
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.hitomo-reviews-score strong {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  font-weight: var(--display-weight);
  color: var(--ink);
}

.hitomo-reviews-score small {
  color: var(--muted);
  font-size: 13px;
}

.hitomo-reviews-panel .woocommerce-Reviews {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.hitomo-reviews-panel #comments,
.hitomo-reviews-panel #review_form_wrapper {
  min-width: 0;
}

.hitomo-reviews-panel .woocommerce-Reviews-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--ink);
}

.hitomo-reviews-panel .woocommerce-noreviews,
.hitomo-reviews-panel .woocommerce-verification-required,
.hitomo-reviews-panel .must-log-in {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 241, .42);
  color: var(--muted);
}

.hitomo-reviews-panel .cr-summaryBox-wrap,
.hitomo-reviews-panel .cr-overall-rating-wrap,
.hitomo-reviews-panel .cr-summary-separator,
.hitomo-reviews-panel .cr-all-reviews-shortcode,
.hitomo-reviews-panel .cr-ajax-reviews-cus-images-modal {
  color: var(--ink);
}

.hitomo-reviews-panel .cr-summaryBox-wrap {
  margin: 0 0 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 241, .42);
}

.hitomo-reviews-panel .commentlist {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hitomo-reviews-panel .comment_container {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 241, .36);
}

.hitomo-reviews-panel .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.hitomo-reviews-panel .comment-text {
  min-width: 0;
}

.hitomo-reviews-panel .comment-text .star-rating,
.hitomo-reviews-panel .star-rating {
  color: var(--accent);
}

.hitomo-reviews-panel .woocommerce-review__author,
.hitomo-reviews-panel .woocommerce-review__published-date {
  color: var(--ink);
}

.hitomo-reviews-panel .description p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.hitomo-reviews-panel #review_form_wrapper {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 241, .48);
  box-shadow: 0 16px 42px rgba(49, 41, 33, .06);
}

.hitomo-reviews-panel .comment-reply-title {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.12;
  color: var(--ink);
}

.hitomo-reviews-panel .comment-form {
  display: grid;
  gap: 16px;
}

.hitomo-reviews-panel .comment-form p {
  margin: 0;
}

.hitomo-reviews-panel .comment-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hitomo-reviews-panel .comment-form input:not([type="submit"]),
.hitomo-reviews-panel .comment-form textarea,
.hitomo-reviews-panel .comment-form select {
  width: 100%;
  border: 1px solid rgba(57, 49, 42, .24);
  border-radius: 14px;
  background: rgba(255, 250, 241, .72);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
}

.hitomo-reviews-panel .comment-form input:not([type="submit"]),
.hitomo-reviews-panel .comment-form select {
  height: 48px;
  padding: 0 14px;
}

.hitomo-reviews-panel .comment-form textarea {
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}

.hitomo-reviews-panel .comment-form input:focus,
.hitomo-reviews-panel .comment-form textarea:focus,
.hitomo-reviews-panel .comment-form select:focus {
  outline: 2px solid color-mix(in oklab, var(--accent) 42%, transparent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.hitomo-reviews-panel .comment-form-rating .stars {
  display: inline-flex;
  gap: 6px;
  margin: 4px 0 0;
  font-size: 0;
  line-height: 1;
  vertical-align: middle;
}

.hitomo-reviews-panel .comment-form-rating .stars a,
.hitomo-reviews-panel .comment-form-rating .stars span a {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 34px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  text-decoration: none;
  text-indent: 0;
}

.hitomo-reviews-panel .comment-form-rating .stars a::before,
.hitomo-reviews-panel .comment-form-rating .stars span a::before {
  content: "☆";
  color: rgba(57, 49, 42, .24);
  font-size: 30px;
  line-height: 1;
  text-indent: 0;
  pointer-events: none;
  transition: opacity .14s ease;
}

.hitomo-reviews-panel .comment-form-rating .stars a:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--accent) 48%, transparent);
  outline-offset: 3px;
}

.hitomo-reviews-panel .comment-form-rating .stars:has(.star-1:hover) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-1:focus-visible) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars.selected:has(.star-1.active) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-2:hover) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-2:hover) .star-2::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-2:focus-visible) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-2:focus-visible) .star-2::before,
.hitomo-reviews-panel .comment-form-rating .stars.selected:has(.star-2.active) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars.selected:has(.star-2.active) .star-2::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-3:hover) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-3:hover) .star-2::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-3:hover) .star-3::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-3:focus-visible) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-3:focus-visible) .star-2::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-3:focus-visible) .star-3::before,
.hitomo-reviews-panel .comment-form-rating .stars.selected:has(.star-3.active) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars.selected:has(.star-3.active) .star-2::before,
.hitomo-reviews-panel .comment-form-rating .stars.selected:has(.star-3.active) .star-3::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-4:hover) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-4:hover) .star-2::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-4:hover) .star-3::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-4:hover) .star-4::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-4:focus-visible) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-4:focus-visible) .star-2::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-4:focus-visible) .star-3::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-4:focus-visible) .star-4::before,
.hitomo-reviews-panel .comment-form-rating .stars.selected:has(.star-4.active) .star-1::before,
.hitomo-reviews-panel .comment-form-rating .stars.selected:has(.star-4.active) .star-2::before,
.hitomo-reviews-panel .comment-form-rating .stars.selected:has(.star-4.active) .star-3::before,
.hitomo-reviews-panel .comment-form-rating .stars.selected:has(.star-4.active) .star-4::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-5:hover) a::before,
.hitomo-reviews-panel .comment-form-rating .stars:has(.star-5:focus-visible) a::before,
.hitomo-reviews-panel .comment-form-rating .stars.selected:has(.star-5.active) a::before {
  content: "★";
  color: var(--accent);
}

.hitomo-reviews-panel .comment-form-cookies-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.hitomo-reviews-panel .comment-form-cookies-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.hitomo-reviews-panel .comment-form-cookies-consent label {
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  line-height: 1.45;
}

.hitomo-reviews-panel .form-submit .submit,
.hitomo-reviews-panel .cr-single-product-rev-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-on, #fff);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
}

.hitomo-reviews-panel .form-submit .submit:hover,
.hitomo-reviews-panel .cr-single-product-rev-submit:hover {
  background: var(--accent-d);
}

.hitomo-product-aplus {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.hitomo-aplus-picture,
.hitomo-aplus-picture img {
  display: block;
  width: 100%;
}

.hitomo-aplus-picture img {
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(40, 30, 20, .08);
}

.commentlist {
  display: grid;
  gap: 18px;
}

.comment_container {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-order {
  max-width: var(--container);
  margin: 48px auto;
  padding-inline: var(--gutter);
}

.woocommerce-cart-form table,
.woocommerce-checkout table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-cart-form th,
.woocommerce-cart-form td,
.woocommerce-checkout th,
.woocommerce-checkout td {
  padding: 16px 10px;
  border-bottom: 1px solid var(--line);
}

body.woocommerce-checkout {
  background: #fff;
}

body.woocommerce-checkout .hitomo-page {
  padding-block: 0;
  background: #fff;
}

body.woocommerce-checkout .hitomo-page > .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

body.woocommerce-checkout .shead__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.woocommerce-checkout .hitomo-page-content {
  color: #171717;
}

body.woocommerce-checkout .hitomo-page-content > .woocommerce {
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
}

body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-login {
  width: min(100% - 40px, 740px);
  margin: 20px auto 0;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .checkout_coupon {
  display: none !important;
}

body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error {
  max-width: none;
  margin: 16px 0;
  padding: 14px 16px;
  border-color: #ddd8cf;
  border-radius: 10px;
  background: #faf8f3;
  color: #2c2824;
  font-size: 14px;
  line-height: 1.45;
}

body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .78fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  min-height: calc(100vh - 86px);
  margin: 0;
}

body.woocommerce-checkout #customer_details {
  display: block;
  grid-column: 1;
  grid-row: 1 / 3;
  padding: clamp(34px, 5vw, 72px) clamp(24px, 6vw, 88px);
  background: #fff;
}

body.woocommerce-checkout #customer_details::before {
  content: "Checkout";
  display: block;
  margin-bottom: 26px;
  font-family: var(--font-body);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
  float: none;
  width: 100%;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  display: flow-root;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading {
  margin: 30px 0 16px;
  font-family: var(--font-body);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

body.woocommerce-checkout .woocommerce-billing-fields h3:first-child {
  margin-top: 0;
}

body.woocommerce-checkout .form-row {
  display: block;
  float: none !important;
  clear: none;
  width: 100% !important;
  margin: 0 0 14px;
  padding: 0;
}

body.woocommerce-checkout #billing_first_name_field,
body.woocommerce-checkout #billing_last_name_field,
body.woocommerce-checkout #shipping_first_name_field,
body.woocommerce-checkout #shipping_last_name_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #billing_state_field,
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #shipping_city_field,
body.woocommerce-checkout #shipping_state_field,
body.woocommerce-checkout #shipping_postcode_field {
  display: inline-block;
  width: calc(50% - 8px) !important;
  vertical-align: top;
}

body.woocommerce-checkout #billing_first_name_field,
body.woocommerce-checkout #shipping_first_name_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #shipping_city_field {
  margin-right: 16px;
}

body.woocommerce-checkout .form-row label {
  display: block;
  margin: 0 0 7px;
  color: #4f4a44;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

body.woocommerce-checkout .required {
  color: #6b7f4b;
  text-decoration: none;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
  width: 100% !important;
  min-height: 56px;
  border: 1px solid #d9d5cd;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  color: #211d19;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.3;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select {
  padding: 0 16px;
}

body.woocommerce-checkout textarea {
  min-height: 116px;
  padding-block: 14px;
  resize: vertical;
}

body.woocommerce-checkout input.input-text:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
body.woocommerce-checkout .select2-container--default .select2-selection--single:focus {
  border-color: #8b9868;
  outline: 3px solid rgba(139, 152, 104, .14);
}

body.woocommerce-checkout .select2-container {
  width: 100% !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  padding: 0 42px 0 16px;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  color: #211d19;
  line-height: 1.3;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

body.woocommerce-checkout .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  color: #211d19;
  font-size: 15px;
}

body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #6b7f4b;
}

body.woocommerce-checkout #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: clamp(34px, 5vw, 72px) clamp(24px, 5vw, 68px) 0;
  background: #f7f6f3;
  border-left: 1px solid #dedbd4;
}

body.woocommerce-checkout #order_review_heading::before {
  content: "Order summary";
}

body.woocommerce-checkout #order_review_heading {
  font-size: 0;
}

body.woocommerce-checkout #order_review_heading::before {
  font-size: clamp(22px, 2vw, 30px);
}

body.woocommerce-checkout #order_review {
  grid-column: 2;
  grid-row: 2;
  padding: 20px clamp(24px, 5vw, 68px) clamp(34px, 5vw, 72px);
  background: #f7f6f3;
  border-left: 1px solid #dedbd4;
  min-height: 100%;
}

body.woocommerce-checkout #order_review table.shop_table {
  margin: 0 0 26px;
  border: 0;
  background: transparent;
  border-collapse: collapse;
}

body.woocommerce-checkout #order_review table.shop_table thead {
  display: none;
}

body.woocommerce-checkout #order_review th,
body.woocommerce-checkout #order_review td {
  padding: 16px 0;
  border-bottom: 1px solid #dfdad0;
  color: #211d19;
  vertical-align: top;
}

body.woocommerce-checkout #order_review td:last-child,
body.woocommerce-checkout #order_review th:last-child {
  text-align: right;
}

body.woocommerce-checkout #order_review .product-name {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

body.woocommerce-checkout #order_review tbody .product-name {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  text-align: left;
}

body.woocommerce-checkout .hitomo-checkout-product {
  display: contents;
}

body.woocommerce-checkout .hitomo-checkout-product__thumb {
  position: relative;
  display: block;
  grid-row: span 3;
  width: 72px;
  height: 72px;
  border: 1px solid #e2ded6;
  border-radius: 10px;
  background: #fff;
}

body.woocommerce-checkout .hitomo-checkout-product__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
}

body.woocommerce-checkout .hitomo-checkout-product__badge {
  position: absolute;
  top: -9px;
  right: -9px;
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border: 2px solid #f7f6f3;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  z-index: 2;
}

body.woocommerce-checkout .hitomo-checkout-product__copy,
body.woocommerce-checkout .hitomo-checkout-quantity,
body.woocommerce-checkout #order_review .product-name .variation {
  grid-column: 2;
}

body.woocommerce-checkout .hitomo-checkout-product__title {
  display: block;
  max-width: 34ch;
  color: #171717;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

body.woocommerce-checkout .hitomo-checkout-quantity {
  display: block;
  margin-top: 4px;
  color: #5f5b55;
  font-size: 14px;
  font-weight: 600;
}

body.woocommerce-checkout #order_review .product-name .variation {
  margin: 5px 0 0;
  color: #67635d;
  font-size: 13px;
  font-weight: 500;
}

body.woocommerce-checkout #order_review .product-name .variation dt,
body.woocommerce-checkout #order_review .product-name .variation dd {
  display: inline;
  margin: 0;
  padding: 0;
}

body.woocommerce-checkout #order_review .product-name .variation dt {
  font-weight: 700;
}

body.woocommerce-checkout #order_review .product-name .variation dd p {
  display: inline;
  margin: 0;
}

body.woocommerce-checkout #order_review .product-total {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
}

body.woocommerce-checkout #order_review tfoot th,
body.woocommerce-checkout #order_review tfoot td {
  font-size: 16px;
  font-weight: 700;
}

body.woocommerce-checkout #order_review tfoot .order-total th,
body.woocommerce-checkout #order_review tfoot .order-total td {
  padding-top: 22px;
  font-size: 22px;
}

body.woocommerce-checkout .hitomo-checkout-coupon-row td {
  padding: 18px 0 20px !important;
  text-align: left !important;
}

body.woocommerce-checkout .hitomo-checkout-coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

body.woocommerce-checkout .hitomo-checkout-coupon input.input-text {
  min-height: 54px;
  border-color: #dedbd4;
  background: #fff;
}

body.woocommerce-checkout .hitomo-checkout-coupon button {
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid #dedbd4;
  border-radius: 8px;
  background: #fff;
  color: #5d5a54;
  font-size: 15px;
  font-weight: 700;
}

body.woocommerce-checkout .hitomo-checkout-coupon button:hover,
body.woocommerce-checkout .hitomo-checkout-coupon button:focus {
  border-color: #8b9868;
  color: #171717;
}

body.woocommerce-checkout .hitomo-checkout-coupon.is-processing {
  opacity: .72;
  pointer-events: none;
}

body.woocommerce-checkout .hitomo-checkout-coupon__message {
  grid-column: 1 / -1;
  min-height: 0;
  color: #5f5b55;
  font-size: 13px;
  line-height: 1.4;
}

body.woocommerce-checkout .hitomo-checkout-coupon__message .woocommerce-error,
body.woocommerce-checkout .hitomo-checkout-coupon__message .woocommerce-message,
body.woocommerce-checkout .hitomo-checkout-coupon__message .woocommerce-info {
  margin: 2px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
}

body.woocommerce-checkout #payment {
  background: transparent;
  border: 0;
}

body.woocommerce-checkout #payment ul.payment_methods {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

body.woocommerce-checkout #payment ul.payment_methods li {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #dedbd4;
  border-radius: 12px;
  background: #fff;
  color: #211d19;
  font-size: 15px;
}

body.woocommerce-checkout #payment ul.payment_methods li label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

body.woocommerce-checkout #payment ul.payment_methods li.payment_method_ppcp-credit-card-gateway {
  overflow: hidden;
  padding: 0;
}

body.woocommerce-checkout #payment ul.payment_methods li.payment_method_ppcp-credit-card-gateway > input.input-radio {
  margin: 21px 0 0 16px;
}

body.woocommerce-checkout #payment ul.payment_methods li.payment_method_ppcp-credit-card-gateway > label {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  width: calc(100% - 46px);
  margin-left: 8px;
  padding: 18px 16px 16px 0;
  vertical-align: top;
}

body.woocommerce-checkout .hitomo-card-brands {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  margin-left: auto;
}

body.woocommerce-checkout .hitomo-card-brand {
  display: inline-grid;
  min-width: 38px;
  height: 24px;
  place-items: center;
  border: 1px solid #d8d5ce;
  border-radius: 5px;
  background: #fff;
  color: #171717;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}

body.woocommerce-checkout .hitomo-card-brand--visa {
  color: #213b87;
}

body.woocommerce-checkout .hitomo-card-brand--mc {
  color: #bf3c21;
}

body.woocommerce-checkout .hitomo-card-brand--amex {
  color: #1f6db6;
}

body.woocommerce-checkout #payment div.payment_box {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f2f0ea;
  color: #5a544d;
  font-size: 14px;
  line-height: 1.45;
}

body.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}

body.woocommerce-checkout #payment .payment_method_ppcp-credit-card-gateway div.payment_box {
  margin: 0;
  padding: 22px;
  border-top: 1px solid #dedbd4;
  border-radius: 0;
  background: #f7f7f5;
}

body.woocommerce-checkout #wc-ppcp-credit-card-gateway-cc-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.woocommerce-checkout #ppcp-credit-card-gateway-card-number,
body.woocommerce-checkout #ppcp-credit-card-gateway-card-expiry,
body.woocommerce-checkout #ppcp-credit-card-gateway-card-cvc {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #111 !important;
  font-family: var(--hitomo-sans, "Inter", Arial, sans-serif) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 66px !important;
  letter-spacing: 0 !important;
  outline: 0 !important;
  padding: 0 22px !important;
  transition: none !important;
}

body.woocommerce-checkout #wc-ppcp-credit-card-gateway-cc-form .form-row {
  display: block;
  width: 100% !important;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
}

body.woocommerce-checkout #wc-ppcp-credit-card-gateway-cc-form .form-row-wide {
  grid-column: 1 / -1;
}

body.woocommerce-checkout #wc-ppcp-credit-card-gateway-cc-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.woocommerce-checkout #wc-ppcp-credit-card-gateway-cc-form .form-row > div[id^="zoid-paypal-card"] {
  position: relative;
  height: 66px !important;
  overflow: hidden;
  border: 1px solid #d9d5cd;
  border-radius: 10px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

body.woocommerce-checkout #wc-ppcp-credit-card-gateway-cc-form .form-row-wide > div[id^="zoid-paypal-card-number-field"]::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 1px;
  bottom: 1px;
  left: 1px;
  width: 58px;
  border-radius: 9px 0 0 9px;
  background: #fff;
  pointer-events: none;
}

body.woocommerce-checkout #wc-ppcp-credit-card-gateway-cc-form .form-row > div[id^="zoid-paypal-card"]:focus-within {
  border-color: #8b9868;
  box-shadow: 0 0 0 3px rgba(139, 152, 104, .14);
}

body.woocommerce-checkout #wc-ppcp-credit-card-gateway-cc-form iframe {
  width: 100% !important;
  height: 66px !important;
  min-height: 66px;
  border: 0 !important;
  background: #fff !important;
  color-scheme: light;
}

body.woocommerce-checkout #payment .form-row {
  margin: 0;
}

body.woocommerce-checkout #place_order,
body.woocommerce-checkout .ppcp-axo-order-button,
body.woocommerce-checkout .ppcp-dcc-order-button {
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  border-radius: 999px;
  background: #6b7f4b;
  color: #fff;
  font-size: 17px;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout .ppcp-axo-order-button:hover,
body.woocommerce-checkout .ppcp-dcc-order-button:hover {
  background: #4b6134;
}

body.woocommerce-checkout .ppcp-messages,
body.woocommerce-checkout [id^="ppc-button"],
body.woocommerce-checkout [id^="ppcp-"] {
  margin-top: 12px;
}

.woocommerce-cart-form .hitomo-qty-label {
  display: none;
}

.woocommerce-cart-form .quantity {
  display: grid;
  grid-template-columns: 38px 56px 38px;
  align-items: center;
  width: 132px;
  min-height: 42px;
  border: 1px solid rgba(57, 49, 42, .34);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 250, 241, .62);
}

.woocommerce-cart-form .quantity input.qty {
  width: 100%;
  height: 42px;
  border: 0;
  border-inline: 1px solid rgba(57, 49, 42, .12);
  text-align: center;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  -moz-appearance: textfield;
}

.woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.woocommerce-cart-form .hitomo-qty-btn {
  width: 38px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

.woocommerce-cart-form .hitomo-qty-btn:hover {
  background: rgba(102, 123, 80, .1);
  color: var(--accent-d);
}

body.woocommerce-cart .hitomo-page {
  padding-block: clamp(34px, 5vw, 72px);
}

body.woocommerce-cart .hitomo-page > .container {
  max-width: none;
  padding-inline: clamp(18px, 3vw, 44px);
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
  display: none;
}

.hitomo-cart-page {
  width: min(100%, 1420px);
  margin-inline: auto;
  color: var(--ink);
}

.hitomo-cart-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.hitomo-cart-top h1 {
  font-family: var(--font-body);
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: 0;
}

.hitomo-cart-continue {
  margin-top: 10px;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hitomo-cart-continue:hover {
  color: var(--accent-d);
}

.hitomo-cart-table {
  display: grid;
  border-top: 1px solid var(--line);
}

.hitomo-cart-head,
.hitomo-cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 260px) minmax(150px, 210px);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
}

.hitomo-cart-head {
  min-height: 70px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.hitomo-cart-head span:nth-child(2),
.hitomo-cart-head span:nth-child(3) {
  text-align: center;
}

.hitomo-cart-row {
  padding-block: clamp(26px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  transition: opacity .2s ease;
}

.hitomo-cart-product {
  display: grid;
  grid-template-columns: clamp(112px, 10vw, 150px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
}

.hitomo-cart-thumb {
  display: block;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, .52);
  overflow: hidden;
}

.hitomo-cart-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hitomo-cart-copy {
  min-width: 0;
}

.hitomo-cart-copy h2 {
  max-width: 54ch;
  font-family: var(--font-body);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: 0;
}

.hitomo-cart-copy h2 a:hover {
  color: var(--accent-d);
}

.hitomo-cart-price {
  margin-top: 7px;
  font-size: 18px;
  font-weight: 600;
}

.hitomo-cart-meta {
  max-width: 46ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.hitomo-cart-qty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hitomo-cart-page .hitomo-qty-label {
  display: none;
}

.hitomo-cart-page .quantity {
  display: grid;
  grid-template-columns: 48px 76px 48px;
  align-items: center;
  width: 172px;
  min-height: 54px;
  border: 1px solid rgba(57, 49, 42, .54);
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.hitomo-cart-page .quantity input.qty {
  width: 100%;
  height: 54px;
  border: 0;
  text-align: center;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  -moz-appearance: textfield;
}

.hitomo-cart-page .quantity input.qty::-webkit-outer-spin-button,
.hitomo-cart-page .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hitomo-cart-page .hitomo-qty-btn {
  width: 48px;
  height: 54px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}

.hitomo-cart-page .hitomo-qty-btn:hover {
  background: rgba(102, 123, 80, .1);
  color: var(--ink);
}

.hitomo-cart-remove {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  transition: background .18s ease, color .18s ease;
}

.hitomo-cart-remove:hover {
  background: rgba(57, 49, 42, .08);
  color: var(--accent-d);
}

.hitomo-cart-line-total {
  justify-self: end;
  text-align: right;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  white-space: nowrap;
}

.hitomo-cart-summary {
  width: min(100%, 520px);
  margin: clamp(48px, 6vw, 72px) 0 0 auto;
  display: grid;
  gap: 22px;
  text-align: right;
}

.hitomo-cart-total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 22px;
  font-size: clamp(18px, 1.7vw, 24px);
}

.hitomo-cart-total strong {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  font-weight: 700;
}

.hitomo-cart-total small {
  color: var(--muted);
  font-size: .78em;
  font-weight: 600;
}

.hitomo-cart-summary p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.5;
}

.hitomo-cart-summary .btn {
  min-height: 58px;
  font-size: 17px;
}

.hitomo-cart-empty {
  max-width: 580px;
  padding-block: clamp(46px, 8vw, 96px);
}

.hitomo-cart-empty h2 {
  font-family: var(--font-body);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: 0;
}

.hitomo-cart-empty p {
  margin: 12px 0 28px;
  color: var(--muted);
}

.hitomo-cart-page.is-updating {
  opacity: .62;
  pointer-events: none;
}

.hitomo-toast-stack {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 5000;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
}

.hitomo-toast {
  transform: translateY(10px);
  opacity: 0;
  padding: 14px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: color-mix(in oklab, var(--surface) 92%, white);
  box-shadow: 0 20px 46px rgba(40, 30, 20, .16);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  transition: opacity .2s ease, transform .2s ease;
}

.hitomo-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.hitomo-toast--error {
  border-color: rgba(139, 53, 38, .35);
  color: #7f2b1e;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hitomo-shop-grid {
    --cols: 2;
  }

  .hitomo-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hitomo-article-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hitomo-collection-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hitomo-reviews-panel .woocommerce-Reviews {
    grid-template-columns: 1fr;
  }

  .hitomo-cart-head,
  .hitomo-cart-row {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  }

  .hitomo-cart-head span:nth-child(3),
  .hitomo-cart-line-total {
    display: none;
  }

  .hitomo-cart-product {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  body.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    grid-column: 1;
    grid-row: auto;
    border-left: 0;
  }

  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    background: #f7f6f3;
  }
}

@media (max-width: 720px) {
  .hitomo-shop-grid {
    --cols: 1;
  }
  .hitomo-blog-grid {
    grid-template-columns: 1fr;
  }
  .hitomo-blog-hero .shead {
    margin-top: 28px;
  }
  .hitomo-blog-card {
    border-radius: 20px;
  }
  .hitomo-article-head {
    margin-top: 28px;
  }
  .hitomo-article-head h1 {
    max-width: 100%;
    font-size: clamp(36px, 9.8vw, 52px);
  }
  .hitomo-article-head > p,
  .hitomo-article-content {
    font-size: 17px;
  }
  .hitomo-article-content h2 {
    font-size: clamp(26px, 7.2vw, 32px);
  }
  .hitomo-article-content h3 {
    font-size: clamp(22px, 6vw, 28px);
  }
  .hitomo-collection-head {
    margin-top: 28px;
  }
  .hitomo-collection-head h1 {
    max-width: 100%;
    font-size: clamp(36px, 9.8vw, 52px);
  }
  .hitomo-article-featured {
    border-radius: 20px;
  }
  .gallery,
  .gallery__main,
  .pd-info,
  .hitomo-add-form,
  .variations_form {
    width: 100%;
    max-width: 100%;
  }
  .gallery__thumbs {
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 4px 1px;
    gap: 8px;
  }
  .gallery__nav {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }
  .gallery__thumb-arrow {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  .gallery__thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
  }
  .tabs__nav {
    flex-wrap: wrap;
  }
  .tab {
    padding: 13px 15px;
  }
  .pd-actions,
  .cart {
    flex-direction: column;
  }
  .single_add_to_cart_button {
    width: 100%;
  }
  .hitomo-buy-panel {
    max-width: 100%;
    padding: 16px;
    border-radius: 18px;
  }
  .hitomo-buy-panel .woocommerce-variation-add-to-cart,
  .hitomo-buy-panel form.cart:not(.variations_form) {
    grid-template-columns: 1fr;
  }
  .hitomo-buy-panel .quantity {
    width: min(100%, 220px);
  }
  body.woocommerce-checkout .woocommerce-notices-wrapper,
  body.woocommerce-checkout .woocommerce-form-login-toggle,
  body.woocommerce-checkout .woocommerce-form-coupon-toggle,
  body.woocommerce-checkout .woocommerce-form-login,
  body.woocommerce-checkout .checkout_coupon {
    width: calc(100% - 32px);
  }
  body.woocommerce-checkout #customer_details {
    padding: 28px 18px 34px;
  }
  body.woocommerce-checkout #order_review_heading {
    padding: 30px 18px 0;
  }
  body.woocommerce-checkout #order_review {
    padding: 18px 18px 34px;
  }
  body.woocommerce-checkout #order_review tbody .product-name {
    grid-template-columns: 62px minmax(0, 1fr);
    column-gap: 12px;
  }
  body.woocommerce-checkout .hitomo-checkout-product__thumb {
    width: 62px;
    height: 62px;
    border-radius: 9px;
  }
  body.woocommerce-checkout .hitomo-checkout-product__title {
    font-size: 14px;
  }
  body.woocommerce-checkout .hitomo-checkout-coupon {
    grid-template-columns: minmax(0, 1fr) minmax(84px, auto);
    gap: 8px;
  }
  body.woocommerce-checkout .hitomo-checkout-coupon button {
    padding-inline: 14px;
  }
  body.woocommerce-checkout #payment .payment_method_ppcp-credit-card-gateway div.payment_box {
    padding: 18px;
  }
  body.woocommerce-checkout #payment ul.payment_methods li.payment_method_ppcp-credit-card-gateway > label {
    flex-wrap: wrap;
    align-content: center;
  }
  body.woocommerce-checkout .hitomo-card-brands {
    flex-basis: 100%;
    justify-content: flex-start;
    margin: 4px 0 0;
  }
  body.woocommerce-checkout .hitomo-card-brand {
    min-width: 34px;
    height: 22px;
    font-size: 9px;
  }
  body.woocommerce-checkout #billing_first_name_field,
  body.woocommerce-checkout #billing_last_name_field,
  body.woocommerce-checkout #shipping_first_name_field,
  body.woocommerce-checkout #shipping_last_name_field,
  body.woocommerce-checkout #billing_city_field,
  body.woocommerce-checkout #billing_state_field,
  body.woocommerce-checkout #billing_postcode_field,
  body.woocommerce-checkout #shipping_city_field,
  body.woocommerce-checkout #shipping_state_field,
  body.woocommerce-checkout #shipping_postcode_field {
    display: block;
    width: 100% !important;
    margin-right: 0;
  }
  .hitomo-reviews-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
  }
  .hitomo-reviews-score {
    min-width: 0;
    justify-items: start;
    text-align: left;
  }
  .hitomo-reviews-panel #review_form_wrapper {
    padding: 22px;
  }
  .hitomo-reviews-panel .comment_container {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 18px;
  }
  .hitomo-reviews-panel .avatar {
    width: 44px;
    height: 44px;
  }
  .hitomo-cart-top {
    align-items: flex-start;
  }
  .hitomo-cart-head {
    display: none;
  }
  .hitomo-cart-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hitomo-cart-product {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }
  .hitomo-cart-qty {
    justify-content: space-between;
  }
  .hitomo-cart-line-total {
    display: block;
    justify-self: start;
    text-align: left;
  }
  .hitomo-cart-summary {
    margin-left: 0;
    text-align: left;
  }
  .hitomo-cart-total {
    justify-content: space-between;
    gap: 16px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body.woocommerce-checkout #wc-ppcp-credit-card-gateway-cc-form {
    grid-template-columns: 1fr;
  }
  body.woocommerce-checkout .hitomo-checkout-coupon {
    grid-template-columns: 1fr;
  }
  body.woocommerce-checkout .hitomo-checkout-coupon button {
    width: 100%;
  }
  .hitomo-cart-top {
    flex-direction: column;
    gap: 10px;
  }
  .hitomo-cart-continue {
    margin-top: 0;
  }
  .hitomo-cart-page .quantity {
    grid-template-columns: 42px 62px 42px;
    width: 146px;
    min-height: 48px;
  }
  .hitomo-cart-page .quantity input.qty,
  .hitomo-cart-page .hitomo-qty-btn {
    height: 48px;
  }
}
