:root {
  --ink: #21262b;
  --ink-2: #2d343b;
  --bone: #e4e8ec;
  --bone-2: #d5dbe1;
  --paper: #f1f1f1;
  --muted: #646d76;
  --line: #cfd3d7;
  --accent: #778899;
  --accent-strong: #5f7183;
  --gray: #a9a9a9;
  --ok: #2f6b45;
  --danger: #a3322a;
  --radius: 2px;
  --display: 'Anton', 'Impact', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ---------- Announcement + Header ---------- */
.announce {
  background: var(--ink); color: var(--bone);
  text-align: center; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 9px 16px;
}
header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 248, 244, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { font-family: var(--display); font-size: 30px; letter-spacing: .04em; text-decoration: none; line-height: 1; }
.logo small { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0; margin-left: 6px; color: var(--muted); }
nav.main { display: flex; gap: 28px; }
nav.main a { text-decoration: none; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; position: relative; }
nav.main a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: currentColor; transition: width .25s; }
nav.main a:hover::after { width: 100%; }
.cart-btn {
  background: var(--accent-strong); color: #fff; border: 0; border-radius: 999px;
  padding: 10px 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.cart-btn .count { background: #fff; color: var(--ink); border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; font-size: 11px; padding: 0 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 68vh; display: flex; align-items: flex-end; color: var(--bone); overflow: hidden; background: var(--ink); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; filter: grayscale(1) contrast(1.08); transform: scale(1.04); animation: slowzoom 18s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(119,136,153,.28) 0%, rgba(33,38,43,.15) 40%, rgba(33,38,43,.78)); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 64px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 13vw, 200px); line-height: .86; margin: 18px 0 22px; text-transform: uppercase; letter-spacing: -.01em; }
.hero h1 .serif { font-size: .62em; display: inline-block; transform: translateY(-.12em); color: var(--bone-2); }
.hero p { max-width: 460px; font-size: 17px; color: var(--bone-2); margin: 0 0 28px; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--accent-strong); background: var(--accent-strong); color: #fff;
  padding: 15px 28px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  text-decoration: none; border-radius: var(--radius); transition: background .2s, color .2s, transform .1s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn:active { transform: scale(.98); }
.btn.light { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn.light:hover { background: transparent; color: var(--bone); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bone); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; pointer-events: none; }

/* ---------- Marquee ---------- */
.marquee { background: var(--accent); color: #fff; overflow: hidden; white-space: nowrap; border-block: 1px solid var(--accent-strong); }
.marquee-track { display: inline-flex; animation: marq 30s linear infinite; padding: 14px 0; }
.marquee span { font-family: var(--display); font-size: 22px; letter-spacing: .06em; text-transform: uppercase; padding: 0 28px; }
.marquee span.serif { font-family: var(--serif); text-transform: none; font-size: 24px; color: #f1f1f1; }
.marquee img.dot { height: 18px; width: auto; align-self: center; opacity: .9; margin: 0 4px; filter: brightness(1.2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section.block { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: .95; margin: 8px 0 0; text-transform: uppercase; }
.section-head h2 .serif { font-size: .8em; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { border: 1px solid var(--line); background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); }
.chip:hover { border-color: var(--accent-strong); }
select.sort { border: 1px solid var(--line); background: transparent; padding: 8px 12px; border-radius: 999px; font-size: 12px; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
.grid.featured { grid-template-columns: repeat(4, 1fr); }
.card { cursor: pointer; min-width: 0; }
.card .img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bone-2); }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover .img img { transform: scale(1.05); }
.card .tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--bone); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px; }
.card .tag.sale { background: var(--accent-strong); }
.card .quick { position: absolute; left: 12px; right: 12px; bottom: 12px; opacity: 0; transform: translateY(8px); transition: all .3s; }
.card:hover .quick { opacity: 1; transform: none; }
.card .meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.card .name { font-weight: 500; font-size: 14px; }
.card .cat { color: var(--muted); font-size: 12px; margin-top: 2px; }
.price { font-weight: 600; white-space: nowrap; }
.price s { color: var(--muted); font-weight: 400; margin-right: 6px; font-size: .9em; }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--display); font-size: 40px; color: var(--muted); background: var(--bone-2); }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ink); color: var(--bone); }
.split img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; filter: grayscale(.2); }
.split .copy { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; }
.split h3 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 80px); line-height: .92; text-transform: uppercase; margin: 14px 0 22px; }
.split p { color: var(--bone-2); max-width: 420px; margin: 0 0 30px; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perk { padding: 30px 24px; border-right: 1px solid var(--line); }
.perk:last-child { border-right: 0; }
.perk b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.perk span { color: var(--muted); font-size: 13px; }

footer.site { background: var(--ink); color: var(--bone); padding: 72px 0 32px; }
footer.site .big { font-family: var(--display); font-size: clamp(80px, 20vw, 280px); line-height: .8; letter-spacing: -.01em; opacity: .95; margin-top: 48px; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-cols h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #9b968d; margin: 0 0 14px; font-weight: 600; }
.foot-cols a, .foot-cols p { display: block; color: var(--bone-2); text-decoration: none; font-size: 14px; margin: 0 0 8px; }
.foot-cols a:hover { color: #fff; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pay-icons span { border: 1px solid #3a3a3a; padding: 4px 10px; font-size: 11px; letter-spacing: .08em; border-radius: 3px; color: var(--bone-2); }
.legal { display: flex; justify-content: space-between; color: #8d887f; font-size: 12px; margin-top: 28px; border-top: 1px solid #2a2a2a; padding-top: 20px; gap: 12px; flex-wrap: wrap; }

/* ---------- Overlays ---------- */
.scrim { position: fixed; inset: 0; background: rgba(10,10,10,.5); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 50; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0; text-transform: uppercase; }
.x { background: none; border: 0; font-size: 26px; line-height: 1; padding: 4px 8px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img, .line .placeholder { width: 76px; height: 96px; object-fit: cover; font-size: 18px; }
.line .n { font-weight: 500; font-size: 14px; }
.line .s { color: var(--muted); font-size: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { background: none; border: 0; width: 30px; height: 30px; font-size: 15px; }
.qty span { min-width: 26px; text-align: center; font-size: 13px; }
.remove { background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; margin-top: 6px; }
.ship-bar { font-size: 12px; margin-bottom: 14px; }
.ship-bar .track { height: 3px; background: var(--bone-2); margin-top: 8px; }
.ship-bar .fill { height: 100%; background: var(--accent); transition: width .4s; }
.row { display: flex; justify-content: space-between; margin: 6px 0; font-size: 14px; }
.row.total { font-size: 18px; font-weight: 600; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 64px 0; color: var(--muted); }
.empty b { display: block; font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--ink); text-transform: uppercase; }

/* Product modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { background: var(--paper); width: min(1000px, 100%); max-height: 92vh; overflow: auto; display: grid; grid-template-columns: 1.1fr 1fr; position: relative; transform: translateY(16px); transition: transform .35s; }
.modal.open .modal-card { transform: none; }
.modal-card .x { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--paper); border-radius: 999px; width: 40px; height: 40px; }
.modal-img { background: var(--bone-2); min-height: 420px; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 6px; padding: 6px; background: var(--paper); }
.thumbs img { width: 60px; height: 72px; object-fit: cover; cursor: pointer; opacity: .6; }
.thumbs img.on { opacity: 1; outline: 1px solid var(--ink); }
.modal-info { padding: 44px 40px; }
.modal-info h2 { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: .95; text-transform: uppercase; margin: 10px 0 14px; }
.modal-info .price { font-size: 20px; }
.modal-info p.desc { color: #4a4740; margin: 20px 0; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 24px; }
.size { min-width: 48px; height: 44px; border: 1px solid var(--line); background: transparent; font-size: 13px; padding: 0 12px; }
.size.on { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); }
.size:disabled { opacity: .3; text-decoration: line-through; }
.stock-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.stock-note.low { color: var(--danger); }

/* Checkout */
.checkout { position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow: auto; transform: translateY(100%); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.checkout.open { transform: none; }
.co-head { border-bottom: 1px solid var(--line); }
.co-head .wrap { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.co-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; padding: 40px 24px 80px; }
.co-step { margin-bottom: 40px; }
.co-step h3 { font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: uppercase; margin: 0 0 18px; display: flex; gap: 12px; align-items: baseline; }
.co-step h3 i { font-family: var(--serif); font-size: 22px; color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 13px 14px; border-radius: var(--radius); outline: none; transition: border .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.opt { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); padding: 16px 18px; margin-bottom: -1px; cursor: pointer; background: #fff; position: relative; }
.opt:has(input:checked) { border-color: var(--accent-strong); z-index: 1; box-shadow: inset 3px 0 0 var(--accent-strong); }
.opt input { accent-color: var(--accent-strong); width: 18px; height: 18px; }
.opt .t { flex: 1; }
.opt .t b { display: block; font-weight: 600; font-size: 14px; }
.opt .t span { color: var(--muted); font-size: 12px; }
.opt .p { font-weight: 600; }
.pay-extra { border: 1px solid var(--accent-strong); border-top: 0; padding: 18px; background: var(--bone); margin-bottom: 10px; }
.summary { background: var(--bone); padding: 32px; position: sticky; top: 24px; align-self: start; }
.summary h3 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; margin: 0 0 12px; }
.coupon { display: flex; gap: 8px; margin: 18px 0 8px; }
.coupon input { flex: 1; border: 1px solid var(--line); padding: 11px 12px; background: #fff; text-transform: uppercase; }
.coupon button { border: 1px solid var(--ink); background: transparent; padding: 0 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.msg { font-size: 13px; margin: 8px 0; }
.msg.err { color: var(--danger); }
.msg.ok { color: var(--ok); }
.secure { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

.confirm { max-width: 640px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.confirm h2 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 8vw, 88px); text-transform: uppercase; line-height: .9; margin: 16px 0; }
.confirm .box { text-align: left; background: var(--bone); padding: 28px; margin: 32px 0; }
.confirm .box code { font-size: 18px; font-weight: 600; letter-spacing: .06em; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 200%); opacity: 0; background: var(--ink); color: var(--bone); padding: 14px 22px; font-size: 13px; z-index: 90; transition: transform .35s, opacity .35s; border-radius: var(--radius); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.wa { position: fixed; right: 20px; bottom: 20px; z-index: 35; width: 54px; height: 54px; border-radius: 50%; background: #1f8f4e; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid, .grid.featured { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(2) { border-right: 0; }
  .perk:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  nav.main { display: none; }
  .grid, .grid.featured { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .split { grid-template-columns: 1fr; }
  .split img { min-height: 340px; }
  .split .copy { padding: 48px 24px; }
  .modal { padding: 0; align-items: end; }
  .modal-card { grid-template-columns: 1fr; max-height: 94vh; }
  .modal-img { min-height: 0; aspect-ratio: 4/5; }
  .modal-info { padding: 28px 20px 32px; }
  .co-grid { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px 64px; }
  .summary { position: static; padding: 24px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .card .quick { display: none; }
  .card .meta { flex-direction: column; gap: 4px; }
  .filters { width: 100%; }
  section.block { padding: 64px 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .fields { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .perk { border-right: 0; border-bottom: 1px solid var(--line); }
  .cart-btn .label { display: none; }
  .hero { min-height: 78vh; }
}

/* ---------- Header: menú de rayitas + buscador ---------- */
.head-left, .head-right { display: flex; align-items: center; gap: 14px; }
.burger { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: transparent; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; transition: border-color .2s; }
.burger:hover { border-color: var(--ink); }
.burger span { width: 18px; height: 1.5px; background: var(--ink); display: block; }
.icon-round { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: transparent; display: grid; place-items: center; transition: border-color .2s; }
.icon-round:hover { border-color: var(--ink); }
nav.main a.on::after { width: 100%; }

.menu { position: fixed; top: 0; left: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); z-index: 50; transform: translateX(-100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; }
.menu.open { transform: none; }
.menu-body { flex: 1; overflow: auto; padding: 20px 24px 32px; }
.menu-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ink); padding: 0 14px; background: #fff; }
.menu-search input { flex: 1; border: 0; outline: none; padding: 14px 0; background: transparent; font-size: 15px; }
.muted-label { color: var(--muted); margin: 28px 0 6px; }
.menu-cats { list-style: none; margin: 0; padding: 0; }
.menu-cats button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; text-align: left; }
.menu-cats b { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; letter-spacing: .01em; line-height: 1; transition: transform .2s; }
.menu-cats button:hover b { transform: translateX(6px); }
.menu-cats span { color: var(--muted); font-size: 12px; }
.menu-cats button.on b { font-family: var(--serif); font-style: italic; text-transform: none; }
.menu-links { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.menu-links a { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.results { margin-top: 10px; }
.result { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; }
.result img, .result .placeholder { width: 48px; height: 60px; object-fit: cover; font-size: 16px; }
.result .n { font-size: 14px; font-weight: 500; }
.result .c { font-size: 12px; color: var(--muted); }
.results .all { margin-top: 12px; }
.results .none { color: var(--muted); font-size: 13px; padding: 12px 0; }
.search-note { margin: -20px 0 24px; font-size: 14px; }
.search-note button { background: none; border: 0; text-decoration: underline; padding: 0; margin-left: 8px; }
@media (max-width: 520px) {
  .burger, .icon-round { width: 40px; height: 40px; }
  .head-left, .head-right { gap: 8px; }
  .logo { font-size: 26px; }
}

/* ---------- Logo Lorea ---------- */
.logo img { height: 42px; width: auto; display: block; }
#bigLogo img { width: min(100%, 900px); height: auto; opacity: .95; }
.side .logo img { height: 30px; }
@media (max-width: 520px) { .logo img { height: 34px; } }

/* ---------- Ajustes responsive ---------- */
html, body { overflow-x: clip; }
.foot-cols > div, .co-grid > *, .fields > * { min-width: 0; }
.coupon input { min-width: 0; }
@media (max-width: 820px) {
  .foot-cols > div:first-child { grid-column: 1 / -1; }
  .legal { flex-direction: column; }
}
.add-row { display: flex; gap: 10px; align-items: stretch; }
body:has(.scrim.open) .wa, body:has(.checkout.open) .wa { display: none; }
@media (max-width: 820px) {
  .modal-img { aspect-ratio: auto; height: 44vh; }
  .add-row { position: sticky; bottom: 0; z-index: 2; background: var(--paper); margin: 0 -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .modal-info { padding-bottom: 0; }
}

/* ---------- Paleta Lorea: detalles en azul ---------- */
.announce { background: var(--ink); }
.eyebrow { color: inherit; }
section.block .eyebrow, .co-step h3 i, .muted-label { color: var(--accent-strong); }
.field input:focus, .field select:focus, .field textarea:focus, .menu-search:focus-within { border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(119,136,153,.2); }
.menu-search { border-color: var(--gray); }
.menu-cats button:hover b, .menu-cats button.on b { color: var(--accent-strong); }
nav.main a.on, nav.main a:hover { color: var(--accent-strong); }
.burger:hover, .icon-round:hover { border-color: var(--accent-strong); }
.split { background: var(--ink); }
.perk b { color: var(--ink); }
.perks { border-color: var(--gray); }
.perk { border-color: var(--line); }
.price { color: var(--ink); }
.qty { border-color: var(--gray); }
.coupon button { border-color: var(--accent-strong); color: var(--accent-strong); }
.coupon button:hover { background: var(--accent-strong); color: #fff; }
.result:hover .n { color: var(--accent-strong); }

/* iPhone pinta los botones de azul por defecto: forzar color del texto */
button, select, input, textarea { color: inherit; -webkit-tap-highlight-color: transparent; }
.chip, .icon-round, .burger, .x, .size, .qty button, .remove, .menu-cats button, .result, select.sort { color: var(--ink); }
.chip.active, .size.on { color: #fff; }
.remove { color: var(--muted); }

/* ---------- Páginas legales ---------- */
.btn-link { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.btn-link:hover { color: var(--ink); }
.legal-page { max-width: 780px; padding-top: 48px; padding-bottom: 80px; }
.legal-page h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 56px); text-transform: uppercase; line-height: 1; margin: 10px 0 28px; }
.legal-page h2 { font-family: var(--display); font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin: 36px 0 10px; }
.legal-page p, .legal-page li { line-height: 1.7; }
.legal-page ul, .legal-page ol { padding-left: 20px; }
.legal-note { background: var(--bone); border-left: 3px solid var(--accent); padding: 10px 14px; font-size: 13px; color: var(--muted); margin: 0 0 28px; }
.legal-links { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Filtros del catálogo ---------- */
.chip.filter-toggle.has { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-panel { display: grid; grid-template-columns: auto 1fr auto auto; gap: 28px; align-items: end; background: var(--bone); padding: 20px 24px; margin: -12px 0 32px; }
.filter-panel[hidden] { display: none; }
.fp-group .eyebrow { color: var(--muted); margin-bottom: 10px; }
.fp-price { display: flex; align-items: center; gap: 8px; }
.fp-price input { width: 120px; border: 1px solid var(--line); background: #fff; padding: 9px 12px; border-radius: var(--radius); font-size: 14px; }
.fp-price input:focus { outline: none; border-color: var(--accent-strong); }
.fp-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.fp-sizes .size { min-width: 40px; height: 36px; font-size: 12px; background: #fff; }
.fp-check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 6px; cursor: pointer; white-space: nowrap; }
.fp-check input { accent-color: var(--accent-strong); width: 16px; height: 16px; }
.fp-clear { padding: 10px 16px; font-size: 12px; }
@media (max-width: 900px) {
  .filter-panel { grid-template-columns: 1fr 1fr; gap: 20px; padding: 18px 16px; }
  .fp-group:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .fp-clear { grid-column: 1 / -1; order: 4; }
  .fp-price input { width: 100%; min-width: 0; }
}
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-strong); text-decoration: underline; font: inherit; cursor: pointer; }
