@charset "UTF-8";
/* Tienda pública estilo tienda departamental. Usa los tokens de app.css; el color primario lo define cada tienda. */
body.store {
  --s-bg: #ffffff;
  --s-soft: #f5f6f8;
  --s-line: #e6e8ec;
  --s-ink: #1b1d22;
  --s-ink-2: #4f5560;
  --s-ink-3: #868c97;
  --s-sale: #d61f3a;
  --s-radius: 12px;
  --s-tint: color-mix(in srgb, var(--primary) 8%, white);
  --s-tint-2: color-mix(in srgb, var(--primary) 15%, white);
  --s-deep: color-mix(in srgb, var(--primary) 82%, black);
  background: var(--s-bg);
  color: var(--s-ink);
  font-size: 15.5px;
  overflow-x: clip;
}
body.store h1, body.store h2, body.store h3 { letter-spacing: -.015em; font-weight: 650; }
body.store .card { border-radius: var(--s-radius); border-color: var(--s-line); box-shadow: none; }
body.store input, body.store select, body.store textarea { border-radius: 8px; }
body.store .btn { border-radius: 8px; font-weight: 600; }
body.store .btn.pill { border-radius: 999px; padding: .75rem 1.6rem; }
body.store .btn.dark { background: var(--s-deep); border-color: var(--s-deep); color: #fff; }
body.store .btn.dark:hover { filter: brightness(1.1); }
body.store :focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.pc-price, .pdp-price, .summary-lines, .cl-total, .promo-price, .mini-price { font-variant-numeric: tabular-nums; }
.ico { flex: none; display: block; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 1.25rem; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--surface); padding: .5rem 1rem; }
.skip-link:focus { left: .5rem; top: .5rem; }

/* ---------- Barra superior ---------- */
.topbar-s { border-bottom: 1px solid var(--s-line); font-size: .84rem; color: var(--s-ink-2); }
.topbar-s-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 36px; }
.tb-left { display: inline-flex; align-items: center; gap: .45rem; }
.tb-center { text-align: center; font-weight: 500; color: var(--s-ink); }
.tb-right { text-align: right; }
.tb-right a { color: var(--s-ink-2); }
.tb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--s-sale); }
.tb-dot.open { background: #1a9e5a; }
@media (max-width: 760px) {
  .topbar-s-inner { grid-template-columns: 1fr; }
  .tb-left, .tb-right { display: none; }
  .topbar-s:has(.tb-center:empty) { display: none; }
}

/* ---------- Encabezado ---------- */
.store-header { display: block; height: auto; padding: 0; position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 0; }
.store-bar { display: flex; align-items: center; gap: 2rem; min-height: 84px; }
.store-brand { flex: none; display: flex; align-items: center; gap: .65rem; color: var(--s-ink); max-width: 260px; }
.store-brand:hover { text-decoration: none; }
.store-brand img { display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); font-weight: 800; font-size: 1.35rem; flex: none; }
.brand-name { font-weight: 750; font-size: 1.35rem; letter-spacing: -.02em; color: var(--s-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-search { flex: 1; max-width: 640px; display: flex; align-items: center; height: 46px; border-radius: 999px; background: var(--s-soft); border: 1px solid transparent; }
.store-search:focus-within { border-color: var(--s-tint-2); background: #fff; box-shadow: 0 0 0 3px var(--s-tint); }
.store-search select { flex: none; width: auto; max-width: 160px; height: 100%; border: 0; border-right: 1px solid var(--s-line); border-radius: 999px 0 0 999px; background-color: transparent; padding: 0 2rem 0 1.1rem; font-size: .9rem; color: var(--s-ink-2); }
.store-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 1rem; font-size: .95rem; box-shadow: none; }
.store-search input:focus, .store-search select:focus { outline: none; box-shadow: none; }
.store-search button { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 0; background: none; color: var(--s-ink); cursor: pointer; border-radius: 50%; }
.header-actions { display: flex; align-items: center; margin-left: auto; }
.h-action { display: flex; align-items: center; gap: .65rem; padding: 0 1.25rem; color: var(--s-ink); line-height: 1.2; }
.h-action + .h-action { border-left: 1px solid var(--s-line); }
.h-action:hover { text-decoration: none; color: var(--s-deep); }
.h-action small { display: block; font-size: .76rem; color: var(--s-ink-2); }
.h-action strong { display: block; font-size: .95rem; white-space: nowrap; }
.h-cart-icon { position: relative; }
.h-cart { padding-right: 0; }
.cart-count { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-size: .68rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 1100px) { .h-help { display: none; } .h-cart { border-left: 0 !important; } }
@media (max-width: 760px) {
  .store-bar { flex-wrap: wrap; gap: .6rem 1rem; min-height: 0; padding-top: .7rem; padding-bottom: .7rem; }
  .store-brand { max-width: calc(100% - 70px); }
  .store-brand img { height: 40px; }
  .brand-mark { width: 38px; height: 38px; font-size: 1.15rem; }
  .brand-name { font-size: 1.15rem; }
  .h-cart > span:last-child { display: none; }
  .store-search { order: 3; flex-basis: 100%; max-width: none; height: 44px; }
  .store-search select { max-width: 110px; padding-left: .9rem; }
}

/* ---------- Menú principal ---------- */
.store-nav { background: var(--primary); color: var(--primary-ink); }
.store-nav-inner { display: flex; align-items: stretch; gap: 1.5rem; min-height: 54px; }
.cat-menu { position: relative; flex: none; width: 250px; }
.cat-menu summary { list-style: none; display: flex; align-items: center; gap: .7rem; height: calc(100% - 6px); padding: 0 1.1rem; background: #fff; color: var(--s-ink); font-weight: 650; cursor: pointer; border: 2px solid var(--primary); border-bottom: 0; border-radius: 8px 8px 0 0; margin-top: 6px; }
.cat-menu summary::-webkit-details-marker { display: none; }
.cat-menu-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; list-style: none; margin: 0; padding: .4rem 1.1rem; background: #fff; border: 2px solid var(--primary); border-top: 1px solid var(--s-line); border-radius: 0 0 8px 8px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .3); max-height: 70vh; overflow-y: auto; }
.cat-menu-list li { border-bottom: 1px solid var(--s-line); }
.cat-menu-list li:last-child { border-bottom: 0; }
.cat-menu-list a { display: block; padding: .7rem 0; color: var(--s-ink); font-size: .93rem; }
.cat-menu-list a:hover { color: var(--s-deep); text-decoration: none; }
.cat-menu-list ul { list-style: none; margin: -.3rem 0 .4rem; padding: 0 0 0 .9rem; }
.cat-menu-list ul li { border: 0; }
.cat-menu-list ul a { padding: .3rem 0; font-size: .87rem; color: var(--s-ink-2); }
.cat-menu-all a { font-weight: 650; color: var(--s-deep); }
.nav-links { display: flex; align-items: center; gap: .25rem; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a, .nav-offers { flex: none; padding: .5rem .85rem; border-radius: 6px; color: inherit; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav-links a:hover, .nav-offers:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }
.nav-links a[aria-current="page"] { background: rgba(255, 255, 255, .2); }
.nav-offers { display: flex; align-items: center; gap: .45rem; align-self: center; margin-left: auto; }
@media (min-width: 1024px) { body:has(.home-hero .cat-box) .cat-menu summary { pointer-events: none; } body:has(.home-hero .cat-box) .cat-menu-list { display: none; } }
@media (max-width: 760px) {
  .store-nav-inner { gap: .5rem; min-height: 48px; padding-left: .75rem; padding-right: .75rem; }
  .cat-menu { width: auto; position: static; }
  .cat-menu summary { padding: 0 .8rem; }
  .cat-menu summary span { display: none; }
  .cat-menu-list { left: .75rem; right: .75rem; }
  .nav-offers { margin-left: 0; }
}

.store-notice { background: var(--warn-soft); color: var(--warn); text-align: center; padding: .65rem 1rem; font-size: .93rem; }
.store-main { max-width: 1320px; margin: 0 auto; padding: 1.75rem 1.25rem 5rem; }
.store-main > h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: .9rem; }

/* ---------- Hero de portada ---------- */
.home-hero { display: grid; gap: 1.5rem; grid-template-columns: 250px minmax(0, 1fr) 380px; align-items: stretch; }
.home-hero.no-side { grid-template-columns: 250px minmax(0, 1fr); }
.home-hero:not(:has(.cat-box)) { grid-template-columns: minmax(0, 1fr) 380px; }
.home-hero.no-side:not(:has(.cat-box)) { grid-template-columns: 1fr; }
.cat-box { margin-top: -1.75rem; align-self: start; border: 2px solid var(--primary); border-top: 0; border-radius: 0 0 8px 8px; background: #fff; }
.cat-box h2 { display: none; }
.cat-box ul { list-style: none; margin: 0; padding: .2rem 1.1rem .4rem; }
.cat-box li { border-bottom: 1px solid var(--s-line); }
.cat-box li:last-child { border-bottom: 0; }
.cat-box a { display: flex; justify-content: space-between; gap: .5rem; padding: .72rem 0; color: var(--s-ink); font-size: .93rem; }
.cat-box a:hover { color: var(--s-deep); text-decoration: none; }
.cat-box small { color: var(--s-ink-3); }
.cat-box-all a { font-weight: 650; color: var(--s-deep); }
.hero-main { min-width: 0; }
.hero-banner { display: block; height: 100%; border-radius: var(--s-radius); overflow: hidden; background: var(--s-soft); }
.hero-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-panel { position: relative; height: 100%; min-height: 380px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 1rem; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--s-radius); background: var(--s-tint); overflow: hidden; }
.hero-kicker { margin: 0 0 .8rem; font-weight: 600; color: var(--s-deep); }
.hero-panel h1 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.hero-desc { margin: .9rem 0 1.6rem; color: var(--s-ink-2); font-size: 1.05rem; max-width: 40ch; }
.hero-art { width: 100%; max-height: 320px; object-fit: contain; mix-blend-mode: multiply; }
.hero-art-icon { display: grid; place-items: center; color: color-mix(in srgb, var(--primary) 35%, white); }
.hero-side { display: grid; gap: 1.5rem; grid-template-rows: 1fr 1fr; }
.promo-card { display: grid; grid-template-columns: minmax(0, 1fr) 42%; align-items: center; gap: .75rem; padding: 1.5rem 1.6rem; border-radius: var(--s-radius); background: color-mix(in srgb, var(--primary) 11%, white); color: var(--s-ink); overflow: hidden; }
.promo-card.tone-1 { background: #e6f1ee; }
.promo-card:hover { text-decoration: none; }
.promo-card:hover .promo-name { text-decoration: underline; text-underline-offset: 3px; }
.promo-copy { display: grid; gap: .45rem; justify-items: start; }
.promo-tag { padding: .2rem .6rem; border-radius: 6px; background: var(--s-sale); color: #fff; font-size: .78rem; font-weight: 700; }
.promo-card.tone-1 .promo-tag { background: var(--s-deep); }
.promo-name { font-size: 1.3rem; line-height: 1.15; font-weight: 650; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.promo-price { font-size: 1.5rem; font-weight: 500; }
.promo-price s { font-size: .95rem; color: var(--s-ink-3); }
.promo-card img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.promo-noimg { display: grid; place-items: center; color: color-mix(in srgb, var(--s-ink) 25%, transparent); }
@media (max-width: 1180px) { .home-hero { grid-template-columns: 230px minmax(0, 1fr) 320px; } .promo-name { font-size: 1.1rem; } .promo-price { font-size: 1.25rem; } }
@media (max-width: 1023px) {
  .home-hero, .home-hero.no-side, .home-hero:not(:has(.cat-box)) { grid-template-columns: 1fr; }
  .cat-box { display: none; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-panel { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { max-height: 180px; order: -1; }
  .hero-side { grid-template-columns: 1fr; gap: 1rem; }
  .promo-card { padding: 1.2rem; }
}

/* ---------- Beneficios ---------- */
.features { list-style: none; margin: 1.75rem 0 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border: 1px solid var(--s-line); border-radius: var(--s-radius); }
.features li { display: flex; align-items: flex-start; gap: .9rem; padding: .25rem 1.5rem; color: var(--s-deep); }
.features li + li { border-left: 1px solid var(--s-line); }
.features span { display: grid; gap: .15rem; color: var(--s-ink-2); font-size: .88rem; }
.features strong { color: var(--s-ink); font-size: 1rem; }
@media (max-width: 760px) {
  .features { grid-template-columns: 1fr 1fr; gap: 1rem 0; padding: 1.1rem 0; }
  .features li { padding: .25rem 1rem; }
  .features li + li { border-left: 0; }
  .features li:nth-child(even) { border-left: 1px solid var(--s-line); }
}
@media (max-width: 420px) { .features { grid-template-columns: 1fr; } .features li:nth-child(even) { border-left: 0; } }

/* ---------- Secciones ---------- */
.store-section { margin: 2.75rem 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.section-head.centered { justify-content: center; }
.section-head h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.see-all { font-weight: 600; font-size: .92rem; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--s-ink-2); background: var(--s-soft); border-radius: var(--s-radius); }

.cat-tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.cat-tile { display: grid; justify-items: center; gap: .2rem; text-align: center; color: var(--s-ink); }
.cat-tile:hover { text-decoration: none; }
.cat-tile-img { width: 100%; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: .55rem; border-radius: var(--s-radius); background: var(--s-soft); color: var(--s-ink-3); overflow: hidden; transition: background .2s; }
.cat-tile:hover .cat-tile-img { background: var(--s-tint); }
.cat-tile-img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.cat-tile strong { font-weight: 600; }
.cat-tile small { color: var(--s-ink-3); }
@media (max-width: 520px) { .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem .6rem; } .cat-tile strong { font-size: .88rem; } }

/* ---------- Catálogo ---------- */
.crumb-band { margin: -1.75rem calc(50% - 50vw) 1.75rem; background: var(--s-tint); }
.crumb-band .breadcrumbs { margin: 0 auto; padding-top: 1rem; padding-bottom: 1rem; max-width: 1320px; }
.breadcrumbs { font-size: .88rem; color: var(--s-ink-2); }
.breadcrumbs a { color: var(--s-ink); }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding: .1rem 0 1.1rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.sub { padding-top: 0; }
.chip { flex: none; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--s-line); background: #fff; color: var(--s-ink-2); font-weight: 600; font-size: .9rem; }
.chip:hover { text-decoration: none; border-color: var(--primary); color: var(--s-ink); }
.chip[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.chips.sub .chip { font-size: .84rem; padding: .35rem .8rem; }
.chips.sub .chip[aria-current="page"] { background: var(--s-tint-2); border-color: transparent; color: var(--s-ink); }
.pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; }

/* ---------- Tarjetas de producto ---------- */
.product-grid { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
@media (max-width: 520px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .7rem; } }
.product-card { display: flex; flex-direction: column; padding: .6rem; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; color: var(--s-ink); transition: border-color .2s, box-shadow .2s; }
.product-card:hover { text-decoration: none; border-color: var(--s-tint-2); box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .25); }
.pc-image { position: relative; aspect-ratio: 1; background: var(--s-soft); border-radius: 8px; overflow: hidden; }
.pc-image img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 8%; mix-blend-mode: multiply; }
.pc-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: color-mix(in srgb, var(--s-ink) 22%, var(--s-soft)); background: var(--s-soft); }
.pc-placeholder.big { aspect-ratio: 1; }
.pc-badge { position: absolute; top: .55rem; left: .55rem; background: var(--s-sale); color: #fff; font-weight: 700; font-size: .76rem; padding: .18rem .5rem; border-radius: 5px; }
.pc-badge.inline { position: static; vertical-align: middle; }
.pc-soldout { position: absolute; left: .55rem; bottom: .55rem; background: rgba(27, 29, 34, .82); color: #fff; font-weight: 600; font-size: .78rem; padding: .22rem .55rem; border-radius: 5px; }
.pc-body { display: grid; gap: .3rem; padding: .75rem .3rem .3rem; }
.pc-name { font-weight: 500; font-size: .94rem; line-height: 1.35; color: var(--s-ink); min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; }
.pc-price s { color: var(--s-ink-3); font-size: .84rem; }
.pc-price strong { font-size: 1.08rem; font-weight: 700; color: var(--s-deep); }

/* ---------- Información de la tienda ---------- */
.store-info { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }
@media (max-width: 760px) { .store-info { grid-template-columns: 1fr; } }
.store-info .card { margin: 0; background: var(--s-soft); border: 0; padding: 1.4rem 1.5rem; }
.store-info dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.5rem; margin: 0; }
.store-info dt { color: var(--s-ink-2); }
.store-info dd { margin: 0; font-variant-numeric: tabular-nums; }
.store-info .today { font-weight: 700; color: var(--s-ink); }
.store-info ul.plain { display: grid; gap: .5rem; }

/* ---------- Ficha de producto ---------- */
.pdp { display: grid; gap: 2.25rem; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 280px; align-items: start; }
.pdp.no-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1180px) { .pdp, .pdp.no-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pdp-aside { grid-column: 1 / -1; } }
@media (max-width: 820px) { .pdp, .pdp.no-aside { grid-template-columns: 1fr; gap: 1.5rem; } }
.pdp-media { display: grid; gap: .75rem; }
.pdp-media.has-thumbs { grid-template-columns: 84px minmax(0, 1fr); }
.pdp-main { position: relative; border: 1px solid var(--s-line); border-radius: var(--s-radius); overflow: hidden; background: #fff; }
.pdp-main img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 6%; }
.pdp-thumbs { display: flex; flex-direction: column; gap: .6rem; max-height: 520px; overflow-y: auto; scrollbar-width: thin; }
.pdp-thumb { padding: 0; border: 1px solid var(--s-line); border-radius: 8px; background: #fff; cursor: pointer; flex: none; overflow: hidden; }
.pdp-thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6px; }
.pdp-thumb[aria-current="true"] { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
@media (max-width: 560px) {
  .pdp-media.has-thumbs { grid-template-columns: 1fr; }
  .pdp-media.has-thumbs .pdp-thumbs { order: 2; flex-direction: row; max-height: none; overflow-x: auto; }
  .pdp-thumb { width: 68px; }
}
.trust-row { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--s-line); border-radius: 10px; background: var(--s-tint); overflow: hidden; }
.trust-row li { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem .6rem; font-weight: 600; font-size: .9rem; text-align: center; color: var(--s-ink); }
.trust-row li + li { border-left: 1px solid var(--s-line); }
.trust-row .ico { color: var(--s-deep); }
@media (max-width: 480px) { .trust-row { grid-auto-flow: row; } .trust-row li { justify-content: flex-start; } .trust-row li + li { border-left: 0; border-top: 1px solid var(--s-line); } }
.pdp-info h1 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); line-height: 1.25; margin-bottom: .6rem; font-weight: 650; }
.pdp-price { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin: 0 0 .5rem; }
.pdp-price strong { font-size: 1.75rem; font-weight: 700; color: var(--s-deep); }
.pdp-price s { font-size: 1.05rem; color: var(--s-ink-3); }
.stock-line { margin: 0 0 .5rem; font-size: .92rem; font-weight: 600; }
.stock-line.ok { color: #1a8a50; }
.stock-line.low { color: #b45309; }
.stock-line.out { color: var(--s-sale); }
.pdp-excerpt { color: var(--s-ink-2); margin: .9rem 0 0; }
.pdp-form { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--s-line); display: grid; gap: 1.2rem; }
.buy-row { display: grid; gap: .7rem; }
.buy-row .btn { width: 100%; height: 50px; font-size: 1rem; }
.pdp-links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 1.1rem 0 0; padding-bottom: 1.2rem; border-bottom: 1px solid var(--s-line); }
.pdp-links a, .linklike { display: inline-flex; align-items: center; gap: .45rem; color: var(--s-ink); font-weight: 500; font-size: .95rem; }
.linklike { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; }
.pdp-links a:hover, .linklike:hover { color: var(--s-deep); text-decoration: none; }
.how-to { margin-top: 1.2rem; padding: 1.1rem 1.25rem; border-radius: 10px; background: var(--s-soft); }
.how-to h2 { font-size: .98rem; margin-bottom: .5rem; }
.how-to ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; color: var(--s-ink-2); font-size: .92rem; }
.pdp-aside h2 { font-size: 1.2rem; margin-bottom: .9rem; font-weight: 600; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (max-width: 1180px) { .mini-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.mini-list a { display: grid; grid-template-columns: 76px 1fr; gap: .85rem; align-items: center; color: var(--s-ink); }
.mini-list a:hover { text-decoration: none; }
.mini-list a:hover .mini-name { color: var(--s-deep); }
.mini-img { width: 76px; height: 76px; display: grid; place-items: center; border: 1px solid var(--s-line); border-radius: 8px; overflow: hidden; color: var(--s-ink-3); background: #fff; }
.mini-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.mini-body { display: grid; gap: .25rem; }
.mini-name { font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-price s { color: var(--s-ink-3); font-size: .84rem; }
.mini-price strong { color: var(--s-deep); }
.pdp-desc { margin-top: 2.5rem; border-top: 1px solid var(--s-line); padding-top: 1.5rem; color: var(--s-ink-2); max-width: 75ch; }
.pdp-desc h2 { font-size: 1.15rem; color: var(--s-ink); }
.text-bad { color: var(--bad); }
.opt-field { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.opt-field legend { font-weight: 650; padding: 0; margin-bottom: .5rem; }
.segmented { display: flex; flex-wrap: wrap; gap: .5rem; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: block; padding: .55rem 1rem; border: 1px solid var(--s-line); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 600; }
.segmented span:hover { border-color: var(--primary); }
.segmented input:checked + span { background: var(--s-tint); border-color: var(--primary); color: var(--s-deep); box-shadow: inset 0 0 0 1px var(--primary); }
.segmented input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.segmented small, .slider3 small { display: inline-block; font-weight: 500; opacity: .8; margin-left: .2rem; }
.slider3 { display: grid; gap: .4rem; }
.slider3 input[type=range] { width: 100%; accent-color: var(--primary); }
.slider3-labels { display: grid; grid-template-columns: repeat(3, 1fr); font-size: .9rem; color: var(--s-ink-3); }
.slider3-labels span { cursor: pointer; text-align: center; }
.slider3-labels span:first-child { text-align: left; }
.slider3-labels span:last-child { text-align: right; }
.slider3-labels span.on { color: var(--s-ink); font-weight: 700; }
.slider3-labels small { display: block; margin: 0; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.qty-row label { font-weight: 650; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--s-line); border-radius: 999px; overflow: hidden; background: var(--s-soft); }
.qty input { width: 3.2rem; height: 44px; text-align: center; border: 0; border-radius: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty .btn { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; font-size: 1.2rem; background: transparent; }
.qty .btn:hover { background: var(--s-line); }

/* ---------- Avisos ---------- */
.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 50; background: var(--s-ink); color: #fff; padding: .8rem 1.2rem; border-radius: 10px; box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .35); font-weight: 600; max-width: calc(100% - 2rem); }
.toast a { color: #fff; text-decoration: underline; }
body.has-cart .toast { bottom: 5.25rem; }
@media (min-width: 761px) { body.has-cart .toast { bottom: 1.25rem; } }

/* ---------- Barra del carrito (celular) ---------- */
.cart-bar { position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 1.1rem; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-weight: 650; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
.cart-bar:hover { text-decoration: none; filter: brightness(.96); }
.cart-bar-count { padding: .2rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: .88rem; }
@media (min-width: 761px) { .cart-bar { display: none !important; } }
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 35; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); }
.wa-float:hover { text-decoration: none; filter: brightness(.96); }
@media (max-width: 760px) {
  .wa-float { width: 48px; height: 48px; }
  body.has-cart .wa-float { bottom: 5.25rem; }
  body.has-cart .store-footer { padding-bottom: 6rem; }
}

/* ---------- Pie ---------- */
.store-footer { margin-top: 2rem; background: var(--s-soft); border-top: 1px solid var(--s-line); padding: 2.5rem 0 1.5rem; font-size: .92rem; text-align: left; display: block; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand strong { font-size: 1.15rem; color: var(--s-deep); }
.footer-brand p { margin: .5rem 0 0; color: var(--s-ink-2); max-width: 46ch; }
.store-footer h2 { font-size: .98rem; margin-bottom: .7rem; }
.store-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; color: var(--s-ink-2); }
.store-footer ul a { color: var(--s-ink-2); }
.store-footer ul a:hover { color: var(--s-ink); }
.footer-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--s-line); color: var(--s-ink-3); font-size: .84rem; }

/* ---------- Carrito ---------- */
.cart-page { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
@media (max-width: 860px) { .cart-page { grid-template-columns: 1fr; gap: 1.25rem; } }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto auto; gap: .75rem 1.25rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--s-line); }
.cart-line:first-child { padding-top: 0; }
@media (max-width: 560px) { .cart-line { grid-template-columns: 72px 1fr; } .cl-qty, .cl-total { grid-column: 2; } }
.cl-image:empty { width: 88px; height: 88px; border-radius: 10px; background: var(--s-soft); border: 1px solid var(--s-line); }
.cl-image img { width: 88px; height: 88px; object-fit: contain; padding: 4px; border-radius: 10px; display: block; background: #fff; border: 1px solid var(--s-line); }
@media (max-width: 560px) { .cl-image:empty, .cl-image img { width: 72px; height: 72px; } }
.cl-info { display: grid; gap: .15rem; font-size: .92rem; color: var(--s-ink-2); }
.cl-name { font-weight: 650; font-size: 1rem; color: var(--s-ink); }
.cl-opts { list-style: none; padding: 0; margin: 0; color: var(--s-ink-3); font-size: .88rem; }
.cl-total { display: grid; justify-items: end; gap: .2rem; font-weight: 700; }
@media (max-width: 560px) { .cl-total { justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; } }
.cart-summary, .checkout-summary { position: sticky; top: 170px; background: var(--s-soft); border: 0; }
.cart-summary h2, .checkout-summary h2 { font-size: 1.15rem; }
.cart-summary .btn.primary, .checkout-summary .btn.primary { height: 50px; font-size: 1rem; border-radius: 999px; }
.cart-summary .facts dd, .checkout-summary .facts dd { text-align: right; font-weight: 600; }
.cart-summary .facts { margin-bottom: .35rem; }
.btn.disabled { opacity: .5; pointer-events: none; }

/* ---------- Datos del pedido ---------- */
.checkout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; gap: 1.25rem; } .checkout-summary { position: static; } }
.checkout-main { display: grid; gap: 1rem; }
.checkout-main .card { padding: 1.4rem 1.5rem; }
.checkout-main .card + .card { margin-top: 0; }
.checkout-main .card h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.input-row { display: flex; gap: .5rem; }
.input-row input { flex: 1; min-width: 0; }
.lookup-result { margin: .25rem 0 0; font-weight: 600; color: var(--s-ink-2); min-height: 1.2em; }
.type-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1rem; }
@media (max-width: 560px) { .type-cards.two { grid-template-columns: 1fr; } }
.saved-addresses { display: grid; gap: .5rem; padding: .9rem 1rem; background: var(--s-soft); border-radius: 10px; margin-bottom: 1rem; }
.summary-lines { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .7rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 1rem; font-size: .93rem; }
.checkout-summary .facts { margin-bottom: 1rem; }

/* ---------- Pedido listo ---------- */
.done { max-width: 560px; margin: 1.5rem auto; text-align: center; }
.done .summary-lines, .done .facts { text-align: left; }
.done-check { width: 68px; height: 68px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-size: 2rem; font-weight: 800; }
.wa-btn { background: #25D366; border-color: #25D366; color: #fff; font-size: 1.05rem; height: 54px; border-radius: 999px; margin: 1rem 0 .5rem; display: inline-flex; align-items: center; justify-content: center; }
.wa-btn:hover { filter: brightness(.95); background: #25D366; }

@media (prefers-reduced-motion: reduce) {
  .product-card, .cat-tile-img { transition: none; }
}

/* Alto fijo del hero en escritorio: el banner y las tarjetas se ajustan a él. */
@media (min-width: 1024px) {
  .hero-main, .hero-side { height: 440px; }
  .hero-panel { min-height: 0; }
  .hero-art { max-height: 300px; }
  .promo-card { min-height: 0; padding-top: 1rem; padding-bottom: 1rem; }
  .promo-card img, .promo-noimg { max-height: 170px; }
}
.promo-card img, .hero-art { height: auto; }
@media (max-width: 1023px) { .promo-card img { max-height: 150px; } .promo-card { grid-template-columns: minmax(0, 1fr) 38%; } }

/* Banner de la ficha: discreto, centrado y con alto máximo. */
.pdp-banner { max-width: 1000px; margin: 2.5rem auto 0; }
.pdp-banner img { max-height: 280px; object-fit: cover; }
.banner { margin: 0 0 1.75rem; border-radius: var(--s-radius); overflow: hidden; background: var(--s-soft); }
.banner a { display: block; }
.banner img { display: block; width: 100%; height: auto; }
.pdp-banner { margin: 2.5rem auto 0; }

/* ---------- Otros modelos ---------- */
.other-models { margin: 1.1rem 0 0; }
.other-models h2 { display: flex; align-items: baseline; gap: .4rem; margin: 0 0 .6rem; font-size: 1rem; }
.other-models h2 small { color: var(--s-ink-3); font-weight: 500; }
.om-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .6rem; }
.om { display: grid; gap: .3rem; justify-items: center; align-content: start; text-align: center; color: var(--s-ink); font-size: .8rem; line-height: 1.2; font-weight: 500; }
.om:hover { text-decoration: none; }
.om img, .om-noimg { display: grid; place-items: center; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8%; border: 1px solid var(--s-line); border-radius: 10px; background: #fff; color: var(--s-ink-3); }
.om:hover img, .om:hover .om-noimg { border-color: var(--primary); }
.om.current img, .om.current .om-noimg { border: 2px solid var(--primary); box-shadow: 0 0 0 2px var(--s-tint); }
.om.current .om-label { font-weight: 700; }
.om.out img { opacity: .45; }
.om-label em { display: block; font-style: normal; color: var(--s-sale); font-weight: 600; }
@media (max-width: 560px) { .om-grid { display: flex; overflow-x: auto; padding-bottom: .2rem; } .om { flex: 0 0 76px; } }
.pc-models { position: absolute; right: .55rem; bottom: .55rem; background: #fff; color: var(--s-ink); font-weight: 600; font-size: .74rem; padding: .18rem .55rem; border-radius: 999px; box-shadow: 0 0 0 1px var(--s-line); }
.gtm-ns { display: none; visibility: hidden; }
.category-intro { max-width: 75ch; margin: -.25rem 0 1.25rem; color: var(--s-ink-2); }
.legal { max-width: 75ch; }
.legal h1 { margin-bottom: .3rem; }
.legal section { margin-top: 1.6rem; }
.legal h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.legal p { color: var(--s-ink-2); line-height: 1.65; }

/* ======================================================================
   Diseños alternativos. Comparten el HTML del encabezado y las tarjetas;
   cambian colores, proporciones y la portada (home_mercado / home_boutique).
   ====================================================================== */
.section-head.stacked { flex-direction: column; align-items: center; gap: .35rem; text-align: center; }
.section-head.stacked p { margin: 0; color: var(--s-ink-2); }
.center-link { text-align: center; margin: 1.75rem 0 0; }

/* ---------- Mercado ---------- */
body.layout-mercado .topbar-s { display: none; }
body.layout-mercado .store-nav { background: #111214; color: #fff; }
body.layout-mercado .nav-links a:hover, body.layout-mercado .nav-offers:hover { background: rgba(255, 255, 255, .08); }
body.layout-mercado .nav-links a[aria-current="page"] { background: transparent; color: var(--primary); }
body.layout-mercado .nav-offers { color: #fff; background: var(--primary); color: var(--primary-ink); }
body.layout-mercado .cat-menu summary { background: transparent; color: #fff; border: 0; margin: 0; height: 100%; border-radius: 0; border-right: 1px solid rgba(255, 255, 255, .14); }
body.layout-mercado .cat-menu { width: auto; }
body.layout-mercado .store-search { border-radius: 8px; background: #fff; }
body.layout-mercado .pc-badge { background: var(--primary); color: var(--primary-ink); border-radius: 4px; }
body.layout-mercado .product-card { border-radius: 6px; }
body.layout-mercado .pc-image { background: #fff; }

.mk-hero { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(190px, 1fr)); }
.mk-hero.tiles-0 { grid-template-columns: 1fr; }
.mk-hero.tiles-1, .mk-hero.tiles-2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.mk-main { grid-row: span 2; border-radius: 6px; overflow: hidden; min-height: 400px; }
.mk-banner { display: block; background: var(--s-soft); }
.mk-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mk-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 1rem; padding: 2.5rem 2.5rem 2.5rem 3rem; color: #fff;
  background: radial-gradient(120% 90% at 85% 50%, color-mix(in srgb, var(--primary) 30%, #141414) 0%, #141414 62%); }
.mk-kicker { margin: 0 0 .9rem; font-size: 1rem; color: rgba(255, 255, 255, .85); }
.mk-panel h1 { margin: 0; color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; font-weight: 750; }
.mk-desc { margin: .9rem 0 0; color: rgba(255, 255, 255, .75); max-width: 36ch; }
.mk-panel .btn { margin-top: 1.6rem; }
.mk-art { justify-self: center; width: min(330px, 100%); height: auto; object-fit: contain; border-radius: 50%; aspect-ratio: 1; background: #fff; padding: 9%; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.mk-tile { position: relative; display: block; overflow: hidden; border-radius: 6px; padding: 1.5rem 1.5rem 0; color: #fff; background: var(--primary); min-height: 190px; }
.mk-tile:hover { text-decoration: none; }
.mk-tile:hover img { transform: scale(1.04); }
.mk-tile.t0 { grid-row: span 2; }
.mk-tile.t1 { background: color-mix(in srgb, var(--primary) 55%, #0d1b3d); }
.mk-tile.t2 { background: color-mix(in srgb, var(--primary) 70%, #000); }
.mk-hero.tiles-2 .mk-tile.t0 { grid-row: auto; }
.mk-hero.tiles-1 .mk-tile.t0 { grid-row: span 2; }
.mk-tile-copy { position: relative; z-index: 1; display: grid; justify-items: start; gap: .35rem; max-width: 62%; }
.mk-tile.t0 .mk-tile-copy { max-width: 100%; }
.mk-tag { padding: .2rem .7rem; border-radius: 999px; background: #fff; color: #141414; font-size: .78rem; font-weight: 700; }
.mk-tile strong { font-size: 1.3rem; line-height: 1.15; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-big { font-size: 2.1rem; font-weight: 800; line-height: 1; }
.mk-tile img { position: absolute; right: -8%; bottom: -10%; width: 52%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 7%; border-radius: 50%; background: #fff; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); transition: transform .25s ease; }
.mk-tile.t0 img { width: 78%; right: -6%; bottom: -6%; }
.mk-hero.tiles-2 .mk-tile.t0 img { width: 52%; right: -8%; bottom: -10%; }
.mk-hero.tiles-2 .mk-tile.t0 .mk-tile-copy { max-width: 62%; }

.mk-cats { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.mk-cat { display: grid; justify-items: center; gap: .2rem; text-align: center; color: var(--s-ink); }
.mk-cat:hover { text-decoration: none; }
.mk-cat-img { width: 100%; max-width: 160px; aspect-ratio: 1; border-radius: 50%; background: var(--s-soft); display: grid; place-items: center; margin-bottom: .7rem; color: var(--s-ink-3); transition: background .2s, transform .2s; }
.mk-cat:hover .mk-cat-img { background: var(--s-tint-2); transform: translateY(-3px); }
.mk-cat-img img { width: 68%; height: 68%; object-fit: contain; mix-blend-mode: multiply; }
.mk-cat strong { font-weight: 650; }
.mk-cat small { color: var(--s-ink-2); }

@media (max-width: 1023px) {
  .mk-hero, .mk-hero.tiles-1, .mk-hero.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .mk-main { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
  .mk-tile.t0, .mk-hero.tiles-1 .mk-tile.t0 { grid-row: auto; }
  .mk-tile.t0 img { width: 52%; right: -8%; bottom: -10%; }
  .mk-tile.t0 .mk-tile-copy { max-width: 62%; }
  .mk-tile.t2:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .mk-panel { grid-template-columns: 1fr; padding: 2rem 1.5rem; text-align: left; }
  .mk-art { display: none; }
  .mk-main { min-height: 0; }
  .mk-hero, .mk-hero.tiles-1, .mk-hero.tiles-2 { grid-template-columns: 1fr; gap: 1rem; }
  .mk-tile.t2:last-child { grid-column: auto; }
  .mk-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem .7rem; }
}

/* ---------- Boutique ---------- */
body.layout-boutique .topbar-s { display: none; }
body.layout-boutique .store-nav { background: #fff; color: var(--s-ink); border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
body.layout-boutique .nav-links a { font-weight: 500; }
body.layout-boutique .nav-links a:hover, body.layout-boutique .nav-offers:hover { background: var(--s-tint); }
body.layout-boutique .nav-links a[aria-current="page"] { background: transparent; color: var(--primary-text); }
body.layout-boutique .nav-offers { color: var(--s-sale); }
body.layout-boutique .cat-menu summary { background: transparent; border: 0; margin: 0; height: 100%; border-radius: 0; border-right: 1px solid var(--s-line); padding-left: 0; font-weight: 600; }
body.layout-boutique .store-search { border: 1.5px solid var(--primary); border-radius: 999px; background: #fff; overflow: hidden; }
body.layout-boutique .store-search button.search-text-btn { width: auto; padding: 0 1.4rem; background: var(--primary); color: var(--primary-ink); font-weight: 600; border-radius: 0; }
body.layout-boutique .pc-badge { border-radius: 999px; }
body.layout-boutique .product-card { border-color: transparent; }
body.layout-boutique .product-card:hover { border-color: var(--s-line); }
body.layout-boutique .store-header { box-shadow: none; }

.bq-hero { position: relative; margin: -1.75rem calc(50% - 50vw) 0; background: var(--primary); color: var(--primary-ink); overflow: hidden; }
.bq-hero::before, .bq-hero::after { content: ""; position: absolute; border-radius: 50%; background: color-mix(in srgb, var(--primary) 78%, white); pointer-events: none; }
.bq-hero::before { width: 260px; height: 260px; left: -90px; bottom: -110px; }
.bq-hero::after { width: 120px; height: 120px; left: 44%; top: 14%; background: color-mix(in srgb, var(--primary) 85%, black); opacity: .35; }
.bq-hero-inner { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 3.5rem 1.25rem 3.25rem 7rem; min-height: 460px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: 2rem; }
.bq-copy h1 { margin: 0; color: inherit; font-weight: 300; font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.08; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bq-sub { margin: 1.1rem 0 0; font-size: 1.05rem; opacity: .92; }
.bq-price { margin: 1.4rem 0 0; display: flex; align-items: baseline; gap: .7rem; }
.bq-price strong { font-size: 2.2rem; font-weight: 700; }
.bq-price s { opacity: .75; }
.bq-btn { margin-top: 1.8rem; background: color-mix(in srgb, var(--primary) 30%, #1b1240); border-color: transparent; color: #fff; }
.bq-btn:hover { filter: brightness(1.15); color: #fff; }
.bq-art { justify-self: center; width: min(400px, 100%); height: auto; aspect-ratio: 1; object-fit: contain; padding: 10%; border-radius: 50%; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); }
.bq-dots { position: absolute; left: 50%; bottom: 1.1rem; display: flex; gap: .4rem; transform: translateX(-50%); }
.bq-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .7; }
.bq-dots i:first-child { background: currentColor; opacity: 1; }
.bq-hero-img { background: var(--s-soft); }
.bq-hero-img img { display: block; width: 100%; max-height: 520px; object-fit: cover; }

.bq-features { list-style: none; margin: 1.6rem 0 0; padding: 1.3rem .5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border: 1px solid var(--s-line); border-radius: 6px; background: #fff; }
.bq-features li { display: flex; align-items: center; gap: .9rem; padding: .35rem 1.5rem; color: var(--primary-text); }
.bq-features li + li { border-left: 1px solid var(--s-line); }
.bq-features span { display: grid; gap: .15rem; color: var(--s-ink-2); font-size: .86rem; }
.bq-features strong { color: var(--s-ink); font-size: .98rem; }

.bq-cats { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.bq-cat { display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; padding: 1.1rem 1.1rem .9rem; border-radius: 6px; color: var(--s-ink); background: #f7f2f2; transition: transform .2s, box-shadow .2s; }
.bq-cat:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); }
.bq-cat.tint-1 { background: #eef1f8; } .bq-cat.tint-2 { background: #f5eff8; } .bq-cat.tint-3 { background: #faf4ea; }
.bq-cat.tint-4 { background: #edf5ef; } .bq-cat.tint-5 { background: #f1f3f6; }
.bq-cat-text { display: grid; gap: .2rem; }
.bq-cat-text strong { font-weight: 650; }
.bq-cat-text small { color: var(--s-ink-2); }
.bq-cat-img { display: grid; place-items: center; height: 120px; color: var(--s-ink-3); }
.bq-cat-img img { max-width: 75%; max-height: 120px; object-fit: contain; mix-blend-mode: multiply; }

@media (max-width: 1023px) {
  .bq-hero-inner { padding-left: 1.5rem; min-height: 380px; }
  .bq-features li:nth-child(odd) { border-left: 0; }
}
@media (max-width: 640px) {
  .bq-hero-inner { grid-template-columns: 1fr; padding: 2.4rem 1.25rem 3rem; min-height: 0; text-align: left; }
  .bq-art { width: 62%; justify-self: end; margin-top: -1rem; }
  .bq-features { grid-template-columns: 1fr 1fr; padding: .8rem 0; }
  .bq-features li { padding: .6rem .9rem; align-items: flex-start; }
  .bq-features li + li { border-left: 0; }
  .bq-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .bq-cat { min-height: 190px; }
}

/* Barra «Volver al panel» (solo para el dueño que llegó desde «Ver tienda») */
.panel-return { position: relative; z-index: 60; background: #16171a; color: #fff; font-size: .88rem; }
.panel-return-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.panel-return-btn { flex: none; padding: .4rem 1rem; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-weight: 650; }
.panel-return-btn:hover { text-decoration: none; filter: brightness(1.08); }
@media (max-width: 560px) { .panel-return-inner > span { display: none; } .panel-return-inner { justify-content: center; } }


/* ===================== Ficha de producto (diseño 2026) ===================== */
body:has(.pdp) .crumb-band { display: none; }
body:has(.pdp) .store-main { padding-top: 1.1rem; }
.pdp-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.3rem; font-size: .93rem; color: var(--s-ink-2); }
.pdp-crumbs a { color: var(--s-ink-2); display: inline-flex; }
.pdp-crumbs a:hover { color: var(--s-deep); text-decoration: none; }
.pdp-crumbs .ic { color: var(--s-ink-3); }
.pdp-crumbs [aria-current] { color: var(--s-ink); font-weight: 600; }

.pdp, .pdp.no-aside { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.6rem; align-items: start; }
.pdp-media.has-thumbs { grid-template-columns: 92px minmax(0, 1fr); }
.pdp-media.has-thumbs .pdp-main { grid-column: 2; grid-row: 1; }
.pdp-media.has-thumbs .pdp-thumbs { grid-column: 1; grid-row: 1; }
.pdp-main { border: 0; border-radius: 22px; background: var(--s-soft); box-shadow: 0 18px 40px -26px rgba(20, 20, 40, .45); }
.pdp-main img { padding: 0; object-fit: cover; aspect-ratio: 1; }
.pdp-main .pc-placeholder.big { aspect-ratio: 1; }
.pdp-fab { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--s-ink); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); cursor: pointer; }
.pdp-fab:hover { color: var(--s-deep); text-decoration: none; }
.pdp-share { top: 1rem; right: 1rem; }
.pdp-zoom { bottom: 1rem; right: 1rem; }
.pdp-counter { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; display: none; padding: .3rem .75rem; border-radius: 999px; background: rgba(20, 20, 25, .7); color: #fff; font-size: .88rem; font-weight: 600; }
.pdp-thumbs { gap: .7rem; max-height: none; }
.pdp-thumb { border: 2px solid transparent; border-radius: 14px; background: var(--s-soft); }
.pdp-thumb img { padding: 0; object-fit: cover; }
.pdp-thumb[aria-current="true"] { border-color: var(--primary); box-shadow: 0 0 0 2px var(--s-tint); }

.pdp-badges { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .7rem; }
.pdp-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 650; }
.pdp-badge.is-hot { background: #ffefc9; color: #a5520a; }
.pdp-badge.is-hot .ic { color: #f0620c; }
.pdp-badge.is-sale { background: #fde6e6; color: #c42020; }
.pdp-info h1 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 .55rem; }
.pdp-excerpt { margin: 0 0 .9rem; font-size: 1.05rem; line-height: 1.55; color: var(--s-ink-2); }
.pdp-price { align-items: baseline; gap: .45rem; margin: 0 0 1.1rem; }
.pdp-price strong { font-size: clamp(2rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; color: var(--s-ink); }
.pdp-cur { font-size: 1.15rem; font-weight: 600; color: var(--s-ink-2); }
.pdp-price s { margin-left: .4rem; }

.pdp-info .other-models { margin: 0 0 1.1rem; }
.pdp-info .other-models h2 { font-size: 1.08rem; font-weight: 650; }
.pdp-info .om-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.pdp-info .om { grid-auto-flow: column; justify-items: start; align-items: center; gap: .55rem; padding: .45rem 1rem .45rem .45rem; border: 1.5px solid var(--s-line); border-radius: 14px; background: #fff; font-size: .95rem; text-align: left; }
.pdp-info .om img, .pdp-info .om-noimg { width: 34px; height: 34px; aspect-ratio: auto; padding: 0; border: 0; border-radius: 50%; object-fit: cover; background: var(--s-soft); }
.pdp-info .om:hover { border-color: var(--s-tint-2); }
.pdp-info .om.current { border-color: var(--primary); background: var(--s-tint); color: var(--s-deep); box-shadow: none; }
.pdp-info .om.current img, .pdp-info .om.current .om-noimg { border: 0; box-shadow: none; }
.pdp-info .om-label em { display: inline; margin-left: .2rem; }

.pdp-form { margin-top: 0; padding-top: 0; border-top: 0; gap: 1.1rem; }
.pdp-opts { display: grid; gap: 1rem; }
.qty-row { display: grid; justify-content: stretch; gap: .5rem; }
.qty-row label { font-weight: 650; font-size: 1.05rem; }
.qty-line { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.4rem; }
.qty-row .qty { display: inline-grid; grid-template-columns: 52px 64px 52px; height: 52px; border: 1.5px solid var(--s-line); border-radius: 14px; overflow: hidden; background: #fff; }
.qty-row .qty .btn { height: 100%; border: 0; border-radius: 0; background: #fff; font-size: 1.35rem; }
.qty-row .qty .btn:hover { background: var(--s-soft); }
.qty-row .qty input { height: 100%; border: 0; border-left: 1.5px solid var(--s-line); border-right: 1.5px solid var(--s-line); border-radius: 0; text-align: center; font-size: 1.1rem; font-weight: 650; -moz-appearance: textfield; }
.qty-row .qty input::-webkit-outer-spin-button, .qty-row .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock-line { display: inline-flex; align-items: center; gap: .4rem; margin: 0; font-size: 1rem; }
.stock-line.ok .ic { color: #16a34a; }
.buy-row { grid-template-columns: 1fr 1fr; gap: .8rem; }
.buy-row .btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 58px; border-radius: 14px !important; font-size: 1.08rem; font-weight: 650; }
.buy-row .btn:only-child { grid-column: 1 / -1; }
body.store .btn.outline { background: #fff; border: 2px solid var(--primary); color: var(--primary-text, var(--primary)); }
body.store .btn.outline:hover { background: var(--s-tint); }

.pdp-info .trust-row { display: flex; flex-wrap: wrap; gap: 0; margin: 1.4rem 0 0; padding: .4rem; border: 0; border-radius: 16px; background: var(--s-tint); }
.pdp-info .trust-row li { flex: 1 1 180px; justify-content: flex-start; gap: .75rem; padding: .8rem .9rem; text-align: left; }
.pdp-info .trust-row li + li { border-left: 1px solid color-mix(in srgb, var(--primary) 18%, white); border-top: 0; }
.pdp-info .trust-row .ic { color: var(--s-deep); }
.pdp-info .trust-row span { display: grid; line-height: 1.25; }
.pdp-info .trust-row strong { font-size: .95rem; }
.pdp-info .trust-row small { color: var(--s-ink-2); font-weight: 500; font-size: .85rem; }

.pdp-more { margin-top: 3rem; }
.pdp-tabs { display: flex; gap: .4rem; overflow-x: auto; border-bottom: 1px solid var(--s-line); scrollbar-width: none; }
.pdp-tabs::-webkit-scrollbar { display: none; }
.pdp-tabs button { flex: none; display: inline-flex; align-items: center; gap: .5rem; padding: .95rem 1.1rem; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-weight: 600; color: var(--s-ink-2); cursor: pointer; }
.pdp-tabs button[aria-selected="true"] { color: var(--s-deep); border-bottom-color: var(--primary); }
.pdp-more-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; padding-top: 1.6rem; align-items: start; }
.pdp-more-grid.no-facts { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.pdp-panel h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .6rem; }
.pdp-panel p { color: var(--s-ink-2); line-height: 1.65; }
.pdp-dl { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.5rem; margin: 0; }
.pdp-dl dt { color: var(--s-ink-2); }
.pdp-dl dd { margin: 0; font-weight: 600; }
.pdp-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; color: var(--s-ink-2); }
.pdp-facts { padding: 1.4rem; border-radius: 20px; background: var(--s-tint); }
.pdp-facts h2 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .9rem; }
.pdp-facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pdp-facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .7rem .9rem; border-radius: 12px; background: #fff; }
.pdp-facts li .ic { color: var(--s-ink-2); }
.pdp-facts li strong { font-weight: 600; text-align: right; }

.pdp-related { margin-top: 3rem; padding: 1.6rem; border-radius: 24px; background: var(--s-tint); }
.pdp-related-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.pdp-related-head h2 { margin: 0; font-size: 1.45rem; font-weight: 750; letter-spacing: -.02em; }
.pdp-related-head a { display: inline-flex; align-items: center; gap: .2rem; font-weight: 650; color: var(--s-deep); }
.rel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.rel-card { position: relative; display: grid; grid-template-rows: auto 1fr; padding: .55rem; border-radius: 18px; background: #fff; box-shadow: 0 10px 26px -20px rgba(20, 20, 40, .5); }
.rel-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--s-soft); color: var(--s-ink-3); }
.rel-img img { width: 100%; height: 100%; object-fit: cover; }
.rel-body { display: grid; gap: .15rem; padding: .7rem .35rem .3rem; padding-right: 3rem; }
.rel-name { font-weight: 650; color: var(--s-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-name:hover { color: var(--s-deep); text-decoration: none; }
.rel-price strong { font-size: 1.1rem; font-weight: 750; color: var(--s-ink); }
.rel-price small { color: var(--s-ink-2); font-weight: 600; }
.rel-price s { color: var(--s-ink-3); font-size: .85rem; }
.rel-add { position: absolute; right: .8rem; bottom: .8rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--primary); color: var(--primary-ink) !important; cursor: pointer; box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--primary) 80%, black); }
.rel-add:hover { filter: brightness(.94); text-decoration: none; }

/* Encabezado propio de la ficha en el celular: ‹ · tienda · buscar · carrito · menú */
.pdp-mhead { display: none; }

@media (max-width: 1100px) { .rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rel-grid .rel-card:nth-child(n+4) { display: none; } }
@media (max-width: 900px) {
  .pdp, .pdp.no-aside { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .pdp-more-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
}
@media (max-width: 760px) {
  body:has(.pdp) .topbar-s, body:has(.pdp) .store-header, body:has(.pdp) .wa-float { display: none; }
  body:has(.pdp) .store-main { padding: .3rem .9rem 5rem; }
  .pdp-mhead { position: sticky; top: 0; z-index: 30; display: block; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--s-line); }
  .pdp-mhead-bar { display: flex; align-items: center; gap: .35rem; padding: .55rem .6rem; }
  .pdp-mhead a, .pdp-mhead summary { color: var(--s-ink); }
  .pm-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; list-style: none; cursor: pointer; }
  .pm-icon::-webkit-details-marker { display: none; }
  .pm-brand { flex: 1; min-width: 0; display: flex; align-items: center; gap: .55rem; text-decoration: none !important; }
  .pm-brand img { height: 40px; width: auto; max-width: 140px; object-fit: contain; }
  .pm-mark { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--s-tint); color: var(--s-deep); }
  .pm-name { display: grid; min-width: 0; line-height: 1.1; }
  .pm-name strong { font-size: 1.15rem; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pm-name small { color: var(--s-ink-2); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pm-badge { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-size: .7rem; font-weight: 700; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #fff; }
  .pm-drop { position: static; }
  .pm-panel { position: absolute; left: 0; right: 0; top: 100%; padding: .7rem .9rem 1rem; background: #fff; border-bottom: 1px solid var(--s-line); box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .35); }
  .pm-panel form { display: flex; gap: .5rem; }
  .pm-panel input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; padding: 0 1.1rem; }
  .pm-panel ul { list-style: none; margin: 0; padding: 0; display: grid; }
  .pm-panel li a { display: block; padding: .75rem .3rem; border-bottom: 1px solid var(--s-line); font-weight: 600; }
  .pdp-crumbs { display: none; }
  .pdp-media.has-thumbs { grid-template-columns: minmax(0, 1fr); }
  .pdp-media.has-thumbs .pdp-main, .pdp-media.has-thumbs .pdp-thumbs { grid-column: 1; grid-row: auto; }
  .pdp-main { border-radius: 20px; }
  .pdp-main img, .pdp-main .pc-placeholder.big { aspect-ratio: 1 / .78; }
  .pdp-zoom { display: none; }
  .pdp-counter { display: block; }
  .pdp-share { width: 44px; height: 44px; top: .8rem; right: .8rem; }
  .pdp-media.has-thumbs .pdp-thumbs { flex-direction: row; overflow-x: auto; padding: .1rem; scrollbar-width: none; }
  .pdp-thumb { width: 74px; flex: none; border-radius: 12px; }
  .pdp-info h1 { font-size: 1.75rem; }
  .pdp-excerpt { font-size: 1rem; margin-bottom: .6rem; }
  .pdp-price { margin-bottom: .8rem; }
  .pdp-price strong { font-size: 2.1rem; }
  .pdp-info .om { padding: .35rem .8rem .35rem .35rem; font-size: .9rem; }
  .pdp-info .om img, .pdp-info .om-noimg { width: 28px; height: 28px; }
  .qty-row .qty { grid-template-columns: 46px 54px 46px; height: 48px; }
  .stock-line { font-size: .92rem; }
  .buy-row { gap: .55rem; }
  .buy-row .btn { height: 54px; font-size: 1rem; padding: 0 .5rem; gap: .4rem; }
  .pdp-info .trust-row li { flex: 1 1 140px; padding: .65rem .6rem; gap: .5rem; }
  .pdp-info .trust-row li:nth-child(3) { display: none; }
  .pdp-more { margin-top: 1.8rem; }
  .pdp-tabs button { padding: .8rem .7rem; font-size: .92rem; }
  .pdp-related { margin: 2rem -.9rem 0; padding: 1.2rem .9rem; border-radius: 22px 22px 0 0; }
  .pdp-related-head h2 { font-size: 1.2rem; }
  .rel-grid { display: flex; overflow-x: auto; gap: .7rem; scroll-snap-type: x mandatory; padding-bottom: .3rem; }
  .rel-grid .rel-card, .rel-grid .rel-card:nth-child(n+4) { display: grid; flex: 0 0 62%; scroll-snap-align: start; }
}
body:has(.pdp) .h-help { display: none; }
body:has(.pdp) .h-cart { border-left: 0 !important; }
.buy-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.buy-row .btn { min-width: 0; white-space: nowrap; }
@media (max-width: 760px) { .buy-row .btn { font-size: .95rem; } .buy-row .btn .ic { width: 20px; height: 20px; } }
@media (max-width: 360px) { .buy-row .btn .ic { display: none; } }
.pdp-info, .pdp-gallery { min-width: 0; }
.pdp-thumb img { height: auto; }
