/* =============================================================
   UPS SYSTEM SAC - SISTEMA DE DISEÑO CORPORATIVO PROFESIONAL
   ============================================================= */

:root {
  /* Paleta Corporativa Oficial UPS SYSTEM SAC */
  --primary: #ed1c24;
  --primary-dark: #c9141b;
  --primary-light: #fef2f2;
  --primary-rgb: 237, 28, 36;

  --corporate-navy: #404041;
  --corporate-dark: #2b2b2c;
  --corporate-blue: #ed1c24;
  --accent: #ed1c24;
  --accent-dark: #c9141b;

  --silver-light: #f4f5f6;
  --silver: #b8babc;
  --silver-dark: #8c8e90;

  --gold: #ed1c24;
  --gold-dark: #c9141b;
  --gold-light: #fef2f2;
  --warning: #f59e0b;
  --danger: #ed1c24;
  --success: #10b981;

  --dark: #404041;
  --dark-surface: #2b2b2c;
  --dark-deep: #1c1c1d;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e2e4e6;
  --gray-300: #b8babc;
  --gray-500: #6b6d70;
  --gray-600: #525254;
  --gray-700: #404041;
  --white: #ffffff;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(64, 64, 65, 0.08);
  --shadow-md: 0 4px 16px rgba(64, 64, 65, 0.10);
  --shadow-lg: 0 12px 32px rgba(64, 64, 65, 0.16);
  --shadow-glow: 0 0 24px rgba(237, 28, 36, 0.25);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ---- Reset Básico ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 75px;
}

body {
  font-family: var(--font-main);
  background-color: #f4f7fb;
  color: var(--gray-700);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* =============================================================
   1. TOPBAR SUPERIOR
   ============================================================= */
.topbar {
  background-color: #262627;
  color: var(--silver);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(184, 186, 188, 0.15);
  padding: 0.45rem 0;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-divider {
  color: #6b6d70;
}

.topbar-left i, .topbar-right i {
  color: var(--primary);
  margin-right: 0.3rem;
}

.topbar-right a:hover {
  color: var(--white);
}

.currency-selector {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 186, 188, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-weight: 600;
}

/* =============================================================
   2. CABECERA PRINCIPAL (HEADER)
   ============================================================= */
.main-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 100;
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1.5rem;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(237, 28, 36, 0.35);
}

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.logo-brand {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo-badge {
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

/* BUSCADOR */
.header-search {
  flex: 1;
  max-width: 600px;
}

.search-form {
  display: flex;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: var(--transition);
}

.search-form:focus-within {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.15);
}

.search-category-select {
  border: none;
  background: transparent;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
  outline: none;
  border-right: 1px solid var(--gray-300);
  cursor: pointer;
}

.search-input-wrapper {
  display: flex;
  flex: 1;
}

.search-input-wrapper input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
}

.search-btn {
  background: var(--primary);
  color: var(--white);
  padding: 0 1.25rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: var(--primary-dark);
}

/* ACCIONES DE USUARIO */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 600;
}

.action-btn:hover {
  color: var(--primary);
}

.action-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.action-btn:hover .action-icon {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.cart-btn .action-icon {
  background: var(--primary-light);
  color: var(--primary);
}

.action-details {
  display: flex;
  flex-direction: column;
}

.action-label {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.cart-total-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
}

.mobile-menu-toggle {
  display: none;
  background: var(--gray-100);
  color: var(--dark);
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
}

/* =============================================================
   3. BARRA DE NAVEGACIÓN (NAVBAR)
   ============================================================= */
.main-navbar {
  background: #2b2b2c;
  border-top: 2px solid var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.25rem 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.nav-item .nav-link {
  color: #e2e4e6;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
  color: var(--white);
  background: rgba(237, 28, 36, 0.16);
}

.nav-item .nav-link.active {
  border-bottom: 2px solid var(--primary);
}

.nav-highlight {
  color: #ffffff !important;
  font-weight: 700;
}

.nav-badge-hot {
  background: var(--primary);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  margin-left: 0.35rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.1); }
}

/* SUBMENÚ DESPLEGABLE DE EMPRESA */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  user-select: none;
}

.dropdown-arrow {
  font-size: 0.7rem;
  margin-left: 0.25rem;
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .dropdown-arrow,
.nav-item-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  max-height: 80vh;
  overflow-y: auto;
  background: #202021;
  border: 1px solid #404041;
  border-top: 2px solid #ed1c24;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  padding: 0.6rem 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
  list-style: none;
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1.25rem;
  color: #e2e4e6 !important;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-item i {
  color: #ed1c24;
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
  transition: transform 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(237, 28, 36, 0.12);
  color: #ffffff !important;
  border-left-color: #ed1c24;
  padding-left: 1.45rem;
}

.dropdown-item:hover i {
  transform: scale(1.18);
}

.nav-promo {
  color: #94a3b8;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-promo strong {
  color: var(--warning);
}

/* =============================================================
   4. SLIDER PRINCIPAL (HERO BANNERS)
   ============================================================= */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background-color: var(--dark);
}

.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 480px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.slide-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
  padding: 4rem 1.25rem;
}

.slide-content {
  color: var(--white);
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(237, 28, 36, 0.15);
  color: #ff6b72;
  border: 1px solid rgba(237, 28, 36, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.slide-badge-secondary {
  background: rgba(184, 186, 188, 0.15);
  color: #ffffff;
  border-color: rgba(184, 186, 188, 0.4);
}

.slide-badge-accent {
  background: rgba(237, 28, 36, 0.15);
  color: #ff8085;
  border-color: rgba(237, 28, 36, 0.35);
}

.slide-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.slide-description {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 540px;
}

.slide-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(237, 28, 36, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d0171e, #a80f15);
  box-shadow: 0 6px 20px rgba(237, 28, 36, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

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

.btn-warning {
  background: linear-gradient(135deg, var(--primary), #c9141b);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(237, 28, 36, 0.35);
}

.btn-warning:hover {
  background: #a80f15;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(237, 28, 36, 0.5);
  transform: translateY(-2px);
}


/* VISUAL DEL SLIDE */
.slide-visual {
  display: flex;
  justify-content: center;
}

.slide-card-preview {
  position: relative;
  width: 280px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: float 4s ease-in-out infinite;
}

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

.promo-circle-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 60px;
  height: 60px;
  background: var(--danger);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(237, 28, 36, 0.45);
  border: 2px solid var(--white);
}

.promo-circle-badge .pct {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.promo-circle-badge .txt {
  font-size: 0.65rem;
  font-weight: 700;
}

.slide-icon-wrapper {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.slide-visual-info h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.price-highlight del {
  color: #b8babc;
  margin-right: 0.5rem;
}

.price-highlight strong {
  color: var(--primary);
  font-size: 1.25rem;
}

/* CONTROLES FLECHAS */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.slider-arrow:hover {
  background: var(--white);
  color: var(--dark);
}

.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot.active {
  width: 32px;
  background: var(--primary);
}

/* =============================================================
   5. BARRA DE BENEFICIOS (TRUST BADGES)
   ============================================================= */
.benefits-section {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 2rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.benefit-card:hover {
  background: var(--gray-50);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.benefit-info p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* =============================================================
   6. SECCIONES COMUNES
   ============================================================= */
.section {
  padding: 4rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-subtitle {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.text-white {
  color: var(--white) !important;
}

.btn-view-all {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-view-all:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

/* =============================================================
   7. CATEGORÍAS POPULARES
   ============================================================= */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.cat-icon-box {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.category-card:hover .cat-icon-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  transform: scale(1.1);
}

.cat-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.cat-count {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.category-card:hover .cat-count {
  color: var(--primary);
}

/* =============================================================
   8. SLIDER DE OFERTAS FLASH
   ============================================================= */
.flash-deals-section {
  background: linear-gradient(135deg, #1c1c1d 0%, #2b2b2c 100%);
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid rgba(184, 186, 188, 0.15);
  position: relative;
}

.flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.flash-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--danger);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.flash-countdown {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cd-label {
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 600;
}

.cd-timer {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cd-box {
  background: var(--danger);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 44px;
}

.cd-box span {
  font-size: 1.1rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.cd-box small {
  font-size: 0.6rem;
  text-transform: uppercase;
}

.cd-colon {
  color: var(--white);
  font-weight: 800;
}

.flash-arrows {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* CARROUSEL CONTAINER */
.deals-carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.deals-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.deals-carousel::-webkit-scrollbar {
  display: none;
}

.deal-card {
  flex: 0 0 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.deal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.deal-badge-disc {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--danger);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.deal-image-box {
  background: var(--gray-100);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deal-prod-icon {
  font-size: 4rem;
  color: var(--gray-600);
  transition: var(--transition);
}

.deal-card:hover .deal-prod-icon {
  transform: scale(1.15);
  color: var(--primary);
}

.deal-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-category {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.prod-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.prod-title a:hover {
  color: var(--primary);
}

.prod-rating {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--warning);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.prod-rating span {
  color: var(--gray-500);
  margin-left: 0.3rem;
  font-weight: 600;
}

.prod-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.price-old {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.btn-add-cart {
  width: 100%;
  background: var(--gray-100);
  color: var(--dark);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-add-cart:hover {
  background: var(--primary);
  color: var(--white);
}

/* =============================================================
   9. SECCIÓN PRODUCTOS DESTACADOS
   ============================================================= */
.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill-btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
}

.pill-btn:hover, .pill-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.prod-card-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.stock-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.stock-badge.in-stock {
  background: #dcfce7;
  color: #15803d;
}

.wishlist-btn {
  width: 34px;
  height: 34px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  box-shadow: var(--shadow-sm);
}

.wishlist-btn:hover, .wishlist-btn.active {
  background: var(--danger);
  color: var(--white);
}

.prod-img-wrap {
  background: var(--gray-50);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.prod-img-placeholder {
  font-size: 5rem;
  color: var(--gray-300);
  transition: var(--transition);
}

.product-card:hover .prod-img-placeholder {
  transform: scale(1.1);
  color: var(--primary);
}

.prod-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-sku {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.prod-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.prod-name a:hover {
  color: var(--primary);
}

.prod-desc-short {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.price-container {
  display: flex;
  align-items: baseline;
}

.price-container .currency {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-right: 0.2rem;
}

.price-container .amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.btn-quick-add {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.btn-quick-add:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
}

/* =============================================================
   10. BANNER PROMOCIONAL
   ============================================================= */
.promo-banner-section {
  margin-bottom: 4rem;
}

.promo-banner-card {
  background: linear-gradient(135deg, #2b2b2c 0%, #404041 100%);
  border: 1px solid rgba(184, 186, 188, 0.2);
  border-left: 6px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  align-items: center;
  gap: 2rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.promo-tag {
  background: rgba(237, 28, 36, 0.2);
  color: #ff8085;
  border: 1px solid rgba(237, 28, 36, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1rem;
}

.promo-banner-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.promo-banner-content p {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 600px;
}

.promo-banner-art {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
}

/* =============================================================
   11. FOOTER (PIE DE PÁGINA)
   ============================================================= */
.main-footer {
  background: #1c1c1d;
  color: var(--silver);
  border-top: 3px solid var(--primary);
  margin-top: auto;
}

/* NEWSLETTER */
.footer-newsletter {
  background: #262627;
  border-bottom: 1px solid rgba(184, 186, 188, 0.15);
  padding: 3rem 0;
}

.newsletter-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.newsletter-text {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.newsletter-icon {
  font-size: 3rem;
  color: var(--primary);
}

.newsletter-text h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.newsletter-text p {
  color: var(--silver);
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
}

.btn-subscribe {
  background: var(--primary);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-subscribe:hover {
  background: var(--primary-dark);
}

/* FOOTER GRID */
.footer-grid {
  padding: 4.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo .logo-brand {
  color: var(--white);
}

.about-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-contact-info p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-info i {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--silver);
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--silver-dark);
}

.footer-links a:hover {
  color: #ffffff;
  color: var(--primary);
  transform: translateX(4px);
}

.payment-desc {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.payment-item {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.security-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  color: #a7f3d0;
  font-size: 0.8125rem;
}

.security-badge i {
  font-size: 1.25rem;
  color: var(--success);
  margin-top: 0.1rem;
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.8125rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.text-danger {
  color: var(--danger);
}

/* =============================================================
   12. TOAST NOTIFICATION
   ============================================================= */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1000;
}

.toast {
  background: var(--dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 4px solid var(--success);
  animation: slideIn 0.3s ease forwards;
}

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

/* =============================================================
   13. RESPONSIVIDAD (MOBILE & TABLET)
   ============================================================= */
@media (max-width: 1024px) {
  .slide-title { font-size: 2.25rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-banner-card { grid-template-columns: 1fr; text-align: center; }
  .promo-banner-art { display: none; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  
  .header-container {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .header-search {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .action-label, .cart-total-price {
    display: none;
  }

  .main-navbar {
    display: none;
  }

  .main-navbar.mobile-active {
    display: block;
  }

  .nav-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    border: none;
    border-left: 2px solid #ed1c24;
    background: #1f1f20;
    margin: 0.25rem 0 0.5rem 1rem;
    border-radius: 6px;
  }

  .slide-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1rem;
  }

  .slide-description {
    margin-left: auto;
    margin-right: auto;
  }

  .slide-buttons {
    justify-content: center;
  }

  .slide-visual {
    display: none;
  }

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

  .newsletter-box {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-text {
    flex-direction: column;
  }

  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }

  .btn-subscribe {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================================
   14. SECCIÓN CORPORATIVA: NUESTRA EMPRESA (UPS SYSTEMS PERÚ)
   ============================================================= */
.corp-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(237, 28, 36, 0.12);
  color: #ed1c24;
  border: 1px solid rgba(237, 28, 36, 0.35);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  animation: pulseSubtle 2.5s infinite;
}

@keyframes pulseSubtle {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(237, 28, 36, 0); }
}

.corp-main-title {
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 900;
  color: #404041;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 0.75rem 0 1rem 0;
}

.corp-main-title .highlight {
  color: #ed1c24;
  position: relative;
  display: inline-block;
}

.corp-main-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(237, 28, 36, 0.25);
  border-radius: 2px;
}

.corp-lead-desc {
  font-size: 1.15rem;
  color: #525254;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
}

/* CARDS DE DIVISIONES CORPORATIVAS */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.25rem;
  margin-bottom: 3.5rem;
}

.division-card {
  background: #ffffff;
  border: 1.5px solid #e2e4e6;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 30px rgba(64, 64, 65, 0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.division-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ed1c24, #404041);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.division-card:hover {
  transform: translateY(-8px);
  border-color: #ed1c24;
  box-shadow: 0 20px 40px rgba(237, 28, 36, 0.12);
}

.division-card:hover::before {
  opacity: 1;
}

.division-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f0f1f2;
}

.division-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #fef2f2;
  color: #ed1c24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 14px rgba(237, 28, 36, 0.18);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.division-card:hover .division-icon {
  transform: scale(1.1) rotate(5deg);
  background: #ed1c24;
  color: #ffffff;
}

.division-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #404041;
  line-height: 1.25;
}

.division-subtitle {
  font-size: 0.85rem;
  color: #ed1c24;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.division-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
  flex: 1;
}

.division-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.division-check {
  color: #ed1c24;
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.division-item-title {
  font-weight: 800;
  color: #2b2b2c;
  font-size: 0.98rem;
  display: block;
  line-height: 1.35;
}

.division-item-brands {
  font-size: 0.85rem;
  color: #6b6d70;
  display: block;
  margin-top: 0.2rem;
}

.division-item-brands strong {
  color: #404041;
}

/* MARCAS DISTRIBUIDAS */
.brands-ticker-section {
  background: #f8f9fa;
  border: 1px solid #e2e4e6;
  border-radius: 1.25rem;
  padding: 2rem;
  margin-bottom: 3.5rem;
  text-align: center;
}

.brands-ticker-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #404041;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.brand-badge {
  background: #ffffff;
  border: 1px solid #b8babc;
  color: #404041;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(64, 64, 65, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.brand-badge:hover {
  border-color: #ed1c24;
  color: #ed1c24;
  background: #fef2f2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(237, 28, 36, 0.15);
}

/* SECTORES INDUSTRIALES */
.sectors-section {
  margin-bottom: 3.5rem;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.sector-card {
  background: #ffffff;
  border: 1px solid #e2e4e6;
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.sector-card:hover {
  border-color: #ed1c24;
  background: #fef2f2;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(237, 28, 36, 0.12);
}

.sector-icon {
  font-size: 1.75rem;
  color: #404041;
  transition: color 0.25s ease, transform 0.25s ease;
}

.sector-card:hover .sector-icon {
  color: #ed1c24;
  transform: scale(1.15);
}

.sector-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #404041;
  line-height: 1.2;
}

/* SERVICIOS ESPECIALIZADOS TÉCNICOS */
.services-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.service-highlight-card {
  background: #ffffff;
  border: 1px solid #e2e4e6;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-highlight-card:hover {
  border-color: #ed1c24;
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(64, 64, 65, 0.08);
}

.service-highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f4f5f6;
  color: #404041;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.service-highlight-card:hover .service-highlight-icon {
  background: #ed1c24;
  color: #ffffff;
}

.service-highlight-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #404041;
  margin-bottom: 0.5rem;
}

.service-highlight-desc {
  font-size: 0.9rem;
  color: #6b6d70;
  line-height: 1.5;
}

/* COBERTURA Y SEO */
.coverage-box {
  background: linear-gradient(135deg, #2b2b2c 0%, #1c1c1d 100%);
  border: 1px solid rgba(184, 186, 188, 0.25);
  border-radius: 1.25rem;
  padding: 2.25rem;
  color: #ffffff;
  text-align: center;
}

.coverage-box h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.coverage-box p {
  color: #b8babc;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.coverage-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 186, 188, 0.25);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.coverage-tag:hover {
  background: #ed1c24;
  border-color: #ed1c24;
  color: #ffffff;
  transform: translateY(-2px);
}

/* =============================================================
   15. SLIDER CONTINUO: NUESTRAS REPRESENTACIONES
   ============================================================= */
.representations-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid #e2e4e6;
  border-bottom: 1px solid #e2e4e6;
  padding: 3.5rem 0;
}

.representations-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.representations-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  animation: scrollLogosRightToLeft 25s linear infinite;
}

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

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

.rep-card {
  flex: 0 0 auto;
  width: 175px;
  height: 96px;
  background: #ffffff;
  border: 1.5px solid #e2e4e6;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(64, 64, 65, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.rep-card:hover {
  border-color: #ed1c24;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 26px rgba(237, 28, 36, 0.14);
}

.rep-card img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(80%) opacity(0.85);
  transition: all 0.3s ease;
}

.rep-card:hover img {
  filter: grayscale(0%) opacity(1);
}

.rep-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}

.rep-card-placeholder i {
  font-size: 1.5rem;
  color: #ed1c24;
  transition: transform 0.25s ease;
}

.rep-card:hover .rep-card-placeholder i {
  transform: scale(1.15);
}

.rep-card-placeholder span {
  font-size: 0.88rem;
  font-weight: 800;
  color: #404041;
  letter-spacing: -0.2px;
}
