/* Catálogo de artista, septiembre 2026. Scope local: el visor y los contratos
   de compra conservan su estructura; la galería deja que la obra marque el ritmo. */
.store-publication {
  --paper: #f8f8fb; --ink: #0c0c12; --muted: #5a5a6a; --rule: #e2e2ea;
  --gutter: clamp(20px, 3.2vw, 56px);
  max-width: 1600px; margin-inline: auto; font-size: 15px; line-height: 1.65;
}
body { background: #f8f8fb; }
.store-publication * { box-sizing: border-box; }
.store-publication :is(button,a,select,input):focus-visible {
  outline: 2px solid #A07850; outline-offset: 5px;
}
.store-masthead { padding-inline: var(--gutter) !important; min-height: 84px; }
.store-masthead nav a { font-family: Geist, sans-serif !important; font-size: 13px !important; letter-spacing: 0 !important; }
.store-masthead > a { margin-inline: 16px; }
.store-masthead button, .store-masthead select { min-height: 44px; }
.store-opening { padding: 58px var(--gutter) 62px; }
.store-folio { margin: 0 0 45px; color: var(--ink); font-size: 14px; }
.store-folio span { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; margin-left: 18px; }
.store-opening-grid { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 40px; }
.store-opening h1 { margin: 0; font-size: clamp(70px, 10.7vw, 158px); font-weight: 400; line-height: .92; letter-spacing: -.065em; }
.store-opening-note { max-width: 340px; justify-self: end; }
.store-opening-note p { margin: 0 0 23px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.store-opening-note a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.store-opening-note a span { margin-left: 20px; }
.store-filters { padding: 12px var(--gutter) !important; border-top: 1px solid var(--rule); }
.store-filters :is(button,select) { font-family: Geist, sans-serif !important; font-size: 13px !important; letter-spacing: 0 !important; border-radius: 0; }
.store-filters > div:first-child { gap: 16px !important; }
.store-filters > div:first-child > button:first-child { background: transparent !important; color: var(--ink) !important; border-color: var(--rule) !important; }
.store-filters select { max-width: 260px; }
.store-series-index { padding: 20px var(--gutter) 0 !important; gap: 24px !important; }
.store-series-index button { width: auto !important; max-width: 180px; min-height: 44px; border-bottom: 1px solid transparent !important; }
.store-series-index button > div:last-child { font-size: 13px !important; font-weight: 400 !important; margin: 0 !important; line-height: 1.5 !important; }
.store-series-index button[aria-pressed=true] { border-bottom-color: #A07850 !important; }
.store-series-index button[aria-pressed=true] > div:last-child { color: var(--ink) !important; }
.store-gallery-wrap { padding: 52px var(--gutter) 90px !important; }
.store-gallery { column-gap: clamp(30px, 5vw, 80px) !important; row-gap: 76px !important; align-items: end; }
.store-gallery-item { min-width: 0; }
.store-work { background: transparent !important; }
.store-work-image { display: flex; flex-direction: column; align-items: stretch; }
.store-work-image > img { max-height: 76vh; width: 100%; object-fit: contain !important; object-position: bottom left; }
.store-work-format { display: none; }
.store-work-edition { position: static !important; order: 2; background: none !important; color: var(--muted) !important; padding: 0 !important; margin-top: 14px; font-size: 11px !important; letter-spacing: 0 !important; }
.store-work-caption { padding: 11px 0 0 !important; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: baseline; border-top: 1px solid var(--rule); margin-top: 14px; }
.store-work-caption > div:first-child { font-size: 18px !important; line-height: 1.4 !important; letter-spacing: -.02em !important; }
.store-work-caption > div:not(:first-child) { margin-top: 0 !important; }
.store-publication > section:not(.store-opening):not(.store-filters) { padding-inline: var(--gutter) !important; }
.store-studio { background: var(--paper); }
.store-studio h2 { font-size: clamp(36px, 5vw, 72px) !important; font-weight: 400 !important; letter-spacing: -.045em; }
.store-footer { font-family: Geist, sans-serif !important; font-size: 12px !important; padding-inline: var(--gutter) !important; }
.store-publication [role=dialog] :is(button,select) { border-radius: 0 !important; }
.store-publication [role=dialog] button { min-height: 44px; }
.store-publication [role=dialog] :is(input,select) { font-size: 15px !important; }
@media (max-width: 767px) {
  .store-masthead { min-height: 72px; }
  .store-opening { padding-top: 32px; padding-bottom: 34px; }
  .store-folio { margin-bottom: 34px; font-size: 12px; }
  .store-opening-grid { grid-template-columns: 1fr; gap: 25px; }
  .store-opening h1 { font-size: clamp(64px, 15vw, 110px); }
  .store-opening-note { max-width: 31ch; justify-self: start; }
  .store-opening-note p { font-size: 15px; margin-bottom: 14px; }
  .store-opening-note a { font-size: 13px; }
  .store-series-index { padding-top: 14px !important; }
  .store-gallery-wrap { padding-top: 32px !important; padding-bottom: 56px !important; }
  .store-gallery { row-gap: 42px !important; }
  .store-work-image > img { max-height: none; }
  .store-work-caption > div:first-child { font-size: 17px !important; }
  .store-filters { padding-block: 8px !important; }
  .store-filters > div:first-child { gap: 8px !important; }
  .store-filters select { max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-publication *, .store-publication *::before, .store-publication *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}

.store-filters > div:first-child > button[aria-pressed=true] { border-bottom: 2px solid #A07850 !important; }
.store-material-note { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; padding-block: 64px; border-top: 1px solid var(--rule); }
.store-material-note h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; margin: 0; max-width: 10ch; }
.store-material-note p { margin: 0 0 20px; max-width: 60ch; color: var(--muted); font-size: 15px; }
.store-material-note a { color: var(--ink); text-underline-offset: 5px; font-size: 13px; }
.store-press :is(a,span,div) { font-family: Geist, sans-serif !important; font-size: 12px !important; letter-spacing: 0 !important; }
.store-studio > div { max-width: 1000px !important; margin: 0 !important; }
.store-studio p:first-child { font-family: Geist, sans-serif !important; font-size: 13px !important; letter-spacing: 0 !important; }
@media(max-width:767px) { .store-material-note { grid-template-columns:1fr; gap:24px; padding-block:40px; } }
/* El catálogo es claro pero el visor es oscuro: el título hereda su tinta aquí. */
.store-dialog { color: #f0f0f6; }
