/* ==========================================================================
   GetMyUndies.com – Anwendungskomponenten (Konto, Verkauf, Bestellungen,
   Nachrichten, Administration). Baut auf den Variablen aus styles.css auf.
   ========================================================================== */

/* ---------- Grundbausteine ---------- */
.muted { color: var(--muted); }
.small { font-size: 14px; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.wrap { overflow-wrap: anywhere; }
.h3 { font-size: clamp(19px, 1.7vw, 22px); font-weight: 650; letter-spacing: -.015em; color: var(--bordeaux-ink); line-height: 1.25; }
.label { display: block; font-size: 14px; font-weight: 500; color: var(--bordeaux-ink); margin-bottom: 6px; }
.stack { display: grid; gap: 14px; }
.stack > * { margin: 0; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.inline-actions form { margin: 0; }
.inline-form { display: inline; }
.linklike { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: none; cursor: pointer; }
.btn--xs { --btn-h: 30px; padding: 0 10px; font-size: 13px; }
.btn[disabled]:hover .icon { transform: none; }
.test-banner {
  margin: 0; padding: 7px var(--gutter);
  background: #2c0a14; color: #ffe0ee; font-size: 13px; text-align: center;
}
.prose-list { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.code-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 14px 0; padding: 0; list-style: none; }
.code-list li, code, .secret {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px;
}
.code-list li { padding: 8px 12px; border-radius: var(--radius); background: var(--rose-50); border: 1px dashed var(--rose-400); text-align: center; }
.secret { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--rose-50); border: 1px solid var(--line); word-break: break-all; cursor: copy; }
.secret.is-copied { border-color: var(--brand); }

/* ---------- Hinweise ---------- */
.flash, .alert {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 16px auto; padding: 12px 16px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-size: 15px; line-height: 1.45;
}
.flash { margin-top: 18px; }
.alert { margin: 0 0 18px; }
.alert p { margin: 0; }
.alert:focus { outline: none; box-shadow: var(--focus); }
.flash--success, .alert--success { background: #eef8f1; border-color: #b8dfc4; color: #1d5a33; }
.flash--error, .alert--error { background: #fff3f5; border-color: #f0b3c2; color: #9b1638; }
.flash--info, .alert--info { background: var(--rose-50); border-color: var(--line); color: var(--bordeaux-ink); }
.flash--warn, .alert--warn { background: #fff8ec; border-color: #f2d6a2; color: #7a4a05; }

/* ---------- Brotkrumen, Reiter, Unternavigation ---------- */
.breadcrumb { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--rose-400); }
.breadcrumb a { color: var(--bordeaux-ink); }

.tabs { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; margin: 0 0 18px; padding-bottom: 4px; scrollbar-width: thin; }
.tabs a {
  flex: none; padding: 6px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  color: var(--bordeaux-ink); font-size: 14px; text-decoration: none; white-space: nowrap;
}
.tabs a:hover { border-color: var(--rose-400); }
.tabs a[aria-current="page"] { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--white); }

.account-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.account-content { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: start; }
.account-content > * { margin: 0; }
.subnav { position: sticky; top: 16px; }
.subnav ul { margin: 0; padding: 8px; list-style: none; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(102, 1, 23, .05); }
.subnav a {
  display: block; padding: 9px 12px; border-radius: var(--radius);
  color: var(--text); font-size: 15px; text-decoration: none;
}
.subnav a:hover { background: var(--rose-50); color: var(--bordeaux-ink); }
.subnav a[aria-current="page"] { background: var(--blush); color: var(--bordeaux-ink); font-weight: 600; }
.subnav--admin ul { background: #fffafc; }

.auth-layout { display: grid; justify-items: center; }
.auth-layout .form-card { width: 100%; }

/* ---------- Karten, Kennzahlen ---------- */
.panel {
  padding: clamp(16px, 2vw, 24px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(102, 1, 23, .05);
}
.panel > * + * { margin-top: 12px; }
.panel > :is(h2, h3, .h3, .panel__head) + * { margin-top: 16px; }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 14px; }
.stat {
  display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius-lg);
  background: var(--white); box-shadow: 0 1px 0 var(--line); color: var(--muted); text-decoration: none; font-size: 14px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
a.stat:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(102, 1, 23, .1); }
.stat__value { font-size: 30px; font-weight: 700; line-height: 1; color: var(--bordeaux-ink); letter-spacing: -.02em; }
.balance-card .facts dd { font-size: 20px; font-weight: 650; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.facts--wide { grid-template-columns: minmax(140px, max-content) 1fr; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.status-grid dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.status-grid dd { margin: 0; }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--rose-50); border: 1px solid var(--line);
  color: var(--bordeaux-ink); font-size: 12.5px; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
.status-pill--published, .status-pill--confirmed, .status-pill--completed, .status-pill--approved, .status-pill--verified, .status-pill--paid, .status-pill--succeeded { background: #eef8f1; border-color: #b8dfc4; color: #1d5a33; }
.status-pill--in_review, .status-pill--pending, .status-pill--pending_payment, .status-pill--processing, .status-pill--applied, .status-pill--shipped, .status-pill--open { background: #fff8ec; border-color: #f2d6a2; color: #7a4a05; }
.status-pill--rejected, .status-pill--cancelled, .status-pill--expired, .status-pill--failed, .status-pill--suspended, .status-pill--disputed, .status-pill--dead { background: #fff3f5; border-color: #f0b3c2; color: #9b1638; }
.status-pill--reserved, .status-pill--sold, .status-pill--refunded, .status-pill--paused, .status-pill--archived, .status-pill--draft { background: #f4f1f2; border-color: #e2d8dc; color: #5c4850; }

/* Außenabstand ohne Spezifität zurücksetzen, damit der Kartenabstand (.panel > * + *) greift */
:where(.checklist, .link-list, .compact-list, .notification-list, .moderation-list, .review-list, .address-list, .conversation-list, .wish-admin-list, .promo-admin) { margin: 0; }
.checklist { display: grid; gap: 10px; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--rose-50) center / 12px no-repeat; border: 1.5px solid var(--rose-400);
}
.checklist li.ok::before {
  background-color: #2f7d4d; border-color: #2f7d4d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.checklist li.todo { color: var(--muted); }
.link-list, .compact-list, .notification-list, .moderation-list, .review-list, .address-list, .conversation-list { padding: 0; list-style: none; display: grid; gap: 10px; }
.link-list a { color: var(--bordeaux-ink); }
.compact-list li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.compact-list li:last-child { border-bottom: 0; }
.notification-list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 12px 14px; border-radius: var(--radius); background: var(--rose-50); font-size: 15px; }
.notification-list time { flex: none; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.notification-list li.is-unread { background: var(--blush); font-weight: 500; }
.address-list > li { padding: 16px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.timeline { margin: 0; padding: 0 0 0 18px; list-style: none; border-left: 2px solid var(--line); display: grid; gap: 12px; font-size: 15px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--rose-400); }
.timeline time { display: block; font-size: 13px; color: var(--muted); }

/* ---------- Formulare ---------- */
.form-card--wide { max-width: none; }
.form-card > h2, .form-card > .h3 { margin-bottom: 14px; }
.form-card .alert { margin-bottom: 16px; }
details.form-card > summary { cursor: pointer; list-style: none; }
details.form-card > summary::-webkit-details-marker { display: none; }
details.form-card > summary::after { content: "＋"; float: right; color: var(--rose-400); }
details.form-card[open] > summary { margin-bottom: 14px; }
details.form-card[open] > summary::after { content: "－"; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--bordeaux-ink); }
.optional { font-weight: 400; color: var(--muted); }
.form-field input, .form-field textarea, .search-input input, .price-range input, .inline-form input, .inline-actions input:not([type=hidden]):not([type=checkbox]) {
  width: 100%; appearance: none;
  padding: 11px 14px; border: 1px solid #ecd3dd; border-radius: var(--radius);
  background: var(--rose-50); color: var(--text); font-size: 16px; line-height: 1.4;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:hover, .form-field textarea:hover { border-color: var(--rose-400); }
.form-field input:focus-visible, .form-field textarea:focus-visible, .search-input input:focus-visible, .price-range input:focus-visible {
  outline: none; border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 3px rgba(128, 0, 32, .14); border-radius: var(--radius);
}
.form-field.has-error input, .form-field.has-error textarea { border-color: #c0264f; background: #fff6f8; }
.form-hint { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.form-card__hint a, .form-hint a { color: var(--bordeaux-ink); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fieldset { margin: 0 0 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.fieldset legend { padding: 0 6px; font-weight: 600; color: var(--bordeaux-ink); }

/* Auswahlfelder außerhalb der Suchleiste: Kastenoptik wie Textfelder */
.form-select { padding: 0; border-left: 0; margin-bottom: 18px; }
.form-select label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--bordeaux-ink); }
.form-select .select__button, .form-select select {
  padding: 10px 12px; border: 1px solid #ecd3dd; border-radius: var(--radius); background: var(--rose-50); font-size: 16px; color: var(--text);
}
.form-select .select__button:hover { border-color: var(--rose-400); }
.form-select .select__list { left: 0; min-width: 100%; }
.form-select.has-error .select__button { border-color: #c0264f; }
.finder .form-select { margin: 0; padding: 0 clamp(10px, .95vw, 22px); border-left: 1px solid var(--line); }
.finder .form-select .select__button, .finder .form-select select { padding: 2px 0 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-size: clamp(13.5px, 1.25vw, 17px); color: var(--bordeaux-ink); }
.finder .form-select .select__list { left: -12px; min-width: calc(100% + 24px); }

/* Checkboxen */
.check-field { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin: 0 0 14px; font-size: 15px; }
.check-field label { flex: 1; min-width: 0; cursor: pointer; }
.check-field label a { color: var(--bordeaux-ink); }
.check-field input[type="checkbox"] {
  appearance: none; flex: none; margin: 1px 0 0; width: 22px; height: 22px;
  border: 1.5px solid #d8b3c2; border-radius: 6px; background: var(--white) center / 15px no-repeat;
  cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.check-field input[type="checkbox"]:hover { border-color: var(--rose-400); }
.check-field input[type="checkbox"]:checked {
  background-color: var(--brand); border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.check-field input[type="checkbox"]:focus-visible { box-shadow: var(--focus); }
.check-field.has-error input[type="checkbox"] { border-color: #c0264f; }
.check-field .field__error { flex-basis: 100%; margin: 0; }

/* Auswahlkarten (Adresse) */
.radio-cards { display: grid; gap: 10px; }
.radio-card {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-lg); background: var(--white); cursor: pointer; font-size: 15px;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.radio-card:hover { border-color: var(--rose-400); }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--rose-50); }
.radio-card input {
  appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border-radius: 50%;
  border: 1.5px solid #d8b3c2; background: var(--white); cursor: pointer;
}
.radio-card input:checked { border: 6px solid var(--brand); }
.radio-card input:focus-visible { box-shadow: var(--focus); }

.oidc-box { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.oidc-box .btn { width: 100%; }
.upload-form { display: grid; gap: 12px; }
.upload-form input[type="file"] { width: 100%; padding: 12px; border: 1.5px dashed var(--rose-400); border-radius: var(--radius-lg); background: var(--rose-50); font-size: 15px; cursor: pointer; }
.upload-form input[type="file"]::file-selector-button { margin-right: 12px; padding: 7px 14px; border: 0; border-radius: var(--radius); background: var(--bordeaux); color: var(--white); font: inherit; cursor: pointer; }

/* Versandländer im Angebotsformular */
.shipping-grid { display: grid; gap: 8px; }
.shipping-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, 200px); gap: 6px 16px; align-items: center;
  padding: 10px 14px; border-radius: var(--radius); background: var(--rose-50);
}
.shipping-row .check-field, .shipping-row .form-field { margin: 0; }
.shipping-row .form-field label { font-size: 13px; margin-bottom: 4px; }
.shipping-row .form-field input { padding: 8px 10px; background: var(--white); }
.shipping-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; max-width: 360px; font-size: 15px; }
.shipping-list li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border-bottom: 1px dashed var(--line); }

/* ---------- Tabellen ---------- */
.table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(102, 1, 23, .05); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th { font-size: 13px; font-weight: 600; color: var(--muted); background: #fffafc; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fffafc; }
.table a { color: var(--bordeaux-ink); }
.table--small th, .table--small td { padding: 8px 10px; font-size: 14px; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cell-media { display: flex; gap: 10px; align-items: center; }
.cell-media img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex: none; }

/* ---------- Suche ---------- */
/* Entdecken: 4 Spalten – Suche breiter, Schaltfläche rechts */
.finder--explore { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px clamp(14px, 1.6vw, 24px); }
.finder--explore .finder__title { padding: 0; }
.finder--explore .finder__search { grid-column: span 2; }
.finder--explore .form-field, .finder--explore .form-select { margin: 0; padding: 0; border-left: 0; }
.finder--explore .finder__price { border-left: 0; }
.finder--explore .finder__submit { grid-column: -2 / -1; justify-self: stretch; padding: 0; border: 0; }
.finder--explore .finder__submit .btn { width: 100%; }
.finder--explore .form-field label, .finder .label { font-size: clamp(12px, 1.1vw, 14px); margin-bottom: 2px; }
.search-input { position: relative; }
.search-input .icon { position: absolute; left: 10px; top: 50%; translate: 0 -50%; color: var(--rose-400); font-size: 18px; }
.search-input input { padding: 8px 10px 8px 36px; }
.finder__price { border-left: 1px solid var(--line); }
.price-range { display: flex; align-items: center; gap: 6px; }
.price-range input { min-width: 0; padding: 8px 10px; }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(12px, 1.4vw, 20px); margin: 0; padding: 0; list-style: none; }

/* ---------- Angebotskarte ---------- */
.listing-card {
  position: relative; display: grid; grid-template-rows: auto 1fr;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(102, 1, 23, .06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.listing-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(102, 1, 23, .14); }
.listing-card:has(.listing-card__link:focus-visible) { box-shadow: var(--focus); }
.listing-card__media { position: relative; aspect-ratio: 232 / 250; background: var(--blush); }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; }
.listing-card__media .status-pill { position: absolute; left: 10px; bottom: 10px; }
.listing-card__placeholder { display: grid; place-items: center; height: 100%; font-size: 56px; color: var(--rose-400); }
.listing-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.listing-card__body .tag { align-self: flex-start; }
.listing-card__title { font-size: 17px; font-weight: 600; line-height: 1.25; color: var(--bordeaux-ink); }
.listing-card__link { color: inherit; text-decoration: none; }
.listing-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.listing-card__link:focus-visible { box-shadow: none; }
.listing-card__seller { font-size: 14px; color: var(--muted); }
.listing-card__price { margin-top: auto; padding-top: 4px; font-size: 17px; font-weight: 650; color: var(--bordeaux-ink); }
.listing-card .fav-form, .listing-card > .fav-btn { position: absolute; z-index: 2; top: 10px; right: 10px; }
.listing-card .fav-btn { position: static; color: var(--bordeaux-ink); background: rgba(255, 255, 255, .86); }
.listing-card > .fav-btn { position: absolute; }
.listing-card .fav-btn[aria-pressed="true"] { color: var(--brand); }

/* ---------- Angebotsdetail ---------- */
.listing-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 52px); align-items: start; }
.gallery { display: grid; gap: 10px; }
.gallery__main { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--blush); aspect-ratio: 4 / 5; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; }
.gallery__thumbs a { display: block; width: 76px; height: 76px; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; }
.gallery__thumbs a[aria-current="true"] { border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__empty { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--blush); color: var(--rose-400); font-size: 80px; }
.listing-detail__info { display: grid; gap: 14px; align-content: start; }
.listing-detail__info > * { margin: 0; }
.listing-detail__info .tag { justify-self: start; }
.listing-detail__title { font-size: clamp(28px, 3.3vw, 42px); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: var(--bordeaux-ink); }
.listing-detail__price { font-size: clamp(24px, 2.5vw, 32px); font-weight: 700; color: var(--bordeaux-ink); }
.listing-detail__availability { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 15px; color: var(--muted); }
.listing-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.listing-detail__actions form { margin: 0; }
.listing-description { margin-top: clamp(28px, 4vw, 48px); max-width: 52rem; }
.listing-description > * + * { margin-top: 10px; }
.seller-box { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.seller-box__name { font-weight: 600; color: var(--bordeaux-ink); }
.rating { color: #b8305e; font-weight: 600; white-space: nowrap; }
.fav-toggle[aria-pressed="true"] { background: var(--blush); }
.fav-toggle[aria-pressed="true"] .icon { fill: currentColor; }

/* ---------- Verkäuferprofil ---------- */
.seller-hero { padding-bottom: clamp(34px, 4vw, 56px); }
.seller-hero__inner { display: flex; gap: clamp(16px, 2.5vw, 30px); align-items: center; }
.seller-hero__inner h1 { margin-top: 4px; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--blush); }
.avatar--lg { width: clamp(84px, 9vw, 120px); height: clamp(84px, 9vw, 120px); border: 3px solid rgba(255, 224, 238, .6); }
.avatar--empty { display: grid; place-items: center; color: var(--bordeaux-ink); font-size: 34px; font-weight: 700; }
.seller-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.seller-actions form { margin: 0; }
.seller-bio { max-width: 46rem; margin-bottom: 28px; font-size: 17px; }
.review { padding: 14px 16px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.review > * + * { margin-top: 6px; }

/* ---------- Nachrichten ---------- */
.conversation-list li { border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.conversation-list a { display: grid; gap: 2px; padding: 14px 16px; color: inherit; text-decoration: none; border-radius: inherit; }
.conversation-list a:hover { background: var(--rose-50); }
.conversation-list li.is-unread { box-shadow: inset 4px 0 0 var(--brand), 0 1px 0 var(--line); }
.conversation-list__name { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--bordeaux-ink); }
.conversation-list__preview { color: var(--muted); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--rose-400); color: var(--bordeaux-ink); font-size: 12px; font-weight: 700; line-height: 1;
}
.nav-logout { margin: 0; display: inline; }
.message-thread { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.message {
  max-width: min(78%, 620px); padding: 11px 14px; border-radius: 16px 16px 16px 4px;
  background: var(--white); box-shadow: 0 1px 0 var(--line); font-size: 15.5px;
}
.message--mine { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--blush); }
.message--system { justify-self: center; max-width: 100%; background: transparent; box-shadow: none; text-align: center; color: var(--muted); font-size: 14px; }
.message__meta { margin: 0 0 4px; font-size: 12.5px; color: var(--muted); }
.offer-card { padding: 16px; border: 1.5px solid var(--rose-400); border-radius: var(--radius-lg); background: var(--white); text-align: left; color: var(--text); }
.offer-card > * + * { margin-top: 8px; }
.conversation-tools { padding-top: 6px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.checkout-summary { position: sticky; top: 16px; }
.checkout-item { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.checkout-item img { width: 72px; height: 72px; border-radius: var(--radius); object-fit: cover; flex: none; }
.checkout-item a { color: var(--bordeaux-ink); font-weight: 600; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totals__sum { padding-top: 8px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 700; color: var(--bordeaux-ink); }

/* ---------- Verkäuferbereich ---------- */
.image-manager { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.image-manager li { position: relative; display: grid; gap: 6px; padding: 6px; border-radius: var(--radius-lg); background: var(--rose-50); }
.image-manager img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.image-manager .status-pill { position: absolute; left: 12px; top: 12px; }
.image-manager__actions { display: flex; flex-wrap: wrap; gap: 4px; }
.image-manager__actions form { margin: 0; }
.status-panel { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.status-panel > * { margin: 0 !important; }
.category-admin { display: grid; gap: 8px; }
.moderation-list .panel > * + * { margin-top: 8px; }

/* ---------- Entwicklerseiten & Fehler ---------- */
.mail-body { margin: 0; padding: 18px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.error-page { padding: clamp(40px, 8vw, 100px) 0; text-align: center; }
.error-page h1 { font-size: clamp(34px, 5vw, 60px); color: var(--bordeaux-ink); letter-spacing: -.03em; }
.error-page p { margin-top: 12px; color: var(--muted); }

/* ---------- Bestätigungsdialog ---------- */
.dialog {
  width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 16px;
  background: var(--white); color: var(--text); box-shadow: 0 30px 70px rgba(40, 0, 10, .35);
}
.dialog::backdrop { background: rgba(40, 4, 14, .55); backdrop-filter: blur(2px); }
.dialog__body { padding: 24px 24px 8px; font-size: 16px; }
.dialog__title { font-size: 20px; font-weight: 700; color: var(--bordeaux-ink); margin-bottom: 8px; }
.dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 16px 24px 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .finder--explore { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finder--explore .finder__title { grid-column: 1 / -1; }
  .finder--explore .finder__search { grid-column: 1 / -1; padding: 0; }
  .finder--explore .form-field, .finder--explore .form-select { padding-left: 0; border-left: 0; padding-right: 12px; }
  .finder__price { border-left: 0; }
  .finder--explore .finder__submit { grid-column: 1 / -1; padding: 0; border: 0; }
  .finder--explore .finder__submit .btn { width: 100%; }
}

@media (max-width: 899px) {
  .account-layout { grid-template-columns: minmax(0, 1fr); }
  .subnav { position: static; min-width: 0; }
  .subnav ul { display: flex; gap: 4px; overflow-x: auto; padding: 6px; scrollbar-width: thin; }
  .subnav li { flex: none; }
  .subnav a { padding: 8px 12px; white-space: nowrap; font-size: 14px; }
  .listing-detail, .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .checkout-summary { position: static; }
  .seller-hero__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 599px) {
  .finder--explore { grid-template-columns: 1fr; }
  .finder--explore .form-field, .finder--explore .form-select { padding: 0; }
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
  .shipping-row { grid-template-columns: 1fr; }
  .facts, .facts--wide { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 8px; }
  .message { max-width: 92%; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .listing-card__body { padding: 10px 12px 12px; gap: 4px; }
  .listing-card__title { font-size: 15px; }
  .listing-card__body .tag { font-size: 11px; }
  .dialog__actions .btn { flex: 1 1 100%; }
  .table th, .table td { padding: 9px 10px; }
}

/* ---------- Benutzermenü im Header ---------- */
.nav-toggle__badge { display: none; }
.user-menu { position: relative; }
.user-menu__toggle {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid rgba(255, 224, 238, .45); border-radius: 50%;
  background: transparent; color: var(--white); font-size: 20px; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.user-menu__toggle:hover, .user-menu.is-open .user-menu__toggle { background: rgba(255, 224, 238, .14); border-color: rgba(255, 224, 238, .8); }
.user-menu__badge { position: absolute; top: -5px; right: -7px; box-shadow: 0 0 0 2px var(--bordeaux); }
.user-menu__panel {
  display: none; position: absolute; right: 0; top: calc(100% + 10px); z-index: 30;
  width: max-content; min-width: 240px; padding: 8px;
  border-radius: var(--radius-lg); background: var(--white); color: var(--bordeaux-ink);
  box-shadow: 0 18px 40px rgba(40, 0, 10, .25), 0 1px 0 var(--line);
}
.user-menu.is-open .user-menu__panel,
.user-menu:not(.is-enhanced):focus-within .user-menu__panel { display: block; }
.user-menu__who { display: grid; gap: 2px; margin: 0 0 6px; padding: 8px 12px 12px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.user-menu__who strong { font-size: 15px; font-weight: 600; color: var(--bordeaux-ink); }
.user-menu__list { margin: 0; padding: 0; list-style: none; }
.user-menu__list a, .user-menu__logout button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 10px 12px; border-radius: var(--radius); color: inherit; font-size: 15px; text-align: left;
}
.user-menu__list a:hover, .user-menu__logout button:hover, .user-menu__list a:focus-visible, .user-menu__logout button:focus-visible { background: var(--rose-50); }
.user-menu__list a[aria-current="page"] { font-weight: 600; }
.user-menu__logout { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }

/* Mobile Navigation: kein Aufklappmenü, die Einträge stehen direkt in der Liste */
@media (max-width: 899px) {
  .user-menu__toggle { display: none; }
  .nav-toggle { position: relative; }
  .nav-toggle__badge { display: inline-grid; position: absolute; top: -7px; right: -7px; box-shadow: 0 0 0 2px var(--bordeaux); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__badge { display: none; }
  .user-menu__panel, .user-menu:not(.is-enhanced):focus-within .user-menu__panel {
    display: block; position: static; width: auto; min-width: 0; padding: 0;
    background: none; color: var(--white); box-shadow: none; border-radius: 0;
  }
  .user-menu__who { margin: 0; padding: 16px 0 6px; border: 0; color: var(--rose-200); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
  .user-menu__who strong { font-size: 13px; color: var(--white); letter-spacing: .04em; text-transform: none; }
  .user-menu__list a, .user-menu__logout button {
    padding: 13px 0; border-radius: 0; font-size: 17px; border-bottom: 1px solid rgba(255, 224, 238, .16);
  }
  .user-menu__list a:hover, .user-menu__logout button:hover, .user-menu__list a:focus-visible, .user-menu__logout button:focus-visible { background: none; text-decoration: underline; }
  .user-menu__logout { margin: 0 0 6px; padding: 0; border: 0; }
}
@media (min-width: 900px) {
  .site-nav__list a, .site-nav__login { white-space: nowrap; }
}

/* ---------- CTA: Luftkuss-Animation ----------
   Statische Basis (Beine, Körper) + Bildstreifen des bewegten Oberkörpers (17 Bilder à 270 × 195 px,
   je 4 px transparenter Abstand gegen Subpixel-Durchscheinen der Nachbarbilder).
   Ohne JavaScript bzw. bei reduzierter Bewegung bleibt das erste Bild stehen. */
.cta__art.luftkuss {
  position: relative; display: block;
  width: min(100%, calc(clamp(90px, 9vw, 130px) * 600 / 195));
  max-height: none; aspect-ratio: 600 / 195; justify-self: start;
}
.luftkuss__basis { position: absolute; inset: 0; width: 100%; height: 100%; }
.luftkuss__fenster { position: absolute; top: 0; bottom: 0; left: 55%; right: 0; overflow: hidden; } /* 330 von 600 px */
.luftkuss__band {
  display: block; width: 1750.3704%; max-width: none; height: 100%; transform: translateX(-0.0846%);
  animation: luftkuss 3.5s infinite; animation-timing-function: steps(1, end); animation-play-state: paused;
}
.luftkuss.is-playing .luftkuss__band { animation-play-state: running; }
/* Bildwechsel nach den Originaldauern: 700 ms Ruhepose, 140–280 ms Kussbewegung, 460 ms Ausklang */
@keyframes luftkuss {
  0% { transform: translateX(-0.0846%); }
  20% { transform: translateX(-5.967%); }
  24% { transform: translateX(-11.8493%); }
  28.571% { transform: translateX(-17.7317%); }
  32.571% { transform: translateX(-23.614%); }
  37.714% { transform: translateX(-29.4964%); }
  41.714% { transform: translateX(-35.3788%); }
  45.714% { transform: translateX(-41.2611%); }
  49.714% { transform: translateX(-47.1435%); }
  57.714% { transform: translateX(-53.0258%); }
  62.286% { transform: translateX(-58.9082%); }
  66.857% { transform: translateX(-64.7905%); }
  70.857% { transform: translateX(-70.6729%); }
  74.857% { transform: translateX(-76.5552%); }
  78.857% { transform: translateX(-82.4376%); }
  82.857% { transform: translateX(-88.3199%); }
  86.857%, 100% { transform: translateX(-94.2023%); }
}
@media (prefers-reduced-motion: reduce) {
  .luftkuss__band { animation: none; }
}
@media (max-width: 899px) {
  .cta__art.luftkuss { width: min(100%, 360px); justify-self: center; }
}

/* Telegram, Bilder in Nachrichten, Support */
.checklist li.bad { color: #7a4a05; }
.checklist li.bad::before { background-color: #fff8ec; border-color: #d99a2b; }
.message__image { display: inline-block; margin-top: 6px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); max-width: min(100%, 320px); }
.message__image img { display: block; width: 100%; height: auto; }
.oidc-box .btn .icon, .form-card .btn .icon { margin-right: 6px; }

/* ---------- Tragedauer nach Wunsch und Wunschprofil ---------- */
.wear-group[hidden], .wear-example[hidden], .wish-step-block[hidden], [data-wear-apply][hidden] { display: none; }
.wear-group > .form-hint:first-child { margin: 0 0 12px; }
.wear-example { margin: 4px 0 0; padding: 10px 14px; border-radius: var(--radius); background: var(--rose-50); color: var(--bordeaux-ink); font-size: 14.5px; font-weight: 500; }
.status-pill--wish { background: var(--blush); border-color: var(--rose-300); color: var(--bordeaux-ink); }

.wear-picker { display: grid; gap: 10px; margin: 18px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.wear-picker__label { font-weight: 600; color: var(--bordeaux-ink); }
.wear-picker__row { display: flex; align-items: center; gap: 16px; }
.wear-picker__days { flex: none; min-width: 5.5em; padding: 4px 12px; border-radius: 999px; background: var(--bordeaux); color: var(--white); font-weight: 650; font-size: 15px; text-align: center; font-variant-numeric: tabular-nums; }
.wear-picker__price { margin: 0; font-size: 15px; color: var(--muted); }
.wear-picker__price output { font-size: 20px; font-weight: 700; color: var(--bordeaux-ink); font-variant-numeric: tabular-nums; }
.wear-picker .form-hint { margin: 0; }
.wear-picker input[type="range"] {
  --fill: 0%;
  flex: 1; min-width: 0; height: 28px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.wear-picker input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 999px;
  background: linear-gradient(to right, var(--brand) var(--fill), var(--blush) var(--fill));
}
.wear-picker input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--blush); }
.wear-picker input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--brand); }
.wear-picker input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -8px;
  border-radius: 50%; border: 3px solid var(--white); background: var(--brand); box-shadow: 0 1px 4px rgba(102, 1, 23, .35);
}
.wear-picker input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--white); background: var(--brand); box-shadow: 0 1px 4px rgba(102, 1, 23, .35);
}
.wear-picker input[type="range"]:focus-visible { outline: none; }
.wear-picker input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: var(--focus); }
.wear-picker input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: var(--focus); }
.wear-picker input[type="range"]:disabled { opacity: .5; cursor: default; }
.wear-change .wear-picker { margin: 0 0 4px; padding: 0; border: 0; }
.wear-chosen { color: var(--bordeaux-ink); }

.wish-section { margin: 0 0 var(--space-md); padding: clamp(18px, 2.4vw, 32px); border-radius: var(--radius-lg); background: var(--rose-50); border: 1px solid var(--line); }
.wish-section > .section-title { margin: 0 0 8px; }
.wish-section__lead { max-width: 46rem; margin: 0 0 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.wish-form { display: grid; gap: 6px; }
.wish-form > .btn { justify-self: start; margin-top: 8px; }
.wish-form > .form-hint { margin: 0; }
.wish-choices { margin: 0; padding: 0; border: 0; min-width: 0; }
.wish-step { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 0; font-weight: 650; font-size: 17px; color: var(--bordeaux-ink); }
.wish-step span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bordeaux); color: var(--white); font-size: 14px; }
.wish-choices__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.wish-choices > .form-hint { margin: 10px 0 0; }
.wish-choice { position: relative; display: flex; gap: 12px; align-items: center; padding: 12px; border: 2px solid var(--line); border-radius: var(--radius-lg); background: var(--white); cursor: pointer; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.wish-choice:hover { border-color: var(--rose-400); }
.wish-choice input { position: absolute; opacity: 0; pointer-events: none; }
.wish-choice:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px var(--blush); }
.wish-choice:has(input:focus-visible) { box-shadow: var(--focus); }
.wish-choice__media { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--radius); background: var(--blush); color: var(--bordeaux-ink); overflow: hidden; }
.wish-choice__media img { width: 100%; height: 100%; object-fit: cover; }
.wish-choice__media .icon { width: 30px; height: 30px; }
.wish-choice__body { display: grid; gap: 2px; min-width: 0; }
.wish-choice__cat { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--pink-ink); }
.wish-choice__title { color: var(--bordeaux-ink); line-height: 1.25; overflow-wrap: anywhere; }
.wish-choice__price { font-weight: 650; color: var(--text); }
.wish-choice__meta { font-size: 13.5px; color: var(--muted); }
.wish-step-block { margin-top: 18px; }
.wish-step-block .wear-picker { margin-top: 0; }
.listing-card__wish { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--blush); font-size: 12px; font-weight: 600; vertical-align: middle; }
.wish-admin-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.wish-admin-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.wish-admin-list a { color: var(--bordeaux-ink); }
.wish-admin-list .status-pill { margin-left: auto; }
@media (max-width: 599px) {
  .wear-picker__row { flex-wrap: wrap; }
  .wear-picker__row input[type="range"] { flex-basis: 100%; }
}
.checkout-forms { display: grid; gap: clamp(20px, 3vw, 36px); min-width: 0; }
.checkout-forms > .form-card { margin: 0; }
.wear-change .wear-picker__label { font-size: 15px; }
.fieldset .check-field + .form-hint, .form-card > .check-field + .form-hint { margin: -6px 0 16px; }

/* ---------- Werbeflächen (Anzeige) ---------- */
.promo-slot { margin-block: var(--space-lg); }
.promo-slot:empty { display: none; }
.promo {
  position: relative; overflow: hidden;
  padding: clamp(22px, 3vw, 44px); border-radius: calc(var(--radius-lg) + 6px);
  background: radial-gradient(120% 140% at 100% 0%, #a3123d 0%, var(--bordeaux) 45%, #3d0010 100%);
  color: var(--white); box-shadow: 0 18px 40px rgba(102, 1, 23, .22);
}
.promo::after {
  content: ""; position: absolute; inset: auto -60px -80px auto; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 165, 191, .35), transparent 70%); pointer-events: none;
}
.promo__head { position: relative; z-index: 1; max-width: 46rem; margin-bottom: clamp(18px, 2.4vw, 28px); }
.promo__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
.promo__label { padding: 2px 9px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .55); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-pale); }
.promo__kicker { font-weight: 650; color: var(--pink-on-dark); font-size: 15px; }
.promo__title { margin: 0; font-size: clamp(24px, 3vw, 38px); line-height: 1.12; letter-spacing: -.02em; font-weight: 750; color: var(--white); text-wrap: balance; }
.promo__lead { margin: 10px 0 0; color: var(--pink-pale); font-size: clamp(15px, 1.3vw, 17px); }
.promo__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
.promo-card__link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--white); color: var(--text); text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.promo-card__link:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.promo-card__link:focus-visible { outline: none; box-shadow: var(--focus-dark); }
.promo-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--white); }
.promo-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--ease); }
.promo-card__link:hover .promo-card__media img { transform: scale(1.05); }
.promo-card__flag { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--rose-400); color: var(--bordeaux-deep); font-size: 12px; font-weight: 700; }
.promo-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.promo-card__brand { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--pink-ink); }
.promo-card__name { font-weight: 650; line-height: 1.25; color: var(--bordeaux-ink); overflow-wrap: anywhere; }
.promo-card__teaser { font-size: 13.5px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.promo-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: auto; padding-top: 8px; }
.promo-card__price { font-size: 18px; font-weight: 750; color: var(--bordeaux-ink); font-variant-numeric: tabular-nums; }
.promo-card__cta { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bordeaux); color: var(--white); font-size: 13.5px; font-weight: 650; }
.promo-card__cta .icon { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.promo-card__link:hover .promo-card__cta .icon { transform: translateX(3px); }
.promo__note { position: relative; z-index: 1; margin: 16px 0 0; font-size: 12.5px; color: rgba(255, 224, 238, .8); }
.promo--compact .promo__title { font-size: clamp(21px, 2.3vw, 30px); }
@media (max-width: 1023px) { .promo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) {
  .promo-card__body { padding: 10px 11px 12px; }
  .promo-card__name { font-size: 14.5px; }
  .promo-card__teaser { display: none; }
  .promo-card__price { font-size: 16px; }
  .promo-card__cta { padding: 5px 10px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-card__link, .promo-card__media img, .promo-card__cta .icon { transition: none; }
  .promo-card__link:hover { transform: none; }
}
.promo-admin { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.promo-admin li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.promo-admin li.is-off { opacity: .6; }
.promo-admin img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: contain; background: var(--white); border: 1px solid var(--line); }
.promo-admin__info { display: grid; gap: 2px; flex: 1; min-width: 220px; font-size: 14.5px; }
.promo-admin__clicks { font-variant-numeric: tabular-nums; font-weight: 650; }
.promo-admin form { margin: 0; }
.promo-admin__info { min-width: min(220px, 100%); }
.promo-admin__info { grid-template-columns: minmax(0, 1fr); }
.promo-admin__info, .promo-admin__info a { overflow-wrap: anywhere; white-space: normal; }

/* ---------- Sicherheitsprüfung beim Erstbesuch ---------- */
.bot-check-body { min-height: 100vh; background: var(--bordeaux); }
.bot-check {
  min-height: 100vh; display: grid; place-items: center;
  padding: clamp(24px, 6vw, 64px) 16px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 8%, rgba(250, 165, 191, .16), transparent 34%),
    radial-gradient(circle at 6% 96%, rgba(250, 165, 191, .10), transparent 38%),
    var(--bordeaux);
}
.bot-check__inner { width: min(100%, 560px); display: grid; gap: clamp(20px, 3vw, 32px); justify-items: center; }
.bot-check__logo { align-items: center; text-align: center; }
.bot-check__card {
  width: 100%; display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 5vw, 44px);
  background: var(--white); color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(40, 0, 10, .35);
}
.bot-check__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--blush); color: var(--pink-ink);
  animation: bot-check-beat 1.4s var(--ease, ease) infinite;
}
.bot-check__icon .icon { width: 26px; height: 26px; fill: currentColor; stroke: currentColor; }
.bot-check__card .eyebrow { color: var(--pink-ink); }
.bot-check__title { font-size: clamp(24px, 3.2vw, 34px); font-weight: 760; line-height: 1.08; letter-spacing: -.025em; color: var(--bordeaux-ink); }
.bot-check__lead { color: var(--muted); max-width: 30em; }
.bot-check__form { width: 100%; display: grid; gap: 10px; justify-items: center; margin-top: 8px; }
.bot-check__progress {
  appearance: none; width: 100%; height: 10px; border: 0; border-radius: 999px; overflow: hidden;
  background: var(--blush-item);
}
.bot-check__progress::-webkit-progress-bar { background: var(--blush-item); border-radius: 999px; }
.bot-check__progress::-webkit-progress-value { background: linear-gradient(90deg, var(--rose-400), var(--brand)); border-radius: 999px; transition: width .2s ease; }
.bot-check__progress::-moz-progress-bar { background: linear-gradient(90deg, var(--rose-400), var(--brand)); border-radius: 999px; }
.bot-check__status { font-weight: 600; color: var(--bordeaux-ink); min-height: 1.5em; }
.bot-check__button[disabled] { display: none; }
.bot-check__alert { width: 100%; padding: 10px 14px; border-radius: var(--radius); background: var(--rose-50); color: var(--pink-ink); font-weight: 500; }
.bot-check__note { font-size: 13px; color: var(--muted); max-width: 32em; }
.bot-check__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: 13px; color: #f9e9ef; }
.bot-check__meta a { color: inherit; }
.bot-check__meta a:hover { color: var(--pink-on-dark); }
@keyframes bot-check-beat { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .bot-check__icon { animation: none; } }

/* ---------- Bereichswechsel (Shop | Herren) ---------- */
.area-switch {
  display: inline-flex; flex: none; padding: 3px; gap: 2px;
  border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px;
}
.area-switch a {
  display: block; padding: 5px 14px; border-radius: 999px;
  font-size: clamp(12px, 1.05vw, 14px); font-weight: 500; line-height: 1.3;
  color: var(--white); text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.area-switch a:hover { background: rgba(255, 255, 255, .12); }
.area-switch a[aria-current="true"] { background: var(--pink-pale); color: var(--bordeaux); font-weight: 600; }
.area-switch a:focus-visible { box-shadow: var(--focus-dark); outline: none; }
@media (max-width: 899px) {
  .area-switch { display: grid; grid-template-columns: 1fr 1fr; margin: 10px 0 8px; }
  .area-switch a { padding: 10px 14px; text-align: center; font-size: 16px; }
}

/* ---------- Herrenbereich: Hero-Collage (Hochformat links, Socken rechts, breite Aufnahme darunter) ---------- */
.men-collage {
  position: relative; container-type: inline-size;
  display: grid; grid-template-columns: 44fr 56fr; grid-template-rows: auto auto;
  gap: clamp(8px, 1vw, 14px);
}
.men-collage__img { margin: 0; overflow: hidden; border-radius: var(--radius); background: #13253B; }
.men-collage__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.men-collage__img--tall { grid-row: 1 / span 2; }
.men-collage__img--tall img { object-position: center 40%; }
.men-collage__img--side { aspect-ratio: 4 / 3; }
.men-collage__img--side img { object-position: center 70%; }
.men-collage__img--wide { aspect-ratio: 3 / 1.15; }
.men-collage__img--wide img { object-position: center 45%; }
.men-collage__badge--profiles { left: 2.5%; top: 3%; }
.men-collage__badge--request { right: 2%; bottom: 4%; }
@media (max-width: 899px) {
  .men-collage { margin-top: 30px; width: 100%; max-width: 620px; justify-self: center; }
}

/* ---------- Herrenbereich: Kategorien, Community ---------- */
.men-categories, .men-community { margin-top: var(--space-lg); }
.men-categories__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.men-tile {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px;
  height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); color: var(--text); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.men-tile img { grid-column: 1 / -1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.men-tile__body { padding: 4px 0 16px 18px; display: grid; gap: 2px; }
.men-tile__title { font-size: clamp(17px, 1.6vw, 21px); font-weight: 650; color: var(--bordeaux-ink); }
.men-tile__meta { font-size: 14px; color: var(--muted); }
.men-tile > .icon { margin: 0 18px 16px 0; font-size: 20px; color: var(--brand); transition: transform .2s var(--ease); }
.men-tile:hover { transform: translateY(-3px); border-color: var(--rose-400); box-shadow: 0 14px 30px rgba(11, 35, 66, .12); }
.men-tile:hover > .icon { transform: translateX(3px); }
.men-tile:focus-visible { outline: none; box-shadow: var(--focus); }
.men-community {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(20px, 3vw, 48px);
  padding: clamp(16px, 2vw, 28px); border-radius: var(--radius-lg); background: var(--blush);
}
.men-community__media { margin: 0; overflow: hidden; border-radius: var(--radius); }
.men-community__media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.men-community__text { display: grid; gap: 10px; justify-items: start; }
.men-community__text p:not(.section-eyebrow) { font-size: 17px; color: var(--text); }
/* CTA-Luftkuss im Herrenbereich: Bildstreifen aus 8 ganzen Bildern à 600 × 200 px (je 4 px transparenter Abstand).
   Läuft wie der Luftkuss im Shop nur im Sichtbereich (main.js, [data-luftkuss]); ohne JavaScript bzw. bei
   reduzierter Bewegung bleibt das erste Bild stehen. Bilddauern aus der Vorlage: 1050, 130, 130, 220, 240, 310, 200, 150 ms. */
.cta__art.men-kuss {
  position: relative; display: block; overflow: hidden;
  width: min(100%, calc(clamp(96px, 10vw, 150px) * 3)); max-height: none; aspect-ratio: 600 / 200; justify-self: start;
}
.men-kuss__band {
  display: block; width: 804.6667%; max-width: none; height: 100%;
  animation: men-kuss 2.43s infinite; animation-timing-function: steps(1, end); animation-play-state: paused;
}
.men-kuss.is-playing .men-kuss__band { animation-play-state: running; }
@keyframes men-kuss {
  0% { transform: translateX(0); }
  43.21% { transform: translateX(-12.5104%); }
  48.56% { transform: translateX(-25.0207%); }
  53.909% { transform: translateX(-37.5311%); }
  62.963% { transform: translateX(-50.0414%); }
  72.84% { transform: translateX(-62.5518%); }
  85.597% { transform: translateX(-75.0621%); }
  93.827%, 100% { transform: translateX(-87.5725%); }
}
@media (prefers-reduced-motion: reduce) {
  .men-kuss__band { animation: none; }
}
@media (max-width: 899px) {
  .men-categories__grid { grid-template-columns: 1fr; }
  .men-tile { grid-template-columns: 38% 1fr auto; }
  .men-tile img { grid-column: 1; grid-row: 1 / span 2; height: 100%; aspect-ratio: auto; min-height: 104px; }
  .men-tile__body { padding: 14px 0 14px 4px; }
  .men-tile > .icon { margin: 0 16px 0 0; }
  .men-community { grid-template-columns: 1fr; }
  .cta__art.men-kuss { width: min(100%, 360px); justify-self: center; }
}

/* ---------- Hinweise zum Bereich ---------- */
.area-hint { margin: -6px 0 14px; padding: 10px 14px; border-radius: var(--radius); background: var(--rose-50); color: var(--text); }
.area-flag { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--rose-50); color: var(--muted); }
.area-flag--men { background: #E6F1FF; color: #0F2C52; }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 10px; }
