/*
Theme Name: WildRoot
Theme URI: https://wildrootkratom.com
Author: WildRoot Kratom
Description: Custom WooCommerce theme for WildRoot Kratom. Vein-color product taxonomy, kraft-and-bark palette, lab-data typography, built-in 21+ age gate.
Version: 1.0.0
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 — WildRoot 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);
}

/* ==========================================================
   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); }
.wr-hero::after {
  content: '';
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -7px; height: 14px; width: min(560px, 82%);
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--vein-red) 0 20%, var(--vein-green) 20% 40%,
    var(--vein-white) 40% 60%, var(--vein-yellow) 60% 80%,
    var(--vein-gold) 80% 100%);
}

.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: 1.2rem var(--gutter);
  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;
}
