/*
Theme Name: Taller Arco
Theme URI: https://tallerarco.com/
Author: Taller Arco
Author URI: https://tallerarco.com/
Description: Tema completo oficial para Taller Arco. Diseñado para máxima velocidad, integración nativa con WooCommerce, panel de administración autónomo, cotizaciones instantáneas por WhatsApp y estética industrial moderna.
Version: 2.0.1
Text Domain: taller-arco
*/

/* ==========================================================================
   1. VARIABLES DE MARCA Y SISTEMA DE DISEÑO
   ========================================================================== */
:root {
  --arco-primary: #D32F2F;
  --arco-primary-dark: #B71C1C;
  --arco-primary-light: #FFEBEE;
  --arco-secondary: #0F172A;
  --arco-slate: #1E293B;
  --arco-accent: #F59E0B;
  --arco-text: #334155;
  --arco-text-dark: #0F172A;
  --arco-muted: #64748B;
  --arco-bg-light: #F8FAFC;
  --arco-border: #E2E8F0;
  --arco-whatsapp: #25D366;
  --arco-whatsapp-dark: #1EBE5D;
  --arco-radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-hover: 0 16px 32px rgba(15, 23, 42, 0.12);
}

/* ==========================================================================
   1.1 KEYFRAME ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */
@keyframes arcoPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes arcoPulseRed {
  0% {
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(211, 47, 47, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
  }
}

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

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

@keyframes arcoFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--arco-bg-light);
  color: var(--arco-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--arco-secondary);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   2. TOP BAR
   ========================================================================== */
.topbar {
  background: var(--arco-secondary);
  color: #94A3B8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-info {
  display: flex;
  gap: 20px;
  align-items: center;
}
.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-info a:hover {
  color: #FFFFFF;
}
.topbar-badge {
  background: rgba(211, 47, 47, 0.2);
  color: #FF8A80;
  padding: 2px 10px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(211, 47, 47, 0.4);
}

/* ==========================================================================
   3. HEADER Y LOGO CONTROLADO
   ========================================================================== */
.header-main {
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 20px;
}
/* RESTRICCIÓN ABSOLUTA Y DEFINITIVA DEL LOGO */
.logo-box,
.custom-logo-link,
a.custom-logo-link,
.site-logo,
.elementor-widget-theme-site-logo,
.elementor-widget-image[class*="logo"] {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 210px !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}

.logo-box img,
.custom-logo,
img.custom-logo,
.custom-logo-link img,
a.custom-logo-link img,
header img,
.header-main img,
.site-header img,
.site-branding img,
[class*="logo"] img,
.elementor-location-header img,
.elementor-12122 img,
.elementor-widget-theme-site-logo img,
a.logo img,
a.logo,
img[src*="logo"],
img[src*="Logo"],
img[src*="Taller-Arco-Vr-Nueva"],
img[alt*="Taller Arco"] {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 210px !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.nav-search {
  flex: 1;
  max-width: 440px;
  position: relative;
}
.nav-search form {
  width: 100%;
  position: relative;
}
.nav-search input[type="search"],
.nav-search input[type="text"] {
  width: 100%;
  padding: 10px 18px 10px 42px;
  border: 1px solid var(--arco-border);
  border-radius: 99px;
  font-size: 14px;
  outline: none;
  background: var(--arco-bg-light);
  transition: all 0.2s ease;
}
.nav-search input:focus {
  background: #FFFFFF;
  border-color: var(--arco-primary);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}
.nav-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--arco-muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  font-weight: 600;
  font-size: 14px;
  color: var(--arco-slate);
}
.nav-links a:hover, .nav-links li.current-menu-item > a {
  color: var(--arco-primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--arco-whatsapp);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 99px;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
  animation: arcoPulse 2.5s infinite ease-in-out;
  transition: all 0.25s ease;
}
.btn-header-whatsapp:hover {
  background: var(--arco-whatsapp-dark);
  transform: translateY(-2px) scale(1.03);
}
.btn-header-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--arco-slate);
}

/* ==========================================================================
   4. BANNER DE CATÁLOGO Y PÍLDORAS DE CATEGORÍA
   ========================================================================== */
.archive-header-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 40px 0 35px;
  border-bottom: 4px solid var(--arco-primary);
}
.archive-breadcrumbs {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 12px;
}
.archive-breadcrumbs a {
  color: #CBD5E1;
}
.archive-breadcrumbs a:hover {
  color: #FFFFFF;
}
.archive-breadcrumbs span {
  margin: 0 6px;
  color: #64748B;
}
.archive-breadcrumbs strong {
  color: #FCD34D;
}
.archive-page-title {
  font-size: 34px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.archive-cat-desc {
  font-size: 15px;
  color: #CBD5E1;
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.cat-pills-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cat-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 99px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.cat-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.cat-pill.active {
  background: var(--arco-primary) !important;
  border-color: var(--arco-primary) !important;
  box-shadow: 0 2px 10px rgba(211, 47, 47, 0.4);
}

.shop-utility-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--arco-border);
}
.shop-result-count, .woocommerce-result-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--arco-muted);
  margin: 0 !important;
  float: none !important;
}
.shop-ordering select, .woocommerce-ordering select {
  padding: 8px 14px;
  border: 1px solid var(--arco-border);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--arco-slate);
  font-size: 13px;
  outline: none;
}

/* ==========================================================================
   5. WOOCOMMERCE PRODUCT CARDS (SOLUCIÓN DEFINITIVA A TARJETAS ESTRECHAS)
   ========================================================================== */
/* GRID DE PRODUCTOS DESTACADOS Y WOOCOMMERCE PERFECTAMENTE CUADRADO */
.products-grid,
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products[class*="columns-"],
.woocommerce-page ul.products[class*="columns-"],
.elementor-widget-woocommerce-products ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  margin: 20px 0 50px !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
}

/* TARJETA DE PRODUCTO UNIFORME, CUADRADA Y CON ANIMACIONES DE LEVITACIÓN */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.elementor-widget-woocommerce-products ul.products li.product,
.tallerarco-product-card,
.product-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 440px !important;
  background: #FFFFFF !important;
  border: 1px solid var(--arco-border) !important;
  border-radius: var(--arco-radius) !important;
  padding: 16px !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

.woocommerce ul.products li.product:hover,
.tallerarco-product-card:hover,
.product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(211, 47, 47, 0.25) !important;
  border-color: rgba(211, 47, 47, 0.4) !important;
}

/* BADGES CON SHIMMER DE ANIMACIÓN */
.product-card-badge,
.woocommerce ul.products li.product .onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  background: linear-gradient(90deg, #F59E0B, #FBBF24, #F59E0B) !important;
  background-size: 200% 100% !important;
  animation: arcoShine 3s infinite linear !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  z-index: 2 !important;
  margin: 0 !important;
  min-height: auto !important;
  line-height: normal !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

/* CONTENEDOR DE IMAGEN CUADRADO 1:1 PERFECTAMENTE ENMARCADO */
.product-card-img-link,
.product-img-box,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F8FAFC !important;
  border-radius: 10px !important;
  padding: 14px !important;
  height: 210px !important;
  min-height: 210px !important;
  max-height: 210px !important;
  width: 100% !important;
  margin-bottom: 14px !important;
  overflow: hidden !important;
  text-align: center !important;
  box-sizing: border-box !important;
  position: relative !important;
}

/* IMAGEN DENTRO DEL CONTENEDOR: 100% NUNCA SE DEFORMA Y HACE ZOOM SUAVE */
.product-thumb-img,
.product-img-box img,
.product-card-img-link img,
.product-card img,
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img,
.woocommerce ul.products li.product img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: auto !important;
  display: block !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.woocommerce ul.products li.product:hover .product-thumb-img,
.woocommerce ul.products li.product:hover a img,
.product-card:hover .product-img-box img,
.product-card:hover .product-card-img-link img {
  transform: scale(1.08) !important;
}

/* CATEGORÍA Y METADATOS */
.product-card-cat,
.product-meta-cat,
.woocommerce ul.products li.product .posted_in {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--arco-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  margin-bottom: 6px !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* TÍTULO CON ALTURA EXACTA PARA ALINEACIÓN HORIZONTAL IMPECABLE */
.product-card-title,
.product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--arco-secondary) !important;
  line-height: 1.35 !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  margin-bottom: 10px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.product-card-title a,
.product-title a {
  color: var(--arco-secondary) !important;
  transition: color 0.2s ease !important;
}
.product-card-title a:hover,
.product-title a:hover {
  color: var(--arco-primary) !important;
}

/* PRECIO WOOCOMMERCE */
.product-card-price,
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--arco-primary) !important;
  margin-bottom: 10px !important;
  display: block !important;
}

/* FOOTER DE TARJETA: ANCLADO AL FONDO PARA ALINEACIÓN COMPLETA */
.product-card-footer,
.product-actions {
  margin-top: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
}

.btn-cotizar, .btn-whatsapp-quote {
  background: var(--arco-whatsapp) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.btn-cotizar:hover, .btn-whatsapp-quote:hover {
  background: var(--arco-whatsapp-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
  color: #FFFFFF !important;
}
.btn-cotizar svg,
.btn-whatsapp-quote svg,
.product-card-footer a svg,
a.btn-cotizar svg,
.product-card-footer .btn-cotizar svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  fill: #FFFFFF !important;
  color: #FFFFFF !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}
.btn-cotizar span,
.btn-whatsapp-quote span,
.product-card-footer .btn-cotizar span {
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  display: inline-block !important;
}
.btn-ver-mas, .woocommerce ul.products li.product a.button {
  background: #F1F5F9 !important;
  color: var(--arco-slate) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  height: 34px !important;
  min-height: 34px !important;
  line-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 6px !important;
  text-align: center !important;
  display: block !important;
  border: none !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.btn-ver-mas:hover, .woocommerce ul.products li.product a.button:hover {
  background: #E2E8F0 !important;
  color: var(--arco-secondary) !important;
}

/* ==========================================================================
   6. FICHA INDIVIDUAL DE PRODUCTO (SINGLE PRODUCT)
   ========================================================================== */
.product-primary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.main-product-img-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--arco-border);
  border-radius: var(--arco-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.single-main-img {
  max-height: 420px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.product-thumbs-strip {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.thumb-mini {
  width: 70px;
  height: 70px;
  border: 1px solid var(--arco-border);
  border-radius: 8px;
  padding: 6px;
  background: #FFFFFF;
  cursor: pointer;
}
.thumb-mini img {
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
}
.single-product-h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--arco-secondary);
  margin: 10px 0 14px;
  line-height: 1.25;
}
.stock-badge {
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-block;
}
.sku-badge {
  background: #F1F5F9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-block;
  margin-left: 8px;
}
.btn-whatsapp-quote-large {
  background: var(--arco-whatsapp);
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  margin-bottom: 12px;
}
.btn-whatsapp-quote-large:hover {
  background: var(--arco-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp-quote-large svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
}
.btn-call-direct {
  display: block;
  text-align: center;
  background: #F8FAFC;
  border: 1px solid var(--arco-border);
  color: var(--arco-secondary) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.btn-call-direct:hover {
  background: #E2E8F0;
}
.single-trust-card {
  background: #F8FAFC;
  border: 1px solid var(--arco-border);
  border-radius: var(--arco-radius);
  padding: 20px;
  margin-top: 24px;
}
.trust-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.trust-item:last-child {
  margin-bottom: 0;
}
.trust-item span {
  font-size: 20px;
}
.trust-item strong {
  font-size: 13px;
  color: var(--arco-secondary);
  display: block;
}
.trust-item p {
  font-size: 12px;
  color: var(--arco-muted);
  margin: 2px 0 0;
}

/* ==========================================================================
   7. HERO, STATS, ABOUT, SERVICES, FOOTER
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: #FCD34D;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 46px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero-title span {
  color: #EF4444;
  background: linear-gradient(90deg, #F87171, #EF4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 16px;
  color: #CBD5E1;
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--arco-primary);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.35);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--arco-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(211, 47, 47, 0.45);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-card-featured {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: arcoFloat 4s infinite ease-in-out;
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.hero-badge-tag {
  background: #EF4444;
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.hero-card-img {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}
.hero-card-img img {
  max-height: 220px;
  margin: 0 auto;
  object-fit: contain;
}
.hero-card-name {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.hero-card-cat {
  font-size: 12px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.stats-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--arco-border);
  padding: 24px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--arco-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--arco-primary);
}
.stat-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.stat-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--arco-secondary);
  font-family: 'Outfit', sans-serif;
}
.stat-label {
  font-size: 13px;
  color: var(--arco-muted);
  line-height: 1.3;
}

.section-spacing {
  padding: 70px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 45px;
}
.section-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--arco-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--arco-secondary);
}
.section-desc {
  color: var(--arco-muted);
  max-width: 600px;
  margin: 10px auto 0;
  font-size: 15px;
}

/* CATEGORÍAS WOOCOMMERCE Y ELEMENTOR */
.categories-grid,
.elementor-widget-wc-categories ul.products,
.woocommerce ul.products.columns-6 {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 18px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cat-card,
li.product-category,
.elementor-widget-wc-categories ul.products li.product-category {
  background: #FFFFFF !important;
  border: 1px solid var(--arco-border) !important;
  border-radius: var(--arco-radius) !important;
  padding: 16px !important;
  text-align: center !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: var(--shadow-sm) !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.cat-card:hover,
li.product-category:hover {
  transform: translateY(-6px) !important;
  border-color: var(--arco-primary) !important;
  box-shadow: 0 16px 30px -8px rgba(211, 47, 47, 0.2) !important;
}

.cat-card-img,
li.product-category a img,
li.product-category img {
  width: 100% !important;
  height: 110px !important;
  max-height: 110px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  margin: 0 auto 12px !important;
  border-radius: 8px !important;
  transition: transform 0.3s ease !important;
}

.cat-card:hover .cat-card-img img,
li.product-category:hover img {
  transform: scale(1.08) !important;
}

.cat-card-title,
.woocommerce-loop-category__title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--arco-slate) !important;
  margin-bottom: 4px !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
}

.cat-card-count,
.woocommerce-loop-category__title mark.count {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--arco-primary) !important;
  background: var(--arco-primary-light) !important;
  padding: 2px 8px !important;
  border-radius: 99px !important;
  display: inline-block !important;
  margin-top: 4px !important;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.pillar-card {
  background: var(--arco-bg-light);
  border: 1px solid var(--arco-border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}
.pillar-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--arco-primary);
  margin-bottom: 6px;
}
.pillar-card p {
  font-size: 14px;
  color: var(--arco-text);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.service-card {
  background: #FFFFFF;
  border: 1px solid var(--arco-border);
  border-radius: var(--arco-radius);
  padding: 26px;
  border-left: 4px solid var(--arco-primary);
  transition: all 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--arco-secondary);
}
.service-card p {
  font-size: 14px;
  color: var(--arco-muted);
  line-height: 1.6;
}

.brands-section {
  background: #F8FAFC;
  padding: 50px 0;
  text-align: center;
}
.brands-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.brand-logo-item {
  background: #FFFFFF;
  border: 1px solid var(--arco-border);
  border-radius: 10px;
  padding: 12px 20px;
  width: 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.25s ease;
}
.brand-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px);
  border-color: var(--arco-primary);
  box-shadow: var(--shadow-sm);
}
.brand-logo-item img {
  max-height: 46px;
  max-width: 100%;
  object-fit: contain;
}

footer.footer-main,
.footer-main,
#tallerarco-footer,
#footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  clear: both !important;
  position: relative !important;
  z-index: 999 !important;
  width: 100% !important;
  background: var(--arco-secondary) !important;
  color: #94A3B8 !important;
  padding: 60px 0 20px !important;
  border-top: 4px solid var(--arco-primary) !important;
}
.footer-experience-banner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--arco-radius);
  padding: 20px 26px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(211, 47, 47, 0.2);
  border: 1px solid rgba(211, 47, 47, 0.5);
  color: #FF8A80;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.footer-exp-desc {
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.6;
  margin: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 14px;
}
.footer-links a:hover {
  color: #FFFFFF;
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 12px;
  color: #CBD5E1;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--arco-whatsapp);
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.25s ease;
  animation: arcoPulse 2s infinite ease-in-out;
}
.float-whatsapp:hover {
  background: var(--arco-whatsapp-dark);
  transform: scale(1.12);
}
.float-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES (ADAPTACIÓN MÓVIL TOTAL)
   ========================================================================== */
@media (max-width: 1200px) {
  .products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products[class*="columns-"],
  ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 900px) {
  .product-primary-grid { grid-template-columns: 1fr; gap: 30px; }
  .products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products[class*="columns-"],
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* TABLETS PEQUEÑAS Y MÓVILES GRANDES */
@media (max-width: 768px) {
  .header-main {
    padding: 8px 0 !important;
  }
  .nav-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 16px !important;
    gap: 8px !important;
  }
  .logo-box {
    order: 1 !important;
    height: 40px !important;
    max-height: 40px !important;
    max-width: 180px !important;
  }
  .logo-box img {
    height: 38px !important;
    max-height: 38px !important;
  }
  .nav-actions {
    order: 2 !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  /* En móviles ocultamos el botón redundante del header para dar espacio */
  .btn-header-whatsapp {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: #F8FAFC !important;
    border: 1px solid var(--arco-border) !important;
    border-radius: 8px !important;
    font-size: 22px !important;
    color: var(--arco-secondary) !important;
    cursor: pointer !important;
  }
  /* Buscador expandido en segunda fila completa */
  .nav-search {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-top: 4px !important;
  }
  .nav-search input[type="search"],
  .nav-search input[type="text"] {
    width: 100% !important;
    height: 40px !important;
    font-size: 13px !important;
    padding: 8px 16px 8px 38px !important;
  }
  .nav-search svg {
    left: 12px !important;
    width: 16px !important;
    height: 16px !important;
  }

  .topbar { display: none !important; }
}

/* SMARTPHONES Y PANTALLAS MÓVILES */
@media (max-width: 640px) {
  .hero-section {
    padding: 35px 0 45px !important;
  }
  .hero-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
  .hero-desc {
    font-size: 14px !important;
  }
  .hero-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .hero-btn-primary, .hero-btn-secondary {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .hero-card-featured {
    max-width: 100% !important;
    margin-top: 20px !important;
  }

  .archive-page-title { font-size: 24px !important; }

  /* CUADRÍCULA DE PRODUCTOS EN 2 COLUMNAS PERFECTAMENTE EQUILIBRADA EN MÓVILES */
  .products-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products[class*="columns-"],
  ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin: 15px 0 35px !important;
    padding: 0 !important;
  }

  .product-card,
  .woocommerce ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    padding: 10px 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .product-card-badge,
  .woocommerce ul.products li.product .onsale {
    font-size: 9px !important;
    padding: 2px 6px !important;
    top: 6px !important;
    left: 6px !important;
    border-radius: 4px !important;
    letter-spacing: 0.2px !important;
  }

  .product-img-box,
  .product-card-img-link,
  .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    height: 135px !important;
    min-height: 135px !important;
    max-height: 135px !important;
    padding: 6px !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
  }

  .product-card-cat,
  .product-meta-cat,
  .woocommerce ul.products li.product .posted_in {
    font-size: 9.5px !important;
    margin-bottom: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .product-card-title,
  .product-title,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 12.5px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 8px !important;
    white-space: normal !important;
  }

  .product-card-price,
  .woocommerce ul.products li.product .price {
    font-size: 13px !important;
    margin-bottom: 6px !important;
  }

  .product-card-footer,
  .product-actions {
    margin-top: auto !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .btn-cotizar, .btn-whatsapp-quote {
    height: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    padding: 0 4px !important;
    font-size: 11.5px !important;
    gap: 5px !important;
    width: 100% !important;
    border-radius: 6px !important;
  }

  .btn-cotizar svg,
  .btn-whatsapp-quote svg,
  .product-card-footer a svg,
  a.btn-cotizar svg {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
  }

  .btn-cotizar span,
  .btn-whatsapp-quote span {
    font-size: 11.5px !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px !important;
  }

  .btn-ver-mas, .woocommerce ul.products li.product a.button {
    height: 30px !important;
    min-height: 30px !important;
    line-height: 30px !important;
    font-size: 11px !important;
    padding: 0 4px !important;
    width: 100% !important;
    border-radius: 6px !important;
  }

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

  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .cat-card {
    padding: 12px !important;
  }
  .cat-card-img {
    height: 80px !important;
  }
  .cat-card-title {
    font-size: 13px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .stat-item {
    padding: 14px !important;
  }

  .brands-grid {
    gap: 12px !important;
  }
  .brand-logo-item {
    width: 95px !important;
    height: 55px !important;
    padding: 6px 10px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-experience-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 16px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .nav-links {
    display: none !important;
  }
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #FFFFFF !important;
    padding: 18px 22px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    border-bottom: 3px solid var(--arco-primary) !important;
    z-index: 9999 !important;
    gap: 10px !important;
  }
  .nav-links.mobile-open li {
    width: 100% !important;
    border-bottom: 1px solid #F1F5F9 !important;
    padding-bottom: 10px !important;
  }
  .nav-links.mobile-open li a {
    font-size: 16px !important;
    font-weight: 600 !important;
    display: block !important;
    color: var(--arco-secondary) !important;
  }

  .float-whatsapp {
    bottom: 18px !important;
    right: 18px !important;
    width: 52px !important;
    height: 52px !important;
  }
  .float-whatsapp svg {
    width: 28px !important;
    height: 28px !important;
  }
}
