/*
Theme Name: SOMOS GAMBERROS // Minimalist Indie & Streetwear Theme
Theme URI: https://somosgamberros.es
Author: Antigravity Custom Studio para Somos Gamberros
Author URI: https://somosgamberros.es
Description: Tema minimalista Mobile-First a medida para SomosGamberros.es ("Si te ofendes, no es tu sitio"). Cabecera con Logo Grande protagonista y menú inferior, selector táctil en cada producto (Hombre, Mujer, Hoodie, Gym, Baby), cambio de color en vivo y plantilla de página independiente para Personalizar Prenda subiendo tu propia imagen y eligiendo zona de estampación.
Version: 5.9.3
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 9.5
License: GPL v2 or later
Text Domain: kulta
*/

:root {
  --bg-white: #FFFFFF;
  --bg-soft: #F7F7F5;
  --bg-cement: #EFEFEC;
  --bg-cement-mid: #E2E2DE;
  --text-black: #121212;
  --text-dark: #2C2C2A;
  --text-muted: #767672;
  --accent-gold: #8B7355;
  --border-light: #EAEAE6;
  --border-mid: #D6D6D2;

  --font-title: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: var(--bg-white);
  color: var(--text-black);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button, select, input {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ==========================================================================
   1. TICKER OFICIAL SOMOS GAMBERROS
   ========================================================================== */
.sg-ticker {
  background-color: #121212;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.sg-ticker-track {
  display: inline-flex;
  align-items: center;
  animation: sg-scroll 26s linear infinite;
}

.sg-ticker-track span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FAF9F7;
  padding: 0 24px;
}

.sg-ticker-track span.dot {
  color: var(--accent-gold);
  padding: 0 4px;
}

@keyframes sg-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   2. CABECERA CON LOGO GRANDE PROTAGONISTA ARRIBA Y MENÚ DEBAJO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

/* Fila superior: SIEMPRE en 1 sola línea horizontal (Izq · LOGO CENTRAL · Carrito Der) */
.site-header__top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 1rem;
  padding: 0.75rem 2.5rem;
  max-width: 1640px;
  margin: 0 auto;
}

.site-header__left {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-width: 0;
}

.header-brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
}

.mobile-menu-trigger {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border-mid);
  border-radius: 3px;
  background-color: var(--bg-white);
  white-space: nowrap;
}

/* Logo Somos Gamberros en el centro con tamaño controlado */
.site-logo,
.custom-logo-link {
  flex: 0 0 auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.site-logo img,
.site-logo__img,
.custom-logo-link img,
img.custom-logo {
  height: 76px !important;
  max-height: 76px !important;
  max-width: 210px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.25s ease;
}

.site-logo:hover img {
  transform: scale(1.02);
}

.header-actions {
  flex: 1 1 0;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 1rem;
  white-space: nowrap;
  min-width: 0;
}

.header-btn {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--text-black);
  color: var(--bg-white);
  padding: 0.52rem 1rem;
  border-radius: 2px;
}

.cart-count-badge {
  background-color: rgba(255, 255, 255, 0.22);
  padding: 0.05rem 0.42rem;
  border-radius: 2px;
  font-weight: 700;
}

/* Fila inferior del Header: Menú centrado debajo del logo */
.site-header__nav-bar {
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-white);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.1rem;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 46px;
  white-space: nowrap;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dark);
  padding: 0.2rem 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-black);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--text-black);
  font-weight: 700;
}

.nav-link--highlight {
  background-color: var(--bg-soft);
  border: 1px solid var(--border-mid);
  padding: 0.28rem 0.75rem;
  border-radius: 2px;
  font-weight: 700;
  color: var(--text-black);
}

.nav-link--highlight::after {
  display: none;
}

.nav-link--highlight:hover,
.nav-link--highlight.is-active {
  background-color: var(--text-black);
  color: var(--bg-white);
  border-color: var(--text-black);
}

/* Submenú Desplegable Minimalista */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 215px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 120;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-family: var(--font-title);
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dark);
}

.nav-dropdown a:hover {
  background-color: var(--bg-soft);
  color: var(--text-black);
}

/* Barra rápida deslizable inferior al logo para móvil */
.mobile-quick-cats {
  display: none;
  overflow-x: auto;
  white-space: nowrap;
  gap: 0.42rem;
  padding: 0.55rem 1rem;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-quick-cats::-webkit-scrollbar {
  display: none;
}

.mobile-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.78rem;
  font-family: var(--font-title);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border-mid);
  border-radius: 99px;
  background-color: var(--bg-soft);
  color: var(--text-dark);
  flex-shrink: 0;
}

.mobile-cat-chip.is-active {
  background-color: var(--text-black);
  color: var(--bg-white);
  border-color: var(--text-black);
}

/* Drawer de Menú Móvil Lateral */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 86%;
  max-width: 340px;
  height: 100vh;
  background-color: var(--bg-white);
  border-right: 1px solid var(--border-light);
  z-index: 960;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease-smooth);
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-drawer__header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-drawer__body {
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mobile-nav-drawer__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.5rem;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   3. CABECERA EDITORIAL MINIMALISTA (SIN FILTRO REDUNDANTE)
   ========================================================================== */
.editorial-banner {
  background-color: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
  padding: 2.1rem 2.5rem;
  text-align: center;
}

.editorial-banner__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.editorial-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.editorial-title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.editorial-title .serif-italic {
  font-family: var(--font-serif);
  text-transform: none;
  font-weight: 400;
  font-size: 1.15em;
  margin-left: 0.2rem;
  color: var(--text-dark);
}

.editorial-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 620px;
}

/* ==========================================================================
   4. CATÁLOGO Y TARJETA DE PRODUCTO CON SELECTOR HOMBRE / MUJER / BABY EN VIVO
   ========================================================================== */
.catalog-section {
  max-width: 1640px;
  margin: 0 auto;
  padding: 2rem 2.5rem 3.5rem;
}

.catalog-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.grid-view-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.view-mode-btn {
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--border-mid);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  background-color: var(--bg-white);
  color: var(--text-muted);
  border-radius: 2px;
}

.view-mode-btn.is-active {
  background-color: var(--text-black);
  color: var(--bg-white);
  border-color: var(--text-black);
}

.kulta-products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.5rem;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Tarjeta de producto enmarcada y separada para que quede 100% claro qué opciones pertenecen a cada camiseta */
.product-card,
.kulta-products-grid > .product-card {
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  background-color: var(--bg-white);
  border: 1px solid #DCDCD6;
  border-radius: 6px;
  padding: 0.85rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: #121212;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.product-card__media {
  position: relative;
  aspect-ratio: 3 / 3.5;
  background-color: var(--bg-soft);
  overflow: hidden;
  margin-bottom: 0.85rem;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.product-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.65s var(--ease-smooth);
}

.product-card__img--secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 2;
}

.product-card:hover .product-card__img--secondary {
  opacity: 1;
}

/* Motor de Prenda Dinámica en Vivo dentro de cada tarjeta (Camiseta Roja, Hoodie Rojo, Gym, Baby, etc.) */
.product-card__live-mockup {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: radial-gradient(circle at 50% 45%, #FAF9F7 0%, #ECECE8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.product-card.is-customizing-garment .product-card__live-mockup {
  opacity: 1;
  pointer-events: auto;
}

.card-mockup-base-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

/* Indicador de Carga Suave / Spinner al Cambiar Prenda o Color */
.card-mockup-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 249, 247, 0.68);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border-radius: 4px;
}

.card-mockup-loader.is-loading {
  opacity: 1;
  pointer-events: auto;
}

.mockup-spinner {
  width: 32px;
  height: 32px;
  border: 2.5px solid rgba(20, 20, 20, 0.12);
  border-top-color: #141414;
  border-radius: 50%;
  animation: sgMockupSpin 0.65s linear infinite;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

@keyframes sgMockupSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.product-card[data-selected-shape="hombre"] .card-mockup-print {
  top: 49.2%;
  left: 50%;
  width: 21%;
  height: 21%;
}

.product-card[data-selected-shape="sudadera"] .card-mockup-print,
.product-card[data-selected-shape="hoodie"] .card-mockup-print {
  top: 50%;
  left: 50%;
  width: 27%;
  height: 27%;
}

.product-card[data-selected-shape="mujer"] .card-mockup-print {
  top: 31%;
  left: 49%;
  width: 17%;
  height: 17%;
}

.product-card[data-selected-shape="gym"] .card-mockup-print {
  top: 31%;
  left: 50%;
  width: 20%;
  height: 20%;
}

.product-card[data-selected-shape="baby"] .card-mockup-print {
  top: 51%;
  left: 49.5%;
  width: 19%;
  height: 19%;
}

.product-card[data-selected-shape="totebag"] .card-mockup-print {
  top: 61%;
  left: 50%;
  width: 38%;
  height: 38%;
}

.product-card[data-selected-shape="cap"] .card-mockup-print {
  top: 48%;
  left: 48%;
  width: 26%;
  height: 26%;
}

.card-mockup-svg {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.12));
  transition: all 0.22s ease;
}

.card-mockup-svg .js-card-svg-body {
  transition: fill 0.22s ease, d 0.22s ease;
}

.card-mockup-print {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 22%;
  height: 22%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: all 0.22s ease;
}

.card-mockup-print img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 2px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.12));
}

.card-toggle-view-btn {
  position: absolute;
  bottom: 0.55rem;
  right: 0.55rem;
  z-index: 6;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.24rem 0.52rem;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--text-black);
  border: 1px solid var(--border-mid);
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.product-card.is-customizing-garment .card-toggle-view-btn {
  opacity: 1;
  pointer-events: auto;
}

.card-toggle-view-btn:hover {
  background-color: var(--text-black);
  color: var(--bg-white);
}

.product-card__badges {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  right: 0.6rem;
  display: flex;
  justify-content: space-between;
  gap: 0.3rem;
  z-index: 5;
  pointer-events: none;
}

.badge-minimal {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.48rem;
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--text-black);
  border: 1px solid rgba(0,0,0,0.06);
}

.badge-minimal.js-card-fit-badge {
  background-color: var(--text-black);
  color: var(--bg-white);
}

.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card__top-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.product-card__title,
.woocommerce-loop-product__title {
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-black);
  line-height: 1.25;
}

.product-card__price {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-black);
  white-space: nowrap;
}

/* SELECTOR DE PRENDA EMPAREJADO (HOMBRE ARRIBA / MUJER ABAJO | HOODIE ARRIBA / SUDADERA ABAJO) */
.card-garment-grid-paired {
  display: flex;
  gap: 0.35rem;
  background-color: var(--bg-soft);
  padding: 0.3rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
}

.garment-pair-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-gpill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.2rem;
  font-family: var(--font-title);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.15s ease;
  cursor: pointer;
}

.card-gpill:hover {
  color: var(--text-black);
  border-color: var(--border-mid);
}

.card-gpill.is-active {
  background-color: var(--text-black);
  color: var(--bg-white);
  border-color: var(--text-black);
  font-weight: 700;
}

/* BOTÓN ESPECIAL "✦ OTROS" EN TARJETA */
.card-gpill--other {
  border-color: #ff5e00 !important;
  color: #ff5e00 !important;
  font-weight: 700 !important;
  background: rgba(255, 94, 0, 0.04) !important;
}

.card-gpill--other:hover {
  background: #ff5e00 !important;
  color: #ffffff !important;
  border-color: #ff5e00 !important;
}

/* FILA DE COLOR + ETIQUETA */
.product-card__custom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.1rem 0;
}

.color-swatches {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: 70%;
}

.color-swatch-btn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.color-swatch-btn:hover {
  transform: scale(1.2);
}

.color-swatch-btn.is-active {
  outline: 2px solid var(--text-black);
  outline-offset: 1px;
}
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  padding: 0;
  transition: transform 0.15s ease;
}

.color-swatch-btn:hover {
  transform: scale(1.15);
}

.color-swatch-btn.is-active {
  outline: 1.5px solid var(--text-black);
  outline-offset: 2px;
}

.color-name-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
}

/* SELECTOR DE TALLAS DIRECTO */
.product-card__sizes-bar {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.1rem;
}

.sizes-bar__label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.quick-add__sizes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.22rem;
}

.size-btn {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  padding: 0.36rem 0;
  text-align: center;
  border: 1px solid var(--border-mid);
  background-color: var(--bg-white);
  border-radius: 2px;
  transition: all 0.15s ease;
}

.size-btn:hover,
.size-btn:active {
  background-color: var(--text-black);
  color: var(--bg-white);
  border-color: var(--text-black);
}

/* Banner de llamada a la Página Aparte de Personalización */
.custom-page-cta-banner {
  max-width: 1640px;
  margin: 0 auto 3.5rem;
  padding: 0 2.5rem;
}

.custom-page-cta-box {
  background-color: var(--bg-soft);
  border: 1px solid var(--border-mid);
  padding: 2.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* ==========================================================================
   5. PÁGINA APARTE: ESTUDIO PERSONALIZADOR (SUBE TU IMAGEN + ZONA ESTAMPACIÓN)
   ========================================================================== */
.custom-studio-page {
  background-color: var(--bg-soft);
  min-height: 75vh;
  padding: 2.5rem 2.5rem 4.5rem;
}

.custom-studio-container {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: start;
}

.studio-preview-stage {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  aspect-ratio: 4 / 4.2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: sticky;
  top: 150px;
}

.studio-view-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  background-color: var(--text-black);
  color: var(--bg-white);
}

.studio-zone-guide {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
  background-color: var(--bg-soft);
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border-light);
}

.studio-garment-mockup {
  position: relative;
  width: 82%;
  max-width: 370px;
}

.studio-model-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.08));
  transition: opacity 0.2s ease;
}

.studio-garment-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.06));
  transition: fill 0.25s ease;
}

/* Zonas de Estampación Dinámicas sobre la Prenda */
.studio-print-area {
  position: absolute;
  border: 1px dashed rgba(139, 115, 85, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  transition: all 0.25s var(--ease-smooth);
  padding: 4px;
}

/* Zona 1: Pecho Centro (Estándar) */
.studio-print-area.zone-front-center {
  top: 49.2%;
  left: 50%;
  width: 44%;
  height: 36%;
  transform: translate(-50%, -50%);
}

/* Zona 2: Pecho Izquierdo (Escudo / Bolsillo) */
.studio-print-area.zone-left-chest {
  top: 29%;
  left: 61%;
  width: 20%;
  height: 16%;
  transform: translate(-50%, -50%);
}

/* Zona 3: Espalda Completa (Back Print Grande) */
.studio-print-area.zone-back-full {
  top: 40%;
  left: 50%;
  width: 48%;
  height: 42%;
  transform: translate(-50%, -50%);
}

/* Zona 4: Doble (Escudo + Espalda) */
.studio-print-area.zone-bottom-hem {
  top: 62%;
  left: 50%;
  width: 42%;
  height: 24%;
  transform: translate(-50%, -50%);
}

.studio-print-area img {
  max-width: 100%;
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.studio-graphic-overlay__main {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  line-height: 1.15;
}

.studio-stage-meta {
  position: absolute;
  bottom: 0.85rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

.studio-controls-panel {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.upload-dropzone {
  border: 1.5px dashed var(--border-mid);
  background-color: var(--bg-soft);
  padding: 1.35rem 1rem;
  text-align: center;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.upload-dropzone:hover {
  border-color: var(--text-black);
  background-color: var(--bg-cement);
}

.upload-dropzone input[type="file"] {
  display: none;
}

.custom-text-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-mid);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  background-color: var(--bg-white);
  border-radius: 2px;
}

.studio-step {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.studio-step__label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dark);
}

.studio-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 0.4rem;
}

.studio-option-btn {
  padding: 0.58rem 0.6rem;
  border: 1px solid var(--border-mid);
  background-color: var(--bg-white);
  font-family: var(--font-title);
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  border-radius: 2px;
  transition: all 0.15s ease;
}

.studio-option-btn.is-active {
  background-color: var(--text-black);
  color: var(--bg-white);
  border-color: var(--text-black);
}

.studio-color-row {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}

.studio-color-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
}

.studio-color-circle.is-active {
  outline: 2px solid var(--text-black);
  outline-offset: 3px;
}

.btn-minimal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.btn-minimal--dark {
  background-color: var(--text-black);
  color: var(--bg-white);
  border: 1px solid var(--text-black);
}

/* ==========================================================================
   6. CARRITO LATERAL & FOOTER
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(2px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: var(--bg-white);
  border-left: 1px solid var(--border-light);
  z-index: 950;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease-smooth);
}

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

.cart-drawer__header {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer__title {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-shipping-bar {
  padding: 0.75rem 1.35rem;
  background-color: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
}

.cart-shipping-bar__text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  margin-bottom: 0.4rem;
  display: block;
}

.cart-shipping-bar__track {
  width: 100%;
  height: 4px;
  background-color: var(--bg-cement-mid);
}

.cart-shipping-bar__fill {
  height: 100%;
  background-color: var(--text-black);
  width: 0%;
  transition: width 0.35s ease;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 0.8rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

.cart-item__img {
  width: 60px;
  height: 74px;
  object-fit: cover;
  background-color: var(--bg-soft);
}

.cart-item__title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.cart-item__meta {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
  margin: 0.18rem 0 0.4rem;
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-mid);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.cart-item__qty button {
  padding: 0.1rem 0.45rem;
}

.cart-item__qty span {
  padding: 0 0.4rem;
}

.cart-drawer__footer {
  padding: 1.1rem 1.35rem 1.35rem;
  border-top: 1px solid var(--border-light);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.site-footer {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 2.5rem 2rem;
}

.footer-top-grid {
  max-width: 1640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-bar {
  max-width: 1640px;
  margin: 0 auto;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
}

/* ==========================================================================
   7. OPTIMIZACIÓN MOBILE-FIRST COMPLETA + SIMULADOR MÓVIL
   ========================================================================== */
@media (max-width: 1120px) {
  .kulta-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-studio-container {
    grid-template-columns: 1fr;
  }
  .studio-preview-stage {
    position: relative;
    top: 0;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-header__top {
    padding: 0.5rem 0.85rem;
    gap: 0.5rem;
  }
  .header-brand-tagline,
  .site-header__nav-bar,
  .header-actions #sizeGuideTrigger {
    display: none !important;
  }
  .mobile-menu-trigger {
    display: inline-flex !important;
  }
  .site-logo img,
  .site-logo__img,
  .custom-logo-link img,
  img.custom-logo {
    height: 46px !important;
    max-height: 46px !important;
    max-width: 130px !important;
  }
  .cart-trigger {
    padding: 0.44rem 0.75rem;
    font-size: 0.65rem;
  }
  .mobile-quick-cats {
    display: flex;
  }
  .editorial-banner {
    padding: 1.35rem 1rem;
  }
  .editorial-title {
    font-size: 1.45rem;
  }
  .catalog-section {
    padding: 1.25rem 0.85rem 2.5rem;
  }
  .kulta-products-grid {
    grid-template-columns: 1fr !important;
    gap: 1.85rem 0.75rem !important;
  }
  .kulta-products-grid.is-mobile-2col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .kulta-products-grid.is-mobile-2col .product-card {
    padding: 0.55rem;
  }
  .kulta-products-grid.is-mobile-2col .card-gpill {
    font-size: 0.52rem;
    padding: 0.28rem 0.05rem;
  }
  .kulta-products-grid.is-mobile-2col .size-btn {
    font-size: 0.56rem;
    padding: 0.28rem 0;
  }
  .kulta-products-grid.is-mobile-2col .product-card__title {
    font-size: 0.72rem;
  }
  .custom-page-cta-banner {
    padding: 0 0.85rem;
  }
  .custom-page-cta-box {
    padding: 1.5rem 1.25rem;
  }
  .custom-studio-page {
    padding: 1.25rem 0.85rem 3rem;
  }
  .studio-controls-panel {
    padding: 1.25rem;
  }
  .site-footer {
    padding: 2.5rem 1rem 1.5rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   8. BLOQUEO TOTAL DE COLISIONES DE ESTILOS POR DEFECTO DE WOOCOMMERCE
   ========================================================================== */
.woocommerce-products-header,
.woocommerce-result-count,
.woocommerce-ordering,
li.product-category,
.product-category.product,
mark.count {
  display: none !important;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2.5rem 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce .kulta-products-grid .product-card {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

@media (max-width: 1120px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 860px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
    gap: 1.85rem 0.75rem !important;
  }
}

/* Simulador de móvil en vivo para probar en el PC con 1 clic */
body.is-mobile-preview-mode {
  background-color: #1A1A1A;
  padding: 20px 0 40px;
}

body.is-mobile-preview-mode .mobile-frame-wrapper {
  max-width: 412px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 10px solid #2A2A2A;
  border-radius: 36px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
  position: relative;
}

body.is-mobile-preview-mode .site-header__top {
  padding: 0.55rem 0.85rem;
}

body.is-mobile-preview-mode .header-brand-tagline,
body.is-mobile-preview-mode .site-header__nav-bar,
body.is-mobile-preview-mode .header-actions #sizeGuideTrigger {
  display: none;
}

body.is-mobile-preview-mode .mobile-menu-trigger {
  display: inline-flex;
}

body.is-mobile-preview-mode .site-logo img {
  height: 58px;
}

body.is-mobile-preview-mode .mobile-quick-cats {
  display: flex;
}

body.is-mobile-preview-mode .editorial-banner {
  padding: 1.25rem 1rem;
}

body.is-mobile-preview-mode .editorial-title {
  font-size: 1.4rem;
}

body.is-mobile-preview-mode .catalog-section {
  padding: 1.15rem 0.85rem 2.5rem;
}

body.is-mobile-preview-mode .kulta-products-grid {
  grid-template-columns: 1fr;
  gap: 1.75rem 0.65rem;
}

body.is-mobile-preview-mode .kulta-products-grid.is-mobile-2col {
  grid-template-columns: repeat(2, 1fr);
}

body.is-mobile-preview-mode .kulta-products-grid.is-mobile-2col .card-gpill {
  font-size: 0.5rem;
  padding: 0.25rem 0.05rem;
}

body.is-mobile-preview-mode .kulta-products-grid.is-mobile-2col .size-btn {
  font-size: 0.55rem;
  padding: 0.26rem 0;
}

body.is-mobile-preview-mode .custom-studio-page {
  padding: 1.25rem 0.85rem;
}

body.is-mobile-preview-mode .custom-studio-container {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

body.is-mobile-preview-mode .studio-preview-stage {
  position: relative;
  top: 0;
}

body.is-mobile-preview-mode .site-footer {
  padding: 2rem 1rem;
}

body.is-mobile-preview-mode .footer-top-grid {
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ==========================================================================
   🎃 EDICIÓN ESPECIAL HALLOWEEN GAMBERRO (Activo 29 Oct - 1 Nov)
   ========================================================================== */
body.is-halloween-active .is-halloween-ticker {
  background: #0a0a0a;
  border-bottom: 2px solid #FF5E00;
  box-shadow: 0 2px 14px rgba(255, 94, 0, 0.35);
  color: #FFFFFF;
}

body.is-halloween-active .is-halloween-ticker .dot {
  color: #FF5E00;
  text-shadow: 0 0 10px rgba(255, 94, 0, 0.9);
}

body.is-halloween-active .is-halloween-ticker span {
  letter-spacing: 0.04em;
}

.site-logo {
  position: relative;
  overflow: visible !important;
}

.halloween-logo-hat {
  position: absolute;
  top: -12px;
  left: -8px;
  width: 34px;
  height: 34px;
  z-index: 10;
  pointer-events: none;
  transform: rotate(-14deg);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  animation: halloweenHatFloat 3s ease-in-out infinite alternate;
}

@keyframes halloweenHatFloat {
  0% { transform: rotate(-14deg) translateY(0); }
  100% { transform: rotate(-18deg) translateY(-2px); }
}

.halloween-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.halloween-corner-web {
  position: absolute;
  top: 0;
  width: 90px;
  height: 90px;
  pointer-events: none;
}

.halloween-web-left {
  left: 0;
}

.halloween-web-right {
  right: 0;
}

.halloween-corner-web svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(255, 94, 0, 0.25));
}

.halloween-web-left svg line,
.halloween-web-left svg circle,
.halloween-web-left svg path[stroke="#141414"] {
  transform-origin: 68px 80px;
  animation: halloweenSpiderSway 3.8s ease-in-out infinite alternate;
}

@keyframes halloweenSpiderSway {
  0% { transform: rotate(-6deg); }
  100% { transform: rotate(6deg); }
}

@media (min-width: 768px) {
  .halloween-corner-web {
    width: 140px;
    height: 140px;
  }
  .halloween-logo-hat {
    top: -16px;
    left: -12px;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   🦇 MURCIÉLAGOS DE AMBIENTE HALLOWEEN (VUELO PERIÓDICO FLUIDO)
   ========================================================================== */
.halloween-ambient-bat {
  position: fixed;
  top: var(--bat-start-y, 35vh);
  left: 0;
  pointer-events: none;
  z-index: 99998;
  will-change: transform, left, top;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
}

.halloween-ambient-bat .bat-wing-left {
  transform-origin: 47px 28px;
  animation: batFlapLeft 0.16s ease-in-out infinite alternate;
}

.halloween-ambient-bat .bat-wing-right {
  transform-origin: 53px 28px;
  animation: batFlapRight 0.16s ease-in-out infinite alternate;
}

@keyframes batFlapLeft {
  0%   { transform: rotate(-28deg) scaleY(1); }
  100% { transform: rotate(38deg) scaleY(0.55); }
}

@keyframes batFlapRight {
  0%   { transform: rotate(28deg) scaleY(1); }
  100% { transform: rotate(-38deg) scaleY(0.55); }
}

/* Vuelo de Izquierda a Derecha */
.halloween-ambient-bat.bat-fly-ltr {
  animation-name: batFlightLtoR;
  animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  animation-fill-mode: forwards;
}

@keyframes batFlightLtoR {
  0% {
    transform: translate3d(-90px, 0, 0) rotate(14deg);
    opacity: 0.1;
  }
  6% {
    opacity: 1;
  }
  22% {
    transform: translate3d(24vw, -45px, 0) rotate(-10deg);
  }
  48% {
    transform: translate3d(52vw, 55px, 0) rotate(18deg);
  }
  74% {
    transform: translate3d(78vw, -35px, 0) rotate(-8deg);
  }
  94% {
    opacity: 1;
  }
  100% {
    transform: translate3d(calc(100vw + 95px), 25px, 0) rotate(12deg);
    opacity: 0;
  }
}

/* Vuelo de Derecha a Izquierda */
.halloween-ambient-bat.bat-fly-rtl {
  animation-name: batFlightRtoL;
  animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  animation-fill-mode: forwards;
}

@keyframes batFlightRtoL {
  0% {
    transform: translate3d(calc(100vw + 90px), 0, 0) scaleX(-1) rotate(14deg);
    opacity: 0.1;
  }
  6% {
    opacity: 1;
  }
  24% {
    transform: translate3d(76vw, 45px, 0) scaleX(-1) rotate(-10deg);
  }
  48% {
    transform: translate3d(48vw, -55px, 0) scaleX(-1) rotate(18deg);
  }
  74% {
    transform: translate3d(22vw, 35px, 0) scaleX(-1) rotate(-8deg);
  }
  94% {
    opacity: 1;
  }
  100% {
    transform: translate3d(-95px, -20px, 0) scaleX(-1) rotate(12deg);
    opacity: 0;
  }
}

/* Easter Egg al hacer clic */
.halloween-floating-bat {
  position: fixed;
  font-size: 26px;
  pointer-events: none;
  z-index: 99999;
  user-select: none;
  animation: flyBatAnim 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes flyBatAnim {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: translate(calc(-60px + 120px * var(--bat-rnd, 0.5)), -100px) scale(1.1) rotate(15deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-120px + 240px * var(--bat-rnd, 0.5)), -240px) scale(1.3) rotate(-20deg);
  }
}

/* ==========================================================================
   🎃 RESALTADO DE COLORES HALLOWEEN EN TODA LA TIENDA
   ========================================================================== */

/* 1. Insignias y etiquetas */
body.is-halloween-active .badge-minimal {
  border-color: #FF5E00;
  color: #FF5E00;
  background: rgba(255, 94, 0, 0.08);
}

body.is-halloween-active .header-btn.cart-trigger .cart-count-badge {
  background: #FF5E00;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 94, 0, 0.6);
}

body.is-halloween-active .nav-link.is-active::after {
  background: #FF5E00;
  box-shadow: 0 0 8px rgba(255, 94, 0, 0.6);
}

/* 2. Tarjetas de producto */
body.is-halloween-active .product-card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.is-halloween-active .product-card:hover {
  border-color: #FF5E00;
  box-shadow: 0 8px 24px rgba(255, 94, 0, 0.16);
}

body.is-halloween-active .product-card__title a:hover,
body.is-halloween-active .woocommerce-loop-product__title:hover {
  color: #FF5E00;
}

body.is-halloween-active .product-card__price {
  color: #FF5E00;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 94, 0, 0.18);
}

/* 3. Píldoras selectoras de prenda en catálogo */
body.is-halloween-active .card-gpill.is-active {
  background: #FF5E00 !important;
  border-color: #FF5E00 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 10px rgba(255, 94, 0, 0.4) !important;
}

body.is-halloween-active .card-gpill:hover:not(.is-active) {
  border-color: #FF5E00;
  color: #FF5E00;
}

body.is-halloween-active .card-gpill--other {
  border-color: rgba(255, 94, 0, 0.45);
}

body.is-halloween-active .card-gpill--other:hover {
  background-color: #FF5E00;
  border-color: #FF5E00;
  color: #FFFFFF;
}

/* 4. Swatches de colores activos */
body.is-halloween-active .color-swatch-btn.is-active {
  outline: 2px solid #FF5E00 !important;
  outline-offset: 2px;
}

body.is-halloween-active .color-swatch-btn:hover {
  transform: scale(1.15);
}

/* 5. Botones y Llamadas a la Acción */
body.is-halloween-active .btn-minimal--dark:hover,
body.is-halloween-active .single_add_to_cart_button:hover,
body.is-halloween-active .btn-quote-submit:hover {
  background: #FF5E00;
  border-color: #FF5E00;
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(255, 94, 0, 0.45);
}

body.is-halloween-active #btnLoadMoreProducts {
  border: 2px solid #FF5E00;
  color: #FF5E00;
  background: rgba(255, 94, 0, 0.05);
  box-shadow: 0 3px 12px rgba(255, 94, 0, 0.15);
  transition: all 0.25s ease;
}

body.is-halloween-active #btnLoadMoreProducts:hover {
  background: #FF5E00;
  color: #FFFFFF;
  box-shadow: 0 6px 22px rgba(255, 94, 0, 0.45);
}

/* 6. Carrito lateral */
body.is-halloween-active .cart-shipping-bar__fill {
  background: linear-gradient(90deg, #FF5E00, #FFAE00) !important;
  box-shadow: 0 0 10px rgba(255, 94, 0, 0.5);
}

body.is-halloween-active .cart-drawer__footer .btn-minimal--dark {
  background: #FF5E00;
  border-color: #FF5E00;
  box-shadow: 0 4px 16px rgba(255, 94, 0, 0.35);
}

body.is-halloween-active .cart-drawer__footer .btn-minimal--dark:hover {
  background: #e65500;
  border-color: #e65500;
}

/* 7. Personalizador */
body.is-halloween-active .customizer-canvas-wrapper.is-dragover {
  border-color: #FF5E00 !important;
  box-shadow: 0 0 24px rgba(255, 94, 0, 0.45) !important;
}

body.is-halloween-active .btn-magic-bg:hover {
  border-color: #FF5E00 !important;
  color: #FF5E00 !important;
  box-shadow: 0 2px 12px rgba(255, 94, 0, 0.25);
}

/* ==========================================================================
   MODAL DE PRESUPUESTO PERSONALIZADO (OTROS PRODUCTOS A MEDIDA)
   ========================================================================== */
.quote-modal-box {
  background: #ffffff;
  color: var(--text-black, #111111);
  border: 2px solid var(--text-black, #111111);
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  position: relative;
  box-sizing: border-box;
}

.quote-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.8rem;
}

.quote-modal-kicker {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #ff5e00;
  display: block;
  font-weight: 700;
  text-transform: uppercase;
}

.quote-modal-title {
  margin: 0.2rem 0 0 0;
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.quote-design-summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
}

.quote-design-thumb {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quote-design-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quote-design-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.quote-design-meta strong {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-design-meta span {
  font-size: 0.75rem;
  color: #666666;
}

.quote-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.quote-sublabel {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  color: #555555;
  margin-bottom: 0.35rem;
  display: block;
}

.quote-product-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

@media (max-width: 480px) {
  .quote-product-chips {
    grid-template-columns: 1fr;
  }
}

.quote-chip {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid #d0d0d0;
  padding: 0.45rem 0.6rem;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.quote-chip input[type="radio"] {
  margin-right: 0.45rem;
  accent-color: #ff5e00;
}

.quote-chip span {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.quote-chip:hover {
  border-color: #999999;
}

.quote-chip:has(input:checked) {
  border-color: #000000;
  background: #ffffff;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.85);
}

.quote-chip--other {
  border-style: dashed;
  border-color: #ff5e00;
}

.quote-chip--other:has(input:checked) {
  border-color: #ff5e00;
  border-style: solid;
  box-shadow: 2px 2px 0px #ff5e00;
}

.quote-select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid #000000;
  font-family: inherit;
  font-size: 0.82rem;
  background: #ffffff;
  font-weight: 600;
  border-radius: 0;
  box-sizing: border-box;
}

.quote-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

@media (max-width: 480px) {
  .quote-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.quote-field label {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  display: block;
}

.quote-field input,
.quote-field textarea {
  width: 100%;
  border: 1.5px solid #000000;
  padding: 0.5rem 0.65rem;
  font-family: inherit;
  font-size: 0.82rem;
  background: #ffffff;
  box-sizing: border-box;
  border-radius: 0;
}

.quote-field input:focus,
.quote-field textarea:focus,
.quote-select:focus {
  outline: none;
  border-color: #ff5e00;
}

