/* =====================================================================
   DIABUDDY EXPERIENCE — THEME CSS
   Author: The Free Website Guys — thefreewebsiteguys.com
   ===================================================================== */

/* =====================================================================
   CSS CUSTOM PROPERTIES (defaults — overridden by inline Customizer CSS)
   ===================================================================== */
:root {
  --color-primary: #1281A5;
  --color-primary-rgb: 18, 129, 165;
  --color-bg: #F8FAFB;
  --color-fg: #171D26;
  --color-fg-rgb: 23, 29, 38;
  --color-secondary: #E6ECEF;
  --color-secondary-fg: #252C37;
  --color-muted: #D7DDE0;
  --color-muted-fg: #6A737C;
  --color-accent: #D22D64;
  --color-accent-rgb: 210, 45, 100;
  --color-border: #D7DDE0;

  /* Typography */
  --font-display: 'futura-100', sans-serif;
  --font-body: 'futura-100-book', 'futura-100', sans-serif;

  /* Sizing */
  --header-height: 80px;
  --container-max: 1280px;
  --container-px: 1.5rem;
  --logo-height: 60px;
  --radius: 0.625rem;

  /* Shadows */
  --shadow-soft: 0 4px 20px -4px rgba(var(--color-fg-rgb), 0.06);
  --shadow-elevated: 0 8px 40px -8px rgba(var(--color-fg-rgb), 0.12);

  /* Button */
  --btn-height: 2.75rem;
  --btn-padding: 0.625rem 1.5rem;
  --btn-radius: var(--radius);
  --btn-font-size: 0.9375rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0;
  --btn-text-transform: none;
  --color-button-text: #F8FAFB;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}

p { margin: 0; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: inherit;
}

.text-xs  { font-size: 0.8125rem; line-height: 1.5; }
.text-sm  { font-size: 0.9375rem; line-height: 1.6; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-center { text-align: center; }
.opacity-80 { opacity: 0.8; }

/* =====================================================================
   CONTAINER
   ===================================================================== */
.container-wide {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}
@media (min-width: 1024px) {
  .container-wide { padding-left: 2rem; padding-right: 2rem; }
}

/* =====================================================================
   SCROLL MARGIN
   ===================================================================== */
.scroll-mt-24 { scroll-margin-top: calc(var(--header-height) + 1rem); }

/* =====================================================================
   UTILITY CLASSES
   ===================================================================== */
.bg-primary     { background-color: var(--color-primary); }
.bg-secondary   { background-color: var(--color-secondary); }
.bg-dark        { background-color: var(--color-fg); }
.text-primary   { color: var(--color-primary); }
.text-muted     { color: var(--color-muted-fg); }

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes brand-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.animate-fade-in  { animation: fadeIn  0.6s var(--ease-smooth) both; }
.animate-slide-up { animation: slideUp 0.6s var(--ease-smooth) both; }

.animate-fade-in  { animation-delay: 0.3s; }

.hero-eyebrow     { animation-delay: 0.2s; }
.hero-heading     { animation-delay: 0.4s; }
.hero-body        { animation-delay: 0.6s; }
.hero-ctas        { animation-delay: 0.8s; }

/* Scroll-triggered animation — JS adds .is-visible */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="slide-left"] {
  transform: translateX(-32px);
}
[data-animate="slide-left"].is-visible {
  transform: translateX(0);
}
[data-animate="slide-right"] {
  transform: translateX(32px);
}
[data-animate="slide-right"].is-visible {
  transform: translateX(0);
}

/* =====================================================================
   LINK UNDERLINE EFFECT
   ===================================================================== */
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-padding);
  min-height: var(--btn-height);
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-button-text, #F8FAFB);
}
.btn-primary:hover { opacity: 0.88; color: var(--color-button-text, #F8FAFB); }

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-secondary-fg, #252C37);
}
.btn-secondary:hover { opacity: 0.88; }

.btn-outline {
  background-color: transparent;
  color: var(--color-fg);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  background-color: var(--color-secondary);
  opacity: 1;
}

.btn-outline-white {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid #fff;
}
.btn-outline-white:hover { background-color: rgba(255,255,255,0.35); opacity: 1; color: #fff; }

.btn-white {
  background-color: #fff;
  color: var(--color-fg);
}
.btn-white:hover { opacity: 0.9; }

.btn:disabled, .btn[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  min-height: 3rem;
}

/* =====================================================================
   FORM INPUTS
   ===================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.9375rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--color-fg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-muted-fg); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}
.form-group textarea { resize: none; }
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .form-row.two-col { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   SECTION STYLES
   ===================================================================== */
.section-header { margin-bottom: 3rem; }

.section-eyebrow {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 0.5rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-body {
  font-size: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.section-body.muted { color: var(--color-muted-fg); }

/* =====================================================================
   SITE HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
.site-header.is-solid {
  background-color: rgba(var(--color-bg-rgb, 248, 250, 251), 0.95);
  background-color: color-mix(in srgb, var(--color-bg) 95%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--color-border);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 0;
}
@media (min-width: 1024px) {
  .site-nav { height: 80px; }
}

/* Mobile logo */
.site-logo-mobile {
  display: flex;
  align-items: center;
}
@media (min-width: 1024px) {
  .site-logo-mobile { display: none; }
}

/* Desktop logo */
.site-logo-center {
  display: none;
  flex-shrink: 0;
  margin: 0 2rem;
}
@media (min-width: 1024px) {
  .site-logo-center { display: flex; align-items: center; }
}

.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: color 0.3s;
}
.site-header:not(.is-solid) .site-logo-text { color: #fff; }

.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block;
}

/* Nav links */
.nav-left, .nav-right {
  display: none;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}
@media (min-width: 1024px) {
  .nav-left { display: flex; justify-content: flex-end; }
  .nav-right { display: flex; justify-content: flex-start; }
}

.nav-link {
  font-size: 0.9375rem;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  color: var(--color-fg);
  transition: color 0.3s;
}
.site-header:not(.is-solid) .nav-link {
  color: rgba(255, 255, 255, 0.9);
}
.site-header:not(.is-solid) .nav-link:hover { color: #fff; }

/* Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-btn {
  position: relative;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-fg);
  transition: opacity 0.2s;
}
.cart-btn:hover { opacity: 0.6; }
.site-header:not(.is-solid) .cart-btn { color: #fff; }

.theme-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-btn {
  padding: 0.5rem;
  color: var(--color-fg);
  transition: opacity 0.2s;
  display: flex;
}
.mobile-menu-btn:hover { opacity: 0.6; }
.site-header:not(.is-solid) .mobile-menu-btn { color: #fff; }
@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

/* Mobile menu */
.mobile-menu {
  border-top: 1px solid rgba(var(--color-border), 0.2);
  padding: 1rem 0;
  animation: fadeIn 0.2s ease;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  color: var(--color-fg);
  transition: color 0.2s;
}
.site-header:not(.is-solid) .mobile-link { color: rgba(255,255,255,0.9); }
.mobile-link:hover { color: var(--color-muted-fg); }

/* =====================================================================
   SITE MAIN
   ===================================================================== */
.site-main { min-height: 100vh; }
.theme-inner-main {
  padding-top: var(--header-height);
  padding-bottom: 0;
}

/* =====================================================================
   HERO SECTION
   ===================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-fg);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(var(--color-fg-rgb), 0.6);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  padding-bottom: 8rem;
}
.hero-inner {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  display: block;
}
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-body {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}

/* =====================================================================
   VALUE STRIP
   ===================================================================== */
.value-strip {
  background-color: var(--color-primary);
  color: #fff;
}
.value-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  text-align: center;
}
@media (min-width: 640px) {
  .value-strip-inner { flex-direction: row; gap: 3rem; }
}
.value-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.value-sep {
  display: none;
  opacity: 0.4;
}
@media (min-width: 640px) {
  .value-sep { display: block; }
}

/* =====================================================================
   SERVICES SECTION
   ===================================================================== */
.services-section {
  background-color: rgba(var(--color-primary-rgb), 0.05);
  padding: 5rem 0;
}
.services-section .section-header {
  margin-bottom: 1.5rem;
}

/* Search */
.services-search-wrapper {
  position: relative;
  max-width: 28rem;
  margin: 1.5rem auto 1.25rem;
}
.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-fg);
  pointer-events: none;
}
.services-search {
  width: 100%;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  padding-left: 2.25rem;
  padding-right: 2.25rem;
  font-size: 0.9375rem;
  color: var(--color-fg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.services-search::placeholder { color: var(--color-muted-fg); }
.services-search:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}
.search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-fg);
  line-height: 0;
  padding: 0.25rem;
}
.search-clear:hover { color: var(--color-fg); }

/* Category pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.cat-pill {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  border-radius: 9999px;
  background-color: var(--color-bg);
  color: rgba(var(--color-fg-rgb), 0.7);
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
  border: 1px solid var(--color-border);
}
.cat-pill:hover { background-color: rgba(var(--color-fg-rgb), 0.05); }
.cat-pill.active {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
}
@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Show more / no results */
.show-more-wrap { text-align: center; margin-top: 2rem; }
.no-results { text-align: center; padding: 5rem 0; }
.no-results p { color: var(--color-muted-fg); margin-bottom: 1rem; }

/* =====================================================================
   PRODUCT CARD
   ===================================================================== */
.theme-product-card-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.theme-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s var(--ease-smooth);
}
.theme-product-card:hover { transform: translateY(-4px); }

/* Hit-area overlay (must stay above decorative layers; not matched by pointer-events:none below) */
.theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}
.theme-product-card__image-wrapper,
.theme-product-card__image-wrapper *,
.theme-product-card__info,
.theme-product-card__info * {
  pointer-events: none;
}
.card-quick-add {
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}

/* Image */
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--color-secondary);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}
.theme-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease-out;
}
.theme-product-card:hover .theme-product-card__image {
  transform: scale(1.05);
}
.theme-product-card__image.is-sold-out { opacity: 0.6; }

/* Badges */
.badge {
  position: absolute;
  top: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.375rem;
}
.sold-out-badge {
  left: 0.75rem;
  background-color: var(--color-fg);
  color: var(--color-bg);
}
.new-badge {
  right: 0.75rem;
  background-color: var(--color-accent);
  color: #fff;
}

/* Quick add button */
.card-quick-add {
  position: absolute !important;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(var(--color-bg-rgb, 248, 250, 251), 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-fg);
  box-shadow: var(--shadow-soft);
  transition: background-color 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
}
.card-quick-add:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: scale(1.15);
  opacity: 1;
}
.card-quick-add.added {
  background-color: var(--color-primary);
  color: #fff;
}

/* Product card info */
.theme-product-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.card-category {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
}
.card-title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-fg);
  transition: opacity 0.2s;
}
.theme-product-card:hover .card-title { opacity: 0.7; }
.card-subtitle {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--color-muted-fg);
}
.card-price {
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
  margin-top: 0.25rem;
}
.card-price .woocommerce-Price-amount { color: var(--color-muted-fg); }

/* WooCommerce "View Cart" suppression */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* =====================================================================
   BODYSITE SECTION
   ===================================================================== */
.bodysite-section { padding: 5rem 0; }

.bodysite-cta-card {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), rgba(var(--color-primary-rgb), 0.8));
  color: #fff;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 768px) {
  .bodysite-cta-card { padding: 3.5rem; }
}
.cta-card-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}
.cta-card-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cta-card-body {
  opacity: 0.9;
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.features-section { max-width: 56rem; margin: 3.5rem auto 0; }
.features-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}
.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .features-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}
.feature-check {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* =====================================================================
   DSP CTA SECTION
   ===================================================================== */
.dsp-cta-section {
  padding: 4rem 0;
  text-align: center;
}
.dsp-cta-icon {
  color: var(--color-primary);
  margin: 0 auto 1rem;
}
.dsp-cta-section .section-heading {
  color: #fff;
  margin-bottom: 1rem;
}
.dsp-cta-section .section-body {
  color: rgba(255,255,255, 0.7);
  max-width: 36rem;
  margin: 0 auto 2rem;
}
.dsp-cta-section .btn {
  margin-top: 0;
}

/* =====================================================================
   RISK TEST SECTION
   ===================================================================== */
.risk-section { padding: 5rem 0; overflow: hidden; }
.risk-icon { margin: 0 auto 1rem; opacity: 0.8; }
.risk-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  color: #fff;
  margin: 0.5rem 0 1rem;
}
.risk-body {
  color: rgba(255,255,255,0.8);
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}
.risk-footnote {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
}

/* =====================================================================
   ABOUT SECTION
   ===================================================================== */
.about-section {
  padding: 5rem 0;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5rem;
  }
}
.about-image-col {
  min-height: 0;
}
.about-image-wrapper {
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: var(--color-secondary);
  min-height: 400px;
  height: 100%;
}
.about-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}
.about-content-col .section-eyebrow {
  margin-bottom: 0;
}
.about-content-col .section-heading {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.about-content-col .section-body {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.about-para {
  color: var(--color-muted-fg);
  line-height: 1.625;
  margin-bottom: 1rem;
}
.about-para:last-of-type {
  margin-bottom: 2rem;
}
.about-content-col .btn {
  margin-top: 0;
}

/* =====================================================================
   FAQ SECTION
   ===================================================================== */
.faq-section { padding: 5rem 0; }
.faq-list {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background-color: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  gap: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.faq-question:hover { background-color: rgba(var(--color-muted-fg-rgb, 106, 115, 124), 0.05); }
.faq-question span {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  flex: 1;
  transition: color 0.2s;
}
.faq-item.is-open .faq-question span { color: var(--color-primary); }
.faq-chevron-down, .faq-chevron-up { flex-shrink: 0; color: var(--color-muted-fg); }
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
  line-height: 1.7;
  animation: fadeIn 0.2s ease;
}

/* =====================================================================
   PARTNERS MARQUEE
   ===================================================================== */
.partners-section {
  padding: 5rem 0;
  overflow: hidden;
}
.partners-eyebrow-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 1rem;
}
.partners-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
.marquee-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 2rem;
}
.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  inset-y: 0;
  width: 6rem;
  pointer-events: none;
  z-index: 10;
}
.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}
.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}
.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: brand-marquee 45s linear infinite;
}
.marquee-outer:hover .marquee-track { animation-play-state: paused; }
.marquee-card {
  flex-shrink: 0;
  width: 14rem;
  height: 7rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  color: var(--color-fg);
}
.marquee-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}
.marquee-card-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  display: block;
  transition: color 0.2s;
}
.marquee-card:hover .marquee-card-name { color: var(--color-primary); }
.marquee-card-visit {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  margin-top: 0.5rem;
}

/* =====================================================================
   CONTACT SECTION
   ===================================================================== */
.contact-section { padding: 5rem 0; }
.contact-grid {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 2fr; }
}
.contact-info-col { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-reach-box, .contact-risk-box {
  background-color: var(--color-secondary);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-risk-box {
  background-color: rgba(var(--color-primary-rgb), 0.1);
}
.contact-box-heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.contact-reach-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-reach-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}
.contact-reach-list svg { color: var(--color-primary); flex-shrink: 0; }
.contact-reach-list a { transition: color 0.2s; }
.contact-reach-list a:hover { color: var(--color-primary); }
.contact-address-item { align-items: flex-start !important; }
.contact-risk-box p { font-size: 0.9375rem; color: var(--color-muted-fg); margin-bottom: 0.75rem; }
.contact-risk-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.contact-risk-link:hover { text-decoration: underline; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-submit { align-self: flex-start; }
@media (max-width: 767px) { .contact-submit { width: 100%; } }

/* Success state */
.contact-success[hidden] {
  display: none !important;
}
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
}
.contact-success-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
}
.contact-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.contact-success p { color: var(--color-muted-fg); margin-bottom: 1.5rem; }

/* =====================================================================
   CTA BAND (used on inner pages)
   ===================================================================== */
.cta-band {
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 0;
}
.cta-band .section-heading { color: #fff; margin-bottom: 1rem; }
.cta-band .section-body {
  color: rgba(255,255,255,0.8);
  max-width: 36rem;
  margin: 0 auto 2rem;
}
.cta-band .btn { margin-top: 0; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; padding: 4rem 0; }
  .footer-brand { grid-column: span 1; }
}
.footer-brand {}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}
.footer-desc {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
  max-width: 22rem;
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.footer-social-link {
  padding: 0.5rem;
  color: var(--color-fg);
  transition: opacity 0.2s;
  display: flex;
}
.footer-social-link:hover { opacity: 0.6; }
.footer-col-heading {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-link-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link-list a {
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
  transition: color 0.2s;
}
.footer-link-list a:hover { color: var(--color-fg); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
}
.footer-contact-list svg { flex-shrink: 0; }
.footer-contact-list a:hover { color: var(--color-fg); }
.footer-address { align-items: flex-start !important; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .footer-bottom { padding-bottom: 4rem; }
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-copy, .footer-currency, .footer-built { font-size: 0.75rem; color: var(--color-muted-fg); }
.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .footer-bottom-right { flex-direction: row; gap: 1rem; }
}
.footer-built a { transition: color 0.2s; text-decoration: underline; }
.footer-built a:hover { color: var(--color-fg); }

/* =====================================================================
   CART OVERLAY
   ===================================================================== */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(var(--color-fg-rgb), 0.2);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* =====================================================================
   CART DRAWER
   ===================================================================== */
#theme-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background-color: var(--color-bg);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 40px rgba(var(--color-fg-rgb), 0.12);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer {
  transform: translateX(0);
}
#theme-cart-drawer.is-updating {
  opacity: 0.6;
  pointer-events: none;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.cart-header-left { display: flex; align-items: center; gap: 0.75rem; }
.cart-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
}
.cart-empty-action {
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
}
.cart-empty-action:hover { color: #e55; }
.cart-close-btn {
  padding: 0.25rem;
  color: var(--color-fg);
  transition: opacity 0.2s;
}
.cart-close-btn:hover { opacity: 0.6; }

/* Empty cart */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}
.cart-empty svg { color: var(--color-muted-fg); margin-bottom: 1rem; }
.cart-empty p { color: var(--color-muted-fg); margin-bottom: 1.5rem; }

/* Cart items */
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cart-item { display: flex; gap: 1rem; }
.cart-item-image {
  width: 5rem;
  height: 6rem;
  background-color: var(--color-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.9375rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price { font-size: 0.9375rem; color: var(--color-muted-fg); margin-top: 0.125rem; }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.cart-qty-btn {
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
  color: var(--color-fg);
}
.cart-qty-btn:hover { background-color: var(--color-secondary); }
.cart-qty-display { font-size: 0.9375rem; width: 1.5rem; text-align: center; }
.cart-remove-btn {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  transition: color 0.2s;
}
.cart-remove-btn:hover { color: var(--color-fg); }

/* Cart footer */
.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
}
.cart-subtotal-row .label { color: var(--color-muted-fg); }
.cart-subtotal-row .value { font-weight: 500; }
.cart-digital-note { font-size: 0.75rem; color: var(--color-muted-fg); }
.cart-checkout-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: opacity 0.2s;
}
.cart-checkout-link:hover { opacity: 0.88; }

/* =====================================================================
   SINGLE PRODUCT PAGE
   ===================================================================== */
.single-product .theme-inner-main {
  padding-top: calc(var(--header-height) + 0.5rem);
}
.single-product .woocommerce-notices-wrapper { margin-bottom: 1rem; }
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }

.product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
  transition: color 0.2s;
  padding: 1.5rem 0;
}
.product-back-link:hover { color: var(--color-fg); }

.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 4rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Gallery */
.theme-product-gallery { min-width: 0; max-width: 100%; }
.product-main-img-wrap {
  aspect-ratio: 4 / 5;
  background-color: var(--color-secondary);
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
}
#product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.product-main-img-wrap:hover #product-main-img { transform: scale(1.02); }
.theme-product-thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.thumb-btn {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.thumb-btn.is-active { border-color: var(--color-primary); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product info */
.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
  .theme-product-info { padding-top: 2.5rem; }
}
.product-category {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  display: block;
}
.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}
.product-subtitle {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--color-muted-fg);
  font-style: italic;
  margin-bottom: 1rem;
}
.product-price {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.product-price .woocommerce-Price-amount { font-size: 1.25rem; }
.product-price-unit { font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: 1.5rem; }
.product-sold-out-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-muted);
  color: var(--color-muted-fg);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.product-description {
  color: var(--color-muted-fg);
  line-height: 1.8;
  margin-bottom: 2rem;
  white-space: pre-line;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Add to cart area */
.theme-add-to-cart-area {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* Quantity control */
.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.theme-qty-minus, .theme-qty-plus {
  padding: 0.75rem;
  color: var(--color-fg);
  transition: background-color 0.2s;
  border-radius: var(--radius);
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
  padding: 0.75rem;
  min-width: 2.5rem;
  text-align: center;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: var(--color-fg);
  /* Hide spinner */
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Add to cart button overrides (WooCommerce) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text, #F8FAFB) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  flex: 1 1 auto;
  min-width: 160px;
  text-decoration: none !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text, #F8FAFB) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}

/* Card compact button override */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  padding: 0 !important;
  border-radius: 50% !important;
  width: 2rem !important;
  height: 2rem !important;
  background-color: rgba(248, 250, 251, 0.9) !important;
  backdrop-filter: blur(4px) !important;
  color: var(--color-fg) !important;
  flex: none !important;
  min-width: unset !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
  background-color: var(--color-primary) !important;
  color: #fff !important;
}

/* Button lock state */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* Product enroll note */
.product-enroll-note {
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  text-align: center;
  margin-bottom: 1rem;
}

/* Product details */
.product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.product-details-heading {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.product-details-list { display: flex; flex-direction: column; gap: 0.5rem; }
.product-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
}
.details-bullet {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Responsive single product */
.single-product .theme-product-layout { min-width: 0; }
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.single-product .theme-product-thumbnails { flex-wrap: wrap; max-width: 100%; }
.single-product .theme-add-to-cart-area { flex-wrap: wrap; gap: 0.75rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.single-product .woocommerce-product-details__short-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* Related products */
.related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}
.related-products .products-grid {}

/* Lightbox */
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background-color: rgba(var(--color-fg-rgb), 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  padding: 0.5rem;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 0.7; }
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}

/* =====================================================================
   ARCHIVE PRODUCT (SHOP PAGE)
   ===================================================================== */
.archive-product-main { padding-top: calc(var(--header-height) + 2rem); }
.shop-header { margin-bottom: 3rem; }
.shop-grid { padding-bottom: 5rem; }

/* =====================================================================
   CHECKOUT STYLES (WooCommerce Checkout Block)
   ===================================================================== */
body.woocommerce-checkout .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

/* Block layout */
body.woocommerce-checkout .wc-block-checkout {
  display: block;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

/* Inputs */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-fg);
  background-color: var(--color-bg);
  font-size: 0.9375rem;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
  outline: none;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-fg); }

/* Place order button */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  padding: 0.875rem 2rem !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: opacity 0.2s !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.88 !important; }

/* Labels & headings */
body.woocommerce-checkout .wc-block-checkout label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-fg);
}
body.woocommerce-checkout .wc-block-checkout h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: var(--radius);
  font-family: var(--font-body);
  margin-bottom: 1rem;
}

/* =====================================================================
   THANK YOU PAGE
   ===================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-inner-main {
  padding-top: calc(var(--header-height) + 2rem);
}
body.theme-thankyou-page .woocommerce-order { max-width: 56rem; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0 0 1rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--color-secondary);
  border-radius: var(--radius);
  list-style: none;
}
body.theme-thankyou-page .woocommerce-order-overview li {
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
}
body.theme-thankyou-page .woocommerce-order-overview li strong { color: var(--color-fg); }
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px;
  overflow-wrap: break-word;
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
  line-height: 1.7;
}

/* =====================================================================
   INNER PAGES (DSP, Affiliates, Events)
   ===================================================================== */
.inner-hero-section {
  position: relative;
  padding: 5rem 0 7rem;
  overflow: hidden;
}
.inner-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.3), transparent);
}
.inner-hero-gradient--light {
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.2), transparent);
}
.inner-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.inner-hero-eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.inner-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.inner-hero-body {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 40rem;
  margin: 0 auto;
}
.inner-hero-body--muted { color: rgba(255,255,255,0.7); }
.inner-hero-italic { color: rgba(255,255,255,0.6); font-style: italic; font-size: 1rem; }

/* =====================================================================
   DSP PAGE
   ===================================================================== */
.dsp-subheading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.dsp-program-section { padding: 5rem 0; }
.dsp-program-content { max-width: 48rem; margin: 0 auto; }
.dsp-program-body {
  font-size: 1.125rem;
  color: var(--color-muted-fg);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.dsp-bullets-heading {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.dsp-bullets-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.dsp-bullet-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.dsp-bullet-icon { color: var(--color-primary); flex-shrink: 0; margin-top: 0.125rem; }
.dsp-bullet-item p { color: var(--color-muted-fg); }

.dsp-pricing-section { padding: 4rem 0; }
.dsp-pricing-inner {
  max-width: 48rem;
  margin: 0 auto;
}
.dsp-pricing-inner .dsp-award-icon {
  color: var(--color-primary);
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
}
.dsp-pricing-inner .section-heading {
  margin-bottom: 1.5rem;
}
.dsp-pricing-inner .section-body.muted {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}
.dsp-pricing-inner .bodysite-cta-card {
  margin-top: 0;
  border-radius: 1.5rem;
  padding: 2.5rem;
}
@media (min-width: 768px) {
  .dsp-pricing-inner .bodysite-cta-card { padding: 3rem; }
}
.dsp-pricing-inner .cta-card-eyebrow { margin-bottom: 0.75rem; }
.dsp-pricing-inner .cta-card-heading { margin-bottom: 1rem; }
.dsp-pricing-inner .cta-card-body { margin-bottom: 2rem; }

.dsp-quote-section { padding: 5rem 0; }
.dsp-quote-grid {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .dsp-quote-grid {
    grid-template-columns: 2fr 3fr;
    gap: 2.5rem;
  }
}
.dsp-ken-col {
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) {
  .dsp-ken-col { justify-content: flex-start; }
}
.dsp-ken-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 20rem;
}
.dsp-ken-image-wrap {
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--color-secondary);
}
.dsp-ken-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.dsp-ken-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background-color: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}
.dsp-blockquote {
  position: relative;
  padding-left: 1.5rem;
}
.blockquote-mark {
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  font-size: 4rem;
  color: rgba(var(--color-primary-rgb), 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}
.blockquote-text {
  color: var(--color-muted-fg);
  font-style: italic;
  line-height: 1.8;
  font-size: 1rem;
}
.blockquote-footer {
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* =====================================================================
   AFFILIATES PAGE
   ===================================================================== */
.affiliates-section { padding: 5rem 0; }
.affiliates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .affiliates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .affiliates-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.affiliate-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s;
}
.affiliate-card:hover { transform: translateY(-4px); }
.affiliate-card-inner {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s;
}
.affiliate-card:hover .affiliate-card-inner { box-shadow: var(--shadow-elevated); }
.affiliate-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
}
.affiliate-icon-1 { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.affiliate-icon-2 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.affiliate-icon-3 { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.affiliate-icon-4 { background: linear-gradient(135deg, #f97316, #f59e0b); }
.affiliate-icon-5 { background: linear-gradient(135deg, #f43f5e, #ec4899); }
.affiliate-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.affiliate-card:hover .affiliate-name { color: var(--color-primary); }
.affiliate-desc {
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.affiliate-visit {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
}
.affiliate-placeholder {
  border: 2px dashed var(--color-border);
  background-color: rgba(var(--color-muted-fg-rgb, 106, 115, 124), 0.04);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 16rem;
}
.placeholder-icon {
  display: flex;
  color: rgba(var(--color-muted-fg-rgb, 106, 115, 124), 0.4);
  margin-bottom: 1rem;
}
.placeholder-icon svg { display: block; }
.placeholder-name { font-size: 0.9375rem; font-weight: 500; color: var(--color-muted-fg); margin-bottom: 0.25rem; }
.placeholder-body { font-size: 0.75rem; color: rgba(var(--color-muted-fg-rgb, 106, 115, 124), 0.6); }

/* =====================================================================
   EVENTS PAGE
   ===================================================================== */
.events-hero-icon { color: var(--color-primary); margin: 0 auto 1rem; }
.events-calendar-section { padding: 4rem 0; }
.calendar-wrapper {
  max-width: 80rem;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  background-color: var(--color-bg);
}
.calendar-wrapper iframe { display: block; }
.calendar-note {
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  text-align: center;
  margin-top: 1rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================================
   PAGE (GENERIC)
   ===================================================================== */
.theme-inner-main .page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 2rem;
  padding-top: 2rem;
}
.entry-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-fg);
  padding-bottom: 4rem;
}
.entry-content p { margin-bottom: 1.25rem; }
.entry-content h1, .entry-content h2, .entry-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.entry-content a { color: var(--color-primary); text-decoration: underline; }

/* =====================================================================
   404 PAGE
   ===================================================================== */
.not-found-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}
.not-found-heading {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.not-found-sub {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.not-found-body { color: var(--color-muted-fg); margin-bottom: 2rem; }

/* =====================================================================
   WOOCOMMERCE NOTICE VISIBILITY
   ===================================================================== */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: var(--radius);
  font-family: var(--font-body);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* Keep errors visible on checkout, account, cart */
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-account .woocommerce-error,
body.woocommerce-cart .woocommerce-error { display: block !important; }

/* =====================================================================
   VARIABLE PRODUCT ATTRIBUTE SELECTORS
   ===================================================================== */
.theme-attr-select-hidden { display: none !important; }
.theme-attr-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.theme-attr-btn {
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  background: transparent;
  color: var(--color-fg);
}
.theme-attr-btn:hover { border-color: var(--color-primary); }
.theme-attr-btn.selected {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #fff;
}
.variations.shop_attributes { width: 100%; }
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 500; font-size: 0.9375rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.single_variation_wrap { margin-top: 1rem; }

/* =====================================================================
   RESPONSIVE UTILITIES
   ===================================================================== */
@media (max-width: 1023px) {
  .desktop-only { display: none !important; }
}
@media (min-width: 1024px) {
  .mobile-only { display: none !important; }
}

/* =====================================================================
   WOOCOMMERCE BREADCRUMBS (hidden per §14.2 — not in design)
   ===================================================================== */
.woocommerce-breadcrumb { display: none; }
