/* =========================================================
   Narguilas Posadas — estilos
   Blanco y negro, minimalista y editorial ("catálogo suizo"):
   grilla de líneas finas, tipografía grotesca grande y detalles en monoespaciada.
   ========================================================= */
:root {
  color-scheme: dark;
  --bg: #000;
  --fg: #fff;
  --line: rgba(255, 255, 255, .16);   /* líneas finas de la grilla */
  --line-2: rgba(255, 255, 255, .32);
  --muted: rgba(255, 255, 255, .62);
  --faint: rgba(255, 255, 255, .42);
  --panel: #0b0b0b;
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--display); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
::selection { background: var(--fg); color: var(--bg); }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .wrap { padding: 0 14px; } }

/* Etiquetas en monoespaciada (precios, conteos, metadatos) */
.mono, .topnote, .cart-btn__label, .cart-btn__total, .catbar__btn sup, .tile__count, .listhead__count,
.select span, .brands__label, .card__brand, .card__avail, .card__price, .tag, .pm__cat, .pm__ficha dt,
.how__steps span, .footer__text, .cart-item__meta, .total span {
  font-family: var(--mono); letter-spacing: .02em;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border: 1px solid var(--fg); border-radius: 0; cursor: pointer;
  font-family: var(--mono); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  background: var(--bg); color: var(--fg); transition: background .15s, color .15s;
}
.btn:hover, .btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { background: var(--bg); color: var(--fg); }
.btn--light { background: var(--bg); color: var(--fg); }
.btn--wpp { width: 100%; height: 56px; background: var(--fg); color: var(--bg); font-size: 14px; }
.btn--wpp:hover { background: var(--bg); color: var(--fg); }
.btn--wpp-sm { height: 42px; }
.btn--text { width: 100%; height: 40px; border: 0; background: none; color: var(--faint); }
.btn--text:hover { background: none; color: var(--fg); text-decoration: underline; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); cursor: pointer; transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--fg); color: var(--bg); }

/* ---------- Cinta superior ---------- */
.topnote { background: var(--fg); color: var(--bg); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.topnote__row { display: flex; justify-content: center; align-items: center; gap: 18px; height: 32px; white-space: nowrap; overflow: hidden; }
.topnote__sep { opacity: .5; }
@media (max-width: 720px) { .topnote__row > :nth-child(n+2) { display: none; } }

/* ---------- Encabezado ---------- */
.header { position: sticky; top: 0; z-index: 30; background: rgba(0,0,0,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: 24px; height: 78px; }
.logo img { width: 58px; height: 58px; object-fit: contain; transition: transform .4s var(--ease); }
.logo:hover img { transform: rotate(-8deg); }

.search {
  flex: 1; max-width: 620px; display: flex; align-items: center; gap: 12px; height: 46px;
  border-bottom: 1px solid var(--line-2); color: var(--faint); transition: border-color .2s, color .2s;
}
.search:focus-within { border-color: var(--fg); color: var(--fg); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; color: var(--fg); }
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.search__clear:hover { color: var(--fg); }

.help-link { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 8px 0; }
.help-link:hover { color: var(--fg); }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px;
  background: var(--fg); color: var(--bg); border: 1px solid var(--fg); border-radius: 0; cursor: pointer; transition: background .15s, color .15s;
}
.cart-btn:hover { background: var(--bg); color: var(--fg); }
.cart-btn__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.cart-btn__label { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; opacity: .65; }
.cart-btn__total { font-size: 14px; font-weight: 700; }
.cart-btn__count {
  position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 5px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--fg); font-family: var(--mono); font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.cart-btn__count.is-empty { display: none; }
.cart-btn.bump .cart-btn__count { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }

/* Categorías: texto grande con conteo en superíndice */
.catbar { border-top: 1px solid var(--line); }
.catbar__row { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.catbar__row::-webkit-scrollbar { display: none; }
.catbar__btn {
  position: relative; flex-shrink: 0; height: 48px; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); transition: color .15s;
}
.catbar__btn sup { font-size: 10px; margin-left: 3px; font-weight: 500; }
.catbar__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.catbar__btn:hover { color: var(--fg); }
.catbar__btn.is-active { color: var(--fg); }
.catbar__btn.is-active::after { transform: scaleX(1); }

@media (max-width: 760px) {
  .header__row { flex-wrap: wrap; height: auto; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .logo img { width: 48px; height: 48px; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 42px; }
  .search input { font-size: 16px; }
  .help-link span { display: none; }
  .cart-btn { height: 44px; }
  .catbar__row { gap: 22px; }
  .catbar__btn { height: 44px; font-size: 14px; }
}

/* ---------- Contenido ---------- */
.main { padding-top: 28px; padding-bottom: 72px; min-height: 60vh; }

/* Comprá por categoría: celdas de la grilla */
.tiles { margin-bottom: 44px; }
.tiles__title { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); margin-bottom: 12px; letter-spacing: .14em; }
.tiles__row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile {
  position: relative; display: grid; grid-template-columns: 1fr 84px; grid-template-rows: 1fr auto; gap: 6px 14px;
  min-height: 128px; padding: 18px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg); color: var(--fg); cursor: pointer; text-align: left; transition: background .15s, color .15s;
}
.tile:hover { background: var(--fg); color: var(--bg); }
.tile__img { grid-column: 2; grid-row: 1 / span 2; width: 84px; height: 84px; align-self: center; overflow: hidden; background: #111; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .3s; }
.tile:hover .tile__img img { filter: none; }
.tile__img .noimg svg { height: 40px; }
.tile__name { grid-column: 1; font-size: 26px; font-weight: 700; letter-spacing: -.03em; text-transform: uppercase; align-self: start; line-height: 1; }
.tile__count { grid-column: 1; font-size: 11px; text-transform: uppercase; color: inherit; opacity: .6; }
.tile::after { content: "→"; position: absolute; left: 18px; bottom: 34px; font-size: 18px; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.tile:hover::after { opacity: 1; transform: none; }
@media (max-width: 960px) { .tiles__row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .tiles { margin-bottom: 30px; }
  .tile { grid-template-columns: 1fr 48px; min-height: 0; padding: 12px; gap: 4px 10px; }
  .tile__img { width: 48px; height: 48px; }
  .tile__name { font-size: 17px; }
  .tile__count { font-size: 10px; }
  .tile::after { display: none; }
}

/* Título grande de la lista */
.listhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.listhead h1 { font-size: clamp(38px, 6vw, 80px); text-transform: uppercase; letter-spacing: -.045em; line-height: .9; }
.listhead__count { margin: 12px 0 0; font-size: 12px; text-transform: uppercase; color: var(--faint); }
.listhead__tools { display: flex; gap: 0; }
.select { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 0 0 14px; border: 1px solid var(--line-2); margin-left: -1px; }
.select span { font-size: 10px; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.select select {
  appearance: none; -webkit-appearance: none; border: 0; outline: 0; height: 100%; cursor: pointer; padding: 0 34px 0 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
}
.select select option { background: #111; color: #fff; text-transform: none; }
@media (max-width: 600px) {
  .listhead__tools { width: 100%; }
  .select { flex: 1; min-width: 0; padding-left: 10px; }
  .select span { display: none; }
  .select select { flex: 1; min-width: 0; }
}

/* Marcas */
.brands { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.brands::-webkit-scrollbar { display: none; }
.brands__label { font-size: 10px; text-transform: uppercase; color: var(--faint); margin-right: 14px; flex-shrink: 0; letter-spacing: .14em; }
.chip {
  flex-shrink: 0; height: 32px; padding: 0 14px; border: 1px solid var(--line-2); margin-left: -1px; background: var(--bg); cursor: pointer;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); transition: background .15s, color .15s;
}
.chip:hover { color: var(--fg); }
.chip.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); position: relative; z-index: 1; }
@media (max-width: 600px) { .brands { margin: 0 -14px; padding-left: 14px; padding-right: 14px; } }

/* ---------- Grilla de productos: catálogo de líneas finas ---------- */
.grid { display: grid; grid-template-columns: repeat(5, 1fr); border-left: 1px solid var(--line); counter-reset: item; margin-top: 0; }
@media (max-width: 1280px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .grid { grid-template-columns: repeat(2, 1fr); } }

.card {
  counter-increment: item; display: flex; flex-direction: column; background: var(--bg); color: var(--fg);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .15s, color .15s;
  animation: rise .4s var(--ease) both;
}
@keyframes rise { from { opacity: 0; } }
.card:hover { background: var(--fg); color: var(--bg); }
.card__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; width: 100%; padding: 0; border: 0; cursor: pointer; background: #0d0d0d; overflow: hidden; color: #fff; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255,255,255,.55); }
.noimg svg { height: 45%; width: auto; }
.card__media .tag { position: absolute; top: 0; left: 0; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--line-2);
}
.tag svg { width: 11px; height: 11px; }
.tag--hot { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tag--off { color: var(--faint); }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 14px; }
.card__brand { margin: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; opacity: .55; }
.card__brand::before { content: counter(item, decimal-leading-zero) " — "; }
.card__title { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.22; margin: 6px 0 8px; min-height: calc(16px * 1.22 * 2); }
.card__title button { all: unset; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__avail { margin: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.card__avail::before { margin-right: 6px; }
.card__avail.is-now::before { content: "●"; }
.card__avail.is-order::before { content: "◐"; }
.card__avail.is-off::before { content: "○"; }
.card__price { margin-top: auto; padding-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.card__price small { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; opacity: .6; }
.card__price.is-consult { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.card__price.is-off { opacity: .4; }
.card__btn {
  position: relative; width: 100%; height: 40px; margin-top: 12px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; overflow: hidden;
  font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; transition: background .15s, color .15s;
}
.card__btn-txt::before { content: "+ "; }
.card__btn:hover { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.card:hover .card__btn:not(:hover) { border-color: var(--bg); }
.card__btn.is-off { opacity: .5; }
.card__btn-ok { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--fg); color: var(--bg); transform: translateY(100%); transition: transform .25s var(--ease); }
.card:hover .card__btn-ok { background: var(--bg); color: var(--fg); }
.card__btn-ok svg { width: 16px; height: 16px; }
[data-add].is-done .card__btn-ok { transform: none; }
.card--off .card__media img { filter: grayscale(1); opacity: .45; }
.card--off .card__title { opacity: .55; }

@media (max-width: 480px) {
  .card__body { padding: 10px; }
  .card__title { font-size: 14px; min-height: calc(14px * 1.22 * 2); }
  .card__price { font-size: 16px; padding-top: 10px; }
  .card__btn { height: 38px; font-size: 10px; letter-spacing: .08em; }
  .tag { height: 20px; font-size: 9px; padding: 0 6px; }
}

.empty { text-align: center; padding: 72px 16px; border: 1px solid var(--line); border-top: 0; color: var(--muted); }
.empty__title { font-size: 26px; font-weight: 700; color: var(--fg); margin: 0 0 8px; letter-spacing: -.02em; }
.empty p { margin: 0; }
.empty__actions { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.empty__actions .btn + .btn { margin-left: -1px; }

/* ---------- Cómo comprar ---------- */
.how { padding: 64px 0; border-top: 1px solid var(--line); }
.how h2 { font-size: clamp(30px, 4vw, 48px); text-transform: uppercase; letter-spacing: -.04em; margin-bottom: 26px; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.how__steps li { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how__steps span { font-size: 13px; color: var(--faint); }
.how__steps span::before { content: "0"; }
.how__steps b { font-size: 20px; letter-spacing: -.02em; }
.how__steps p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .how__steps { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.footer { padding: 36px 0 110px; border-top: 1px solid var(--line); }
.footer__row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer__row img { width: 76px; height: 76px; object-fit: contain; }
.footer__text { flex: 1; min-width: 240px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.footer__text p { margin: 0 0 6px; }
.footer__text b { color: var(--fg); font-weight: 600; }

/* ---------- Carrito ---------- */
.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.7); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(460px, 100%); background: var(--bg);
  border-left: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 28px; text-transform: uppercase; letter-spacing: -.04em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 20px 20px; }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.cart-empty { text-align: center; color: var(--muted); padding: 64px 0; }
.cart-empty p { margin: 0 0 18px; }

.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item__thumb { width: 64px; height: 64px; overflow: hidden; background: #111; color: #fff; }
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.25; }
.cart-item__meta { margin: 4px 0 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.cart-item__meta .is-now::before { content: "● "; }
.cart-item__meta .is-order::before { content: "◐ "; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item__price { font-family: var(--mono); font-weight: 700; font-size: 14px; }
.cart-item__price.is-consult { font-size: 10px; text-transform: uppercase; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); text-decoration: underline; }
.link-btn:hover { color: var(--fg); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); height: 48px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--muted); }
.qty button:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.qty span { min-width: 26px; text-align: center; font-family: var(--mono); font-weight: 700; }
.qty--sm { height: 30px; }
.qty--sm button { width: 30px; font-size: 15px; }

.order-form { margin-top: 26px; display: grid; gap: 14px; }
.order-form h3 { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); }
.order-form label { display: grid; gap: 6px; }
.order-form label > span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.order-form label i { font-style: normal; color: var(--faint); }
.order-form input, .order-form select, .order-form textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 0; background: var(--bg); color: var(--fg); font-size: 15px; transition: border-color .15s;
}
.order-form select option { background: #111; }
.order-form textarea { height: auto; padding: 10px 14px; resize: vertical; }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { outline: 0; border-color: var(--fg); }

.encargo-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.encargo-note svg { flex-shrink: 0; margin-top: 1px; }
.encargo-note b { color: var(--fg); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.total span { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); }
.total strong { font-size: 28px; letter-spacing: -.03em; text-align: right; }

/* ---------- Detalle del producto ---------- */
.overlay--modal { z-index: 60; }
.pmodal { position: fixed; inset: 0; z-index: 61; display: grid; place-items: center; padding: 28px; overflow-y: auto; }
.pmodal__box { position: relative; width: min(980px, 100%); background: var(--bg); border: 1px solid var(--line-2); animation: pm-in .3s var(--ease); }
@keyframes pm-in { from { transform: translateY(12px); } }
.pmodal__close { position: absolute; top: 0; right: 0; z-index: 2; width: 48px; height: 48px; border: 0; border-left: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.pm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pm__media { background: #0d0d0d; aspect-ratio: 1 / 1; color: #fff; border-right: 1px solid var(--line-2); }
.pm__media img { width: 100%; height: 100%; object-fit: cover; }
.pm__media.is-off img { filter: grayscale(1); opacity: .5; }
.pm__info { padding: 34px 30px 28px; display: flex; flex-direction: column; min-width: 0; max-height: min(86vh, 980px); overflow-y: auto; }
.pm__cat { margin: 0 52px 10px 0; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); }
.pm__info h2 { font-size: clamp(30px, 3.4vw, 42px); text-transform: uppercase; letter-spacing: -.045em; line-height: .95; margin-right: 40px; }
.pm__status { margin-top: 14px; }
.pm__price { margin-top: 18px; font-family: var(--mono); font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.pm__price.is-consult { font-size: 14px; text-transform: uppercase; color: var(--muted); }
.pm__buy { display: grid; gap: 12px; margin-top: 18px; }
.pm__opt { display: grid; gap: 6px; }
.pm__opt span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.pm__opt select { height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 0; background: var(--bg); color: var(--fg); font-weight: 600; }
.pm__opt select option { background: #111; }
.pm__actions { display: flex; }
.pm__actions .qty { border-right: 0; }
.pm__add { flex: 1; height: 48px; position: relative; overflow: hidden; }
.pm__add .card__btn-ok { background: var(--bg); color: var(--fg); }
.pm__text { margin-top: 24px; color: var(--muted); font-size: 15px; }
.pm__text p { margin: 0 0 10px; }
.pm__ficha { margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pm__ficha div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pm__ficha dt { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); padding-top: 3px; }
.pm__ficha dd { margin: 0; font-weight: 600; }
.pm__ask { margin-top: 18px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.pm__ask:hover { color: var(--fg); }
@media (max-width: 760px) {
  .pmodal { padding: 0; place-items: end center; }
  .pmodal__box { max-height: 94vh; overflow-y: auto; border-width: 1px 0 0; }
  .pm { grid-template-columns: 1fr; }
  .pm__media { aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .pm__info { max-height: none; overflow: visible; padding: 22px 16px 28px; }
}

/* ---------- WhatsApp flotante + aviso ---------- */
.wpp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 25; width: 56px; height: 56px; border-radius: 50%;
  background: var(--fg); color: var(--bg); display: grid; place-items: center; border: 1px solid var(--fg);
  box-shadow: 0 0 0 4px var(--bg); transition: background .15s, color .15s;
}
.wpp-float:hover { background: var(--bg); color: var(--fg); }
.toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 70; width: max-content; max-width: calc(100% - 28px);
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px;
  background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 600;
  transform: translate(-50%, 160%); opacity: 0; transition: transform .35s var(--ease), opacity .25s;
}
.toast > svg { width: 18px; height: 18px; flex-shrink: 0; }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast button { flex-shrink: 0; height: 32px; padding: 0 12px; border: 0; background: var(--bg); color: var(--fg); font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.pm__media, .pm__info { min-width: 0; }
@media (max-width: 760px) { .pm { grid-template-columns: minmax(0, 1fr); } }
