/* Liz Perfumería · tienda demo */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}

:root {
  --bg: #120d09;
  --bg-2: #1b140f;
  --surface: #211912;
  --surface-2: #2b2118;
  --line: rgba(233, 207, 143, .16);
  --gold: #c9a35b;
  --gold-2: #e9cf8f;
  --gold-3: #7d5d26;
  --cream: #f3e9d8;
  --text: #ece2d0;
  --muted: #b3a48c;
  --caramel: #b5743b;
  --whats: #25d366;
  --radius: 16px;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 40px rgba(0,0,0,.45);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { 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; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }


/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(18, 13, 9, .86);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold-2);
  font: 600 1.35rem/1 var(--serif);
  background: radial-gradient(circle at 50% 40%, #3a2614, var(--bg));
}
.brand-text { font: 600 1.35rem/1 var(--serif); color: var(--cream); letter-spacing: .02em; }
.brand-text em { color: var(--gold-2); font-weight: 500; }
.main-nav { display: none; gap: 1.5rem; }
.main-nav a { text-decoration: none; color: var(--muted); font-size: .92rem; letter-spacing: .05em; }
.main-nav a:hover { color: var(--gold-2); }
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  display: grid; place-items: center; color: var(--gold-2);
}
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--gold); color: #1a1209; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 12vw, 7.5rem) clamp(1.2rem, 5vw, 3rem) clamp(3rem, 8vw, 5rem); text-align: center; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 140%;
  background:
    radial-gradient(40% 35% at 50% 30%, rgba(201,163,91,.28), transparent 70%),
    radial-gradient(35% 30% at 15% 70%, rgba(181,116,59,.22), transparent 70%),
    radial-gradient(30% 30% at 85% 65%, rgba(122,52,30,.3), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; color: var(--gold); margin: 0 0 .7rem; font-weight: 600; }
.hero h1 {
  font: 600 clamp(3rem, 13vw, 6.2rem)/.95 var(--serif); margin: 0; color: var(--cream); letter-spacing: .01em;
}
.hero h1 em {
  display: block; font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--gold-3), var(--gold-2) 40%, var(--gold) 60%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font: 400 clamp(1.15rem, 3.6vw, 1.45rem)/1.4 var(--serif); color: var(--text); margin: 1.2rem auto 1.8rem; max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero-badges { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.hero-badges li { font-size: .78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; background: rgba(33,25,18,.55); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; font-weight: 600; letter-spacing: .02em; cursor: pointer; transition: transform .15s, filter .15s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: #1a1209; }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--gold); color: var(--gold-2); background: transparent; }
.btn-ghost:hover { background: rgba(201,163,91,.1); }
.btn-sm { min-height: 38px; padding: .4rem 1rem; font-size: .88rem; }
.btn-whats { background: var(--whats); color: #062b14; width: 100%; }
.btn-whats svg { width: 22px; height: 22px; }
.btn-whats[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-text { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: .6rem; font-size: .85rem; }
.grow { flex: 1; }

/* Sections */
.catalog, .info { padding: 3rem clamp(1rem, 4vw, 2.5rem); max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 1.6rem; }
.section-head h2 { font: 600 clamp(2.2rem, 7vw, 3rem)/1 var(--serif); margin: 0 0 .5rem; color: var(--cream); }

/* Filters */
.filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; margin-bottom: 1rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; min-height: 40px; padding: .4rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: .92rem;
}
.chip.is-active { background: var(--gold); border-color: var(--gold); color: #1a1209; font-weight: 600; }
.filter-row { display: flex; gap: .6rem; }
.search {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: .5rem; padding: 0 .9rem; min-height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; outline: none; font-size: 16px; }
.search input::placeholder { color: #8a7c66; }
.sort { flex: none; }
.sort select {
  min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  padding: 0 .6rem; max-width: 8.5rem; font-size: .88rem;
}
.result-count { margin: .2rem 0 1rem; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(233,207,143,.4); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 5 / 6; background: var(--surface-2); cursor: pointer; border: 0; padding: 0; display: block; width: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-tag {
  position: absolute; left: .5rem; bottom: .5rem; font-size: .62rem; letter-spacing: .04em;
  background: rgba(0,0,0,.55); color: #d9cdb7; padding: .15rem .45rem; border-radius: 6px;
}
.gender-tag {
  position: absolute; top: .5rem; left: .5rem; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(18,13,9,.75); color: var(--gold-2); border: 1px solid var(--line); padding: .2rem .55rem; border-radius: 999px;
}
.soldout-tag {
  position: absolute; top: .5rem; right: .5rem; font-size: .68rem; font-weight: 700; text-transform: uppercase;
  background: #5a1f1a; color: #ffd9cf; padding: .2rem .55rem; border-radius: 999px;
}
.card.is-soldout .card-media img { filter: grayscale(.7) brightness(.7); }
.card-body { padding: .8rem .85rem 1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.card-brand { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0; }
.card-title { font: 600 1.35rem/1.1 var(--serif); margin: 0; color: var(--cream); }
.card-title button { all: unset; cursor: pointer; }
.card-notes { font-size: .78rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-line { margin: auto 0 0; padding-top: .4rem; font-size: .8rem; font-style: italic; color: var(--gold-2); line-height: 1.3; }
.price-line.has-price { font-style: normal; font-weight: 700; font-size: 1.05rem; }
.card-whats, .card-add { width: 100%; min-height: 42px; padding: .45rem .6rem; font-size: .82rem; line-height: 1.15; text-align: center; }
.card-whats { margin-top: .6rem; gap: .35rem; }
.card-whats svg { width: 18px; height: 18px; flex: none; }
.card-add { margin-top: .45rem; }
.modal-whats { width: 100%; margin-top: .7rem; }
.card-add[disabled] { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.empty { text-align: center; color: var(--muted); padding: 2rem 1rem; }

/* Info */
.info { border-top: 1px solid var(--line); }
.info-grid { display: grid; gap: .9rem; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.4rem; }
.info-card h3 { font: 600 1.6rem/1.1 var(--serif); color: var(--gold-2); margin: 0 0 .6rem; }
.info-card p { margin: 0 0 .8rem; }
.link-gold { color: var(--gold-2); font-weight: 600; text-decoration: none; }
.link-gold:hover { text-decoration: underline; }
.hours { margin: 0 0 .6rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }
.open-status { font-size: .88rem; font-weight: 600; margin: .6rem 0 0 !important; }
.open-status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .45rem; background: currentColor; vertical-align: middle; }
.open-status.is-open { color: #7fd99a; }
.open-status.is-closed { color: #e39a8a; }
.social { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .7rem; margin-top: 1.4rem; }
.social-link {
  display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-2); text-decoration: none; transition: border-color .2s;
}
.social-link:hover { border-color: var(--gold); }
.social-link svg { width: 28px; height: 28px; color: var(--gold-2); flex: none; }
.social-link span { display: flex; flex-direction: column; font-weight: 600; }
.social-link small { color: var(--muted); font-weight: 400; }

.site-footer { text-align: center; padding: 2rem 1.2rem calc(6rem + var(--safe-b)); border-top: 1px solid var(--line); background: var(--bg-2); }
.site-footer p { margin: .3rem 0; }

/* Modal */
.modal {
  padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); color: var(--text);
  width: min(92vw, 860px); max-width: 92vw; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(5,3,2,.72); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-inner { position: relative; display: grid; }
.modal-media { position: relative; background: var(--surface-2); }
.modal-media img { width: 100%; height: auto; max-height: 42vh; object-fit: cover; }
.modal-body { padding: 1.2rem 1.3rem 1.4rem; }
.modal-body h3 { font: 600 2.2rem/1 var(--serif); margin: 0 0 .3rem; color: var(--cream); }
.modal-body h4 { margin: 1rem 0 .5rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.meta { color: var(--muted); font-size: .88rem; margin: 0 0 .8rem; }
.notes { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.notes li { font-size: .8rem; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem; background: var(--surface); }
.modal .price-line { font-size: 1rem; padding-top: 0; margin-top: .2rem; }
.modal .price-line.has-price { font-size: 1.5rem; }
.modal-actions { display: flex; gap: .7rem; margin-top: 1rem; align-items: center; }
.icon-close {
  position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(18,13,9,.8); color: var(--cream); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 40px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--gold-2); }
.qty output { min-width: 1.8rem; text-align: center; font-weight: 700; }
.qty.sm button { width: 34px; height: 34px; font-size: 1rem; }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(5,3,2,.6); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(100vw, 420px);
  display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; box-shadow: var(--shadow);
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .28s ease, visibility 0s; }
.drawer-head { position: relative; padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font: 600 1.8rem/1 var(--serif); color: var(--cream); }
.drawer-head .icon-close { top: .7rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: .6rem 1.2rem 1rem; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 76px; object-fit: cover; border-radius: 10px; }
.cart-item h3 { font: 600 1.15rem/1.1 var(--serif); margin: 0; color: var(--cream); }
.cart-item .ci-sub { font-size: .78rem; color: var(--muted); margin: .1rem 0 .4rem; }
.cart-item .ci-right { text-align: right; display: grid; gap: .3rem; justify-items: end; }
.cart-item .ci-total { font-weight: 700; color: var(--gold-2); }
.ci-remove { background: none; border: 0; color: var(--muted); font-size: .75rem; text-decoration: underline; cursor: pointer; padding: 0; }
.order-form { display: grid; gap: .6rem; margin-top: 1rem; }
.order-form label { display: grid; gap: .25rem; font-size: .82rem; color: var(--muted); }
.order-form input, .order-form select {
  min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); padding: 0 .8rem; font-size: 16px; color: var(--text);
}
.drawer-foot { padding: 1rem 1.2rem calc(1rem + var(--safe-b)); border-top: 1px solid var(--line); background: var(--bg); text-align: center; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; }
.total-line strong { font-size: 1.4rem; color: var(--gold-2); }
.drawer-foot .muted { margin: .3rem 0 .8rem; text-align: left; }

/* WhatsApp flotante */
.whats-float {
  position: fixed; right: 1rem; bottom: calc(1rem + var(--safe-b)); z-index: 35;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--whats); color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.45);
  transition: transform .2s;
}
.whats-float:hover { transform: scale(1.06); }
.whats-float svg { width: 32px; height: 32px; }
body.drawer-open .whats-float { display: none; }

.toast {
  position: fixed; left: 50%; bottom: calc(5.5rem + var(--safe-b)); z-index: 60; transform: translate(-50%, 20px);
  background: var(--cream); color: #1a1209; padding: .65rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; box-shadow: var(--shadow); max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Breakpoints */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .chips { justify-content: center; }
  .filters { max-width: 760px; margin: 0 auto 1rem; }
  .result-count { text-align: center; }
}
@media (min-width: 760px) {
  .main-nav { display: flex; }
  .modal-inner { grid-template-columns: 1fr 1.1fr; }
  .modal-media img { max-height: none; height: 100%; }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Páginas internas (fichas de perfume, visítanos, 404) ---------- */
.subpage .main-nav { display: flex; gap: 1rem; }
.page { max-width: 1000px; margin: 0 auto; padding: 1.2rem clamp(1rem, 4vw, 2.5rem) 3rem; }
.crumbs { font-size: .82rem; color: var(--muted); margin: .2rem 0 1.2rem; }
.crumbs a { color: var(--gold-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page h1 { font: 600 clamp(2.1rem, 7vw, 3.2rem)/1.05 var(--serif); color: var(--cream); margin: 0 0 .7rem; }
.page h2 { font: 600 clamp(1.6rem, 5vw, 2.1rem)/1.1 var(--serif); color: var(--gold-2); margin: 0 0 .7rem; }
.lead { font: 400 clamp(1.1rem, 3.4vw, 1.3rem)/1.45 var(--serif); color: var(--text); margin: 0 0 1rem; }
.product-top { display: grid; gap: 1.2rem; margin-bottom: 1.5rem; }
.product-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); align-self: start; }
.product-media img { width: 100%; height: auto; }
.product-info .btn-whats { margin: .4rem 0 .8rem; }
.product-info .price-line { margin: 0 0 .4rem; font-size: .95rem; }
.prose-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin: 0 0 1rem; }
.prose-block p { margin: 0 0 .7rem; }
.prose-block p:last-child { margin-bottom: 0; }
.prose-block .btn-whats { margin-top: .4rem; }
.steps { margin: 0 0 .8rem; padding-left: 1.2rem; }
.steps li { margin: .35rem 0; }
.faq details { border-top: 1px dashed var(--line); padding: .7rem 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--cream); }
.faq details p { margin: .5rem 0 0; color: var(--text); }
.table-wrap { overflow-x: auto; margin: 0 0 .8rem; }
.compare { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 480px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
.compare thead th { color: var(--gold-2); font-family: var(--serif); font-size: 1.1rem; }
.compare thead a { color: inherit; }
.compare tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.related, .all-perfumes { margin-top: 2rem; }
.related h2, .all-perfumes h2 { text-align: center; }
.grid-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--gold-2); }
a.card-media { display: block; }
.perfume-links { list-style: none; padding: 0; margin: 0 auto 1rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; max-width: 900px; }
.perfume-links a { display: inline-block; font-size: .85rem; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; background: var(--surface); color: var(--text); text-decoration: none; }
.perfume-links a:hover { border-color: var(--gold); color: var(--gold-2); }
.all-perfumes p, .perfume-index { text-align: center; }
.perfume-index { margin-top: 2rem; }
.perfume-index h3 { font: 600 1.5rem/1.1 var(--serif); color: var(--gold-2); margin: 0 0 .8rem; }
.page-head { margin-bottom: 1.4rem; }
.page .info-grid { margin-bottom: 1rem; }
.page .info-card h2 { font-size: 1.6rem; }
.map-wrap { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; margin-bottom: .8rem; background: var(--surface-2); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.notfound { text-align: center; padding-top: 3rem; }
.nf-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 1.2rem 0 1rem; }
.modal-page { display: inline-block; margin-top: .9rem; }
.store-block strong { color: var(--cream); }
@media (min-width: 640px) {
  .grid-related { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .map-wrap { aspect-ratio: 16 / 9; }
}
@media (min-width: 760px) {
  .product-top { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.8rem; }
}
