/* ============================================================
   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 PREMIUM REDESIGN ===
   ============================================================ */
.hero-section {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 75% 45%, #182859 0%, #0c1228 55%, #070a18 100%);
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 70px;
}

/* Luces y auras de fondo */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}
.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: 5%;
  background: radial-gradient(circle, rgba(34, 117, 4, 0.45) 0%, rgba(34, 117, 4, 0) 70%);
}
.hero-glow-2 {
  width: 600px;
  height: 600px;
  bottom: -150px;
  right: 15%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.25) 0%, rgba(0, 200, 255, 0) 70%);
}
.hero-glow-3 {
  width: 400px;
  height: 400px;
  top: 30%;
  left: -100px;
  background: radial-gradient(circle, rgba(30, 42, 94, 0.5) 0%, rgba(30, 42, 94, 0) 70%);
}
.hero-speed-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.015) 40px,
    rgba(255, 255, 255, 0.015) 41px
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
}
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

/* Badge Superior */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 10px var(--green-bright);
  animation: pulse-dot 2s infinite ease-in-out;
}

/* Título */
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.text-gradient {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* Subtítulo */
.hero-subtitle {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0 0 30px;
  max-width: 540px;
}
@media (max-width: 1024px) {
  .hero-subtitle {
    margin: 0 auto 30px;
  }
}

/* Botones CTA */
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
@media (max-width: 1024px) {
  .hero-cta-group {
    justify-content: center;
  }
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(34, 117, 4, 0.4);
}
.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 117, 4, 0.55);
}

/* Quick Sports Chips */
.hero-sports-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .hero-sports-bar {
    justify-content: center;
  }
}
.sports-bar-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.8px;
}
.sports-chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sport-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.sport-chip:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 117, 4, 0.35);
}

/* Stats Rápidas */
.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .hero-stats {
    justify-content: center;
    gap: 20px;
  }
}
.hero-stat {
  text-align: left;
}
@media (max-width: 1024px) {
  .hero-stat {
    text-align: center;
  }
}
.hero-stat-number {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--green-bright);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
  display: block;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  align-self: stretch;
}

/* ============================================================
   === SHOWCASE 3D STAGE (COLUMNA DERECHA) ===
   ============================================================ */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-showcase-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Auras de resplandor */
.stage-glow-back {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.stage-glow-green {
  width: 320px;
  height: 320px;
  background: rgba(34, 117, 4, 0.45);
  top: 15%;
  left: 10%;
  animation: pulse-aura 6s ease-in-out infinite alternate;
}
.stage-glow-blue {
  width: 280px;
  height: 280px;
  background: rgba(0, 200, 255, 0.3);
  bottom: 15%;
  right: 10%;
  animation: pulse-aura 8s ease-in-out infinite alternate-reverse;
}
@keyframes pulse-aura {
  0%   { transform: scale(0.9) translate(0, 0); opacity: 0.35; }
  100% { transform: scale(1.15) translate(15px, -15px); opacity: 0.6; }
}

/* Anillo decorativo */
.stage-ring-decoration {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 1px dashed rgba(76, 175, 80, 0.25);
  animation: spin-slow 35s linear infinite;
  pointer-events: none;
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* Envoltorio de imagen flotante */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  width: 92%;
  height: 92%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: float-hero 6s ease-in-out infinite;
  background: #0d1533;
}
@keyframes float-hero {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(0.5deg); }
}

.hero-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.hero-image-wrapper:hover .hero-showcase-img {
  transform: scale(1.04);
}

/* Badges flotantes (Glassmorphism) */
.hero-floating-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 21, 51, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  animation: float-badge 5s ease-in-out infinite;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hero-floating-badge:hover {
  transform: scale(1.05) !important;
  border-color: var(--green-bright);
}

.badge-top-right {
  top: 2%;
  right: -5%;
  animation-delay: 0s;
}
.badge-bottom-left {
  bottom: 5%;
  left: -8%;
  animation-delay: -1.8s;
}
.badge-bottom-right {
  bottom: -6%;
  right: 6%;
  animation-delay: -3.2s;
}

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

@media (max-width: 768px) {
  .badge-top-right {
    top: -2%;
    right: 0%;
  }
  .badge-bottom-left {
    bottom: -2%;
    left: 0%;
  }
  .badge-bottom-right {
    display: none;
  }
}

.badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}
.badge-icon-box.bg-green  { background: linear-gradient(135deg, #15803d 0%, #22c55e 100%); }
.badge-icon-box.bg-blue   { background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%); }
.badge-icon-box.bg-orange { background: linear-gradient(135deg, #c2410c 0%, #f97316 100%); }

.badge-live-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 12px white;
  animation: pulse-dot 1.5s infinite;
}

.badge-text-group {
  display: flex;
  flex-direction: column;
}
.badge-tag-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.badge-tag-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  margin-top: 2px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  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;
  text-decoration: none;
}

.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;
}

/* ============================================================
   === 14. PRO STORE LOCATOR & INTERACTIVE MAP ===
   ============================================================ */
.branches-section {
  padding: 90px 0;
  background: var(--surface);
  position: relative;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 50px;
  margin-bottom: 30px;
}
@media (max-width: 1200px) {
  .branches-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .branches-grid {
    grid-template-columns: 1fr;
  }
}

/* Tarjeta de Sucursal Pro */
.branch-card {
  background: #0d1533;
  color: white;
  border-radius: 16px;
  padding: 20px 18px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  outline: none;
}
.branch-card:hover {
  background: #141f48;
  border-color: rgba(76, 175, 80, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.branch-card.active {
  background: linear-gradient(145deg, #162557 0%, #0d1533 100%);
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.3), 0 10px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.branch-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.branch-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
}
.branch-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
  padding: 2px 8px;
  border-radius: 12px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 1.8s infinite;
}

.branch-name {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  color: white;
  margin: 0;
  letter-spacing: 0.5px;
}

.branch-address {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.45;
}
.branch-address svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-bright);
}

.branch-phone-row {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-bright);
  display: flex;
  gap: 6px;
  align-items: center;
}
.branch-phone-row svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.branch-hours {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  gap: 6px;
  align-items: center;
}
.branch-hours svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.branch-active-pill {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  transition: all 0.2s ease;
}
.branch-card.active .branch-active-pill {
  color: var(--green-bright);
  font-weight: 700;
  background: rgba(34, 197, 94, 0.12);
  border-radius: 8px;
  padding: 6px 10px;
  border-top: none;
}

/* Escenario Pro del Mapa */
.pro-map-stage {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-top: 36px;
}

/* Barra superior interactiva sobre el mapa */
.map-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #0f172a;
  color: white;
  border-bottom: 3px solid var(--green);
  flex-wrap: wrap;
  gap: 16px;
}
.map-selected-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.map-branch-pin-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(34, 117, 4, 0.4);
}
.map-branch-meta {
  display: flex;
  flex-direction: column;
}
.map-meta-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.map-meta-title-row h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.map-live-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  padding: 2px 8px;
  border-radius: 10px;
}
.map-branch-meta p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* Botones de acción directa sobre el mapa */
.map-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.map-btn-gps {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 12px rgba(34, 117, 4, 0.35);
}
.map-btn-gps:hover {
  background: var(--green-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 117, 4, 0.45);
}
.map-btn-wa {
  background: #25d366;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.map-btn-wa:hover {
  background: #1eb954;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}
.map-btn-call {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.map-btn-call:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
}

/* Marco del mapa con loading */
.map-frame-wrapper {
  position: relative;
  height: 480px;
  width: 100%;
  background: #0f172a;
}
@media (max-width: 768px) {
  .map-frame-wrapper {
    height: 380px;
  }
}
.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-loader {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.map-loader.loading {
  opacity: 1;
  visibility: visible;
}


/* ============================================================
   === 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 PRO CATALOG, HERO & CARDS ===
   ============================================================ */

/* Shop Hero Banner Élite */
.shop-hero-banner {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 35%, #182859 0%, #0c1228 55%, #070a18 100%);
  padding: calc(var(--header-height) + 36px) 0 44px;
  color: white;
  border-bottom: 3px solid var(--green);
}
.shop-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.4;
}
.shop-hero-glow-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  right: 10%;
  background: radial-gradient(circle, rgba(34, 117, 4, 0.4) 0%, transparent 70%);
}
.shop-hero-glow-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: 5%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.25) 0%, transparent 70%);
}
.shop-hero-speed-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 35px,
    rgba(255, 255, 255, 0.015) 35px,
    rgba(255, 255, 255, 0.015) 36px
  );
  pointer-events: none;
}
.shop-hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.shop-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.shop-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px var(--green-bright);
  animation: pulse-dot 2s infinite;
}
.shop-hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  margin: 0 0 14px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.shop-hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 660px;
}

/* Quick Sport Filter Chips Bar */
.shop-sport-chips-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.shop-sport-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}
.shop-sport-chip:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 117, 4, 0.35);
}
.shop-sport-chip.active {
  background: var(--green);
  color: white;
  border-color: var(--green-bright);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  font-weight: 700;
}

/* Barra de Confianza (Trust Bar) */
.shop-trust-bar {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.shop-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .shop-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .shop-trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.shop-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  font-size: 24px;
}
.trust-text {
  display: flex;
  flex-direction: column;
}
.trust-text strong {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.trust-text span {
  font-size: 12px;
  color: #64748b;
}

/* Envoltorio principal del catálogo */
.shop-main-wrapper {
  padding: 40px 0 80px;
  background: #f8fafc;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Sidebar de Filtros Pro */
.catalog-sidebar {
  background: white;
  border-radius: 18px;
  padding: 26px 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: calc(var(--header-height) + 16px);
}
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 22px;
}
.sidebar-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.sidebar-filter-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.sidebar-title-group h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.5px;
}
.clear-filters-link {
  background: #fee2e2;
  border: none;
  color: #b91c1c;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
}
.clear-filters-link:hover {
  background: #fecaca;
  color: #991b1b;
}

/* Cajas de cada filtro */
.filter-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}
.filter-box:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.filter-box-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-box-content {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.filter-scrollable {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 6px;
}
.filter-scrollable::-webkit-scrollbar {
  width: 4px;
}
.filter-scrollable::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Filas de checkbox */
.filter-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: #334155;
  transition: color 0.15s ease;
  position: relative;
  user-select: none;
}
.filter-checkbox-row:hover {
  color: var(--navy);
}
.filter-checkbox-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.custom-check {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 5px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.filter-checkbox-row:hover .custom-check {
  border-color: var(--green);
}
.filter-checkbox-row input:checked ~ .custom-check {
  background: var(--green);
  border-color: var(--green);
}
.filter-checkbox-row input:checked ~ .custom-check::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.filter-label-text {
  flex: 1;
  line-height: 1.35;
}
.filter-item-count {
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
}

/* Slider de precio */
.price-range-ui {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 117, 4, 0.4);
  transition: transform 0.15s ease;
}
.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
.price-current-val {
  color: var(--navy);
  font-weight: 700;
}

/* Barra superior del catálogo */
.catalog-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 16px 24px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  flex-wrap: wrap;
  gap: 14px;
}
.catalog-count-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #334155;
  font-weight: 600;
}
.count-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
}
.catalog-count-wrap p {
  margin: 0;
}
.catalog-sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}
.catalog-sort-wrap select.orderby {
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  background: white;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}
.catalog-sort-wrap select.orderby:focus {
  border-color: var(--green);
}

/* ============================================================
   === TARJETAS DE PRODUCTOS PRO (DG-PRO-CARD) ===
   ============================================================ */
.catalog-container {
  position: relative;
  min-height: 400px;
}

/* Cuadrícula de 3 columnas fijas */
ul.products.dg-products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (max-width: 1200px) {
  ul.products.dg-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}
@media (max-width: 640px) {
  ul.products.dg-products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Tarjeta individual */
.product-card.dg-pro-card,
.product-card {
  background: white !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
  position: relative !important;
}
.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
}

/* Imagen del producto con fondo de estudio */
.product-card-image {
  height: 240px !important;
  position: relative !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 18px !important;
}
.product-image-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}
.product-card-image img,
.product-thumb-img {
  max-height: 100% !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: auto !important;
  display: block !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

/* Badges sobre la imagen */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.badge-sale { background: linear-gradient(135deg, #ea580c 0%, #f97316 100%); }
.badge-new  { background: linear-gradient(135deg, #15803d 0%, #22c55e 100%); }
.badge-hot  { background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%); }
.badge-out  { background: #64748b; }

/* Pastilla de sucursales */
.product-branch-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(13, 21, 51, 0.85);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.dot-live {
  width: 7px;
  height: 7px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green-bright);
  animation: pulse-dot 1.8s infinite;
}

/* Cuerpo de la tarjeta */
.product-card-body {
  padding: 18px 20px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  background: white;
}
.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.product-brand {
  font-size: 11.5px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
}
.product-auth-check {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  background: rgba(34, 197, 94, 0.1);
  padding: 2px 7px;
  border-radius: 10px;
}
.product-name {
  font-family: 'Oswald', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #0f172a !important;
  margin: 0 0 10px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  height: 46px !important;
}
.product-name a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.product-name a:hover {
  color: var(--green) !important;
}

/* Precios */
.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.product-price-wrap .woocommerce-Price-amount,
.product-price-wrap ins .woocommerce-Price-amount {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #15803d;
}
.product-price-wrap del .woocommerce-Price-amount {
  font-size: 13.5px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

/* Botón Añadir al Carrito Visible & Táctil */
.product-card-actions {
  margin-top: auto;
}
.btn-quick-add {
  width: 100%;
  background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-family: 'Oswald', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.32);
}
.btn-quick-add:hover {
  background: linear-gradient(135deg, #14532d 0%, #16a34a 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.45);
}
.btn-quick-add:active {
  transform: scale(0.98);
}
.btn-quick-add.loading {
  opacity: 0.8;
  cursor: wait;
}
.btn-quick-add.success {
  background: #15803d;
}
.btn-view-options {
  background: linear-gradient(135deg, #0f172a 0%, #1e2a5e 100%);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}
.btn-view-options:hover {
  background: linear-gradient(135deg, #020617 0%, #172554 100%);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
}
.btn-out-of-stock {
  background: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

/* Overlay de carga AJAX */
.catalog-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  border-radius: 16px;
}
.catalog-container.loading .catalog-loading-overlay {
  opacity: 1;
  visibility: visible;
}
.spinner-box {
  background: #0f172a;
  padding: 16px 26px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: white;
  font-size: 13.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.spinner-ring {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--green-bright);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

/* No products found */
.no-products-found {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.no-products-icon {
  font-size: 44px;
  margin-bottom: 14px;
}
.no-products-found h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 8px;
}
.no-products-found p {
  color: #64748b;
  margin: 0 0 24px;
  font-size: 14.5px;
}

/* ============================================================
   === 21. DETALLE DE PRODUCTO PRO: FORM, BOTÓN & SUCURSALES ===
   ============================================================ */
.dg-single-product-container {
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  gap: 50px !important;
  align-items: start !important;
  margin-bottom: 50px !important;
  background: white !important;
  padding: 40px !important;
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
@media (max-width: 991px) {
  .dg-single-product-container {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 24px !important;
  }
}

/* Formulario de Compra WooCommerce */
.single-product-actions-area form.cart,
form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 16px !important;
  margin: 18px 0 !important;
  padding: 18px 0 !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

/* Selector de Cantidad */
.quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  overflow: hidden !important;
  height: 52px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.quantity:focus-within {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15) !important;
  background: white !important;
}
.quantity .qty {
  width: 70px !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Botón Añadir al Carrito Pro y Visible */
button.single_add_to_cart_button,
.single_add_to_cart_button.button,
.woocommerce div.product form.cart .button {
  flex: 1 !important;
  min-width: 240px !important;
  height: 52px !important;
  background: linear-gradient(135deg, #15803d 0%, #22c55e 100%) !important;
  color: white !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 32px !important;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
button.single_add_to_cart_button:hover,
.single_add_to_cart_button.button:hover,
.woocommerce div.product form.cart .button:hover {
  background: linear-gradient(135deg, #14532d 0%, #16a34a 100%) !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 26px rgba(34, 197, 94, 0.45) !important;
}
button.single_add_to_cart_button:active,
.single_add_to_cart_button.button:active {
  transform: scale(0.98) !important;
}

/* Widget Selector de Sucursales */
.dg-branch-selection-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  margin-top: 10px;
}
.dg-branch-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.dg-branch-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dg-branch-icon {
  font-size: 26px;
}
.dg-branch-title {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
  letter-spacing: 0.5px;
}
.dg-branch-subtitle {
  font-size: 12.5px;
  color: #64748b;
  margin: 2px 0 0;
}
.dg-branch-badge-live {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Opciones de Sucursales */
.dg-branch-options-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.dg-branch-option-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}
.dg-branch-option-item:hover {
  border-color: #94a3b8;
  transform: translateX(3px);
}
.dg-branch-option-item.active {
  border-color: var(--green);
  background: #f0fdf4;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.12);
}
.dg-branch-radio {
  display: none;
}
.dg-branch-radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.dg-branch-option-item.active .dg-branch-radio-custom {
  border-color: var(--green);
  background: var(--green);
}
.dg-branch-option-item.active .dg-branch-radio-custom::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}
.dg-branch-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dg-branch-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.dg-branch-name {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
}
.dg-branch-address-sm {
  font-size: 12px;
  color: #64748b;
}
.dg-branch-hours {
  font-size: 11px;
  color: #94a3b8;
}
.dg-branch-stock-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  flex-shrink: 0;
}
.dg-branch-stock-pill.in-stock {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}
.dg-branch-stock-pill.out-of-stock {
  background: #fee2e2;
  color: #b91c1c;
}

/* Enlace a WhatsApp por Sucursal */
.dg-branch-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 16px;
  background: #dcfce7;
  color: #15803d;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  justify-content: center;
}
.dg-branch-whatsapp-link:hover {
  background: #22c55e;
  color: white;
  transform: translateY(-1px);
}

/* Fila de Garantías */
.product-guarantees-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
@media (max-width: 600px) {
  .product-guarantees-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

/* ============================================================
   === 22. CHECKOUT PRO GRID & LOOK AND FEEL ===
   ============================================================ */
.checkout-main-area,
.cart-main-area {
  overflow-x: clip !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.checkout-main-area .container,
.cart-main-area .container {
  width: 100% !important;
  max-width: 1260px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* FIX NESTED GRID BUG: Contenedores externos DEBEN SER display: block */
.entry-content,
.alignwide,
.alignfull,
.entry-content > .alignwide,
.entry-content > .alignfull,
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-checkout.alignwide,
.wp-block-woocommerce-checkout.alignfull,
.wc-block-checkout,
.wc-block-checkout.alignwide,
.wc-block-checkout.alignfull,
.wc-block-checkout__form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* EL ÚNICO GRID ES .wc-block-components-sidebar-layout */
.wc-block-components-sidebar-layout,
form.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 460px !important;
  gap: 36px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Breakpoints Responsivos */
@media (max-width: 1140px) {
  .wc-block-components-sidebar-layout,
  form.woocommerce-checkout {
    grid-template-columns: minmax(0, 1fr) 400px !important;
    gap: 24px !important;
  }
}

@media (max-width: 960px) {
  .wc-block-components-sidebar-layout,
  form.woocommerce-checkout {
    grid-template-columns: 100% !important;
    gap: 28px !important;
  }
  .wc-block-components-sidebar-layout .wc-block-components-sidebar,
  .wc-block-checkout__sidebar,
  .wp-block-woocommerce-checkout-totals-block,
  .checkout-review-payment-wrap {
    max-width: 100% !important;
    position: static !important;
  }
}

/* Columna Izquierda: Formularios Amplios (~720px) */
.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-checkout__main,
.wp-block-woocommerce-checkout-fields-block,
.checkout-billing-shipping-wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  flex: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

/* Tarjetas Blancas de Información de Contacto / Dirección */
.wc-block-components-main > div,
.wc-block-checkout__main > div,
.wp-block-woocommerce-checkout-fields-block > div,
.wc-block-components-checkout-step,
.checkout-billing-shipping-wrap > div {
  background: #ffffff !important;
  border-radius: 18px !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  padding: 32px !important;
  box-sizing: border-box !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

/* Aviso de Compra como Invitado */
.wc-block-checkout__guest-checkout-notice,
.wc-block-must-login-prompt {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  font-size: 13.5px !important;
  color: #475569 !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

/* Títulos de Sección en la Columna Izquierda */
.wc-block-components-checkout-step__title,
.wc-block-components-title,
.wc-block-checkout h2,
.wc-block-checkout h3,
.wp-block-woocommerce-checkout h2,
.wp-block-woocommerce-checkout h3 {
  font-family: 'Oswald', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 0 20px !important;
  border-bottom: 2px solid var(--green) !important;
  padding-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Inputs de Formulario */
.wc-block-components-text-input,
.wc-block-components-combobox,
.wc-block-components-select,
.woocommerce-checkout .form-row {
  margin-bottom: 16px !important;
  box-sizing: border-box !important;
}

.wc-block-components-text-input input,
.wc-block-components-combobox input,
.wc-block-components-select input,
.wc-block-components-combobox__input,
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  height: 48px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14.5px !important;
  padding: 0 16px !important;
  background: #f8fafc !important;
  color: var(--navy) !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox input:focus,
.wc-block-components-select input:focus,
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: var(--green) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15) !important;
}

/* RECONSTRUCCIÓN TOTAL: RESUMEN DEL PEDIDO (460px) */
.wc-block-components-sidebar-layout .wc-block-components-sidebar,
.wc-block-checkout__sidebar,
.wp-block-woocommerce-checkout-totals-block,
.checkout-review-payment-wrap {
  width: 100% !important;
  max-width: 460px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 32px !important;
  box-sizing: border-box !important;
  flex: none !important;
  position: sticky !important;
  top: calc(var(--header-height) + 24px) !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
}

/* ELIMINAR TODOS LOS BORDES INTERNOS ANIDADOS */
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-components-order-summary,
.wc-block-components-panel,
.wp-block-woocommerce-checkout-order-summary-cart-items-block,
.wp-block-woocommerce-checkout-order-summary-totals-block {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Encabezado Principal del Resumen */
.wc-block-components-order-summary h2,
.wc-block-components-order-summary .wc-block-components-title,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
  font-family: 'Oswald', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1e2a5e !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  border-bottom: 2px solid #22c55e !important;
  padding-bottom: 12px !important;
  margin: 0 0 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Filas de Producto en el Resumen */
.wc-block-components-order-summary-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 16px 0 !important;
  border-bottom: 1px dashed #e2e8f0 !important;
  box-sizing: border-box !important;
}

.wc-block-components-order-summary-item:last-child {
  border-bottom: none !important;
}

/* Miniatura de Producto */
.wc-block-components-order-summary-item__image {
  width: 68px !important;
  height: 68px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  flex-shrink: 0 !important;
}

.wc-block-components-order-summary-item__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Columna de Texto del Producto */
.wc-block-components-order-summary-item__description {
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

/* Título de Producto Limpio */
.wc-block-components-product-name,
.wc-block-components-order-summary-item__description a {
  font-family: 'Inter', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #1e2a5e !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  display: block !important;
  margin: 0 !important;
}

/* Eliminar completamente el párrafo de excerpt que satura la tarjeta */
.wc-block-components-order-summary-item__description p:not(.wc-block-components-product-name) {
  display: none !important;
}

/* Precio en la fila del producto */
.wc-block-components-product-price {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e2a5e !important;
  white-space: nowrap !important;
  text-align: right !important;
}

/* Badge de Ahorro Limpio */
.wc-block-components-order-summary-item .wc-block-components-sale-badge,
.wc-block-components-order-summary-item [class*="discount"] {
  background: #dcfce7 !important;
  color: #15803d !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  padding: 2px 8px !important;
  display: inline-block !important;
  width: fit-content !important;
}

/* Cupones */
.wc-block-components-totals-coupon-link,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block {
  margin: 14px 0 !important;
  padding: 10px 0 !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

/* Totales y Subtotales */
.wc-block-components-totals-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 8px 0 !important;
  font-size: 14px !important;
  color: #64748b !important;
}

.wc-block-components-totals-item--total {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--green) !important;
  border-top: 2px solid #e2e8f0 !important;
  margin-top: 14px !important;
  padding-top: 14px !important;
}

.wc-block-components-totals-item--total .wc-block-components-totals-item__value {
  font-family: 'Oswald', sans-serif !important;
  font-size: 26px !important;
  color: var(--green) !important;
}

/* Botón Realizar Pedido Atlético */
.wc-block-components-checkout-place-order-button,
.wc-block-components-button.wp-element-button,
.woocommerce-checkout #place_order {
  height: 56px !important;
  background: linear-gradient(135deg, #15803d 0%, #22c55e 100%) !important;
  color: white !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35) !important;
  transition: all 0.25s ease !important;
  width: 100% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 20px !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.wp-element-button:hover,
.woocommerce-checkout #place_order:hover {
  background: linear-gradient(135deg, #14532d 0%, #16a34a 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45) !important;
}

.wc-block-components-checkout-place-order-button:active,
.woocommerce-checkout #place_order:active {
  transform: scale(0.99) !important;
}

/* ============================================================
   === CORRECCION etiqueta-flotante-guicho (2026-09-05) ===
   El checkout de bloques usa etiquetas flotantes: al llenarse el campo la
   etiqueta se encoge y se queda en la franja superior. Las reglas de arriba
   fijan height 48px y padding 0 16px, asi que el valor se centra en esa misma
   franja y los dos textos se montan. Aqui se devuelve el espacio de arriba.
   El checkout clasico (.woocommerce-checkout .form-row) NO usa etiqueta
   flotante, por eso queda deliberadamente fuera de estos selectores.
   Para revertir: borrar este bloque (o restaurar el .bak-20260905).
   ============================================================ */
.wc-block-components-text-input input,
.wc-block-components-combobox input,
.wc-block-components-combobox__input,
.wc-block-components-address-form select,
.wc-block-components-country-input select,
.wc-block-components-state-input select {
	height: 52px !important;
	padding: 26px 16px 6px !important;
	line-height: 20px !important;
}
