/* Public Ticketshop Frontend - Overview Page */

body.nm-shop-body {
  --nm-shop-bg-0: #070d12;
  --nm-shop-bg-1: #09131b;
  --nm-shop-bg-2: #0b1821;
  --nm-shop-panel: rgba(8, 16, 24, 0.9);
  --nm-shop-panel-soft: rgba(10, 20, 29, 0.74);
  --nm-shop-border: rgba(151, 183, 199, 0.2);
  --nm-shop-border-strong: rgba(93, 212, 204, 0.34);
  --nm-shop-text-soft: #c0ced7;
  --nm-shop-text-muted: #8a9aa6;
  --nm-shop-shadow: none;
  --nm-shop-radius-lg: 5px;
  --nm-shop-radius-md: 5px;
  --nm-shop-radius-sm: 5px;
  background: linear-gradient(180deg, #0b1821 0%, #071017 44%, #060b10 100%);
  letter-spacing: 0;
}

body.nm-shop-body::before {
  opacity: 0;
}

body.nm-shop-body .nm-shop-shell {
  max-width: 1140px;
}

body.nm-shop-body .nm-shop-glass {
  background: rgba(8, 16, 24, 0.78);
  border-color: rgba(151, 183, 199, 0.18);
  border-radius: 5px;
  box-shadow: none;
  backdrop-filter: none;
}

body.nm-shop-body .nm-shop-tag {
  border-radius: 5px;
  padding: 0.3rem 0.56rem;
  background: rgba(10, 20, 29, 0.72);
  border-color: rgba(151, 183, 199, 0.22);
}

body.nm-shop-body .nm-shop-tag.is-accent {
  background: rgba(24, 69, 70, 0.36);
  border-color: rgba(93, 212, 204, 0.35);
}

body.nm-shop-body .nm-shop-tag.is-warm {
  background: rgba(82, 55, 23, 0.32);
  border-color: rgba(218, 160, 86, 0.36);
}

body.nm-shop-body .nm-shop-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 5px;
  box-shadow: none;
}

body.nm-shop-body .nm-shop-btn {
  border-radius: 5px;
  box-shadow: none;
  transform: none;
}

body.nm-shop-body .nm-shop-btn:hover,
body.nm-shop-body .nm-shop-btn:focus-visible {
  transform: none;
  box-shadow: none;
}

body.nm-shop-body .nm-shop-btn-primary {
  background: #50d5d1 none;
  border-color: #50d5d1;
  color: #031518;
}

body.nm-shop-body .nm-shop-btn-primary:hover,
body.nm-shop-body .nm-shop-btn-primary:focus-visible {
  background: #66dfdc none;
  border-color: #66dfdc;
  color: #031518;
}

body.nm-shop-body .nm-shop-btn-soft {
  background: rgba(10, 20, 29, 0.72) none;
  border-color: rgba(151, 183, 199, 0.24);
}

.nm-shop-page {
  padding: 0.95rem 0 3.3rem;
}

.nm-shop-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.nm-shop-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.64rem;
  text-decoration: none;
  color: var(--nm-shop-text);
}

.nm-shop-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: none;
}

.nm-shop-brand span {
  font-family: var(--nm-shop-font-display);
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 0;
}

.nm-shop-filter-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 5px;
  border: 1px solid rgba(133, 197, 227, 0.34);
  background: rgba(9, 21, 33, 0.78);
  color: #eaf8fc;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nm-shop-filter-toggle:hover,
.nm-shop-filter-toggle:focus-visible,
.nm-shop-filter-toggle.is-active {
  border-color: rgba(86, 212, 199, 0.62);
  background: rgba(18, 49, 58, 0.9);
  box-shadow: none;
  transform: none;
}

.nm-shop-filter-toggle:focus-visible {
  outline: none;
}

.nm-shop-hero {
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
}

.nm-shop-hero-track {
  display: grid;
}

.nm-shop-hero-slide {
  position: relative;
  grid-area: 1 / 1;
  min-height: 270px;
  isolation: isolate;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(0.75rem);
  transition: opacity 0.36s ease, transform 0.36s ease, visibility 0s linear 0.36s;
}

.nm-shop-hero-slide[aria-hidden="true"] {
  display: grid;
}

.nm-shop-hero-slide[aria-hidden="false"] {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

.nm-shop-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 16, 24, 0.94) 16%, rgba(7, 18, 28, 0.78) 50%, rgba(7, 18, 27, 0.52) 100%);
  z-index: 1;
}

.nm-shop-hero-slide::after {
  display: none;
}

.nm-shop-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(86, 212, 199, 0.26), rgba(247, 177, 93, 0.2));
  transform: none;
}

.nm-shop-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nm-shop-not-found {
  margin-bottom: 0.8rem;
}

.nm-shop-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 270px;
  padding: 1.15rem;
}

.nm-shop-hero-title {
  margin: 0.28rem 0 0.42rem;
  max-width: 14ch;
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
}

.nm-shop-hero-lead {
  margin: 0 0 0.78rem;
  max-width: 56ch;
  color: var(--nm-shop-text-soft);
  font-size: clamp(0.9rem, 1.7vw, 0.96rem);
}

.nm-shop-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
  margin-bottom: 0.75rem;
}

.nm-shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.54rem;
}

.nm-shop-hero-nav {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.nm-shop-hero-arrow,
.nm-shop-hero-dot {
  border: 0;
  cursor: pointer;
}

.nm-shop-hero-arrow {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 5px;
  background: rgba(10, 23, 34, 0.72);
  border: 1px solid rgba(156, 224, 245, 0.33);
  color: #e9f8ff;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nm-shop-hero-arrow:hover,
.nm-shop-hero-arrow:focus-visible {
  background: rgba(17, 35, 49, 0.86);
  border-color: rgba(120, 228, 211, 0.58);
  transform: none;
}

.nm-shop-hero-dots {
  display: inline-flex;
  gap: 0;
}

.nm-shop-hero-dot {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
}

.nm-shop-hero-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9rem;
  height: 0.22rem;
  border-radius: 5px;
  background: rgba(209, 233, 245, 0.42);
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.nm-shop-hero-dot.is-active::before {
  width: 1.35rem;
  background: var(--nm-shop-accent);
  box-shadow: none;
}

.nm-shop-hero-dot:focus-visible {
  outline: 2px solid var(--nm-shop-accent);
  outline-offset: -4px;
  border-radius: 5px;
}

.nm-shop-toolbar {
  margin-bottom: 1.05rem;
  padding: 0.72rem;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 0.75rem;
  border-radius: 5px;
}

.nm-shop-filter-region {
  margin-bottom: 1.05rem;
}

.nm-shop-filter-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.7rem;
}

.nm-shop-filter-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-0.4rem);
  transition: grid-template-rows 0.32s ease, opacity 0.24s ease, transform 0.32s ease;
}

.nm-shop-filter-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.nm-shop-filter-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.nm-shop-filter-panel[hidden] {
  display: none;
}

.nm-shop-search {
  position: relative;
}

.nm-shop-search .icon {
  position: absolute;
  left: 0.78rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ec3d7;
  pointer-events: none;
}

.nm-shop-search input {
  width: 100%;
  min-height: 2.85rem;
  border-radius: 5px;
  border: 1px solid rgba(133, 197, 227, 0.3);
  background: rgba(14, 26, 38, 0.92);
  color: #f2f8fb;
  padding: 0.58rem 0.95rem 0.58rem 2.5rem;
  font: 600 0.95rem/1.2 var(--nm-shop-font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nm-shop-search input::placeholder {
  color: #8eabbb;
}

.nm-shop-search input:focus-visible {
  outline: none;
  border-color: rgba(120, 228, 211, 0.64);
  box-shadow: none;
}

.nm-shop-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.nm-shop-categories {
  margin-bottom: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.nm-shop-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin: 1.15rem 0 0.72rem;
}

.nm-shop-section-head h2 {
  margin: 0.25rem 0 0;
  color: var(--nm-shop-text);
  font-family: var(--nm-shop-font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1.16;
}

.nm-shop-category-chip {
  text-decoration: none;
}

.nm-shop-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
}

.nm-shop-event-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nm-shop-event-card:hover,
.nm-shop-event-card:focus-within {
  border-color: var(--nm-shop-border-strong);
  box-shadow: none;
}

.nm-shop-event-cover {
  position: relative;
  aspect-ratio: 16 / 8;
  background: #0b1118;
  border-bottom: 1px solid rgba(128, 192, 220, 0.2);
  overflow: hidden;
}

.nm-shop-event-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nm-shop-event-cover::after {
  display: none;
}

.nm-shop-event-cover-tag {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  z-index: 1;
}

.nm-shop-event-main {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.86rem;
  flex: 1;
}

.nm-shop-event-title {
  margin: 0;
  font-family: var(--nm-shop-font-display);
  font-size: 1.04rem;
  line-height: 1.15;
}

.nm-shop-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.nm-shop-event-description {
  margin: 0;
  color: var(--nm-shop-text-soft);
  font-size: 0.86rem;
  line-height: 1.36;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nm-shop-event-cta {
  margin-top: auto;
}

.nm-shop-event-location {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  color: var(--nm-shop-text-muted);
  font-size: 0.79rem;
}

.nm-shop-event-location-logo {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  padding: 3px;
}

.nm-shop-event-location-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.nm-shop-event-location-name {
  color: #dcecf6;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.16rem;
}

.nm-shop-event-location-line {
  color: var(--nm-shop-text-muted);
  line-height: 1.24;
}

.nm-shop-event-location-line + .nm-shop-event-location-line {
  margin-top: 0.05rem;
}

.nm-shop-result-line {
  margin: 0;
  color: var(--nm-shop-text-muted);
  font-size: 0.82rem;
  text-align: right;
}

@media (max-width: 1120px) {
  .nm-shop-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nm-shop-hero-slide,
  .nm-shop-hero-content {
    min-height: 286px;
  }

  .nm-shop-toolbar {
    grid-template-columns: 1fr;
  }

  .nm-shop-toolbar-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 760px) {
  .nm-shop-page {
    padding-top: 0.55rem;
  }

  .nm-shop-topbar {
    margin-bottom: 0.58rem;
  }

  .nm-shop-section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nm-shop-section-head {
    align-items: start;
  }

  .nm-shop-result-line {
    text-align: left;
  }

  .nm-shop-hero-slide,
  .nm-shop-hero-content {
    min-height: 250px;
  }

  .nm-shop-hero-content {
    padding: 0.82rem 0.82rem 3.65rem;
  }

  .nm-shop-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nm-shop-hero-nav {
    right: 0.55rem;
    bottom: 0.45rem;
    gap: 0;
  }

  .nm-shop-hero-arrow {
    width: 2.75rem;
    height: 2.75rem;
  }

  .nm-shop-events-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nm-shop-hero-slide,
  .nm-shop-event-card,
  .nm-shop-hero-arrow,
  .nm-shop-filter-panel,
  .nm-shop-filter-chevron {
    transition: none;
  }
}

/* Phase 10B: editorial ticketshop direction */
body.nm-shop-body {
  background: #071016;
}

body.nm-shop-body .nm-shop-shell {
  max-width: 1240px;
}

.nm-shop-page {
  padding-top: 1.25rem;
}

.nm-shop-topbar {
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(151, 183, 199, 0.16);
}

.nm-shop-filter-toggle {
  width: auto;
  min-width: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  gap: 0.5rem;
}

.nm-shop-filter-toggle span {
  font: 700 0.78rem/1 var(--nm-shop-font-body);
}

.nm-shop-filter-chevron {
  font-size: 0.68rem;
  transition: transform 0.25s ease;
}

.nm-shop-filter-toggle.is-active .nm-shop-filter-chevron {
  transform: rotate(180deg);
}

.nm-shop-hero {
  margin-bottom: 1.25rem;
  border: 0;
  background: transparent;
}

.nm-shop-hero-slide {
  display: grid;
  grid-template-columns: minmax(310px, 0.92fr) minmax(0, 1.08fr);
  min-height: 440px;
  background: #0a151d;
  border: 1px solid rgba(151, 183, 199, 0.16);
}

.nm-shop-hero-slide::before {
  display: none;
}

.nm-shop-hero-bg {
  position: relative;
  inset: auto;
  min-height: 440px;
  border-right: 1px solid rgba(151, 183, 199, 0.16);
  background: #060d12;
}

.nm-shop-hero-bg img {
  display: block;
  object-fit: contain;
  object-position: center;
}

.nm-shop-hero-content {
  min-height: 440px;
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
  justify-content: center;
}

.nm-shop-hero.has-slider-nav .nm-shop-hero-content {
  padding-bottom: clamp(4.75rem, 6vw, 5.25rem);
}

.nm-shop-hero-title {
  max-width: 14ch;
  margin: 0.48rem 0 0.75rem;
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  line-height: 1.01;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.nm-shop-hero-lead {
  max-width: 48ch;
  margin-bottom: 0.9rem;
  color: #9fb0bc;
  font-size: 0.98rem;
  line-height: 1.55;
}

.nm-shop-hero-meta {
  display: grid;
  gap: 0.48rem;
  margin-bottom: 1rem;
}

.nm-shop-hero-meta .nm-shop-tag {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d8e4ea;
}

.nm-shop-hero-meta .nm-shop-tag i {
  width: 1rem;
  color: var(--nm-shop-accent);
}

.nm-shop-hero-actions .nm-shop-btn-soft {
  color: #b8c8d1;
  border-color: transparent;
  background: transparent none;
}

.nm-shop-hero-nav {
  right: 0.8rem;
  bottom: 0.8rem;
}

.nm-shop-section-head {
  align-items: end;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(151, 183, 199, 0.2);
}

.nm-shop-section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.nm-shop-events-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

.nm-shop-event-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 170px;
  border: 1px solid rgba(151, 183, 199, 0.18);
  border-radius: 5px;
  background: rgba(9, 20, 28, 0.52);
}

.nm-shop-event-card:hover,
.nm-shop-event-card:focus-within {
  border-color: rgba(151, 183, 199, 0.28);
  background: rgba(19, 34, 43, 0.36);
}

.nm-shop-event-cover {
  aspect-ratio: auto;
  min-height: 170px;
  border: 0;
  border-right: 1px solid rgba(151, 183, 199, 0.14);
}

.nm-shop-event-cover-tag {
  display: none;
}

.nm-shop-event-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(160px, 0.8fr) minmax(150px, 0.8fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.45rem 1.6rem;
}

.nm-shop-event-title {
  grid-column: 1;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.nm-shop-event-description {
  grid-column: 1;
  align-self: start;
}

.nm-shop-event-meta {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  align-content: center;
  gap: 0.55rem;
}

.nm-shop-event-meta .nm-shop-tag {
  padding: 0;
  border: 0;
  background: transparent;
}

.nm-shop-event-location {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
}

.nm-shop-event-cta {
  grid-column: 4;
  grid-row: 1 / span 2;
  margin: 0;
}

body.nm-shop-body .nm-shop-event-cta .nm-shop-btn {
  padding-inline: 0;
  border-color: transparent;
  background: transparent none;
  color: var(--nm-shop-accent);
}

body.nm-shop-body .nm-shop-event-cta .nm-shop-btn:hover,
body.nm-shop-body .nm-shop-event-cta .nm-shop-btn:focus-visible {
  border-color: transparent;
  background: transparent none;
  color: #7ce4df;
}

.nm-shop-event-cta .nm-shop-btn .icon {
  order: 2;
}

@media (max-width: 960px) {
  .nm-shop-event-main {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 0.7fr) auto;
  }

  .nm-shop-event-location {
    display: none;
  }

  .nm-shop-event-cta {
    grid-column: 3;
  }
}

@media (max-width: 760px) {
  .nm-shop-hero {
    margin-bottom: 1rem;
  }

  .nm-shop-hero-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .nm-shop-hero-bg {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid rgba(151, 183, 199, 0.16);
  }

  .nm-shop-hero-content {
    min-height: 0;
    padding: 1.4rem 1.2rem;
  }

  .nm-shop-hero.has-slider-nav .nm-shop-hero-content {
    padding-bottom: 4.2rem;
  }

  .nm-shop-hero-title {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .nm-shop-event-card {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 138px;
  }

  .nm-shop-event-cover {
    min-height: 138px;
    border-right-color: rgba(151, 183, 199, 0.14);
  }

  .nm-shop-event-main {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.85rem;
  }

  .nm-shop-event-description,
  .nm-shop-event-location {
    display: none;
  }

  .nm-shop-event-meta {
    display: grid;
    gap: 0.25rem;
  }

  .nm-shop-event-cta {
    margin-top: auto;
  }
}

/* Phase 10E: a shared event profile also brands the overview. */
body.nm-shop-body.profile-designed .nm-shop-glass,
body.nm-shop-body.profile-designed .nm-shop-hero-slide {
  color: var(--nm-profile-card-text);
  background-color: var(--nm-profile-card-bg);
  border-color: var(--nm-profile-section-border);
  border-radius: var(--nm-shop-radius-lg);
}

body.nm-shop-body.profile-designed .nm-shop-event-card,
body.nm-shop-body.profile-designed .nm-shop-filter-panel,
body.nm-shop-body.profile-designed .nm-shop-filter-toggle,
body.nm-shop-body.profile-designed .nm-shop-event-cover {
  border-radius: var(--nm-shop-radius-md);
}

body.nm-shop-body.profile-designed .nm-shop-brand,
body.nm-shop-body.profile-designed .nm-shop-event-title,
body.nm-shop-body.profile-designed .nm-shop-filter-panel label {
  color: var(--nm-shop-text);
}

body.nm-shop-body.profile-designed .nm-shop-event-description,
body.nm-shop-body.profile-designed .nm-shop-event-location,
body.nm-shop-body.profile-designed .nm-shop-event-meta {
  color: var(--nm-shop-text-soft);
}

body.nm-shop-body.profile-designed .nm-shop-filter-panel,
body.nm-shop-body.profile-designed .nm-shop-toolbar,
body.nm-shop-body.profile-designed .nm-shop-filter-toggle {
  border-color: var(--nm-profile-section-border);
  background: var(--nm-profile-card-bg);
}

body.nm-shop-body.profile-designed .nm-shop-event-card {
  border-color: var(--nm-profile-section-border);
  background: var(--nm-profile-card-bg);
}

body.nm-shop-body.profile-designed .nm-shop-filter-toggle {
  color: var(--nm-profile-card-text);
}

body.nm-shop-body.profile-designed .nm-shop-event-card:hover {
  background: var(--nm-profile-section-bg);
  border-color: var(--nm-profile-border-soft);
}

body.nm-shop-body.profile-designed .nm-shop-event-cta .nm-shop-btn {
  color: var(--nm-profile-accent-text);
}

body.nm-shop-body.profile-designed .nm-shop-event-cta .nm-shop-btn:hover,
body.nm-shop-body.profile-designed .nm-shop-event-cta .nm-shop-btn:focus-visible {
  color: var(--nm-shop-accent-strong);
}

body.nm-shop-body.profile-density-compact .nm-shop-event-main {
  padding: 1rem 1.2rem;
}

body.nm-shop-body.profile-density-airy .nm-shop-event-main {
  padding: 1.8rem 2rem;
}

body.nm-shop-body.profile-designed.profile-radius-square .nm-shop-hero-slide,
body.nm-shop-body.profile-designed.profile-radius-square .nm-shop-hero-bg,
body.nm-shop-body.profile-designed.profile-radius-square .nm-shop-event-card,
body.nm-shop-body.profile-designed.profile-radius-square .nm-shop-event-cover {
  border-radius: 0;
}

/* Phase 11B: ruhige Medienflächen und progressive Filterübergänge. */
.nm-shop-hero-bg {
  isolation: isolate;
}

.nm-shop-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(3, 8, 12, 0.42);
  pointer-events: none;
}

body.nm-shop-body .nm-shop-hero-bg .nm-shop-hero-bg-blur {
  position: absolute;
  inset: -2rem;
  z-index: 0;
  width: calc(100% + 4rem);
  height: calc(100% + 4rem);
  object-fit: cover;
  opacity: 0.82;
  filter: blur(28px) saturate(0.9) brightness(0.55);
  transform: scale(1.04);
}

body.nm-shop-body.profile-image-muted .nm-shop-hero-bg .nm-shop-hero-bg-blur {
  filter: blur(28px) saturate(0.46) brightness(0.52);
}

body.nm-shop-body.profile-image-high_contrast .nm-shop-hero-bg .nm-shop-hero-bg-blur {
  filter: blur(28px) saturate(1.06) contrast(1.08) brightness(0.52);
}

.nm-shop-hero-bg .nm-shop-hero-bg-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.nm-shop-results-region {
  view-transition-name: nm-shop-results;
}

.nm-shop-result-stage {
  position: relative;
}

.nm-shop-result-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.22s ease;
}

.nm-shop-results-region.is-loading .nm-shop-result-content {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(0.35rem);
  pointer-events: none;
}

.nm-shop-skeleton-grid {
  display: grid;
  gap: 0.85rem;
}

.nm-shop-skeleton-grid[hidden] {
  display: none;
}

.nm-shop-skeleton-card {
  min-height: 170px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--nm-profile-section-border, rgba(151, 183, 199, 0.18));
  border-radius: var(--nm-shop-radius-md);
  background: var(--nm-profile-card-bg, rgba(9, 20, 28, 0.72));
}

.nm-shop-skeleton-media,
.nm-shop-skeleton-line {
  display: block;
  background: rgba(165, 190, 202, 0.14);
  animation: nm-shop-skeleton-pulse 0.9s ease-in-out infinite alternate;
}

.nm-shop-skeleton-media {
  min-height: 170px;
  border-right: 1px solid rgba(151, 183, 199, 0.12);
}

.nm-shop-skeleton-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.45rem 1.6rem;
}

.nm-shop-skeleton-line {
  width: min(34rem, 82%);
  height: 0.78rem;
  border-radius: 999px;
}

.nm-shop-skeleton-line.is-title {
  width: min(25rem, 58%);
  height: 1.25rem;
}

.nm-shop-skeleton-line.is-short {
  width: min(18rem, 42%);
}

.nm-shop-event-card {
  animation: nm-shop-event-enter 0.38s both;
}

.nm-shop-event-card:nth-child(2) { animation-delay: 0.045s; }
.nm-shop-event-card:nth-child(3) { animation-delay: 0.09s; }
.nm-shop-event-card:nth-child(4) { animation-delay: 0.135s; }
.nm-shop-event-card:nth-child(5) { animation-delay: 0.18s; }
.nm-shop-event-card:nth-child(n + 6) { animation-delay: 0.225s; }

@keyframes nm-shop-event-enter {
  from {
    opacity: 0;
    transform: translateY(0.55rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nm-shop-skeleton-pulse {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

@view-transition {
  navigation: auto;
}

::view-transition-old(nm-shop-results) {
  animation: nm-shop-results-out 0.14s ease both;
}

::view-transition-new(nm-shop-results) {
  animation: nm-shop-results-in 0.3s ease both;
}

@keyframes nm-shop-results-out {
  to { opacity: 0; }
}

@keyframes nm-shop-results-in {
  from {
    opacity: 0;
    transform: translateY(0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .nm-shop-skeleton-card {
    min-height: 138px;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .nm-shop-skeleton-media {
    min-height: 138px;
  }

  .nm-shop-skeleton-copy {
    gap: 0.6rem;
    padding: 0.85rem;
  }

  .nm-shop-skeleton-line,
  .nm-shop-skeleton-line.is-title,
  .nm-shop-skeleton-line.is-short {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nm-shop-result-content,
  .nm-shop-event-card,
  .nm-shop-skeleton-media,
  .nm-shop-skeleton-line {
    animation: none;
    transition: none;
  }

  ::view-transition-old(nm-shop-results),
  ::view-transition-new(nm-shop-results) {
    animation: none;
  }
}

.nm-shop-public-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.nm-shop-public-links a { color: var(--nm-shop-text); text-decoration: none; }
.nm-shop-public-links a:hover { color: var(--nm-shop-accent); }
