/*
Theme Name: Triplay de la 9
Theme URI: https://triplaydela9.magnusgroup.mx
Author: Magnus Group
Author URI: https://magnusgroup.mx
Description: Tema custom para Triplay de la 9 — Productos de madera para construcción y hogar.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: triplay
WooCommerce: true
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Colors — Wood Palette */
  --c-primary: #2C1810;
  --c-primary-light: #5C3D2E;
  --c-secondary: #C8850E;
  --c-secondary-light: #D4A54A;
  --c-accent: #6B8F4E;
  --c-red: #C0392B;

  /* Backgrounds */
  --c-bg-cream: #FAF6F1;
  --c-bg-kraft: #F0EAE2;
  --c-bg-dark: #1A110B;
  --c-bg-dark-alt: #241811;

  /* Text */
  --c-text: #1E1108;
  --c-text-light: #FAF6F1;
  --c-text-muted: #8A7968;

  /* Borders */
  --c-border: rgba(44, 24, 16, 0.12);
  --c-border-light: rgba(250, 246, 241, 0.15);

  /* Typography */
  --ff-heading: 'Outfit', sans-serif;
  --ff-body: 'Inter', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3.25rem;
  --fs-6xl: 4rem;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 0.75rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-5xl: 8rem;

  /* Layout */
  --max-w: 1200px;
  --max-w-wide: 1400px;
  --header-h: 80px;
  --topbar-h: 40px;

  /* Effects */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(26, 17, 11, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 17, 11, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 17, 11, 0.16);
  --shadow-glow: 0 0 30px rgba(200, 133, 14, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg-cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-primary);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.container--wide {
  max-width: var(--max-w-wide);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 14px 32px;
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after { transform: translateX(100%); }

.btn--primary {
  background: var(--c-secondary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(200, 133, 14, 0.3);
}

.btn--primary:hover {
  background: #B5770C;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200, 133, 14, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--c-text-light);
  border: 2px solid rgba(250, 246, 241, 0.5);
}

.btn--outline:hover {
  background: rgba(250, 246, 241, 0.1);
  border-color: var(--c-text-light);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--c-primary);
  color: var(--c-text-light);
}

.btn--dark:hover {
  background: var(--c-primary-light);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.btn--whatsapp:hover {
  background: #1EBE5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.35);
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--c-primary);
  color: var(--c-text-light);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  font-size: var(--fs-sm);
  position: relative;
  z-index: 100;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar__items {
  display: flex;
  gap: var(--sp-xl);
  align-items: center;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  opacity: 0.85;
  transition: opacity var(--transition);
}

.topbar__item:hover { opacity: 1; }

.topbar__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.topbar__social {
  display: flex;
  gap: var(--sp-md);
  align-items: center;
}

.topbar__social a {
  opacity: 0.7;
  transition: all var(--transition);
}

.topbar__social a:hover {
  opacity: 1;
  transform: scale(1.15);
}

.topbar__social svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(250, 246, 241, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
}

.site-logo img {
  height: 56px;
  width: auto;
  transition: transform var(--transition);
}

.site-logo:hover img {
  transform: scale(1.03);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
}

.nav-main__list {
  display: flex;
  gap: var(--sp-xl);
  align-items: center;
}

.nav-main__list a {
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-primary-light);
  padding: var(--sp-xs) 0;
  position: relative;
}

.nav-main__list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-secondary);
  transition: width var(--transition);
}

.nav-main__list a:hover {
  color: var(--c-primary);
}

.nav-main__list a:hover::after { width: 100%; }

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--sp-xs);
}

.nav-cart svg {
  width: 24px;
  height: 24px;
  color: var(--c-primary);
  transition: color var(--transition);
}

.nav-cart:hover svg { color: var(--c-secondary); }

.nav-cart__count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--c-secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--c-bg-dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 17, 11, 0.88) 0%,
    rgba(44, 24, 16, 0.72) 40%,
    rgba(92, 61, 46, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  background: rgba(200, 133, 14, 0.15);
  border: 1px solid rgba(200, 133, 14, 0.3);
  color: var(--c-secondary-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--sp-lg);
  backdrop-filter: blur(10px);
}

.hero__title {
  font-size: var(--fs-5xl);
  color: var(--c-text-light);
  margin-bottom: var(--sp-lg);
  line-height: 1.1;
}

.hero__title span {
  color: var(--c-secondary);
  position: relative;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: rgba(250, 246, 241, 0.75);
  margin-bottom: var(--sp-2xl);
  max-width: 560px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--sp-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-xs);
  color: rgba(250, 246, 241, 0.4);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: float 2.5s ease-in-out infinite;
}

.hero__scroll-indicator svg {
  width: 20px;
  height: 20px;
  animation: bounce-down 1.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.5; }
}

/* ============================================
   SECTION BASE
   ============================================ */
.section {
  padding: var(--sp-5xl) 0;
}

.section--dark {
  background: var(--c-bg-dark);
  color: var(--c-text-light);
}

.section--kraft {
  background: var(--c-bg-kraft);
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--sp-3xl);
}

.section__overline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-secondary);
  margin-bottom: var(--sp-md);
}

.section__overline::before,
.section__overline::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--c-secondary);
  border-radius: 1px;
}

.section__title {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-md);
}

.section--dark .section__title { color: var(--c-text-light); }

.section__desc {
  color: var(--c-text-muted);
  font-size: var(--fs-lg);
  line-height: 1.7;
}

.section--dark .section__desc { color: rgba(250, 246, 241, 0.6); }

/* ============================================
   CATEGORIES GRID
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.category-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  group: true;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.category-card__visual {
  height: 180px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.category-card:first-child .category-card__visual {
  height: 100%;
  min-height: 380px;
}

.category-card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.category-card__visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(26, 17, 11, 0.5), transparent);
}

.category-card__icon {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  color: rgba(250, 246, 241, 0.9);
  transition: transform var(--transition);
}

.category-card:first-child .category-card__icon {
  width: 80px;
  height: 80px;
}

.category-card:hover .category-card__icon {
  transform: scale(1.1) rotate(3deg);
}

.category-card__body {
  padding: var(--sp-lg);
}

.category-card:first-child .category-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  color: var(--c-text-light);
}

.category-card__name {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-xs);
}

.category-card:first-child .category-card__name {
  font-size: var(--fs-2xl);
  color: var(--c-text-light);
}

.category-card__count {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

.category-card:first-child .category-card__count {
  color: rgba(250, 246, 241, 0.65);
}

.category-card__arrow {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all var(--transition);
}

.category-card:hover .category-card__arrow {
  background: var(--c-secondary);
  transform: translate(2px, -2px);
}

.category-card__arrow svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.category-card:hover .category-card__arrow svg { color: #fff; }

/* Color variations for category cards */
.category-card--bastones .category-card__visual {
  background: linear-gradient(135deg, #5C3D2E, #8B6B5A);
}
.category-card--patas .category-card__visual {
  background: linear-gradient(135deg, #6B8F4E, #4A6B34);
}
.category-card--escalera .category-card__visual {
  background: linear-gradient(135deg, #8B6914, #C8850E);
}
.category-card--balastro .category-card__visual {
  background: linear-gradient(135deg, #7A5C3D, #A67C52);
}
.category-card--pedestal .category-card__visual {
  background: linear-gradient(135deg, #4A3728, #6B5240);
}
.category-card--mesa .category-card__visual {
  background: linear-gradient(135deg, #C8850E, #D4A54A);
}

/* ============================================
   FEATURES / USP
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
}

.feature-card {
  text-align: center;
  padding: var(--sp-2xl) var(--sp-lg);
  background: rgba(250, 246, 241, 0.05);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.feature-card:hover {
  background: rgba(250, 246, 241, 0.08);
  border-color: rgba(200, 133, 14, 0.3);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-lg);
  background: rgba(200, 133, 14, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-secondary);
  transition: all var(--transition);
}

.feature-card:hover .feature-card__icon {
  background: var(--c-secondary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
}

.feature-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--c-text-light);
  margin-bottom: var(--sp-sm);
}

.feature-card__text {
  font-size: var(--fs-sm);
  color: rgba(250, 246, 241, 0.55);
  line-height: 1.6;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--c-primary);
  padding: var(--sp-3xl) 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200, 133, 14, 0.05), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item { color: var(--c-text-light); }

.stat-item__number {
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--c-secondary);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.stat-item__label {
  font-size: var(--fs-sm);
  color: rgba(250, 246, 241, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--sp-5xl) 0;
  background: linear-gradient(135deg, var(--c-bg-kraft) 0%, var(--c-bg-cream) 100%);
  position: relative;
}

.cta-card {
  background: var(--c-primary);
  border-radius: var(--radius-lg);
  padding: var(--sp-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 133, 14, 0.1), transparent 70%);
  border-radius: 50%;
}

.cta-card__title {
  font-size: var(--fs-4xl);
  color: var(--c-text-light);
  margin-bottom: var(--sp-md);
  position: relative;
  z-index: 1;
}

.cta-card__text {
  font-size: var(--fs-lg);
  color: rgba(250, 246, 241, 0.65);
  max-width: 500px;
  margin: 0 auto var(--sp-2xl);
  position: relative;
  z-index: 1;
}

.cta-card__actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--c-bg-dark);
  color: var(--c-text-light);
  padding-top: var(--sp-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--sp-3xl);
  padding-bottom: var(--sp-3xl);
}

.footer-col__logo {
  margin-bottom: var(--sp-lg);
}

.footer-col__logo img {
  height: 60px;
  width: auto;
  filter: brightness(10);
}

.footer-col__desc {
  font-size: var(--fs-sm);
  color: rgba(250, 246, 241, 0.55);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

.footer-col__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-lg);
  color: var(--c-secondary);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-sm); }

.footer-col ul a {
  font-size: var(--fs-sm);
  color: rgba(250, 246, 241, 0.6);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
}

.footer-col ul a:hover {
  color: var(--c-secondary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: rgba(250, 246, 241, 0.6);
  margin-bottom: var(--sp-md);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--c-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--c-border-light);
  padding: var(--sp-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom__copy {
  font-size: var(--fs-sm);
  color: rgba(250, 246, 241, 0.4);
}

.footer-bottom__copy a {
  color: var(--c-secondary);
  transition: color var(--transition);
}

.footer-bottom__copy a:hover { color: var(--c-secondary-light); }

.footer-bottom__links {
  display: flex;
  gap: var(--sp-lg);
}

.footer-bottom__links a {
  font-size: var(--fs-sm);
  color: rgba(250, 246, 241, 0.4);
  transition: color var(--transition);
}

.footer-bottom__links a:hover { color: var(--c-text-light); }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: var(--sp-xl);
  right: var(--sp-xl);
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  animation: pulse-wa 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__title { font-size: var(--fs-4xl); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card:first-child { grid-column: span 2; grid-row: span 1; }
  .category-card:first-child .category-card__visual { min-height: 240px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-2xl); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
    --fs-5xl: 2.5rem;
    --fs-4xl: 2rem;
    --fs-3xl: 1.75rem;
    --sp-5xl: 4rem;
    --sp-4xl: 3rem;
  }

  .topbar__items { gap: var(--sp-md); }
  .topbar__item:nth-child(n+3) { display: none; }
  .topbar__social { display: none; }

  .nav-main__list {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 246, 241, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--sp-2xl);
    z-index: 100;
  }

  .nav-main__list.active { display: flex; }

  .nav-main__list a {
    font-size: var(--fs-2xl);
  }

  .nav-toggle { display: flex; }

  .hero { min-height: 70vh; }
  .hero__content { padding: 0 var(--sp-md); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__scroll-indicator { display: none; }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card:first-child {
    grid-column: span 1;
  }

  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-card { padding: var(--sp-2xl) var(--sp-lg); }
  .cta-card__title { font-size: var(--fs-3xl); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .footer-bottom { flex-direction: column; gap: var(--sp-md); text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: var(--fs-3xl); }
  .section__title { font-size: var(--fs-3xl); }
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-lg);
}

.woocommerce ul.products li.product {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  margin: 0;
  width: 100%;
  float: none;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.woocommerce ul.products li.product a img {
  border-radius: 0;
  margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  padding: var(--sp-md) var(--sp-md) var(--sp-xs);
  color: var(--c-primary);
}

.woocommerce ul.products li.product .price {
  color: var(--c-secondary);
  font-weight: 700;
  font-size: var(--fs-lg);
  padding: 0 var(--sp-md);
}

.woocommerce ul.products li.product .button {
  background: var(--c-primary);
  color: var(--c-text-light);
  border-radius: var(--radius-sm);
  margin: var(--sp-md);
  padding: 10px 20px;
  font-family: var(--ff-heading);
  font-weight: 600;
  transition: all var(--transition);
}

.woocommerce ul.products li.product .button:hover {
  background: var(--c-secondary);
}
