:root {
  --bg: #020b10;
  --panel: rgba(255, 255, 255, 0.05);
  --panel2: rgba(0, 138, 133, 0.08);
  --line: #035a56;
  --stroke: #008a85;
  --text: #e0e0e0;
  --muted: #99c8c5;
  --accent: #00fff2;
  --accent2: #9ef9f3;
  --danger: #ff6b6b;
  --ok: #8cffbd;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 680px at 20% -10%, rgba(0, 138, 133, 0.12), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.45;
}
.wrap {
  width: min(1100px, 100% - 28px);
  margin: 24px auto 48px;
  display: grid;
  gap: 16px;
}
.site-header {
  font-family: 'Exo 2', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.site-header .brand {
  height: 64px;
}
.site-header a,
.site-header button {
  width: auto;
}
.site-header .nav a {
  width: auto;
}
.site-header .lang-switch button {
  width: auto;
  padding: 2px 7px;
}
.shop-nav-auth { display: none !important; }
body.shop-authenticated .shop-nav-auth { display: inline-flex !important; }
body.shop-authenticated .shop-nav-public { display: none !important; }
.card {
  background: linear-gradient(180deg, rgba(0, 138, 133, 0.07), rgba(2, 11, 16, 0.96));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
h1,h2,h3 { margin: 0 0 8px; }
h1 { color: var(--accent); }
.muted { color: var(--muted); }
.hero {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.3fr 1fr;
}
.hero-media {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 240px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #03151d;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-gallery {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
}
.product-gallery .hero-media {
  min-height: 92px;
  border-radius: 10px;
}
.product-media-picker {
  display: grid;
  gap: 8px;
}
.product-main-media {
  aspect-ratio: var(--product-cover-aspect, 2 / 3);
  min-height: 0;
  cursor: zoom-in;
}
.product-main-media img,
.product-main-media video {
  object-fit: contain;
  background: #03151d;
}
.product-thumbs {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.product-thumb {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 56px;
  padding: 0;
  overflow: hidden;
  background: #03151d;
  color: var(--muted);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  min-height: 56px;
  object-fit: cover;
  display: block;
}
.product-thumb.is-active {
  border-color: var(--accent2);
  box-shadow: 0 0 0 2px rgba(0, 255, 242, 0.2);
}
.grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.product {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(0, 138, 133, 0.06);
  display: grid;
  gap: 8px;
}
.price { font-size: 1.2rem; font-weight: 700; color: var(--accent2); }
.price .compare { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: .95rem; margin-left: 6px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.product-purchase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.product-cart-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.product-cart-actions button { min-width: 180px; }
.product-rating {
  justify-self: end;
  display: grid;
  gap: 3px;
  text-align: right;
}
.rating-summary {
  color: var(--muted);
  font-size: .82rem;
  min-height: 1.2em;
}
.rating-stars,
.rating-stars-display {
  display: inline-flex;
  justify-content: flex-end;
  gap: 1px;
  color: #ffd166;
  line-height: 1;
  white-space: nowrap;
}
.rating-star {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  color: rgba(255, 209, 102, 0.26);
  font-size: 22px;
  line-height: 22px;
}
.rating-star::before {
  content: '★';
  position: absolute;
  inset: 0;
}
.rating-star-fill {
  position: absolute;
  inset: 0;
  width: 0;
  overflow: hidden;
  color: #ffd166;
  pointer-events: none;
}
.rating-star-fill::before { content: '★'; }
.rating-star.is-half .rating-star-fill { width: 50%; }
.rating-star.is-full .rating-star-fill { width: 100%; }
.rating-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  z-index: 1;
}
.rating-half:hover,
.rating-half:focus-visible { background: rgba(255, 209, 102, 0.16); }
.rating-half.left { left: 0; }
.rating-half.right { right: 0; }
.reviews-link {
  justify-self: end;
  width: auto;
  border: 0;
  background: transparent;
  color: var(--accent2);
  padding: 0;
  font-size: .84rem;
  text-decoration: underline;
}
.review-overlay,
.waitlist-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(1, 8, 12, 0.88);
  backdrop-filter: blur(6px);
  z-index: 1320;
}
.review-overlay.is-open,
.waitlist-overlay.is-open { display: flex; }
.review-dialog,
.waitlist-dialog {
  width: min(640px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(0, 255, 242, 0.28);
  border-radius: 14px;
  background: #07131c;
  padding: 16px;
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.58);
}
body.shop-overlay-open { overflow: hidden; }
.review-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.review-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.review-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(0, 255, 242, 0.16);
  border-radius: 12px;
  background: rgba(0, 138, 133, 0.05);
}
.waitlist-form-shop {
  display: grid;
  gap: 10px;
}
.review-list {
  display: grid;
  gap: 8px;
}
.review-item {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(0, 255, 242, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}
.review-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: .86rem;
}
input, textarea, select, button {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: var(--bg);
  color: white;
  padding: 10px;
  font: inherit;
}
textarea { min-height: 88px; resize: vertical; }
button {
  cursor: pointer;
  background: var(--stroke);
  border: none;
  font-weight: 600;
  color: var(--bg);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
button:hover:not(:disabled) { background: var(--accent); color: var(--bg); }
button.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
button.bad { background: var(--danger); color: #130103; }
button:disabled { opacity: .6; cursor: not-allowed; }
button.rating-half {
  background: transparent;
  color: transparent;
}
button.rating-half:hover:not(:disabled),
button.rating-half:focus-visible {
  background: rgba(255, 209, 102, 0.16);
  color: transparent;
}
.qty-input { width: 90px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: .86rem;
}
.pill-button {
  width: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
}
.pill-button:hover:not(:disabled),
.pill-button:focus-visible {
  background: rgba(0, 255, 242, 0.08);
  border-color: var(--accent2);
  color: var(--accent2);
}
.waitlist-pill {
  border-color: rgba(255, 209, 102, .6);
  color: #ffd166;
}
.stock-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(140, 255, 189, .12);
}
.stock-dot.warn {
  background: #ffd166;
  box-shadow: 0 0 0 3px rgba(255, 209, 102, .14);
}
.stock-dot.bad {
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, .14);
}
.status { min-height: 1.3em; font-size: .95rem; }
.status.ok { color: var(--ok); }
.status.err { color: var(--danger); }
.checkout-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.checkout-stack {
  display: none;
  gap: 16px;
  scroll-margin-top: 88px;
}
.checkout-stack.is-open { display: grid; }
.checkout-stack[data-mode="cart"] #checkout-section { display: none; }
.checks { display: grid; gap: 7px; }
.checks label { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.checks input { width: 16px; height: 16px; margin-top: 2px; }
.cart-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; border-bottom: 1px dashed var(--line); padding: 8px 0; }
.cart-row:last-child { border-bottom: none; }
.cart-dock-spacer { height: 86px; }
.cart-dock {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 80;
  width: min(1100px, calc(100% - 28px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(158, 249, 243, 0.45);
  border-radius: 14px;
  background: rgba(2, 11, 16, 0.94);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
}
.cart-dock-count {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent2);
  color: var(--bg);
  font-weight: 800;
}
.cart-dock-main {
  min-width: 0;
  display: grid;
  gap: 1px;
}
.cart-dock-label {
  font-weight: 750;
  line-height: 1.15;
}
.cart-dock-total {
  color: var(--accent2);
  font-weight: 750;
  white-space: nowrap;
}
.cart-dock button {
  width: auto;
  min-height: 38px;
  padding: 9px 14px;
  white-space: nowrap;
}
.cart-dock-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hidden { display: none !important; }
a { color: #9ef9f3; }
body.overlay-open { overflow: hidden; }
.product-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(1, 8, 12, 0.9);
  backdrop-filter: blur(7px);
  z-index: 1250;
}
.product-lightbox.is-open { display: flex; }
.product-lightbox-dialog {
  width: min(1020px, 100%);
  max-height: 92vh;
  border: 1px solid rgba(0, 255, 242, 0.28);
  border-radius: 14px;
  background: #041019;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}
.product-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 255, 242, 0.22);
  background: rgba(0, 255, 242, 0.05);
}
.product-lightbox-header h3 {
  margin: 0;
  color: #c8fffb;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.product-lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 242, 0.45);
  background: rgba(0, 138, 133, 0.16);
  color: #d7fffc;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0;
  display: grid;
  place-items: center;
}
.product-lightbox-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 18px;
}
.product-lightbox-left {
  min-height: 0;
  max-height: min(70vh, 760px);
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 242, 0.18);
  background: #030c13;
  padding: 8px;
  overflow: hidden;
}
.product-lightbox-main {
  min-width: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: start;
}
.product-lightbox-media-shell {
  width: 100%;
  position: relative;
  display: grid;
  justify-items: center;
}
.product-lightbox-media-wrap {
  width: auto;
  height: auto;
  aspect-ratio: var(--product-overlay-aspect, 2 / 3);
  max-width: 100%;
  max-height: min(70vh, 760px);
  display: grid;
  place-items: center;
  background: #03151d;
  border: 1px solid rgba(0, 255, 242, 0.18);
  border-radius: 12px;
  overflow: hidden;
}
.product-lightbox-media-wrap img,
.product-lightbox-media-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #03151d;
}
.product-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 242, 0.48);
  background: rgba(2, 11, 16, 0.78);
  color: #d7fffc;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}
.product-lightbox-prev { left: 10px; }
.product-lightbox-next { right: 10px; }
.product-lightbox-caption {
  margin: 0;
  color: var(--muted);
  text-align: center;
  min-height: 1.4em;
}
.product-lightbox-thumbs {
  display: grid;
  gap: 8px;
  max-height: 100%;
  overflow: auto;
  padding-right: 2px;
}
.product-lightbox-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(0, 255, 242, 0.22);
  border-radius: 8px;
  padding: 0;
  background: #03151d;
  overflow: hidden;
}
.product-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #03151d;
}
.product-lightbox-thumb.is-active {
  border-color: var(--accent2);
  box-shadow: 0 0 0 2px rgba(0, 255, 242, 0.2);
}
.checkline {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  color: #bde5e1;
  font-size: .86rem;
  line-height: 1.4;
}
.checkline input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #00fff2;
  flex: 0 0 auto;
}
.legal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(1, 8, 12, 0.88);
  backdrop-filter: blur(6px);
  z-index: 1300;
}
.legal-overlay.is-open { display: flex; }
.legal-dialog {
  width: min(1040px, 100%);
  height: min(88vh, 920px);
  border: 1px solid rgba(0, 255, 242, 0.3);
  border-radius: 14px;
  background: #041019;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 255, 242, 0.25);
  background: rgba(0, 255, 242, 0.05);
}
.legal-header h3 {
  margin: 0;
  color: #c8fffb;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.legal-close {
  width: auto;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 242, 0.45);
  background: rgba(0, 138, 133, 0.16);
  color: #d7fffc;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.legal-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0a131b;
}
.legal-footer {
  margin: 6px 0 20px;
  text-align: center;
  color: #9ad2cd;
  font-size: 0.92rem;
  line-height: 1.45;
}
.legal-footer a {
  color: #9ef9f3;
  text-decoration: none;
}
.legal-footer a:hover { text-decoration: underline; }
.hint {
  color: #8fc2bd;
  font-size: 0.86rem;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .wrap { width: min(1100px, 100% - 16px); }
  .legal-dialog { height: min(90vh, 980px); }
  .product-lightbox-dialog { max-height: 94vh; }
  .product-lightbox-stage { grid-template-columns: 1fr; }
  .product-lightbox-left {
    order: 2;
    max-height: none;
  }
  .product-lightbox-main { order: 1; }
  .product-lightbox-media-wrap { max-height: 62vh; }
  .product-lightbox-thumbs {
    grid-template-columns: repeat(5, minmax(52px, 1fr));
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .product-lightbox-thumb { min-width: 52px; }
  .cart-dock {
    width: calc(100% - 16px);
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding: 9px;
  }
  .cart-dock-label { font-size: 0.95rem; }
  .cart-dock-total { font-size: 0.92rem; }
  .cart-dock button { padding: 8px 10px; }
  .cart-dock-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .cart-dock-actions button { width: 100%; }
  .product-purchase-row { grid-template-columns: 1fr; }
  .product-rating {
    justify-self: stretch;
    text-align: left;
  }
  .product[data-product-slug="plueschvolk"] .product-main-media + h3 {
    margin-top: 8px;
  }
  .rating-stars,
  .rating-stars-display { justify-content: flex-start; }
  .reviews-link { justify-self: start; }
}
