/* =====================================================
   nataliapessi - main.css
   Estetica minimalista inspirada en boutiques de autor
   ===================================================== */

/* Paleta Segunda Piel: lila / violeta / rosa empolvado sobre blanco y crema. */
:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #FDF7F4;
  --color-bg-soft: #F7EFF6;
  --color-text: #3B3142;
  --color-text-soft: #5A4E68;
  --color-muted: #8B7E99;
  --color-line: #EBDCEE;
  --color-line-strong: #D9C2DE;
  --color-accent: #9A6CA7;
  --color-gold: #764D8E;
  --color-danger: #B00020;
  --color-success: #0F5132;

  --font-serif: 'Cormorant Garamond', 'Bodoni Moda', 'Times New Roman', serif;
  --font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --max-w: 1280px;
  --max-w-narrow: 760px;
  --radius: 2px;
  --transition: 0.22s ease;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: 0.005em;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--max-w-narrow); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
  transition: min-height .2s ease, box-shadow .2s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  transition: min-height .2s ease;
}
/* Sticky compacto: cuando scrolleas, el header se reduce y agrega sombra. */
.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
@media (max-width: 880px) {
  .site-header.is-scrolled .header-inner { min-height: 56px; }
  .site-header.is-scrolled .brand { font-size: 1.1rem; }
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.brand-text { font-weight: 500; white-space: nowrap; }
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
}
.main-nav a:hover { color: var(--color-text); }
.cart-link, .icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.icon-btn:hover { color: var(--color-accent); }
/* Carrito en el header: mas visible que un simple icono. */
.cart-link {
  width: auto;
  padding: 7px 14px 7px 11px;
  gap: 7px;
  border: 1.5px solid var(--color-line);
  border-radius: 22px;
  transition: all 0.15s;
  text-decoration: none;
}
.cart-link:hover { border-color: var(--color-text); background: var(--color-bg-soft); }
.cart-link.cart-link-active { border-color: var(--color-text); background: var(--color-text); color: var(--color-bg); }
.cart-link.cart-link-active:hover { background: #000; }
.cart-link-text { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 640px) { .cart-link-text { display: none; } .cart-link { padding: 7px 10px; } }
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: #b8202e;
  color: #fff;
  font-size: 0.72rem;
  border-radius: 999px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  font-weight: 700;
  margin-left: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.cart-link.cart-link-active .cart-count { background: #fff; color: #b8202e; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--color-text);
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  /* Logo en mobile: tamano adaptativo para que "NATALIA PESSI" entre en
     una sola linea aun en pantallas chicas (~360px). */
  .brand { font-size: clamp(0.95rem, 4vw, 1.25rem); flex: 1; text-align: center; min-width: 0; }
  .brand-text { display: inline-block; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-line);
    padding: 24px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav ul {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
}

/* ---------- Flash ---------- */
.flash {
  padding: 12px 0;
  font-size: 0.9rem;
}
.flash-success { background: #ECF1E8; color: var(--color-success); }
.flash-error { background: #F4E4E4; color: var(--color-danger); }
.flash-warning { background: #fef3c7; color: #92400e; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-slider, .hero-static, .hero-video-wrap {
  position: relative;
  height: clamp(440px, 70vh, 720px);
}
.hero-video-wrap,
.hero-photo-wrap {
  width: 100%;
  background: #4E3C68;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  min-height: 540px;
}
.hero-video,
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* Ken Burns: zoom-in lento + paneo sutil para que la foto del local no se vea estatica */
.hero-photo {
  transform-origin: center 40%;
  animation: hero-kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-kenburns {
  0%   { transform: scale(1.02) translate(0, 0); }
  50%  { transform: scale(1.10) translate(-1%, -1.5%); }
  100% { transform: scale(1.04) translate(1%, 0.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; transform: none; }
}
.hero-photo-wrap .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 760px;
  padding: 0 24px;
  animation: hero-rise 1.1s cubic-bezier(.22,.61,.36,1) both;
}
.hero-photo-wrap .hero-titulo { color: #fff; }
.hero-photo-wrap .hero-subtitulo { color: rgba(255,255,255,0.92); margin: 0 auto 1.5em; max-width: 540px; }
/* Overlay un poco mas fuerte abajo para que se lea el texto sobre la foto */
.hero-photo-wrap .hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.7) 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}
.hero-video-wrap .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 760px;
  padding: 0 24px;
  animation: hero-rise 1.1s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-video-wrap .hero-titulo { color: #fff; }
.hero-video-wrap .hero-subtitulo {
  color: rgba(255,255,255,0.92);
  margin: 0 auto 1.5em;
  max-width: 540px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-ctas .btn { margin-left: 0 !important; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--color-text);
}
.eyebrow-light {
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 12px;
}
.hero-credit {
  position: absolute;
  bottom: 12px;
  right: 16px;
  color: rgba(255,255,255,0.45);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  z-index: 3;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-video-wrap { background-image: linear-gradient(135deg, #6A4A7A, #4E3C68); }
  .hero-video-wrap .hero-content { animation: none; }
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: flex-end;
  padding: 60px 24px;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
}
.hero-static {
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
}
.hero-slide .hero-content { color: #fff; }
.hero-titulo {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  margin-bottom: 0.5em;
}
.hero-subtitulo {
  font-size: 1.1rem;
  margin-bottom: 1.5em;
  max-width: 540px;
}
.hero-slide .hero-subtitulo { margin: 0 auto 1.5em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn + .btn { margin-left: 12px; }
.btn-dark {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}
.btn-dark:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}
.btn-light {
  background: var(--color-bg-alt);
  color: var(--color-text);
}
.btn-light:hover { background: var(--color-bg); }
.btn-outline {
  background: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}
.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}
.btn-lg { padding: 18px 40px; }
.btn-small {
  padding: 8px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.btn-block {
  display: flex;
  width: 100%;
  margin-left: 0 !important;
  margin-top: 12px;
}
.link-btn {
  background: none; border: none;
  font-family: var(--font-sans);
  color: var(--color-muted);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.85rem;
  padding: 4px 8px;
}
.link-btn:hover { color: var(--color-text); }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--color-bg-soft); }
.section-ig { background: var(--color-bg-soft); }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--color-accent);
  margin: 16px auto 0;
}
.section-title-link a {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
  transition: color var(--transition);
}
.section-title-link a:hover {
  color: var(--color-accent);
  text-decoration: none;
}
.section-cta { text-align: center; margin-top: 40px; }
.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  margin-bottom: 12px;
}
.lead {
  font-size: 1.15rem;
  color: var(--color-text-soft);
  margin-bottom: 24px;
}
.text-center { text-align: center; }
.muted { color: var(--color-muted); }
.small { font-size: 0.85rem; }
.mt-section { margin-top: 80px; }
.mt-1 { margin-top: 16px; }

/* ---------- Cat grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.cat-card {
  position: relative;
  display: block;
  background: var(--color-bg-alt);
  overflow: hidden;
  transition: transform var(--transition);
  border-radius: var(--radius);
}
.cat-card:hover { transform: translateY(-2px); }
.cat-card-img {
  aspect-ratio: 1/1;
  background-color: var(--color-bg-soft);
  background-size: cover;
  background-position: center;
}
.cat-card-placeholder {
  background: var(--color-bg-soft);
}
.cat-card-body { padding: 24px; text-align: center; }
.cat-card-body h3 {
  font-size: 1.5rem;
  margin: 0;
  transition: color 0.22s ease;
  position: relative;
  display: inline-block;
}
.cat-card-body h3::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--color-text);
  margin: 6px auto 0;
  transition: width 0.3s cubic-bezier(.22,.61,.36,1);
}
.cat-card:hover .cat-card-body h3::after { width: 36px; }
.cat-card-cta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
  font-weight: 500;
}

/* ---------- Product grid + card ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
/* Mobile: forzar 2 productos a lo ancho. */
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-grid .product-card h3 { font-size: 0.95rem; }
  .product-grid .product-card .price { font-size: 0.95rem; }
}
/* Cuando hay pocos productos, queda centrado en vez de pegado a la izquierda */
.product-grid-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.product-grid-centered .product-card {
  flex: 0 1 240px;
  max-width: 280px;
}
@media (max-width: 600px) {
  .product-grid-centered { gap: 16px; }
  .product-grid-centered .product-card { flex: 0 1 calc(50% - 8px); max-width: calc(50% - 8px); }
}
.product-card {
  position: relative;
  background: transparent;
}
.product-card-img {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  background: var(--color-bg-alt);
  overflow: hidden;
  border-radius: var(--radius);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body { padding: 16px 4px; }
.product-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  margin: 0 0 6px;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 6px;
  font-weight: 500;
}
.product-price {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}
.badge-nuevo {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  z-index: 2;
}
.badge {
  display: block;
  padding: 4px 12px;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--radius);
}
.badge-new {
  background: var(--color-text);
  color: var(--color-bg);
}
.badge-discount {
  background: #8B2A2A;
  color: #fff;
}
.badge.inline {
  margin-left: 12px;
  vertical-align: middle;
}
.badge-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.28);
  color: transparent;
  font-size: 0;
  z-index: 1;
}
.badge-overlay::before {
  content: 'AGOTADO';
  background: rgba(31, 31, 28, 0.92);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 2px;
  white-space: nowrap;
  z-index: 1;
}
.product-card.is-sold-out .product-card-img img { opacity: 0.6; }
.price-compare-sm {
  color: var(--color-muted);
  text-decoration: line-through;
  margin-right: 8px;
  font-size: 0.85rem;
  font-weight: 400;
}
.price-final { color: #8B2A2A; }

.stock-alert {
  padding: 14px 18px;
  background: #F4E4E4;
  color: #6B2020;
  border-left: 3px solid #8B2A2A;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.stock-alert strong { display: block; margin-bottom: 4px; }
.stock-alert-vendido {
  background: #4E3C68;
  color: #FDF7F4;
  border-left-color: #B79A6A;
}
.stock-alert-vendido strong { color: #B79A6A; letter-spacing: 0.04em; }

.color-swatches {
  display: flex;
  gap: 8px;
  margin: -8px 0 16px;
}
.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  box-shadow: inset 0 0 0 2px var(--color-bg-alt);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-text); }
.breadcrumb .current { color: var(--color-text); }

.page-header { text-align: center; margin-bottom: 48px; }
.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.page-sub {
  color: var(--color-text-soft);
  max-width: 640px;
  margin: 0 auto;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  padding: 8px 18px;
  border: 1px solid var(--color-line);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
  background: transparent;
  border-radius: 999px;
}
.pill:hover { border-color: var(--color-text); }
.pill.is-active {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}
.sort-form select {
  padding: 10px 12px;
  border: 1px solid var(--color-line);
  background: var(--color-bg-alt);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-muted);
}
.empty-state p { margin-bottom: 24px; }

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
}
.gallery-main {
  position: relative;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  touch-action: pan-y;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .2s ease;
}
.gallery-main.is-swiping img { opacity: .7; }
/* Flechas navegacion galeria */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.85);
  color: var(--color-text);
  border: 1px solid rgba(31,31,28,0.1);
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.gallery-main:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover { background: #fff; }
.gallery-arrow-prev { left: 12px; }
.gallery-arrow-next { right: 12px; }
@media (max-width: 880px) {
  .gallery-arrow { opacity: 1; width: 38px; height: 38px; background: rgba(255,255,255,0.92); }
  .gallery-arrow-prev { left: 8px; }
  .gallery-arrow-next { right: 8px; }
}
.gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(31,31,28,0.7);
  color: #fff;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.04em;
  z-index: 2;
  pointer-events: none;
}

/* ---------- Boton "Agregar" en cards (quick add) ---------- */
.btn-card-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  border-radius: 2px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  width: 100%;
}
.btn-card-add:hover { background: var(--color-text); color: #fff; }
.btn-card-add[disabled] { opacity: 0.6; cursor: wait; }
@media (max-width: 600px) {
  .btn-card-add { font-size: 0.7rem; padding: 7px 8px; }
}

/* ---------- Botón corazón en PDP (ficha producto) ---------- */
.pdp-secondary-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pdp-secondary-actions .btn { flex: 1 1 auto; }
.btn-fav-pdp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.btn-fav-pdp.is-active {
  color: #c0392b;
  border-color: #c0392b;
}
.btn-fav-pdp.is-active svg { fill: currentColor; }
.btn-fav-pdp.is-bumping { animation: favBump .35s ease; }

/* ---------- Botón corazón en sticky-buy mobile ---------- */
@media (max-width: 880px) {
  .sticky-buy-fav {
    flex: none;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 50%;
    cursor: pointer;
    color: #4E3C68;
    transition: color .15s ease, border-color .15s ease;
    padding: 0;
  }
  .sticky-buy-fav.is-active { color: #c0392b; border-color: #c0392b; }
  .sticky-buy-fav.is-active svg { fill: currentColor; }
  .sticky-buy-fav.is-bumping { animation: favBump .35s ease; }
}
@media (min-width: 881px) {
  .sticky-buy-fav { display: none; }
}

/* ---------- Botón corazón en cards (wishlist) ---------- */
.product-card { position: relative; }
.card-fav {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  color: #4E3C68;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background .15s ease, transform .15s ease;
}
.card-fav:hover { background: #fff; transform: scale(1.08); }
.card-fav.is-active { color: #c0392b; }
.card-fav.is-active svg { fill: currentColor; }
.card-fav.is-bumping { animation: favBump .35s ease; }
@keyframes favBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Counter favoritos en header */
.header-fav-link { position: relative; }
.fav-count {
  position: absolute;
  top: -2px; right: -2px;
  background: #c0392b;
  color: #fff;
  font-size: 0.65rem;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  font-weight: 600;
}

/* ---------- Carrusel "Vistos recientemente" ---------- */
.recently-viewed { margin: 48px auto 32px; text-align: center; }
.recently-viewed-title { font-family: var(--font-serif); font-size: 1.3rem; margin: 0 0 16px; }
.recently-viewed-wrap { position: relative; }
.recently-viewed-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  text-align: left;
  scrollbar-width: none;            /* Firefox: barra oculta, se navega con flechas/swipe */
}
.recently-viewed-scroller::-webkit-scrollbar { display: none; } /* Chrome/Safari */
/* Cuando entran todos sin scroll, centramos en vez de alinear a la izquierda */
.recently-viewed-wrap.is-centered .recently-viewed-scroller { justify-content: center; }
.recently-viewed-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
/* Flechas de navegacion: solo en pantallas grandes (en celular se desliza con el dedo) */
.recently-viewed-nav {
  display: none;
  position: absolute;
  top: 90px;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border, #ece3dd);
  background: #fff;
  color: var(--color-text, #3B3142);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.14);
  transition: background .15s ease, color .15s ease;
}
.recently-viewed-nav:hover { background: var(--color-bg-alt, #FDF7F4); color: var(--color-accent, #9A6CA7); }
.recently-viewed-nav-prev { left: -10px; }
.recently-viewed-nav-next { right: -10px; }
@media (min-width: 768px) {
  .recently-viewed-nav.is-visible { display: flex; }
}
.recently-viewed-card img {
  width: 100%; height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
}
.recently-viewed-card-name {
  font-size: 0.82rem;
  margin: 6px 0 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.recently-viewed-card-price {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
}

/* ---------- Lightbox para zoom de imagenes ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15,15,15,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(255,255,255,0.92);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #4E3C68;
}
body.has-lightbox-open { overflow: hidden; }

/* ---------- Acordeones detalles PDP ---------- */
.product-accordions { margin: 24px 0 12px; }
.acc-item {
  border-top: 1px solid var(--color-line);
  padding: 0;
}
.acc-item:last-child { border-bottom: 1px solid var(--color-line); }
.acc-summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}
.acc-summary::-webkit-details-marker { display: none; }
.acc-summary > svg { color: var(--color-text); flex: none; }
.acc-summary > span:not(.acc-arrow) { flex: 1; }
.acc-arrow {
  width: 10px; height: 10px;
  border-right: 2px solid var(--color-text);
  border-bottom: 2px solid var(--color-text);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-bottom: 4px;
}
.acc-item[open] .acc-arrow { transform: rotate(-135deg); margin-bottom: 0; margin-top: 4px; }
.acc-body { padding: 0 0 16px; font-size: 0.92rem; line-height: 1.55; color: var(--color-text); }
.acc-body p { margin: 0 0 8px; }
.acc-body a { color: var(--color-text); text-decoration: underline; }

/* ---------- Chips de filtros activos en catalogo ---------- */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 20px;
}
.active-filters-label { font-size: 0.8rem; color: var(--color-muted); margin-right: 4px; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  padding: 5px 10px;
  border-radius: 16px;
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--color-text);
  transition: background .15s ease;
}
.filter-chip:hover { background: var(--color-line); }
.filter-chip-x { font-weight: 700; opacity: 0.55; font-size: 0.95rem; line-height: 1; }
.filter-chip-clear {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-decoration: underline;
  margin-left: 4px;
}

/* ---------- Bloque de confianza al final de PDP ---------- */
.trust-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0 16px;
  padding: 18px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}
.trust-item { display: flex; gap: 10px; align-items: flex-start; }
.trust-item svg { flex: none; color: var(--color-text); margin-top: 2px; }
.trust-item strong { display: block; font-size: 0.88rem; margin-bottom: 2px; }
.trust-item .small { font-size: 0.75rem; line-height: 1.3; }
@media (max-width: 700px) {
  .trust-block { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
}

/* ---------- Sticky add-to-cart mobile (solo aparece cuando el CTA principal sale del viewport) ---------- */
.sticky-buy {
  display: none;
}
@media (max-width: 880px) {
  .sticky-buy {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid var(--color-line);
    box-shadow: 0 -4px 18px rgba(0,0,0,0.08);
    padding: 10px 14px;
    z-index: 90;
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .sticky-buy.is-visible { transform: translateY(0); }
  .sticky-buy[hidden] { display: none; }
  .sticky-buy-inner {
    display: flex; align-items: center; gap: 12px;
    max-width: 720px; margin: 0 auto;
  }
  .sticky-buy-info {
    display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0;
  }
  .sticky-buy-img {
    width: 44px; height: 44px; object-fit: cover; border-radius: 4px; flex: none;
  }
  .sticky-buy-text { min-width: 0; }
  .sticky-buy-name {
    margin: 0; font-size: 0.85rem; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .sticky-buy-price { margin: 2px 0 0; font-weight: 600; font-size: 0.95rem; }
  .sticky-buy-btn {
    flex: none; padding: 12px 22px; font-size: 0.85rem; letter-spacing: 0.06em;
  }
  /* deja espacio al footer para que no quede tapado por la barra */
  body.has-sticky-buy { padding-bottom: 72px; }
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.thumb {
  width: 70px; height: 70px;
  border: 1px solid var(--color-line);
  background: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--color-text); }

.product-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 8px 0 4px;
}
.product-subtitle {
  font-style: italic;
  color: var(--color-muted);
  margin-bottom: 16px;
}
.product-price-block { margin: 16px 0 24px; }
.price-main {
  font-size: 1.6rem;
  font-weight: 500;
}
.price-compare {
  color: var(--color-muted);
  text-decoration: line-through;
  margin-right: 12px;
  font-size: 1.1rem;
}
.product-desc-short {
  color: var(--color-text-soft);
  margin-bottom: 24px;
}
.product-medidas {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin: 0 0 22px;
  padding: 10px 14px;
  border-left: 2px solid var(--color-line);
  background: var(--color-bg-soft);
  line-height: 1.5;
}
.product-medidas .medidas-label {
  font-weight: 600;
  color: var(--color-text);
  margin-right: 6px;
}

/* Botones de compra en ficha de producto: dos acciones lado a lado */
.buy-actions { display: flex; gap: 10px; flex: 1; }
.buy-actions .btn { flex: 1; }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-text);
  transition: all 0.15s;
}
.btn-outline:hover { background: var(--color-text); color: var(--color-bg); }
@media (max-width: 480px) {
  .buy-actions { flex-direction: column; }
}

/* Mensaje de stock disponible debajo de la cantidad / item del carrito */
.stock-hint {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin: 6px 0 0;
  line-height: 1.4;
  min-height: 1em;
}
.stock-hint.is-low {
  color: #b8540c;
  font-weight: 500;
}
.stock-hint.is-error {
  color: #b8202e;
  font-weight: 500;
}

.cuotas-line {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin: 0 0 12px;
  padding: 12px 16px;
  background: var(--color-bg-soft);
  border-left: 3px solid #009EE3;
  line-height: 1.5;
}
.cuotas-line svg { color: #009EE3; flex-shrink: 0; }
.cuotas-line strong { color: var(--color-text); font-weight: 600; }

.envio-line {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin: 0 0 22px;
  padding: 12px 16px;
  background: var(--color-bg-soft);
  border-left: 3px solid var(--color-accent);
  line-height: 1.5;
}
.envio-line svg { color: var(--color-accent); flex-shrink: 0; }
.envio-line strong { color: var(--color-text); font-weight: 600; }
.envio-line-ok { border-left-color: #0F5132; background: #ECF1E8; color: #0F5132; }
.envio-line-ok svg { color: #0F5132; }
.envio-line-ok strong { color: #0F5132; }

.cart-envio-progress {
  margin: 18px 0;
  padding: 14px 18px;
  background: var(--color-bg-soft);
  border-left: 3px solid var(--color-accent);
  font-size: 0.9rem;
  color: var(--color-text-soft);
  line-height: 1.5;
}
.cart-envio-progress.is-free { background: #ECF1E8; border-left-color: #0F5132; color: #0F5132; }
.cart-envio-progress strong { color: var(--color-text); }
.cart-envio-progress.is-free strong { color: #0F5132; }
.cart-envio-bar {
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.cart-envio-bar-fill {
  height: 100%;
  background: var(--color-accent);
  transition: width 0.4s ease;
}
.cart-envio-progress.is-free .cart-envio-bar-fill { background: #0F5132; }

.medios-pago {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}
.medios-titulo {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  margin: 0 0 6px;
  font-weight: 500;
}
.medios-sub {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  margin: 0 0 14px;
  line-height: 1.5;
}
.medios-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.medios-logos img {
  height: 28px;
  width: auto;
  display: block;
  transition: opacity 0.18s ease;
}
.medios-logos img:hover { opacity: 0.75; }
.medios-pago.is-compact .medios-logos { justify-content: center; }

/* Medios de pago debajo del boton de checkout */
.checkout-medios {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
  text-align: center;
}
.checkout-medios .medios-logos {
  justify-content: center;
  margin-bottom: 10px;
}
.checkout-medios-sub {
  margin: 8px 0 0;
  font-size: 0.78rem;
  text-align: center;
}
.footer-medios {
  padding: 24px 0 8px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 16px;
}
.site-footer .medios-pago { border: none; margin: 0; padding: 0; }
.site-footer .medios-logos img { opacity: 0.92; }
/* Opciones de pago seleccionables (PDP + carrito) */
.pago-opciones { margin: 12px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.pago-opciones-tit {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: #666; margin: 0 0 4px;
}
.pago-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; cursor: pointer;
  border: 1.5px solid #e5e5e2; border-radius: 6px;
  background: #fff; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.pago-opt:hover { border-color: #4E3C68; background: #fafaf9; }
.pago-opt.is-selected {
  border-color: #4E3C68; border-width: 2px;
  padding: 13px 15px; /* compensar el extra del border */
  background: #fafaf9;
  box-shadow: 0 0 0 1px #4E3C68 inset;
}
.pago-opt input[type=radio] { display: none; }
.pago-opt-ico {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; color: #4E3C68;
}
.pago-opt.is-selected .pago-opt-ico { color: #4E3C68; }
.pago-opt-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pago-opt-nombre { font-size: 0.92rem; font-weight: 600; color: #4E3C68; }
.pago-opt-precio { font-size: 1.08rem; font-weight: 700; color: #4E3C68; }
.pago-opt-sub { font-size: 0.78rem; color: #666; margin-top: 2px; }
/* Carrito: selector mas compacto que en PDP */
.cart-pago-selector { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #e5e5e2; }
.cart-pago-selector .pago-opt { padding: 10px 12px; gap: 10px; }
.cart-pago-selector .pago-opt.is-selected { padding: 9px 11px; }
.cart-pago-selector .pago-opt-ico { width: 30px; height: 30px; }
.cart-pago-selector .pago-opt-nombre { font-size: 0.85rem; }

/* Caja informativa "Efectivo en el local" — NO clickable, alineada con los cuadros de pago de arriba */
.pago-efectivo-info {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fafaf9;
  border: 1.5px solid #e5e5e2; /* mismo borde y radius que .pago-opt para que queden alineados */
  border-radius: 6px;
  padding: 14px 16px;
  margin: 8px 0 20px; /* mismo gap vertical que .pago-opciones */
}
.pago-efectivo-info .pago-efectivo-ico {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; color: #6b6a64; margin: 0; /* alinear con .pago-opt-ico */
}
.pago-efectivo-info .pago-efectivo-body { flex: 1; }
.pago-efectivo-info strong { font-size: 0.92rem; color: #4E3C68; display: block; margin-bottom: 4px; font-weight: 600; }
.pago-efectivo-info p { font-size: 0.85rem; color: #57534e; margin: 3px 0; line-height: 1.45; }
.pago-efectivo-info .muted { color: #78716c; }
.btn-wa-local {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff !important;
  padding: 8px 14px; border-radius: 6px; text-decoration: none;
  font-weight: 600; font-size: 0.88rem; margin-top: 6px;
}
.btn-wa-local:hover { background: #1ebe57; color: #fff !important; }
.btn-wa-local svg { flex: none; }

/* === Pantalla de instrucciones de transferencia === */
.transf-countdown {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff8e1; border: 1px solid #e0a800; border-radius: 6px;
  padding: 12px 16px; margin: 18px 0;
}
.transf-countdown.is-vencido { background: #fee2e2; border-color: #ef4444; }
.transf-countdown-label { font-size: 0.85rem; color: #5a4a0a; }
.transf-countdown-value { font-family: 'Menlo','Consolas',monospace; font-size: 1.4rem; color: #5a4a0a; font-weight: 700; }
.transf-countdown.is-vencido .transf-countdown-value { color: #b91c1c; }
.transf-vence-fecha {
  margin: -8px 0 18px;
  font-size: 0.88rem;
  color: #5a4a0a;
  line-height: 1.4;
}

.transf-monto {
  background: #4E3C68; color: #fff; border-radius: 6px;
  padding: 18px 22px; margin: 22px 0; text-align: center;
}
.transf-monto span { display: block; font-size: 0.78rem; opacity: .7; text-transform: uppercase; letter-spacing: 0.08em; }
.transf-monto strong { font-size: 2rem; font-weight: 700; display: block; margin-top: 4px; }

.transf-datos {
  background: #fafaf9; border: 1.5px solid #4E3C68;
  border-radius: 6px; padding: 18px 22px; margin-bottom: 22px;
}
.transf-datos h3 { font-size: 1.1rem; margin: 0 0 14px; }
.transf-dato-row {
  display: grid; grid-template-columns: 110px 1fr auto;
  align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #e5e5e2;
}
.transf-dato-row:last-child { border-bottom: 0; }
.transf-dato-label { font-size: 0.82rem; color: #666; text-transform: uppercase; letter-spacing: 0.05em; }
.transf-dato-value { font-family: 'Menlo','Consolas',monospace; font-size: 0.95rem; color: #4E3C68; word-break: break-all; }
.btn-copiar {
  background: #4E3C68; color: #fff; border: 0; border-radius: 4px;
  padding: 6px 12px; font-size: 0.78rem; cursor: pointer;
  transition: background .12s ease;
}
.btn-copiar:hover { background: #404040; }

.transf-guia { background: #f7f7f5; border-radius: 6px; padding: 18px 22px; margin-bottom: 22px; }
.transf-guia h3 { font-size: 1rem; margin: 0 0 10px; color: #4E3C68; }
.transf-guia-texto { font-size: 0.92rem; line-height: 1.6; color: #44403c; }

.transf-acciones { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.btn-wa-grande {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #25d366; color: #fff !important; padding: 14px 24px;
  border-radius: 6px; text-decoration: none; font-weight: 700;
  font-size: 1rem; width: 100%; box-sizing: border-box;
}
.btn-wa-grande:hover { background: #1ebe57; }

.transf-alert {
  border-radius: 6px; padding: 18px 22px; margin: 18px 0;
}
.transf-alert h2 { margin: 0 0 10px; font-size: 1.3rem; }
.transf-alert p { margin: 8px 0; line-height: 1.5; }
.transf-alert-green { background: #ecfdf5; border: 1.5px solid #10b981; color: #064e3b; }
.transf-alert-red { background: #fef2f2; border: 1.5px solid #ef4444; color: #7f1d1d; }
.transf-alert-yellow { background: #fffbeb; border: 1.5px solid #f59e0b; color: #78350f; }

/* Checkout: aviso del metodo elegido */
.checkout-metodo-info {
  background: #fafaf9; border: 1.5px solid #4E3C68; border-radius: 6px;
  padding: 12px 14px; margin-bottom: 18px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
}
.checkout-metodo-label { font-size: 0.78rem; color: #666; text-transform: uppercase; letter-spacing: 0.06em; }
.checkout-metodo-value { font-size: 0.95rem; color: #4E3C68; }
.checkout-metodo-sub { flex-basis: 100%; font-size: 0.82rem; color: #666; }
.checkout-metodo-edit { margin-left: auto; font-size: 0.82rem; color: #4E3C68; text-decoration: underline; }

.buy-form { margin-bottom: 24px; }
.field {
  display: block;
  margin-bottom: 16px;
}
.field-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-muted);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  background: var(--color-bg-alt);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-text);
}
/* === Selector de cantidad (stepper) — desktop + mobile ===
 * Stepper con botones - y + flanqueando el número, label "Cantidad" arriba.
 * 2026-05-24. */
.qty-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}
.qty-stepper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}
.qty-stepper__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding-left: 2px;
  font-weight: 500;
}
.qty-stepper__controls {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  overflow: hidden;
  transition: border-color var(--transition);
}
.qty-stepper__controls:focus-within {
  border-color: var(--color-text);
}
.qty-stepper__btn {
  background: transparent;
  border: 0;
  width: 44px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
  user-select: none;
  padding: 0;
  font-family: var(--font-sans);
  font-weight: 400;
}
.qty-stepper__btn:hover { background: var(--color-text); color: var(--color-bg); }
.qty-stepper__btn:active { background: var(--color-accent); color: var(--color-bg); }
.qty-stepper__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: transparent;
  color: var(--color-text);
}
.qty-stepper__input.qty-stepper__input {
  border: 0;
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
  border-radius: 0;
  background: transparent;
  width: 60px;
  padding: 14px 8px;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
  color: var(--color-text);
  font-family: var(--font-sans);
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-stepper__input:focus {
  outline: none;
  box-shadow: none;
}
/* Si solo hay 1 unidad disponible (o min === max): ocultar - y +. El número
 * queda como display, no editable. Activado por JS via clase .is-fixed. */
.qty-stepper__controls.is-fixed .qty-stepper__btn { display: none; }
.qty-stepper__controls.is-fixed .qty-stepper__input.qty-stepper__input {
  border-left: 0;
  border-right: 0;
  width: 100px;
  padding: 14px 20px;
  cursor: default;
}
.qty-row .buy-actions { display: flex; flex: 1; gap: 12px; }
.qty-row .buy-actions .btn { flex: 1; margin-left: 0; }

/* Mobile: stack vertical, stepper centrado y MÁS GRANDE para tocarlo cómodo */
@media (max-width: 480px) {
  .qty-row {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .qty-stepper { align-items: center; }
  .qty-stepper__label { padding-left: 0; }
  .qty-stepper__btn { width: 56px; font-size: 1.6rem; }
  .qty-stepper__input.qty-stepper__input {
    width: 72px;
    padding: 18px 8px;
    font-size: 1.25rem;
    font-weight: 600;
  }
}
.btn-wa {
  display: block;
  width: 100%;
  margin-top: 12px;
  margin-left: 0 !important;
}
.unavailable {
  padding: 16px;
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-muted);
  color: var(--color-text-soft);
  margin-bottom: 24px;
}
.product-desc-long {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
  color: var(--color-text-soft);
  line-height: 1.7;
}
.product-desc-long h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.link-ml {
  margin-top: 24px;
  font-size: 0.9rem;
}
.link-ml a { text-decoration: underline; color: var(--color-accent); }

/* ---------- Carrito ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) {
  .cart-layout { grid-template-columns: 1fr; gap: 32px; }
}
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}
@media (max-width: 600px) {
  .cart-item {
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto;
  }
  .cart-item-qty, .cart-item-del { grid-column: 2; justify-self: end; }
}
.cart-item-img {
  width: 80px; height: 80px;
  background: var(--color-bg);
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0 0 4px;
}
.cart-item-price { font-weight: 500; margin: 0; }
.cart-item-qty {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cart-item-qty input {
  width: 72px;
  padding: 8px;
  border: 1px solid var(--color-line);
  text-align: center;
  font-family: var(--font-sans);
}
/* Flechitas (spinner) del input number SIEMPRE visibles en el carrito.
   Por default los browsers las muestran solo en hover/focus; las forzamos
   a estar siempre presentes para que el cliente las vea sin descubrir. */
.cart-qty-input::-webkit-inner-spin-button,
.cart-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: inner-spin-button !important;
  opacity: 1 !important;
  margin: 0;
  width: 16px;
  cursor: pointer;
}
.cart-qty-input {
  -moz-appearance: number-input;
}
.cart-summary {
  background: var(--color-bg-alt);
  padding: 32px 24px;
  border-radius: var(--radius);
  position: sticky;
  top: 100px;
}
.summary-title {
  font-size: 1.2rem;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}
.summary-row.total {
  border-top: 1px solid var(--color-line);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 1.15rem;
}

/* ---------- Checkout ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) {
  .checkout-layout { grid-template-columns: 1fr; gap: 32px; }
}
.form-section {
  border: 1px solid var(--color-line);
  padding: 24px;
  margin-bottom: 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}
.form-section legend {
  padding: 0 8px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.checkout-summary {
  background: var(--color-bg-alt);
  padding: 32px 24px;
  position: sticky;
  top: 100px;
}
.summary-items {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.summary-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.9rem;
}
.summary-items li:last-child { border-bottom: 0; }
.checkout-summary hr {
  border: 0;
  border-top: 1px solid var(--color-line);
  margin: 12px 0;
}

.info-card {
  background: var(--color-bg-alt);
  padding: 24px;
  margin: 32px 0;
  text-align: left;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
.info-card p { margin: 6px 0; }

/* ---------- Contacto ---------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}
.contact-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
}
.contact-list li:last-child { border-bottom: 0; }

/* ---------- Legal docs ---------- */
.legal-doc { max-width: 760px; }
.legal-doc h2 {
  margin-top: 32px;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 8px;
}
.legal-doc h3 { margin-top: 24px; font-size: 1.15rem; }
.legal-doc ul, .legal-doc ol { line-height: 1.7; margin-bottom: 16px; padding-left: 24px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc p { line-height: 1.7; color: var(--color-text-soft); }
.legal-doc a { color: var(--color-accent); text-decoration: underline; }
.legal-doc a:hover { color: var(--color-text); }

.arr-form { background: var(--color-bg-alt); padding: 32px; border-radius: var(--radius); margin-top: 24px; }
.alert-success-box {
  background: #ECF1E8;
  border-left: 4px solid var(--color-success);
  padding: 24px;
  margin: 24px 0;
}
.alert-success-box h3 { margin-top: 0; color: var(--color-success); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 60px 0 24px;
  margin-top: 80px;
}
.site-footer a { color: var(--color-bg); opacity: 0.85; }
.site-footer a:hover { opacity: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 16px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 16px;
  color: var(--color-bg);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.footer-bottom {
  text-align: center;
  padding-top: 16px;
}
.site-footer .muted { color: rgba(247,244,239,0.6); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0F1F15;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  z-index: 90;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: visible;
}
.wa-fab svg {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: block;
}
.wa-fab:hover {
  transform: scale(1.08);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: 1;
  animation: wa-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: 0.55; }
  70%  { transform: scale(1.7);  opacity: 0; }
  100% { transform: scale(1.7);  opacity: 0; }
}
.wa-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--color-text);
}
.wa-fab:hover .wa-tooltip,
.wa-fab:focus-visible .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 600px) {
  .wa-tooltip { display: none; }
  .wa-fab { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-pulse { animation: none; opacity: 0.3; }
}

/* ---------- Search overlay ---------- */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 60;
}
.search-overlay.is-open {
  max-height: 75vh;
  overflow-y: auto;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-line);
}
.search-form-icon { color: var(--color-muted); flex-shrink: 0; }
.search-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-text);
  padding: 8px 0;
  outline: none;
}
.search-form input::placeholder { color: var(--color-muted); }
.search-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-muted);
  padding: 4px 12px;
  line-height: 1;
}
.search-close:hover { color: var(--color-text); }

.search-results {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 24px 24px;
}
.search-result-item {
  display: flex;
  gap: 16px;
  padding: 12px;
  text-decoration: none;
  color: var(--color-text);
  border-radius: 2px;
  align-items: center;
  transition: background 0.18s ease;
}
.search-result-item:hover { background: var(--color-bg); }
.search-result-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--color-bg);
}
.search-result-body { flex: 1; min-width: 0; }
.search-result-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  margin: 0 0 2px;
}
.search-result-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.search-result-price { font-size: 0.95rem; font-weight: 500; }
.search-result-price s { color: var(--color-muted); font-weight: 400; margin-right: 6px; }
.search-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--color-muted);
}
.search-empty .btn { margin-top: 12px; }
.search-loading {
  text-align: center;
  padding: 24px;
  color: var(--color-muted);
  font-size: 0.85rem;
}
.search-footer {
  text-align: center;
  padding: 12px;
  border-top: 1px solid var(--color-line);
  margin-top: 8px;
}
.search-footer a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

.search-form-page {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 560px;
}
.search-form-page input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--color-line);
  font-family: var(--font-sans);
  font-size: 1rem;
}
.search-form-page input:focus {
  outline: none;
  border-color: var(--color-text);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.product-card.reveal { transition-delay: 0.05s; }
.cat-card.reveal { transition-delay: 0.05s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Carrusel horizontal destacados ---------- */
.product-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
  margin: 0 -16px;
  scrollbar-width: thin;
}
.product-carousel::-webkit-scrollbar { height: 6px; }
.product-carousel::-webkit-scrollbar-track { background: transparent; }
.product-carousel::-webkit-scrollbar-thumb { background: var(--color-line); border-radius: 3px; }
.product-carousel > * {
  flex: 0 0 240px;
  scroll-snap-align: start;
}
@media (min-width: 720px) {
  .product-carousel > * { flex: 0 0 280px; }
}

/* ============================================================
   PDP: Swatches de color + botones de talle (clickeables)
   ============================================================ */
.swatches-clickeables {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px;
}
.swatch-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: #fff; border: 1.5px solid #e5e5e2;
  border-radius: 6px; cursor: pointer; font-size: 0.9rem; color: #4E3C68;
  transition: border-color .12s ease, background .12s ease;
}
.swatch-btn:hover { border-color: #4E3C68; }
.swatch-btn.is-selected {
  border-color: #4E3C68; border-width: 2px; padding: 7px 13px;
  background: #fafaf9; box-shadow: 0 0 0 1px #4E3C68 inset;
}
.swatch-dot {
  display: inline-block; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15); flex: none;
}
.swatch-label { font-weight: 500; }

.talles-clickeables {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px;
}
.talle-btn {
  min-width: 48px; padding: 10px 16px;
  background: #fff; border: 1.5px solid #e5e5e2; border-radius: 6px;
  cursor: pointer; font-size: 0.95rem; font-weight: 600; color: #4E3C68;
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  transition: border-color .12s ease, background .12s ease;
}
.talle-btn:hover:not(.is-disabled) { border-color: #4E3C68; }
.talle-btn.is-selected {
  border-color: #4E3C68; border-width: 2px; padding: 9px 15px;
  background: #fafaf9; box-shadow: 0 0 0 1px #4E3C68 inset;
}
.talle-btn.is-disabled {
  color: #9ca3af; background: #f5f5f4; cursor: not-allowed; opacity: 0.7;
}
/* El nombre del talle queda con leve line-through, pero el cartelito "sin stock"
   debajo se ve limpio y legible. */
.talle-btn.is-disabled > :first-child { text-decoration: line-through; text-decoration-color: #c4c4c4; }
.talle-sub { font-size: 0.7rem; color: #6b7280; font-weight: 500; text-decoration: none !important; display: block; margin-top: 2px; }

.variante-status {
  font-size: 0.82rem; color: #666; margin: 6px 0 0; min-height: 1em;
}
.variante-status.is-error { color: #b91c1c; font-weight: 600; }

/* Animación shake para resaltar bloque de variantes cuando falta seleccionar.
   Disparada desde JS agregando .vf-shake por 700ms al swatches/talles wrapper. */
@keyframes vf-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-7px); }
  30% { transform: translateX(7px); }
  45% { transform: translateX(-5px); }
  60% { transform: translateX(5px); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(2px); }
}
.vf-shake { animation: vf-shake 0.55s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
  .vf-shake { animation: none; }
}

/* ============================================================
   Catálogo: filtro lateral por color
   ============================================================ */
.cat-filtro-colores {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.cat-filtro-color {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid #d4d4d0; border-radius: 16px;
  font-size: 0.82rem; color: #4E3C68; text-decoration: none;
  background: #fff; transition: border-color .12s ease;
}
.cat-filtro-color:hover { border-color: #4E3C68; }
.cat-filtro-color.is-active {
  border-color: #4E3C68; border-width: 2px; padding: 5px 11px; font-weight: 600;
}
.cat-filtro-color .swatch-dot { width: 14px; height: 14px; }

/* ===== Marca Segunda Piel (logo en header) ===== */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-text { font-family: var(--font-serif); }

/* ===== Ajustes Segunda Piel: footer / header / hero ===== */
.site-footer { display: none !important; }
.brand-text { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; max-width: none !important; line-height: 1.05; text-align: left; }
.brand { min-width: 0; }
.hero-static { position: relative; }
.hero-bg-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(72%, 400px); opacity: 0.10; z-index: 0; pointer-events: none; user-select: none; }
.hero-static .hero-content { position: relative; z-index: 1; }

/* ===== Aleteo suave de la mariposa de fondo del hero ===== */
@keyframes sp-aleteo {
  0%   { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  25%  { transform: translate(-50%, -53%) scaleX(0.96) scaleY(1.03) rotate(-1deg); }
  50%  { transform: translate(-50%, -49%) scale(1.03) rotate(0.4deg); }
  75%  { transform: translate(-50%, -52%) scaleX(0.97) scaleY(1.02) rotate(1deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}
.hero-bg-logo { animation: sp-aleteo 7s ease-in-out infinite; transform-origin: center center; opacity: 0.13; }
@media (prefers-reduced-motion: reduce) { .hero-bg-logo { animation: none; } }

/* ===== Menú alineado: que ningún ítem (ej "SOBRE MI") se parta en dos líneas ===== */
.main-nav a { white-space: nowrap; }
.main-nav ul { align-items: center; gap: 20px; flex-wrap: nowrap; }

/* ===== Filtros de catálogo: color en círculos + talle, compacto y responsive ===== */
.cat-filtros { display: flex; flex-direction: column; gap: 14px; margin: 16px 0 26px; }
.cat-filtro-grupo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cat-filtro-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); min-width: 46px; }
.cat-filtro-swatches, .cat-filtro-talles { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cat-filtro-swatches .swatch-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; padding: 0; transition: all .18s ease; }
.cat-filtro-swatches .swatch-btn .swatch-dot { width: 22px; height: 22px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.cat-filtro-swatches .swatch-btn:hover { transform: scale(1.12); }
.cat-filtro-swatches .swatch-btn.is-active { border-color: var(--color-accent); }
.cat-filtro-swatches .swatch-todos { width: auto; height: 30px; border-radius: 16px; padding: 0 14px; font-size: 0.78rem; border: 1px solid var(--color-line-strong); color: var(--color-text-soft); }
.cat-filtro-swatches .swatch-todos.is-active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.cat-filtro-talles .talle-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 30px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--color-line-strong); font-size: 0.8rem; color: var(--color-text-soft); transition: all .18s ease; }
.cat-filtro-talles .talle-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.cat-filtro-talles .talle-btn.is-active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
@media (max-width: 640px) { .cat-filtro-label { min-width: 100%; margin-bottom: 2px; } }

/* ===== Barra de compra rápida (sticky) desactivada a pedido ===== */
.sticky-buy { display: none !important; }

/* ===== Cartel "NUEVO" desactivado a pedido ===== */
.badge-new { display: none !important; }

/* ===== Grilla de categorías: 3 por fila centrado (5 = 3 arriba + 2 centradas abajo) ===== */
.cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.cat-grid > .cat-card { flex: 0 1 calc((100% - 48px) / 3); max-width: calc((100% - 48px) / 3); }
@media (max-width: 900px) { .cat-grid > .cat-card { flex-basis: calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); } }
@media (max-width: 560px) { .cat-grid > .cat-card { flex-basis: 100%; max-width: 100%; } }
