/* ============================================================
   DEPORTES GÜICHO — MAIN.CSS — DESIGN SYSTEM
   Versión: 1.0.0 | Fuentes: Oswald + Inter
   Colores: Navy #1e2a5e / Verde #227504 / Naranja #e8650a
   ============================================================ */

/* ============================================================
   === 1. VARIABLES / DESIGN TOKENS ===
   ============================================================ */
:root {
  /* Brand Colors */
  --navy:          #1e2a5e;
  --navy-mid:      #323e72;
  --navy-light:    #4a5494;
  --navy-pale:     #8a94c8;

  --green:         #227504;
  --green-mid:     #2d7711;
  --green-dark:    #145e00;
  --green-bright:  #4caf50;
  --green-pale:    #d4edda;

  --orange:        #e8650a;
  --orange-light:  #ff8c42;
  --orange-pale:   #fde8d6;

  /* Neutrals */
  --white:         #ffffff;
  --surface:       #f5f6fa;
  --surface-2:     #eef0f7;
  --surface-3:     #e8eaf2;

  /* Text */
  --text-primary:   #1a1d2e;
  --text-secondary: #60646c;
  --text-muted:     #9ea3b0;
  --text-inverse:   #ffffff;

  /* Borders */
  --border:        #e1e4ed;
  --border-light:  #f0f2f9;
  --border-dark:   #c8ccd8;

  /* Glass */
  --glass:         rgba(255, 255, 255, 0.10);
  --glass-border:  rgba(255, 255, 255, 0.20);
  --glass-dark:    rgba(30, 42, 94, 0.15);

  /* Shadows */
  --shadow-xs:    0 1px 4px rgba(30, 42, 94, 0.06);
  --shadow-sm:    0 2px 8px rgba(30, 42, 94, 0.08);
  --shadow-md:    0 8px 24px rgba(30, 42, 94, 0.12);
  --shadow-lg:    0 20px 60px rgba(30, 42, 94, 0.18);
  --shadow-xl:    0 32px 80px rgba(30, 42, 94, 0.24);
  --shadow-hover: 0 12px 40px rgba(30, 42, 94, 0.22);
  --shadow-green: 0 8px 24px rgba(34, 117, 4, 0.25);
  --shadow-orange: 0 8px 24px rgba(232, 101, 10, 0.3);

  /* Border Radius */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-2xl: 48px;

  /* Transitions */
  --transition:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --header-height:        80px;
  --header-height-shrunk: 64px;
  --container-max:       1280px;
  --container-narrow:     800px;
  --container-wide:      1440px;
  --sidebar-width:        260px;

  /* Z-index scale */
  --z-base:    1;
  --z-raised:  10;
  --z-overlay: 100;
  --z-drawer:  200;
  --z-header:  1000;
  --z-modal:   2000;
  --z-toast:   3000;
}

/* ============================================================
   === 2. MODERN RESET ===
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.has-announcement-bar {
  padding-top: 40px !important;
}

body.admin-bar.has-announcement-bar {
  padding-top: 72px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar.has-announcement-bar {
    padding-top: 86px !important;
  }
}

img, video, picture, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

table {
  border-collapse: collapse;
}

/* ============================================================
   === 3. TIPOGRAFÍA ===
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(22px, 3vw, 36px); }
h4 { font-size: clamp(18px, 2.5vw, 26px); }
h5 { font-size: clamp(16px, 2vw, 20px); }
h6 { font-size: 16px; }

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

p.lead {
  font-size: 18px;
  color: var(--text-primary);
}

p.small {
  font-size: 13px;
}

strong, b { font-weight: 700; color: var(--text-primary); }
em, i { font-style: italic; }
small { font-size: 12px; }

/* Text color utilities */
.text-navy     { color: var(--navy); }
.text-navy-mid { color: var(--navy-mid); }
.text-green    { color: var(--green); }
.text-orange   { color: var(--orange); }
.text-muted    { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-white    { color: #fff; }
.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.5px; }

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--green-bright) 0%, #8ee87a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Font weight utilities */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ============================================================
   === 4. LAYOUT SYSTEM ===
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-fluid {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

/* Grid utilities */
.grid        { display: grid; }
.grid-2      { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3      { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4      { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto   { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.gap-sm      { gap: 12px; }
.gap-md      { gap: 24px; }
.gap-lg      { gap: 40px; }
.gap-xl      { gap: 60px; }

/* Flex utilities */
.flex              { display: flex; }
.flex-col          { display: flex; flex-direction: column; }
.flex-wrap         { flex-wrap: wrap; }
.items-center      { align-items: center; }
.items-start       { align-items: flex-start; }
.items-end         { align-items: flex-end; }
.justify-center    { justify-content: center; }
.justify-between   { justify-content: space-between; }
.justify-end       { justify-content: flex-end; }
.flex-1            { flex: 1; }
.shrink-0          { flex-shrink: 0; }

/* Spacers */
.section-padding    { padding: 80px 0; }
.section-padding-sm { padding: 60px 0; }
.section-padding-lg { padding: 120px 0; }

/* Margin utilities */
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* Visibility */
.hidden         { display: none; }
.invisible      { visibility: hidden; }
.mobile-only    { display: none; }
.desktop-only   { display: block; }

/* ============================================================
   === 5. ANNOUNCEMENT BAR ===
   ============================================================ */
.announcement-bar {
  background: var(--green);
  color: white;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 1001;
  height: 40px;
  display: flex;
  align-items: center;
}

.announcement-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.announcement-track:hover {
  animation-play-state: paused;
}

.announcement-item {
  white-space: nowrap;
  padding: 0 48px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-item span {
  color: var(--green-bright);
}

.announcement-separator {
  color: rgba(255,255,255,0.4);
  font-size: 16px;
}

.announcement-bar-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  opacity: 0.7;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
  flex-shrink: 0;
  z-index: 2;
}

.announcement-bar-close:hover {
  opacity: 1;
  background: rgba(255,255,255,0.15);
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   === 6. NAVBAR / HEADER ===
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  transition: var(--transition);
  padding: 0;
  background: linear-gradient(180deg, rgba(30,42,94,0.98) 0%, rgba(30,42,94,0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header .container {
  padding-top: 16px;
  padding-bottom: 16px;
  transition: var(--transition);
}

body.admin-bar .site-header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px !important;
  }
}

.site-header.scrolled {
  top: 0 !important;
  background: var(--navy);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}

.site-header.scrolled .container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header.scrolled .announcement-bar {
  display: none;
}

body.admin-bar .site-header.scrolled {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header.scrolled {
    top: 46px !important;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.site-header.scrolled .site-logo img {
  height: 44px;
}

.site-logo .logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: 1px;
  line-height: 1;
}

.site-logo .logo-text span {
  color: var(--green-bright);
}

.site-logo .logo-tagline {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-top: 2px;
}

/* Main navigation */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.nav-menu > li > a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--green-bright);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 1px;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
  color: white;
  background: rgba(255,255,255,0.10);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* Dropdown indicator */
.nav-menu > li.menu-item-has-children > a::before {
  content: '▾';
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  opacity: 0.6;
  transition: var(--transition-fast);
}

.nav-menu > li.menu-item-has-children:hover > a::before {
  transform: rotate(180deg);
  opacity: 1;
}

/* Submenu */
.nav-menu li {
  position: relative;
}

.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.10);
  list-style: none;
  padding: 8px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  pointer-events: none;
  z-index: 100;
}

.nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,0.80);
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-menu .sub-menu li a:hover {
  background: rgba(255,255,255,0.10);
  color: white;
  padding-left: 20px;
}

.nav-menu .sub-menu li + li {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-action-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.80);
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  flex-shrink: 0;
}

.header-action-btn:hover {
  color: white;
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.header-action-btn svg {
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 800;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--navy);
  line-height: 1;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: var(--transition);
  transform-origin: center;
  border-radius: 1px;
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile navigation overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 100px 24px 24px;
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav .nav-menu {
  flex-direction: column;
  gap: 4px;
}

.mobile-nav .nav-menu > li > a {
  font-size: 22px;
  padding: 14px 16px;
  color: white;
  letter-spacing: 0.5px;
}

.mobile-nav .sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  margin: 4px 0 4px 16px;
  border: none;
  pointer-events: all;
}

.mobile-nav .sub-menu li a {
  font-size: 16px;
  padding: 10px 16px;
}

.mobile-nav-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Search bar expandible */
.header-search-bar {
  background: rgba(20, 30, 75, 0.98);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.header-search-bar.open {
  max-height: 100px;
  padding: 16px 0;
}

.header-search-bar .search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-search-bar input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.08);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 16px;
  outline: none;
  transition: var(--transition);
}

.header-search-bar input::placeholder {
  color: rgba(255,255,255,0.45);
}

.header-search-bar input:focus {
  border-color: var(--green-bright);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.header-search-bar button[type="submit"] {
  padding: 12px 28px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  white-space: nowrap;
}

.header-search-bar button[type="submit"]:hover {
  background: var(--green-dark);
}

/* ============================================================
   === 7. BUTTONS ===
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  line-height: 1.2;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Primary */
.btn-primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(34,117,4,0.40);
  color: white;
}

/* Orange / accent */
.btn-orange {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.btn-orange:hover {
  background: #c2430a;
  border-color: #c2430a;
  transform: translateY(-2px);
  color: white;
}

/* Navy */
.btn-navy {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

/* Outline variants */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline-green:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
  background: white;
  color: var(--navy);
  border-color: white;
  transform: translateY(-2px);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--navy);
}

/* White */
.btn-white {
  background: white;
  color: var(--navy);
  border-color: white;
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--navy);
}

/* Sizes */
.btn-xs  { padding: 6px 14px; font-size: 12px; }
.btn-sm  { padding: 9px 20px; font-size: 13px; }
.btn-lg  { padding: 16px 36px; font-size: 17px; }
.btn-xl  { padding: 20px 48px; font-size: 18px; }

/* Full width */
.btn-full  { width: 100%; }

/* Rounded pill */
.btn-rounded { border-radius: 50px; }

/* Icon only */
.btn-icon {
  padding: 10px;
  width: 42px;
  height: 42px;
}

/* Loading state */
.btn.loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 8px;
}

/* ============================================================
   === 8. HERO SECTION ===
   ============================================================ */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1533 0%, #1e2a5e 40%, #1a3a2e 100%);
  padding-top: var(--header-height);
}

/* Fondo animado */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  animation: float-shape 8s ease-in-out infinite;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -50px;
  animation-delay: -3s;
  background: rgba(34,117,4,0.05);
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 30%;
  animation-delay: -5s;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

@keyframes float-shape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 20px) scale(0.97); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.90);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--green-bright);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  align-self: stretch;
}

/* Hero visual (right side) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

.hero-visual-circle {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,117,4,0.15) 0%, rgba(30,42,94,0.05) 70%);
  border: 2px solid rgba(34,117,4,0.20);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate-slow 20s linear infinite;
}

.hero-visual-circle::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(34,117,4,0.15);
  animation: rotate-slow 15s linear infinite reverse;
}

@keyframes rotate-slow {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

.hero-visual-card {
  position: absolute;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  animation: float-card 5s ease-in-out infinite;
  min-width: 100px;
}

.hero-visual-card svg {
  width: 36px;
  height: 36px;
}

.hero-visual-card .card-label {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-visual-card-1 { top: 5%; right: 5%; animation-delay: 0s; }
.hero-visual-card-2 { bottom: 15%; right: 0%; animation-delay: -1.7s; }
.hero-visual-card-3 { top: 40%; left: -5%; animation-delay: -3.2s; }

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

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  animation: bounce-down 2.2s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   === 9. BRANDS CAROUSEL ===
   ============================================================ */
.brands-section {
  padding: 60px 0;
  background: white;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.brands-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.brands-carousel-wrapper {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.brands-carousel-wrapper::before,
.brands-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.brands-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.brands-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}

.brands-track {
  display: flex;
  width: max-content;
  animation: scroll-brands 40s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-brands {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-right: 1px solid var(--border-light);
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}

.brand-item:hover .brand-name {
  color: var(--navy);
}

.brand-item img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: var(--transition);
}

.brand-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ============================================================
   === 10. CATEGORIES GRID ===
   ============================================================ */
.categories-section {
  padding: 100px 0;
  background: var(--surface);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: white;
  cursor: pointer;
  background: #121420;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  min-height: 220px;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-hover);
  color: white;
}

/* Background image and overlays */
.category-card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-card-bg-img {
  transform: scale(1.1);
}

.category-card-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: var(--transition);
  opacity: 0.95;
}

.category-card:hover .category-card-gradient-overlay {
  opacity: 0.88;
}

/* Raise content above image & overlay */
.category-card-icon,
.category-card > div,
.category-card-arrow,
.category-count {
  position: relative;
  z-index: 2;
}

.category-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.category-card:hover .category-card-icon {
  background: rgba(255,255,255,0.28);
  transform: scale(1.1) rotate(-3deg);
}

.category-card-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-name {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

.category-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.category-count {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}

.category-card-arrow {
  margin-top: auto;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.category-card:hover .category-card-arrow {
  background: rgba(255,255,255,0.35);
  transform: translateX(4px);
}

.category-card-arrow svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.category-card:hover .category-card-overlay {
  opacity: 1;
}

/* ============================================================
   === 11. STATS COUNTER SECTION ===
   ============================================================ */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2850 50%, #1e3524 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(34,117,4,0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  color: var(--green-bright);
}

.stat-icon svg {
  width: 36px;
  height: 36px;
}

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.stat-suffix {
  color: var(--green-bright);
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   === 12. PRODUCT CARDS ===
   ============================================================ */
.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

.badge-sale { background: var(--orange); }
.badge-new  { background: var(--green); }
.badge-hot  { background: #e53e3e; }
.badge-out  { background: #a0aec0; }

/* Wishlist button */
.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  opacity: 0;
}

.product-card:hover .product-wishlist-btn {
  opacity: 1;
}

.product-wishlist-btn:hover {
  background: #fed7d7;
  transform: scale(1.1);
}

.product-wishlist-btn svg {
  width: 16px;
  height: 16px;
  color: #e53e3e;
}

/* Hover actions overlay */
.product-card-hover-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  transform: translateY(100%);
  transition: var(--transition);
  background: linear-gradient(to top, rgba(30,42,94,0.95) 0%, rgba(30,42,94,0) 100%);
  padding-top: 40px;
}

.product-card:hover .product-card-hover-actions {
  transform: translateY(0);
}

.btn-quick-add {
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  text-transform: uppercase;
}

.btn-quick-add:hover    { background: var(--green-dark); }
.btn-quick-add.loading  { opacity: 0.7; cursor: wait; }
.btn-quick-add.success  { background: #16a34a; }

.btn-view-product {
  text-align: center;
  color: rgba(255,255,255,0.80);
  font-size: 13px;
  text-decoration: none;
  padding: 6px;
  transition: var(--transition-fast);
}

.btn-view-product:hover { color: white; }

/* Card body */
.product-card-body {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-brand {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 2px 0;
}

.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--navy); }

.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.product-price-wrap .woocommerce-Price-amount,
.product-price-wrap ins .woocommerce-Price-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
}

.product-price-wrap del .woocommerce-Price-amount {
  font-size: 13px;
  color: var(--text-muted);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.star-filled { color: #f59e0b; font-size: 12px; }
.star-empty  { color: var(--border); font-size: 12px; }
.rating-count { font-size: 12px; color: var(--text-muted); }

.product-availability {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 10px;
}

.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.availability-dot.available { background: var(--green); }
.availability-dot.low       { background: var(--orange); }
.availability-dot.out       { background: #e53e3e; }

/* ============================================================
   === 13. FEATURED PRODUCTS SECTION ===
   ============================================================ */
.featured-products-section {
  padding: 100px 0;
  background: white;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 10px 0 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.section-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.section-link:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* Tabs */
.products-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius-md);
  width: fit-content;
}

.products-tab-btn {
  padding: 10px 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.products-tab-btn:hover {
  color: var(--navy);
  background: white;
}

.products-tab-btn.active {
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-sm);
}

.products-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================================================
   === 14. BRANCHES SECTION ===
   ============================================================ */
.branches-section {
  padding: 100px 0;
  background: white;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.branch-card {
  background: var(--navy-mid);
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.branch-card:hover {
  background: var(--navy);
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.branch-icon {
  color: var(--green-bright);
}

.branch-icon svg {
  width: 32px;
  height: 32px;
}

.branch-name {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.branch-address {
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.5;
}

.branch-address svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.branch-phone {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-bright);
  text-decoration: none;
  display: flex;
  gap: 6px;
  align-items: center;
  transition: var(--transition-fast);
}

.branch-phone:hover {
  color: white;
}

.branch-phone svg {
  width: 14px;
  height: 14px;
}

.branch-hours {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  display: flex;
  gap: 6px;
  align-items: center;
}

.branch-hours svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.branch-map-link {
  font-size: 12px;
  color: var(--green-bright);
  text-decoration: none;
  margin-top: auto;
  padding-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
  font-weight: 600;
}

.branch-map-link:hover {
  text-decoration: underline;
  color: white;
}

/* Map */
.map-section {
  margin-top: 48px;
}

.map-wrapper {
  position: relative;
  padding-bottom: 38%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   === 15. ABOUT SECTION ===
   ============================================================ */
.about-section {
  padding: 100px 0;
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 0;
}

.about-lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 20px 0 32px;
  font-style: italic;
  padding-left: 20px;
  border-left: 3px solid var(--green);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.about-value-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-value-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  color: var(--green);
  flex-shrink: 0;
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-title {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
  text-transform: uppercase;
}

.value-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* About visual grid */
.about-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  transition: var(--transition);
  letter-spacing: 0.5px;
  overflow: hidden;
}

.visual-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
  color: white;
}

.visual-card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-card:hover .visual-card-bg-img {
  transform: scale(1.1);
}

.visual-card-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: var(--transition);
  opacity: 0.92;
}

.visual-card:hover .visual-card-gradient-overlay {
  opacity: 0.85;
}

.visual-card > span {
  position: relative;
  z-index: 2;
}

/* ============================================================
   === 16. PROMO BANNER ===
   ============================================================ */
.promo-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a2e 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(34,117,4,0.10);
  pointer-events: none;
}

.promo-banner::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.promo-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.promo-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-bright);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.promo-banner h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  color: white;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.promo-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.70);
  margin: 0 0 36px;
  max-width: 480px;
}

.promo-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.promo-countdown {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  min-width: 64px;
}

.countdown-number {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.countdown-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   === 17. CONTACT SECTION ===
   ============================================================ */
.contact-section {
  padding: 100px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  margin-top: 60px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.contact-item:last-of-type {
  border-bottom: none;
}

.contact-icon {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item strong {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-item a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.contact-item a:hover {
  color: var(--green);
}

.contact-social-title {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  color: var(--navy);
  margin: 36px 0 16px;
  text-transform: uppercase;
}

.contact-social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid var(--border);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.social-link.instagram:hover { background: #e1306c; color: white; border-color: #e1306c; }
.social-link.facebook:hover  { background: #1877f2; color: white; border-color: #1877f2; }
.social-link.whatsapp:hover  { background: #25d366; color: white; border-color: #25d366; }
.social-link.youtube:hover   { background: #ff0000; color: white; border-color: #ff0000; }
.social-link.tiktok:hover    { background: #000000; color: white; border-color: #000000; }

/* Contact form */
.contact-form-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.contact-form-wrap h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row-2 > .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: white;
  transition: var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(34,117,4,0.10);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 4px rgba(229,62,62,0.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-error-msg {
  font-size: 12px;
  color: #e53e3e;
  font-weight: 500;
}

.form-success {
  text-align: center;
  padding: 48px 20px;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--green);
  font-size: 28px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ============================================================
   === 18. WHATSAPP FLOATING BUTTON ===
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  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.50);
  transition: var(--transition);
  text-decoration: none;
  animation: pulse-whatsapp 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.65);
  animation-play-state: paused;
}

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

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.50); }
  50%       { box-shadow: 0 4px 40px rgba(37,211,102,0.80), 0 0 0 12px rgba(37,211,102,0.10); }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   === 19. CART DRAWER ===
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cart-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -500px;
  width: 460px;
  height: 100vh;
  background: white;
  z-index: var(--z-modal);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background: var(--navy);
  color: white;
}

.cart-drawer-header h3 {
  font-family: 'Oswald', sans-serif;
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-drawer-header .cart-item-count {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: white;
}

.cart-drawer-close:hover {
  background: rgba(255,255,255,0.25);
}

.cart-drawer-close svg {
  width: 18px;
  height: 18px;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px;
}

.cart-drawer-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
}

.cart-total-row.grand-total {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  border-top: 2px solid var(--border);
  margin-top: 10px;
  padding-top: 14px;
}

.cart-total-row .amount {
  color: var(--green);
  font-weight: 700;
}

.cart-checkout-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.4;
}

.cart-item-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.cart-item-branch {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  margin-top: 2px;
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}

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

.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius-xs);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.qty-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  padding: 4px;
  transition: var(--transition-fast);
  border-radius: 4px;
}

.cart-item-remove:hover {
  color: #e53e3e;
  background: #fed7d7;
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-cart svg {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  opacity: 0.25;
}

.empty-cart h4 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--text-secondary);
  font-family: 'Oswald', sans-serif;
}

.empty-cart p {
  font-size: 14px;
  margin: 0 0 24px;
}

/* ============================================================
   === 20. FOOTER ===
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, #0d1533 100%);
  color: rgba(255,255,255,0.70);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
}

.footer-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo-text span {
  color: var(--green-bright);
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 28px;
  color: rgba(255,255,255,0.65);
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.10);
}

.footer-social-link:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
  border-color: var(--green);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-bright);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 0;
}

.footer-links li a::before {
  content: '→';
  color: var(--green-bright);
  opacity: 0;
  transition: var(--transition);
  font-size: 12px;
  flex-shrink: 0;
}

.footer-links li a:hover {
  color: white;
  padding-left: 8px;
}

.footer-links li a:hover::before {
  opacity: 1;
}

/* Footer branch info */
.footer-branch-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}

.footer-branch-item:last-child {
  border-bottom: none;
}

.footer-branch-item svg {
  width: 14px;
  height: 14px;
  color: var(--green-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-branch-name {
  font-weight: 700;
  color: rgba(255,255,255,0.80);
  display: block;
  margin-bottom: 2px;
}

/* Footer bottom */
.footer-bottom {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.22);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: white;
}

.footer-payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-icon {
  background: rgba(255,255,255,0.10);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================================
   === 21. ANIMATIONS & UTILITIES ===
   ============================================================ */

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.fade-left  { transform: translateX(-32px); }
.animate-on-scroll.fade-right { transform: translateX(32px); }
.animate-on-scroll.fade-scale { transform: scale(0.92); }

.animate-on-scroll.fade-left.animated,
.animate-on-scroll.fade-right.animated,
.animate-on-scroll.fade-scale.animated {
  transform: none;
}

.animate-delay-1 { transition-delay: 0.10s; }
.animate-delay-2 { transition-delay: 0.20s; }
.animate-delay-3 { transition-delay: 0.30s; }
.animate-delay-4 { transition-delay: 0.40s; }
.animate-delay-5 { transition-delay: 0.50s; }
.animate-delay-6 { transition-delay: 0.60s; }

/* Dividers */
.divider {
  width: 60px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 16px 0;
}

.divider-center { margin: 16px auto; }
.divider-orange { background: var(--orange); }
.divider-navy   { background: var(--navy); }

/* Loading spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,0.30);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.spinner-sm { width: 16px; height: 16px; border-width: 2px; }
.spinner-lg { width: 40px; height: 40px; border-width: 4px; }
.spinner-navy { border-color: rgba(30,42,94,0.15); border-top-color: var(--navy); }
.spinner-green { border-color: rgba(34,117,4,0.15); border-top-color: var(--green); }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--border-light) 25%,
    var(--surface) 50%,
    var(--border-light) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

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

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--navy);
  color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  min-width: 280px;
  animation: toast-in 0.3s cubic-bezier(0.4,0,0.2,1);
  border-left: 4px solid var(--green);
}

.toast.success { border-left-color: var(--green); }
.toast.error   { border-left-color: #e53e3e; }
.toast.warning { border-left-color: var(--orange); }
.toast.info    { border-left-color: var(--navy-light); }

.toast svg { width: 20px; height: 20px; flex-shrink: 0; }

@keyframes toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}

/* Shake animation (form validation) */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60%  { transform: translateX(-8px); }
  40%, 80%  { transform: translateX(8px); }
}

.shake { animation: shake 0.4s ease; }

/* Pulse animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.pulse { animation: pulse 2s ease-in-out infinite; }

/* Fade in */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in { animation: fadeIn 0.5s ease; }

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-light);
  border-radius: 4px;
  border: 2px solid var(--surface);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--navy);
}

/* Selection */
::selection {
  background: rgba(34,117,4,0.20);
  color: var(--navy);
}

::-moz-selection {
  background: rgba(34,117,4,0.20);
  color: var(--navy);
}

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

/* ============================================================
   === 22. RESPONSIVE MEDIA QUERIES ===
   ============================================================ */

/* 1280px - Large Desktop */
@media (max-width: 1280px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .branches-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 1200px */
@media (max-width: 1200px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .products-featured-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 56px; }
}

/* 1024px - Tablet landscape */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0;
  }

  .hero-visual { display: none; }

  .hero-stats { justify-content: center; }
  .hero-cta-group { justify-content: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-badge { margin: 0 auto 24px; }

  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .products-featured-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
  .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

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

  .cart-drawer { width: 100%; right: -100%; }

  .desktop-only { display: none; }
  .mobile-only  { display: block; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .promo-banner { padding: 60px 0; }
  .about-visual-grid { max-width: 480px; }
}

/* 768px - Tablet portrait */
@media (max-width: 768px) {
  .section-title  { font-size: 30px; }
  .section-header { margin-bottom: 40px; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-featured-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

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

  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero-stat-number { font-size: 26px; }
  .hero-stat-divider { display: none; }

  .container { padding-left: 16px; padding-right: 16px; }

  .contact-form-wrap { padding: 24px 20px; }
  .form-row { flex-direction: column; }

  .promo-banner h2 { font-size: 32px; }
  .promo-countdown { gap: 10px; }
  .countdown-number { font-size: 24px; }
  .countdown-unit { padding: 10px 12px; min-width: 54px; }

  .map-wrapper { padding-bottom: 60%; }

  .brands-carousel-wrapper::before,
  .brands-carousel-wrapper::after { width: 60px; }
}

/* 480px - Mobile */
@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .hero-cta-group { flex-direction: column; gap: 10px; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }

  .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card { padding: 24px 16px 20px; min-height: 200px; }
  .category-name { font-size: 18px; }

  .products-featured-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

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

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 40px; }

  .announcement-bar { display: none; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .whatsapp-tooltip { display: none; }

  .contact-form-wrap { padding: 20px 16px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-payment-icons { flex-wrap: wrap; justify-content: center; }

  .about-visual-grid { grid-template-columns: 1fr 1fr; }

  .mobile-nav { padding: 90px 16px 24px; }
  .mobile-nav .nav-menu > li > a { font-size: 20px; }
}

/* 360px - Small mobile */
@media (max-width: 360px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .hero-title { font-size: 30px; }
  .btn-lg { padding: 14px 24px; }
  .categories-grid { gap: 8px; }
}

/* Print styles */
@media print {
  .site-header,
  .announcement-bar,
  .whatsapp-float,
  .cart-drawer,
  .cart-overlay,
  .mobile-nav { display: none !important; }

  body { font-size: 12pt; }
  a { color: inherit; text-decoration: none; }
}

/* ============================================================
   === 20. WOOCOMMERCE CATALOG & FILTERS ===
   ============================================================ */
.catalog-layout {
  display: block;
  margin-bottom: 80px;
}
.horizontal-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 36px;
  position: relative;
}
@media (max-width: 768px) {
  .horizontal-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}
.filter-dropdowns-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-dropdown-item {
  position: relative;
}
.filter-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-dropdown-trigger:hover {
  background: var(--surface-2);
  border-color: var(--text-muted);
}
.filter-dropdown-trigger.active {
  background: rgba(34,117,4,0.08);
  border-color: var(--green);
  color: var(--green-dark);
}
.filter-dropdown-trigger .chevron-icon {
  transition: transform 0.2s ease;
}
.filter-dropdown-item.active .filter-dropdown-trigger .chevron-icon {
  transform: rotate(180deg);
}
.filter-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 50;
  margin-top: 8px;
}
.filter-dropdown-item.active .filter-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.clear-filters-btn {
  background: none;
  border: 1px dashed var(--green);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
}
.clear-filters-btn:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.filter-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--navy);
  border-bottom: 2px solid var(--green);
  padding-bottom: 6px;
  letter-spacing: 0.5px;
}
.filter-options-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  padding: 2px 0;
  white-space: nowrap;
}
.filter-label:hover {
  color: var(--navy);
  transform: translateX(2px);
}
.filter-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  cursor: pointer;
}
.price-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--surface-2);
  outline: none;
  margin: 0;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.range-slider::-webkit-slider-thumb:hover {
  background: var(--green-dark);
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(34,117,4,0.15);
}
.price-labels-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 700;
  margin-top: 4px;
}
.filter-sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.orderby {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
  background: white;
  outline: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.orderby:focus {
  border-color: var(--green);
}
.catalog-container {
  position: relative;
  transition: opacity 0.3s ease;
}
.catalog-loading-overlay {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 16px 24px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.catalog-container.loading .catalog-loading-overlay {
  opacity: 1;
  visibility: visible;
}
.spinner-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  animation: bounce-dot 1.4s infinite ease-in-out both;
}
.spinner-dot:nth-child(1) { animation-delay: -0.32s; }
.spinner-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce-dot {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

/* Grid de productos de 4 columnas responsivo */
#dg-product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 1024px) {
  #dg-product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  #dg-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  #dg-product-grid {
    grid-template-columns: 1fr !important;
  }
}


