.shop-root, .shop-root *, .shop-root *::before, .shop-root *::after { box-sizing: border-box; }
.shop-root {
  --ink: #2a0f2e;
  --ink-2: #66506b;
  --bg: #fdfafe;
  --lilac: #f3eaf8;
  --line: #e7d9ee;
  --gloss: #d6246e;
  --gloss-dark: #b01a58;
  --mint: #bdebd3;
  --mint-ink: #0e3a27;
  --warn: #a4560a;
  --bad: #b3261e;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg); min-height: 100vh; line-height: 1.55; color-scheme: light;
}
.shop-root a { color: inherit; }
.shop-root img { max-width: 100%; height: auto; display: block; }
.shop-root h1, .shop-root h2, .shop-root h3 { font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
.sh-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- botones ---- */
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gloss); color: #fff; border: 2px solid var(--gloss); padding: 12px 24px; border-radius: 99px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.sh-btn:hover { background: var(--gloss-dark); border-color: var(--gloss-dark); }
.sh-btn.ghost { background: transparent; color: var(--gloss); }
.sh-btn.ghost:hover { background: var(--lilac); }
.sh-btn.block { width: 100%; }
.sh-btn[disabled] { opacity: .55; cursor: not-allowed; }
.sh-link { color: var(--gloss); font-weight: 600; }

/* ---- barra de oferta con progreso (la pieza central del sitio) ---- */
.sh-promo { position: relative; background: var(--ink); color: #fff; text-align: center; font-size: .9rem; font-weight: 600; padding: 9px 16px 12px; }
.sh-promo b { color: var(--mint); }
.sh-promo .track { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.15); }
.sh-promo .fill { height: 100%; background: linear-gradient(90deg, var(--mint), #fff); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.sh-promo.done .fill { background: var(--mint); }

/* ---- header ---- */
.sh-header { position: sticky; top: 0; z-index: 30; background: rgba(253,250,254,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sh-header .sh-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 76px; padding-top: 8px; padding-bottom: 8px; }
.sh-logo { display: block; flex: 0 1 auto; min-width: 0; }
.sh-logo img { height: 46px; width: auto; max-width: 46vw; object-fit: contain; }
.sh-nav { display: none; gap: 20px; margin-left: 8px; font-weight: 600; }
.sh-nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.sh-nav a:hover { border-color: var(--gloss); }
@media (min-width: 900px) { .sh-nav { display: flex; } .sh-menu { display: none; } .sh-logo img { height: 60px; max-width: 260px; } }
.sh-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sh-cartbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 99px; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; }
.sh-cartbtn .n { background: var(--mint); color: var(--mint-ink); border-radius: 99px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .8rem; padding: 0 6px; }
.sh-menu { position: relative; }
.sh-menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: 10px 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; }
.sh-menu summary::-webkit-details-marker { display: none; }
.sh-menu .panel { position: absolute; right: 0; top: 52px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; min-width: 240px; display: grid; box-shadow: 0 18px 40px rgba(42,15,46,.14); }
.sh-menu .panel a { padding: 10px 14px; text-decoration: none; font-weight: 600; border-radius: 10px; }
.sh-menu .panel a:hover { background: var(--lilac); }
.sh-menu .panel .sub { padding-left: 28px; font-weight: 500; color: var(--ink-2); }

/* ---- hero ---- */
.sh-hero { background: var(--lilac); overflow: hidden; }
.sh-hero .sh-wrap { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 56px; align-items: center; }
@media (min-width: 900px) { .sh-hero .sh-wrap { grid-template-columns: 1.05fr 1fr; padding-top: 72px; padding-bottom: 80px; } }
.sh-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 800; max-width: 14ch; }
.sh-hero p { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; margin: 18px 0 26px; }
.sh-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.sh-hero .art { position: relative; min-height: 320px; }
.sh-hero .art figure { position: absolute; margin: 0; width: 46%; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 20px 44px rgba(42,15,46,.16); border: 6px solid #fff; }
.sh-hero .art figure img { width: 100%; height: 100%; object-fit: cover; }
.sh-hero .art figure:nth-child(1) { left: 2%; top: 4%; transform: rotate(-5deg); }
.sh-hero .art figure:nth-child(2) { right: 4%; top: 0; transform: rotate(4deg); width: 40%; }
.sh-hero .art figure:nth-child(3) { left: 26%; bottom: 0; transform: rotate(-1.5deg); width: 50%; }
.sh-hero .art .tag { position: absolute; right: 2%; bottom: 8%; background: var(--mint); color: var(--mint-ink); border-radius: 99px; padding: 10px 18px; font-weight: 800; transform: rotate(-3deg); }

/* ---- secciones ---- */
.sh-section { padding: 56px 0 8px; }
.sh-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 6px; }
.sh-section .lead { color: var(--ink-2); margin: 0 0 24px; }
.sh-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sh-head h2 { margin: 0; }


/* ---- grid de productos ---- */
.sh-grid { display: grid; gap: 22px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sh-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sh-card .img { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--lilac); }
.sh-card .img img { width: 100%; height: 100%; object-fit: cover; }
.sh-card .badge { position: absolute; left: 10px; top: 10px; background: #fff; border-radius: 99px; padding: 3px 10px; font-size: .78rem; font-weight: 700; }
.sh-card .badge.low { background: var(--gloss); color: #fff; }
.sh-card h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; font-family: "Figtree", sans-serif; }
.sh-card h3 a { text-decoration: none; }
.sh-card .price { font-weight: 800; }
.sh-card .add { margin-top: auto; }
.sh-card .add .sh-btn { padding: 9px 16px; width: 100%; font-size: .92rem; }

/* ---- beneficios ---- */
.sh-perks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sh-perk { background: var(--lilac); border-radius: 22px; padding: 20px 22px; }
.sh-perk:nth-child(2) { background: var(--mint); color: var(--mint-ink); }
.sh-perk h3 { font-size: 1.1rem; margin-bottom: 6px; }
.sh-perk p { margin: 0; font-size: .95rem; }

/* ---- ficha de producto ---- */
.sh-crumbs { font-size: .88rem; color: var(--ink-2); padding: 18px 0 6px; }
.sh-crumbs a { color: var(--ink-2); }
.sh-pdp { display: grid; gap: 28px; padding: 8px 0 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .sh-pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; } }
.sh-gallery { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); align-content: start; }
.sh-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--lilac); }
.sh-gallery img:first-child { grid-column: 1 / -1; border-radius: 26px; }
.sh-buy .brand { margin: 0; color: var(--ink-2); font-weight: 600; }
.sh-buy h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin: 4px 0 10px; }
.sh-buy .price { font-size: 1.9rem; font-weight: 800; }
.sh-buy .price small { font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.sh-notice { background: #fff4e5; border: 1px solid #f0c27b; color: #6b3f00; padding: 12px 14px; border-radius: 14px; margin: 14px 0; }
.sh-low { color: var(--gloss); font-weight: 700; margin: 6px 0; }
.sh-opts { border: 0; padding: 0; margin: 16px 0 12px; }
.sh-opts legend { font-weight: 700; margin-bottom: 8px; }
.sh-opt { position: relative; display: inline-block; margin: 0 6px 8px 0; }
.sh-opt input { position: absolute; opacity: 0; inset: 0; }
.sh-opt span { display: inline-block; min-width: 46px; text-align: center; padding: 8px 16px; border: 2px solid var(--line); border-radius: 99px; background: #fff; font-weight: 600; cursor: pointer; }
.sh-opt input:checked + span { border-color: var(--gloss); background: #fff0f6; color: var(--gloss-dark); }
.sh-opt input:focus-visible + span { outline: 3px solid var(--gloss); outline-offset: 2px; }
.sh-opt input:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.sh-buyrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.sh-qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 99px; background: #fff; }
.sh-qty button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; border-radius: 99px; }
.sh-qty span { min-width: 28px; text-align: center; font-weight: 700; }
.sh-buyrow .sh-btn { flex: 1 1 200px; }
.sh-mini { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.sh-mini li::before { content: "•"; color: var(--gloss); font-weight: 900; margin-right: 8px; }
.sh-prose { max-width: 72ch; }
.sh-prose h2, .sh-prose h3 { margin: 1.6em 0 .5em; }
.sh-prose h3 { font-size: 1.2rem; }
.sh-prose p, .sh-prose li { color: #3d2a42; }
.sh-prose ul { padding-left: 1.2em; }
.sh-spec dt { font-weight: 700; margin-top: 12px; }
.sh-spec dd { margin: 2px 0 0; }
.sh-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.sh-faq summary { cursor: pointer; font-weight: 700; }
.sh-faq p { margin: 8px 0 0; }

/* ---- listados ---- */
.sh-pagehead { padding: 30px 0 10px; }
.sh-pagehead h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
.sh-pagehead p { color: var(--ink-2); max-width: 64ch; margin: 10px 0 0; }
.sh-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 24px; }
.sh-chips a { padding: 8px 16px; border: 2px solid var(--line); border-radius: 99px; text-decoration: none; font-weight: 600; background: #fff; }
.sh-chips a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sh-pager { display: flex; gap: 10px; justify-content: center; margin: 34px 0; }
.sh-archive { margin-top: 48px; padding: 22px 24px; background: var(--lilac); border-radius: 22px; }
.sh-archive h2 { font-size: 1.15rem; margin-bottom: 10px; }
.sh-archive ul { columns: 2 260px; padding-left: 1.1em; margin: 0; }
.sh-archive li { margin: 4px 0; }

/* ---- carrito lateral ---- */
.sh-overlay { position: fixed; inset: 0; background: rgba(42,15,46,.45); z-index: 60; }
.sh-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--bg); z-index: 61; display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(42,15,46,.2); animation: sh-in .25s ease-out; }
@keyframes sh-in { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.sh-drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sh-drawer header h2 { font-size: 1.3rem; }
.sh-x { border: 0; background: var(--lilac); width: 38px; height: 38px; border-radius: 99px; font-size: 1.1rem; cursor: pointer; }
.sh-drawer .body { flex: 1; overflow: auto; padding: 8px 20px; }
.sh-drawer footer { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 10px; }
.sh-meter { background: var(--lilac); border-radius: 16px; padding: 12px 14px; font-weight: 600; font-size: .95rem; }
.sh-meter .bar { height: 8px; background: #fff; border-radius: 99px; margin-top: 8px; overflow: hidden; }
.sh-meter .bar i { display: block; height: 100%; background: var(--gloss); border-radius: 99px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.sh-meter.done { background: var(--mint); color: var(--mint-ink); }
.sh-meter.done .bar i { background: var(--mint-ink); }
.sh-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sh-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: var(--lilac); }
.sh-line .t { font-weight: 600; line-height: 1.25; text-decoration: none; }
.sh-line .v { color: var(--ink-2); font-size: .88rem; }
.sh-line .rm { border: 0; background: none; color: var(--ink-2); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; padding: 0; }
.sh-line .qtyrow { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.sh-empty { padding: 40px 0; text-align: center; color: var(--ink-2); }
.sh-totals { display: grid; gap: 4px; }
.sh-totals div { display: flex; justify-content: space-between; }
.sh-totals .grand { font-weight: 800; font-size: 1.2rem; margin-top: 6px; }
.sh-totals .save { color: var(--mint-ink); font-weight: 700; }

/* ---- checkout ---- */
.sh-checkout { display: grid; gap: 28px; padding: 26px 0 60px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .sh-checkout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; } }
.sh-checkout h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 18px; }
.sh-form { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .sh-form { grid-template-columns: minmax(0, 1fr); } }
.sh-form .full { grid-column: 1 / -1; }
.sh-field { display: flex; flex-direction: column; gap: 4px; }
.sh-field label { font-weight: 700; font-size: .92rem; }
.sh-field input, .sh-field select, .sh-field textarea { font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.sh-field input:focus, .sh-field select:focus, .sh-field textarea:focus { border-color: var(--gloss); outline: none; }
.sh-field[data-err] input, .sh-field[data-err] select { border-color: var(--bad); }
.sh-err { color: var(--bad); font-size: .85rem; font-weight: 600; }
.sh-check { display: flex; gap: 10px; align-items: start; font-size: .92rem; }
.sh-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gloss); }
.sh-sum { background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 20px; position: sticky; top: 110px; }
.sh-sum h2 { font-size: 1.25rem; margin-bottom: 6px; }
.sh-issue { background: #fff4e5; border: 1px solid #f0c27b; border-radius: 12px; padding: 10px 12px; margin: 10px 0; font-size: .92rem; }
.sh-status { text-align: center; max-width: 620px; margin: 0 auto; padding: 56px 0; }
.sh-status .ico { font-size: 3rem; }
.sh-status h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 8px 0 10px; }

/* ---- pie ---- */
.sh-footer { margin-top: 72px; background: var(--ink); color: #f3e9f6; padding: 48px 0 28px; }
.sh-footer .cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.sh-footer h3 { font-size: 1.05rem; margin-bottom: 10px; color: #fff; }
.sh-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sh-footer a { color: #f3e9f6; text-decoration: none; }
.sh-footer a:hover { text-decoration: underline; }
.sh-footer .fine { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: #c9b7d0; }

/* ---- añadidos para la versión PHP ---- */
.shop-root { margin: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sh-nojs { display: none; }
.sh-sum .sh-line span.t { font-weight: 600; }
.sh-check a { color: var(--gloss); font-weight: 600; }

/* ================= v2: logo grande, buscador, WhatsApp, filtros ================= */
@media (max-width: 899px) {
  .sh-header .sh-wrap { padding-left: 12px; padding-right: 12px; gap: 6px 8px; min-height: 0; }
  .sh-cartbtn { padding: 9px 12px; }
  .sh-cartbtn .lbl { display: none; }
  .sh-menu summary { padding: 9px 12px; }
}
@media (min-width: 560px) { .sh-cartbtn .lbl { display: inline; } }
.sh-cartbtn svg { flex: none; }

/* buscador */
.sh-search { position: relative; order: 3; flex: 1 1 100%; display: flex; }
.sh-search input { width: 100%; box-sizing: border-box; padding: 11px 46px 11px 18px; border: 2px solid var(--line); border-radius: 99px; background: #fff; font: inherit; color: var(--ink); }
.sh-search input:focus { outline: none; border-color: var(--gloss); box-shadow: 0 0 0 3px rgba(214,36,110,.15); }
.sh-search button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 40px; border: 0; border-radius: 99px; background: var(--gloss); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sh-search button:hover { background: var(--gloss-dark); }
@media (min-width: 1180px) { .sh-search { order: 0; flex: 1 1 220px; max-width: 320px; } }
.sh-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(42,15,46,.16); padding: 6px; z-index: 60; max-height: 70vh; overflow: auto; }
.sh-suggest[hidden] { display: none; }
.sh-suggest a { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; text-decoration: none; }
.sh-suggest a:hover, .sh-suggest a[aria-selected="true"] { background: var(--lilac); }
.sh-suggest img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: var(--lilac); }
.sh-suggest .nm { font-weight: 600; line-height: 1.25; }
.sh-suggest .pr { font-size: .9rem; color: var(--ink-2); white-space: nowrap; }
.sh-suggest .pr.out { color: var(--bad); font-weight: 700; }
.sh-suggest .all { display: block; text-align: center; padding: 10px; font-weight: 700; color: var(--gloss); text-decoration: none; }

/* WhatsApp arriba (verde) */
.sh-wa-top { display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #04301a; font-weight: 800; padding: 9px 12px; border-radius: 99px; text-decoration: none; line-height: 1; box-shadow: 0 2px 0 rgba(4,48,26,.18); }
.sh-wa-top:hover { background: #1fbd5b; }
.sh-wa-top span { display: none; }
@media (min-width: 560px) { .sh-wa-top { padding: 10px 16px; } .sh-wa-top span { display: inline; } }

/* WhatsApp flotante */
.sh-wa { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.sh-wa .disc { width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(6,61,28,.35); position: relative; transition: transform .2s; }
.sh-wa .disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-pulse 2.4s ease-out infinite; }
.sh-wa:hover .disc, .sh-wa:focus-visible .disc { transform: scale(1.08); }
.sh-wa .lbl { display: none; background: #fff; color: var(--ink); font-weight: 700; padding: 9px 14px; border-radius: 99px; box-shadow: 0 8px 22px rgba(42,15,46,.18); order: -1; opacity: 0; transform: translateX(8px); transition: .2s; white-space: nowrap; }
@media (min-width: 900px) { .sh-wa .lbl { display: block; } .sh-wa:hover .lbl, .sh-wa:focus-visible .lbl { opacity: 1; transform: none; } }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sh-wa .disc::after { animation: none; display: none; } .sh-wa .disc, .sh-wa .lbl { transition: none; } }

/* filtros */
.sh-filters { margin: 0 0 6px; }
.sh-fbox { background: #fff; border: 2px solid var(--line); border-radius: 18px; }
.sh-fbox summary { list-style: none; cursor: pointer; padding: 12px 18px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
.sh-fbox summary::-webkit-details-marker { display: none; }
.sh-fbox summary::after { content: "▾"; color: var(--gloss); transition: transform .2s; }
.sh-fbox[open] summary::after { transform: rotate(180deg); }
.sh-fbox .row { display: grid; gap: 12px 14px; padding: 4px 18px 18px; grid-template-columns: 1fr 1fr; align-items: end; }
.sh-fbox label { display: grid; gap: 4px; font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.sh-fbox select, .sh-fbox input:not([type="checkbox"]) { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.sh-fbox select:focus, .sh-fbox input:focus { outline: none; border-color: var(--gloss); }
.sh-fbox label.chk { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink); }
.sh-fbox label.chk input { width: 18px; height: 18px; accent-color: var(--gloss); }
.sh-fbox .acts { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
@media (min-width: 900px) { .sh-fbox .row { grid-template-columns: 1.4fr 1.2fr .9fr .9fr auto auto; } .sh-fbox label.chk { grid-column: auto; } .sh-fbox .acts { grid-column: auto; } }
.sh-count { color: var(--ink-2); margin: 14px 0 16px; font-weight: 600; }
.sh-noresults { text-align: center; padding: 40px 12px; }
.sh-noresults p { color: var(--ink-2); }
.sh-pager { align-items: center; }
.sh-pageno { font-weight: 600; color: var(--ink-2); }

/* productos agotados: visibles, al final y marcados */
.sh-card.out img { filter: grayscale(.85); opacity: .7; }
.sh-card.out .price { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1px; }
.sh-card .badge.sold { background: var(--ink); color: #fff; }

/* celulares pequeños: el encabezado cabe en una sola fila */
@media (max-width: 420px) {
  .sh-logo img { height: 44px; max-width: 40vw; }
  .sh-wa-top { padding: 9px 10px; }
  .sh-menu summary { padding: 9px 10px; }
  .sh-cartbtn { padding: 9px 10px; gap: 6px; }
}


/* ================= v4: encabezado en una sola línea ================= */
.sh-header .sh-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo actions" "search search"; align-items: center; gap: 8px 12px; min-height: 0; padding-top: 8px; padding-bottom: 10px; }
.sh-top .sh-logo { grid-area: logo; }
.sh-top .sh-actions { grid-area: actions; margin-left: 0; }
.sh-top .sh-search { grid-area: search; order: 0; flex: none; max-width: none; width: 100%; }
.sh-top .sh-nav { grid-area: nav; display: none; margin: 0; }
.sh-nav .top { display: block; padding: 10px 0; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.sh-nav .top:hover, .sh-nav .has-sub:focus-within > .top { border-color: var(--gloss); }
.sh-nav .has-sub { position: relative; }
.sh-nav .drop { display: none; position: absolute; top: 100%; left: -14px; z-index: 35; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 18px 40px rgba(42,15,46,.14); }
.sh-nav .has-sub:hover .drop, .sh-nav .has-sub:focus-within .drop { display: grid; }
.sh-nav .drop a { padding: 9px 12px; border: 0; border-radius: 10px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.sh-nav .drop a:hover { background: var(--lilac); }
/* tabletas y laptops chicas: categorías en una segunda fila */
@media (min-width: 900px) {
  .sh-header .sh-top { grid-template-columns: auto minmax(200px, 1fr) auto; grid-template-areas: "logo search actions" "nav nav nav"; gap: 0 20px; padding-top: 8px; padding-bottom: 0; }
  .sh-top .sh-nav { display: flex; gap: 4px 28px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 8px; }
  .sh-top .sh-search { justify-self: end; max-width: 520px; }
}
/* pantallas anchas (desde 1120 px): TODO en una sola línea */
@media (min-width: 1120px) {
  .sh-header .sh-top { grid-template-columns: auto auto minmax(200px, 1fr) auto; grid-template-areas: "logo nav search actions"; gap: 0 22px; padding-top: 8px; padding-bottom: 8px; }
  .sh-top .sh-nav { border-top: 0; margin-top: 0; flex-wrap: nowrap; gap: 4px 22px; }
  .sh-top .sh-search { max-width: 340px; }
}

/* modo pauta (?lp=1): sin distracciones, con logo, oferta y compra */
body.lp .sh-nav, body.lp .sh-search, body.lp .sh-menu { display: none !important; }
body.lp .sh-header .sh-top { grid-template-areas: "logo actions"; grid-template-columns: minmax(0, 1fr) auto; padding-bottom: 8px; }
body.lp .sh-footer .cols { display: none; }
body.lp .sh-footer { margin-top: 40px; padding: 26px 0 20px; }
.sh-footer .legal { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; }

/* textos largos (correos, direcciones) nunca ensanchan una columna */
.sh-footer, .sh-prose, .sh-status, .sh-perk, .sh-sum, .sh-notice { overflow-wrap: anywhere; }
.sh-footer .cols > div { min-width: 0; }

/* ================= v3: página de producto como página de venta ================= */
.sh-gal { min-width: 0; }
.sh-gal .frame { position: relative; border-radius: 26px; overflow: hidden; background: #fff; }
.sh-gal .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.sh-gal .track::-webkit-scrollbar { display: none; }
.sh-gal .slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; }
.sh-gal .slide img { width: 100%; height: 100%; object-fit: cover; }
.sh-gal .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 6px 18px rgba(42,15,46,.2); cursor: pointer; display: none; place-items: center; }
.sh-gal .nav.prev { left: 10px; } .sh-gal .nav.next { right: 10px; }
@media (hover: hover) and (min-width: 860px) { .sh-gal .frame:hover .nav { display: grid; } }
.sh-gal .dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.sh-gal .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(42,15,46,.25); }
.sh-gal .dots i.on { background: var(--gloss); width: 20px; border-radius: 99px; }
.sh-gal .thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.sh-gal .thumbs button { flex: 0 0 68px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; }
.sh-gal .thumbs button[aria-current="true"] { border-color: var(--gloss); }
.sh-gal .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sh-gal .sold-flag { position: absolute; left: 14px; top: 14px; background: var(--ink); color: #fff; border-radius: 99px; padding: 5px 14px; font-weight: 800; font-size: .85rem; }

.sh-lead { color: var(--ink-2); margin: 0 0 14px; font-size: 1.02rem; }
.sh-pricebox { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sh-was { color: var(--ink-2); text-decoration: line-through; font-weight: 600; }
.sh-off { background: var(--gloss); color: #fff; border-radius: 99px; padding: 2px 10px; font-weight: 800; font-size: .85rem; }
.sh-buy .sh-meter { margin: 0 0 4px; }
.sh-btn.dark { background: var(--ink); border-color: var(--ink); }
.sh-btn.dark:hover { background: #4a2350; border-color: #4a2350; }
.sh-btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.sh-btn.light:hover { background: var(--mint); border-color: var(--mint); }
.sh-buy .sh-btn.block { margin-top: 2px; }
.sh-walink { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #0b6a35; font-weight: 700; text-decoration: none; }
.sh-walink .ico-wa { color: #1fbd5b; }
.sh-walink:hover { text-decoration: underline; }
.sh-trustlist { list-style: none; padding: 16px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.sh-trustlist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.sh-trustlist svg { flex: none; color: var(--gloss); margin-top: 1px; }
.sh-trustlist a { color: var(--gloss); font-weight: 600; }

.sh-band { padding: 40px 0 4px; }
.sh-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); font-weight: 800; margin: 0 0 16px; }
.sh-band .lead { color: var(--ink-2); margin: -6px 0 18px; }
.sh-essentials { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sh-ess { background: var(--lilac); border-radius: 18px; padding: 14px 16px; min-width: 0; }
.sh-ess small { display: block; color: var(--ink-2); font-weight: 600; font-size: .82rem; }
.sh-ess b { font-size: 1.05rem; }
.sh-benefits { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); list-style: none; padding: 0; margin: 0; }
.sh-benefits li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 14px 16px; min-width: 0; }
.sh-benefits .ck { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; }
.sh-detail { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .sh-detail.has-spec { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.sh-detail .sh-prose { max-width: 76ch; }
.sh-detail.has-spec .sh-prose { max-width: none; }
.sh-detail .sh-prose > :first-child { margin-top: 0; }
.sh-how { background: var(--lilac); border-radius: 22px; padding: 18px 22px; margin-top: 22px; }
.sh-how h3 { font-size: 1.15rem; margin: 0 0 6px; }
.sh-how p { margin: 0; }
.sh-specbox { background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 20px 22px; overflow-wrap: anywhere; }
.sh-specbox h3 { font-size: 1.15rem; margin: 0 0 4px; }
.sh-specbox dt { font-weight: 700; margin-top: 12px; }
.sh-specbox dd { margin: 2px 0 0; color: #3d2a42; }
.sh-trust { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.sh-tile { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 18px 20px; min-width: 0; }
.sh-tile .ic { display: inline-flex; color: var(--gloss); margin-bottom: 8px; }
.sh-tile h3 { font-size: 1.05rem; margin: 0 0 4px; }
.sh-tile p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.sh-band.sh-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.sh-band.sh-faq { max-width: 820px; }
.sh-final { margin: 48px 0 0; background: var(--ink); color: #fff; border-radius: 28px; padding: 24px; display: grid; gap: 16px; align-items: center; grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.sh-final img { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; background: #fff; }
.sh-final h2 { font-size: 1.35rem; color: #fff; margin: 0 0 4px; }
.sh-final p { margin: 0; color: #d9c6df; }
@media (min-width: 760px) { .sh-final { grid-template-columns: auto minmax(0, 1fr) auto; text-align: left; justify-items: stretch; padding: 26px 30px; } }

/* barra de compra fija (solo celular) */
.sh-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(42,15,46,.12); transform: translateY(110%); transition: transform .25s ease; }
.sh-sticky.on { transform: none; }
.sh-sticky img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--lilac); flex: none; }
.sh-sticky .who { flex: 1; min-width: 0; display: grid; }
.sh-sticky .who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; }
.sh-sticky .who span { font-weight: 800; color: var(--gloss); }
.sh-sticky .sh-btn { flex: none; padding: 11px 22px; }
@media (max-width: 859px) { .sh-sticky { display: flex; } body.has-sticky .sh-wa { bottom: 84px; } body.has-sticky .sh-footer { padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { .sh-sticky { transition: none; } }
body.lp .sh-crumbs { display: none; }

/* ================= categorías del inicio con íconos ================= */
.sh-cats { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sh-cat { --tile: #fde4ee; --acc: #f7a8c6; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 6px 12px; border-radius: 20px; background: var(--tile); color: var(--ink); text-decoration: none; min-width: 0; transition: transform .18s ease, box-shadow .18s ease; }
.sh-cat:nth-child(6n+2) { --tile: #efe6fb; --acc: #c9b1f0; }
.sh-cat:nth-child(6n+3) { --tile: #e1f0fb; --acc: #9fd0f2; }
.sh-cat:nth-child(6n+4) { --tile: #ddf5e9; --acc: #8fdcb5; }
.sh-cat:nth-child(6n+5) { --tile: #ffeadb; --acc: #ffbd94; }
.sh-cat:nth-child(6n+6) { --tile: #fff4cf; --acc: #ffd86b; }
.sh-cat .cat-ic { flex: none; width: 48px; height: 48px; }
.sh-cat .cat-ic .a { fill: var(--acc); }
.sh-cat .cat-ic .b { fill: #fff; }
.sh-cat .tx { display: grid; min-width: 0; max-width: 100%; }
.sh-cat b { font-weight: 800; font-size: .88rem; overflow-wrap: anywhere; }
.sh-cat small { display: none; color: var(--ink-2); font-weight: 600; font-size: .82rem; }
.sh-cat:hover, .sh-cat:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(42,15,46,.12); }
@media (max-width: 699px) { .sh-cat:last-child:nth-child(3n+1) { grid-column: 2; } }
@media (max-width: 400px) { .sh-cat b { font-size: .76rem; letter-spacing: -.01em; } .sh-cat { padding-left: 2px; padding-right: 2px; } }
@media (min-width: 700px) {
  .sh-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .sh-cat { gap: 10px; padding: 24px 12px 20px; border-radius: 22px; }
  .sh-cat .cat-ic { width: 72px; height: 72px; }
  .sh-cat b { font-size: 1.05rem; }
  .sh-cat small { display: block; }
}
@media (prefers-reduced-motion: reduce) { .sh-cat { transition: none; } .sh-cat:hover { transform: none; } }
