/* ===== DAVA'S overrides — aplica el estilo de la card actual sobre /nueva/
   Se importa AL FINAL de styles.css para sobrescribir reglas anteriores. ===== */

/* ─────────── 1. FIX: foto principal de la FICHA ─────────── */
/* El contenedor .ficha .gallery .main debe tener altura definida
   para que el <img> con position:absolute se pueda mostrar */
.ficha .gallery .main {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  background: #fff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}
.ficha .gallery .main .ph {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.ficha .gallery .main .ph img {
  padding: 4% !important;
  object-fit: contain !important;
}

/* Thumbs más pequeños y limpios */
.ficha .gallery .thumbs .t {
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

/* ─────────── 2. PRODUCT CARDS — estilo del sitio actual ─────────── */
/* Ocultar código del producto sobre la foto */
.cat-prod .code,
.cat-prod .img .code {
  display: none !important;
}

/* Ocultar el botón "Ver ficha →" del hover (lo reemplazamos por card-cta abajo) */
.cat-prod .quick {
  display: none !important;
}

/* Card limpia con fondo blanco */
.cat-prod {
  background: #fff !important;
  border: 1px solid rgba(26,23,20,.08) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: box-shadow .3s, transform .3s !important;
  cursor: pointer !important;
}
.cat-prod:hover {
  box-shadow: 0 14px 40px rgba(26,23,20,.08) !important;
  transform: translateY(-2px) !important;
}

/* Imagen 1:1, contain con poco padding, hover scale */
.cat-prod .img {
  background: #fff !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}
.cat-prod .img .ph {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #fff !important;
}
.cat-prod .img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 3% !important;
  transition: transform .6s cubic-bezier(.2,.8,.2,1) !important;
  background: #fff !important;
}
.cat-prod:hover .img img {
  transform: scale(1.05) !important;
}

/* Cuerpo de la card */
.cat-prod .head {
  padding: 14px 16px 4px !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
}
.cat-prod h4 {
  font-family: var(--f-display, "Fraunces", serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  letter-spacing: -.02em !important;
  margin: 0 0 4px !important;
  color: var(--ink, #1A1714) !important;
  line-height: 1.1 !important;
}

/* Variante mono */
.cat-prod .variant {
  font-family: var(--f-mono, "JetBrains Mono", monospace) !important;
  font-size: 10px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  opacity: .5 !important;
  margin: 0 16px 8px 16px !important;
  padding: 0 !important;
}

/* Precio rojo en itálica grande */
.cat-prod .price {
  font-family: var(--f-display, "Fraunces", serif) !important;
  font-style: italic !important;
  font-weight: 300 !important;
  font-size: 22px !important;
  color: var(--accent, #C13B1F) !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

/* Fila inferior: ya no se usa (.row removido del JSX) — fallback por si queda referencia */
.cat-prod .row {
  display: none !important;
}

/* CTA "Ver pieza →" en hover sobre la card */
.cat-prod::after {
  content: "Ver pieza →";
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-family: var(--f-mono, monospace);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  color: var(--accent, #C13B1F);
  transition: opacity .3s;
  pointer-events: none;
}
.cat-prod {
  position: relative !important;
}
.cat-prod:hover::after {
  opacity: 1;
}

/* Botón corazón — contenido dentro del card en todo dispositivo */
.cat-prod .heart {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.95) !important;
  border: 1px solid rgba(26,23,20,.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 5 !important;
  transition: all .2s !important;
  /* Forzar que quede dentro del contenedor */
  max-width: calc(100% - 16px) !important;
  margin: 0 !important;
}
.cat-prod .img {
  position: relative !important;
  contain: layout !important;
}
.cat-prod .heart:hover {
  border-color: var(--accent, #C13B1F) !important;
}
.cat-prod .heart.is-on {
  background: var(--accent, #C13B1F) !important;
  border-color: var(--accent, #C13B1F) !important;
}

/* ─────── OCULTAR tags/badges sobre las fotos de producto ─────── */
/* Tanto en catálogo como en home — el producto se ve, no se lee */
.cat-prod .img .tag,
.cat-prod .img .tag-row,
.cat-prod .img .badge,
.cat-prod .img .ptag,
.cat-prod .img .code,
.cat-prod .img .quick,
.cat-prod .img > span,
.prod .prod-img .tag,
.prod .prod-img .tag-row,
.rail-4 .prod .prod-img .tag,
.rail-4 .prod .prod-img .tag-row {
  display: none !important;
}

/* Ocultar meta y label-bar bajo las cards de producto */
.prod .meta,
.prod .label-bar {
  display: none !important;
}

/* El corazón en las cards del home rail también debe quedar contenido */
.rail-4 .prod .heart,
.prod .prod-img .heart {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 5 !important;
}

/* Category cards: forzar fondo blanco en la foto, no negro */
.cats .cat .ph {
  background: #fff !important;
}
.cats .cat .ph img {
  background: #fff !important;
}

/* Mobile: 2 columnas */
@media (max-width: 720px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .cat-prod h4 { font-size: 15px !important; }
  .cat-prod .price { font-size: 17px !important; }
  .cat-prod .variant { font-size: 8px !important; margin: 0 12px 6px 12px !important; }
  .cat-prod .head { padding: 10px 12px 4px !important; }
  .cat-prod .row { padding: 0 12px 12px !important; }
  .cat-prod::after { font-size: 8px !important; bottom: 14px !important; right: 12px !important; }
}

/* ─────────── HAMBURGUESA + DRAWER MOBILE ─────────── */
/* Botón hamburguesa oculto por defecto (desktop) */
.hdr-burger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.hdr-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink, #1A1714);
  border-radius: 1px;
  transition: background .2s;
}
.hdr.on-dark .hdr-burger span { background: var(--bone, #F5F0E6); }

/* Drawer móvil */
.hdr-drawer-back {
  position: fixed;
  inset: 0;
  background: rgba(26,23,20,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 9000;
}
.hdr-drawer-back.is-open {
  opacity: 1;
  pointer-events: auto;
}
.hdr-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100vh;
  background: var(--bone, #F5F0E6);
  z-index: 9100;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(26,23,20,.15);
}
.hdr-drawer.is-open { transform: translateX(0); }
.hdr-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(26,23,20,.08);
}
.hdr-drawer-close {
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink, #1A1714);
  padding: 0;
  width: 36px;
  height: 36px;
}
.hdr-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  flex: 1;
}
.hdr-drawer-nav button {
  background: transparent;
  border: 0;
  text-align: left;
  padding: 16px 24px;
  font-family: var(--f-display, "Fraunces", serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink, #1A1714);
  cursor: pointer;
  border-bottom: 1px solid rgba(26,23,20,.05);
}
.hdr-drawer-nav button.is-active {
  font-style: italic;
  color: var(--accent, #C13B1F);
}
.hdr-drawer-foot {
  padding: 20px 24px;
  border-top: 1px solid rgba(26,23,20,.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hdr-drawer-foot .wa-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.hdr-drawer-wl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(26,23,20,.15);
  border-radius: 100px;
  padding: 10px 16px;
  font-family: var(--f-mono, monospace);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink, #1A1714);
}

/* Switch a móvil: oculta nav inline + WhatsApp pill, muestra hamburguesa */
@media (max-width: 860px) {
  .hdr-nav { display: none !important; }
  .hdr-burger { display: flex !important; }
  .hdr-right .wa-pill { display: none !important; }
  /* Asegura layout horizontal del header en mobile */
  .hdr {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    gap: 12px !important;
  }
  .hdr-mark {
    margin: 0 auto !important;
  }
  .hdr-mark img {
    height: 28px !important;
  }
  .hdr-burger {
    order: -1 !important;
  }
  .hdr-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .hdr-heart {
    width: 36px;
    height: 36px;
  }
}

/* ─────────── FOTOS DE CATEGORÍAS — forzar visibilidad de img ─────────── */
.cats .cat {
  position: relative;
  overflow: hidden;
}
.cats .cat .ph {
  background: #f5f0e6 !important;
}
.cats .cat .ph img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  padding: 0 !important;
  z-index: 1 !important;
  background: transparent !important;
}
/* Las labels decorativas y patrones quedan ENCIMA pero la foto es protagonista */
.cats .cat .ph::before,
.cats .cat .ph::after {
  display: none !important;
}
/* Gradiente sutil abajo solo para legibilidad del texto */
.cats .cat::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  z-index: 2;
  pointer-events: none;
}
.cats .cat .meta,
.cats .cat .num {
  z-index: 3 !important;
  position: relative;
}
.cats .cat .meta {
  color: var(--bone, #F5F0E6) !important;
}
.cats .cat .meta h3 {
  color: var(--bone, #F5F0E6) !important;
}
.cats .cat .meta .count {
  color: var(--bone, #F5F0E6) !important;
  opacity: .85 !important;
}

/* ─────────── FICHA: foto principal + fondo legible ─────────── */
/* El contenedor de la ficha debe tener fondo neutral, no rojo terracota */
.ficha {
  background: var(--bone, #F5F0E6) !important;
  color: var(--ink, #1A1714) !important;
}

/* Foto principal: forzar que la imagen se vea, no el cuadro de color */
.ficha .gallery .main {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  background: #fff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(26,23,20,.08);
}
.ficha .gallery .main .ph {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #fff !important;
}
.ficha .gallery .main .ph img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 4% !important;
  background: #fff !important;
  z-index: 1 !important;
}
/* Esconder labels/rings decorativos cuando la foto carga */
.ficha .gallery .main .ph .label,
.ficha .gallery .main .ph .ring {
  display: none !important;
}

/* Thumbs */
.ficha .gallery .thumbs {
  display: flex !important;
  gap: 8px !important;
  margin-top: 12px;
}
.ficha .gallery .thumbs .t {
  width: 60px !important;
  height: 60px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border: 1px solid rgba(26,23,20,.08) !important;
  background: #fff !important;
  padding: 0 !important;
}
.ficha .gallery .thumbs .t.is-on {
  border-color: var(--accent, #C13B1F) !important;
}
.ficha .gallery .thumbs .t .ph,
.ficha .gallery .thumbs .t .ph .label,
.ficha .gallery .thumbs .t .ph .ring {
  display: none !important;
}

/* Info de la ficha: texto legible sobre bone */
.ficha .info { color: var(--ink, #1A1714) !important; }
.ficha .info h1 { color: var(--ink, #1A1714) !important; }
.ficha .info .variante { color: var(--ink-soft, rgba(26,23,20,.7)) !important; }
.ficha .info .price { color: var(--accent, #C13B1F) !important; }
.ficha .info .desc { color: var(--ink-soft, rgba(26,23,20,.7)) !important; }
.ficha .info .specs .k { color: var(--ink-mute, rgba(26,23,20,.5)) !important; }
.ficha .info .specs .v { color: var(--ink, #1A1714) !important; }
.ficha .info .meta { color: var(--ink-mute, rgba(26,23,20,.5)) !important; }
.ficha .crumb { color: var(--ink-mute, rgba(26,23,20,.5)) !important; }
.ficha .crumb a { color: var(--ink, #1A1714) !important; }

/* Mobile: layout vertical */
@media (max-width: 720px) {
  .ficha .layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .ficha .gallery .main { aspect-ratio: 1 / 1 !important; }
  .ficha h1 { font-size: 36px !important; line-height: 1 !important; }
}

/* ═══════════════════════════════════════════════════════════════
   CATÁLOGO MOBILE — drawer de filtros desde abajo
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  /* Hero del catálogo más compacto */
  .cat-page .cat-hero {
    padding: 24px 18px 14px !important;
  }
  .cat-page .cat-hero .top {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .cat-page .cat-hero h1 {
    font-size: 56px !important;
    line-height: 0.95 !important;
  }
  .cat-page .cat-hero .lead p {
    font-size: 14px !important;
  }

  /* Chips activos en una fila horizontal scrollable */
  .cat-page .chips-row {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .cat-page .chips-row::-webkit-scrollbar { display: none; }
  .cat-page .chips-row .chip { flex-shrink: 0; }
  .cat-page .chips-row .chip-label { flex-shrink: 0; }

  /* Layout: ocultar sidebar, mostrar solo grid */
  .cat-page .cat-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .cat-page .cat-side {
    display: none !important;
  }

  /* Toolbar mobile: muestra contador + ordenar + botón Filtros */
  .cat-page .cat-toolbar {
    position: sticky;
    top: 60px;
    z-index: 50;
    background: var(--bone, #F5F0E6);
    padding: 12px 18px !important;
    margin: 0 -18px 12px !important;
    border-bottom: 1px solid rgba(26,23,20,.08);
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    font-family: var(--f-mono, monospace);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  /* Grid de productos: 2 columnas */
  .cat-page .cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 18px;
  }
  /* Cards más compactas */
  .cat-prod h4 { font-size: 15px !important; }
  .cat-prod .price { font-size: 16px !important; }
  .cat-prod .variant { font-size: 8.5px !important; margin: 0 12px 6px 12px !important; }
  .cat-prod .head { padding: 10px 12px 4px !important; }
  .cat-prod .row { padding: 0 12px 12px !important; }

  /* Floating action button "Filtros" */
  .mobile-filter-fab {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 8000;
    background: var(--ink, #1A1714);
    color: var(--bone, #F5F0E6);
    border: 0;
    border-radius: 100px;
    padding: 12px 22px;
    font-family: var(--f-mono, monospace);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(26,23,20,.25);
    transition: transform .2s;
  }
  .mobile-filter-fab:hover { transform: translateX(-50%) translateY(-2px); }
  .mobile-filter-fab .badge {
    background: var(--accent, #C13B1F);
    color: #fff;
    border-radius: 100px;
    padding: 2px 8px;
    font-size: 10px;
    min-width: 20px;
    text-align: center;
  }
  .mobile-filter-fab .arrow { font-size: 14px; }
}
@media (min-width: 861px) {
  .mobile-filter-fab { display: none !important; }
  .mobile-filter-drawer-back,
  .mobile-filter-drawer { display: none !important; }
}

/* Drawer de filtros desde abajo */
.mobile-filter-drawer-back {
  position: fixed;
  inset: 0;
  background: rgba(26,23,20,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 9000;
}
.mobile-filter-drawer-back.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-filter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 88vh;
  background: var(--bone, #F5F0E6);
  border-radius: 24px 24px 0 0;
  z-index: 9100;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -20px 60px rgba(26,23,20,.2);
}
.mobile-filter-drawer.is-open { transform: translateY(0); }
.mobile-filter-drawer-handle {
  width: 40px;
  height: 4px;
  background: rgba(26,23,20,.2);
  border-radius: 4px;
  margin: 12px auto 4px;
  flex-shrink: 0;
}
.mobile-filter-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 12px;
  border-bottom: 1px solid rgba(26,23,20,.08);
  flex-shrink: 0;
}
.mobile-filter-drawer-top h3 {
  font-family: var(--f-display, "Fraunces", serif);
  font-size: 22px;
  margin: 0;
  font-weight: 400;
}
.mobile-filter-drawer-top .clear {
  background: transparent;
  border: 0;
  font-family: var(--f-mono, monospace);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute, rgba(26,23,20,.5));
  cursor: pointer;
}
.mobile-filter-drawer-body {
  overflow-y: auto;
  flex: 1;
  padding: 0 22px 16px;
  -webkit-overflow-scrolling: touch;
}
.mobile-filter-section {
  padding: 18px 0;
  border-bottom: 1px solid rgba(26,23,20,.05);
}
.mobile-filter-section h4 {
  font-family: var(--f-mono, monospace);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute, rgba(26,23,20,.5));
  margin: 0 0 12px;
  font-weight: 400;
}
.mobile-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mobile-filter-chip {
  background: transparent;
  border: 1px solid rgba(26,23,20,.15);
  border-radius: 100px;
  padding: 8px 14px;
  font-family: var(--f-display, "Fraunces", serif);
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink, #1A1714);
  transition: all .15s;
}
.mobile-filter-chip:hover {
  border-color: var(--ink, #1A1714);
}
.mobile-filter-chip.is-on {
  background: var(--ink, #1A1714);
  border-color: var(--ink, #1A1714);
  color: var(--bone, #F5F0E6);
}
.mobile-filter-chip .n {
  font-family: var(--f-mono, monospace);
  font-size: 9px;
  letter-spacing: .1em;
  opacity: .6;
}
.mobile-filter-chip.is-on .n { opacity: .8; }
.mobile-filter-search {
  width: 100%;
  background: rgba(26,23,20,.04);
  border: 1px solid rgba(26,23,20,.08);
  border-radius: 100px;
  padding: 12px 18px;
  font-family: var(--f-mono, monospace);
  font-size: 12px;
  outline: none;
}
.mobile-filter-search:focus { border-color: rgba(26,23,20,.3); }
.mobile-filter-drawer-foot {
  padding: 14px 22px 22px;
  border-top: 1px solid rgba(26,23,20,.08);
  flex-shrink: 0;
  background: var(--bone, #F5F0E6);
}
.mobile-filter-apply {
  width: 100%;
  background: var(--accent, #C13B1F);
  color: #fff;
  border: 0;
  border-radius: 100px;
  padding: 16px;
  font-family: var(--f-mono, monospace);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Mejora visual del select de Ordenar en mobile */
@media (max-width: 860px) {
  .cat-page .cat-toolbar select {
    background: rgba(26,23,20,.04);
    border: 1px solid rgba(26,23,20,.12);
    border-radius: 100px;
    padding: 6px 12px;
    font-family: var(--f-mono, monospace);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--ink, #1A1714);
  }
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORÍAS EN HOME — nombre siempre visible + hover elegante
   ═══════════════════════════════════════════════════════════════ */
.cats .cat {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  border-radius: 16px;
}
.cats .cat:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 50px rgba(26,23,20,.15);
}

/* Foto cubre todo el espacio */
.cats .cat .ph {
  background: #f5f0e6 !important;
  overflow: hidden;
}
.cats .cat .ph img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  padding: 0 !important;
  z-index: 1 !important;
  background: transparent !important;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.cats .cat:hover .ph img {
  transform: scale(1.08);
}

/* Gradiente oscuro permanente para legibilidad */
.cats .cat::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.4) 40%, transparent);
  z-index: 2;
  pointer-events: none;
  transition: opacity .3s;
}

/* META: nombre + conteo SIEMPRE visibles abajo izquierda */
.cats .cat .meta {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 24px 26px !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 12px !important;
}
.cats .cat .meta h3 {
  font-family: var(--f-display, "Fraunces", serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 32px !important;
  letter-spacing: -.02em !important;
  line-height: 1 !important;
  margin: 0 !important;
  color: #fff !important;
  transition: color .25s;
}
.cats .cat:hover .meta h3 {
  color: var(--mostaza, #E3A724) !important;
}
.cats .cat .meta .count {
  font-family: var(--f-mono, monospace) !important;
  font-size: 10px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,.85) !important;
  white-space: nowrap;
  padding-bottom: 6px;
}

/* Número de orden arriba izquierda */
.cats .cat .num {
  position: absolute !important;
  top: 20px !important;
  left: 22px !important;
  z-index: 3 !important;
  font-family: var(--f-mono, monospace) !important;
  font-size: 10px !important;
  letter-spacing: .16em !important;
  color: rgba(255,255,255,.7) !important;
  text-transform: uppercase;
}

/* Tamaños responsivos: en mobile, todas iguales 1 columna */
@media (max-width: 720px) {
  .cats {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .cats .cat {
    aspect-ratio: 1 / 1.2 !important;
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .cats .cat .meta h3 { font-size: 22px !important; }
  .cats .cat .meta { padding: 16px 18px !important; }
  .cats .cat .meta .count { font-size: 8.5px !important; }
  .cats .cat .num { top: 14px !important; left: 16px !important; font-size: 8.5px !important; }
}

/* Categorías sin foto: fondo neutro con label dibujado discreto */
.cats .cat .ph:not(:has(img)) .label,
.cats .cat .ph:not(:has(img)) .ring {
  opacity: .15 !important;
}

/* ═══════════════════════════════════════════════════════════════
   "ESTA SEMANA EN TALLER" — cards con hover zoom suave
   ═══════════════════════════════════════════════════════════════ */
.rail-4 .prod {
  cursor: pointer;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26,23,20,.08);
  transition: box-shadow .4s, transform .4s;
}
.rail-4 .prod:hover {
  box-shadow: 0 18px 40px rgba(26,23,20,.12);
  transform: translateY(-3px);
}
.rail-4 .prod .prod-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}
.rail-4 .prod .prod-img .ph {
  position: absolute !important;
  inset: 0 !important;
  background: #fff !important;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.rail-4 .prod .prod-img .ph img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 6% !important;
  background: #fff !important;
}
.rail-4 .prod:hover .prod-img .ph {
  transform: scale(1.08);
}
/* Esconder la segunda foto que ya no usamos */
.rail-4 .prod .prod-img .second { display: none !important; }

/* ═══════════════════════════════════════════════════════════════
   MODAL — foto del producto en grande (simplificado)
   ═══════════════════════════════════════════════════════════════ */
.modal .left {
  position: relative;
  background: #fff !important;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
/* Direct img (real product photo) */
.modal .left > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 4% !important;
  background: #fff !important;
}
/* Placeholder fallback */
.modal .left > .ph {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  background: #fff !important;
  display: block !important;
}
.modal .left > .ph img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 5% !important;
  background: #fff !important;
}
/* Esconder labels decorativos del placeholder */
.modal .left .ph .label,
.modal .left .ph .ring {
  display: none !important;
}
/* Thumbs ya no se usan — ocultar por si quedan restos */
.modal .left .thumbs {
  display: none !important;
}
/* Specs/desc ya no se usan — ocultar por si quedan restos */
.modal .right .specs,
.modal .right .desc {
  display: none !important;
}

/* Mobile: modal vertical */
@media (max-width: 720px) {
  .modal {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 20px !important;
    max-height: 92vh !important;
    overflow-y: auto;
  }
  .modal .left > .ph { aspect-ratio: 1 / 1 !important; }
  .modal .right h2 { font-size: 28px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   "CINCO PIEZAS, CINCO CASAS" — cli-card redesign + carousel UX
   ═══════════════════════════════════════════════════════════════ */

/* Carousel: smoother swipe, wider cards, better snap */
.clientes .carousel {
  grid-auto-columns: clamp(300px, 36vw, 480px) !important;
  gap: clamp(14px, 1.5vw, 22px) !important;
  scroll-padding-left: var(--gutter) !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-behavior: smooth !important;
}

/* Card: elevated with rounded corners and subtle shadow */
.cli-card {
  gap: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(26,23,20,.06) !important;
  box-shadow: 0 4px 20px rgba(26,23,20,.06) !important;
  transition: box-shadow .4s, transform .4s !important;
}
.cli-card:hover {
  box-shadow: 0 18px 50px rgba(26,23,20,.14) !important;
  transform: translateY(-3px) !important;
}

/* Photo: taller aspect for more visual impact */
.cli-card .photo {
  aspect-ratio: 3/4 !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 0 !important;
}
.cli-card .photo img {
  transition: transform .6s cubic-bezier(.2,.8,.2,1) !important;
}
.cli-card:hover .photo img {
  transform: scale(1.04) !important;
}

/* Overlay gradient on the photo for text legibility at bottom */
.cli-card .photo::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Top-row repositioned as overlay on the photo */
.cli-card .top-row {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 16px 18px !important;
  z-index: 2 !important;
  color: rgba(255,255,255,.8) !important;
}

/* Caption text below the photo */
.cli-card > p {
  padding: 18px 20px 8px !important;
  font-size: clamp(17px, 1.3vw, 22px) !important;
  margin: 0 !important;
}

/* Product name bar at bottom */
.cli-card .pn {
  padding: 10px 20px 18px !important;
  border-top: none !important;
  margin-top: auto !important;
}
.cli-card .pn .link {
  font-size: 10px !important;
}

/* Mobile: wider cards for easier swiping */
@media (max-width: 720px) {
  .clientes .carousel {
    grid-auto-columns: 82% !important;
    padding: 0 16px 20px !important;
    margin: 0 -16px !important;
  }
  .cli-card > p {
    font-size: 16px !important;
    padding: 14px 16px 6px !important;
  }
  .cli-card .pn { padding: 8px 16px 14px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   TALLER TEASE — two editorial photos integrated with verde-deep
   ═══════════════════════════════════════════════════════════════ */
.taller-tease .photos {
  grid-template-columns: 1.4fr 1fr !important;
  gap: 12px !important;
}
.taller-tease .taller-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}
.taller-tease .taller-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity .5s, transform .8s cubic-bezier(.2,.8,.2,1);
}
.taller-tease .taller-photo:hover img {
  opacity: 1;
  transform: scale(1.04);
}
/* Soft green tint overlay to unify with verde-deep bg */
.taller-tease .taller-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 58, 26, 0.15);
  z-index: 1;
  pointer-events: none;
  transition: background .5s;
  border-radius: inherit;
}
.taller-tease .taller-photo:hover::before {
  background: rgba(43, 58, 26, 0.05);
}
/* Soft fade at edges to blend with the background */
.taller-tease .taller-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px 10px rgba(43, 58, 26, 0.3);
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
}
@media (max-width: 720px) {
  .taller-tease .photos {
    grid-template-columns: 1fr 1fr !important;
  }
  .taller-tease .taller-photo {
    aspect-ratio: 3/4;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SHOWROOM CARD — real photo with gradient overlay
   ═══════════════════════════════════════════════════════════════ */
.showroom-card .showroom-bg + * {
  position: relative;
  z-index: 2;
}
/* Gradient overlay via pseudo-element on the card itself */
.showroom-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.15) 0%, rgba(10,9,8,0.75) 100%);
  z-index: 1;
  pointer-events: none;
}
.showroom-card > * {
  position: relative !important;
  z-index: 2 !important;
}

/* ═══════════════════════════════════════════════════════════════
   INSTA/REDES — real photos in grid tiles
   ═══════════════════════════════════════════════════════════════ */
.insta .tile {
  text-decoration: none !important;
}
.insta .tile img {
  transition: transform .5s cubic-bezier(.2,.8,.2,1) !important;
}
.insta .tile:hover img {
  transform: scale(1.06) !important;
}
.insta .tile-cta {
  transition: background .3s !important;
}
.insta .tile-cta:hover {
  background: var(--verde-deep, #2B3A1A) !important;
}

/* ═══════════════════════════════════════════════════════════════
   CURSOS — PÁGINA INTERNA · diseño editorial
   ═══════════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.cursos-hero-v2 {
  padding: var(--gutter, 24px);
  padding-top: 40px;
}
.cursos-hero-v2 .crumb {
  font-family: var(--f-mono, monospace);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute, #8A8078);
  margin-bottom: 32px;
}
.cursos-hero-v2 .crumb a { color: inherit; text-decoration: none; }
.cursos-hero-v2 .crumb a:hover { color: var(--ink, #1A1714); }

.cursos-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 820px) {
  .cursos-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Photo with badge overlay */
.cursos-hero-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.cursos-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cursos-hero-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.cursos-hero-badge .big {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: 48px;
  line-height: .85;
  color: var(--accent, #C13B1F);
}
.cursos-hero-badge .small {
  font-family: var(--f-mono, monospace);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ink-mute, #8A8078);
}

/* Text column */
.cursos-hero-text h1 {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: .95;
  margin: 14px 0 20px;
}
.cursos-hero-text h1 em {
  font-style: italic;
  color: var(--accent, #C13B1F);
}
.cursos-hero-text > p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  max-width: 42ch;
  color: var(--ink-soft, #5A544D);
}

/* Mini stats row */
.cursos-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line, rgba(26,23,20,.1));
}
.cursos-hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cursos-hero-stats .v {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  color: var(--ink, #1A1714);
}
.cursos-hero-stats .k {
  font-family: var(--f-mono, monospace);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute, #8A8078);
}

/* ─── MÓDULOS ─── */
.cursos-modulos {
  padding: clamp(40px, 6vw, 80px) var(--gutter, 24px);
  max-width: 1200px;
  margin: 0 auto;
}
.cursos-mod-head {
  margin-bottom: 40px;
}
.cursos-mod-head h2 {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px);
  margin: 10px 0 12px;
}
.cursos-mod-head h2 em { font-style: italic; }
.cursos-mod-head p {
  font-size: 15px;
  color: var(--ink-soft, #5A544D);
  max-width: 50ch;
}

/* Module list — stacked horizontal cards */
.cursos-mod-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cursos-mod {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0 clamp(16px, 2vw, 28px);
  align-items: start;
  background: var(--paper, #FBF8F1);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  border: 1.5px solid transparent;
  transition: border-color .3s, box-shadow .4s, transform .4s;
}
.cursos-mod:hover {
  box-shadow: 0 12px 40px rgba(26,23,20,.07);
  transform: translateY(-2px);
}
.cursos-mod.is-active {
  border-color: var(--accent, #C13B1F);
  box-shadow: 0 6px 24px rgba(193, 59, 31, .08);
}

@media (max-width: 720px) {
  .cursos-mod {
    grid-template-columns: 60px 1fr;
    gap: 0 14px;
  }
  .cursos-mod-action {
    grid-column: 1 / -1;
    margin-top: 16px;
  }
}

/* Big number */
.cursos-mod-num {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(48px, 5vw, 72px);
  line-height: .85;
  opacity: .25;
  transition: opacity .3s;
}
.cursos-mod:hover .cursos-mod-num,
.cursos-mod.is-active .cursos-mod-num {
  opacity: .5;
}

/* Body */
.cursos-mod-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cursos-mod-top h3 {
  font-family: var(--f-display, Fraunces);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  margin: 0;
  line-height: 1.15;
}
.cursos-mod-pill {
  font-family: var(--f-mono, monospace);
  font-size: 8.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--accent, #C13B1F);
  color: #fff;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.cursos-mod-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cursos-mod-meta span {
  font-family: var(--f-mono, monospace);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute, #8A8078);
}

.cursos-mod-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 720px) {
  .cursos-mod-detail {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.cursos-mod-label {
  font-family: var(--f-mono, monospace);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute, #8A8078);
  margin-bottom: 4px;
}
.cursos-mod-detail p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: var(--ink-soft, #5A544D);
}

/* Action column */
.cursos-mod-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  justify-content: center;
  min-width: 130px;
}
.cursos-mod-price {
  font-family: var(--f-display, Fraunces);
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--accent, #C13B1F);
  line-height: 1;
}

/* ─── Override old cursos-hero if present ─── */
.cursos-hero { display: none !important; }

/* ═══════════════════════════════════════════════════════════════
   TALLER — PÁGINA INTERNA
   ═══════════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.taller-int-hero {
  padding: 40px var(--gutter, 24px) 0;
  max-width: 1200px;
  margin: 0 auto;
}
.taller-int-hero .crumb {
  font-family: var(--f-mono, monospace);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute, #8A8078);
  margin-bottom: 32px;
}
.taller-int-hero .crumb a { color: inherit; text-decoration: none; cursor: pointer; }
.taller-int-hero .crumb a:hover { color: var(--ink); }

.taller-int-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
@media (max-width: 820px) {
  .taller-int-hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

.taller-int-hero-text h1 {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: .92;
  margin: 14px 0 20px;
}
.taller-int-hero-text h1 em { font-style: italic; color: var(--accent, #C13B1F); }
.taller-int-hero-text > p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  max-width: 44ch;
  color: var(--ink-soft, #5A544D);
}

/* Stats */
.taller-int-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line, rgba(26,23,20,.1));
}
.taller-int-stats > div { display: flex; flex-direction: column; gap: 2px; }
.taller-int-stats .v {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
}
.taller-int-stats .k {
  font-family: var(--f-mono, monospace);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute, #8A8078);
}

/* Photos: main + secondary stacked */
.taller-int-hero-photos {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
}
.taller-int-photo {
  border-radius: 14px;
  overflow: hidden;
}
.taller-int-photo.main { aspect-ratio: 3/4; }
.taller-int-photo.secondary { aspect-ratio: 3/4; }
.taller-int-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.taller-int-photo:hover img { transform: scale(1.04); }

/* ─── GALERÍA HORIZONTAL ─── */
.taller-int-band {
  padding: clamp(24px, 3vw, 48px) 0;
  overflow: hidden;
}
.taller-int-band-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--gutter, 24px);
  scrollbar-width: none;
}
.taller-int-band-scroll::-webkit-scrollbar { display: none; }
.taller-int-band-img {
  flex: 0 0 clamp(260px, 30vw, 380px);
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
}
.taller-int-band-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.taller-int-band-img:hover img { transform: scale(1.05); }

/* ─── PROCESO: 6 PASOS ─── */
.taller-int-process {
  padding: clamp(40px, 6vw, 80px) var(--gutter, 24px);
  max-width: 1200px;
  margin: 0 auto;
}
.taller-int-process-head {
  margin-bottom: 48px;
}
.taller-int-process-head h2 {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px);
  margin: 10px 0 14px;
}
.taller-int-process-head h2 em { font-style: italic; }
.taller-int-process-head p {
  font-size: 15px;
  color: var(--ink-soft, #5A544D);
  max-width: 50ch;
}

/* Steps grid: 3x2 desktop, 2x3 tablet, 1 col mobile */
.taller-int-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .taller-int-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .taller-int-steps { grid-template-columns: 1fr; } }

.taller-int-step {
  background: var(--paper, #FBF8F1);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .4s, transform .4s;
}
.taller-int-step:hover {
  box-shadow: 0 12px 40px rgba(26,23,20,.08);
  transform: translateY(-3px);
}

.taller-int-step-num {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink-mute, #8A8078);
  padding: 16px 20px 0;
  letter-spacing: .05em;
}
.taller-int-step-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin: 10px 16px 0;
  border-radius: 10px;
}
.taller-int-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.taller-int-step:hover .taller-int-step-img img {
  transform: scale(1.06);
}

.taller-int-step h3 {
  font-family: var(--f-display, Fraunces);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  margin: 14px 20px 6px;
  line-height: 1.15;
}
.taller-int-step > p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft, #5A544D);
  padding: 0 20px 20px;
  margin: 0;
}

/* ─── FRASE ANCLA ─── */
.taller-int-pull {
  padding: clamp(48px, 8vw, 100px) var(--gutter, 24px);
  text-align: center;
}
.taller-int-pull blockquote {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 72px);
  line-height: .95;
  margin: 0;
  letter-spacing: -0.02em;
}
.taller-int-pull blockquote em {
  font-style: italic;
  color: var(--accent, #C13B1F);
}

/* ─── MATERIALES ─── */
.taller-int-materials {
  background: var(--verde-deep, #2B3A1A);
  color: var(--bone, #F5EDE0);
  padding: clamp(48px, 6vw, 80px) var(--gutter, 24px);
}
.taller-int-mat-head {
  max-width: 1200px;
  margin: 0 auto 40px;
}
.taller-int-mat-head h2 {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px);
  margin: 10px 0 0;
}
.taller-int-mat-head h2 em { font-style: italic; }

.taller-int-mat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 720px) { .taller-int-mat-grid { grid-template-columns: 1fr; } }

.taller-int-mat {
  padding: 28px;
  border: 1px solid rgba(245, 237, 224, .12);
  border-radius: 16px;
  transition: border-color .3s;
}
.taller-int-mat:hover { border-color: rgba(245, 237, 224, .3); }

.taller-int-mat-num {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: 40px;
  opacity: .2;
  line-height: .85;
  margin-bottom: 16px;
}
.taller-int-mat h4 {
  font-family: var(--f-display, Fraunces);
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 8px;
}
.taller-int-mat p {
  font-size: 14px;
  line-height: 1.55;
  opacity: .75;
  margin: 0;
}

/* ─── CTA FINAL ─── */
.taller-int-cta {
  background: var(--bone, #F5EDE0);
  padding: clamp(48px, 8vw, 100px) var(--gutter, 24px);
  text-align: center;
}
.taller-int-cta h2 {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: .95;
  margin: 16px 0 20px;
  letter-spacing: -0.025em;
}
.taller-int-cta h2 em { font-style: italic; }
.taller-int-cta > p {
  max-width: 480px;
  margin: 0 auto 32px;
  color: var(--ink-soft, #5A544D);
  font-size: 16px;
  line-height: 1.65;

/* ═══════════════════════════════════════════════════════════════
   SHOWROOM — PÁGINA INTERNA
   ═══════════════════════════════════════════════════════════════ */

.show-int-hero {
  padding: 40px var(--gutter, 24px) 0;
  max-width: 1200px;
  margin: 0 auto;
}
.show-int-hero .crumb {
  font-family: var(--f-mono, monospace);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute, #8A8078);
  margin-bottom: 32px;
}
.show-int-hero .crumb a { color: inherit; text-decoration: none; cursor: pointer; }
.show-int-hero .crumb a:hover { color: var(--ink); }

.show-int-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 820px) {
  .show-int-hero-grid { grid-template-columns: 1fr; gap: 24px; }
}

.show-int-hero-text h1 {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: .9;
  margin: 14px 0 16px;
}
.show-int-hero-text h1 em { font-style: italic; color: var(--accent, #C13B1F); }
.show-int-hero-text > p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  max-width: 42ch;
  color: var(--ink-soft, #5A544D);
  margin-bottom: 24px;
}

.show-int-hero-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.show-int-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.show-int-hero-photo:hover img { transform: scale(1.03); }

/* Detail labels inside hero */
.show-int-hero-text .show-int-sede-detail {
  margin-top: 0;
  padding-top: 0;
}

/* SEDES */
.show-int-sedes {
  padding: clamp(40px, 6vw, 80px) var(--gutter, 24px);
  max-width: 1200px;
  margin: 0 auto;
}
.show-int-sede {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  background: var(--paper, #FBF8F1);
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .show-int-sede { grid-template-columns: 1fr; }
}

.show-int-sede-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.show-int-sede-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.show-int-sede:hover .show-int-sede-photo img { transform: scale(1.04); }

.show-int-sede-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--f-mono, monospace);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--accent, #C13B1F);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
}

.show-int-sede-info {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.show-int-sede-num {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: 48px;
  opacity: .12;
  line-height: .85;
}
.show-int-sede-info h2 {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  margin: 8px 0 6px;
  line-height: .95;
}
.show-int-sede-address {
  font-family: var(--f-mono, monospace);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute, #8A8078);
  margin-bottom: 20px;
}
.show-int-sede-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.show-int-sede-detail > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.show-int-sede-label {
  font-family: var(--f-mono, monospace);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute, #8A8078);
}
.show-int-sede-detail span:not(.show-int-sede-label) {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft, #5A544D);
}

/* CÓMO FUNCIONA */
.show-int-how {
  padding: clamp(48px, 6vw, 80px) var(--gutter, 24px);
  max-width: 1200px;
  margin: 0 auto;
}
.show-int-how h2 {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px);
  margin: 10px 0 32px;
}
.show-int-how h2 em { font-style: italic; }

.show-int-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 720px) {
  .show-int-how-grid { grid-template-columns: 1fr; }
}

.show-int-how-step {
  background: var(--paper, #FBF8F1);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 32px);
  transition: box-shadow .4s, transform .4s;
}
.show-int-how-step:hover {
  box-shadow: 0 12px 40px rgba(26,23,20,.06);
  transform: translateY(-2px);
}
.show-int-how-num {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: 48px;
  opacity: .15;
  line-height: .85;
  margin-bottom: 14px;
}
.show-int-how-step h4 {
  font-family: var(--f-display, Fraunces);
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 8px;
}
.show-int-how-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft, #5A544D);
  margin: 0;
}

/* CTA */
.show-int-cta {
  background: var(--bone, #F5EDE0);
  padding: clamp(48px, 8vw, 100px) var(--gutter, 24px);
  text-align: center;
}
.show-int-cta h2 {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: .95;
  margin: 0 0 28px;
  letter-spacing: -0.025em;
}
.show-int-cta h2 em { font-style: italic; color: var(--accent, #C13B1F); }

/* ─── SHOWROOM: CINEMATIC BREAK ─── */
.show-int-cine {
  position: relative;
  height: clamp(300px, 50vw, 520px);
  overflow: hidden;
}
.show-int-cine img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.show-int-cine-text {
  position: absolute;
  bottom: clamp(20px, 4vw, 40px);
  left: var(--gutter, 24px);
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  line-height: .95;
}

/* ─── SHOWROOM: NARRATIVA SPLIT ─── */
.show-int-narrative {
  padding: clamp(48px, 6vw, 80px) var(--gutter, 24px);
  max-width: 1200px;
  margin: 0 auto;
}

.show-int-narr-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(32px, 4vw, 56px);
}
@media (max-width: 820px) {
  .show-int-narr-split { grid-template-columns: 1fr; gap: 28px; }
}

.show-int-narr-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.show-int-narr-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.show-int-narr-photo:hover img { transform: scale(1.03); }

.show-int-narr-text h2 {
  font-family: var(--f-display, Fraunces);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px);
  margin: 10px 0 18px;
  line-height: .95;
}
.show-int-narr-text h2 em { font-style: italic; }
.show-int-narr-text p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft, #5A544D);
  max-width: 44ch;
  margin: 0 0 10px;
}

/* ─── SHOWROOM: PHOTO STRIP (3 fotos horizontales) ─── */
.show-int-narr-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 560px) {
  .show-int-narr-strip { grid-template-columns: 1fr; }
}

.show-int-narr-strip-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.show-int-narr-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.show-int-narr-strip-item:hover img {
  transform: scale(1.06);
}
.show-int-narr-strip-item span {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--f-mono, monospace);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}







/* ─── HEADER · LOGO TAMAÑO Y RESPIRO ─── */
.hdr {
  background: var(--bone, #F5EDE0) !important;
  color: var(--ink, #1A1714) !important;
  border-bottom: 1px solid rgba(26,23,20,.08) !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
.hdr.on-dark {
  background: var(--bone, #F5EDE0) !important;
  color: var(--ink, #1A1714) !important;
}
.hdr-mark {
  display: flex !important;
  align-items: center !important;
  line-height: 0 !important;
  font-size: 0 !important;
}
.hdr-mark img {
  height: 60px !important;
  width: auto !important;
  min-height: 60px !important;
  max-height: none !important;
  display: block !important;
}
@media (max-width: 720px) {
  .hdr-mark img {
    height: 52px !important;
    min-height: 52px !important;
  }
}

/* ─── HERO HOME · FONDO CLARO Y ELEGANTE ─── */
.hero-a {
  background: var(--bone, #F5EDE0) !important;
  color: var(--ink, #1A1714) !important;
  min-height: 88vh !important;
}
/* Gradiente sobre la foto: ahora claro arriba (donde está el header) y sutil abajo */
.hero-a .ph.fill::after {
  background: linear-gradient(180deg,
    rgba(245,237,224,0.55) 0%,
    rgba(245,237,224,0.15) 18%,
    rgba(245,237,224,0.0) 40%,
    rgba(245,237,224,0.0) 60%,
    rgba(245,237,224,0.85) 100%) !important;
}
.hero-a h1 em {
  color: var(--mostaza, #E3A724) !important;
}
.hero-a h1 .you {
  color: var(--accent, #C13B1F) !important;
}
.hero-a .bottom-rail {
  border-top: 1px solid rgba(26,23,20,0.15) !important;
}
.hero-a .bottom-rail .lead {
  color: var(--ink-soft, #5A544D) !important;
  opacity: 1 !important;
}
.hero-a .top-rail {
  color: var(--ink-mute, #8A8078) !important;
  opacity: 1 !important;
}
.hero-a .scroll-cue {
  color: var(--ink-mute, #8A8078) !important;
  opacity: .7 !important;
}
