/* NightHero Online-Shop – bewusst eigenständige Markenwelt. */
:root {
  --nh-deep: #03091a;
  --nh-deep-2: #08142d;
  --nh-panel: #0d1c39;
  --nh-panel-soft: #132544;
  --nh-red: #e20b2d;
  --nh-red-hot: #ff3154;
  --nh-rose: #ff91a4;
  --nh-white: #fffaf7;
  --nh-muted: #aeb9cd;
  --nh-line: rgba(255,255,255,.13);
  --nh-shadow: 0 24px 70px rgba(0,0,0,.36);
  color-scheme: dark;
}

html { background: var(--nh-deep); }
body.nh-store {
  background:
    radial-gradient(circle at 4% 7%, rgba(226,11,45,.17), transparent 27rem),
    radial-gradient(circle at 96% 32%, rgba(255,49,84,.09), transparent 30rem),
    linear-gradient(180deg, #050d21 0%, #020817 68%, #071129 100%);
  color: var(--nh-white);
}
body.nh-store::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image: radial-gradient(circle, rgba(255,255,255,.5) 0 1px, transparent 1.5px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 62%);
}

.nh-service-bar {
  min-height: 38px;
  justify-content: space-between;
  padding-inline: max(22px, calc((100vw - 1480px) / 2));
  border: 0;
  background: var(--nh-red);
  color: #fff;
  letter-spacing: .045em;
}
.nh-service-bar a { color: #fff; }
.nh-live-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }

.nh-header {
  position: sticky;
  top: 0;
  z-index: 80;
  grid-template-columns: 1fr auto 1fr;
  min-height: 92px;
  padding: 10px max(22px, calc((100vw - 1480px) / 2));
  border-bottom: 1px solid var(--nh-line);
  background: rgba(3,9,26,.88);
  backdrop-filter: blur(24px);
}
.nh-brand { grid-column: 2; grid-row: 1; min-width: 0; justify-self: center; }
.nh-brand img { width: 142px; height: 70px; padding: 0; border: 0; border-radius: 0; background: transparent; object-fit: contain; }
.nh-nav { grid-column: 1; grid-row: 1; justify-self: start; gap: 4px; }
.nh-nav a,.nh-nav button,.nh-utility {
  min-height: 42px;
  padding: 9px 10px;
  border: 0;
  border-radius: 999px;
  color: #dbe2ef;
  font-size: 12px;
}
.nh-nav a:hover,.nh-nav button:hover,.nh-nav .active { border: 0; background: rgba(255,255,255,.08); color: #fff; }
.nh-nav .active { box-shadow: inset 0 0 0 1px rgba(255,49,84,.58); }
.nh-header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
.nh-cart-trigger {
  min-height: 48px;
  border: 0;
  border-radius: 16px 16px 5px 16px;
  background: var(--nh-red);
  box-shadow: 0 12px 26px rgba(226,11,45,.27);
}
.nh-cart-trigger b { border-radius: 50%; }

.nh-store-page { width: min(1480px, calc(100% - 44px)); }
.nh-store-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(390px,.7fr);
  gap: clamp(36px,6vw,100px);
  align-items: center;
  min-height: 660px;
  padding: 86px 0 104px;
  border: 0;
}
.nh-store-intro::before {
  content: "NIGHT\A HERO";
  white-space: pre;
  position: absolute;
  z-index: -1;
  left: -1.5vw;
  top: 70px;
  color: rgba(255,255,255,.025);
  font-family: var(--nh-display);
  font-size: clamp(130px,18vw,290px);
  font-weight: 950;
  line-height: .64;
  letter-spacing: -.08em;
}
.nh-intro-copy { position: relative; }
.nh-intro-copy::after {
  content: "";
  display: block;
  width: min(370px,65%);
  height: 9px;
  margin-top: 36px;
  border-radius: 99px;
  background: linear-gradient(90deg,var(--nh-red),transparent);
}
.nh-overline,.eyebrow { color: var(--nh-rose); }
.nh-store-intro h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(68px,7.5vw,118px);
  line-height: .81;
  letter-spacing: -.052em;
  text-transform: uppercase;
}
.nh-store-intro h1 span { display: block; color: var(--nh-red-hot); }
.nh-store-intro p:not(.nh-overline):not(.nh-search-number):not(.nh-search-foot) { max-width: 670px; color: #c4cede; }
.nh-night-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.nh-night-facts span {
  padding: 8px 12px;
  border: 1px solid var(--nh-line);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.nh-search-panel {
  position: relative;
  gap: 15px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 46px 12px 46px 46px;
  background:
    radial-gradient(circle at 100% 0, rgba(255,49,84,.34), transparent 18rem),
    linear-gradient(145deg, rgba(20,39,75,.97), rgba(7,19,43,.98));
  box-shadow: var(--nh-shadow);
}
.nh-search-panel::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -65px;
  width: 170px;
  height: 170px;
  border: 32px solid rgba(255,255,255,.035);
  border-radius: 50%;
}
.nh-search-number { margin: 0; color: var(--nh-red-hot); font-size: 12px; font-weight: 950; letter-spacing: .15em; }
.nh-search-panel > b { color: #fff; font-size: clamp(28px,3vw,43px); line-height: .95; text-transform: uppercase; }
.search {
  min-height: 76px;
  grid-template-columns: 44px 1fr;
  border: 2px solid transparent;
  border-radius: 18px 18px 6px 18px;
  background: #fff;
  box-shadow: 9px 9px 0 rgba(226,11,45,.58);
}
.search:focus-within { border-color: var(--nh-red-hot); }
.search input { color: #07132b; font-weight: 750; }
.nh-search-foot { margin: 10px 0 0; color: var(--nh-muted); font-size: 12px; line-height: 1.55; }
.nh-status-shortcut {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: #dce4f2;
  padding: 8px 0 0;
  font-size: 11px;
  text-align: left;
}
.nh-status-shortcut b { color: var(--nh-rose); }

.nh-category-panel {
  position: relative;
  top: auto;
  max-height: none;
  overflow: visible;
  margin: 0 0 84px;
  padding: 42px;
  border: 1px solid var(--nh-line);
  border-radius: 12px 54px 12px 54px;
  background: rgba(9,22,48,.74);
  box-shadow: var(--nh-shadow);
}
.nh-section-label { display: flex; align-items: center; gap: 17px; }
.nh-section-label > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--nh-red);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}
.nh-section-label .nh-overline,.nh-section-label .eyebrow { margin-bottom: 5px; }
.nh-category-panel h2,.nh-catalog-top h2 { margin: 0; color: #fff; font-size: clamp(34px,4vw,54px); line-height: .94; }
.nh-category-lead { margin: 17px 0 28px 69px; color: var(--nh-muted); font-size: 13px; }
.category-strip {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}
.category-reset.category-tile,.category-strip .category-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px 6px 20px 20px;
  background: rgba(255,255,255,.045);
  color: #fff;
  box-shadow: none;
  text-align: left;
}
.category-reset.category-tile:hover,.category-strip .category-card:hover {
  border-color: rgba(255,49,84,.65);
  background: rgba(255,49,84,.09);
  transform: translateX(3px);
}
.category-reset.category-tile.active,.category-strip .category-card.active {
  border-color: var(--nh-red-hot);
  background: linear-gradient(135deg,var(--nh-red),#9e0823);
}
.category-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(226,11,45,.18);
  color: var(--nh-rose);
  font-size: 11px;
  font-weight: 950;
}
.category-card.active .category-number,.category-reset.active .category-number { background: #fff; color: var(--nh-red); }
.category-reset .category-copy,.category-strip .category-copy { min-height: 0; padding: 0; }
.category-reset .category-copy b,.category-strip .category-copy b { color: inherit; font-size: 15px; }
.category-reset .category-copy small,.category-strip .category-copy small { margin-top: 4px; color: var(--nh-muted); }
.category-card.active .category-copy small,.category-reset.active .category-copy small { color: #ffe2e8; }
.nh-category-note {
  display: inline-flex;
  gap: 8px;
  margin: 26px 0 0;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--nh-muted);
}
.nh-category-note b { color: #fff; }

.nh-catalog { min-width: 0; }
.nh-catalog-top {
  align-items: center;
  margin: 0 0 30px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--nh-line);
}
#resultCount,.sort-control { color: var(--nh-muted); }
.sort-control select { border-color: var(--nh-line); background: var(--nh-panel); color: #fff; }
.section-toggle { border: 0; border-radius: 14px 14px 4px 14px; background: #fff; color: var(--nh-deep); }

.product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.product-card,.product-card:nth-child(2n) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--nh-line);
  border-radius: 30px 8px 30px 30px;
  background: linear-gradient(155deg,rgba(19,38,72,.98),rgba(7,18,42,.98));
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
  transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.product-card:nth-child(3n+2) { border-radius: 8px 30px 30px 30px; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,49,84,.52); box-shadow: 0 26px 58px rgba(0,0,0,.34); }
.product-image {
  min-height: 0;
  aspect-ratio: 1.18 / 1;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 50% 45%,rgba(255,255,255,.11),transparent 45%),
    linear-gradient(145deg,#122344,#07152f);
}
.product-image img { padding: 17px; filter: drop-shadow(0 13px 17px rgba(0,0,0,.34)); }
.product-body { flex: 1; gap: 9px; padding: 18px; }
.product-category { color: var(--nh-rose); letter-spacing: .12em; }
.product-card h3 { min-height: 44px; color: #fff; font-size: 16px; }
.product-meta small,.product-info-button { color: var(--nh-muted); }
.product-price { color: #fff; font-size: 22px; }
.add-button {
  width: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--nh-red);
  box-shadow: 0 9px 20px rgba(226,11,45,.3);
}
.add-button::after { content: "+"; font-size: 25px; font-weight: 500; }
.favorite-button { top: 12px; left: 12px; border: 0; border-radius: 50%; background: rgba(3,9,26,.72); color: #fff; }
.favorite-button.active { background: var(--nh-red); }
.stock-pill { border-radius: 999px; }
.discount-badge { background: rgba(226,11,45,.18); color: var(--nh-rose); }
.load-more-products { background: transparent; }

.recommendations { margin-top: 90px; border-color: var(--nh-line); }
.nh-footer { border-color: var(--nh-line); }

@media (max-width: 1220px) {
  .nh-nav .desktop-extra,.desktop-action { display: none; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .nh-store-intro { grid-template-columns: 1fr; min-height: 0; padding: 70px 0 80px; }
  .nh-search-panel { width: min(680px,100%); }
  .category-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .nh-service-bar { justify-content: center; }
  .nh-service-bar .service-location,.nh-service-bar a { display: none; }
  .nh-header { grid-template-columns: 1fr auto; min-height: 74px; padding: 6px 13px; }
  .nh-nav { display: none; }
  .nh-brand { grid-column: 1; justify-self: start; }
  .nh-brand img { width: 112px; height: 56px; }
  .nh-header-actions { grid-column: 2; }
  .nh-store-page { width: min(100% - 24px,1480px); }
  .nh-store-intro { gap: 42px; padding: 52px 0 64px; }
  .nh-store-intro h1 { font-size: clamp(52px,15vw,78px); }
  .nh-search-panel { padding: 24px; border-radius: 34px 9px 34px 34px; }
  .nh-night-facts { gap: 6px; }
  .nh-category-panel { margin-bottom: 60px; padding: 24px 16px; border-radius: 8px 34px 8px 34px; }
  .nh-section-label { gap: 11px; }
  .nh-section-label > span { width: 44px; height: 44px; }
  .nh-category-lead { margin: 15px 0 22px; }
  .category-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .category-reset.category-tile,.category-strip .category-card { min-height: 72px; grid-template-columns: 32px minmax(0,1fr); gap: 9px; padding: 10px; border-radius: 15px 5px 15px 15px; }
  .category-number { width: 30px; height: 30px; }
  .category-reset .category-copy b,.category-strip .category-copy b { font-size: 13px; }
  .nh-category-note { display: block; border-radius: 16px; line-height: 1.5; }
  .nh-category-note b { margin-bottom: 4px; }
  .nh-catalog-top { align-items: flex-start; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .product-card,.product-card:nth-child(2n),.product-card:nth-child(3n+2) { border-radius: 22px 6px 22px 22px; }
  .product-body { padding: 13px; }
  .product-card h3 { min-height: 40px; font-size: 14px; }
  .product-price { font-size: 18px; }
  .add-button { width: 42px; min-width: 42px; min-height: 42px; }
}
@media (max-width: 470px) {
  .category-strip { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card,.product-card:nth-child(2n),.product-card:nth-child(3n+2) { display: grid; grid-template-columns: 122px minmax(0,1fr); }
  .product-image { height: 100%; min-height: 190px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid rgba(255,255,255,.08); }
}
