/* ===========================
   RESET & VARIABLES
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:        #0f0f1a;
  --clr-surface:   #1a1a2e;
  --clr-surface2:  #16213e;
  --clr-primary:   #e94560;
  --clr-primary-h: #c73652;
  --clr-text:      #eaeaea;
  --clr-muted:     #8888aa;
  --clr-border:    #2a2a4a;

  --header-bg:     rgba(15, 15, 26, 0.88);

  --badge-halloween: #e94560;
  --badge-carnaval:  #f9ca24;
  --badge-navidad:   #2ecc71;
  --badge-general:   #74b9ff;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

/* ── Modo claro ──────────────────────────────────────────────────────────── */
body.light {
  --clr-bg:        #f0f0f8;
  --clr-surface:   #ffffff;
  --clr-surface2:  #e6e6f2;
  --clr-primary:   #e94560;
  --clr-primary-h: #c73652;
  --clr-text:      #1a1a2e;
  --clr-muted:     #5a5a88;
  --clr-border:    #d0d0e4;
  --shadow:        0 4px 20px rgba(0,0,0,0.1);

  --header-bg:     rgba(240, 240, 248, 0.90);

  /* variables admin */
  --adm-card:     #ffffff;
  --adm-surface2: #e6e6f2;
  --adm-border:   #d0d0e4;
  --adm-muted:    #5a5a88;
  --adm-primary:  #e94560;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
}

/* ===========================
   HEADER
=========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 32px rgba(0,0,0,0.18);
  transition: background var(--transition), box-shadow var(--transition);
}

body.light .header {
  border-bottom-color: rgba(0,0,0,0.07);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}

.header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.logo__icon {
  font-size: 1.7rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.logo:hover .logo__icon { transform: rotate(15deg) scale(1.15); }

.logo__text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--clr-primary) 0%, #ff8fa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav links ── */
.nav {
  display: flex;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  color: var(--clr-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  border-radius: 999px;
  background: var(--clr-primary);
  transition: transform 0.22s ease;
}
.nav-link:hover {
  color: var(--clr-text);
  background: rgba(255,255,255,0.04);
}
body.light .nav-link:hover { background: rgba(0,0,0,0.04); }

.nav-link.active {
  color: var(--clr-primary);
  font-weight: 600;
}
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }

/* ── Nav dropdown (Temporada) ── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-link--dropdown {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  user-select: none;
}
.nav-dropdown__chevron {
  font-size: 0.7rem;
  line-height: 1;
  transition: transform 0.2s ease;
  display: inline-block;
}
.nav-dropdown.open .nav-dropdown__chevron { transform: rotate(180deg); }

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  padding: 0.4rem;
  padding-top: 14px;
  z-index: 200;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: dropdownIn 0.18s ease;
}
body.light .nav-dropdown__menu {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.nav-dropdown.open .nav-dropdown__menu { display: flex; flex-direction: column; }

/* pequeña flecha decorativa arriba del menú */
.nav-dropdown__menu::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--clr-surface);
  border-left: 1px solid var(--clr-border);
  border-top: 1px solid var(--clr-border);
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--clr-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown__item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--clr-text);
}
body.light .nav-dropdown__item:hover { background: rgba(0,0,0,0.05); }
.nav-dropdown__item:first-child {
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 0.25rem;
  padding-bottom: 0.6rem;
}
.nav-dropdown__icon { font-size: 1rem; line-height: 1; }

@keyframes dropdownIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

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

/* ── Icon buttons ── */
.btn-icon {
  background: none;
  border: none;
  color: var(--clr-text);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform 0.15s;
  line-height: 1;
}
.btn-icon:hover {
  background: rgba(255,255,255,0.07);
  transform: scale(1.08);
}
body.light .btn-icon:hover { background: rgba(0,0,0,0.06); }

/* ── Store theme toggle ── */
.btn-theme-store {
  font-size: 1.15rem;
  min-width: 2.2rem;
  text-align: center;
}

.cart-count {
  background: var(--clr-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0 5px;
  border-radius: 999px;
  vertical-align: super;
}

/* ===========================
   HERO
=========================== */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 50%, #1a0a2e 100%);
  padding: 9rem 2rem 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(233,69,96,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content { max-width: 920px; margin: 0 auto; position: relative; }

.hero__eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-primary);
  background: rgba(233,69,96,0.1);
  border: 1px solid rgba(233,69,96,0.25);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--clr-primary); }

.hero > .hero__content > p {
  color: var(--clr-muted);
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__auth {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.hero-auth__sep { color: var(--clr-muted); }
.hero-auth__link {
  color: var(--clr-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.hero-auth__link:hover { color: var(--clr-text); }
.hero-auth__link--highlight {
  color: var(--clr-primary);
  font-weight: 600;
}
.hero-auth__link--highlight:hover { color: #ff6b6b; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--clr-text);
  padding: 0.9rem 2.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--clr-border);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  font-family: inherit;
}
.btn-ghost:hover { border-color: var(--clr-primary); color: var(--clr-primary); }

.btn-primary {
  display: inline-block;
  background: var(--clr-primary);
  color: #fff;
  padding: 0.9rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--clr-primary-h); transform: translateY(-2px); }

/* ===========================
   CATÁLOGO
=========================== */
.catalog {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
}

.product-count { color: var(--clr-muted); font-size: 0.9rem; }

/* ===========================
   PRODUCT GRID
=========================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 260px);
  gap: 1.5rem;
  justify-content: start;
}

/* ===========================
   PRODUCT CARD
=========================== */
.product-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card__image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.05); }

/* Badges */
.badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 1rem;
  line-height: 1;
  padding: 0.25rem 0.3rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  transition: transform var(--transition), opacity var(--transition);
}
.badge:hover { transform: scale(1.1); opacity: 0.9; }
.badge--halloween { background: var(--badge-halloween); color: #fff; }
.badge--carnaval  { background: var(--badge-carnaval); }
.badge--navidad   { background: var(--badge-navidad); }
.badge--general   { background: var(--badge-general); }

.condition-tag {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  pointer-events: none;
}
.condition-tag--nuevo     { background: rgba(46,204,113,0.85);  color: #fff; }
.condition-tag--seminuevo { background: rgba(241,196,15,0.9);   color: #0f0f1a; }
.condition-tag--ambas     { background: rgba(116,185,255,0.9);  color: #0f0f1a; }

/* Card body — minimalista */
.product-card__body {
  padding: 0.7rem 0.85rem 0.85rem;
}
.product-card__body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.pc-price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-primary);
}
.pc-price--sale { color: #2ecc71; }
.pc-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(46,204,113,0.15);
  color: #2ecc71;
}
.pc-badge--size {
  background: rgba(249,202,36,0.12);
  color: #f9ca24;
}

/* Badge condición en tarjeta */
.pc-condition {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  line-height: 1.4;
}
.pc-condition--nuevo     { background: rgba(46,204,113,0.85);  color: #fff; }
.pc-condition--seminuevo { background: rgba(241,196,15,0.9);   color: #0f0f1a; }
.pc-condition--ambas     { background: rgba(116,185,255,0.85); color: #0f0f1a; }

/* Clases legacy (usadas en modales / otros sitios) */
.price { font-weight: 700; font-size: 1.2rem; color: var(--clr-primary); }
.price-group { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.price-original { font-size: 0.82rem; color: var(--clr-muted); text-decoration: line-through; font-weight: 500; }
.price--sale { color: #2ecc71; }
.discount-badge { background: rgba(46,204,113,0.15); color: #2ecc71; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 999px; }
.size-offer-badge { font-size: 0.75rem; font-weight: 700; color: #f9ca24; background: rgba(249,202,36,0.12); padding: 0.2rem 0.55rem; border-radius: 999px; }
.product-tag-pill { display: inline-block; font-size: 0.7rem; font-weight: 600; color: var(--clr-muted); background: var(--clr-border); border-radius: 999px; padding: 0.15rem 0.55rem; white-space: nowrap; cursor: pointer; }
.btn-add { background: var(--clr-primary); color: #fff; border: none; padding: 0.45rem 1rem; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background var(--transition); }
.btn-add:hover { background: var(--clr-primary-h); }

/* ===========================
   EMPTY STATE
=========================== */
.empty-state {
  text-align: center;
  padding: 4rem;
  color: var(--clr-muted);
  font-size: 1.1rem;
}

/* ===========================
   FOOTER
=========================== */
/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Marca ──────────────────────────────────────────────────────────────── */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-text);
  text-decoration: none;
  margin-bottom: 0.9rem;
  transition: color var(--transition);
}
.footer-logo:hover { color: var(--clr-primary); }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

/* ── Redes sociales ─────────────────────────────────────────────────────── */
.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-social {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--clr-border);
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.footer-social:hover              { transform: translateY(-3px); color: #fff; }
.footer-social--wa:hover          { background: #25D366; }
.footer-social--fb:hover          { background: #1877F2; }
.footer-social--ig:hover          { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* ── Columnas ───────────────────────────────────────────────────────────── */
.footer-col__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--clr-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}
.footer-links a:hover { color: var(--clr-text); padding-left: 4px; }

/* ── Contacto ───────────────────────────────────────────────────────────── */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.4;
}

.footer-contact-icon { flex-shrink: 0; font-size: 0.95rem; margin-top: 0.05rem; }

.footer-contact-link {
  color: var(--clr-primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--transition);
  cursor: pointer;
}
.footer-contact-link:hover { opacity: 0.75; }

/* ── Franja inferior ────────────────────────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid var(--clr-border);
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--clr-muted);
  flex-wrap: wrap;
}

.footer-bottom__badge {
  font-size: 0.8rem;
  color: var(--clr-muted);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
    padding: 3rem 1.5rem 2.5rem;
  }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }
}

@media (max-width: 540px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.25rem 2rem;
  }
  .footer-col--brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===========================
   MODAL
=========================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  max-width: 660px;
  width: 100%;
  overflow: hidden;
  position: relative;
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 1;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--clr-primary); }

.modal-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

/* Carousel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.55);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  line-height: 1;
}
.carousel-btn:hover { background: var(--clr-primary); }
.carousel-btn--prev { left: 0.6rem; }
.carousel-btn--next { right: 0.6rem; }

.carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 3;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* Precio con descuento en modal */
.modal-price-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.modal-price-discount {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.modal-savings {
  font-size: 0.8rem;
  color: #2ecc71;
  font-weight: 600;
}

.modal-body { padding: 1.5rem; }

.modal-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal-tags .condition-tag {
  position: static;
}

.modal-body h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0.4rem 0 0.6rem;
}

.modal-body p {
  color: var(--clr-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.modal-stock {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
}
.modal-stock__label { color: var(--clr-muted); }
.modal-stock__value { font-weight: 700; color: #2ecc71; }
.modal-stock__value--empty { color: var(--clr-primary); }

.modal-sizes {
  margin-bottom: 1rem;
}
.modal-sizes__label {
  display: block;
  font-size: 0.82rem;
  color: var(--clr-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.modal-sizes__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.size-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  padding: 0.45rem 0.7rem;
  border: 1.5px solid var(--clr-border);
  border-radius: 6px;
  background: transparent;
  color: var(--clr-text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  min-width: 58px;
}
.size-btn:hover {
  border-color: var(--clr-primary);
}
.size-btn.active {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}
.size-btn__name {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}
.size-btn__price {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-primary);
  line-height: 1.2;
}
.size-btn.active .size-btn__price {
  color: rgba(255,255,255,0.9);
}
.size-btn__original {
  font-size: 0.65rem;
  text-decoration: line-through;
  opacity: 0.55;
  line-height: 1;
}
.size-btn__stock {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.6;
  line-height: 1;
}
.size-btn.active .size-btn__stock {
  opacity: 0.8;
}
.size-btn--sale .size-btn__price { color: var(--clr-primary); }
.size-btn--sale .size-btn__price em { font-style: normal; font-size: 0.65rem; }
.size-btn.active.size-btn--sale .size-btn__price { color: rgba(255,255,255,0.95); }
.size-btn__deadline {
  font-size: 0.6rem;
  font-weight: 700;
  color: #f9ca24;
  background: rgba(249,202,36,0.12);
  border-radius: 999px;
  padding: 0.08rem 0.35rem;
  line-height: 1.4;
  white-space: nowrap;
}
.size-btn.active .size-btn__deadline {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.modal-total {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
  white-space: nowrap;
}

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

.modal-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.5rem;
}
.modal-qty__btn {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  color: var(--clr-text);
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.modal-qty__btn:hover:not(:disabled) { background: var(--clr-border); }
.modal-qty__btn:disabled { color: var(--clr-border); cursor: not-allowed; }
.modal-qty__value {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-add--modal {
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
}

/* ===========================
   HOME LAYOUT (3 columnas)
=========================== */
.home-layout {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 1600px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem 6rem;
}

/* El sidebar de filtros izquierdo ya usa .seasons-sidebar — solo ajustamos posición */
.home-layout > .seasons-sidebar {
  position: sticky;
  top: 88px;
  flex-shrink: 0;
}

.home-main {
  flex: 1;
  min-width: 0;
}

.home-offers-sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 88px;
}

.home-offers-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--clr-border);
}

.home-offers-sidebar__header h3 {
  font-size: 1rem;
  font-weight: 800;
}

.home-offers-all-link {
  background: none;
  border: none;
  color: var(--clr-primary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity var(--transition);
}
.home-offers-all-link:hover { opacity: 0.75; }

.home-offer-chip {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: var(--clr-text);
}
.home-offer-chip:hover {
  border-color: var(--clr-primary);
  transform: translateX(3px);
  box-shadow: -3px 0 0 var(--clr-primary);
}

.home-offer-chip__discount {
  font-size: 1.4rem;
  font-weight: 800;
  color: #2ecc71;
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.home-offer-chip__discount--sizes {
  font-size: 0.85rem;
  line-height: 1.3;
}
.home-offer-chip__size-list {
  font-size: 0.75rem;
  color: var(--clr-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.home-offer-chip__name {
  font-size: 0.88rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}

.home-offer-chip__meta {
  font-size: 0.75rem;
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.home-offer-chip__type {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.home-offer-chip__type--combo   { background: rgba(249,202,36,0.15); color: #f9ca24; }
.home-offer-chip__type--general { background: rgba(116,185,255,0.15); color: #74b9ff; }
.home-offer-chip__type--product { background: rgba(46,204,113,0.15); color: #2ecc71; }

.home-offer-chip__deadline {
  color: #f9ca24;
  font-weight: 600;
}

.home-offer-chip--no-offers {
  text-align: center;
  color: var(--clr-muted);
  font-size: 0.85rem;
  padding: 1.5rem 0.5rem;
  border: 1.5px dashed var(--clr-border);
  border-radius: var(--radius);
  cursor: default;
}
.home-offer-chip--no-offers:hover { transform: none; box-shadow: none; border-color: var(--clr-border); }

.home-offer-chip--more {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-primary);
  background: transparent;
  border: 1.5px dashed var(--clr-primary);
  opacity: 0.8;
}
.home-offer-chip--more:hover { opacity: 1; background: rgba(233,69,96,0.07); }

.home-loading {
  text-align: center;
  color: var(--clr-muted);
  padding: 3rem;
}

@media (max-width: 1024px) {
  .home-layout { flex-direction: column; }
  .home-layout > .seasons-sidebar { position: static; width: 100%; }
  .home-offers-sidebar { width: 100%; position: static; }
}

/* ===========================
   SEASON BLOCKS (home)
=========================== */
.season-block {
  margin-bottom: 3rem;
}

.season-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.season-block__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.season-block__icon { font-size: 1.5rem; line-height: 1; }

.season-block__title h2 { font-size: 1.3rem; font-weight: 800; }

.season-block__count {
  background: var(--clr-border);
  color: var(--clr-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

/* ===========================
   CATEGORY BLOCKS (dentro de season)
=========================== */
.products-by-category {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.category-block { }

.category-block__title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--clr-border);
}

/* NAV ACTIVE STATE — handled in HEADER block above */

/* ===========================
   SEASONS HEADER
=========================== */
.seasons-header {
  background: linear-gradient(135deg, var(--clr-surface) 0%, #0f0f1a 60%, #1a0a2e 100%);
  padding: 4rem 2rem 2.5rem;
  text-align: center;
}
.seasons-header__inner { max-width: 800px; margin: 0 auto; }
.seasons-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 0.5rem; }
.seasons-header p  { color: var(--clr-muted); font-size: 1.1rem; }

/* ===========================
   SEASONS GRID
=========================== */
.seasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 2rem 2.5rem;
}

.season-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  color: var(--clr-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.season-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--clr-primary);
}

.season-card__icon { font-size: 3rem; line-height: 1; margin-bottom: 0.25rem; }
.season-card h3    { font-size: 1.3rem; font-weight: 800; }
.season-card p     { color: var(--clr-muted); font-size: 0.88rem; }

.season-card__count {
  margin-top: 0.5rem;
  background: var(--clr-border);
  color: var(--clr-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

/* ===========================
   SEASONS CATALOG + FILTERS
=========================== */
.seasons-catalog {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.seasons-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-right: 1.75rem;
}

.filter-group__title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--clr-muted);
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.filter-group__arrow {
  font-size: 0.6rem;
  opacity: 0.7;
  flex-shrink: 0;
}
.filter-group.collapsed > *:not(.filter-group__title) {
  display: none !important;
}
.filter-group.collapsed .filter-group__title {
  margin-bottom: 0;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 0.15s;
  user-select: none;
}
.filter-option:hover { background: var(--clr-border); }
.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: var(--clr-primary);
  cursor: pointer;
  flex-shrink: 0;
}
.filter-option input[type="checkbox"]:checked + span,
.filter-option input[type="radio"]:checked + span {
  color: var(--clr-text);
  font-weight: 600;
}
.filter-option span { color: var(--clr-muted); transition: color 0.15s; }

.filter-option--all {
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 0.25rem;
  padding-bottom: 0.5rem;
  font-weight: 700;
}
.filter-option--all span {
  color: var(--clr-text) !important;
  font-weight: 700;
}
.filter-option--all input[type="checkbox"]:checked + span {
  color: var(--clr-primary) !important;
}

.sidebar-tags-list {
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-border) transparent;
  padding-right: 0.2rem;
}
.sidebar-tags-list::-webkit-scrollbar { width: 4px; }
.sidebar-tags-list::-webkit-scrollbar-track { background: transparent; }
.sidebar-tags-list::-webkit-scrollbar-thumb { background: var(--clr-border); border-radius: 2px; }

.filter-count {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--clr-border);
  background: var(--clr-surface2);
  border-radius: 999px;
  padding: 0.05rem 0.35rem;
  margin-left: 0.15rem;
}
.filter-option input:checked ~ span .filter-count {
  background: rgba(233,69,96,0.15);
  color: var(--clr-primary);
}

.filter-empty-hint {
  font-size: 0.8rem;
  color: var(--clr-muted);
  padding: 0.25rem 0.5rem;
  display: block;
}

.filter-clear {
  background: none;
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  font-family: inherit;
  text-align: center;
}
.filter-clear:hover { border-color: var(--clr-primary); color: var(--clr-primary); }

.seasons-catalog__grid {
  flex: 1;
  min-width: 0;
}

.filter-results-count {
  font-size: 0.82rem;
  color: var(--clr-muted);
  margin-bottom: 1rem;
}

.seasons-offers-aside {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 88px;
  margin-left: 1.75rem;
}

/* ===========================
   OFFERS LAYOUT (con filtros)
=========================== */
.offers-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}

.offers-main {
  flex: 1;
  min-width: 0;
}

@media (max-width: 1100px) {
  .seasons-offers-aside { display: none; }
}

/* Sección de promos al pie — solo visible en móvil */
.seasons-mobile-promos {
  display: none;
}

@media (max-width: 768px) {
  .seasons-mobile-promos {
    display: block;
    padding: 1.5rem 1rem 5rem;
    border-top: 1px solid var(--clr-border);
    margin-top: 0.5rem;
  }
  .seasons-mobile-promos__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
  }
  .seasons-mobile-promos__header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-text);
  }
  .seasons-mobile-promos__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 900px) {
  .offers-layout { flex-direction: column; }
  .offers-layout .seasons-sidebar { width: 100%; position: static; margin-right: 0; margin-bottom: 1.25rem; flex-direction: row; flex-wrap: wrap; gap: 1rem; }
  .offers-layout .filter-group { min-width: 140px; }
}

@media (max-width: 768px) {
  .seasons-catalog { flex-direction: column; padding: 0 1rem 3rem; }
}

/* ===========================
   PRODUCTS NAV (breadcrumb)
=========================== */
.products-nav {
  background: var(--clr-surface2);
  border-bottom: 1px solid var(--clr-border);
  padding: 1rem 1.5rem;
}
.products-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.products-nav__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}
.products-nav__title h2 { font-size: 1.2rem; font-weight: 700; }

.btn-back {
  background: var(--clr-border);
  border: none;
  color: var(--clr-muted);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-back:hover { background: var(--clr-primary); color: #fff; }

/* ===========================
   USER MENU (HEADER)
=========================== */
.user-menu { position: relative; }

.btn-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--clr-border);
  border: none;
  color: var(--clr-text);
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-user:hover { background: var(--clr-border); }

.user-avatar {
  width: 28px;
  height: 28px;
  background: var(--clr-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.user-name { font-size: 0.85rem; font-weight: 600; }

.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  min-width: 180px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 200;
}
.user-dropdown.open { display: block; }

.dropdown-email {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  color: var(--clr-muted);
  border-bottom: 1px solid var(--clr-border);
  word-break: break-all;
}

.dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--clr-text);
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--transition);
}
.dropdown-item:hover { background: var(--clr-border); color: var(--clr-primary); }

/* ===========================
   AUTH MODAL (INDEX)
=========================== */
.auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.auth-modal-overlay.open { display: flex; }

.auth-modal {
  position: relative;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 2rem 2rem 1.5rem;
  width: 100%;
  max-width: 400px;
  animation: slideUp 0.22s ease;
}
.auth-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: var(--clr-muted);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}
.auth-modal__close:hover { color: var(--clr-text); }
.auth-modal__brand {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--clr-primary);
}
.auth-modal__title {
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.25rem;
}
.auth-modal__sub {
  text-align: center;
  color: var(--clr-muted);
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
}
.auth-form-group {
  margin-bottom: 0.9rem;
}
.auth-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--clr-muted);
}
.auth-form-group input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  color: var(--clr-text);
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.auth-form-group input:focus {
  outline: none;
  border-color: var(--clr-primary);
}
.auth-submit {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.5rem;
  background: var(--clr-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.15s;
  font-family: inherit;
}
.auth-submit:hover { opacity: 0.88; }

/* ─── Settings modal ─── */
.settings-modal { max-width: 420px; }
.settings-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--clr-border);
  margin: 0.5rem 0 1.25rem;
}
.settings-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  font-family: inherit;
  margin-bottom: -1px;
}
.settings-tab.active {
  color: var(--clr-primary);
  border-bottom-color: var(--clr-primary);
}
.settings-tab:hover:not(.active) { color: var(--clr-text); }
.settings-success {
  display: block;
  font-size: 0.82rem;
  color: #2ecc71;
  text-align: center;
  min-height: 1.1em;
  margin-bottom: 0.5rem;
}

.auth-switch {
  text-align: center;
  font-size: 0.8rem;
  color: var(--clr-muted);
  margin-top: 1rem;
}
.hero-auth__link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}

/* ===========================
   AUTH PAGE (LOGIN)
=========================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: radial-gradient(ellipse at top, #1a0a2e 0%, var(--clr-bg) 60%);
}

.auth-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
}

.auth-card__brand {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.auth-card__sub {
  color: var(--clr-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-muted);
  margin-bottom: 0.4rem;
}

.form-group input {
  width: 100%;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus { border-color: var(--clr-primary); }
.form-group input::placeholder { color: var(--clr-muted); }

.input-password {
  position: relative;
}
.input-password input { padding-right: 2.8rem; }

.toggle-pass {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.2rem;
}

.field-error {
  display: block;
  color: #e94560;
  font-size: 0.78rem;
  margin-top: 0.3rem;
  min-height: 1rem;
}

.btn-submit {
  width: 100%;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--clr-primary-h); transform: translateY(-1px); }

.auth-switch {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--clr-muted);
}

.link-btn {
  background: none;
  border: none;
  color: var(--clr-primary);
  cursor: pointer;
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
}
.link-btn:hover { color: var(--clr-primary-h); }

/* ===========================
   OFERTAS
=========================== */
.offers-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.seasons-promos-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--clr-border);
}

.offers-section__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.offers-promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
/* --- Offer card rediseñada --- */
.offer-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}

/* Banner superior con color por tipo */
.offer-card__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, #c0392b 0%, #e94560 100%);
}
.offer-card--combo .offer-card__banner {
  background: linear-gradient(135deg, #1a6fa8 0%, #3498db 100%);
}
.offer-card__banner-left {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.offer-card__pct {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.offer-card__off {
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(255,255,255,0.75);
  align-self: flex-end;
  margin-bottom: 3px;
}
.offer-card__banner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.offer-card__type-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.offer-card__season-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* Cuerpo de la card */
.offer-card__body {
  padding: 1.1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.offer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0;
}
.offer-desc {
  font-size: 0.85rem;
  color: var(--clr-muted);
  margin: 0;
  line-height: 1.5;
}

/* Cómo activar */
.offer-how {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--clr-bg);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  border-left: 3px solid var(--clr-primary);
}
.offer-card--combo .offer-how { border-color: #3498db; }
.offer-how__icon { font-size: 0.95rem; flex-shrink: 0; margin-top: 1px; }
.offer-how__text { font-size: 0.82rem; color: var(--clr-muted); line-height: 1.45; }
.offer-how__text strong { color: var(--clr-text); }

/* Scope */
.offer-scope {
  font-size: 0.78rem;
  color: var(--clr-muted);
  margin: 0;
  font-style: italic;
}

/* Chips de productos */
.offer-products {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.1rem;
}
.offer-product-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 9px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  width: 100%;
  text-align: left;
}
.offer-product-chip:hover {
  background: rgba(233,69,96,0.06);
  border-color: var(--clr-primary);
}
.offer-product-chip img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
}
.opc__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.opc__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.opc__price {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.opc__original {
  font-size: 0.72rem;
  color: var(--clr-muted);
  text-decoration: line-through;
}
.opc__eff {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2ecc71;
}
.opc__base {
  font-size: 0.75rem;
  color: var(--clr-muted);
}
.opc__arrow {
  font-size: 1.1rem;
  color: var(--clr-muted);
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}
.offer-product-chip:hover .opc__arrow {
  color: var(--clr-primary);
  transform: translateX(2px);
}

/* Fila título + contador */
.offer-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.offer-affected-count {
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Caja de ahorro */
.offer-savings {
  border-radius: 9px;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
}
.offer-savings--general {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46,204,113,0.08);
  border: 1px solid rgba(46,204,113,0.25);
  color: #2ecc71;
  font-weight: 600;
}
.offer-savings--combo {
  background: rgba(52,152,219,0.08);
  border: 1px solid rgba(52,152,219,0.2);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.offer-savings__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.offer-savings__label { color: var(--clr-muted); font-size: 0.75rem; }
.offer-savings__before { color: var(--clr-muted); font-size: 0.8rem; }
.offer-savings__after  { color: #3498db; font-size: 0.8rem; font-weight: 600; }
.offer-savings__amount { font-weight: 700; font-size: 0.85rem; }
.offer-savings__amount--before { color: var(--clr-muted); text-decoration: line-through; }
.offer-savings__amount--after  { color: #3498db; }
.offer-savings__total {
  margin-top: 0.2rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(52,152,219,0.2);
  font-size: 0.82rem;
  color: var(--clr-text);
  text-align: right;
}
.offer-savings__total strong { color: #2ecc71; }

/* Chip sin stock */
.offer-product-chip--out { opacity: 0.5; pointer-events: none; }
.opc__out { font-size: 0.65rem; color: var(--clr-primary); font-weight: 600; }

/* CTA */
.offer-cta {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--clr-primary);
  background: transparent;
  color: var(--clr-primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.offer-cta:hover { background: var(--clr-primary); color: #fff; }
.offer-card--combo .offer-cta { border-color: #3498db; color: #3498db; }
.offer-card--combo .offer-cta:hover { background: #3498db; color: #fff; }

.offer-all-products {
  font-size: 0.82rem;
  color: var(--clr-muted);
  margin: 0;
  font-style: italic;
}
.empty-offers {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--clr-muted);
  padding: 3rem;
  font-size: 1rem;
}

/* Countdown ajustado al nuevo body */
.offer-card__body .countdown-bar {
  margin: -1.1rem -1.25rem 0.25rem;
  border-radius: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--cd-clr) 25%, transparent);
}
/* ===========================
   COUNTDOWN SYSTEM
=========================== */

/* --- Colores por urgencia --- */
.countdown--normal   { --cd-clr: #74b9ff; --cd-bg: rgba(116,185,255,0.1); }
.countdown--warning  { --cd-clr: #f9ca24; --cd-bg: rgba(249,202,36,0.12); }
.countdown--urgent   { --cd-clr: #ff9f43; --cd-bg: rgba(255,159,67,0.12); }
.countdown--critical { --cd-clr: #e94560; --cd-bg: rgba(233,69,96,0.12);  }

/* --- Barra prominente en offer cards --- */
.countdown-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--cd-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--cd-clr) 25%, transparent);
  padding: 0.55rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -1rem -1rem 1rem;
}

.countdown-bar__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cd-clr);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.countdown-bar__segments {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.countdown-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 36px;
}

.countdown-seg__val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cd-clr);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown-seg__unit {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--cd-clr);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.countdown-sep {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cd-clr);
  opacity: 0.5;
  align-self: flex-start;
  margin-top: 2px;
  line-height: 1.1;
}

/* Pulso en crítico */
.countdown--critical .countdown-seg__val,
.countdown--critical .countdown-bar__label {
  animation: cd-pulse 1s ease-in-out infinite;
}
@keyframes cd-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* --- Badge compacto (sidebars, size buttons) --- */
.countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: var(--cd-bg);
  color: var(--cd-clr);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.countdown-badge__icon { line-height: 1; }
.countdown-badge__val  { line-height: 1; }

.countdown--critical.countdown-badge {
  animation: cd-pulse 1s ease-in-out infinite;
}

/* Override para botones de talla activos */
.size-btn.active .countdown-badge {
  --cd-bg: rgba(255,255,255,0.15);
  --cd-clr: #fff;
}

/* ===========================
   MODAL DETALLE PROMO
=========================== */

/* ─── Modal método de pago ─── */
#payment-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#payment-overlay.open { display: flex; }

.payment-modal {
  position: relative;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
}
.payment-modal__close {
  position: absolute;
  top: 0.75rem; right: 0.85rem;
  background: none; border: none;
  font-size: 1.1rem; cursor: pointer;
  color: var(--clr-muted);
  padding: 0.25rem 0.4rem;
}
.payment-modal__close:hover { color: var(--clr-text); }
.payment-modal__title {
  font-size: 1.2rem; font-weight: 800;
  margin: 0 0 1.25rem;
}
.payment-summary {
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.payment-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.payment-summary__item em {
  font-style: normal;
  background: var(--clr-border);
  border-radius: 4px;
  padding: 0 0.3rem;
  font-size: 0.72rem;
}
.payment-summary__name { color: var(--clr-muted); }
.payment-summary__price { font-weight: 600; white-space: nowrap; }
.payment-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--clr-border);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.95rem;
}
.payment-summary__total strong {
  font-size: 1.1rem;
  color: var(--clr-primary);
}
.payment-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--clr-muted);
  margin: 0 0 0.65rem;
}
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.payment-method:has(input:checked) {
  border-color: var(--clr-primary);
  background: rgba(233,69,96,0.06);
}
.payment-method input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--clr-primary);
  flex-shrink: 0;
}
.payment-method__icon { font-size: 1.4rem; }
.payment-method__info { display: flex; flex-direction: column; gap: 0.1rem; }
.payment-method__info strong { font-size: 0.9rem; }
.payment-method__info small  { font-size: 0.75rem; color: var(--clr-muted); }
.payment-confirm {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  #payment-overlay { align-items: flex-end; padding: 0; }
  .payment-modal { border-radius: 16px 16px 0 0; max-width: 100%; max-height: 92vh; }
}
#paypal-button-container { margin-top: 0.75rem; }
.payment-paypal-error {
  color: #e74c3c;
  font-size: 0.82rem;
  margin-top: 0.5rem;
  text-align: center;
  min-height: 1.2em;
}
.payment-paypal-loading {
  text-align: center;
  color: var(--clr-muted);
  font-size: 0.85rem;
  padding: 0.75rem 0;
}

.pm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.pm-overlay.active { display: flex; }

.pm-modal {
  background: var(--clr-surface);
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.pm-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.pm-close:hover { background: rgba(255,255,255,0.25); }

/* Header */
.pm-header {
  background: linear-gradient(135deg, #c0392b 0%, #e94560 100%);
  padding: 1.5rem 1.5rem 1.25rem;
  flex-shrink: 0;
}
.pm-header__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.pm-discount {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.pm-type {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.pm-type--combo { background: rgba(52,152,219,0.35); }
.pm-season {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.pm-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.3rem;
}
.pm-description {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin: 0 0 0.6rem;
  line-height: 1.45;
}
.pm-how {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin: 0.5rem 0 0;
}
.pm-how strong { color: #fff; }

/* Cuando es COMBO, el header es azul */
.pm-overlay[data-active-promo-type="COMBO"] .pm-header {
  background: linear-gradient(135deg, #1a6fa8 0%, #3498db 100%);
}

/* Body — lista de productos */
.pm-body {
  overflow-y: auto;
  flex: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pm-empty {
  color: var(--clr-muted);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* Producto dentro del modal */
.pm-product {
  display: flex;
  gap: 0.9rem;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 0.85rem;
  align-items: flex-start;
}
.pm-product__img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 9px;
  flex-shrink: 0;
}
.pm-product__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.pm-product__season { font-size: 1rem; line-height: 1; }
.pm-product__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pm-product__price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pm-product__orig {
  font-size: 0.78rem;
  color: var(--clr-muted);
  text-decoration: line-through;
}
.pm-product__eff {
  font-size: 0.95rem;
  font-weight: 800;
  color: #2ecc71;
}
.pm-product__save {
  font-size: 0.72rem;
  font-weight: 600;
  color: #2ecc71;
  background: rgba(46,204,113,0.1);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

/* Botón agregar sin tallas */
.pm-add-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.pm-add-btn:hover { opacity: 0.85; }
.pm-add-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Tallas */
/* Filas de talla con controles qty */
.pm-size-rows { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.4rem; }
.pm-size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border: 1.5px solid var(--clr-border);
  border-radius: 9px;
  transition: border-color 0.15s, background 0.15s;
}
.pm-size-row--active  { border-color: var(--clr-primary); background: rgba(233,69,96,0.05); }
.pm-size-row--out     { opacity: 0.45; }
.pm-size-row__info    { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; }
.pm-size-row__name    { font-size: 0.82rem; font-weight: 800; color: var(--clr-text); min-width: 28px; }
.pm-size-row__prices  { display: flex; align-items: center; gap: 0.35rem; }
.pm-size-row__orig    { font-size: 0.7rem; color: var(--clr-muted); text-decoration: line-through; }
.pm-size-row__eff     { font-size: 0.8rem; font-weight: 700; color: #2ecc71; }
.pm-size-row__stock   { font-size: 0.65rem; color: var(--clr-muted); margin-left: auto; }

/* Controles de cantidad */
.pm-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.pm-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1.5px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-text);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.pm-qty-btn:hover:not([disabled]) { border-color: var(--clr-primary); color: var(--clr-primary); }
.pm-qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pm-qty-btn--add {
  width: auto;
  padding: 0 0.75rem;
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  font-size: 0.78rem;
}
.pm-qty-btn--add:hover:not([disabled]) { background: var(--clr-primary); color: #fff; }
.pm-qty-btn--rm  { border-color: transparent; color: var(--clr-muted); font-size: 0.75rem; }
.pm-qty-btn--rm:hover { color: var(--clr-primary); border-color: var(--clr-primary); }
.pm-qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--clr-text);
}

/* Footer — tracker de compra */
.pm-footer {
  border-top: 1px solid var(--clr-border);
  flex-shrink: 0;
  background: var(--clr-surface);
}
.pm-cart-tracker {
  padding: 0.9rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pm-ct-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pm-ct-title { font-size: 0.82rem; font-weight: 700; color: var(--clr-text); }
.pm-ct-qty   { font-size: 0.75rem; color: var(--clr-muted); font-weight: 600; }

/* Barra progreso combo */
.pm-progress { display: flex; flex-direction: column; gap: 0.3rem; }
.pm-progress__bar {
  height: 6px;
  background: var(--clr-border);
  border-radius: 999px;
  overflow: hidden;
}
.pm-progress__fill {
  height: 100%;
  background: var(--clr-primary);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.pm-progress__fill--done { background: #2ecc71; }
.pm-progress__label { font-size: 0.75rem; color: var(--clr-muted); }
.pm-combo-ok { color: #2ecc71; font-weight: 700; }

/* Lista de ítems */
.pm-ct-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 110px;
  overflow-y: auto;
}
.pm-ct-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  gap: 0.5rem;
}
.pm-ct-item__name { color: var(--clr-muted); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-ct-item__prices { display: flex; gap: 0.4rem; align-items: center; flex-shrink: 0; }
.pm-ct-item__orig { color: var(--clr-muted); text-decoration: line-through; font-size: 0.72rem; }
.pm-ct-item__eff  { font-weight: 700; color: var(--clr-text); }

/* Resumen totales */
.pm-ct-summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid var(--clr-border);
  padding-top: 0.5rem;
}
.pm-ct-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--clr-muted);
}
.pm-ct-row--discount { color: #2ecc71; font-weight: 600; }
.pm-ct-row--total    { font-size: 0.95rem; font-weight: 800; color: var(--clr-text); margin-top: 0.15rem; }
.pm-ct-row--muted    { color: var(--clr-muted); font-style: italic; font-size: 0.75rem; }

/* Botón confirmar promo */
.pm-confirm-btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: opacity 0.15s;
}
.pm-confirm-btn:hover { opacity: 0.88; }

/* Grupos de promo en el carrito */
.cart-promo-group {
  margin: 0.5rem 0;
  border: 1px solid rgba(233,69,96,0.25);
  border-radius: 10px;
  overflow: hidden;
}
.cart-promo-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.9rem;
  background: rgba(233,69,96,0.1);
}
.cart-promo-group__toggle {
  cursor: pointer;
  user-select: none;
}
.cart-promo-group__header:has(.cart-promo-group__toggle:hover) {
  background: rgba(233,69,96,0.18);
}
.cart-promo-group__check-wrap {
  display: flex;
  align-items: center;
  padding: 0 0.3rem 0 0;
  cursor: pointer;
}
.cart-promo-group__check {
  width: 15px;
  height: 15px;
  accent-color: var(--clr-primary);
  cursor: pointer;
}
.cart-promo-group__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-promo-group__tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: 0.02em;
}
.cart-promo-group__total {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2ecc71;
}
.cart-promo-group__arrow {
  font-size: 0.65rem;
  color: var(--clr-muted);
  transition: transform 0.2s;
}
.cart-promo-group__items {
  overflow: hidden;
  transition: max-height 0.25s ease;
  max-height: 1000px;
}
.cart-promo-group--collapsed .cart-promo-group__items {
  max-height: 0;
}

/* Tap hint en la card */
.offer-card__tap {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}
.offer-card { cursor: pointer; }

@media (max-width: 600px) {
  .pm-modal { max-height: 95vh; border-radius: 12px 12px 0 0; }
  .pm-overlay { align-items: flex-end; padding: 0; }
}

/* ===========================
   CONTACTO
=========================== */
.contact-card-wrapper {
  max-width: 480px;
  margin: 2.5rem auto 5rem;
  padding: 0 1.25rem;
}
.contact-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  overflow: hidden;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--clr-border);
}
.contact-info-item__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.contact-info-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.contact-info-item__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-muted);
}
.contact-info-item__value {
  font-size: 0.9rem;
  color: var(--clr-text);
  font-weight: 500;
}

/* Formulario de contacto */
.contact-form {
  margin-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
  padding-top: 1.5rem;
}
.contact-form__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 500px) { .contact-form__row { grid-template-columns: 1fr; } }
.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}
.contact-form__group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-muted);
}
.contact-form__group input,
.contact-form__group textarea {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  color: var(--clr-text);
  font-size: 0.88rem;
  font-family: inherit;
  padding: 0.55rem 0.8rem;
  resize: vertical;
  transition: border-color 0.15s;
}
.contact-form__group input:focus,
.contact-form__group textarea:focus {
  outline: none;
  border-color: #25D366;
}

/* Botón WhatsApp */
.contact-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, #1ebe57 0%, #25D366 100%);
  text-decoration: none;
  transition: filter 0.18s;
  cursor: pointer;
}
.contact-whatsapp:hover { filter: brightness(1.08); }
.contact-whatsapp__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.contact-whatsapp__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.contact-whatsapp__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.contact-whatsapp__number {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.contact-whatsapp__arrow {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
  transition: transform 0.18s;
}
.contact-whatsapp:hover .contact-whatsapp__arrow { transform: translateX(4px); }

.contact-wrapper {
  max-width: 860px;
  margin: 2.5rem auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form__group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text);
}

.contact-optional {
  font-weight: 400;
  color: var(--clr-muted);
  font-size: 0.82rem;
}

.contact-form__group input,
.contact-form__group textarea {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  transition: border-color var(--transition);
  resize: vertical;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
}

.contact-form__group .field-error {
  font-size: 0.8rem;
  color: var(--clr-primary);
  min-height: 1rem;
}

.contact-form__global {
  font-size: 0.85rem;
  color: var(--clr-primary);
}

.contact-form__submit {
  align-self: flex-start;
  padding: 0.7rem 2rem;
  font-size: 0.95rem;
}

.contact-form__success {
  color: #2ecc71;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-info {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-info li {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.5;
}

/* ===========================
   CARRITO DRAWER
=========================== */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100dvh;
  background: var(--clr-surface);
  border-left: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--clr-border);
  flex-shrink: 0;
}
.cart-drawer__header h2 {
  font-size: 1.1rem;
  font-weight: 700;
}
.cart-drawer__close {
  background: none;
  border: none;
  color: var(--clr-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.cart-drawer__close:hover { color: var(--clr-text); background: var(--clr-border); }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Estado vacío */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 100%;
  color: var(--clr-muted);
  text-align: center;
  padding: 2rem 0;
}
.cart-empty__icon { font-size: 3rem; }
.cart-empty p { font-size: 1rem; font-weight: 600; color: var(--clr-text); }
.cart-empty span { font-size: 0.85rem; }

/* Select-all row */
.cart-select-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 0.25rem;
}
.cart-select-all__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text);
  cursor: pointer;
  user-select: none;
}
.cart-select-all__label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--clr-primary);
  cursor: pointer;
}
.cart-select-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cart-select-count {
  font-size: 0.75rem;
  color: var(--clr-muted);
}
.cart-delete-selected {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-primary);
  background: rgba(233,69,96,0.08);
  border: 1px solid rgba(233,69,96,0.3);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.cart-delete-selected:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

/* Item del carrito */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}
.cart-item--unselected {
  opacity: 0.45;
}

.cart-item__check {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  align-self: center;
  cursor: pointer;
}
.cart-item__check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--clr-primary);
  cursor: pointer;
}

.cart-item__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--clr-border);
}
.cart-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cart-item__header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}
.cart-item__name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.cart-item__name--link {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--clr-border);
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.cart-item__name--link:hover { color: var(--clr-primary); text-decoration-color: var(--clr-primary); }
.cart-item__size {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--clr-border);
  color: var(--clr-text);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  flex-shrink: 0;
}
.cart-item__disc-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  flex-shrink: 0;
}
.cart-item__prices {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.cart-item__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-primary);
}
.cart-item__original {
  font-size: 0.78rem;
  color: var(--clr-muted);
  text-decoration: line-through;
}
.cart-item__disc {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
}

/* Controles de cantidad */
.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.15rem;
}
.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background var(--transition);
}
.cart-qty-btn:hover { background: var(--clr-border); }
.cart-qty {
  min-width: 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}
.cart-item__subtotal {
  font-size: 0.82rem;
  color: var(--clr-muted);
  margin-left: auto;
}

/* Botón quitar */
.cart-item__remove {
  background: none;
  border: none;
  color: var(--clr-muted);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 4px;
  flex-shrink: 0;
  align-self: flex-start;
  transition: color var(--transition);
}
.cart-item__remove:hover { color: var(--clr-primary); }

/* Footer del carrito */
.cart-drawer__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}
.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-summary__label {
  font-size: 0.95rem;
  color: var(--clr-muted);
}
.cart-summary__value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-text);
}
.cart-checkout {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 700;
}
.cart-checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* ===========================
   TOAST
=========================== */
.toast {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-0.5rem);
  opacity: 0;
  visibility: hidden;
  background: var(--clr-surface);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  border-left: 3px solid var(--clr-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  white-space: nowrap;
  z-index: 300;
  box-shadow: var(--shadow);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===========================
   FILTROS MÓVIL — FAB + CAJÓN
=========================== */
.filter-fab {
  display: none; /* solo visible en móvil vía JS */
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: 999px;
  color: var(--clr-text);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.filter-fab:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
.filter-fab__icon { font-size: 1rem; }
.filter-fab__badge {
  background: var(--clr-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.05rem 0.45rem;
  margin-left: 0.1rem;
}

.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 140;
}
.filter-overlay.open { display: block; }

/* En móvil el sidebar se convierte en cajón desde abajo */
@media (max-width: 768px) {
  .seasons-sidebar {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto !important;
    width: 100% !important;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--clr-surface);
    border-top: 2px solid var(--clr-border);
    border-radius: 20px 20px 0 0;
    z-index: 150;
    padding: 1rem 1.25rem 2rem;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .filter-drawer-close {
    position: sticky;
    top: 0;
    align-self: flex-end;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    color: var(--clr-muted);
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    z-index: 1;
  }
  .filter-drawer-close:hover { color: var(--clr-text); border-color: var(--clr-text); }

  .seasons-sidebar::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--clr-border);
    border-radius: 2px;
    margin: 0 auto 1.25rem;
  }
  .seasons-sidebar.filter-drawer-open {
    transform: translateY(0);
  }
  .filter-group {
    flex: none !important;
    min-width: 0 !important;
    width: 100%;
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .filter-group:last-of-type {
    border-bottom: none;
  }
  .filter-group__title {
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
  }
  .filter-option {
    padding: 0.45rem 0;
    font-size: 0.9rem;
  }
  .filter-clear {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.65rem;
    font-size: 0.9rem;
  }
  /* Las sidebar-tags-list en móvil: chips en fila */
  .sidebar-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
}

/* ===========================
   HAMBURGER + MOBILE NAV
=========================== */
.btn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}
.btn-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: background 0.15s;
}
.btn-hamburger:hover span { background: var(--clr-primary); }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 150;
}
.mobile-nav-overlay.open { display: block; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(280px, 85vw);
  height: 100%;
  background: var(--clr-surface);
  border-left: 1px solid var(--clr-border);
  z-index: 160;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  gap: 0.25rem;
  transition: right 0.28s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { right: 0; }

.mobile-nav__close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--clr-muted);
  font-size: 1.2rem;
  cursor: pointer;
  margin-bottom: 1rem;
  line-height: 1;
}
.mobile-nav__link {
  color: var(--clr-text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--clr-border);
  transition: color 0.15s;
}
.mobile-nav__link:hover { color: var(--clr-primary); }

.mobile-nav__theme {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-muted);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  width: 100%;
}
.mobile-nav__theme:hover { color: var(--clr-text); border-color: var(--clr-primary); }

/* ── Light mode hero override ── */
body.light .hero {
  background: linear-gradient(135deg, #e6e6f2 0%, #f0f0f8 50%, #ede6f5 100%);
}
body.light .hero::before {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(233,69,96,0.07) 0%, transparent 70%);
}

/* ===========================
   RESPONSIVE — 768px (tablet)
=========================== */
@media (max-width: 768px) {
  /* Header */
  .header__inner { height: 56px; padding: 0 1rem; gap: 0.75rem; }
  .logo { font-size: 1.2rem; }
  .nav { display: none; }
  .btn-hamburger { display: flex; }
  .user-name { display: none; }
  .btn-user { gap: 0; padding: 0.3rem; }

  /* Hero */
  .hero { padding: 4rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
  .hero > .hero__content > p { font-size: 1rem; margin-bottom: 1.5rem; }

  /* Home layout */
  .home-layout { flex-direction: column; gap: 1.25rem; }
  .home-offers-sidebar { width: 100%; position: static; }

  /* Product / season grids */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .seasons-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
  /* Espacio inferior para que el FAB no tape la última fila */
  .home-main, .offers-main, .seasons-catalog { padding-bottom: 5rem; }

  /* Product card — tamaño uniforme en móvil */
  .product-card { padding: 0; display: flex; flex-direction: column; height: 220px; }
  .product-card h3 { font-size: 0.9rem; }
  .product-card .product-card__body { padding: 0.5rem 0.6rem 0.6rem; flex: 1; overflow: hidden; }
  .product-card__image { flex: 0 0 140px; height: 140px; aspect-ratio: unset; }

  /* Seasons view — tarjetas de temporada en grid 2×2, tamaño igual */
  .seasons-header { display: none; }
  .seasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 0.75rem 1rem 0.5rem;
  }
  .season-card {
    width: 100%;
    padding: 0.9rem 0.5rem 0.75rem;
    border-radius: 12px;
    gap: 0.3rem;
    min-height: 90px;
    justify-content: center;
  }
  .season-card__icon { font-size: 1.75rem; margin-bottom: 0; }
  .season-card h3 { font-size: 0.78rem; font-weight: 700; }
  .season-card p  { display: none; }
  .season-card__count { font-size: 0.62rem; padding: 0.1rem 0.4rem; margin-top: 0.1rem; }
  .seasons-catalog { padding: 0 0.75rem 5rem; gap: 0; }
  .seasons-catalog__grid { padding-top: 0.5rem; }

  /* Offers */
  .offers-layout { flex-direction: column; }
  .offers-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem; }
  .offers-promos-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 0; }

  /* Cart drawer */
  .cart-drawer { width: 100vw; }
  .cart-item__img { width: 52px; height: 52px; }

  /* Promo modal */
  .pm-modal { width: 100%; max-width: 100%; min-height: 60vh; border-radius: 16px 16px 0 0; position: fixed; bottom: 0; top: auto; transform: none; left: 0; right: 0; }
  .pm-overlay { align-items: flex-end; }

  /* Product modal */
  .modal-overlay { align-items: flex-end; }
  .modal { border-radius: 16px 16px 0 0; max-height: 90vh; overflow-y: auto; }

  /* Auth modal */
  .auth-modal-overlay { align-items: flex-end; padding: 0; }
  .auth-modal { border-radius: 16px 16px 0 0; max-width: 100%; }

  /* Contact */
  .contact-card-wrapper { padding: 1rem; }
  .contact-card { padding: 1.25rem; }
  .contact-form__row { grid-template-columns: 1fr; }

  /* Toast */
  .toast {
    white-space: normal;
    max-width: 260px;
    width: max-content;
    text-align: center;
    font-size: 0.82rem;
    padding: 0.6rem 1rem;
    top: auto;
    bottom: 5.5rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(0.5rem);
  }
  .toast.show { transform: translateX(-50%) translateY(0); }
}

/* ===========================
   RESPONSIVE — 480px (small phones)
=========================== */
@media (max-width: 480px) {
  /* Header */
  .header__inner { padding: 0 0.75rem; gap: 0.5rem; }
  .logo { font-size: 1.05rem; }

  /* Hero */
  .hero { padding: 3rem 1rem 2.5rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 300px; text-align: center; }

  /* Grids — 2 columns on very small screens */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  /* seasons-grid ya es grid 2×2, solo ajustamos tamaños para pantallas muy pequeñas */
  .season-card { padding: 0.7rem 0.4rem 0.6rem; min-height: 78px; }
  .season-card__icon { font-size: 1.5rem; }
  .season-card h3 { font-size: 0.7rem; }

  /* Product card — tamaño uniforme en móvil pequeño */
  .product-card { padding: 0; display: flex; flex-direction: column; height: 195px; }
  .product-card h3 { font-size: 0.78rem; }
  .product-card p { font-size: 0.72rem; }
  .product-card .product-card__body { padding: 0.4rem 0.5rem 0.5rem; flex: 1; overflow: hidden; }
  .product-card__image { flex: 0 0 120px; height: 120px; aspect-ratio: unset; }

  /* Offer cards */
  .offers-promos-grid { gap: 0.75rem; }

  /* Cart */
  .cart-item__controls { gap: 0.4rem; }
  .cart-item__subtotal { font-size: 0.8rem; }
  .cart-promo-group__header { padding: 0.35rem 0.65rem; }

  /* Modals — full screen */
  .pm-modal { min-height: 70vh; }
  .pm-modal .pm-body { padding: 0.75rem; }
  .modal { max-height: 95vh; }

  /* Contact */
  .contact-whatsapp { padding: 0.85rem 1rem; }
  .contact-whatsapp__label { font-size: 0.85rem; }
  .contact-whatsapp__number { font-size: 0.75rem; }

  /* Auth modal */
  .auth-modal { padding: 1.5rem 1.25rem 1rem; }

  /* Offers */
  .offers-sidebar { width: 100%; }
}

/* ===========================
   CONTACTO
=========================== */
.contact-wrapper {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.contact-form__group label {
  font-size: .875rem;
  color: var(--clr-muted);
  font-weight: 500;
}

.contact-optional {
  font-weight: 400;
  font-size: .8rem;
  color: var(--clr-muted);
}

.contact-form__group input,
.contact-form__group textarea {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  padding: .7rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  resize: vertical;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
}

.contact-form__submit {
  align-self: flex-start;
  padding: .75rem 2rem;
}

.contact-form__submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.contact-form__global {
  display: block;
}

.contact-form__success {
  color: #2ecc71;
  font-size: .95rem;
}

.contact-info {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info h3 {
  color: var(--clr-primary);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.contact-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.contact-info li {
  font-size: .95rem;
  color: var(--clr-muted);
  line-height: 1.5;
}

@media (max-width: 700px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}
