/*
Theme Name:  Vape Base
Theme URI:   https://github.com/vapebase
Description: Parent theme for all Vape AU network sites. Provides WooCommerce, Elementor, and RankMath integration with a token-driven design system. Child themes override CSS custom properties only.
Author:      Vape AU
Version:     1.0.0
License:     GPL-2.0-or-later
Text Domain: vape-base
Tags: woocommerce, elementor, custom-colors, custom-menu, featured-images, full-width-template, theme-options
*/

/* ============================================================
   DESIGN TOKENS — overridden by child theme tokens.css
   ============================================================ */
:root {
  /* Brand palette */
  --color-bg:           #f6f4ee;
  --color-surface:      #ffffff;
  --color-border:       #e4e0d5;
  --color-ink:          #181715;
  --color-muted:        #64748b;
  --color-dark:         #0e0e0c;
  --color-dark-2:       #0a0a08;
  --color-accent:       #0ea5e9;
  --color-accent-light: #38bdf8;
  --color-accent-hover: #0284c7;
  --color-success:      #059669;
  --color-success-bg:   #d1fae5;
  --color-danger:       #e03c58;

  /* Typography */
  --font-heading:       'Georgia', serif;
  --font-body:          system-ui, sans-serif;
  --font-size-base:     16px;
  --font-size-sm:       14px;
  --font-size-xs:       12px;

  /* Spacing */
  --section-y:          7rem;
  --container-x:        2rem;
  --container-max:      80rem;

  /* Radius */
  --radius-sm:          0.5rem;
  --radius-md:          0.75rem;
  --radius-lg:          1rem;
  --radius-xl:          1.5rem;
  --radius-2xl:         2rem;

  /* Shadows */
  --shadow-card:        0 4px 20px -4px rgba(24,23,21,0.08);
  --shadow-card-hover:  0 12px 32px -6px rgba(24,23,21,0.14);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: var(--font-size-base); scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-ink);
}

a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-hover); }

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.vb-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-x);
}

.vb-section {
  padding-block: var(--section-y);
}

.vb-section--dark {
  background: var(--color-dark);
  color: #e8ecf4;
}

.vb-section--surface {
  background: var(--color-surface);
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.vb-display {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.vb-h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
.vb-h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; }
.vb-h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }

.vb-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.75rem;
}

.vb-body-sm { font-size: var(--font-size-sm); line-height: 1.7; }
.vb-body-xs { font-size: var(--font-size-xs); line-height: 1.6; }

/* ============================================================
   BUTTONS
   ============================================================ */
.vb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

.vb-btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.2);
}
.vb-btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(0,0,0,0.25);
}

.vb-btn--ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.vb-btn--ghost:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

.vb-btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.vb-btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ============================================================
   CARDS
   ============================================================ */
.vb-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.vb-card:hover {
  border-color: var(--color-ink);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */
#vb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 32px -4px rgba(0,0,0,0.5);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#vb-header.is-top {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.vb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.vb-header__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.vb-header__logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.vb-header__wordmark {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.vb-header__wordmark span {
  color: var(--color-accent-light, var(--color-accent));
}

.vb-nav {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

@media (min-width: 1024px) {
  .vb-nav { display: flex; }
}

.vb-nav__link {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.15s;
}

.vb-nav__link:hover,
.vb-nav__link.current-menu-item {
  color: var(--color-accent-light, var(--color-accent));
  background: rgba(255,255,255,0.05);
}

.vb-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Announcement bar */
#vb-announcement {
  background: var(--color-dark-2, var(--color-dark));
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #94a3b8;
}

.vb-announcement__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-x);
}

/* ============================================================
   HERO
   ============================================================ */
.vb-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  color: #fff;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.vb-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.vb-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,8,20,0.7) 0%,
    rgba(5,8,20,0.35) 50%,
    rgba(5,8,20,0.65) 100%
  );
  pointer-events: none;
}

.vb-hero__content {
  position: relative;
  z-index: 10;
  padding-block: 5rem;
  max-width: 40rem;
}

.vb-hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
}

.vb-hero__headline span {
  color: var(--color-accent-light, var(--color-accent));
}

.vb-hero__sub {
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 38rem;
  margin-bottom: 2rem;
}

.vb-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.vb-hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.vb-hero__trust-item span:first-child {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  display: block;
}

.vb-hero__trust-item span:last-child {
  font-size: 0.6875rem;
  color: #94a3b8;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.vb-marquee {
  background: #fff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
  position: relative;
  padding-block: 1.25rem;
}

.vb-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1rem;
  animation: vb-marquee 36s linear infinite;
}

.vb-marquee__track:hover {
  animation-play-state: paused;
}

@keyframes vb-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.vb-marquee__fade-left {
  position: absolute; inset-y: 0; left: 0; width: 5rem;
  background: linear-gradient(to right, #fff, transparent);
  pointer-events: none; z-index: 1;
}
.vb-marquee__fade-right {
  position: absolute; inset-y: 0; right: 0; width: 5rem;
  background: linear-gradient(to left, #fff, transparent);
  pointer-events: none; z-index: 1;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.vb-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .vb-trust-strip { grid-template-columns: repeat(4, 1fr); }
}

.vb-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1.25rem;
}

.vb-trust-item__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb, 14 165 233), 0.1);
  border: 1px solid rgba(var(--accent-rgb, 14 165 233), 0.2);
}

.vb-trust-item__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-ink);
}

.vb-trust-item__sub {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* ============================================================
   PRODUCT CARDS (WooCommerce override base)
   ============================================================ */
.vb-product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vb-product-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.vb-product-card__image {
  width: 100%;
  aspect-ratio: 1;
  background: #f1f5f9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vb-product-card__image img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.vb-product-card:hover .vb-product-card__image img {
  transform: scale(1.05);
}

.vb-product-card__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  background: var(--color-accent);
  color: #fff;
}

.vb-product-card__brand {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.vb-product-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.3;
  margin: 0;
  transition: color 0.15s;
}

.vb-product-card:hover .vb-product-card__title {
  color: var(--color-accent);
}

.vb-product-card__stars {
  color: var(--color-accent);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.vb-product-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.vb-product-card__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-ink);
}

.vb-product-card__price-old {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-decoration: line-through;
  margin-right: 0.25rem;
}

.vb-product-card__btn {
  width: 100%;
  margin-top: auto;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.vb-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .vb-product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .vb-product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.vb-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 0;
}

.vb-filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.vb-filter-btn:hover,
.vb-filter-btn.is-active {
  background: var(--color-dark);
  border-color: transparent;
  color: #fff;
}

/* ============================================================
   CART DRAWER
   ============================================================ */
#vb-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

#vb-cart-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

#vb-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 100vw);
  z-index: 200;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

#vb-cart-drawer.is-open {
  transform: translateX(0);
}

.vb-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.vb-cart__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-ink);
}

.vb-cart__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.vb-cart__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vb-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-ink);
}

.vb-cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #f8fafc;
  margin-bottom: 0.5rem;
}

.vb-cart-item__info { flex: 1; min-width: 0; }

.vb-cart-item__name {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vb-cart-item__meta {
  font-size: 0.6875rem;
  color: var(--color-muted);
}

.vb-cart-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #cbd5e1;
  padding: 0.25rem;
  transition: color 0.15s;
  flex-shrink: 0;
}

.vb-cart-item__remove:hover { color: var(--color-danger); }

/* ============================================================
   AGE GATE
   ============================================================ */
#vb-age-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
}

.vb-age-gate__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  max-width: 28rem;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 64px -12px rgba(0,0,0,0.3);
}

/* ============================================================
   ANNOUNCEMENT BAR (sticky)
   ============================================================ */
.vb-dispatch-countdown {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: #fff;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.vb-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}

.vb-faq-item + .vb-faq-item { margin-top: 0.5rem; }

.vb-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-ink);
  list-style: none;
  transition: background 0.15s;
}

.vb-faq-item summary:hover { background: #f8fafc; }

.vb-faq-item summary::-webkit-details-marker { display: none; }

.vb-faq-item__icon {
  transition: transform 0.25s;
  flex-shrink: 0;
  color: var(--color-muted);
}

.vb-faq-item[open] .vb-faq-item__icon {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.vb-faq-item__body {
  padding: 0 1.25rem 1rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ============================================================
   FORMS
   ============================================================ */
.vb-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.vb-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.vb-input {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--color-ink);
  outline: none;
  transition: border-color 0.2s;
}

.vb-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.vb-input::placeholder { color: #94a3b8; }

/* ============================================================
   FOOTER
   ============================================================ */
#vb-footer {
  background: var(--color-dark);
  color: #64748b;
  padding-block: 2.5rem;
}

.vb-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .vb-footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.vb-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.vb-footer__nav a {
  color: #64748b;
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.15s;
}

.vb-footer__nav a:hover { color: #fff; }

/* ============================================================
   WOOCOMMERCE BASE OVERRIDES
   ============================================================ */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: #f8fafc;
  padding: 1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--color-ink) !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  font-family: var(--font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--color-ink) !important;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce .button,
.woocommerce-page .button {
  background: var(--color-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  padding: 0.875rem 1.5rem !important;
  transition: all 0.2s !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  width: 100% !important;
  margin-top: auto !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce .button:hover {
  background: var(--color-accent-hover) !important;
  transform: translateY(-1px) !important;
}

/* Single product */
.woocommerce div.product .woocommerce-product-gallery {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.woocommerce div.product p.price {
  font-family: var(--font-heading) !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--color-ink) !important;
}

.woocommerce div.product .product_title {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  letter-spacing: -0.025em !important;
}

/* Cart / Checkout */
.woocommerce-cart table.cart,
.woocommerce-checkout form.checkout {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.woocommerce table.shop_table {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-xl) !important;
  overflow: hidden !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.75rem 1rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  transition: border-color 0.2s !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--color-accent) !important;
  outline: none !important;
}

/* ============================================================
   BREADCRUMBS (RankMath)
   ============================================================ */
.rank-math-breadcrumb {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.rank-math-breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.rank-math-breadcrumb a:hover { color: var(--color-accent); }

.rank-math-breadcrumb .separator { margin-inline: 0.375rem; opacity: 0.5; }

/* ============================================================
   ELEMENTOR WIDGET OVERRIDES
   ============================================================ */
.elementor-widget-text-editor p { line-height: 1.7; }

.elementor-section.vb-section-dark {
  background: var(--color-dark) !important;
}

/* ============================================================
   MOBILE MENU DRAWER
   ============================================================ */
#vb-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}

#vb-mobile-menu.is-open { pointer-events: all; }

.vb-mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
}

#vb-mobile-menu.is-open .vb-mobile-menu__overlay { opacity: 1; }

.vb-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 100vw);
  background: var(--color-surface);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#vb-mobile-menu.is-open .vb-mobile-menu__panel {
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 767px) {
  :root { --section-y: 4rem; --container-x: 1rem; }
  .vb-hero__trust { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .vb-hero__ctas { flex-direction: column; }
}

@media (min-width: 768px) {
  .vb-header__inner { height: 80px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  #vb-header, #vb-footer, .vb-marquee, #vb-cart-drawer, #vb-age-gate { display: none; }
}
