/* =========================================================
   LO VES LO QUIERES — Tienda en línea (diseño)
   Tipografía igual a la referencia (cinqasept.nyc):
   serif "New York" + acento "Red Hat Text"
   ========================================================= */

:root {
  --black: #000;
  --white: #fff;
  --ink: #111;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --soft: #f4f4f4;
  --sale: #c8102e;

  /* Toda la tienda en Red Hat Text, a pedido de la clienta (antes: serif tipo New York). */
  --serif: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;
  --accent: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Utilidades tipográficas ---------- */
.eyebrow, .btn, .link-cta, .nav a, .label {
  font-family: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 500;
}
.h-section {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 500;
  margin: 0;
  text-align: center;
}
.is-sale, .price .now.is-sale { color: var(--sale) !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  background: var(--black); color: var(--white);
  border: 1px solid var(--black);
  transition: background .2s, color .2s, opacity .2s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn.outline { background: transparent; color: var(--black); }
.btn.outline:hover { background: var(--black); color: var(--white); }
.btn.light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn.light:hover { background: transparent; color: var(--white); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .35; pointer-events: none; }

.link-cta { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid currentColor; }

/* ---------- Announcement bar (negra, igual a la referencia) ---------- */
.announce {
  background: var(--black); color: var(--white);
  text-align: center;
  font-family: var(--accent); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding: 11px 16px;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav > li { list-style: none; position: relative; }
.nav { margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 26px 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 1px; background: currentColor; transition: right .25s;
}
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav a.sale { color: var(--sale); }

.logo { display: block; color: var(--black); justify-self: center; }
.logo-svg { display: block; height: 21px; width: auto; }   /* +22 % a pedido de la clienta */

.header-icons { justify-self: end; display: flex; align-items: center; gap: 20px; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; position: relative; }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.3; }
/* El logo de WhatsApp es relleno, no trazo como los demás íconos. */
.icon-btn.icon-wa svg { fill: currentColor; stroke: none; width: 21px; height: 21px; }
.icon-btn .signin { font-family: var(--accent); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.badge {
  position: absolute; top: -7px; right: -9px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--black); color: var(--white);
  font-family: var(--accent); font-size: 10px; line-height: 17px; text-align: center;
}
.badge[data-n="0"] { display: none; }
.burger { display: none; }

/* Mega menú */
.mega {
  position: absolute; top: 100%; left: calc(-1 * var(--gutter)); z-index: 40;
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: none; gap: 56px; padding: 28px var(--gutter) 32px; min-width: 520px;
}
.nav > li:hover .mega, .nav > li:focus-within .mega { display: flex; }
.mega h4 { margin: 0 0 12px; font-family: var(--accent); font-size: 10px; letter-spacing: .16em; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { padding: 5px 0; font-family: var(--serif); font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.mega li a::after { display: none; }
.mega li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega .sale-links a { color: var(--sale); }
.mega-feature { width: 180px; }
.mega-feature img { aspect-ratio: 3/4; object-fit: cover; width: 100%; margin-bottom: 8px; }
.mega-feature span { font-size: 13px; }

/* ---------- Drawers (carrito, favoritos, menú móvil) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 100;
  width: min(440px, 100%);
  background: var(--white);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column;
}
.drawer.left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { margin: 0; font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: 14px; }
.close-x { width: 32px; height: 32px; display: grid; place-items: center; }
.close-x svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.3; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; }

.ship-progress { font-family: var(--accent); font-size: 12px; text-align: center; padding: 12px 0 4px; color: var(--ink); }

.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 84px; aspect-ratio: 3/4; object-fit: cover; background: var(--soft); }
.line-item .li-name { font-size: 14px; }
.line-item .li-var { font-family: var(--accent); font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }
.line-item .li-price { font-family: var(--accent); font-size: 12px; text-align: right; }
.line-item .li-price s { color: var(--muted); display: block; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 30px; height: 30px; font-family: var(--accent); }
.qty span { min-width: 24px; text-align: center; font-family: var(--accent); font-size: 12px; }
.remove { font-family: var(--accent); font-size: 11px; text-decoration: underline; color: var(--muted); margin-left: 12px; }

.promo-row { display: flex; gap: 8px; margin-bottom: 14px; }
.promo-row input { flex: 1; min-width: 0; }
.promo-msg { font-family: var(--accent); font-size: 11px; margin: -6px 0 12px; }
.totals-row { display: flex; justify-content: space-between; font-family: var(--accent); font-size: 12px; letter-spacing: .06em; padding: 4px 0; }
.totals-row.grand { font-size: 14px; font-weight: 600; padding-top: 10px; }
.drawer-note { font-family: var(--accent); font-size: 11px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.empty { text-align: center; padding: 60px 10px; }
.empty p { margin: 0 0 20px; }

/* Menú móvil */
.m-nav { list-style: none; margin: 0; padding: 0; }
.m-nav > li { border-bottom: 1px solid var(--line); }
.m-nav > li > a, .m-nav summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-family: var(--accent); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; cursor: pointer; list-style: none;
}
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary::after { content: "+"; font-size: 16px; font-weight: 300; }
.m-nav details[open] summary::after { content: "–"; }
.m-nav details ul { list-style: none; margin: 0; padding: 0 0 14px; }
.m-nav details a { display: block; padding: 7px 0; font-size: 15px; }
.m-nav .sale, .m-nav .sale-links a { color: var(--sale); }
.m-extra { padding: 24px 0; display: grid; gap: 14px; font-family: var(--accent); font-size: 12px; letter-spacing: .08em; }

/* Búsqueda */
.search-panel {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white); transform: translateY(-100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  padding: 22px var(--gutter) 32px; max-height: 90vh; overflow-y: auto;
}
.search-panel.open { transform: none; }
.search-bar { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--black); padding-bottom: 12px; }
.search-bar svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.3; flex: none; }
.search-bar input { flex: 1; border: 0; outline: 0; font-size: 20px; font-family: var(--serif); background: transparent; min-width: 0; }
.search-results { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 24px; }
.search-hint { font-family: var(--accent); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; background: #ddd; }
.hero picture, .hero img { width: 100%; height: 100%; }
.hero img { object-fit: cover; }
.hero.full { height: calc(100vh - var(--header-h) - 38px); min-height: 520px; max-height: 900px; }
.hero .hero-copy {
  position: absolute; inset: auto 0 0 0; padding: 0 var(--gutter) clamp(36px, 7vh, 72px);
  text-align: center; background: linear-gradient(transparent, rgba(0,0,0,.28));
  padding-top: 120px;
}
.hero h1, .hero h2 {
  font-weight: 400; text-transform: uppercase; letter-spacing: .18em;
  font-size: clamp(22px, 3vw, 38px); margin: 0 0 18px; line-height: 1.2;
}
.hero .link-cta { color: var(--white); }
.hero.sale-banner { height: clamp(420px, 52vw, 680px); color: var(--black); background: #e9eaec; }
.hero.sale-banner .hero-copy {
  inset: 0 auto 0 0; width: 50%; background: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left;
  padding: 0 var(--gutter) 0 calc(var(--gutter) * 2);
}
.hero.sale-banner h2 { color: var(--sale); }
.hero.sale-banner .link-cta { color: var(--black); }

/* ---------- Secciones ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section.tight { padding: clamp(32px, 4vw, 56px) 0; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); padding: 0 var(--gutter); }
.wrap { padding: 0 var(--gutter); }

/* Explorar categorías (tipo "Explore sale styles") */
.cat-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; padding: 0 var(--gutter); }
.cat-strip a { font-size: clamp(13px, 1.05vw, 15px); letter-spacing: .08em; text-transform: uppercase; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.cat-strip a:hover { border-color: currentColor; }

/* Tiles 2-up / 3-up */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; overflow: hidden; color: var(--white); display: block; aspect-ratio: 4/5; background: #ddd; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.03); }
.tile .tile-copy { position: absolute; inset: auto 0 0 0; padding: 90px 20px 34px; text-align: center; background: linear-gradient(transparent, rgba(0,0,0,.32)); }
.tile h3 { margin: 0 0 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .18em; font-size: clamp(16px, 1.6vw, 22px); }

/* ---------- Tarjeta de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 14px; padding: 0 var(--gutter); }
.card { position: relative; }
.card-top { position: relative; overflow: hidden; }
.card-media { position: relative; display: block; aspect-ratio: 3/4; background: var(--soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.035); }
.card-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--accent); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  background: var(--white); color: var(--black); padding: 4px 8px;
}
.card-tag.sale { background: var(--sale); color: var(--white); }
.fav-btn {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center;
}
.fav-btn svg { width: 19px; height: 19px; stroke: var(--black); stroke-width: 1.3; fill: transparent; transition: fill .2s; }
.fav-btn.on svg { fill: var(--black); }
.quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(255,255,255,.96); padding: 10px 10px 12px; text-align: center;
  transform: translateY(calc(100% + 12px)); transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.card:hover .quick, .card:focus-within .quick { transform: none; }
.quick .label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; }
.quick .sizes { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.quick .sizes button { min-width: 34px; height: 30px; padding: 0 6px; border: 1px solid var(--line); font-family: var(--accent); font-size: 11px; }
.quick .sizes button:hover { border-color: var(--black); }
.quick .sizes button[disabled] { color: #bbb; text-decoration: line-through; pointer-events: none; }
.card-info { padding-top: 12px; }
.card-name { font-size: 14px; line-height: 1.35; display: block; }
.price { font-family: var(--accent); font-size: 12px; letter-spacing: .04em; margin-top: 4px; display: flex; gap: 8px; align-items: baseline; }
.price s { color: var(--muted); }
.swatches { display: flex; gap: 6px; margin-top: 8px; }
.swatches i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); display: block; }

/* Carrusel */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4.3); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter) 6px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-arrows { display: flex; gap: 6px; }
.rail-arrows button { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; }
.rail-arrows button:hover { border-color: var(--black); }
.rail-arrows svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 var(--gutter); margin-bottom: 28px; gap: 16px; }
.head-row .h-section { text-align: left; }

/* Producto destacado */
.featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: 0 var(--gutter); }
.featured .f-media { aspect-ratio: 4/5; overflow: hidden; background: var(--soft); }
.featured .f-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Página de producto ---------- */
.breadcrumbs { font-family: var(--accent); font-size: 11px; letter-spacing: .08em; color: var(--muted); padding: 18px var(--gutter); }
.breadcrumbs a:hover { color: var(--black); }
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 80px); padding: 0 var(--gutter); align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdp-gallery figure { margin: 0; aspect-ratio: 3/4; background: var(--soft); overflow: hidden; }
.pdp-gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4/5; }
.pdp-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp-info h1 { font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; margin: 6px 0 10px; }
.pdp-info .price { font-size: 15px; margin-bottom: 26px; }
.opt { margin-bottom: 22px; }
.opt-label { display: flex; justify-content: space-between; font-family: var(--accent); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.opt-label b { font-weight: 600; letter-spacing: .06em; text-transform: none; font-size: 12px; }
.opt-label a { text-decoration: underline; text-underline-offset: 3px; letter-spacing: .06em; text-transform: none; }
.color-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.color-opts button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); outline: 1px solid transparent; outline-offset: 3px; }
.color-opts button.sel { outline-color: var(--black); }
.size-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; }
.size-opts button { height: 44px; border: 1px solid var(--line); font-family: var(--accent); font-size: 12px; }
.size-opts button:hover { border-color: var(--black); }
.size-opts button.sel { background: var(--black); color: var(--white); border-color: var(--black); }
.size-opts button[disabled] { color: #c4c4c4; background: linear-gradient(to top left, transparent calc(50% - .5px), #ddd, transparent calc(50% + .5px)); pointer-events: none; }
.add-row { display: grid; grid-template-columns: 1fr 52px; gap: 8px; margin: 26px 0 16px; }
.add-row .fav-lg { border: 1px solid var(--black); display: grid; place-items: center; }
.add-row .fav-lg svg { width: 20px; height: 20px; stroke: var(--black); stroke-width: 1.3; fill: transparent; }
.add-row .fav-lg.on svg { fill: var(--black); }
.pdp-perks { list-style: none; padding: 0; margin: 0 0 22px; font-family: var(--accent); font-size: 12px; display: grid; gap: 6px; }
.pdp-perks li { display: flex; gap: 10px; align-items: center; }
.pdp-perks svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.3; flex: none; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; font-family: var(--accent); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 15px; font-weight: 300; }
.acc details[open] summary::after { content: "–"; }
.acc .acc-body { padding: 0 0 18px; font-size: 14px; color: #333; }
.acc .acc-body p { margin: 0 0 8px; }
.wa-help { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-family: var(--accent); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Colección ---------- */
.collection-head { text-align: center; padding: clamp(36px, 5vw, 64px) var(--gutter) 22px; }
.collection-head h1 { font-weight: 400; text-transform: uppercase; letter-spacing: .18em; font-size: clamp(20px, 2.4vw, 30px); margin: 0 0 10px; }
.collection-head h1.sale { color: var(--sale); }
.collection-head p { margin: 0 auto; max-width: 560px; color: var(--muted); }
.toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px;
  position: sticky; top: var(--header-h); background: var(--white); z-index: 20;
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { font-family: var(--accent); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line); }
.chips button.on { background: var(--black); color: var(--white); border-color: var(--black); }
.toolbar select { border: 0; font-family: var(--accent); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: transparent; cursor: pointer; }
.count { font-family: var(--accent); font-size: 11px; color: var(--muted); letter-spacing: .08em; }

/* ---------- Formularios ---------- */
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-family: var(--accent); font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.input, .field input, .field select, .field textarea, .promo-row input {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid #cfcfcf; background: var(--white); border-radius: 0; outline: 0; font-family: var(--accent); font-size: 14px;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23000' stroke-width='1.3'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field textarea { height: auto; min-height: 80px; padding: 12px 14px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus, .promo-row input:focus { border-color: var(--black); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--accent); font-size: 12px; margin: 8px 0 12px; cursor: pointer; }
.check input { accent-color: var(--black); width: 16px; height: 16px; margin: 1px 0 0; }

/* ---------- Checkout ---------- */
.co-header { border-bottom: 1px solid var(--line); padding: 22px var(--gutter); display: flex; justify-content: space-between; align-items: center; }
.co-header .logo-svg { height: 16px; }
.co-header a.back { font-family: var(--accent); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.co { display: grid; grid-template-columns: 1fr 440px; min-height: calc(100vh - 70px); }
.co-main { padding: 36px clamp(16px, 5vw, 72px) 64px; max-width: 700px; justify-self: end; width: 100%; }
.co-side { background: #f7f7f7; border-left: 1px solid var(--line); padding: 36px clamp(16px, 3vw, 44px); }
.co-side-inner { position: sticky; top: 24px; }
.co h2 { font-weight: 400; font-size: 20px; margin: 30px 0 14px; }
.co h2:first-child { margin-top: 0; }
.ship-box { border: 1px solid #cfcfcf; padding: 16px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--accent); font-size: 13px; }
.ship-box small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.notice {
  background: var(--black); color: var(--white); padding: 16px 18px; margin-bottom: 14px;
  font-family: var(--accent); font-size: 12px; line-height: 1.55;
}
.notice strong { display: block; letter-spacing: .1em; font-size: 11.5px; font-weight: 600; margin-bottom: 2px; }
.pay-opts { border: 1px solid #cfcfcf; }
.pay-opt + .pay-opt { border-top: 1px solid #cfcfcf; }
.pay-opt > label { display: flex; align-items: center; gap: 12px; padding: 16px; cursor: pointer; font-family: var(--accent); font-size: 14px; }
.pay-opt > label input { accent-color: var(--black); width: 17px; height: 17px; margin: 0; }
.pay-opt > label .logos { margin-left: auto; display: flex; gap: 4px; }
.pay-opt > label .logos i { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .04em; border: 1px solid #cfcfcf; padding: 3px 5px; background: var(--white); }
.pay-detail { display: none; background: #f7f7f7; border-top: 1px solid #e3e3e3; padding: 18px 16px 20px; font-family: var(--accent); font-size: 13px; }
.pay-opt.on .pay-detail { display: block; }
.pay-detail p { margin: 0 0 10px; }
.bank { background: var(--white); border: 1px solid var(--line); padding: 14px 16px; margin: 10px 0 14px; display: grid; gap: 6px; }
.bank div { display: flex; justify-content: space-between; gap: 12px; }
.bank span { color: var(--muted); }
.bank b { font-weight: 600; text-align: right; }
.wa-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sum-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; margin-bottom: 14px; }
.sum-item .thumb { position: relative; }
.sum-item img { width: 64px; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--line); }
.sum-item .q { position: absolute; top: -8px; right: -8px; background: #666; color: #fff; border-radius: 10px; min-width: 20px; height: 20px; font-family: var(--accent); font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
.sum-item .n { font-size: 14px; line-height: 1.3; }
.sum-item .v { font-family: var(--accent); font-size: 11px; color: var(--muted); }
.sum-item .p { font-family: var(--accent); font-size: 13px; text-align: right; }
.sum-sep { border: 0; border-top: 1px solid #e0e0e0; margin: 18px 0; }
.co-done { text-align: center; max-width: 560px; margin: 0 auto; padding: 80px 16px; }
.co-done h1 { font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: 24px; }

/* ---------- Cuenta ---------- */
.account { max-width: 440px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) 16px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button { padding: 14px 0; font-family: var(--accent); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--black); border-color: var(--black); }
.perk-box { border: 1px solid var(--black); padding: 18px; text-align: center; margin-bottom: 22px; }
.perk-box .big { font-size: 26px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Visit us / Instagram / Newsletter ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); }
.visit .v-media img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.visit .v-copy { padding: clamp(36px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.visit .v-copy p { margin: 0; font-size: 16px; }
.visit .v-copy .label { color: var(--muted); }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.ig-grid a { aspect-ratio: 1; overflow: hidden; position: relative; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.ig-grid a:hover img { opacity: .8; }
.newsletter { background: var(--black); color: var(--white); text-align: center; padding: clamp(48px, 7vw, 88px) var(--gutter); }
.newsletter h2 { font-weight: 400; text-transform: uppercase; letter-spacing: .18em; font-size: clamp(18px, 2vw, 26px); margin: 0 0 10px; }
.newsletter p { margin: 0 0 24px; color: #cfcfcf; }
.nl-form { display: flex; max-width: 460px; margin: 0 auto; border-bottom: 1px solid var(--white); }
.nl-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--white); height: 48px; font-family: var(--accent); font-size: 14px; }
.nl-form input::placeholder { color: #9a9a9a; }
.nl-form button { font-family: var(--accent); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); padding: 0 6px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px var(--gutter) 28px; }
.f-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.f-cols h4 { margin: 0 0 16px; font-family: var(--accent); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.f-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.f-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.f-brand .logo-svg { height: 14px; margin-bottom: 18px; }
.f-brand p { margin: 0 0 6px; color: #444; max-width: 320px; }
.socials { display: flex; gap: 14px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border: 1px solid var(--line); display: grid; place-items: center; }
.socials a:hover { border-color: var(--black); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--accent); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.pay-icons { display: flex; gap: 6px; }
.pay-icons i { font-style: normal; font-size: 9px; font-weight: 700; border: 1px solid var(--line); padding: 3px 6px; color: #444; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; background: var(--black); color: var(--white);
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 120;
  background: var(--black); color: var(--white); padding: 12px 20px; font-family: var(--accent); font-size: 12px; letter-spacing: .06em;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .rail { grid-auto-columns: calc((100% - 2 * 14px) / 3.3); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .search-results { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .nav, .icon-btn .signin, .header-icons .hide-m { display: none; }
  .burger { display: inline-flex; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .logo-svg { height: 16px; }
  .header-left { display: flex; align-items: center; gap: 16px; }
  .header-icons { gap: 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 8px; }
  .rail { grid-auto-columns: 62%; gap: 8px; }
  .tiles, .tiles.three { grid-template-columns: 1fr; }
  .tiles.three .tile { aspect-ratio: 1; }
  .featured, .pdp, .visit { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-gallery figure:not(:first-child) { display: none; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .co { grid-template-columns: 1fr; }
  .co-side { order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
  .co-side-inner { position: static; }
  .co-main { justify-self: stretch; max-width: none; }
  .hero.sale-banner { height: auto; }
  .hero.sale-banner img { aspect-ratio: 4/5; height: auto; }
  .hero.sale-banner .hero-copy { position: static; width: 100%; padding: 36px var(--gutter); align-items: center; text-align: center; background: #e9eaec; }
  .quick { display: none; }
  .search-results { grid-template-columns: repeat(2, 1fr); }
  .head-row .rail-arrows { display: none; }
}
@media (max-width: 480px) {
  .row-2 { grid-template-columns: 1fr; }
  .announce { font-size: 10px; letter-spacing: .12em; }
  .hero.full { height: 78vh; min-height: 460px; }
  .logo-svg { height: 13px; }
  .header-inner { padding: 0 12px; }
  .header-icons { gap: 10px; }
  .header-left { gap: 10px; }
  .icon-btn svg { width: 19px; height: 19px; }
  .icon-btn.icon-wa svg { width: 20px; height: 20px; }
}
@media (hover: none) { .quick { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* =========================================================
   MI CUENTA (/cuenta/) — páginas PHP del motor con el estilo de la tienda
   ========================================================= */
.cuenta { max-width: 1000px; margin: 0 auto; padding: 28px var(--gutter) 80px; }
.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; font-family: var(--accent); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.migas li + li::before { content: "/"; margin-right: 6px; }
.cuenta .display { font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: clamp(20px, 2.4vw, 28px); margin: 0 0 12px; }
.cuenta__intro, .cuenta__explica { color: #444; max-width: 560px; margin: 0 0 26px; }
.cuenta__acceso { max-width: 420px; }
.cuenta .campo { margin-bottom: 14px; }
.cuenta .campo label { display: block; font-family: var(--accent); font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.cuenta .campo input, .cuenta .campo select, .cuenta .campo textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #cfcfcf; border-radius: 0; font-family: var(--accent); font-size: 14px; background: #fff; }
.cuenta .campo textarea { height: auto; min-height: 80px; padding: 12px 14px; }
.cuenta .campo input:focus, .cuenta .campo select:focus { outline: 0; border-color: var(--black); }
.cuenta__codigo { letter-spacing: .5em; font-size: 22px !important; text-align: center; }
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; background: var(--black); color: var(--white); border: 1px solid var(--black); font-family: var(--accent); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.boton:hover { background: var(--white); color: var(--black); }
.boton--linea { background: transparent; color: var(--black); }
.boton--linea:hover { background: var(--black); color: var(--white); }
.cuenta__forma .boton { width: 100%; }
.cuenta__reenviar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; font-family: var(--accent); font-size: 12px; color: var(--muted); }
.cuenta__reenviar button, .cuenta__reenviar a { text-decoration: underline; color: var(--black); }
.cuenta__error, .cuenta__campo-error { color: var(--sale); font-family: var(--accent); font-size: 13px; }
.cuenta__error { background: #fdecee; padding: 10px 14px; }
.cuenta__aviso { background: var(--soft); padding: 10px 14px; font-family: var(--accent); font-size: 13px; }
.cuenta__cabeza { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.cuenta__correo { margin: 0; color: var(--muted); font-family: var(--accent); font-size: 13px; }
.cuenta__salir { font-family: var(--accent); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; }
.cuenta__reja { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.cuenta__panel { border: 1px solid var(--line); padding: 22px; margin-bottom: 20px; }
.cuenta__panel h2 { font-family: var(--accent); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin: 0 0 16px; }
.cuenta__vacio, .cuenta__nota { color: var(--muted); font-size: 14px; }
.cuenta__vacio a, .cuenta__nota a { text-decoration: underline; color: var(--black); }
.cuenta__pedidos { list-style: none; margin: 0; padding: 0; }
.cuenta__pedidos li + li { border-top: 1px solid var(--line); }
.cuenta__pedidos a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; }
.cuenta__pedidos a:hover strong { text-decoration: underline; }
.cuenta__pedido-datos, .cuenta__pedido-lado { display: flex; flex-direction: column; gap: 3px; }
.cuenta__pedido-lado { align-items: flex-end; }
.cuenta__pedido-datos span { font-family: var(--accent); font-size: 12px; color: var(--muted); }
.cuenta__pedido-lado strong { font-family: var(--accent); font-size: 13px; }
.cuenta__estado { font-family: var(--accent); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: 4px 8px; border: 1px solid currentColor; }
.cuenta__estado--ok { color: #1b6b3a; }
.cuenta__estado--espera { color: #8a6d00; }
.cuenta__estado--malo { color: var(--sale); }
.cuenta__estado--grande { font-size: 12px; padding: 7px 12px; }
.cuenta__datos { font-size: 15px; line-height: 1.7; }
.cuenta__pasos { list-style: none; display: flex; margin: 0 0 30px; padding: 0; font-family: var(--accent); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #aaa; }
.cuenta__pasos li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; position: relative; }
.cuenta__pasos li::before { content: ""; position: absolute; top: 6px; left: -50%; right: 50%; height: 1px; background: #ddd; }
.cuenta__pasos li:first-child::before { display: none; }
.cuenta__pasos li.hecho { color: var(--black); }
.cuenta__pasos li.hecho::before { background: var(--black); }
.cuenta__punto { width: 13px; height: 13px; border-radius: 50%; border: 1px solid #ccc; background: #fff; position: relative; z-index: 1; }
.cuenta__pasos li.hecho .cuenta__punto { background: var(--black); border-color: var(--black); }
.cuenta__pasos li.actual { font-weight: 600; }
.cuenta__tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.cuenta__tabla td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cuenta__tabla tfoot td { border: 0; padding: 4px 0; font-family: var(--accent); font-size: 13px; }
.cuenta__variante { font-family: var(--accent); font-size: 12px; color: var(--muted); }
.cuenta__cant { text-align: right; padding-right: 12px !important; font-family: var(--accent); color: var(--muted); white-space: nowrap; }
.cuenta__precio { text-align: right; font-family: var(--accent); white-space: nowrap; }
.cuenta__total td { font-weight: 600; font-size: 15px !important; padding-top: 10px !important; }
.cuenta__volver { margin-top: 20px; font-family: var(--accent); font-size: 12px; text-decoration: underline; }
.cuenta__acciones { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cuenta__transfer dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 18px; font-family: var(--accent); font-size: 14px; }
.cuenta__transfer dt { color: var(--muted); }
.cuenta__transfer dd { margin: 0; font-weight: 600; }
@media (max-width: 760px) { .cuenta__reja { grid-template-columns: 1fr; } .cuenta__pasos { font-size: 9px; } }
