/* =====================================================================
   Bestellseiten – eigenes Stylesheet (unabhängig von css/style.css)
   Farben und Schriften wie auf der Webseite.
   Breakpoints: Tablet <= 1023px, Smartphone <= 767px
   ===================================================================== */

/* ---------- Schriften (lokal) ---------- */
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(fonts/mulish-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(fonts/mulish-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/open-sans-latin.woff2) format('woff2'); }

/* ---------- Grundlagen ---------- */
:root {
  --text: #2b2d42;        /* Textfarbe wie Webseite */
  --dark: #323232;        /* Überschriften */
  --rose: #cba6ae;        /* Buttons, Akzente */
  --rose-dark: #b38e97;
  --blue: #2f7cff;        /* Links */
  --blue-dark: #1f52a9;   /* Hover */
  --tint: #f2f2f4;        /* heller Hintergrund (bg-tint der Webseite) */
  --line: #e3e3e8;
  --muted: #6b6d80;
  --error: #b3261e;
  --error-bg: #fdeeee;
  --wrap: 1000px;
  --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--tint); color: var(--text);
  font-family: Mulish, Helvetica, Arial, sans-serif; font-size: 17px; font-weight: 400; line-height: 1.5;
}
h1, h2, h3, p, ul, ol { margin: 0 0 16px; }
a { color: var(--blue); font-weight: 600; text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.break { overflow-wrap: anywhere; }
.req { color: var(--rose-dark); font-weight: 700; }
[hidden] { display: none !important; }

/* ---------- Kopf ---------- */
.order-header { background: #fff; box-shadow: 0 1px 0 var(--line); }
.order-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.order-header__logo { display: block; line-height: 0; flex: none; }
.order-header__logo img { width: 120px; height: 120px; }
.order-header__title { margin: 0; font-size: 56px; font-weight: 700; line-height: 1.1; color: var(--dark); letter-spacing: .5px; }

/* ---------- Schrittanzeige ---------- */
.steps ol { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 28px 0 8px; padding: 0; }
.steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; font-weight: 600; }
.steps li + li::before { content: ''; width: 36px; height: 2px; background: var(--line); margin-right: 4px; }
.steps__num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff; font-size: 14px; }
.steps .is-current { color: var(--text); }
.steps .is-current .steps__num { border-color: var(--rose); background: var(--rose); color: #fff; }
.steps .is-done .steps__num { border-color: var(--rose); color: var(--rose-dark); }

/* ---------- Inhalt ---------- */
.order-main { padding-top: 16px; padding-bottom: 60px; }
.lead { font-size: 19px; margin: 12px 0 24px; text-align: center; }
.card { background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .07); padding: 30px; margin-bottom: 24px; }
.card--center { text-align: center; }
.card__title { font-size: 28.8px; font-weight: 700; line-height: 1.25; color: var(--dark); margin-bottom: 20px; }
.card__title--big { font-size: 40px; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.card__head .card__title { margin-bottom: 0; }
.sub-title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; }
.hint { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
address { font-style: normal; }

.alert { border-radius: var(--radius); padding: 14px 18px; margin-bottom: 24px; }
.alert--error { background: var(--error-bg); border-left: 4px solid var(--error); color: #5c1410; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }

/* ---------- Produkttabelle (Seite 1: 50 / 20 / 15 / 15 – Anzahl mit Mülleimer; Übersicht Seite 2: 60 / 10 / 15 / 15) ---------- */
.order-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.col-product { width: 50%; } .col-qty { width: 20%; } .col-price { width: 15%; } .col-sum { width: 15%; }
.order-table--summary .col-product { width: 60%; } .order-table--summary .col-qty { width: 10%; }
.order-table th, .order-table td { padding: 10px 8px; text-align: left; vertical-align: middle; }
.order-table thead th { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted);
  border-bottom: 2px solid var(--line); }
.order-table .num { text-align: right; white-space: nowrap; }
/* Spalte „UVP“ vor dem Einzelpreis (nur wenn ein Produkt eine UVP hat, die höher ist als sein Preis), ohne sichtbare
   Überschrift: „UVP“ und der Betrag durchgestrichen, grau. Mit ihr: 39 / 20 / 12 / 15 / 14. Ausgelegt für höchstens
   dreistellige Beträge: „UVP 999,99 €“ ist bei 15 px rund 97 px breit (Ziffern gleich breit), bei 14 px 90 px */
.order-table--uvp .col-product { width: 39%; } .order-table--uvp .col-qty { width: 20%; } .col-uvp { width: 12%; }
.order-table--uvp .col-price { width: 15%; } .order-table--uvp .col-sum { width: 14%; }
.cell-uvp { color: var(--muted); font-size: 15px; }   /* etwas kleiner als der Preis – Nebeninformation, braucht weniger Platz */
.order-table td.cell-uvp { padding-left: 0; padding-right: 0; }   /* Abstand halten schon „Anzahl“ und „Einzelpreis“ */
.order-table tbody tr.product-row td, .order-table tbody tr.shipping-row td,
.order-table tbody tr.subtotal-row td { border-bottom: 1px solid var(--line); }
.cat-row th { padding-top: 22px; font-size: 15px; font-weight: 700; color: var(--rose-dark); text-transform: uppercase; letter-spacing: 1px; }
.cell-product label { font-weight: 400; }
.cell-note { color: var(--muted); font-size: 15px; }
/* Info-Knopf rechts vom Namen eines Hauptprodukts (nur mit Produkt-Eigenschaften oder Hersteller-Informationen) */
.info-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -6px 0 -6px 4px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--rose-dark); cursor: pointer; vertical-align: middle;
  transition: color .2s;
}
.info-btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 0; }
@media (hover: hover) { .info-btn:hover { color: var(--blue-dark); } }

/* Info-Dialog: Inhalt scrollt, „OK“ bleibt unten sichtbar */
.info-dialog {
  width: calc(100% - 32px); max-width: 560px; max-height: calc(100% - 32px); padding: 0; overflow: hidden;
  border: 0; border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.info-dialog[open] { display: flex; flex-direction: column; }
.info-dialog::backdrop { background: rgba(43, 45, 66, .55); }
.info-dialog__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px 28px 4px; }
.info-dialog__body:focus { outline: none; }
.info-dialog__images { display: flex; gap: 10px; margin: 0 0 18px; padding-bottom: 4px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: thin; }
.info-dialog__images > :first-child { margin-left: auto; }   /* mittig, solange alle passen – und trotzdem ab dem ersten scrollbar */
.info-dialog__images > :last-child { margin-right: auto; }
.info-dialog__img { flex: none; display: block; width: auto; height: min(150px, 24vh); max-width: none; border-radius: var(--radius); scroll-snap-align: center; }
.info-dialog__images--single .info-dialog__img { height: auto; max-width: 100%; max-height: min(300px, 40vh); }   /* ein Bild: groß */
.info-dialog__name { margin: 0 0 22px; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--dark); overflow-wrap: anywhere; }   /* unter den Bildern */
.info-dialog__title { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--rose-dark); text-transform: uppercase; letter-spacing: 1px; }
.info-dialog__text { margin: 0 0 22px; font-size: 15px; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
.info-dialog__actions { flex: none; display: flex; justify-content: center; margin: 0; padding: 12px 28px 24px; }
.info-dialog__actions .btn { min-width: 120px; }
html:has(.info-dialog[open]) { overflow: hidden; }   /* Seite dahinter scrollt nicht mit */
.soldout { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; background: var(--tint); color: var(--muted); font-size: 13px; }
.order-table tr.wool-row td { vertical-align: bottom; }
.order-table tr.wool-row td.num { padding-bottom: 20px; }   /* Preis mittig neben der Auswahlbox */
.wool-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.total-row th, .total-row td { padding-top: 16px; font-size: 19px; font-weight: 700; border-top: 2px solid var(--text); }
.total-row th { text-align: right; }
/* Gewicht der Auswahl unter dem Gesamtbetrag (nur wenn Produkte ein Gewicht haben) */
.weight-row th, .weight-row td { padding-top: 6px; font-size: 15px; font-weight: 400; color: var(--muted); border: 0; }
.weight-row th { text-align: right; }
.weight-row.is-over th, .weight-row.is-over td { color: var(--error); font-weight: 700; }
.shipping-row .cell-product, .subtotal-row td { font-weight: 600; }
.shipping-row .muted { font-weight: 400; font-size: 14px; }

/* ---------- Formularelemente ---------- */
select, input[type="text"], input[type="email"] {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c9c9d1; border-radius: 5px; background: #fff;
  font: inherit; font-size: 17px; color: var(--text);
}
select { padding-right: 32px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b2d42' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; }
select:disabled { background-color: var(--tint); color: var(--muted); cursor: not-allowed; }
.qty-select { min-width: 92px; }
.order-table .qty-select { width: 104px; }
.qty-wrap { display: flex; align-items: center; gap: 6px; }
.qty-wrap .qty-select { flex: none; }
.qty-clear {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid #c9c9d1; border-radius: 5px; background: #fff; color: var(--muted); cursor: pointer;
  transition: color .2s, border-color .2s;
}
.qty-clear:disabled { visibility: hidden; }          /* nichts gewählt: Platz bleibt, Knopf unsichtbar */
.qty-clear:focus-visible { outline: 2px solid var(--rose); outline-offset: 1px; }
@media (hover: hover) { .qty-clear:hover { color: var(--rose-dark); border-color: var(--rose-dark); } }
select:focus, input:focus { outline: 2px solid var(--rose); outline-offset: 1px; border-color: var(--rose); }
.touched:invalid, .has-error input, .has-error select { border-color: var(--error); background-color: var(--error-bg); }

.fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 18px; border: 0; margin: 0; padding: 0; min-width: 0; }
.f-2 { grid-column: span 2; } .f-3 { grid-column: span 3; } .f-4 { grid-column: span 4; } .f-6 { grid-column: span 6; }
.field label { display: block; margin-bottom: 5px; font-size: 15px; font-weight: 600; }
.field__error { margin: 5px 0 0; font-size: 14px; color: var(--error); }

.check { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; cursor: pointer; font-weight: 600; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--rose-dark); cursor: pointer; }
.check--block { font-weight: 400; margin: 0 0 16px; }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Lieferadresse auch ohne JavaScript einblenden, sobald die Checkbox angehakt ist – außer bei Abholung: dann wird nichts
   geliefert, und auch der Haken „Lieferadresse abweichend“ verschwindet. „:enabled“: Ist nur der Online-Workshop gewählt,
   blendet bestellung.js beide Haken aus und sperrt sie – dann zählen sie nicht, auch wenn sie noch angehakt sind. */
.order-form:has(#delivery-diff:checked:enabled):not(:has(#pickup:checked:enabled)) #delivery { display: block !important; }
.order-form:has(#pickup:checked:enabled) #delivery-diff-wrap { display: none; }
#delivery-diff-wrap { margin-top: 14px; }                   /* direkt unter dem Haken „Abholung“ */

/* ---------- Farbzeilen und Farb-Karussell je Hauptprodukt (Seite 1) ---------- */
/* Das Karussell steht als eigene Tabellenzeile direkt unter den Farbzeilen seines Hauptprodukts */
.order-table tr.colors-row td { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.colors__title { margin: 0; font-size: 17px; font-weight: 700; color: var(--text); }
.colors__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.colors__nav { display: flex; gap: 8px; flex: none; }
.colors__btn {
  width: 42px; height: 42px; padding: 0 0 3px; border: 2px solid var(--rose); border-radius: 50%; background: #fff;
  color: var(--rose-dark); font-size: 24px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s, opacity .2s;
}
.colors__btn:hover:not(:disabled) { background: var(--rose); color: #fff; }
.colors__btn:disabled { opacity: .35; cursor: default; }
.colors__hint { margin: 0 0 14px; }
.colors__track {
  display: flex; gap: 14px; list-style: none; margin: 0; padding: 4px 2px 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: thin;
}
.colors__track:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.color { flex: 0 0 150px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.color__figure { margin: 0; flex: 1 0 auto; }
.color__figure img, .color__noimg {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.color__noimg { display: flex; align-items: center; justify-content: center; padding: 8px; text-align: center; font-size: 13px; color: var(--muted); background: var(--tint); }
.color__figure figcaption { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .5px; line-height: 1.3; text-align: center; }
.color__stock { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--rose-dark); }
.color__pick {
  min-height: 36px; padding: 6px 10px; border: 2px solid var(--rose); border-radius: 5px; background: #fff; color: var(--rose-dark);
  font: 600 12px 'Open Sans', Mulish, Helvetica, Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: background-color .2s, color .2s, opacity .2s;
}
.color__pick.is-picked { background: var(--rose); color: #fff; }
.color__pick .pick__off { display: none; }
@media (hover: hover) {
  /* .is-fresh: gerade angeklickt – bis die Maus den Knopf verlässt, ohne Hover-Optik (siehe bestellung.js) */
  .color__pick:hover:not(:disabled):not(.is-fresh) { background: var(--rose); color: #fff; }
  .color__pick.is-picked:hover:not(.is-fresh) { background: #fff; color: var(--rose-dark); }
  .color__pick.is-picked:hover:not(.is-fresh) .pick__on { display: none; }
  .color__pick.is-picked:hover:not(.is-fresh) .pick__off { display: inline; }
}
.color__pick:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 2px; }
.color__pick:disabled:not(.is-picked) { opacity: .4; cursor: not-allowed; }
.colors__status { min-height: 1.4em; margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--rose-dark); }
.wool-row.is-flash td { animation: row-flash 1.4s ease-out; }
@keyframes row-flash { from { background: rgba(203, 166, 174, .4); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) {
  .colors__track { scroll-behavior: auto; }
  .wool-row.is-flash td { animation: none; }
}

/* Vorschaubild vor Farben in der Bestellübersicht (Seite 2) */
.with-thumb { display: flex; align-items: center; gap: 10px; }
.line-thumb { flex: none; width: 40px; height: 40px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; background: #fff; }

/* ---------- Bestätigungsseite ---------- */
.address-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.support-note { margin-bottom: 24px; }
.support-note p:last-child { margin-bottom: 0; }
.confirm-form { border-top: 1px solid var(--line); padding-top: 22px; }
.confirm-form:first-child { border-top: 0; padding-top: 0; }   /* ohne Online-Workshop: kein Support-Hinweis darüber */
.privacy-note { font-size: 15px; color: var(--muted); }
.payment-note, .delivery-note { font-size: 15px; }
.pay-total { font-size: 21px; text-align: right; margin: 20px 0 0; }
.pay-total .muted { font-size: 15px; }
.link { color: var(--rose-dark); }
.link:hover { color: var(--blue-dark); }

/* ---------- Danke-Seite ---------- */
.success-icon { color: var(--rose-dark); margin-bottom: 10px; line-height: 0; }
.next-steps { padding-left: 22px; }
.next-steps li { margin-bottom: 10px; }

/* ---------- Buttons (wie .btn der Webseite) ---------- */
.actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 24px; }
.actions--center { justify-content: center; }
.actions__hint { flex: 1 1 100%; margin: 0; text-align: right; font-size: 14px; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 28px;
  border: 2px solid var(--rose); border-radius: 5px; background: var(--rose); color: #fff; cursor: pointer;
  font-family: 'Open Sans', Mulish, Helvetica, Arial, sans-serif; font-size: 13px; font-weight: 600; line-height: 1;
  letter-spacing: 1px; text-transform: uppercase; text-align: center;
  transition: background-color .4s, border-color .4s, color .4s, opacity .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--rose-dark); }
.btn--outline:hover { background: transparent; color: var(--blue-dark); }
.btn--small { flex: none; min-height: 38px; padding: 9px 18px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; background: var(--rose); border-color: var(--rose); }

/* ---------- Fuß ---------- */
.order-footer { background: #fff; padding: 26px 20px; text-align: center; }
.order-footer__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; list-style: none; margin: 0 0 12px; padding: 0; }
.order-footer__menu a { font-size: 14px; font-weight: 600; text-transform: uppercase; color: #000; }
.order-footer__menu a:hover { color: var(--blue); }
.order-footer__copy { margin: 0; font-size: 15px; font-weight: 300; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .order-header__logo img { width: 96px; height: 96px; }
  .order-header__title { font-size: 44px; }
  .card { padding: 24px; }
  .col-product { width: 40%; } .col-qty { width: 28%; } .col-price { width: 16%; } .col-sum { width: 16%; }
  /* mit Spalte „UVP“ (ab 768 px: Tabelle 680 px, UVP 102 px) */
  .order-table--uvp .col-product { width: 28%; } .order-table--uvp .col-qty { width: 26%; } .col-uvp { width: 15%; }
  .order-table--uvp .col-price { width: 17.5%; } .order-table--uvp .col-sum { width: 13.5%; }
  .order-table--summary .col-product { width: 52%; } .order-table--summary .col-qty { width: 16%; }
  .color { flex-basis: 140px; }
}

/* ---------- Smartphone: Tabellenzeilen werden zu Karten ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .wrap { padding: 0 14px; }
  .order-header__inner { padding-top: 10px; padding-bottom: 10px; }
  .order-header__logo img { width: 72px; height: 72px; }
  .order-header__title { font-size: 32px; }
  .steps ol { margin-top: 20px; gap: 4px; }
  .steps li + li::before { width: 18px; }
  .steps__label { font-size: 14px; }
  .lead { font-size: 17px; }
  .card { padding: 18px 16px; }
  .card__title { font-size: 24px; }
  .card__title--big { font-size: 28.8px; }

  .order-table, .order-table tbody, .order-table tfoot, .order-table tr, .order-table td, .order-table th { display: block; width: 100%; }
  .order-table colgroup, .order-table thead { display: none; }
  .order-table tr.product-row, .order-table tr.shipping-row, .order-table tr.subtotal-row {
    display: grid; grid-template-columns: 1.1fr 1fr 1fr; align-items: end; gap: 4px 10px;
    padding: 12px 0; border-bottom: 1px solid var(--line);
  }
  .order-table tbody tr.product-row td, .order-table tbody tr.shipping-row td, .order-table tbody tr.subtotal-row td,
  .order-table tr.wool-row td.num { border: 0; padding: 0; }
  .order-table .cell-product { grid-column: 1 / -1; margin-bottom: 6px; }
  .order-table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 3px; text-align: left; }
  .order-table .num { text-align: right; }
  .order-table td.num[data-label]::before { text-align: right; }
  .shipping-row .cell-product, .subtotal-row .cell-product { grid-column: 1 / 3; margin-bottom: 0; }
  .qty-select { min-width: 0; }
  /* Seite 1: gleiche Spalten für alle Produktzeilen (Preise stehen untereinander);
     erste Spalte = Anzahl + Mülleimer. Ausgelegt für „10 Stck“, „EINZELPREIS“ und „100,00 €“ ab 360 px Breite */
  #order-table tr.product-row { grid-template-columns: 128px minmax(0, 1fr) 68px; column-gap: 6px; }
  /* Spalte „UVP“: auf dem Handy über dem Einzelpreis, ohne eigene Beschriftung (Anzahl und Summe reichen über beide
     Zeilen), leer ausgeblendet; 14 px, damit „UVP 999,99 €“ (90 px) bei 360 px in die mittlere Spalte (92 px) passt */
  .order-table--uvp .cell-uvp { font-size: 14px; }
  .order-table--uvp tr.product-row .cell-qty { grid-column: 1; grid-row: 2 / 4; }
  .order-table--uvp tr.product-row .cell-uvp { grid-column: 2; grid-row: 2; }
  .order-table--uvp tr.product-row .cell-price { grid-column: 2; grid-row: 3; }
  .order-table--uvp tr.product-row .cell-sum { grid-column: 3; grid-row: 2 / 4; }
  .order-table--uvp .cell-uvp:empty { display: none; }
  .order-table .qty-select { width: 100%; font-size: 16px; padding-left: 8px; padding-right: 22px; background-position: right 7px center; }
  .qty-wrap { gap: 5px; }
  .qty-wrap .qty-select { flex: 1 1 0; }
  .qty-clear { width: 34px; }
  .cat-row th { padding: 18px 0 2px; }
  .info-dialog__body { padding: 22px 18px 2px; }
  .info-dialog__img { height: min(140px, 22vh); }
  .info-dialog__name { font-size: 17px; margin-bottom: 18px; }
  .info-dialog__text { font-size: 14.5px; }
  .info-dialog__actions { padding: 10px 18px 18px; }
  .total-row { display: flex !important; justify-content: space-between; border-top: 2px solid var(--text); margin-top: 4px; }
  .total-row th, .total-row td { width: auto !important; border: 0; padding: 12px 0 0; }
  .weight-row:not([hidden]) { display: flex !important; justify-content: space-between; }
  .weight-row th, .weight-row td { width: auto !important; padding: 4px 0 0; }

  .fields { grid-template-columns: repeat(6, 1fr); gap: 14px 12px; }
  .f-3 { grid-column: span 6; }
  .address-grid { grid-template-columns: 1fr; gap: 14px; }
  .pay-total { text-align: left; }

  .order-table tr.colors-row td { padding: 14px 0 16px; }
  .color { flex-basis: calc((100% - 28px) / 2.4); }   /* gut 2 Farben sichtbar, die nächste schaut heraus */
  .colors__btn { width: 38px; height: 38px; }
  .actions { justify-content: stretch; }
  .actions .btn { flex: 1 1 0; padding-left: 12px; padding-right: 12px; }
  .actions__hint { text-align: left; }
  .order-footer__menu { gap: 6px 22px; }
}

/* ---------- Widerrufsbelehrung (widerruf.php) ---------- */
.legal { max-width: 860px; margin-left: auto; margin-right: auto; }
.legal__head { margin: 28px 0 10px; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--dark); }
.legal p { margin: 0 0 12px; line-height: 1.6; overflow-wrap: anywhere; }   /* lange Unterstrich-Zeilen des Formulars umbrechen */
.legal .actions { margin-top: 28px; }
