/* Youth Made Rogue
   Konzept: Weiß (oder Schwarz), ein Rot, winzige breite Großbuchstaben, gerade Kanten. Oben eine rote
   Kopfleiste, das Menü hängt als weisse Wappenfahne darunter. */

:root {
  /* Helles Theme (Standard). Dunkel: data-theme="dunkel", siehe THEME in js/data.js */
  --bg: #ffffff;
  --fg: #0e0d0c;
  --mute: #77716a;
  --soft: #3b3835;        /* Fließtext, etwas weicher als --fg */
  --line: #e4e0da;
  --red: #cb1421;        /* Rot vom Port-Elizabeth-Longsleeve (Leiste, Buttons) */
  --red-text: #cb1421;   /* dasselbe Rot für Schrift */
  --red-hover: #a80f1a;
  --red-ink: #ffffff;
  --stage: #ecebe8;       /* Lichtfleck hinter freigestellten Produkten */
  --panel: #ffffff;       /* Warenkorb, Eingabefelder */
  --img-bg: #f1efec;      /* Platzhalter, solange Fotos laden */
  --off-bg: #e9e6e1;      /* deaktivierte Buttons */
  --off-fg: #b3ada6;
  --scrim: rgba(14, 13, 12, 0.35);
  --flag: #ffffff;        /* Menü-Fahne weiss, Schrift und Wappen in Rot */
  --flag-fg: var(--red);
  color-scheme: light;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --bar: 62px;
  --gutter: clamp(16px, 2.6vw, 36px);

}

:root[data-theme="dunkel"] {
  --bg: #000000;
  --fg: #ebe7e0;
  --mute: #8b867e;
  --soft: #c9c4bc;
  --line: #262422;
  --stage: #1a1817;
  --panel: #000000;
  --img-bg: #0d0c0c;
  --off-bg: #3a3735;
  --off-fg: #8b867e;
  --scrim: rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--red-text); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--fg); color: var(--bg);
  padding: 8px 12px; z-index: 100;
}
.skip-link:focus { top: 8px; }

/* Breite Großbuchstaben: die Stimme der Seite */
.wide,
.label, .card-info, .nav-main a, .button, .filters button,
.section-label, .page-title h1, .product-info h1, .size-list span,
.chapter-head h2, .site-footer, .drawer-head h2 {
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ---------- Kopfleiste ---------- */

.topbar {
  position: sticky; top: 0; z-index: 60;
  height: var(--bar);
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: var(--red);
  color: #fff;
}
.topbar button {
  background: none; border: 0; padding: 8px; cursor: pointer; color: #fff;
  display: grid; place-items: center;
}
.menu-toggle { justify-self: start; margin-left: -8px; }
.cart-toggle { justify-self: end; margin-right: -8px; position: relative; }
.topbar svg { width: 22px; height: 22px; }
.menu-toggle svg { transition: transform 300ms cubic-bezier(.2, .8, .2, 1); }
.menu-open .menu-toggle svg { transform: rotate(45deg); }

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  font-stretch: 125%; text-transform: uppercase;
  font-size: 12px; font-weight: 600; letter-spacing: 0.24em;
  white-space: nowrap;
}

.cart-count {
  position: absolute; right: 0; bottom: 2px;
  min-width: 15px; height: 15px; padding: 0 3px;
  border-radius: 8px;
  background: #fff; color: var(--red);
  font-size: 10px; line-height: 15px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cart-count[data-filled="false"] { display: none; }

/* Menü: weisse Wappenfahne, hängt unter der Kopfleiste, Schwalbenschwanz unten */
.flag {
  position: fixed; top: var(--bar); left: 0; right: 0; z-index: 55;
  max-height: calc(100svh - var(--bar));
  padding: 48px var(--gutter) 120px;
  background: var(--flag);
  color: var(--flag-fg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 70px), 0 100%);
  transform: translateY(-110%);
  transition: transform 460ms cubic-bezier(.7, 0, .2, 1);
  display: grid; justify-items: center; gap: 32px; text-align: center;
  overflow-y: auto;
}
.menu-open .flag { transform: none; }
.flag-crest { width: 92px; }
.nav-main { display: grid; gap: 4px; }
.nav-main a {
  text-decoration: none;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.nav-main a:hover, .nav-main a[aria-current="page"] {
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em;
}
.flag-small { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 11px; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.08em; }
.flag-small a { text-decoration: none; opacity: 0.8; }
.flag-small a:hover { opacity: 1; text-decoration: underline; }

.scrim {
  position: fixed; inset: 0; z-index: 50;
  background: var(--scrim);
  opacity: 0; pointer-events: none;
  transition: opacity 300ms ease;
}
.menu-open .scrim { opacity: 1; pointer-events: auto; }

@media (max-width: 600px) {
  :root { --bar: 54px; }
  .brand { font-size: 10px; letter-spacing: 0.16em; gap: 8px; }
  .flag { clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 44px), 0 100%); padding-bottom: 90px; }
  .flag-crest { width: 83px; }
}

/* ---------- Startseite: Kampagne ---------- */

.campaign {
  position: relative;
  height: calc(100svh - var(--bar)); min-height: 480px;
  display: grid; grid-template-columns: 1fr;
  overflow: hidden;
  background: #000;
}
.campaign img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }



@media (max-width: 700px) {
  .campaign { grid-template-columns: 1fr; height: calc(86svh - var(--bar)); }
}

/* Wappen im Titelbild: gross und mittig, etwa so hoch wie die Person. Überlagert das Foto:
   hell, wo das Foto hell ist, fast unsichtbar im Dunkeln. Die freigestellte Person steht davor. */
.campaign .hero-crest {
  position: absolute; z-index: 0;
  left: 50%; top: 50%;
  height: 70%; aspect-ratio: 856 / 900;
  transform: translate(-50%, -50%);
  -webkit-mask: url("../assets/brand/crest-white.webp") center / contain no-repeat;
  mask: url("../assets/brand/crest-white.webp") center / contain no-repeat;
  background: #fff;
  mix-blend-mode: overlay;
  opacity: 0.75;
  pointer-events: none;
}
@media (max-width: 700px) { .campaign .hero-crest { height: 60%; } }

/* Freigestellte Person, deckungsgleich mit dem Foto, steht vor dem Wappen */
.campaign .hero-person { z-index: 1; pointer-events: none; }

/* ---------- Abschnitte ---------- */

.section { padding: 64px var(--gutter); }
.section-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin: 0 0 28px;
  font-size: 11px;
  font-weight: 600;
}
.section-label h2 { margin: 0; font: inherit; }
.section-label a { color: var(--mute); text-decoration: none; }
.section-label a:hover { color: var(--red-text); }

.page-title { padding: 44px var(--gutter) 8px; }
.page-title h1 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1;
}
.page-title p { margin: 14px 0 0; max-width: 56ch; color: var(--mute); }

/* ---------- Produkte ---------- */

.filters {
  display: flex; gap: 6px 22px; flex-wrap: wrap;
  padding: 20px var(--gutter) 8px;
}
.filters button {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-size: 11px; font-weight: 600; color: var(--mute);
  border-bottom: 1px solid transparent;
}
.filters button:hover { color: var(--fg); }
.filters button[aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--red-text); }

.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 48px 18px;
}
.shop-grid { padding: 28px var(--gutter) 80px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 10px; } }

.card { display: block; text-decoration: none; }
.stage {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg);
}
.stage .cut {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 50%;
  padding: 10%;
  transition: opacity 250ms ease, transform 400ms cubic-bezier(.2, .8, .2, 1);
}
.stage .cut.back { opacity: 0; }
@media (hover: hover) {
  .card:hover .stage .cut { transform: translateY(-2%); }
  /* Teile mit Rückseite: beim Drüberfahren Rückseite statt Vorderseite */
  .card:hover .stage.has-back .cut { opacity: 0; }
  .card:hover .stage.has-back .cut.back { opacity: 1; }
}

.card-info {
  padding-top: 14px;
  display: grid; gap: 3px; justify-items: center; text-align: center;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.35;
}
.card-color { color: var(--mute); }
.card-price { font-variant-numeric: tabular-nums; }
.sold { color: var(--red-text); }

/* ---------- Produktseite ---------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  gap: 48px;
  padding: 28px var(--gutter) 88px;
  align-items: start;
}
.product-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.product-media figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--img-bg); }
.product-media figure img { width: 100%; height: 100%; object-fit: cover; }
.product-media .stage-fig:first-child { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
.product-media .stage-fig { aspect-ratio: 4 / 5; }
.product-media .stage-fig .stage { aspect-ratio: auto; height: 100%; }
.product-media .stage-fig .cut { object-fit: contain; }

.product-info { position: sticky; top: calc(var(--bar) + 24px); }
.product-info h1 { margin: 0; font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; line-height: 1.2; color: var(--fg); }
.product-meta { margin: 8px 0 0; color: var(--mute); font-size: 12px; }
.product-price { margin: 18px 0 0; font-size: 18px; font-variant-numeric: tabular-nums; }
.product-text { margin: 16px 0 0; max-width: 46ch; color: var(--soft); }

.sizes { border: 0; margin: 28px 0 0; padding: 0; }
.sizes legend { padding: 0; margin-bottom: 10px; font-size: 11px; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); }
.size-list { display: flex; flex-wrap: wrap; gap: 6px; }
.size-list label { position: relative; }
.size-list input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-list span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line);
  font-size: 11px; font-weight: 600;
}
.size-list input:hover + span { border-color: var(--fg); }
.size-list input:checked + span { border-color: var(--red-text); background: var(--red); color: #fff; }
.size-list input:focus-visible + span { outline: 2px solid var(--red-text); outline-offset: 2px; }
.size-list input:disabled + span { color: var(--off-fg); text-decoration: line-through; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 34px;
  border: 0;
  background: var(--red); color: #fff;
  font-size: 12px; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--red-hover); }
.button[disabled] { background: var(--off-bg); color: var(--off-fg); cursor: not-allowed; }
.button.ghost {
  background: none; color: var(--fg);
  border: 1px solid var(--line);
}
.button.ghost:hover { border-color: var(--fg); color: var(--fg); }

.add-row { margin-top: 22px; display: grid; gap: 10px; }
.add-row .button { width: 100%; }
.form-note { margin: 0; font-size: 12px; color: var(--mute); min-height: 1.5em; }
.form-note.error { color: var(--red-text); }
.form-note .remove { color: var(--fg); }

.details { margin-top: 34px; border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary {
  list-style: none; cursor: pointer;
  padding: 14px 0;
  display: flex; justify-content: space-between;
  font-size: 11px; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; color: var(--red-text); }
.details details[open] summary::after { content: "−"; }
.details details p { margin: 0 0 16px; max-width: 52ch; color: var(--soft); }

@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 26px; padding-top: 16px; }
  .product-media {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  }
  .product-media figure, .product-media .stage-fig { flex: 0 0 86%; aspect-ratio: 4 / 5; scroll-snap-align: center; }
  .product-info { position: static; }
}

/* ---------- Startseite: Lookbook-Streifen, Galerie ---------- */

.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 24%);
  gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.strip a { scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 700px) { .strip { grid-auto-columns: 70%; } }

.gallery-teaser {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  align-items: center;
}
.gallery-teaser img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-teaser div { padding: 40px var(--gutter); display: grid; gap: 18px; justify-items: start; }
.gallery-teaser p { margin: 0; max-width: 40ch; color: var(--soft); }
@media (max-width: 700px) { .gallery-teaser { grid-template-columns: 1fr; } }

.signup {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: end;
  padding: 64px var(--gutter);
  border-top: 1px solid var(--line);
}
.signup p { margin: 8px 0 0; color: var(--mute); max-width: 44ch; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.signup input {
  flex: 1 1 220px; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line); background: var(--panel); border-radius: 0;
}
.signup input:focus { border-color: var(--fg); }
.signup .form-note { flex-basis: 100%; }
@media (max-width: 700px) { .signup { grid-template-columns: 1fr; } }

/* ---------- Lookbook ---------- */

.chapter { padding: 0 var(--gutter) 72px; }
.chapter-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 20px 0 18px;
  border-top: 1px solid var(--line);
}
.chapter-head h2 { margin: 0; font-size: 12px; font-weight: 600; color: var(--red-text); }
.chapter-head p { margin: 0; color: var(--mute); max-width: 44ch; }

/* Lookbook: Reihen ohne Lücken. Jedes Foto behält sein Format, alle Fotos einer Reihe
   sind gleich hoch (Breite wächst mit dem Seitenverhältnis). */
.shots { display: grid; gap: 8px; }
.shot-row { display: flex; gap: 8px; align-items: flex-start; }
.shot { margin: 0; flex: var(--grow) 1 0; min-width: 0; }
.shot img { display: block; width: 100%; aspect-ratio: var(--ratio); object-fit: cover; background: var(--img-bg); }
.shot.wide img { object-position: 50% 35%; }
.shot a { display: block; overflow: hidden; }
.shot a img { transition: transform 500ms cubic-bezier(.2, .8, .2, 1), opacity 300ms ease; }
@media (hover: hover) { .shot a:hover img { transform: scale(1.03); } }
.shot figcaption { padding-top: 8px; font-size: 10.5px; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); }
.shot figcaption a { color: var(--fg); text-decoration: none; }
.shot figcaption a:hover { color: var(--red-text); }
@media (max-width: 700px) {
  /* Handy: zwei Fotos pro Reihe, ein übriges oder ein Querformat über die volle Breite */
  .shot-row { display: grid; grid-template-columns: 1fr 1fr; }
  .shot.wide, .shot.land, .shot:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .shot.wide img { aspect-ratio: 4 / 3; }
  .shot:last-child:nth-child(odd):not(.land):not(.wide) img { aspect-ratio: 4 / 5; }
}

/* ---------- Galerie ---------- */

.salon {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense;
  gap: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 48px);
  padding: 36px var(--gutter) 80px;
  align-items: center;
}
.work { margin: 0; }
.work.big { grid-column: span 2; }
.work img { width: 100%; box-shadow: 0 18px 30px -18px rgba(203, 20, 33, 0.35); }
.work button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.label { margin-top: 12px; font-size: 10.5px; display: grid; gap: 2px; }
.label .m { color: var(--mute); }
@media (max-width: 900px) { .salon { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .salon { grid-template-columns: 1fr; } .work.big { grid-column: span 1; } }

.exhibition { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 var(--gutter) 24px; }
.exhibition img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.exhibition-note { padding: 0 var(--gutter) 80px; color: var(--mute); max-width: 60ch; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: color-mix(in srgb, var(--bg) 96%, transparent); }
.lightbox-inner { width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 16px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox p { margin: 10px 0 0; text-align: center; font-size: 11px; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.08em; }
.lightbox-close { position: fixed; top: 14px; right: 16px; background: none; border: 0; cursor: pointer; padding: 8px; font-size: 11px; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Textseiten ---------- */

.prose { padding: 8px var(--gutter) 80px; max-width: calc(68ch + var(--gutter) * 2); }
.prose h2 { margin: 44px 0 10px; font-size: 12px; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red-text); }
.prose h2:first-child { margin-top: 8px; }
.prose h3 { font-size: 14px; font-weight: 600; margin: 22px 0 4px; }
.prose p, .prose li { max-width: 68ch; color: var(--soft); }
.prose table { border-collapse: collapse; width: 100%; max-width: 520px; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.placeholder { background: #f3d36b; color: #000; padding: 0 3px; }
.toc { display: flex; gap: 8px 22px; flex-wrap: wrap; padding: 16px var(--gutter) 8px; font-size: 11px; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.08em; }
.toc a { text-decoration: none; color: var(--mute); }
.toc a:hover { color: var(--red-text); }

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 24px var(--gutter) 80px; align-items: start; }
.story-crest { position: sticky; top: calc(var(--bar) + 32px); }
.story-crest img { width: min(100%, 420px); margin: 0 auto; }
.story-text p { font-size: 17px; line-height: 1.6; max-width: 34em; margin: 0 0 1.1em; color: var(--soft); }
.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 32px; }
.story-photos img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 800px) { .story { grid-template-columns: 1fr; } .story-crest { position: static; } .story-crest img { width: 55%; } }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px var(--gutter) 32px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  font-size: 10.5px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { text-decoration: none; color: var(--mute); }
.footer-links a:hover { color: var(--red-text); }
.footer-small { color: var(--mute); margin: 0; }
@media (max-width: 700px) { .site-footer { grid-template-columns: 1fr; } }

/* ---------- Warenkorb ---------- */

.drawer {
  position: fixed; inset: 0 0 0 auto;
  width: min(420px, 100vw); height: 100%; max-height: none;
  margin: 0 0 0 auto; border: 0; padding: 0;
  border-left: 1px solid var(--line);
  background: var(--panel); color: var(--fg);
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(.2, .7, .2, 1), overlay 300ms allow-discrete, display 300ms allow-discrete;
}
.drawer[open] { transform: none; }
@starting-style { .drawer[open] { transform: translateX(100%); } }
.drawer::backdrop { background: var(--scrim); }
.drawer-inner { height: 100%; display: flex; flex-direction: column; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; height: 64px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 11px; font-weight: 600; }
.drawer-head button { background: none; border: 0; cursor: pointer; font-size: 11px; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.08em; }
.drawer-items { flex: 1; overflow-y: auto; padding: 0 20px; margin: 0; list-style: none; }
.drawer-items li { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.drawer-items img { width: 76px; aspect-ratio: 3 / 4; object-fit: contain; object-position: 50% 100%; background: var(--bg); }
.drawer-items a { text-decoration: none; }
.drawer-items .meta { color: var(--mute); }
.qty { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.qty button { width: 30px; height: 30px; border: 1px solid var(--line); background: none; cursor: pointer; }
.qty output { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.remove { background: none; border: 0; padding: 0; color: var(--mute); text-decoration: underline; cursor: pointer; font-size: 12px; margin-top: 8px; }
.drawer-empty { padding: 32px 20px; display: grid; gap: 16px; justify-items: start; }
.drawer-empty p { margin: 0; }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-total { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.drawer-foot small { color: var(--mute); }


/* ---------- Produkte fliegen beim ersten Laden rein ---------- */

.grid.deal .card { animation: deal 700ms cubic-bezier(.2, .8, .2, 1) both; }
@keyframes deal {
  from { transform: translateY(60px); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

/* Kollektionsname im Bild: gedämpft, mit Körnung statt reinem Weiß */
.campaign-title {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4%; z-index: 2;
  display: grid; gap: 4px; justify-items: start;
  text-decoration: none;
  font-stretch: 125%;
  text-transform: uppercase;
  opacity: 0.96;
}
.campaign-title span,
.campaign-title strong {
  background: url("../assets/brand/grain.png") 0 0 / 256px 256px;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.campaign-title span { font-size: 10px; font-weight: 600; letter-spacing: 0.26em; }
.campaign-title strong {
  /* etwa halbe Bildbreite */
  font-size: calc((100vw - 2 * var(--gutter)) / 22.6);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.01em;
  white-space: nowrap;
  filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.45));
}
.campaign-title:hover { opacity: 1; }
.campaign-title .m-break { display: none; }
@media (max-width: 700px) {
  /* Handy: eine Zeile über die Breite, gut lesbar */
  .campaign-title strong { font-size: calc((100vw - 2 * var(--gutter)) / 11.6); }
}

[id] { scroll-margin-top: calc(var(--bar) + 12px); }

/* ---------- Farbregler (nur mit ?farbe) ---------- */

.tuner {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: min(300px, calc(100vw - 32px));
  background: #111; color: #ebe7e0;
  border: 1px solid #333;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  font-size: 13px;
}
.tuner-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid #333; }
.tuner-head strong { font-size: 11px; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.08em; }
.tuner button { background: none; border: 1px solid #444; color: #ebe7e0; cursor: pointer; padding: 4px 10px; font-size: 12px; }
.tuner-head button { border: 0; font-size: 18px; line-height: 1; padding: 0 4px; }
.tuner-body { padding: 12px; display: grid; gap: 12px; }
.tuner.is-min .tuner-body { display: none; }
.tuner-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tuner-row small { color: var(--mute); }
.tuner input[type="color"] { width: 56px; height: 40px; padding: 0; border: 1px solid #444; background: none; cursor: pointer; }
.tuner input[type="color"]:disabled { opacity: 0.5; cursor: not-allowed; }
.tuner-check { display: flex; gap: 8px; align-items: flex-start; color: #c9c4bc; font-size: 12px; }
.tuner-codes { display: flex; gap: 8px; align-items: center; justify-content: space-between; background: #000; border: 1px solid #333; padding: 8px; }
.tuner-codes code { font-size: 12px; user-select: all; }
.tuner-note { margin: 0; min-height: 1.2em; color: var(--mute); font-size: 12px; }
.tuner-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Lookbook-Auswahl (#auswahl): Bilder zum Rausnehmen markieren */
.auswahl .shot { position: relative; }
.raus-toggle {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--red); color: #fff; font: 600 26px/1 var(--font); cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.shot.raus img { opacity: 0.2; filter: grayscale(1); }
.shot.raus .raus-toggle { background: #0e0d0c; }
.shot.raus::after {
  content: "Raus"; position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  font: 700 14px/1 var(--font); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text);
}
.auswahl-panel {
  position: fixed; left: 50%; bottom: 16px; z-index: 70; transform: translateX(-50%);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px;
  padding: 10px 12px; background: #0e0d0c; color: #ebe7e0; box-shadow: 0 8px 24px rgba(0,0,0,.3);
  width: max-content; max-width: calc(100vw - 16px);
  font: 600 11px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase;
}
.auswahl-panel button {
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  padding: 10px 12px; border: 0; background: var(--red); color: #fff; cursor: pointer;
}
.auswahl-panel button[data-a="leeren"] { background: transparent; color: #ebe7e0; border: 1px solid #3b3835; }
.auswahl-note { flex-basis: 100%; margin: 0; text-align: center; text-transform: none; letter-spacing: 0; font-weight: 400; }
.auswahl-note:empty { display: none; }

/* Größe ausverkauft */
.size-list label.gone span { opacity: 0.35; text-decoration: line-through; }
