/* Kaffebutik – Warenkorb, Kasse, Kundenkonto
   Das einzige Stylesheet dieser Seiten: templates/_partials/kb-head.tpl lädt es statt Akiras CSS und der CSS der
   Module (die PrestaShop im Live-Shop zu einer Datei zusammenfasst). Darum hier alles, was die Seiten brauchen –
   ohne gegen fremde Regeln anzukämpfen.
   Werte und Bausteine aus der neuen Website (kaffebutik-website: src/styles/global.css, src/pages/warenkorb.astro):
   Farbwelt «Architektur», Roboto Slab für Titel und Beträge, Instrument Sans für Text, DM Mono für kleine Zeilen.
   Klassen stammen aus Akiras/PrestaShops Templates und Scripts (core.js, theme.js) – deshalb auch ein paar
   Bootstrap-Grundregeln (Raster, collapse, tab, modal), die diese Templates erwarten. Nur px, kein rem. */

:root {
  --bg: #edeeec; --paper: #f7f8f7; --tile: #e2e4e2;
  --ink: #14181c; --muted: #636b72; --line: #d3d7da; --field: #80878d;
  --s1: #cbd5dc; --accent: #2a3dcc; --ok: #4f7a43;
  --display: 'Roboto Slab', Rockwell, Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, Menlo, monospace;
  --fs-micro: 10px; --fs-label: 11px; --fs-small: 13px; --fs-body: 14px;
  --gutter: 20px; --header-h: 56px; --max: 1180px; --pad: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f8f7' stroke-width='2.4'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --gutter: 32px; --pad: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 56px; --header-h: 76px; --pad: 36px; } }

/* ——— Grundlagen ——— */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 16px; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 12px; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  margin: 0; font-family: var(--display); font-weight: 300; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); text-transform: none;
}
h1, .h1 { font-size: clamp(26px, 20px + 1.6vw, 36px); }
h2, .h2 { font-size: clamp(21px, 18px + .8vw, 26px); }
h3, .h3, h4, .h4 { font-size: 19px; }
h5, .h5, h6, .h6 { font-size: 16px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong, .bold, .font-weight-bold { font-weight: 600; }
small, .small { font-size: var(--fs-small); }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
address { font-style: normal; }
table { width: 100%; border-collapse: collapse; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--s1); color: var(--ink); }
[hidden] { display: none !important; }

/* Akira-Symbolschrift wird hier nicht geladen: leere <i class="las …"> nehmen keinen Platz. Links, die nur aus
   einem Symbol bestehen (Bestellverlauf: Details, Nachbestellen, Rechnung), zeigen stattdessen ihren Titel als Text. */
i[class*='la-'], i.material-icons { display: none !important; }
a:has(> i[class*='la-']:only-child)::after { content: attr(title); text-decoration: underline; text-underline-offset: 3px; }
a:not([title]):has(> i.la-file-pdf:only-child)::after { content: 'PDF'; }

/* ——— Hilfsklassen aus Akira/PrestaShop (Bootstrap 4 alpha) ——— */
.hidden, .hidden-xs-up, .ps-hidden-by-js, .d-none { display: none !important; }
/* .ps-hidden: Startzustand vom Server; core.js blendet danach per Inline-Style ein/aus (.show()) – darum ohne !important */
.ps-hidden { display: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-muted { color: var(--muted) !important; }
.text-danger { color: var(--accent) !important; }
.text-success { color: var(--ok) !important; }
.text-uppercase { text-transform: uppercase; }
.text-center, .text-xs-center { text-align: center; }
.float-xs-right, .float-xs-left, .float-right, .float-left, .pull-right, .pull-left { float: none !important; }
.clearfix::after { content: ''; display: table; clear: both; }
.d-block { display: block; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .my-2 { margin-block: 16px; }
.collapse:not(.in):not(.show) { display: none; }
.collapsing { height: 0; overflow: hidden; transition: height .25s var(--ease); }
.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; }
.fade { transition: opacity .2s linear; }
.fade:not(.in):not(.show) { opacity: 0; }
@media (max-width: 575px) { .hidden-xs-down { display: none !important; } }
@media (max-width: 767px) { .hidden-sm-down { display: none !important; } }
@media (max-width: 991px) { .hidden-md-down { display: none !important; } }
@media (max-width: 1199px) { .hidden-lg-down { display: none !important; } }
@media (min-width: 576px) { .hidden-sm-up { display: none !important; } }
@media (min-width: 768px) { .hidden-md-up { display: none !important; } }
@media (min-width: 992px) { .hidden-lg-up { display: none !important; } }
@media (min-width: 1200px) { .hidden-xl-up { display: none !important; } }

/* Raster (für Akira-Markup in Konto-Seiten) */
.row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
.row > [class*='col-'] { width: 100%; min-width: 0; padding-inline: 12px; }
.row > .col-xs-1 { width: 8.3333%; } .row > .col-xs-2 { width: 16.6667%; } .row > .col-xs-3 { width: 25.0%; } .row > .col-xs-4 { width: 33.3333%; } .row > .col-xs-5 { width: 41.6667%; } .row > .col-xs-6 { width: 50.0%; } .row > .col-xs-7 { width: 58.3333%; } .row > .col-xs-8 { width: 66.6667%; } .row > .col-xs-9 { width: 75.0%; } .row > .col-xs-10 { width: 83.3333%; } .row > .col-xs-11 { width: 91.6667%; } .row > .col-xs-12 { width: 100.0%; }
@media (min-width: 576px) { .row > .col-sm-1 { width: 8.3333%; } .row > .col-sm-2 { width: 16.6667%; } .row > .col-sm-3 { width: 25.0%; } .row > .col-sm-4 { width: 33.3333%; } .row > .col-sm-5 { width: 41.6667%; } .row > .col-sm-6 { width: 50.0%; } .row > .col-sm-7 { width: 58.3333%; } .row > .col-sm-8 { width: 66.6667%; } .row > .col-sm-9 { width: 75.0%; } .row > .col-sm-10 { width: 83.3333%; } .row > .col-sm-11 { width: 91.6667%; } .row > .col-sm-12 { width: 100.0%; } }
@media (min-width: 768px) { .row > .col-md-1 { width: 8.3333%; } .row > .col-md-2 { width: 16.6667%; } .row > .col-md-3 { width: 25.0%; } .row > .col-md-4 { width: 33.3333%; } .row > .col-md-5 { width: 41.6667%; } .row > .col-md-6 { width: 50.0%; } .row > .col-md-7 { width: 58.3333%; } .row > .col-md-8 { width: 66.6667%; } .row > .col-md-9 { width: 75.0%; } .row > .col-md-10 { width: 83.3333%; } .row > .col-md-11 { width: 91.6667%; } .row > .col-md-12 { width: 100.0%; } }
@media (min-width: 992px) { .row > .col-lg-1 { width: 8.3333%; } .row > .col-lg-2 { width: 16.6667%; } .row > .col-lg-3 { width: 25.0%; } .row > .col-lg-4 { width: 33.3333%; } .row > .col-lg-5 { width: 41.6667%; } .row > .col-lg-6 { width: 50.0%; } .row > .col-lg-7 { width: 58.3333%; } .row > .col-lg-8 { width: 66.6667%; } .row > .col-lg-9 { width: 75.0%; } .row > .col-lg-10 { width: 83.3333%; } .row > .col-lg-11 { width: 91.6667%; } .row > .col-lg-12 { width: 100.0%; } }
@media (min-width: 1200px) { .row > .col-xl-1 { width: 8.3333%; } .row > .col-xl-2 { width: 16.6667%; } .row > .col-xl-3 { width: 25.0%; } .row > .col-xl-4 { width: 33.3333%; } .row > .col-xl-5 { width: 41.6667%; } .row > .col-xl-6 { width: 50.0%; } .row > .col-xl-7 { width: 58.3333%; } .row > .col-xl-8 { width: 66.6667%; } .row > .col-xl-9 { width: 75.0%; } .row > .col-xl-10 { width: 83.3333%; } .row > .col-xl-11 { width: 91.6667%; } .row > .col-xl-12 { width: 100.0%; } }
[class*='-offset-'] { margin-left: 0 !important; }

/* ——— Seitenrahmen ——— */
main { display: block; }
#header {
  position: sticky; top: 0; z-index: 40; margin: 0; padding: 0;
  background: var(--bg); background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.kb-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h);
  max-width: 1520px; margin: 0 auto; padding: 0 calc(var(--gutter) - 12px);
}
.kb-header__side { display: flex; align-items: center; gap: 4px; min-width: 0; }
.kb-header__side--end { justify-content: flex-end; }
.kb-header__link, .kb-header__secure {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px;
  font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}
.kb-header__link:hover { opacity: .55; }
.kb-header__secure { color: var(--muted); }
.kb-header__icon { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; }
.kb-header__icon:hover { opacity: .55; }
.kb-header__count {
  position: absolute; top: 6px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--ink); color: var(--paper); font-size: 9px; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums;
}
.kb-header__logo { display: grid; place-items: center; height: 44px; padding: 7px 0; color: var(--ink); }
.kb-logo { display: block; height: 100%; width: auto; aspect-ratio: 2198 / 1227; }
@media (min-width: 1100px) { .kb-header__logo { height: 56px; padding: 8px 0; } }
@media (max-width: 699px) {
  .kb-header__back span, .kb-header__secure span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

#wrapper { padding: 0 0 96px; }
.container, .kb-container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
#wrapper > .container > .row { display: block; margin: 0; }
#content-wrapper, #right-column { width: auto; padding: 0; }
#left-column { display: none; }
#main, .page-content, #content { margin: 0; padding: 0; }
#content.card { margin-bottom: 12px; }

/* Seitentitel wie auf der neuen Website */
.kb-pagehead { padding-top: 36px; padding-bottom: 32px; }
@media (min-width: 1100px) { .kb-pagehead { padding-top: 64px; padding-bottom: 48px; } }
.kb-eyebrow {
  margin: 0 0 14px; font-family: var(--mono); font-size: var(--fs-label); font-weight: 400; letter-spacing: .08em;
  line-height: 1.5; text-transform: uppercase; color: var(--muted);
}
.kb-title {
  margin: 0; font-family: var(--display); font-weight: 300; letter-spacing: -.015em; line-height: 1.02; text-wrap: balance;
  font-size: clamp(36px, 22px + 3.6vw, 64px);
}
body#checkout .kb-title { font-size: clamp(32px, 20px + 2.8vw, 52px); }

/* Zweispaltig: Kasse und Warenkorb (Inhalt | Zusammenfassung) */
@media (min-width: 992px) {
  body#checkout #wrapper > .container > .row, body#cart #wrapper > .container > .row {
    display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 48px; align-items: start;
  }
  body#checkout #right-column, body#cart #right-column { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (min-width: 1100px) {
  body#checkout #wrapper > .container > .row, body#cart #wrapper > .container > .row { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 72px; }
}
@media (max-width: 991px) { body#checkout #right-column, body#cart #right-column { margin-top: 40px; } }
body#cart.cart-is-empty #right-column { display: none; }
body#cart.cart-is-empty #wrapper > .container > .row { display: block; }

/* Hinweise oben */
#notifications .notifications-container { padding-bottom: 0; }
#notifications .alert { margin-bottom: 24px; }
.my-account-content #notifications .container, .page-content #notifications .container { max-width: none; padding: 0; }

/* ——— Links und Knöpfe (wie .btn / .more auf der neuen Website) ——— */
.btn, .kb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 0 28px;
  border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); box-shadow: none;
  font-family: var(--sans); font-size: var(--fs-label); font-weight: 400; letter-spacing: .18em; line-height: 1.2;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
  -webkit-appearance: none; appearance: none; transition: background-color .25s ease-out, color .25s ease-out, opacity .2s;
}
.btn:hover, .kb-btn:hover { background: var(--ink); color: var(--paper); }
.btn-primary, .btn.continue, button.continue, .kb-btn--solid, #payment-confirmation .btn {
  background: var(--ink); color: var(--paper);
}
.btn-primary:hover, .btn.continue:hover, button.continue:hover, .kb-btn--solid:hover, #payment-confirmation .btn:hover {
  background: transparent; color: var(--ink);
}
.btn.disabled, .btn:disabled, .btn[disabled] { opacity: .3; cursor: not-allowed; }
.btn.disabled:hover, .btn:disabled:hover { background: var(--ink); color: var(--paper); }
.btn-block, .btn-full { width: 100%; }
.kb-more {
  display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-label); letter-spacing: .18em;
  text-transform: uppercase; white-space: nowrap; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.kb-more:hover { opacity: .55; }
.kb-quiet {
  display: inline-flex; align-items: center; min-height: 36px; font-size: var(--fs-micro); letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.kb-quiet:hover { color: var(--ink); }

/* ——— Formulare (wie .field: Beschriftung klein darüber, Feld nur mit Unterstrich) ——— */
.form-group { margin: 0 0 24px; }
.form-group.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'label note' 'field field';
  column-gap: 12px; row-gap: 2px; margin: 0 0 24px;
}
.form-group.row > [class*='col-'] { width: auto; max-width: none; padding: 0; margin: 0; }
.form-group.row > .form-control-label { grid-area: label; }
.form-group.row > .js-input-column, .form-group.row > [class*='col-md-6'], .form-group.row > [class*='col-md-9'] { grid-area: field; }
.form-group.row > .form-control-comment { grid-area: note; align-self: end; }
.form-group.row > [class*='col-']:not(.form-control-label):not(.js-input-column):not(.form-control-comment):not([class*='col-md-6']):not([class*='col-md-9']) { grid-column: 1 / -1; }
.form-control-label, .form-group > label, #delivery > label, #gift > label {
  display: block; margin: 0; padding: 0; text-align: left; font-size: var(--fs-micro); font-weight: 400; letter-spacing: .18em;
  line-height: 1.6; text-transform: uppercase; color: var(--muted);
}
.form-group.row > .form-control-comment {
  font-size: var(--fs-micro); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); line-height: 1.6;
}
.js-input-column .form-control-comment, .form-control-comment.small {
  display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); letter-spacing: 0; text-transform: none;
}
.form-control, input[type='text'], input[type='email'], input[type='password'], input[type='tel'], input[type='number'],
input[type='date'], input[type='search'], select, textarea {
  display: block; width: 100%; min-height: 48px; margin: 0; padding: 12px 0;
  border: 0; border-bottom: 1px solid var(--field); border-radius: 0; background: transparent; box-shadow: none;
  color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.4;
  outline: none; -webkit-appearance: none; appearance: none; transition: border-color .2s;
}
select, select.form-control {
  padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2314181c' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center;
}
textarea, textarea.form-control { min-height: 96px; resize: vertical; }
.form-control:focus, input:focus, select:focus, textarea:focus { border-bottom-color: var(--ink); }
::placeholder { color: var(--muted); opacity: .8; }
input[type='number'] { -moz-appearance: textfield; }
input::-webkit-inner-spin-button, input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.has-error .form-control, .form-control.is-invalid, .has-error select { border-bottom-color: var(--accent); }
.help-block { margin: 6px 0 0; }
.help-block .alert, .help-block li { margin: 0; padding: 0; border: 0; background: none; color: var(--accent); font-size: 12px; }

/* Passwort: Feld mit «Zeigen» rechts, Stärke-Anzeige */
.input-group { display: flex; align-items: stretch; width: 100%; }
.input-group > .form-control { flex: 1; min-width: 0; }
.input-group.js-parent-focus > .btn {
  min-height: 48px; padding: 0 0 0 16px; border: 0; border-bottom: 1px solid var(--field); background: none; color: var(--muted);
  font-size: var(--fs-micro); letter-spacing: .16em;
}
.input-group.js-parent-focus > .btn:hover { background: none; color: var(--ink); }
.input-group.js-parent-focus:focus-within > .btn { border-bottom-color: var(--ink); }
.password-strength-feedback { margin-top: 10px; font-size: 12px; color: var(--muted); }
.password-strength-feedback .progress { height: 2px; margin-bottom: 8px; background: var(--line); overflow: hidden; }
.password-strength-feedback .progress-bar { height: 100%; background: var(--ink); transition: width .3s; }
.password-requirements p { margin: 2px 0 0; }

/* Auswahlkreise und Häkchen (Akira: .custom-radio / .custom-checkbox) */
.custom-radio {
  position: relative; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin: 0;
  border: 1px solid var(--ink); border-radius: 50%; background: transparent; vertical-align: middle;
}
.custom-radio input[type='radio'] { position: absolute; inset: -8px; width: 34px; height: 34px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.custom-radio input[type='radio'] + span { display: block; width: 8px; height: 8px; border-radius: 50%; background: transparent; transition: background-color .15s; }
.custom-radio input[type='radio']:checked + span { background: var(--ink); }
.custom-radio:has(input:focus-visible) { outline: 1px solid var(--ink); outline-offset: 3px; }
.custom-checkbox { position: relative; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin: 0; vertical-align: middle; }
.custom-checkbox input[type='checkbox'] { position: absolute; inset: -8px; width: 34px; height: 34px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.custom-checkbox input[type='checkbox'] + span {
  display: block; width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 2px; background: transparent no-repeat center / 12px;
  transition: background-color .15s;
}
.custom-checkbox input[type='checkbox']:checked + span { background-color: var(--ink); background-image: var(--check); }
.custom-checkbox:has(input:focus-visible) { outline: 1px solid var(--ink); outline-offset: 3px; }
label.wrapper-custom-checkbox {
  display: flex; align-items: flex-start; gap: 14px; margin: 0; cursor: pointer;
  font-size: var(--fs-small); line-height: 1.55; letter-spacing: 0; text-transform: none; color: var(--ink);
}
label.wrapper-custom-checkbox > .custom-checkbox, label.wrapper-custom-checkbox > .custom-radio { margin-top: 1px; }
label.wrapper-custom-checkbox > .text { flex: 1; min-width: 0; }
label.wrapper-custom-checkbox > .text em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--muted); }
label.wrapper-custom-checkbox a, #conditions-to-approve a { text-decoration: underline; text-underline-offset: 3px; }
.custom-radio-inline { display: inline-flex !important; align-items: center !important; gap: 10px !important; min-height: 44px; margin: 0 24px 0 0 !important; font-size: var(--fs-body) !important; }
.custom-radio-inline > .custom-radio { margin: 0 !important; }
input[type='checkbox']:not(.custom-checkbox input), input[type='radio']:not(.custom-radio input) {
  width: 18px; height: 18px; margin: 0 10px 0 0; accent-color: var(--ink); vertical-align: -4px; cursor: pointer;
}
.form-group:has(> [class*='col-'] > #use_same_address) { margin-top: -4px; }
#use_same_address + label { display: inline; font-size: var(--fs-small); letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }

/* Formular-Fuss: Knöpfe links, Nebenwege daneben */
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; text-align: left; }
.form-footer .btn { min-width: 200px; }
@media (max-width: 599px) { .form-footer .btn, .checkout-step .btn.continue { width: 100%; } }

/* Hinweise */
.alert {
  position: relative; margin: 0 0 16px; padding: 14px 18px; border: 0; border-left: 2px solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink); font-size: var(--fs-small); line-height: 1.55;
}
.alert-danger, .alert-warning { border-left-color: var(--accent); }
.alert-success { border-left-color: var(--ok); }
.alert a { text-decoration: underline; text-underline-offset: 3px; }

/* Reiter (Als Gast bestellen | Anmelden) */
.nav-inline, .checkout-step .nav { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0 0 32px; padding: 0; border-bottom: 1px solid var(--line); }
.nav-inline .nav-item { margin: 0; }
.nav-inline .nav-link {
  display: inline-flex; align-items: center; min-height: 48px; margin-bottom: -1px; padding: 0; border-bottom: 1px solid transparent;
  font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .2s, border-color .2s;
}
.nav-inline .nav-link:hover { color: var(--ink); }
.nav-inline .nav-link.active { color: var(--ink); border-bottom-color: var(--ink); }
.nav-separator { display: none; }

/* Flächen */
.card { margin: 0 0 12px; background: var(--paper); border: 0; border-radius: 0; box-shadow: none; }
.card-block { padding: var(--pad); }
.card-title { margin: 0 0 16px; }

/* Tabellen (Bestellungen, Gutscheine) */
.table { width: 100%; margin: 0; border-collapse: collapse; background: transparent; font-size: var(--fs-small); }
.table th {
  padding: 10px 16px 10px 0; border: 0; border-bottom: 1px solid var(--ink); text-align: left; vertical-align: bottom;
  font-family: var(--mono); font-size: var(--fs-label); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.table td, .table tbody th { padding: 14px 16px 14px 0; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tbody th { font-family: var(--sans); font-size: var(--fs-small); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.table a { text-decoration: underline; text-underline-offset: 3px; }
.label-pill, .badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--muted); color: #fff;
  font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}

/* ——— Kasse: Schritte ——— */
.checkout-step { margin: 0 0 8px; background: var(--paper); }
.checkout-step .step-title {
  display: flex; align-items: center; gap: 16px; margin: 0; padding: 20px var(--pad);
  font-family: var(--display); font-weight: 300; font-size: clamp(19px, 17px + .5vw, 23px); line-height: 1.3; letter-spacing: -.01em; color: var(--ink);
}
.checkout-step .step-number {
  display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0; line-height: 1;
}
.checkout-step .step-name { flex: 1; min-width: 0; }
.checkout-step .step-edit {
  display: none; font-family: var(--sans); font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); text-decoration: underline; text-underline-offset: 4px;
}
.checkout-step .content { display: none; padding: 0 var(--pad) var(--pad); }
.checkout-step.-current .content { display: block; }
.checkout-step.-current .step-title { padding-top: 26px; padding-bottom: 26px; }
.checkout-step.-current .step-number { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.checkout-step.-complete:not(.-current) .step-title { cursor: pointer; }
.checkout-step.-complete:not(.-current) .step-number { font-size: 0; background: var(--ink) var(--check) no-repeat center / 13px; border-color: var(--ink); }
.checkout-step.-complete:not(.-current) .step-edit { display: inline; }
.checkout-step.-complete:not(.-current) .step-title:hover .step-edit { color: var(--ink); }
.checkout-step.-unreachable { background: transparent; border-top: 1px solid var(--line); margin: 0; }
.checkout-step.-unreachable + .checkout-step.-unreachable { border-top-color: var(--line); }
.checkout-step.-unreachable .step-title { color: var(--muted); cursor: default; }
.checkout-step.-unreachable .step-number { border-color: var(--field); }
@media (min-width: 768px) { .checkout-step .content { padding-left: calc(var(--pad) + 46px); } }
.checkout-step .content > p, .js-address-form form > p { color: var(--muted); }
.js-address-form form > p:first-child { margin-bottom: 24px; }
.checkout-step .content > p a, .checkout-step .identity a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Felder paarweise nebeneinander (Vorname/Name, PLZ/Ort), sonst volle Breite */
@media (min-width: 640px) {
  .js-customer-form > div:first-child, .js-address-form .form-fields {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px;
  }
  .js-customer-form > div:first-child > *, .js-address-form .form-fields > * { grid-column: 1 / -1; }
  .js-customer-form > div:first-child > .form-group:has([name='firstname'], [name='lastname']),
  .js-address-form .form-fields > .form-group:has([name='firstname'], [name='lastname'], [name='postcode'], [name='city']) { grid-column: auto; }
}
.form-informations { margin: 8px 0 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.5; }
.form-informations br { display: none; }
.form-informations-title { font-family: var(--display); font-weight: 300; font-size: 18px; letter-spacing: -.01em; }
.form-informations-option { margin-left: 6px; font-style: normal; color: var(--muted); }
.form-informations-subtitle { display: block; margin-top: 4px; }
.forgot-password { margin-top: 20px; font-size: var(--fs-small); }
.forgot-password a, .no-account a { text-decoration: underline; text-underline-offset: 4px; }

/* Adressen */
.address-selector { display: grid; gap: 12px; margin: 0 0 20px; }
@media (min-width: 640px) { .address-selector { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.address-item { display: flex; flex-direction: column; margin: 0; border: 1px solid var(--line); background: transparent; transition: border-color .2s, background-color .2s; }
.address-item:hover { border-color: var(--field); }
.address-item.selected { border-color: var(--ink); background: var(--bg); }
.address-item header { flex: 1; margin: 0; padding: 18px; font-family: var(--sans); font-size: var(--fs-body); letter-spacing: 0; }
.address-item .radio-block { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 8px 14px; margin: 0; cursor: pointer; }
.address-item .address-alias { grid-column: 2; font-family: var(--display); font-weight: 300; font-size: 17px; letter-spacing: -.01em; line-height: 1.3; }
.address-item .address { grid-column: 2; font-family: var(--sans); font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
.address-item hr { margin: 0; border-color: var(--line); }
.address-item .address-footer { display: flex; gap: 20px; padding: 6px 18px; }
.address-item .address-footer a, .add-address a, a[data-link-action='different-invoice-address'], .js-cancel-address:not(.btn) {
  display: inline-flex; align-items: center; min-height: 36px; font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); text-decoration: underline; text-underline-offset: 4px;
}
.address-item .address-footer a:hover, .add-address a:hover, a[data-link-action='different-invoice-address']:hover { color: var(--ink); }
.add-address { margin: 0 0 8px; }
.js-address-form h2.h4 { margin: 8px 0 20px; font-size: 19px; }
#delivery-address, #invoice-address { margin-top: 8px; }

/* Versandarten: wie die Lieferwahl im Warenkorb der neuen Website (.ship) */
.delivery-options { display: grid; gap: 8px; margin: 0 0 28px; }
.delivery-option { margin: 0; }
.delivery-option > label {
  display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; grid-template-areas: 'radio name price' 'radio delay price';
  align-items: center; gap: 2px 16px; margin: 0; padding: 18px 20px; border: 1px solid var(--line);
  font-size: var(--fs-body); letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.delivery-option > label:has(img) { grid-template-columns: 18px 44px minmax(0, 1fr) auto; grid-template-areas: 'radio logo name price' 'radio logo delay price'; }
.delivery-option > label .row, .delivery-option > label [class*='col-'] { display: contents; }
.delivery-option .custom-radio { grid-area: radio; }
.delivery-option img { grid-area: logo; justify-self: center; width: auto; max-width: 44px; max-height: 28px; object-fit: contain; }
.delivery-option .carrier-name { grid-area: name; font-family: var(--sans); font-size: var(--fs-body); font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.4; }
.delivery-option .carrier-delay { grid-area: delay; font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }
.delivery-option .carrier-price { grid-area: price; justify-self: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.delivery-option > label:hover { border-color: var(--field); }
.delivery-option:has(input:checked) > label { border-color: var(--ink); background: var(--bg); }
.carrier-extra-content { display: block; margin: -9px 0 0; padding: 16px 20px; border: 1px solid var(--ink); border-top: 0; background: var(--bg); font-size: var(--fs-small); }
.carrier-extra-content:not(:has(*)) { display: none !important; }
.delivery-options > .clearfix { display: none; }
.order-options { display: grid; gap: 16px; margin: 0 0 8px; }
#delivery { margin: 0; }
#delivery > label { margin-bottom: 4px; letter-spacing: .14em; }
#delivery textarea { min-height: 72px; }
#js-delivery > .btn.continue { margin-top: 24px; }

/* Zahlungsarten */
.payment-options { margin: 0 0 8px; }
.payment-options > div:not(.js-additional-information):not(.js-payment-option-form) { margin-bottom: 8px; }
.payment-option {
  position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; column-gap: 16px;
  margin: 0; padding: 18px 20px; border: 1px solid var(--line); transition: border-color .2s, background-color .2s;
}
.payment-option:hover { border-color: var(--field); }
.payment-option:has(input:checked) { border-color: var(--ink); background: var(--bg); }
.payment-option label {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; cursor: pointer;
  font-size: var(--fs-body); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink);
}
.payment-option label::after { content: ''; position: absolute; inset: 0; }
.payment-option label img { width: auto; height: 24px; max-width: 96px; object-fit: contain; }
.additional-information, .js-additional-information {
  margin: -9px 0 8px; padding: 6px 20px 18px 54px; border: 1px solid var(--ink); border-top: 0; background: var(--bg);
  font-size: var(--fs-small); line-height: 1.6; color: var(--muted);
}
.additional-information p { margin: 0 0 8px; }
.additional-information p:last-child { margin: 0; }
.additional-information dl { margin: 0; }
.additional-information dt { margin-top: 8px; color: var(--ink); }
.additional-information dd { margin: 0; }
.js-payment-option-form:not(:has(:not(input):not(button):not(form))) { display: none; }
.saved_credit_cards { display: grid; gap: 8px; padding: 0 0 4px; }
.saved_credit_cards label { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--ink); }
.cart-payment-step-refreshed-info, .cart-payment-step-not-needed-info { margin: 0 0 16px; padding: 12px 16px; background: var(--bg); font-size: var(--fs-small); }
#conditions-to-approve { margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
#conditions-to-approve li + li { margin-top: 12px; }
#payment-confirmation { margin-top: 24px; }
#payment-confirmation .btn { width: 100%; min-height: 56px; font-size: 12px; }
#payment-confirmation .alert { margin-top: 16px; }
.js-alert-payment-conditions:not(.show) { display: none; }

/* eventsmanager: Teilnehmerangaben für Event-Tickets oben im Schritt Zahlung (Inline-Styles des Moduls übersteuert) */
.front_panel { margin: 0 0 28px; padding: 20px; border: 1px solid var(--line); background: var(--bg); }
.front_panel > h3 { margin: 0 0 8px !important; padding: 0 !important; font-size: 19px !important; color: var(--ink) !important; text-align: left !important; }
.front_panel__hint { margin: 0 0 4px; font-size: var(--fs-small); color: var(--muted); }
.front_panel_ticket { padding: 16px 0 4px; border-top: 1px solid var(--line); margin-top: 12px; }
.front_panel_ticket .p_name { margin: 0 0 2px; font-family: var(--sans); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; }
.front_panel_ticket h6 { margin: 0 0 8px; font-family: var(--sans); font-size: var(--fs-small); color: var(--muted); text-align: left !important; }
.front_panel [class*='col-'] { width: auto; padding: 0; }
.front_panel .col-form-label { display: block; margin: 14px 0 0; font-size: var(--fs-micro); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.front_panel div[style*='text-align'] { margin-top: 12px; text-align: left !important; }
.front_panel .btn-xs { min-height: 40px; padding: 0 18px; }
.front_panel br { display: none; }

/* Bestellübersicht vor dem Bezahlen (falls im Backoffice eingeschaltet) */
#order-summary-content { margin-top: 24px; }
#order-summary-content h4, #order-summary-content .h4 { margin: 24px 0 12px; font-size: 17px; }
#order-summary-content .card { background: var(--bg); }

/* ——— Zusammenfassung rechts (Kasse und Warenkorb) ——— */
.cart-summary { margin: 0; padding: var(--pad); background: var(--paper); }
.kb-sum__head, .cart-detailed-totals > .kb-eyebrow {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--ink);
}
.kb-sum__head .kb-eyebrow { margin: 0; color: var(--ink); }
.kb-sum__head .kb-quiet { min-height: 0; }
.cart-summary-top:not(:has(*)) { display: none; }
.cart-summary-items-subtotal .summary_count { display: none; }
.cart-summary-products .media-list { margin: 0; }
.cart-summary-products .media {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 992px) {
  body#checkout .cart-summary-products #cart-summary-product-list { max-height: min(440px, 46vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
.kb-mini__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.kb-mini__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.kb-mini__info { display: grid; gap: 3px; min-width: 0; }
.kb-mini__name { font-size: var(--fs-label); letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; overflow-wrap: anywhere; }
.kb-mini__name:hover { text-decoration: underline; text-underline-offset: 4px; }
.kb-mini__meta { font-size: 12px; line-height: 1.5; color: var(--muted); }
.kb-mini__total { font-family: var(--display); font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-summary-subtotals-container, .cart-detailed-subtotals { display: grid; gap: 10px; padding: 20px 0; }
.cart-summary-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin: 0; font-size: var(--fs-small); line-height: 1.5; }
.cart-summary-line .label { color: var(--muted); font-size: var(--fs-small); letter-spacing: 0; text-transform: none; }
.cart-summary-line .value { margin-left: auto; font-variant-numeric: tabular-nums; text-align: right; }
.kb-sum__note:not(:has(*)) { display: none; }
.kb-sum__note { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.cart-summary-totals { padding-top: 20px; border-top: 1px solid var(--line); }
.cart-summary-totals .cart-total { align-items: baseline; }
.cart-summary-totals .cart-total .label { color: var(--ink); font-size: var(--fs-body); }
.cart-summary-totals .cart-total .value { font-family: var(--display); font-size: 30px; font-weight: 300; line-height: 1.1; letter-spacing: -.01em; }
.cart-summary-totals .cart-summary-line:not(.cart-total) { margin-top: 6px; font-size: 12px; color: var(--muted); }
.cart-detailed-actions { margin-top: 24px; }
.cart-detailed-actions .btn { width: 100%; min-height: 54px; }
.cart-detailed-actions > div { display: grid; gap: 12px; }
.cart-detailed-actions .alert { margin: 0 0 16px; }

/* Gutschein: Feld mit Unterstrich, «Hinzufügen» als Textknopf daneben */
.cart-voucher { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.cart-voucher .promo-name { display: grid; gap: 8px; margin: 0 0 14px; }
.cart-voucher .promo-name .cart-summary-line { gap: 12px; }
.cart-voucher .promo-name .label { color: var(--ink); }
.cart-voucher .promo-name .float-xs-right { margin-left: auto; font-variant-numeric: tabular-nums; }
.cart-voucher a[data-link-action='remove-voucher'] { order: 3; font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cart-voucher a[data-link-action='remove-voucher']::after { content: '✕'; text-decoration: none; }
.promo-code form { display: flex; align-items: flex-end; gap: 16px; }
.promo-code .promo-input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 0; font-size: 16px; }
.promo-code button {
  flex: none; min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink);
  font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: opacity .2s;
}
.promo-code button:hover { background: none; color: var(--ink); opacity: .55; }
.promo-code .js-error { display: none; margin: 10px 0 0; }
.promo-highlighted { margin: 16px 0 6px; font-size: 12px; color: var(--muted); }
.promo-discounts { padding: 0; }
.promo-discounts .code { text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (min-width: 768px) { .promo-code .promo-input { font-size: var(--fs-body); } }

/* Vertrauens-Hinweise unter der Zusammenfassung (Modul blockreassurance), falls eingeschaltet */
.block-reassurance, #block-reassurance { margin-top: 8px; padding: 20px var(--pad); background: var(--paper); }
.block-reassurance li + li, #block-reassurance li + li { margin-top: 14px; }
.block-reassurance-item { display: flex; align-items: center; gap: 14px; font-size: var(--fs-small); line-height: 1.45; }
.block-reassurance-item img { flex: none; width: 26px; height: 26px; object-fit: contain; opacity: .75; }
.block-reassurance-item span { display: block; color: var(--ink) !important; }
.block-reassurance-item span + span { font-size: 12px; color: var(--muted) !important; }

/* ——— Warenkorb-Seite: Liste wie /warenkorb/ der neuen Website ——— */
.kb-lines__cols { display: none; }
.kb-lines { margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.kb-line {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; grid-template-areas: 'm i i' 'm q t';
  gap: 12px 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line);
}
.kb-line__media { grid-area: m; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.kb-line__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.kb-line__info { grid-area: i; display: grid; gap: 3px; min-width: 0; align-content: start; }
.kb-line__name { font-size: var(--fs-label); letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; overflow-wrap: anywhere; }
a.kb-line__name:hover { text-decoration: underline; text-underline-offset: 4px; }
.kb-line__meta, .kb-line__unit { font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.kb-line__unit s { opacity: .7; }
.kb-line__acts { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 4px; }
.kb-line__acts a { display: inline-flex; align-items: center; min-height: 36px; font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.kb-line__acts a:hover { color: var(--ink); }
.kb-line__qty { grid-area: q; align-self: end; justify-self: start; }
.kb-line__total { grid-area: t; align-self: end; justify-self: end; font-family: var(--display); font-size: 18px; line-height: 42px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 768px) {
  .kb-lines__cols {
    display: grid; grid-template-columns: 120px minmax(0, 1fr) 132px 110px; column-gap: 24px; padding-bottom: 14px;
    font-size: var(--fs-micro); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  }
  .kb-lines__cols span:first-child { grid-column: 1 / 3; }
  .kb-lines__cols span:nth-child(2) { text-align: center; }
  .kb-lines__cols span:last-child { text-align: right; }
  .kb-line { grid-template-columns: 120px minmax(0, 1fr) 132px 110px; grid-template-areas: 'm i q t'; align-items: center; column-gap: 24px; padding: 24px 0; }
  .kb-line__qty { align-self: center; justify-self: center; }
  .kb-line__total { align-self: center; font-size: 20px; }
}
.kb-lines__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 16px; }

/* Mengenwahl wie .qty auf der neuen Website. Die Knöpfe setzt Akiras theme.js (TouchSpin) neben das Feld:
   waagrecht in eigenen .input-group-btn, oder – je nach Einstellung – übereinander in .input-group-btn-vertical. */
.kb-line__qty .input-group, .bootstrap-touchspin { display: inline-flex; align-items: stretch; width: auto; border: 1px solid var(--line); background: transparent; }
.bootstrap-touchspin .input-group-btn, .bootstrap-touchspin .input-group-btn-vertical { display: contents; }
.bootstrap-touchspin .input-group-addon { display: none !important; }
.bootstrap-touchspin .bootstrap-touchspin-down { order: 0; }
.bootstrap-touchspin input.form-control { order: 1; }
.bootstrap-touchspin .bootstrap-touchspin-up { order: 2; }
.bootstrap-touchspin .btn-touchspin {
  display: grid; place-items: center; width: 40px; min-height: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--ink);
  font-family: var(--sans); font-size: 0; letter-spacing: 0; line-height: 1; transition: background-color .2s;
}
.bootstrap-touchspin .bootstrap-touchspin-down::before { content: '−'; font-size: 17px; line-height: normal; }
.bootstrap-touchspin .bootstrap-touchspin-up::before { content: '+'; font-size: 17px; line-height: normal; }
.bootstrap-touchspin .btn-touchspin:hover { background: var(--tile); color: var(--ink); }
.kb-line__qty input.form-control {
  width: 40px; min-height: 40px; height: 40px; padding: 0; border: 0; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums;
}
.gift-quantity { font-variant-numeric: tabular-nums; }

/* Leerer Warenkorb */
.kb-empty { display: grid; gap: 24px; justify-items: start; padding: 8px 0 24px; }
.kb-empty__big { margin: 0; font-family: var(--display); font-weight: 300; letter-spacing: -.015em; line-height: 1.1; font-size: clamp(26px, 16px + 2.6vw, 44px); }

/* ——— Bestellbestätigung ——— */
#content-hook_order_confirmation .card-block > .row, .page-order-confirmation .card-block > .row { display: block; margin: 0; }
#content-hook_order_confirmation .card-block > .row > [class*='col-'], .page-order-confirmation .card-block > .row > [class*='col-'] { width: auto; max-width: none; padding: 0; }
.kb-confirm__title { display: flex; align-items: center; gap: 18px; margin: 0 0 16px; font-size: clamp(26px, 18px + 2vw, 40px); line-height: 1.1; }
.kb-confirm__check { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--paper); }
#content-hook_order_confirmation p { max-width: 62ch; color: var(--muted); }
#content-hook_order_confirmation p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 992px) {
  .page-order-confirmation .card-block > .row { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; }
}
.kb-order-items .kb-eyebrow, #order-details .card-title, #order-details h3 {
  margin: 0 0 14px; font-family: var(--mono); font-size: var(--fs-label); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
#order-details { margin-top: 32px; }
@media (min-width: 992px) { #order-details { margin-top: 0; } }
#order-details ul { display: grid; gap: 10px; font-size: var(--fs-small); line-height: 1.55; }
#order-details em { font-style: normal; color: var(--muted); }
.kb-lines--compact .kb-line { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: 'm i t'; align-items: center; padding: 14px 0; column-gap: 16px; }
.kb-lines--compact .kb-line__total { align-self: center; font-size: 16px; line-height: 1.4; }
.kb-totals { display: grid; gap: 8px; margin: 16px 0 0; font-size: var(--fs-small); }
.kb-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.kb-totals dt { font-weight: 400; color: var(--muted); }
.kb-totals dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.kb-totals__total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.kb-totals__total dt { color: var(--ink); font-size: var(--fs-body); }
.kb-totals__total dd { font-family: var(--display); font-weight: 300; font-size: 26px; line-height: 1.1; }
.kb-totals__tax { font-size: 12px; }
#content-hook_payment_return .card-block, #content-hook-order-confirmation-footer:not(:empty) { font-size: var(--fs-small); }
#content-hook_payment_return dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 12px 0; }
#content-hook_payment_return dd { margin: 0; }

/* Konto aus Gast-Bestellung (Bestätigung): «Sparen Sie Zeit …» mit Passwortfeld */
.page-order-confirmation ~ .card h4, .page-order-confirmation ~ .card .h4 { margin-bottom: 14px; font-size: clamp(19px, 17px + .5vw, 23px); }
.page-order-confirmation ~ .card ul { display: grid; gap: 4px; margin: 0 0 28px; font-size: var(--fs-small); color: var(--muted); }
.page-order-confirmation ~ .card form { max-width: 440px; }
.page-order-confirmation ~ .card .form-footer { margin-top: 20px; }
/* Produktempfehlungen unter der Bestätigung (Akiras Produktkacheln) passen nicht ins Design */
#content-hook-order-confirmation-footer { display: none; }

/* ——— Kundenkonto ——— */
.my-account-page-content { display: grid; gap: 32px; margin: 0; }
.my-account-page-content > [class*='col-'] { width: auto; max-width: none; padding: 0; }
@media (min-width: 992px) { .my-account-page-content { grid-template-columns: 220px minmax(0, 1fr); gap: 72px; align-items: start; } }
.my-account-links { display: flex; gap: 0 24px; margin: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.my-account-links::-webkit-scrollbar { display: none; }
.my-account-links > a {
  display: flex; align-items: center; flex: none; width: auto; max-width: none; min-height: 48px; padding: 0; white-space: nowrap;
  font-size: var(--fs-label); letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--muted); transition: color .2s;
}
.my-account-links .link-item { display: inline; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
.my-account-links img, .my-account-links svg { display: none; }
.my-account-links > a:hover { color: var(--ink); }
@media (min-width: 992px) {
  .my-account-links { position: sticky; top: calc(var(--header-h) + 24px); flex-direction: column; overflow: visible; border-top: 1px solid var(--ink); border-bottom: 0; }
  .my-account-links > a { border-bottom: 1px solid var(--line); }
  .my-account-links > a { white-space: normal; padding: 10px 0; }
}
body#identity #identity-link, body#addresses #addresses-link, body#address #addresses-link, body#address #address-link,
body#history #history-link, body#order-detail #history-link, body#order-slip #order-slips-link, body#discount #discounts-link,
body#order-follow #returns-link, body#order-return #returns-link { color: var(--ink); }
@media (max-width: 991px) {
  body#identity #identity-link, body#addresses #addresses-link, body#history #history-link, body#order-detail #history-link,
  body#order-slip #order-slips-link, body#discount #discounts-link { box-shadow: inset 0 -1px 0 var(--ink); }
}
.my-account-content > h4:first-child, .my-account-content > .h4:first-child { margin: 0 0 24px; font-size: clamp(22px, 18px + 1vw, 28px); }
.my-account-content { min-width: 0; }
.my-account-content > p { max-width: 62ch; }
body#my-account .my-account-content > p:first-of-type { font-family: var(--display); font-weight: 300; font-size: 20px; letter-spacing: -.01em; }
body#my-account .my-account-content > p:first-of-type .label { font-weight: 400; }
body#my-account .my-account-content > p + p { color: var(--muted); }
.page-footer { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 40px; }
.page-footer:not(:has(*)) { display: none; }
.page-footer a, .page-footer .account-link { font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; }

/* Adressbuch */
body#addresses .my-account-content > .row { display: grid; gap: 12px; margin: 0 0 24px; }
@media (min-width: 640px) { body#addresses .my-account-content > .row { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
body#addresses .my-account-content > .row > [class*='col-'] { padding: 0; }
article.address { display: flex; flex-direction: column; height: 100%; background: var(--paper); }
article.address .address-body { flex: 1; padding: 20px; }
article.address .address-body h4 { margin: 0 0 10px; font-size: 18px; }
article.address address { font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
article.address .address-footer { display: flex; gap: 20px; padding: 8px 20px; border-top: 1px solid var(--line); }
article.address .address-footer a, .addresses-footer a {
  display: inline-flex; align-items: center; min-height: 36px; font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); text-decoration: underline; text-underline-offset: 4px;
}
.addresses-footer a { font-size: var(--fs-label); color: var(--ink); }
article.address .address-footer a:hover { color: var(--ink); }

/* Bestellungen und Bestelldetails (unter 1200 px zeigt Akira statt der Tabelle eine Liste) */
.orders { border-top: 1px solid var(--ink); }
.orders .order { padding: 16px 0; border-bottom: 1px solid var(--line); }
.orders .order .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 0; }
.orders .order .row > [class*='col-'] { width: auto; padding: 0; }
.orders .order .row > [class*='col-']:first-child { display: grid; gap: 4px; font-size: var(--fs-small); }
.orders .order h3 { margin: 0; font-family: var(--sans); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; }
.orders .order .row > [class*='col-']:last-child { display: grid; gap: 4px; justify-items: end; font-size: var(--fs-small); }
.orders .order .label-pill { justify-self: start; }
.order-actions a, .history-links a { text-decoration: underline; text-underline-offset: 3px; }
body#order-detail .my-account-content .box, body#order-detail #order-infos, body#order-detail #order-history, body#order-detail .addresses,
body#order-detail .order-items, body#order-detail #order-products, body#order-detail .order-message-form { margin: 0 0 28px; }
body#order-detail .box { padding: var(--pad); background: var(--paper); }
body#order-detail .addresses { display: grid; gap: 12px; margin-inline: 0; }
@media (min-width: 640px) { body#order-detail .addresses { grid-template-columns: 1fr 1fr; } }
body#order-detail .addresses > [class*='col-'] { width: auto; padding: 0; }
body#order-detail .addresses .box { height: 100%; }
body#order-detail h3, body#order-detail h4 { margin: 0 0 12px; font-size: 18px; }
body#order-detail ul { display: grid; gap: 6px; }

/* ——— Login, Registrierung, Passwort ——— */
body#authentication .page-content, body#registration .page-content, body#password .page-content, body#guest-tracking .page-content,
body#authentication #content, body#registration #content, body#password #content { max-width: 600px; }
.login-form, .register-form { margin: 0; }
.no-account { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }
.no-account a { margin-left: 4px; color: var(--ink); }
.register-form > p:first-child { margin-bottom: 28px; color: var(--muted); }
.register-form > p:first-child a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.forgotten-password .form-fields, .send-renew-password-link { display: grid; gap: 16px; }
body#password ul.ps-alert-success, body#password .ps-alert-success li { margin: 0 0 16px; padding: 14px 18px; border-left: 2px solid var(--ok); background: var(--paper); font-size: var(--fs-small); }

/* ——— Fenster (z. B. AGB in der Kasse) ——— */
.modal { position: fixed; inset: 0; z-index: 100; display: none; overflow-x: hidden; overflow-y: auto; outline: 0; }
.modal.in, .modal.show { display: block; }
.modal-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(20, 24, 28, .45); }
.modal-backdrop.fade:not(.in):not(.show) { opacity: 0; }
body.modal-open { overflow: hidden; }
.modal-dialog { position: relative; width: auto; max-width: 760px; margin: 24px var(--gutter); }
@media (min-width: 800px) { .modal-dialog { margin: 72px auto; } }
.modal-content { position: relative; padding: 48px var(--pad) var(--pad); background: var(--paper); }
.modal .close {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0;
  background: none; color: var(--ink); font-size: 28px; font-weight: 300; line-height: 1; cursor: pointer;
}
.modal .close:hover { opacity: .55; }
.modal-header { padding: 0 0 12px; }
.modal-body { font-size: var(--fs-small); line-height: 1.7; }
.modal-body h1, .modal-body h2 { margin: 0 0 16px; font-size: 24px; }
.modal-body h3, .modal-body h4 { margin: 20px 0 8px; font-size: 17px; }
.modal-body p, .modal-body ul, .modal-body ol { margin: 0 0 12px; }
.modal-body ul { padding-left: 18px; list-style: disc; }
.modal-body a { text-decoration: underline; text-underline-offset: 3px; }

/* Kurzmeldungen (toastr aus Akira, z. B. Fehler beim Ändern der Menge) */
#toast-container { position: fixed; z-index: 120; right: var(--gutter); bottom: 20px; left: var(--gutter); display: grid; justify-items: end; gap: 8px; pointer-events: none; }
#toast-container > div { max-width: 380px; padding: 14px 18px; background: var(--ink); color: var(--paper); font-size: var(--fs-small); line-height: 1.5; pointer-events: auto; opacity: 1 !important; }
#toast-container .toast-title { font-weight: 600; }
#toast-container .toast-close-button { float: right; margin-left: 12px; border: 0; background: none; color: inherit; font-size: 18px; line-height: 1; }

/* Swiss Post: Adressvorschläge und Adressprüfung */
.swisspost_autocomplete { position: relative; width: 100%; }
.swisspost_autocomplete ul {
  position: absolute; top: 4px; left: 0; right: 0; z-index: 30; margin: 0; padding: 6px 0;
  background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 16px 32px rgba(20, 24, 28, .12);
}
.swisspost_autocomplete ul:empty { display: none; }
.swisspost_autocomplete li { padding: 9px 16px; font-size: var(--fs-small); line-height: 1.4; color: var(--ink); cursor: pointer; }
.swisspost_autocomplete li:hover { background: var(--bg); }
.swisspost-validation { margin: 0 0 24px; }
#swisspost-validate-address {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--field); background: none; color: var(--ink); cursor: pointer;
  font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase;
}
#swisspost-validate-address:hover { border-color: var(--ink); }
#swisspost-validate-address img { width: 18px; height: 18px; }
#swisspost-validate-address-results { display: none; padding: 16px; border: 1px solid var(--line); border-top: 0; font-size: var(--fs-small); }
#swisspost-validate-address-results p { margin: 0 0 8px; }

/* Elemente aus Akira/Modulen, die auf diesen Seiten keinen Platz haben (Bildbetrachter, Seitenmenüs, Popups …) */
.pswp, .canvas-widget, .canvas-widget-backdrop, #back-top, #axps_loading, #modal-iframe-popup, #modal_wishlist,
#search-popup, #nrtshoppingcart-modal, #modal_reviews, #moda_popupnewsletter, .breadcrumb, .page-title,
#_desktop_cart, .ax-back-to-top { display: none !important; }

/* ——— Fusszeile ——— */
#footer { margin: 0; padding: 0; background: none; }
.kb-footer__inner {
  display: grid; gap: 28px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 56px;
  /* Linie oben nur so breit wie der Inhalt (nicht über die Seitenränder) */
  background: linear-gradient(var(--line), var(--line)) no-repeat top center / calc(100% - 2 * var(--gutter)) 1px;
}
.kb-footer__brand { display: grid; gap: 14px; justify-items: start; }
.kb-footer__brand .kb-logo { height: 34px; }
.kb-footer__brand p { margin: 0; font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .06em; line-height: 1.6; text-transform: uppercase; color: var(--muted); }
.kb-footer__brand p > * { white-space: nowrap; }
.kb-footer__links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.kb-footer__links a { display: inline-flex; align-items: center; min-height: 40px; font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; }
.kb-footer__links a:hover { opacity: .55; }
@media (min-width: 900px) { .kb-footer__inner { grid-template-columns: auto 1fr; align-items: end; } .kb-footer__links { justify-content: flex-end; } }
