﻿/* ==========================================================================
   JONKUB — ESTILOS DE E-COMMERCE PROFESIONAL
   E-commerce de playeras DTF, ropa y uniformes
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", Arial, sans-serif;
  color: #000000;
  background-color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   HEADER (BLANCO, STICKY)
-------------------------------------------------------------------------- */
header.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo img {
  height: 44px;
  object-fit: contain;
}

/* Navegación */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  text-decoration: none;
  color: #000000;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-nav a:hover {
  background: #F5F5F5;
  color: #0B3DFF;
}

.header-nav a.activo {
  background: #0B3DFF;
  color: #FFFFFF;
}

/* Buscador */
.header-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 400px;
  justify-content: flex-end;
}

.header-search input {
  width: 100%;
  padding: 12px 44px 12px 44px;
  border: 2px solid #CCCCCC;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Manrope", Arial, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus {
  outline: none;
  border-color: #0B3DFF;
  box-shadow: 0 0 0 3px rgba(11, 61, 255, 0.1);
}

.header-search i {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #666666;
}

/* Carrito */
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #0B3DFF;
  color: #FFFFFF;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.header-cart:hover {
  transform: scale(1.05);
  background: #C40510;
}

/* Enlace "Mi cuenta" sin destino real (no hay cuentas de cliente en el sitio público) */
.header-cart[aria-label="Mi cuenta"] {
  display: none;
}

.header-cart i {
  font-size: 1.3rem;
}

.header-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  background: #FFFFFF;
  color: #0B3DFF;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  border: 2px solid #0B3DFF;
}

/* Usuario */
.header-user {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #F5F5F5;
  color: #000000;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.header-user:hover {
  background: #0B3DFF;
  color: #FFFFFF;
}

.header-user i {
  font-size: 1.3rem;
}

/* Botón menú móvil */
.header-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: #F5F5F5;
  border: none;
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
  flex-shrink: 0;
}

.header-menu-toggle:hover {
  background: #E8E8E8;
}

/* Search icon inside header-search */
.header-search {
  position: relative;
}
.header-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666666;
  pointer-events: none;
}
.header-search input {
  padding-left: 48px !important;
}

/* =========================================================
   MOBILE NAVIGATION DRAWER
   ========================================================= */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 100vw);
  height: 100dvh;
  background: #FFFFFF;
  border-left: 1px solid #CCCCCC;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-header {
  min-height: 70px;
  padding: 18px;
  border-bottom: 1px solid #CCCCCC;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
}

.mobile-nav-header h3 {
  margin: 0;
  font-weight: 700;
  font-size: 1.3rem;
  color: #000000;
}

.mobile-nav-header .icon-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666666;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-header .icon-btn:hover {
  background: #F5F5F5;
  color: #0B3DFF;
}

.mobile-nav-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.mobile-nav-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-content li {
  margin-bottom: 4px;
}

.mobile-nav-content a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: #000000;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-content a:hover,
.mobile-nav-content a.activo {
  background: #0B3DFF;
  color: #FFFFFF;
}

.mobile-nav-content i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

/* Theme toggle */
.theme-toggle {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  z-index: 990;
  border: 1px solid #CCCCCC;
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 44px;
  background: #FFFFFF;
  color: #000000;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

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

.theme-toggle:focus-visible {
  outline: 2px solid #0B3DFF;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   HERO PRINCIPAL
-------------------------------------------------------------------------- */
.hero-main {
  position: relative;
  background: #F5F5F5;
  padding: 48px 16px;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 20px;
  background: #0B3DFF;
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #000000;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: #0B3DFF;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #666666;
  line-height: 1.7;
  max-width: 600px;
}

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

.hero-cta .btn {
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta .btn-primary {
  background: #0B3DFF;
  color: #FFFFFF;
  border: 2px solid #0B3DFF;
}

.hero-cta .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(11, 61, 255, 0.3);
  background: #C40510;
  border-color: #C40510;
}

.hero-cta .btn-secondary {
  background: #FFFFFF;
  color: #000000;
  border: 2px solid #CCCCCC;
}

.hero-cta .btn-secondary:hover {
  transform: translateY(-4px);
  border-color: #0B3DFF;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  animation: float 6s ease-in-out infinite;
}

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

/* --------------------------------------------------------------------------
   CATEGORÍAS
-------------------------------------------------------------------------- */
.categories-section {
  padding: 48px 16px;
  background: #FFFFFF;
}

.categories-container {
  max-width: 1400px;
  margin: 0 auto;
}

.categories-title {
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 32px;
  color: #000000;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 16px;
  background: #F5F5F5;
  border-radius: 12px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-icon {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: rgba(11, 61, 255, 0.1);
  color: #0B3DFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 4px;
}

.category-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #000000;
}

.category-count {
  font-size: 0.85rem;
  color: #666666;
}

/* --------------------------------------------------------------------------
   PRODUCTOS DESTACADOS
-------------------------------------------------------------------------- */
.products-featured-section {
  padding: 48px 16px;
  background: #FFFFFF;
}

.products-featured-container {
  max-width: 1400px;
  margin: 0 auto;
}

.products-featured-title {
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 8px;
  color: #000000;
}

.products-featured-subtitle {
  text-align: center;
  color: #666666;
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #F5F5F5;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.2s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 6px 12px;
  background: #0B3DFF;
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-category {
  font-size: 0.8rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.product-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 4px;
}

.product-brand {
  font-size: 0.85rem;
  color: #666666;
}

.product-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.product-price {
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0B3DFF;
}

.product-price-old {
  font-size: 0.9rem;
  color: #666666;
  text-decoration: line-through;
}

.product-card-btn {
  flex: 0 0 auto;
  width: 100%;
  padding: 12px;
  background: #0B3DFF;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.product-card-btn:hover {
  background: #C40510;
}

.product-card-btn.agotado {
  background: #666666;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   BANNER PROMOCIONAL
-------------------------------------------------------------------------- */
.promo-banner {
  background: #000000;
  color: #FFFFFF;
  padding: 48px 16px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0B3DFF;
  opacity: 0.9;
  z-index: 1;
}

.promo-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.promo-text h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.promo-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.7;
}

.promo-text .btn {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-text .btn-accent {
  background: #0B3DFF;
  color: #FFFFFF;
  border: 2px solid #0B3DFF;
}

.promo-text .btn-accent:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(11, 61, 255, 0.4);
}

.promo-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   BENEFICIOS
-------------------------------------------------------------------------- */
.benefits-section {
  padding: 48px 16px;
  background: #F5F5F5;
}

.benefits-container {
  max-width: 1400px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: #FFFFFF;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #0B3DFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 4px;
}

.benefit-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: #000000;
}

.benefit-subtext {
  font-size: 0.85rem;
  color: #666666;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   MARCAS
-------------------------------------------------------------------------- */
.brands-section {
  padding: 48px 16px;
  background: #FFFFFF;
}

.brands-container {
  max-width: 1400px;
  margin: 0 auto;
}

.brands-title {
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 32px;
  color: #000000;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  justify-items: center;
}

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 1;
  background: #F5F5F5;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.brand-card:hover {
  transform: scale(1.05);
  background: #FFFFFF;
}

.brand-logo {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

.brand-card:hover .brand-logo {
  filter: grayscale(0%);
}

/* --------------------------------------------------------------------------
   CONTENIDO / CONSEJOS
-------------------------------------------------------------------------- */
.content-section {
  padding: 48px 16px;
  background: #FFFFFF;
}

.content-container {
  max-width: 1400px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.content-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-image {
  aspect-ratio: 16 / 9;
  background: #F5F5F5;
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.content-card:hover .content-image img {
  transform: scale(1.05);
}

.content-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.content-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: rgba(11, 61, 255, 0.1);
  color: #0B3DFF;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  align-self: flex-start;
}

.content-title {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #000000;
  margin-bottom: 4px;
}

.content-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0B3DFF;
  margin-top: auto;
  text-decoration: none;
}

.content-read-more:hover {
  text-decoration: underline;
}

/* =========================================================
   FOOTER E-COMMERCE JONKUB
   ========================================================= */

.footer-main {
    background: #000000;
    color: #ffffff;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    padding: 72px 0 64px;

    display: grid;
    grid-template-columns:
        minmax(320px, 2fr)
        minmax(150px, 1fr)
        minmax(150px, 1fr)
        minmax(220px, 1.2fr)
        minmax(120px, .7fr);

    gap: 0;
}


/* =========================================================
   MARCA
   ========================================================= */

.footer-brand {
    padding-right: 55px;
}

.footer-logo {
    display: inline-block;

    font-size: 32px;
    line-height: 1;
    font-weight: 800;

    color: #ffffff;
    text-decoration: none;
    letter-spacing: -1px;

    margin-bottom: 24px;
}

.footer-logo span {
    color: #0B3DFF;
}

.footer-description {
    max-width: 360px;

    margin: 0 0 34px;

    color: #666666;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   BENEFICIOS
   ========================================================= */

.footer-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.footer-benefit {
    display: flex;
    flex-direction: column;

    padding-right: 20px;
    margin-right: 20px;

    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-benefit:last-child {
    border-right: 0;
    margin-right: 0;
}

.footer-benefit > i {
    color: #0B3DFF;
    font-size: 28px;

    margin-bottom: 12px;
}

.footer-benefit strong {
    display: block;

    color: #ffffff;

    font-size: 15px;
    margin-bottom: 6px;
}

.footer-benefit span {
    color: #666666;

    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   COLUMNAS
   ========================================================= */

.footer-column {
    min-height: 280px;

    padding: 0 34px;

    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h3 {
    position: relative;

    margin: 0 0 34px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer-column h3::after {
    content: "";

    display: block;

    width: 54px;
    height: 2px;

    background: #0B3DFF;

    margin-top: 13px;
}


/* =========================================================
   ENLACES
   ========================================================= */

.footer-column ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 19px;
}

.footer-column li a {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: #666666;

    font-size: 15px;
    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-column li a i {
    color: #0B3DFF;
    font-size: 12px;
}

.footer-column li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}


/* =========================================================
   CONTACTO
   ========================================================= */

.footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-bottom: 28px;

    color: #666666;
    text-decoration: none;
}

.footer-contact-item > i {
    flex-shrink: 0;

    color: #0B3DFF;

    font-size: 23px;
}

.footer-contact-item span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-contact-item strong {
    color: #ffffff;

    font-size: 15px;
    font-weight: 500;
}

.footer-contact-item small {
    color: #666666;

    font-size: 12px;
}

.footer-contact-item:hover strong {
    color: #0B3DFF;
}


/* =========================================================
   REDES SOCIALES
   ========================================================= */

.footer-social-link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    color: #ffffff;

    font-size: 28px;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-social-link:hover {
    color: #0B3DFF;
    transform: translateY(-3px);
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-container {
    width: min(1400px, calc(100% - 80px));
    min-height: 86px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-bottom p {
    margin: 0;

    color: #777777;

    font-size: 13px;
}

.footer-bottom p strong {
    color: #ffffff;
}

.footer-legal {
    display: flex;
    align-items: center;

    gap: 12px;
}

.footer-legal a {
    color: #777777;

    font-size: 12px;

    text-decoration: none;

    transition: color .2s ease;
}

.footer-legal a:hover {
    color: #0B3DFF;
}

.footer-legal span {
    color: #0B3DFF;

    font-size: 8px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .footer-container {
        width: min(100% - 50px, 900px);

        grid-template-columns:
            1.5fr 1fr 1fr;

        row-gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;

        padding-right: 0;
    }

    .footer-column {
        min-height: auto;
    }

    .footer-bottom-container {
        width: min(100% - 50px, 900px);

        flex-direction: column;

        justify-content: center;

        padding: 25px 0;
    }
}


/* =========================================================
   RESPONSIVE — MÓVIL
   ========================================================= */

@media (max-width: 700px) {

    .footer-container {
        width: calc(100% - 40px);

        display: flex;
        flex-direction: column;

        padding: 50px 0 40px;
    }

    .footer-brand {
        padding-right: 0;

        margin-bottom: 35px;
    }

    .footer-logo {
        font-size: 28px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-benefits {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-benefit {
        border-right: 0;

        padding-right: 0;
        margin-right: 0;

        padding-bottom: 18px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-benefit:last-child {
        border-bottom: 0;
    }

    .footer-column {
        border-left: 0;

        border-top: 1px solid rgba(255, 255, 255, 0.1);

        padding: 30px 0 0;

        min-height: auto;
    }

    .footer-column h3 {
        margin-bottom: 25px;
    }

    .footer-bottom-container {
        width: calc(100% - 40px);

        align-items: flex-start;
    }

    .footer-legal {
        flex-wrap: wrap;

        gap: 8px;
    }
}

/* --------------------------------------------------------------------------
   CART DRAWER (E-COMMERCE)
-------------------------------------------------------------------------- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(450px, 100vw);
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid #CCCCCC;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.2s ease;
}

.cart-drawer.abierto {
  transform: translateX(0);
}

.cart-head {
  padding: 16px;
  border-bottom: 1px solid #CCCCCC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
}

.cart-head-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.3rem;
  color: #000000;
}

.cart-head .icon-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666666;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cart-head .icon-btn:hover {
  background: #F5F5F5;
  color: #0B3DFF;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #F5F5F5;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  margin-bottom: 16px;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #000000;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.9rem;
  color: #666666;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #CCCCCC;
  background: #FFFFFF;
  color: #000000;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.qty-btn:hover {
  background: #F5F5F5;
  border-color: #0B3DFF;
}

.qty-number {
  min-width: 32px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #000000;
}

.cart-item .btn-remove {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.cart-item .btn-remove:hover {
  background: rgba(11, 61, 255, 0.1);
}

.cart-footer {
  padding: 16px;
  border-top: 1px solid #CCCCCC;
  background: #F5F5F5;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-total-row span:last-child {
  color: #0B3DFF;
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
}

.btn-finalizar-pedido {
  width: 100%;
  padding: 16px;
  background: #0B3DFF;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-finalizar-pedido:hover {
  background: #C40510;
}

.btn-eliminar-carrito {
  width: 100%;
  padding: 12px;
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-top: 8px;
}

.btn-eliminar-carrito:hover {
  background: #F5F5F5;
  border-color: var(--red);
  color: var(--red);
}

/* Empty cart state */
.cart-empty {
  text-align: center;
  padding: 32px 0;
}

.cart-empty-icon {
  font-size: 4rem;
  color: #0B3DFF;
  margin-bottom: 8px;
}

.cart-empty-text {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   UTILIDADES
-------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #0B3DFF;
  color: #FFFFFF;
  border: 2px solid #0B3DFF;
}

.btn-primary:hover {
  background: #C40510;
  border-color: #C40510;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 61, 255, 0.3);
}

.btn-secondary {
  background: #FFFFFF;
  color: #000000;
  border: 2px solid #CCCCCC;
}

.btn-secondary:hover {
  border-color: #0B3DFF;
}

.btn-accent {
  background: #0B3DFF;
  color: #FFFFFF;
}

.btn-accent:hover {
  background: #C40510;
}

.btn-full {
  width: 100%;
}

.section-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: #000000;
}

.section-subtitle {
  text-align: center;
  color: #666666;
  margin-bottom: 48px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
-------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-container {
    height: 70px;
    padding: 0 12px;
  }
  
  .header-nav {
    display: none;
  }
  
  .header-menu-toggle {
    display: flex;
  }
  
  .header-search {
    max-width: 300px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 60px;
    padding: 0 8px;
  }
  
  .header-logo img {
    height: 34px;
  }
  
  .header-search {
    max-width: 200px;
  }
  
  .header-cart,
  .header-user {
    width: 44px;
    height: 44px;
  }
  
  .header-cart-count {
    min-width: 20px;
    height: 20px;
    font-size: 0.7rem;
    top: -4px;
    right: -4px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .promo-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .content-section {
    padding: 32px 16px;
  }
}

@media (max-width: 576px) {
  .header-container {
    height: 56px;
    padding: 0 8px;
    gap: 8px;
  }
  
  .header-logo img {
    height: 30px;
  }
  
  .header-search {
    display: none;
  }
  
  .header-cart,
  .header-user {
    width: 40px;
    height: 40px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   ANIMACIONES
-------------------------------------------------------------------------- */
.fade-in {
  animation: fadeIn 0.3s ease-out;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS DE PRODUCTOS.HTML
   Catálogo de playeras DTF y ropa JONKUB
   ========================================================================== */

/* --------------------------------------------------------------------------
   BREADCRUMB
-------------------------------------------------------------------------- */
.breadcrumb {
  padding: 16px 16px;
  background: #F5F5F5;
  border-bottom: 1px solid #CCCCCC;
}

.breadcrumb-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  list-style: none;
  padding: 0;
}

.breadcrumb-container li {
  display: flex;
  align-items: center;
}

.breadcrumb-container a {
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-container a:hover {
  color: #0B3DFF;
}

.breadcrumb-current {
  color: #000000;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   CATEGORÍAS
-------------------------------------------------------------------------- */
.categories-section {
  padding: 48px 16px;
  background: #FFFFFF;
}

.categories-container {
  max-width: 1400px;
  margin: 0 auto;
}

.categories-title {
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 32px;
  color: #000000;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 16px;
  background: #F5F5F5;
  border-radius: 12px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  color: #000000;
}

.category-card:hover {
  transform: translateY(-8px);
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-icon {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: rgba(11, 61, 255, 0.1);
  color: #0B3DFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 4px;
}

.category-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #000000;
}

/* --------------------------------------------------------------------------
   CATÁLOGO SECTION
-------------------------------------------------------------------------- */
.catalogo-section {
  padding: 48px 16px;
  background: #FFFFFF;
}

.catalogo-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   TOOLS ROW
-------------------------------------------------------------------------- */
.tools-row {
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #CCCCCC;
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 8px;
  background: #F5F5F5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-wrap:focus-within {
  border-color: #0B3DFF;
  box-shadow: 0 0 0 3px rgba(11, 61, 255, 0.1);
}

.search-wrap i {
  color: var(--color-text-gray);
  font-size: 1.1rem;
}

.search-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--color-text-black);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
}

.search-wrap input::placeholder {
  color: var(--color-text-gray);
}

.categoria-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
}

.categoria-btn {
  border: 1px solid var(--color-border);
  background: var(--color-bg-light);
  color: var(--color-text-black);
  border-radius: var(--border-radius-full);
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.categoria-btn:hover {
  background: var(--color-bg-white);
  border-color: var(--color-accent-red);
  color: var(--color-accent-red);
}

.categoria-btn.activo {
  background: var(--color-accent-red);
  border-color: var(--color-accent-red);
  color: var(--color-text-white);
}

/* --------------------------------------------------------------------------
   CTA BANNER
-------------------------------------------------------------------------- */
.cta-banner {
  background: #F5F5F5;
  border: 1px solid #CCCCCC;
  border-radius: 12px;
  padding: 48px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner-content {
  max-width: 68ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-accent-red);
  background: var(--color-accent-red-light);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  color: var(--color-text-black);
  font-weight: 700;
}

.cta-banner p {
  font-size: 1rem;
  color: var(--color-text-gray);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   PRODUCTOS GRID (CATÁLOGO)
-------------------------------------------------------------------------- */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  min-width: 0;
}

.producto-card {
  background: var(--color-bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.producto-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.producto-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-light);
  overflow: hidden;
}

.producto-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
  transition: transform var(--transition-normal);
}

.producto-card:hover .producto-main-image {
  transform: scale(1.05);
}

.producto-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.producto-card .tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.producto-card .tag-oferta {
  background: var(--color-accent-red-light);
  color: var(--color-accent-red);
  border: 1px solid var(--color-accent-red);
}

.producto-card .tag-agotado {
  background: rgba(11, 61, 255, 0.1);
  color: var(--red);
  border: 1px solid var(--red);
}

.producto-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-black);
  margin-bottom: var(--space-xs);
}

.producto-brand {
  font-size: 0.85rem;
  color: var(--color-text-gray);
}

.producto-seller {
  font-size: 0.78rem;
  color: var(--color-text-gray);
  font-style: italic;
}

.producto-meta {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: var(--space-xs);
  font-size: 0.78rem;
  color: var(--color-text-gray);
}

.producto-meta p {
  margin: 0;
  line-height: 1.4;
}

.producto-compat {
  font-size: 0.78rem;
  color: var(--color-text-gray);
  line-height: 1.4;
}

.producto-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: auto;
}

.producto-precio-wrap {
  display: flex;
  flex-direction: column;
}

.producto-precio {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-accent-red);
}

.producto-precio-antiguo {
  font-size: 0.85rem;
  color: var(--color-text-gray);
  text-decoration: line-through;
}

/* --------------------------------------------------------------------------
   ESTADOS DE CARGA Y VACÍO
-------------------------------------------------------------------------- */
.productos-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-2xl);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  color: var(--color-text-gray);
}

.productos-empty i {
  font-size: 3rem;
  color: var(--color-accent-red);
  margin-bottom: var(--space-sm);
}

.productos-empty p {
  font-size: 1rem;
  font-weight: 600;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-accent-red);
  border-radius: 50%;
  animation: spinRefa 0.75s linear infinite;
  margin: 0 auto;
}

@keyframes spinRefa {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS DE PEDIDOS.HTML
   Checkout e-commerce
   ========================================================================== */

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  background: var(--color-accent-red);
  color: var(--color-text-white);
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.checkout-main:focus {
  outline: none;
}

/* --------------------------------------------------------------------------
   CHECKOUT LAYOUT
-------------------------------------------------------------------------- */
.checkout-main {
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-bg-white);
}

.checkout-container {
  max-width: 1200px;
  margin: 0 auto;
}

.checkout-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.checkout-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  padding: 6px 12px;
  border-radius: var(--border-radius-full);
  background: var(--color-accent-red-light);
  color: var(--color-accent-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--color-text-black);
  margin-bottom: var(--space-sm);
}

.checkout-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-gray);
  max-width: 42rem;
  margin: 0 auto;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  list-style: none;
  margin: 0 auto var(--space-2xl);
  padding: 0;
  max-width: 720px;
}

.checkout-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-full);
  background: var(--color-bg-light);
  color: var(--color-text-gray);
  font-size: 0.88rem;
  font-weight: 700;
}

.checkout-step a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.checkout-step.is-done {
  color: var(--color-text-black);
}

.checkout-step.is-current {
  background: var(--color-bg-white);
  border-color: var(--color-accent-red);
  color: var(--color-accent-red);
  box-shadow: 0 0 0 3px var(--color-accent-red-light);
}

.checkout-step-index {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: currentColor;
  color: var(--color-bg-white);
  font-size: 0.72rem;
}

.checkout-empty-panel {
  max-width: 520px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  background: var(--color-bg-white);
  border: 1px dashed var(--color-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.checkout-empty-panel i {
  font-size: 2.4rem;
  color: var(--color-accent-red);
}

.checkout-empty-panel[hidden] {
  display: none !important;
}

.checkout-empty-panel h2 {
  font-family: var(--font-heading);
  margin: var(--space-sm) 0;
}

.checkout-empty-panel p {
  color: var(--color-text-gray);
  margin-bottom: var(--space-lg);
}

.checkout-main.is-empty .checkout-steps {
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   CHECKOUT GRID (2 COLUMNAS DESKTOP)
-------------------------------------------------------------------------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
}

.checkout-grid[hidden],
.checkout-empty-panel[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   CHECKOUT DATA (FORMULARIO)
-------------------------------------------------------------------------- */
.checkout-data {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.checkout-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-normal);
}

.checkout-card:hover {
  box-shadow: var(--shadow-lg);
}

.checkout-card:focus-within {
  box-shadow: var(--shadow-lg);
}

.checkout-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-black);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.checkout-card-title i {
  color: var(--color-accent-red);
  font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   CHECKOUT FORM
-------------------------------------------------------------------------- */
.checkout-form {
  display: grid;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group label {
  font-weight: 600;
  color: var(--color-text-black);
  font-size: 0.95rem;
}

.required {
  color: var(--color-accent-red);
  margin-left: 2px;
}

.optional-label {
  color: var(--color-text-gray);
  font-weight: 500;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--color-text-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  background: var(--color-bg-white);
  color: var(--color-text-black);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
  border-color: var(--color-accent-red);
  box-shadow: 0 0 0 3px rgba(11, 61, 255, 0.1);
}

.form-group input:disabled,
.form-group textarea:disabled,
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--red);
}

.form-error {
  color: var(--red);
  font-size: 0.85rem;
  min-height: 1.2em;
}

.checkout-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* --------------------------------------------------------------------------
   CHECKOUT SUMMARY (RESUMEN)
-------------------------------------------------------------------------- */
.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.checkout-items {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.checkout-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
}

.checkout-item-media img,
.checkout-item-fallback {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
}

.checkout-item-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-gray);
}

.checkout-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.checkout-qty-btn,
.checkout-item-remove {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-white);
  color: var(--color-text-black);
  cursor: pointer;
}

.checkout-qty-btn:hover,
.checkout-item-remove:hover {
  border-color: var(--color-accent-red);
  color: var(--color-accent-red);
}

.checkout-qty-btn:focus-visible,
.checkout-item-remove:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-accent-red);
  outline-offset: 2px;
}

.checkout-qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 800;
}

.checkout-item-info {
  flex: 1;
}

.checkout-item-name {
  font-weight: 600;
  color: var(--color-text-black);
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

.checkout-item-qty {
  font-size: 0.85rem;
  color: var(--color-text-gray);
}

.checkout-item-price {
  font-weight: 700;
  color: var(--color-text-black);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   CHECKOUT TOTAL
-------------------------------------------------------------------------- */
.checkout-total {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xs) 0;
  font-size: 1rem;
}

.total-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.total-row.total {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 2px solid var(--color-accent-red);
}

.total-row.total span:last-child {
  color: var(--color-accent-red);
  font-family: var(--font-heading);
}

/* --------------------------------------------------------------------------
   CHECKOUT NOTICES
-------------------------------------------------------------------------- */
.checkout-notice {
  background: var(--color-accent-red-light);
  border: 1px solid var(--color-accent-red);
  border-radius: var(--border-radius-md);
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-black);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.checkout-notice i {
  color: var(--color-accent-red);
  font-size: 1rem;
}

.checkout-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checkout-trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-text-gray);
}

.checkout-trust i {
  color: #0B3DFF;
}

.btn-whatsapp {
  background: #0B3DFF;
  color: #ffffff;
  border: 2px solid #0B3DFF;
  font-weight: 800;
}

.btn-whatsapp:hover:not(:disabled) {
  background: #C40510;
  border-color: #C40510;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 61, 255, 0.3);
}

.btn-large {
  min-height: 52px;
  padding: 16px 24px;
  font-size: 1.1rem;
}

.checkout-form .form-status {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   STICKY SUMMARY
-------------------------------------------------------------------------- */
.sticky {
  position: sticky;
  top: 96px;
}

@media (max-width: 992px) {
  .sticky {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE CHECKOUT
-------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .form-row,
  .checkout-trust,
  .checkout-steps {
    grid-template-columns: 1fr;
  }

  .checkout-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .checkout-main {
    padding: var(--space-xl) var(--space-md);
  }
  
  .checkout-card {
    padding: var(--space-md);
  }
  
  .checkout-card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .checkout-title {
    font-size: 1.8rem;
  }

  .checkout-item {
    grid-template-columns: 48px 1fr;
  }

  .checkout-item-price {
    grid-column: 1 / -1;
    justify-self: end;
  }
  
  .checkout-total {
    padding: var(--space-md);
  }
  
  .btn-large {
    padding: 14px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 375px) {
  .checkout-title {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS DE CONTACTO.HTML
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO CONTACTO
-------------------------------------------------------------------------- */
.hero-contacto {
  background: #F5F5F5;
  padding: 32px 16px;
  text-align: center;
  border-bottom: 1px solid #CCCCCC;
}

.hero-contacto-container {
  max-width: 1400px;
  margin: 0 auto;
}

.hero-contacto h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-text-black);
  margin-bottom: var(--space-sm);
}

.hero-contacto p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--color-text-gray);
}

/* --------------------------------------------------------------------------
   SECCIÓN DE CONTACTO (2 COLUMNAS)
-------------------------------------------------------------------------- */
.contacto-section {
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-bg-white);
}

.contacto-container {
  max-width: 1400px;
  margin: 0 auto;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

/* --------------------------------------------------------------------------
   CARD DE CONTACTO
-------------------------------------------------------------------------- */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-white);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-accent-red);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-card-content h3 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text-black);
  margin-bottom: var(--space-xs);
}

.contact-card-content p {
  font-size: 0.95rem;
  color: var(--color-text-gray);
  line-height: 1.6;
}

.contact-card-content a {
  color: var(--color-accent-red);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-normal);
}

.contact-card-content a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   FORMULARIO DE CONTACTO
-------------------------------------------------------------------------- */
.contact-form-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text-black);
  margin-bottom: var(--space-lg);
}

.form-group-label {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group-label label {
  font-weight: 600;
  color: var(--color-text-black);
  font-size: 0.95rem;
}

.required-star {
  color: var(--color-accent-red);
  margin-left: 2px;
}

.form-group-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  background: var(--color-bg-white);
  color: var(--color-text-black);
}

.form-group-input:focus {
  outline: none;
  border-color: var(--color-accent-red);
  box-shadow: 0 0 0 3px rgba(11, 61, 255, 0.1);
}

.form-group-input.error {
  border-color: var(--red);
}

.form-group-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-md);
  font-size: 0.95rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(0, 0, 0, 0.06);
  color: #666666;
  border: 1px solid #666666;
}

.form-status.error {
  display: block;
  background: rgba(11, 61, 255, 0.1);
  color: var(--red);
  border: 1px solid var(--red);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--color-accent-red);
  color: var(--color-text-white);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition-normal), transform var(--transition-normal);
  margin-top: var(--space-md);
}

.btn-submit:hover {
  background: var(--color-accent-red-hover);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  background: var(--color-text-light);
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   SECCIÓN DE UBICACIÓN
-------------------------------------------------------------------------- */
.ubicacion-section {
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-bg-light);
}

.ubicacion-container {
  max-width: 1400px;
  margin: 0 auto;
}

.ubicacion-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-text-black);
}

.mapa-container {
  background: var(--color-bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mapa-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* --------------------------------------------------------------------------
   RESPONSIVE CONTACTO
-------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .contacto-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-contacto {
    padding: var(--space-xl) var(--space-md);
  }
  
  .hero-contacto h1 {
    font-size: 2rem;
  }
  
  .contact-card-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contact-card-icon {
    margin-bottom: var(--space-xs);
  }
}

@media (max-width: 480px) {
  .contacto-section {
    padding: var(--space-xl) var(--space-md);
  }
  
  .contact-form-card {
    padding: var(--space-md);
  }
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS DE NOSOTROS.HTML
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO NOSOTROS
-------------------------------------------------------------------------- */
.hero-nosotros {
  background: #F5F5F5;
  padding: 48px 16px;
  text-align: center;
}

.hero-nosotros-container {
  max-width: 1400px;
  margin: 0 auto;
}

.hero-nosotros h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-text-black);
  margin-bottom: var(--space-sm);
}

.hero-nosotros p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--color-text-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   SECCIÓN QUIÉNES SOMOS
-------------------------------------------------------------------------- */
.quienes-somos-section {
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-bg-white);
}

.quienes-somos-container {
  max-width: 1000px;
  margin: 0 auto;
}

.quienes-somos-texto {
  font-size: 1.1rem;
  color: var(--color-text-gray);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

/* --------------------------------------------------------------------------
   LO QUE NOS DIFERENCIA
-------------------------------------------------------------------------- */
.lo-que-nos-diferencia-section {
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-bg-light);
}

.lo-que-nos-diferencia-container {
  max-width: 1400px;
  margin: 0 auto;
}

.lo-que-nos-diferencia-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.diferencia-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.diferencia-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.diferencia-icon {
  width: 80px;
  height: 80px;
  background: var(--color-accent-red-light);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 2.5rem;
  color: var(--color-accent-red);
}

.diferencia-card h3 {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text-black);
  margin-bottom: var(--space-sm);
}

.diferencia-card p {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   NUESTRO COMPROMISO
-------------------------------------------------------------------------- */
.compromiso-section {
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-bg-white);
}

.compromiso-container {
  max-width: 1000px;
  margin: 0 auto;
}

.compromiso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.compromiso-texto {
  font-size: 1.1rem;
  color: var(--color-text-gray);
  line-height: 1.8;
}

.compromiso-imagen {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compromiso-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   TESTIMONIOS
-------------------------------------------------------------------------- */
.testimonios-section {
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-bg-light);
}

.testimonios-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.testimonio-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  position: relative;
}

.testimonio-card::before {
  content: "“";
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-accent-red);
  opacity: 0.1;
  line-height: 0;
}

.testimonio-texto {
  font-style: italic;
  color: var(--color-text-black);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonio-autor-nombre {
  font-weight: 700;
  color: var(--color-text-black);
  font-size: 0.95rem;
}

.testimonio-autor-empresa {
  font-size: 0.85rem;
  color: var(--color-text-gray);
}

/* --------------------------------------------------------------------------
   CTA FINAL
-------------------------------------------------------------------------- */
.cta-final-nosotros {
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  text-align: center;
}

.cta-final-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.cta-final-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--color-text-white);
}

.cta-final-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.cta-actions .btn {
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.cta-actions .btn-primary {
  background: var(--color-accent-red);
  color: var(--color-text-white);
  border: 2px solid var(--color-accent-red);
}

.cta-actions .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(11, 61, 255, 0.3);
}

.cta-actions .btn-secondary {
  background: var(--color-bg-white);
  color: var(--color-text-black);
  border: 2px solid var(--color-border);
}

.cta-actions .btn-secondary:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-red);
}

/* --------------------------------------------------------------------------
   RESPONSIVE NOSOTROS
-------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .compromiso-grid {
    grid-template-columns: 1fr;
  }
  
  .lo-que-nos-diferencia-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonios-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-nosotros {
    padding: var(--space-xl) var(--space-md);
  }
  
  .hero-nosotros h1 {
    font-size: 2.2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .lo-que-nos-diferencia-grid {
    grid-template-columns: 1fr;
  }

  .compromiso-section {
    padding: var(--space-xl) var(--space-md);
  }
}

/* ==========================================================================
   SISTEMA VISUAL GLOBAL — ADAPTACIÓN REFERENCIA
   ========================================================================== */

:root {
  --red: #0B3DFF;
  --red-dark: #002EB8;
  --black: #000000;
  --text: #111111;
  --muted: #666666;
  --white: #FFFFFF;
  --surface: #F5F5F5;
  --border: #E5E5E5;
  --success: #666666;
  --radius: 8px;
  --container: 1440px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --font-heading: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 18px;
  --border-radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* HEADER */

.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-top {
  min-height: 72px;
  display: grid;
  grid-template-columns: 220px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 28px;
  max-width: var(--container, 1400px);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.5vw, 32px);
  box-sizing: border-box;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
}

.header-logo span:last-child {
  color: var(--red);
}

.header-search {
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #fff;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
}

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

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 700;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  padding: 6px 10px;
}

.header-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.45rem;
  color: var(--color-text-black, #111111);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 6px;
  transition: background 0.2s ease;
}

.header-menu-toggle:hover {
  background: var(--color-bg-light, #f5f5f5);
}

#cartCount {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.header-nav {
  min-height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  border-top: 1px solid #F5F5F5;
  font-size: 13px;
  font-weight: 700;
}

.header-nav a:hover {
  color: var(--red);
}

/* BUTTONS */

.btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: .2s ease;
}

.btn-primary,
.btn-primario {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover,
.btn-primario:hover {
  background: var(--red-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--text);
}

/* HERO */

.hero-inicio {
  background: #111111;
  color: #fff;
  min-height: 390px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  overflow: hidden;
}

.hero-inicio-content {
  padding: 55px 6vw;
}

.kicker-inicio {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.hero-inicio h1 {
  margin: 10px 0;
  font-size: clamp(38px, 5vw, 70px);
  line-height: .95;
  font-weight: 900;
}

.hero-inicio p {
  max-width: 520px;
  color: #E5E5E5;
  line-height: 1.6;
}

.hero-inicio-image {
  height: 100%;
  min-height: 390px;
  background-position: center;
  background-size: cover;
}

/* BENEFITS */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}

.benefit {
  padding: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-right: 1px solid var(--border);
}

.benefit i {
  color: var(--red);
  font-size: 25px;
}

.benefit strong {
  display: block;
  font-size: 13px;
}

.benefit span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

/* SECTION */

.section {
  padding: 45px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* CATEGORY CARDS */

.category-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.category-card {
  min-height: 135px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  transition: .2s ease;
}

.category-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.category-card img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  margin: auto;
}

.category-card strong {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

/* PRODUCT GRID */

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.brands-grid {
  grid-template-columns: repeat(6, 1fr);
}

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

@media (max-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tips-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .2s ease;
}

.product-card:hover {
  border-color: #CCCCCC;
  box-shadow: 0 8px 25px rgba(0,0,0,.07);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fafafa;
  display: grid;
  place-items: center;
}

.product-card-image img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.product-card-body {
  padding: 12px;
}

.product-category {
  color: var(--muted);
  font-size: 10px;
}

.product-card h3 {
  margin: 5px 0;
  font-size: 13px;
  line-height: 1.3;
}

.product-rating {
  color: var(--red);
  font-size: 11px;
}

.product-price {
  margin-top: 7px;
  font-size: 17px;
  font-weight: 900;
}

.product-old-price {
  margin-left: 5px;
  color: #666666;
  font-size: 11px;
  text-decoration: line-through;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

/* PROMO */

.promo-banner {
  min-height: 190px;
  padding: 35px;
  border-radius: 10px;
  overflow: hidden;
  background: #000000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.promo-banner h2 {
  max-width: 450px;
  margin: 0 0 16px;
  font-size: 30px;
}

/* CATALOG */

.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 25px;
  min-width: 0;
}

.catalog-content {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.catalog-sidebar {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  height: fit-content;
  min-width: 0;
}

.catalog-sidebar h3 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
}

.catalog-sidebar section {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.catalog-sidebar label {
  display: flex;
  gap: 8px;
  margin: 8px 0;
  font-size: 12px;
  color: var(--muted);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 12px;
}

.catalog-filter-toggle {
  display: none;
}

/* Mobile sidebar */
.catalog-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 900;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.catalog-sidebar-backdrop.visible {
  display: block;
  opacity: 1;
}

@media (max-width: 900px) {
  .catalog-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    overflow-y: auto;
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-radius: 0;
    border-right: 1px solid var(--border);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    pointer-events: none;
  }

  .catalog-sidebar.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .catalog-sidebar-backdrop.visible {
    display: block;
    z-index: 1001;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .catalog-sidebar {
    width: 280px;
    max-width: 85vw;
  }
}

/* PRODUCT DETAIL */

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
}

.product-main-image {
  border: 1px solid var(--border);
  background: #fafafa;
  display: grid;
  place-items: center;
  min-height: 500px;
}

.product-info h1 {
  margin: 8px 0;
  font-size: 36px;
}

.product-detail-price {
  margin: 20px 0;
  font-size: 32px;
  font-weight: 900;
}

.quantity-control {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.quantity-control button,
.quantity-control input {
  width: 42px;
  height: 42px;
  border: 0;
  background: #fff;
  text-align: center;
}

/* CHECKOUT */

.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 25px;
}

.checkout-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 25px;
}

.checkout-summary {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

/* CONTACT */

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 25px;
}

.contact-info {
  background: #111111;
  color: #fff;
  border-radius: 8px;
  padding: 30px;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #333333;
}

.contact-info-item i {
  color: var(--red);
}

/* ABOUT */

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

.about-image {
  min-height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}

.feature-card i {
  color: var(--red);
  font-size: 25px;
}

/* CART DRAWER */

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 3000;
  width: 450px;
  max-width: 100vw;
  height: 100dvh;
  background: #fff;
  box-shadow: -15px 0 40px rgba(0,0,0,.18);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .3s ease, visibility .3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open,
.cart-drawer.open,
.cart-drawer.abierto {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 2999;
  background: rgba(0,0,0,.48);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}

.backdrop.is-visible,
.backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-header {
  min-height: 70px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #fafafa;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 800;
}

.cart-drawer-footer {
  padding: 18px;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 900;
}

/* FOOTER */

.site-footer {
  margin-top: 50px;
  padding: 55px 0 20px;
  background: #000000;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr .8fr;
  gap: 30px;
}

.footer-column h3 {
  margin: 0 0 18px;
  font-size: 14px;
}

.footer-column a,
.footer-column p {
  display: block;
  margin: 9px 0;
  color: #999999;
  font-size: 12px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-brand {
  font-size: 28px;
  font-weight: 900;
}

.footer-brand span {
  color: var(--red);
}

/* WHATSAPP */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0B3DFF;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 27px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

@media (max-width: 850px) {
  .header-top {
    grid-template-columns: 1fr auto;
    padding-inline: 14px;
    gap: 12px;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
    margin-bottom: 6px;
  }

  .header-menu-toggle {
    display: inline-flex;
  }

  .header-nav {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: #fff;
    border-top: 1px solid var(--border, #e5e5e5);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease;
  }

  .header-nav.is-open {
    max-height: 380px;
    opacity: 1;
    padding: 8px 12px 14px;
  }

  .header-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0;
  }

  .header-nav a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    min-height: 44px;
    font-size: 0.96rem;
    border-radius: 8px;
    width: 100%;
    border: 1px solid transparent;
  }

  .header-nav a:hover {
    background: #f8f9fa;
  }

  .header-nav a.activo {
    background: var(--red, #0B3DFF);
    color: #fff !important;
  }

  .hero-inicio {
    grid-template-columns: 1fr;
  }

  .hero-inicio-image {
    min-height: 260px;
  }

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

  .catalog-layout,
  .checkout-layout,
  .contact-layout,
  .product-detail,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

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

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

@media (max-width: 600px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 30px 0;
  }

  .hero-inicio-content {
    padding: 35px 20px;
  }

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

  .benefit {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

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

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

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .promo-banner {
    padding: 25px;
  }

  .promo-banner h2 {
    font-size: 23px;
  }
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS — COMPONENTES EXISTENTES
   ========================================================================== */

/* BREADCRUMB */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb-container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--red);
}
.breadcrumb-current {
  color: var(--text);
  font-weight: 700;
}

/* CHECKOUT GRID */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 25px;
}
.checkout-summary {
  position: sticky;
  top: 120px;
  height: fit-content;
}
.checkout-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 25px;
  background: #fff;
}
.checkout-card-title {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 800;
}
.checkout-items {
  display: grid;
  gap: 12px;
}
.checkout-total {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.total-row.total {
  font-weight: 900;
  font-size: 16px;
}
.checkout-notice {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
}
.checkout-steps {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  list-style: none;
  padding: 0;
}
.checkout-step {
  font-size: 12px;
  color: var(--muted);
}
.checkout-step.is-current {
  color: var(--text);
  font-weight: 700;
}
.checkout-step a {
  color: var(--muted);
}
.checkout-empty-panel {
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  margin-bottom: 20px;
}
.checkout-empty-panel i {
  font-size: 40px;
  color: var(--muted);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-error {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--red);
}
.form-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
.checkout-trust {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 18px 0;
  font-size: 12px;
  color: var(--muted);
}
.checkout-trust i {
  color: var(--success);
}

/* CATALOGO / PRODUCTOS */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.category-card {
  min-height: 135px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  transition: .2s ease;
}
.category-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.category-card img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  margin: auto;
}
.category-card strong {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

/* CONTACTO */
.contacto-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 25px;
}

/* NOSOTROS */
.quienes-somos-section {
  padding: 45px 0;
}
.lo-que-nos-diferencia-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.diferencia-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}
.diferencia-card i {
  color: var(--red);
  font-size: 25px;
}
.compromiso-section {
  padding: 45px 0;
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.testimonio-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}
.cta-final-nosotros {
  padding: 45px 0;
  text-align: center;
}

/* RESPONSIVE COMPLEMENTOS */
@media (max-width: 1100px) {
  .productos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .checkout-summary {
    position: static;
  }

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

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

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

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .checkout-steps {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .lo-que-nos-diferencia-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-top {
    min-height: 56px;
    gap: 8px;
    padding-inline: 10px;
  }

  .header-logo img {
    max-width: 110px;
    height: auto;
  }

  .header-actions {
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
  }

  .header-cart,
  .header-menu-toggle {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 1.25rem;
    gap: 0;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .header-cart .header-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    padding: 0 3px;
  }

  .header-search {
    height: 40px;
    padding: 0 12px;
  }

  .header-search input {
    font-size: 14px;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .catalog-toolbar .search-wrap {
    width: 100%;
  }

  .catalog-sort-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .catalog-sort-wrap select {
    flex: 1;
    min-height: 42px;
  }
}

@media (max-width: 360px) {
  .header-logo img {
    max-width: 95px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-cart,
  .header-menu-toggle {
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1.15rem;
    gap: 0;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .cart-drawer {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .container,
  .breadcrumb-container {
    width: min(100% - 16px, var(--container));
  }

  .header-top {
    padding-inline: 8px;
  }

  .header-logo img {
    max-width: 85px;
  }

  .hero-main h1 {
    font-size: clamp(20px, 4vw, 28px) !important;
  }

  .catalog-sidebar {
    padding: 12px;
  }
}

/* --------------------------------------------------------------------------
   PRODUCTOS.HTML SPECIFIC RESPONSIVE
-------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tools-row {
    padding: 14px;
  }
  
  .search-wrap {
    padding: 8px 12px;
  }
  
  .categoria-btn {
    padding: 6px 12px;
    font-size: 0.82rem;
  }
}

@media (max-width: 560px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .productos-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-editorial {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 16px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-carrito {
    width: 100%;
    justify-content: space-between;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .tools-row {
    padding: 12px;
  }
  
  .categoria-menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding: 2px 2px 4px;
  }
  
  .categoria-menu::-webkit-scrollbar {
    display: none;
  }
  
  .categoria-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  
  .cta-banner {
    padding: 24px 16px;
    border-radius: 18px;
  }
  
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
  
  .producto-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .producto-foot .btn {
    width: 100%;
  }
  
  .cart-drawer {
    width: 100%;
  }
}

/* ==========================================================================
   PREMIUM VISUAL REDESIGN — INDEX.HTML
   Single-theme palette: #000000, #FFFFFF, #0B3DFF, neutral grays
   ========================================================================== */

:root {
  --color-accent-red: #0B3DFF;
  --color-accent-red-dark: #002EB8;
  --color-accent-red-light: #fff1f1;
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F5F5F5;
  --color-bg-dark: #000000;
  --color-bg-black: #000000;
  --color-text-black: #111111;
  --color-text-gray: #666666;
  --color-text-white: #FFFFFF;
  --color-border: #E5E5E5;
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.10);
  --border-radius-full: 9999px;
  --font-heading: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
}

/* --------------------------------------------------------------------------
   HERO INICIO — Premium
   -------------------------------------------------------------------------- */
.hero-inicio {
  position: relative;
  background: #000000;
  color: #FFFFFF;
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
}

.hero-inicio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(11, 61, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-inicio-content {
  position: relative;
  padding: 60px 6vw;
  z-index: 1;
  max-width: 620px;
}

.hero-inicio-content .kicker-inicio {
  color: var(--red);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.hero-inicio h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-inicio-subtitulo {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #CCCCCC;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-inicio-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-inicio-cta .btn {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-inicio-cta .btn-primary {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
}

.hero-inicio-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(11, 61, 255, 0.35);
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.hero-inicio-cta .btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #333333;
}

.hero-inicio-cta .btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.hero-inicio-image {
  position: relative;
  min-height: 400px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inicio-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 240"><rect width="320" height="240" fill="%23f5f5f5"/><g fill="%23d5d5d5"><path d="M60 180l40-36 30 28 25-22 75 40H60z"/><circle cx="120" cy="80" r="20"/><circle cx="200" cy="70" r="16"/></g></svg>') center/contain no-repeat;
  opacity: 0.3;
}

/* --------------------------------------------------------------------------
   BENEFITS — Premium
   -------------------------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefit {
  padding: 22px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-right: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.benefit:last-child {
  border-right: 0;
}

.benefit:hover {
  background: var(--bg-soft);
}

.benefit i {
  color: var(--red);
  font-size: 28px;
  min-width: 28px;
}

.benefit strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-black);
  margin-bottom: 2px;
}

.benefit span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   SECTION HEADING — Premium
   -------------------------------------------------------------------------- */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 0 4px;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-text-black);
  letter-spacing: -0.01em;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--red);
  margin-top: 8px;
}

.section-heading .btn-secondary {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--color-text-black);
  background: var(--bg-soft);
  transition: all 0.2s ease;
}

.section-heading .btn-secondary:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* --------------------------------------------------------------------------
   CATEGORY CARDS — Premium
   -------------------------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.category-card {
  min-height: 150px;
  padding: 20px 12px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-md);
  background: #fff;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(11, 61, 255, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.category-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.category-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: grayscale(20%);
  transition: filter 0.2s ease;
}

.category-card:hover img {
  filter: grayscale(0%);
}

.category-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-black);
  margin-bottom: 4px;
}

.category-card span {
  font-size: 11px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   PRODUCT CARD — Premium (used by home-products.js)
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  padding: 12px;
}

.product-card-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.product-category {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-black);
  margin: 0;
}

.product-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--color-text-black);
  margin: 4px 0;
}

.product-old-price {
  color: var(--muted);
  font-size: 12px;
  text-decoration: line-through;
  font-weight: 400;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.product-card-footer .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
  width: auto;
  min-width: 100px;
}

/* --------------------------------------------------------------------------
   BRAND CARDS — Premium
   -------------------------------------------------------------------------- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.brand-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-md);
  padding: 28px 16px;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 61, 255, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.brand-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.brand-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 61, 255, 0.04) 0%, transparent 70%);
  z-index: 0;
}

.brand-card > div,
.brand-card > span,
.brand-card > strong {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-black);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.brand-card:hover > div,
.brand-card:hover > span,
.brand-card:hover > strong {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   TIP CARDS — Premium
   -------------------------------------------------------------------------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tip-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tip-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.tip-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.tip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tip-card:hover .tip-image img {
  transform: scale(1.05);
}

.tip-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tip-body h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-black);
  margin: 0 0 4px;
}

.tip-meta {
  font-size: 11px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   PROMOTION BANNER — Premium
   -------------------------------------------------------------------------- */
.promo-banner {
  position: relative;
  min-height: 220px;
  padding: clamp(32px, 6vw, 56px);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: #000000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.promo-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(11, 61, 255, 0.15), transparent 60%);
  pointer-events: none;
}

.promo-label {
  position: relative;
  color: var(--red);
  font-weight: 900;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
}

.promo-banner h3 {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  max-width: 500px;
  margin: 0 0 20px;
}

.promo-banner .btn {
  position: relative;
  padding: 12px 28px;
  font-size: 0.95rem;
}

.promo-banner .btn-primary {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
}

.promo-banner .btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 61, 255, 0.3);
}

/* --------------------------------------------------------------------------
   LOADING STATE — Premium
   -------------------------------------------------------------------------- */
.productos-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   NOSOTROS PAGE STYLES
   ========================================================= */
.nosotros-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border);
}

.nosotros-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.nosotros-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #0B3DFF;
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.nosotros-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #000000;
  margin: 0 0 16px;
}

.nosotros-title span {
  color: #0B3DFF;
}

.nosotros-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #5A6A8A;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.nosotros-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-item strong {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0B3DFF;
  line-height: 1;
}

.stat-item span {
  font-size: 0.85rem;
  color: #5A6A8A;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.que-hacemos-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #5A6A8A;
  margin: 8px 0 0;
}

.que-hacemos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.servicio-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.servicio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 61, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.servicio-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(11, 61, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.servicio-icon i {
  font-size: 1.5rem;
  color: #0B3DFF;
}

.servicio-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #000000;
  margin: 0 0 8px;
}

.servicio-card p {
  font-size: 0.95rem;
  color: #5A6A8A;
  line-height: 1.6;
  margin: 0;
}

.especialidad-dtf-section {
  padding: 80px 0;
  background: #FAFAFA;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.especialidad-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.especialidad-texto h2 {
  margin-bottom: 16px;
}

.especialidad-texto p {
  font-size: 1rem;
  color: #5A6A8A;
  line-height: 1.7;
  margin-bottom: 20px;
}

.especialidad-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.especialidad-lista li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #333333;
  line-height: 1.6;
}

.especialidad-lista i {
  color: #0B3DFF;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.especialidad-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.especialidad-badge-large {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: #0B3DFF;
  opacity: 0.15;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  writing-mode: vertical-lr;
  text-orientation: mixed;
}

.valores-section {
  padding: 80px 0;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.valor-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.valor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 61, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.valor-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(11, 61, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.valor-icon i {
  font-size: 1.5rem;
  color: #0B3DFF;
}

.valor-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #000000;
  margin: 0 0 8px;
}

.valor-card p {
  font-size: 0.95rem;
  color: #5A6A8A;
  line-height: 1.6;
  margin: 0;
}

.compromiso-section {
  padding: 80px 0;
  background: #FAFAFA;
  border-top: 1px solid var(--border);
}

.compromiso-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.compromiso-texto h2 {
  margin-bottom: 20px;
}

.compromiso-texto p {
  font-size: 1rem;
  color: #5A6A8A;
  line-height: 1.7;
  margin-bottom: 16px;
}

.compromiso-imagen {
  display: flex;
  justify-content: center;
  align-items: center;
}

.compromiso-imagen img {
  max-width: 280px;
  opacity: 0.6;
}

.testimonios-section {
  padding: 80px 0;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonio-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 61, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.testimonio-texto {
  font-size: 0.95rem;
  color: #333333;
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 16px;
  position: relative;
  padding-left: 20px;
}

.testimonio-texto::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 2.5rem;
  color: rgba(11, 61, 255, 0.2);
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonio-autor {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.testimonio-autor-nombre {
  font-size: 0.85rem;
  color: #5A6A8A;
  font-weight: 600;
}

.cta-final-nosotros {
  padding: 80px 0;
  background: linear-gradient(135deg, #0B3DFF 0%, #060913 100%);
}

.cta-final-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-final-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 16px;
}

.cta-final-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-actions .btn {
  min-width: 180px;
}

.cta-actions .btn-secondary {
  background: transparent;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
}

.cta-actions .btn-secondary:hover {
  background: #FFFFFF;
  color: #0B3DFF;
}

/* =========================================================
   RESPONSIVE — NOSOTROS PAGE
   ========================================================= */
@media (max-width: 1024px) {
  .especialidad-content,
  .compromiso-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .especialidad-visual {
    min-height: 160px;
  }

  .especialidad-badge-large {
    writing-mode: horizontal-tb;
    opacity: 0.1;
  }

  .testimonios-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .que-hacemos-grid,
  .valores-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nosotros-hero {
    padding: 48px 0 32px;
  }

  .nosotros-stats {
    gap: 24px;
  }

  .que-hacemos-section,
  .especialidad-dtf-section,
  .valores-section,
  .compromiso-section,
  .testimonios-section,
  .cta-final-nosotros {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .nosotros-stats {
    gap: 16px;
  }

  .stat-item strong {
    font-size: 1.25rem;
  }

  .servicio-card,
  .valor-card,
  .testimonio-card {
    padding: 24px 20px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   TERMINOS Y CONDICIONES PAGE STYLES
   ========================================================= */
.terminos-section {
  padding: 60px 0 80px;
}

.terminos-header {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.terminos-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #0B3DFF;
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.terminos-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #000000;
  margin: 0 0 12px;
}

.terminos-lead {
  font-size: 1.1rem;
  color: #5A6A8A;
  line-height: 1.6;
  margin: 0 0 16px;
}

.terminos-meta {
  font-size: 0.9rem;
  color: #888888;
  margin: 0;
}

.terminos-content {
  max-width: 800px;
  margin: 0 auto;
}

.termino-block {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 20px;
}

.termino-block h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B3DFF;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(11, 61, 255, 0.15);
}

.termino-block h2:first-child {
  margin-top: 0;
}

.termino-block p {
  font-size: 0.95rem;
  color: #333333;
  line-height: 1.7;
  margin: 0 0 12px;
}

.termino-block p:last-child {
  margin-bottom: 0;
}

.termino-block ul,
.termino-block ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.termino-block li {
  font-size: 0.95rem;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 6px;
}

.termino-block li:last-child {
  margin-bottom: 0;
}

.termino-block strong {
  color: #000000;
  font-weight: 700;
}

.termino-block a {
  color: #0B3DFF;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.termino-block a:hover {
  color: #060913;
}

.terminos-contact-box {
  background: #FAFAFA;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.terminos-contact-box p {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.terminos-contact-box ul {
  margin: 0;
  padding-left: 20px;
}

.terminos-contact-box li {
  margin-bottom: 4px;
}

.terminos-nota {
  font-size: 0.85rem !important;
  color: #888888 !important;
  font-style: italic;
  margin-top: 12px !important;
}

/* --------------------------------------------------------------------------
   RESPONSIVE — Premium
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inicio {
    grid-template-columns: 1fr;
    min-height: 400px;
  }

  .hero-inicio-content {
    padding: 48px 5vw;
  }

  .hero-inicio-image {
    min-height: 240px;
  }

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

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

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

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

  .promo-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-inicio-content {
    padding: 40px 5vw;
  }

  .hero-inicio-cta {
    flex-direction: column;
  }

  .hero-inicio-cta .btn {
    width: 100%;
    justify-content: center;
  }

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

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

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

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

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

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

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

  .brands-grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-inicio {
    min-height: 350px;
  }

  .hero-inicio-content {
    padding: 32px 20px;
  }

  .hero-inicio h1 {
    font-size: 2rem;
  }

  .benefits {
    gap: 0;
  }

  .benefit {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px 12px;
  }

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

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

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

  .hero-inicio-content {
    padding: 24px 16px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .producto-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .producto-foot .btn {
    width: 100%;
  }

  .cart-drawer {
    width: 100%;
  }

  .header-logo img {
    max-width: 95px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-cart,
  .header-menu-toggle {
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1.15rem;
    gap: 0;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .cart-drawer {
    width: 100%;
  }
}

/* ==========================================================================
   ADMIN DASHBOARD — EQUIPO JONKUB
   ========================================================================== */

.admin-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid #CCCCCC;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.admin-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.admin-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-logo {
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.02em;
}

.admin-logo span:first-child {
  color: #0B3DFF;
}

.admin-logo-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #0B3DFF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(11, 61, 255, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
}

.admin-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #000000;
}

.admin-subtitle {
  font-size: 0.7rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-user-email {
  font-size: 0.8rem;
  color: #666666;
  font-weight: 500;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-layout {
  display: flex;
  min-height: calc(100vh - 64px);
}

.admin-sidebar {
  width: 260px;
  min-width: 260px;
  background: #FAFAFA;
  border-right: 1px solid #CCCCCC;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 64px;
  left: 0;
  height: calc(100vh - 64px);
  z-index: 999;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.admin-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.admin-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-nav li {
  margin-bottom: 4px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: #333333;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.admin-nav-link:hover {
  background: #0B3DFF;
  color: #FFFFFF;
}

.admin-nav-link.activo {
  background: #0B3DFF;
  color: #FFFFFF;
}

.admin-nav-link i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.admin-nav-badge {
  background: #C40510;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: auto;
}

.admin-nav-divider {
  height: 1px;
  background: #CCCCCC;
  margin: 8px 0;
}

.admin-sidebar-footer {
  padding: 16px;
  border-top: 1px solid #CCCCCC;
  text-align: center;
  color: #888888;
  font-size: 0.7rem;
}

.admin-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.admin-sidebar-backdrop.visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  padding: 24px;
  background: #F5F5F5;
  min-height: calc(100vh - 64px);
}

.admin-section {
  display: none;
}

.admin-section.activo {
  display: block;
  animation: fadeIn 0.2s ease;
}

.admin-section-header {
  margin-bottom: 24px;
}

.admin-section-header h1 {
  font-family: "Sora", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #000000;
  margin: 0 0 4px;
}

.admin-section-subtitle {
  font-size: 0.95rem;
  color: #666666;
  margin: 0;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-card {
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(11, 61, 255, 0.3);
}

.admin-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #FFFFFF;
  background: #0B3DFF;
}

.admin-stat-icon.success {
  background: #10B981;
}

.admin-stat-icon.warning {
  background: #F59E0B;
}

.admin-stat-icon.info {
  background: #06B6D4;
}

.admin-stat-info {
  display: flex;
  flex-direction: column;
}

.admin-stat-value {
  font-family: "Sora", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #000000;
  line-height: 1.2;
}

.admin-stat-value.loading {
  color: #CCCCCC;
}

.admin-stat-label {
  font-size: 0.8rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.admin-charts-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-card {
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  border-radius: 12px;
  overflow: hidden;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #CCCCCC;
  background: #FAFAFA;
}

.admin-card-header h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
}

.admin-link {
  font-size: 0.85rem;
  color: #0B3DFF;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.admin-link:hover {
  text-decoration: underline;
}

.admin-card-body {
  padding: 20px;
}

.admin-chart-placeholder {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-chart-empty {
  color: #888888;
  font-size: 0.9rem;
}

.admin-chart-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.admin-chart-label {
  flex: 1;
  min-width: 120px;
  font-size: 0.85rem;
  color: #333333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-chart-bar-wrap {
  flex: 2;
  min-width: 0;
  height: 8px;
  background: #E8E8E8;
  border-radius: 4px;
  overflow: hidden;
}

.admin-chart-bar {
  height: 100%;
  border-radius: 4px;
  background: var(--bar-color, #0B3DFF);
  transition: width 0.5s ease;
}

.admin-chart-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #666666;
  min-width: 50px;
  text-align: right;
}

.admin-table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #CCCCCC;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #E8E8E8;
}

.admin-table th {
  background: #FAFAFA;
  font-weight: 700;
  color: #333333;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: sticky;
  top: 0;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: #FAFAFA;
}

.admin-col-image img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.admin-col-name strong {
  display: block;
  color: #000000;
  font-weight: 600;
}

.admin-col-name small {
  color: #888888;
  font-size: 0.7rem;
}

.admin-col-sku {
  font-family: monospace;
  font-size: 0.75rem;
  color: #666666;
}

.admin-stock {
  font-family: monospace;
  font-weight: 600;
}

.admin-stock.agotado {
  color: #C40510;
}

.admin-stock.bajo {
  color: #F59E0B;
}

.admin-precio-oferta {
  font-weight: 700;
  color: #C40510;
  font-family: "Sora", sans-serif;
}

.admin-precio-original {
  text-decoration: line-through;
  color: #888888;
  font-size: 0.7rem;
}

.admin-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-badge.activo,
.admin-badge.destacado {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.admin-badge.inactivo {
  background: rgba(220, 38, 38, 0.15);
  color: #DC2626;
}

.admin-col-actions {
  white-space: nowrap;
}

.admin-edit-btn {
  padding: 6px 10px;
  font-size: 0.8rem;
}

.admin-edit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-table-loading,
.admin-table-empty,
.admin-table-error {
  text-align: center;
  padding: 48px 16px !important;
  color: #888888;
}

.admin-table-empty i,
.admin-table-error i {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
  color: #CCCCCC;
}

.admin-table-error {
  color: #C40510;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.admin-search-box {
  position: relative;
  flex: 1;
  max-width: 360px;
}

.admin-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #888888;
  font-size: 1rem;
}

.admin-search-box input {
  width: 100%;
  padding: 10px 14px 10px 42px;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-search-box input:focus {
  outline: none;
  border-color: #0B3DFF;
  box-shadow: 0 0 0 3px rgba(11, 61, 255, 0.1);
}

.admin-filters {
  display: flex;
  gap: 12px;
}

.admin-filters select {
  padding: 10px 14px;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  font-size: 0.85rem;
  background: #FFFFFF;
  color: #333333;
  min-width: 180px;
  cursor: pointer;
}

.admin-filters select:focus {
  outline: none;
  border-color: #0B3DFF;
  box-shadow: 0 0 0 3px rgba(11, 61, 255, 0.1);
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E8E8E8;
}

.admin-pagination-info {
  font-size: 0.85rem;
  color: #666666;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-primario,
.btn-primary {
  background: #0B3DFF;
  color: #FFFFFF;
  border-color: #0B3DFF;
}

.btn-primario:hover,
.btn-primary:hover {
  background: #C40510;
  border-color: #C40510;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 61, 255, 0.3);
}

.btn-secundario,
.btn-secondary {
  background: #FFFFFF;
  color: #000000;
  border-color: #CCCCCC;
}

.btn-secundario:hover,
.btn-secondary:hover {
  border-color: #0B3DFF;
  color: #0B3DFF;
}

.btn-ghost {
  background: transparent;
  color: #0B3DFF;
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(11, 61, 255, 0.1);
}

.icon-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  transition: background 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  background: #F5F5F5;
  color: #0B3DFF;
}

/* Admin Login Modal */
.admin-login-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.admin-login-modal.visible {
  display: flex;
}

.admin-login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.admin-login-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.3s ease;
}

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

.admin-login-header {
  text-align: center;
  margin-bottom: 24px;
}

.admin-login-header h2 {
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #000000;
  margin: 0 0 8px;
}

.admin-login-header p {
  color: #666666;
  font-size: 0.9rem;
  margin: 0;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-login-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-login-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333333;
}

.admin-login-form input {
  padding: 12px 14px;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-login-form input:focus {
  outline: none;
  border-color: #0B3DFF;
  box-shadow: 0 0 0 3px rgba(11, 61, 255, 0.1);
}

.admin-login-form .btn {
  margin-top: 8px;
}

.admin-login-form .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-login-error {
  color: #C40510;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 8px;
}

.admin-login-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #E8E8E8;
}

.admin-login-footer a {
  font-size: 0.85rem;
  color: #0B3DFF;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-login-footer a:hover {
  text-decoration: underline;
}

/* Responsive Admin Dashboard */
@media (max-width: 1200px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admin-charts-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  
  .admin-sidebar.is-open {
    transform: translateX(0);
  }
  
  .admin-sidebar-backdrop.visible {
    display: block;
  }
  
  .admin-main {
    margin-left: 0;
    padding: 16px;
  }
  
  .admin-section-header h1 {
    font-size: 1.5rem;
  }
  
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-header-inner {
    padding: 10px 12px;
    min-height: 56px;
  }
  
  .admin-logo {
    font-size: 1.25rem;
  }
  
  .admin-title {
    font-size: 0.75rem;
  }
  
  .admin-subtitle {
    display: none;
  }
  
  .admin-user-email {
    display: none;
  }
  
  .admin-sidebar {
    width: min(300px, 100vw);
    min-width: auto;
  }
  
  .admin-main {
    padding: 12px;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  
  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .admin-search-box {
    max-width: none;
  }
  
  .admin-filters {
    flex-direction: column;
  }
  
  .admin-filters select {
    min-width: 0;
    width: 100%;
  }
  
  .admin-pagination {
    flex-wrap: wrap;
  }
  
  .admin-login-modal-content {
    padding: 24px 20px;
    margin: 12px;
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 480px) {
  .admin-stat-card {
    padding: 16px;
    gap: 12px;
  }
  
  .admin-stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  
  .admin-stat-value {
    font-size: 1.5rem;
  }
  
  .admin-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .admin-link {
    font-size: 0.8rem;
  }
  
  .admin-chart-bar-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .admin-chart-label {
    min-width: 100px;
  }
  
  .admin-chart-value {
    min-width: auto;
  }
}

