/*
 * BLACK WEEK 2026 – Aussehen der Leiste und des Startseiten-Banners.
 * Gehört zu aktion/blackweek.tpl. Wird mit dem Ordner aktion/ wieder gelöscht.
 * Farben: Schwarz #111, Gelb #F8BF00 (wie der Shop).
 */

/* ---------- schmale Leiste (alle Seiten) ---------- */
.qsbw-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 14px; padding: 6px 16px; font-size: .8125rem; line-height: 1.4; text-align: center; }
.qsbw-leiste b { font-weight: 700; }
.qsbw-tag { font-family: Montserrat, sans-serif; font-weight: 700; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; white-space: nowrap; }

/* vor dem Start: dezent, hell */
.qsbw-vorher { background: #f5f5f5; border-bottom: 1px solid #ebebeb; color: #525252; }
.qsbw-vorher .qsbw-tag { background: #111; color: #fff; }
.qsbw-vorher b { color: #2b2b2b; }

/* während der Aktion: schwarz mit Gelb */
.qsbw-aktiv { background: #111; color: #fff; }
.qsbw-aktiv .qsbw-tag { background: #F8BF00; color: #111; }
.qsbw-aktiv b { color: #F8BF00; }

/* Code zum Anklicken (kopiert den Code) */
.qsbw-code { display: inline-block; margin-left: 4px; padding: 1px 9px; border: 1px dashed #F8BF00; border-radius: 4px; background: transparent; color: #F8BF00; font: inherit; font-weight: 700; letter-spacing: .08em; cursor: pointer; transition: background .2s, color .2s; }
.qsbw-code:hover, .qsbw-code.ist-kopiert { background: #F8BF00; color: #111; }
.qsbw-code:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Countdown in der Leiste */
.qsbw-cd-wrap[hidden] { display: none !important; }
.qsbw-cd-wrap { white-space: nowrap; }
.qsbw-cd { display: inline-flex; gap: 6px; margin-left: 4px; font-variant-numeric: tabular-nums; }
.qsbw-cd-teil b { font-weight: 700; }
.qsbw-cd-teil small { margin-left: 2px; font-size: .85em; opacity: .75; }
.qsbw-aktiv .qsbw-cd-teil b { color: #fff; }

/* ---------- Banner auf der Startseite ---------- */
.qsbw-banner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; margin-bottom: 16px; padding: 1.75rem 2.25rem; border-radius: 10px; background: #111 radial-gradient(ellipse at 85% 50%, #2e2a1c 0%, #111 62%); color: #e6e6e6; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.qsbw-banner p { margin: 0; }
.qsbw-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F8BF00; }
.qsbw-titel { font-family: Montserrat, sans-serif; font-size: 2.5rem; font-weight: 700; line-height: 1.1; color: #fff; margin: .35rem 0 .6rem !important; }
.qsbw-zeile { font-size: 1.0625rem; }
.qsbw-banner .qsbw-code { padding: 3px 14px; font-size: 1.125rem; }
.qsbw-klein { margin-top: .8rem !important; font-size: .75rem; color: #a3a3a3; }

.qsbw-banner-cd { flex: 0 0 auto; text-align: center; white-space: normal; }
.qsbw-cd-titel { display: block; margin-bottom: .6rem; font-size: .8125rem; letter-spacing: .04em; color: #cfcfcf; }
.qsbw-cd-gross { gap: 8px; margin-left: 0; }
.qsbw-cd-gross .qsbw-cd-teil { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 10px 6px 8px; border: 1px solid #3a3a3a; border-radius: 8px; background: rgba(255, 255, 255, .04); }
.qsbw-cd-gross .qsbw-cd-teil b { font-family: Montserrat, sans-serif; font-size: 1.75rem; line-height: 1; color: #F8BF00; }
.qsbw-cd-gross .qsbw-cd-teil small { margin: 6px 0 0; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; opacity: 1; color: #a3a3a3; }

/* Hinweis unter dem Coupon-Feld im Warenkorb */
.qsbw-hinweis { margin: 6px 0 0; font-size: .8125rem; color: #1C871E; }

@media (max-width: 767.98px) {
  .qsbw-banner { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
  .qsbw-titel { font-size: 1.85rem; }
  .qsbw-banner-cd { align-self: stretch; }
  .qsbw-cd-gross { display: flex; }
  .qsbw-cd-gross .qsbw-cd-teil { flex: 1; min-width: 0; }
  .qsbw-cd-gross .qsbw-cd-teil b { font-size: 1.4rem; }
}
