
/* LP004 selector + active detail — Fix19. Mobile base. */
.lp004 .lp004-selector {
  background: #f6f0e7;
}

.lp004 .lp004-selector-controls {
  display: none;
}

.lp004 .lp004-selector-desktop {
  display: none;
}

.lp004 .lp004-selector-mobile-inline {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.lp004 .lp004-selector-mobile-inline > span {
  color: #76573d;
  font-size: 13px;
  font-weight: 800;
}

.lp004 .lp004-selector-mobile-inline select {
  width: 100%;
  min-height: 54px;
  padding: 0 44px 0 14px;
  border: 1px solid rgba(63, 51, 41, .22);
  border-radius: 16px;
  background: #fffdf9;
  color: #2f261f;
  font-size: 16px;
  font-weight: 750;
}

.lp004 .lp004-selector-panels {
  min-width: 0;
}

.lp004 .lp004-selector-panel[hidden] {
  display: none;
}

.lp004 .lp004-selector-panel {
  scroll-margin-top: 78px;
  padding: 18px;
  border: 1px solid rgba(63, 51, 41, .14);
  border-radius: 24px;
  background: #fffdf9;
  box-shadow: 0 16px 40px rgba(45, 34, 25, .07);
}

.lp004 .lp004-selector-panel__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.lp004 .lp004-selector-panel__media {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  align-self: start;
  overflow: hidden;
  border-radius: 18px;
  background: #e9e3da;
}

.lp004 .lp004-selector-panel__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 52%;
}

.lp004 .lp004-selector-panel__media > span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(27, 22, 18, .74);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.lp004 .lp004-selector-panel__album {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 249, .95);
  color: #3f3329;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lp004 .lp004-selector-panel__content {
  min-width: 0;
}

.lp004 .lp004-selector-panel__content > h3 {
  margin: 4px 0 10px;
  color: #2f261f;
  font-size: clamp(27px, 8vw, 36px);
  line-height: 1.15;
}

.lp004 .lp004-selector-panel__content > p {
  color: #54483f;
  line-height: 1.65;
}

.lp004 .lp004-selector-summary,
.lp004 .lp004-selector-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.lp004 .lp004-selector-summary {
  margin: 20px 0;
}

.lp004 .lp004-selector-summary > div {
  padding: 14px;
  border: 1px solid rgba(107, 79, 58, .15);
  border-radius: 15px;
  background: #f2eadf;
  color: #3f3329;
}

.lp004 .lp004-selector-summary b,
.lp004 .lp004-selector-facts b {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lp004 .lp004-selector-summary p,
.lp004 .lp004-selector-facts p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.lp004 .lp004-selector-summary b {
  color: #76573d;
}

.lp004 .lp004-selector-summary p {
  color: #4f4339;
}

.lp004 .lp004-selector-facts > div {
  padding: 14px;
  border-radius: 15px;
  background: #f5efe7;
}

.lp004 .lp004-selector-facts b {
  color: #76573d;
}

.lp004 .lp004-selector-facts p {
  color: #4f4339;
}

.lp004 .lp004-selector-actions {
  margin-top: 20px;
}

.lp004 .lp004-selector-actions .btn {
  width: 100%;
  min-height: 52px;
  justify-content: center;
}

.lp004 .lp004-style-selection-status {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef6ed;
  color: #315d36;
  font-size: 13px;
  font-weight: 700;
}

.lp004-fix19-album[hidden] {
  display: none;
}

.lp004-fix19-album {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 10px;
  background: rgba(20, 16, 13, .9);
}

.lp004-fix19-album__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 1100px);
  height: min(94vh, 820px);
  overflow: hidden;
  border-radius: 20px;
  background: #17130f;
  color: #fff;
}

.lp004-fix19-album__title {
  padding: 16px 64px 12px 18px;
}

.lp004-fix19-album__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.lp004-fix19-album__stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  padding: 10px 48px;
}

.lp004-fix19-album__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lp004-fix19-album__nav {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: rgba(20, 16, 13, .7);
  color: #fff;
  font-size: 28px;
  translate: 0 -50%;
  cursor: pointer;
}

.lp004-fix19-album__nav.is-prev { left: 3px; }
.lp004-fix19-album__nav.is-next { right: 3px; }

.lp004-fix19-album__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px;
}

/* Header becomes compact and visually fixed after a short scroll. */
.lp004 .nakajp-system-header {
  transition: box-shadow .2s ease, background-color .2s ease, min-height .2s ease;
}

.lp004 .nakajp-system-header.is-scrolled {
  background: rgba(252, 250, 246, .985);
  box-shadow: 0 12px 30px rgba(45, 34, 25, .12);
}

@media (max-width: 767.98px) {
  .lp004 .nakajp-system-header__phone {
    color: #f4d39a;
  }

  .lp004 .nakajp-system-header.is-scrolled .nakajp-system-header__inner {
    min-height: 58px;
  }
}

/* Footer CTA requested hover text treatment. */
.lp004 .lp004-footer-style-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #c8a15b;
  color: #1f1a16;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.lp004 .lp004-footer-style-cta:hover,
.lp004 .lp004-footer-style-cta:focus-visible {
  color: #fff4dc !important;
  background: #6b4f3a;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .lp004 .lp004-selector-controls {
    display: grid;
    gap: 14px;
    margin: 24px 0 18px;
  }

  .lp004 .lp004-selector-mobile-inline {
    display: none;
  }

  .lp004 .lp004-selector-desktop {
    display: grid;
    gap: 12px;
  }

  .lp004 .lp004-selector-groups,
  .lp004 .lp004-selector-tones {
    display: grid;
    gap: 8px;
  }

  .lp004 .lp004-selector-groups {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lp004 .lp004-selector-tones {
    grid-template-columns: repeat(2, minmax(0, 180px));
  }

  .lp004 .lp004-selector-groups button,
  .lp004 .lp004-selector-tones button {
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid rgba(63, 51, 41, .16);
    border-radius: 14px;
    background: #fffdf9;
    color: #3f3329;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
  }

  .lp004 .lp004-selector-groups button[aria-selected="true"],
  .lp004 .lp004-selector-tones button[aria-selected="true"] {
    border-color: #3f3329;
    background: #3f3329;
    color: #fff8ed;
  }

  .lp004 .lp004-selector-panel {
    padding: 24px;
  }

  .lp004 .lp004-selector-panel__layout {
    grid-template-columns: minmax(340px, .92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: start;
  }

  .lp004 .lp004-selector-panel__media {
    position: sticky;
    top: 88px;
    width: 100%;
    max-height: 420px;
    aspect-ratio: 16 / 9;
    align-self: start;
  }

  .lp004 .lp004-selector-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lp004 .lp004-selector-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp004 .lp004-selector-panel__content > h3 {
    font-size: clamp(31px, 3vw, 42px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp004 .nakajp-system-header,
  .lp004 .lp004-footer-style-cta {
    transition: none;
  }
}



/* Phase73 — LP004 album representative polish */
.lp004 .lp004-selector-panel__media {
  aspect-ratio: 8 / 5;
  background: #ece4d8;
}

.lp004 .lp004-selector-panel__media img {
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 767.98px) {
  .lp004 .lp004-selector-panel__media {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 992px) {
  .lp004 .lp004-selector-panel__media {
    aspect-ratio: 3 / 2;
  }
}
