/*
Theme Name: Vela Store
Theme URI: https://velastore.com
Author: Vela
Description: A clean, editorial ecommerce theme built for WooCommerce. Minimal, mobile-first, non-generic.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vela-store
Tags: e-commerce, woocommerce, minimal, white, responsive
*/

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --white:        #FFFFFF;
  --off-white:    #F5F5F0;
  --surface:      #E8E4DE;
  --border:       #E0DDD8;
  --text:         #111111;
  --text-muted:   #6B6B6B;
  --text-faint:   #A0A0A0;
  --accent:       #2D5BE3;
  --accent-dark:  #1E42B0;
  --accent-light: #EEF2FF;
  --danger:       #C0392B;
  --success:      #27AE60;

  --font-display: 'Creato Display', 'Inter', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10);

  --nav-height: 64px;
  --bottom-nav-height: 72px;
  --container:  1280px;
  --gap:        24px;

  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

button, input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (max-width: 768px) {
  .container { padding-inline: 16px; }
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* =============================================
   TYPOGRAPHY SCALE
   ============================================= */
.text-display {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.text-xl {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.text-lg {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-md { font-size: 18px; line-height: 1.5; }
.text-sm { font-size: 14px; line-height: 1.5; }
.text-xs { font-size: 12px; line-height: 1.4; letter-spacing: 0.04em; text-transform: uppercase; }

.text-muted { color: var(--text-muted); }
.text-faint  { color: var(--text-faint); }
.text-accent { color: var(--accent); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: var(--white);
}
.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45,91,227,.3);
}

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--white);
}

.btn-ghost {
  color: var(--text-muted);
  padding: 8px 12px;
}
.btn-ghost:hover { color: var(--text); background: var(--off-white); border-radius: var(--radius-sm); }

.btn-full { width: 100%; }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* =============================================
   FORMS
   ============================================= */
.field-group { display: flex; flex-direction: column; gap: 6px; }

.field-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.field-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--white);
  transition: border-color var(--transition);
}
.field-input:focus { border-color: var(--accent); }
.field-input::placeholder { color: var(--text-faint); }

select.field-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.site-header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  height: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

/* Logo */
.site-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-logo .logo-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.primary-nav ul,
.primary-nav .primary-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav li {
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-size: 14px;
  font-weight: 450;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--text); background: var(--off-white); }

.header-chat-desktop { display: flex; }

@media (max-width: 768px) {
  .header-chat-desktop { display: none; }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.header-icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.header-icon-btn:hover { color: var(--text); background: var(--off-white); }

.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Search Bar */
.header-search {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 100;
}
.header-search.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.header-search .search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}
.header-search input {
  flex: 1;
  font-size: 18px;
  font-family: var(--font-display);
  border-bottom: 2px solid var(--text);
  padding: 8px 0;
  background: transparent;
}
.header-search input::placeholder { color: var(--text-faint); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: var(--off-white); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 0 24px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }

.mobile-menu-header {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .site-logo { order: 2; justify-content: center; }
  .nav-toggle { order: 1; }
  .header-actions { order: 3; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 560px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  font-weight: 300;
  color: var(--text-muted);
}

.hero-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta .cta-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.hero-cta .cta-link:hover { color: var(--text); }
.hero-cta .cta-link svg { transition: transform var(--transition); }
.hero-cta .cta-link:hover svg { transform: translateX(3px); }

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge .badge-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.hero-badge .badge-value { font-family: var(--font-display); font-size: 18px; color: var(--text); }

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }
  .hero-image { aspect-ratio: 16/9; }
  .hero { padding: 48px 0 64px; }
}

/* =============================================
   MARQUEE / STRIP
   ============================================= */
.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  background: var(--off-white);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-item::before {
  content: '◆';
  color: var(--accent);
  font-size: 7px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  margin-bottom: 48px;
}

.section-header.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  color: var(--text);
}

.section-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color var(--transition);
}
.section-link:hover { color: var(--accent); }

/* =============================================
   PRODUCT CARDS
   ============================================= */
.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card-image {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 16px;
}

.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card-image img { transform: scale(1.04); }

.product-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.product-card-badge.new    { background: var(--text); }
.product-card-badge.sale   { background: var(--accent); }
.product-card-badge.soldout{ background: var(--text-faint); }

.product-card-action {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 40px; height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--text);
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
  cursor: pointer;
}
.product-card:hover .product-card-action {
  opacity: 1;
  transform: translateY(0);
}
.product-card-action:hover { background: var(--accent); color: var(--white); }

.product-card-info { flex: 1; display: flex; flex-direction: column; }

.product-card-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.price-current { font-size: 16px; font-weight: 500; color: var(--text); }
.price-original { font-size: 14px; color: var(--text-faint); text-decoration: line-through; }
.price-sale { color: var(--accent); }

/* =============================================
   FEATURED / EDITORIAL SECTION
   ============================================= */
.editorial-section {
  padding: 80px 0;
  background: var(--off-white);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.editorial-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-top: 8px;
  align-self: start;
}

.editorial-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

@media (max-width: 900px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .editorial-label {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

/* =============================================
   CATEGORIES GRID
   ============================================= */
.categories-section { padding: 80px 0; }

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  display: block;
  cursor: pointer;
}

.category-card-bg {
  width: 100%; height: 100%;
  background: var(--surface);
  transition: transform 500ms cubic-bezier(.4,0,.2,1);
}
.category-card:hover .category-card-bg { transform: scale(1.05); }

.category-card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 60%);
}

.category-card-info {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
}

.category-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 4px;
}

.category-card-count {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.04em;
}

.category-card.large { aspect-ratio: 3/4; }

.categories-asymmetric {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--gap);
}

.categories-asymmetric .category-card:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

@media (max-width: 768px) {
  .categories-asymmetric {
    grid-template-columns: 1fr 1fr;
  }
  .categories-asymmetric .category-card:first-child {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 480px) {
  .categories-asymmetric {
    grid-template-columns: 1fr;
  }
  .categories-asymmetric .category-card:first-child {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
}

/* =============================================
   BANNER / PROMO STRIP
   ============================================= */
.promo-banner {
  background: var(--text);
  color: var(--white);
  padding: 64px 0;
  overflow: hidden;
  position: relative;
}

.promo-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.promo-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.promo-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.promo-body {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  margin-bottom: 32px;
  line-height: 1.65;
}

.promo-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #222;
}

@media (max-width: 768px) {
  .promo-banner-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =============================================
   TRUST BADGES
   ============================================= */
.trust-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 32px;
}

.trust-item {
  flex: 1 1 auto;
  max-width: none;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.trust-icon {
  width: 40px; height: 40px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.trust-desc { font-size: 13px; color: var(--text-muted); line-height: 1.45; }

@media (max-width: 900px) {
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }

  .trust-item {
    flex: unset;
    max-width: none;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { padding: 80px 0; background: var(--off-white); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--accent);
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  object-fit: cover;
}

.author-name { font-size: 13px; font-weight: 600; color: var(--text); }
.author-handle { font-size: 12px; color: var(--text-faint); }

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter-section {
  padding: 80px 0;
}

.newsletter-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.newsletter-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--accent); }

.newsletter-note {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 12px;
}

@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.8);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}

.footer-brand .site-logo { color: var(--white); margin-bottom: 16px; }

.footer-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 14px;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright { font-size: 13px; color: rgba(255,255,255,.35); }

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   WOOCOMMERCE — SHOP ARCHIVE
   ============================================= */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.filter-section { margin-bottom: 32px; }

.filter-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.filter-list { display: flex; flex-direction: column; gap: 8px; }

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.filter-item:hover { color: var(--text); }
.filter-item input[type="checkbox"] {
  width: 16px; height: 16px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  accent-color: var(--accent);
}

.filter-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-faint);
}

.price-range { padding: 8px 0; }
.price-range-values {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.shop-main {}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.shop-count { font-size: 14px; color: var(--text-muted); }

.shop-sort select {
  font-size: 14px;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--white);
  padding-right: 32px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar {
    position: static;
    display: none;
  }
  .shop-sidebar.open { display: block; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* =============================================
   WOOCOMMERCE — SINGLE PRODUCT
   ============================================= */
.product-single {
  padding: 48px 0 80px;
}

.product-single-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Gallery */
.product-gallery {}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off-white);
  aspect-ratio: 1;
  margin-bottom: 12px;
}

.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gallery-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--off-white);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.gallery-thumb:hover,
.gallery-thumb.active { border-color: var(--accent); }

.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info {}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.product-breadcrumb a:hover { color: var(--accent); }
.product-breadcrumb span { color: var(--border); }

.product-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
}
.product-rating .stars { color: var(--accent); }

.product-price-block {
  margin-bottom: 28px;
}

.product-price-current {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.product-price-original {
  font-size: 18px;
  color: var(--text-faint);
  text-decoration: line-through;
  margin-left: 8px;
}

.product-price-save {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.product-short-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Variants */
.variant-group { margin-bottom: 24px; }

.variant-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.variant-label span { font-weight: 400; color: var(--text-muted); }

.color-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition);
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.active::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.size-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size-btn {
  min-width: 48px;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0 12px;
}
.size-btn:hover { border-color: var(--text); }
.size-btn.active { background: var(--text); color: var(--white); border-color: var(--text); }
.size-btn.sold-out { color: var(--text-faint); border-style: dashed; cursor: not-allowed; }

/* Qty + ATC */
.add-to-cart-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 44px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 18px;
  transition: all var(--transition);
}
.qty-btn:hover { background: var(--off-white); color: var(--text); }

.qty-input {
  width: 48px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  height: 52px;
}

.btn-atc {
  flex: 1;
  height: 52px;
  background: var(--text);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-atc:hover { background: #333; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-wishlist {
  width: 52px; height: 52px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}
.btn-wishlist:hover { border-color: var(--accent); color: var(--accent); }

.product-guarantees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.guarantee-item svg { color: var(--accent); }

/* Tabs */
.product-tabs { margin-top: 48px; }

.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 0;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn.active { color: var(--text); border-bottom-color: var(--text); }
.tab-btn:hover { color: var(--text); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-panel p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .product-single-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .add-to-cart-row { flex-wrap: wrap; }
  .btn-atc { min-width: calc(100% - 64px); }
}

/* =============================================
   WOOCOMMERCE — CART
   ============================================= */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--text);
}

.cart-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 96px; height: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--off-white);
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-name {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.cart-item-meta { font-size: 13px; color: var(--text-faint); margin-bottom: 12px; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-qty-btn {
  width: 28px; height: 28px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.cart-qty-btn:hover { border-color: var(--text); color: var(--text); }

.cart-item-price {
  text-align: right;
}
.cart-item-price .line-price {
  font-size: 16px;
  font-weight: 500;
}
.cart-item-remove {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-faint);
  cursor: pointer;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--danger); }

/* Order Summary */
.order-summary {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.summary-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.summary-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
}

.summary-row.total {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.coupon-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.coupon-row input:focus { border-color: var(--accent); }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

/* =============================================
   WOOCOMMERCE — CHECKOUT
   ============================================= */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}

.checkout-section {
  margin-bottom: 40px;
}

.checkout-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 28px; height: 28px;
  background: var(--text);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.checkout-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-grid-2.col-3 { grid-template-columns: 2fr 1fr 1fr; }
.checkout-grid-2.col-1 { grid-template-columns: 1fr; }

.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition);
  margin-bottom: 10px;
}
.payment-option.selected { border-color: var(--accent); background: var(--accent-light); }
.payment-option label { cursor: pointer; font-size: 14px; font-weight: 500; }

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-grid-2 { grid-template-columns: 1fr; }
  .checkout-grid-2.col-3 { grid-template-columns: 1fr; }
}

/* =============================================
   WOOCOMMERCE — MY ACCOUNT
   ============================================= */
.account-page {
  padding: 48px 0 80px;
}

.account-layout--logged-in {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.account-layout--guest .account-nav {
  display: none;
}

.account-nav {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.account-nav-label {
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.account-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.account-nav-link:hover,
.woocommerce-MyAccount-navigation-link.is-active .account-nav-link {
  color: var(--text);
  background: var(--off-white);
}

.woocommerce-MyAccount-navigation-link.is-active .account-nav-link {
  font-weight: 600;
}

.account-content {
  min-width: 0;
}

.account-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}

.account-auth-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 32px;
}

.account-auth-card--disabled {
  opacity: 0.72;
}

.account-auth-title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.account-auth-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.account-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.account-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

.account-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.account-lost-password {
  margin-top: 16px;
  font-size: 14px;
}

.account-lost-password a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-lost-password a:hover {
  color: var(--accent-dark);
}

.account-register-note {
  margin-bottom: 16px;
}

.account-register-submit {
  margin-top: 8px;
}

.account-dashboard {
  max-width: 640px;
}

.account-dashboard-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.account-dashboard-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 20px 0 28px;
}

.account-dashboard-desc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.woocommerce-account .woocommerce-orders-table th,
.woocommerce-account .woocommerce-orders-table td,
.woocommerce-account .woocommerce-table--order-details th,
.woocommerce-account .woocommerce-table--order-details td {
  padding: 14px 12px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.woocommerce-account .woocommerce-orders-table th,
.woocommerce-account .woocommerce-table--order-details th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.woocommerce-account .woocommerce-orders-table .woocommerce-button,
.woocommerce-account .woocommerce-MyAccount-content .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: var(--text);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}

.woocommerce-account .woocommerce-orders-table .woocommerce-button:hover,
.woocommerce-account .woocommerce-MyAccount-content .button:hover {
  background: #333;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .account-layout--logged-in {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .account-nav {
    position: static;
  }

  .account-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .account-auth {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .account-auth-card {
    padding: 24px;
  }
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.025em;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.page-hero-breadcrumb a:hover { color: var(--accent); }

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 48px 0;
}

.page-num {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
}
.page-num:hover { background: var(--off-white); color: var(--text); }
.page-num.current { background: var(--text); color: var(--white); }

/* =============================================
   MINI CART DRAWER
   ============================================= */
.cart-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100%;
  background: var(--white);
  z-index: 1999;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-drawer.open { transform: translateX(0); }

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.drawer-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition);
}
.drawer-close:hover { background: var(--off-white); color: var(--text); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
}

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
.toast-stack {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--text);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  transform: translateX(100px);
  opacity: 0;
  transition: all 300ms cubic-bezier(.4,0,.2,1);
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.success::before { content: '✓'; color: var(--success); font-weight: 700; }

/* =============================================
   UTILITY STATES
   ============================================= */
.loading {
  opacity: .5;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--off-white) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Print */
@media print {
  .site-header, .site-footer, .cart-drawer, .toast-stack { display: none; }
}

/* =============================================
   WOOCOMMERCE FORM OVERRIDES
   ============================================= */
.woocommerce-checkout .form-row,
.woocommerce-cart-form .form-row,
.woocommerce-account .form-row {
  margin-bottom: 16px;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-cart-form input.input-text,
.woocommerce-account input.input-text,
.woocommerce-account select,
.woocommerce-account textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--white);
  transition: border-color var(--transition);
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-account input.input-text:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.woocommerce-checkout label,
.woocommerce-cart-form label,
.woocommerce-account label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  display: block;
}

/* Checkboxes & radios — restored after global input reset */
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  accent-color: var(--accent);
  vertical-align: middle;
}

input[type="checkbox"] {
  border-radius: 4px;
  appearance: auto;
  -webkit-appearance: checkbox;
}

input[type="radio"] {
  border-radius: 50%;
  appearance: auto;
  -webkit-appearance: radio;
}

.woocommerce-form__label-for-checkbox,
.woocommerce-checkout label.checkbox,
.woocommerce-page label.inline {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 12px;
}

.woocommerce-form__label-for-checkbox input[type="checkbox"],
.woocommerce-checkout label.checkbox input[type="checkbox"] {
  margin-top: 2px;
}

.account-remember input[type="checkbox"] {
  margin-top: 0;
}

/* WooCommerce block checkout (Cart & Checkout blocks) */
.wc-block-components-checkbox label,
.wc-block-components-radio-control__option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input,
.wc-block-components-radio-control__input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark {
  flex-shrink: 0;
}

.wc-block-components-checkbox,
.wc-block-checkout__use-address-for-billing {
  overflow: visible;
  max-width: 100%;
}

.wc-block-components-address-card,
.wc-block-components-text-input,
.wc-block-components-combobox,
.wc-block-components-form .wc-block-components-text-input {
  max-width: 100%;
}

.wc-block-components-address-card__edit {
  flex-shrink: 0;
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-weight: 600;
  font-size: 16px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

#place_order {
  width: 100%;
  padding: 16px 32px;
  background: var(--text);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 16px;
}

#place_order:hover {
  background: #333;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
}

.woocommerce-notices-wrapper .woocommerce-message {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.woocommerce-notices-wrapper .woocommerce-error {
  background: #fdecea;
  color: var(--danger);
}

.pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
}

.pagination ul li a,
.pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition);
}

.pagination ul li a:hover {
  background: var(--off-white);
  color: var(--text);
}

.pagination ul li span.current {
  background: var(--text);
  color: var(--white);
}

/* =============================================
   FALLBACK — default WooCommerce product markup
   (when builder overrides template before theme loads)
   ============================================= */
.woocommerce.single-product div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 48px 0 80px;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
}

.woocommerce.single-product div.product .woocommerce-product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off-white);
}

.woocommerce.single-product div.product .summary {
  padding-top: 0;
}

.woocommerce.single-product div.product .product_title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.woocommerce.single-product div.product .price {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 24px;
}

.woocommerce.single-product div.product .single_add_to_cart_button {
  width: 100%;
  height: 52px;
  background: var(--text);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  margin-top: 16px;
}

.woocommerce.single-product div.product .single_add_to_cart_button:hover {
  background: #333;
}

.woocommerce.single-product div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 48px;
}

.woocommerce.single-product .related.products,
.woocommerce.single-product .upsells.products {
  grid-column: 1 / -1;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.woocommerce.single-product .related.products ul.products,
.woocommerce.single-product .upsells.products ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  list-style: none;
}

@media (max-width: 900px) {
  .woocommerce.single-product div.product {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .woocommerce.single-product .related.products ul.products,
  .woocommerce.single-product .upsells.products ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   CATEGORY SCROLL (mobile-first chips)
   ============================================= */
.category-scroll-wrap {
  margin-bottom: 24px;
  overflow: hidden;
}

.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 12px;
}

.category-scroll::-webkit-scrollbar { display: none; }

.category-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: all var(--transition);
}

.category-chip:hover { color: var(--text); }

.category-chip.active {
  color: var(--text);
  background: var(--white);
  border-color: var(--text);
  font-weight: 600;
}

/* =============================================
   MOBILE BOTTOM NAV (app-style)
   ============================================= */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  }

  body.woocommerce-checkout {
    padding-bottom: 0;
  }

  body.woocommerce-checkout .container {
    padding-inline: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  body.woocommerce-checkout .page-hero {
    padding-inline: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  body.woocommerce-checkout .checkout-layout {
    padding: 24px 0 48px;
    gap: 32px;
  }

  body.woocommerce-checkout .checkout-section-title {
    font-size: 18px;
  }

  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-checkout .wp-block-woocommerce-checkout {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-components-sidebar {
    padding-inline: 0;
  }

  body.woocommerce-checkout .wc-block-components-form,
  body.woocommerce-checkout .wc-block-checkout__main {
    padding-inline: 0;
  }

  body.woocommerce-checkout .wc-block-components-address-card {
    padding: 16px;
  }

  body.woocommerce-checkout .wc-block-components-checkbox {
    padding: 4px 0;
  }

  body.woocommerce-cart .container {
    padding-inline: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: var(--bottom-nav-height);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    align-items: stretch;
    justify-content: space-around;
  }

  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-faint);
    padding: 8px 4px;
    cursor: pointer;
    transition: color var(--transition);
    background: none;
    border: none;
  }

  .bottom-nav-item span { line-height: 1; font-size: 9px; }

  .bottom-nav-item.active,
  .bottom-nav-item:hover {
    color: var(--text);
  }

  .hide-mobile-nav { display: none !important; }

  .categories-desktop { display: none; }

  .category-scroll-wrap { display: block; }

  /* 2-column product grid on mobile */
  .product-grid-mobile,
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .product-card-image {
    border-radius: var(--radius-md);
    aspect-ratio: 1;
    margin-bottom: 10px;
  }

  .product-card-name { font-size: 14px; }
  .price-current { font-size: 14px; font-weight: 600; }
  .price-original { font-size: 12px; }

  /* Compact mobile hero */
  .hero {
    padding: 24px 0 32px;
  }

  .hero-inner {
    min-height: auto;
    gap: 24px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-image {
    order: 1;
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 12px;
  }

  .hero-body {
    font-size: 15px;
    margin-bottom: 20px;
    max-width: none;
  }

  .hero-cta .btn-lg {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: var(--radius-pill);
  }

  .hero-badge { display: none; }

  /* Mobile search bar in header */
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .site-logo {
    order: 1;
    justify-content: flex-start;
    font-size: 18px;
  }

  .header-actions {
    order: 2;
  }

  .primary-nav { display: none; }

  /* Slide-up menu extras */
  .mobile-nav-extras {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }

  .mobile-nav-extras a {
    font-family: var(--font-body);
    font-size: 18px;
    letter-spacing: 0;
  }

  .mobile-nav-more a {
    font-family: var(--font-body);
    font-size: 16px;
    letter-spacing: 0;
  }

  .page-hero { padding: 24px 0 20px; }
  .page-hero-title { font-size: clamp(24px, 7vw, 32px); }

  .shop-layout { padding-top: 16px; }

  .section-header { margin-bottom: 24px; }

  .trust-section,
  .newsletter-section {
    padding: 40px 0;
  }

  .site-footer {
    padding-bottom: 24px;
  }

  .toast-stack {
    bottom: calc(var(--bottom-nav-height) + 16px);
  }
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-page {
  padding: 48px 0 80px;
}

.contact-page-inner {
  max-width: 560px;
  margin: 0 auto;
}

.contact-page .entry-content {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.whatsapp-btn {
  margin-top: 8px;
  border-radius: var(--radius-pill);
}

.contact-whatsapp-note {
  text-align: center;
  margin-top: 16px;
}

/* Contact page */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-card-text,
.contact-card-link {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-card-link:hover { color: var(--accent); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.whatsapp-btn,
.contact-email-btn {
  padding: 12px 20px;
  font-size: 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-edit-note,
.faq-edit-note {
  margin-top: 32px;
  text-align: center;
}

/* FAQ page */
.faq-page {
  padding: 48px 0 80px;
  max-width: 720px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  background: var(--white);
}

.faq-item summary {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Footer email + social icons */
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
  transition: color var(--transition);
}

.footer-email:hover { color: rgba(255,255,255,.9); }

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .contact-actions {
    flex-direction: column;
  }

  .whatsapp-btn,
  .contact-email-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 13px;
  }
}

@media (min-width: 769px) {
  .category-scroll-wrap--home {
    display: none;
  }
}

@media (max-width: 768px) {
  .archive-product .category-scroll-wrap {
    margin-top: -8px;
  }
}
