/*
Theme Name: Senseible
Theme URI: https://senseible.com
Author: Senseible
Author URI: https://senseible.com
Description: Official WordPress theme for Senseible.com — preserving the knowledge, philosophy, and practice of seven martial arts traditions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: senseible
*/

/* ─── RESET & ROOT ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #0E0C0A;
  --black-2:  #1A1714;
  --black-3:  #242018;
  --parch:    #EDE5D5;
  --parch-2:  #D4C9B5;
  --parch-3:  #B8A98C;
  --off-w:    #F5F1EB;
  --red:      #C13C2A;
  --red-2:    #A83422;
  --bronze:   #8A6A3F;
  --bronze-2: #C4993A;
  --sage:     #4A6155;
  --border-d: rgba(237,229,213,0.10);
  --border-d2: rgba(237,229,213,0.18);
  --success:  #3E6B48;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--parch);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(14,12,10,.94);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border-d);
}
.hdr {
  max-width: 1300px; margin: 0 auto;
  padding: 0.5rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.logo {
  font-family: 'Noto Serif', serif;
  font-size: 1.45rem; font-weight: 600;
  color: var(--off-w); text-decoration: none; letter-spacing: .02em;
  display: flex; align-items: center; gap: .5rem;
}
.logo-mark {
  font-size: 1.1rem; color: var(--red); font-weight: 300;
  font-style: italic;
}
.logo-img-el { height:90px; width:90px; object-fit:contain; display:block; }
nav.site-nav { display: flex; align-items: center; gap: 0; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: ''; display: inline-block;
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg); margin-left: .5rem; vertical-align: middle;
  margin-top: -2px;
}
.sub-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--black-2);
  border: 1px solid var(--border-d2);
  min-width: 180px; display: none;
  flex-direction: column;
  list-style: none; padding: 0; margin: 0;
}
.has-dropdown:hover .sub-menu { display: flex; }
.sub-menu li a {
  display: block;
  padding: .65rem 1.2rem; font-size: .74rem;
  border-bottom: 1px solid var(--border-d);
  color: rgba(237,229,213,.55);
}
.sub-menu li:last-child a { border-bottom: none; }
.sub-menu li a:hover { color: var(--off-w); background: var(--black-3); }

/* WP nav menu overrides */
nav.site-nav > ul { display: flex; list-style: none; padding: 0; margin: 0; }
nav.site-nav > ul > li { position: relative; }
nav.site-nav > ul > li > a {
  font-size: .76rem; font-weight: 400; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(237,229,213,.6);
  text-decoration: none; padding: .5rem 1.1rem;
  transition: color .2s; white-space: nowrap; display: block;
}
nav.site-nav > ul > li > a:hover { color: var(--off-w); }
nav.site-nav > ul > li.menu-item-has-children > a::after {
  content: ''; display: inline-block;
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg); margin-left: .5rem; vertical-align: middle;
  margin-top: -2px;
}
nav.site-nav > ul > li.menu-item-has-children:hover > ul.sub-menu { display: flex; }

.hdr-cta {
  padding: .5rem 1.3rem; background: var(--red);
  color: var(--off-w); font-size: .72rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s; white-space: nowrap; flex-shrink: 0;
}
.hdr-cta:hover { background: var(--red-2); }

/* ── Header cart icon ── */
.hdr-cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--parch);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
  flex-shrink: 0;
}
.hdr-cart-btn:hover { color: var(--bronze-2); }
.hdr-cart-badge {
  position: absolute;
  top: -3px;
  right: -5px;
  width: 17px;
  height: 17px;
  background: var(--red);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hdr-cart-badge:empty, .hdr-cart-badge[data-zero="true"] { display: none; }
@keyframes cd-badge-bump { 0%{transform:scale(1)} 40%{transform:scale(1.5)} 70%{transform:scale(.9)} 100%{transform:scale(1)} }
.cd-badge-bump { animation: cd-badge-bump .4s ease; }

.menu-btn {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--parch); padding: 4px;
}
.menu-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }

/* Mobile nav */
.mob-nav {
  display: none; position: fixed; inset: 0;
  background: var(--black-2); z-index: 500;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  font-family: 'Noto Serif', serif; font-size: 1.6rem; font-weight: 400;
  color: var(--parch); text-decoration: none;
}
.mob-nav .mob-styles { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.mob-nav .mob-styles a { font-size: 1rem; color: rgba(237,229,213,.6); }
.mob-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; cursor: pointer;
}
.mob-close svg { width: 22px; height: 22px; stroke: var(--parch); fill: none; stroke-width: 1.4; stroke-linecap: round; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  padding-bottom: 6rem;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(138,106,63,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(193,60,42,.06) 0%, transparent 60%);
}
.hero--has-bg .hero-bg {
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(138,106,63,.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(193,60,42,.04) 0%, transparent 60%),
    rgba(14,12,10,.58);
}
.hero-grid {
  display: none;
}
.hero-kanji {
  position: absolute;
  right: -2%; top: 50%;
  transform: translateY(-50%);
  font-family: 'Noto Serif', serif;
  font-size: clamp(28rem, 50vw, 60rem);
  font-weight: 700; line-height: 1;
  color: rgba(237,229,213,.028);
  pointer-events: none; user-select: none;
  letter-spacing: -.05em;
}
.hero-side-text {
  display: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
}
.hero-eyebrow {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--bronze-2); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: .8rem;
  animation: fadeUp .7s ease .2s both;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--bronze-2);
}
.hero h1 {
  font-family: 'Noto Serif', serif;
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  font-weight: 300; line-height: 1.02;
  color: var(--off-w);
  max-width: 820px;
  margin-bottom: 2rem;
  animation: fadeUp .8s ease .38s both;
}
.hero h1 em { font-style: italic; color: var(--parch-3); }
.hero h1 .accent-word { color: var(--red); font-style: normal; }
.hero-sub {
  font-size: 1.05rem; color: rgba(237,229,213,.55);
  max-width: 480px; line-height: 1.75; margin-bottom: 3rem;
  animation: fadeUp .8s ease .52s both;
}
.hero-actions {
  display: flex; align-items: center; gap: 1.2rem;
  animation: fadeUp .8s ease .66s both;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 2.2rem; background: var(--red);
  color: var(--off-w); font-size: .78rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, gap .2s;
}
.btn-primary:hover { background: var(--red-2); gap: .9rem; }
.btn-primary svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 2.2rem; background: transparent;
  color: rgba(237,229,213,.7); font-size: .78rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid rgba(237,229,213,.22);
  cursor: pointer; transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: rgba(237,229,213,.5); color: var(--off-w); }
.hero-scroll {
  position: absolute; right: 2.5rem; bottom: 4rem;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  animation: fadeIn 1s ease 1.2s both;
}
.hero-scroll span {
  font-size: .58rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(237,229,213,.25); writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 52px;
  background: rgba(237,229,213,.15); overflow: hidden;
}
.scroll-line::after {
  content: ''; display: block; width: 1px; height: 100%;
  background: var(--bronze-2);
  animation: scrollDrop 1.8s ease-in-out infinite;
}
@keyframes scrollDrop { 0%{transform:translateY(-100%)} 100%{transform:translateY(200%)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ── INTRO BAND ── */
.intro-band {
  background: var(--black-2);
  border-top: 1px solid var(--border-d);
  border-bottom: 1px solid var(--border-d);
  padding: 4.5rem 2.5rem;
}
.intro-band-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.intro-pillar {
  padding: 0 2.5rem;
  border-right: 1px solid var(--border-d);
}
.intro-pillar:first-child { padding-left: 0; }
.intro-pillar:last-child  { border-right: none; padding-right: 0; }
.pillar-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border-d2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.pillar-icon svg { width: 16px; height: 16px; stroke: var(--bronze-2); fill: none; stroke-width: 1.4; }
.pillar-title {
  font-family: 'Noto Serif', serif;
  font-size: 1.15rem; font-weight: 400; color: var(--off-w);
  margin-bottom: .5rem;
}
.pillar-text { font-size: .88rem; color: rgba(237,229,213,.5); line-height: 1.75; }

/* ── SECTION COMMONS ── */
section { padding: 7rem 2.5rem; }
.section-inner { max-width: 1300px; margin: 0 auto; }
.eyebrow {
  font-size: .65rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--bronze-2); margin-bottom: .9rem; display: block;
}
.section-title {
  font-family: 'Noto Serif', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300; color: var(--off-w); line-height: 1.12;
}
.section-title em { font-style: italic; color: var(--parch-3); }
.section-title strong { font-weight: 600; }

/* ── ABOUT ── */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.about-text .section-title { margin-bottom: 1.8rem; }
.about-text p {
  font-size: .95rem; color: rgba(237,229,213,.55);
  line-height: 1.9; margin-bottom: 1.1rem;
}
.learn-link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bronze-2); text-decoration: none; margin-top: .5rem;
  border-bottom: 1px solid rgba(138,106,63,.3); padding-bottom: 2px;
  transition: gap .2s, border-color .2s;
}
.learn-link:hover { gap: .8rem; border-color: var(--bronze-2); }
.learn-link svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; }
.about-visual {
  position: relative; aspect-ratio: 4/5;
  background: var(--black-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 24px,
    rgba(237,229,213,.025) 24px, rgba(237,229,213,.025) 25px
  );
}
.about-visual-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 1;
}
.about-visual-kanji {
  font-family: 'Noto Serif', serif;
  font-size: clamp(10rem, 18vw, 20rem);
  font-weight: 700;
  color: rgba(237,229,213,.07);
  line-height: 1; position: relative; z-index: 1;
  user-select: none;
}
.about-quote {
  position: absolute; bottom: 2rem; left: 2rem; right: 2rem;
  background: rgba(14,12,10,.8);
  border-left: 2px solid var(--red);
  padding: 1rem 1.2rem; z-index: 2;
}
.about-quote p {
  font-family: 'Noto Serif', serif;
  font-size: .92rem; font-style: italic; color: var(--parch);
  line-height: 1.55;
}
.about-quote cite {
  font-size: .65rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--parch-3); margin-top: .4rem; display: block;
}

/* ── SEVEN STYLES ── */
.styles-section { background: var(--black-2); padding: 7rem 0; }
.styles-header {
  max-width: 1300px; margin: 0 auto;
  padding: 0 2.5rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem;
}
.styles-all {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(237,229,213,.45); text-decoration: none;
  border-bottom: 1px solid rgba(237,229,213,.2); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.styles-all:hover { color: var(--parch); border-color: var(--bronze-2); }
.styles-wall {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 1px; background: var(--border-d);
  border-top: 1px solid var(--border-d);
  border-bottom: 1px solid var(--border-d);
}
.style-tile {
  background: var(--black-2);
  padding: 2.8rem 1.5rem 2.5rem;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center;
  gap: .9rem; text-align: center;
  position: relative; overflow: hidden;
  transition: background .25s;
  cursor: pointer;
}
.style-tile:hover { background: var(--black-3); }
.style-tile::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.style-tile:hover::before { transform: scaleX(1); }
.tile-char {
  font-family: 'Noto Serif', serif;
  font-size: clamp(2.2rem, 3vw, 3.2rem); font-weight: 300;
  color: rgba(237,229,213,.55);
  line-height: 1; transition: color .25s;
}
.style-tile:hover .tile-char { color: var(--off-w); }
.tile-name {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(237,229,213,.4); transition: color .25s;
}
.style-tile:hover .tile-name { color: var(--bronze-2); }
.tile-origin { font-size: .65rem; color: rgba(237,229,213,.25); margin-top: -.3rem; letter-spacing: .06em; }

/* ── PHILOSOPHY ── */
.philosophy {
  background: var(--black);
  border-top: 1px solid var(--border-d);
}
.philosophy-inner {
  max-width: 900px; margin: 0 auto;
  text-align: center; padding: 7rem 2.5rem;
}
.phil-mark {
  font-family: 'Noto Serif', serif;
  font-size: 5rem; font-weight: 700; line-height: 1;
  color: rgba(237,229,213,.08);
  margin-bottom: 1rem; display: block;
}
.phil-quote {
  font-family: 'Noto Serif', serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300; font-style: italic;
  color: var(--off-w); line-height: 1.4;
  margin-bottom: 1.5rem;
}
.phil-source {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bronze-2);
}
.phil-divider {
  width: 48px; height: 1px; background: var(--border-d2);
  margin: 2rem auto;
}
.phil-sub {
  font-size: .9rem; color: rgba(237,229,213,.45);
  max-width: 520px; margin: 0 auto; line-height: 1.8;
}

/* ── FEATURED RESOURCES ── */
.resources { background: var(--black-2); }
.resources-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem;
}
.resources-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border-d);
}
.resource-card {
  background: var(--black-2);
  text-decoration: none; cursor: pointer;
  transition: background .2s;
  display: flex; flex-direction: column;
  position: relative;
}
.resource-card:hover { background: var(--black-3); }
.resource-img {
  aspect-ratio: 3/4;
  background: var(--black-3);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.resource-img::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 19px,
    rgba(237,229,213,.025) 19px, rgba(237,229,213,.025) 20px
  );
}
.resource-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.resource-img-char {
  font-family: 'Noto Serif', serif;
  font-size: 5rem; font-weight: 300;
  color: rgba(237,229,213,.09); z-index: 1;
}
.resource-tag {
  position: absolute; top: 1rem; left: 1rem;
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .2rem .6rem; z-index: 2;
}
.tag-book   { background: var(--bronze);  color: var(--off-w); }
.tag-audio  { background: var(--sage);    color: var(--off-w); }
.tag-merch  { background: var(--black);   color: var(--parch-2); border: 1px solid var(--border-d2); }
.tag-bundle { background: var(--red);     color: var(--off-w); }
.resource-body {
  padding: 1.4rem 1.5rem 1.6rem;
  border-top: 1px solid var(--border-d); flex: 1;
}
.resource-style {
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bronze-2); margin-bottom: .35rem;
}
.resource-name {
  font-family: 'Noto Serif', serif;
  font-size: 1.1rem; font-weight: 400; color: var(--off-w);
  line-height: 1.25; margin-bottom: .5rem;
}
.resource-desc { font-size: .82rem; color: rgba(237,229,213,.45); line-height: 1.65; margin-bottom: 1rem; }
.resource-price {
  font-family: 'Noto Serif', serif;
  font-size: 1.1rem; font-weight: 300; color: var(--parch);
}

/* ── CONTRIBUTE ── */
.contribute-strip { background: var(--black); border-top: 1px solid var(--border-d); }
.contribute-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 5rem 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.contrib-text .section-title { margin-bottom: 1.2rem; }
.contrib-text p { font-size: .9rem; color: rgba(237,229,213,.5); line-height: 1.85; margin-bottom: 1.5rem; }
.contrib-ways { display: flex; flex-direction: column; gap: .6rem; }
.contrib-way {
  display: flex; align-items: center; gap: .8rem;
  font-size: .84rem; color: rgba(237,229,213,.55);
}
.contrib-way svg { width: 14px; height: 14px; stroke: var(--bronze-2); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.cf-field { margin-bottom: .9rem; }
.cf-field label { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(237,229,213,.35); display: block; margin-bottom: .35rem; }
.cf-field input, .cf-field textarea, .cf-field select {
  width: 100%; padding: .75rem 1rem;
  background: var(--black-2); border: 1px solid var(--border-d);
  color: var(--parch); font-family: 'DM Sans', sans-serif;
  font-size: .88rem; outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
}
.cf-field input::placeholder, .cf-field textarea::placeholder { color: rgba(237,229,213,.2); }
.cf-field input:focus, .cf-field textarea:focus, .cf-field select:focus { border-color: var(--bronze-2); background: var(--black-3); }
.cf-field textarea { height: 100px; resize: none; }
.cf-field select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8A98C' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 10px; padding-right: 2.5rem; cursor: pointer;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.btn-submit {
  width: 100%; padding: .95rem; background: var(--red);
  color: var(--off-w); font-family: 'DM Sans', sans-serif;
  font-size: .78rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background .2s; margin-top: .5rem;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
}
.btn-submit:hover { background: var(--red-2); }
.btn-submit svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; }

/* ── DOJO BANNER ── */
.dojo-banner {
  background: var(--black-2);
  border-top: 1px solid var(--border-d);
  text-align: center;
  padding: 6rem 2.5rem;
  position: relative; overflow: hidden;
}
.dojo-banner::before {
  content: '道場';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  font-family: 'Noto Serif', serif;
  font-size: clamp(14rem, 30vw, 32rem);
  font-weight: 700; line-height: 1;
  color: rgba(237,229,213,.025);
  pointer-events: none; user-select: none;
  white-space: nowrap;
}
.dojo-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.dojo-banner blockquote {
  font-family: 'Noto Serif', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 300; font-style: italic;
  color: var(--off-w); line-height: 1.35; margin-bottom: 2.5rem;
}
.dojo-banner blockquote em { color: var(--parch-3); font-style: normal; }

/* ── FOOTER ── */
footer.site-footer {
  background: var(--black-2);
  border-top: 1px solid var(--border-d);
  padding: 4rem 2.5rem 2rem;
}
.ft-top {
  max-width: 1300px; margin: 0 auto 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-d);
}
.ft-brand .logo { display: block; margin-bottom: 1rem; }
.ft-brand p { font-size: .84rem; color: rgba(237,229,213,.35); line-height: 1.8; max-width: 260px; }
.ft-col h4 {
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bronze-2); opacity: .7; margin-bottom: 1.1rem;
}
.ft-col ul { list-style: none; padding: 0; margin: 0; }
.ft-col ul li a,
.ft-col a {
  display: block; font-size: .86rem;
  color: rgba(237,229,213,.4); text-decoration: none;
  margin-bottom: .55rem; transition: color .2s;
}
.ft-col ul li a:hover,
.ft-col a:hover { color: var(--parch); }
.ft-btm {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.ft-btm p { font-size: .76rem; color: rgba(237,229,213,.25); }
.ft-btm-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.ft-btm-links a { font-size: .76rem; color: rgba(237,229,213,.25); text-decoration: none; transition: color .2s; }
.ft-btm-links a:hover { color: var(--parch); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--black-2); color: var(--parch);
  font-size: .76rem; letter-spacing: .1em;
  padding: .6rem 1.4rem;
  border: 1px solid var(--border-d2);
  opacity: 0; pointer-events: none;
  transition: all .3s; z-index: 600; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── WOOCOMMERCE OVERRIDES ── */
.woocommerce-page .site-main { background: var(--black); }
.woocommerce-page .woocommerce-notices-wrapper { max-width: 1300px; margin: 0 auto; padding: 1rem 2.5rem 0; }

/* ── RESPONSIVE ── */
@media (max-width:1199px) {
  .styles-wall { grid-template-columns: repeat(4,1fr); }
  .resources-grid { grid-template-columns: 1fr 1fr; }
  .ft-top { grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
  .ft-top .ft-col:last-child { display: none; }
}
@media (max-width:1023px) {
  nav.site-nav { display: none; }
  .hdr-cta { display: none; }
  .menu-btn { display: flex; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { aspect-ratio: unset; width: 100%; max-height: 400px; }
  .contribute-inner { grid-template-columns: 1fr; gap: 3rem; }
  .intro-band-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-pillar { border-right: none; border-bottom: 1px solid var(--border-d); padding: 0 0 2rem; }
  .intro-pillar:last-child { border-bottom: none; padding-bottom: 0; }
}
@media (max-width:767px) {
  .hdr { padding: 0.5rem 1.2rem; }
  .logo { font-size: 1.2rem; }
  .logo-img-el { height:55px; width:55px; }
  section { padding: 5rem 1.2rem; }
  .intro-band { padding: 3.5rem 1.2rem; }
  .styles-wall { grid-template-columns: repeat(3,1fr); }
  .resources-grid { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .hero-side-text { display: none; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 0 0 2.5rem; }
  .ft-top .ft-col:last-child { display: block; }
  footer.site-footer { padding: 3rem 1.2rem 2rem; }
  .ft-btm { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .dojo-banner { padding: 4rem 1.2rem; }
  .cf-row { grid-template-columns: 1fr; }
}
@media (max-width:479px) {
  .hdr { padding: 0.5rem 1rem; }
  .logo { font-size: 1.1rem; }
  .logo-img-el { height:45px; width:45px; }
  section { padding: 4rem 1rem; }
  .styles-wall { grid-template-columns: repeat(2,1fr); }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .intro-band { padding: 3rem 1rem; }
  .ft-top { grid-template-columns: 1fr; }
  footer.site-footer { padding: 2.5rem 1rem 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  header, .toast, .menu-btn, .mob-nav { display: none !important; }
  body { cursor: default; background: white; color: black; }
}

/* ══════════════════════════════════════════════════════════
   BOOKS & BEYOND — FEATURED PRODUCTS
══════════════════════════════════════════════════════════ */
.resources-section {
  padding: 7rem 2.5rem;
  background: var(--black-2);
  border-top: 1px solid var(--border-d);
}
.res-header {
  max-width: 1300px; margin: 0 auto 3.5rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.res-title {
  font-family: 'Noto Serif', serif;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 300; letter-spacing: .02em;
  color: var(--off-w); line-height: .9;
}
.res-title span { color: var(--red); display: block; }
.res-view-all {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--parch-3); text-decoration: none;
  border-bottom: 1px solid var(--border-d2); padding-bottom: 2px;
  transition: color .2s;
}
.res-view-all:hover { color: var(--off-w); }
.res-grid {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border-d);
}
.res-card {
  background: var(--black-2); display: flex; flex-direction: column;
  cursor: pointer; transition: background .2s;
  text-decoration: none; color: inherit;
}
.res-card:hover { background: var(--black-3); }
.res-card-top {
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border-d);
}
.res-card-top::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(237,229,213,.02) 20px, rgba(237,229,213,.02) 21px);
}
.res-char {
  font-family: 'Noto Serif', serif; font-size: 7rem; font-weight: 700;
  color: rgba(237,229,213,.07); z-index: 1; line-height: 1; transition: color .25s;
}
.res-card:hover .res-char { color: rgba(193,60,42,.13); }
.res-card-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; display:block; }
.res-badge {
  position: absolute; top: 1rem; left: 0;
  font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .2rem .7rem; z-index: 2;
}
.b-book   { background: var(--black-3); color: var(--parch-2); border: 1px solid var(--border-d2); }
.b-audio  { background: rgba(193,60,42,.12); color: var(--red); }
.b-bundle { background: var(--red); color: var(--off-w); }
.b-merch  { background: rgba(196,153,58,.15); color: var(--bronze-2); border: 1px solid rgba(196,153,58,.25); }
.res-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.res-style { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: .4rem; }
.res-name { font-family: 'Noto Serif', serif; font-size: 1.05rem; font-weight: 400; letter-spacing: .01em; color: var(--off-w); line-height: 1.25; margin-bottom: .5rem; }
.res-desc { font-size: .8rem; color: var(--parch-3); line-height: 1.65; margin-bottom: 1rem; flex: 1; }
.res-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.res-price { font-family: 'Noto Serif', serif; font-size: 1.25rem; font-weight: 300; letter-spacing: .02em; color: var(--parch); }
.res-buy { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); background: none; border: none; cursor: pointer; transition: color .15s; text-decoration: none; }
.res-buy:hover { color: var(--red-2); }

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════ */

/* ── PAGE HERO ── */
.page-hero {
  min-height: 70vh;
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 5rem;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(138,106,63,.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 75%, rgba(193,60,42,.05) 0%, transparent 60%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border-d) 1px, transparent 1px), linear-gradient(90deg, var(--border-d) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .4;
}
.page-hero-kanji {
  position: absolute; right: -1%; top: 50%;
  transform: translateY(-50%);
  font-family: 'Noto Serif', serif;
  font-size: clamp(22rem, 40vw, 52rem);
  font-weight: 700; line-height: 1;
  color: rgba(237,229,213,.025);
  pointer-events: none; user-select: none;
  letter-spacing: -.05em;
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto;
  padding: 0 2.5rem; width: 100%;
}
.breadcrumb {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 2rem;
  animation: fadeUp .6s ease .1s both;
}
.breadcrumb a { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(237,229,213,.35); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--parch); }
.breadcrumb span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(237,229,213,.2); }
.breadcrumb .current { color: rgba(237,229,213,.5); }
.page-hero .hero-eyebrow { margin-bottom: 1.5rem; }
.page-hero h1 {
  font-family: 'Noto Serif', serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300; line-height: 1.02;
  color: var(--off-w); max-width: 820px; margin-bottom: 1.8rem;
  animation: fadeUp .8s ease .35s both;
}
.page-hero h1 em { font-style: italic; color: var(--parch-3); }
.page-hero h1 .red { color: var(--red); font-style: normal; }
.page-hero-sub {
  font-size: 1.05rem; color: rgba(237,229,213,.55);
  max-width: 520px; line-height: 1.75;
  animation: fadeUp .8s ease .5s both;
}
.page-hero--about { min-height: 100vh; }
.page-hero--about h1 { font-size: 7rem; }
.page-hero--styles { min-height: 100vh; }
.page-hero--shop { min-height: 100vh; }
.page-hero--contact { min-height: 100vh; }

/* ── WHAT SENSEIBLE MEANS ── */
.meaning-section {
  background: var(--black-2);
  border-top: 1px solid var(--border-d);
  border-bottom: 1px solid var(--border-d);
  padding: 6rem 2.5rem;
}
.meaning-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.meaning-text .section-title { margin-bottom: 1.8rem; }
.meaning-text p { font-size: .95rem; color: rgba(237,229,213,.55); line-height: 1.9; margin-bottom: 1.1rem; }
.meaning-text p strong { color: var(--parch-2); font-weight: 400; }
.meaning-word-break { display: flex; flex-direction: column; gap: 1.5rem; }
.word-part { border-left: 2px solid var(--border-d2); padding-left: 1.5rem; }
.word-part.red-border { border-left-color: var(--red); }
.word-part.bronze-border { border-left-color: var(--bronze-2); }
.word-label { font-family: 'Noto Serif', serif; font-size: 2rem; font-weight: 300; color: var(--off-w); margin-bottom: .3rem; letter-spacing: .02em; }
.word-label .italic { font-style: italic; color: var(--parch-3); }
.word-def { font-size: .88rem; color: rgba(237,229,213,.5); line-height: 1.7; }
.word-origin { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-2); margin-top: .3rem; }

/* ── MISSION ── */
.mission-section { background: var(--black); padding: 7rem 2.5rem; }
.mission-inner { max-width: 1300px; margin: 0 auto; }
.mission-header { margin-bottom: 4rem; }
.mission-header .section-title { max-width: 680px; }
.mission-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border-d);
  border: 1px solid var(--border-d);
}
.mission-card { background: var(--black); padding: 2.5rem 2rem; transition: background .25s; }
.mission-card:hover { background: var(--black-2); }
.mission-num { font-family: 'Noto Serif', serif; font-size: 3rem; font-weight: 300; color: rgba(237,229,213,.07); line-height: 1; margin-bottom: 1.2rem; }
.mission-icon { width: 36px; height: 36px; border: 1px solid var(--border-d2); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.mission-icon svg { width: 16px; height: 16px; stroke: var(--bronze-2); fill: none; stroke-width: 1.4; }
.mission-title { font-family: 'Noto Serif', serif; font-size: 1.15rem; font-weight: 400; color: var(--off-w); margin-bottom: .7rem; }
.mission-text { font-size: .88rem; color: rgba(237,229,213,.5); line-height: 1.8; }

/* ── FOUNDER ── */
.founder-section {
  background: var(--black-2);
  border-top: 1px solid var(--border-d);
  padding: 7rem 2.5rem;
}
.founder-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
.founder-visual {
  position: relative; aspect-ratio: 4/5;
  background: var(--black-3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.founder-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(237,229,213,.025) 24px, rgba(237,229,213,.025) 25px);
}
.founder-initials {
  font-family: 'Noto Serif', serif;
  font-size: clamp(8rem, 14vw, 16rem);
  font-weight: 700; line-height: 1;
  color: rgba(237,229,213,.06);
  position: relative; z-index: 1; user-select: none;
  letter-spacing: -.03em;
}
.founder-img-label {
  position: absolute; bottom: 2rem; left: 0; right: 0;
  text-align: center; z-index: 2;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(237,229,213,.2);
}
.founder-quote {
  position: absolute; top: 2rem; left: 2rem; right: 2rem;
  background: rgba(14,12,10,.85);
  border-left: 2px solid var(--red);
  padding: 1rem 1.2rem; z-index: 2;
}
.founder-quote p { font-family: 'Noto Serif', serif; font-size: .9rem; font-style: italic; color: var(--parch); line-height: 1.55; }
.founder-quote cite { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--parch-3); margin-top: .4rem; display: block; }
.founder-name { font-family: 'Noto Serif', serif; font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 300; color: var(--off-w); line-height: 1.1; margin-bottom: .5rem; }
.founder-title { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: 2rem; }
.founder-text p { font-size: .92rem; color: rgba(237,229,213,.55); line-height: 1.9; margin-bottom: 1rem; }
.founder-text p strong { color: var(--parch-2); font-weight: 400; }
.founder-credentials {
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--border-d);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.cred-label { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(237,229,213,.3); margin-bottom: .3rem; }
.cred-value { font-size: .88rem; color: var(--parch-2); line-height: 1.5; }

/* ── PHILOSOPHY ── */
.philosophy-section {
  background: var(--black);
  border-top: 1px solid var(--border-d);
  padding: 7rem 2.5rem;
}
.philosophy-inner { max-width: 1300px; margin: 0 auto; }
.philosophy-header { max-width: 680px; margin-bottom: 4.5rem; }
.philosophy-pillars {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border-d);
}
.pillar-card {
  background: var(--black); padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
  transition: background .25s;
}
.pillar-card:hover { background: var(--black-2); }
.pillar-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--red);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s ease;
}
.pillar-card:hover::before { transform: scaleY(1); }
.pillar-kanji {
  font-family: 'Noto Serif', serif; font-size: 5rem; font-weight: 700; line-height: 1;
  color: rgba(237,229,213,.06); position: absolute; right: 2rem; bottom: 1.5rem;
  pointer-events: none; user-select: none;
}
.pillar-card-icon { width: 36px; height: 36px; border: 1px solid var(--border-d2); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.pillar-card-icon svg { width: 15px; height: 15px; stroke: var(--bronze-2); fill: none; stroke-width: 1.4; }
.pillar-card-title { font-family: 'Noto Serif', serif; font-size: 1.4rem; font-weight: 400; color: var(--off-w); margin-bottom: .8rem; }
.pillar-card-text { font-size: .9rem; color: rgba(237,229,213,.5); line-height: 1.85; position: relative; z-index: 1; }

/* ── THE SENSEIBLE WAY ── */
.way-section {
  background: var(--black-2);
  border-top: 1px solid var(--border-d);
  padding: 7rem 2.5rem;
}
.way-inner { max-width: 1300px; margin: 0 auto; }
.way-header { max-width: 680px; margin-bottom: 4rem; }
.way-header .section-title { margin-bottom: 1rem; }
.way-header p { font-size: .95rem; color: rgba(237,229,213,.5); line-height: 1.85; }
.way-steps {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 0; position: relative;
}
.way-steps::before {
  content: ''; position: absolute; top: 22px; left: 10%; right: 10%;
  height: 1px; background: var(--border-d2);
}
.way-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; position: relative; }
.step-circle {
  width: 44px; height: 44px; border: 1px solid var(--border-d2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--black-2); margin-bottom: 1.4rem; position: relative; z-index: 1;
  transition: border-color .2s, background .2s;
}
.way-step:hover .step-circle { border-color: var(--red); background: var(--black-3); }
.step-circle svg { width: 16px; height: 16px; stroke: var(--bronze-2); fill: none; stroke-width: 1.4; }
.step-num { font-size: .6rem; letter-spacing: .2em; color: var(--bronze-2); margin-bottom: .5rem; }
.step-title { font-family: 'Noto Serif', serif; font-size: 1rem; font-weight: 400; color: var(--off-w); margin-bottom: .5rem; }
.step-text { font-size: .8rem; color: rgba(237,229,213,.45); line-height: 1.7; }

/* ── PULL QUOTE ── */
.pull-quote-section { background: var(--black); border-top: 1px solid var(--border-d); }
.pull-quote-inner { max-width: 900px; margin: 0 auto; text-align: center; padding: 7rem 2.5rem; }
.pq-mark { font-family: 'Noto Serif', serif; font-size: 5rem; font-weight: 700; line-height: 1; color: rgba(237,229,213,.08); margin-bottom: 1rem; display: block; }
.pq-quote { font-family: 'Noto Serif', serif; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 300; font-style: italic; color: var(--off-w); line-height: 1.4; margin-bottom: 1.5rem; }
.pq-divider { width: 48px; height: 1px; background: var(--border-d2); margin: 2rem auto; }
.pq-source { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-2); }
.pq-sub { font-size: .9rem; color: rgba(237,229,213,.45); max-width: 520px; margin: 1.5rem auto 0; line-height: 1.8; }

/* ── ABOUT CTA ── */
.about-cta {
  background: var(--black-2);
  border-top: 1px solid var(--border-d);
  border-bottom: 1px solid var(--border-d);
  padding: 6rem 2.5rem;
  position: relative; overflow: hidden;
}
.about-cta::before {
  content: '道場';
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  font-family: 'Noto Serif', serif; font-size: clamp(14rem, 28vw, 32rem);
  font-weight: 700; line-height: 1; color: rgba(237,229,213,.025);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; text-align: center; }
.cta-inner .section-title { margin-bottom: 1rem; }
.cta-inner p { font-size: .95rem; color: rgba(237,229,213,.5); line-height: 1.85; margin-bottom: 2.5rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }

/* ── CONTACT PAGE ── */
.contact-band { background:var(--black-2); border-top:1px solid var(--border-d); border-bottom:1px solid var(--border-d); padding:4rem 2.5rem; }
.contact-band-inner { max-width:1300px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border-d); border:1px solid var(--border-d); }
.contact-method { background:var(--black-2); padding:2rem 1.8rem; transition:background .2s; cursor:pointer; text-decoration:none; display:flex; flex-direction:column; }
.contact-method:hover { background:var(--black-3); }
.cm-icon { width:36px; height:36px; border:1px solid var(--border-d2); display:flex; align-items:center; justify-content:center; margin-bottom:1.2rem; flex-shrink:0; }
.cm-icon svg { width:16px; height:16px; stroke:var(--bronze-2); fill:none; stroke-width:1.4; }
.cm-label { font-size:.62rem; letter-spacing:.2em; text-transform:uppercase; color:rgba(237,229,213,.35); margin-bottom:.4rem; }
.cm-value { font-family:'Noto Serif',serif; font-size:1rem; font-weight:400; color:var(--off-w); margin-bottom:.5rem; line-height:1.3; }
.cm-desc { font-size:.82rem; color:rgba(237,229,213,.45); line-height:1.65; flex:1; }
.cm-action { display:inline-flex; align-items:center; gap:.4rem; margin-top:1.2rem; font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--bronze-2); transition:gap .2s; cursor:pointer; }
.cm-action:hover { gap:.7rem; }
.cm-action svg { width:11px; height:11px; stroke:currentColor; fill:none; stroke-width:1.7; stroke-linecap:round; }

.main-section { padding:7rem 2.5rem; background:var(--black); }
.main-inner { max-width:1300px; margin:0 auto; display:grid; grid-template-columns:1fr 420px; gap:6rem; align-items:start; }

.form-panel .eyebrow { margin-bottom:.8rem; }
.form-title { font-family:'Noto Serif',serif; font-size:clamp(2rem,3.5vw,3rem); font-weight:300; color:var(--off-w); line-height:1.12; margin-bottom:.8rem; }
.form-title em { font-style:italic; color:var(--parch-3); }
.form-intro { font-size:.92rem; color:rgba(237,229,213,.5); line-height:1.85; margin-bottom:3rem; max-width:520px; }

.type-switcher { display:flex; gap:1px; background:var(--border-d); margin-bottom:2.5rem; }
.type-tab { flex:1; padding:.75rem 1rem; background:var(--black-2); font-size:.7rem; font-weight:400; letter-spacing:.14em; text-transform:uppercase; color:rgba(237,229,213,.4); border:none; cursor:pointer; transition:background .2s,color .2s; text-align:center; }
.type-tab:hover { color:var(--parch-2); background:var(--black-3); }
.type-tab.on { background:var(--black-3); color:var(--off-w); border-bottom:2px solid var(--red); }

.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:1rem; }
.form-field { display:flex; flex-direction:column; gap:.35rem; margin-bottom:1rem; }
.form-field label { font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; color:rgba(237,229,213,.35); }
.form-field input,
.form-field textarea,
.form-field select { padding:.75rem 1rem; background:var(--black-2); border:1px solid var(--border-d); color:var(--parch); font-family:'DM Sans',sans-serif; font-size:.88rem; outline:none; transition:border-color .2s,background .2s; appearance:none; width:100%; }
.form-field input::placeholder,
.form-field textarea::placeholder { color:rgba(237,229,213,.2); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color:var(--bronze-2); background:var(--black-3); }
.form-field textarea { height:120px; resize:none; }
.form-field select { background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8A98C' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .9rem center; background-size:10px; padding-right:2.5rem; cursor:pointer; }
.form-field .hint { font-size:.72rem; color:rgba(237,229,213,.25); line-height:1.5; }

.file-upload { border:1px dashed rgba(237,229,213,.15); padding:2rem; text-align:center; background:var(--black-2); transition:border-color .2s,background .2s; cursor:pointer; margin-bottom:1rem; }
.file-upload:hover { border-color:var(--bronze-2); background:var(--black-3); }
.file-upload label { cursor:pointer; display:block; }
.file-upload svg { width:24px; height:24px; stroke:rgba(237,229,213,.25); fill:none; stroke-width:1.3; margin-bottom:.7rem; }
.file-upload p { font-size:.82rem; color:rgba(237,229,213,.3); line-height:1.6; }
.file-upload span { font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--bronze-2); }

.consent-row { display:flex; align-items:flex-start; gap:.7rem; margin-bottom:2rem; }
.consent-box { width:16px; height:16px; flex-shrink:0; margin-top:2px; border:1px solid var(--border-d2); background:var(--black-2); appearance:none; cursor:pointer; transition:background .15s; }
.consent-box:checked { background:var(--red); border-color:var(--red); }
.consent-text { font-size:.8rem; color:rgba(237,229,213,.4); line-height:1.6; }
.consent-text a { color:var(--bronze-2); text-decoration:underline; }

.sub-form { display:none; }
.sub-form.on { display:block; }

.contact-success { background:rgba(62,107,72,.15); border:1px solid rgba(62,107,72,.4); padding:1.2rem 1.4rem; margin-bottom:2rem; }
.contact-success p { font-size:.88rem; color:rgba(237,229,213,.8); line-height:1.65; }
.contact-success strong { color:var(--off-w); font-weight:400; }

.contact-sidebar { position:sticky; top:100px; }
.sidebar-card { background:var(--black-2); border:1px solid var(--border-d); margin-bottom:1.5rem; overflow:hidden; }
.sc-header { padding:1.4rem 1.6rem; border-bottom:1px solid var(--border-d); display:flex; align-items:center; gap:.7rem; }
.sc-header svg { width:16px; height:16px; stroke:var(--bronze-2); fill:none; stroke-width:1.4; flex-shrink:0; }
.sc-header-label { font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:var(--parch-2); }
.sc-body { padding:1.4rem 1.6rem; }
.sc-body p { font-size:.86rem; color:rgba(237,229,213,.5); line-height:1.75; }
.sc-body p + p { margin-top:.6rem; }
.sc-body strong { color:var(--parch-2); font-weight:400; }
.sc-item { display:flex; align-items:flex-start; gap:.8rem; padding:.7rem 0; border-bottom:1px solid var(--border-d); }
.sc-item:last-child { border-bottom:none; }
.sc-item-icon { width:28px; height:28px; border:1px solid var(--border-d); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:.1rem; }
.sc-item-icon svg { width:12px; height:12px; stroke:var(--bronze-2); fill:none; stroke-width:1.5; }
.sc-item-title { font-size:.84rem; color:var(--parch-2); margin-bottom:.15rem; font-weight:400; }
.sc-item-text { font-size:.78rem; color:rgba(237,229,213,.4); line-height:1.55; }
.sc-social { display:flex; gap:.6rem; margin-top:1rem; flex-wrap:wrap; }
.social-btn { display:flex; align-items:center; gap:.4rem; padding:.5rem .9rem; background:var(--black-3); border:1px solid var(--border-d); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:rgba(237,229,213,.5); text-decoration:none; transition:color .2s,border-color .2s; cursor:pointer; }
.social-btn:hover { color:var(--off-w); border-color:var(--border-d2); }
.social-btn svg { width:13px; height:13px; stroke:currentColor; fill:none; stroke-width:1.4; }

.ways-section { background:var(--black-2); border-top:1px solid var(--border-d); padding:7rem 2.5rem; }
.ways-inner { max-width:1300px; margin:0 auto; }
.ways-header { max-width:680px; margin-bottom:4rem; }
.ways-header .section-title { margin-bottom:1rem; }
.ways-header p { font-size:.95rem; color:rgba(237,229,213,.5); line-height:1.85; }
.ways-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border-d); border:1px solid var(--border-d); }
.way-card { background:var(--black-2); padding:2.5rem 2rem; position:relative; overflow:hidden; transition:background .25s; cursor:pointer; }
.way-card:hover { background:var(--black-3); }
.way-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:2px; background:var(--red); transform:scaleY(0); transform-origin:bottom; transition:transform .35s ease; }
.way-card:hover::before { transform:scaleY(1); }
.way-bg-char { position:absolute; right:-1rem; bottom:-2rem; font-family:'Noto Serif',serif; font-size:9rem; font-weight:700; color:rgba(237,229,213,.04); pointer-events:none; user-select:none; line-height:1; }
.way-icon { width:40px; height:40px; border:1px solid var(--border-d2); display:flex; align-items:center; justify-content:center; margin-bottom:1.5rem; }
.way-icon svg { width:17px; height:17px; stroke:var(--bronze-2); fill:none; stroke-width:1.4; }
.way-title { font-family:'Noto Serif',serif; font-size:1.3rem; font-weight:400; color:var(--off-w); margin-bottom:.7rem; }
.way-desc { font-size:.88rem; color:rgba(237,229,213,.5); line-height:1.8; position:relative; z-index:1; margin-bottom:1.2rem; }
.way-link { display:inline-flex; align-items:center; gap:.4rem; font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--bronze-2); text-decoration:none; cursor:pointer; transition:gap .2s; }
.way-link:hover { gap:.7rem; }
.way-link svg { width:11px; height:11px; stroke:currentColor; fill:none; stroke-width:1.7; stroke-linecap:round; }

/* ── RESPONSIVE (Contact) ── */
@media (max-width: 1199px) {
  .main-inner { gap: 4rem; }
}
@media (max-width: 1023px) {
  .main-inner { grid-template-columns: 1fr; gap: 4rem; }
  .contact-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .sidebar-card { margin-bottom: 0; }
  .contact-band-inner { grid-template-columns: 1fr 1fr; }
  .ways-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .contact-band { padding: 3rem 1.2rem; }
  .contact-band-inner { grid-template-columns: 1fr 1fr; }
  .main-section { padding: 5rem 1.2rem; }
  .ways-section { padding: 5rem 1.2rem; }
  .contact-sidebar { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .contact-band { padding: 2.5rem 1rem; }
  .contact-band-inner { grid-template-columns: 1fr; }
  .main-section { padding: 4rem 1rem; }
  .ways-section { padding: 4rem 1rem; }
  .type-switcher { flex-wrap: wrap; }
  .type-tab { flex: 1 1 auto; min-width: calc(50% - 1px); font-size: .62rem; }
  .sc-social { flex-wrap: wrap; }
}

/* ── SHOP ARCHIVE ── */
.cat-nav { background:var(--black-2); border-top:1px solid var(--border-d); border-bottom:1px solid var(--border-d); position:sticky; top:72px; z-index:100; overflow-x:auto; }
.cat-nav::-webkit-scrollbar { display:none; }
.cat-nav-inner { max-width:1300px; margin:0 auto; padding:0 2.5rem; display:flex; align-items:center; gap:0; }
.cat-tab { font-size:.72rem; font-weight:400; letter-spacing:.14em; text-transform:uppercase; color:rgba(237,229,213,.45); text-decoration:none; padding:1rem 1.2rem 1rem 0; margin-right:1.8rem; border-bottom:2px solid transparent; white-space:nowrap; transition:color .2s,border-color .2s; background:none; border-left:none; border-right:none; border-top:none; cursor:pointer; }
.cat-tab:hover { color:var(--parch); }
.cat-tab.on { color:var(--off-w); border-bottom-color:var(--red); }
.cat-sep { width:1px; height:16px; background:var(--border-d); margin-right:1.8rem; flex-shrink:0; }

.bundle-hero { background:var(--black-2); border-bottom:1px solid var(--border-d); padding:5rem 2.5rem; }
.bundle-hero-inner { max-width:1300px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }
.bundle-visual { position:relative; aspect-ratio:4/3; background:var(--black-3); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.bundle-visual::before { content:''; position:absolute; inset:0; background:repeating-linear-gradient(45deg,transparent,transparent 24px,rgba(237,229,213,.025) 24px,rgba(237,229,213,.025) 25px); }
.bundle-char { font-family:'Noto Serif',serif; font-size:clamp(8rem,14vw,18rem); font-weight:700; color:rgba(237,229,213,.06); z-index:1; line-height:1; user-select:none; }
.bundle-badge { position:absolute; top:1.5rem; left:1.5rem; background:var(--red); color:var(--off-w); font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; padding:.3rem .8rem; z-index:2; }
.bundle-save { position:absolute; top:1.5rem; right:1.5rem; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--bronze-2); background:rgba(196,153,58,.1); border:1px solid rgba(196,153,58,.25); padding:.3rem .7rem; z-index:2; }
.bundle-info .eyebrow { margin-bottom:.8rem; }
.bundle-title { font-family:'Noto Serif',serif; font-size:clamp(1.8rem,3vw,2.8rem); font-weight:300; color:var(--off-w); line-height:1.15; margin-bottom:1rem; }
.bundle-title em { font-style:italic; color:var(--parch-3); }
.bundle-desc { font-size:.92rem; color:rgba(237,229,213,.55); line-height:1.85; margin-bottom:1.5rem; }
.bundle-includes { margin-bottom:2rem; }
.bundle-includes-label { font-size:.62rem; letter-spacing:.2em; text-transform:uppercase; color:rgba(237,229,213,.3); margin-bottom:.7rem; }
.bundle-item { display:flex; align-items:center; gap:.6rem; font-size:.86rem; color:rgba(237,229,213,.6); margin-bottom:.4rem; }
.bundle-item svg { width:13px; height:13px; stroke:var(--bronze-2); fill:none; stroke-width:1.5; flex-shrink:0; }
.bundle-price-row { display:flex; align-items:baseline; gap:1rem; margin-bottom:1.5rem; }
.bundle-price { font-family:'Noto Serif',serif; font-size:2.4rem; font-weight:300; color:var(--off-w); }
.bundle-original { font-size:1.1rem; color:rgba(237,229,213,.3); text-decoration:line-through; }
.bundle-saving { font-size:.74rem; letter-spacing:.1em; color:var(--bronze-2); background:rgba(196,153,58,.1); padding:.2rem .6rem; }
.btn-buy { display:inline-flex; align-items:center; gap:.6rem; padding:.9rem 2.2rem; background:var(--red); color:var(--off-w); font-size:.78rem; font-weight:400; letter-spacing:.14em; text-transform:uppercase; text-decoration:none; border:none; cursor:pointer; transition:background .2s,gap .2s; }
.btn-buy:hover { background:var(--red-2); gap:.9rem; }
.btn-buy svg { width:13px; height:13px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; }
.bundle-actions { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }

.products-section { padding:6rem 2.5rem; }
.products-section.alt { background:var(--black-2); }
.section-header { max-width:1300px; margin:0 auto 3rem; display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:1.5rem; }
.view-all { font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:rgba(237,229,213,.45); text-decoration:none; border-bottom:1px solid rgba(237,229,213,.2); padding-bottom:2px; transition:color .2s,border-color .2s; }
.view-all:hover { color:var(--parch); border-color:var(--bronze-2); }

.product-grid { max-width:1300px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border-d); border:1px solid var(--border-d); }
.product-grid.col-3 { grid-template-columns:repeat(3,1fr); }
.product-card { background:var(--black); text-decoration:none; cursor:pointer; transition:background .2s; display:flex; flex-direction:column; position:relative; }
.product-grid.alt .product-card { background:var(--black-2); }
.product-card:hover { background:var(--black-3); }
.product-card-img { aspect-ratio:3/4; background:var(--black-3); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.product-grid.alt .product-card-img { background:var(--black); }
.product-card-img::after { content:''; position:absolute; inset:0; background:repeating-linear-gradient(-45deg,transparent,transparent 19px,rgba(237,229,213,.02) 19px,rgba(237,229,213,.02) 20px); }
.product-img-char { font-family:'Noto Serif',serif; font-size:5rem; font-weight:300; color:rgba(237,229,213,.08); z-index:1; line-height:1; transition:color .3s; }
.product-card:hover .product-img-char { color:rgba(237,229,213,.14); }
.product-card-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; display:block; }
.product-tag { position:absolute; top:1rem; left:1rem; font-size:.58rem; letter-spacing:.18em; text-transform:uppercase; padding:.2rem .6rem; z-index:2; }
.tag-book   { background:var(--bronze); color:var(--off-w); }
.tag-pdf    { background:rgba(138,106,63,.3); color:var(--bronze-2); border:1px solid rgba(196,153,58,.3); }
.tag-audio  { background:var(--sage); color:var(--off-w); }
.tag-merch  { background:var(--black); color:var(--parch-2); border:1px solid var(--border-d2); }
.tag-bundle { background:var(--red); color:var(--off-w); }
.tag-new    { position:absolute; top:1rem; right:1rem; left:auto; font-size:.56rem; letter-spacing:.18em; text-transform:uppercase; padding:.2rem .5rem; background:var(--bronze-2); color:var(--black); z-index:2; }
.product-hover-cta { position:absolute; bottom:1rem; left:1rem; right:1rem; background:rgba(14,12,10,.88); color:var(--off-w); font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; text-align:center; padding:.65rem; z-index:3; opacity:0; transform:translateY(6px); transition:opacity .25s,transform .25s; }
.product-card:hover .product-hover-cta { opacity:1; transform:translateY(0); }
.product-body { padding:1.4rem 1.5rem 1.6rem; border-top:1px solid var(--border-d); flex:1; display:flex; flex-direction:column; }
.product-style { font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; color:var(--bronze-2); margin-bottom:.35rem; }
.product-name { font-family:'Noto Serif',serif; font-size:1.05rem; font-weight:400; color:var(--off-w); line-height:1.3; margin-bottom:.5rem; flex:1; }
.product-desc { font-size:.82rem; color:rgba(237,229,213,.45); line-height:1.65; margin-bottom:.9rem; }
.product-price-row { display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
.product-price { font-family:'Noto Serif',serif; font-size:1.05rem; font-weight:300; color:var(--parch); }
.product-format { font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; color:rgba(237,229,213,.3); }

.offers-grid { max-width:1300px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border-d); border:1px solid var(--border-d); }
.offer-card { background:var(--black-2); padding:2.5rem 2rem; position:relative; overflow:hidden; transition:background .25s; cursor:pointer; }
.offer-card:hover { background:var(--black-3); }
.offer-card::before { content:''; position:absolute; bottom:0; left:0; right:0; height:2px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform .35s ease; }
.offer-card:hover::before { transform:scaleX(1); }
.offer-bg-char { position:absolute; right:-1rem; bottom:-2rem; font-family:'Noto Serif',serif; font-size:10rem; font-weight:700; color:rgba(237,229,213,.04); pointer-events:none; user-select:none; line-height:1; }
.offer-label { font-size:.62rem; letter-spacing:.2em; text-transform:uppercase; color:var(--red); margin-bottom:.7rem; display:flex; align-items:center; gap:.5rem; }
.offer-label::before { content:''; width:16px; height:1px; background:var(--red); }
.offer-title { font-family:'Noto Serif',serif; font-size:1.4rem; font-weight:400; color:var(--off-w); margin-bottom:.7rem; line-height:1.2; }
.offer-desc { font-size:.86rem; color:rgba(237,229,213,.5); line-height:1.75; margin-bottom:1.5rem; position:relative; z-index:1; }
.offer-items { margin-bottom:1.5rem; position:relative; z-index:1; }
.offer-item { display:flex; align-items:center; gap:.5rem; font-size:.82rem; color:rgba(237,229,213,.6); margin-bottom:.35rem; }
.offer-item svg { width:12px; height:12px; stroke:var(--bronze-2); fill:none; stroke-width:1.5; flex-shrink:0; }
.offer-price { font-family:'Noto Serif',serif; font-size:2rem; font-weight:300; color:var(--off-w); margin-bottom:.3rem; }
.offer-orig { font-size:.84rem; color:rgba(237,229,213,.3); text-decoration:line-through; margin-bottom:1.2rem; }
.btn-offer { display:inline-flex; align-items:center; gap:.5rem; padding:.75rem 1.8rem; background:var(--red); color:var(--off-w); font-size:.72rem; font-weight:400; letter-spacing:.14em; text-transform:uppercase; text-decoration:none; border:none; cursor:pointer; transition:background .2s; }
.btn-offer:hover { background:var(--red-2); }
.btn-offer--soon { background:var(--black-3); color:var(--parch-3); cursor:default; opacity:.7; }
.btn-offer--soon:hover { background:var(--black-3); }

.merch-grid { max-width:1300px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border-d); border:1px solid var(--border-d); }
.merch-card { background:var(--black-2); text-decoration:none; cursor:pointer; transition:background .2s; display:flex; flex-direction:column; }
.merch-card:hover { background:var(--black-3); }
.merch-img { aspect-ratio:1/1; background:var(--black-3); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.merch-img::after { content:''; position:absolute; inset:0; background:repeating-linear-gradient(-45deg,transparent,transparent 19px,rgba(237,229,213,.02) 19px,rgba(237,229,213,.02) 20px); }
.merch-icon { font-family:'Noto Serif',serif; font-size:4rem; color:rgba(237,229,213,.07); z-index:1; line-height:1; transition:color .25s; }
.merch-card:hover .merch-icon { color:rgba(237,229,213,.12); }
.merch-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; display:block; }
.merch-hover { position:absolute; bottom:.8rem; left:.8rem; right:.8rem; background:rgba(14,12,10,.88); color:var(--off-w); font-size:.65rem; letter-spacing:.16em; text-transform:uppercase; text-align:center; padding:.55rem; z-index:3; opacity:0; transform:translateY(5px); transition:opacity .25s,transform .25s; }
.merch-card:hover .merch-hover { opacity:1; transform:translateY(0); }
.merch-body { padding:1.2rem 1.4rem 1.5rem; border-top:1px solid var(--border-d); }
.merch-cat { font-size:.6rem; letter-spacing:.18em; text-transform:uppercase; color:var(--bronze-2); margin-bottom:.3rem; }
.merch-name { font-family:'Noto Serif',serif; font-size:1rem; font-weight:400; color:var(--off-w); margin-bottom:.5rem; }
.merch-price { font-size:.9rem; color:var(--parch-2); }

.philosophy-break { background:var(--black); border-top:1px solid var(--border-d); }
.philosophy-break-inner { max-width:900px; margin:0 auto; text-align:center; padding:6rem 2.5rem; }

.info-section { padding:6rem 2.5rem; background:var(--black-2); border-top:1px solid var(--border-d); }
.info-inner { max-width:1300px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:5rem; }
.info-col h3 { font-family:'Noto Serif',serif; font-size:1.6rem; font-weight:300; color:var(--off-w); margin-bottom:2rem; }
.info-item { padding:1.2rem 0; border-bottom:1px solid var(--border-d); }
.info-item:last-child { border-bottom:none; }
.info-q { font-size:.88rem; font-weight:400; color:var(--parch-2); margin-bottom:.4rem; cursor:pointer; display:flex; align-items:center; justify-content:space-between; }
.info-q svg { width:14px; height:14px; stroke:var(--bronze-2); fill:none; stroke-width:1.5; flex-shrink:0; }
.info-a { font-size:.84rem; color:rgba(237,229,213,.5); line-height:1.75; }
.trust-row { display:flex; flex-direction:column; gap:1.2rem; }
.trust-item { display:flex; align-items:flex-start; gap:1rem; }
.trust-icon { width:36px; height:36px; border:1px solid var(--border-d2); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:.1rem; }
.trust-icon svg { width:15px; height:15px; stroke:var(--bronze-2); fill:none; stroke-width:1.4; }
.trust-title { font-size:.88rem; font-weight:400; color:var(--parch-2); margin-bottom:.2rem; }
.trust-text { font-size:.82rem; color:rgba(237,229,213,.5); line-height:1.6; }

.cta-banner { background:var(--black); border-top:1px solid var(--border-d); border-bottom:1px solid var(--border-d); padding:6rem 2.5rem; position:relative; overflow:hidden; }
.cta-banner::before { content:'道場'; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); font-family:'Noto Serif',serif; font-size:clamp(14rem,30vw,32rem); font-weight:700; line-height:1; color:rgba(237,229,213,.025); pointer-events:none; user-select:none; white-space:nowrap; }

/* ── RESPONSIVE (Shop Archive) ── */
@media (max-width: 1199px) {
  .product-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1023px) {
  .bundle-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .bundle-visual { max-height: 380px; aspect-ratio: unset; }
  .offers-grid { grid-template-columns: 1fr 1fr; }
  .merch-grid { grid-template-columns: 1fr 1fr; }
  .info-inner { grid-template-columns: 1fr; gap: 3rem; }
  .product-grid.col-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .bundle-hero, .products-section, .info-section, .cta-banner { padding: 4rem 1.2rem; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-grid.col-3 { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: 1fr; }
  .merch-grid { grid-template-columns: 1fr 1fr; }
  .cat-nav-inner { padding: 0 1.2rem; }
  .philosophy-break-inner { padding: 5rem 1.2rem; }
  .section-header { margin-bottom: 2rem; }
}
@media (max-width: 479px) {
  .product-grid { grid-template-columns: 1fr; }
  .merch-grid { grid-template-columns: 1fr; }
  .bundle-hero, .products-section, .info-section, .cta-banner { padding: 3.5rem 1rem; }
  .philosophy-break-inner { padding: 4rem 1rem; }
  .btn-buy, .btn-offer { width: 100%; justify-content: center; }
  .bundle-actions { flex-direction: column; align-items: flex-start; }
}

/* ── RESPONSIVE (Resources + About) ── */
@media (max-width: 1023px) {
  .res-grid { grid-template-columns: 1fr 1fr; }
  .meaning-inner { grid-template-columns: 1fr; gap: 3rem; }
  .founder-inner { grid-template-columns: 1fr; gap: 3rem; }
  .founder-visual { aspect-ratio: unset; width: 100%; max-height: 400px; }
  .philosophy-pillars { grid-template-columns: 1fr; }
  .way-steps { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .way-steps::before { display: none; }
  .mission-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .resources-section { padding: 5rem 1.2rem; }
  .meaning-section, .mission-section, .founder-section,
  .philosophy-section, .way-section, .about-cta { padding: 5rem 1.2rem; }
  .pull-quote-section .pull-quote-inner { padding: 5rem 1.2rem; }
  .founder-credentials { grid-template-columns: 1fr; }
  .way-steps { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .page-hero-inner { padding: 0 1.2rem; }
  .breadcrumb { margin-bottom: 1.5rem; }
}
@media (max-width: 479px) {
  .resources-section { padding: 4rem 1rem; }
  .res-grid { grid-template-columns: 1fr; }
  .meaning-section, .mission-section, .founder-section,
  .philosophy-section, .way-section, .about-cta { padding: 4rem 1rem; }
  .pull-quote-section .pull-quote-inner { padding: 4rem 1rem; }
  .page-hero-inner { padding: 0 1rem; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════════
   MARTIAL ARTS STYLES ARCHIVE
══════════════════════════════════════════════ */

/* Hero meta row */
.hero-meta-row {
  display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 2.5rem;
  animation: fadeUp .8s ease .65s both;
}
.hmi-num {
  font-family: 'Noto Serif', serif; font-size: 1.8rem; font-weight: 300;
  color: var(--off-w); line-height: 1;
}
.hmi-label {
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(237,229,213,.35); margin-top: .3rem;
}
.hero-meta-divider { width: 1px; height: 32px; background: var(--border-d2); }

/* Intro (2-col layout for styles archive) */
.mas-intro-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.mas-intro-text .section-title { margin-bottom: 1.4rem; }
.mas-intro-text p { font-size: .95rem; color: rgba(237,229,213,.55); line-height: 1.9; margin-bottom: 1.1rem; }
.mas-intro-text p strong { color: var(--parch-2); font-weight: 400; }
.mas-intro-principles { display: flex; flex-direction: column; gap: 1.4rem; }
.mas-principle { display: flex; align-items: flex-start; gap: 1rem; }
.mas-principle-num {
  font-family: 'Noto Serif', serif; font-size: 1.6rem; font-weight: 300;
  color: rgba(237,229,213,.18); line-height: 1; min-width: 36px;
}
.mas-principle-title { font-family: 'Noto Serif', serif; font-size: 1.1rem; font-weight: 400; color: var(--off-w); margin-bottom: .3rem; }
.mas-principle-text { font-size: .85rem; color: rgba(237,229,213,.5); line-height: 1.7; }

/* Filter bar */
.mas-filter-bar {
  background: var(--black);
  border-bottom: 1px solid var(--border-d);
  position: sticky; top: 72px; z-index: 100;
  overflow-x: auto;
}
.mas-filter-bar::-webkit-scrollbar { display: none; }
.mas-filter-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center;
}
.mas-filter-tab {
  font-size: .72rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(237,229,213,.45); text-decoration: none;
  padding: 1rem 1.2rem 1rem 0; margin-right: 1.8rem;
  border-bottom: 2px solid transparent;
  background: none; border-left: none; border-right: none; border-top: none;
  cursor: pointer; transition: color .2s, border-color .2s; white-space: nowrap;
}
.mas-filter-tab:hover { color: var(--parch); }
.mas-filter-tab.on { color: var(--off-w); border-bottom-color: var(--red); }
.mas-filter-count { font-size: .62rem; color: rgba(237,229,213,.25); margin-left: .4rem; }

/* Styles grid */
.mas-styles-section { padding: 6rem 2.5rem; background: var(--black); }
.mas-styles-inner { max-width: 1300px; margin: 0 auto; }
.mas-styles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border-d);
  border: 1px solid var(--border-d);
}

/* Style card */
.mas-style-card {
  background: var(--black);
  display: grid; grid-template-columns: 240px 1fr;
  text-decoration: none; cursor: pointer;
  transition: background .25s;
  position: relative; overflow: hidden;
}
.mas-style-card:hover { background: var(--black-2); }

.mas-card-visual {
  background: var(--black-2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border-right: 1px solid var(--border-d);
}
.mas-card-visual::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 22px, rgba(237,229,213,.025) 22px, rgba(237,229,213,.025) 23px);
}
.mas-card-char {
  font-family: 'Noto Serif', serif; font-weight: 700; line-height: 1;
  font-size: clamp(4.5rem, 8vw, 7rem);
  color: rgba(237,229,213,.1); z-index: 1; user-select: none;
  transition: color .3s;
}
.mas-style-card:hover .mas-card-char { color: rgba(237,229,213,.18); }
.mas-card-num {
  position: absolute; top: 1rem; left: 1rem;
  font-size: .62rem; letter-spacing: .2em; color: var(--red); z-index: 2;
}

.mas-card-content { padding: 2.2rem 2rem; display: flex; flex-direction: column; }
.mas-card-origin {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bronze-2); margin-bottom: .6rem;
  display: flex; align-items: center; gap: .5rem;
}
.mas-card-origin svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.mas-card-title {
  font-family: 'Noto Serif', serif; font-size: 1.6rem; font-weight: 400;
  color: var(--off-w); margin-bottom: .7rem; line-height: 1.15;
}
.mas-native { font-style: italic; color: var(--parch-3); font-size: 1.1rem; margin-left: .4rem; }
.mas-card-desc { font-size: .86rem; color: rgba(237,229,213,.5); line-height: 1.8; margin-bottom: 1.2rem; flex: 1; }
.mas-card-tags { display: flex; gap: .5rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.mas-card-tag {
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(237,229,213,.35); border: 1px solid var(--border-d2); padding: .2rem .6rem;
}
.mas-card-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze-2); transition: gap .2s;
}
.mas-style-card:hover .mas-card-link { gap: .8rem; }
.mas-card-link svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; }

/* Red bottom rule on hover */
.mas-style-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.mas-style-card:hover::after { transform: scaleX(1); }
.mas-hidden { display: none; }

/* Comparison table */
.mas-compare-section {
  background: var(--black-2);
  border-top: 1px solid var(--border-d);
  padding: 7rem 2.5rem;
}
.mas-compare-inner { max-width: 1300px; margin: 0 auto; }
.mas-compare-header { max-width: 680px; margin-bottom: 3.5rem; }
.mas-compare-header .section-title { margin-bottom: 1rem; }
.mas-compare-header p { font-size: .95rem; color: rgba(237,229,213,.5); line-height: 1.85; }
.mas-table-wrap { overflow-x: auto; border: 1px solid var(--border-d); }
.mas-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.mas-table th, .mas-table td {
  padding: .9rem 1.4rem; text-align: left; font-size: .84rem;
  border-bottom: 1px solid var(--border-d);
  border-right: 1px solid var(--border-d);
  white-space: nowrap;
}
.mas-table th:last-child, .mas-table td:last-child { border-right: none; }
.mas-table tr:last-child td { border-bottom: none; }
.mas-table thead th {
  background: var(--black-3);
  font-family: 'Noto Serif', serif; font-size: .95rem; font-weight: 400; color: var(--off-w);
}
.mas-table thead th:first-child {
  color: var(--bronze-2); font-family: 'DM Sans', sans-serif;
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
}
.mas-table tbody th {
  background: var(--black-2);
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(237,229,213,.35); font-weight: 400; white-space: normal;
}
.mas-table tbody td { color: rgba(237,229,213,.55); white-space: normal; }
.mas-tchar { font-family: 'Noto Serif', serif; color: var(--parch-3); margin-right: .4rem; font-style: italic; }

/* ── Responsive (Styles Archive) ── */
@media (max-width: 1199px) {
  .mas-styles-grid { grid-template-columns: 1fr; }
  .mas-style-card { grid-template-columns: 200px 1fr; }
}
@media (max-width: 1023px) {
  .mas-intro-inner { grid-template-columns: 1fr; gap: 3rem; }
  .mas-style-card { grid-template-columns: 1fr; }
  .mas-card-visual { aspect-ratio: 16 / 6; border-right: none; border-bottom: 1px solid var(--border-d); }
  .hero-meta-row { gap: 1.5rem; }
}
@media (max-width: 767px) {
  .mas-styles-section, .mas-compare-section { padding: 4.5rem 1.2rem; }
  .mas-filter-inner { padding: 0 1.2rem; }
  .mas-card-content { padding: 1.6rem 1.4rem; }
  .mas-card-title { font-size: 1.35rem; }
  .hero-meta-row { gap: 1.2rem; }
  .hero-meta-divider { display: none; }
}
@media (max-width: 479px) {
  .mas-styles-section, .mas-compare-section { padding: 3.5rem 1rem; }
  .mas-card-content { padding: 1.4rem 1.2rem; }
  .hero-meta-row { flex-direction: column; align-items: flex-start; gap: .8rem; }
}

/* ============================================================
   CART & CHECKOUT — sc- prefix
   ============================================================ */

/* ── Shared progress bar ── */
.sc-progress-bar-wrap { height: 3px; background: var(--black-3); }
.sc-progress-bar { height: 100%; background: var(--bronze-2); transition: width .4s ease; }

/* ── Cart header / breadcrumb ── */
.sc-cart-header { background: var(--black-2); border-bottom: 1px solid var(--border-d); padding: 2.5rem 2.5rem 2rem; }
.sc-cart-header-inner { max-width: 1180px; margin: 0 auto; }
.sc-breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--parch-3); font-family: 'DM Sans', sans-serif; margin-bottom: 1rem; }
.sc-breadcrumb a { color: var(--parch-3); text-decoration: none; }
.sc-breadcrumb a:hover { color: var(--parch); }
.sc-breadcrumb .current { color: var(--parch-2); }
.sc-cart-title-row { display: flex; align-items: baseline; gap: 1rem; }
.sc-cart-title-row h1 { font-family: 'Noto Serif', serif; font-size: 2.4rem; color: var(--parch); font-weight: 400; margin: 0; }
.sc-cart-title-row h1 em { font-style: italic; color: var(--bronze-2); }
.sc-item-count { font-family: 'DM Sans', sans-serif; font-size: .85rem; color: var(--parch-3); }

/* ── Steps bar ── */
.sc-steps-bar { background: var(--black-2); border-bottom: 1px solid var(--border-d); padding: .8rem 2.5rem; }
.sc-steps-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: .5rem; font-family: 'DM Sans', sans-serif; font-size: .82rem; }
.sc-step { display: flex; align-items: center; gap: .4rem; color: var(--parch-3); }
.sc-step.current { color: var(--parch); font-weight: 600; }
.sc-step.done { color: var(--sage); }
.sc-step-circle { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; flex-shrink: 0; }
.sc-step.current .sc-step-circle { background: var(--parch); color: var(--black); border-color: var(--parch); }
.sc-step.done .sc-step-circle { background: var(--sage); color: #fff; border-color: var(--sage); }
.sc-step-arrow { color: var(--parch-3); opacity: .4; font-size: 1.1rem; line-height: 1; }

/* ── Free shipping bar ── */
.sc-ship-bar { background: var(--black-3); border-bottom: 1px solid var(--border-d); padding: .7rem 2.5rem; }
.sc-ship-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; font-family: 'DM Sans', sans-serif; font-size: .82rem; }
.sc-ship-left { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.sc-ship-left svg { width: 16px; height: 16px; stroke: var(--bronze-2); fill: none; stroke-width: 2; flex-shrink: 0; }
.sc-ship-text { color: var(--parch-2); white-space: nowrap; }
.sc-ship-text strong { color: var(--sage); }
.sc-ship-progress-wrap { flex: 1; height: 4px; background: var(--border-d2); border-radius: 2px; overflow: hidden; }
.sc-ship-progress-fill { height: 100%; background: var(--sage); border-radius: 2px; transition: width .4s ease; }
.sc-ship-amount { color: var(--parch-3); white-space: nowrap; flex-shrink: 0; font-size: .78rem; }

/* ── Main cart layout ── */
.sc-cart-layout { max-width: 1180px; margin: 0 auto; padding: 2.5rem 2.5rem; display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.sc-cart-left { min-width: 0; }
.sc-cart-summary { }

/* ── Cart table header ── */
.sc-cart-table-head { display: grid; grid-template-columns: 1fr 140px 100px 40px; gap: .5rem; padding: 0 0 .6rem; border-bottom: 1px solid var(--border-d); margin-bottom: .5rem; }
.sc-col-label { font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--parch-3); }
.sc-col-label.sc-center { text-align: center; }
.sc-col-label.sc-right { text-align: right; }

/* ── Cart item ── */
.sc-cart-item { display: grid; grid-template-columns: 1fr 140px 100px 40px; gap: .5rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--border-d); }
.sc-item-product { display: flex; align-items: flex-start; gap: 1rem; }
.sc-item-thumb { width: 76px; height: 76px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: var(--black-3); border: 1px solid var(--border-d); display: flex; align-items: center; justify-content: center; }
.sc-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-item-kanji { font-family: 'Noto Serif', serif; font-size: 2.2rem; color: var(--border-d2); opacity: .6; }
.sc-item-meta { flex: 1; min-width: 0; }
.sc-item-tag { display: inline-block; font-size: .68rem; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bronze-2); background: rgba(196,153,58,.12); border-radius: 3px; padding: .1em .5em; margin-bottom: .3rem; }
.sc-item-name { font-family: 'Noto Serif', serif; font-size: 1rem; color: var(--parch); font-weight: 400; text-decoration: none; display: block; line-height: 1.3; }
a.sc-item-name:hover { color: var(--bronze-2); }
.sc-item-cat { font-size: .78rem; font-family: 'DM Sans', sans-serif; color: var(--parch-3); margin-top: .2rem; }
.sc-item-variants { font-size: .8rem; color: var(--parch-3); font-family: 'DM Sans', sans-serif; }
.sc-item-actions { margin-top: .5rem; display: flex; gap: .8rem; }
.sc-item-action-btn { font-size: .75rem; font-family: 'DM Sans', sans-serif; color: var(--parch-3); text-decoration: none; }
.sc-item-action-btn:hover { color: var(--red); }
.sc-remove-text { color: var(--parch-3); }
.sc-remove-text:hover { color: var(--red); }
.sc-item-qty { display: flex; justify-content: center; }
.sc-item-price-cell { text-align: right; }
.sc-item-price { font-family: 'DM Sans', sans-serif; font-size: .98rem; font-weight: 600; color: var(--parch); }
.sc-item-remove { display: flex; justify-content: center; }
.sc-remove-btn { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: var(--parch-3); transition: color .2s, background .2s; }
.sc-remove-btn:hover { color: var(--red); background: rgba(193,60,42,.1); }
.sc-remove-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Qty control ── */
.sc-qty-control { display: inline-flex; align-items: center; border: 1px solid var(--border-d2); border-radius: 6px; overflow: hidden; }
.sc-qty-btn { width: 30px; height: 32px; background: var(--black-3); border: none; color: var(--parch-2); font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.sc-qty-btn:hover { background: var(--border-d2); color: var(--parch); }
.sc-qty-num { width: 38px; height: 32px; border: none; background: var(--black-2); color: var(--parch); font-family: 'DM Sans', sans-serif; font-size: .9rem; text-align: center; -moz-appearance: textfield; }
.sc-qty-num::-webkit-outer-spin-button, .sc-qty-num::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── Cart actions bar ── */
.sc-cart-actions { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 0 0; }
.sc-continue-link { display: inline-flex; align-items: center; gap: .4rem; font-family: 'DM Sans', sans-serif; font-size: .85rem; color: var(--parch-3); text-decoration: none; }
.sc-continue-link:hover { color: var(--parch); }
.sc-continue-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.sc-update-cart { font-family: 'DM Sans', sans-serif; font-size: .82rem; color: var(--parch-3); background: transparent; border: 1px solid var(--border-d2); border-radius: 6px; padding: .5rem 1rem; cursor: pointer; transition: border-color .2s, color .2s; }
.sc-update-cart:hover { color: var(--parch); border-color: var(--parch-3); }

/* ── Empty cart ── */
.sc-empty-cart { text-align: center; padding: 6rem 2rem; }
.sc-empty-kanji { font-family: 'Noto Serif', serif; font-size: 6rem; color: var(--border-d2); line-height: 1; margin-bottom: 1.5rem; }
.sc-empty-cart h2 { font-family: 'Noto Serif', serif; font-size: 1.8rem; color: var(--parch); font-weight: 400; margin-bottom: .75rem; }
.sc-empty-cart p { color: var(--parch-3); font-family: 'DM Sans', sans-serif; margin-bottom: 2rem; max-width: 360px; margin-left: auto; margin-right: auto; }
.sc-btn-shop { display: inline-flex; align-items: center; gap: .6rem; background: var(--red); color: #fff; font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 600; padding: .85rem 1.8rem; border-radius: 8px; text-decoration: none; transition: background .2s; }
.sc-btn-shop:hover { background: var(--red-2); color: #fff; }
.sc-btn-shop svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Recently viewed ── */
.sc-rv-section { margin-top: 3rem; border-top: 1px solid var(--border-d); padding-top: 2rem; }
.sc-rv-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.2rem; }
.sc-rv-header h3 { font-family: 'Noto Serif', serif; font-size: 1.15rem; color: var(--parch); font-weight: 400; margin: 0; }
.sc-rv-header a { font-size: .8rem; font-family: 'DM Sans', sans-serif; color: var(--parch-3); text-decoration: none; }
.sc-rv-header a:hover { color: var(--bronze-2); }
.sc-rv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sc-rv-card { text-decoration: none; display: block; }
.sc-rv-img { border-radius: 8px; overflow: hidden; background: var(--black-3); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: .6rem; }
.sc-rv-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-rv-kanji { font-family: 'Noto Serif', serif; font-size: 2.5rem; color: var(--border-d2); }
.sc-rv-tag { font-size: .68rem; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: .25rem; }
.sc-rv-name { font-family: 'Noto Serif', serif; font-size: .88rem; color: var(--parch); line-height: 1.3; margin-bottom: .25rem; }
.sc-rv-price { font-size: .82rem; font-family: 'DM Sans', sans-serif; color: var(--parch-3); }
.sc-rv-card:hover .sc-rv-name { color: var(--bronze-2); }

/* ── Order summary box (cart + checkout sidebar) ── */
.sc-summary-box { background: var(--black-2); border: 1px solid var(--border-d); border-radius: 12px; overflow: hidden; }
.sc-summary-head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.6rem 1rem; border-bottom: 1px solid var(--border-d); }
.sc-summary-head h3 { font-family: 'Noto Serif', serif; font-size: 1.1rem; color: var(--parch); font-weight: 400; margin: 0; display: flex; align-items: center; gap: .5rem; }
.sc-summary-count { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--bronze-2); color: var(--black); font-size: .7rem; font-weight: 700; font-family: 'DM Sans', sans-serif; }
.sc-edit-cart-link { font-size: .78rem; font-family: 'DM Sans', sans-serif; color: var(--parch-3); text-decoration: none; }
.sc-edit-cart-link:hover { color: var(--bronze-2); }

/* ── Promo/coupon ── */
.sc-promo-section { padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--border-d); }
.sc-promo-label { font-size: .75rem; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--parch-3); margin-bottom: .6rem; }
.sc-promo-row { display: flex; gap: .5rem; }
.sc-promo-row input { flex: 1; background: var(--black-3); border: 1px solid var(--border-d2); border-radius: 6px; padding: .55rem .8rem; color: var(--parch); font-family: 'DM Sans', sans-serif; font-size: .85rem; }
.sc-promo-row input::placeholder { color: var(--parch-3); }
.sc-promo-row input:focus { outline: none; border-color: var(--bronze-2); }
.sc-promo-row button { background: var(--black-3); border: 1px solid var(--border-d2); border-radius: 6px; padding: .55rem 1rem; color: var(--parch-2); font-family: 'DM Sans', sans-serif; font-size: .82rem; cursor: pointer; transition: border-color .2s; }
.sc-promo-row button:hover { border-color: var(--parch-3); color: var(--parch); }
.sc-promo-applied { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; padding: .4rem .6rem; background: rgba(74,97,85,.15); border-radius: 5px; }
.sc-promo-applied-text { display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-family: 'DM Sans', sans-serif; color: var(--sage); }
.sc-promo-applied-text svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.sc-promo-remove { font-size: .75rem; font-family: 'DM Sans', sans-serif; color: var(--parch-3); text-decoration: none; }
.sc-promo-remove:hover { color: var(--red); }

/* ── Summary items (checkout sidebar) ── */
.sc-summary-items { padding: 1rem 1.6rem; display: flex; flex-direction: column; gap: .8rem; border-bottom: 1px solid var(--border-d); }
.sc-summary-item { display: flex; align-items: flex-start; gap: .8rem; }
.sc-summary-item-img { position: relative; width: 52px; height: 52px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--black-3); border: 1px solid var(--border-d); display: flex; align-items: center; justify-content: center; }
.sc-summary-item-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-summary-kanji { font-family: 'Noto Serif', serif; font-size: 1.4rem; color: var(--border-d2); }
.sc-summary-item-qty { position: absolute; top: -5px; right: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--bronze-2); color: var(--black); font-size: .65rem; font-weight: 700; font-family: 'DM Sans', sans-serif; display: flex; align-items: center; justify-content: center; }
.sc-summary-item-details { flex: 1; min-width: 0; }
.sc-summary-item-tag { font-size: .65rem; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: .15rem; }
.sc-summary-item-name { font-family: 'Noto Serif', serif; font-size: .88rem; color: var(--parch); line-height: 1.3; }
.sc-summary-item-price { font-size: .82rem; font-family: 'DM Sans', sans-serif; color: var(--parch-3); margin-top: .2rem; }

/* ── Totals section ── */
.sc-totals-section, .sc-summary-totals { padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--border-d); display: flex; flex-direction: column; gap: .55rem; }
.sc-total-row { display: flex; align-items: center; justify-content: space-between; font-family: 'DM Sans', sans-serif; font-size: .88rem; }
.sc-total-label { color: var(--parch-3); }
.sc-total-val { color: var(--parch-2); font-weight: 500; }
.sc-free { color: var(--sage); font-weight: 600; }
.sc-total-divider { height: 1px; background: var(--border-d); margin: .3rem 0; }
.sc-grand-row { display: flex; align-items: center; justify-content: space-between; }
.sc-grand-label { font-family: 'DM Sans', sans-serif; font-size: .85rem; font-weight: 600; color: var(--parch-2); text-transform: uppercase; letter-spacing: .05em; }
.sc-grand-val { font-family: 'Noto Serif', serif; font-size: 1.2rem; color: var(--parch); }
.sc-vat-note { font-size: .75rem; font-family: 'DM Sans', sans-serif; color: var(--parch-3); margin-top: .2rem; text-align: right; }

/* ── CTA button ── */
.sc-cta-section { padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--border-d); }
.sc-btn-checkout { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; background: var(--red); color: #fff; font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 700; padding: .9rem 1.5rem; border-radius: 8px; text-decoration: none; transition: background .2s; }
.sc-btn-checkout:hover { background: var(--red-2); color: #fff; }
.sc-btn-checkout svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; }
.sc-btn-total { margin-left: auto; font-weight: 600; }
.sc-secure-note { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .75rem; font-family: 'DM Sans', sans-serif; color: var(--parch-3); margin-top: .7rem; }
.sc-secure-note svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Trust signals ── */
.sc-trust-section, .sc-summary-trust { padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--border-d); display: flex; flex-direction: column; gap: .6rem; }
.sc-trust-item { display: flex; align-items: flex-start; gap: .7rem; font-family: 'DM Sans', sans-serif; font-size: .8rem; color: var(--parch-3); }
.sc-trust-item svg { width: 14px; height: 14px; stroke: var(--sage); fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: .1rem; }
.sc-trust-item p { margin: 0; }
.sc-trust-item strong { color: var(--parch-2); }

/* ── Card logos ── */
.sc-card-logos { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem 1.6rem; flex-wrap: wrap; }
.sc-card-logo { font-family: 'DM Sans', sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .03em; background: var(--black-3); border: 1px solid var(--border-d); border-radius: 4px; padding: .3rem .55rem; color: var(--parch-3); }

/* ── Checkout header (form-checkout.php) ── */
.sc-checkout-header { max-width: 1180px; margin: 0 auto; padding: 2rem 2.5rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.sc-checkout-steps { display: flex; align-items: center; gap: .5rem; font-family: 'DM Sans', sans-serif; font-size: .82rem; }
.sc-step { display: flex; align-items: center; gap: .4rem; color: var(--parch-3); }
.sc-step.done { color: var(--sage); }
.sc-step.active { color: var(--parch); font-weight: 600; }
.sc-step-num { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; flex-shrink: 0; }
.sc-step.done .sc-step-num { background: var(--sage); color: #fff; border-color: var(--sage); }
.sc-step.active .sc-step-num { background: var(--parch); color: var(--black); border-color: var(--parch); }
.sc-step-connector { width: 40px; height: 1px; background: var(--border-d2); }
.sc-secure-badge { display: flex; align-items: center; gap: .4rem; font-family: 'DM Sans', sans-serif; font-size: .78rem; color: var(--parch-3); }
.sc-secure-badge svg { width: 13px; height: 13px; stroke: var(--sage); fill: none; stroke-width: 2; }

/* ── Checkout form layout ── */
.sc-checkout-layout { max-width: 1180px; margin: 0 auto; padding: 0 2.5rem 3rem; display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.sc-form-column { min-width: 0; }
.sc-summary-column { }
.sc-summary-sticky { position: sticky; top: 120px; }
.sc-back-link { display: inline-flex; align-items: center; gap: .4rem; font-family: 'DM Sans', sans-serif; font-size: .82rem; color: var(--parch-3); text-decoration: none; margin-bottom: 1.2rem; }
.sc-back-link:hover { color: var(--parch); }
.sc-back-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.sc-login-prompt { font-family: 'DM Sans', sans-serif; font-size: .83rem; color: var(--parch-3); background: var(--black-3); border: 1px solid var(--border-d); border-radius: 8px; padding: .75rem 1rem; margin-bottom: 1.4rem; }
.sc-login-prompt a { color: var(--bronze-2); text-decoration: none; }
.sc-login-prompt strong { color: var(--parch-2); }

/* ── Form sections ── */
.sc-form-section { background: var(--black-2); border: 1px solid var(--border-d); border-radius: 12px; margin-bottom: 1.2rem; overflow: hidden; }
.sc-form-section-header { padding: 1.2rem 1.6rem .8rem; border-bottom: 1px solid var(--border-d); }
.sc-form-section-title { display: flex; align-items: center; gap: .7rem; font-family: 'Noto Serif', serif; font-size: 1rem; color: var(--parch); font-weight: 400; }
.sc-section-icon { width: 28px; height: 28px; background: var(--black-3); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-section-icon svg { width: 14px; height: 14px; stroke: var(--bronze-2); fill: none; stroke-width: 1.8; }
.sc-wc-billing { padding: 1.2rem 1.6rem; }

/* ── WC form field overrides inside sections ── */
.sc-wc-billing .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .form-row { display: flex; flex-direction: column; margin-bottom: .85rem; }
.woocommerce-checkout .form-row label { font-family: 'DM Sans', sans-serif; font-size: .78rem; font-weight: 600; color: var(--parch-3); margin-bottom: .3rem; letter-spacing: .03em; }
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea { background: var(--black-3); border: 1px solid var(--border-d2); border-radius: 7px; padding: .65rem .9rem; color: var(--parch); font-family: 'DM Sans', sans-serif; font-size: .9rem; transition: border-color .2s; }
.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus { outline: none; border-color: var(--bronze-2); }
.woocommerce-checkout .form-row .input-text::placeholder { color: var(--parch-3); }
.woocommerce-checkout .form-row-wide { width: 100%; }
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last { width: calc(50% - .4rem); display: inline-flex; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: .8rem; }
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #billing_phone_field { width: 100%; }
.woocommerce-checkout #billing_first_name_field,
.woocommerce-checkout #billing_last_name_field { width: calc(50% - .4rem); }
.woocommerce-checkout .required { color: var(--red); }
.woocommerce-checkout .woocommerce-error { background: rgba(193,60,42,.12); border: 1px solid var(--red); border-radius: 7px; padding: .8rem 1rem; color: var(--parch-2); font-family: 'DM Sans', sans-serif; font-size: .85rem; list-style: none; margin-bottom: 1rem; }
.woocommerce-checkout .woocommerce-info { background: rgba(196,153,58,.1); border: 1px solid var(--bronze-2); border-radius: 7px; padding: .8rem 1rem; color: var(--parch-2); font-family: 'DM Sans', sans-serif; font-size: .85rem; margin-bottom: 1rem; }

/* ── Shipping methods (inside form section) ── */
.woocommerce-checkout #shipping_method { list-style: none; padding: 0 1.6rem 1.2rem; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.woocommerce-checkout #shipping_method li { background: var(--black-3); border: 1px solid var(--border-d); border-radius: 8px; padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; cursor: pointer; transition: border-color .2s; }
.woocommerce-checkout #shipping_method li:has(input:checked) { border-color: var(--bronze-2); }
.woocommerce-checkout #shipping_method li input[type=radio] { accent-color: var(--bronze-2); }
.woocommerce-checkout #shipping_method li label { font-family: 'DM Sans', sans-serif; font-size: .9rem; color: var(--parch-2); cursor: pointer; }

/* ── Payment methods ── */
.woocommerce-checkout .wc_payment_methods { list-style: none; padding: 0 1.6rem 1.2rem; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.woocommerce-checkout .wc_payment_method { background: var(--black-3); border: 1px solid var(--border-d); border-radius: 8px; overflow: hidden; }
.woocommerce-checkout .wc_payment_method > label { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: .9rem; color: var(--parch-2); }
.woocommerce-checkout .wc_payment_method > label img { height: 22px; width: auto; object-fit: contain; }
.woocommerce-checkout .payment_method_paypal > label img { filter: brightness(0.9); }
.woocommerce-checkout .wc_payment_method input[type=radio] { accent-color: var(--bronze-2); }
.woocommerce-checkout .wc_payment_method.active-payment-method, .woocommerce-checkout .wc_payment_method:has(input:checked) { border-color: var(--bronze-2); }
.woocommerce-checkout .payment_box { padding: 1rem; border-top: 1px solid var(--border-d); }
.woocommerce-checkout .payment_box p { font-family: 'DM Sans', sans-serif; font-size: .82rem; color: var(--parch-3); margin: 0; }

/* ── Place order button ── */
.woocommerce-checkout #place_order { width: 100%; background: var(--red); color: #fff; font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 700; padding: .95rem 1.5rem; border: none; border-radius: 8px; cursor: pointer; transition: background .2s; margin-top: 1.4rem; }
.woocommerce-checkout #place_order:hover { background: var(--red-2); }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-family: 'DM Sans', sans-serif; font-size: .8rem; color: var(--parch-3); margin-top: 1rem; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a { color: var(--bronze-2); text-decoration: none; }

/* ── Thank you page ── */
.sc-ty-wrap { max-width: 1180px; margin: 0 auto; }
.sc-ty-header { padding-top: 2rem; }
.sc-ty-hero { background: var(--black-2); border-bottom: 1px solid var(--border-d); padding: 3rem 2.5rem; display: flex; align-items: center; gap: 2rem; position: relative; overflow: hidden; }
.sc-ty-check svg { width: 60px; height: 60px; flex-shrink: 0; }
.sc-ty-hero-text { flex: 1; }
.sc-ty-hero-text h1 { font-family: 'Noto Serif', serif; font-size: 2.2rem; color: var(--parch); font-weight: 400; margin: 0 0 .4rem; }
.sc-ty-subtitle { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--parch-2); margin: 0 0 .4rem; }
.sc-ty-email-note { font-family: 'DM Sans', sans-serif; font-size: .85rem; color: var(--parch-3); margin: 0; }
.sc-ty-email-note strong { color: var(--parch-2); }
.sc-ty-kanji { position: absolute; right: 2.5rem; font-family: 'Noto Serif', serif; font-size: 8rem; color: var(--border-d); line-height: 1; pointer-events: none; }

/* ── Thank you layout ── */
.sc-ty-layout { padding: 2.5rem 2.5rem; display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.sc-ty-left { display: flex; flex-direction: column; gap: 1.5rem; }
.sc-ty-right { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 1.2rem; }

/* ── Thank you cards ── */
.sc-ty-card { background: var(--black-2); border: 1px solid var(--border-d); border-radius: 12px; overflow: hidden; }
.sc-ty-card-title { font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--parch-3); padding: 1.1rem 1.6rem .8rem; border-bottom: 1px solid var(--border-d); }

/* ── Order meta grid ── */
.sc-ty-meta-grid { padding: 1.2rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.sc-ty-meta-row { display: flex; justify-content: space-between; font-family: 'DM Sans', sans-serif; font-size: .88rem; }
.sc-ty-meta-label { color: var(--parch-3); }
.sc-ty-meta-val { color: var(--parch-2); font-weight: 500; }
.sc-ty-meta-total { border-top: 1px solid var(--border-d); margin-top: .4rem; padding-top: .6rem; }
.sc-ty-meta-total .sc-ty-meta-label { color: var(--parch-2); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.sc-ty-meta-total .sc-ty-meta-val { font-family: 'Noto Serif', serif; font-size: 1.1rem; color: var(--parch); }

/* ── Thank you items ── */
.sc-ty-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.6rem; border-bottom: 1px solid var(--border-d); }
.sc-ty-item:last-of-type { border-bottom: none; }
.sc-ty-item-img { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--black-3); border: 1px solid var(--border-d); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-ty-item-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-ty-item-kanji { font-family: 'Noto Serif', serif; font-size: 1.6rem; color: var(--border-d2); }
.sc-ty-item-meta { flex: 1; }
.sc-ty-item-tag { font-size: .65rem; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: .2rem; }
.sc-ty-item-name { font-family: 'Noto Serif', serif; font-size: .9rem; color: var(--parch); line-height: 1.3; }
.sc-ty-item-qty { font-size: .78rem; font-family: 'DM Sans', sans-serif; color: var(--parch-3); margin-top: .2rem; }
.sc-ty-item-price { font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 600; color: var(--parch-2); flex-shrink: 0; }
.sc-ty-totals { padding: .8rem 1.6rem; border-top: 1px solid var(--border-d); display: flex; flex-direction: column; gap: .4rem; }
.sc-ty-total-row { display: flex; justify-content: space-between; font-family: 'DM Sans', sans-serif; font-size: .85rem; color: var(--parch-3); }
.sc-ty-grand-row { border-top: 1px solid var(--border-d); padding-top: .5rem; margin-top: .2rem; font-weight: 700; color: var(--parch); }

/* ── Next steps card ── */
.sc-ty-steps-card { }
.sc-ty-next-steps { padding: 1.2rem 1.6rem; display: flex; flex-direction: column; gap: 1.2rem; }
.sc-ty-step { display: flex; align-items: flex-start; gap: .9rem; }
.sc-ty-step-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(196,153,58,.12); border: 1px solid rgba(196,153,58,.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-ty-step-icon svg { width: 16px; height: 16px; stroke: var(--bronze-2); fill: none; stroke-width: 1.8; }
.sc-ty-step-body { flex: 1; }
.sc-ty-step-title { font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 700; color: var(--parch-2); margin-bottom: .2rem; }
.sc-ty-step-desc { font-family: 'DM Sans', sans-serif; font-size: .82rem; color: var(--parch-3); line-height: 1.5; }
.sc-ty-step-desc a { color: var(--bronze-2); text-decoration: none; }

/* ── Thank you CTAs ── */
.sc-ty-cta-block { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.sc-ty-link { font-family: 'DM Sans', sans-serif; font-size: .82rem; color: var(--parch-3); text-decoration: none; }
.sc-ty-link:hover { color: var(--bronze-2); }

/* ── WC notices inside checkout/cart ── */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info { max-width: 1180px; margin: 1rem auto; padding: .9rem 1.2rem; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: .88rem; }
.woocommerce-notices-wrapper .woocommerce-message { background: rgba(74,97,85,.15); border: 1px solid var(--sage); color: var(--parch-2); }
.woocommerce-notices-wrapper .woocommerce-error { background: rgba(193,60,42,.12); border: 1px solid var(--red); color: var(--parch-2); }
.woocommerce-notices-wrapper .woocommerce-info { background: rgba(196,153,58,.1); border: 1px solid var(--bronze-2); color: var(--parch-2); }

/* ── Responsive: cart & checkout ── */
@media (max-width: 1024px) {
  .sc-cart-layout, .sc-checkout-layout, .sc-ty-layout { grid-template-columns: 1fr; }
  .sc-summary-sticky, .sc-ty-right { position: static; }
  .sc-rv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .sc-cart-header, .sc-steps-bar, .sc-ship-bar { padding-left: 1.2rem; padding-right: 1.2rem; }
  .sc-cart-layout, .sc-checkout-layout { padding: 1.5rem 1.2rem; }
  .sc-ty-layout { padding: 1.5rem 1.2rem; }
  .sc-checkout-header { padding: 1.5rem 1.2rem 0; flex-direction: column; align-items: flex-start; gap: .8rem; }
  .sc-cart-item { grid-template-columns: 1fr 100px 80px 32px; gap: .4rem; }
  .sc-item-thumb { width: 60px; height: 60px; }
  .sc-ty-hero { padding: 2rem 1.2rem; gap: 1.2rem; }
  .sc-ty-kanji { display: none; }
  .sc-ty-hero-text h1 { font-size: 1.6rem; }
  .sc-checkout-steps { font-size: .75rem; }
  .sc-step-connector { width: 20px; }
}
@media (max-width: 479px) {
  .sc-cart-item { grid-template-columns: 1fr 80px; grid-template-rows: auto auto; }
  .sc-item-qty { grid-column: 2; grid-row: 2; justify-content: flex-end; }
  .sc-item-price-cell { grid-column: 2; grid-row: 1; }
  .sc-item-remove { grid-column: 2; grid-row: 1; position: absolute; }
  .sc-cart-table-head { display: none; }
  .sc-rv-grid { grid-template-columns: repeat(2, 1fr); }
  .woocommerce-checkout #billing_first_name_field,
  .woocommerce-checkout #billing_last_name_field { width: 100%; }
}

/* ============================================================
   CART DRAWER — cd- prefix
   ============================================================ */

/* Overlay */
.cd-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 998;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.cd-overlay.active { opacity: 1; visibility: visible; }

/* Drawer panel */
.cd {
  position: fixed; top: 0; right: 0;
  width: 380px; max-width: 100vw; height: 100%;
  background: var(--black-2);
  z-index: 999;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 40px rgba(0,0,0,.35);
}
.cd.active { transform: translateX(0); }

/* Header */
.cd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.5rem 1.2rem;
  border-bottom: 1px solid var(--border-d);
  flex-shrink: 0;
}
.cd-title {
  font-family: 'Noto Serif', serif;
  font-size: 1.2rem; font-weight: 400;
  color: var(--parch); margin: 0;
}
.cd-close {
  background: none; border: none; cursor: pointer;
  color: var(--parch-3);
  display: flex; align-items: center; justify-content: center;
  padding: .2rem;
  transition: color .2s;
}
.cd-close:hover { color: var(--bronze-2); }

/* Scrollable body */
.cd-body {
  flex: 1; overflow-y: auto;
  padding: .75rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-d2) transparent;
}
.cd-body::-webkit-scrollbar { width: 4px; }
.cd-body::-webkit-scrollbar-thumb { background: var(--border-d2); border-radius: 2px; }

/* Footer */
.cd-foot {
  border-top: 1px solid var(--border-d);
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
}

/* Cart items */
.cd-item {
  display: flex; align-items: flex-start;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border-d);
  position: relative;
}
.cd-item:last-child { border-bottom: none; }
.cd-item-img {
  width: 64px; height: 64px;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--black-3);
  border: 1px solid var(--border-d);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cd-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-item-kanji {
  font-family: 'Noto Serif', serif;
  font-size: 1.6rem; color: var(--border-d2);
}
.cd-item-meta {
  display: flex; flex-direction: column; gap: .18rem;
  flex: 1; padding-right: 1.2rem; min-width: 0;
}
.cd-item-tag {
  font-size: .65rem; font-family: 'DM Sans', sans-serif;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bronze-2);
}
.cd-item-name {
  font-size: .82rem; font-family: 'Noto Serif', serif;
  color: var(--parch); line-height: 1.35;
}
.cd-item-qty {
  font-size: .75rem; font-family: 'DM Sans', sans-serif;
  color: var(--parch-3);
}
.cd-item-price {
  font-size: .82rem; font-family: 'DM Sans', sans-serif;
  color: var(--bronze-2); font-weight: 600;
}
.cd-item-remove {
  position: absolute; top: .7rem; right: 0;
  font-size: 1.1rem; line-height: 1;
  color: var(--parch-3); text-decoration: none;
  padding: .1rem .2rem;
  transition: color .2s;
}
.cd-item-remove:hover { color: var(--red); }

/* Empty state */
.cd-empty {
  text-align: center; padding: 3rem 1rem;
}
.cd-empty-kanji {
  font-family: 'Noto Serif', serif;
  font-size: 4rem; color: var(--border-d2);
  line-height: 1; margin-bottom: 1rem;
}
.cd-empty p {
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem; color: var(--parch-3);
  margin-bottom: 1.25rem;
}
.cd-shop-btn {
  display: inline-block; padding: .65rem 1.6rem;
  background: var(--red); color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-radius: 6px;
  transition: background .2s;
}
.cd-shop-btn:hover { background: var(--red-2); color: #fff; }

/* Footer subtotal */
.cd-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .9rem;
  font-family: 'DM Sans', sans-serif; font-size: .86rem;
  color: var(--parch-2);
}
.cd-subtotal span:first-child {
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
  font-size: .75rem; color: var(--parch-3);
}
.cd-subtotal span:last-child { font-family: 'Noto Serif', serif; font-size: 1.1rem; color: var(--parch); }

/* Footer action buttons */
.cd-actions { display: flex; gap: .6rem; }
.cd-btn-cart, .cd-btn-checkout {
  display: block; flex: 1; text-align: center;
  padding: .75rem .5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-radius: 6px;
  transition: background .2s, color .2s, border-color .2s;
}
.cd-btn-cart {
  border: 1px solid var(--border-d2); color: var(--parch-2); background: transparent;
}
.cd-btn-cart:hover { border-color: var(--parch); color: var(--parch); }
.cd-btn-checkout {
  background: var(--red); color: #fff; border: 1px solid var(--red);
}
.cd-btn-checkout:hover { background: var(--red-2); border-color: var(--red-2); color: #fff; }

/* Related products — strip link underlines from title and price */
.related .products a,
.up-sells .products a { text-decoration: none; }

/* Fly-to-cart dot */
.cd-fly {
  position: fixed; width: 12px; height: 12px;
  border-radius: 50%; background: var(--bronze-2);
  z-index: 9999; pointer-events: none;
  transition: transform .65s cubic-bezier(.2,1,.3,1), opacity .65s ease;
  opacity: 1;
}
