/*
Theme Name: Elysium Temple
Theme URI: https://elysium.faciti.com
Author: Faciti
Description: Custom WooCommerce theme for Elysium Temple - sacred Amazonian plant medicine. Navy and lime palette with Peruvian geometric motifs.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: elysium
*/

:root {
  --navy-950: #071523;
  --navy-900: #0A1F33;
  --navy-800: #103049;
  --navy-700: #1A4266;
  --navy-100: #D9E4EE;
  --lime: #A6D53C;
  --lime-bright: #C3E969;
  --lime-dark: #7FA82B;
  --maroon: #7E3327;
  --maroon-bright: #9C4433;
  --gold: #D9B44A;
  --cream: #F6F1E5;
  --cream-dark: #ECE4D2;
  --ink: #22303D;
  --ink-soft: #4A5A68;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Karla', 'Helvetica Neue', sans-serif;
  --font-hand: 'Caveat', cursive;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(7, 21, 35, 0.12);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--maroon-bright); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.45rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn, .button, button[type=submit], .single_add_to_cart_button, .wc-block-components-button {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 2px solid var(--lime);
  background: var(--lime);
  color: var(--navy-950) !important;
  cursor: pointer;
  transition: all .18s ease;
}
.btn:hover, .button:hover, button[type=submit]:hover, .single_add_to_cart_button:hover {
  background: var(--lime-bright);
  border-color: var(--lime-bright);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--cream) !important;
  border-color: var(--lime);
}
.btn-outline:hover { background: rgba(166, 213, 60, .12); }
.btn-maroon {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--cream) !important;
}
.btn-maroon:hover { background: var(--maroon-bright); border-color: var(--maroon-bright); }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy-950);
  border-bottom: 3px solid var(--lime);
  position: sticky;
  top: 0;
  z-index: 400;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 44px; height: 44px; }
.brand .brand-mark { height: 48px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: .04em;
  white-space: nowrap;
}
.brand-name span { color: var(--lime); }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; flex-wrap: nowrap; }
.main-nav a {
  color: var(--navy-100);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 10px 9px;
  white-space: nowrap;
  border-radius: var(--radius);
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--lime-bright); }
.header-cart { position: relative; display: flex; align-items: center; }
.header-cart svg { width: 24px; height: 24px; stroke: var(--cream); }
.header-cart .cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--lime); color: var(--navy-950);
  font-size: .7rem; font-weight: 700;
  min-width: 18px; height: 18px; line-height: 18px;
  text-align: center; border-radius: 50%;
  padding: 0 3px;
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--cream); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-900); padding: 12px 24px 20px; margin: 0;
    border-bottom: 3px solid var(--lime); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; flex-wrap: wrap; }
  .header-cart { margin-left: 8px; }
}

/* ---------- Shipibo divider ---------- */
.divider { line-height: 0; }
.divider svg { width: 100%; height: 34px; display: block; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(ellipse at 30% 20%, var(--navy-800) 0%, var(--navy-950) 65%);
  color: var(--cream);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: var(--cream); margin-bottom: .3em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .tag {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--gold);
  margin: 0 0 .8em;
}
.hero p.lead { max-width: 560px; font-size: 1.12rem; color: var(--navy-100); }
.hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art { position: absolute; right: -40px; bottom: -30px; width: 420px; opacity: .5; pointer-events: none; }
.hero-vine-top { position: absolute; top: 0; left: 0; width: 100%; opacity: .25; pointer-events: none; }

/* hero background video */
.hero-video { position: absolute; inset: 0; overflow: hidden; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-video::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(7,21,35,.93) 30%, rgba(7,21,35,.72) 60%, rgba(7,21,35,.45) 100%);
}
.hero .wrap, .hero .hero-vine-top { position: relative; z-index: 2; }

/* photography */
.photo-card { border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--lime); margin: 0 auto; }
.art-icons { display: flex; gap: 26px; justify-content: center; margin-top: 22px; }
.photo-wide { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--lime); margin-bottom: 40px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-navy { background: var(--navy-900); color: var(--navy-100); }
.section-navy h2 { color: var(--cream); }
.section-cream-dark { background: var(--cream-dark); }
.kicker {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--maroon-bright);
  display: block;
  margin-bottom: .2em;
}
.section-navy .kicker { color: var(--lime); }
.section-head { max-width: 640px; margin-bottom: 42px; }
.center { text-align: center; }
.center.section-head { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.cer-card {
  background: var(--navy-800);
  border: 1px solid rgba(166, 213, 60, .25);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cer-card svg { width: 54px; height: 54px; }
.cer-card h3 { color: var(--cream); margin: 0; }
.cer-card p { margin: 0; font-size: .95rem; color: var(--navy-100); flex: 1; }
.cer-card a { color: var(--lime); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- WooCommerce grid ---------- */
.woocommerce .woocommerce-result-count { float: none; display: inline-block; margin: 0 0 18px; color: var(--ink-soft); }
.woocommerce .woocommerce-ordering { float: right; margin: 0 0 18px; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; gap: 28px; margin: 0 !important; padding: 0; list-style: none; clear: both; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce div.product form.cart .button { background: var(--lime) !important; border-color: var(--lime) !important; color: var(--navy-950) !important; }
.woocommerce ul.products li.product {
  width: auto !important; float: none !important; margin: 0 !important;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-align: left;
  border-top: 4px solid var(--lime);
  transition: transform .18s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); }
.woocommerce ul.products li.product a img { margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--navy-900); padding: 16px 18px 4px;
}
.woocommerce ul.products li.product .price {
  color: var(--maroon) !important; font-weight: 700; padding: 0 18px; font-size: 1rem !important;
}
.woocommerce ul.products li.product .button {
  margin: 12px 18px 20px; font-size: .8rem; padding: 10px 18px;
}
.woocommerce ul.products li.product .loop-desc {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: 8px 18px 0;
  max-height: 3.6em;
  overflow: hidden;
  position: relative;
  transition: max-height .45s ease;
}
.woocommerce ul.products li.product .loop-desc::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1.2em;
  background: linear-gradient(rgba(255,255,255,0), #fff 85%);
  transition: opacity .3s ease;
}
.woocommerce ul.products li.product:hover .loop-desc { max-height: 14em; }
.woocommerce ul.products li.product:hover .loop-desc::after { opacity: 0; }

/* ---------- Section video backgrounds ---------- */
.has-bgvideo { position: relative; }
.section-video { position: absolute; inset: 0; overflow: hidden; }
.section-video video { width: 100%; height: 100%; object-fit: cover; }
.section-video::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(rgba(10,31,51,.88), rgba(7,21,35,.82));
}
.section-video.donate-video::after {
  background: linear-gradient(120deg, rgba(94,36,27,.88) 0%, rgba(60,22,15,.82) 100%);
}
.has-bgvideo > .wrap { position: relative; z-index: 2; }
.has-bgvideo .cer-card { background: rgba(16,48,73,.88); backdrop-filter: blur(2px); }

/* category video header */
.cat-hero { padding: 110px 0 100px; }
.cat-hero .cat-hero-sub {
  font-family: var(--font-hand); font-size: 1.5rem; color: var(--gold); margin: 8px 0 0;
}
.section-video.cat-video::after {
  background: linear-gradient(100deg, rgba(7,21,35,.9) 25%, rgba(7,21,35,.6) 65%, rgba(7,21,35,.35) 100%);
}

/* about page video header */
.about-hero { padding: 130px 0 120px; }
.about-hero .about-hero-sub {
  font-family: var(--font-hand); font-size: 1.6rem; color: var(--gold); margin: 10px 0 0;
}
.section-video.about-video::after {
  background: linear-gradient(100deg, rgba(7,21,35,.88) 25%, rgba(7,21,35,.55) 65%, rgba(7,21,35,.3) 100%);
}

/* ---------- Media page ---------- */
.media-page { background: var(--navy-950); padding-bottom: 90px; }
.media-page .kicker { color: var(--lime); }
.media-feature, .media-card { cursor: pointer; margin: 0; }
.media-feature {
  position: relative; border-radius: 10px; overflow: hidden;
  border-top: 4px solid var(--lime);
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
  margin-bottom: 56px;
}
.media-feature img { width: 100%; display: block; transition: transform .5s ease; }
.media-feature:hover img { transform: scale(1.02); }
.media-feature figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 90px 34px 26px;
  background: linear-gradient(rgba(7,21,35,0), rgba(7,21,35,.92));
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
}
.media-feature figcaption strong {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--cream);
}
.media-feature figcaption em, .media-card figcaption em {
  font-style: normal; color: var(--navy-100); font-size: .95rem;
}
.play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
  transition: transform .2s ease, background .2s ease;
}
.play-badge svg { width: 38px; height: 38px; margin-left: 4px; }
.media-feature:hover .play-badge, .media-card:hover .play-badge {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--lime-bright);
}
.dur {
  background: rgba(7,21,35,.8); color: var(--lime-bright);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 999px;
}
.media-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px; margin-top: 56px;
}
.media-card .media-thumb {
  position: relative; border-radius: 8px; overflow: hidden;
  border-top: 3px solid var(--lime);
  aspect-ratio: 16 / 9; background: var(--navy-800);
}
.media-card .media-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.media-card:hover .media-thumb img { transform: scale(1.06); }
.media-card .media-thumb .play-badge { width: 56px; height: 56px; }
.media-card .media-thumb .play-badge svg { width: 24px; height: 24px; margin-left: 3px; }
.media-card .media-thumb .dur { position: absolute; right: 10px; bottom: 10px; }
.media-card figcaption { padding: 14px 4px 0; }
.media-card figcaption strong {
  display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--cream);
}

.media-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(4, 10, 17, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.media-lightbox[hidden] { display: none; }
.media-player { width: min(1100px, 100%); }
.media-player video { width: 100%; border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,.6); background: #000; }
.media-playing { color: var(--navy-100); font-family: var(--font-display); font-size: 1.3rem; margin: 14px 4px 0; }
.media-close {
  position: absolute; top: 20px; right: 28px;
  background: none; border: none; color: var(--cream);
  font-size: 3rem; line-height: 1; cursor: pointer;
}
.media-close:hover { color: var(--lime); }

/* shop category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0 0 36px; }
@media (max-width: 720px) { .cat-tiles { grid-template-columns: 1fr; } }
.cat-tile {
  position: relative; display: block; min-height: 170px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy-800) center / cover no-repeat;
  border-top: 4px solid var(--lime);
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.cat-tile:hover { transform: translateY(-3px); }
.cat-tile-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px 20px;
  background: linear-gradient(rgba(7,21,35,0) 30%, rgba(7,21,35,.85) 100%);
}
.cat-tile-inner strong {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--cream);
}
.cat-tile-inner em { font-style: normal; font-size: .85rem; color: var(--lime-bright); letter-spacing: .04em; }
.woocommerce .woocommerce-breadcrumb { color: var(--ink-soft); margin-bottom: 24px; }
.woocommerce div.product p.price { color: var(--maroon); font-size: 1.5rem; font-weight: 700; }
.woocommerce div.product .product_title { font-family: var(--font-display); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--cream); }

.page-title-band {
  background: var(--navy-950);
  padding: 56px 0 50px;
  border-bottom: 3px solid var(--lime);
}
.page-title-band h1 { color: var(--cream); margin: 0; }
.page-title-band .kicker { color: var(--lime); }

/* ---------- Content pages ---------- */
.content-area { padding: 60px 0 90px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose blockquote {
  border-left: 4px solid var(--lime);
  margin: 1.4em 0; padding: .4em 0 .4em 1.2em;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--navy-800);
}

/* ---------- Two-column feature ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .feature-split { grid-template-columns: 1fr; } }
.feature-split .art { text-align: center; }
.feature-split .art svg { max-width: 340px; width: 100%; height: auto; }

/* ---------- Donation band ---------- */
.donate-band {
    background: linear-gradient(120deg, rgba(94,36,27,.92) 0%, rgba(60,22,15,.9) 100%), url('img/rainforest-sunset.jpg') center / cover no-repeat;
    color: var(--cream);
}
.donate-band h2 { color: var(--cream); }
.donate-band .kicker { color: var(--gold); }

/* ---------- Forms ---------- */
.ely-form { display: grid; gap: 18px; max-width: 640px; }
.ely-form label { font-weight: 700; font-size: .9rem; letter-spacing: .03em; display: block; margin-bottom: 6px; }
.ely-form input, .ely-form select, .ely-form textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #C9C0AC;
  border-radius: var(--radius); background: #fff; font-family: var(--font-body);
  font-size: 1rem; color: var(--ink);
}
.ely-form input:focus, .ely-form select:focus, .ely-form textarea:focus {
  outline: none; border-color: var(--navy-700);
}
.form-note { font-size: .85rem; color: var(--ink-soft); }
.ely-form-success { background: #EAF4D4; border: 1.5px solid var(--lime-dark); border-radius: var(--radius); padding: 18px 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--navy-100); margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding: 64px 0 44px; }
@media (max-width: 820px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--lime); font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--navy-100); }
.site-footer a:hover { color: var(--lime-bright); }
.footer-legal {
  border-top: 1px solid rgba(217, 228, 238, .15);
  padding: 20px 0 26px; font-size: .8rem; color: #7E93A6;
}
.footer-brand svg { width: 52px; height: 52px; margin-bottom: 12px; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  font-size: .8rem; color: #7E93A6; max-width: 900px; margin-top: 10px;
}

/* ---------- AI chat widget ---------- */
.ely-chat-toggle {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--lime); border: none; cursor: pointer;
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
}
.ely-chat-toggle svg { width: 30px; height: 30px; }
.ely-chat-panel {
  position: fixed; bottom: 100px; right: 26px; z-index: 900;
  width: 360px; max-width: calc(100vw - 40px); height: 480px;
  background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(7,21,35,.35);
  display: none; flex-direction: column; overflow: hidden;
  border: 1px solid var(--navy-100);
}
.ely-chat-panel.open { display: flex; }
.ely-chat-head { background: var(--navy-950); color: var(--cream); padding: 14px 18px; font-weight: 700; border-bottom: 3px solid var(--lime); }
.ely-chat-head small { display: block; font-weight: 400; color: var(--navy-100); font-size: .78rem; }
.ely-chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ely-msg { padding: 10px 14px; border-radius: 10px; font-size: .92rem; max-width: 85%; }
.ely-msg.user { background: var(--navy-100); align-self: flex-end; }
.ely-msg.bot { background: var(--cream-dark); align-self: flex-start; }
.ely-chat-input { display: flex; border-top: 1px solid var(--cream-dark); }
.ely-chat-input input { flex: 1; border: none; padding: 14px; font-size: .95rem; outline: none; }
.ely-chat-input button { border: none; background: var(--lime); padding: 0 18px; cursor: pointer; font-weight: 700; }

/* WooCommerce store notice */
.woocommerce-store-notice { background: var(--maroon); color: var(--cream); }

/* ---------- Polish ---------- */
::selection { background: var(--lime); color: var(--navy-950); }

.main-nav a { position: relative; }
.main-nav a::after {
    content: '';
    position: absolute; left: 9px; right: 9px; bottom: 4px;
    height: 2px; background: var(--lime);
    transform: scaleX(0); transform-origin: left;
    transition: transform .22s ease;
}
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); }

.hero .tag { letter-spacing: .02em; }
.hero h1 { text-shadow: 0 2px 24px rgba(7, 21, 35, .6); }
.hero p.lead { text-shadow: 0 1px 12px rgba(7, 21, 35, .7); }

/* trust strip */
.trust-strip { background: var(--navy-950); border-top: 1px solid rgba(166,213,60,.25); }
.trust-strip .wrap {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    padding-top: 22px; padding-bottom: 22px;
}
@media (max-width: 720px) { .trust-strip .wrap { grid-template-columns: 1fr; gap: 12px; } }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--navy-100); font-size: .88rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.trust-item svg { flex: 0 0 auto; }

/* product card hover */
.woocommerce ul.products li.product a img { transition: transform .35s ease; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.035); }
.woocommerce ul.products li.product { overflow: hidden; }

/* variation + qty form controls */
.woocommerce div.product form.cart .variations select {
    width: 100%; max-width: 320px; padding: 11px 14px;
    border: 1.5px solid #C9C0AC; border-radius: var(--radius);
    background: #fff; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2322303D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { padding-bottom: 12px; }
.woocommerce div.product form.cart .quantity .qty {
    padding: 11px 8px; border: 1.5px solid #C9C0AC; border-radius: var(--radius);
    font-family: var(--font-body); font-size: 1rem;
}
.woocommerce div.product form.cart .button.disabled,
.woocommerce div.product form.cart .button:disabled { opacity: .45; }
.reset_variations { font-size: .85rem; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--lime-dark); outline-offset: 2px;
}

/* scroll reveal (JS adds .in-view; motion off for reduced-motion users) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Journal (blog) ---------- */
.page-title-band .band-sub { color: var(--navy-100); max-width: 560px; margin: 10px 0 0; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.post-grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 24px; }
.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border-top: 4px solid var(--lime);
  display: flex; flex-direction: column;
  transition: transform .2s ease;
}
.post-card:hover { transform: translateY(-4px); }
.post-card-featured { grid-column: 1 / -1; flex-direction: row; }
.post-card-featured .post-thumb { flex: 0 0 56%; }
@media (max-width: 820px) { .post-card-featured { flex-direction: column; } .post-card-featured .post-thumb { flex: none; } }
.post-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-featured .post-body { justify-content: center; padding: 36px; }
.post-card-featured h2 { font-size: 2rem; }
.post-meta { display: flex; gap: 14px; align-items: center; font-size: .82rem; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.post-cat { color: var(--maroon-bright) !important; }
.post-band .post-meta { color: var(--navy-100); }
.post-band .post-cat { color: var(--lime) !important; }
.post-card h2 { font-size: 1.45rem; margin: 0; }
.post-card h2 a { color: var(--navy-900); }
.post-card h2 a:hover { color: var(--maroon-bright); }
.post-card p { margin: 0; color: var(--ink-soft); flex: 1; }
.post-more { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lime-dark); }
.post-pagination { margin-top: 44px; }
.post-pagination .nav-links { display: flex; gap: 10px; }
.post-pagination .page-numbers { padding: 8px 14px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); font-weight: 700; }
.post-pagination .page-numbers.current { background: var(--navy-900); color: var(--cream); }
.post-band h1 { max-width: 900px; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.post-hero { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--lime); margin-top: -40px; position: relative; }
.post-content { font-size: 1.08rem; }
.post-content h2 { font-size: 1.9rem; }
.post-content h3 { font-size: 1.4rem; margin-top: 1.4em; }
.post-content ul, .post-content ol { padding-left: 1.3em; }
.post-content li { margin-bottom: .4em; }
.post-disclaimer { font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--cream-dark); padding-top: 18px; margin-top: 40px; }
.related-posts { margin-top: 56px; }
