*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.skin-pauta {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  background:
    linear-gradient(#2a2a2a, #2a2a2a) 18px 0 / 1px 100% no-repeat,
    linear-gradient(#efe6d6, #efe6d6) 0 0 / 18px 100% no-repeat,
    #f7f4ef;
  color: #1a1a1a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: #1a1a1a; }

h1, h2, h3, .brand-name, .pauta-price {
  font-family: "Spectral", serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.05;
  margin: 0 0 0.6rem;
}

h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 0.5rem; }

p { margin: 0 0 0.8rem; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.2rem;
  z-index: 40;
  background: #1a1a1a;
  color: #f7f4ef;
  padding: 0.45rem 0.7rem;
}

.skip-link:focus { top: 0.5rem; }

.pauta-bar {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  min-width: 0;
  padding: 0.7rem 1rem 0.7rem 1.4rem;
}

.pauta-bar::before {
  content: "";
  position: absolute;
  left: 1.4rem;
  right: 1rem;
  top: 2rem;
  height: 2px;
  background: #2a2a2a;
  z-index: 0;
}

.pauta-brand,
.pauta-nav a,
.cart-link,
.menu-toggle {
  position: relative;
  z-index: 1;
  background: #f7f4ef;
}

.pauta-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 100%;
  min-width: 0;
  text-decoration: none;
  padding: 0.15rem 0.35rem 0.15rem 0;
}

.pauta-clef-img {
  width: 34px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border: 1px solid #1a1a1a;
  font: inherit;
  color: #1a1a1a;
  cursor: pointer;
}

.site-nav {
  display: none;
  flex: 1 1 100%;
  min-width: 0;
}

.site-nav.is-open { display: block; }

.pauta-nav {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0;
  display: grid;
  gap: 0.25rem;
}

.pauta-nav a,
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  padding: 0.28rem 0.4rem;
  min-width: 0;
}

.pauta-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #9c2f2f;
  flex: 0 0 0.72rem;
}

.cart-link { margin-left: auto; }

.cart-link strong {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #9c2f2f;
  color: #f7f4ef;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}

[aria-current="page"] .pauta-dot {
  box-shadow: 0 0 0 2px #f7f4ef, 0 0 0 4px #1a1a1a;
}

.pauta-sheet {
  width: min(1080px, calc(100% - 0.5rem));
  margin: 0 auto;
  padding: 1.15rem 1rem 1.4rem 1.4rem;
  min-width: 0;
}

.pauta-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pauta-lead { max-width: 38rem; }

.pauta-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  padding: 0 1rem 0.75rem 1.4rem;
  overscroll-behavior-x: contain;
}

.pauta-score {
  position: relative;
  height: 520px;
  min-width: 0;
}

.pauta-scroll:has(.pauta-score-spread) {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.pauta-score-spread {
  width: min(1080px, calc(100% - 1.5rem)) !important;
  max-width: 100%;
  height: 460px;
  margin-inline: auto;
}

@media (max-width: 760px) {
  .pauta-scroll:has(.pauta-score-spread) {
    display: block;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .pauta-score-spread {
    width: 36rem !important;
    min-width: 36rem;
    max-width: none;
  }
}

.pauta-lines {
  position: absolute;
  left: 0;
  right: 0;
  top: 118px;
  height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 0;
}

.pauta-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: #2a2a2a;
}

.pauta-score::after {
  content: "";
  position: absolute;
  left: 108px;
  top: 118px;
  width: 2px;
  height: 128px;
  background: #2a2a2a;
  z-index: 0;
}

.pauta-clef {
  position: absolute;
  left: 12px;
  top: 52px;
  width: 78px;
  height: 214px;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}

.pauta-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  height: 100%;
  min-width: 0;
}

.pauta-note {
  position: absolute;
  width: 176px;
  z-index: 1;
}

.pauta-head {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  position: relative;
  z-index: 1;
  background: #9c2f2f;
  box-shadow: 0 0 0 3px #9c2f2f;
}

.pauta-head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pauta-stem {
  position: absolute;
  width: 3px;
  background: #2a2a2a;
  z-index: 0;
}

.pauta-note.is-up .pauta-stem {
  left: 68px;
  top: -70px;
  height: 108px;
}

.pauta-note.is-down .pauta-stem {
  left: 4px;
  top: 38px;
  height: 108px;
}

.pauta-lyric {
  position: absolute;
  left: 0;
  width: 10.5rem;
  top: calc(340px - var(--top));
}

.pauta-cat {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pauta-lyric h3 {
  margin: 0.1rem 0 0;
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
}

.pauta-lyric a:not(.btn) { text-decoration: none; }

.pauta-lyric a:not(.btn):hover { text-decoration: underline; }

.pauta-price { margin: 0.2rem 0 0; color: #9c2f2f; }

.pauta-empty {
  position: absolute;
  left: 130px;
  top: 250px;
  margin: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
  margin: 0.4rem 0 0.2rem;
}

.filters button {
  font: inherit;
  color: #1a1a1a;
  background: #f7f4ef;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.filters button.is-active {
  background: #9c2f2f;
  border-color: #9c2f2f;
  color: #f7f4ef;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  padding: 0.62rem 0.9rem;
  border: 0;
  background: #9c2f2f;
  color: #f7f4ef;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: #7d2424; }

.field {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #2a2a2a;
  background: #fff;
  color: #1a1a1a;
  padding: 0.65rem 0.7rem;
  font: inherit;
}

textarea.field { min-height: 140px; resize: vertical; }

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.35rem 0;
  min-width: 0;
}

.checkbox-line.full { width: 100%; }

.checkbox-line input { margin-top: 0.28rem; flex: 0 0 auto; }

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pauta-footer {
  background: #efe6d6;
  color: #1a1a1a;
  margin-top: 2rem;
  padding: 2rem 1rem 1.2rem 1.4rem;
  min-width: 0;
}

.pauta-foot-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.pauta-news form,
.ticket-form,
.pauta-form {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.pauta-footgrid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.4rem;
  min-width: 0;
}

.pauta-footgrid > div { min-width: 0; }

.pauta-links a,
.pauta-footer a[href^="tel"],
.pauta-footer a[href^="mailto"] {
  display: block;
  margin: 0.2rem 0;
  overflow-wrap: anywhere;
}

.footer-copy { margin: 1.2rem 0 0; font-size: 0.92rem; }

.product-detail,
.cart-layout,
.checkout-layout,
.contact-layout,
.legal-wrap {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.product-detail > *,
.cart-layout > *,
.checkout-layout > *,
.contact-layout > *,
.legal-wrap > * { min-width: 0; }

.pauta-stage {
  position: relative;
  background:
    linear-gradient(#2a2a2a, #2a2a2a) 0 18% / 100% 2px no-repeat,
    linear-gradient(#2a2a2a, #2a2a2a) 0 34% / 100% 2px no-repeat,
    linear-gradient(#2a2a2a, #2a2a2a) 0 50% / 100% 2px no-repeat,
    linear-gradient(#2a2a2a, #2a2a2a) 0 66% / 100% 2px no-repeat,
    linear-gradient(#2a2a2a, #2a2a2a) 0 82% / 100% 2px no-repeat,
    #efe6d6;
  padding: 1.2rem 1rem;
  min-width: 0;
}

.pauta-stage img {
  width: min(100%, 420px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 0 0 4px #9c2f2f;
}

.pauta-buy { display: grid; gap: 0.55rem; max-width: 24rem; }

.pauta-cart-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #2a2a2a;
  min-width: 0;
}

.pauta-cart-item img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #9c2f2f;
}

.pauta-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 0.6rem;
}

.pauta-qty button,
.pauta-remove {
  font: inherit;
  min-width: 2rem;
  min-height: 2rem;
  background: #f7f4ef;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  cursor: pointer;
}

.pauta-summary,
[data-render="resume"] {
  background: #efe6d6;
  padding: 1rem;
  min-width: 0;
}

.pauta-sum {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  min-width: 0;
  margin: 0.35rem 0;
}

.pauta-sum span { min-width: 0; }

.pay-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 0.65rem;
  align-items: start;
  border: 1px solid #2a2a2a;
  background: #fff;
  padding: 0.7rem;
  margin: 0;
}

.pauta-hint { font-size: 0.92rem; margin-top: -0.2rem; }

.form-feedback {
  margin: 0.4rem 0 0;
  padding: 0.75rem;
  background: #efe6d6;
  color: #1a1a1a;
}

.legal-wrap,
.legal-article {
  background: #f7f4ef;
  color: #1a1a1a;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  min-width: 0;
  position: static;
}

.legal-nav a { text-decoration: underline; text-underline-offset: 0.15em; }

.legal-article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.pauta-facts {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.pauta-facts div {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.pauta-facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pauta-facts dd { margin: 0; overflow-wrap: anywhere; }

.pauta-portrait {
  position: relative;
  margin: 0.5rem 0 1.2rem;
  min-height: 280px;
  background:
    linear-gradient(#2a2a2a, #2a2a2a) 0 18% / 100% 2px no-repeat,
    linear-gradient(#2a2a2a, #2a2a2a) 0 34% / 100% 2px no-repeat,
    linear-gradient(#2a2a2a, #2a2a2a) 0 50% / 100% 2px no-repeat,
    linear-gradient(#2a2a2a, #2a2a2a) 0 66% / 100% 2px no-repeat,
    linear-gradient(#2a2a2a, #2a2a2a) 0 82% / 100% 2px no-repeat,
    #efe6d6;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 1rem;
}

.pauta-portrait img {
  width: min(46vw, 220px);
  height: min(46vw, 220px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px #9c2f2f;
}

.pauta-portrait .pauta-mark {
  width: 54px;
  height: 148px;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 30;
  max-width: min(92vw, 28rem);
  background: #1a1a1a;
  color: #f7f4ef;
  padding: 0.75rem 1rem;
}

:focus-visible {
  outline: 2px solid #9c2f2f;
  outline-offset: 2px;
}

@media (min-width: 800px) {
  .pauta-footgrid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.8fr); }
  .product-detail,
  .cart-layout,
  .checkout-layout,
  .contact-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
  .legal-wrap {
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
  }
  .legal-nav { flex-direction: column; }
}

@media (min-width: 980px) {
  .pauta-bar { flex-wrap: nowrap; }
  .pauta-bar::before { top: 50%; }
  .pauta-brand { flex: 0 1 auto; }
  .menu-toggle { display: none; }
  .site-nav { display: block; flex: 1 1 auto; }
  .pauta-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.45rem;
    padding: 0;
  }
}
