/*
Theme Name: UKE Colombia
Theme URI: https://ukecyclingcolombia.com
Author: UKE Colombia
Author URI: https://ukecyclingcolombia.com
Description: Tema oficial de UKE Colombia — Distribuidores oficiales de UKE Cycling. Ropa de ciclismo de alto rendimiento.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: uke-colombia
Tags: e-commerce, woocommerce, cycling, sport
*/

/* ============================================================
   VARIABLES GLOBALES
   ============================================================ */
:root {
  --black:       #0a0a0a;
  --white:       #fafaf8;
  --red:         #e02020;
  --red-dark:    #b01818;
  --gold:        #f5c518;
  --gray:        #888;
  --gray-light:  #f0efeb;
  --gray-mid:    #dddbd4;
  --green:       #25D366;
  --font-display:'Bebas Neue', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --container:   1320px;
  --radius:      4px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.15);
  --transition:  0.2s ease;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

button { cursor: pointer; }

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

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  line-height: 1;
  font-weight: 400;
}

h1 { font-size: clamp(48px, 8vw, 100px); }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
p  { line-height: 1.7; }

/* ============================================================
   CONTENEDOR
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform 0.15s, border-color var(--transition);
  border: 2px solid transparent;
  line-height: 1;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary  { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }

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

.btn-dark     { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #222; color: var(--white); }

/* ============================================================
   BARRA DE ANUNCIO
   ============================================================ */
.announce-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 9px 1rem;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  width: 100%;
  box-sizing: border-box;
  display: block;
}

.announce-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.announce-sep { color: rgba(255,255,255,0.3); }
.announce-highlight { color: var(--gold); font-weight: 700; }

/* ============================================================
   NAVEGACIÓN
   ============================================================ */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.08em;
  color: var(--black);
  flex-shrink: 0;
}

.site-logo sup {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  padding: 2px 5px;
  border-radius: 3px;
  vertical-align: super;
  letter-spacing: 0.05em;
}

/* Menú principal */
.nav-menu {
  display: flex;
  gap: 0;
  flex: 1;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 0 16px;
  line-height: 64px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--black);
  transition: color var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li:hover > a { color: var(--red); }

.nav-menu > li:hover .sub-menu { display: block; }

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-top: 3px solid var(--red);
  min-width: 200px;
  padding: 12px 0;
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

.sub-menu li a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  color: var(--black);
  transition: background var(--transition);
}

.sub-menu li a:hover {
  background: var(--gray-light);
  color: var(--red);
}

/* Acciones de navegación */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-search-toggle,
.nav-account {
  background: none;
  border: none;
  padding: 8px;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-search-toggle:hover,
.nav-account:hover { color: var(--red); }

.nav-label { font-size: 12px; }

.nav-cart {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  transition: background var(--transition) !important;
  position: relative;
}

.nav-cart:hover { background: var(--red-dark) !important; }

.nav-cart-badge {
  background: var(--white);
  color: var(--red);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Barra de búsqueda expandible */
.nav-search-bar {
  display: none;
  background: var(--gray-light);
  border-top: 1px solid var(--gray-mid);
  padding: 14px 0;
}

.nav-search-bar.is-open { display: block; }

.nav-search-bar input[type="search"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  background: var(--white);
}

.nav-search-bar input[type="search"]:focus { border-color: var(--red); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Menú Móvil ────────────────────────────────────────────── */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1099;
  backdrop-filter: blur(2px);
}

.mobile-menu-overlay.is-open { display: block; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--white);
  z-index: 1100;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.mobile-logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.08em;
}

.mobile-logo sup {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  padding: 2px 4px;
  border-radius: 2px;
  vertical-align: super;
}

.mobile-close {
  background: none;
  border: none;
  color: var(--black);
  padding: 4px;
}

.mobile-nav {
  flex: 1;
  padding: 16px 0;
}

.mobile-nav li { border-bottom: 1px solid var(--gray-light); }

.mobile-nav li a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
}

.mobile-nav .sub-menu {
  display: none;
  position: static;
  border: none;
  box-shadow: none;
  padding: 0;
  background: var(--gray-light);
}

.mobile-nav li.is-expanded .sub-menu { display: block; }

.mobile-nav .sub-menu li a {
  padding: 11px 20px 11px 36px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid var(--gray-mid);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-account-link,
.mobile-whatsapp-link {
  display: block;
  padding: 12px 16px;
  text-align: center;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
}

.mobile-account-link {
  background: var(--gray-light);
  color: var(--black);
}

.mobile-whatsapp-link {
  background: #25D366;
  color: var(--white);
}

/* ============================================================
   HERO
   ============================================================ */
.site-hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.45;
}

.hero-stripe {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #f5c518 33.3%, #003580 33.3% 66.6%, #c8102e 66.6%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 130px);
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title em { color: var(--red); font-style: normal; }

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-badge {
  position: absolute;
  right: 4rem;
  bottom: 3rem;
  background: var(--gold);
  color: var(--black);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 10px;
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-badge strong { font-size: 22px; display: block; }

/* ============================================================
   BARRA DE BENEFICIOS
   ============================================================ */
.perks-bar { background: var(--black); }

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.perk-item {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.perk-icon {
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.perk-text strong {
  display: block;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.perk-text span {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}

/* ============================================================
   SECCIONES GENERALES
   ============================================================ */
.section { padding: 80px 0; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 44px;
}

.section-title { color: var(--black); }
.section-title span { color: var(--red); }

.view-all {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: color var(--transition);
}

.view-all:hover { color: var(--red); }

/* ============================================================
   GRID DE CATEGORÍAS
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3px;
  height: 520px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-card:hover img { transform: scale(1.04); }

.cat-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 50px 24px 24px;
}

.cat-card-label h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.cat-card-links { display: flex; gap: 10px; flex-wrap: wrap; }

.cat-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 14px;
  border-radius: 2px;
  transition: background var(--transition);
}

.cat-link:hover { background: var(--red); border-color: var(--red); }

/* ============================================================
   GRID DE PRODUCTOS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card { cursor: pointer; }
.product-card-link { display: block; }

.product-img {
  position: relative;
  overflow: hidden;
  background: var(--gray-light);
  aspect-ratio: 3/4;
  margin-bottom: 14px;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s, transform 0.4s;
}

.product-img .img-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .img-main { opacity: 0; }
.product-card:hover .img-alt  { opacity: 1; }
.product-card:hover .product-img img { transform: scale(1.03); }

.badge-sale,
.badge-new {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}

.badge-sale { background: var(--red);   color: var(--white); }
.badge-new  { background: var(--black); color: var(--white); }

.btn-quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.3s, background var(--transition);
  cursor: pointer;
  border: none;
  width: 100%;
  font-family: var(--font-body);
}

.product-card:hover .btn-quick-add { transform: translateY(0); }

.btn-quick-add.is-added { background: #1a7a40; }
.btn-quick-add.is-loading { background: #444; }

.btn-select-options {
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.4;
}

.product-prices {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-current { font-size: 16px; font-weight: 700; color: var(--black); }
.price-original { font-size: 14px; color: var(--gray); text-decoration: line-through; }
.price-sale { color: var(--red); }

/* WooCommerce producto overrides */
.woocommerce ul.products li.product .price { color: var(--black); font-weight: 700; }
.woocommerce ul.products li.product .price del { color: var(--gray); }
.woocommerce ul.products li.product .price ins { color: var(--red); text-decoration: none; }
.woocommerce a.button,
.woocommerce button.button { background: var(--red); color: var(--white); border-radius: var(--radius); }
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--red-dark); color: var(--white); }

/* ============================================================
   BANNER DE OFERTAS
   ============================================================ */
.sale-banner {
  background: var(--black);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.sale-banner::before {
  content: 'SALE';
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%) rotate(-5deg);
  font-family: var(--font-display);
  font-size: 260px;
  color: rgba(255,255,255,0.03);
  letter-spacing: -10px;
  pointer-events: none;
}

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

.sale-text h2 {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 24px;
}

.sale-text h2 em { color: var(--gold); font-style: normal; }
.sale-text p { color: rgba(255,255,255,0.6); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }

.sale-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  height: 340px;
}

.sale-imgs > div { overflow: hidden; }
.sale-imgs img { width: 100%; height: 100%; object-fit: cover; }

.sale-imgs-right {
  display: grid;
  gap: 6px;
  grid-template-rows: 1fr 1fr;
}

/* ============================================================
   SECCIÓN NOSOTROS
   ============================================================ */
.about-section { background: var(--gray-light); padding: 80px 0; }

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

.about-text h2 { margin-bottom: 24px; }
.about-text h2 span { color: var(--red); }
.about-text p { font-size: 16px; line-height: 1.8; color: #444; margin-bottom: 16px; }

.about-img { overflow: hidden; border-radius: 2px; }
.about-img img { width: 100%; height: 420px; object-fit: cover; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-box { border-top: 3px solid var(--red); padding-top: 16px; }
.stat-box strong { font-family: var(--font-display); font-size: 40px; display: block; }
.stat-box span { font-size: 13px; color: var(--gray); letter-spacing: 0.04em; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: var(--red);
  padding: 60px 0;
  text-align: center;
}

.newsletter-section h2 { color: var(--white); margin-bottom: 12px; letter-spacing: 0.04em; }
.newsletter-section p { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 32px; }

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  border-radius: var(--radius) 0 0 var(--radius);
}

.newsletter-form button {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 15px 28px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background var(--transition);
}

.newsletter-form button:hover { background: #222; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111;
  color: var(--white);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.footer-logo sup {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  padding: 2px 5px;
  border-radius: 3px;
  vertical-align: super;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 280px;
}

.footer-contact {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 13px;
  border-bottom: 1px solid rgba(245,197,24,0.3);
  padding-bottom: 2px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }

.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; }

.pay-badge {
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

/* ============================================================
   WOOCOMMERCE — PÁGINAS GENERALES
   ============================================================ */
.woocommerce-page .container { padding-top: 40px; padding-bottom: 80px; }

.woocommerce .woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 32px;
}

/* ============================================================
   TIENDA / ARCHIVO
   ============================================================ */
.shop-header {
  background: var(--black);
  padding: 60px 0;
  margin-bottom: 48px;
}

.shop-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.shop-header h1 { color: var(--white); font-size: clamp(48px, 7vw, 80px); }
.shop-header h1 span { color: var(--red); }
.shop-cat-desc { color: rgba(255,255,255,0.6); font-size: 15px; margin-top: 12px; max-width: 600px; }

.shop-layout { padding-top: 0; }

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

.shop-toolbar select {
  padding: 8px 16px;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--white);
  cursor: pointer;
  outline: none;
}

.shop-delivery-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0f8f0;
  border: 1px solid #c3e6cb;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 13.5px;
  color: #155724;
  margin-bottom: 28px;
}

.shop-pagination {
  margin-top: 48px;
  text-align: center;
}

.shop-empty {
  padding: 80px 0;
  text-align: center;
}

.shop-empty-icon { font-size: 60px; margin-bottom: 20px; }
.shop-empty h3 { font-family: var(--font-display); font-size: 32px; margin-bottom: 12px; }
.shop-empty p { color: var(--gray); margin-bottom: 24px; }

/* WooCommerce paginación */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ============================================================
   SINGLE PRODUCT
   ============================================================ */
.single-product-wrap { padding-top: 32px; padding-bottom: 80px; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: start;
}

/* Galería */
.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  position: sticky;
  top: 80px;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 600px;
  overflow-y: auto;
}

.thumb-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 2px;
  padding: 2px;
  cursor: pointer;
  transition: border-color var(--transition);
  aspect-ratio: 1;
  overflow: hidden;
}

.thumb-btn:hover,
.thumb-btn.active { border-color: var(--red); }

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

.gallery-main { position: relative; }

.gallery-zoom-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3/4;
  background: var(--gray-light);
  cursor: zoom-in;
}

.gallery-zoom-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.zoom-icon {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-zoom-wrap:hover .zoom-icon { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* Info del producto */
.product-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--black);
}

.product-price-wrap {
  margin-bottom: 20px;
}

.product-price-wrap .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
}

.product-price-wrap .price del { color: var(--gray); font-size: 20px; }
.product-price-wrap .price ins { color: var(--red); text-decoration: none; }

.product-sku {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.product-short-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-mid);
  padding-bottom: 24px;
}

/* Formulario de compra */
.product-form-wrap { margin-bottom: 24px; }

.woocommerce div.product form.cart { margin-bottom: 0; }

.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart input[type="submit"] {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  padding: 16px 40px;
  border-radius: var(--radius);
  transition: background var(--transition), transform 0.15s;
  width: 100%;
  text-align: center;
  display: block;
  border: none;
  cursor: pointer;
}

.woocommerce div.product form.cart .button:hover { background: var(--red-dark); transform: translateY(-2px); }

/* Variaciones */
.woocommerce div.product form.cart .variations { margin-bottom: 20px; width: 100%; }
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th { padding: 6px 0 12px; vertical-align: top; }
.woocommerce div.product form.cart .variations label { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.woocommerce div.product form.cart .variations select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  cursor: pointer;
}
.woocommerce div.product form.cart .variations select:focus { border-color: var(--red); }

/* Tiempo de entrega */
.delivery-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0f8f0;
  border: 1px solid #c3e6cb;
  border-left: 4px solid #28a745;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.delivery-notice-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }

.delivery-notice-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.delivery-notice-text strong {
  font-size: 14px;
  color: #155724;
}

.delivery-notice-text span { color: #155724; }

/* Info de envío en producto */
.product-shipping-info {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shipping-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}

.shipping-icon { font-size: 16px; flex-shrink: 0; width: 24px; text-align: center; }

/* Guía de tallas */
.size-guide-toggle {
  background: none;
  border: none;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  text-decoration: underline;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.chevron-icon { transition: transform 0.2s; }
.size-guide-toggle[aria-expanded="true"] .chevron-icon { transform: rotate(180deg); }

.size-guide-panel {
  display: none;
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.size-guide-panel.is-open { display: block; }

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.size-table th {
  background: var(--black);
  color: var(--white);
  padding: 8px 12px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.size-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--gray-mid);
}

.size-table tr:nth-child(even) td { background: rgba(0,0,0,0.02); }

.size-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--gray);
  font-style: italic;
}

/* Confianza / pago */
.product-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-mid);
}

.trust-label { font-size: 12px; color: var(--gray); flex-shrink: 0; }

.trust-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.trust-badge {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #555;
}

/* Pestañas de producto */
.product-tabs-section {
  border-top: 1px solid var(--gray-mid);
  padding-top: 48px;
  margin-bottom: 64px;
}

.product-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-mid);
  margin-bottom: 32px;
  overflow-x: auto;
}

.uke-tab-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

.uke-tab-btn:hover { color: var(--black); }
.uke-tab-btn.active { color: var(--black); border-bottom-color: var(--red); }

.uke-tab-content { display: none; }
.uke-tab-content.active { display: block; }

/* ============================================================
   CARRITO Y CHECKOUT
   ============================================================ */
.woocommerce table.cart th,
.woocommerce table.cart td { padding: 16px; }

/* Aviso entrega en carrito */
.cart-delivery-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0f8f0;
  border: 1px solid #c3e6cb;
  border-left: 4px solid #28a745;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #155724;
}

.cart-delivery-notice span:first-child { font-size: 22px; }

/* Aviso entrega en checkout */
.checkout-delivery-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff8e1;
  border: 1px solid #ffd54f;
  border-left: 4px solid #ffc107;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 28px;
  font-size: 14px;
  color: #6d4c00;
}

.cdn-icon { font-size: 22px; flex-shrink: 0; }

/* Botón confirmar pedido */
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  width: 100%;
  padding: 18px;
  transition: background var(--transition);
  display: block;
  text-align: center;
}

.woocommerce #payment #place_order:hover { background: var(--red-dark); }

/* Campos del checkout */
.woocommerce form .input-text,
.woocommerce-page form .input-text {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition);
}

.woocommerce form .input-text:focus {
  border-color: var(--red);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-layout { gap: 40px; }
  .product-gallery { grid-template-columns: 64px 1fr; }
}

/* Mobile grande */
@media (max-width: 768px) {
  /* Nav */
  .nav-menu { display: none; }
  .nav-label { display: none; }
  .nav-hamburger { display: flex; }
  .hero-badge { display: none; }

  /* Hero */
  .hero-content { padding: 0 1.5rem; }

  /* Grids */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .cat-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .cat-card { height: 260px; }

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

  .sale-inner,
  .about-inner { grid-template-columns: 1fr; gap: 40px; }

  .sale-text h2 { font-size: 52px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .newsletter-form { flex-direction: column; }
  .newsletter-form input  { border-radius: var(--radius) var(--radius) 0 0; }
  .newsletter-form button { border-radius: 0 0 var(--radius) var(--radius); }

  /* Producto single */
  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-gallery {
    grid-template-columns: 1fr;
    position: static;
  }

  .gallery-thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    gap: 8px;
  }

  .thumb-btn { flex-shrink: 0; width: 64px; height: 64px; }

  /* Anuncio */
  .announce-bar-inner { flex-direction: column; gap: 4px; }
  .announce-sep { display: none; }
}

/* Mobile pequeño */
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding: 48px 0; }
  .shop-header { padding: 40px 0; }
  .container { padding: 0 1rem; }

  .product-tabs { gap: 0; }
  .uke-tab-btn { padding: 10px 14px; font-size: 12px; }

  .size-table { font-size: 11px; }
  .size-table th, .size-table td { padding: 6px 8px; }
}

/* Reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   FOOTER ADICIONAL
   ============================================================ */
.footer-whatsapp {
  color: #25D366;
  font-size: 13px;
  display: inline-block;
  margin-top: 8px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
}

.footer-social a:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }

.footer-delivery-note {
  margin-top: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-delivery-note strong { color: var(--gold); }

/* ============================================================
   PESTAÑAS — fix display explícito para evitar conflictos WC
   ============================================================ */
.uke-tab-content {
  display: none !important;
}
.uke-tab-content.active {
  display: block !important;
}

/* ============================================================
   FULL-WIDTH FIX — Neutraliza wrappers de WordPress/Hostinger
   que limitan el ancho del sitio
   ============================================================ */

/* Reset de wrappers comunes de WordPress */
#page,
.site,
.site-content,
#content,
#main,
.site-inner,
.content-sidebar-wrap,
.wrap,
div.hfeed {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Asegurar que el body ocupa todo el ancho */
html, body {
  width: 100%;
  max-width: 100vw;
}

/* Forzar full-width en barra de anuncio y nav */
.announce-bar,
.site-nav {
  width: 100%;
  max-width: 100vw;
  left: 0;
  right: 0;
}

/* El hero debe ocupar todo el ancho */
.site-hero {
  width: 100%;
  max-width: 100vw;
}

/* Secciones full-width */
.perks-bar,
.sale-banner,
.about-section,
.newsletter-section,
.site-footer,
.shop-header {
  width: 100%;
  max-width: 100vw;
}

/* Quitar cualquier padding/margin que Hostinger inyecta en el body */
body.woocommerce,
body.woocommerce-page,
body.single-product,
body.archive {
  padding: 0 !important;
  margin: 0 !important;
}

/* Override Hostinger's Astra/Storefront/Hello theme wrappers */
.ast-container,
.ast-row,
.storefront-primary-navigation,
.hestia-work,
.hello-elementor {
  max-width: none !important;
  width: 100% !important;
}

/* Elementor page builder wrapper reset */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--container) !important;
}

/* ============================================================
   WOOCOMMERCE — Forzar layout correcto en páginas de producto
   ============================================================ */
body.single-product #main,
body.single-product .site-main,
body.single-product #primary,
body.woocommerce-page #main,
body.woocommerce-page .site-main,
body.woocommerce-page #primary {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Quitar el wrapper de WooCommerce que puede añadir padding */
.woocommerce-page.single-product > div,
.woocommerce-page > div:not(.announce-bar):not(.site-nav):not(.mobile-menu):not(.mobile-menu-overlay) {
  max-width: none !important;
}

/* ============================================================
   TABLA DE ESPECIFICACIONES (pestaña Especificaciones)
   ============================================================ */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  max-width: 600px;
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-mid);
}

.specs-table th {
  font-weight: 700;
  width: 35%;
  color: var(--black);
  background: var(--gray-light);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.specs-table td { color: #444; }

.specs-empty {
  color: var(--gray);
  font-size: 14px;
  padding: 16px 0;
}

/* Descripción dentro de la pestaña */
.uke-tab-content {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  max-width: 760px;
}

.uke-tab-content p { margin-bottom: 16px; }
.uke-tab-content ul,
.uke-tab-content ol { margin: 0 0 16px 20px; }
.uke-tab-content li { margin-bottom: 6px; line-height: 1.7; }

/* ============================================================
   RESEÑAS DE PRODUCTO (WooCommerce comments)
   ============================================================ */
#tab-reviews .woocommerce-Reviews-title,
#tab-reviews h2,
#tab-reviews h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  color: var(--black);
}

#tab-reviews .commentlist {
  margin-bottom: 32px;
}

#tab-reviews .comment-text {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}

#tab-reviews .woocommerce-noreviews {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 24px;
}

/* Formulario de reseña */
#tab-reviews #review_form_wrapper {
  max-width: 600px;
}

#tab-reviews #reply-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

#tab-reviews .comment-form-rating label,
#tab-reviews .comment-form-comment label,
#tab-reviews .comment-form-author label,
#tab-reviews .comment-form-email label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
}

#tab-reviews select,
#tab-reviews textarea,
#tab-reviews input[type="text"],
#tab-reviews input[type="email"] {
  width: 100%;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 18px;
  outline: none;
  transition: border-color var(--transition);
}

#tab-reviews select { max-width: 200px; }

#tab-reviews textarea { min-height: 120px; resize: vertical; }

#tab-reviews select:focus,
#tab-reviews textarea:focus,
#tab-reviews input:focus { border-color: var(--red); }

#tab-reviews .form-submit input[type="submit"],
#tab-reviews #submit {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
}

#tab-reviews .form-submit input[type="submit"]:hover,
#tab-reviews #submit:hover { background: var(--red-dark); }

/* Estrellas de puntuación */
#tab-reviews p.stars a {
  color: var(--gold);
}

/* ============================================================
   PRODUCTOS RELACIONADOS — selectores de alta especificidad
   para vencer el layout por defecto de WooCommerce
   ============================================================ */
.woocommerce .related.products,
.woocommerce .upsells.products,
.woocommerce-page .related.products,
section.related.products {
  border-top: 1px solid var(--gray-mid);
  padding-top: 48px;
  margin-top: 48px;
  clear: both;
  width: 100%;
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2,
section.related.products > h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.03em;
  margin-bottom: 32px;
  color: var(--black);
  line-height: 1.1;
}

/* GRID — vence el float de WooCommerce */
.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products,
section.related.products ul.products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

/* Eliminar pseudo-elementos clearfix de WC */
.woocommerce .related.products ul.products::before,
.woocommerce .related.products ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

/* Cada producto — quitar float y width fijo de WC */
.woocommerce .related.products ul.products li.product,
.woocommerce .upsells.products ul.products li.product,
section.related.products ul.products li.product,
.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
}

/* Imagen del producto relacionado */
.woocommerce .related.products li.product a img,
.woocommerce .upsells.products li.product a img,
section.related.products li.product a img,
.woocommerce ul.products li.product a img {
  aspect-ratio: 3/4 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 12px 0 !important;
  background: var(--gray-light);
  display: block;
}

/* Título */
.woocommerce .related.products li.product .woocommerce-loop-product__title,
section.related.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--black) !important;
  padding: 0 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.4 !important;
  font-family: var(--font-body) !important;
  text-transform: none !important;
}

/* Precio */
.woocommerce .related.products li.product .price,
section.related.products li.product .price,
.woocommerce ul.products li.product .price {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--black) !important;
  display: block !important;
  margin: 0 0 8px 0 !important;
}

.woocommerce .related.products li.product .price del,
.woocommerce ul.products li.product .price del { color: var(--gray) !important; font-weight: 400 !important; }

.woocommerce .related.products li.product .price ins,
.woocommerce ul.products li.product .price ins { color: var(--red) !important; text-decoration: none !important; }

/* Botón agregar al carrito */
.woocommerce .related.products li.product .button,
section.related.products li.product .button,
.woocommerce ul.products li.product .button {
  display: inline-block !important;
  background: var(--black) !important;
  color: var(--white) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 10px 16px !important;
  border-radius: var(--radius) !important;
  margin: 0 !important;
  transition: background var(--transition) !important;
  font-family: var(--font-body) !important;
}

.woocommerce .related.products li.product .button:hover,
.woocommerce ul.products li.product .button:hover { background: var(--red) !important; }

/* Quitar badge de oferta solapado */
.woocommerce .related.products li.product .onsale,
.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 2px !important;
  padding: 4px 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.woocommerce .related.products li.product,
.woocommerce ul.products li.product { position: relative; }

/* Responsive relacionados */
@media (max-width: 1024px) {
  .woocommerce .related.products ul.products,
  .woocommerce .upsells.products ul.products,
  section.related.products ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .woocommerce .related.products ul.products,
  .woocommerce .upsells.products ul.products,
  section.related.products ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}
