/*
Theme Name: Enmasapromo B2B Theme
Theme URI: https://www.enmasapromo.cl/
Author: Enmasapromo
Author URI: https://www.enmasapromo.cl/
Description: Tema B2B Oficial para Enmasapromo.
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enmasapromo-theme
*/
/* Enmasapromo Design System Tokens & Utilities */
html { scroll-behavior: smooth; }
#novedades-section,
#categorias-section,
#lo-mas-vendido-section,
#ofertas-section {
  scroll-margin-top: 215px;
}
.admin-bar #novedades-section,
.admin-bar #categorias-section,
.admin-bar #lo-mas-vendido-section,
.admin-bar #ofertas-section {
  scroll-margin-top: 250px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ep-primary: #13528A;        /* Azul Corporativo B2B */
  --ep-primary-hover: #0B3C6A;  /* Azul Hover */
  --ep-secondary: #0d3b66;      /* Azul Oscuro Secundario */
  --ep-accent: #F28F00;         /* Amarillo / Naranja PROMO del Logo */
  --ep-accent-hover: #D17B00;   /* Naranja Hover */
  
  /* Colores Oficiales del Logo Enmasapromo */
  --ep-brand-red: #d9232a;      /* Rojo "EN MASA" */
  --ep-brand-yellow: #F28F00;   /* Amarillo / Naranja "PROMO" */
  --ep-brand-blue: #13528A;     /* Azul Institucional */

  --ep-bg-main: #f8fafc;        /* Fondo General Gris Claro */
  --ep-card-bg: #ffffff;       /* Fondo Tarjetas */
  --ep-text-main: #1e293b;      /* Texto Oscuro */
  --ep-text-muted: #64748b;     /* Texto Gris Secundario */
  --ep-border-color: #e2e8f0;   /* Color Bordes */
  
  --ep-radius-sm: 6px;
  --ep-radius: 10px;
  --ep-radius-lg: 16px;
  --ep-radius-pill: 50px;
  
  --ep-shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --ep-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --ep-shadow-lg: 0 10px 25px rgba(0,0,0,0.12);

  /* Typography Scale */
  --ep-text-xs: 0.75rem;
  --ep-text-sm: 0.875rem;
  --ep-text-base: 1rem;
  --ep-text-lg: 1.125rem;
  --ep-text-xl: 1.25rem;
  --ep-text-2xl: 1.5rem;
  --ep-text-3xl: 1.875rem;
  --ep-text-4xl: 2.25rem;
  --ep-text-5xl: 3rem;


  --ep-font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --ep-font-heading: 'Plus Jakarta Sans', var(--ep-font-family);
}

/* Detalles Sutiles Identidad Enmasapromo */
.badge-red, .badge-promo {
  background: var(--ep-brand-red) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(217, 35, 42, 0.3);
}

.new-badge {
  background: var(--ep-brand-red) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(217, 35, 42, 0.35);
}

/* Línea de Acento Sutil bajo Títulos con Colores del Logo */
.ep-brand-divider {
  width: 60px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--ep-brand-red) 0%, var(--ep-brand-yellow) 100%);
  border-radius: 4px;
  margin: 6px 0 16px 0;
}

/* Global Reset & Base */
body {
  font-family: var(--ep-font-family);
  background-color: var(--ep-bg-main);
  color: var(--ep-text-main);
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.single-product-title,
.price-amount,
.ep-category-circle-title,
.ep-trust-title,
.ep-category-badge {
  font-family: var(--ep-font-heading);
}

/* Ocultar flechas por defecto de los inputs numéricos (spinners) */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
input[type=number] {
  -moz-appearance: textfield;
}

/* Buttons System - Esquinas Modernas (8px) para Elegancia B2B */
.btn-primary {
  background-color: var(--ep-brand-yellow);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--ep-radius);
  padding: 8px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(255, 153, 0, 0.15);
}@media (hover: hover) {
  .btn-primary:hover {
    background-color: var(--ep-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 153, 0, 0.25);
  }
}

.btn-accent {
  background-color: var(--ep-accent);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--ep-radius);
  padding: 8px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(255, 153, 0, 0.15);
}@media (hover: hover) {
  .btn-accent:hover {
    background-color: var(--ep-accent-hover);
  transform: translateY(-1px);
  }
}

.btn-outline {
  background-color: transparent;
  color: var(--ep-primary);
  font-weight: 600;
  border-radius: var(--ep-radius);
  padding: 8px 18px;
  border: 1.5px solid var(--ep-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}@media (hover: hover) {
  .btn-outline:hover {
    background-color: #f1f5f9;
  transform: translateY(-1px);
  }
}

.btn-success {
  background-color: #0f766e; /* Deep elegant teal/green */
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--ep-radius);
  padding: 8px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(15, 118, 110, 0.15);
}@media (hover: hover) {
  .btn-success:hover {
    background-color: #0d5f58;
  transform: translateY(-1px);
  }
}

/* Category Circle Styling: Unificado al final del archivo (Single Source of Truth) */

/* Header & Top Bar Utilities */
.ep-top-bar {
  background-color: var(--ep-secondary, #0d3b66);
  color: #ffffff;
  font-size: var(--ep-text-sm);
  padding: 6px 0;
  border-bottom: 2.5px solid var(--ep-brand-yellow, #F28F00);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-links {
  display: flex;
  gap: 15px;
}

.top-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: var(--ep-text-sm);
}

header {
  background: #ffffff;
  border-bottom: 1px solid var(--ep-border-color);
  padding: 18px 0;
  position: relative;
  z-index: 100;
  box-shadow: none;
}

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

.brand-logo-img {
  height: 80px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--ep-text-xs);
  text-decoration: none;
  color: var(--ep-text-main);
  font-weight: 500;
  position: relative;
  cursor: pointer;
}

.action-icon {
  font-size: var(--ep-text-xl);
  margin-bottom: 2px;
}

.badge {
  position: absolute;
  top: -5px;
  right: 2px;
  background: #28a745;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--ep-text-xs);
  font-weight: 700;
}

.nav-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--ep-border-color);
  padding: 10px 0;
}

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

.main-menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.main-menu a {
  text-decoration: none;
  color: var(--ep-text-main);
  font-weight: 500;
  font-size: var(--ep-text-base);
  transition: color 0.2s;
}@media (hover: hover) {
  .main-menu a:hover, .main-menu a.active {
    color: var(--ep-primary);
  font-weight: 600;
  }
}

.ep-browse-categories-btn {
  background-color: var(--ep-accent);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--ep-radius);
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: var(--ep-text-sm);
}

.ep-search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--ep-border-color);
  border-radius: var(--ep-radius-pill);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--ep-shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ep-search-box:focus-within {
  border-color: var(--ep-primary);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.15), 0 6px 15px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.ep-search-box select {
  border: none;
  padding: 8px 12px;
  background: #f1f5f9;
  font-size: var(--ep-text-sm);
  color: var(--ep-text-main);
  outline: none;
  cursor: pointer;
  border-right: 1px solid var(--ep-border-color);
  transition: background 0.2s;
}@media (hover: hover) {
  .ep-search-box select:hover {
    background: #e2e8f0;
  }
}

.ep-search-box input {
  border: none;
  padding: 8px 14px;
  flex: 1;
  font-size: var(--ep-text-sm);
  outline: none;
  background: transparent;
}

.ep-search-box button {
  background: var(--ep-primary);
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}@media (hover: hover) {
  .ep-search-box button:hover {
    background: #0B3C6A;
  }
}

.ep-search-box button:active {
  transform: scale(0.96);
}

/* Mobile Responsive System */
@media (max-width: 640px) {
  .ep-top-bar {
  background-color: var(--ep-secondary, #0d3b66);
  color: #ffffff;
  font-size: var(--ep-text-sm);
  padding: 6px 0;
  border-bottom: 2.5px solid var(--ep-brand-yellow, #F28F00);
}
  .top-bar-content { flex-direction: column; gap: 4px; }
  .print-actions-bar { flex-direction: column; gap: 10px; text-align: center; }
  .print-actions-bar > div { flex-direction: column; width: 100%; }
  .print-actions-bar button { width: 100%; justify-content: center; }
  .quote-paper { padding: 20px 15px !important; border-radius: 0; }
  .doc-header { flex-direction: column; gap: 15px; }
  .quote-badge-box { text-align: left; }
  .summary-section { flex-direction: column; gap: 20px; }
  .quote-table { display: block; overflow-x: auto; white-space: nowrap; font-size: var(--ep-text-xs); }
}

/* Global Layout & Shared Components */
.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

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

@media (max-width: 768px) {
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
}

/* ==========================================================================
   FOOTER & SUB-FOOTER GLOBAL B2B DESIGN SYSTEM (100% Full-Width Edge-to-Edge)
   ========================================================================== */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 0 0;
  margin-top: 60px;
  font-size: var(--ep-text-sm);
  border-top: 4px solid;
  border-image: linear-gradient(90deg, #d9232a 0%, #F28F00 100%) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid #1e293b;
}

.footer-col h4 {
  color: #ffffff;
  font-size: var(--ep-text-base);
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: var(--ep-text-sm);
  transition: color 0.2s ease;
}@media (hover: hover) {
  .footer-col ul li a:hover {
    color: #ffffff;
  text-decoration: underline;
  }
}

.social-links-flex {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}@media (hover: hover) {
  .social-icon-btn:hover {
    transform: translateY(-2px);
  opacity: 0.9;
  }
}

.sub-footer {
  background: #090d16;
  padding: 25px 0;
  color: #64748b;
  font-size: var(--ep-text-sm);
}

.sub-footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sub-footer-flex { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========================================================
   GLOBAL HEADER & NAV (Unificado)
   ======================================================== */
.ep-sticky-container {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.admin-bar .ep-sticky-container {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .ep-sticky-container {
    top: 46px;
  }
}

/* Top Bar Utilities */
.ep-flex-center-xs {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: normal;
  font-size: var(--ep-text-xs);
}
.ep-flex-center-md {
  display: flex;
  align-items: center;
  gap: 15px;
}
.ep-flex-gap-sm {
  display: flex;
  gap: 12px;
}
.ep-mr-xs {
  margin-right: 4px;
}
.ep-text-normal {
  font-weight: normal;
}
.ep-text-xs {
  font-size: var(--ep-text-xs);
}
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-links { display: flex; gap: 15px; }
.top-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: var(--ep-text-sm);
}

/* Header Principal Limpio */
header.ep-header-main {
  background: #ffffff;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
  padding: 8px 0;
}
.header-grid { display: flex; align-items: center; justify-content: space-between; gap: 25px; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.action-item { display: flex; flex-direction: column; align-items: center; font-size: var(--ep-text-xs); text-decoration: none; color: var(--ep-text-main); font-weight: 500; position: relative; cursor: pointer; }
.action-icon { font-size: var(--ep-text-xl); margin-bottom: 2px; }
.badge { position: absolute; top: -5px; right: 2px; background: var(--ep-brand-red, #d9232a); color: #fff; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; font-size: var(--ep-text-xs); font-weight: 700; }

/* Navigation Bar */
.nav-bar.ep-nav-bar-main {
  background: #ffffff;
  border-bottom: 1px solid var(--ep-border-color);
  padding: 8px 0;
}
.nav-flex { display: flex; align-items: center; justify-content: space-between; }
.main-menu { display: flex; gap: 25px; list-style: none; }
.main-menu a { text-decoration: none; color: var(--ep-text-main); font-weight: 500; font-size: var(--ep-text-base); transition: color 0.2s; }@media (hover: hover) {
  .main-menu a:hover, .main-menu a.active {
    color: var(--ep-primary); font-weight: 600;
  }
}

.ep-browse-categories-btn { background-color: var(--ep-accent); color: #ffffff; font-weight: 600; border-radius: var(--ep-radius); padding: 10px 18px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: var(--ep-text-sm); }

@media (max-width: 1024px) {
  .nav-flex { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .header-grid { flex-wrap: wrap; }
  .ep-search-box { max-width: 100% !important; flex: 1 1 100%; order: 3; margin-top: 10px; }
}
@media (max-width: 768px) {
  .header-grid { flex-direction: column; gap: 12px; align-items: stretch; text-align: center; }
  .header-actions { justify-content: space-around; width: 100%; }
  .ep-search-box { flex-direction: column; border-radius: 8px; max-width: 100% !important; }
  .ep-search-box select { border-right: none; border-bottom: 1px solid #e2e8f0; border-radius: 8px 8px 0 0; }
  .ep-search-box input { border-radius: 0; }
  .ep-search-box button { border-radius: 0 0 8px 8px; width: 100%; }
  .nav-flex { flex-direction: column; gap: 10px; align-items: center; }
  .main-menu { display: none; } /* Hide full menu on mobile */
  .top-bar-content { flex-direction: column; text-align: center; gap: 5px; }
  .top-links { flex-wrap: wrap; justify-content: center; }
}

html { overflow-y: scroll; }

/* ==========================================================================
   GLOBAL DRAWERS & MODALS (Cart, Favorites, Mobile Menu)
   ========================================================================== */

/* Cart Overlay & Drawer */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99998; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: -420px; width: 400px; height: 100%; background: #ffffff; z-index: 99999; box-shadow: -4px 0 20px rgba(0,0,0,0.15); transition: right 0.3s ease; display: flex; flex-direction: column; padding: 20px; }
.cart-drawer.open { right: 0; }

.cart-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; margin-bottom: 15px; }
.cart-title { font-size: var(--ep-text-xl); font-weight: 800; color: #0f172a; margin: 0; display: flex; align-items: center; gap: 8px; }
.cart-close-btn { background: none; border: none; font-size: var(--ep-text-2xl); color: #94a3b8; cursor: pointer; transition: color 0.2s; padding: 0; line-height: 1; }@media (hover: hover) {
  .cart-close-btn:hover {
    color: #dc2626;
  }
}
.cart-items-container { flex: 1; overflow-y: auto; padding-right: 5px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 15px; }
.cart-item { display: flex; gap: 15px; padding-bottom: 15px; border-bottom: 1px solid #f1f5f9; position: relative; }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid #e2e8f0; }
.cart-item-details { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cart-item-title { font-size: var(--ep-text-sm); font-weight: 700; color: #1e293b; line-height: 1.3; margin-bottom: 4px; }
.cart-item-sku { font-size: var(--ep-text-xs); color: #64748b; font-weight: 600; }
.cart-item-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-item-price { font-size: var(--ep-text-base); font-weight: 800; color: #13528A; }
.cart-item-remove { background: none; border: none; color: #ef4444; cursor: pointer; font-size: var(--ep-text-xs); font-weight: 700; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 4px; transition: background 0.2s; }@media (hover: hover) {
  .cart-item-remove:hover {
    background: #fef2f2;
  }
}
.cart-footer { border-top: 2px solid #f1f5f9; padding-top: 20px; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; font-size: var(--ep-text-lg); font-weight: 800; color: #0f172a; margin-bottom: 20px; }
.cart-action-btn { display: block; width: 100%; text-align: center; padding: 14px; border-radius: 10px; font-weight: 800; font-size: var(--ep-text-base); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer; }
.btn-checkout { background: #13528A; color: white; margin-bottom: 10px; }@media (hover: hover) {
  .btn-checkout:hover {
    background: #0B3C6A; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15,76,129,0.3);
  }
}
.btn-continue { background: #f1f5f9; color: #475569; }@media (hover: hover) {
  .btn-continue:hover {
    background: #e2e8f0; color: #1e293b;
  }
}

/* Favorites Drawer */
.favorites-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99998; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.favorites-overlay.open { opacity: 1; pointer-events: auto; }
.favorites-drawer { position: fixed; top: 0; right: -420px; width: 400px; height: 100%; background: #ffffff; z-index: 99999; box-shadow: -4px 0 20px rgba(0,0,0,0.15); transition: right 0.3s ease; display: flex; flex-direction: column; }
.favorites-drawer.open { right: 0; }
.favorites-header { padding: 20px; border-bottom: 1px solid var(--ep-border-color); display: flex; justify-content: space-between; align-items: center; background: #f8fafc; }
.favorites-body { padding: 20px; flex: 1; overflow-y: auto; }

/* Mobile Menu Drawer CSS */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: -350px;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  border-radius: 0 16px 16px 0;
  box-shadow: 10px 0 30px rgba(0,0,0,0.15);
  z-index: 99999;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: visible !important;
}
.mobile-menu-drawer.open {
  left: 0;
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
}
.mobile-menu-header h3 {
  margin: 0;
  font-size: var(--ep-text-lg);
  color: #13528A;
}
.mobile-menu-close {
  background: #f1f5f9;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}@media (hover: hover) {
  .mobile-menu-close:hover {
    background: #e2e8f0;
  }
}
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: transparent;
  padding-top: 6px;
}
.mobile-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.15s;
}@media (hover: hover) {
  .mobile-menu-list a:hover {
    background: #f1f5f9;
  color: #13528A;
  }
}
.mobile-menu-list a.active-cat {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  font-weight: 700;
  border-left: 3px solid var(--ep-brand-red, #d9232a);
}
.mobile-menu-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}
.mobile-menu-flyout-panel {
  position: absolute;
  top: 0;
  left: 100%;
  width: 290px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  border-radius: 0 16px 16px 0;
  box-shadow: 15px 0 35px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  z-index: 100000;
  overflow: hidden;
}
.mobile-menu-flyout-panel.open-flyout {
  display: flex !important;
  animation: flyoutSlideIn 0.12s ease-out;
}
.flyout-header {
  padding: 20px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
}
.flyout-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 0;
}
@keyframes flyoutSlideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
.mobile-menu-panel:last-child {
  border-left: 1px solid #f1f5f9;
}
.mobile-menu-footer {
  padding: 18px 20px;
  background: #f8fafc;
  margin-top: auto;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.03);
  position: relative;
  z-index: 10;
}
.mobile-menu-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(241, 245, 249, 0.6);
  width: 100%;
  font-weight: 700;
  color: #13528A;
  font-size: var(--ep-text-sm);
  cursor: pointer;
  text-align: left;
}@media (hover: hover) {
  .mobile-menu-back-btn:hover {
    background: rgba(226, 232, 240, 0.4);
  }
}
@media (max-width: 768px) {
  .cart-drawer { width: 100%; right: -100%; }
  .favorites-drawer { width: 100%; right: -100%; }
  .cart-drawer.open, .favorites-drawer.open { right: 0; }
}

/* Product Badges */
.new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--ep-brand-red, #d9232a);
  color: white;
  font-size: var(--ep-text-xs);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.btn-outline-orange {
  background-color: transparent;
  color: var(--ep-brand-yellow, #F28F00);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--ep-radius);
  padding: 8px 18px;
  border: 1.5px solid var(--ep-brand-yellow, #F28F00);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}@media (hover: hover) {
  .btn-outline-orange:hover {
    background-color: var(--ep-brand-yellow, #F28F00);
  color: #ffffff;
  transform: translateY(-1px);
  }
}

/* ==========================================================================
   CART DRAWER ACTIONS (Botones de Acción del Carrito Lateral)
   ========================================================================== */
.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-drawer-btn {
  width: 100%;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--ep-radius, 20px);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s ease;
  line-height: 1.2;
  text-align: center;
  border: 1.5px solid transparent;
}

.cart-drawer-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke-width: 2px;
}

.cart-drawer-btn span {
  text-align: center;
  white-space: nowrap;
}

/* 1. Primario Naranja: Ver Carrito Completo / Adjuntar Logo */
.cart-drawer-btn-primary {
  background-color: var(--ep-brand-yellow, #F28F00);
  color: #ffffff;
  border-color: var(--ep-brand-yellow, #F28F00);
  box-shadow: 0 2px 6px rgba(255, 153, 0, 0.25);
}@media (hover: hover) {
  .cart-drawer-btn-primary:hover {
    background-color: #D17B00;
  border-color: #D17B00;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 153, 0, 0.35);
  }
}

/* 2. Secundario Outline Azul: Descargar Cotización PDF */
.cart-drawer-btn-outline {
  background-color: #ffffff;
  color: var(--ep-primary, #13528A);
  border-color: var(--ep-primary, #13528A);
}@media (hover: hover) {
  .cart-drawer-btn-outline:hover {
    background-color: #f1f5f9;
  color: var(--ep-primary, #13528A);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(15, 76, 129, 0.15);
  }
}

/* 3. Transaccional Verde: Comprar Ahora (WebPay Transbank) */
.cart-drawer-btn-success {
  background-color: #0f766e;
  color: #ffffff;
  border-color: #0f766e;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
}@media (hover: hover) {
  .cart-drawer-btn-success:hover {
    background-color: #115e59;
  border-color: #115e59;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.35);
  }
}


/* EP MODAL - GLOBALLY AVAILABLE */
.ep-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 15, 25, 0.6); z-index: 1000; align-items: center; justify-content: center; opacity: 1; backdrop-filter: blur(2px); }
.ep-modal-overlay.active { display: flex; }
.ep-modal { background: #ffffff; padding: 25px; border-radius: 12px; max-width: 400px; width: 90%; position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.15); border: 1px solid #e2e8f0; }
.ep-modal-overlay.active .ep-modal { transform: none; }
.ep-modal-title { font-size: 1.25rem; font-weight: 800; color: #0f172a; margin-bottom: 15px; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.ep-modal-close { position: absolute; top: 15px; right: 15px; background: #f1f5f9; border: none; font-size: 1.2rem; cursor: pointer; color: #64748b; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; }@media (hover: hover) {
  .ep-modal-close:hover {
    background: #e2e8f0; color: #1e293b;
  }
}

/* ============================================================
   PRODUCTO DETALLE - Estilos específicos de la ficha
   ============================================================ */

/* Layout principal */
.product-single-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 12px; background: #ffffff; padding: 20px; border-radius: 16px; box-shadow: var(--ep-shadow-sm); border: 1px solid var(--ep-border-color); margin-bottom: 20px; }

/* Galería Bento Grid (Studio Look) */
.bento-gallery-container {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  height: 480px; 
}

.bento-gallery-container.gallery-empty {
  grid-template-columns: 1fr !important;
  grid-template-rows: auto !important;
}

@media (max-width: 768px) {
  .bento-gallery-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto 85px;
    height: auto;
  }
  .bento-main-stage {
    aspect-ratio: 1 / 1;
    height: auto !important;
    max-height: none !important;
    width: 100%;
  }
}

.bento-thumbs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .bento-thumbs-sidebar {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
  }
}

.bento-thumb-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 12px;
  background: #f8fafc;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  mix-blend-mode: multiply;
  padding: 8px;
  box-sizing: border-box;
}@media (hover: hover) {
  .bento-thumb-img:hover {
    transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
}

.bento-thumb-img.active {
  border-color: var(--ep-primary);
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(15,76,129,0.1);
  mix-blend-mode: normal;
}

.bento-main-stage {
  background: #ffffff;
  border: 1px solid var(--ep-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  height: 480px !important;
  max-height: 480px !important;
  width: 100% !important;
  box-sizing: border-box;
}

.bento-main-stage::before {
  display: none;
}

.bento-main-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* Info del producto */
.single-product-title { font-size: 1.6rem; font-weight: 800; color: var(--ep-text-main); margin-bottom: 6px; line-height: 1.25; }
.single-product-meta { font-size: 0.72rem; color: var(--ep-text-muted); margin-bottom: 10px; display: flex; gap: 16px; flex-wrap: nowrap; justify-content: space-between; align-items: center; background: #f8fafc; padding: 6px 12px; border-radius: 8px; border: 1px solid #e2e8f0; width: 100%; box-sizing: border-box; }
.single-product-meta span { white-space: nowrap; }
.single-product-meta a { font-size: 0.68rem !important; font-weight: 600 !important; text-transform: uppercase; }
/* Contenedor de la sección de precios (Estilo tarjeta limpia B2B) */
.product-price-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.single-product-price { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.single-product-price #unit-price-display,
.single-product-price .price-amount { font-size: 1.45rem; font-weight: 800; color: var(--ep-primary, #13528A); letter-spacing: -0.01em; line-height: 1.1; }
.single-product-price .price-suffix,
.single-product-price span:not(#unit-price-display):not(.price-amount) { font-size: 0.78rem; color: #475569; font-weight: 700; }
.price-breakdown-subtext { font-size: 0.72rem; color: #64748b; font-weight: 500; margin-bottom: 0; }

/* Barra Dinámica de Upselling B2B (Gamificación compacta en ancho completo) */
.gamified-pricing-bar {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.gamified-message {
  font-size: 0.78rem;
  color: var(--ep-text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.25;
}
.gamified-icon { font-size: 1rem; flex-shrink: 0; }
.gamified-message strong { font-weight: 800; color: var(--ep-primary); }
.btn-view-tiers {
  background: none;
  border: none;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ep-primary);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}@media (hover: hover) {
  .btn-view-tiers:hover {
    color: #0B3C6A;
  }
}

/* Live Personalization Status Badge (Ficha de Producto) */
.live-tech-badge-container {
  margin-bottom: 12px;
  min-height: 36px; /* fija la altura mínima del contenedor para evitar saltos de layout */
}
.live-tech-badge {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  line-height: 1.2;
  cursor: pointer;
  background: transparent;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  min-height: 36px;
}
.live-tech-badge.is-printed, .live-tech-badge.is-plain {
  background: transparent;
  border-color: transparent;
  animation: none !important;
}@media (hover: hover) {
  .live-tech-badge.is-printed:hover, .live-tech-badge.is-plain:hover {
    background: transparent;
  box-shadow: none;
  transform: none;
  }
}
.live-tech-badge.is-printed .live-tech-badge-left {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.live-tech-badge.is-plain .live-tech-badge-left {
  background: #f0f7ff;
  border: 1px solid #93c5fd;
  color: #1e3a8a;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}@media (hover: hover) {
  .live-tech-badge:hover .live-tech-badge-left {
    transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
}
.live-tech-badge.is-plain .live-tech-badge-cta {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0B3C6A 0%, #1a4a75 100%);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #0B3C6A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 5px rgba(15, 76, 129, 0.15);
  transition: all 0.2s ease;
}@media (hover: hover) {
  .live-tech-badge.is-plain:hover .live-tech-badge-cta {
    background: linear-gradient(135deg, #13528A 0%, #205c8f 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.25);
  }
}
.live-tech-arrow-bounce {
  display: inline-block;
  font-weight: 800;
  transition: transform 0.2s ease;
}@media (hover: hover) {
  .live-tech-badge.is-plain:hover .live-tech-arrow-bounce {
    transform: translateX(2px);
  }
}
.sparkle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a8c9ff;
}@media (hover: hover) {
  .live-tech-badge.is-plain:hover .sparkle-icon {
    color: #ffffff;
  }
}
.technique-badge-pop {
  animation: techBadgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes techBadgePop {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { transform: scale(1.02); box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2); }
  100% { transform: scale(1); box-shadow: none; }
}
.live-tech-badge-left {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.live-tech-badge-left strong {
  font-weight: 700;
}
.live-tech-badge-cta {
  font-weight: 700;
  text-decoration: underline;
  font-size: 0.85rem;
  color: inherit;
  opacity: 0.9;
  white-space: nowrap;
}

/* Pulsación de enfoque en técnicas al hacer clic en Cambiar/Elegir */
.technique-focus-pulse {
  animation: techniqueHighlight 1.4s ease;
  border-radius: 12px;
}
@keyframes techniqueHighlight {
  0% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.7); }
  50% { box-shadow: 0 0 0 10px rgba(255, 153, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0); }
}

@keyframes modalPop {
  0% { transform: scale(0.92) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Modal de Confirmación Producto Liso / Con Logo */
.confirm-modal-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  width: 90%;
  max-width: 440px;
  position: relative;
  transform: translateY(-15px);
  transition: transform 0.25s ease;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  border: 1px solid var(--ep-border-color);
  text-align: center;
}
.ep-modal-overlay.active .confirm-modal-box {
  transform: translateY(0);
}
.confirm-modal-icon {
  width: 52px;
  height: 52px;
  background: #fff7ed;
  color: #ea580c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
}
.confirm-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}
.confirm-modal-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 20px;
}
.confirm-modal-desc strong {
  color: #0f172a;
}
.confirm-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Modal de Tramos de Precios (B2B) */
.ep-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(3px);
}
.ep-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.ep-modal-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  width: 90%;
  max-width: 420px;
  position: relative;
  transform: translateY(-15px);
  transition: transform 0.25s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: 1px solid var(--ep-border-color);
}
.ep-modal-overlay.active .ep-modal-box {
  transform: translateY(0);
}
.ep-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.3rem;
  color: #64748b;
  cursor: pointer;
  border: none;
  background: none;
  line-height: 1;
  padding: 4px;
}@media (hover: hover) {
  .ep-modal-close:hover {
    color: #0f172a;
  }
}
.ep-modal-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ep-text-main);
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-tier-grid { display: grid; gap: 8px; }
.modal-tier-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}@media (hover: hover) {
  .modal-tier-card:hover, .modal-tier-card.active-modal-tier {
    border-color: var(--ep-primary, #13528A);
  background: rgba(19, 82, 138, 0.04);
  transform: translateX(3px);
  }
}
.modal-tier-qty { font-family: var(--ep-font-heading); font-weight: 700; color: #334155; font-size: 0.84rem; }
.modal-tier-price { font-family: var(--ep-font-heading); font-weight: 800; color: var(--ep-primary, #13528A); font-size: 0.95rem; }

/* Selector de Técnicas Interactivo (Pills / Cards Táctiles B2B) */
.custom-technique-box {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}
.technique-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ep-font-heading);
  font-size: 0.78rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 6px;
}
.technique-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.technique-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.76rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: left;
  min-height: 42px;
}@media (hover: hover) {
  .technique-btn:hover {
    border-color: #94a3b8;
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  }
}
.technique-btn.active {
  border-color: var(--ep-primary, #13528A);
  background: rgba(19, 82, 138, 0.04);
  color: var(--ep-primary, #13528A);
  box-shadow: 0 4px 14px rgba(19, 82, 138, 0.12);
  transform: translateY(-1px);
}
.technique-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 6px;
}
.technique-title-text {
  font-family: var(--ep-font-heading);
  font-weight: 700;
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.technique-price-badge {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.2);
  font-family: var(--ep-font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.technique-btn.active .technique-price-badge {
  background: var(--ep-primary, #13528A);
  color: #ffffff;
  border-color: var(--ep-primary, #13528A);
}

/* Caja Resumen de Cotización SaaS B2B en Tiempo Real */
.ep-saas-quote-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}@media (hover: hover) {
  .ep-saas-quote-summary:hover {
    border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  }
}
.ep-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
}
.ep-summary-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ep-font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
}
.ep-summary-title svg {
  color: var(--ep-primary, #13528A);
}
.ep-summary-qty-tag {
  background: var(--ep-primary, #13528A);
  color: #ffffff;
  font-family: var(--ep-font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
.ep-summary-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ep-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: #475569;
}
.ep-summary-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ep-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.ep-dot-blue { background: var(--ep-primary, #13528A); }
.ep-dot-green { background: #059669; }
.ep-summary-val {
  font-weight: 700;
  color: #0f172a;
  font-family: var(--ep-font-heading);
}
.ep-text-green { color: #059669 !important; }
.ep-summary-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 4px 0;
}
.ep-summary-row-total {
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f172a;
}
.ep-summary-total-label {
  font-family: var(--ep-font-heading);
  font-weight: 700;
  color: #0f172a;
}
.ep-summary-total-val {
  font-family: var(--ep-font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ep-primary, #13528A);
}
.ep-summary-subtotal-bar {
  margin-top: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: #334155;
}
.ep-summary-subtotal-bar strong {
  font-family: var(--ep-font-heading);
  font-size: 0.88rem;
  color: #0f172a;
}

/* Favoritos */
.btn-favorite {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ep-border-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--ep-text-xl);
  color: #94a3b8;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}@media (hover: hover) {
  .btn-favorite:hover {
    transform: scale(1.1);
  color: var(--ep-brand-red);
  }
}
.btn-favorite.active {
  color: var(--ep-brand-red);
  border-color: var(--ep-brand-red);
  background: #fff;
}

/* Swatches (Reducido un 20% adicional) */
.option-label { font-size: 0.72rem; font-weight: 700; margin-bottom: 2px; display: block; color: var(--ep-text-main); }
.swatch-group { display: flex; gap: 6px; margin-bottom: 4px; }
.swatch-btn { width: 16px; height: 16px; border-radius: 50%; border: 2px solid transparent; outline: 1px solid #cbd5e1; cursor: pointer; transition: transform 0.2s; }
.swatch-btn.active { border-color: var(--ep-primary); transform: scale(1.15); box-shadow: 0 0 0 2px rgba(15,76,129,0.25); }

/* ==========================================================================
   Paginación B2B Corporativa (paginate_links)
   ========================================================================== */
.ep-pagination-nav ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ep-pagination-nav ul.page-numbers li {
  display: inline-block;
}

.ep-pagination-nav .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
  background: white;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}@media (hover: hover) {
  .ep-pagination-nav .page-numbers:hover {
    background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f4c81;
  transform: translateY(-1px);
  }
}

.ep-pagination-nav .page-numbers.current {
  background: #0f4c81;
  border-color: #0f4c81;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.25);
  cursor: default;
}

.ep-pagination-nav .page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
  color: #94a3b8;
  min-width: 24px;
}

.ep-pagination-nav .prev.page-numbers,
.ep-pagination-nav .next.page-numbers {
  gap: 6px;
  padding: 0 16px;
  font-weight: 700;
  color: #0f4c81;
}

@media (max-width: 640px) {
  .ep-pagination-nav .page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.82rem;
  }
}

/* Fila de acciones (40% más compacto) */
.action-row { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; position: relative; }
.quantity-nav-large { display: inline-flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 14px; overflow: hidden; background: #ffffff; flex-shrink: 0; width: 108px; justify-content: space-between; box-sizing: border-box; }
.quantity-nav-large button { width: 28px; height: 28px; background: #f1f5f9; border: none; font-size: 0.95rem; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quantity-nav-large input { width: 52px; height: 28px; border: none; text-align: center; font-weight: 700; font-size: 0.82rem; -moz-appearance: textfield; box-sizing: border-box; padding: 0; margin: 0; flex-grow: 1; }
.quantity-nav-large input::-webkit-outer-spin-button,
.quantity-nav-large input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Botones de acción (Ficha de producto unificada 46px SaaS B2B) */
.btn-add-cart {
  background: linear-gradient(135deg, #F28F00 0%, #E67A00 100%);
  color: #ffffff;
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-family: var(--ep-font-heading);
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  flex: 1;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 14px rgba(242, 143, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
}@media (hover: hover) {
  .btn-add-cart:hover {
    background: linear-gradient(135deg, #E67A00 0%, #D16B00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 143, 0, 0.45);
  }
}
.btn-pdf-quote { background: #ffffff; color: var(--ep-primary, #13528A); height: 42px; padding: 0 16px; border-radius: var(--ep-radius, 20px); font-family: inherit; font-weight: 700; border: 1.5px solid var(--ep-primary, #13528A); cursor: pointer; font-size: 0.84rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; transition: all 0.2s; box-sizing: border-box; }@media (hover: hover) {
  .btn-pdf-quote:hover {
    background: #f1f5f9; color: var(--ep-primary, #13528A); transform: translateY(-1px); box-shadow: 0 2px 6px rgba(15,76,129,0.15);
  }
}

/* Tabs de descripción (40% más fino y compacto) */
.product-tabs { margin-top: 24px; background: #ffffff; border-radius: 10px; padding: 16px 20px; border: 1px solid var(--ep-border-color); }
.tab-headers { display: flex; gap: 10px; border-bottom: 1.5px solid #e2e8f0; margin-bottom: 12px; }
.tab-header-btn { padding: 6px 10px; font-weight: 600; font-size: 0.78rem; color: #64748b; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1.5px; transition: all 0.2s; }
.tab-header-btn.active { color: var(--ep-primary); border-bottom-color: var(--ep-primary); font-weight: 700; }
#display-description { font-size: 0.78rem; font-weight: 400; line-height: 1.5; color: #475569; }
#display-description p { margin-bottom: 8px; font-weight: 400; }
#display-description ul { margin-left: 18px; margin-top: 6px; font-weight: 400; }
#display-description li { margin-bottom: 4px; font-weight: 400; }
#display-description strong { font-weight: 600; color: #334155; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; color: var(--ep-text-muted); margin-bottom: 25px; }
.breadcrumbs a { color: var(--ep-primary); text-decoration: none; font-weight: 500; }

/* Animación flechas personalización */
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Responsivo ficha de producto */
@media (max-width: 900px) {
  .product-single-grid { grid-template-columns: 1fr; }
  .technique-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .technique-grid { grid-template-columns: 1fr; }
  .action-row { flex-direction: column; align-items: stretch; }
  .btn-add-cart, .btn-pdf-quote { width: 100%; }
}


.top-bar-pay-btn {
  font-weight: 700;
  color: var(--ep-brand-yellow, #F28F00);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}@media (hover: hover) {
  .top-bar-pay-btn:hover {
    opacity: 0.85;
  text-decoration: underline;
  }
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.4);
  font-weight: normal;
}

.top-social-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-social-link {
  color: #ffffff;
  opacity: 1;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}@media (hover: hover) {
  .top-social-link:hover {
    transform: scale(1.15);
  color: #f1f5f9;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
  }
}


.sub-footer-payment {
  display: flex;
  gap: 15px;
  align-items: center;
}

.sub-footer-payment-label {
  font-weight: 500;
  color: #94a3b8;
  font-size: var(--ep-text-sm);
}

.payment-badge {
  background: #1e293b;
  color: #ffffff;
  font-weight: 500;
  font-size: var(--ep-text-xs);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
}


/* Guías interactivas y punteros de Ficha de Producto */
.ep-guide-pointer {
  display: none;
  animation: bounceLeft 1.2s infinite;
  flex-shrink: 0;
}

@keyframes bounceLeft {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}

/* Mobile Sticky Action Bar */
.mobile-sticky-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1.5px solid var(--ep-border-color);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
  z-index: 9999;
  padding: 10px 16px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-action-bar {
    display: block;
  }
}

.sticky-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.sticky-bar-product-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-bar-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--ep-border-color);
}

.sticky-bar-text-group {
  display: flex;
  flex-direction: column;
}

.sticky-bar-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ep-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.sticky-bar-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ep-brand-red, #d9232a);
}

.btn-sticky-add-cart {
  background: var(--ep-accent, #F28F00);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,153,0,0.25);
  white-space: nowrap;
}


/* Animaciones de Flujo Guiado (Sutiles y Elegantes B2B) */
.needs-selection-glow {
  animation: needsSelectionGlow 2s infinite ease-in-out;
  border-color: #93c5fd !important;
}
@keyframes needsSelectionGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
  50% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 4px 12px rgba(37, 99, 235, 0.08); }
}

.ready-to-add-glow {
  animation: readyToAddGlow 2s infinite ease-in-out;
}
@keyframes readyToAddGlow {
  0%, 100% { box-shadow: 0 2px 6px rgba(255, 153, 0, 0.25); }
  50% { box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.2), 0 6px 16px rgba(255, 153, 0, 0.3); }
}


/* ==========================================================================
   PRODUCTO-DETALLE.HTML STYLES (Migrados)
   ========================================================================== */
    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
    input[type=number] { -moz-appearance: textfield; }

/* ==========================================================================
   CONTACTO.HTML STYLES (Migrados)
   ========================================================================== */
body {
      font-family: var(--ep-font-family);
      background-color: #f8fafc;
      color: var(--ep-text-main);
      margin: 0;
      padding: 0;
    }

    /* Form Layout & Fields (Compact B2B Style) */
    .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
    .form-grid-30-70 { display: grid; grid-template-columns: 1.2fr 2.8fr; gap: 12px; margin-bottom: 10px; }
    .form-group { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
    .form-grid-2 .form-group, .form-grid-30-70 .form-group { margin-bottom: 0; }
    .form-label { font-size: var(--ep-text-sm); font-weight: 700; color: #334155; }
    .form-input { width: 100%; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: var(--ep-text-sm); outline: none; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; background: #ffffff; box-sizing: border-box; }
    .form-input:focus { border-color: var(--ep-primary); box-shadow: 0 0 0 3px rgba(15,76,129,0.15); }

    /* Phone Input Prefix Container */
    .phone-input-container { display: flex; border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; background: #ffffff; transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box; width: 100%; }
    .phone-input-container:focus-within { border-color: var(--ep-primary); box-shadow: 0 0 0 3px rgba(15,76,129,0.15); }
    .phone-prefix { background: #f1f5f9; padding: 9px 12px; font-size: var(--ep-text-sm); color: #475569; border-right: 1px solid #cbd5e1; font-weight: 600; display: flex; align-items: center; user-select: none; }
    .phone-input-field { border: none !important; outline: none !important; padding: 9px 12px; flex: 1; font-size: var(--ep-text-sm); font-family: inherit; background: transparent; box-sizing: border-box; width: 100%; }

    .budget-radio-label {
      cursor: pointer;
      display: block;
    }

    .budget-radio-label input:checked + .budget-radio-card {
      border-color: var(--ep-primary);
      background: #eff6ff;
      box-shadow: 0 4px 10px rgba(15, 76, 129, 0.08);
    }

    .budget-radio-card {
      border: 2px solid var(--ep-border-color);
      border-radius: 8px;
      padding: 12px;
      text-align: center;
      transition: all 0.2s;
      background: #ffffff;
      display: flex;
      flex-direction: column;
      gap: 3px;
      box-sizing: border-box;
    }@media (hover: hover) {
  .budget-radio-card:hover {
    border-color: #cbd5e1;
  }
}

    .budget-radio-card .title {
      font-weight: 800;
      font-size: var(--ep-text-base);
      color: #1e293b;
    }

    .budget-radio-card .desc {
      font-size: var(--ep-text-xs);
      color: #64748b;
    }

    /* Compact Hero with Corporate Gradient Border (Red #d9232a -> Yellow/Orange #F28F00) */
    .contact-hero {
      background: linear-gradient(135deg, #0f172a 0%, #13528A 100%) padding-box,
                  linear-gradient(135deg, #d9232a 0%, #F28F00 100%) border-box;
      border: 2.5px solid transparent;
      color: #ffffff;
      padding: 28px 24px !important; /* Padding vertical más holgado y simétrico */
      text-align: center;
      position: relative;
      border-radius: 8px;
      box-shadow: 0 10px 30px rgba(15, 76, 129, 0.18);
    }
    
    .contact-hero h1 {
      font-size: var(--ep-text-3xl) !important;
      font-weight: 800;
      margin: 0 0 8px 0 !important; /* Resetea márgenes y deja 8px abajo */
      color: #ffffff;
      letter-spacing: -0.5px;
      line-height: 1.2;
    }

    .contact-hero p {
      font-size: var(--ep-text-sm) !important;
      max-width: 600px;
      margin: 0 auto !important; /* Resetea el margen inferior y centra */
      opacity: 0.95;
      line-height: 1.4;
    }

    /* Corporate Solid Border Card Utility */
    .ep-card-gradient-border {
      background: #ffffff !important;
      border: 1px solid #cbd5e1 !important;
      border-radius: 8px;
    }

    /* Footer & Sub-Footer Responsive Grid System */
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid #1e293b; }
    .footer-col h4 { color: #ffffff; font-size: var(--ep-text-base); margin-bottom: 20px; position: relative; font-weight: 700; }
    .footer-col ul { list-style: none; padding: 0; margin: 0; }
    .footer-col ul li { margin-bottom: 10px; }
    .footer-col ul li a { color: #94a3b8; text-decoration: none; font-size: var(--ep-text-sm); transition: color 0.2s; }@media (hover: hover) {
  .footer-col ul li a:hover {
    color: #ffffff; text-decoration: underline;
  }
}
    .social-links-flex { display: flex; gap: 10px; align-items: center; }
    .social-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; text-decoration: none; transition: transform 0.2s, opacity 0.2s; }@media (hover: hover) {
  .social-icon-btn:hover {
    transform: translateY(-2px); opacity: 0.9;
  }
}
    .sub-footer { background: #090d16; padding: 25px 0; color: #64748b; font-size: var(--ep-text-sm); }
    .sub-footer-flex { display: flex; justify-content: space-between; align-items: center; }
    @media (max-width: 900px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .sub-footer-flex { flex-direction: column; gap: 12px; text-align: center; }
      .form-grid-2, .form-grid-30-70 { grid-template-columns: 1fr; gap: 10px; }
    }
    .cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99998; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
    .cart-overlay.open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   CATALOGO.HTML STYLES (Migrados)
   ========================================================================== */
body {
      font-family: var(--ep-font-family);
      background-color: #f8fafc;
      color: var(--ep-text-main);
      margin: 0;
      padding: 0;
    }

    .catalog-header {
      background: linear-gradient(135deg, #0f172a 0%, #13528A 100%);
      color: #ffffff;
      padding: 30px 0;
      text-align: center;
      position: relative;
    }

    .catalog-header h1 {
      font-size: 2rem;
      font-weight: 800;
      margin: 0 0 8px 0;
    }

    .catalog-header p {
      font-size: 1.05rem;
      margin: 0;
      opacity: 0.9;
    }

    .print-control-bar {
      background: #ffffff;
      border-bottom: 1px solid var(--ep-border-color);
      padding: 15px 0;
      box-shadow: var(--ep-shadow-sm);
    }

    .print-bar-flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 15px;
    }

    .btn-print {
      background: #13528A;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 8px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.2s;
    }@media (hover: hover) {
  .btn-print:hover {
    background: #0f3d66;
  }
}

    .catalog-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 25px;
      margin: 40px auto 80px auto;
      max-width: 900px;
    }

    .catalog-card {
      background: #ffffff;
      border-radius: 8px;
      border: 1px solid var(--ep-border-color);
      padding: 25px;
      display: flex;
      gap: 25px;
      box-shadow: var(--ep-shadow-sm);
      position: relative;
    }

    @media (max-width: 680px) {
      .catalog-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      .catalog-img-container {
        width: 100% !important;
        max-width: 240px;
      }
    }

    .catalog-img-container {
      width: 220px;
      height: 220px;
      flex-shrink: 0;
      border-radius: 8px;
      overflow: hidden;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
    }

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

    .catalog-info {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .catalog-cat {
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--ep-primary);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 6px;
    }

    .catalog-title {
      font-size: 1.35rem;
      font-weight: 800;
      margin: 0 0 4px 0;
      color: #1e293b;
    }

    .catalog-sku-min {
      display: flex;
      gap: 15px;
      font-size: 0.82rem;
      color: var(--ep-text-muted);
      margin-bottom: 12px;
      font-weight: 500;
    }

    .catalog-desc {
      font-size: 0.88rem;
      color: #475569;
      line-height: 1.5;
      margin-bottom: 15px;
    }

    .catalog-specs-table {
      font-size: 0.82rem;
      border-collapse: collapse;
      width: 100%;
      margin-bottom: 15px;
    }

    .catalog-specs-table td {
      padding: 6px 0;
      border-bottom: 1px solid #f1f5f9;
    }

    .catalog-specs-table td.label {
      font-weight: 700;
      color: #475569;
      width: 140px;
    }

    .catalog-specs-table td.value {
      color: #1e293b;
    }

    .catalog-price-badge {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--ep-primary);
      margin-bottom: 15px;
    }

    .catalog-actions-row {
      margin-top: auto;
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    .catalog-qty-input {
      width: 65px;
      padding: 7px;
      border: 1px solid var(--ep-border-color);
      border-radius: 6px;
      text-align: center;
      font-weight: 700;
    }

    /* Print styling stylesheet */
    @media print {
      body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 10pt;
      }
      .ep-top-bar, header, .nav-bar, .print-control-bar, footer, .cart-drawer, .no-print, .catalog-actions-row {
        display: none !important;
      }
      .catalog-grid {
        margin: 0 !important;
        max-width: 100% !important;
        display: block !important;
      }
      .catalog-card {
        page-break-inside: avoid;
        border: 1px solid #cbd5e1 !important;
        box-shadow: none !important;
        margin-bottom: 25px !important;
        padding: 15px !important;
        background: #ffffff !important;
        display: flex !important;
        flex-direction: row !important;
      }
      .catalog-img-container {
        width: 160px !important;
        height: 160px !important;
      }
      .catalog-title {
        font-size: 1.2rem !important;
      }
    }

/* ==========================================================================
   CARRITO_COMPLETO.HTML STYLES (Migrados)
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--ep-font-family); background-color: #f8fafc; color: var(--ep-text-main); line-height: 1.5; padding-bottom: 60px; }

    /* Stepper Bar B2B */
    .stepper-bar { background: #ffffff; padding: 16px 0; border-bottom: 1px solid #e2e8f0; margin-bottom: 30px; }
    .stepper-flex { display: flex; justify-content: center; align-items: center; gap: 40px; }
    .step-item { display: flex; align-items: center; gap: 10px; font-size: var(--ep-text-sm); font-weight: 700; color: #94a3b8; }
    .step-item.active { color: var(--ep-primary); }
    .step-item.completed { color: #16a34a; }
    .step-badge { width: 28px; height: 28px; border-radius: 50%; background: #e2e8f0; color: #64748b; display: flex; align-items: center; justify-content: center; font-size: var(--ep-text-sm); font-weight: 800; }
    .step-item.active .step-badge { background: var(--ep-primary); color: #ffffff; }
    .step-item.completed .step-badge { background: #16a34a; color: #ffffff; }
    .step-line { width: 60px; height: 2px; background: #e2e8f0; }

    /* Checkout Grid */
    .checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 35px; }

    /* Cards */
    .card-box { background: #ffffff; border-radius: 8px; border: 1px solid #e2e8f0; padding: 20px; box-shadow: var(--ep-shadow-sm); margin-bottom: 20px; }
    .card-title { font-size: var(--ep-text-lg); font-weight: 800; color: #0f172a; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }

    /* Cart Items Table List */
    .cart-table-item { display: grid; grid-template-columns: 80px 1fr 140px; gap: 15px; padding: 16px 0; border-bottom: 2px solid #cbd5e1; align-items: start; }
    .cart-table-item:last-child { border-bottom: none; }
    .cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid #e2e8f0; }
    
    .item-tech-badge-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 12px; margin-top: 8px; font-size: var(--ep-text-xs); }
    
    /* Logo Upload Dropzone */
    .upload-zone { border: 2px dashed #13528A; background: #f0f7ff; border-radius: 8px; padding: 20px; text-align: center; cursor: pointer; transition: all 0.2s ease; position: relative; }@media (hover: hover) {
  .upload-zone:hover {
    background: #e2f0fe; border-color: #0B3C6A;
  }
}
    .upload-icon { font-size: var(--ep-text-3xl); margin-bottom: 6px; display: block; }
    .file-input-hidden { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
    .upload-preview-box { display: none; margin-top: 15px; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px; display: flex; align-items: center; justify-content: space-between; }

    /* Form Fields */
    .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
    .form-grid-30-70 { display: grid; grid-template-columns: 1.2fr 2.8fr; gap: 12px; margin-bottom: 10px; }
    .form-group { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
    .form-grid-2 .form-group, .form-grid-30-70 .form-group { margin-bottom: 0; }
    .form-label { font-size: var(--ep-text-sm); font-weight: 700; color: #334155; }
    .form-input, .form-select, .form-textarea { padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: var(--ep-text-sm); outline: none; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
    .form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--ep-primary); box-shadow: 0 0 0 3px rgba(15,76,129,0.15); }

    /* Validation Errors */
    .input-error { border-color: #ef4444 !important; background-color: #fef2f2 !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important; }
    .field-error-msg { color: #dc2626; font-size: var(--ep-text-xs); font-weight: 700; margin-top: 4px; display: flex; align-items: center; gap: 4px; animation: fadeIn 0.2s ease; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(-2px); } to { opacity: 1; transform: translateY(0); } }

    .address-section-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 18px; margin-top: 15px; }

    /* Right Order Summary Column */
    .summary-card { background: #ffffff; border-radius: 8px; border: 1px solid #e2e8f0; padding: 25px; box-shadow: var(--ep-shadow-sm); position: sticky; top: 110px; }
    .summary-row { display: flex; justify-content: space-between; font-size: 0.82rem; color: #475569; margin-bottom: 8px; }
    .summary-row.total { border-top: 2px solid #e2e8f0; padding-top: 15px; font-size: 1.2rem; font-weight: 900; color: #0f172a; margin-top: 8px; }

    .payment-option-btn { border: 2px solid #cbd5e1; border-radius: 8px; padding: 14px; margin-bottom: 10px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 12px; background: #ffffff; }
    .payment-option-btn.active { border-color: var(--ep-primary); background: #eef5ff; box-shadow: 0 4px 10px rgba(15,76,129,0.1); }
    .payment-radio { width: 18px; height: 18px; accent-color: var(--ep-primary); }

    .btn-checkout-primary { position: relative; width: 100%; background: #28a745; color: white; padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer; transition: all 0.2s; box-shadow: 0 2px 4px rgba(40,167,69,0.15); text-align: center; margin-top: 15px; display: flex; justify-content: center; align-items: center; gap: 8px; }@media (hover: hover) {
  .btn-checkout-primary:hover {
    background: #218838; transform: translateY(-1px);
  }
}
    .btn-checkout-primary svg { position: absolute; left: 18px; }@media (hover: hover) {
  .btn-checkout-disabled, .btn-checkout-disabled:hover {
    background: #cbd5e1 !important; color: #64748b !important; cursor: not-allowed !important; transform: none !important; box-shadow: none !important; border-color: #cbd5e1 !important;
  }
}

    .ep-alert-mov { background-color: #fef2f2; border: 1.5px solid #f87171; color: #b91c1c; padding: 12px; border-radius: 6px; font-size: 0.85rem; text-align: center; margin-bottom: 15px; font-weight: 600; animation: ep-mov-pulse 2s ease-in-out infinite; }

    .btn-quote-pdf-sec { position: relative; width: 100%; background: transparent; color: var(--ep-primary); padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 0.82rem; border: 1.5px solid var(--ep-primary); cursor: pointer; transition: all 0.2s; text-align: center; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }@media (hover: hover) {
  .btn-quote-pdf-sec:hover {
    background: #f1f5f9; transform: translateY(-1px);
  }
}
    .btn-quote-pdf-sec svg { position: absolute; left: 18px; }



    @media (max-width: 900px) {
      .checkout-grid { grid-template-columns: 1fr; }
      .form-grid-2, .form-grid-30-70 { grid-template-columns: 1fr; }
      .stepper-flex { gap: 15px; }
      .footer-grid { grid-template-columns: 1fr; }
      .sub-footer-flex { flex-direction: column; gap: 10px; text-align: center; }
    }
    @media (max-width: 768px) {
      .ep-modal-content { padding: 30px 20px; margin: 15px; }
      .cart-main-grid { grid-template-columns: 1fr; }
      .full-cart-item { flex-direction: column; align-items: flex-start; text-align: left; }
      .full-cart-item img { margin-bottom: 15px; }
    }
    @media (max-width: 600px) {
      .cart-table-item {
        grid-template-columns: 70px 1fr;
        gap: 10px;
      }
      .cart-table-item .ep-cart-item-actions-col {
        grid-column: span 2;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px dashed #e2e8f0;
      }
      .cart-table-item .ep-cart-item-actions-col .ep-cart-item-total-group {
        text-align: right;
      }
    }

    /* Favoritos */
    .favorites-count-badge { display: inline-flex; justify-content: center; align-items: center; }
    .cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99998; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
    .cart-overlay.open { opacity: 1; pointer-events: auto; }
    .favorites-drawer {
      position: fixed; top: 0; right: -420px; width: 420px; height: 100vh;
      background: #ffffff; z-index: 99999; box-shadow: -4px 0 25px rgba(0,0,0,0.1);
      transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex; flex-direction: column;
    }
    .favorites-drawer.open { right: 0; }
    .favorites-header { padding: 20px; border-bottom: 1px solid var(--ep-border-color); display: flex; justify-content: space-between; align-items: center; background: #f8fafc; }
    .favorites-body { padding: 20px; flex: 1; overflow-y: auto; }
    @media (max-width: 768px) {
      .favorites-drawer { width: 100%; right: -100%; }
      .favorites-drawer.open { right: 0; }
    }
/* Animaciones Guia Elegante de Compra (UX) */
@keyframes elegantPulseGlow {
  0% { 
    box-shadow: 0 0 0 0px #ffffff, 0 0 0 0px var(--ep-accent), 0 0 0 0px rgba(255, 153, 0, 0.4); 
  }
  50% { 
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--ep-accent), 0 0 20px 8px rgba(255, 153, 0, 0.35); 
  }
  100% { 
    box-shadow: 0 0 0 0px #ffffff, 0 0 0 0px var(--ep-accent), 0 0 0 0px rgba(255, 153, 0, 0); 
  }
}

.elegant-guide-glow {
  animation: elegantPulseGlow 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

/* Vibración de alerta B2B */
@keyframes shakeWarning {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); border-color: #ef4444; }
  40%, 80% { transform: translateX(5px); border-color: #ef4444; }
}
.shake-warning {
  animation: shakeWarning 0.5s ease-in-out !important;
  border: 1px solid #ef4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3) !important;
}

/* Palpitación de alerta roja estática (sin movimiento) */
@keyframes alertPulseRed {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); border-color: #ef4444; }
  50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); border-color: #ef4444; }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); border-color: #e2e8f0; }
}
.alert-pulse-red {
  animation: alertPulseRed 1.2s ease-in-out !important;
  border: 1px solid #ef4444 !important;
}

/* ========================================================================== */
   B2B SHOPPING CART COMPONENT STYLES
   ========================================================================== */

/* Cart Empty State */
.ep-cart-empty-state {
  text-align: center;
  padding: 40px 0;
  color: #64748b;
}
.ep-cart-empty-state p {
  margin-bottom: 15px;
}
.ep-cart-empty-btn {
  background: #13528A;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--ep-text-sm);
  display: inline-block;
}

/* Badges */
.ep-badge-printed {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 1px 6px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.ep-badge-plain {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 1px 6px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.ep-badge-cart-count {
  background: #e0f2fe;
  color: #13528A;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

/* Cart Item Name & Meta */
.ep-cart-item-name {
  font-size: var(--ep-text-base);
  color: #0f172a;
  display: block;
}
.ep-cart-item-meta {
  font-size: var(--ep-text-xs);
  color: #64748b;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ep-cart-item-sku {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-family: monospace;
}
.ep-cart-item-color {
  font-weight: 600;
}

/* Micro-Cards (Price Breakdown) */
.ep-micro-card-base {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 5px 10px;
  margin-top: 6px;
  font-size: 0.76rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ep-micro-card-tech {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 5px 10px;
  margin-top: 4px;
  font-size: 0.76rem;
}
.ep-micro-card-tech-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ep-micro-card-tech-details {
  color: #059669;
  font-size: 0.72rem;
  line-height: 1.35;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed #86efac;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.ep-micro-card-plain {
  background: #f0f7ff;
  border: 1px dashed #93c5fd;
  padding: 5px 10px;
  border-radius: 6px;
  margin-top: 6px;
  font-size: 0.76rem;
}
.ep-micro-card-plain-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Micro-Card Labels & Values */
.ep-mc-label-base { color: #1e40af; font-weight: 500; }
.ep-mc-val-base-unit { color: #1e3a8a; font-weight: 600; }
.ep-mc-val-base-total { color: #1e3a8a; font-weight: 600; font-size: 0.78rem; }
.ep-mc-label-tech { color: #047857; font-weight: 500; }
.ep-mc-val-tech-unit { color: #047857; font-weight: 600; }
.ep-mc-val-tech-total { color: #047857; font-weight: 600; font-size: 0.78rem; }
.ep-mc-note-plain { color:#64748b; font-size:0.7rem; }

/* Micro-Card Buttons */
.ep-btn-remove-tech {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 0.70rem;
  cursor: pointer;
  font-weight: 500;
  padding: 0;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}@media (hover: hover) {
  .ep-btn-remove-tech:hover {
    color: #b91c1c;
  }
}
.ep-btn-quick-add {
  background: #13528A;
  color: #fff;
  border: none;
  padding: 3px 10px;
  border-radius: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(15,76,129,0.12);
  transition: all 0.2s;
}@media (hover: hover) {
  .ep-btn-quick-add:hover {
    background: #0056b3;
  }
}
.ep-mc-actions-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 4px;
}

/* Cart Item Right Actions (Qty & Total) */
.ep-cart-item-actions-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: flex-end;
}
.ep-cart-item-controls-row {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.ep-qty-ctrl-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  background: #f8fafc;
}
.ep-qty-btn {
  border: none;
  background: transparent;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #13528A;
  font-weight: 700;
  line-height: 1;
}
.ep-qty-val {
  min-width: 32px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  padding: 0 4px;
}
.ep-btn-remove-item {
  border: none;
  background: #fef2f2;
  color: #ef4444;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
}
.ep-cart-item-total-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 2px;
}
.ep-cart-item-total-val {
  font-size: 1.08rem;
  font-weight: 800;
  color: #13528A;
  line-height: 1.2;
}

/* Upload Logo Section */
.ep-upload-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
}
.ep-upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.ep-upload-btn {
  background: #13528A;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}@media (hover: hover) {
  .ep-upload-btn:hover {
    background: #0056b3;
  }
}
.ep-upload-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.ep-upload-hint-wrapper {
  flex: 1;
  min-width: 200px;
}
.ep-upload-hint-text {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
  line-height: 1.3;
  margin-bottom: 5px;
}
.ep-upload-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ep-upload-checkbox {
  width: 14px;
  height: 14px;
  accent-color: var(--ep-primary);
  cursor: pointer;
}
.ep-upload-checkbox-label {
  font-size: 0.75rem;
  color: #475569;
  cursor: pointer;
  line-height: 1.2;
}

/* Upload Preview */
.ep-upload-preview-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ep-upload-filename {
  font-size: var(--ep-text-sm);
  color: #1e293b;
  font-weight: 700;
}
.ep-upload-success-text {
  font-size: var(--ep-text-xs);
  color: #16a34a;
  font-weight: 700;
}
.ep-btn-upload-remove {
  border: none;
  background: #fef2f2;
  color: #ef4444;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: var(--ep-text-xs);
}

/* Alerts */
.ep-checkout-alert {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 25px;
  color: #be123c;
  font-size: var(--ep-text-sm);
  font-weight: 500;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.05);
}

/* Shipping Same Address Checkbox */
.ep-shipping-same-wrapper {
  margin-top: 15px;
  padding: 12px 14px;
  background: #eef5ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ep-shipping-same-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--ep-primary);
}
.ep-shipping-same-label {
  font-size: var(--ep-text-sm);
  font-weight: 700;
  color: #13528A;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.ep-shipping-address-box {
  border-color: #38bdf8;
  background: #ffffff;
}

/* Finance Summary Note */
.ep-summary-note-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  justify-content: center;
  margin-top: 15px;
  padding: 0 10px;
}
.ep-summary-note-text {
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: left;
  color: #94a3b8;
}


@keyframes ep-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.ep-shake-anim {
  animation: ep-shake 0.4s ease-in-out !important;
}

@keyframes ep-mov-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0);
    background-color: #fef2f2;
  }
  50% {
    box-shadow: 0 0 0 5px rgba(248, 113, 113, 0.25);
    background-color: #fee2e2;
  }
}

@keyframes price-flash-anim {
  0%   { background-color: #fef08a; color: #854d0e; }
  60%  { background-color: #fef9c3; color: #713f12; }
  100% { background-color: transparent; color: inherit; }
}
.price-flash {
  animation: price-flash-anim 0.5s ease-out forwards;
}

/* --- Banner de Urgencia --- */
.ep-urgency-banner {
  display: none; /* Oculto por defecto */
  background: var(--ep-brand-red);
  background: linear-gradient(90deg, #d9232a 0%, #b91d24 100%);
  color: white;
  padding: 10px 15px;
  text-align: center;
  font-size: var(--ep-text-sm);
  font-weight: 600;
  z-index: 1000;
  width: 100%;
}
.ep-urgency-banner.active {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ep-urgency-timer {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ep-timer-block {
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 8px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
  font-family: monospace;
  font-size: 15px;
}

/* --- Testimonios B2B --- */
.ep-testimonials-section {
  padding: 20px 0;
  background-color: var(--ep-bg-main);
}
.ep-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}
.ep-testimonial-card {
  background: white;
  border-radius: var(--ep-radius-md);
  padding: 15px;
  box-shadow: var(--ep-shadow-sm);
  border: 1px solid var(--ep-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}@media (hover: hover) {
  .ep-testimonial-card:hover {
    transform: translateY(-3px);
  box-shadow: var(--ep-shadow-md);
  }
}
.ep-testimonial-stars {
  color: #fbbf24;
  margin-bottom: 8px;
  font-size: 0.8rem;
  display: flex;
  gap: 2px;
}
.ep-testimonial-text {
  font-size: 0.75rem;
  color: var(--ep-text-main);
  line-height: 1.4;
  margin-bottom: 12px;
  font-style: italic;
}
.ep-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ep-testimonial-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--ep-border-color);
}
.ep-testimonial-info h5 {
  margin: 0 0 2px 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ep-primary);
}
.ep-testimonial-info p {
  margin: 0;
  font-size: 0.65rem;
  color: var(--ep-text-muted);
}

/* =========================================================
   Catálogo: Filtros Horizontales y Layout
   ========================================================= */

.horizontal-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 1px solid var(--ep-border-color);
  border-radius: var(--ep-radius-lg);
  padding: 15px 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

@media (max-width: 768px) {
  .horizontal-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .horizontal-filter-bar > div {
    width: 100%;
  }
}

/* Animación de Filtrado en Tarjetas */
.product-card, .catalog-card {
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  transform-origin: top center;
}

.product-card.hidden-by-filter, .catalog-card.hidden-by-filter {
  display: none !important;
}

.product-card.fade-out, .catalog-card.fade-out {
  opacity: 0;
  transform: scale(0.95);
}

/* =========================================================
   Product Grid & Cards (Global)
   ========================================================= */
.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.product-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 8px 8px 10px 8px;
  transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible;
  min-height: 345px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
  }
}@media (hover: hover) {
  .product-card:hover .product-img {
    transform: scale(1.04);
  }
}
.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-family: var(--ep-font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}
.new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-family: var(--ep-font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}
.product-card > .product-info { display: flex; flex-direction: column; width: 100%; flex: 1 1 auto; }
.product-actions { margin-top: auto; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 4px; padding-top: 8px; width: 100%; }
.product-img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  margin-bottom: 6px;
  border-radius: 8px;
  cursor: pointer;
  background: #ffffff;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-cat {
  font-size: 0.58rem;
  color: var(--ep-text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
  display: block;
}
.product-name {
  font-family: var(--ep-font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 0 3px 0;
  color: var(--ep-text-main);
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
}
.product-name a { text-decoration: none; color: inherit; transition: color 0.2s; }@media (hover: hover) {
  .product-name a:hover {
    color: var(--ep-primary);
  }
}

.product-sku-min-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  color: #64748b;
  font-weight: 600;
  margin: 1px 0 3px 0;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  white-space: nowrap;
}
.product-sku-min-row span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.product-sku-min-row span:last-child {
  flex-shrink: 0;
}
.product-card .selected-color-label { display: none !important; }
.product-price {
  font-family: var(--ep-font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ep-primary, #13528A);
  margin-bottom: 4px;
  margin-top: auto;
}

.quantity-nav {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}
.quantity-button {
  width: 22px;
  height: 24px;
  background: #f8fafc;
  border: none;
  font-weight: bold;
  font-size: var(--ep-text-xs);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}@media (hover: hover) {
  .quantity-button:hover {
    background: #e2e8f0;
  }
}
.quantity-input {
  width: 28px;
  height: 24px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: var(--ep-text-xs);
  outline: none;
  -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

.ep-swatch-list { display: flex; gap: 4px; margin: 1px 0 3px 0; height: auto; max-height: 32px; overflow: hidden; flex-wrap: wrap; }
.ep-swatch-item { flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%; border: 2px solid transparent; outline: 1px solid #cbd5e1; cursor: pointer; transition: transform 0.15s; }
.ep-swatch-item.active { border-color: var(--ep-primary); transform: scale(1.15); }

/* Quick Add Modal Color Pills */
.qa-color-pill-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  border: 1.5px solid #cbd5e1 !important;
  background: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  width: auto !important;
  height: auto !important;
  min-height: 32px !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  outline: none !important;
}
.qa-color-pill-btn:hover:not(:disabled) {
  border-color: #0F4C81 !important;
  background: #f0f7ff !important;
  transform: translateY(-1px);
}
.qa-color-pill-btn.is-active {
  border-color: #0F4C81 !important;
  background: #eff6ff !important;
  box-shadow: 0 2px 6px rgba(15, 76, 129, 0.18) !important;
}
.qa-color-pill-btn.is-out-of-stock,
.qa-color-pill-btn:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  border-style: dashed !important;
  background: #f8fafc !important;
}
.qa-color-pill-btn .qa-color-dot {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}
.qa-color-pill-btn .qa-color-name {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  white-space: nowrap !important;
}
.qa-color-pill-btn.is-active .qa-color-name {
  color: #0F4C81 !important;
}
.qa-color-pill-btn .qa-color-stock {
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
  white-space: nowrap !important;
}
.qa-color-pill-btn .qa-color-stock.out {
  color: #ef4444 !important;
  font-weight: 700 !important;
}

/* Botón Añadir en tarjeta */
.product-card .btn-outline-orange {
  background: #ffffff;
  border: 1.5px solid var(--ep-brand-yellow, #F28F00);
  color: var(--ep-brand-yellow, #F28F00);
  border-radius: 6px;
  padding: 4px 8px !important;
  font-family: var(--ep-font-heading);
  font-size: 0.68rem !important;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}@media (hover: hover) {
  .product-card .btn-outline-orange:hover {
    background: var(--ep-brand-yellow, #F28F00);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(242, 143, 0, 0.3);
  }
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { padding: 12px; height: auto !important; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   UX/UI Premium Micro-interactions (Punto 3)
   ========================================================= */

/* 1. Buscador Luminoso (Glow Effect) */
.ep-header-search input:focus {
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.15), 0 0 15px rgba(255, 107, 0, 0.1);
    border-color: var(--ep-primary);
    outline: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 2. Filtros Interactivos (Hover & Scale) */
.ep-filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}@media (hover: hover) {
  .ep-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
}

.ep-filter-btn:active {
    transform: translateY(0);
    scale: 0.97;
}

.ep-filter-btn.active {
    background-color: var(--ep-primary);
    color: white;
    border-color: var(--ep-primary);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
}

/* 3. Transiciones de Tarjetas al Filtrar */
.product-card, .catalog-card {
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.product-card.fade-out, .catalog-card.fade-out {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    pointer-events: none;
}


/* ========================================= */
/* PDF QUOTE MAQUETA STYLES                  */
/* ========================================= */

    * { box-sizing: border-box; margin: 0; padding: 0; }
    .pdf-document-body { 
      font-family: var(--ep-font); 
      background-color: #f1f5f9; 
      color: var(--ep-text-main); 
      padding: 30px 15px; 
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
    }
    
    /* Document Container styled like a compact Letter Sheet */
    .quote-paper {
      max-width: 850px;
      margin: 0 auto;
      background: #ffffff;
      padding: 30px 40px;
      border-radius: 8px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      position: relative;
    }

    /* Print Action Bar */
    .print-actions-bar {
      max-width: 850px;
      margin: 0 auto 12px auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #ffffff;
      padding: 12px 20px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      border: 1px solid var(--ep-border);
    }

    .btn-print {
      background: var(--ep-primary);
      color: #ffffff;
      border: 1px solid transparent;
      padding: 8px 16px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.85rem;
      cursor: pointer;
      box-shadow: 0 3px 8px rgba(15, 76, 129, 0.2);
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: all 0.2s;
    }@media (hover: hover) {
  .btn-print:hover {
    background: #0B3C6A; transform: translateY(-1px);
  }
}

    .btn-back {
      color: var(--ep-text-muted);
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }@media (hover: hover) {
  .btn-back:hover {
    color: var(--ep-primary); text-decoration: underline;
  }
}

    /* Ultra-Premium Doc Header */
    .doc-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 25px;
      border-bottom: 2px solid var(--ep-border);
      padding-bottom: 15px;
    }

    .header-left {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .brand-logo-doc {
      height: 45px;
      width: auto;
      object-fit: contain;
    }

    .header-divider {
      width: 1px;
      height: 40px;
      background-color: var(--ep-border);
    }

    .company-details {
      font-size: 0.70rem;
      color: var(--ep-text-muted);
      line-height: 1.4;
    }
    .company-details strong {
      color: var(--ep-primary);
      font-weight: 700;
    }

    .quote-badge-box {
      text-align: right;
    }

    .quote-title {
      font-size: 1.4rem;
      font-weight: 900;
      color: var(--ep-primary);
      letter-spacing: -0.5px;
      margin-bottom: 4px;
      text-transform: uppercase;
    }

    .quote-folio {
      background: var(--ep-primary);
      color: #ffffff;
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 700;
      display: inline-block;
      margin-bottom: 6px;
      letter-spacing: 0.5px;
      font-variant-numeric: tabular-nums;
    }

    .doc-meta {
      font-size: 0.70rem;
      color: var(--ep-text-muted);
      line-height: 1.4;
    }

    /* Client Info Grid - Elegant styling */
    .client-info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      background: #fafafa;
      border-radius: 6px;
      padding: 15px 20px;
      margin-bottom: 25px;
      border-left: 3px solid var(--ep-primary);
    }

    .info-group-title {
      font-size: 0.70rem;
      font-weight: 800;
      text-transform: uppercase;
      color: var(--ep-primary);
      letter-spacing: 0.5px;
      margin-bottom: 6px;
    }

    .info-row {
      font-size: 0.75rem;
      margin-bottom: 3px;
      color: var(--ep-text-muted);
    }

    .info-row strong {
      color: var(--ep-text-main);
      display: inline-block;
      width: 85px;
    }

    /* Ultra-Premium Table Styling */
    .quote-table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 20px;
      font-variant-numeric: tabular-nums;
    }

    .quote-table th {
      color: var(--ep-text-muted);
      font-size: 0.70rem;
      font-weight: 700;
      text-transform: uppercase;
      padding: 8px 10px;
      text-align: left;
      border-bottom: 2px solid var(--ep-primary);
    }

    .quote-table th:last-child { text-align: right; }

    .quote-table td {
      padding: 12px 10px;
      font-size: 0.75rem;
      border-bottom: 1px solid var(--ep-border);
      color: var(--ep-text-main);
      vertical-align: top;
      page-break-inside: avoid;
    }

    .sku-code {
      font-family: monospace;
      font-weight: 700;
      color: var(--ep-text-muted);
      font-size: 0.70rem;
      background: #f1f5f9;
      padding: 2px 4px;
      border-radius: 4px;
    }

    .tech-row td {
      padding-top: 6px;
      padding-bottom: 12px;
      background-color: #fafbfc;
      border-bottom: 1px solid var(--ep-border);
    }

    .tech-icon {
      margin-right: 6px;
      color: var(--ep-primary);
      font-size: 0.85rem;
    }

    .item-total-row td {
      background-color: #f8fafc;
      border-bottom: 2px solid var(--ep-border);
    }

    /* Financial Summary */
    .summary-container {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 30px;
    }

    .totals-box {
      width: 320px;
    }

    .totals-row {
      display: flex;
      justify-content: space-between;
      padding: 6px 10px;
      font-size: 0.80rem;
      color: var(--ep-text-muted);
    }

    .totals-row.final-total {
      background: var(--ep-primary);
      color: #ffffff;
      border-radius: 6px;
      padding: 10px 15px;
      font-size: 1.05rem;
      font-weight: 900;
      margin-top: 8px;
    }

    /* Conditions & Bank Details */
    .conditions-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 30px;
    }

    .condition-box {
      background: #ffffff;
      border: 1px solid var(--ep-border);
      border-radius: 6px;
      padding: 15px;
    }

    .condition-title {
      font-size: 0.70rem;
      font-weight: 800;
      color: var(--ep-primary);
      text-transform: uppercase;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .condition-text {
      font-size: 0.70rem;
      color: var(--ep-text-muted);
      line-height: 1.5;
    }

    .condition-text strong {
      color: var(--ep-text-main);
    }

    /* WebPay Box */
    .webpay-box {
      background: #fdfaf6;
      border: 1px dashed #f59e0b;
      border-radius: 6px;
      padding: 15px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    /* Approval & Signature Block */
    .approval-block {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 30px;
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid var(--ep-border);
    }

    .approval-text {
      font-size: 0.75rem;
      color: var(--ep-text-muted);
      line-height: 1.6;
    }

    .signature-box {
      border: 1px solid var(--ep-border);
      background: #fafafa;
      border-radius: 6px;
      height: 80px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 10px;
    }

    .signature-line {
      border-top: 1px solid #94a3b8;
      padding-top: 4px;
      font-size: 0.65rem;
      color: var(--ep-text-muted);
      font-weight: 600;
      text-align: center;
    }

    /* Document Footer */
    .doc-footer {
      border-top: 1px solid var(--ep-border);
      padding-top: 15px;
      margin-top: 20px;
      text-align: center;
      font-size: 0.65rem;
      color: #94a3b8;
    }

    @media print {
      @page { size: letter; margin: 15mm; }
      .pdf-document-body { background: white; padding: 0; }
      .quote-paper { box-shadow: none; border: none; padding: 0; max-width: 100%; }
      .print-actions-bar { display: none; }
    }

/* --- ESTILOS MOVIDOS DESDE INDEX.HTML --- */
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--ep-font-family); background-color: var(--ep-bg-main); color: var(--ep-text-main); line-height: 1.5; padding-bottom: 0; }

    /* Hero Section Exact Layout */
    .hero-section { padding: 25px 0 15px 0; }
    .hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }

    /* Hero Carousel CSS */
    .hero-carousel-container { position: relative; overflow: hidden; border-radius: 8px; width: 100%; min-height: 300px; box-shadow: var(--ep-shadow-md); }
    .hero-carousel-slides { display: flex; transition: transform 0.5s ease-in-out; height: 100%; }
    .hero-banner-main.slide { min-width: 100%; border-radius: 0; box-shadow: none; min-height: 100%; }
    .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.2); color: white; border: none; font-size: var(--ep-text-xl); width: 36px; height: 36px; cursor: pointer; border-radius: 50%; transition: background 0.3s; z-index: 10; display: flex; align-items: center; justify-content: center; }@media (hover: hover) {
  .carousel-btn:hover {
    background: rgba(255, 255, 255, 0.4);
  }
}
    .carousel-btn.prev { left: 15px; }
    .carousel-btn.next { right: 15px; }
    .carousel-dots { position: absolute; bottom: 15px; width: 100%; text-align: center; z-index: 10; }
    .carousel-dots .dot { display: inline-block; width: 8px; height: 8px; margin: 0 4px; background-color: rgba(255, 255, 255, 0.4); border-radius: 50%; cursor: pointer; transition: all 0.3s; }
    .carousel-dots .dot.active { background-color: white; transform: scale(1.3); }

    .hero-banner-main { background: linear-gradient(135deg, #0d3b66 0%, #0056b3 100%); color: white; border-radius: 8px; padding: 45px 40px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; min-height: 300px; box-shadow: var(--ep-shadow-md); }
    .hero-tag { background: rgba(255,255,255,0.2); padding: 5px 14px; border-radius: 8px; font-size: var(--ep-text-xs); font-weight: 600; display: inline-block; width: fit-content; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
    .hero-title { font-size: var(--ep-text-4xl); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
    .hero-desc { font-size: var(--ep-text-base); opacity: 0.95; margin-bottom: 22px; max-width: 480px; color: #e2e8f0; line-height: 1.4; }
    .btn-primary-orange { background: #F28F00; color: #ffffff; padding: 12px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; display: inline-block; width: fit-content; transition: background 0.2s, transform 0.2s; border: none; cursor: pointer; box-shadow: 0 4px 12px rgba(255,153,0,0.3); }@media (hover: hover) {
  .btn-primary-orange:hover {
    background: #D17B00; transform: translateY(-2px);
  }
}

    .hero-side-banners { display: flex; flex-direction: column; gap: 20px; }
    .side-banner-card { border-radius: 8px; padding: 22px; display: flex; align-items: center; justify-content: space-between; flex: 1; transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); cursor: pointer; }@media (hover: hover) {
  .side-banner-card:hover {
    transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }
}

    /* Category Circles & Trust Badges */
    .section-title { font-size: var(--ep-text-xl); font-weight: 700; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: center; color: var(--ep-text-main); }

    /* Trust Badges Bar B2B */
    .ep-trust-section { margin: 24px auto; }
    .ep-trust-card {
      background: #ffffff;
      border-radius: 14px;
      padding: 18px 24px;
      box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
      border: 1px solid #e2e8f0;
    }
    .trust-badges-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .ep-trust-item {
      display: flex;
      align-items: center;
      gap: 14px;
      transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    }@media (hover: hover) {
  .ep-trust-item:hover {
    transform: translateY(-2px);
  }
}
    .ep-trust-icon-box {
      width: 46px;
      height: 46px;
      border-radius: 12px;
      background: rgba(19, 82, 138, 0.07);
      color: var(--ep-primary, #13528A);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: all 0.25s ease;
      border: 1px solid rgba(19, 82, 138, 0.12);
    }@media (hover: hover) {
  .ep-trust-item:hover .ep-trust-icon-box {
    background: var(--ep-primary, #13528A);
      color: #ffffff;
      transform: scale(1.06);
      box-shadow: 0 6px 14px rgba(19, 82, 138, 0.25);
  }
}
    .ep-trust-text {
      display: flex;
      flex-direction: column;
    }
    .ep-trust-title {
      font-family: var(--ep-font-heading);
      font-size: 0.88rem;
      font-weight: 700;
      color: #0f172a;
      margin: 0 0 3px 0;
      line-height: 1.25;
    }
    .ep-trust-desc {
      font-size: 0.76rem;
      color: #64748b;
      margin: 0;
      line-height: 1.35;
    }

    /* Category Circles B2B */
    .categories-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr) !important;
      gap: 20px 16px;
      margin-bottom: 35px;
    }
    .ep-category-circle-item {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
      transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
      padding-top: 6px;
    }@media (hover: hover) {
  .ep-category-circle-item:hover {
    transform: translateY(-5px);
  }
}
    .ep-circle-wrapper {
      position: relative;
      width: clamp(105px, 10vw, 136px);
      height: clamp(105px, 10vw, 136px);
      border-radius: 50%;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
      border: 3.5px solid #ffffff;
      margin: 0 auto;
      transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    }@media (hover: hover) {
  .ep-category-circle-item:hover .ep-circle-wrapper {
    box-shadow: 0 16px 32px -4px rgba(19, 82, 138, 0.22), 0 0 0 2px var(--ep-primary, #13528A);
      border-color: #ffffff;
      transform: scale(1.03);
  }
}
    .ep-circle-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    }@media (hover: hover) {
  .ep-category-circle-item:hover .ep-circle-wrapper img {
    transform: scale(1.08);
  }
}
    .ep-category-circle-title {
      font-family: var(--ep-font-heading);
      font-size: 0.82rem;
      font-weight: 700;
      color: #1e293b;
      margin-top: 10px;
      text-align: center;
      line-height: 1.25;
      max-width: 130px;
      transition: color 0.25s ease;
    }@media (hover: hover) {
  .ep-category-circle-item:hover .ep-category-circle-title {
    color: var(--ep-primary, #13528A);
  }
}

    /* Category Prospecting Badges */
    .ep-category-badge {
      position: absolute;
      top: -2px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--ep-primary, #13528A);
      color: #ffffff;
      font-family: var(--ep-font-heading);
      font-size: 0.58rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      padding: 2px 7px;
      border-radius: 10px;
      white-space: nowrap;
      box-shadow: 0 3px 8px rgba(19, 82, 138, 0.35);
      z-index: 5;
      pointer-events: none;
      border: 1.5px solid #ffffff;
    }
    .ep-category-badge.ep-badge-red {
      background: var(--ep-brand-red, #d9232a);
      box-shadow: 0 3px 8px rgba(217, 35, 42, 0.4);
    }
    .ep-category-badge.ep-badge-green {
      background: #059669;
      box-shadow: 0 3px 8px rgba(5, 150, 105, 0.4);
    }
    .ep-category-badge.ep-badge-blue {
      background: #13528A;
      box-shadow: 0 3px 8px rgba(19, 82, 138, 0.4);
    }
    .ep-category-badge.ep-badge-amber {
      background: #d97706;
      box-shadow: 0 3px 8px rgba(217, 119, 6, 0.4);
    }

    /* Product Grid and Card styles moved to design_system.css */
    /* Footer: estilos gestionados por design_system.css */

    @media (max-width: 1100px) {
      .categories-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 16px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .trust-badges-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    }
    @media (max-width: 900px) {
      .hero-grid { grid-template-columns: 1fr; }
      .categories-grid { grid-template-columns: repeat(3, 1fr) !important; }
      .footer-grid { grid-template-columns: 1fr; }
      .sub-footer-flex { flex-direction: column; gap: 10px; text-align: center; }
      .trust-badges-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    }
    @media (max-width: 768px) {
      .categories-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 10px; }
      .cart-drawer { width: 100%; right: -100%; }
      .hero-title { font-size: var(--ep-text-3xl); }
      .hero-banner-main { padding: 25px 20px; min-height: auto; }
      .ep-trust-card { padding: 14px; }
      .trust-badges-grid { grid-template-columns: 1fr; gap: 12px; }
      .ep-category-badge { font-size: 0.52rem; padding: 1px 5px; }
    }
    @media (max-width: 480px) {
      .categories-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
    }

    /* Mobile Menu Drawer CSS */
    
    
    
    
    


    /* Favoritos */
    .btn-favorite {
      position: absolute;
      top: 15px;
      right: 15px;
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid var(--ep-border-color);
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: var(--ep-text-xl);
      color: #94a3b8;
      cursor: pointer;
      z-index: 10;
      transition: all 0.2s ease;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }@media (hover: hover) {
  .btn-favorite:hover {
    transform: scale(1.1);
      color: var(--ep-brand-red);
  }
}
    .btn-favorite.active {
      color: var(--ep-brand-red);
      border-color: var(--ep-brand-red);
      background: #fff;
    }

    /* Panel Lateral de Favoritos */
    .favorites-drawer {
      position: fixed;
      top: 0;
      right: -400px;
      width: 400px;
      height: 100vh;
      background: #ffffff;
      box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
      z-index: 10000;
      transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
    }
    .favorites-drawer.open {
      right: 0;
    }
    @media (max-width: 480px) {
      .favorites-drawer { width: 100%; right: -100%; }
      .favorites-drawer.open { right: 0; }
    }
    .favorites-header {
      background: var(--ep-primary);
      color: #fff;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .favorites-body {
      flex: 1;
      overflow-y: auto;
      padding: 0;
    }


  <style>
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--ep-font-family); background-color: var(--ep-bg-main); color: var(--ep-text-main); line-height: 1.5; padding-bottom: 0; }

    /* Hero Section Exact Layout */
    .hero-section { padding: 25px 0 15px 0; }
    .hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }

    /* Hero Carousel CSS */
    .hero-carousel-container { position: relative; overflow: hidden; border-radius: 16px; width: 100%; min-height: 300px; box-shadow: var(--ep-shadow-md); }
    .hero-carousel-slides { display: flex; transition: transform 0.5s ease-in-out; height: 100%; }
    .hero-banner-main.slide { min-width: 100%; border-radius: 0; box-shadow: none; min-height: 100%; }
    .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.2); color: white; border: none; font-size: 1.2rem; width: 36px; height: 36px; cursor: pointer; border-radius: 50%; transition: background 0.3s; z-index: 10; display: flex; align-items: center; justify-content: center; }@media (hover: hover) {
  .carousel-btn:hover {
    background: rgba(255, 255, 255, 0.4);
  }
}
    .carousel-btn.prev { left: 15px; }
    .carousel-btn.next { right: 15px; }
    .carousel-dots { position: absolute; bottom: 15px; width: 100%; text-align: center; z-index: 10; }
    .carousel-dots .dot { display: inline-block; width: 8px; height: 8px; margin: 0 4px; background-color: rgba(255, 255, 255, 0.4); border-radius: 50%; cursor: pointer; transition: all 0.3s; }
    .carousel-dots .dot.active { background-color: white; transform: scale(1.3); }

    .hero-banner-main { background: linear-gradient(135deg, #0d3b66 0%, #0056b3 100%); color: white; border-radius: 16px; padding: 45px 40px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; min-height: 300px; box-shadow: var(--ep-shadow-md); }
    .hero-tag { background: rgba(255,255,255,0.2); padding: 5px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; display: inline-block; width: fit-content; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
    .hero-title { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
    .hero-desc { font-size: 0.98rem; opacity: 0.95; margin-bottom: 22px; max-width: 480px; color: #e2e8f0; line-height: 1.4; }
    .btn-primary-orange { background: #ff9900; color: #ffffff; padding: 12px 28px; border-radius: 50px; font-weight: 700; text-decoration: none; display: inline-block; width: fit-content; transition: background 0.2s, transform 0.2s; border: none; cursor: pointer; box-shadow: 0 4px 12px rgba(255,153,0,0.3); }@media (hover: hover) {
  .btn-primary-orange:hover {
    background: #e68a00; transform: translateY(-2px);
  }
}

    .hero-side-banners { display: flex; flex-direction: column; gap: 20px; }
    .side-banner-card { border-radius: 14px; padding: 22px; display: flex; align-items: center; justify-content: space-between; flex: 1; transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); cursor: pointer; }@media (hover: hover) {
  .side-banner-card:hover {
    transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }
}





    /* Mobile Menu Drawer CSS */
    
    
    
    
    
    
    
    
    

    /* Favoritos */
    .btn-favorite {
      position: absolute;
      top: 15px;
      right: 15px;
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid var(--ep-border-color);
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      color: #94a3b8;
      cursor: pointer;
      z-index: 10;
      transition: all 0.2s ease;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }@media (hover: hover) {
  .btn-favorite:hover {
    transform: scale(1.1);
      color: var(--ep-brand-red);
  }
}
    .btn-favorite.active {
      color: var(--ep-brand-red);
      border-color: var(--ep-brand-red);
      background: #fff;
    }

    /* Panel Lateral de Favoritos */
    .favorites-drawer {
      position: fixed;
      top: 0;
      right: -400px;
      width: 400px;
      height: 100vh;
      background: #ffffff;
      box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
      z-index: 10000;
      transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
    }
    .favorites-drawer.open {
      right: 0;
    }
    @media (max-width: 480px) {
      .favorites-drawer { width: 100%; right: -100%; }
      .favorites-drawer.open { right: 0; }
    }
    .favorites-header {
      background: var(--ep-primary);
      color: #fff;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .favorites-body {
      flex: 1;
      overflow-y: auto;
      padding: 0;
    }

/* Ocultar permanentemente el botón flotante de re-consentimiento de cookies (CookieAdmin) */
button.cookieadmin_re_consent,
.cookieadmin_re_consent,
#cookieadmin_re_consent {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}
