/*
Theme Name: Trio Kaden
Theme URI: https://triokaden.com
Author: Beaming Bulb Commerce
Author URI: https://beamingbulb.co
Description: Japanese-premium minimal WooCommerce theme for Trio Kaden home appliances. Built from the v2 design prototype. Settings under Appearance > Customize > Trio Kaden.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trio-kaden
Tags: e-commerce, woocommerce, minimal, custom-colors
*/

/* ============================================
   TRIO KADEN — Brand System
   Japanese premium minimal
   ============================================ */

:root {
  --paper: #F6F3EE;
  --paper-deep: #EFEAE2;
  --ink: #1E1C19;
  --ink-soft: #4A463F;
  --stone: #8B857C;
  --line: #DDD6CB;
  --bronze: #9C6B3F;
  --bronze-soft: #B98A5E;
  --white: #FFFFFF;
  --tile-a: #ECE5DA;
  --tile-b: #E4E0D6;
  --tile-c: #E9E2DD;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --jp: 'Zen Kaku Gothic New', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze); font-weight: 600; margin-bottom: 16px;
}
.kanji { font-family: var(--jp); color: var(--stone); }

/* ---------- Announcement ---------- */
.announce {
  background: var(--ink); color: var(--paper);
  text-align: center; font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 10px 16px;
}
.announce a { border-bottom: 1px solid var(--bronze-soft); padding-bottom: 1px; margin-left: 8px; color: var(--bronze-soft); }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,243,238,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { font-family: var(--serif); font-size: 22px; letter-spacing: 0.06em; font-weight: 600; }
.logo span { color: var(--bronze); }
.logo small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--stone); font-weight: 500; margin-top: 1px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); transition: color .2s; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--bronze); }
.nav-actions { display: flex; gap: 20px; align-items: center; font-size: 13px; color: var(--ink-soft); }
.cart-btn {
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 18px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all .2s; background: transparent; cursor: pointer; font-weight: 500;
}
.cart-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--paper) 0%, var(--paper-deep) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px;
  align-items: center; padding-block: 96px 104px;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.08; margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--bronze); }
.hero p.lead { font-size: 17px; color: var(--ink-soft); max-width: 460px; margin-bottom: 40px; }
.hero-kanji {
  position: absolute; right: -20px; top: 40px;
  font-family: var(--jp); font-size: 280px; line-height: 1;
  color: var(--ink); opacity: 0.04; pointer-events: none; user-select: none;
}
.btn-row { display: flex; gap: 16px; align-items: center; }
.btn {
  display: inline-block; padding: 15px 36px; border-radius: 100px;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  transition: all .25s; cursor: pointer; border: 1px solid transparent;
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--bronze); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-text { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid var(--bronze); padding-bottom: 3px; color: var(--ink); }
.btn-text:hover { color: var(--bronze); }

.hero-visual { position: relative; }
.hero-tile {
  aspect-ratio: 4/4.6; border-radius: 6px;
  background: linear-gradient(150deg, #E8E1D5, #DDD4C4);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 40px 80px -40px rgba(30,28,25,0.35);
}
.hero-tile svg { width: 58%; height: auto; }
.hero-caption {
  display: flex; justify-content: space-between; margin-top: 18px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone);
}

/* ---------- Trust strip ---------- */
.trust {
  border-bottom: 1px solid var(--line); background: var(--white);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  text-align: center;
}
.trust-item { padding: 26px 12px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: none; }
.trust-item b { display: block; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.trust-item span { font-size: 12px; color: var(--stone); }

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; }
.section-head .sub { color: var(--stone); font-size: 15px; margin-top: 10px; max-width: 480px; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative; border-radius: 6px; padding: 36px 28px;
  min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .3s ease, box-shadow .3s ease; overflow: hidden;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(30,28,25,0.3); }
.cat-card .kanji-bg {
  position: absolute; top: 12px; right: 16px; font-family: var(--jp);
  font-size: 64px; opacity: 0.08; line-height: 1;
}
.cat-card h3 { font-size: 21px; margin-bottom: 4px; }
.cat-card p { font-size: 13px; color: var(--ink-soft); }
.cat-a { background: var(--tile-a); }
.cat-b { background: var(--tile-b); }
.cat-c { background: var(--tile-c); }
.cat-d { background: var(--paper-deep); }

/* ---------- Product grid ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.prod-card { cursor: pointer; }
.prod-img {
  position: relative; aspect-ratio: 1/1.08; border-radius: 6px; overflow: hidden;
  background: linear-gradient(155deg, var(--tile-a), var(--tile-b));
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow .3s ease; margin-bottom: 16px;
}
.prod-card:hover .prod-img { box-shadow: 0 20px 40px -20px rgba(30,28,25,0.35); }
.prod-img svg { width: 52%; height: auto; transition: transform .35s ease; }
.prod-card:hover .prod-img svg { transform: scale(1.05); }
.tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 5px 12px; border-radius: 100px; background: var(--white); color: var(--ink-soft);
}
.tag.offer { background: var(--ink); color: var(--paper); }
.tag.soldout { background: transparent; border: 1px solid var(--stone); color: var(--stone); }
.prod-card h4 { font-family: var(--sans); font-weight: 500; font-size: 14.5px; line-height: 1.45; margin-bottom: 6px; }
.prod-card .sku { font-size: 11px; letter-spacing: 0.12em; color: var(--stone); text-transform: uppercase; margin-bottom: 8px; }
.price { font-size: 15px; font-weight: 600; }
.price .was { font-weight: 400; color: var(--stone); text-decoration: line-through; font-size: 13px; margin-left: 8px; }

/* ---------- Philosophy band ---------- */
.philosophy {
  background: var(--ink); color: var(--paper); padding: 110px 0;
}
.phil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.philosophy h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.18; }
.philosophy h2 em { font-style: italic; color: var(--bronze-soft); }
.philosophy p { color: #B5AFA5; font-size: 16px; margin-bottom: 20px; }
.phil-values { display: grid; gap: 0; }
.phil-value { border-top: 1px solid #3A372F; padding: 26px 0; display: flex; gap: 24px; align-items: baseline; }
.phil-value:last-child { border-bottom: 1px solid #3A372F; }
.phil-value .num { font-family: var(--serif); font-style: italic; color: var(--bronze-soft); font-size: 16px; min-width: 32px; }
.phil-value b { display: block; font-size: 15px; letter-spacing: 0.04em; margin-bottom: 4px; }
.phil-value span { font-size: 13.5px; color: #8E887D; }

/* ---------- Story split ---------- */
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.story-tile {
  aspect-ratio: 1/1.15; border-radius: 6px;
  background: linear-gradient(165deg, var(--tile-c), var(--tile-b));
  display: flex; align-items: center; justify-content: center; position: relative;
}
.story-tile .kanji { font-size: 120px; opacity: 0.14; }
.story-copy h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 24px; line-height: 1.18; }
.story-copy p { color: var(--ink-soft); margin-bottom: 18px; max-width: 520px; }
.stat-row { display: flex; gap: 56px; margin: 36px 0 40px; }
.stat b { font-family: var(--serif); font-size: 34px; font-weight: 500; display: block; }
.stat span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--paper-deep); border-top: 1px solid var(--line); padding: 80px 0; text-align: center; }
.newsletter h2 { font-size: 30px; margin-bottom: 12px; }
.newsletter p { color: var(--stone); margin-bottom: 32px; }
.news-form { display: flex; max-width: 440px; margin: 0 auto; gap: 10px; }
.news-form input {
  flex: 1; padding: 14px 22px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--white); font-family: var(--sans); font-size: 14px; outline: none;
}
.news-form input:focus { border-color: var(--bronze); }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #8E887D; padding: 72px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.foot-grid .logo { color: var(--paper); margin-bottom: 16px; }
.foot-grid p { font-size: 13.5px; max-width: 300px; }
.foot-col b { display: block; color: var(--paper); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.foot-col a { display: block; font-size: 13.5px; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--bronze-soft); }
.foot-bottom {
  border-top: 1px solid #3A372F; padding-top: 28px;
  display: flex; justify-content: space-between; font-size: 12px;
}

/* ---------- Collection page ---------- */
.page-head { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 12px; }
.page-head p { color: var(--stone); max-width: 520px; }
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; padding: 28px 0;
}
.filter-btn {
  padding: 9px 22px; border-radius: 100px; border: 1px solid var(--line);
  background: transparent; font-family: var(--sans); font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  transition: all .2s; color: var(--ink-soft); font-weight: 500;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.collection-grid { padding: 16px 0 96px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; padding-block: 72px 96px; }
.pdp-gallery .main-tile {
  aspect-ratio: 1/1.05; border-radius: 6px;
  background: linear-gradient(155deg, var(--tile-a), var(--tile-b));
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.pdp-gallery .main-tile svg { width: 56%; }
.thumb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.thumb { aspect-ratio: 1; border-radius: 4px; background: var(--paper-deep); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s; }
.thumb:hover, .thumb.active { border-color: var(--bronze); }
.thumb svg { width: 50%; }
.pdp-info .sku { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }
.pdp-info h1 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; margin-bottom: 18px; }
.pdp-price { font-size: 26px; font-family: var(--serif); margin-bottom: 6px; }
.pdp-price .was { font-size: 16px; color: var(--stone); text-decoration: line-through; margin-left: 12px; font-family: var(--sans); }
.pdp-offer-note { font-size: 12.5px; color: var(--bronze); margin-bottom: 28px; }
.pdp-desc { color: var(--ink-soft); margin-bottom: 32px; }
.option-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 10px; font-weight: 600; }
.qty-row { display: flex; gap: 14px; margin-bottom: 36px; }
.qty {
  display: flex; align-items: center; border: 1px solid var(--line); border-radius: 100px;
}
.qty button { width: 44px; height: 50px; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--ink-soft); }
.qty span { width: 36px; text-align: center; font-weight: 600; }
.pdp-meta { border-top: 1px solid var(--line); }
.meta-row { border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; justify-content: space-between; font-size: 14px; }
.meta-row b { font-weight: 600; }
.meta-row span { color: var(--stone); }

.spec-band { background: var(--white); border-top: 1px solid var(--line); padding: 88px 0; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; }
.spec-item { border-top: 2px solid var(--ink); padding-top: 22px; }
.spec-item b { font-family: var(--serif); font-size: 19px; display: block; margin-bottom: 8px; font-weight: 500; }
.spec-item p { font-size: 14px; color: var(--ink-soft); }

/* ---------- About page ---------- */
.about-hero { padding: 100px 0; text-align: center; border-bottom: 1px solid var(--line); }
.about-hero h1 { font-size: clamp(36px, 4.6vw, 60px); max-width: 760px; margin: 0 auto 24px; line-height: 1.12; }
.about-hero h1 em { font-style: italic; color: var(--bronze); }
.about-hero p { max-width: 560px; margin: 0 auto; color: var(--ink-soft); font-size: 17px; }
.timeline { max-width: 720px; margin: 0 auto; padding: 88px 0; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.tl-item .year { font-family: var(--serif); font-size: 26px; color: var(--bronze); font-style: italic; }
.tl-item b { display: block; font-size: 16px; margin-bottom: 6px; }
.tl-item p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .phil-grid, .story-grid, .pdp { grid-template-columns: 1fr; gap: 48px; }
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-left: none; border-top: 1px solid var(--line); }
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { padding-block: 56px 64px; }
  section.block { padding: 64px 0; }
}
@media (max-width: 560px) {
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .news-form { flex-direction: column; }
  .stat-row { gap: 32px; }
}

/* =====================================================
   v2 ADDITIONS
   ===================================================== */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 100px; z-index: 200; font-size: 13px; }
.skip:focus { left: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
button { font-family: var(--sans); }

/* Header: mobile drawer */
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 100px; width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; content: ''; transition: transform .25s, opacity .25s; }
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }
.cart-count { display: inline-block; min-width: 18px; text-align: center; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { gap: 12px; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 32px 20px; }
  .nav-open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-links li:last-child a { border-bottom: none; }
  .nav .logo { margin-right: auto; }
}

/* Cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(30,28,25,.45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.cart-open .scrim { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); z-index: 100; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; box-shadow: -20px 0 60px -30px rgba(30,28,25,.4); }
.cart-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; }
.icon-btn { background: none; border: 1px solid var(--line); border-radius: 100px; width: 38px; height: 38px; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink-soft); }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 26px; }
.drawer-empty { text-align: center; color: var(--stone); padding: 64px 0; font-size: 14px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-thumb { width: 64px; height: 64px; border-radius: 4px; background: linear-gradient(155deg, var(--tile-a), var(--tile-b)); display: flex; align-items: center; justify-content: center; }
.line-thumb svg { width: 70%; }
.line-item h4 { font-family: var(--sans); font-weight: 500; font-size: 13.5px; line-height: 1.4; margin-bottom: 8px; }
.mini-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; }
.mini-qty button { width: 28px; height: 28px; background: none; border: none; cursor: pointer; color: var(--ink-soft); }
.mini-qty span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 600; }
.line-price { font-size: 14px; font-weight: 600; text-align: right; }
.line-remove { display: block; background: none; border: none; color: var(--stone); font-size: 11.5px; text-decoration: underline; cursor: pointer; margin-top: 6px; margin-left: auto; }
.drawer-foot { padding: 22px 26px 26px; border-top: 1px solid var(--line); background: var(--white); }
.subtotal { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.subtotal b { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.drawer-note { font-size: 12px; color: var(--stone); margin-bottom: 16px; }
.drawer-foot .btn { width: 100%; text-align: center; }
.freeship { margin-bottom: 14px; font-size: 12.5px; color: var(--ink-soft); }
.freeship .bar { height: 4px; background: var(--line); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.freeship .bar i { display: block; height: 100%; background: var(--bronze); width: 0; transition: width .3s; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 22px; border-radius: 100px; font-size: 13px; opacity: 0; pointer-events: none; transition: all .3s; z-index: 150; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Collection toolbar */
.toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; padding: 24px 0 8px; }
.toolbar .filter-bar { padding: 0; }
.tools { display: flex; gap: 10px; align-items: center; }
.tools input, .tools select { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); font-family: var(--sans); font-size: 13px; outline: none; color: var(--ink); }
.tools input { width: 200px; }
.result-count { font-size: 12.5px; color: var(--stone); padding: 8px 0 20px; letter-spacing: .04em; }
.empty-state { grid-column: 1 / -1; text-align: center; color: var(--stone); padding: 64px 0; }
.prod-card { display: block; }
.add-quick { margin-top: 12px; width: 100%; padding: 10px; border-radius: 100px; border: 1px solid var(--ink); background: transparent; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: all .2s; }
.add-quick:hover { background: var(--ink); color: var(--paper); }
.add-quick[disabled] { border-color: var(--line); color: var(--stone); cursor: not-allowed; background: transparent; }
.cat-label { font-size: 11px; letter-spacing: .12em; color: var(--stone); text-transform: uppercase; margin-bottom: 6px; }

/* PDP extras */
.crumbs { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); padding: 28px 0 0; }
.crumbs a:hover { color: var(--bronze); }
.pdp { padding-top: 40px; }
.hl-list { list-style: none; margin: 0 0 32px; }
.hl-list li { padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); position: relative; }
.hl-list li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); }
.also-on { display: flex; gap: 12px; align-items: center; margin-top: 22px; font-size: 12.5px; color: var(--stone); flex-wrap: wrap; }
.also-on a { border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px; color: var(--ink-soft); font-weight: 500; }
.also-on a:hover { border-color: var(--bronze); color: var(--bronze); }
.pdp-info .btn[disabled] { background: var(--line); color: var(--stone); cursor: not-allowed; }

/* Marketplace strip */
.market-strip { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.market-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.market-inner p { font-size: 14.5px; color: var(--ink-soft); }
.market-inner p b { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink); }
.market-links { display: flex; gap: 12px; }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; z-index: 60; box-shadow: 0 12px 30px -10px rgba(30,28,25,.5); font-size: 11px; letter-spacing: .04em; font-weight: 600; }
.wa-float:hover { background: var(--bronze); }

/* Lifestyle variant */
.lifestyle .hero-tile { background: none; overflow: hidden; }
.lifestyle .hero-tile img, .story-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.lifestyle .cat-card { background: linear-gradient(to top, rgba(30,28,25,.78), rgba(30,28,25,.08) 62%), var(--img) center/cover; color: #fff; }
.lifestyle .cat-card p { color: rgba(255,255,255,.86); }
.lifestyle .cat-card .kanji-bg { color: #fff; opacity: .22; }
.story-photo { aspect-ratio: 1/1.15; border-radius: 6px; overflow: hidden; }
.about-band img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 560px) { .tools { width: 100%; } .tools input { flex: 1; width: auto; } .market-links { width: 100%; } }

/* =====================================================
   WORDPRESS + WOOCOMMERCE LAYER
   ===================================================== */
.admin-bar header.site { top: 32px; }
@media (max-width: 782px) { .admin-bar header.site { top: 46px; } }
.screen-reader-text { position: absolute !important; left: -9999px; }
.nav-links { margin: 0; padding: 0; }
.nav-links .current-menu-item > a, .nav-links .current_page_item > a { color: var(--bronze); }
.cart-btn { display: inline-block; color: var(--ink); }
.entry-content { padding-block: 56px 96px; }
.entry-content.narrow { max-width: 760px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content a { color: var(--bronze); text-decoration: underline; }
.post-item { padding: 32px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 26px; margin-bottom: 10px; }
.tk-shop > .wrap { padding-bottom: 96px; }

/* ---------- Buttons (override WooCommerce defaults) ---------- */
html body a.button, html body button.button, html body input.button,
html body .woocommerce a.button, html body .woocommerce button.button, html body .woocommerce input.button,
html body .woocommerce #respond input#submit, html body .woocommerce a.button.alt, html body .woocommerce button.button.alt,
html body .wc-block-components-button:not(.is-link), html body .wp-block-button__link {
  display: inline-block; background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  border-radius: 100px; padding: 14px 32px; font-family: var(--sans); font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background .25s, color .25s;
}
html body a.button:hover, html body button.button:hover, html body input.button:hover,
html body .woocommerce a.button:hover, html body .woocommerce button.button:hover, html body .woocommerce input.button:hover,
html body .woocommerce a.button.alt:hover, html body .woocommerce button.button.alt:hover,
html body .wc-block-components-button:not(.is-link):hover { background: var(--bronze); border-color: var(--bronze); color: var(--paper); }
html body .woocommerce button.button.alt.disabled, html body .woocommerce button.button:disabled, html body .woocommerce button.button.disabled { background: var(--line); border-color: var(--line); color: var(--stone); }
html body ul.products li.product .button {
  display: block; width: 100%; margin-top: 12px; padding: 10px; text-align: center; font-size: 12px; letter-spacing: .1em;
  background: transparent; color: var(--ink); border-color: var(--ink);
}
html body ul.products li.product .button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
ul.products li.product .added_to_cart { display: none; }
ul.products li.product .button.loading { opacity: .6; }

/* ---------- Product grid ---------- */
ul.products { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; margin: 0; padding: 0; }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { margin: 0; padding: 0; width: auto; float: none; position: relative; }
.woocommerce ul.products[class*="columns-"] li.product { width: auto; margin: 0; float: none; }
.prod-link { display: block; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.prod-img .tk-ph, .tk-gallery .tk-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.prod-img .tk-ph svg { width: 52%; height: auto; }
.prod-link h4 { font-family: var(--sans); font-weight: 500; font-size: 14.5px; line-height: 1.45; margin-bottom: 6px; }
.price del { color: var(--stone); font-weight: 400; font-size: 13px; margin-right: 8px; }
.price ins { text-decoration: none; background: none; font-weight: 600; }
.woocommerce-Price-amount { font-weight: inherit; }
.collection-grid, .toolbar + .result-count { margin: 0; }
.tools form { margin: 0; }
.tools .woocommerce-ordering { margin: 0; }
.tools input.search-field { width: 200px; }
.woocommerce-product-search { display: flex; gap: 8px; }
.woocommerce-product-search button { display: none; }
.result-count .woocommerce-result-count { margin: 0; font-size: 12.5px; color: var(--stone); float: none; }
.woocommerce-ordering select { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); font-family: var(--sans); font-size: 13px; color: var(--ink); }
.woocommerce-info, .woocommerce-no-products-found .woocommerce-info { margin-top: 24px; }

/* ---------- Single product ---------- */
.single-product div.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; padding-block: 40px 72px; }
.single-product div.product > * { min-width: 0; }
.single-product div.product .woocommerce-tabs, .single-product div.product .related, .single-product div.product .upsells, .single-product .tk-promise { grid-column: 1 / -1; }
.single-product div.product .tk-promise { margin-inline: calc(50% - 50vw); padding-inline: 0; }
.single-product .tk-promise .wrap { padding-inline: 32px; }
.woocommerce-breadcrumb, nav.crumbs { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); padding: 28px 0 0; }
nav.crumbs a:hover { color: var(--bronze); }
.tk-gallery .main-tile { aspect-ratio: 1 / 1.05; border-radius: 6px; background: linear-gradient(155deg, var(--tile-a), var(--tile-b)); display: flex; align-items: center; justify-content: center; }
.tk-gallery .tk-ph svg { width: 56%; height: auto; }
.woocommerce-product-gallery { position: relative; margin: 0; }
.woocommerce-product-gallery img { border-radius: 6px; width: 100%; height: auto; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 14px 0 0; padding: 0; }
.woocommerce-product-gallery .flex-control-thumbs li { width: auto; float: none; }
.woocommerce-product-gallery .flex-control-thumbs img { border: 1px solid var(--line); opacity: .7; cursor: pointer; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--bronze); }
.woocommerce-product-gallery__trigger { display: none; }
.summary .sku { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }
.summary .product_title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; margin-bottom: 18px; }
.summary p.price, .summary span.price { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 6px; display: block; }
.summary p.price del { font-family: var(--sans); font-size: 16px; margin: 0 0 0 12px; order: 2; }
.summary p.price { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; }
.summary .woocommerce-product-details__short-description { color: var(--ink-soft); margin-bottom: 24px; }
.summary form.cart { display: flex; gap: 14px; margin: 0 0 36px; align-items: center; flex-wrap: wrap; }
.summary .quantity .qty, .woocommerce .quantity .qty { width: 78px; height: 50px; border: 1px solid var(--line); border-radius: 100px; text-align: center; font-family: var(--sans); font-weight: 600; background: var(--white); }
.summary .stock { color: var(--stone); font-size: 13px; margin-bottom: 16px; }
.pdp-meta { border-top: 1px solid var(--line); margin-top: 8px; }
.woocommerce-tabs { margin-top: 24px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 32px; padding: 0; margin: 0 0 28px; border-bottom: 1px solid var(--line); overflow: visible; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs ul.tabs li { background: none; border: none; margin: 0; padding: 0; border-radius: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 14px 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--stone); }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: 0 2px 0 var(--bronze); }
.woocommerce-Tabs-panel h2 { font-size: 24px; margin-bottom: 16px; }
.related.products > h2, .upsells.products > h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 36px; }
.single-product .related { padding-top: 24px; }
.woocommerce-product-rating { margin-bottom: 14px; }

/* ---------- Notices, forms, tables ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--bronze); border-radius: 6px; color: var(--ink-soft); padding: 16px 22px; margin: 24px 0; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { border-top-color: #A33; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; float: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-page input[type="text"], .woocommerce-page input[type="email"], .woocommerce-page input[type="tel"], .woocommerce-page input[type="password"] {
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; background: var(--white); font-family: var(--sans); font-size: 14.5px; color: var(--ink);
}
.woocommerce form .form-row label { font-size: 13px; color: var(--ink-soft); }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 6px; border-collapse: separate; background: var(--white); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line); padding: 16px; }
.woocommerce .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { float: none; width: auto; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { color: var(--bronze); }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.cart-collaterals .cart_totals { float: none; width: 100%; max-width: 460px; margin-left: auto; }

/* ---------- Cart / checkout blocks ---------- */
.wc-block-cart, .wc-block-checkout { font-family: var(--sans); color: var(--ink); }
.wc-block-components-product-name, .wc-block-components-title { font-family: var(--serif); color: var(--ink); }
.wc-block-components-text-input input, .wc-block-components-select .wc-blocks-components-select__select { border-radius: 8px; border-color: var(--line); }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 32px; }

/* ---------- Cart drawer (mini-cart) ---------- */
.drawer-body { padding: 0; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.drawer-body .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer ul.woocommerce-mini-cart { list-style: none; margin: 0; padding: 8px 26px; flex: 1; overflow-y: auto; }
.drawer .woocommerce-mini-cart-item { position: relative; display: block; padding: 18px 28px 18px 80px; border-bottom: 1px solid var(--line); min-height: 100px; font-size: 13.5px; line-height: 1.4; }
.drawer .woocommerce-mini-cart-item a:not(.remove) { font-weight: 500; display: block; margin-bottom: 6px; }
.drawer .woocommerce-mini-cart-item img, .drawer .woocommerce-mini-cart-item .tk-ph { position: absolute; left: 0; top: 18px; width: 64px; height: 64px; border-radius: 4px; object-fit: cover; background: linear-gradient(155deg, var(--tile-a), var(--tile-b)); float: none; margin: 0; }
.drawer .woocommerce-mini-cart-item .tk-ph { display: flex; align-items: center; justify-content: center; }
.drawer .woocommerce-mini-cart-item .tk-ph svg { width: 70%; }
.drawer .woocommerce-mini-cart-item a.remove { position: absolute; right: 0; top: 16px; width: 24px; height: 24px; line-height: 22px; text-align: center; border: 1px solid var(--line); border-radius: 50%; color: var(--stone) !important; background: none; font-size: 15px; }
.drawer .woocommerce-mini-cart-item a.remove:hover { border-color: var(--ink); color: var(--ink) !important; background: none; }
.drawer .woocommerce-mini-cart-item .quantity { color: var(--stone); font-size: 13px; }
.drawer .woocommerce-mini-cart__empty-message { text-align: center; color: var(--stone); padding: 64px 26px; font-size: 14px; }
.drawer .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 0; padding: 18px 26px 6px; border-top: 1px solid var(--line); background: var(--white); font-size: 15px; }
.drawer .woocommerce-mini-cart__total strong { font-weight: 400; }
.drawer .woocommerce-mini-cart__total .amount { font-family: var(--serif); font-size: 20px; }
.drawer .freeship { padding: 14px 26px 0; background: var(--white); margin: 0; }
.drawer .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; padding: 14px 26px 26px; background: var(--white); }
.drawer .woocommerce-mini-cart__buttons a.button { display: block; text-align: center; width: 100%; }
.drawer .woocommerce-mini-cart__buttons a.button:not(.checkout) { background: transparent; color: var(--ink); }
.drawer .woocommerce-mini-cart__buttons a.button:not(.checkout):hover { background: var(--ink); color: var(--paper); }

@media (max-width: 980px) {
  .single-product div.product { grid-template-columns: 1fr; gap: 40px; }
  ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce .col2-set, .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  ul.products { gap: 20px 14px; }
  .tools input.search-field { width: 100%; }
  .woocommerce-product-search { flex: 1; }
}

/* ---------- Fixes after staging test: beat woocommerce.css specificity ---------- */
html body ul.products.products.products::before, html body ul.products.products.products::after { content: none; display: none; }
html body .price.price.price.price.price, html body .price.price.price.price.price ins, html body .price.price.price.price.price ins .amount, html body .price.price.price.price.price > .amount { color: var(--ink); }
html body .price.price.price.price.price del, html body .price.price.price.price.price del .amount { color: var(--stone); opacity: 1; }
html body .summary p.price { gap: 12px; }
html body .summary p.price del { margin: 0; }
html body div.product form.cart .button, html body div.product form.cart button.single_add_to_cart_button.button.alt,
html body .drawer .woocommerce-mini-cart__buttons a.button.checkout { background: var(--ink); border-color: var(--ink); color: var(--paper); height: 50px; padding: 0 32px; }
html body div.product form.cart button.single_add_to_cart_button.button.alt:hover,
html body .drawer .woocommerce-mini-cart__buttons a.button.checkout:hover { background: var(--bronze); border-color: var(--bronze); color: var(--paper); }
html body .drawer .woocommerce-mini-cart__buttons a.button.checkout { display: flex; align-items: center; justify-content: center; }
html body .drawer .woocommerce-mini-cart__buttons a.button:not(.checkout) { border-color: var(--ink); }
html body .drawer ul.woocommerce-mini-cart li.woocommerce-mini-cart-item { padding: 18px 28px 18px 80px; margin: 0; list-style: none; }
html body .drawer ul.woocommerce-mini-cart li.woocommerce-mini-cart-item img,
html body .drawer ul.woocommerce-mini-cart li.woocommerce-mini-cart-item .tk-ph { position: absolute; left: 0; top: 18px; width: 64px; height: 64px; float: none; margin: 0; }
.logo, .cart-btn { white-space: nowrap; }
@media (max-width: 560px) {
  .logo { font-size: 18px; }
  .logo small { font-size: 8px; letter-spacing: .28em; }
  .cart-btn { padding: 8px 14px; font-size: 11px; }
}
html body ul.products li.product.product.product .button { border: 1px solid var(--ink); border-radius: 100px; }

/* ---------- Variable products: option picker, selected-option price, stock line ---------- */
html body .summary table.variations { width: 100%; border: 0; margin: 4px 0 18px; border-collapse: collapse; }
html body .summary table.variations th, html body .summary table.variations td { display: block; padding: 0; border: 0; background: none; text-align: left; }
html body .summary table.variations th.label label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); font-weight: 500; margin-bottom: 8px; display: block; }
html body .summary table.variations td.value { margin-bottom: 14px; }
html body .summary table.variations select { width: 100%; max-width: 360px; height: 48px; padding: 0 44px 0 18px; border: 1px solid var(--line); border-radius: 100px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231E1C19' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center; -webkit-appearance: none; appearance: none; font-family: var(--sans); font-size: 14px; color: var(--ink); cursor: pointer; }
html body .summary table.variations select:focus { outline: none; border-color: var(--ink); }
html body .summary .reset_variations { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--stone); text-decoration: underline; }
html body .summary .single_variation_wrap .woocommerce-variation-price .price { font-family: var(--serif); font-size: 20px; margin: 0 0 6px; }
html body .summary .stock, html body .summary .stock.in-stock { color: var(--stone); font-size: 13px; margin: 0 0 16px; }
html body .summary .stock.out-of-stock { color: var(--bronze); }

/* ---------- Real product photos (white studio background) ---------- */
html body .prod-img:has(img) { background: var(--white); }
html body ul.products li.product .prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; box-sizing: border-box; margin: 0; }
html body .prod-link:hover .prod-img img { transform: scale(1.03); }
html body .prod-img img { transition: transform .35s ease; }
html body .prod-img .tag { z-index: 2; border: 1px solid var(--line); background: var(--paper); }
html body .prod-img .tag.offer { border-color: var(--ink); background: var(--ink); }
html body .prod-img .tag.soldout { background: var(--paper); }

/* Price order: current price first, slashed price after */
html body .price.price.price.price.price del { margin: 0 0 0 8px; }
html body .summary p.price.price.price.price.price { flex-direction: row; justify-content: flex-start; }
html body .summary p.price.price.price.price.price del { margin: 0; order: 0; }

/* =====================================================================
   Refinement pass: one control system across shop, product, cart, checkout
   - Buttons: pill, 52px (40px on cards), ink fill or ink outline, bronze hover
   - Fields: 52px, 12px radius, hairline border, white fill, ink focus ring
   ===================================================================== */
:root { --ctl-h: 52px; --field-r: 12px; --focus: 0 0 0 3px rgba(156,107,63,.18); }

/* Buttons */
html body a.button, html body button.button, html body input.button, html body .button.alt,
html body div.product form.cart .button, html body div.product form.cart button.single_add_to_cart_button.button.alt,
html body .wc-block-components-button:not(.is-link), html body .wc-block-cart__submit-button, html body .wc-block-components-checkout-place-order-button,
html body .drawer .woocommerce-mini-cart__buttons a.button {
  border-radius: 100px; min-height: var(--ctl-h); height: auto; padding: 0 32px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; letter-spacing: .14em; font-weight: 600; text-decoration: none; line-height: 1;
  box-shadow: none; transition: background .25s, color .25s, border-color .25s, transform .15s;
}
html body .button:active, html body .wc-block-components-button:not(.is-link):active { transform: translateY(1px); }
html body .wc-block-components-button:not(.is-link) .wc-block-components-button__text { text-decoration: none; }
html body .button:focus-visible, html body .wc-block-components-button:focus-visible { outline: none; box-shadow: var(--focus); }
html body ul.products li.product.product.product .button { min-height: 42px; padding: 0 16px; font-size: 11.5px; width: 100%; }
html body div.product form.cart button.single_add_to_cart_button.button.alt { flex: 1; max-width: 320px; }

/* Quantity stepper:  −  1  +  */
html body .quantity.tk-qty { display: inline-flex; align-items: center; height: var(--ctl-h); border: 1px solid var(--line); border-radius: 100px; background: var(--white); padding: 0 4px; }
html body .quantity.tk-qty .qty { width: 40px; height: 100%; border: 0; background: transparent; padding: 0; text-align: center; font-size: 15px; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
html body .quantity.tk-qty .qty::-webkit-outer-spin-button, html body .quantity.tk-qty .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
html body .quantity.tk-qty .qty:focus { outline: none; }
html body .quantity.tk-qty:focus-within { border-color: var(--ink); }
html body .tk-qty-btn { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
html body .tk-qty-btn:hover { background: var(--paper-deep); }
html body .tk-qty-btn:disabled { color: var(--line); cursor: default; background: transparent; }
html body .quantity:has(input[type="hidden"]) .tk-qty-btn { display: none; }
html body .summary form.cart { gap: 12px; }

/* Fields (classic forms + block cart/checkout) */
html body .woocommerce form .form-row input.input-text, html body .woocommerce form .form-row textarea, html body .woocommerce form .form-row select,
html body .wc-block-components-text-input input[type], html body .wc-block-components-textarea, html body .wc-blocks-components-select .wc-blocks-components-select__select,
html body .wc-block-components-combobox .wc-block-components-combobox-control input, html body .summary table.variations select,
html body .woocommerce-product-search input.search-field, html body .tools select {
  border: 1px solid var(--line); border-radius: var(--field-r); background-color: var(--white); box-shadow: none; color: var(--ink);
}
html body .summary table.variations select, html body .woocommerce-product-search input.search-field, html body .tools select { border-radius: 100px; }
html body .wc-block-components-text-input input[type]:focus, html body .wc-blocks-components-select .wc-blocks-components-select__select:focus,
html body .woocommerce form .form-row input.input-text:focus, html body .summary table.variations select:focus {
  border-color: var(--ink); box-shadow: var(--focus); outline: none;
}
html body .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { border-radius: 6px; border-color: var(--stone); }
html body .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--ink); border-color: var(--ink); }
html body .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--paper); }

/* Block cart & checkout surfaces */
html body .wc-block-components-sidebar .wc-block-components-panel, html body .wp-block-woocommerce-checkout-order-summary-block,
html body .wc-block-components-order-summary, html body .wc-block-checkout__sidebar .wc-block-components-totals-wrapper:first-child {
  border-color: var(--line);
}
html body .wp-block-woocommerce-checkout-order-summary-block { border-radius: 16px; background: var(--white); overflow: hidden; }
html body .wc-block-components-sale-badge { background: rgba(156,107,63,.1); color: var(--bronze); border: 0; border-radius: 100px; padding: 3px 10px; font-weight: 600; }
html body .wc-block-components-product-price { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 8px; flex-wrap: wrap; }
html body .wc-block-components-product-price del, html body .wc-block-components-product-price__regular { color: var(--stone); }
html body .wc-block-components-order-summary-item__quantity { background: var(--ink); color: var(--paper); border-color: var(--ink); }
html body .wc-block-components-notice-banner { border-radius: var(--field-r); }
html body .wc-block-components-totals-coupon__button { min-height: 44px; }

/* Product page: one price (top), updated when an option is chosen */
html body .summary .single_variation .woocommerce-variation-price { display: none; }
html body .summary .reset_variations { display: none !important; }
html body .summary table.variations { margin-bottom: 8px; }

/* Product tabs: quiet underline tabs, readable description column */
html body.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 36px; padding: 0; margin: 0 0 36px; border-bottom: 1px solid var(--line); background: none; }
html body.single-product .woocommerce-tabs ul.tabs::before { display: none; }
html body.single-product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; }
html body.single-product .woocommerce-tabs ul.tabs li::before, html body.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
html body.single-product .woocommerce-tabs ul.tabs li a { display: block; padding: 16px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--stone); }
html body.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--bronze); }
html body.single-product .woocommerce-Tabs-panel { max-width: 860px; margin: 0 auto; color: var(--ink-soft); line-height: 1.75; }
html body.single-product .woocommerce-Tabs-panel > h2:first-child { display: none; }
html body.single-product .woocommerce-Tabs-panel h1, html body.single-product .woocommerce-Tabs-panel h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--ink); margin: 40px 0 14px; }
html body.single-product .woocommerce-Tabs-panel h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink); margin: 32px 0 10px; }
html body.single-product .woocommerce-Tabs-panel img { max-width: 100%; height: auto; border-radius: 12px; margin: 24px auto; display: block; }
html body.single-product .woocommerce-Tabs-panel iframe { max-width: 100%; }
html body.single-product .woocommerce-Tabs-panel table { width: 100% !important; border-collapse: collapse; margin: 16px 0 !important; font-size: 14px; display: block; overflow-x: auto; }
html body.single-product .woocommerce-Tabs-panel table th, html body.single-product .woocommerce-Tabs-panel table td { border: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 14px 12px !important; background: none !important; vertical-align: top; }
html body.single-product .woocommerce-Tabs-panel table th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
html body.single-product .woocommerce-Tabs-panel details { border-bottom: 1px solid var(--line); padding: 14px 0; margin: 0 !important; }
html body.single-product .woocommerce-Tabs-panel summary { font-family: var(--sans) !important; font-size: 15px !important; color: var(--ink) !important; cursor: pointer; }
html body.single-product .woocommerce-Tabs-panel a { color: var(--bronze); }
html body.single-product .woocommerce-product-attributes { width: 100%; }

/* Gallery thumbnails */
html body .woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
html body .woocommerce-product-gallery .flex-control-thumbs li { width: auto !important; margin: 0 !important; }
html body .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 8px; border: 1px solid var(--line); opacity: .75; }
html body .woocommerce-product-gallery__image img { border-radius: 12px; }

html body.single-product .woocommerce-Tabs-panel p, html body.single-product .woocommerce-Tabs-panel li { text-align: left !important; }
html body .wc-block-components-form .wc-block-components-text-input input[type], html body .wc-block-checkout .wc-block-components-text-input input[type],
html body .wc-block-components-form .wc-blocks-components-select .wc-blocks-components-select__select, html body .wc-block-components-textarea {
  border-radius: var(--field-r) !important; border-color: var(--line) !important; background-color: var(--white) !important;
}
html body .wc-block-components-form .wc-block-components-text-input input[type]:focus { border-color: var(--ink) !important; box-shadow: var(--focus) !important; }
html body .wc-block-components-product-price { flex-direction: row; }
html body .wc-block-components-product-price .wc-block-components-product-price__value { order: -1; }
/* Card buttons: text centred vertically */
html body ul.products li.product.product.product .button { display: flex; align-items: center; justify-content: center; line-height: 1; padding-top: 0; padding-bottom: 0; }
/* Cards: equal height in a row, buttons aligned along the bottom */
html body ul.products li.product.product.product { display: flex; flex-direction: column; }
html body ul.products li.product .prod-link { flex: 1; }
/* Checkout fields: more inner breathing room, labels aligned to it */
html body .wc-block-components-form .wc-block-components-text-input input[type], html body .wc-block-checkout .wc-block-components-text-input input[type] { padding-left: 18px !important; padding-right: 18px !important; }
html body .wc-block-components-text-input label { left: 19px !important; max-width: calc(100% - 38px) !important; }
html body .wc-block-components-form .wc-blocks-components-select .wc-blocks-components-select__select { padding-left: 17px !important; padding-right: 44px !important; }
html body .wc-blocks-components-select .wc-blocks-components-select__label { left: 19px !important; }
html body .wc-blocks-components-select .wc-blocks-components-select__expand { right: 18px !important; }
html body .wc-block-components-address-form__address_2-toggle { padding-left: 2px; }
html body .tk-qty-btn:hover { background: transparent; }
@media (hover: hover) { html body .tk-qty-btn:not(:disabled):hover { background: var(--paper-deep); } }

@media (max-width: 560px) {
  html body div.product form.cart button.single_add_to_cart_button.button.alt { max-width: none; }
  html body.single-product .woocommerce-tabs ul.tabs { gap: 22px; overflow-x: auto; }
}

/* ---------- Product gallery: slider with arrows, thumbnails, full-screen viewer ---------- */
html body .woocommerce-product-gallery { position: relative; }
html body .woocommerce-product-gallery .flex-viewport { border-radius: 12px; background: var(--white); }
html body .woocommerce-product-gallery .woocommerce-product-gallery__image img { border-radius: 0; cursor: zoom-in; }
html body .woocommerce-product-gallery .flex-control-thumbs { gap: 5px; margin-top: 5px; }
html body .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 6px; transition: opacity .2s, border-color .2s; }
html body .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--ink); }
html body .woocommerce-product-gallery .flex-direction-nav { list-style: none; margin: 0; padding: 0; }
html body .woocommerce-product-gallery .flex-direction-nav a {
  position: absolute; top: var(--tk-nav-top, 40%); z-index: 3; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 1px solid var(--line); box-shadow: 0 6px 18px -8px rgba(30,28,25,.35);
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s, background .2s;
}
html body .woocommerce-product-gallery .flex-direction-nav a::before { content: ''; width: 9px; height: 9px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
html body .woocommerce-product-gallery .flex-direction-nav .flex-prev { left: 14px; }
html body .woocommerce-product-gallery .flex-direction-nav .flex-prev::before { transform: translateX(2px) rotate(-135deg); }
html body .woocommerce-product-gallery .flex-direction-nav .flex-next { right: 14px; }
html body .woocommerce-product-gallery .flex-direction-nav .flex-next::before { transform: translateX(-2px) rotate(45deg); }
html body .woocommerce-product-gallery:hover .flex-direction-nav a, html body .woocommerce-product-gallery .flex-direction-nav a:focus-visible { opacity: 1; }
html body .woocommerce-product-gallery .flex-direction-nav a:hover { background: var(--white); }
html body .woocommerce-product-gallery .flex-direction-nav a.flex-disabled { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { html body .woocommerce-product-gallery .flex-direction-nav a { opacity: 1; } }
/* ---------- Header dropdown (e.g. Support) ---------- */
html body .nav-links .menu-item-has-children { position: relative; }
html body .nav-links .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
html body .nav-links .menu-item-has-children > a::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
html body .nav-links .sub-menu {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 14px); left: 50%; min-width: 240px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(30,28,25,.3);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60;
}
html body .nav-links .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
html body .nav-links .menu-item-has-children:hover > .sub-menu, html body .nav-links .menu-item-has-children:focus-within > .sub-menu, html body .nav-links .menu-item-has-children.open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
html body .nav-links .menu-item-has-children:hover > a::after, html body .nav-links .menu-item-has-children.open > a::after { transform: translateY(1px) rotate(-135deg); }
html body .nav-links .sub-menu a { display: block; padding: 11px 14px; border-radius: 8px; font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
html body .nav-links .sub-menu a:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 980px) {
  html body.nav-open .nav-links { padding: 8px 24px 20px; box-shadow: 0 24px 40px -24px rgba(30,28,25,.35); }
  html body .nav-links .menu-item-has-children > a { display: flex; }
  html body .nav-links .menu-item-has-children > a::after { display: none; }
  html body .nav-links .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: none; padding: 0 0 6px 16px; min-width: 0; }
  html body .nav-links .sub-menu::before { display: none; }
  html body .nav-links .sub-menu a { padding: 12px 0; font-size: 13px; color: var(--stone); border-bottom: 0; }
}

/* ---------- Home hero banners (slider) ---------- */
html body .hero-banners { padding: 28px 0; }
html body .hb { position: relative; border-radius: 18px; overflow: hidden; background: var(--paper-deep); }
html body .hb-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
html body .hb-track::-webkit-scrollbar { display: none; }
html body .hb-slide { flex: 0 0 100%; scroll-snap-align: start; display: block; aspect-ratio: 1368 / 712; }
html body .hb-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
html body .hb-nav { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); box-shadow: 0 6px 18px -8px rgba(30,28,25,.35); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; z-index: 2; }
html body .hb-nav::before { content: ''; width: 9px; height: 9px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
html body .hb-prev { left: 18px; } html body .hb-prev::before { transform: translateX(2px) rotate(-135deg); }
html body .hb-next { right: 18px; } html body .hb-next::before { transform: translateX(-2px) rotate(45deg); }
html body .hb:hover .hb-nav, html body .hb-nav:focus-visible { opacity: 1; }
html body .hb-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
html body .hb-dot { width: 8px; height: 8px; padding: 0; border-radius: 100px; border: 0; background: rgba(30,28,25,.25); cursor: pointer; transition: width .25s, background .25s; }
html body .hb-dot.is-active { width: 24px; background: var(--ink); }
@media (max-width: 560px) { html body .hero-banners { padding: 16px 0; } html body .hb { border-radius: 12px; } html body .hb-nav { display: none; } html body .hb-dots { bottom: 8px; } }

/* ---------- Blog: card grid ---------- */
html body .tk-blog > .wrap { padding-block: 40px 96px; }
html body .blog-filter { margin-bottom: 36px; }
html body .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
html body .post-card { display: flex; flex-direction: column; }
html body .post-card__img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: linear-gradient(155deg, var(--tile-a), var(--tile-b)); margin-bottom: 18px; }
html body .post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
html body .post-card:hover .post-card__img img { transform: scale(1.03); }
html body .post-card__meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: 10px; }
html body .post-card__meta time { color: var(--stone); }
html body .post-card h2 { font-family: var(--serif); font-size: 21px; line-height: 1.3; font-weight: 500; margin: 0 0 10px; }
html body .post-card h2 a:hover { color: var(--bronze); }
html body .post-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; margin: 0 0 14px; }
html body .post-card__more { margin-top: auto; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
html body .post-card__more:hover { color: var(--bronze); }
html body .tk-blog .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
@media (max-width: 980px) { html body .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { html body .post-grid { grid-template-columns: 1fr; gap: 36px; } }
/* Single post: readable images and tables */
html body.single-post .entry-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px auto; display: block; }
html body.single-post .entry-content figure { margin: 28px 0; }
html body.single-post .entry-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
html body.single-post .entry-content th, html body.single-post .entry-content td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
html body.single-post .entry-content th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
html body.single-post .entry-content h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin-top: 1.8em; }
html body.single-post .entry-content h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; margin-top: 1.5em; }
html body.single-post .entry-content ul, html body.single-post .entry-content ol { padding-left: 22px; }
html body.single-post .entry-content li + li { margin-top: 6px; }

/* Marketplace rating badge (product page, under the price) */
html body .summary .tk-rating { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 18px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); font-size: 13px; color: var(--ink-soft); }
html body .summary .tk-rating__stars { color: var(--bronze); letter-spacing: 1px; font-size: 12px; }
html body .summary .tk-rating b { color: var(--ink); font-weight: 600; }
/* Full-screen viewer (PhotoSwipe): calm backdrop */
html body .pswp__bg { background: var(--ink); }

/* ---------- TRIO brand blue (from logo) ---------- */
:root { --bronze: #1B4388; --bronze-soft: #8FA9DA; --trio: #1B4388; --trio-deep: #12305F; }
html body .logo { display: block; line-height: 0; }
html body .logo img { display: block; height: 40px; width: auto; }
html body .foot-grid .logo img { height: 46px; filter: brightness(0) invert(1); opacity: .92; }
@media (max-width: 560px) { html body .logo img { height: 32px; } }
html body .announce { background: var(--trio); }
html body .announce a { color: #fff; border-bottom-color: rgba(255,255,255,.6); }
html body .btn-dark,
html body a.button, html body button.button, html body input.button,
html body .woocommerce a.button, html body .woocommerce button.button, html body .woocommerce input.button,
html body .woocommerce #respond input#submit, html body .woocommerce a.button.alt, html body .woocommerce button.button.alt,
html body .wc-block-components-button:not(.is-link), html body .wp-block-button__link,
html body .wc-block-cart__submit-button, html body .wc-block-components-checkout-place-order-button,
html body div.product form.cart .button, html body div.product form.cart button.single_add_to_cart_button.button.alt,
html body .drawer .woocommerce-mini-cart__buttons a.button.checkout { background: var(--trio); border-color: var(--trio); color: #fff; }
html body .btn-dark:hover,
html body a.button:hover, html body button.button:hover, html body input.button:hover,
html body .woocommerce a.button:hover, html body .woocommerce button.button:hover, html body .woocommerce a.button.alt:hover, html body .woocommerce button.button.alt:hover,
html body .wc-block-components-button:not(.is-link):hover, html body .wp-block-button__link:hover,
html body div.product form.cart button.single_add_to_cart_button.button.alt:hover,
html body .drawer .woocommerce-mini-cart__buttons a.button.checkout:hover { background: var(--trio-deep); border-color: var(--trio-deep); color: #fff; }
html body ul.products li.product.product.product .button { background: transparent; color: var(--trio); border-color: var(--trio); }
html body ul.products li.product.product.product .button:hover, html body .add-quick:hover, html body .cart-btn:hover { background: var(--trio); border-color: var(--trio); color: #fff; }
html body .tag.offer, html body .prod-img .tag.offer { background: var(--trio); border-color: var(--trio); }
html body .hb-dot.is-active { background: var(--trio); }
html body .wc-block-components-sale-badge { background: rgba(27,67,136,.1); }
html body .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--trio); border-color: var(--trio); }

/* ---------- Header search ---------- */
html body .nav-actions { display: flex; align-items: center; gap: 10px; }
html body .search-btn { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .2s, color .2s, border-color .2s; }
html body .search-btn:hover, html body .search-btn[aria-expanded="true"] { background: var(--trio); border-color: var(--trio); color: #fff; }
html body .hsearch { border-top: 1px solid var(--line); background: var(--paper); padding: 14px 0; }
html body .hsearch[hidden] { display: none; }
html body .hsearch-form { display: flex; align-items: center; gap: 10px; }
html body .hsearch-form input[type=search] { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); font: inherit; font-size: 15px; color: var(--ink); }
html body .hsearch-form input[type=search]:focus { outline: none; border-color: var(--trio); }
html body .hsearch-form .btn { height: 48px; padding: 0 26px; border-radius: 100px; }
html body .hsearch-close { width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--stone); cursor: pointer; }
@media (max-width: 560px) { html body .search-btn { width: 40px; height: 40px; flex-basis: 40px; } html body .hsearch-form .btn { padding: 0 16px; } html body .hsearch-close { display: none; } }

/* ---------- PDP refinements: thumbnail spacing + option pills ---------- */
html body .woocommerce-product-gallery .flex-control-thumbs { gap: 8px !important; margin-top: 8px !important; }
html body .summary table.variations td.value { position: relative; }
html body .summary table.variations select.tk-swatch-select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
html body .tk-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
html body .tk-swatch { height: 44px; padding: 0 22px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .02em; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
html body .tk-swatch:hover { border-color: var(--trio); }
html body .tk-swatch.is-active { border: 1.5px solid var(--trio); color: var(--trio); background: rgba(27,67,136,.06); }
html body .tk-swatch:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
html body .summary .reset_variations { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--stone); }

/* Shop sub-category row (second row under the group pills) */
.sub-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 0 6px; }
.sub-filter-btn {
  padding: 6px 15px; border-radius: 100px; border: 1px solid var(--line);
  background: transparent; font-family: var(--sans); font-size: 11.5px;
  letter-spacing: 0.06em; color: var(--stone); font-weight: 500;
  transition: all .2s; white-space: nowrap; text-decoration: none;
}
.sub-filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.sub-filter-btn.active { background: var(--paper-deep); color: var(--ink); border-color: var(--ink); }
.sub-filter-bar + .result-count { margin: 0; }
@media (max-width: 560px) {
  .sub-filter-bar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: -4px; padding-inline: 4px; }
  .sub-filter-bar::-webkit-scrollbar { display: none; }
  .sub-filter-btn { flex: 0 0 auto; padding: 8px 14px; }
}
