/* ===== Cinturones L&M — sistema visual ===== */
:root {
  --crema:      #FCFBF9;
  --blanco:     #FFFFFF;
  --tinta:      #221B13;
  --tinta-alt:  #3A2F21;
  --cobre:      #A9773F;
  --cobre-osc:  #8A5F2E;
  --dorado:     #D9B37E;
  --arena:      #F3EDE4;
  --linea:      #EDE6DA;
  --borde:      #DCD2C2;
  --gris:       #8C8071;
  --texto:      #5C5346;
  --verde:      #4C7A3F;
  --verde-bg:   #EAF2E6;
  --rojo:       #A3442A;
  --rojo-bg:    #FBEDE9;
  --crema-osc:  #C9BFAF;
  --crm-fondo:  #F6F3EE;
  --crm-linea:  #E5DDCF;
  --pad-x:      clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: var(--crema); }

body {
  font-family: 'Manrope', 'Helvetica Neue', sans-serif;
  color: var(--tinta);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cobre); text-decoration: none; }
a:hover { color: var(--cobre-osc); }

img { max-width: 100%; }

input, select, button, textarea { font-family: 'Manrope', sans-serif; }
input:focus, button:focus-visible { outline: 2px solid var(--cobre); outline-offset: -1px; }

.serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
.contenedor { max-width: 1280px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.oculto { display: none !important; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn  { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes girar  { to { transform: rotate(360deg); } }

/* ===== Anuncio + header ===== */
.anuncio {
  background: var(--tinta); color: var(--arena); text-align: center;
  padding: 9px 16px; font-size: 13px; letter-spacing: 0.06em; font-weight: 600;
}

.cabecera {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px 20px;
  padding: 16px var(--pad-x);
  border-bottom: 1px solid var(--linea);
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 251, 249, 0.94);
  backdrop-filter: blur(8px);
}
.marca { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.marca-nombre { font-weight: 800; font-size: 21px; letter-spacing: 0.02em; color: var(--tinta); }
.marca-nombre span { color: var(--cobre); }
.marca-lema { font-size: 14px; color: var(--gris); }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px clamp(14px, 2.5vw, 28px); font-size: 14px; font-weight: 600; }
.nav a { color: var(--tinta); }
.nav a:hover { color: var(--cobre); }

/* ===== Botones ===== */
.btn {
  display: inline-block; border: none; border-radius: 999px; cursor: pointer;
  font-weight: 700; text-align: center; transition: background .18s, transform .18s, box-shadow .18s;
}
.btn-oscuro  { background: var(--tinta); color: var(--crema); padding: 15px 30px; font-size: 15px; }
.btn-oscuro:hover  { background: var(--tinta-alt); color: var(--crema); }
.btn-cobre   { background: var(--cobre); color: var(--blanco); padding: 11px 22px; font-size: 13.5px; font-weight: 700; }
.btn-cobre:hover   { background: var(--cobre-osc); color: var(--blanco); }
.btn-linea   { border: 1px solid var(--borde); background: var(--blanco); color: var(--tinta); border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 700; cursor: pointer; }
.btn-linea:hover   { border-color: var(--cobre); color: var(--cobre); }
.btn-texto   { padding: 15px 10px; font-weight: 700; font-size: 15px; color: var(--tinta); border-bottom: 2px solid var(--cobre); }
.btn-bloque  { width: 100%; padding: 17px; font-size: 16px; font-weight: 800; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ===== Hero ===== */
.hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(28px, 5vw, 56px); align-items: center;
  padding: clamp(36px, 6vw, 72px) var(--pad-x) clamp(44px, 7vw, 80px);
  max-width: 1280px; margin: 0 auto;
}
.hero-texto { animation: fadeUp .6s ease both; }
.pastilla {
  display: inline-block; background: var(--arena); color: var(--cobre-osc);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px); line-height: 1.06; margin: 0 0 20px;
  font-weight: 800; letter-spacing: -0.02em;
}
.hero h1 .serif { color: var(--cobre); }
.hero p { font-size: 17px; line-height: 1.6; color: var(--texto); margin: 0 0 32px; max-width: 46ch; }
.hero-acciones { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-datos { display: flex; gap: clamp(18px, 3vw, 32px); margin-top: 44px; flex-wrap: wrap; }
.hero-datos b { display: block; font-weight: 800; font-size: 18px; }
.hero-datos small { font-size: 13px; color: var(--gris); }
.hero-datos .div { width: 1px; background: var(--linea); }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: 24px; display: block;
  box-shadow: 0 30px 60px -30px rgba(34, 27, 19, .35);
  aspect-ratio: 4 / 3.9; max-height: 560px; object-fit: cover; object-position: center 30%;
}
.hero-nota {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(252, 251, 249, .95); border-radius: 14px; padding: 12px 18px;
  font-size: 13px; font-weight: 700; box-shadow: 0 8px 24px rgba(34, 27, 19, .12);
}

/* ===== Ventajas ===== */
.ventajas { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: var(--blanco); }
.ventajas-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px 24px; padding: 24px var(--pad-x);
}
.ventaja { display: flex; align-items: center; gap: 14px; }
.punto { width: 10px; height: 10px; border-radius: 50%; background: var(--cobre); flex-shrink: 0; }
.ventaja b { display: block; font-weight: 700; font-size: 14px; }
.ventaja small { font-size: 13px; color: var(--gris); }

/* ===== Colección ===== */
.seccion { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--pad-x); }
.seccion-cabeza {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 20px; margin-bottom: 32px;
}
.seccion-cabeza h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.seccion-cabeza .serif { color: var(--gris); font-size: 17px; }

.rejilla {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
.tarjeta {
  background: var(--blanco); border: 1px solid var(--linea); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.tarjeta:hover { box-shadow: 0 20px 44px -20px rgba(34, 27, 19, .25); transform: translateY(-3px); }
.tarjeta-img { position: relative; aspect-ratio: 4 / 3; background: var(--arena); display: block; }
.tarjeta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.etiqueta {
  position: absolute; top: 14px; left: 14px; background: var(--tinta); color: var(--arena);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; padding: 6px 12px; border-radius: 999px;
}
.tarjeta-cuerpo { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tarjeta-nombre { font-weight: 700; font-size: 16.5px; color: var(--tinta); }
.tarjeta-nombre:hover { color: var(--cobre); }
.tarjeta-desc { font-size: 13px; color: var(--gris); line-height: 1.5; }
.tarjeta-pie {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 14px; gap: 10px;
}
.tarjeta-precio { font-weight: 800; font-size: 17px; }

/* ===== Nosotras ===== */
.nosotras { background: var(--tinta); color: var(--arena); }
.nosotras-grid {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(44px, 7vw, 80px) var(--pad-x);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.nosotras h2 { font-size: clamp(28px, 4.5vw, 38px); font-weight: 800; margin: 0 0 18px; letter-spacing: -0.02em; }
.nosotras h2 .serif { color: var(--dorado); }
.nosotras p { font-size: 16px; line-height: 1.7; color: var(--crema-osc); margin: 0 0 28px; }
.nosotras-datos { display: flex; gap: clamp(22px, 4vw, 40px); flex-wrap: wrap; }
.nosotras-datos b { display: block; font-weight: 800; font-size: 26px; color: var(--dorado); }
.nosotras-datos small { font-size: 13px; color: var(--crema-osc); }
.nosotras img { width: 100%; border-radius: 20px; display: block; aspect-ratio: 5 / 4; object-fit: cover; }

/* ===== Newsletter ===== */
.boletin {
  background: var(--arena); border-radius: 24px; padding: clamp(26px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(22px, 4vw, 48px); align-items: center;
}
.boletin h2 { font-size: clamp(25px, 4vw, 32px); font-weight: 800; margin: 0 0 10px; letter-spacing: -0.02em; }
.boletin p { font-size: 15px; color: var(--texto); margin: 0; line-height: 1.6; }
.boletin-form { display: flex; gap: 10px; flex-wrap: wrap; }
.boletin-form input {
  flex: 1; min-width: 200px; border: 1px solid var(--borde); border-radius: 999px;
  padding: 14px 22px; font-size: 15px; background: var(--blanco);
}
.boletin-form button { background: var(--tinta); color: var(--crema); border: none; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 14px; cursor: pointer; }
.boletin-ok {
  background: var(--blanco); border-radius: 16px; padding: 24px 28px;
  font-weight: 700; color: var(--verde); font-size: 15px;
}

/* ===== Footer ===== */
.pie { background: var(--tinta); color: var(--crema-osc); }
.pie-in {
  max-width: 1180px; margin: 0 auto; padding: clamp(44px, 6vw, 72px) var(--pad-x) 32px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px);
}
.pie-marca { font-weight: 800; color: var(--crema); font-size: 20px; letter-spacing: .01em; }
.pie-marca span { color: var(--dorado); }
.pie-lema { font-size: 14px; line-height: 1.6; color: var(--crema-osc); margin: 12px 0 20px; max-width: 34ch; }
.pie-pagos .pagos-seguros-lista { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.pie-pagos .pagos-seguros-item svg { width: 46px; }

.pie-col h4 {
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--crema); margin: 0 0 16px;
}
.pie-col a, .pie-col .pie-nota {
  display: block; font-size: 14px; color: var(--crema-osc);
  text-decoration: none; margin-bottom: 11px; transition: color .15s;
}
.pie-col a:hover { color: var(--dorado); }
.pie-nota { color: #8f8577; }

.pie-bajo {
  border-top: 1px solid rgba(252, 251, 249, .1);
  max-width: 1180px; margin: 0 auto; padding: 20px var(--pad-x);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: #8f8577;
}

@media (max-width: 860px) {
  .pie-in { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .pie-marca-col { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .pie-in { grid-template-columns: 1fr; }
  .pie-bajo { flex-direction: column; }
}

/* ===== Ficha de producto ===== */
.miga { font-size: 13px; color: var(--gris); margin-bottom: 22px; }
.miga b { color: var(--tinta); }
.pdp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: start; }
.galeria { position: sticky; top: 92px; }
.galeria-principal { position: relative; border-radius: 20px; overflow: hidden; background: var(--arena); aspect-ratio: 1 / 1; }
.galeria-principal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.descuento {
  position: absolute; top: 16px; right: 16px; background: var(--rojo); color: var(--blanco);
  font-size: 12px; font-weight: 800; padding: 7px 14px; border-radius: 999px;
}
.miniaturas { display: flex; gap: 10px; margin-top: 12px; }
.miniatura {
  position: relative; overflow: hidden; flex: 1; aspect-ratio: 1 / 1; border-radius: 12px;
  cursor: pointer; padding: 0; background: var(--arena); border: 1px solid var(--linea);
}
.miniatura img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.miniatura.activa { border: 2px solid var(--cobre); }

.pdp-estrellas { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.estrellas { color: var(--cobre); font-size: 15px; letter-spacing: 2px; }
.pdp h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; line-height: 1.1; }
.pdp-precios { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.pdp-precio { font-size: 30px; font-weight: 800; }
.pdp-antes { font-size: 18px; color: var(--gris); text-decoration: line-through; }
.pdp-ahorro { background: var(--rojo-bg); color: var(--rojo); font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.pdp-desc { font-size: 15.5px; line-height: 1.65; color: var(--texto); margin: 0 0 20px; }
.aviso-stock {
  background: #FBF6EE; border: 1px solid #EAD9BE; border-radius: 14px; padding: 13px 18px;
  font-size: 13.5px; font-weight: 700; color: var(--cobre-osc); margin-bottom: 20px;
}

/* Barra de prueba social */
.prueba-social {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--blanco); border-radius: 8px; padding: 7px 15px;
  margin-bottom: 20px; box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
}
.ps-avatares { display: flex; flex-shrink: 0; }
.ps-avatar {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--blanco);
  margin-left: -7px; object-fit: cover;
}
.ps-avatar:first-child { margin-left: 0; }
.ps-inicial {
  display: flex; align-items: center; justify-content: center;
  background: var(--arena); color: var(--cobre-osc); font-size: 11px; font-weight: 800;
}
.ps-texto {
  margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
  font-size: 12.5px; color: var(--tinta); line-height: 1.3;
}
.ps-texto strong { font-weight: 800; }
.ps-verificado { width: 14px; height: 14px; flex-shrink: 0; }
.pdp-compra { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.pdp-compra .btn { flex: 1; min-width: 200px; padding: 16px 24px; font-size: 16px; font-weight: 800; }
.pdp-seguro { text-align: center; font-size: 13px; color: var(--verde); font-weight: 700; margin-bottom: 24px; }

/* Sellos de medios de pago, bajo el botón de compra */
.pagos-seguros { margin: 4px 0 24px; }
.pagos-seguros-texto {
  width: 100%; text-align: center; margin: 0 0 6px;
  font-size: 13px; font-weight: 700; color: var(--gris); letter-spacing: .02em;
}
.pagos-seguros-lista {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px;
}
.pagos-seguros-item { display: flex; justify-content: center; align-items: center; }
.pagos-seguros-item svg { width: 56px; height: auto; display: block; }

@media (max-width: 450px) {
  .pagos-seguros-item svg { width: 62px; }
}

.cantidad { display: flex; align-items: center; border: 1px solid var(--borde); border-radius: 999px; background: var(--blanco); }
.cantidad button { border: none; background: none; width: 44px; height: 46px; font-size: 18px; cursor: pointer; color: var(--tinta); }
.cantidad span { font-weight: 800; font-size: 16px; min-width: 26px; text-align: center; }

/* ===== Consentimiento de datos ===== */
.consentimiento {
  margin-top: 20px; display: flex; flex-direction: column; gap: 10px;
  background: var(--arena); border-radius: 12px; padding: 14px 16px;
}
.chulo-legal {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; line-height: 1.45; color: var(--texto); cursor: pointer;
}
.chulo-legal input[type="checkbox"] {
  width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--cobre);
  flex-shrink: 0; cursor: pointer;
}
.chulo-legal em { color: var(--gris); font-style: normal; }
.chulo-legal a { font-weight: 700; text-decoration: underline; }

/* ===== Aviso de cookies ===== */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 560px; margin: 0 auto;
  background: var(--crema); border: 1px solid var(--borde); border-radius: 16px;
  box-shadow: 0 18px 50px -18px rgba(34, 27, 19, .4);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  animation: fadeUp .35s ease both;
}
/* display:flex ganaba al atributo [hidden] del navegador, y el aviso no se cerraba. */
.cookies[hidden], .cookies.oculto { display: none; }

.cookies-texto { flex: 1; min-width: 220px; }
.cookies-texto b { font-size: 14px; }
.cookies-texto p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--texto); }
.cookies-botones { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-cookies-si, .btn-cookies-no {
  border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 700; cursor: pointer;
  white-space: nowrap;
}
.btn-cookies-si { background: var(--tinta); color: var(--crema); border: none; }
.btn-cookies-si:hover { background: var(--tinta-alt); }
.btn-cookies-no { background: var(--blanco); color: var(--tinta); border: 1px solid var(--borde); }
.btn-cookies-no:hover { border-color: var(--cobre); }

@media (max-width: 560px) {
  .cookies { bottom: 90px; }        /* no tapa la barra de compra de la ficha */
  .cookies-botones { width: 100%; }
  .cookies-botones button { flex: 1; }
}

/* ===== Páginas legales ===== */
.legal { max-width: 780px; padding-top: 40px; padding-bottom: 60px; }
.legal-fecha { font-size: 12.5px; color: var(--gris); margin: 0 0 6px; }
.legal h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 22px; }
.legal h2 { font-size: 18px; font-weight: 800; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--texto); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal-pie { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--linea); font-size: 13.5px; color: var(--gris); }

/* ===== Selector de tallas ===== */
.tallas { margin-bottom: 20px; }
.tallas-cabeza { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tallas-guia { font-size: 12.5px; font-weight: 700; }
.tallas-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); gap: 8px; }

.talla {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1.5px solid var(--borde); background: var(--blanco); color: var(--tinta);
  border-radius: 12px; padding: 10px 6px; cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.talla:hover:not(:disabled) { border-color: var(--cobre); }
.talla:active:not(:disabled) { transform: scale(.97); }
.talla b { font-size: 15px; font-weight: 800; }
.talla small { font-size: 10.5px; color: var(--gris); white-space: nowrap; }

.talla.elegida {
  border-color: var(--tinta); background: var(--tinta); color: var(--crema);
  border-width: 2px; padding: 9.5px 6px;
}
.talla.elegida small { color: var(--crema-osc); }

.talla.agotada { opacity: .45; cursor: not-allowed; background: var(--arena); }
/* Línea diagonal: se ve de un vistazo que esa talla no está */
.talla.agotada::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top right, transparent 47%, var(--borde) 47%, var(--borde) 53%, transparent 53%);
}
.talla-aviso {
  position: absolute; top: -7px; right: -5px;
  background: var(--rojo); color: #fff; font-style: normal;
  font-size: 9.5px; font-weight: 800; padding: 2px 5px; border-radius: 999px;
}

.talla-error {
  margin-top: 8px; background: var(--rojo-bg); color: var(--rojo);
  border-radius: 10px; padding: 9px 14px; font-size: 13px; font-weight: 700;
}
.talla-stock { margin-top: 8px; font-size: 13px; font-weight: 700; min-height: 18px; }
.talla-stock.hay  { color: var(--verde); }
.talla-stock.poco { color: var(--rojo); }

/* Cuando intenta comprar sin talla, el bloque parpadea para llamar la atención */
@keyframes pideTalla {
  0%, 100% { box-shadow: 0 0 0 0 rgba(163, 68, 42, 0); }
  50%      { box-shadow: 0 0 0 5px rgba(163, 68, 42, .18); }
}
.tallas.pide-talla { animation: pideTalla .6s ease 2; border-radius: 14px; }

.tabla-tallas { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tabla-tallas th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--gris); padding-bottom: 6px; border-bottom: 1px solid var(--linea);
}
.tabla-tallas td { padding: 8px 0; border-bottom: 1px solid var(--arena); }
.tabla-tallas tr:last-child td { border-bottom: none; }

/* Talla elegida, dentro del popup de compra */
.ck-talla {
  display: inline-block; margin-top: 8px;
  background: var(--blanco); border: 1px solid var(--borde); border-radius: 999px;
  padding: 4px 12px; font-size: 12.5px; color: var(--texto);
}
.ck-talla b { font-weight: 800; color: var(--tinta); }

/* Chips de confianza */
.chips {
  width: 100%; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin-bottom: 28px;
}
/* Base = móvil: chips compactos (así estaban cuando quedaron bien en el teléfono). */
.chip {
  width: max-content; max-width: 100%;
  background: #EEEEEE; border-radius: 5px;
  border: 1px solid #039903;
  box-shadow: 0 0 6px rgba(3, 153, 3, .45), 0 0 2px rgba(3, 153, 3, .6);
  padding: 3px 8px;
  font-size: 11px; font-weight: 700; line-height: 20px; color: #2E2F3C;
  display: flex; align-items: center; gap: 5px;
  animation: brilloVerde 2.6s ease-in-out infinite;
}
.chip:nth-child(2) { animation-delay: .35s; }
.chip:nth-child(3) { animation-delay: .7s; }
.chip svg { flex-shrink: 0; color: #039903; width: 15px; height: 15px; }

/* En escritorio se lucen más: son un argumento de venta, no una nota al pie.
   Rejilla de tres columnas iguales para que quepan en una sola fila; en flex,
   al agrandarlos, el tercero se caía a una segunda línea y quedaba descuadrado. */
@media (min-width: 761px) {
  .chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .chip {
    width: auto; justify-content: center; text-align: center;
    padding: 11px 10px; font-size: 14.5px; border-radius: 10px; gap: 8px;
    border-width: 2px;
    box-shadow: 0 0 8px rgba(3, 153, 3, .45), 0 0 3px rgba(3, 153, 3, .6);
    animation-name: brilloVerdeXL;
  }
  .chip svg { width: 21px; height: 21px; }
}

@keyframes brilloVerde {
  0%, 100% { box-shadow: 0 0 5px rgba(3, 153, 3, .35), 0 0 1px rgba(3, 153, 3, .5); }
  50%      { box-shadow: 0 0 12px rgba(3, 153, 3, .75), 0 0 4px rgba(3, 153, 3, .8); }
}

/* El mismo latido, más amplio, para los chips grandes de escritorio. */
@keyframes brilloVerdeXL {
  0%, 100% { box-shadow: 0 0 7px rgba(3, 153, 3, .35), 0 0 2px rgba(3, 153, 3, .5); }
  50%      { box-shadow: 0 0 18px rgba(3, 153, 3, .75), 0 0 6px rgba(3, 153, 3, .8); }
}

@media (prefers-reduced-motion: reduce) {
  .chip { animation: none; }
}

.acordeon { border-top: 1px solid var(--linea); }
.acordeon summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 2px; font-size: 14.5px; font-weight: 800; cursor: pointer;
  list-style: none; color: var(--tinta);
}
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: '+'; color: var(--cobre); font-size: 17px; }
.acordeon[open] summary::after { content: '−'; }
.acordeon .cuerpo { padding: 0 2px 18px; font-size: 14px; line-height: 1.65; color: var(--texto); }

.resena { background: var(--blanco); border: 1px solid var(--linea); border-radius: 18px; padding: 22px; }
.resena-texto { font-size: 14px; line-height: 1.6; color: var(--texto); margin: 10px 0 14px; }
.resena-autor { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--arena); color: var(--cobre-osc);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.resena-autor b { display: block; font-weight: 700; font-size: 13.5px; }
.resena-autor small { font-size: 12px; color: var(--gris); }

.barra-movil {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: rgba(252, 251, 249, .97); border-top: 1px solid var(--linea);
  padding: 12px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  backdrop-filter: blur(8px);
}
.barra-movil b { font-weight: 800; font-size: 15px; }
.barra-movil small { font-size: 13px; color: var(--gris); }
.barra-movil .btn { padding: 13px 26px; font-size: 14px; font-weight: 800; white-space: nowrap; }
/* La barra fija de compra es solo para móvil: en escritorio tapaba el botón real. */
@media (min-width: 761px) { .barra-movil { display: none; } }

/* ===== Modal de checkout ===== */
.velo {
  position: fixed; inset: 0; background: rgba(24, 19, 13, .55); backdrop-filter: blur(3px);
  z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal {
  background: var(--crema); border-radius: 24px; width: 880px; max-width: 100%;
  max-height: 92vh; overflow: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  animation: popIn .25s ease both;
}
.modal-resumen { background: var(--arena); padding: clamp(20px, 3vw, 32px) clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px; }
/* Sin caja de proporción fija: cada cinturón tiene la suya (el tejido bicolor es
   casi 3.4:1). Con altura automática la imagen ocupa exactamente lo que mide y
   no queda ni recorte ni fondo vacío alrededor. */
.modal-resumen img {
  width: 100%; height: auto; border-radius: 16px; display: block;
}
.modal-resumen h4 { margin: 0 0 4px; font-weight: 800; font-size: 19px; }
.modal-resumen .desc { font-size: 13px; color: var(--gris); line-height: 1.5; }
.modal-cuentas { border-top: 1px solid var(--borde); padding-top: 16px; }
.linea-cuenta { display: flex; justify-content: space-between; font-size: 14px; color: var(--texto); margin-bottom: 8px; }
.linea-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 19px; }
.gratis { color: var(--verde); font-weight: 700; }

.modal-form { padding: clamp(20px, 3.5vw, 32px) clamp(18px, 3.5vw, 36px); }
.modal-form-cabeza { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.modal-form-cabeza h3 { margin: 0; font-size: 22px; font-weight: 800; }
.cerrar { border: none; background: var(--arena); border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 15px; color: var(--tinta); }
.campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.campo-ancho { grid-column: 1 / -1; }
.campos label, .etiqueta-campo { font-size: 12.5px; font-weight: 700; display: block; margin-bottom: 6px; }
.campos input {
  width: 100%; border: 1px solid var(--borde); border-radius: 12px;
  padding: 12px 16px; font-size: 14.5px; background: var(--blanco);
}
.pagos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pago {
  text-align: left; border: 1px solid var(--borde); background: var(--blanco);
  border-radius: 14px; padding: 13px 15px; cursor: pointer;
}
.pago.activo { border: 2px solid var(--cobre); background: #FBF6EE; padding: 12px 14px; }
.pago b { display: block; font-weight: 800; font-size: 13.5px; margin-bottom: 3px; }
.pago small { font-size: 11.5px; color: var(--gris); line-height: 1.4; }
.error {
  margin-top: 16px; background: var(--rojo-bg); color: var(--rojo); border-radius: 12px;
  padding: 12px 16px; font-size: 13.5px; font-weight: 600;
}
.nota-segura { text-align: center; font-size: 12px; color: var(--gris); margin-top: 12px; }

/* ===== Procesando ===== */
.velo-procesando {
  position: fixed; inset: 0; background: rgba(24, 19, 13, .72); backdrop-filter: blur(4px);
  z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.procesando {
  background: var(--crema); border-radius: 24px; width: 360px; max-width: 100%;
  padding: 44px 36px; text-align: center; animation: popIn .25s ease both;
}
.spinner {
  width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%;
  border: 4px solid var(--arena); border-top-color: var(--cobre);
  animation: girar .9s linear infinite;
}
.procesando b { display: block; font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.procesando small { font-size: 13.5px; color: var(--gris); line-height: 1.5; }

/* ===== Página de gracias ===== */
.gracias-fondo {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 5vw, 48px) 16px; background: var(--arena);
}
.gracias {
  background: var(--crema); border-radius: 28px; max-width: 640px; width: 100%;
  padding: clamp(26px, 6vw, 56px); text-align: center;
  box-shadow: 0 30px 80px -40px rgba(34, 27, 19, .35); animation: popIn .4s ease both;
}
.check {
  width: 74px; height: 74px; border-radius: 50%; background: var(--verde-bg); color: var(--verde);
  font-size: 32px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; font-weight: 800;
}
.check.espera { background: #FBF3E4; color: #9A6B1F; }
.check.falla  { background: var(--rojo-bg); color: var(--rojo); }
.gracias .serif { color: var(--cobre); font-size: 19px; display: block; margin-bottom: 6px; }
.gracias h1 { font-size: clamp(28px, 6vw, 38px); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; }
.gracias > p { font-size: 15.5px; color: var(--texto); line-height: 1.6; margin: 0 0 30px; }
.recuadro {
  background: var(--blanco); border: 1px solid var(--linea); border-radius: 18px;
  padding: 20px 24px; text-align: left; margin-bottom: 20px;
}
.recuadro-producto { display: flex; gap: 16px; align-items: center; }
.recuadro-producto img { width: 76px; height: 76px; flex-shrink: 0; border-radius: 14px; object-fit: cover; }
.recuadro-producto b { font-weight: 800; font-size: 15px; }
.recuadro-producto small { display: block; font-size: 13px; color: var(--gris); margin-top: 3px; }
.recuadro-producto .total { font-weight: 800; font-size: 16px; margin-top: 6px; }
.fila-dato { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; margin-bottom: 10px; }
.fila-dato:last-child { margin-bottom: 0; }
.fila-dato span { color: var(--gris); }
.fila-dato b { font-weight: 700; text-align: right; }
.cupon {
  background: #FBF6EE; border: 1px dashed #C9A468; border-radius: 16px;
  padding: 18px 22px; margin-bottom: 28px;
}
.cupon-titulo { font-size: 12.5px; font-weight: 700; color: var(--cobre-osc); letter-spacing: 0.08em; margin-bottom: 4px; }
.cupon-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cupon-codigo { font-weight: 800; font-size: 19px; letter-spacing: 0.06em; }
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 32px; }
.paso { border-top: 3px solid var(--borde); padding-top: 12px; }
.paso.hecho { border-top-color: var(--cobre); }
.paso b { display: block; font-weight: 800; font-size: 13px; color: var(--gris); }
.paso.hecho b { color: var(--tinta); }
.paso small { font-size: 12px; color: var(--gris); }
.gracias-acciones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.solo-movil { display: none; }

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .galeria { position: static; }
  .marca-lema { display: none; }
  .pdp-compra .btn { min-width: 0; }

  /* Cabecera de la ficha en una sola fila: el botón de volver ya no se cae
     debajo del logo y la barra pegajosa roba mucha menos altura. */
  .cabecera-pdp { flex-wrap: nowrap; gap: 10px; padding: 12px 16px; }
  .cabecera-pdp .marca-nombre { font-size: 17px; white-space: nowrap; }
  .cabecera-pdp .btn-linea { flex-shrink: 0; padding: 7px 13px; font-size: 12.5px; white-space: nowrap; }
  .solo-escritorio { display: none; }
  .solo-movil { display: inline; }

  /* Safari en iOS hace zoom automático al enfocar un campo con menos de 16px,
     y eso descuadra el checkout entero. A 16px no hace zoom. */
  .campos input,
  .boletin-form input,
  .velo input { font-size: 16px; }

  /* Zonas táctiles cómodas (mínimo 44px, guía de Apple). */
  .cerrar { width: 44px; height: 44px; font-size: 17px; }
  .modal-resumen .cantidad button { width: 46px; height: 46px; }
}

/* ============================================================
   LA BOLSA
   ============================================================ */

.cabecera-acciones { display: flex; align-items: center; gap: 10px; }

.btn-cesta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--borde);
  border-radius: 999px;
  background: var(--blanco);
  color: var(--tinta);
  cursor: pointer;
  transition: border-color .18s, transform .18s;
}
.btn-cesta:hover { border-color: var(--cobre); transform: translateY(-1px); }

.cesta-cuenta {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cobre);
  color: var(--crema);
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
}

/* --- Panel lateral --- */
.velo-cesta {
  position: fixed; inset: 0; z-index: 90;
  display: flex; justify-content: flex-end;
  background: rgba(34, 27, 19, .5);
  backdrop-filter: blur(2px);
}
.velo-cesta[hidden], .velo-cesta.oculto { display: none; }

.cesta-panel {
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  background: var(--crema);
  box-shadow: -20px 0 60px rgba(34, 27, 19, .2);
  animation: entra-cesta .28s ease;
}
@keyframes entra-cesta { from { transform: translateX(100%); } to { transform: none; } }

.cesta-cabeza {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--linea);
}
.cesta-cabeza h3 { font-size: 18px; font-weight: 800; }
.cesta-articulos { color: var(--gris); font-weight: 600; }

/* Barra de envío gratis: es lo que anima a añadir el segundo cinturón. */
.cesta-envio { padding: 14px 22px; background: var(--arena); }
.cesta-envio-texto { font-size: 13px; color: var(--texto); margin-bottom: 8px; }
.cesta-envio.logrado .cesta-envio-texto { color: var(--verde); }
.cesta-barra {
  height: 6px; border-radius: 999px;
  background: var(--borde); overflow: hidden;
}
.cesta-barra i {
  display: block; height: 100%; width: 0;
  background: var(--cobre);
  border-radius: 999px;
  transition: width .4s ease;
}
.cesta-envio.logrado .cesta-barra i { background: var(--verde); }

.cesta-lineas { flex: 1; overflow-y: auto; padding: 6px 22px; }

.cesta-linea {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--linea);
}
.cesta-linea img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.cesta-linea-info b { display: block; font-size: 14px; line-height: 1.3; }
.cesta-linea-info small { display: block; color: var(--gris); font-size: 12px; margin: 3px 0 8px; }

.cantidad-mini button { width: 28px; height: 28px; font-size: 15px; }
.cantidad-mini span { min-width: 24px; font-size: 14px; }
.cantidad-mini button:disabled { opacity: .35; cursor: not-allowed; }

.cesta-linea-precio { text-align: right; }
.cesta-linea-precio b { display: block; font-size: 15px; font-weight: 800; }
.cesta-linea-precio .js-quitar {
  margin-top: 6px;
  border: 0; background: none; padding: 0;
  color: var(--gris); font-size: 12px;
  text-decoration: underline; cursor: pointer;
}
.cesta-linea-precio .js-quitar:hover { color: var(--rojo); }

.cesta-vacia { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 40px 22px; text-align: center; }
/* display:flex gana a [hidden] (display:none). Sin esto, el mensaje de bolsa vacía
   se quedaba visible aunque hubiera productos. */
.cesta-vacia[hidden], .cesta-pie[hidden], .cesta-envio[hidden], .cesta-ahorro[hidden] { display: none; }
.cesta-vacia-icono { font-size: 44px; }
.cesta-vacia p { color: var(--gris); font-size: 14px; margin-bottom: 12px; }

.cesta-pie { padding: 18px 22px 22px; border-top: 1px solid var(--linea); background: var(--blanco); }
.cesta-pie .btn-bloque { margin-top: 14px; }
.cesta-seguir {
  width: 100%; margin-top: 10px;
  border: 0; background: none; padding: 8px;
  color: var(--gris); font-size: 13px; cursor: pointer;
  text-decoration: underline;
}

/* --- Añadir a la bolsa (ficha de producto) --- */
.btn-linea-ancho {
  width: 100%;
  margin-top: 10px;
  border: 1.5px solid var(--tinta);
  background: transparent;
  color: var(--tinta);
}
.btn-linea-ancho:hover { background: var(--tinta); color: var(--crema); }

.anadido {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--verde-bg);
  color: var(--verde);
  font-size: 13px; font-weight: 700;
  text-align: center;
}
.anadido .enlace {
  border: 0; background: none; padding: 0;
  color: var(--verde); font-weight: 800;
  text-decoration: underline; cursor: pointer;
}

/* --- Varias líneas dentro del checkout --- */
.ck-varios-titulo { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.ck-linea {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--linea);
}
.ck-linea img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.ck-linea b { display: block; font-size: 13px; line-height: 1.3; }
.ck-linea small { color: var(--gris); font-size: 12px; }
.ck-linea span { font-size: 14px; font-weight: 700; }

@media (max-width: 760px) {
  .cesta-panel { width: 100%; }
  .cesta-linea { grid-template-columns: 64px 1fr auto; }
  .cesta-linea img { width: 64px; height: 64px; }
  .cantidad-mini button { width: 34px; height: 34px; }
  .btn-cesta { width: 44px; height: 44px; }
}

/* ============================================================
   BADGE DE RESEÑAS (bajo el título / las imágenes en móvil)
   ============================================================ */
.reviews-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  text-decoration: none;
}
.star-reviews {
  position: relative;
  display: inline-block;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
}
.star-reviews .star-bg { color: #E4E0D6; }
.star-reviews .star-fg {
  position: absolute; left: 0; top: 0;
  width: var(--pct, 90%);
  overflow: hidden;
  color: #F5B301; /* amarillo de reseñas, como el código original */
}
.text-grey { font-size: 14px; color: #868686; }
.text-grey strong { font-weight: 800; color: var(--tinta); }

/* ============================================================
   OFERTA POR CANTIDAD (1 / 2 / 3) — selector en la ficha
   ============================================================ */
.oferta { display: grid; gap: 10px; margin: 6px 0 18px; }
.oferta-titulo { font-size: 13px; font-weight: 800; letter-spacing: .02em; margin-bottom: 2px; }
.oferta-titulo span { color: var(--gris); font-weight: 600; }

.oferta-op {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--borde);
  border-radius: 14px;
  background: var(--blanco);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.oferta-op:hover { border-color: var(--dorado); }
.oferta-op.elegida {
  border-color: var(--cobre);
  background: #FBF6EE;
  box-shadow: 0 0 0 3px rgba(169, 119, 63, .14);
}
.oferta-op.agotada { opacity: .5; cursor: not-allowed; box-shadow: none; }

.oferta-radio {
  width: 20px; height: 20px; border-radius: 999px;
  border: 2px solid var(--borde); position: relative; flex: none;
}
.oferta-op.elegida .oferta-radio { border-color: var(--cobre); }
.oferta-op.elegida .oferta-radio::after {
  content: ''; position: absolute; inset: 3px; border-radius: 999px; background: var(--cobre);
}

.oferta-cuerpo { min-width: 0; }
.oferta-cuerpo b { display: block; font-size: 15px; }
.oferta-cuerpo small { display: block; font-size: 12.5px; color: var(--gris); margin-top: 2px; }
.oferta-ahorro { color: var(--verde); font-weight: 700; }
.oferta-gratis { color: var(--cobre); font-weight: 700; }
.oferta-nota:empty { display: none; }
.oferta-nota { color: var(--rojo); font-weight: 600; }

.oferta-precio { text-align: right; white-space: nowrap; }
.oferta-precio .ahora { display: block; font-weight: 800; font-size: 16px; }
.oferta-precio .antes { display: block; font-size: 12px; color: var(--gris); text-decoration: line-through; }

.oferta-tag {
  position: absolute; top: -9px; right: 14px;
  background: var(--cobre); color: var(--crema);
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
  padding: 3px 9px; border-radius: 999px;
}

/* Fila de compra: botón grande + icono de carrito */
.pdp-compra { display: flex; gap: 10px; align-items: stretch; }
.pdp-compra .btn-cobre { flex: 1; }
.btn-icono-cesta {
  flex: none; width: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--tinta); border-radius: 14px;
  background: var(--blanco); color: var(--tinta);
  cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.btn-icono-cesta:hover { background: var(--tinta); color: var(--crema); transform: translateY(-1px); }
.btn-icono-cesta:active { transform: none; }

/* Ahorro dentro de la bolsa */
.linea-ahorro { color: var(--verde); font-weight: 700; }
.cesta-linea-precio s { display: block; font-size: 12px; color: var(--gris); }

/* ============================================================
   CUPÓN DE DESCUENTO (dentro del checkout)
   ============================================================ */
.ck-cupon { margin: 4px 0 16px; }
.ck-cupon-fila { display: flex; gap: 8px; }
.ck-cupon-fila input {
  flex: 1; padding: 11px 14px;
  border: 1.5px dashed var(--borde); border-radius: 10px;
  background: var(--blanco); font-size: 14px; text-transform: uppercase;
}
.ck-cupon-fila input:focus { outline: none; border-color: var(--cobre); border-style: solid; }
.ck-cupon-fila button {
  flex: none; padding: 0 18px;
  border: 1.5px solid var(--tinta); border-radius: 10px;
  background: var(--tinta); color: var(--crema);
  font-weight: 700; font-size: 14px; cursor: pointer;
  transition: opacity .15s;
}
.ck-cupon-fila button:hover { opacity: .88; }
.ck-cupon-fila[hidden] { display: none; }

.ck-cupon-ok {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--verde-bg); color: var(--verde);
  font-size: 13px; font-weight: 700;
}
.ck-cupon-ok[hidden] { display: none; }
.ck-cupon-ok button {
  border: 0; background: none; color: var(--verde);
  font-size: 12px; text-decoration: underline; cursor: pointer;
}
.ck-cupon-error {
  margin-top: 8px; font-size: 13px; color: var(--rojo); font-weight: 600;
}
.ck-cupon-error[hidden] { display: none; }
.linea-ahorro[hidden] { display: none; }

/* ============================================================
   FRANJAS DE PRODUCTO — secciones a todo el ancho, color alterno
   ============================================================ */
.franja { width: 100%; }
.franja-in { max-width: 1120px; margin: 0 auto; padding: clamp(46px, 7vw, 88px) var(--pad-x); }
.franja--claro { background: var(--crema); }
.franja--oro   { background: var(--arena); }
.franja--tinta { background: var(--tinta); color: var(--crema); }

.franja-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cobre); margin-bottom: 12px;
}
.franja--tinta .franja-eyebrow { color: var(--dorado); }
.franja h2 {
  font-size: clamp(26px, 4vw, 40px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 14px;
}
.franja--tinta h2 { color: var(--crema); }
.franja-lede { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; color: var(--texto); max-width: 62ch; margin: 0; }
.franja--tinta .franja-lede { color: var(--crema-osc); }
.franja-centro { text-align: center; max-width: 720px; margin: 0 auto; }
.franja-lede-centro { margin-left: auto; margin-right: auto; }

/* Beneficios en columnas (franja oscura) */
.benef { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(30px, 4vw, 50px); }
.benef-ic { width: 44px; height: 44px; color: var(--dorado); margin-bottom: 14px; }
.benef-item b { display: block; font-size: 16px; margin-bottom: 6px; color: var(--crema); }
.benef-item p { font-size: 14px; line-height: 1.55; color: var(--crema-osc); margin: 0; }

/* Pasos del proceso artesanal */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); margin-top: clamp(30px, 4vw, 48px); }
.paso-n { font-size: 34px; font-weight: 800; color: var(--dorado); line-height: 1; margin-bottom: 12px; letter-spacing: -0.02em; }
.paso b { display: block; font-size: 17px; margin-bottom: 6px; }
.paso p { font-size: 14px; line-height: 1.55; color: var(--texto); margin: 0; }

/* Materiales */
.mats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: clamp(28px, 3.5vw, 44px); }
.mat { background: var(--blanco); border: 1px solid var(--linea); border-radius: 16px; padding: 24px 22px; }
.mat-ic { width: 36px; height: 36px; color: var(--cobre); margin-bottom: 12px; }
.mat b { display: block; font-size: 16px; margin-bottom: 6px; }
.mat p { font-size: 13.5px; line-height: 1.55; color: var(--texto); margin: 0; }

/* Garantía (statement centrado) */
.garantia-band .franja-in { max-width: 720px; text-align: center; }
.garantia-sello { width: 60px; height: 60px; color: var(--dorado); margin: 0 auto 18px; }
.garantia-band .btn { margin-top: 24px; }

/* ===== Lista de beneficios (bajo el precio, reemplaza la descripción) ===== */
.pdp-beneficios {
  list-style: none; padding: 0; margin: 8px 0 22px;
  display: grid; gap: 12px;
}
.pdp-beneficios li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; line-height: 1.5; color: var(--tinta); font-weight: 500;
}
.pdp-beneficios li svg {
  flex: none; width: 24px; height: 24px; padding: 4px; box-sizing: border-box;
  border-radius: 999px; background: #F3E7D2; color: var(--cobre-osc); margin-top: 1px;
}

/* ===== Carrusel de reseñas (marquee) ===== */
.resenas-band { overflow: hidden; }
/* Versión "desnuda": solo el slider, dentro de la columna del producto */
.marquee-desnudo { padding: 6px 0; margin: 6px 0 20px; }
.marquee-desnudo .resena-mini { flex-basis: 300px; }
.resenas-band .franja-in { padding-bottom: clamp(28px, 3vw, 40px); }
.marquee {
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px) 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee { cursor: pointer; }
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: correr-resenas 48s linear infinite;
}
/* Se pausa/reanuda al tocarlo (clic o dedo), no con hover: en móvil el hover se
   quedaba pegado y el slider no volvía a arrancar. */
.marquee.pausado .marquee-track { animation-play-state: paused; }
@keyframes correr-resenas {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.resena-mini {
  flex: 0 0 340px;
  max-width: 82vw;
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 6px 24px rgba(34, 27, 19, .05);
}
.resena-mini-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.resena-mini-check { font-size: 11.5px; font-weight: 700; color: var(--verde); }
.resena-mini-texto { font-size: 14.5px; line-height: 1.6; color: var(--texto); margin: 0 0 16px; }
.resena-mini-autor { display: flex; align-items: center; gap: 10px; }
.resena-mini-autor .avatar {
  width: 34px; height: 34px; border-radius: 999px; flex: none;
  background: var(--arena); color: var(--cobre);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
}
.resena-mini-autor b { display: block; font-size: 13.5px; }
.resena-mini-autor small { font-size: 12px; color: var(--gris); }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* Preguntas frecuentes */
.faq { max-width: 760px; margin: clamp(24px, 3vw, 36px) auto 0; }
.faq details { border-bottom: 1px solid var(--borde); }
.faq summary {
  padding: 20px 4px; font-weight: 700; font-size: 16px; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--cobre); font-weight: 800; font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 4px 20px; margin: 0; color: var(--texto); line-height: 1.6; font-size: 14.5px; }

@media (max-width: 860px) {
  .benef { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .benef { grid-template-columns: 1fr; gap: 22px; }
  .oferta-op { padding: 14px 15px; gap: 12px; }
  .oferta-tag { right: 10px; }
}

/* ============================================================
   POPUP DE OPCIONES (elegir talla antes de comprar/añadir)
   ============================================================ */
.op-modal {
  position: relative;
  background: var(--crema);
  border-radius: 22px;
  width: 440px; max-width: 100%;
  max-height: 92vh; overflow: auto;
  padding: clamp(22px, 3vw, 30px);
  animation: popIn .25s ease both;
}
.op-modal .cerrar { position: absolute; top: 12px; right: 12px; }
.op-cabeza { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; padding-right: 36px; }
.op-cabeza img { width: 80px; height: 80px; border-radius: 14px; object-fit: cover; flex: none; }
.op-cabeza h4 { margin: 0 0 4px; font-size: 18px; font-weight: 800; line-height: 1.2; }
.op-precio { font-weight: 800; font-size: 18px; }
.op-precio small { color: var(--gris); font-weight: 600; font-size: 13px; }
.op-acciones { display: grid; gap: 10px; margin-top: 22px; }
.op-acciones .btn { width: 100%; }

/* ===== Compra directa: talla + cantidad dentro del popup de compra ===== */
.ck-uno-cabeza { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.ck-uno-cabeza img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; }
#ck-uno .tallas { margin: 0 0 16px; }
.ck-cantidad-fila { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

/* Controles que se tocan/clican: sin selección de texto (se veía en azul) ni
   destello táctil. No cambia su aspecto, solo evita el resaltado azul al pulsar. */
.marquee, .oferta-op, .talla, .btn, .btn-cesta, .btn-icono-cesta,
.cantidad button, .cantidad-mini button, .miniatura, .pago {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
