/* ============================================
   DSASTRE — Estilos principales
   Paleta: Negro + blanco + dorado/champán (lujo)
   ============================================ */

:root {
  --navy:       #111111;
  --navy-mid:   #1A1A1A;
  --navy-light: #2A2A2A;
  --accent:     #C9A84C;
  --accent-hover: #A8883A;
  --white:      #ffffff;
  --off-white:  #F8F6F2;
  --gray-100:   #F0EDE8;
  --gray-300:   #C8C0B4;
  --gray-500:   #8A8078;
  --gray-700:   #4A4540;
  --text:       #111111;
  --bihotza:    #c01325;
  --bihotza-hover: #a00f1e;
  --whatsapp:   #25d366;
  --whatsapp-hover: #1db954;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius:     6px;
  --radius-lg:  12px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.14);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.22);

  --transition: .22s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, button { font-family: inherit; }

/* ---- UTILIDADES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-pretitle { font-size: .6rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 14px; }
.section-title { font-family: var(--font-sans); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 300; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); line-height: 1.2; }

/* ---- BOTONES ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 0;
  font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: #000; border-color: #000; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--gold { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--gold:hover { background: #000; border-color: #000; }
.btn--whatsapp { background: var(--whatsapp); color: var(--white); border-color: var(--whatsapp); }
.btn--whatsapp:hover { background: var(--whatsapp-hover); border-color: var(--whatsapp-hover); }
.btn--full { width: 100%; justify-content: center; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: var(--white); border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.navbar__logo a {
  display: flex; align-items: center;
}
.navbar__logo-img {
  height: 28px; width: auto;
  filter: brightness(0); /* blanco → negro sobre navbar clara */
  transition: opacity var(--transition);
}
.navbar__logo-img:hover { opacity: .6; }
.navbar__links { display: flex; gap: 36px; align-items: center; }
.navbar__links a {
  font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-700); transition: color var(--transition);
  position: relative; padding-bottom: 2px;
}
.navbar__bihotza-link {
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  line-height: 1;
  position: relative; top: 0;
}
.navbar__bihotza-link::after { display: none !important; }
.navbar__bihotza-logo {
  height: 22px; width: auto;
  filter: brightness(0) saturate(100%) invert(10%) sepia(90%) saturate(700%) hue-rotate(330deg) brightness(90%);
  transition: filter var(--transition), opacity var(--transition);
  vertical-align: middle;
}
.navbar__bihotza-link:hover .navbar__bihotza-logo {
  filter: brightness(0) saturate(100%) invert(10%) sepia(90%) saturate(700%) hue-rotate(330deg) brightness(75%);
}

.navbar__links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px;
  background: var(--navy); transform: scaleX(0); transition: transform var(--transition);
}
.navbar__links a:hover, .navbar__links a.active { color: var(--navy); }
.navbar__links a:hover::after, .navbar__links a.active::after { transform: scaleX(1); }
.navbar__actions { display: flex; align-items: center; gap: 16px; }
.btn-cart-nav {
  position: relative; background: none; border: none; cursor: pointer;
  color: var(--navy); display: flex; align-items: center;
  padding: 4px; transition: opacity var(--transition);
}
.btn-cart-nav:hover { opacity: .5; }
.cart-count {
  position: absolute; top: -6px; right: -8px;
  background: var(--navy); color: var(--white);
  font-size: .65rem; font-weight: 700; border-radius: 50%;
  width: 16px; height: 16px; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.navbar__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.navbar__toggle span { display: block; width: 22px; height: 1.5px; background: var(--navy); border-radius: 0; transition: transform var(--transition); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  background: #0A0A0A;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero__overlay {
  display: block;
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.45) 60%,
    rgba(0,0,0,.2) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 680px; padding: 0 32px; margin-top: 64px;
  padding-left: clamp(24px, 8vw, 120px);
}
.hero__pretitle {
  font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 16px;
}
.hero__title {
  font-family: var(--font-sans); font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300; letter-spacing: .06em;
  color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.hero__subtitle { font-size: 1.05rem; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 36px; }
.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- COLECCIONES ---- */
.colecciones { padding: 96px 0; background: var(--off-white); }
.colecciones__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.coleccion-card {
  background: var(--white); border-radius: 0;
  overflow: hidden;
  transition: opacity var(--transition);
}
.coleccion-card:hover { opacity: .88; }
.coleccion-card__img {
  height: 240px; background-color: var(--gray-100);
  background-size: cover; background-position: center;
  position: relative;
}
.coleccion-card--featured .coleccion-card__img { height: 320px; }
.coleccion-card__img--ceremonia { background-image: url('../cat_ceremonia.jpg'); background-size: cover; background-position: center; }
.coleccion-card__img--casual    { background-image: url('../cat_casual.jpg');    background-size: cover; background-position: center; }
.coleccion-card__img--vestir    { background-image: url('../cat_vestir.jpg');    background-size: cover; background-position: center; }
.coleccion-card__body { padding: 20px 4px; }
.coleccion-card__body h3 { font-family: var(--font-sans); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--navy); }
.coleccion-card__body p { font-size: .82rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 20px; }

/* ---- BANNER MID ---- */
.banner-mid {
  min-height: 520px; position: relative;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0A0A0A 0%, #2A2A2A 100%),
              url('../cat_ceremonia.jpg') center 25% / cover no-repeat;
  background-blend-mode: multiply;
  border-top: 1px solid rgba(201,168,76,.25);
  border-bottom: 1px solid rgba(201,168,76,.25);
  overflow: hidden;
}
.banner-mid::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.banner-mid__overlay {
  display: block; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.88) 32%, rgba(10,10,10,.45) 62%, rgba(10,10,10,.15) 100%);
}
.banner-mid__content { position: relative; z-index: 1; padding: 64px 24px; max-width: 620px; }
.banner-mid__content::before {
  content: ''; display: block; width: 48px; height: 2px; background: var(--accent); margin-bottom: 24px;
}
.banner-mid__content h2 { font-family: var(--font-sans); font-size: clamp(1.4rem, 2.8vw, 2.4rem); font-weight: 300; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; line-height: 1.3; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.banner-mid__content p { font-size: 1rem; color: rgba(255,255,255,.75); max-width: 480px; margin-bottom: 28px; line-height: 1.7; }
.banner-mid .btn--primary { background: var(--accent); color: var(--navy); border-color: var(--accent); }
.banner-mid .btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* ---- DESTACADOS ---- */
.destacados { padding: 96px 0; }
.destacados__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.destacados__cta { text-align: center; }

/* PRODUCTO CARD — editorial */
.producto-card {
  cursor: pointer;
  position: relative;
}
.producto-card__img {
  aspect-ratio: 3/4; background: var(--white);
  position: relative; overflow: hidden;
}
.producto-card__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.producto-card--calzado .producto-card__img img {
  object-fit: contain; object-position: center; padding: 10px;
}
.producto-card:hover .producto-card__img img { transform: scale(1.05); }
.producto-card__quick {
  position: absolute; bottom: 10px; right: 10px;
  width: 32px; height: 32px;
  background: var(--white); border: none; border-radius: 50%;
  font-size: 1.2rem; font-weight: 300; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12);
  opacity: 0; transform: scale(.85);
  transition: opacity .22s ease, transform .22s ease;
  line-height: 1; padding: 0;
  text-decoration: none;
}
.producto-card:hover .producto-card__quick {
  opacity: 1; transform: scale(1);
}
.producto-card__body { padding: 12px 2px 24px; }
.producto-card__name {
  font-family: var(--font-sans);
  font-size: .8rem; font-weight: 500; font-style: normal;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 5px; line-height: 1.35;
}
.producto-card__price {
  font-size: .85rem; font-weight: 400; color: var(--navy);
  margin-bottom: 8px;
}
.precio-antes {
  text-decoration: line-through;
  color: var(--gray-500);
  font-weight: 400;
}
.precio-oferta {
  color: var(--accent-hover);
  font-weight: 600;
}
.producto-card__tallas {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.producto-card__talla {
  font-size: .62rem; color: var(--gray-500);
  letter-spacing: .04em;
}
.producto-card__talla::after { content: ' '; }

/* ---- NOSOTROS ---- */
.nosotros { padding: 96px 0; background: var(--off-white); }
.nosotros__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nosotros__text .section-title { text-align: left; margin-bottom: 20px; }
.nosotros__text p { font-size: .95rem; color: var(--gray-700); line-height: 1.75; margin-bottom: 14px; }
.nosotros__values { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.nosotros__values li { font-size: .9rem; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.nosotros__values li span { color: var(--accent); font-size: 1rem; }
.nosotros__img {
  height: 460px; background-color: #2A2A2A;
  border-radius: 0;
}

/* ---- CONTACTO ---- */
.contacto { padding: 96px 0; }
.contacto__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contacto__item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contacto__item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contacto__item strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 4px; }
.contacto__item p { font-size: .95rem; color: var(--navy); line-height: 1.6; }
.contacto__item a { color: var(--accent); }
.contacto__item a:hover { text-decoration: underline; }
.contacto__map iframe { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---- FOOTER ---- */
.footer { background: var(--navy); padding: 48px 0 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: 6px; display: block; }
.footer__brand p { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__social { display: flex; gap: 16px; }
.footer__social a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer__social a:hover { color: var(--white); }
.footer__copy { text-align: center; padding: 18px 24px; }
.footer__copy p { font-size: .78rem; color: rgba(255,255,255,.3); }

/* ---- TIENDA HERO ---- */
.tienda-hero {
  background: var(--navy);
  padding: calc(64px + 48px) 0 48px;
  text-align: center;
  position: relative;
  transition: background .45s ease;
}
.tienda-hero__normal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .35s ease, transform .35s ease;
}
.tienda-hero__eyebrow {
  display: block;
  font-size: .58rem; font-weight: 500;
  letter-spacing: .42em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.tienda-hero__title {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-style: normal; font-weight: 300;
  color: var(--white); letter-spacing: .18em; text-transform: uppercase;
  margin: 0 0 14px;
}
.tienda-hero__sub {
  font-size: .78rem; color: rgba(255,255,255,.35);
  letter-spacing: .05em;
}
.tienda-hero__bihotza {
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; height: 0; overflow: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .4s ease .1s, transform .4s ease .1s;
}
.tienda-hero__bihotza-logo {
  width: clamp(140px, 22vw, 240px);
  filter: brightness(0) invert(1);
  display: block; margin-bottom: 14px;
}
.tienda-hero__bihotza-sub {
  font-size: .55rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* ---- FILTROS BAR (horizontal sticky) ---- */
.filtros-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 64px;
  z-index: 500;
  transition: background .45s ease, border-color .45s ease;
}
.filtros-bar__inner {
  display: flex; align-items: stretch; justify-content: space-between;
  gap: 12px;
}
.filtros-cats {
  display: flex; align-items: stretch; gap: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; flex-shrink: 0;
  position: relative;
}
.filtros-cats::-webkit-scrollbar { display: none; }

/* Fade derecho — indica que hay más tabs al deslizar */
.filtros-cats__wrap {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.filtros-cats__wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--white) 80%);
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 1;
}
.filtros-cats__wrap.at-end::after { opacity: 0; }

body.mode-bihotza .filtros-cats__wrap::after {
  background: linear-gradient(to right, transparent, var(--white) 80%);
}
.filtros-cat {
  background: none; border: none;
  border-bottom: 2px solid transparent;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-500);
  padding: 20px 20px 18px;
  cursor: pointer; white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
  margin-bottom: -1px;
}
.filtros-cat:hover { color: var(--navy); }
.filtros-cat.active { color: var(--navy); border-bottom-color: var(--navy); }
.filtros-cat--bihotza {
  display: flex; align-items: center;
  padding: 18px 20px;
}
.filtros-cat--bihotza img {
  height: 15px; display: block;
  filter: grayscale(1) opacity(.4);
  transition: filter .2s ease;
}
.filtros-cat--bihotza:hover img { filter: none; }
.filtros-cat--bihotza.active img { filter: none; }
.filtros-cat--bihotza.active { border-bottom-color: var(--bihotza); }

.filtros-right {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; padding: 0;
}
.filtros-count {
  font-size: .7rem; color: var(--gray-500);
  white-space: nowrap; letter-spacing: .06em;
}
.filtros-search__wrap {
  display: flex; align-items: center; gap: 7px;
  border: 1px solid var(--gray-100);
  padding: 8px 10px;
  transition: border-color .2s ease;
  background: var(--white);
}
.filtros-search__wrap:focus-within { border-color: var(--gray-500); }
.filtros-search__wrap svg { color: var(--gray-500); flex-shrink: 0; }
.filtros-search__input {
  border: none; outline: none;
  font-size: .78rem; color: var(--navy);
  background: transparent; width: 120px;
}
.filtros-search__input::placeholder { color: var(--gray-300); }
.filtros-sort {
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--gray-100);
  font-size: .7rem; color: var(--navy);
  background: var(--white); cursor: pointer;
  outline: none; letter-spacing: .06em;
  transition: border-color .2s ease;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%238A8078' stroke-width='1.4' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.filtros-sort:focus { border-color: var(--gray-500); }

/* ---- TIENDA MAIN ---- */
.tienda-main {
  background: var(--white);
  padding: 32px 0 96px;
  min-height: 70vh;
  transition: background .45s ease;
}
.productos-empty {
  color: var(--gray-500); grid-column: 1 / -1;
  text-align: center; padding: 80px 0;
  font-size: .875rem; letter-spacing: .06em;
}

/* PRODUCTOS GRID */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* ---- CART DRAWER ---- */
.cart-overlay {
  display: none; position: fixed; inset: 0; background: rgba(13,27,46,.45); z-index: 1100;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 420px;
  background: var(--white); z-index: 1200;
  transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}
.cart-drawer__header h3 { font-family: var(--font-sans); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.cart-drawer__close { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--gray-500); transition: color var(--transition); padding: 4px; }
.cart-drawer__close:hover { color: var(--navy); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty { text-align: center; color: var(--gray-500); font-size: .9rem; margin-top: 40px; }
.cart-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.cart-item__img { width: 64px; height: 80px; background: var(--gray-100); border-radius: var(--radius); flex-shrink: 0; background-size: cover; background-position: center; }
.cart-item__info { flex: 1; }
.cart-item__name { font-size: .9rem; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.cart-item__meta { font-size: .78rem; color: var(--gray-500); margin-bottom: 6px; }
.cart-item__price { font-size: .9rem; font-weight: 600; color: var(--accent); }
.cart-item__remove { background: none; border: none; cursor: pointer; color: var(--gray-300); font-size: 1rem; padding: 2px; transition: color var(--transition); }
.cart-item__remove:hover { color: #e53e3e; }
.cart-drawer__footer { padding: 20px 24px; border-top: 1px solid var(--gray-100); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 1rem; }
.cart-total strong { font-size: 1.2rem; color: var(--navy); }
.cart-delivery { margin-bottom: 16px; }
.cart-delivery__label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); margin-bottom: 10px; }
.cart-delivery__options { display: flex; gap: 12px; flex-wrap: wrap; }
.delivery-opt { display: flex; align-items: center; gap: 6px; font-size: .875rem; cursor: pointer; }
.delivery-opt input { accent-color: var(--accent); }

/* ---- MODAL PRODUCTO ---- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(13,27,46,.5); z-index: 1300; backdrop-filter: blur(3px); }
.modal-overlay.open { display: block; }
.modal-producto {
  display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.98);
  z-index: 1400; background: var(--white); border-radius: 0;
  width: 90%; max-width: 800px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.18); transition: transform .2s ease, opacity .2s ease; opacity: 0;
}
.modal-producto.open { display: block; transform: translate(-50%, -50%) scale(1); opacity: 1; }
.modal-close {
  position: absolute; top: 16px; right: 20px; background: none; border: none;
  font-size: 1.2rem; cursor: pointer; color: var(--gray-500); z-index: 1; transition: color var(--transition);
}
.modal-close:hover { color: var(--navy); }
.modal-producto__inner { display: grid; grid-template-columns: 1fr 1fr; }
.modal-img { aspect-ratio: 3/4; background: var(--gray-100); border-radius: 0; overflow: hidden; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.modal-info { padding: 36px 28px; }
.modal-info__cat { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.modal-info__name { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 300; letter-spacing: .06em; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.modal-info__ref { font-size: .78rem; color: var(--gray-500); margin-bottom: 14px; }
.modal-info__price { font-size: 1.5rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.modal-info__desc { font-size: .875rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 24px; }
.modal-info__tallas-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); margin-bottom: 10px; }
.tallas-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.talla-btn {
  min-width: 44px; padding: 8px 10px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius); font-size: .85rem; font-weight: 500;
  cursor: pointer; background: var(--white); color: var(--navy);
  transition: all var(--transition); text-align: center;
}
.talla-btn:hover { border-color: var(--accent); color: var(--accent); }
.talla-btn.selected { background: var(--navy); color: var(--white); border-color: var(--navy); }
.talla-btn:disabled { opacity: .35; cursor: not-allowed; }
.modal-add-btn { width: 100%; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .nosotros__inner { grid-template-columns: 1fr; }
  .nosotros__img { height: 300px; }
  .contacto__grid { grid-template-columns: 1fr; }
  .modal-producto__inner { grid-template-columns: 1fr; }
  .modal-img { border-radius: 0; aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
  /* Navbar */
  .navbar { padding: 0 20px; }
  .navbar__links {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-100);
    flex-direction: column; padding: 20px 24px; gap: 0; z-index: 999;
  }
  .navbar__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .72rem;
  }
  .navbar__links a:last-child { border-bottom: none; }
  .navbar__links.open { display: flex; }
  .navbar__toggle { display: flex; }

  /* Hero */
  .hero__content { padding: 0 24px; }

  /* Banner mid */
  .banner-mid { min-height: 420px; background-position: center 15%; }
  .banner-mid__overlay {
    background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.85) 55%, rgba(10,10,10,.96) 100%);
  }
  .banner-mid__content { padding: 40px 24px; max-width: 100%; }

  /* Cart */
  .cart-drawer { max-width: 100%; }

  /* Filtros bar — dos filas claras */
  .filtros-bar__inner { flex-wrap: wrap; gap: 0; }

  /* Fila 1: tabs de categoría */
  .filtros-cats__wrap {
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }
  .filtros-cats {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filtros-cats::-webkit-scrollbar { display: none; }
  .filtros-cat {
    padding: 13px 14px 11px;
    font-size: .65rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .filtros-cat--bihotza {
    padding: 10px 14px;
    flex-shrink: 0;
  }
  .filtros-cat--bihotza img {
    height: 18px;
    filter: grayscale(1) opacity(.5);
  }
  .filtros-cat--bihotza.active img,
  .filtros-cat--bihotza:hover img { filter: none; }

  /* Fila 2: controles de búsqueda y orden */
  .filtros-right {
    width: 100%;
    padding: 7px 0;
    justify-content: flex-end;
    gap: 6px;
    border-top: none;
  }
  .filtros-search__input { width: 100px; }
  .filtros-sort { font-size: .65rem; padding: 7px 22px 7px 8px; }

  /* Grid productos */
  .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }

  /* Footer */
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__links { gap: 16px; }
}

@media (max-width: 480px) {
  /* Navbar */
  .navbar { padding: 0 16px; height: 56px; }
  .navbar__logo-img { height: 22px; }
  .navbar__links { top: 56px; }

  /* Hero */
  .hero__title { font-size: 1.8rem; letter-spacing: .04em; }
  .hero__buttons { flex-direction: column; }
  .hero__content { margin-top: 56px; }

  /* Banner mid */
  .banner-mid { min-height: 380px; }
  .banner-mid__content { padding: 32px 20px; }
  .banner-mid__content p { margin-bottom: 22px; }

  /* Filtros — ocultar search, una sola fila de selects */
  .filtros-count { display: none; }
  .filtros-search__wrap { display: none; }
  .filtros-right { padding: 6px 0; }
  .filtros-sort { font-size: .62rem; padding: 6px 20px 6px 6px; }

  /* Grid productos: intercalado (1 grande + 6 pequeños) */
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  /* Cada 7 tarjetas, la primera ocupa el ancho completo */
  .productos-grid .producto-card:nth-child(7n+1) {
    grid-column: 1 / -1;
  }
  /* Imagen completa en tarjeta grande */
  .productos-grid .producto-card:nth-child(7n+1) .producto-card__img {
    aspect-ratio: 4/5;
    background: var(--white);
  }
  .productos-grid .producto-card:nth-child(7n+1) .producto-card__img img {
    object-fit: contain;
    object-position: center;
  }
  .producto-card__body { padding: 10px 0 20px; }

  /* Tienda hero */
  .tienda-hero { padding: calc(56px + 32px) 0 32px; }

  /* Filtros bar sticky top */
  .filtros-bar { top: 56px; }

  /* Footer */
  .footer__links { flex-direction: column; gap: 12px; }

  /* Sección nosotros */
  .nosotros { padding: 64px 0; }
  .contacto { padding: 64px 0; }
  .destacados { padding: 64px 0; }
}

/* ---- ACCORDION COLECCIONES ---- */
.col-accordion {
  display: flex;
  gap: 10px;
  height: 480px;
}
.col-accordion__item {
  position: relative;
  flex: 0 0 66px;
  min-width: 66px;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.col-accordion__item.is-active { flex: 1 1 auto; }
.col-accordion__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.col-accordion__item.is-active .col-accordion__bg { transform: scale(1.04); }
.col-accordion__bg--bihotza { background: linear-gradient(145deg, #1a0008, #3d0010); }
.col-accordion__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  transition: background 0.45s;
}
.col-accordion__item.is-active .col-accordion__overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.62) 100%);
}
.col-accordion__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.5);
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 1;
}
.col-accordion__item.is-active .col-accordion__label { opacity: 0; }
.col-accordion__content {
  position: absolute;
  bottom: 32px;
  left: 28px;
  right: 28px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s 0.22s, transform 0.35s 0.22s;
  pointer-events: none;
  z-index: 1;
}
.col-accordion__item.is-active .col-accordion__content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.col-accordion__content h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.5);
}
.col-accordion__content h3::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 16px;
}
.col-accordion__content p {
  font-size: .875rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  margin-bottom: 22px;
}
.col-accordion__bihotza-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}
/* Botones dentro del acordeón: outline blanco para contraste sobre imagen oscura */
.col-accordion__content .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
  background: transparent;
}
.col-accordion__content .btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

@media (max-width: 768px) {
  .col-accordion {
    flex-direction: column;
    height: auto;
    gap: 8px;
  }
  .col-accordion__item {
    flex: none;
    height: 72px;
    min-width: unset;
    border-radius: var(--radius);
    transition: height 0.55s cubic-bezier(0.4, 0, 0.2, 1), flex 0.55s;
  }
  .col-accordion__item.is-active {
    flex: none;
    height: 300px;
  }
  .col-accordion__label {
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    font-size: 1.1rem;
    letter-spacing: -.02em;
  }
  .col-accordion__item.is-active .col-accordion__label { opacity: 0; }
  .col-accordion__content { bottom: 24px; left: 20px; right: 20px; }
  .col-accordion__content h3 { font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 8px; }
  .col-accordion__content h3::before { width: 28px; margin-bottom: 12px; }
  .col-accordion__content p { font-size: .8rem; margin-bottom: 14px; }
  .col-accordion__bihotza-logo { height: 28px; }
}

/* ---- BOTÓN BIHOTZA ---- */
.btn--bihotza { background: var(--bihotza); color: var(--white); border-color: var(--bihotza); }
.btn--bihotza:hover { background: var(--bihotza-hover); border-color: var(--bihotza-hover); }

/* ---- SECCIÓN BIHOTZA (lamp effect) ---- */
.bihotza-section {
  position: relative;
  min-height: 78vh;
  scroll-snap-align: start;
  background: #0a0a0a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 56px;
}

/* Lamp container */
.lamp-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Línea roja — la fuente de luz, anclada arriba */
.lamp-line {
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: min(32rem, 88vw);
  background: linear-gradient(90deg, transparent 0%, #c01325 18%, #ff5060 50%, #c01325 82%, transparent 100%);
  z-index: 8;
  box-shadow: 0 0 10px 3px rgba(192,19,37,0.9), 0 0 30px 6px rgba(192,19,37,0.4);
}

/* Beams — parten desde la línea hacia abajo */
.lamp-beam {
  position: absolute;
  top: 3rem;
  height: 36vh;
  width: min(30rem, 50vw);
  overflow: visible;
  z-index: 2;
}
.lamp-beam--l {
  right: 50%;
  background: conic-gradient(from 70deg at center top, rgba(192,19,37,0.65), transparent, transparent);
}
.lamp-beam--r {
  left: 50%;
  background: conic-gradient(from 290deg at center top, transparent, transparent, rgba(192,19,37,0.65));
}

/* Masks interiores de los beams */
.lamp-beam__mask {
  position: absolute;
  background: #0a0a0a;
  z-index: 3;
}
.lamp-beam__mask--bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  -webkit-mask-image: linear-gradient(to top, white, transparent);
  mask-image: linear-gradient(to top, white, transparent);
}
.lamp-beam--l .lamp-beam__mask--side {
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  -webkit-mask-image: linear-gradient(to right, white, transparent);
  mask-image: linear-gradient(to right, white, transparent);
}
.lamp-beam--r .lamp-beam__mask--side {
  top: 0;
  bottom: 0;
  right: 0;
  width: 30%;
  -webkit-mask-image: linear-gradient(to left, white, transparent);
  mask-image: linear-gradient(to left, white, transparent);
}

/* Bloom concentrado justo debajo de la línea */
.lamp-hotspot {
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%) translateY(0%);
  height: 5rem;
  width: min(14rem, 45vw);
  border-radius: 50%;
  background: #c01325;
  opacity: 0.85;
  filter: blur(18px);
  z-index: 3;
}

/* Glow amplio que se derrama hacia abajo */
.lamp-glow {
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  height: 20rem;
  width: min(26rem, 72vw);
  border-radius: 0 0 50% 50%;
  background: radial-gradient(ellipse 100% 60% at top, rgba(192,19,37,0.45) 0%, transparent 75%);
  filter: blur(8px);
  z-index: 3;
}

/* Tapa oscura — cubre TODO lo que esté por encima de la línea */
.lamp-blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.1rem;
  background: #0a0a0a;
  z-index: 9;
}

.lamp-topmask { display: none; }

/* La línea queda encima de la tapa */
.lamp-line { z-index: 10; }

/* Content — centered, lifted into the glow area */
.bihotza-lamp__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 0 24px;
  transform: translateY(2rem);
}
.bihotza-lamp__heart {
  width: clamp(110px, 16vw, 200px);
  height: auto;
  filter: drop-shadow(0 0 32px rgba(192,19,37,0.8)) drop-shadow(0 0 80px rgba(192,19,37,0.35));
  margin-top: -3rem;
}
.bihotza-lamp__logo {
  width: clamp(200px, 30vw, 380px);
  height: auto;
  filter: brightness(0) invert(1);
  margin: 12px 0;
}
.bihotza-lamp__tagline {
  font-size: clamp(.85rem, 1.3vw, 1rem);
  color: rgba(255,255,255,.5);
  max-width: 440px;
  line-height: 1.85;
}
.bihotza-lamp__cta { margin-top: 8px; }

/* Footer — pinned to bottom */
.bihotza-hero__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,.07);
  z-index: 10;
}
.bihotza-hero__social { display: flex; gap: 20px; }
.bihotza-hero__social a {
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.bihotza-hero__social a:hover { color: var(--white); }
.bihotza-hero__location {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* Móvil */
@media (max-width: 640px) {
  .lamp-line { top: 2rem; width: 70vw; }
  .lamp-beam { top: 2rem; height: 26vh; }
  .lamp-hotspot { top: 2rem; }
  .lamp-glow { top: 2rem; height: 14rem; }
  .lamp-blur { height: 2.1rem; }
  .bihotza-lamp__content { transform: translateY(3rem); gap: 14px; }
  .bihotza-hero__footer { padding: 16px 20px; }
}


/* ---- BANNER BIHOTZA en tienda ---- */
.bihotza-banner {
  background: #0e0e0e;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(192,19,37,.25);
}
.bihotza-banner__logo {
  height: 36px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.bihotza-banner p {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

/* ---- FILTRO BIHOTZA en sidebar ---- */
.filtro-bihotza {
  background: rgba(192,19,37,.08) !important;
  border: 1px solid rgba(192,19,37,.2) !important;
  border-radius: var(--radius) !important;
  padding: 8px 10px !important;
  margin-bottom: 4px !important;
  color: #c01325 !important;
  font-weight: 500 !important;
}
.filtro-bihotza:hover { background: rgba(192,19,37,.15) !important; }
.filtro-bihotza__logo {
  height: 18px;
  vertical-align: middle;
  margin: 0 4px;
  filter: none;
}

@media (max-width: 900px) {
  .bihotza-section__split { grid-template-columns: 1fr; gap: 12px; }
  .bihotza-section__bg-logo { display: none; }
}
@media (max-width: 768px) {
  .bihotza-banner { flex-direction: column; text-align: center; gap: 12px; }
}

/* ======================================================
   MODO BIHOTZA — La tienda se transforma al activar el filtro
   ====================================================== */

.navbar,
.tienda-hero,
.tienda-main,
.filtros-bar {
  transition: background .45s ease, border-color .45s ease, color .45s ease;
}

body.page-tienda.mode-bihotza .navbar {
  background: var(--bihotza);
  border-bottom-color: transparent;
}
body.page-tienda.mode-bihotza .navbar__logo-img {
  filter: brightness(0) invert(1);
}
body.page-tienda.mode-bihotza .navbar__links a {
  color: rgba(255,255,255,.75);
}
body.page-tienda.mode-bihotza .navbar__links a:hover,
body.page-tienda.mode-bihotza .navbar__links a.active {
  color: var(--white);
}
body.page-tienda.mode-bihotza .navbar__links a::after {
  background: var(--white);
}
body.page-tienda.mode-bihotza .navbar__bihotza-logo {
  filter: brightness(0) invert(1);
}
body.page-tienda.mode-bihotza .btn-cart-nav {
  color: var(--white);
}
body.page-tienda.mode-bihotza .navbar__toggle span {
  background: var(--white);
}

/* Hero */
body.mode-bihotza .tienda-hero {
  background: var(--bihotza);
}
body.mode-bihotza .tienda-hero__eyebrow {
  color: rgba(255,255,255,.6);
}
body.mode-bihotza .tienda-hero__normal {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  height: 0; overflow: hidden;
}
body.mode-bihotza .tienda-hero__bihotza {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  height: auto; overflow: visible;
}

/* Filtros bar */
body.mode-bihotza .filtros-bar {
  border-bottom-color: rgba(192,19,37,.2);
  background: var(--white);
}
body.mode-bihotza .filtros-cat.active {
  color: var(--bihotza);
  border-bottom-color: var(--bihotza);
}
body.mode-bihotza .filtros-cat:hover {
  color: var(--bihotza);
}
body.mode-bihotza .filtros-search__wrap:focus-within {
  border-color: var(--bihotza);
}
body.mode-bihotza .filtros-sort:focus {
  border-color: var(--bihotza);
}
body.mode-bihotza .filtros-count {
  color: var(--bihotza);
}

/* Fondo de productos */
body.mode-bihotza .tienda-main {
  background: var(--white);
}

/* Tarjetas */
body.mode-bihotza .producto-card__price {
  color: var(--bihotza);
}
body.mode-bihotza .producto-card__quick {
  color: var(--bihotza);
}

/* Modal */
body.mode-bihotza .talla-btn.selected,
body.mode-bihotza .talla-btn.selected:hover {
  background: var(--bihotza);
  border-color: var(--bihotza);
  color: var(--white);
}
body.mode-bihotza .talla-btn:not(.selected):hover {
  border-color: var(--bihotza);
  color: var(--bihotza);
}
body.mode-bihotza .modal-info__price {
  color: var(--bihotza);
}
body.mode-bihotza .modal-info__cat {
  color: var(--bihotza);
}

/* Carrito */
body.mode-bihotza .cart-count {
  background: var(--bihotza);
}
body.page-tienda.mode-bihotza .navbar {
  border-bottom-color: rgba(192,19,37,.2);
}

/* ============================================
   PÁGINA DE PRODUCTO INDIVIDUAL
   ============================================ */

/* ============================================
   PÁGINA DE PRODUCTO INDIVIDUAL — editorial
   ============================================ */
.producto-breadcrumb {
  padding: 68px 0 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.producto-breadcrumb .container {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 0;
  font-size: .72rem; color: var(--gray-500);
  letter-spacing: .04em;
}
.producto-breadcrumb a {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--gray-500); transition: color var(--transition);
}
.producto-breadcrumb a:hover { color: var(--navy); }
.producto-breadcrumb__sep { color: var(--gray-200); font-size: .65rem; }
.producto-breadcrumb__cat {
  font-size: .65rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
}

.producto-page { background: var(--white); min-height: 80vh; }

.producto-page__inner {
  display: grid;
  grid-template-columns: 52% 1fr;
  gap: 64px;
  align-items: start;
  padding: 48px 0 96px;
}

.producto-page__gallery { position: sticky; top: 88px; }
.producto-page__img-wrap {
  background: var(--white);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
}
.producto-page__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.mode-calzado .producto-page__img {
  object-fit: contain; object-position: center 30%; padding: 16px;
}
.producto-page__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--navy); color: var(--white);
  font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px;
}
.producto-page__badge--bihotza { background: var(--bihotza) !important; }
.producto-page__badge-logo {
  height: 14px; width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.producto-page__info { padding-top: 4px; }
.prod-eyebrow {
  font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; display: block;
}
.prod-eyebrow-logo {
  height: 26px; width: auto;
  display: block; margin-bottom: 12px;
  filter: brightness(0);
}
.prod-name {
  font-family: var(--font-sans);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 300; font-style: normal;
  color: var(--navy); line-height: 1.2; margin-bottom: 6px;
}
.prod-ref {
  font-size: .7rem; color: var(--gray-500);
  margin-bottom: 20px; letter-spacing: .08em;
}
.prod-price {
  font-size: 1.7rem; font-weight: 300; color: var(--navy);
  letter-spacing: -.01em;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-100);
}
.prod-price .precio-antes { font-size: .65em; margin-right: 8px; }
.prod-tallas-wrap { margin-bottom: 20px; }
.prod-tallas__label {
  font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: 12px;
}
.tallas-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.talla-btn {
  min-width: 48px; padding: 10px 12px;
  border: 1px solid var(--gray-300);
  font-size: .82rem; font-weight: 400;
  cursor: pointer; background: var(--white); color: var(--navy);
  transition: all var(--transition); text-align: center;
}
.talla-btn:hover { border-color: var(--navy); }
.talla-btn.selected { background: var(--navy); color: var(--white); border-color: var(--navy); }
.talla-btn:disabled { opacity: .35; cursor: not-allowed; }
.prod-add-btn {
  border-radius: 0 !important;
  padding: 18px 24px !important;
  font-size: .78rem !important; letter-spacing: .12em !important;
  text-transform: uppercase !important;
  margin-bottom: 14px;
}
.prod-whatsapp-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; color: var(--gray-500);
  transition: color var(--transition); padding: 8px 0;
  letter-spacing: .04em;
}
.prod-whatsapp-link:hover { color: var(--whatsapp); }
.prod-desc {
  font-size: .875rem; color: var(--gray-700); line-height: 1.85;
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}
.prod-desc__content {
  max-height: 6.6em;
  overflow: hidden;
  position: relative;
  transition: max-height .35s ease;
}
.prod-desc__content p { margin: 0 0 1em; }
.prod-desc__content p:last-child { margin-bottom: 0; }
.prod-desc__content ul { margin: 0 0 1em; padding-left: 1.1em; }
.prod-desc__content ul li { margin-bottom: .3em; }
.prod-desc__content:not(.prod-desc__content--expanded)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.8em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--white) 85%);
}
.prod-desc__content--expanded {
  max-height: none;
}
.prod-desc__toggle {
  display: inline-block;
  margin-top: 12px;
  background: none; border: none; padding: 0;
  color: var(--accent-hover); font-weight: 600; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; text-decoration: underline;
}
.prod-desc__toggle:hover { color: var(--navy); }

/* ---- Cuidados de la prenda ---- */
.cuidados {
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 0;
  margin: 20px 0;
}
.cuidados__composicion {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.cuidados__label {
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-500); white-space: nowrap;
}
.cuidados__valor {
  font-size: .85rem; color: var(--navy);
}
.cuidados__titulo {
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: 14px;
}
.cuidados__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.cuidados__item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
}
.cuidados__icono {
  width: 36px; height: 36px; color: var(--gray-700);
  flex-shrink: 0;
}
.cuidados__icono svg { width: 100%; height: 100%; }
.cuidados__item span {
  font-size: .68rem; color: var(--gray-500); line-height: 1.4;
}

.relacionados {
  padding: 64px 0 96px; background: var(--white);
  border-top: 1px solid var(--gray-100);
}


/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .producto-page__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 32px 0 64px;
  }
  .prod-name { font-size: clamp(1.4rem, 3vw, 1.9rem); }
}

/* Tablet y móvil (≤768px) */
@media (max-width: 768px) {
  .producto-breadcrumb { padding: calc(64px) 0 0; }
  .producto-breadcrumb .container { font-size: .72rem; padding: 10px 16px; }

  .producto-page__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 48px;
  }
  .producto-page__gallery { position: static; top: auto; }
  .producto-page__img-wrap {
    border-radius: 0;
    aspect-ratio: 3/4;
    box-shadow: none;
    background: var(--white);
  }
  .producto-page__img { padding: 0; object-fit: contain; }
  .producto-page__info { padding: 20px 16px 0; }

  .prod-eyebrow { font-size: .6rem; margin-bottom: 8px; }
  .prod-name { font-size: 1.35rem; line-height: 1.25; }
  .prod-ref { font-size: .65rem; margin-bottom: 14px; }
  .prod-price { font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 20px; }

  .prod-tallas__label { font-size: .6rem; margin-bottom: 10px; }
  .tallas-grid { gap: 8px; margin-bottom: 20px; }
  .talla-btn { min-width: 48px; padding: 12px; font-size: .85rem; }

  .prod-desc { font-size: .85rem; line-height: 1.75; }
  .prod-whatsapp-link { font-size: .72rem; padding: 10px 0; }

  .cuidados { padding: 16px 0; margin: 16px 0; }
  .cuidados__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cuidados__icono { width: 28px; height: 28px; }
  .cuidados__item span { font-size: .62rem; }

  .relacionados { padding: 40px 0 56px; }
  .relacionados .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* Móvil pequeño (≤480px) */
@media (max-width: 480px) {
  .producto-breadcrumb { padding: calc(56px) 0 0; }
  .producto-page__img-wrap { aspect-ratio: 3/4; }
  .producto-page__info { padding: 16px 14px 0; }
  .prod-name { font-size: 1.2rem; }
  .prod-price { font-size: 1.15rem; }
  .talla-btn { min-width: 44px; padding: 11px 8px; font-size: .82rem; }
  .cuidados__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .relacionados .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
}

/* ============================================
   GRID EDITORIAL DE COLECCIONES
   ============================================ */
.colecciones { padding: 0; }

.col-editorial {
  display: grid;
  grid-template-columns: 54% 1fr 1fr;
  grid-template-rows: repeat(2, 320px);
  gap: 3px;
}

.col-editorial__item {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.col-editorial__item--featured {
  grid-row: 1 / 3;
  grid-column: 1;
}

.col-editorial__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .9s cubic-bezier(.25,.46,.45,.94);
}

.col-editorial__item:hover .col-editorial__bg {
  transform: scale(1.06);
}

.col-editorial__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.18) 50%, transparent 100%);
  transition: background .4s ease;
}

.col-editorial__overlay--bihotza {
  background: linear-gradient(to top, rgba(10,0,0,.88) 0%, rgba(10,0,0,.45) 100%);
}

.col-editorial__item:hover .col-editorial__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 60%);
}

.col-editorial__item--bihotza:hover .col-editorial__overlay {
  background: linear-gradient(to top, rgba(10,0,0,.95) 0%, rgba(10,0,0,.6) 100%);
}

.col-editorial__body {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  z-index: 1;
}

.col-editorial__item--featured .col-editorial__body {
  bottom: 36px;
  left: 36px;
}

.col-editorial__pretitle {
  display: block;
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0,0,0,.8);
}

.col-editorial__title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,.9), 0 1px 4px rgba(0,0,0,.7);
}

.col-editorial__item--featured .col-editorial__title {
  font-size: 2.2rem;
  letter-spacing: .12em;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,.9), 0 1px 6px rgba(0,0,0,.8);
}

.col-editorial__desc {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 360px;
  text-shadow: 0 1px 8px rgba(0,0,0,.9);
}

.col-editorial__cta {
  display: inline-block;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.6);
  padding-bottom: 3px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
}

.col-editorial__item:hover .col-editorial__cta {
  opacity: 1;
  transform: translateY(0);
}

.col-editorial__bihotza-logo {
  display: block;
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
  opacity: .9;
}

.col-editorial__bg--calzado {
  background: linear-gradient(145deg, #1c1a18 0%, #3a3530 100%);
}

/* Responsive */
@media (max-width: 900px) {
  .col-editorial {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 200px 200px;
  }
  .col-editorial__item--featured {
    grid-row: 1;
    grid-column: 1 / 3;
  }
}

@media (max-width: 600px) {
  .col-editorial {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 160px 160px;
    gap: 2px;
  }
  .col-editorial__item--featured {
    grid-row: 1;
    grid-column: 1 / 3;
  }
  .col-editorial__item--featured .col-editorial__title { font-size: 1.5rem; }
  .col-editorial__body { bottom: 20px; left: 20px; right: 20px; }
  .col-editorial__item--featured .col-editorial__body { bottom: 24px; left: 24px; }
}
