/*
Theme Name: Toxikiing
Theme URI: https://toxikiing.com
Author: Toxikiing
Description: Custom WooCommerce theme for Toxikiing — oversized streetwear. Monochrome, Inter, scroll-driven 3D product ring.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: toxikiing
WC requires at least: 8.0
*/

:root {
  --ink: #0a0a0a;
  --ink-soft: #1c1c1c;
  --paper: #fafafa;
  --white: #ffffff;
  --gray-100: #f2f2f0;
  --gray-300: #d9d9d6;
  --gray-500: #8a8a86;
  --gray-700: #4a4a47;
  --sale: #d92c2c;
  --radius: 14px;
  --radius-lg: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 2px 8px rgba(10,10,10,0.06), 0 16px 40px rgba(10,10,10,0.08);
  --shadow-lift: 0 4px 12px rgba(10,10,10,0.10), 0 24px 60px rgba(10,10,10,0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 92vw); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn, .woocommerce a.button, .woocommerce button.button,
.woocommerce #respond input#submit, .woocommerce input.button,
.wc-block-components-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  text-decoration: none; border: 2px solid var(--ink);
  cursor: pointer; transition: transform 180ms var(--ease-out), background 180ms, color 180ms, box-shadow 180ms;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--white); color: var(--ink);
  transform: translateY(-2px); box-shadow: var(--shadow-card);
}
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink); color: var(--white);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  text-align: center; padding: 9px 16px; overflow: hidden;
}
.announce__track { display: inline-flex; gap: 18px; white-space: nowrap; }
.announce em { color: #ff6b6b; font-style: normal; }
.announce__sep { color: var(--gray-500); }
@media (max-width: 900px) {
  .announce { font-size: 0.72rem; padding: 8px 12px; }
  .announce__track { white-space: normal; }
  .announce__track span:nth-child(n+2) { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,250,249,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-300);
}
.site-header__top {
  display: flex; align-items: center; gap: clamp(14px, 2.5vw, 34px);
  padding: 13px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; flex: none;
}
.brand__logo { height: 26px; width: auto; display: block; }
.brand__text { font-size: 1.05rem; font-weight: 900; letter-spacing: 0.2em; }
.brand--footer .brand__logo { height: 34px; }
.brand--footer .brand__text { color: var(--white); }

.header-search {
  flex: 1; display: flex; align-items: center; gap: 10px;
  max-width: 560px; margin-inline: auto;
  background: var(--white);
  border: 2px solid var(--gray-300); border-radius: 999px;
  padding: 4px 6px 4px 18px;
  transition: border-color 160ms, box-shadow 160ms;
}
.header-search:focus-within { border-color: var(--ink); box-shadow: 0 4px 18px rgba(10,10,10,0.08); }
.header-search svg { width: 18px; height: 18px; color: var(--gray-500); flex: none; }
.header-search input[type="search"] {
  flex: 1; min-width: 0; border: 0; background: none;
  font: inherit; font-size: 0.92rem; color: var(--ink); outline: none; padding: 7px 0;
}
.header-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.header-search button {
  border: 0; border-radius: 999px; background: var(--ink); color: var(--white);
  font-weight: 700; font-size: 0.82rem; padding: 9px 20px;
  transition: opacity 150ms;
}
.header-search button:hover { opacity: 0.85; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-actions__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; color: var(--ink);
  transition: background 160ms;
}
.header-actions__icon:hover { background: var(--gray-100); }
.header-actions__icon svg { width: 21px; height: 21px; }
.header-search-toggle { display: none; }
.cart-count {
  position: absolute; transform: translate(11px, -11px);
  background: var(--sale); color: var(--white);
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  font-size: 0.65rem; font-weight: 700; display: grid; place-items: center;
}
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
.nav-toggle:hover { background: var(--gray-100); }
.nav-toggle svg { width: 24px; height: 24px; }

/* Category nav (second header tier) */
.cat-nav { border-top: 1px solid var(--gray-300); }
.cat-nav__inner {
  display: flex; align-items: center; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
}
.cat-nav__inner::-webkit-scrollbar { display: none; }
.cat-nav__link {
  flex: none; text-decoration: none;
  font-weight: 600; font-size: 0.88rem; color: var(--gray-700);
  padding: 11px 13px; border-bottom: 2px solid transparent;
  transition: color 150ms, border-color 150ms;
}
.cat-nav__link:hover { color: var(--ink); border-color: var(--ink); }
.cat-nav__link--custom {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ink); color: var(--white);
  border-radius: 999px; padding: 7px 15px; margin: 5px 6px;
  border-bottom: 0; font-weight: 700;
}
.cat-nav__link--custom svg { width: 14px; height: 14px; }
.cat-nav__link--custom:hover { color: var(--white); opacity: 0.85; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink); color: var(--white);
  position: relative; overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; padding: clamp(64px, 9vw, 130px) 0;
  position: relative; z-index: 1;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--white); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.85);
}
.hero p.lead { font-size: 1.08rem; color: rgba(255,255,255,0.78); max-width: 52ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 26px; }
.hero__price strong { font-size: 2rem; font-weight: 800; }
.hero__price s { color: rgba(255,255,255,0.5); }
.page-shell .hero__price s { color: var(--gray-500); }
.hero__price .pill {
  background: var(--sale); color: var(--white); font-size: 0.72rem; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; letter-spacing: 0.06em;
}
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.hero__badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--white); color: var(--ink);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
}
.hero__grid-lines {
  position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--gray-300); background: var(--white); }
.trust__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 0;
}
.trust__item { display: flex; align-items: center; gap: 13px; font-size: 0.9rem; font-weight: 600; }
.trust__item svg { width: 26px; height: 26px; flex: none; }
.trust__item small { display: block; font-weight: 400; color: var(--gray-500); }

/* =========================================================
   SCROLL-DRIVEN 3D PRODUCT RING (signature section)
   Left: product story panels. Right: sticky 3D carousel that
   rotates as you scroll — the facing tee always matches the
   active panel. Degrades to a flat list without JS.
   ========================================================= */
.showcase {
  background: var(--ink); color: var(--white); position: relative;
  /* 3D cards swing wide of the stage by design — clip at the section so they
     can never widen the page. clip (not hidden) keeps the sticky stage alive. */
  overflow-x: clip;
}
@supports not (overflow: clip) {
  .showcase { overflow-x: hidden; }
}
.showcase__head { padding: clamp(60px, 8vw, 100px) 0 12px; }
.showcase__head h2 { color: var(--white); max-width: 18ch; }
.showcase__head p { color: rgba(255,255,255,0.65); max-width: 58ch; }
.showcase__body {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 64px); align-items: stretch;
  padding-bottom: clamp(60px, 8vw, 110px);
}
.showcase__stage-wrap { position: relative; height: 100%; }
.showcase__panels { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 44px); padding: 10vh 0 30vh; }
.panel {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  background: rgba(255,255,255,0.03);
  min-height: 58vh;
  display: flex; flex-direction: column; justify-content: center;
  transition: border-color 320ms var(--ease-out), background 320ms, opacity 320ms;
}
.js .panel { opacity: 0.38; }
.js .panel.is-active { opacity: 1; border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); }
.panel__num {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.45); margin-bottom: 14px;
}
.panel h3 { color: var(--white); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; }
.panel__meta { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; }
.panel__price { font-size: 1.2rem; font-weight: 800; }
.panel__price s { color: rgba(255,255,255,0.45); font-weight: 500; font-size: 0.95rem; margin-left: 8px; }
.panel__tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 4px 11px;
  color: rgba(255,255,255,0.75);
}
.panel__tag--sale { background: var(--sale); border-color: var(--sale); color: var(--white); }
.panel p { color: rgba(255,255,255,0.68); font-size: 0.96rem; max-width: 46ch; }
.panel .btn { align-self: flex-start; margin-top: 8px; }

.showcase__stage {
  position: sticky; top: 90px;
  height: min(82vh, 780px);
  display: grid; place-items: center;
  perspective: 1400px; perspective-origin: 50% 46%;
  overflow: visible;
}
.ring {
  position: relative;
  width: min(340px, 26vw); aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  will-change: transform;
}
.ring__card {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #161616;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  backface-visibility: hidden;
  transition: filter 300ms var(--ease-out);
}
.ring__card img { width: 100%; height: 100%; object-fit: cover; }
.js .ring__card { filter: brightness(0.42) saturate(0.7); }
.js .ring__card.is-front { filter: brightness(1) saturate(1); }
.ring__card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: var(--white); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
}
.showcase__floor {
  position: absolute; left: 50%; bottom: 6%;
  width: 70%; height: 60px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.14), transparent 70%);
  pointer-events: none;
}
.showcase__progress {
  position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 180px; background: rgba(255,255,255,0.15); border-radius: 3px;
}
.showcase__progress i {
  display: block; width: 100%; height: 20%;
  background: var(--white); border-radius: 3px;
  transform-origin: top; will-change: transform;
}
/* No-JS / small screens: readable flat fallback */
.no-js .showcase__stage { display: none; }

/* ---------- Collections ---------- */
.collections { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-head p { color: var(--gray-500); max-width: 52ch; margin: 0; }
.collections__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.collection-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3 / 4; text-decoration: none; background: var(--ink);
  display: block;
}
.collection-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease-out), opacity 400ms;
  opacity: 0.86;
}
.collection-card:hover img { transform: scale(1.06); opacity: 1; }
.collection-card__label {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(250,250,249,0.92); backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 13px 16px;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink); font-weight: 700; font-size: 0.95rem;
}
.collection-card__label svg { width: 17px; height: 17px; transition: transform 250ms var(--ease-out); }
.collection-card:hover .collection-card__label svg { transform: translateX(4px); }

/* ---------- Product grid (Woo archives + featured) ---------- */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; text-align: left; }
.woocommerce ul.products li.product a img { border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; margin-bottom: 12px; box-shadow: none; transition: transform 500ms var(--ease-out); }
.woocommerce ul.products li.product:hover a img { transform: translateY(-4px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 0.98rem; font-weight: 700; padding: 0; }
.woocommerce ul.products li.product .price { color: var(--ink); font-weight: 700; font-size: 0.95rem; }
.woocommerce ul.products li.product .price del { color: var(--gray-500); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce span.onsale {
  background: var(--sale); border-radius: 999px; min-height: 0; min-width: 0;
  padding: 5px 12px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em;
  line-height: 1.4; left: 12px; top: 12px; margin: 0;
}

/* ---------- Steps (custom printing) ---------- */
.steps { background: var(--white); border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300); padding: clamp(70px, 9vw, 120px) 0; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step {
  border: 1px solid var(--gray-300); border-radius: var(--radius-lg);
  padding: 34px 30px; background: var(--paper);
  transition: transform 250ms var(--ease-out), box-shadow 250ms;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.step__num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 20px;
}
.step p { color: var(--gray-700); font-size: 0.95rem; margin: 0; }

/* ---------- Fabric / quality ---------- */
.fabric { padding: clamp(70px, 9vw, 120px) 0; }
.fabric__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.fabric__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.fabric__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.stat { border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 18px; background: var(--white); }
.stat strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.stat span { font-size: 0.8rem; color: var(--gray-500); font-weight: 600; }

/* ---------- Reviews ---------- */
.reviews { background: var(--ink); color: var(--white); padding: clamp(70px, 9vw, 120px) 0; }
.reviews h2 { color: var(--white); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.review {
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg);
  padding: 30px; background: rgba(255,255,255,0.04);
}
.review__stars { display: flex; gap: 3px; margin-bottom: 16px; }
.review__stars svg { width: 17px; height: 17px; fill: var(--white); }
.review p { color: rgba(255,255,255,0.8); font-size: 0.96rem; }
.review footer { font-weight: 700; font-size: 0.88rem; margin-top: 14px; }
.review footer span { display: block; font-weight: 400; color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(70px, 9vw, 120px) 0; }
.faq__list { max-width: 820px; margin-top: 34px; }
.faq details { border-bottom: 1px solid var(--gray-300); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px; font-weight: 700; font-size: 1.05rem;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform 250ms var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--gray-700); padding: 0 4px 22px; max-width: 68ch; }

/* ---------- Newsletter / footer ---------- */
.newsletter { background: var(--white); border-top: 1px solid var(--gray-300); padding: clamp(56px, 7vw, 90px) 0; }
.newsletter__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input[type="email"] {
  flex: 1; padding: 15px 20px; border-radius: 999px;
  border: 2px solid var(--gray-300); font: inherit; background: var(--paper);
}
.newsletter input[type="email"]:focus { outline: none; border-color: var(--ink); }

.newsletter__eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gray-500);
  margin-bottom: 10px;
}

.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: clamp(56px, 7vw, 90px) 0 34px; }
.site-footer a { color: rgba(255,255,255,0.72); text-decoration: none; transition: color 150ms; }
.site-footer a:hover { color: var(--white); }
.footer-top {
  display: grid; grid-template-columns: 1.15fr 2fr;
  gap: clamp(36px, 5vw, 80px); margin-bottom: 52px;
}
.footer-brand-block .brand { margin-bottom: 18px; }
.footer-tagline { font-size: 0.95rem; max-width: 34ch; }
.footer-wa { margin: 6px 0 22px; }
.footer-wa:hover { color: var(--ink); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h4 {
  color: var(--white); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 18px;
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 0.92rem; }
.footer-cols a { position: relative; }
.footer-cols a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--white); transition: width 200ms var(--ease-out);
}
.footer-cols a:hover::after { width: 100%; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center; transition: background 160ms, border-color 160ms, color 160ms;
}
.footer-social a:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.footer-social svg { width: 17px; height: 17px; }
.footer-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  border-block: 1px solid rgba(255,255,255,0.14);
  padding: 20px 0; margin-bottom: 26px;
}
.footer-strip__item {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.8);
}
.footer-strip__item svg { width: 20px; height: 20px; flex: none; }
.footer-legal {
  display: flex; justify-content: space-between; gap: 18px;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
}

/* ---------- Woo single product + pages ---------- */
.page-shell { padding: clamp(48px, 6vw, 80px) 0; }
.woocommerce div.product .product_title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.woocommerce div.product p.price { color: var(--ink); font-size: 1.4rem; font-weight: 800; }
.woocommerce div.product p.price del { color: var(--gray-500); }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product div.images img { border-radius: var(--radius-lg); }
.woocommerce div.product form.cart .variations select { padding: 10px 14px; border-radius: 10px; border: 2px solid var(--gray-300); font: inherit; }
.woocommerce div.product form.cart .button { padding: 16px 36px; }
.woocommerce .woocommerce-breadcrumb { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 28px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 3px; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 10px; padding: 10px 16px; font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: var(--white); }

/* ---------- Custom design upload (custom-printing products) ---------- */
.txk-upload {
  border: 2px dashed var(--gray-300); border-radius: var(--radius-lg);
  background: var(--white);
  padding: 22px; margin: 18px 0;
  transition: border-color 180ms, background 180ms;
}
.txk-upload.is-dragover { border-color: var(--ink); background: var(--gray-100); }
.txk-upload__label { display: block; cursor: pointer; text-align: center; }
.txk-upload__label svg { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--gray-500); }
.txk-upload__label strong { display: block; font-size: 1rem; }
.txk-upload__label span { display: block; font-size: 0.82rem; color: var(--gray-500); margin-top: 4px; }
.txk-upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.txk-upload__preview { display: none; align-items: center; gap: 16px; text-align: left; }
.txk-upload.has-file .txk-upload__preview { display: flex; }
.txk-upload.has-file .txk-upload__label { display: none; }
.txk-upload__thumb {
  width: 74px; height: 74px; border-radius: var(--radius);
  object-fit: cover; background: var(--gray-100); flex: none;
  border: 1px solid var(--gray-300);
}
.txk-upload__thumb--doc { display: grid; place-items: center; color: var(--gray-500); }
.txk-upload__meta { flex: 1; min-width: 0; }
.txk-upload__name { font-weight: 700; font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.txk-upload__size { font-size: 0.8rem; color: var(--gray-500); }
.txk-upload__remove {
  border: 0; background: none; color: var(--sale);
  font-weight: 700; font-size: 0.85rem; padding: 8px;
}
.txk-upload__error { color: var(--sale); font-size: 0.85rem; font-weight: 600; margin: 8px 0 0; display: none; }
.txk-upload.has-error .txk-upload__error { display: block; }
.txk-personalize { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.txk-personalize label { font-size: 0.82rem; font-weight: 700; display: block; margin-bottom: 6px; }
.txk-personalize input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 2px solid var(--gray-300); font: inherit; background: var(--white);
}
.txk-personalize input:focus { outline: none; border-color: var(--ink); }
@media (max-width: 640px) { .txk-personalize { grid-template-columns: 1fr; } }

/* ---------- Rich product content (descriptions, specs, FAQ) ---------- */
.txk-content h2 { font-size: 1.35rem; margin-top: 1.8em; }
.txk-content p { color: var(--gray-700); max-width: 72ch; }
.txk-content ul { color: var(--gray-700); padding-left: 1.2em; max-width: 72ch; }
.txk-content ul li { margin-bottom: 8px; }
.txk-content--page { max-width: 820px; }
.txk-content--page h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.txk-specs { border-collapse: collapse; width: 100%; max-width: 560px; font-size: 0.92rem; }
.txk-specs th, .txk-specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--gray-300); }
.txk-specs th { font-weight: 700; white-space: nowrap; width: 38%; }
.txk-specs thead th { background: var(--ink); color: var(--white); border-bottom: 0; }
.txk-sizechart td:first-child { font-weight: 700; }
.txk-note { font-size: 0.83rem; color: var(--gray-500); margin-top: 10px; }
.txk-faq details { border-bottom: 1px solid var(--gray-300); max-width: 760px; }
.txk-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 4px; font-weight: 700; font-size: 1rem; cursor: pointer; list-style: none;
}
.txk-faq summary::-webkit-details-marker { display: none; }
.txk-faq summary svg { width: 18px; height: 18px; flex: none; transition: transform 250ms var(--ease-out); }
.txk-faq details[open] summary svg { transform: rotate(45deg); }
.txk-faq details p { color: var(--gray-700); padding: 0 4px 18px; max-width: 68ch; margin: 0; }

/* ---------- Product detail page (demo + Woo single) ---------- */
.pdp .crumbs, .custom-demo .crumbs { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 26px; }
.pdp .crumbs a, .custom-demo .crumbs a { color: var(--gray-500); }
.pdp__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.pdp__grid > *, .custom-demo__grid > * { min-width: 0; }
.pdp__media { position: sticky; top: 130px; }
.pgal__main { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--gray-100); }
@media (min-width: 901px) {
  /* cap only on desktop — combined with aspect-ratio it would force a wider
     transferred width than the single mobile column */
  .pgal__main { max-height: min(74vh, 720px); }
}
.pdp__highlights { list-style: none; margin: 22px 0 6px; padding: 0; display: grid; gap: 9px; }
.pdp__highlights li { position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--gray-700); }
.pdp__highlights li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px;
  background: var(--ink);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/contain no-repeat;
}
.pdp__accordions { margin-top: 18px; border-top: 1px solid var(--gray-300); }
.pdp__accordions .txk-specs { margin-bottom: 16px; }
.pdp__help { margin-top: 18px; font-size: 0.9rem; font-weight: 600; }
.pdp__help a { text-decoration: none; border-bottom: 2px solid var(--ink); }
.pgal__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.pgal__thumbs::-webkit-scrollbar { display: none; }
.pgal__thumb { flex: none; width: 68px; height: 88px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--gray-100); transition: border-color 150ms; }
.pgal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pgal__thumb.is-on, .pgal__thumb:hover { border-color: var(--ink); }
.pdp__buy h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.pdp__tagline { color: var(--gray-700); font-size: 0.95rem; }
.pdp__trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pdp__trust span { font-size: 0.75rem; font-weight: 700; border: 1px solid var(--gray-300); border-radius: 999px; padding: 6px 13px; background: var(--white); }
.pdp__content { margin-top: clamp(40px, 6vw, 72px); max-width: 820px; }
.pdp__related { margin-top: clamp(48px, 6vw, 80px); }
.opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.opt-label { font-size: 0.82rem; font-weight: 700; display: block; margin-bottom: 6px; }
.opt-row select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--gray-300); font: inherit; background: var(--white); }

/* Product cards + shop grid */
.pcard { display: block; text-decoration: none; }
.pcard img { border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; width: 100%; background: var(--gray-100); transition: transform 400ms var(--ease-out); }
.pcard:hover img { transform: translateY(-4px); }
.pcard__name { display: block; font-weight: 700; font-size: 0.92rem; margin-top: 10px; line-height: 1.35; }
.pcard__price { display: block; font-weight: 700; font-size: 0.9rem; margin-top: 2px; }
.pcard__price s { color: var(--gray-500); font-weight: 400; margin-left: 6px; }
.pcard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard-grid--shop { grid-template-columns: repeat(4, 1fr); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 30px; }
.chip { border: 2px solid var(--gray-300); background: var(--white); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 0.86rem; transition: all 150ms; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Custom demo page */
.custom-demo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.custom-demo__media { position: sticky; top: 130px; }
.custom-demo__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.custom-demo__badges { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.custom-demo__badges span { font-size: 0.75rem; font-weight: 700; border: 1px solid var(--gray-300); border-radius: 999px; padding: 6px 13px; background: var(--white); }
.custom-demo__form h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.custom-demo__note { font-size: 0.85rem; color: var(--gray-500); margin-top: 14px; }

@media (max-width: 900px) {
  .pdp__grid, .custom-demo__grid { grid-template-columns: 1fr; }
  .pdp__media, .custom-demo__media { position: static; }
  .pcard-grid, .pcard-grid--shop { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---------- Reveal on scroll (enhance-only; content visible by default) ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.reveal--pending { opacity: 0; transform: translateY(26px); }

/* ---------- Responsive ---------- */
/* ---------- Mobile ring: swipe-to-spin carousel (JS-built extras) ---------- */
.ring-arrows { display: none; }
.ring-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.06);
  color: var(--white); display: grid; place-items: center;
  transition: background 150ms, border-color 150ms;
}
.ring-arrow:active { background: var(--white); color: var(--ink); }
.ring-arrow svg { width: 20px; height: 20px; }
.ring-mobilecard { display: none; }

@media (max-width: 1100px) {
  .collections__grid, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding: 56px 0 48px; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .steps__grid, .reviews__grid { grid-template-columns: 1fr; }
  .fabric__inner, .newsletter__inner { grid-template-columns: 1fr; }
  .header-search { display: none; }
  .site-header.search-open .header-search {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    max-width: none; margin: 0; border-radius: 0; border-inline: 0;
    padding: 10px 4vw; background: var(--paper);
    border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300);
  }
  .header-search-toggle { display: inline-flex; }
  .cat-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--gray-300);
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .cat-nav.is-open { display: block; }
  .cat-nav__inner { flex-direction: column; align-items: stretch; padding: 10px 4vw 18px; overflow: visible; }
  .cat-nav__link { padding: 13px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--gray-100); }
  .cat-nav__link--custom { justify-content: center; margin: 10px 0 0; padding: 13px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  /* Ring becomes a touch carousel: no sticky, drag to spin */
  .showcase__body { grid-template-columns: 1fr; padding-bottom: 40px; }
  .showcase__stage-wrap { order: -1; height: auto; }
  .showcase__stage {
    position: relative; top: auto; height: 104vw; max-height: 470px; min-height: 330px;
    perspective: 1100px; touch-action: pan-y; cursor: grab;
    margin-top: 8px;
  }
  .showcase__stage.is-dragging { cursor: grabbing; }
  .ring { width: min(210px, 56vw); }
  .ring__card { box-shadow: 0 14px 40px rgba(0,0,0,0.5); }
  .ring__card figcaption { display: none; }
  .showcase__progress { display: none; }
  .showcase__floor { bottom: -4%; height: 34px; }

  .ring-arrows {
    display: flex; justify-content: space-between; align-items: center;
    position: absolute; inset-inline: 10px; top: 50%; transform: translateY(-50%);
    pointer-events: none; z-index: 6;
  }
  .ring-arrow { pointer-events: auto; }

  /* One dynamic info card replaces the desktop panel list */
  .showcase__panels { display: none; }
  .ring-mobilecard {
    display: block;
    margin: 26px 0 0;
    border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05);
    padding: 24px 22px;
    text-align: center;
  }
  .ring-mobilecard .panel__num { margin-bottom: 8px; }
  .ring-mobilecard h3 { color: var(--white); font-size: 1.25rem; font-weight: 800; }
  .ring-mobilecard .panel__meta { justify-content: center; flex-wrap: wrap; }
  .ring-mobilecard p { color: rgba(255,255,255,0.68); font-size: 0.92rem; max-width: none; }
  .ring-mobilecard .btn { margin-top: 4px; }
  .ring-dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
  .ring-dots i {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,0.25); transition: background 150ms, transform 150ms;
  }
  .ring-dots i.is-on { background: var(--white); transform: scale(1.3); }
}
@media (max-width: 640px) {
  .collections__grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
  .footer-strip { grid-template-columns: 1fr 1fr; }
  .footer-strip__item { justify-content: flex-start; }
  .footer-legal { flex-direction: column; }
  .newsletter form { flex-direction: column; }
  /* compact header: at 375px the full row is wider than the screen */
  .site-header__top { gap: 8px; padding: 11px 0; }
  .brand { gap: 7px; }
  .brand__logo { height: 19px; }
  .brand__text { font-size: 0.92rem; letter-spacing: 0.12em; }
  .header-actions { gap: 2px; }
  .header-actions__icon { width: 38px; height: 38px; }
  .header-actions__icon svg { width: 19px; height: 19px; }
  .header-account { display: none; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* ---------- Phone polish: compact type & rhythm (≤640px) ---------- */
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .hero__inner { padding: 34px 0 40px; gap: 30px; }
  .hero__eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; margin-bottom: 14px; }
  .hero__eyebrow::before { width: 22px; }
  .hero p.lead { font-size: 0.95rem; margin-bottom: 20px; }
  .hero__price { margin-bottom: 18px; }
  .hero__price strong { font-size: 1.5rem; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__cta .btn { justify-content: center; padding: 14px 22px; font-size: 0.92rem; }
  .trust__inner { padding: 18px 0; gap: 12px; }
  .trust__item { font-size: 0.8rem; gap: 9px; }
  .trust__item svg { width: 20px; height: 20px; }
  .showcase__head { padding-top: 44px; }
  .showcase__head p { font-size: 0.92rem; }
  .collections, .steps, .fabric, .reviews, .faq { padding: 44px 0; }
  .section-head { margin-bottom: 22px; gap: 12px; }
  .section-head p { font-size: 0.92rem; }
  .section-head .btn { padding: 12px 22px; font-size: 0.88rem; }
  .collection-card__label { padding: 10px 13px; font-size: 0.85rem; left: 10px; right: 10px; bottom: 10px; }
  .step { padding: 22px 18px; }
  .step__num { width: 38px; height: 38px; margin-bottom: 14px; }
  .step h3 { font-size: 1.05rem; }
  .step p { font-size: 0.9rem; }
  .fabric__inner { gap: 24px; }
  .fabric__stats { gap: 8px; margin-top: 20px; }
  .stat { padding: 12px 10px; }
  .stat strong { font-size: 1.25rem; }
  .stat span { font-size: 0.7rem; }
  .faq summary { font-size: 0.95rem; padding: 16px 4px; }
  .faq details p { font-size: 0.92rem; }
  .newsletter { padding: 44px 0; }
  .newsletter p { font-size: 0.92rem; }
  .site-footer { padding: 44px 0 26px; }
  .footer-tagline { font-size: 0.88rem; }
  .footer-top { margin-bottom: 34px; gap: 28px; }
  .footer-strip { padding: 14px 0; margin-bottom: 18px; gap: 10px; }
  .footer-strip__item { font-size: 0.78rem; }
  .footer-strip__item svg { width: 16px; height: 16px; }
  .footer-legal { font-size: 0.74rem; gap: 6px; }
  /* Ring section on phone */
  .ring-mobilecard { padding: 18px 16px; margin-top: 18px; }
  .ring-mobilecard h3 { font-size: 1.1rem; }
  .ring-mobilecard p { font-size: 0.88rem; }
  .ring-mobilecard .btn { padding: 13px 24px; font-size: 0.9rem; }
  .panel__num { font-size: 0.68rem; margin-bottom: 8px; }
  .panel__price { font-size: 1.05rem; }
  .panel__tag { font-size: 0.62rem; padding: 3px 9px; }
  /* Product page */
  .pdp__buy h1 { font-size: 1.35rem; }
  .pdp-price { font-size: 1.4rem !important; }
  .pdp__tagline { font-size: 0.9rem; }
  .pdp__trust span, .custom-demo__badges span { font-size: 0.68rem; padding: 5px 10px; }
  .pdp__highlights li { font-size: 0.87rem; }
  .txk-specs { font-size: 0.85rem; }
  .txk-specs th, .txk-specs td { padding: 9px 10px; }
  .txk-content h2 { font-size: 1.2rem; }
  .txk-content p, .txk-content ul { font-size: 0.93rem; }
  .txk-faq summary { font-size: 0.92rem; padding: 15px 2px; }
  .txk-faq details p { font-size: 0.9rem; }
  .pcard__name { font-size: 0.83rem; margin-top: 8px; }
  .pcard__price { font-size: 0.83rem; }
  .chip { padding: 8px 14px; font-size: 0.8rem; }
  .custom-demo__form h1 { font-size: 1.35rem; }
  .page-shell { padding: 28px 0 48px; }
  .txk-upload { padding: 16px; }
  .txk-upload__label strong { font-size: 0.92rem; }
  .txk-upload__label span { font-size: 0.75rem; }
}

/* ---------- Reduced motion: ring becomes a calm crossfade ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .ring { transform: none !important; }
  .ring__card { position: absolute; transform: none !important; opacity: 0; }
  .ring__card.is-front { opacity: 1; }
}
