/*
Theme Name: SatireSmart
Theme URI: https://satiresmart.com
Author: SatireSmart
Description: Custom theme for satiresmart.com. Rebuild of the Hostinger Website Builder store. Local-first, Hostinger-ready.
Version: 0.9.53
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: satiresmart
License: GNU General Public License v2 or later
*/

:root {
  --ink: #18181a;
  --ink-soft: #1d1e20;
  --header: #111111;
  --cream: #ffffff;
  --paper: #ffffff;
  --muted: #5c564e;
  --line: #e6e2da;
  --gold: #d4af37;
  --gold-deep: #a98c2c;
  --gold-bar: #c5a46e;
  --truth-red: #8b1216;
  --navy: #0b1c33;
  --max: 72rem;
  --header-h: 56px;
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { font-size: 100%; scroll-padding-top: calc(var(--header-h) + 0.75rem); }

html,
body {
  height: auto;
  max-height: none;
  overflow-x: auto;
  overflow-y: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

body.admin-bar .site-header { top: 32px; }

a { color: var(--ink); }
a:hover { color: var(--gold-deep); }

img { max-width: 100%; height: auto; }

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

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ----- announcement bar (ClassicDad promo strip) ----- */
.announcement-bar {
  background: var(--truth-red);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  line-height: 1;
}

.announcement-bar-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ----- header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header);
  color: #fff;
}

body.home .site-header,
.site-header--home {
  background: #fff;
  color: var(--ink);
  border-bottom: 0;
  position: relative;
  box-shadow: none;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  width: min(80rem, calc(100% - 2rem));
  margin-inline: auto;
}

body.home .site-header-inner {
  min-height: 2.75rem;
  justify-content: flex-end;
}

.header-home-brand-slot { flex: 1; }

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.site-brand img {
  display: block;
  height: 42px;
  width: auto;
}

body.home .site-brand img { filter: none; }

.site-nav { margin-left: auto; }

.site-header-inner--catalog .site-nav { margin-left: 0; }

.header-shop-line {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
}
.header-shop-line .shop-intro-title {
  font-size: 0.95rem;
  color: #fff;
}
.header-shop-line .shop-intro-cotton {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}
.header-shop-line .shop-intro-razor {
  font-size: 0.95rem;
  color: #f3ead8;
}

@media (max-width: 1100px) {
  .header-shop-line { display: none; }
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  line-height: 1.4;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  color: #fff;
  box-shadow: inset 0 -1px 0 #fff;
}

.header-share,
.header-cart {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.35rem;
  height: 2rem;
  line-height: 1;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 0.5rem;
}

.header-share { margin-left: 0.85rem; }
.header-share:hover { color: var(--gold); }

body.home .header-share,
body.home .header-cart { color: var(--ink); }
body.home .header-share:hover,
body.home .header-cart:hover { color: var(--truth-red); }

body.single-product .header-share { color: var(--ink); }
body.single-product .header-share:hover { color: var(--truth-red); }

.header-home-shop {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  margin-left: auto;
}
.header-home-shop:hover { color: var(--ink); }

.header-home-more {
  position: relative;
  margin-right: auto;
}
.header-home-mark {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
}
.header-home-mark::-webkit-details-marker,
.header-home-mark::marker { display: none; content: none; }
.header-home-mark-icon {
  display: inline-flex;
  color: var(--ink);
  opacity: 0.72;
}
.header-home-mark-icon svg { display: block; }
.header-home-mark-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}
.header-home-mark-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.header-home-mark-word {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.header-home-more[open] .header-home-mark-icon,
.header-home-mark:hover .header-home-mark-icon { opacity: 1; }
.header-home-mark:hover .header-home-mark-word { color: var(--ink); }
.header-home-more-list {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 10rem;
  padding: 0.55rem 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(24, 24, 26, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  z-index: 50;
}
.header-home-more-list a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.header-home-more-list a:hover { color: var(--truth-red); }

body.home.home-nav-d .site-header-inner {
  justify-content: space-between;
}
body.home.home-nav-d .nav-menu a,
body.home.home-nav-d .header-cart {
  color: var(--ink);
}
body.home.home-nav-d .nav-menu a:hover,
body.home.home-nav-d .nav-menu .current-menu-item > a {
  color: var(--truth-red);
  box-shadow: inset 0 -1px 0 var(--truth-red);
}
body.home.home-nav-d .nav-toggle {
  border-color: var(--line);
  color: var(--ink);
}
@media (max-width: 800px) {
  body.home.home-nav-d .site-nav { background: #fff; }
  body.home.home-nav-d .nav-toggle { display: inline-block; }
}

.header-cart:hover { color: var(--gold); }

.header-cart-label { display: inline; }

.cart-count {
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  min-width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  padding: 0;
}

body.home .cart-count,
body.single-product .cart-count {
  background: var(--navy);
  color: #fff;
}

/* PDP uses the same white chrome as home so the mockup is the sell. */
body.single-product .site-header,
.site-header--store {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  border-bottom: 1px solid var(--line);
}
body.single-product .site-brand,
body.single-product .nav-menu a,
body.single-product .header-share,
body.single-product .header-cart {
  color: var(--ink);
}
body.single-product .site-brand img,
.site-header--store .site-brand img {
  filter: invert(1);
}
body.single-product .nav-menu a:hover,
body.single-product .nav-menu .current-menu-item > a {
  color: var(--truth-red);
  box-shadow: inset 0 -1px 0 var(--truth-red);
}
body.single-product .header-cart:hover { color: var(--truth-red); }
body.single-product .nav-toggle {
  border-color: var(--line);
  color: var(--ink);
}
@media (max-width: 800px) {
  body.single-product .site-nav { background: #fff; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  padding: 0.4rem 0.65rem;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-block; }
  body.home .nav-toggle { display: none; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--header); padding: 0.75rem 1rem 1.25rem; }
  body.nav-open .site-nav { display: block; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .header-cart-label { display: none; }
  .site-header-inner { gap: 0.5rem; }
  .header-share { margin-left: 0.35rem; }
  .site-brand img { height: 32px; }
}

/* ----- home ClassicDad / mockup layout ----- */
body.home {
  background: #fff;
}

body.home .site-main {
  padding: 0 0 3.5rem;
}

.home-classic {
  width: min(78rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.25rem 0 1rem;
}

.home-identity {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 1.25rem 0 1.75rem;
}

.home-logo-lockup {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.15rem;
  text-decoration: none;
  color: #0a0a0a;
  line-height: 1;
  overflow: visible;
}

.home-logo-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
  overflow: visible;
  padding-top: 0.06em;
}

.home-logo-mark {
  display: inline-flex;
  margin-top: 0.15em;
  color: #0a0a0a;
}

.home-logo-mark svg {
  width: clamp(1.7rem, 4.5vw, 3.1rem);
  height: auto;
  display: block;
}

.home-tagline {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.78rem, 1.7vw, 0.98rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
}

.home-rule {
  width: 4.5rem;
  height: 3px;
  background: var(--truth-red);
  margin: 0.15rem 0 0.35rem;
  border-radius: 2px;
}

.home-garment-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  min-width: min(28rem, 94vw);
}

.home-garment-link {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.82rem, 1.7vw, 1.05rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1;
  white-space: nowrap;
}

.home-garment-link:hover,
.home-garment-link.is-active {
  color: #fff;
}

.home-garment-link.is-active {
  text-shadow: 0 0 0.01px #fff;
}

.home-garment-sep {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1;
}

.home-blurb {
  margin: 0.35rem 0 0;
  max-width: 34rem;
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.45;
}

/* Product wall — 4-up like the mockup / ClassicDad density */
.home-product-wall {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  align-items: start;
}

@media (max-width: 960px) {
  .home-product-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
}

@media (max-width: 520px) {
  .home-product-wall { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; }
}

.home-product { margin: 0; }

.home-product-link {
  display: grid;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  justify-items: center;
  text-align: center;
}

.home-product-media {
  display: block;
  width: 100%;
  line-height: 0;
  background: #fff;
}

.home-product-media img,
.home-product-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.05;
  object-fit: contain;
  margin: 0 auto;
}

.home-product-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.72rem, 1.2vw, 0.88rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  max-width: 18ch;
  min-height: calc(1.25em * 2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  hyphens: auto;
}

.home-product-link:hover .home-product-label {
  color: var(--truth-red);
}

.home-empty {
  text-align: center;
  color: var(--muted);
  margin: 2rem 0;
}

/* Kill old home-hero experiment leftovers if cached HTML */
.home-hero-product,
.wear-truth-bar,
.home-catalog { display: none !important; }

/* ----- legacy marketing hero (unused on home) ----- */
.hero {
  position: relative;
  min-height: min(72vh, 38rem);
  display: grid;
  place-items: end start;
  background: #1a120c center / cover no-repeat;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,12,8,.15) 30%, rgba(20,12,8,.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 3.5rem;
}

.hero-kicker {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  max-width: 42rem;
  font-size: 1.05rem;
  margin: 0 0 1.4rem;
}

/* ----- type + content ----- */
.site-main { padding: 0 0 4rem; }

.page-shell {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 2.5rem auto 0;
}

.front-content { padding-top: 2.75rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.entry-title,
.woocommerce-products-header__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
}

.page-kicker,
.entry-content > .page-kicker,
.has-small-font-size.page-kicker {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 0.55rem;
}

.section-head {
  margin: 0 0 1.25rem;
  max-width: 40rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin: 0 0 0.6rem;
}

.section-head p { margin: 0; color: var(--muted); }

.section-cta { margin: 1.5rem 0 0; }

.entry-content > *:first-child { margin-top: 0; }

.entry-content h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.entry-content h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.75rem; }

.entry-content em { color: var(--gold-deep); font-style: italic; }

.entry-content .lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.25rem;
}

body.page-support .entry-content .lead,
body.page-shipping-returns .entry-content .lead {
  color: var(--ink);
  font-size: 16px;
}

.entry-content .button,
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.35rem 0.5rem 0.35rem 0;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--navy, #0b1c33);
  color: #fff !important;
  text-decoration: none !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 0;
  line-height: 1.2;
}

.entry-content .button:hover,
a.button:hover {
  background: var(--truth-red, #8b1216);
}

.entry-content .button-ghost,
a.button-ghost {
  background: transparent;
  color: var(--navy, #0b1c33) !important;
  box-shadow: inset 0 0 0 2px var(--navy, #0b1c33);
}

.entry-content .button-ghost:hover,
a.button-ghost:hover {
  background: var(--navy, #0b1c33);
  color: #fff !important;
}

.entry-content .fineprint {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 40rem;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper, #fff);
  margin: 0.65rem 0;
  padding: 0.15rem 1rem 0.15rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.85rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--truth-red, #8b1216);
  font-weight: 800;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 40rem;
}

/* Size tables */
.table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 280px;
}

.size-table th,
.size-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.size-table th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f7f4ee;
}

.size-table tr:last-child td { border-bottom: 0; }

.review-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}

@media (min-width: 800px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .review-grid .review-card {
    margin: 0;
    height: 100%;
  }
}

/* Content pages: slightly tighter shell than shop chrome */
body.page .page-shell,
body.page-template-default .page-shell {
  width: min(44rem, calc(100% - 2.5rem));
}

/* Cart / checkout: match the header inner width, not the reading column. */
body.woocommerce-cart .page-shell,
body.woocommerce-checkout .page-shell {
  width: min(80rem, calc(100% - 2rem));
}

.home-copy {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.wp-block-quote,
.review-card,
blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.25rem 0;
  padding: 0.85rem 0 0.85rem 1.15rem;
  font-size: 1.05rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wp-block-quote cite,
.review-card cite,
blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font-display);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 2.5rem;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.25rem 1rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.home-featured { margin: 0 0 2.5rem; }

.home-promise { margin: 2.75rem 0 0; }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.promise-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.25rem 1.1rem;
}

.promise-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.promise-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ----- buttons ----- */
.wp-block-button__link,
.button,
button.button,
a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.contact-form button {
  background: #000 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 0.95rem 1.6rem !important;
  text-decoration: none !important;
  display: inline-block;
  line-height: 1.2;
}

.wp-block-button__link:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.contact-form button:hover {
  background: var(--ink-soft) !important;
}

/* Ghost must beat a.button { background:#000 !important } or navy type sits on black. */
.entry-content a.button-ghost,
a.button-ghost {
  background: #fff !important;
  color: var(--navy, #0b1c33) !important;
  border: 2px solid var(--navy, #0b1c33) !important;
  box-shadow: none;
}

.entry-content a.button-ghost:hover,
a.button-ghost:hover {
  background: var(--navy, #0b1c33) !important;
  color: #fff !important;
}

/* ----- footer -----
   Apparel-store pattern: brand + equal-height utility columns.
   Trust matches Shop/Help weight (plain list, no stacked cards).
*/
.site-footer {
  background: var(--header);
  color: #d9d0c4;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  margin-top: 2.5rem;
}

.site-footer-inner {
  width: min(80rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 2.25rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-trust {
    grid-column: 1 / -1;
  }

  .footer-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem 2.75rem;
  }

  .footer-trust {
    grid-column: auto;
  }

  .footer-trust-list {
    display: grid;
    gap: 0.55rem;
  }
}

.footer-logo {
  display: inline-flex;
  text-decoration: none;
}

.footer-logo img {
  display: block;
  height: 36px;
  width: auto;
  opacity: 0.95;
}

.footer-tagline {
  margin: 0.85rem 0 0;
  max-width: 18rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: #f3ebe0;
}

.footer-contact {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.footer-contact a {
  color: #efe6d8;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

.footer-contact a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.footer-copy {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: #a79e92;
}

.footer-heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: #e8dfd2;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Match Shop/Help: plain text lines, same visual weight */
.footer-trust-list li {
  color: #e8dfd2;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* legacy */
.site-footer-gold { display: none; }
.footer-meta { color: #c9c0b4; font-size: 0.9rem; }
.footer-bottom { display: none; }

/* ----- forms ----- */
.contact-form {
  display: grid;
  gap: 0.75rem;
  max-width: 32rem;
  margin-top: 1.25rem;
}

.contact-form label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
  border-radius: 6px;
}

.form-notice {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gold);
  background: #fff8e2;
  margin: 1rem 0;
}

/* ----- cookie ----- */
body.single-product .site-main,
body.woocommerce-shop .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.home .site-main,
body.page .site-main,
body.single-post .site-main {
  padding-bottom: calc(8.5rem + env(safe-area-inset-bottom, 0px));
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout .select2-container .select2-selection--single {
  font-size: 16px !important;
}

.cookie-bar {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 50;
  background: var(--header);
  color: #fff;
  padding: 1rem 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  max-width: 48rem;
  margin-inline: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* display:flex above beats UA [hidden]{display:none} — keep dismiss working */
.cookie-bar[hidden] {
  display: none !important;
}

.cookie-bar p { margin: 0; font-size: 0.9rem; max-width: 34rem; }
.cookie-bar a { color: var(--gold); }
.cookie-bar button {
  background: var(--gold);
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

/* ----- Woo ----- */
.woocommerce-products-header { margin-bottom: 1.5rem; }

/* Shop page already carries its own H1 in content; hide default archive title. */
.woocommerce-shop .woocommerce-products-header,
.woocommerce-shop h1.page-title {
  display: none !important;
}

body.woocommerce-shop .page-shell,
body.tax-product_cat .page-shell,
body.tax-product_tag .page-shell,
body.search-results.post-type-archive-product .page-shell {
  margin-top: 1rem;
}

.shop-intro {
  display: none;
  margin: 0 0 0.45rem;
  max-width: none;
}

.shop-intro h1 {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.4rem 0.75rem;
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.shop-intro-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.shop-intro-cotton {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--muted);
}

.shop-intro-razor {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

.shop-intro-now {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--truth-red);
  margin-left: 0.15rem;
}

body.woocommerce-shop .ss-pager--top,
body.tax-product_cat .ss-pager--top,
body.tax-product_tag .ss-pager--top,
body.search-results .ss-pager--top {
  display: none;
}

/* ----- shop toolbar (categories + search + sort) ----- */
.shop-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 25;
  margin: 0 0 0.15rem;
  padding: 0.45rem 0 0.5rem;
  background: rgba(246, 243, 236, 0.94);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

body.admin-bar .shop-toolbar { top: calc(var(--header-h) + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .shop-toolbar { top: calc(var(--header-h) + 46px); }
}

.shop-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.shop-toolbar-cats,
.shop-toolbar-topics,
.shop-toolbar-colors,
.shop-toolbar-sizes {
  margin-bottom: 0.4rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.woocommerce-shop .shop-toolbar,
body.tax-product_cat .shop-toolbar {
  max-width: 100%;
}
.shop-row-label {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 0.15rem;
}
.shop-toolbar-cats::-webkit-scrollbar,
.shop-toolbar-topics::-webkit-scrollbar,
.shop-toolbar-colors::-webkit-scrollbar,
.shop-toolbar-sizes::-webkit-scrollbar {
  display: none;
}
.shop-toolbar-cats .shop-chip,
.shop-toolbar-topics .shop-chip,
.shop-toolbar-colors .shop-chip,
.shop-toolbar-sizes .shop-chip {
  flex: 0 0 auto;
}

.shop-chip--clear {
  border-style: dashed;
  background: transparent;
}

.shop-chip-swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 1px solid rgba(24, 24, 26, 0.18);
  flex: 0 0 auto;
}
.shop-chip.is-active .shop-chip-swatch {
  border-color: rgba(255, 255, 255, 0.45);
}

.shop-filters-more {
  display: block;
  margin: 0 0 0.15rem;
}
.shop-filters-summary {
  display: none;
  list-style: none;
  cursor: pointer;
  width: fit-content;
  padding: 0.4rem 0.85rem;
  margin: 0 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
}
.shop-filters-summary::-webkit-details-marker { display: none; }
.shop-filters-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: var(--header);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .shop-toolbar {
    position: static;
    padding: 0.35rem 0 0.4rem;
  }
  .shop-filters-summary { display: inline-flex; align-items: center; }
  .shop-filters-more:not([open]) .shop-toolbar-cats,
  .shop-filters-more:not([open]) .shop-toolbar-topics,
  .shop-filters-more:not([open]) .shop-toolbar-colors,
  .shop-filters-more:not([open]) .shop-toolbar-sizes { display: none; }
  .shop-toolbar-meta { display: none; }
  .shop-toolbar-controls { margin-top: 0.35rem; }
}

.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.shop-chip:hover {
  border-color: var(--gold-bar);
  color: var(--ink);
}

.shop-chip.is-active {
  background: var(--header);
  border-color: var(--header);
  color: #fff;
}

.shop-chip.is-active:hover { color: #fff; }

.shop-chip-count {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.7;
  min-width: 1.1em;
}

.shop-chip.is-active .shop-chip-count { opacity: 0.85; color: var(--gold); }

.shop-toolbar-controls {
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.shop-search {
  display: flex;
  flex: 1 1 16rem;
  max-width: 28rem;
  gap: 0.4rem;
}

.shop-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0.62rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}

.shop-search input[type="search"]::placeholder { color: #9a9288; }

.shop-search-submit {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.62rem 0.95rem;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.shop-search-submit:hover { background: var(--ink-soft); }

.shop-toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1rem;
  margin-left: auto;
}

@media (max-width: 700px) {
  .shop-toolbar-meta { display: none; }
}

.shop-toolbar .woocommerce-result-count {
  margin: 0 !important;
  font-size: 0.88rem;
  color: var(--muted);
  float: none !important;
}

.shop-toolbar .woocommerce-ordering {
  margin: 0 !important;
  float: none !important;
}

.shop-toolbar .woocommerce-ordering select.orderby {
  margin: 0;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink);
  max-width: 100%;
}

/* Category archive title polish */
.tax-product_cat .woocommerce-products-header__title,
.tax-product_tag .woocommerce-products-header__title,
.search-results .page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
}

ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0 !important;
}
@media (max-width: 960px) {
  ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
}
@media (max-width: 520px) {
  ul.products { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto !important; }
}

ul.products::before,
ul.products::after { display: none !important; content: none !important; }

ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  background: transparent;
  border: 0;
  padding: 0;
}

ul.products li.product a.woocommerce-LoopProduct-link {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  width: 100%;
}

ul.products li.product a img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto;
  background: #fff;
}

ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.2vw, 0.88rem) !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  width: 18ch;
  max-width: 100%;
  min-height: calc(1.25em * 2);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

ul.products li.product .button,
ul.products li.product .price,
ul.products li.product .onsale {
  display: none !important;
}

.woocommerce div.product { display: grid; gap: 2rem 3rem; }
@media (min-width: 800px) {
  .woocommerce div.product {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related,
  .woocommerce div.product .upsells,
  .woocommerce div.product .pdp-details {
    grid-column: 1 / -1;
  }
}

body.single-product {
  background: #fff;
  padding-bottom: 0;
}
body.single-product .page-shell {
  width: min(68rem, calc(100% - 2rem));
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.pdp-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.82rem;
  color: var(--ink);
  margin: 0 0 1rem;
  grid-column: 1 / -1;
}
.pdp-crumb a { color: var(--ink); text-decoration: none; }
.pdp-crumb a:hover { color: var(--truth-red); }
.pdp-crumb-sep { opacity: 0.5; }
.pdp-crumb-current {
  color: var(--ink);
  max-width: 28ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.woocommerce-product-gallery {
  opacity: 1 !important;
}
.woocommerce div.product div.images {
  margin-bottom: 0;
}
.woocommerce div.product div.images img {
  border: 0;
  background: #fff;
  border-radius: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.05;
  object-fit: contain;
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.woocommerce-product-gallery.is-swapping .woocommerce-product-gallery__image img {
  opacity: 0;
}
.woocommerce-product-gallery.is-light-mockup .woocommerce-product-gallery__image img {
  filter: drop-shadow(0 12px 30px rgba(40, 32, 18, 0.14))
    drop-shadow(0 0 36px rgba(255, 236, 200, 0.48));
}
.woocommerce div.product .woocommerce-product-gallery__image {
  border-radius: 0;
  overflow: visible;
  background: #fff;
}
.woocommerce div.product .woocommerce-product-gallery__trigger {
  position: absolute !important;
  top: 0.75rem !important;
  right: 0.75rem !important;
  left: auto !important;
  width: 2rem !important;
  height: 2rem !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  z-index: 2;
}
.woocommerce div.product div.summary .woocommerce-product-gallery__trigger {
  display: none !important;
}
.woocommerce div.product .flex-control-thumbs {
  display: none;
}
.woocommerce div.product .flex-control-thumbs li {
  width: 4.25rem;
  float: none !important;
  margin: 0 !important;
}
.woocommerce div.product .flex-control-thumbs img {
  border: 1px solid transparent;
  opacity: 0.7;
  aspect-ratio: 1;
  object-fit: contain;
}
.woocommerce div.product .flex-control-thumbs img.flex-active,
.woocommerce div.product .flex-control-thumbs img:hover {
  opacity: 1;
  border-color: var(--ink);
}

.woocommerce div.product .summary {
  position: static;
  align-self: start;
  padding-bottom: 1rem;
}

.woocommerce div.product .product_title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  margin: 0 0 0.5rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
}

.pdp-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.woocommerce div.product p.price {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  margin: 0 0 0.85rem;
}
.woocommerce div.product p.price del {
  opacity: 0.45;
  font-size: 0.85em;
  margin-right: 0.35rem;
}
.woocommerce div.product p.price ins {
  text-decoration: none;
  color: var(--truth-red);
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0 0 1rem;
  max-width: 36rem;
}
.woocommerce div.product .woocommerce-product-details__short-description p {
  margin: 0;
}

.pdp-bullets {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.pdp-bullets li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}
.pdp-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--truth-red);
}

/* Open buy column — no boxed “conversion kit”. */
.woocommerce div.product form.cart {
  margin: 0 0 1rem !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.woocommerce div.product form.cart .variations select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
.woocommerce div.product form.cart .variations {
  margin-bottom: 0.75rem;
}
.woocommerce div.product form.cart .variations tr {
  display: block;
  margin-bottom: 0.85rem;
}
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
  display: block;
  padding: 0;
  border: 0;
  width: 100% !important;
  text-align: left;
}
.woocommerce div.product form.cart .variations th.label {
  padding-bottom: 0.4rem;
}
.woocommerce div.product form.cart .variations label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.woocommerce div.product form.cart .reset_variations {
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.woocommerce div.product form.cart .single_variation_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-top: 0.35rem;
}
.woocommerce div.product form.cart .woocommerce-variation-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}
.woocommerce div.product form.cart .quantity {
  margin: 0 !important;
}
.woocommerce div.product form.cart .quantity .qty {
  width: 4.25rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1 1 100%;
  min-width: 12rem;
  min-height: 3.15rem !important;
  margin: 0.35rem 0 0 !important;
  padding: 0.9rem 1.4rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--navy) !important;
  color: #fff !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: none;
  transition: background .15s ease;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: var(--truth-red) !important;
  transform: none;
}
.woocommerce div.product form.cart .single_add_to_cart_button:disabled,
.woocommerce div.product form.cart .single_add_to_cart_button.disabled {
  opacity: 0.45 !important;
  transform: none !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.pdp-trust {
  margin: 0.25rem 0 0;
}
.pdp-trust-row {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
}
@media (min-width: 520px) {
  .pdp-trust-row { grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
}
.pdp-trust-item {
  display: block;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf8f4;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.3;
}
.pdp-trust-item strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.pdp-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.pdp-help-links a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pdp-help-links a:hover { color: var(--truth-red); }

.pdp-details {
  margin-top: 0.5rem;
  padding: 1.75rem 0 0.75rem;
  border-top: 1px solid var(--line);
}
.pdp-details h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}
.pdp-details-body {
  max-width: none;
  width: 100%;
  color: var(--ink);
  font-size: clamp(1.125rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}
.pdp-details-body p {
  margin: 0 0 1rem;
  color: var(--ink);
}
.pdp-details-body strong {
  color: var(--ink);
  font-weight: 700;
}
.pdp-spec {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  max-width: 32rem;
}
.pdp-spec li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.pdp-spec li span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 2rem 0 1rem;
}
body.single-product ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}
@media (max-width: 800px) {
  body.single-product ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.single-product ul.products li.product {
  border: 0;
  padding: 0;
  background: transparent;
  gap: 0.65rem;
}
body.single-product ul.products li.product a img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 0;
  background: #fff;
}
body.single-product ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  min-height: calc(1.25em * 2);
  max-height: none;
}
body.single-product ul.products li.product .button,
body.single-product ul.products li.product .price {
  display: none !important;
}

/* Sticky mobile ATC */
.pdp-sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0,0,0,.08);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}
.pdp-sticky-atc.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.pdp-sticky-atc-inner {
  width: min(72rem, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pdp-sticky-atc-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.pdp-sticky-atc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdp-sticky-atc-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--truth-red);
}
.pdp-sticky-atc-price del { display: none; }
.pdp-sticky-atc-btn {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  background: var(--truth-red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (min-width: 900px) {
  .pdp-sticky-atc { display: none !important; }
}

.woocommerce div.product p.price {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--ink);
}

body.single-product .woocommerce span.onsale { display: none; }

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  border-top-color: var(--gold) !important;
  background: var(--paper) !important;
}

.empty-catalog {
  border: 1px dashed var(--line);
  padding: 1.5rem;
  background: var(--paper);
}

/* Cart / checkout / account */
.woocommerce-cart table.cart,
.woocommerce-checkout table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  background: var(--paper);
  border: 1px solid var(--line);
}

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

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  border-color: var(--line) !important;
  padding: 0.85rem !important;
}

.woocommerce-cart .cart-collaterals {
  margin-top: 0;
  width: 100%;
  float: none;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-page.woocommerce-cart .cart-collaterals .cart_totals {
  padding: 1rem 1.15rem 1.25rem !important;
  float: none !important;
  width: 100% !important;
  max-width: 22rem !important;
  margin: 1.25rem 0 0 auto !important;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  background: none;
}

.woocommerce-cart .cart_totals table.shop_table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-cart .cart_totals table.shop_table th {
  text-align: left !important;
  font-weight: 600;
  background: transparent !important;
  width: auto !important;
}

.woocommerce-cart .cart_totals table.shop_table td {
  text-align: right !important;
}

.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-quantity,
.woocommerce-cart table.cart .product-subtotal {
  text-align: right;
}

.woocommerce-cart .wc-proceed-to-checkout {
  text-align: center;
  padding: 1.1rem 0 0.15rem;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0;
  justify-content: center;
  background: var(--navy) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.65rem 1.45rem !important;
  border-radius: 999px !important;
}

.woocommerce-cart table.cart img {
  width: 4.5rem;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.woocommerce-cart .actions .coupon,
.woocommerce-checkout #order_review_heading {
  font-family: var(--font-display);
}
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart .coupon button,
.woocommerce-checkout #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--navy) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover {
  background: var(--truth-red) !important;
}

.woocommerce-checkout .col2-set {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2 {
    width: auto !important;
    float: none !important;
  }
}

.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.15rem;
}

.woocommerce-account .woocommerce {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 14rem 1fr;
    align-items: start;
  }
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  padding: 0.75rem 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 0.55rem 1rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: var(--header);
  color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
  padding: 1.15rem 1.25rem;
}

.woocommerce table.shop_table .product-remove a {
  color: var(--muted);
  font-size: 1.4rem;
}

.woocommerce a.remove:hover {
  color: #fff !important;
  background: var(--header) !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { border: 0; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: 0;
  margin: 0 0.75rem 0 0;
  padding: 0;
  border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.65rem 0.15rem;
  color: var(--muted);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.woocommerce div.product .woocommerce-tabs .panel {
  background: transparent;
  border: 0;
  padding: 0.25rem 0 0;
  margin: 0;
}

/* ----- POD variation swatches ----- */
.ss-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ss-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0.75rem;
}

.ss-swatch {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  min-width: 2.5rem;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.ss-swatch:hover {
  border-color: var(--gold-deep);
}

.ss-swatches--size .ss-swatch.is-selected {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.ss-swatch--chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
}

.ss-swatch-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--swatch, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
  flex-shrink: 0;
}

.ss-swatch--light .ss-swatch-dot {
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.28);
}

.ss-swatch--chip.is-selected {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--truth-red);
}

.ss-swatch-label {
  font-size: 0.72rem;
  max-width: 5.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ss-swatches--color .ss-swatch {
  min-height: 2.5rem;
}

.ss-swatches--size .ss-swatch {
  min-width: 2.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

form.cart.pdp-form-pulse {
  animation: pdpPulse 0.85s ease;
}
@keyframes pdpPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.04); }
  40% { box-shadow: 0 0 0 3px rgba(139, 18, 22, 0.35), 0 10px 30px rgba(0,0,0,.04); }
}

.ss-swatch-label {
  font-size: 0.82rem;
}

.ss-swatches--color .ss-swatch {
  min-width: 2.75rem;
}

.woocommerce div.product form.cart .variations {
  margin-bottom: 0.75rem;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
  vertical-align: top;
  padding-bottom: 0.35rem;
  border: 0;
  display: block;
  width: 100%;
}

.woocommerce div.product form.cart .variations th.label {
  padding-bottom: 0.15rem;
}

.woocommerce div.product form.cart .variations label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.woocommerce div.product form.cart .reset_variations {
  font-size: 0.85rem;
  color: var(--muted);
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--gold) !important;
  color: var(--ink) !important;
  border: 0;
  border-radius: 8px;
  padding: 0.85rem 1.35rem !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: var(--gold-deep) !important;
  color: #fff !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:disabled,
.woocommerce div.product form.cart .single_add_to_cart_button.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.woocommerce div.product form.cart div.quantity {
  margin: 0 0.75rem 0 0;
}

.woocommerce div.product form.cart .quantity .qty {
  width: 4.25rem;
  padding: 0.65rem 0.4rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
}

/* Price + qty + ATC: one row, same height. Price column is reserved
   (ss-pdp-price) so qty/button do not shift when Woo injects variation HTML. */
.woocommerce div.product form.cart .single_variation_wrap {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.85rem;
  row-gap: 0.35rem;
  min-height: 3rem;
}
.woocommerce div.product form.cart .ss-pdp-price {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  min-width: 7.5rem;
  min-height: 3rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-deep);
}
.woocommerce div.product form.cart .ss-pdp-price .price,
.woocommerce div.product form.cart .ss-pdp-price .woocommerce-Price-amount {
  margin: 0;
  color: inherit;
}
.woocommerce div.product form.cart .woocommerce-variation {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  width: auto;
  min-height: 0;
  height: auto !important;
  margin: 0;
  overflow: visible !important;
}
.woocommerce div.product form.cart .woocommerce-variation:empty {
  display: none;
}
.woocommerce div.product form.cart .woocommerce-variation-price {
  display: none !important;
}
.woocommerce div.product.product-type-variable .summary > p.price {
  display: none;
}
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product form.cart .variations_button {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  width: auto;
  min-width: 0;
}
.woocommerce div.product form.cart .quantity,
.woocommerce div.product form.cart div.quantity {
  margin: 0 !important;
  display: flex;
  align-items: center;
  height: 3rem;
}
.woocommerce div.product form.cart .quantity .qty {
  box-sizing: border-box;
  width: 3.25rem;
  height: 3rem !important;
  padding: 0 !important;
  margin: 0;
  line-height: 3rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1 1 auto;
  min-width: 10rem;
  height: 3rem !important;
  min-height: 3rem !important;
  margin: 0 !important;
  padding: 0 1.5rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  border-radius: 999px !important;
}

.woocommerce div.product .woocommerce-product-gallery {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.5rem;
}

.woocommerce div.product .woocommerce-product-gallery img {
  background: var(--paper);
}

.woocommerce ul.products li.product img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.woocommerce nav.woocommerce-pagination {
  display: none !important; /* replaced by .ss-pager */
}

/* Woo floats .images / .summary at 48%. Combined with display:grid the
   details block wraps into the variation column and overflows the chips. */
.woocommerce div.product,
.woocommerce-page div.product,
.woocommerce #content div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem 2.5rem;
  float: none !important;
  width: 100% !important;
}
@media (min-width: 800px) {
  .woocommerce div.product,
  .woocommerce-page div.product,
  .woocommerce #content div.product {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "notices notices"
      "gallery summary"
      "details details"
      "related related";
  }
  .woocommerce div.product .woocommerce-notices-wrapper {
    grid-area: notices;
  }
  .woocommerce div.product div.images,
  .woocommerce #content div.product div.images {
    grid-area: gallery;
  }
  .woocommerce div.product div.summary,
  .woocommerce #content div.product div.summary {
    grid-area: summary;
  }
  .woocommerce div.product .pdp-details {
    grid-area: details;
  }
  .woocommerce div.product .related,
  .woocommerce div.product .upsells {
    grid-area: related;
  }
}

.woocommerce div.product div.summary,
.woocommerce #content div.product div.summary,
.woocommerce-page div.product div.summary,
.woocommerce-page #content div.product div.summary {
  float: none !important;
  width: auto !important;
  max-width: 100%;
  min-width: 0;
  position: static !important;
  inset: auto !important;
}

.woocommerce div.product div.images,
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce #content div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce-page #content div.product div.images {
  float: none !important;
  width: auto !important;
  max-width: 100%;
  min-width: 0;
  position: relative !important;
  inset: auto !important;
}

.woocommerce div.product .pdp-details,
.woocommerce div.product .related,
.woocommerce div.product .upsells,
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1 !important;
  clear: both !important;
  width: 100% !important;
  max-width: none;
  min-width: 0;
  float: none !important;
  position: static !important;
}

.pdp-details-body,
.pdp-details-body p {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: none;
  width: 100%;
  color: var(--ink);
}

/* ----- AUTO pager (<< < AUTO > >>) ----- */
.ss-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.1rem;
  margin: 1.15rem auto;
  padding: 0.35rem 0.5rem;
  user-select: none;
}

.ss-pager--top {
  margin-top: 0.35rem;
  margin-bottom: 1.35rem;
}

.ss-pager--bottom {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

/* Load trigger under the product grid — NOT the page footer. */
.ss-pager-sentinel {
  width: 100%;
  height: 6rem;
  margin: 0;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}

.ss-pager-more {
  display: none;
  width: 100%;
  margin: 0.35rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

html.ss-pager-loading .ss-pager-more {
  display: block;
}

.ss-pager-new {
  animation: ssPagerIn 0.35s ease;
}

@keyframes ssPagerIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ss-pager-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  color: #6b6b6b;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: color .15s ease, opacity .15s ease;
}

.ss-pager-step:hover {
  color: #111;
}

.ss-pager-step.is-disabled,
.ss-pager-step[aria-disabled="true"] {
  opacity: 0.28;
  pointer-events: none;
  color: #9a9a9a;
}

.ss-pager-auto {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: #0b1220;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  min-width: 7.5rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 6px 16px rgba(0,0,0,.18);
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}

.ss-pager-auto:hover {
  background: #151d2e;
}

.ss-pager-auto[aria-pressed="true"],
.ss-pager-auto.is-on {
  background: var(--truth-red);
  box-shadow: 0 0 0 2px rgba(139, 18, 22, 0.18), 0 6px 16px rgba(139, 18, 22, 0.25);
}

.ss-pager-auto:disabled {
  opacity: 0.65;
  cursor: wait;
}

.ss-pager-auto:focus-visible {
  outline: 2px solid var(--truth-red);
  outline-offset: 3px;
}

.ss-pager.is-loading .ss-pager-auto::after {
  content: "…";
  margin-left: 0.15em;
}

html.ss-pager-loading {
  cursor: progress;
}

/* Appending shirts must not pin the footer in the viewport (Android swipe). */
.site-footer,
.ss-pager--bottom,
.cookie-bar {
  overflow-anchor: none;
}

/* AUTO still has pages: footer is not the end. Last page puts it back. */
html.ss-pager-auto-on.ss-pager-has-more .site-footer {
  display: none;
}

.ss-pager-status {
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8a8a8a;
  margin-top: -0.35rem;
}

body.home .ss-pager-status { color: #9a9a9a; }

/* Floating back-to-top (AUTO ON only, after ~1/3 scroll) */
.ss-back-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.35rem;
  z-index: 45;
  width: 2.85rem;
  height: 2.85rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy, #0b1c33);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.15s ease;
}

.ss-back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ss-back-top:hover {
  background: var(--truth-red, #8b1216);
}

.ss-back-top:focus-visible {
  outline: 2px solid var(--truth-red, #8b1216);
  outline-offset: 3px;
}

.ss-back-top-icon {
  font-size: 0.95rem;
  line-height: 1;
  margin-top: -1px;
}

.ss-jump-rail {
  display: none;
}

@media (max-width: 700px) {
  .stat-row,
  .promise-grid { grid-template-columns: 1fr; }

  .ss-pager--top {
    display: none;
  }

  .ss-pager-step,
  .ss-pager-status {
    display: none;
  }

  .ss-pager--bottom {
    display: none !important;
  }

  .ss-back-top {
    display: none !important;
  }

  .ss-jump-rail {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: fixed;
    right: 0.4rem;
    left: auto;
    width: 3rem;
    bottom: calc(9.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .ss-jump-rail.is-visible {
    opacity: 1;
  }

  .ss-jump-rail.is-visible button {
    pointer-events: auto;
  }

  .ss-jump-rail button {
    appearance: none;
    min-width: 2.85rem;
    min-height: 2.85rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--navy, #0b1c33);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    cursor: pointer;
  }

  .ss-jump-rail button:focus-visible {
    outline: 2px solid var(--truth-red);
    outline-offset: 2px;
  }
}

/* ----- share desk ----- */
body.page-share .site-main {
  padding: 0 0 calc(8.5rem + env(safe-area-inset-bottom, 0px));
}

.share-desk {
  width: min(32rem, calc(100% - 1.25rem));
  margin: 0.75rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.share-preview img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(38vh, 18rem);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  background: #f4f1ea;
}

.share-colors {
  margin: 0.7rem 0 0;
}

.share-tools {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.7rem;
}

.share-kicker {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.share-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.7rem, 7vw, 2.2rem);
}

.share-back {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.share-back a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.share-back a:hover {
  color: var(--truth-red);
}

.share-colors .ss-swatch-label {
  max-width: none;
}

.share-line {
  width: 100%;
  min-height: 8rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
  resize: vertical;
}

.share-line:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.share-icon-btn {
  appearance: none;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.65rem;
  border: 1px solid var(--ink);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}

.share-icon-btn:hover,
.share-icon-btn:focus-visible {
  background: var(--truth-red);
  border-color: var(--truth-red);
  color: #fff;
}

.share-icon-btn .share-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.share-icon-btn .share-icon--ok {
  display: none;
}

.share-icon-btn.is-done .share-icon--action {
  display: none;
}

.share-icon-btn.is-done .share-icon--ok {
  display: block;
}

@media (max-height: 800px) {
  .share-preview img {
    max-height: 15.5rem;
  }
}

/* ----- dispatch ----- */
.dispatch-archive,
.dispatch-article {
  max-width: 40rem;
}

.dispatch-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.45rem;
}

.dispatch-type {
  display: inline-flex;
  gap: 0.3rem;
}

.dispatch-type-btn {
  appearance: none;
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0 0.45rem;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.dispatch-type-btn[data-dispatch-type="sm"] { font-size: 0.85rem; }
.dispatch-type-btn[data-dispatch-type="md"] { font-size: 1.05rem; }
.dispatch-type-btn[data-dispatch-type="lg"] { font-size: 1.25rem; }

.dispatch-type-btn[aria-pressed="true"],
.dispatch-type-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.dispatch-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.dispatch-kicker a {
  color: var(--ink);
  text-decoration: none;
}

.dispatch-kicker a:hover {
  color: var(--truth-red);
}

.dispatch-dek,
.dispatch-article .entry-content,
.dispatch-excerpt,
.dispatch-article .entry-content p,
.dispatch-article .entry-content li,
.dispatch-article .entry-content .lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}

html[data-dispatch-type="sm"] .dispatch-dek,
html[data-dispatch-type="sm"] .dispatch-excerpt,
html[data-dispatch-type="sm"] .dispatch-article .entry-content,
html[data-dispatch-type="sm"] .dispatch-article .entry-content p,
html[data-dispatch-type="sm"] .dispatch-article .entry-content li,
html[data-dispatch-type="sm"] .dispatch-article .entry-content .lead {
  font-size: 14px;
}

html[data-dispatch-type="lg"] .dispatch-dek,
html[data-dispatch-type="lg"] .dispatch-excerpt,
html[data-dispatch-type="lg"] .dispatch-article .entry-content,
html[data-dispatch-type="lg"] .dispatch-article .entry-content p,
html[data-dispatch-type="lg"] .dispatch-article .entry-content li,
html[data-dispatch-type="lg"] .dispatch-article .entry-content .lead {
  font-size: 20px;
  line-height: 1.6;
}

html[data-dispatch-type="lg"] .dispatch-item-title {
  font-size: 1.4rem;
}

html[data-dispatch-type="lg"] .dispatch-article .entry-title {
  font-size: clamp(2.1rem, 6vw, 3.2rem);
}

html[data-dispatch-type="lg"] .dispatch-date {
  font-size: 16px;
}

.dispatch-dek {
  margin: 0 0 2rem;
  max-width: 36rem;
}

.dispatch-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dispatch-item {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.dispatch-item:last-child {
  border-bottom: 1px solid var(--line);
}

.dispatch-item-title {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.dispatch-item-title a {
  color: var(--ink);
  text-decoration: none;
}

.dispatch-item-title a:hover {
  color: var(--truth-red);
}

.dispatch-date {
  margin: 0 0 0.45rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.dispatch-excerpt {
  margin: 0;
}

.dispatch-article .entry-content p,
.dispatch-article .entry-content li {
  color: var(--ink);
}

.dispatch-article .entry-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.dispatch-article .entry-content a:hover {
  color: var(--truth-red);
}

.dispatch-article .entry-content .lead {
  color: var(--ink);
  max-width: none;
}

body.blog .nav-links,
body.single-post .nav-links {
  margin-top: 2rem;
}

/* ----- grocer cart / checkout / thank-you ----- */
body.woocommerce-order-received .entry-title,
body.woocommerce-order-received h1.page-title {
  display: none !important;
}

body.woocommerce-cart .woocommerce-info {
  border: 0 !important;
  background: transparent !important;
  padding-left: 0 !important;
}

body.woocommerce-cart .woocommerce-info::before {
  display: none !important;
}

.checkout-trust,
.cart-empty-next,
.grocer-bless,
.grocer-note {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}

.checkout-trust {
  margin: 0 0 1rem;
}

.cart-empty-next a,
.grocer-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cart-empty-next a:hover,
.grocer-note a:hover {
  color: var(--truth-red);
}

.grocer-thanks {
  max-width: 36rem;
}

.grocer-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.grocer-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.grocer-bless {
  margin: 0 0 1.25rem;
}

.grocer-overview {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  border-top: 1px solid var(--line);
}

.grocer-overview li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}

.grocer-invoice {
  margin: 0 0 1.25rem;
}

.grocer-invoice .button {
  display: inline-flex;
}
