/* Roderburg Aktionscode – Hinweisbalken, Meldung und Warenkorb-Box.
   Farben an einer Stelle: --rak-akzent ist das Kupfer des Roderburg-Logos (#af6a29, aus der Logodatei gemessen).
   Schriften bewusst geerbt (inherit), damit Balken und Box die Schrift des Templates uebernehmen. */
:root {
    --rak-akzent: #af6a29;
    --rak-akzent-dunkel: #8f5520;
    --rak-flaeche: #f5f2ee;
    --rak-flaeche-2: #e4ded6;
    --rak-linie: #e0d8ce;
    --rak-text: #333;
    --rak-text-2: #5b5b5b;
    --rak-warnung: #8a6d00;
}

/* z-index: Die Startseite zieht ihren Slider per margin-top:-64px nach oben; ohne eigene
   Stapelebene verschwindet der Balken darunter. 1019 bleibt unter dem sticky Kopf (1020). */
.nak-balken { background: var(--rak-flaeche); border-bottom: 1px solid var(--rak-linie); color: var(--rak-text-2); font-size: 14px; position: relative; z-index: 1019; }
.nak-balken-inner { display: flex; align-items: center; gap: 16px; padding: 10px 15px; }
.nak-balken-text { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; }
.nak-balken-text strong { color: var(--rak-text); font-weight: 600; }
.nak-balken-text em, .nak-em { font-style: normal; color: var(--rak-akzent-dunkel); font-weight: 600; }
.nak-ico { width: 18px; height: 18px; flex: 0 0 18px; color: var(--rak-akzent); }
.nak-balken-link { color: var(--rak-akzent-dunkel); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nak-balken-link:hover { color: var(--rak-akzent-dunkel); text-decoration: underline; }
.nak-balken-close { color: #999; font-size: 20px; line-height: 1; text-decoration: none; padding: 0 4px; }
.nak-balken-close:hover { color: var(--rak-text); text-decoration: none; }
.nak-balken-warning .nak-balken-text em { color: var(--rak-warnung); }
.nak-meldung-stand { font-weight: 400; }

.nak-flash { margin-bottom: 12px; }
.nak-card { display: flex; gap: 20px; align-items: center; background: var(--rak-flaeche); border: 1px solid var(--rak-linie); border-radius: 2px; padding: 18px 20px; margin-bottom: 24px; }
.nak-img { width: 72px; height: 72px; object-fit: contain; flex: 0 0 72px; background: #fff; border-radius: 2px; padding: 4px; box-sizing: content-box; }
.nak-body { flex: 1 1 auto; min-width: 0; }
.nak-label { font-family: inherit; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rak-akzent-dunkel); font-weight: 600; margin-bottom: 4px; }
.nak-title { font-family: inherit; font-size: 17px; font-weight: 600; color: var(--rak-text); margin-bottom: 2px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nak-badge { background: var(--rak-akzent); color: #fff; font-family: inherit; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 2px; }
.nak-cond { font-size: 13px; color: #8a8a8a; margin-bottom: 10px; }
.nak-bar { height: 4px; background: var(--rak-flaeche-2); border-radius: 2px; max-width: 360px; margin-bottom: 8px; overflow: hidden; }
.nak-bar > div { height: 100%; background: var(--rak-akzent); border-radius: 2px; transition: width .3s; }
.nak-status { font-size: 14px; color: var(--rak-text-2); }
.nak-status strong { color: var(--rak-text); font-weight: 600; }
.nak-status a { color: var(--rak-akzent-dunkel); text-decoration: underline; }
.nak-status-warning { color: var(--rak-warnung); }
@media (max-width: 575px) {
    .nak-card { flex-direction: column; align-items: flex-start; }
    .nak-balken-inner { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------------------
   Handy/Tablet: kompakter Balken – kurzer Text, kleinere Schrift, weniger
   Innenabstand, "Zum Warenkorb" ausgeblendet (das Warenkorb-Symbol steht im
   mobilen Kopf ohnehin dauerhaft zur Verfuegung).
   --------------------------------------------------------------------------- */
.nak-kurz { display: none; }
@media (max-width: 767px) {
    .nak-balken { font-size: 13px; line-height: 1.35; }
    .nak-balken-inner { gap: 8px; padding: 7px 12px; flex-wrap: nowrap; align-items: flex-start; }
    .nak-balken-text { gap: 7px; min-width: 0; }
    .nak-lang { display: none; }
    .nak-kurz { display: inline; }
    .nak-ico { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 1px; }
    .nak-balken-zumwk { display: none; }
    .nak-balken-link { white-space: normal; }
    .nak-balken-close { font-size: 18px; line-height: 1.2; padding: 0 2px; }
    .nak-flash, #nak-meldung .nak-balken-inner { padding: 7px 12px; font-size: 13px; }
}

/* Handy: Warenkorb-Box kompakter */
@media (max-width: 767px) {
    .nak-card { gap: 12px; padding: 12px 14px; margin-bottom: 16px; }
    .nak-img { width: 56px; height: 56px; flex: 0 0 56px; }
    .nak-title { font-size: 15px; gap: 8px; }
    .nak-label { font-size: 10px; margin-bottom: 2px; }
    .nak-cond { font-size: 12px; margin-bottom: 8px; }
    .nak-status { font-size: 13px; }
    .nak-bar { margin-bottom: 6px; }
}

/* Geschenkposition im Warenkorb und in der Bestelluebersicht: "Gratis" statt 0,00 EUR.
   type-11 ist die NOVA-Klasse fuer Gratisgeschenk-Positionen (C_WARENKORBPOS_TYP_GRATISGESCHENK). */
.basket .cart-items-body.type-11 .price_overall,
.is-checkout .checkout-items-item.type-11 .price_overall {
    font-size: 0;
}
.basket .cart-items-body.type-11 .price_overall::after,
.is-checkout .checkout-items-item.type-11 .price_overall::after {
    content: "Gratis";
    font-size: 1rem;
    font-weight: 600;
    color: var(--rak-akzent-dunkel);
}
html[lang="en"] .basket .cart-items-body.type-11 .price_overall::after,
html[lang="en"] .is-checkout .checkout-items-item.type-11 .price_overall::after { content: "Free"; }
.basket .cart-items-body.type-11 .cart-items-quantity {
    visibility: hidden;
}
