/* Appléritif · cart drawer (global, loaded on every page by inc/korb.php). Own file because botiga.css/base.css are shared.
   Cause of the distorted bottles: WooCommerce's thumbnail (372x420 hard crop) cut the tall bottle cut-outs (1:3.8) to the neck;
   botiga.css then forced width 56px. inc/korb.php now outputs the full cut-out for tall pictures; the rules below size it by height. */
.korb .korb__posten { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: start; gap: 8px 16px; padding: 18px 0; }
.korb .korb__posten img.korb__bild { display: block; margin: 0 auto; max-width: 64px; }
.korb .korb__posten img.korb__bild--flasche { width: auto; height: 104px; object-fit: contain; object-position: center bottom; }
.korb .korb__posten img.korb__bild--quadrat { width: 64px; height: auto; object-fit: contain; border-radius: 6px; }
.korb .korb__posten > div { min-width: 0; }
.korb .korb__posten b { line-height: 1.3; }
.korb .korb__posten small { display: block; margin-top: 2px; }
.korb .korb__posten .menge { display: inline-flex; margin-top: 10px; }
.korb .korb__posten > span:last-child { color: var(--gruen); white-space: nowrap; padding-top: 1px; }

/* Statutory tax line ("inkl. MwSt., zzgl. Versand"): the one place below the 15 px body-small size. 13 px is the floor, contrast of --text-leise on white/papier is above 7:1. */
:root { --gr-pflicht: 0.8125rem; }
.korb .korb__hinweis { font-size: var(--gr-pflicht); line-height: 1.45; }

/* Box hint: calm line under the items, emphasised when the bottle count is not divisible by 3 */
.gebinde-hinweis { margin: 0; font-size: var(--gr-klein); line-height: 1.5; color: var(--text-leise); max-width: 46em; }
.gebinde-hinweis--korb { margin: 16px 0 8px; }
.gebinde-hinweis--achtung { color: var(--gruen); font-weight: 500; padding: 10px 14px; border-left: 3px solid var(--akzent); background: var(--papier); border-radius: 0 var(--radius-klein) var(--radius-klein) 0; }

/* Free-shipping progress (drawer footer and cart totals box). Text carries the information, the bar is decorative. */
.versand-fortschritt { display: grid; gap: 8px; margin: 14px 0 4px; }
.versand-fortschritt p { margin: 0; line-height: 1.4; }
.versand-fortschritt__text { font-size: var(--gr-klein); font-weight: 500; color: var(--gruen); }
.versand-fortschritt__tipp { font-size: var(--gr-klein); color: var(--text-leise); }
.versand-fortschritt__balken { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 6px; border: 0; border-radius: var(--radius-pille); background: var(--linie); color: var(--gruen); overflow: hidden; }
.versand-fortschritt__balken::-webkit-progress-bar { background: var(--linie); border-radius: var(--radius-pille); }
.versand-fortschritt__balken::-webkit-progress-value { background: var(--gruen); border-radius: var(--radius-pille); }
.versand-fortschritt__balken::-moz-progress-bar { background: var(--gruen); border-radius: var(--radius-pille); }
.versand-fortschritt--erreicht { padding: 10px 14px; border-left: 3px solid var(--akzent); background: var(--papier); border-radius: 0 var(--radius-klein) var(--radius-klein) 0; }
