/* =============================================================
   THEME: Fashion Store  —  "Editorial Atelier"
   Paleta: rosa tostado #C8847E · crema #FAF7F4 · negro #1A1A1A
   Tipografía: Cormorant Garamond (display/serif) + DM Sans (body)
   Diferenciadores: cards sin borde (editorial), imagen portrait 3:4,
   título en itálica serif Cormorant, precio muted refinado,
   botones píldora, qty circular, categorías overlay, hover shadow
   ============================================================= */

/* ══════════════════════════════════════════
   1. TOKENS
   ══════════════════════════════════════════ */
:root {
  --color-bg:           #FFFFFF;
  --color-surface:      #FAF7F4;          /* crema cálido */
  --color-surface-alt:  #F3EDE8;
  --color-border:       #EBE3DC;
  --color-border-light: #F0EAE4;
  --color-text:         #1A1A1A;
  --color-text-muted:   #7A7268;
  --color-primary:      #C8847E;          /* rosa tostado más profundo */
  --color-primary-rgb:  200, 132, 126;
  --color-primary-dark: #B06B65;
  --color-accent:       #C8847E;

  --color-footer-bg:    #1A1A1A;
  --color-footer-text:  #9A918A;
  --color-footer-link:  #D4C4BF;

  --font-brand: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:  'DM Sans', 'Segoe UI', sans-serif;

  --radius-pill: 100px;
  --radius-card: 0.5rem;
  --radius-btn:  100px;               /* píldora en todos los btns */

  --shadow-card:   0 2px 16px rgba(200, 132, 126, 0.08);
  --shadow-hover:  0 8px 32px rgba(200, 132, 126, 0.18);
  --shadow-navbar: 0 2px 12px rgba(0, 0, 0, 0.07);

  --transition-speed: 0.28s;

  /* Bootstrap 5 overrides */
  --bs-body-font-family:  'DM Sans', 'Segoe UI', sans-serif;
  --bs-body-bg:           #FFFFFF;
  --bs-body-color:        #1A1A1A;
  --bs-link-color:        #C8847E;
  --bs-link-hover-color:  #B06B65;
  --bs-border-radius:     100px;
  --bs-border-radius-sm:  100px;
  --bs-border-radius-lg:  100px;
  --bs-primary:           #C8847E;
  --bs-primary-rgb:       200, 132, 126;
}

/* ══════════════════════════════════════════
   2. BASE
   ══════════════════════════════════════════ */
.theme-fashion body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
}

.theme-fashion h1,
.theme-fashion h2,
.theme-fashion h3,
.theme-fashion h4,
.theme-fashion h5,
.theme-fashion h6 {
  font-family: var(--font-brand);
  color: var(--color-text);
}

/* ══════════════════════════════════════════
   3. NAVBAR
   ══════════════════════════════════════════ */
.theme-fashion .navbar {
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-navbar) !important;
}

.theme-fashion .navbar-brand-text {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-text);
}

.theme-fashion .navbar-brand-logo-wrap {
  border-radius: 8px;
  box-shadow: none;
  border: none;
}

.theme-fashion .nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition-speed);
  position: relative;
  padding-bottom: 0.35rem;
}

/* Línea deslizante bajo nav-link en hover */
.theme-fashion .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--color-primary);
  transition: left var(--transition-speed) ease,
              right var(--transition-speed) ease;
}

.theme-fashion .nav-link:hover,
.theme-fashion .nav-link:focus {
  color: var(--color-text) !important;
}

.theme-fashion .nav-link:hover::after,
.theme-fashion .nav-link:focus::after {
  left: 0;
  right: 0;
}

.theme-fashion .dropdown-menu {
  border-radius: 0.75rem;
  border-color: var(--color-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* ══════════════════════════════════════════
   4. BOTONES GLOBALES — PÍLDORA
   ══════════════════════════════════════════ */
.theme-fashion .btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill) !important;
  padding: 0.5rem 1.4rem;
  transition: background var(--transition-speed) ease,
              border-color var(--transition-speed) ease,
              color var(--transition-speed) ease,
              transform var(--transition-speed) ease,
              box-shadow var(--transition-speed) ease;
}

.theme-fashion .btn:active {
  transform: scale(0.97);
}

/* Primario — píldora color primario */
.theme-fashion .btn-primary {
  --bs-btn-bg:                 var(--color-primary);
  --bs-btn-border-color:       var(--color-primary);
  --bs-btn-color:              #FFFFFF;
  --bs-btn-hover-bg:           var(--color-primary-dark);
  --bs-btn-hover-border-color: var(--color-primary-dark);
  --bs-btn-hover-color:        #FFFFFF;
  --bs-btn-active-bg:          var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.35);
}

.theme-fashion .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.45);
  transform: translateY(-1px);
}

/* Dark → negro con hover color primario */
.theme-fashion .btn-dark {
  --bs-btn-bg:                 #1A1A1A;
  --bs-btn-border-color:       #1A1A1A;
  --bs-btn-hover-bg:           var(--color-primary);
  --bs-btn-hover-border-color: var(--color-primary);
  --bs-btn-hover-color:        #FFFFFF;
}

/* Outline dark → hover color primario */
.theme-fashion .btn-outline-dark {
  --bs-btn-color:              #1A1A1A;
  --bs-btn-border-color:       #1A1A1A;
  --bs-btn-hover-bg:           var(--color-primary);
  --bs-btn-hover-border-color: var(--color-primary);
  --bs-btn-hover-color:        #FFFFFF;
}

/* Outline secondary → hover color primario */
.theme-fashion .btn-outline-secondary {
  --bs-btn-color:              #7A7268;
  --bs-btn-border-color:       #D8CFC9;
  --bs-btn-hover-bg:           transparent;
  --bs-btn-hover-border-color: var(--color-primary);
  --bs-btn-hover-color:        var(--color-primary);
}

/* ══════════════════════════════════════════
   5. HERO
   ══════════════════════════════════════════ */
.theme-fashion .hero--fashion {
  min-height: 440px;
  position: relative;
  display: flex;
  align-items: center;
}

.theme-fashion .hero--fashion.hero--no-image {
  background: linear-gradient(135deg, var(--color-surface) 0%, #EDE4DC 100%);
  min-height: 260px;
}

.theme-fashion .hero-fashion-bg {
  background-size: cover;
  background-position: center;
}

.theme-fashion .hero-fashion-overlay {
  background: linear-gradient(90deg, rgba(26,26,26,0.6) 0%, rgba(26,26,26,0.2) 100%);
}

.theme-fashion .hero-fashion-content {
  position: relative;
  z-index: 2;
}

.theme-fashion .hero-fashion-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-fashion .hero-fashion-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--color-primary);
  flex-shrink: 0;
}

.theme-fashion .hero-fashion-title {
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.theme-fashion .hero--fashion.hero--no-image .hero-fashion-title {
  color: var(--color-text);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
}

.theme-fashion .hero--fashion.hero--no-image .hero-fashion-eyebrow {
  color: var(--color-primary);
}

.theme-fashion .hero-fashion-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 460px;
  margin-top: 1rem;
  line-height: 1.7;
}

.theme-fashion .hero--fashion.hero--no-image .hero-fashion-desc {
  color: var(--color-text-muted);
}

/* CTA hero — píldora rosa con sombra */
.theme-fashion .hero-fashion-cta {
  display: inline-block;
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 0.8rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.4);
  transition: background var(--transition-speed),
              box-shadow var(--transition-speed),
              transform var(--transition-speed);
}

.theme-fashion .hero-fashion-cta:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 8px 28px rgba(var(--color-primary-rgb), 0.5);
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* ══════════════════════════════════════════
   6. CATEGORÍAS — texto superpuesto sobre imagen
   ══════════════════════════════════════════ */
.theme-fashion #categories {
  background: var(--color-surface);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Título con ornamento y líneas */
.theme-fashion #categories .container > h2 {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.theme-fashion #categories .container > h2::before,
.theme-fashion #categories .container > h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Ornamento central en título */
.theme-fashion #categories .container > h2::before {
  background: linear-gradient(to right, transparent, var(--color-border));
}

.theme-fashion #categories .container > h2::after {
  background: linear-gradient(to left, transparent, var(--color-border));
}

/* Category card — overlay sobre imagen */
.theme-fashion .category-card {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: var(--radius-card) !important;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

/* Imagen de categoría — portrait editorial */
.theme-fashion .category-card .card-img-top {
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
  width: 100%;
}

.theme-fashion .category-card:hover .card-img-top {
  transform: scale(1.08);
}

/* Card body superpuesto sobre la imagen */
.theme-fashion .category-card .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.82) 0%,
    rgba(26, 26, 26, 0.45) 55%,
    transparent 100%
  );
  color: #FFFFFF;
  border: none !important;
  padding: 2.5rem 1.25rem 1.5rem;
  text-align: left;
  transition: padding var(--transition-speed) ease;
}

.theme-fashion .category-card:hover .card-body {
  padding-bottom: 1.75rem;
}

/* Título sobre imagen */
.theme-fashion .category-card h5 {
  color: #FFFFFF !important;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Descripción sobre imagen */
.theme-fashion .category-card .small.text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* Botón en la card de categoría — píldora rosa transparente */
.theme-fashion .category-card .link-category {
  display: inline-block;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.35rem 1.2rem !important;
  transition: background var(--transition-speed), border-color var(--transition-speed) !important;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition-speed), transform var(--transition-speed),
              background var(--transition-speed), border-color var(--transition-speed) !important;
}

.theme-fashion .category-card:hover .link-category {
  opacity: 1;
  transform: translateY(0);
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

/* ══════════════════════════════════════════
   7. SECCIÓN PRODUCTOS
   ══════════════════════════════════════════ */
.theme-fashion #products {
  background: #FFFFFF !important;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
}

/* Título de sección */
.theme-fashion #products h2 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 0;
  border-left: none;
}

/* Línea decorativa debajo del eyebrow en products */
.theme-fashion #products h2::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--color-primary);
  margin-top: 0.5rem;
}

.theme-fashion #products .text-muted {
  font-size: 0.8rem;
  font-weight: 400;
}

/* Igualar alturas: columna como flex column → card crece para llenarlo */
.theme-fashion #productList > div {
  display: flex;
  flex-direction: column;
}

.theme-fashion #productList .product-card {
  flex: 1 1 auto;
}

/* ══════════════════════════════════════════
   8. PRODUCT CARD — editorial atelier
   ══════════════════════════════════════════ */
.theme-fashion .product-card {
  border: none !important;
  box-shadow: none !important;
  border-radius: var(--radius-card) !important;
  overflow: visible;
  background: transparent !important;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.theme-fashion .product-card:hover {
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.09) !important;
  transform: none;
}

/* Línea de acento rosa en hover — desliza desde la izquierda */
.theme-fashion .product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  transition: width 0.4s ease;
  z-index: 2;
}

.theme-fashion .product-card:hover::after {
  width: 100%;
}

/* Posición relativa para el pseudo-elemento */
.theme-fashion #productList .product-card {
  position: relative;
}

/* ── Imagen — portrait editorial, ratio fijo en todos los breakpoints ── */
.theme-fashion .product-card .card-img-top {
  height: auto !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--color-surface);
  display: block;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-top-left-radius: var(--radius-card);
  border-top-right-radius: var(--radius-card);
}

@media (min-width: 768px) {
  .theme-fashion .product-card .card-img-top {
    max-height: 240px;
  }

  /* Card body compacto en laptop/desktop */
  .theme-fashion .product-card .card-body {
    padding: 0.6rem 0.25rem 0.75rem !important;
  }

  .theme-fashion .product-card .card-title {
    font-size: 0.85rem !important;
    margin-bottom: 0.15rem !important;
  }

  .theme-fashion .product-card .price {
    font-size: 0.68rem !important;
    margin-bottom: 0.3rem !important;
  }

  .theme-fashion .variant-count {
    font-size: 0.56rem !important;
  }

  .theme-fashion .variant-dropdown-toggle {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.5rem !important;
  }

  .theme-fashion .quantity-wrapper {
    max-width: 100px !important;
    margin-bottom: 0.3rem !important;
  }

  .theme-fashion .btn-restar,
  .theme-fashion .btn-sumar {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    font-size: 0.58rem !important;
  }

  .theme-fashion .quantity-input {
    font-size: 0.72rem !important;
  }

  .theme-fashion .product-card .card-body .d-flex.gap-2.mt-auto {
    padding: 0.4rem 0 0 !important;
    margin-top: 0.35rem !important;
  }

  .theme-fashion .product-card .btn-product-detail,
  .theme-fashion .product-card .btn-add {
    font-size: 0.6rem !important;
    padding: 0.3rem 0.6rem !important;
  }
}

.theme-fashion .product-card:hover .card-img-top {
  transform: scale(1.05);
}

/* ── Card body — editorial atelier ── */
.theme-fashion .product-card .card-body {
  padding: 0.85rem 0.25rem 1rem !important;
  text-align: left !important;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  border: none;
  background: transparent !important;
}

/* Nombre — Cormorant italic, ligero, editorial */
.theme-fashion .product-card .card-title {
  font-family: var(--font-brand) !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  font-style: italic;
  color: var(--color-text) !important;
  margin-bottom: 0.2rem;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  letter-spacing: 0 !important;
  line-height: 1.25;
}

/* Precio — refinado, pequeño, muted — estilo boutique */
.theme-fashion .product-card .price {
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: var(--color-text-muted) !important;
  text-align: left !important;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em !important;
}

/* ══════════════════════════════════════════
   9. CANTIDAD — control circular tipo boutique
   ══════════════════════════════════════════ */

/* Empujar todo el bloque cantidad+botones al fondo de la card */
.theme-fashion .quantity-wrapper {
  max-width: 120px;
  margin-top: auto !important;
  margin-right: auto !important;
  margin-left: auto !important;
  margin-bottom: 0.6rem;
  /* Eliminar estilo Bootstrap input-group */
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}

/* Botones circulares +/- */
.theme-fashion .btn-restar,
.theme-fashion .btn-sumar {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1.5px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.65rem !important;
  line-height: 1 !important;
  transition: background var(--transition-speed), color var(--transition-speed) !important;
  flex-shrink: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

.theme-fashion .btn-restar:hover,
.theme-fashion .btn-sumar:hover {
  background: var(--color-primary) !important;
  color: #FFFFFF !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Input de cantidad — solo el número, sin borde visible */
.theme-fashion .quantity-input {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--color-text) !important;
  text-align: center !important;
  box-shadow: none !important;
  padding: 0 0.25rem !important;
  max-width: 2.5rem !important;
  min-width: 0 !important;
  flex: 1 !important;
}

/* ══════════════════════════════════════════
   10. BOTONES DEL TILE DE PRODUCTO
   ══════════════════════════════════════════ */

/* Contenedor de botones — minimal, sin fondo de footer */
.theme-fashion .product-card .card-body .d-flex.gap-2.mt-auto {
  background: transparent !important;
  border-top: 1px solid var(--color-border-light) !important;
  margin: 0.5rem 0 0 !important;
  padding: 0.55rem 0 0 !important;
  gap: 0.5rem !important;
  padding-bottom: 0 !important;
}

@media (min-width: 576px) {
  .theme-fashion .product-card .card-body .d-flex.gap-2.mt-auto {
    flex-direction: row !important;
  }
}

/* "Ver detalle" — outline píldora gris */
.theme-fashion .product-card .btn-product-detail {
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--color-text-muted) !important;
  border: 1.5px solid var(--color-border) !important;
  background: transparent !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.4rem 0.9rem !important;
  transition: color var(--transition-speed), border-color var(--transition-speed) !important;
}

.theme-fashion .product-card .btn-product-detail:hover {
  color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

/* "Agregar" — píldora rosa con sombra */
.theme-fashion .product-card .btn-add {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: var(--color-primary) !important;
  border: 1.5px solid var(--color-primary) !important;
  color: #FFFFFF !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.4rem 0.9rem !important;
  box-shadow: 0 3px 10px rgba(var(--color-primary-rgb), 0.3) !important;
  transition: background var(--transition-speed),
              box-shadow var(--transition-speed) !important;
}

.theme-fashion .product-card .btn-add:hover {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  box-shadow: 0 5px 16px rgba(var(--color-primary-rgb), 0.45) !important;
  transform: none !important;
}

/* ══════════════════════════════════════════
   11. VARIANTES
   ══════════════════════════════════════════ */
.theme-fashion .variant-picker-card {
  display: block !important;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: transparent;
  text-align: left;
  padding: 4px;
}

.theme-fashion .variant-dropdown-toggle {
  border-radius: 2rem;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  font-size: 0.75rem;
}

.theme-fashion .variant-dropdown-menu {
  border-radius: 0.75rem;
  border-color: var(--color-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.theme-fashion .variant-dropdown-item.active,
.theme-fashion .variant-dropdown-item:active {
  background: var(--color-primary);
  color: #FFFFFF;
}

.theme-fashion .variant-count {
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

/* ══════════════════════════════════════════
   12. DRAWERS
   ══════════════════════════════════════════ */
.theme-fashion .cart-drawer {
  border-left: 1px solid var(--color-border);
  box-shadow: -6px 0 32px rgba(0, 0, 0, 0.08);
}

.theme-fashion .filter-drawer {
  border-right: 1px solid var(--color-border);
  box-shadow: 6px 0 32px rgba(0, 0, 0, 0.08);
}

.theme-fashion .filter-action-bar .action-apply {
  background: var(--color-primary);
  border-color: var(--color-primary);
  border-radius: var(--radius-pill);
}

.theme-fashion .filter-action-bar .action-clear {
  border-radius: var(--radius-pill);
}

/* ══════════════════════════════════════════
   13. CHECKOUT
   ══════════════════════════════════════════ */
.theme-fashion .card.shadow-sm {
  border-color: var(--color-border) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
}

/* ══════════════════════════════════════════
   14. FOOTER
   ══════════════════════════════════════════ */
.theme-fashion .footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 2.5rem 0;
  border-top: none;
  font-size: 0.8rem;
}

.theme-fashion .footer a {
  color: var(--color-footer-link);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.theme-fashion .footer a:hover {
  color: var(--color-primary);
}

/* ══════════════════════════════════════════
   15. FORMULARIOS
   ══════════════════════════════════════════ */
.theme-fashion .form-control,
.theme-fashion .form-select {
  border-color: var(--color-border);
  border-radius: 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding-left: 1rem;
}

.theme-fashion .form-control:focus,
.theme-fashion .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.18);
}

/* ══════════════════════════════════════════
   16. DETALLE DE PRODUCTO
   ══════════════════════════════════════════ */
.theme-fashion #detailMainImg {
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.theme-fashion .detail-thumb-img {
  border-radius: 0.35rem;
}

.theme-fashion .badge-spec {
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  background: var(--color-surface) !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border);
}

/* ══════════════════════════════════════════
   17. ALERTAS Y BADGES
   ══════════════════════════════════════════ */
.theme-fashion .alert {
  border-radius: var(--radius-card);
  border-color: var(--color-border);
}

.theme-fashion .badge.bg-danger {
  background-color: var(--color-primary) !important;
  border-radius: var(--radius-pill) !important;
}

/* ══════════════════════════════════════════
   18. COOKIE BANNER
   ══════════════════════════════════════════ */
.theme-fashion .cookie-banner {
  background: #1A1A1A;
  font-family: var(--font-body);
  font-size: 0.8rem;
}

/* ══════════════════════════════════════════
   19. BADGES DE PRODUCTO
   Pill editorial — top-left sobre la imagen
   ══════════════════════════════════════════ */
.theme-fashion .product-card.badge-fresco::before,
.theme-fashion .product-card.badge-refrigerado::before,
.theme-fashion .product-card.badge-nuevo::before,
.theme-fashion .product-card.badge-oferta::before,
.theme-fashion .product-card.badge-destacado::before {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  z-index: 5;
  color: #FFFFFF;
}

.theme-fashion .product-card.badge-fresco::before {
  content: 'ORGÁNICO';
  background: #4A7C59;
}

.theme-fashion .product-card.badge-refrigerado::before {
  content: 'REFRIGERADO';
  background: #0EA5E9;
}

.theme-fashion .product-card.badge-nuevo::before {
  content: 'NUEVO';
  background: var(--color-primary);
}

.theme-fashion .product-card.badge-oferta::before {
  content: 'SALE';
  background: #B5603A;
}

.theme-fashion .product-card.badge-destacado::before {
  content: 'EXCLUSIVO';
  background: #1A1A1A;
}
