/* Catalogo publico Sellpixo. Colores de la tienda en --brand / --on-brand. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #0B0B12;
  background: #F7F7FA;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.wa, svg.ig { stroke: none; }
[hidden] { display: none !important; }

/* Portada de la tienda: franja de color y tarjeta con el logo encima */
.hero { position: relative; padding: 0 16px 6px; text-align: center; }
.cover {
  z-index: -2;
  position: absolute; left: 0; right: 0; top: 0; height: 170px; overflow: hidden;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255,255,255,.22), transparent 55%),
    linear-gradient(150deg, color-mix(in srgb, var(--brand) 88%, #fff), color-mix(in srgb, var(--brand) 70%, #000));
}
.cover i { position: absolute; border-radius: 50%; background: color-mix(in srgb, var(--on-brand) 10%, transparent); }
.cover i:nth-child(1) { width: 220px; height: 220px; left: -70px; top: -90px; }
.cover i:nth-child(2) { width: 120px; height: 120px; right: 12%; top: 34px; background: color-mix(in srgb, var(--on-brand) 7%, transparent); }
.cover i:nth-child(3) { width: 300px; height: 300px; right: -120px; bottom: -200px; }
.hero-in {
  position: relative; max-width: 640px; margin: 0 auto; padding: 96px 0 0;
}
.hero-in::before {
  content: ''; position: absolute; left: 0; right: 0; top: 118px; bottom: 0; z-index: -1;
  background: #fff; border-radius: 28px; border: 1px solid #EDEDF2; box-shadow: 0 18px 40px rgba(11,11,18,.07);
}
.hero { isolation: isolate; }
.hero-in > * { position: relative; }
.logo {
  width: 104px; height: 104px; margin: 0 auto; border-radius: 50%;
  background: #fff; border: 5px solid #fff;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 12px 30px rgba(11,11,18,.16);
}
.logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* Tiendas Pro: aro en degradado alrededor del logo y la etiqueta PRO, igual que en la app. */
.logo-wrap { position: relative; width: max-content; margin: 0 auto; }
.logo-wrap.is-pro { padding: 5px; border-radius: 50%; background: conic-gradient(from 0deg, #5B3DF5, #B13CFF 30%, #FF4F8B 55%, #FF9F1C 78%, #5B3DF5); box-shadow: 0 12px 30px rgba(177,60,255,.28); }
.logo-wrap.is-pro .logo { box-shadow: none; }
.pro-pill {
  position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%);
  padding: 4px 12px; border-radius: 999px; border: 3px solid #fff;
  background: linear-gradient(90deg, #5B3DF5, #B13CFF, #FF4F8B, #FF9F1C); color: #fff;
  font: 800 12px/1 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: .08em;
  box-shadow: 0 6px 14px rgba(177,60,255,.38);
}
.chip.chip-pro { background: linear-gradient(90deg, #EFEBFF, #FBE9F6); color: #5B3DF5; }
.chip.chip-pro svg { fill: #B13CFF; stroke: #B13CFF; }
.logo span { font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--brand); }
.hero h1 {
  font-family: var(--display); font-size: clamp(26px, 6.5vw, 38px); line-height: 1.08;
  margin: 16px 18px 6px; letter-spacing: -.02em; color: #0B0B12;
}
.desc { margin: 0 auto; padding: 0 20px; max-width: 520px; color: #5F6270; font-size: 15px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 14px; padding: 0 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 9%, #fff); color: color-mix(in srgb, var(--brand) 80%, #000);
  font-size: 12.5px; font-weight: 700;
}
.chip svg { width: 14px; height: 14px; }
.vbadge { width: .62em; height: .62em; margin-left: .22em; vertical-align: -.02em; fill: #1D9BF0; stroke: #fff; stroke-width: 1.8; }
.chip-verified { border: 0; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 700; background: #E8F4FE; color: #0B6FB8; }
.chip-verified svg { fill: #1D9BF0; stroke: #fff; stroke-width: 2; }
.vnote { margin: 10px auto 0; max-width: 460px; padding: 10px 14px; border-radius: 14px; background: #F3F8FD; color: #33536B; font-size: 13px; line-height: 1.5; }
.hero-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; padding: 0 16px 22px; }
.btn-light {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 13px;
  background: #F3F3F6; color: #0B0B12; text-decoration: none; font-weight: 700; font-size: 14px; border: 0;
  transition: background .15s ease, transform .15s ease;
}
.btn-light:hover { background: #EAEAF0; transform: translateY(-1px); }
.btn-light[data-wa] { background: #25D366; color: #fff; box-shadow: 0 8px 18px rgba(37,211,102,.28); }
.btn-light[data-wa] svg.wa path { fill: #fff; }
.btn-light[data-wa]:hover { background: #1FBE5B; }

/* Barra de busqueda */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(247,247,250,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.bar-in { max-width: 1100px; margin: 0 auto; padding: 12px 16px 8px; display: flex; gap: 10px; }
.search {
  flex: 1; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 14px;
  background: #fff; border: 1px solid #E6E6EC; color: #5F6270;
}
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; color: #0B0B12; min-width: 0; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 14px; border: 0;
  background: var(--brand); color: var(--on-brand); display: grid; place-items: center;
}
.cart-btn svg { width: 21px; height: 21px; }
.badge {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: #0B0B12; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #F7F7FA;
}
.cats { max-width: 1100px; margin: 0 auto; padding: 2px 16px 12px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid #E6E6EC;
  background: #fff; color: #0B0B12; font-weight: 700; font-size: 13.5px;
}
.cat.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }

/* Productos */
.wrap { max-width: 1100px; margin: 0 auto; padding: 4px 16px 120px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 2px 12px; }
.sec-head h2 { font-family: var(--display); font-size: 20px; margin: 0; letter-spacing: -.01em; }
.sec-head span { font-size: 13px; color: #8A8C99; font-weight: 600; }
.card {
  background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid #EDEDF2;
  display: flex; flex-direction: column; text-align: left; padding: 0; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 2px 8px rgba(11,11,18,.03);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,11,18,.09); border-color: color-mix(in srgb, var(--brand) 25%, #EDEDF2); }
.card:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.pic {
  position: relative; aspect-ratio: 1; overflow: hidden; min-height: 0; margin: 6px 6px 0; border-radius: 17px;
  background:
    radial-gradient(70% 60% at 50% 42%, #fff, transparent 75%),
    color-mix(in srgb, var(--brand) 9%, #F6F4F1);
  display: grid; place-items: center;
}
/* La foto nunca estira la tarjeta: siempre un cuadro */
.pic img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; transition: transform .3s ease; filter: drop-shadow(0 10px 12px rgba(11,11,18,.14)); }
.card:hover .pic img { transform: scale(1.05); }
.pic.photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.pic .noimg { color: #B9BAC6; }
.pic .noimg svg { width: 34px; height: 34px; }
.tag {
  position: absolute; left: 8px; top: 8px; padding: 5px 9px; border-radius: 9px; font-size: 11.5px; font-weight: 800;
}
.tag.off { background: #D12C3A; color: #fff; box-shadow: 0 4px 10px rgba(209,44,58,.3); }
.tag.out { background: rgba(11,11,18,.78); color: #fff; }
/* Producto digital: se entrega por WhatsApp, sin envio */
.kind {
  position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px 4px 6px;
  border-radius: 8px; font-size: 11px; font-weight: 800; background: rgba(255,255,255,.92); color: #4328D9; box-shadow: 0 2px 8px rgba(11,11,18,.12);
}
.kind svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.p-digital { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #EEEAFE; color: #2E1F99; font-size: 13px; line-height: 1.45; }
.p-digital[hidden] { display: none; }
.p-digital svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-digital b { display: block; }
label.hint-digital small { display: block; font-weight: 600; color: #5F6270; margin-top: 4px; font-size: 12px; }
.card.soldout .pic img { opacity: .45; filter: grayscale(.4); }
.info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.name { font-weight: 700; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row { display: flex; align-items: flex-end; gap: 6px; margin-top: auto; padding-top: 6px; }
.prices { display: flex; flex-direction: column; min-width: 0; }
.price { font-weight: 800; font-size: 16px; color: #0B0B12; letter-spacing: -.01em; }
.before { font-size: 12px; color: #8A8C99; text-decoration: line-through; }
.add {
  margin-left: auto; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand); flex: none; box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 35%, transparent);
}
.add svg { width: 17px; height: 17px; stroke-width: 2.6; }
.none, .empty { text-align: center; color: #5F6270; }
.empty { padding: 48px 20px; background: #fff; border-radius: 22px; border: 1px solid #EDEDF2; margin-top: 8px; }
.empty svg { width: 40px; height: 40px; color: var(--brand); margin: 0 auto 10px; display: block; }
.empty h2 { font-family: var(--display); color: #0B0B12; margin: 0 0 6px; }
.empty p { margin: 0 auto; max-width: 340px; line-height: 1.5; }

/* Confianza, reportes y aviso de seguridad */
.chip-trust { background: #F3F3F6; color: #3D4050; }
.report-link {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: #8A8C99;
  font-size: 13px; font-weight: 600; padding: 8px 10px; border-radius: 10px; margin-bottom: 6px;
}
.report-link:hover { color: #B42330; background: #FDECEE; }
.report-link svg { width: 15px; height: 15px; }
.report-link.small { display: flex; margin: 14px auto 0; }
.report-intro { color: #5F6270; font-size: 14px; line-height: 1.5; margin: 6px 0 4px; }
.reasons { border: 0; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.reasons legend { font-size: 13px; font-weight: 700; color: #5F6270; margin-bottom: 8px; padding: 0; }
.reason { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 12px 14px; border-radius: 12px; background: #F3F3F6; color: #0B0B12 !important; font-size: 14.5px !important; cursor: pointer; border: 1.5px solid transparent; }
.reason input { width: 18px; height: 18px; margin: 0; accent-color: #D12C3A; flex: none; display: inline-block; }
.reason:has(input:checked) { border-color: #D12C3A; background: #FDECEE; }
form textarea { display: block; width: 100%; margin-top: 6px; border-radius: 12px; border: 1.5px solid transparent; background: #F3F3F6; padding: 12px 14px; font: inherit; font-size: 15px; color: #0B0B12; outline: none; resize: vertical; }
form textarea:focus { border-color: var(--brand); background: #fff; }
form input[type=file] { height: auto; padding: 10px; font-size: 14px; }
.report-send { width: 100%; margin-top: 16px; background: #D12C3A; color: #fff; }
.safety { display: flex; gap: 10px; align-items: flex-start; background: #FFF7E6; border: 1px solid #F5D9A8; border-radius: 14px; padding: 11px 13px; margin: 0 0 14px; }
.safety svg { width: 20px; height: 20px; color: #B26A00; margin-top: 1px; }
.safety p { margin: 0; font-size: 13px; line-height: 1.45; color: #6B4A10; }

/* Pie */
.foot { text-align: center; padding: 12px 16px 110px; }
.made { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #5F6270; text-decoration: none; }
.made strong { color: #0B0B12; }
.made svg { width: 16px; height: 16px; stroke: none; }

/* Hojas (ficha y carrito) */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(11,11,18,.5); animation: fade .2s ease; }
.sheet-box {
  position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: #fff;
  border-radius: 26px 26px 0 0; animation: up .25s cubic-bezier(.2,.8,.2,1);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 720px) {
  .sheet { align-items: center; }
  .sheet-box { border-radius: 26px; }
}
@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.x {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: color-mix(in srgb, var(--brand) 8%, #FFFBF6); }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: none; width: 100%; aspect-ratio: 1; object-fit: contain; scroll-snap-align: center; padding: 18px; }
.gallery.photo img { object-fit: cover; padding: 0; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots i { width: 7px; height: 7px; border-radius: 4px; background: #D5D6DE; transition: width .2s; }
.dots i.on { width: 18px; background: var(--brand); }
.sheet-body { padding: 18px 20px 22px; }
.sheet-body h2 { font-family: var(--display); font-size: 24px; margin: 0 0 6px; letter-spacing: -.01em; }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price-row .price { font-size: 22px; }
.off { font-size: 12px; font-weight: 800; color: #fff; background: #D12C3A; padding: 3px 7px; border-radius: 7px; }
.off:empty { display: none; }
.p-desc { color: #5F6270; line-height: 1.55; white-space: pre-line; margin: 12px 0 0; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.variants button {
  height: 40px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #E6E6EC; background: #fff; font-weight: 700; color: #0B0B12;
}
.variants button.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); }
.variants button:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.variants.grouped { display: block; }
.opt + .opt { margin-top: 14px; }
.opt-label { font-size: 13px; color: #5F6270; font-weight: 600; margin-bottom: 8px; }
.opt-label b { color: #0B0B12; font-weight: 800; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.variants button.size { min-width: 48px; padding: 0 12px; }
.variants button.color { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; }
.variants button.color i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(11,11,18,.15); flex: none; }
.variants button.out { opacity: .4; text-decoration: line-through; border-style: dashed; }
.variants button.out.on { opacity: .7; }
.stock-hint { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: #C2410C; }
.stock-hint:empty { display: none; }
.ask {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; height: 44px;
  border-radius: 12px; color: #0B0B12; font-weight: 700; font-size: 14px; text-decoration: none; background: #F3F3F6;
}
.ask svg { width: 18px; height: 18px; }
.buy { display: flex; gap: 10px; margin-top: 20px; }
.qty { display: flex; align-items: center; background: #F3F3F6; border-radius: 14px; }
.qty button { width: 44px; height: 52px; border: 0; background: transparent; font-size: 22px; font-weight: 700; color: #0B0B12; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.btn-brand {
  flex: 1; height: 52px; border: 0; border-radius: 14px; background: var(--brand); color: var(--on-brand);
  font-weight: 800; font-size: 15.5px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; padding: 0 18px;
}
.btn-brand:disabled { opacity: .5; cursor: not-allowed; }

.cart .sheet-body { padding-top: 26px; }
.lines { list-style: none; margin: 14px 0 0; padding: 0; }
.lines li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #EDEDF2; }
.lines .thumb { width: 54px; height: 54px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 8%, #FFFBF6); flex: none; overflow: hidden; }
.lines .thumb img { width: 100%; height: 100%; object-fit: contain; }
.lines .meta { flex: 1; min-width: 0; }
.lines .meta b { display: block; font-size: 14px; }
.lines .meta small { color: #5F6270; }
.lines .q { display: flex; align-items: center; gap: 2px; background: #F3F3F6; border-radius: 10px; }
.lines .q button { width: 30px; height: 32px; border: 0; background: transparent; font-weight: 800; font-size: 17px; }
.cart-empty { color: #5F6270; text-align: center; padding: 18px 0; }
form label { display: block; font-size: 13px; font-weight: 700; color: #5F6270; margin-top: 12px; }
form input, form select {
  display: block; width: 100%; margin-top: 6px; height: 48px; border-radius: 12px; border: 1.5px solid transparent;
  background: #F3F3F6; padding: 0 14px; font: inherit; font-size: 15px; color: #0B0B12; outline: none;
}
form input:focus, form select:focus { border-color: var(--brand); background: #fff; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 12px; font-size: 15px; }
.total strong { font-size: 22px; }
.err { background: #FDECEE; color: #B42330; border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.btn-wa {
  width: 100%; height: 54px; border: 0; border-radius: 14px; background: #25D366; color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 8px 20px rgba(37,211,102,.3);
}
.btn-wa svg { width: 22px; height: 22px; stroke: none; }
.btn-wa:disabled { opacity: .6; }

/* Boton flotante de WhatsApp */
.float {
  position: fixed; right: 0; bottom: 0; z-index: 30; pointer-events: none;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom));
}
.wa-fab {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 8px;
  border: 0; border-radius: 999px; background: #25D366; color: #fff; font-weight: 800; font-size: 15.5px; text-align: left;
  box-shadow: 0 14px 30px rgba(37,211,102,.38), 0 3px 8px rgba(11,11,18,.12);
  transition: transform .15s ease, box-shadow .15s ease;
  animation: pop .35s cubic-bezier(.2,.8,.2,1);
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(37,211,102,.45), 0 3px 8px rgba(11,11,18,.12); }
.wa-ico { position: relative; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.wa-ico::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255,255,255,.55); animation: ring 2.4s ease-out infinite; }
.wa-ico svg { width: 26px; height: 26px; }
.wa-txt { display: flex; flex-direction: column; line-height: 1.15; }
.wa-txt small { font-size: 12px; font-weight: 700; opacity: .9; }
.wa-fab.has-cart .wa-ico::after { animation: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
@keyframes pop { from { transform: translateY(20px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 380px) { .wa-fab { font-size: 14.5px; padding-right: 16px; } }
.toast {
  position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 60; background: #0B0B12; color: #fff;
  padding: 11px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Tienda no encontrada */
body.missing { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
body.missing h1 { font-family: var(--display); margin: 16px 0 6px; }
body.missing p { color: #5F6270; margin: 0 0 22px; }
body.missing svg { stroke: none; width: 56px; height: 56px; margin: 0 auto; }
body.missing .btn-brand { display: inline-flex; flex: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Calificacion en la portada */
.chip.chip-rating { background: #FFF5DB; color: #8A5A00; text-decoration: none; }
.chip.chip-rating svg { fill: #F5A524; stroke: #F5A524; }

/* Combo: que trae y cuanto se ahorra */
.kind.combo { color: #B4235A; }
.p-combo { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 7%, #fff); border: 1px solid color-mix(in srgb, var(--brand) 18%, #EDEDF2); }
.p-combo[hidden] { display: none; }
.p-combo .c-title { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: color-mix(in srgb, var(--brand) 75%, #000); margin-bottom: 6px; }
.p-combo ul { list-style: none; margin: 0; padding: 0; }
.p-combo li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.p-combo li + li { border-top: 1px dashed color-mix(in srgb, var(--brand) 20%, #E3E3EA); }
.p-combo li img, .p-combo li .ph { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; background: #fff; flex: none; }
.p-combo li span { flex: 1; font-weight: 700; }
.p-combo li em { font-style: normal; color: #8A8C99; font-size: 13px; }
.p-combo .c-save { margin-top: 8px; font-size: 13px; color: #5F6270; }
.p-combo .c-save b { color: #178A4C; }

/* Cupon en el carrito */
.coupon { margin-top: 14px; }
.coupon-label { display: block; font-size: 13px; font-weight: 700; color: #5F6270; }
.coupon-row { display: flex; gap: 8px; margin-top: 6px; }
.coupon-row input { flex: 1; text-transform: uppercase; letter-spacing: .06em; margin: 0 !important; }
.coupon-btn { border: 0; border-radius: 12px; padding: 0 16px; font-weight: 800; background: #0B0B12; color: #fff; cursor: pointer; }
.coupon-btn.remove { background: #F3F3F6; color: #0B0B12; }
.coupon-ok { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: #178A4C; }
.subtotals { margin: 16px 0 -8px; font-size: 14px; color: #5F6270; }
.subtotals[hidden] { display: none; }
.subtotals div { display: flex; justify-content: space-between; padding: 2px 0; }
.subtotals .disc { color: #178A4C; font-weight: 700; }

/* Opiniones */
.reviews { margin-top: 34px; }
.rev-summary { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #EDEDF2; border-radius: 18px; padding: 14px 16px; }
.rev-summary strong { font-family: var(--display); font-size: 40px; line-height: 1; color: #0B0B12; }
.rev-summary small { display: block; color: #8A8C99; font-size: 12.5px; margin-top: 4px; }
.stars { display: inline-flex; gap: 2px; }
.stars i { width: 18px; height: 18px; background: #E3E3EA; -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.stars.sm i { width: 14px; height: 14px; }
.stars i.on { background: #F5A524; }
.stars i.half { background: linear-gradient(90deg, #F5A524 50%, #E3E3EA 50%); }
:root { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z'/%3E%3C/svg%3E"); }
.rev-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-top: 10px; }
.rev { background: #fff; border: 1px solid #EDEDF2; border-radius: 18px; padding: 14px 16px; }
.rev header { display: flex; align-items: center; gap: 10px; }
.rev-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: color-mix(in srgb, var(--brand) 14%, #fff); color: color-mix(in srgb, var(--brand) 80%, #000); flex: none; }
.rev-who { flex: 1; min-width: 0; }
.rev-who b { display: block; font-size: 14px; }
.rev-who small { color: #8A8C99; font-size: 12px; }
.rev p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #3D4050; }

/* Como vas a pagar */
.pay-hint { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #5F6270; }
.pay-hint[hidden] { display: none; }
.pay-field { display: block; margin-top: 14px; }
.pay-title { display: block; font-size: 13px; font-weight: 700; color: #5F6270; margin-bottom: 8px; }
.pay-list { display: grid; gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1.5px solid #E3E3EA; border-radius: 14px; background: #fff; cursor: pointer; text-align: left; font: inherit; color: #0B0B12; }
.pay-opt[hidden] { display: none; }
.pay-opt.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); }
.pay-opt:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 1px; }
.pay-logo { position: relative; width: 40px; height: 40px; flex: none; border-radius: 11px; overflow: hidden; display: grid; place-items: center; background: var(--c); }
.pay-logo b[hidden] { display: none; }
.pay-logo b { color: #fff; font-weight: 800; font-size: 17px; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
/* Logo mas chico sobre el color del banco (los PNG sin fondo del admin, mas aire). */
.pay-logo img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; border-radius: 22%; }
.pay-logo.clean img { inset: 19%; width: 62%; height: 62%; border-radius: 0; }
.pay-logo svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pay-name { flex: 1; min-width: 0; font-weight: 700; font-size: 14.5px; }
.pay-check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #D5D5DE; flex: none; }
.pay-opt.on .pay-check { border: 6px solid var(--brand); }
