/* ==========================================================================
   Sofás Briñas · estructura común de la web (los temas ajustan variables y acabados)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f5f3f0;
  --surface: #ffffff;
  --ink: #1d1a17;
  --ink-2: #48413a;
  --muted: #7a7169;
  --line: #e6e1da;
  --accent: #c2792a;
  --accent-hover: #9e5f1d;
  --accent-ink: #ffffff;
  --accent-soft: #f3e4d1;
  --em: var(--accent);
  --dark: #2b221b;
  --dark-ink: #f4ebe0;
  --dark-muted: #cbbba9;
  --dark-line: rgba(255, 255, 255, .14);
  --dark-surface: #3a2e25;
  --wa: #1f9d55;
  --ok: #2fae66;
  --ff-display: Georgia, serif;
  --ff-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --fw-display: 500;
  --ls-display: -.015em;
  --fs-body: 16px;
  --radius: 8px;
  --radius-img: 8px;
  --btn-radius: 999px;
  --btn-h: 50px;
  --btn-fs: 15px;
  --btn-fw: 600;
  --btn-tt: none;
  --btn-ls: 0;
  --wrap: 1240px;
  --section-y: clamp(64px, 8vw, 104px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 10px 34px rgba(30, 20, 10, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--ff-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: var(--fw-display); letter-spacing: var(--ls-display); line-height: 1.1; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--em); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.sb-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.sb-skip:focus { left: 8px; }
.sb-wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.sb-narrow { max-width: 820px; }
.sb-section { padding: var(--section-y) 0; }
.sb-ico { width: 20px; height: 20px; flex: none; }

/* ---------- Tipografía y encabezados ---------- */
.sb-eyebrow { display: inline-block; font: 600 12px/1.2 var(--ff-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h2 { font-size: clamp(30px, 3.8vw, 50px); }
.sb-lead, .sb-lead p { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.sb-lead p:last-child { margin: 0; }
.sb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sb-head-txt { max-width: 760px; }
.sb-head .sb-lead { margin-top: 14px; }
.sb-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding-bottom: 4px; border-bottom: 2px solid var(--accent); white-space: nowrap; }
.sb-more .sb-ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.sb-more:hover .sb-ico { transform: translateX(3px); }
.sb-center-more { text-align: center; margin: 40px 0 0; }

/* ---------- Botones ---------- */
.sb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--btn-h); padding: 0 26px; border-radius: var(--btn-radius); border: 1.5px solid transparent; font: var(--btn-fw) var(--btn-fs)/1.1 var(--ff-body); letter-spacing: var(--btn-ls); text-transform: var(--btn-tt); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s; text-align: center; }
.sb-btn:active { transform: translateY(1px); }
.sb-btn .sb-ico { width: 18px; height: 18px; }
.sb-btn-arrow { transition: transform .25s var(--ease); }
.sb-btn:hover .sb-btn-arrow { transform: translateX(3px); }
.sb-btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sb-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.sb-btn-line { border-color: currentColor; background: transparent; }
.sb-btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.sb-btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.sb-btn-wa:hover { background: #188547; border-color: #188547; }
.sb-btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.sb-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sb-ctas:empty { display: none; }

/* ---------- Avisos ---------- */
.sb-preview { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 75; width: max-content; max-width: calc(100% - 32px); background: #111; color: #fff; text-align: center; font: 500 13px/1.4 var(--ff-body); padding: 10px 18px; border-radius: 99px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.sb-preview a { text-decoration: underline; margin-left: 8px; color: #ffd27a; }
.sb-maint-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 86; width: max-content; max-width: min(760px, calc(100% - 340px)); background: #f6c453; color: #2a1d05; font: 500 13px/1.45 var(--ff-body); padding: 10px 18px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); text-align: center; }
.sb-maint-bar a { font-weight: 700; text-decoration: underline; margin-left: 10px; white-space: nowrap; }
.has-maint-bar .sb-preview { bottom: 110px; }
@media (max-width: 900px) { .sb-maint-bar { bottom: 84px; max-width: calc(100% - 32px); } .has-maint-bar .sb-preview { bottom: 170px; } }
.sb-edit { position: fixed; left: 18px; bottom: 18px; z-index: 70; background: #111; color: #fff; font: 600 13px/1 var(--ff-body); padding: 11px 16px; border-radius: 99px; box-shadow: var(--shadow); }

/* ---------- Barra superior y cabecera ---------- */
.sb-topbar { background: var(--dark); color: var(--dark-muted); font-size: 13px; }
.sb-topbar .sb-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.sb-topbar b { color: var(--dark-ink); font-weight: 600; }
.sb-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); transition: background .35s var(--ease), border-color .35s, box-shadow .35s; }
.sb-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.sb-header-in { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.sb-logo { display: flex; align-items: center; flex: none; }
.sb-logo img { height: 44px; width: auto; }
.sb-logo-txt { font: 700 20px/1 var(--ff-display); }
.sb-nav { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; }
.sb-nav > a, .sb-nav-dd > a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.sb-nav > a:hover, .sb-nav-dd > a:hover, .sb-nav a.is-on { border-color: var(--accent); }
.sb-nav a.is-hl { color: var(--accent); }
.sb-dd-ico { width: 15px; height: 15px; }
/* Menú desplegable del catálogo: panel a lo ancho de la cabecera (no se sale de la pantalla) */
.sb-nav { align-self: stretch; }
.sb-nav-dd { position: static; align-self: stretch; display: flex; align-items: center; }
.sb-dd { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 28px 50px -24px rgba(0, 0, 0, .28); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; overscroll-behavior: contain; text-transform: none; letter-spacing: normal; font-size: 15px; font-weight: 400; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .25s var(--ease), visibility .18s; transition-delay: .12s; }
.sb-nav-dd:hover .sb-dd, .sb-nav-dd:focus-within .sb-dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sb-dd-in { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; padding-top: 30px; padding-bottom: 34px; }
.sb-dd-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 24px 30px; align-content: start; }
.sb-dd-cat { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sb-dd-title { display: flex; align-items: center; gap: 14px; }
.sb-dd-thumb { width: 58px; height: 58px; flex: none; border-radius: var(--radius-img, 10px); overflow: hidden; background: var(--bg-2); display: grid; place-items: center; color: var(--ink-2); }
.sb-dd-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sb-dd-title:hover .sb-dd-thumb img { transform: scale(1.08); }
.sb-dd-name { display: flex; flex-direction: column; min-width: 0; font-weight: 700; font-size: 15.5px; line-height: 1.25; color: var(--ink); transition: color .2s; }
.sb-dd-name small { font-weight: 500; font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.sb-dd-title:hover .sb-dd-name { color: var(--accent); }
.sb-dd-subs { display: flex; flex-direction: column; gap: 7px; padding-left: 72px; }
.sb-dd-subs a { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.sb-dd-subs a:hover { color: var(--accent); }
.sb-dd-side { display: flex; flex-direction: column; gap: 4px; }
.sb-dd-promo { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; color: #fff; margin-bottom: 8px; }
.sb-dd-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sb-dd-promo:hover img { transform: scale(1.04); }
.sb-dd-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 62%); }
.sb-dd-promo > span { position: absolute; left: 18px; right: 18px; bottom: 15px; z-index: 1; display: flex; flex-direction: column; gap: 3px; }
.sb-dd-promo small { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.sb-dd-promo strong { display: flex; align-items: center; gap: 8px; font: 600 19px/1.2 var(--ff-display); }
.sb-dd-promo strong svg, .sb-dd-link svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.sb-dd-promo:hover strong svg, .sb-dd-link:hover svg { transform: translateX(3px); }
.sb-dd-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.sb-dd-link:hover { color: var(--accent); }
@media (max-width: 1260px) { .sb-dd-in { grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; } }
.sb-hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sb-icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; position: relative; transition: background .2s; }
.sb-icon-btn:hover { background: var(--bg-2); }
.sb-cart-n { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: 700 11px/19px var(--ff-body); text-align: center; }
.sb-icon-btn.is-in::after { content: ""; position: absolute; right: 9px; bottom: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--bg); }
.sb-hdr-tel { font-size: 14px; letter-spacing: .06em; padding-left: 22px; border-left: 1px solid var(--line); white-space: nowrap; }
.sb-burger { display: none; }

/* Menú móvil */
.sb-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(15, 12, 10, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.sb-drawer.is-open { opacity: 1; visibility: visible; }
.sb-drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 88vw); background: var(--bg); color: var(--ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); }
.sb-drawer.is-open .sb-drawer-panel { transform: none; }
.sb-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sb-drawer-head .sb-logo img { height: 36px; }
.sb-drawer-nav { padding: 12px 24px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; }
.sb-drawer-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font: var(--fw-display) 22px/1.2 var(--ff-display); }
.sb-drawer-nav a.sb-drawer-sub { font: 500 15px/1.2 var(--ff-body); color: var(--ink-2); padding: 10px 0 10px 16px; }
.sb-drawer-foot { padding: 18px 24px 26px; display: grid; gap: 10px; border-top: 1px solid var(--line); }

/* Buscador */
.sb-search { position: fixed; inset: 0; z-index: 95; background: rgba(15, 12, 10, .55); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 0; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.sb-search.is-open { opacity: 1; visibility: visible; }
.sb-search-box { width: min(680px, 100%); background: var(--surface); color: var(--ink); border-radius: var(--radius); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.sb-search-box input { flex: 1; border: 0; background: transparent; font: 400 20px/1.4 var(--ff-body); color: inherit; padding: 12px 0; outline: none; min-width: 0; }

/* ---------- Cabecera grande (hero) ---------- */
.sb-hero { position: relative; overflow: hidden; }
.sb-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.sb-hero-media .sb-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.sb-hero-media .sb-slide.is-on { opacity: 1; }
.sb-hero h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.02; }
.sb-hero-txt { font-size: 19px; max-width: 48ch; margin-top: 22px; }
.sb-hero-txt p { margin: 0; }
.sb-hero .sb-eyebrow { margin-bottom: 18px; }

/* Superpuesta: foto a sangre, texto a la izquierda */
.sb-hero--overlay { min-height: min(86vh, 780px); display: grid; align-items: end; color: #fff; }
.sb-hero--overlay .sb-hero-media { position: absolute; inset: 0; }
.sb-hero--overlay .sb-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 18, 12, .8) 0%, rgba(25, 18, 12, .45) 48%, rgba(25, 18, 12, 0) 78%), linear-gradient(0deg, rgba(25, 18, 12, .55), transparent 45%); }
.sb-hero--overlay .sb-hero-body { position: relative; z-index: 1; width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; padding: 120px 0 clamp(48px, 7vw, 80px); }
.sb-hero--overlay h1 { max-width: 13ch; }
.sb-hero--overlay .sb-hero-txt { color: rgba(255, 255, 255, .88); }
.sb-hero--overlay .sb-btn-line { color: #fff; }
.sb-hero--overlay .sb-btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Dividida: texto a la izquierda, foto a la derecha */
.sb-hero--split { display: grid; grid-template-columns: 5fr 7fr; min-height: clamp(600px, calc(100vh - var(--header-h)), 860px); border-bottom: 1px solid var(--line); }
.sb-hero--split .sb-hero-media { order: 2; position: relative; background: var(--bg-2); }
.sb-hero--split .sb-hero-media img { position: absolute; inset: 0; object-position: 50% 62%; }
.sb-hero--split .sb-hero-body { display: flex; align-items: center; padding: 64px 56px 56px max(20px, calc((100vw - var(--wrap)) / 2)); }
.sb-hero--split h1 { font-size: clamp(48px, 6.2vw, 100px); line-height: .96; }
.sb-hero--split .sb-hero-txt { color: var(--ink-2); }
.sb-hero-stats { display: flex; flex-wrap: wrap; gap: 20px 36px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 44px; }
.sb-hero-stats b { display: block; font: 500 28px/1.1 var(--ff-body); letter-spacing: -.02em; }
.sb-hero-stats span { font-size: 13px; color: var(--muted); }

/* Centrada: pantalla completa */
.sb-hero--center { height: 100vh; min-height: 620px; max-height: 1000px; display: grid; place-items: center; text-align: center; color: #fff; }
.sb-hero--center .sb-hero-media { position: absolute; inset: 0; }
.sb-hero--center .sb-hero-media img { transform: scale(1.06); animation: sb-zoom 14s var(--ease) forwards; }
.sb-hero--center .sb-hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15, 12, 10, .35), rgba(15, 12, 10, .78) 72%), linear-gradient(0deg, var(--bg) 0%, transparent 32%); }
.sb-hero--center .sb-hero-body { position: relative; z-index: 1; padding: 0 20px; max-width: 920px; }
.sb-hero--center .sb-hero-txt { margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, .85); }
.sb-hero--center .sb-ctas { justify-content: center; }
.sb-hero--center .sb-btn-line { color: #fff; border-color: rgba(255, 255, 255, .5); }
.sb-scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 1; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sb-scroll-hint::after { content: ""; width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); }
@keyframes sb-zoom { to { transform: scale(1); } }

/* ---------- Datos destacados ---------- */
.sb-trust { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.sb-trust-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.sb-trust-item { padding: 26px 22px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--line); }
.sb-trust-item:last-child { border-right: 0; }
.sb-trust-item strong { font: var(--fw-display) 30px/1 var(--ff-display); color: var(--accent); white-space: nowrap; }
.sb-trust-item span { font-size: 14px; line-height: 1.35; color: var(--ink-2); }

/* ---------- Categorías ---------- */
.sb-cat { position: relative; display: block; overflow: hidden; border-radius: var(--radius-img); color: #fff; background: var(--bg-2); isolation: isolate; }
.sb-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sb-cat:hover img { transform: scale(1.045); }
.sb-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 14, 10, .7), rgba(20, 14, 10, 0) 58%); z-index: 0; }
.sb-cat-txt { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.sb-cat-txt span { font-size: 13px; opacity: .85; }
.sb-cat h3 { font-size: 25px; }
.sb-cat-go { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; backdrop-filter: blur(4px); flex: none; }
.sb-cat-go .sb-ico { width: 18px; height: 18px; }
.sb-cats--mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 270px; gap: 18px; }
.sb-cats--mosaic .sb-cat:first-child { grid-row: span 2; }
.sb-cats--rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sb-cats--rail .sb-cat { border-radius: 0; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sb-cats--rail .sb-cat::after { display: none; }
.sb-cats--rail .sb-cat img { order: 2; width: 64px; height: 48px; flex: none; }
.sb-cats--rail .sb-cat-txt { position: static; }
.sb-cats--rail .sb-cat-go { display: none; }
.sb-cats--rail .sb-cat h3 { font: 600 17px/1.2 var(--ff-body); letter-spacing: 0; }
.sb-cats--rail .sb-cat span { color: var(--muted); opacity: 1; }
.sb-cats--rail .sb-cat:hover { background: var(--bg-2); }
.sb-cats--rail .sb-cat:hover img { transform: none; }
.sb-cats--cards { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sb-cats--cards::-webkit-scrollbar { display: none; }
.sb-cats--cards .sb-cat { aspect-ratio: 3 / 4; scroll-snap-align: start; }

/* ---------- Productos ---------- */
.sb-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.sb-prods.sb-track { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 72px) / 3.4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.sb-track::-webkit-scrollbar { display: none; }
.sb-track > * { scroll-snap-align: start; }
.sb-arrows { display: flex; gap: 10px; }
.sb-arrows button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.sb-arrows button:hover { border-color: var(--accent); color: var(--accent); }
.sb-card { display: flex; flex-direction: column; }
.sb-card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); border-radius: var(--radius-img); }
.sb-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .45s; }
.sb-card:hover .sb-card-img img { transform: scale(1.04); }
.sb-card-img2 { opacity: 0; }
.sb-card:hover .sb-card-img2 { opacity: 1; }
.sb-card-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.sb-card-ph .sb-ico { width: 34px; height: 34px; opacity: .5; }
.has-wm::after { content: ""; position: absolute; inset: 0; background: url("../../img/secciones/logotipo/marcadeagua.png") center / 45% no-repeat; opacity: .35; pointer-events: none; }
.sb-tags { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.sb-tag { background: var(--surface); color: var(--ink); font: 700 11px/1 var(--ff-body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; }
.sb-tag-hl { background: var(--accent); color: var(--accent-ink); }
.sb-card-body { padding-top: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sb-card h3 { font: 600 17px/1.3 var(--ff-body); letter-spacing: 0; }
.sb-card-sub { margin: 0; color: var(--muted); font-size: 14px; }
.sb-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.sb-dots { display: inline-flex; gap: 4px; margin-left: auto; }
.sb-dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .14); }
.sb-price { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 16px; }
.sb-price strong { font-weight: 700; }
.sb-price small { font-size: 12px; font-weight: 500; margin-left: 2px; }
.sb-price s { color: var(--muted); font-size: 14px; }
.sb-price-from { font-size: 13px; color: var(--muted); }
.sb-price-big { font-size: 30px; }
.sb-price-big s { font-size: 18px; }
.sb-price-blink strong { animation: sb-blink 1.6s ease-in-out infinite; color: var(--accent); }
@keyframes sb-blink { 50% { opacity: .55; } }

/* ---------- Texto con imagen ---------- */
.sb-media-sec--alt { background: var(--bg-2); }
.sb-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.sb-media--left .sb-media-img { order: -1; }
.sb-media:not(.sb-media--left) .sb-media-img { order: 2; }
.sb-media-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-img); }
.sb-media-txt .sb-prose { margin-top: 18px; }
.sb-steps { list-style: none; padding: 0; margin: 30px 0 0; counter-reset: paso; }
.sb-steps li { counter-increment: paso; display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.sb-steps li:last-child { border-bottom: 1px solid var(--line); }
.sb-steps li::before { content: "0" counter(paso); font: var(--fw-display) 22px/1.2 var(--ff-display); color: var(--accent); }
.sb-steps strong { display: block; font-size: 17px; }
.sb-steps span { color: var(--muted); font-size: 15px; }

/* ---------- Texto enriquecido ---------- */
.sb-text-sec h2 { margin-bottom: 22px; }
.sb-prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.sb-prose > :last-child { margin-bottom: 0; }
.sb-prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 1.6em 0 .6em; color: var(--ink); }
.sb-prose h3 { font-size: 22px; margin: 1.4em 0 .5em; color: var(--ink); }
.sb-prose strong { color: var(--ink); }
.sb-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sb-prose img { border-radius: var(--radius-img); margin: 1em 0; }
.sb-prose ul, .sb-prose ol { padding-left: 1.3em; }
.sb-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-style: italic; }
.sb-prose iframe { max-width: 100%; border-radius: var(--radius-img); }
.sb-prose table { width: 100%; border-collapse: collapse; }
.sb-prose td, .sb-prose th { border: 1px solid var(--line); padding: 8px 12px; }

/* ---------- Características ---------- */
.sb-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.sb-feature { display: flex; flex-direction: column; gap: 14px; }
.sb-features:not(.has-img) .sb-feature { padding: 28px; background: var(--bg-2); border-radius: var(--radius); }
.sb-feature-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-img); }
.sb-feature h3 { font-size: 22px; }
.sb-feature p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Tiendas ---------- */
.sb-status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sb-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #a39a90; }
.sb-status.is-open { color: var(--ok); }
.sb-status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.sb-status:empty { display: none; }
.sb-store-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }
.sb-store-acts .sb-btn { flex: 1; padding: 0 12px; min-width: 110px; white-space: nowrap; }
.sb-store .sb-store-acts .sb-ico { display: none; }
.sb-store .sb-store-acts .sb-btn { min-width: 0; font-size: 13px; }
.sb-stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.sb-store { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.sb-store-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sb-store-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sb-store h3 { font-size: 22px; }
.sb-store p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.sb-storelist { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); }
.sb-storelist-items { border-top: 1px solid var(--ink); }
.sb-store-row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.sb-store-row-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sb-store-row h3 { font: 500 22px/1.2 var(--ff-body); letter-spacing: -.01em; }
.sb-store-row p { margin: 6px 0 8px; color: var(--ink-2); font-size: 15px; }
.sb-store-row-links { display: flex; gap: 22px; font-weight: 600; font-size: 14px; flex-wrap: wrap; }
.sb-store-row-links a:hover { color: var(--accent); }
.sb-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 520px; }
.sb-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-img); }
.sb-collage img:first-child { grid-row: span 2; }
.sb-tabs { display: flex; justify-content: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.sb-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 18px 22px; cursor: pointer; color: var(--muted); font: 500 14px/1 var(--ff-body); letter-spacing: .12em; text-transform: uppercase; transition: color .2s, border-color .2s; }
.sb-tabs button.is-on { color: var(--accent); border-color: var(--accent); }
.sb-tab-panel { display: none; grid-template-columns: 7fr 5fr; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.sb-tab-panel.is-on { display: grid; animation: sb-fade .5s var(--ease); }
.sb-tab-img img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.sb-tab-info { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.sb-tab-info h3 { font-size: clamp(30px, 3vw, 40px); }
.sb-tab-info dl { display: grid; grid-template-columns: 110px 1fr; margin: 0; }
.sb-tab-info dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--line); }
.sb-tab-info dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
@keyframes sb-fade { from { opacity: 0; } }

/* Página de tiendas */
.sb-store-pages { display: grid; gap: clamp(48px, 7vw, 88px); }
.sb-storefull { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.sb-storefull.is-rev .sb-storefull-media { order: 2; }
.sb-storefull-media > a img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-img); }
.sb-storefull-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.sb-storefull-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--radius-img) - 2px); }
.sb-storefull-info { display: flex; flex-direction: column; gap: 16px; }
.sb-storefull-info h2 { font-size: clamp(30px, 3.4vw, 44px); }
.sb-storefull-info .sb-store-acts { margin-top: 0; padding-top: 0; }
.sb-dl { display: grid; grid-template-columns: 130px 1fr; margin: 0; font-size: 15px; }
.sb-dl dt { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; }
.sb-dl dt .sb-ico { width: 17px; height: 17px; margin-top: 2px; color: var(--accent); }
.sb-dl dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.sb-dl a { text-decoration: underline; text-underline-offset: 3px; }
.sb-map { width: 100%; height: 280px; border: 0; border-radius: var(--radius-img); filter: saturate(.9); }
.sb-map--wide { height: 420px; border-radius: 0; display: block; }
@media (max-width: 860px) { .sb-storefull { grid-template-columns: 1fr; } .sb-storefull.is-rev .sb-storefull-media { order: 0; } .sb-dl { grid-template-columns: 110px 1fr; } }

/* ---------- Blog ---------- */
.sb-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sb-post { display: flex; flex-direction: column; }
.sb-post-img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-img); background: var(--bg-2); }
.sb-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sb-post:hover .sb-post-img img { transform: scale(1.04); }
.sb-post-meta { display: block; font-size: 13px; color: var(--muted); margin: 16px 0 6px; }
.sb-post h3 { font-size: 23px; line-height: 1.2; }

.sb-posts--list { grid-template-columns: repeat(3, 1fr) !important; grid-auto-rows: auto !important; }
.sb-posts--list .sb-post { position: static; }
.sb-posts--list .sb-post-img { aspect-ratio: 3 / 2 !important; height: auto !important; }
.sb-posts--list .sb-post-txt { position: static !important; padding: 0 !important; background: none !important; }
.sb-posts--list .sb-post--first { grid-row: auto !important; }
.sb-blog-feat { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: var(--bg-2); border-radius: var(--radius); overflow: hidden; margin-bottom: 44px; }
.sb-blog-feat-img img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.sb-blog-feat-txt { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.sb-blog-feat-txt h2 { font-size: clamp(28px, 3vw, 40px); }
.sb-blog-feat .sb-more { align-self: flex-start; }
.sb-article-head { padding: clamp(40px, 6vw, 72px) 0 32px; text-align: center; }
.sb-article-head .sb-crumbs { justify-content: center; }
.sb-article-head h1 { font-size: clamp(34px, 4.6vw, 58px); }
.sb-article-meta { color: var(--muted); margin: 16px 0 0; font-size: 15px; }
.sb-article-cover { margin: 0 auto 44px; }
.sb-article-cover img { width: 100%; max-height: 600px; object-fit: cover; border-radius: var(--radius-img); }
.sb-article-body { font-size: 18px; }
.sb-share { display: flex; align-items: center; gap: 10px; margin: 34px 0 var(--section-y); padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.sb-share a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.sb-share a:hover { border-color: var(--accent); color: var(--accent); }
.sb-share .sb-ico { width: 18px; height: 18px; }
@media (max-width: 860px) { .sb-posts--list { grid-template-columns: 1fr !important; } .sb-blog-feat { grid-template-columns: 1fr; } .sb-blog-feat-img img { min-height: 220px; } }

/* ---------- Galería ---------- */
.sb-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sb-gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-img); background: var(--bg-2); }
.sb-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sb-gallery a:hover img { transform: scale(1.05); }
.sb-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 8, 6, .92); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.sb-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.sb-lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.sb-lightbox .lb-close { top: 16px; right: 16px; }
.sb-lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.sb-lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.sb-lightbox figcaption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }

.sb-gallery--page { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.sb-gallery a { position: relative; }
.sb-gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; font-size: 14px; font-weight: 600; background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent); }

/* Contacto */
.sb-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.sb-contact h2 { font-size: clamp(28px, 3vw, 40px); }
.sb-contact-form { background: var(--bg-2); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.sb-contact-form h2 { margin-bottom: 20px; }
.sb-contact-stores { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sb-contact-stores li { display: flex; flex-direction: column; gap: 3px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.sb-contact-stores li strong { color: var(--ink); }
.sb-contact-stores .sb-status { font-size: 12.5px; }
@media (max-width: 860px) { .sb-contact { grid-template-columns: 1fr; } }
/* Banner: imagen con enlace (Páginas y textos › Banner) */
.sb-banner { padding: clamp(20px, 3vw, 40px) 0; }
.sb-banner.is-full { padding: 0; }
.sb-banner picture, .sb-banner img { display: block; width: 100%; height: auto; }
.sb-banner:not(.is-full) picture { border-radius: var(--radius); overflow: hidden; }
.sb-banner-link { display: block; overflow: hidden; }
.sb-banner-link img { transition: transform .8s var(--ease), filter .3s; }
.sb-banner-link:hover img { transform: scale(1.015); filter: brightness(1.03); }
.sb-banner-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Solicitud de compra (modo escaparate) */
.sb-contact.is-compra { grid-template-columns: 1.1fr 1fr; }
.sb-contact.is-compra .sb-contact-form { order: -1; }
.sb-req { display: flex; gap: 16px; align-items: flex-start; padding: 14px; margin-bottom: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.sb-req-img { flex: none; width: 96px; aspect-ratio: 1; border-radius: calc(var(--radius) * .6); overflow: hidden; background: var(--bg-2); display: grid; place-items: center; color: var(--ink-3, var(--ink-2)); }
.sb-req-img img { width: 100%; height: 100%; object-fit: cover; }
.sb-req-txt { display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--ink-2); min-width: 0; }
.sb-req-txt strong { color: var(--ink); font-size: 17px; line-height: 1.25; }
.sb-req-txt a { margin-top: 4px; font-size: 13px; text-decoration: underline; color: var(--ink-2); }
.sb-req-color { display: inline-flex; align-items: center; gap: 7px; }
.sb-req-color i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.sb-req-price { font-weight: 700; color: var(--ink); }
.sb-field small { font-weight: 400; opacity: .7; }
@media (max-width: 860px) { .sb-contact.is-compra { grid-template-columns: 1fr; } }

/* ---------- Llamadas a la acción ---------- */
.sb-band { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--accent-soft); border-radius: calc(var(--radius) + 4px); overflow: hidden; }
.sb-band-img img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.sb-band-txt { padding: clamp(32px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.sb-band-txt .sb-lead { margin-top: 16px; }
.sb-cta--center { text-align: center; background: var(--bg-2); }
.sb-cta--center h2 { max-width: 20ch; margin: 0 auto; }
.sb-cta--center .sb-lead { margin: 18px auto 0; }
.sb-cta--center .sb-ctas { justify-content: center; }

/* ---------- Formularios ---------- */
.sb-form { display: grid; gap: 18px; }
.sb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sb-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.sb-field--full { grid-column: 1 / -1; }
.sb-field input, .sb-field textarea, .sb-field select, .sb-input { width: 100%; font: 400 16px/1.4 var(--ff-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) - 2px); padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.sb-field input:focus, .sb-field textarea:focus, .sb-field select:focus, .sb-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.sb-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.sb-check input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; }
.sb-check a { text-decoration: underline; }
.sb-form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sb-form-msg { font-size: 15px; font-weight: 600; }
.sb-form-msg.is-ok { color: var(--ok); }
.sb-form-msg.is-err { color: #c0392b; }
.sb-hp { position: absolute; left: -9999px; }

/* ---------- Cabecera de páginas interiores ---------- */
.sb-pagehead { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.sb-pagehead h1 { font-size: clamp(36px, 5vw, 64px); max-width: 18ch; }
.sb-pagehead .sb-lead { margin: 16px 0 0; }
.sb-pagehead.has-img { color: #fff; min-height: 420px; display: flex; align-items: flex-end; border: 0; }
.sb-pagehead.has-img .sb-pagehead-media { position: absolute; inset: 0; }
.sb-pagehead.has-img .sb-pagehead-media img { width: 100%; height: 100%; object-fit: cover; }
.sb-pagehead.has-img .sb-pagehead-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 14, 10, .72), rgba(20, 14, 10, .15)); }
.sb-pagehead.has-img .sb-pagehead-in { position: relative; }
.sb-pagehead.has-img .sb-lead, .sb-pagehead.has-img .sb-crumbs { color: rgba(255, 255, 255, .85); }
.sb-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.sb-crumbs a:hover { color: var(--accent); }

/* ---------- Catálogo ---------- */
.sb-catalog { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.sb-filters { position: sticky; top: calc(var(--header-h) + 20px); }
.sb-filters h3 { font: 700 13px/1 var(--ff-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.sb-filters ul { list-style: none; margin: 0 0 28px; padding: 0; }
.sb-filters li a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; color: var(--ink-2); font-size: 15px; }
.sb-filters li a:hover, .sb-filters li a.is-on { color: var(--accent); }
.sb-filters li a.is-on { font-weight: 700; }
.sb-filters li ul { margin: 0 0 4px 14px; }
.sb-filters li ul a { font-size: 14px; padding: 5px 0; }
.sb-filters .sb-count { color: var(--muted); font-size: 13px; font-weight: 400; }
.sb-cat-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sb-cat-toolbar p { margin: 0; color: var(--muted); }
.sb-cat-toolbar select { font: 500 15px var(--ff-body); padding: 10px 36px 10px 14px; border: 1px solid var(--line); border-radius: calc(var(--radius) - 2px); background: var(--surface); color: var(--ink); }
.sb-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.sb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; font-weight: 500; }
.sb-chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sb-filter-toggle { display: none; }
.sb-catalog .sb-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-pag { display: flex; justify-content: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.sb-pag a, .sb-pag span { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: calc(var(--radius) - 2px); font-weight: 600; }
.sb-pag span.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sb-pag a:hover { border-color: var(--accent); color: var(--accent); }
.sb-empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.sb-empty h3 { color: var(--ink); font-size: 26px; margin-bottom: 10px; }

/* ---------- Ficha de producto ---------- */
.sb-product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding: 36px 0 var(--section-y); align-items: start; }
.sb-gal-main { display: block; position: relative; aspect-ratio: 1; background: var(--bg-2); border-radius: var(--radius-img); overflow: hidden; cursor: zoom-in; }
.sb-gal-main img { width: 100%; height: 100%; object-fit: cover; }
.sb-gal-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; margin-top: 12px; }
.sb-gal-thumbs button { padding: 0; border: 2px solid transparent; border-radius: calc(var(--radius-img) - 2px); overflow: hidden; aspect-ratio: 1; cursor: pointer; background: var(--bg-2); }
.sb-gal-thumbs button.is-on { border-color: var(--accent); }
.sb-gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sb-info { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.sb-info .sb-crumbs { margin: 0; }
.sb-info h1 { font-size: clamp(32px, 3.6vw, 48px); }
.sb-info .sb-tags { position: static; }
.sb-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sb-stars { display: inline-flex; color: #d9a23a; }
.sb-stars .sb-ico { width: 17px; height: 17px; }
.sb-stars .is-off { color: var(--line); }
.sb-short { font-size: 17px; color: var(--ink-2); margin: 0; }
.sb-opt-group { display: grid; gap: 10px; }
.sb-opt-label { font-weight: 700; font-size: 14px; }
.sb-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-opt { position: relative; }
.sb-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sb-opt span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px; border: 1.5px solid var(--line); border-radius: calc(var(--radius) - 2px); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.sb-opt span small { color: var(--muted); }
.sb-opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.sb-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sb-swatch span { width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.sb-swatch input:checked + span { box-shadow: 0 0 0 2px var(--accent); background: inherit; }
.sb-m2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sb-buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.sb-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--btn-radius); overflow: hidden; }
.sb-qty button { width: 44px; height: var(--btn-h); border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.sb-qty input { width: 44px; border: 0; text-align: center; font: 600 16px var(--ff-body); background: transparent; color: inherit; -moz-appearance: textfield; }
.sb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.sb-buy .sb-btn { flex: 1 1 auto; min-width: 200px; }
.sb-perks { list-style: none; margin: 4px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.sb-perks li { display: flex; gap: 10px; align-items: center; }
.sb-perks .sb-ico { color: var(--accent); width: 19px; height: 19px; }
.sb-near { background: var(--bg-2); border-radius: var(--radius); padding: 18px 20px; font-size: 14px; }
.sb-near strong { display: block; margin-bottom: 6px; font-size: 15px; }
.sb-near a { font-weight: 600; text-decoration: underline; }
.sb-specs { border-top: 1px solid var(--line); }
.sb-acc { border-bottom: 1px solid var(--line); }
.sb-acc > summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.sb-acc > summary::-webkit-details-marker { display: none; }
.sb-acc > summary .sb-ico { transition: transform .25s; }
.sb-acc[open] > summary .sb-ico { transform: rotate(180deg); }
.sb-acc-body { padding: 0 0 20px; }
.sb-reviews { display: grid; gap: 18px; }
.sb-review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.sb-review strong { display: block; }
.sb-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 110; background: var(--ink); color: var(--bg); padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; opacity: 0; transition: opacity .3s, transform .3s var(--ease); font-size: 15px; max-width: calc(100% - 32px); }
.sb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.sb-toast a { font-weight: 700; text-decoration: underline; white-space: nowrap; }

/* ---------- Pie ---------- */
.sb-footer { background: var(--dark); color: var(--dark-muted); padding: 72px 0 28px; font-size: 14px; }
.sb-footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.sb-footer h4 { color: var(--dark-ink); font: 700 13px/1 var(--ff-body); letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 18px; }
.sb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sb-footer a:hover { color: var(--dark-ink); }
.sb-footer-brand .sb-logo img { height: 46px; }
.sb-footer-brand p { margin: 18px 0; max-width: 34ch; }
.sb-footer-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--dark-ink); }
.sb-footer-stores li { display: flex; flex-direction: column; gap: 2px; }
.sb-footer-stores span { font-size: 13px; opacity: .8; }
.sb-social { display: flex; gap: 8px; margin-top: 20px; }
.sb-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--dark-line); display: grid; place-items: center; }
.sb-social .sb-ico { width: 17px; height: 17px; }
.sb-footer-mark { display: none; }
.sb-footer-legal { border-top: 1px solid var(--dark-line); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Flotantes ---------- */
.sb-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; height: 58px; min-width: 58px; padding: 0 16px; border-radius: 99px; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font: 700 15px var(--ff-body); box-shadow: 0 10px 28px rgba(0, 0, 0, .25); transition: transform .2s; }
.sb-wa-float:hover { transform: translateY(-2px); }
.sb-wa-float .sb-ico { width: 28px; height: 28px; }
.sb-wa-float span { display: none; }
.sb-cookies { position: fixed; left: 20px; bottom: 20px; z-index: 85; width: min(440px, calc(100% - 40px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; font-size: 14px; }
.sb-cookies p { margin: 0 0 14px; color: var(--ink-2); }
.sb-cookies a { text-decoration: underline; }
.sb-cookies div { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Producto destacado ---------- */
.sb-promo { position: fixed; inset: 0; z-index: 96; background: rgba(15, 12, 10, .55); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.sb-promo.is-on { opacity: 1; visibility: visible; }
.sb-promo-box { position: relative; width: min(820px, 100%); background: var(--surface); color: var(--ink); border-radius: calc(var(--radius) + 4px); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); transform: translateY(14px); transition: transform .4s var(--ease); }
.sb-promo.is-on .sb-promo-box { transform: none; }
.sb-promo-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.sb-promo-txt { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.sb-promo-txt h2 { font-size: 32px; }
.sb-promo-txt p { margin: 0; color: var(--ink-2); }
.sb-promo-txt .sb-ctas { margin-top: 10px; }
.sb-promo-x { position: absolute; top: 10px; right: 10px; z-index: 1; background: var(--surface); }
@media (max-width: 640px) { .sb-promo-box { grid-template-columns: 1fr; } .sb-promo-img img { min-height: 220px; max-height: 260px; } }

/* ---------- Animación de entrada ---------- */
.sb-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.sb-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 1100px) {
  .sb-nav, .sb-hide-t { display: none !important; }
  .sb-burger { display: grid; }
  .sb-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sb-prods.sb-track { grid-auto-columns: calc((100% - 24px) / 2.3); }
  .sb-cats--cards { grid-auto-columns: calc((100% - 24px) / 2.4); }
  .sb-catalog { grid-template-columns: 1fr; }
  .sb-filters { position: fixed; inset: 0; z-index: 92; background: var(--bg); padding: 24px; overflow-y: auto; transform: translateX(-100%); transition: transform .35s var(--ease); }
  .sb-filters.is-open { transform: none; }
  .sb-filter-toggle { display: inline-flex; }
  .sb-filters-close { display: grid !important; position: absolute; top: 14px; right: 14px; }
  .sb-hero--split { grid-template-columns: 1fr; }
  .sb-hero--split .sb-hero-media { min-height: 56vh; }
  .sb-hero--split .sb-hero-body { padding: 48px 20px; }
  .sb-storelist { grid-template-columns: 1fr; }
  .sb-tab-panel.is-on { grid-template-columns: 1fr; }
  .sb-tab-img img { min-height: 280px; }
  .sb-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .sb-product { grid-template-columns: 1fr; padding-top: 20px; }
  .sb-info { position: static; }
  .sb-media, .sb-band { grid-template-columns: 1fr; }
  .sb-media .sb-media-img, .sb-media--left .sb-media-img { order: -1; }
  .sb-media-img img { aspect-ratio: 4 / 3; }
  .sb-posts { grid-template-columns: 1fr; }
  .sb-cats--mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .sb-cats--mosaic .sb-cat:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .sb-hide-m { display: none !important; }
  .sb-logo img { height: 36px; }
  .sb-header-in { gap: 12px; }
  .sb-prods, .sb-catalog .sb-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .sb-prods.sb-track { grid-auto-columns: 72%; }
  .sb-cats--cards { grid-auto-columns: 70%; }
  .sb-card h3 { font-size: 15px; }
  .sb-card-sub { display: none; }
  .sb-trust-in { grid-template-columns: 1fr 1fr; }
  .sb-trust-item { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 14px; border-bottom: 1px solid var(--line); }
  .sb-trust-item:nth-child(2n) { border-right: 0; }
  .sb-trust-item strong { font-size: 24px; }
  .sb-hero--overlay { min-height: 600px; }
  .sb-hero-txt { font-size: 17px; }
  .sb-form-grid { grid-template-columns: 1fr; }
  .sb-collage { min-height: 340px; }
  .sb-footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .sb-cookies { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .sb-lightbox { padding: 60px 10px; }
  .sb-tab-info dl { grid-template-columns: 90px 1fr; }
  .sb-tabs button { padding: 14px 12px; font-size: 12px; }
}
@media (min-width: 900px) { .sb-wa-float span { display: inline; } .sb-wa-float { padding: 0 22px 0 18px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .sb-reveal { opacity: 1; transform: none; }
}
