/* Public Ticketshop Frontend - Overview Page */

.nm-shop-page {
  padding: 0.65rem 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: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.45));
}

.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: 999px;
  border: 1px solid rgba(133, 197, 227, 0.34);
  background: rgba(9, 21, 33, 0.78);
  color: #eaf8fc;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(2, 8, 13, 0.26);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 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: 0 0 0 4px rgba(86, 212, 199, 0.13), 0 12px 26px rgba(2, 8, 13, 0.3);
  transform: translateY(-1px);
}

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

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

.nm-shop-hero-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.46s cubic-bezier(0.18, 0.88, 0.24, 1);
}

.nm-shop-hero-slide {
  position: relative;
  min-height: 320px;
  isolation: isolate;
  overflow: hidden;
}

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

.nm-shop-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 14, 0.12), rgba(2, 6, 10, 0.55));
  z-index: 1;
}

.nm-shop-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

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

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

.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: 999px;
  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: translateY(-1px);
}

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

.nm-shop-hero-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: rgba(209, 233, 245, 0.35);
  box-shadow: inset 0 0 0 1px rgba(227, 245, 255, 0.2);
}

.nm-shop-hero-dot.is-active {
  background: linear-gradient(135deg, var(--nm-shop-accent), var(--nm-shop-accent-strong));
  box-shadow: 0 0 0 3px rgba(86, 212, 199, 0.18);
}

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

.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: 999px;
  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: 0 0 0 4px rgba(86, 212, 199, 0.16);
}

.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.1rem 0 0.75rem;
}

.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.72rem;
}

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

.nm-shop-event-card:hover,
.nm-shop-event-card:focus-within {
  transform: translateY(-1px);
  border-color: var(--nm-shop-border-strong);
  box-shadow: 0 14px 26px rgba(2, 8, 13, 0.46);
}

.nm-shop-event-cover {
  position: relative;
  aspect-ratio: 21 / 9;
  background: linear-gradient(135deg, rgba(43, 199, 212, 0.16), rgba(247, 177, 93, 0.22));
  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 {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(5, 12, 20, 0), rgba(5, 11, 18, 0.76));
}

.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: 8px;
  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;
  }

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

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

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

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