/* LPB — catálogo con modelos y apariencia clara/oscura, noviembre de 2026. */
:root {
  color-scheme: light;
  --ui-bg: #fff;
  --ui-header: #fff;
  --ui-surface: #f7f5f1;
  --ui-raised: #f0ece5;
  --ui-text: #191919;
  --ui-muted: #625d55;
  --ui-line: #ded8ce;
  --ui-gold: #b88a43;
  --ui-gold-text: #805b23;
  --ui-control: #fff;
  --ui-control-line: #bcb3a5;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --ui-bg: #111113;
  --ui-header: #0b0b0d;
  --ui-surface: #19191d;
  --ui-raised: #242428;
  --ui-text: #f2efeb;
  --ui-muted: #bdb6ac;
  --ui-line: #39383e;
  --ui-gold-text: #ddba7b;
  --ui-control: #242428;
  --ui-control-line: #6f685e;
}
body.lpb-interface {
  --ink: var(--ui-bg);
  --ink-2: var(--ui-surface);
  --ink-3: var(--ui-raised);
  --ink-4: var(--ui-raised);
  --paper: var(--ui-text);
  --paper-2: var(--ui-muted);
  --dim: var(--ui-muted);
  --line: var(--ui-line);
  --line-2: var(--ui-line);
  --gold: var(--ui-gold);
  --gold-hi: var(--ui-gold-text);
  --accent: var(--ui-gold-text);
  --accent-hi: var(--ui-gold-text);
  --display: LPBEditorial, Georgia, serif;
  background: var(--ui-bg);
  color: var(--ui-text);
}
body.lpb-interface > .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 86px;
  width: 100%;
  padding: 15px clamp(24px, 3.5vw, 56px);
  background: var(--ui-header);
  border-bottom: 1px solid var(--ui-line);
  backdrop-filter: none;
  box-shadow: none;
  z-index: 40;
}
body.lpb-interface .site-header .wordmark-signature {
  width: 238px;
  max-width: 44vw;
  margin: 0;
  flex: 0 0 auto;
}
.brand-logo-stack {display: block; width: 100%; line-height: 0; aspect-ratio: 1090 / 305}
.brand-logo-stack img {display: block; width: 100%; height: auto}
.brand-logo-stack .logo-for-dark {display: none}
html[data-theme="dark"] .brand-logo-stack .logo-for-light {display: none}
html[data-theme="dark"] .brand-logo-stack .logo-for-dark {display: block}
body.lpb-interface .site-nav {gap: clamp(6px, 1.2vw, 18px); margin: 0 0 0 auto; overflow: visible}
body.lpb-interface .site-nav a {color: var(--ui-text); font: 400 .72rem/1.3 var(--body); letter-spacing: .12em; padding: 12px 7px}
body.lpb-interface .site-nav a::after {background: var(--ui-gold)}
body.lpb-interface .site-nav a:hover {color: var(--ui-gold-text)}
.header-actions {display: flex; align-items: center; gap: 12px; flex: 0 0 auto}
.theme-toggle {
  position: relative;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 66px;
  height: 38px;
  padding: 7px 8px;
  border: 1px solid var(--ui-control-line);
  border-radius: 99px;
  color: var(--ui-muted);
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
  isolation: isolate;
}
.theme-toggle::before {content: ''; position: absolute; z-index: -1; width: 30px; height: 30px; left: 3px; top: 3px; background: var(--ui-gold); border-radius: 50%; transition: transform .2s ease}
.theme-toggle svg {display: block; width: 19px; height: 19px; stroke-width: 1.6; fill: none; stroke: currentColor}
.theme-toggle .theme-sun {color: #17140f}
html[data-theme="dark"] .theme-toggle::before {transform: translateX(28px)}
html[data-theme="dark"] .theme-toggle .theme-sun {color: var(--ui-muted)}
html[data-theme="dark"] .theme-toggle .theme-moon {color: #17140f}
.menu-toggle {display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; color: var(--ui-text); cursor: pointer}
.menu-toggle svg {width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4}
.menu-close {display: none}
[data-menu-open="true"] .menu-bars {display: none}
[data-menu-open="true"] .menu-close {display: block}
body.lpb-interface :focus-visible {outline: 2px solid var(--ui-gold); outline-offset: 4px}
body.lpb-interface .kicker, body.lpb-interface .crumbs, body.lpb-interface .crumbs a {color: var(--ui-gold-text)}
body.lpb-interface .lead, body.lpb-interface .muted, body.lpb-interface .section-intro {color: var(--ui-muted)}
body.lpb-interface :is(.notice, .home-help-card, .site-footer, .order-confirmation, .tracking-summary, .legal-responsible, .form-privacy-before) {
  background: var(--ui-surface);
  border-color: var(--ui-line);
  color: var(--ui-muted);
}
body.lpb-interface :is(.notice b, .home-help-card h2, .brand-story h2, .quote, .site-footer a, .footer-label, .footer-name, .order-confirmation h1) {color: var(--ui-text)}
body.lpb-interface :is(.brand-story, .quote, .legal-index, .confirmation-heading) {border-color: var(--ui-line)}
body.lpb-interface .brand-story p {color: var(--ui-muted)}
body.lpb-interface .site-footer {background: var(--ui-surface)}
body.lpb-interface .contact-float {background: var(--ui-header); color: var(--ui-text); border-color: var(--ui-gold)}
body.lpb-interface .btn {background: var(--ui-text); color: var(--ui-bg); border-color: var(--ui-text)}
body.lpb-interface .btn-ghost {background: transparent; color: var(--ui-text); border-color: var(--ui-control-line)}
body.lpb-interface .tlink, body.lpb-interface .text-button {color: var(--ui-gold-text)}

/* Open: una grilla continua, tres columnas en escritorio y dos en celular. */
body.editorial-open .catalogue-heading {padding-block: 40px 32px; text-align: center}
.catalogue-heading h1 {margin: 0; color: var(--ui-text); font: 400 clamp(4rem, 6.3vw, 6.2rem)/1 var(--display); letter-spacing: -.035em}
.catalogue-heading .open-collection {margin: 13px 0 0; color: var(--ui-text); font: 400 .78rem/1.5 var(--body); letter-spacing: .3em; text-transform: uppercase}
.catalogue-sr {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0}
body.editorial-open .open-catalogue {width: min(1280px, calc(100% - 80px)); padding: 0 0 42px; margin-inline: auto; border: 0}
body.editorial-open .grid-open {grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; align-items: start}
body.editorial-open .open-catalogue [data-grid] > .card {grid-column: auto !important}
body.editorial-open .open-catalogue .card {min-width: 0; background: transparent; color: var(--ui-text); border: 0; border-radius: 0; overflow: visible; box-shadow: none; transform: none}
body.editorial-open .open-catalogue .card:hover {border: 0; box-shadow: none; transform: none}
body.editorial-open .open-catalogue .card-media {aspect-ratio: 2 / 3 !important; padding: 0; border: 0; border-radius: 9px; overflow: hidden; background: #d1bfa3; filter: none}
body.editorial-open .open-catalogue .card-media img {position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover !important; object-position: 50% 0%; mask-image: none; -webkit-mask-image: none; filter: none; opacity: 1}
body.editorial-open .open-catalogue .card-media img.catalogue-photo--sheet {inset: auto; width: var(--photo-width) !important; height: var(--photo-height) !important; left: var(--photo-left); top: var(--photo-top); max-width: none; object-fit: fill !important}
body.editorial-open .open-catalogue .card-body {padding: 12px 0 0; text-align: center; gap: 0}
body.editorial-open .open-catalogue .card-body h3 {color: var(--ui-text); font: 400 clamp(1.4rem, 2.3vw, 2rem)/1.15 var(--display); margin: 0}
body.editorial-open .open-catalogue .card-body h3::after {display: none}
body.editorial-open .open-catalogue .card-foot {justify-content: center; color: var(--ui-muted); margin: 5px 0 0; font-size: .72rem; letter-spacing: .03em}
body.editorial-open .card-foot .lpb-price {color: var(--ui-muted); font-size: 1.35rem; line-height: 1.2}
body.editorial-open .card-foot .price-unit {font-size: .66rem}
body.editorial-open .card-pronto {opacity: 1}
body.editorial-open .card-pronto .card-mark {display: none}
body.editorial-open .card:not(.card-pronto) .card-mark {top: 12px; right: 12px; left: auto; color: #f2efeb; background: #171719; border: 1px solid #7d6b4d; border-radius: 3px; padding: 4px 9px; font-size: .62rem}
body.editorial-open .open-upcoming {padding-top: 36px; border-top: 1px solid var(--ui-line)}
body.editorial-open .open-upcoming .section-head {justify-content: center; text-align: center; margin-bottom: 28px}
body.editorial-open .open-upcoming .section-head h2 {color: var(--ui-text); font: 400 clamp(2.4rem, 4.5vw, 3.6rem)/1.1 var(--display)}
body.editorial-open .open-upcoming .section-head .kicker {margin-bottom: 8px}
body.editorial-open .contact-float {display: none}

/* Panel de producto y formulario de compra. */
body.lpb-interface.editorial-checkout {background: var(--ui-bg)}
body.lpb-interface.editorial-checkout .order-aside {background: #d1bfa3; color: #201d18; border-color: #c7b391; top: 106px}
body.lpb-interface.editorial-checkout .order-media-recreated {aspect-ratio: 1 !important; border-radius: 8px}
body.lpb-interface.editorial-checkout .order-aside :is(h1, h2, .lead, .kicker, .product-origin, .price-box, .share-label, .share-status) {color: #3e3426}
body.lpb-interface.editorial-checkout .order-aside :is(.tlink, .text-button, .small-button) {color: #4c371c; border-color: #9c7d4e}
body.lpb-interface.editorial-checkout .order-aside .price-box strong {color: #201d18}
body.lpb-interface.editorial-checkout .form-panel {background: var(--ui-surface); border-color: var(--ui-line); color: var(--ui-text)}
body.lpb-interface.editorial-checkout .form-panel .kicker {color: var(--ui-gold-text)}
body.lpb-interface.editorial-checkout .form-panel > h2, body.lpb-interface.editorial-checkout .order-form legend {color: var(--ui-text); text-shadow: none}
body.lpb-interface.editorial-checkout :is(.form-panel > .lead, .field > span, .field small, .form-panel .muted, .checkout-flow-note, .help-small, .terms-check) {color: var(--ui-muted)}
body.lpb-interface.editorial-checkout .field :is(input:not([type="checkbox"]), select, textarea) {background: var(--ui-control); color: var(--ui-text); border-color: var(--ui-control-line); color-scheme: inherit}
body.lpb-interface.editorial-checkout .field select option {background: var(--ui-control); color: var(--ui-text)}
body.lpb-interface.editorial-checkout .field :is(input, textarea)::placeholder {color: var(--ui-muted); opacity: .85}
body.lpb-interface.editorial-checkout .size-options span {background: var(--ui-control); color: var(--ui-text); border-color: var(--ui-control-line)}
body.lpb-interface.editorial-checkout .size-options input:checked + span {background: #dfbf83; color: #1b1710; border-color: #dfbf83}
body.lpb-interface.editorial-checkout :is(.pay-panel, .shipping-notice) {background: var(--ui-raised); border-color: var(--ui-control-line)}
body.lpb-interface.editorial-checkout :is(.pay-panel, .shipping-notice) :is(strong, p, small, span) {color: var(--ui-text)}
body.lpb-interface.editorial-checkout .proof-upload {background: var(--ui-control); border-color: var(--ui-control-line)}
body.lpb-interface.editorial-checkout .proof-upload-icon {color: var(--ui-gold-text)}
body.lpb-interface.editorial-checkout .proof-field input::file-selector-button {background: var(--ui-raised); color: var(--ui-text); border-color: var(--ui-control-line)}
body.lpb-interface.editorial-checkout .shipping-notice > svg {color: var(--ui-gold-text)}
html[data-theme="light"] .editorial-checkout .form-error {color: #9a2b23}

/* Ayuda conserva su identidad celeste y se adapta al carbón por la noche. */
body.lpb-interface.editorial-help {background: var(--ui-bg); color: var(--ui-text)}
body.lpb-interface.editorial-help :is(.help-heading h1, .help-section h2, .help-assistance h2, .help-contact h2) {color: var(--ui-text)}
html[data-theme="dark"] .editorial-help :is(.purchase-steps > li, .care-card, .care-faq, .help-faq details) {background: #1b262d; border-color: #3f4d55}
html[data-theme="dark"] .editorial-help .step-copy {background: #1b262d}
html[data-theme="dark"] .editorial-help :is(.step-copy h3, .step-copy p, .care-copy h3, .help-faq summary, .help-faq details > p) {color: var(--ui-text)}
html[data-theme="dark"] .editorial-help :is(.help-assistance, .help-contact) {background: #242328}
html[data-theme="dark"] .editorial-help :is(.step-copy a, .help-index a, .help-contact a:not(.btn)) {color: var(--ui-gold-text)}
html[data-theme="dark"] .editorial-help :is(.help-heading .lead, .help-small) {color: var(--ui-muted)}

/* Las secciones anunciadas de Especial y Edition no añaden categorías nuevas. */
html[data-theme="dark"] .editorial-coming .special-coming-content {background: #24211c; border-color: #76613e}
html[data-theme="dark"] .editorial-coming .special-coming-content :is(h1, .lead) {color: var(--ui-text)}
html[data-theme="dark"] .editorial-coming .special-coming-content .kicker {color: var(--ui-gold-text)}

@media (max-width: 860px) {
  body.lpb-interface > .site-header {flex-direction: row; flex-wrap: nowrap; min-height: 72px; gap: 10px; padding: 12px 16px; position: sticky}
  body.lpb-interface .site-header .wordmark-signature {width: clamp(150px, 45vw, 205px); max-width: 50vw; margin: 0 auto 0 0}
  .header-actions {gap: 8px}
  .theme-toggle {width: 62px; height: 36px; padding: 6px 7px}
  .theme-toggle::before {width: 28px; height: 28px}
  html[data-theme="dark"] .theme-toggle::before {transform: translateX(26px)}
  .menu-toggle {display: inline-flex; width: 38px; height: 40px; padding: 7px}
  html.lpb-js body.lpb-interface .site-header .site-nav {display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; margin: 0; padding: 12px 16px 18px; flex-direction: column; align-items: stretch; background: var(--ui-header); border-bottom: 1px solid var(--ui-line); max-height: calc(100svh - 72px); overflow-y: auto; gap: 2px; box-shadow: 0 8px 14px #00000012}
  html.lpb-js body.lpb-interface .site-header[data-menu-open="true"] .site-nav {display: flex}
  body.lpb-interface .site-nav a {font-size: .78rem; padding: 13px 8px; min-height: 44px}
  html:not(.lpb-js) body.lpb-interface > .site-header {flex-wrap: wrap}
  html:not(.lpb-js) body.lpb-interface .site-nav {position: static; width: 100%; justify-content: space-between; gap: 0}
  body.editorial-open .catalogue-heading {padding-block: 30px 28px}
  .catalogue-heading h1 {font-size: clamp(3.5rem, 13vw, 4.6rem)}
  .catalogue-heading .open-collection {font-size: .62rem; letter-spacing: .25em; margin-top: 11px}
  body.editorial-open .open-catalogue {width: calc(100% - 32px); padding-bottom: 32px}
  body.editorial-open .grid-open {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px}
  body.editorial-open .open-catalogue .card-media {border-radius: 6px}
  body.editorial-open .open-catalogue .card-body {padding-top: 9px}
  body.editorial-open .open-catalogue .card-body h3 {font-size: clamp(1.12rem, 4.6vw, 1.55rem)}
  body.editorial-open .card-foot .lpb-price {font-size: 1.12rem}
  body.editorial-open .open-catalogue .card-foot {font-size: .64rem; margin-top: 3px}
  body.editorial-open .open-upcoming {padding-top: 30px}
  body.lpb-interface.editorial-checkout .order-aside {top: 88px}
}
@media (prefers-reduced-motion: reduce) {.theme-toggle::before {transition: none}}

.gallery-thumbnails{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:12px 0}.gallery-thumbnails button{width:60px;height:80px;padding:2px;border:1px solid currentColor;background:transparent;cursor:pointer}.gallery-thumbnails img{width:100%;height:100%;object-fit:contain}
