/*
Theme Name: BuyKratomHere
Theme URI: https://buykratomhere.com
Author: BuyKratomHere
Description: Custom WooCommerce theme for BuyKratomHere, a multi-brand kratom distributor. Vein-color product taxonomy, kraft-and-bark palette, lab-data typography, built-in 21+ age gate.
Version: 1.0.33
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wildroot
Tags: e-commerce, woocommerce
*/

/* ==========================================================
   TOKENS — BuyKratomHere brand board: soft & modern
   ========================================================== */
:root {
  /* Brand board palette */
  --canopy: #3e5c3f;       /* forest canopy — primary */
  --canopy-deep: #2f4830;
  --earth: #43302a;        /* earthy brown — headings/text */
  --earth-soft: #6b5a50;
  --gold: #c2a14d;         /* root gold — accent */
  --gold-soft: #e9dcbc;
  --stone: #a9a49b;        /* river stone — muted */
  --cream: #f7f3ec;        /* page ground */
  --card: #fffdf9;         /* card surface */

  /* Vein taxonomy — softened tints */
  --vein-red: #b06152;
  --vein-green: #6f8f68;
  --vein-white: #d8d2c4;
  --vein-yellow: #d3b264;
  --vein-gold: #b8933f;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Figtree', system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 66ch;
  --shadow: 0 6px 24px rgba(67, 48, 42, .08);
}

/* ==========================================================
   BASE
   ========================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--earth);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 560;
  font-variation-settings: 'SOFT' 100, 'opsz' 40;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--earth);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }

a { color: var(--canopy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

.wr-eyebrow {
  display: block;
  font-family: var(--body);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.price, .wr-batch { font-family: var(--body); font-size: .875rem; }

/* ==========================================================
   HEADER — light, airy
   ========================================================== */
.site-header {
  background: var(--card);
  border-bottom: 1px solid #eee7da;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; flex-wrap: wrap;
}
.site-logo {
  font-family: var(--display); font-weight: 620;
  font-size: 1.45rem; color: var(--earth); text-decoration: none;
  letter-spacing: -0.01em;
}
.site-logo em { font-style: normal; color: var(--canopy); }
.site-nav ul { list-style: none; display: flex; gap: 1.9rem; margin: 0; padding: 0; }
.site-nav a {
  font-size: .9375rem; font-weight: 500;
  color: var(--earth-soft); text-decoration: none;
}
.site-nav a:hover { color: var(--canopy); }
.header-cart a {
  color: var(--earth); font-size: .9375rem; font-weight: 600; text-decoration: none;
  background: var(--gold-soft); padding: .45rem 1rem; border-radius: 999px;
}

.compliance-strip {
  background: var(--canopy); color: #eef2ea;
  font-size: .75rem; font-weight: 500; letter-spacing: .06em;
  text-align: center; padding: .4rem var(--gutter);
}

/* Mobile header: logo + cart on top row, nav wraps to its own centered row */
@media (max-width: 820px) {
  .site-header .wrap { row-gap: .9rem; }
  .site-logo   { order: 1; }
  .header-cart { order: 2; }
  .site-nav    { order: 3; flex-basis: 100%; }
  .site-nav ul { flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; }
  .site-nav a  { display: inline-block; padding: .4rem 0; }
}

/* ==========================================================
   HERO — warm, light, breathing room
   ========================================================== */
.wr-hero {
  background: linear-gradient(180deg, var(--card) 0%, var(--cream) 100%);
  padding: clamp(3.5rem, 10vw, 7.5rem) 0 clamp(3rem, 8vw, 6rem);
  position: relative;
}
.wr-hero h1 { max-width: 17ch; }
.wr-hero h1 .accent { color: var(--canopy); font-style: italic; font-variation-settings: 'SOFT' 100, 'opsz' 60; }
.wr-hero p { max-width: 52ch; font-size: 1.15rem; color: var(--earth-soft); }
/* hero strata ribbon removed */

.wr-btn, .button, .single_add_to_cart_button {
  display: inline-block;
  font-family: var(--body); font-size: .9375rem; font-weight: 600;
  background: var(--canopy); color: #fff !important;
  border: none; border-radius: 999px;
  padding: .85rem 1.9rem; text-decoration: none; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.wr-btn:hover, .button:hover, .single_add_to_cart_button:hover { background: var(--canopy-deep); transform: translateY(-1px); }
.wr-btn--ghost { background: transparent; color: var(--canopy) !important; box-shadow: inset 0 0 0 1.5px var(--canopy); }
.wr-btn--ghost:hover { background: #eef2ea; }

/* ==========================================================
   VEIN TAXONOMY NAV — soft chips
   ========================================================== */
.vein-nav {
  display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center;
  padding: clamp(2rem, 5vw, 3.2rem) var(--gutter) 0;
  max-width: 1180px; margin: 0 auto;
}
.vein-nav a {
  display: block; padding: 1rem 1.6rem;
  font-family: var(--display); font-weight: 560; font-size: 1.05rem;
  text-decoration: none; color: var(--earth);
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: transform .15s ease;
}
.vein-nav a:hover { transform: translateY(-2px); }
.vein-nav a small { display: block; font-family: var(--body); font-weight: 400; font-size: .75rem; color: var(--stone); margin-top: .2rem; }
.vein-nav .vein-red    { border-top-color: var(--vein-red); }
.vein-nav .vein-green  { border-top-color: var(--vein-green); }
.vein-nav .vein-white  { border-top-color: var(--vein-white); }
.vein-nav .vein-yellow { border-top-color: var(--vein-yellow); }
.vein-nav .vein-gold   { border-top-color: var(--vein-gold); }

/* ==========================================================
   PRODUCT CARDS — rounded, soft vein tag
   ========================================================== */
.wr-section { padding: clamp(2.5rem, 7vw, 5rem) 0; }
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.6rem; }
ul.products li.product {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(67,48,42,.13); }

/* soft vein tag pill, top-left over the image */
li.product::before {
  content: '';
  position: absolute; top: 1.6rem; left: 1.6rem;
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--stone);
  box-shadow: 0 0 0 4px var(--card);
  z-index: 2;
}
li.product.vein-red::before    { background: var(--vein-red); }
li.product.vein-green::before  { background: var(--vein-green); }
li.product.vein-white::before  { background: var(--vein-white); }
li.product.vein-yellow::before { background: var(--vein-yellow); }
li.product.vein-gold::before   { background: var(--vein-gold); }

li.product .woocommerce-loop-product__title {
  font-family: var(--display); font-weight: 560;
  font-size: 1.15rem; margin: .9rem 0 .2rem;
}
li.product .price { color: var(--earth-soft); font-weight: 600; }
li.product .wr-batch { color: var(--canopy); display: block; margin-top: .35rem; font-size: .8125rem; }
li.product .button { margin-top: 1rem; width: 100%; text-align: center; }

/* ==========================================================
   SINGLE PRODUCT
   ========================================================== */
.single-product div.product .product_title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.single-product div.product .price { font-size: 1.25rem; }
.wr-coa-box {
  background: #eef2ea; border: none;
  border-radius: var(--radius); padding: 1.1rem 1.4rem; margin: 1.25rem 0;
  font-size: .9375rem;
}
.wr-coa-box strong { color: var(--canopy); }

/* ==========================================================
   FOOTER — soft dark
   ========================================================== */
.site-footer { background: var(--earth); color: #d9cfc6; margin-top: 4rem; border-radius: var(--radius) var(--radius) 0 0; }
.site-footer .wrap { padding-top: 3rem; padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #d9cfc6; }
.site-footer a:hover { color: var(--gold); }
.footer-disclaimer {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #5a463d;
  font-size: .75rem; line-height: 1.7; color: #a3968c;
}

/* ==========================================================
   AGE GATE — soft card
   ========================================================== */
.wr-agegate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(67, 48, 42, .55);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
}
.wr-agegate[hidden] { display: none; }
.wr-agegate__card {
  background: var(--card); color: var(--earth);
  max-width: 460px; width: 100%;
  border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.25);
  padding: 2.5rem 2.25rem; text-align: center;
}
.wr-agegate__card h2 { font-size: 1.55rem; }
.wr-agegate__card p { font-size: .9375rem; color: var(--earth-soft); }
.wr-agegate__actions { display: flex; gap: .75rem; justify-content: center; margin-top: 1.4rem; flex-wrap: wrap; }
.wr-agegate__deny { background: transparent; color: var(--earth) !important; box-shadow: inset 0 0 0 1.5px var(--stone); }
body.wr-gate-locked { overflow: hidden; }

/* ==========================================================
   CONTENT / BLOG
   ========================================================== */
.wr-prose { max-width: var(--measure); }
.wr-prose h2, .wr-prose h3 { margin-top: 2em; }
.entry-content { max-width: var(--measure); }

.woocommerce-message, .woocommerce-info {
  border-top-color: var(--canopy); background: var(--card); color: var(--earth);
  border-radius: var(--radius-sm);
}
.woocommerce-error { border-top-color: var(--vein-red); background: var(--card); border-radius: var(--radius-sm); }

/* ==========================================================
   CATEGORY ARCHIVE HERO
   ========================================================== */
.wr-cat-hero {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 2.2rem;
  border-top: 6px solid var(--stone);
}
.wr-cat-hero.vein-red    { border-top-color: var(--vein-red); }
.wr-cat-hero.vein-green  { border-top-color: var(--vein-green); }
.wr-cat-hero.vein-white  { border-top-color: var(--vein-white); }
.wr-cat-hero.vein-yellow { border-top-color: var(--vein-yellow); }
.wr-cat-hero.vein-gold   { border-top-color: var(--vein-gold); }
.wr-cat-hero h1 { margin-bottom: .3em; }
.wr-cat-hero p { max-width: 60ch; color: var(--earth-soft); margin: 0; }

/* ==========================================================
   SHOP BY FORM
   ========================================================== */
.wr-format-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem;
}
.wr-format-grid a {
  display: block; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.6rem 1.5rem; text-decoration: none;
  transition: transform .15s ease;
}
.wr-format-grid a:hover { transform: translateY(-3px); }
.wr-format-grid h3 { margin-bottom: .25em; color: var(--canopy); }
.wr-format-grid p { margin: 0; color: var(--earth-soft); font-size: .9375rem; }

/* ==========================================================
   VALUES
   ========================================================== */
.wr-values { background: var(--card); }
.wr-values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem;
}
.wr-values-grid h3 { font-size: 1.15rem; color: var(--earth); }
.wr-values-grid h3::before {
  content: ''; display: block; width: 34px; height: 4px; border-radius: 999px;
  background: var(--gold); margin-bottom: .7rem;
}
.wr-values-grid p { margin: 0; color: var(--earth-soft); font-size: .9375rem; }

/* ==========================================================
   WOO ARCHIVE POLISH
   ========================================================== */
.woocommerce-breadcrumb { font-size: .8125rem; color: var(--stone); margin-bottom: 1.2rem; }
.woocommerce-breadcrumb a { color: var(--stone); }
.woocommerce-result-count { color: var(--earth-soft); font-size: .875rem; }
.woocommerce-ordering select {
  font-family: var(--body); border: 1.5px solid #e5ddcd; border-radius: 999px;
  padding: .45rem 1rem; background: var(--card); color: var(--earth);
}
.woocommerce-pagination ul { list-style: none; display: flex; gap: .4rem; justify-content: center; padding: 0; margin: 2.5rem 0 0; }
.woocommerce-pagination li a, .woocommerce-pagination li span {
  display: inline-block; min-width: 2.4rem; text-align: center;
  padding: .5rem .6rem; border-radius: 999px; text-decoration: none;
  background: var(--card); color: var(--earth); box-shadow: var(--shadow);
}
.woocommerce-pagination li span.current { background: var(--canopy); color: #fff; }
.quantity .qty {
  font-family: var(--body); border: 1.5px solid #e5ddcd; border-radius: 999px;
  padding: .5rem .8rem; width: 4.5rem; text-align: center; background: var(--card);
}

/* ==========================================================
   NAV DROPDOWN
   ========================================================== */
.site-nav li { position: relative; }
.site-nav ul ul.sub-menu {
  position: absolute; top: calc(100% + .6rem); left: -1rem;
  min-width: 210px; background: var(--card); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(67,48,42,.16);
  padding: .7rem 0; margin: 0; display: none; flex-direction: column; gap: 0;
  z-index: 50;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { display: flex; }
.site-nav .sub-menu li { width: 100%; }
.site-nav .sub-menu a {
  display: block; padding: .45rem 1.2rem; font-size: .9rem; color: var(--earth);
}
.site-nav .sub-menu a:hover { background: #f3eee3; color: var(--canopy); }
.site-nav .sub-label {
  padding: .55rem 1.2rem .2rem; font-size: .6875rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.site-nav .has-sub > a::after { content: ' ▾'; font-size: .7em; color: var(--stone); }

/* ==========================================================
   IMAGE PLACEHOLDERS
   Swap each .wr-ph for an <img> when photography is ready.
   ========================================================== */
.wr-ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 15%, #f4edde 0%, transparent 55%),
    linear-gradient(155deg, #ece3cf 0%, #dfd3b6 60%, #d5c7a6 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.wr-ph::before {
  /* soft leaf silhouette */
  content: '';
  position: absolute; width: 46%; aspect-ratio: 1/1.6;
  background: var(--stone); opacity: .18;
  border-radius: 100% 0;
  transform: rotate(35deg);
}
.wr-ph span {
  position: relative; z-index: 1;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #9a8f7e;
  background: rgba(255,253,249,.75); border-radius: 999px; padding: .35rem .9rem;
}
.wr-ph--hero { aspect-ratio: 4/3.4; box-shadow: var(--shadow); }
.wr-ph--tall { aspect-ratio: 4/3; align-self: stretch; }
.wr-ph--card { aspect-ratio: 16/9; margin-bottom: 1rem; border-radius: var(--radius-sm); }
.wr-ph--card span { font-size: .6875rem; padding: .25rem .7rem; }
.wr-ph--icon {
  width: 56px; height: 56px; border-radius: 999px; margin-bottom: .8rem;
}
.wr-ph--icon::before { width: 40%; }

/* ==========================================================
   LAYOUT GRIDS FOR IMAGE SECTIONS
   ========================================================== */
.wr-hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.wr-split {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .wr-hero-grid, .wr-split { grid-template-columns: 1fr; }
  .wr-ph--hero { order: -1; }
}


/* ==========================================================
   PAGE TITLE BANNER
   Uses the featured image when set; otherwise the branded
   parchment placeholder with leaf silhouette.
   ========================================================== */
.wr-page-banner {
  position: relative; overflow: hidden;
  min-height: clamp(200px, 28vw, 320px);
  display: flex; align-items: flex-end;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background:
    radial-gradient(120% 90% at 20% 15%, #f4edde 0%, transparent 55%),
    linear-gradient(155deg, #ece3cf 0%, #dfd3b6 60%, #d0c19c 100%);
  background-size: cover; background-position: center;
}
.wr-page-banner::before {
  content: '';
  position: absolute; right: 8%; top: -12%;
  width: min(300px, 32vw); aspect-ratio: 1/1.6;
  background: var(--stone); opacity: .16;
  border-radius: 100% 0;
  transform: rotate(35deg);
  pointer-events: none;
}
.wr-page-banner .wrap { position: relative; z-index: 1; width: 100%; }
.wr-page-banner h1 { margin: 0; max-width: 20ch; }
.wr-page-banner .wr-eyebrow { margin-bottom: .5rem; }

/* Featured-image variant: photo background + legibility scrim */
.wr-page-banner.has-photo::before { display: none; }
.wr-page-banner.has-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,26,20,.05) 30%, rgba(36,26,20,.55) 100%);
}
.wr-page-banner.has-photo .wrap { z-index: 1; }
.wr-page-banner.has-photo h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.wr-page-banner.has-photo .wr-eyebrow { color: var(--gold-soft); }


/* ==========================================================
   HERO SLIDER
   ========================================================== */
.wr-slider { display: grid; }
.wr-slider .wr-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
}
.wr-slider .wr-slide.is-active { opacity: 1; visibility: visible; }
.wr-slide .wr-slide-title {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  line-height: 1.12; margin: 0 0 .5em;
}
.wr-slider-nav {
  grid-area: 1 / 1; align-self: end; justify-self: center;
  display: flex; gap: .55rem; padding-bottom: 1.4rem; z-index: 2;
}
.wr-slider-nav button {
  width: 10px; height: 10px; border-radius: 999px; border: none;
  background: var(--stone); opacity: .5; cursor: pointer; padding: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.wr-slider-nav button.is-active { background: var(--canopy); opacity: 1; transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) {
  .wr-slider .wr-slide { transition: none; }
}


/* ==========================================================
   FIVE WORLDS — full-bleed vein bands
   ========================================================== */
:root {
  --world-red: #5e241b;    --world-red-ink: #f3e2d8;
  --world-green: #2b4530;  --world-green-ink: #dce8d6;
  --world-white: #eae3d3;  --world-white-ink: #43302a;
  --world-yellow: #94701a; --world-yellow-ink: #f7ecce;
  --world-gold: #6e5410;   --world-gold-ink: #efdfae;
}
.wr-worlds { display: flex; flex-direction: column; }
.wr-world {
  position: relative; display: flex; align-items: center; gap: 1.5rem;
  min-height: clamp(110px, 17vh, 180px);
  padding-block: 1.2rem;
  padding-inline: max(var(--gutter), calc((100% - 1180px) / 2));
  text-decoration: none; overflow: hidden;
  transition: min-height .35s ease;
}
.wr-world:hover, .wr-world:focus-visible { min-height: clamp(160px, 25vh, 250px); }
.wr-world__name {
  margin: 0;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.6rem, 7.5vw, 5.5rem);
  line-height: .95; letter-spacing: -0.02em;
  transition: transform .35s ease;
}
.wr-world:hover .wr-world__name { transform: translateX(.35em); }
.wr-world__name em { font-style: italic; font-weight: 480; opacity: .85; }
.wr-world__meta {
  margin-left: auto; text-align: right;
  font-size: .9375rem; opacity: .8; max-width: 14rem;
}
.wr-world__arrow {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  opacity: 0; transform: translateX(-10px);
  transition: opacity .3s ease, transform .3s ease;
}
.wr-world:hover .wr-world__arrow, .wr-world:focus-visible .wr-world__arrow { opacity: 1; transform: none; }
.wr-world::after {
  content: '';
  position: absolute; right: -4%; top: -30%;
  width: clamp(160px, 22vw, 300px); aspect-ratio: 1/1.6;
  border-radius: 100% 0;
  transform: rotate(35deg);
  opacity: .12; background: currentColor;
  pointer-events: none;
}
.wr-world--red    { background: var(--world-red);    color: var(--world-red-ink); }
.wr-world--green  { background: var(--world-green);  color: var(--world-green-ink); }
.wr-world--white  { background: var(--world-white);  color: var(--world-white-ink); }
.wr-world--yellow { background: var(--world-yellow); color: var(--world-yellow-ink); }
.wr-world--gold   { background: var(--world-gold);   color: var(--world-gold-ink); }
@media (prefers-reduced-motion: reduce) {
  .wr-world, .wr-world__name, .wr-world__arrow { transition: none; }
}
@media (max-width: 640px) {
  .wr-world { flex-wrap: wrap; }
  .wr-world__meta { margin-left: 0; text-align: left; }
}

/* ==========================================================
   WORLD-IMMERSED CATEGORY PAGES
   ========================================================== */
body.wr-world-page--red    { background: var(--world-red);    color: var(--world-red-ink); }
body.wr-world-page--green  { background: var(--world-green);  color: var(--world-green-ink); }
body.wr-world-page--white  { background: var(--world-white);  color: var(--world-white-ink); }
body.wr-world-page--yellow { background: var(--world-yellow); color: var(--world-yellow-ink); }
body.wr-world-page--gold   { background: var(--world-gold);   color: var(--world-gold-ink); }

body.wr-world-page .wr-cat-hero {
  background: transparent; box-shadow: none; border-top: none;
  padding-left: 0; padding-right: 0;
}
body.wr-world-page .wr-cat-hero h1 {
  color: inherit;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: .95; letter-spacing: -0.02em;
}
body.wr-world-page .wr-cat-hero p { color: inherit; opacity: .82; }
body.wr-world-page .wr-cat-hero .wr-eyebrow { color: inherit; opacity: .65; }
body.wr-world-page .woocommerce-breadcrumb,
body.wr-world-page .woocommerce-breadcrumb a,
body.wr-world-page .woocommerce-result-count { color: inherit; opacity: .7; }
body.wr-world-page ul.products li.product { box-shadow: 0 10px 34px rgba(0,0,0,.22); }
body.wr-world-page .woocommerce-pagination li a,
body.wr-world-page .woocommerce-pagination li span {
  background: rgba(255,255,255,.12); color: inherit; box-shadow: none;
}
body.wr-world-page--white .woocommerce-pagination li a,
body.wr-world-page--white .woocommerce-pagination li span { background: rgba(0,0,0,.08); }


/* Category pages: our hero replaces the default Woo title */
body.tax-product_cat h1.page-title { display: none; }


/* Five Worlds refinements: readable names + vein descriptions */
.wr-world__name { color: inherit; }
.wr-world__text { max-width: 52ch; }
.wr-world__desc {
  margin: .45rem 0 0; font-size: .9375rem; line-height: 1.5;
  color: inherit; opacity: .78; max-width: 44ch;
}


/* ==========================================================
   OUR QUALITY — designed page components
   ========================================================== */
.entry-content:has(.wr-quality) { max-width: none; }
.page-id-16 .entry-content { max-width: none; }

.wr-quality section { padding: clamp(2.2rem, 6vw, 4.5rem) 0; border-bottom: 1px solid rgba(67,48,42,.08); }
.wr-quality section:last-child { border-bottom: none; }

.wr-q-lede {
  font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.4; max-width: 30ch; margin: 0 0 1rem;
}
.wr-q-lede em { color: var(--canopy); }
.wr-q-sub { max-width: 58ch; color: var(--earth-soft); }

.wr-q-steps { list-style: none; margin: 2.5rem 0 0; padding: 0; position: relative; }
.wr-q-steps::before {
  content: ''; position: absolute; left: clamp(28px, 4vw, 44px); top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--vein-red), var(--vein-green), var(--vein-white), var(--vein-yellow), var(--vein-gold));
  opacity: .5;
}
.wr-q-steps li {
  position: relative;
  display: grid; grid-template-columns: clamp(56px, 8vw, 88px) 1fr;
  gap: clamp(1rem, 3vw, 2.2rem);
  padding: 1.6rem 0; max-width: 780px;
}
.wr-q-num {
  font-family: var(--display); font-style: italic; font-weight: 480;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1;
  color: var(--gold); background: var(--cream);
  align-self: start; text-align: center; padding: .2rem 0;
  position: relative; z-index: 1;
}
.wr-q-steps h3 { margin: .2rem 0 .4rem; font-size: 1.35rem; }
.wr-q-steps p { margin: 0; color: var(--earth-soft); max-width: 56ch; }

.wr-q-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.wr-q-panel {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem; border-top: 5px solid var(--stone);
}
.wr-q-panel--identity { border-top-color: var(--vein-green); }
.wr-q-panel--metals   { border-top-color: var(--vein-red); }
.wr-q-panel--micro    { border-top-color: var(--vein-yellow); }
.wr-q-panel h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.wr-q-panel p { margin: 0; color: var(--earth-soft); font-size: .95rem; }

.wr-q-lot {
  display: inline-block; margin: 2rem 0 1.2rem;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 7vw, 4.5rem); letter-spacing: .04em;
  color: var(--earth);
  border: 2px dashed var(--gold); border-radius: var(--radius);
  padding: .5em .8em; background: var(--card);
}
.wr-q-lot .y { color: var(--canopy); }
.wr-q-lot .r { color: var(--vein-red); }
.wr-q-legend { display: flex; gap: 2.5rem; flex-wrap: wrap; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.wr-q-legend li { font-size: .9375rem; color: var(--earth-soft); max-width: 22ch; }
.wr-q-legend b { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: .15rem; }
.wr-q-legend .y b { color: var(--canopy); }
.wr-q-legend .r b { color: var(--vein-red); }

.wr-q-always { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; margin-top: 2rem; }
.wr-q-always h3 { font-size: 1.15rem; }
.wr-q-always h3::before {
  content: ''; display: block; width: 34px; height: 4px; border-radius: 999px;
  background: var(--gold); margin-bottom: .7rem;
}
.wr-q-always p { margin: 0; color: var(--earth-soft); font-size: .95rem; }

.wr-q-quote {
  font-family: var(--display); font-style: italic; font-weight: 480;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.3;
  color: var(--canopy); max-width: 26ch; margin: 0;
}
.wr-q-quote::before { content: '\201C'; color: var(--gold); }
.wr-q-quote::after { content: '\201D'; color: var(--gold); }

.wr-q-coa {
  background: #eef2ea; border-radius: var(--radius);
  padding: 1.6rem 1.8rem; max-width: 640px;
}
.wr-q-coa p { margin: 0; color: var(--earth-soft); }


/* ==========================================================
   OUR QUALITY — full-width split layouts
   ========================================================== */
.wr-q-split {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.wr-q-split .wr-ph { aspect-ratio: 4/3; margin-top: 0 !important; }
@media (max-width: 860px) { .wr-q-split { grid-template-columns: 1fr; } }

@media (min-width: 900px) {
  .wr-q-steps::before { left: 50%; }
  .wr-q-steps li {
    width: 50%; max-width: none;
    padding-right: clamp(2rem, 4vw, 3.5rem);
  }
  .wr-q-steps li:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: clamp(2rem, 4vw, 3.5rem);
  }
}

.wr-q-quote { margin: 0 auto; text-align: center; }
.wr-q-quote + .wr-q-sub { text-align: center; margin-left: auto; margin-right: auto; }
.wr-quality section:has(.wr-q-coa) { text-align: center; }
.wr-q-coa { margin: 0 auto; }


/* Footer: four columns + link lists */
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45rem; }


/* ==========================================================
   CONTACT FORM (Contact Form 7)
   ========================================================== */
.wr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
@media (max-width: 700px) { .wr-form-grid { grid-template-columns: 1fr; } }
.wpcf7 label { font-weight: 600; font-size: .9375rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"],
.wpcf7 select, .wpcf7 textarea {
  width: 100%; margin-top: .4rem;
  font-family: var(--body); font-size: 1rem; color: var(--earth);
  background: var(--card); border: 1.5px solid #e5ddcd; border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  transition: border-color .15s ease;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
  outline: none; border-color: var(--canopy);
}
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 input[type="submit"] {
  font-family: var(--body); font-size: .9375rem; font-weight: 600;
  background: var(--canopy); color: #fff; border: none; border-radius: 999px;
  padding: .85rem 2.2rem; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.wpcf7 input[type="submit"]:hover { background: var(--canopy-deep); transform: translateY(-1px); }
.wpcf7 form .wpcf7-response-output {
  border-radius: var(--radius-sm); border-color: var(--gold);
  padding: .8rem 1.2rem; margin: 1.2rem 0 0;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--vein-green); background: #eef2ea; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: var(--vein-red); }
.wpcf7-not-valid-tip { color: var(--vein-red); font-size: .8125rem; margin-top: .3rem; }
.wr-q-form { max-width: 820px; }


/* ==========================================================
   HOMEPAGE: commerce copy, FAQ, email band
   ========================================================== */
.wr-commerce-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 62rem;
}
@media (max-width: 800px) { .wr-commerce-cols { grid-template-columns: 1fr; } }
.wr-commerce-cols p { margin: 0; color: var(--earth-soft); }

.wr-faq { max-width: 780px; margin-top: 1.5rem; }
.wr-faq-item {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: .8rem;
  padding: 0; overflow: hidden;
}
.wr-faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 560; font-size: 1.1rem;
  padding: 1.1rem 1.4rem; position: relative;
}
.wr-faq-item summary::-webkit-details-marker { display: none; }
.wr-faq-item summary::after {
  content: '+'; position: absolute; right: 1.3rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--body); font-weight: 400; font-size: 1.4rem; color: var(--gold);
  transition: transform .2s ease;
}
.wr-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wr-faq-item p { margin: 0; padding: 0 1.4rem 1.2rem; color: var(--earth-soft); }

.wr-email-band {
  background: var(--canopy); color: #eef2ea;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
}
.wr-email-band h2 { color: #fff; margin-bottom: .3em; }
.wr-email-band p { color: #cfdcc9; max-width: 50ch; }
.wr-news-row { display: flex; gap: .8rem; flex-wrap: wrap; max-width: 520px; }
.wr-news-row .wpcf7-form-control-wrap { flex: 1 1 280px; }
.wr-email-band .wpcf7 input[type="email"] {
  width: 100%; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25);
  color: #fff;
}
.wr-email-band .wpcf7 input[type="email"]::placeholder { color: #b9c9b3; }
.wr-email-band .wpcf7 input[type="email"]:focus { border-color: var(--gold); }
.wr-email-band .wpcf7 input[type="submit"] { background: var(--gold); color: var(--earth); }
.wr-email-band .wpcf7 input[type="submit"]:hover { background: #d4b45e; }


/* ==========================================================
   HOMEPAGE SECTION VISUALS
   ========================================================== */
.wr-home-split {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.wr-home-split--top { align-items: start; }
@media (max-width: 900px) { .wr-home-split { grid-template-columns: 1fr; } }
.wr-home-split .wr-commerce-cols { grid-template-columns: 1fr; max-width: none; }

.wr-leaf-scene { position: relative; min-height: 340px; align-self: stretch; }
.wr-leaf-scene i {
  position: absolute; display: block;
  border-radius: 100% 0;
  animation: wr-drift 9s ease-in-out infinite;
}
.wr-leaf-scene .l1 {
  width: 42%; aspect-ratio: 1/1.6; left: 6%; top: 8%;
  background: var(--vein-green); opacity: .28;
}
.wr-leaf-scene .l2 {
  width: 30%; aspect-ratio: 1/1.6; right: 12%; top: 34%;
  background: var(--vein-red); opacity: .22;
  animation-delay: -3s; animation-duration: 11s;
}
.wr-leaf-scene .l3 {
  width: 22%; aspect-ratio: 1/1.6; left: 34%; bottom: 4%;
  background: var(--gold); opacity: .3;
  animation-delay: -6s; animation-duration: 13s;
}
@keyframes wr-drift {
  0%, 100% { transform: rotate(35deg) translateY(0); }
  50%      { transform: rotate(30deg) translateY(-16px); }
}

.wr-vein-ring {
  justify-self: center;
  width: min(260px, 70%); aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    var(--vein-red), var(--vein-yellow), var(--vein-white),
    var(--vein-green), var(--vein-gold), var(--vein-red)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
  mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
  animation: wr-spin 26s linear infinite;
  opacity: .85;
}
@keyframes wr-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .wr-leaf-scene i, .wr-vein-ring { animation: none; }
}
@media (max-width: 900px) {
  .wr-leaf-scene { min-height: 220px; }
  .wr-vein-ring { margin-top: 1rem; }
}


/* ==========================================================
   LEAF ILLUSTRATION — vein draw-in
   ========================================================== */
.wr-leaf-art { display: flex; justify-content: center; align-self: stretch; align-items: center; }
.wr-leaf-svg { width: min(340px, 80%); height: auto; }
.wr-leaf-svg path { fill: none; stroke-linecap: round; }

.wr-leaf-svg .wr-leaf-outline,
.wr-leaf-svg .wr-leaf-midrib,
.wr-leaf-svg .wr-leaf-vein {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: wr-draw 1.4s ease-out forwards;
}
.wr-leaf-svg .wr-leaf-outline { animation-duration: 2s; }
.wr-leaf-svg .wr-leaf-midrib { animation-delay: .7s; }
@keyframes wr-draw { to { stroke-dashoffset: 0; } }

.wr-leaf-svg--gold path { animation: none; stroke-dashoffset: 0; opacity: .9; }
.wr-leaf-art--band .wr-leaf-svg { width: min(260px, 65%); }

@media (prefers-reduced-motion: reduce) {
  .wr-leaf-svg path { animation: none; stroke-dashoffset: 0; }
}

/* Gold leaf: fully static (specificity fix) */
.wr-leaf-svg--gold .wr-leaf-outline,
.wr-leaf-svg--gold .wr-leaf-midrib,
.wr-leaf-svg--gold .wr-leaf-vein { animation: none; stroke-dashoffset: 0; }


/* ==========================================================
   LEAF: scroll-triggered slow sketch (overrides load-draw)
   ========================================================== */
.wr-leaf-svg .wr-leaf-outline,
.wr-leaf-svg .wr-leaf-midrib,
.wr-leaf-svg .wr-leaf-vein {
  animation: none;
  stroke-dashoffset: 1;
}
.wr-leaf-svg.is-drawing .wr-leaf-outline { animation: wr-draw 3.2s ease-out forwards; }
.wr-leaf-svg.is-drawing .wr-leaf-midrib { animation: wr-draw 2.4s ease-out forwards; animation-delay: 1.1s; }
.wr-leaf-svg.is-drawing .wr-leaf-vein   { animation: wr-draw 2.2s ease-out forwards; }

.wr-ph--band { aspect-ratio: 4/3; opacity: .92; }

@media (prefers-reduced-motion: reduce) {
  .wr-leaf-svg path, .wr-leaf-svg.is-drawing path { animation: none !important; stroke-dashoffset: 0; }
}

/* Branch illustration sizing */
.wr-leaf-svg { width: min(420px, 92%); }

/* Email band: breathing room between input and button */
.wr-news-row { gap: 1rem; }
.wr-email-band .wpcf7 input[type="submit"] { margin-top: .5rem; }

/* Overflow fix: placeholders never exceed their grid track */
.wr-ph { max-width: 100%; }
.wr-home-split .wr-ph--tall,
.wr-split .wr-ph--tall {
  align-self: center; width: 100%; height: auto;
}


/* ==========================================================
   REAL IMAGES (replacing placeholders)
   ========================================================== */
.wr-img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.wr-img--card { aspect-ratio: 16/9; object-fit: cover; }
.wr-img--tall { aspect-ratio: 4/3; object-fit: cover; }
.wr-img--hero { aspect-ratio: 5/4; object-fit: cover; }
.wr-img--icon {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; box-shadow: none;
  margin-bottom: .9rem;
}
.wr-home-split .wr-img--tall { align-self: center; }

/* Format cards: tighter rhythm between image and text */
.wr-format-grid .wr-img--card { margin-bottom: 1rem; }
.wr-format-grid h3 { margin: 0 0 .3rem; }
.wr-format-grid p { margin: 0; line-height: 1.5; }

/* Footer links: no underlines (hover only) */
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }


/* ==========================================================
   WOOCOMMERCE OVERRIDES — win specificity vs WC core styles
   ========================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none; width: 100%; margin: 0;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.1rem;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-3px); }
.woocommerce ul.products li.product a img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius-sm); margin: 0 0 .9rem;
  box-shadow: none;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--display); font-size: 1.1rem; line-height: 1.25;
  padding: 0; color: var(--earth);
}
.woocommerce ul.products li.product .price {
  color: var(--earth); font-weight: 600; font-size: 1rem; margin: .35rem 0 0;
}
.woocommerce ul.products li.product .wr-batch { margin-top: .25rem; }
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button {
  background: var(--canopy); color: #fff;
  border-radius: 999px; padding: .7rem 1.5rem;
  font-weight: 600; font-size: .9rem;
  margin-top: auto; text-align: center;
  transition: background .15s ease;
}
.woocommerce ul.products li.product .button { margin-top: .9rem; }
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce ul.products li.product .button:hover { background: var(--canopy-deep); color: #fff; }

/* ==========================================================
   SINGLE PRODUCT PAGE
   ========================================================== */
.woocommerce div.product {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) clamp(2rem, 5vw, 4rem);
}
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float: none; width: 100%; margin: 0; }
.woocommerce div.product div.images img { border-radius: var(--radius); box-shadow: var(--shadow); }
.woocommerce div.product .product_title {
  font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; margin-bottom: .3em;
}
.woocommerce div.product p.price {
  font-size: 1.5rem; color: var(--canopy); font-weight: 600; margin-bottom: 1rem;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--earth-soft); margin-bottom: 1.2rem;
}
.woocommerce div.product form.cart { display: flex; gap: .8rem; align-items: center; margin: 1.2rem 0; }
.woocommerce div.product form.cart .quantity .qty {
  border: 1.5px solid #e5ddcd; border-radius: var(--radius-sm);
  padding: .7rem .4rem; width: 4.2rem; text-align: center;
  font-family: var(--body); font-size: 1rem; background: var(--card);
}
.woocommerce div.product form.cart .button { margin-top: 0; padding: .85rem 2rem; }
.woocommerce div.product .product_meta {
  font-size: .875rem; color: var(--stone-dark, #8a847c);
  border-top: 1px solid rgba(67,48,42,.1); padding-top: 1rem; margin-top: 1.2rem;
}
.woocommerce div.product .product_meta a { color: var(--canopy); }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 1rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0; margin: 0 0 1.4rem; border-bottom: 1px solid rgba(67,48,42,.12);
  display: flex; gap: 1.6rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none; border: none; border-radius: 0; padding: 0; margin: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: .6rem 0; font-weight: 600; color: var(--earth-soft);
  border-bottom: 3px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--earth); border-bottom-color: var(--gold);
}
.woocommerce div.product .woocommerce-Tabs-panel { max-width: 68ch; }
.woocommerce div.product .woocommerce-Tabs-panel > h2:first-of-type { display: none; }
.woocommerce div.product .wr-product-glance {
  list-style: none; margin: 1.4rem 0 0; padding: 1.2rem 1.4rem;
  background: var(--card); border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.woocommerce div.product .wr-product-glance li { margin-bottom: .35rem; font-size: .9375rem; }
.woocommerce div.product .wr-product-glance b { color: var(--earth); }
@media (max-width: 820px) {
  .woocommerce div.product { grid-template-columns: 1fr; }
}

/* Specificity boosts: WC .alt buttons + tab chrome */
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
body .woocommerce div.product form.cart .button {
  background: var(--canopy); color: #fff;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
body .woocommerce div.product form.cart .button:hover { background: var(--canopy-deep); color: #fff; }
body .woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none; border: none; border-radius: 0; padding: 0; margin: 0; box-shadow: none;
}
body .woocommerce div.product .woocommerce-tabs ul.tabs { background: none; border-bottom: 1px solid rgba(67,48,42,.12); }
body .woocommerce div.product .woocommerce-tabs ul.tabs::before { border: none; }

body .woocommerce div.product .woocommerce-tabs ul.tabs li.active,
body .woocommerce div.product .woocommerce-tabs ul.tabs li:hover { background: none; }

/* Final word on WC tab chrome */
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Product page depth: trust strip, ship note, description sections */
.wr-trust-strip {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin: 1.2rem 0 .4rem; padding: 1rem 0 0;
  border-top: 1px solid rgba(67,48,42,.1);
}
.wr-trust-strip li {
  font-size: .85rem; font-weight: 600; color: var(--earth-soft);
  display: flex; align-items: center; gap: .45rem;
}
.wr-trust-strip li::before {
  content: ''; width: 8px; height: 8px; border-radius: 100% 0;
  background: var(--gold); transform: rotate(35deg); flex: none;
}
.wr-ship-note { font-size: .85rem; color: var(--earth-soft); margin: .4rem 0 0; }
.wr-ship-note a { color: var(--canopy); font-weight: 600; }

.woocommerce div.product .woocommerce-Tabs-panel h2 {
  font-size: 1.35rem; margin: 1.8rem 0 .5rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(67,48,42,.08);
}
.woocommerce div.product .woocommerce-Tabs-panel h2 + p { margin-top: 0; }
.woocommerce div.product .related.products { grid-column: 1 / -1; margin-top: 2rem; }
.woocommerce div.product .related.products > h2 {
  font-size: 1.6rem; border: none; padding: 0;
}


/* ==========================================================
   PRODUCT DESCRIPTION COMPONENTS
   ========================================================== */
.wr-pd-quote {
  font-family: var(--display); font-size: 1.35rem; font-weight: 560;
  color: var(--canopy); border-left: 4px solid var(--gold);
  padding: .25rem 0 .25rem 1.1rem; margin: 1.3rem 0;
}
.wr-pd-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 .4rem; padding: 0; list-style: none; }
.wr-pd-links a {
  display: inline-block; padding: .45rem 1.05rem;
  border: 1.5px solid rgba(67,48,42,.18); border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: var(--earth);
  background: var(--card); text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.wr-pd-links a:hover { border-color: var(--gold); color: var(--canopy); }
.wr-pd-journey { list-style: none; margin: 1rem 0 0; padding: 0; position: relative; }
.wr-pd-journey::before {
  content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--gold), rgba(194,161,77,.12));
}
.wr-pd-journey li { position: relative; padding: 0 0 1.15rem 2.1rem; }
.wr-pd-journey li::before {
  content: ''; position: absolute; left: 3px; top: 4px;
  width: 14px; height: 14px; border-radius: 100% 0;
  transform: rotate(35deg); background: var(--gold);
}
.wr-pd-journey b { display: block; font-family: var(--display); font-size: 1.02rem; }
.wr-pd-senses {
  display: flex; gap: 1.3rem; align-items: center;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.2rem 1.4rem; margin: 1rem 0;
}
.wr-pd-swatch {
  width: 64px; height: 64px; border-radius: 100% 0; transform: rotate(35deg);
  flex: none; box-shadow: inset 0 0 0 4px rgba(255,255,255,.3);
}
.wr-pd-senses dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; font-size: .95rem; }
.wr-pd-senses dt { font-weight: 700; color: var(--earth); }
.wr-pd-senses dd { margin: 0; color: var(--earth-soft); }
.wr-pd-tests {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .8rem; margin: 1rem 0; padding: 0; list-style: none;
}
.wr-pd-tests li {
  background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: .9rem 1rem; font-size: .9rem; font-weight: 600; color: var(--earth);
}
.wr-pd-tests li::before { content: '✓'; color: var(--gold); font-weight: 800; margin-right: .5rem; }
.wr-pd-care { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; list-style: none; padding: 0; margin: .8rem 0 0; font-size: .92rem; color: var(--earth-soft); }
.wr-pd-care li::before { content: '·'; color: var(--gold); margin-right: .55rem; font-weight: 800; }
@media (max-width: 560px) { .wr-pd-senses { flex-direction: column; align-items: flex-start; } }

/* Pagination: brand-styled */
.woocommerce nav.woocommerce-pagination { margin: 2.5rem 0 1rem; }
.woocommerce nav.woocommerce-pagination ul {
  border: none; display: flex; justify-content: center;
  gap: .55rem; margin: 0; white-space: normal;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: none; overflow: visible; float: none;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  width: 44px; height: 44px; min-width: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; padding: 0; line-height: 1;
  font-weight: 600; font-size: .95rem;
  background: var(--card); color: var(--earth);
  box-shadow: var(--shadow);
  transition: background .15s ease, color .15s ease;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--canopy); color: #fff;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus {
  background: var(--gold); color: var(--earth);
}

/* Cards: pin Add to cart to bottom for row consistency */
.woocommerce ul.products li.product .button { margin-top: auto; }
.woocommerce ul.products li.product .price { margin-bottom: .15rem; }
.woocommerce ul.products li.product .wr-batch { margin-bottom: 1rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__link { display: contents; }


/* ==========================================================
   RESOURCES HUB
   ========================================================== */
.wr-res-nav { margin: .5rem 0 1rem; }
.wr-res-section { margin: 2.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgba(67,48,42,.08); }
.wr-res-section h2 { margin-bottom: .2em; }
.wr-res-sub { color: var(--earth-soft); margin: 0 0 1rem; }
.wr-res-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.3rem; margin-top: 1.2rem;
}
.wr-res-card {
  display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.2rem 1.3rem;
  text-decoration: none; color: var(--earth);
  transition: transform .18s ease;
}
.wr-res-card:hover { transform: translateY(-3px); }
.wr-res-card .wr-res-thumb {
  width: calc(100% + 2.6rem); margin: -1.2rem -1.3rem .9rem;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 16/9; object-fit: cover; height: auto;
}
.wr-res-card h3 { font-size: 1.12rem; line-height: 1.3; margin: 0 0 .4rem; }
.wr-res-card p { color: var(--earth-soft); font-size: .93rem; margin: 0 0 .8rem; }
.wr-res-more { margin-top: auto; font-weight: 600; font-size: .88rem; color: var(--canopy); }
.wr-res-all { margin-top: 1rem; }
.wr-res-all a { font-weight: 600; color: var(--canopy); text-decoration: none; }
.wr-res-all a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wr-res-soon {
  border: 1.5px dashed rgba(67,48,42,.22); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; margin-top: 1.1rem; background: rgba(255,253,249,.55);
}
.wr-res-soon-label {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
  margin-bottom: .5rem;
}
.wr-res-soon ul { list-style: none; margin: 0; padding: 0; }
.wr-res-soon li { color: var(--earth-soft); padding: .22rem 0; }
.wr-res-soon li::before { content: '—'; color: var(--gold); margin-right: .6rem; }


/* ==========================================================
   BLOG POST (single)
   ========================================================== */
.wr-post-body { max-width: 68ch; }
.wr-post-body > p:first-child {
  font-size: 1.18rem; color: var(--earth-soft); line-height: 1.65;
}
.wr-post-body h2 {
  font-size: 1.5rem; margin: 2.2rem 0 .6rem;
  padding-top: 1.4rem; border-top: 1px solid rgba(67,48,42,.08);
}
.wr-post-body h3 { font-size: 1.15rem; margin: 1.5rem 0 .4rem; }
.wr-post-body ul:not(.wr-pd-links):not(.wr-pd-care) { padding-left: 1.1rem; }
.wr-post-body ul:not(.wr-pd-links):not(.wr-pd-care) li { margin-bottom: .5rem; }
.wr-post-body ul:not(.wr-pd-links):not(.wr-pd-care) li::marker { color: var(--gold); }
.wr-post-body a { color: var(--canopy); font-weight: 600; }
.wr-post-body .wr-faq-item { max-width: none; }
.wr-post-disclaimer {
  font-size: .82rem; color: var(--stone-dark, #8a847c);
  border-top: 1px solid rgba(67,48,42,.1); padding-top: 1.2rem; margin-top: 2.2rem;
}
.wr-post-cat { color: inherit; text-decoration: none; }
.wr-post-cat:hover { text-decoration: underline; text-underline-offset: 3px; }
.wr-post-foot { max-width: 68ch; margin-top: 2.4rem; }
.wr-post-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  background: var(--canopy); color: #eef2ea;
  border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-top: 1.4rem;
}
.wr-post-cta h2 { color: #fff; font-size: 1.35rem; margin: 0 0 .2rem; border: none; padding: 0; }
.wr-post-cta p { color: #cfdcc9; margin: 0; font-size: .95rem; }

/* Hub thumbs: allow full-bleed past the max-width clamp */
.wr-res-card .wr-res-thumb { max-width: calc(100% + 2.6rem); }
