/* ============================================================
 * ROTHLER CHECKOUT — FULL PAGE (eigenes Design, rt-* Klassen)
 * Brand: var(--brand-primary) | Font: system UI stack
 * ============================================================ */

:root {
  --rt-brand: var(--brand-primary);
  --rt-brand-dark: var(--brand-primary-dark);
  --rt-text: #0f172a;
  --rt-text-muted: #64748b;
  --rt-text-faint: #94a3b8;
  --rt-bg: #f8fafc;
  --rt-card: #ffffff;
  --rt-border: #e2e8f0;
  --rt-border-strong: #cbd5e1;
  --rt-border-soft: #f1f5f9;
  --rt-error: #b91c1c;
  --rt-error-border: #fca5a5;
  --rt-success: #16a34a;
  --rt-radius: 12px;
  --rt-radius-sm: 8px;
  --rt-radius-lg: 16px;
  --rt-shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
  --rt-shadow-md: 0 4px 14px rgba(var(--brand-primary-rgb),0.22);
}

/* === BASE === */
body.is-checkout {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--rt-bg);
  color: var(--rt-text);
}

body.is-checkout * { font-family: inherit; }

body.is-checkout a.btn-skip-to:not(:focus) {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

body.is-checkout #consent-manager.mini {
  position: fixed;
  bottom: 16px; left: 16px;
  top: auto; right: auto;
  z-index: 50;
}

/* Container reset for checkout */
body.is-checkout #content,
body.is-checkout #content-wrapper,
body.is-checkout #result-wrapper,
body.is-checkout #checkout {
  background: transparent;
}

body.is-checkout .container.breadcrumb-container { display: none; }

body.is-checkout main#main-wrapper {
  max-width: 1320px;
  margin: 24px auto;
  padding: 0 20px;
}

/* ============================================================
 * Component 1: HEADER (rt-checkout-header)
 * ============================================================ */
.rt-checkout-header {
  background: var(--rt-card);
  border-bottom: 1px solid var(--rt-border);
  margin: 0;
  padding: 0;
}

.rt-checkout-header__logo-row {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px;
  background: var(--rt-card);
}

.rt-checkout-header__brand { display: inline-block; line-height: 0; }
.rt-checkout-header__logo { height: 48px; width: auto; display: block; }

.rt-checkout-header__trust-row {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 16px;
  background: var(--rt-bg);
  border-top: 1px solid var(--rt-border-soft);
}

.rt-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 28px;
  list-style: none; margin: 0; padding: 0;
  flex-wrap: wrap;
}

.rt-trust__item {
  display: inline-flex; align-items: center;
  gap: 7px;
  font-size: 13px; font-weight: 500;
  color: var(--rt-text-muted);
  white-space: nowrap; line-height: 1;
}

.rt-trust__icon { flex-shrink: 0; width: 16px; height: 16px; color: var(--rt-brand); }
.rt-trust__text { display: inline-block; line-height: 1; }

/* ============================================================
 * Layout — Checkout Grid (Main + Cart)
 * ============================================================ */
.rt-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: flex-start;
}

.rt-checkout__main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rt-checkout__cart { position: sticky; top: 16px; }

/* ============================================================
 * Component: STEPPER (rt-stepper)
 * ============================================================ */
.rt-stepper {
  background: var(--rt-card);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius);
  padding: 22px 28px;
  box-shadow: var(--rt-shadow-sm);
}

.rt-stepper__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  position: relative;
}

.rt-stepper__item {
  flex: 1 1 0;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
  padding: 0;
}

.rt-stepper__item:not(:last-child)::after {
  content: ""; position: absolute;
  top: 17px; left: calc(50% + 22px); right: calc(-50% + 22px);
  height: 2px; background: var(--rt-border-strong);
  z-index: 0;
}

.rt-stepper__item.rt-done:not(:last-child)::after,
.rt-stepper__item.rt-current:not(:last-child)::after { background: var(--rt-brand); }

.rt-stepper__link {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  text-decoration: none; color: inherit;
  width: 100%; padding: 0 12px;
  background: var(--rt-card);
  position: relative; z-index: 1;
}

a.rt-stepper__link { cursor: pointer; }

.rt-stepper__circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--rt-card);
  border: 2px solid var(--rt-border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  color: var(--rt-text-faint);
  transition: all 0.2s ease;
  position: relative;
}

.rt-stepper__num, .rt-stepper__check { display: block; line-height: 1; }
.rt-stepper__check { position: absolute; opacity: 0; color: #fff; }

.rt-stepper__label {
  font-size: 13px; font-weight: 500;
  color: var(--rt-text-muted);
  text-align: center; letter-spacing: -0.01em;
}

.rt-stepper__item.rt-current .rt-stepper__circle {
  background: var(--rt-brand); border-color: var(--rt-brand); color: #fff;
  box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb),0.15);
}
.rt-stepper__item.rt-current .rt-stepper__label { color: var(--rt-text); font-weight: 700; }

.rt-stepper__item.rt-done .rt-stepper__circle {
  background: var(--rt-brand); border-color: var(--rt-brand);
}
.rt-stepper__item.rt-done .rt-stepper__num { opacity: 0; }
.rt-stepper__item.rt-done .rt-stepper__check { opacity: 1; }
.rt-stepper__item.rt-done .rt-stepper__label { color: var(--rt-text); font-weight: 500; }

/* ============================================================
 * Component: EXPRESS CHECKOUT BLOCK
 * ============================================================ */
.rt-express {
  background: var(--rt-card);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-lg);
  padding: 20px 24px 0 24px;
  text-align: center;
  box-shadow: var(--rt-shadow-sm);
}

.rt-express__label {
  display: block;
  font-size: 11px; font-weight: 700;
  color: var(--rt-text-faint);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.rt-express__slot {
  min-height: 56px;
  border: 1.5px dashed var(--rt-border);
  border-radius: 10px;
  background: var(--rt-bg);
  position: relative;
}

.rt-express__slot:empty::after {
  content: "PayPal-Buttons werden auf der Live-Seite geladen";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px; color: var(--rt-text-faint);
  white-space: nowrap;
}

.rt-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 14px 0 0 0;
  padding-bottom: 20px;
  color: var(--rt-text-faint);
}

.rt-divider::before, .rt-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--rt-border);
}

.rt-divider__text {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rt-text-faint);
}

/* ============================================================
 * Component: FORM-CARD
 * ============================================================ */
.rt-form-card {
  background: var(--rt-card);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-lg);
  padding: 32px;
  box-shadow: var(--rt-shadow-sm);
}

.rt-form-card__header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--rt-border-soft); }
.rt-form-card__title {
  font-size: 22px; font-weight: 700;
  color: var(--rt-text); margin: 0 0 6px 0;
  letter-spacing: -0.02em; line-height: 1.3;
}
.rt-form-card__hint {
  font-size: 14px; color: var(--rt-text-muted);
  margin: 0;
}
.rt-required { color: var(--rt-error-border); font-weight: 700; }

/* ============================================================
 * Form Inputs — Styling JTL .form-group within .rt-form-card
 * (Wir behalten JTL Markup, stylen via Wrapper)
 * ============================================================ */

/* Form-Sections (.h3 = Name, Rechnungsadresse, Kontaktdaten) */
.rt-form-card .h3,
.rt-form-card .h2 {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--rt-text-faint) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin: 24px 0 14px 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--rt-border-soft) !important;
}

.rt-form-card .row:first-of-type .h3,
.rt-form-card .row:first-of-type .h2 { margin-top: 0 !important; }

/* JTL Outer row: Section-Title + Form-Wrapper → BEIDE 100% */
.rt-form-card > form > fieldset > .row > [class*="col-"],
.rt-form-card > form > .row > [class*="col-"],
.rt-form-card .inc-billing-address-form > .row > [class*="col-"] {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* Inner form-row für Felder */
.rt-form-card .form-row { margin: 0 -8px !important; }
.rt-form-card .form-row > [class*="col-"] { padding: 0 8px !important; }

.rt-form-card .form-row > .col-md-6,
.rt-form-card .form-row > .col-12.col-md-6 { flex: 0 0 50% !important; max-width: 50% !important; }
.rt-form-card .form-row > .col-md-4,
.rt-form-card .form-row > .col-12.col-md-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
.rt-form-card .form-row > .col-md-8,
.rt-form-card .form-row > .col-12.col-md-8 { flex: 0 0 66.666667% !important; max-width: 66.666667% !important; }
.rt-form-card .form-row > .col-md-3 { flex: 0 0 25% !important; max-width: 25% !important; }
.rt-form-card .form-row > .col-md-9 { flex: 0 0 75% !important; max-width: 75% !important; }

/* Firma + Tel/Fax → volle Breite */
.rt-form-card .form-row > [class*="col-"]:has(input[name="firma"]),
.rt-form-card .form-row > [class*="col-"]:has(input[name="tel"]),
.rt-form-card .form-row > [class*="col-"]:has(input[name="telefon"]),
.rt-form-card .form-row > [class*="col-"]:has(input[name="mobil"]),
.rt-form-card .form-row > [class*="col-"]:has(input[name="fax"]) {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* JTL Labels verstecken — wir nutzen Native Placeholder */
.rt-form-card .form-group .d-flex > label.col-form-label,
.rt-form-card .form-group label.col-form-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* Inputs */
.rt-form-card .form-group {
  margin-bottom: 12px !important;
  position: relative;
}

.rt-form-card .form-control,
.rt-form-card input[type="text"],
.rt-form-card input[type="email"],
.rt-form-card input[type="tel"],
.rt-form-card input[type="password"],
.rt-form-card input[type="number"],
.rt-form-card select.form-control,
.rt-form-card select.custom-select {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 14px 16px !important;
  background: #fff !important;
  border: 1.5px solid var(--rt-border) !important;
  border-radius: var(--rt-radius-sm) !important;
  font-size: 15px !important;
  color: var(--rt-text) !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box !important;
  font-family: 'Inter', sans-serif !important;
}

.rt-form-card input:hover, .rt-form-card select:hover { border-color: var(--rt-border-strong) !important; }
.rt-form-card input:focus, .rt-form-card select:focus, .rt-form-card .form-control:focus {
  border-color: var(--rt-brand) !important;
  box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb),0.12) !important;
  outline: none !important;
}

.rt-form-card input::placeholder, .rt-form-card select::placeholder {
  color: var(--rt-text-faint) !important;
  opacity: 1 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}

/* Error states */
.rt-form-card .form-group.has-error input,
.rt-form-card .form-group.has-error select {
  border-color: var(--rt-error-border) !important;
  background: #fffbfb !important;
}
.rt-form-card .form-error-msg,
.rt-form-card .invalid-feedback {
  display: block !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--rt-error) !important;
  margin-top: 6px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

/* Form-Card Submit-Area */
.rt-form-card__submit {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rt-border-soft);
}
.rt-form-card__privacy {
  text-align: center;
  font-size: 12px; color: var(--rt-text-muted);
  margin: 0 0 14px 0;
}
.rt-form-card__privacy a { color: var(--rt-brand); text-decoration: underline; }

/* ============================================================
 * Component: BUTTON (rt-btn)
 * ============================================================ */
.rt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--rt-brand);
  border: none;
  color: #fff;
  font-size: 16px; font-weight: 700;
  padding: 16px 28px;
  border-radius: 10px;
  min-height: 56px;
  cursor: pointer;
  box-shadow: var(--rt-shadow-md);
  transition: all 0.15s ease;
  font-family: 'Inter', sans-serif;
  text-decoration: none !important;
  letter-spacing: -0.01em;
}

.rt-btn:hover { background: var(--rt-brand-dark); transform: translateY(-1px); }
.rt-btn:active { transform: translateY(0); }
.rt-btn--block { width: 100%; }
.rt-btn__arrow { transition: transform 0.15s; }
.rt-btn:hover .rt-btn__arrow { transform: translateX(3px); }

/* ============================================================
 * Component: LIEFERADRESSE TOGGLE
 * ============================================================ */
.rt-shipping-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--rt-card);
  border: 1.5px solid var(--rt-border);
  border-radius: var(--rt-radius);
  cursor: pointer;
  margin: 20px 0;
  transition: border-color 0.15s, background 0.15s;
}

.rt-shipping-toggle:hover { border-color: var(--rt-border-strong); background: var(--rt-bg); }

.rt-shipping-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}

.rt-shipping-toggle__check {
  width: 22px; height: 22px;
  border: 2px solid var(--rt-border-strong);
  border-radius: 5px;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
  color: transparent;
}

.rt-shipping-toggle:hover .rt-shipping-toggle__check {
  border-color: var(--rt-brand);
}

.rt-shipping-toggle__input:checked + .rt-shipping-toggle__check {
  background: var(--rt-brand);
  border-color: var(--rt-brand);
  color: #fff;
}

.rt-shipping-toggle__input:focus-visible + .rt-shipping-toggle__check {
  box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb),0.18);
}

.rt-shipping-toggle__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--rt-text);
  line-height: 1.4;
}

/* Lieferadresse-Section */
.rt-shipping-section {
  background: var(--rt-bg);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius);
  padding: 24px;
  margin: 0 0 20px 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1),
              opacity 0.25s ease, padding 0.25s ease, margin 0.25s ease;
  max-height: 3000px;
  opacity: 1;
}

.rt-shipping-section--hidden {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  border-width: 0 !important;
}

/* ============================================================
 * Component: LOGIN-SECTION (unten, klein)
 * ============================================================ */
.rt-login-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--rt-border);
}

.rt-login-section__toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: none;
  color: var(--rt-text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px;
  transition: color 0.15s;
}

.rt-login-section__toggle:hover { color: var(--rt-brand); }
.rt-login-section__toggle strong { color: var(--rt-brand); font-weight: 700; }

.rt-login-section__form {
  margin: 16px auto 0 auto;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rt-login-section__form[hidden] { display: none; }

.rt-login-form__group { margin: 0; }

.rt-input {
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--rt-border);
  border-radius: var(--rt-radius-sm);
  font-size: 15px;
  background: #fff;
  color: var(--rt-text);
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.rt-input:focus {
  border-color: var(--rt-brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb),0.12);
  outline: none;
}

.rt-login-form__forgot {
  display: block;
  text-align: center;
  color: var(--rt-text-muted);
  font-size: 13px;
  text-decoration: underline;
  margin-top: 4px;
}

.rt-login-form__forgot:hover { color: var(--rt-brand); }

/* ============================================================
 * Component: MINI-CART (rt-cart)
 * ============================================================ */
.rt-cart {
  background: var(--rt-card);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-lg);
  overflow: hidden;
  box-shadow: var(--rt-shadow-sm);
}

.rt-cart__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 14px 20px;
  border-bottom: 1px solid var(--rt-border-soft);
}

.rt-cart__title {
  font-size: 14px; font-weight: 700;
  color: var(--rt-text);
  margin: 0;
  letter-spacing: -0.01em;
}

.rt-cart__count {
  font-size: 12px;
  color: var(--rt-text-muted);
  font-weight: 500;
}

.rt-cart__items {
  list-style: none; margin: 0; padding: 4px 8px;
}

.rt-cart__item {
  display: flex; align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 10px;
  transition: background 0.15s;
}

.rt-cart__item:hover { background: var(--rt-bg); }
.rt-cart__item + .rt-cart__item { border-top: 1px solid var(--rt-border-soft); }

.rt-cart__image {
  flex-shrink: 0;
  position: relative;
  width: 56px; height: 56px;
  border: 1px solid var(--rt-border-soft);
  border-radius: 8px;
  overflow: visible;
  background: var(--rt-bg);
  display: flex; align-items: center; justify-content: center;
}

.rt-cart__image img {
  max-width: 90%; max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
}

.rt-cart__qty {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  background: var(--rt-text);
  color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff, 0 2px 4px rgba(15,23,42,0.15);
}

.rt-cart__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }

.rt-cart__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  color: var(--rt-text);
  line-height: 1.4;
  text-decoration: none;
}

.rt-cart__name:hover { color: var(--rt-brand); }

.rt-cart__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--rt-text);
}

.rt-cart__footer {
  padding: 16px 20px 20px 20px;
  background: var(--rt-bg);
  border-top: 1px solid var(--rt-border);
}

.rt-cart__row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
  color: var(--rt-text-muted);
  padding: 4px 0;
}

.rt-cart__total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--rt-border);
}

.rt-cart__total-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--rt-text);
}

.rt-cart__total-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--rt-text);
  letter-spacing: -0.02em;
}

/* ============================================================
 * Alerts
 * ============================================================ */
.rt-alert {
  padding: 12px 16px;
  border-radius: var(--rt-radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.rt-alert--error {
  background: #fef2f2;
  border: 1px solid var(--rt-error-border);
  color: var(--rt-error);
}

/* ============================================================
 * MOBILE (< 992px) — Single Column
 * ============================================================ */
@media (max-width: 991px) {
  body.is-checkout main#main-wrapper {
    padding: 0 12px;
    margin: 16px auto;
  }

  .rt-checkout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rt-checkout__cart {
    position: static;
    order: -1; /* Cart oben auf Mobile */
  }

  .rt-form-card { padding: 20px 16px; border-radius: var(--rt-radius); }

  .rt-stepper { padding: 16px 12px; border-radius: var(--rt-radius); }
  .rt-stepper__circle { width: 32px !important; height: 32px !important; font-size: 13px !important; }
  .rt-stepper__item:not(:last-child)::after { top: 16px !important; left: calc(50% + 20px) !important; right: calc(-50% + 20px) !important; }
  .rt-stepper__label { font-size: 11px !important; }

  .rt-form-card .form-row > [class*="col-"] { flex: 0 0 100% !important; max-width: 100% !important; }

  .rt-form-card input, .rt-form-card select { font-size: 16px !important; height: 48px !important; }

  .rt-form-card__title { font-size: 18px; }

  .rt-cart__items { max-height: 280px; overflow-y: auto; }

  .rt-btn { font-size: 15px; padding: 14px 22px; min-height: 52px; }
}

@media (max-width: 768px) {
  .rt-checkout-header__logo-row { padding: 14px 12px; }
  .rt-checkout-header__logo { height: 36px; }
  .rt-checkout-header__trust-row { padding: 10px 12px; }
  .rt-trust { gap: 18px; }
  .rt-trust__item { font-size: 11px; gap: 5px; }
  .rt-trust__icon { width: 13px; height: 13px; }
}

@media (max-width: 380px) {
  .rt-trust { gap: 12px; }
  .rt-trust__text { font-size: 10px; }
}

/* A11y: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
 * V-Fix: JTL H1 + Required-Info Styling + Placeholder Color
 * ============================================================ */

/* JTL native <h1> in inc_billing_address_form.tpl */
.rt-form-card h1,
.rt-form-card > form fieldset > h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--rt-text);
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
  padding: 0;
  border: none;
}

/* JTL .required-info Alle mit backups CLAUDE.md docs patches markierten Felder… */
.rt-form-card .required-info {
  font-size: 14px;
  color: var(--rt-text-muted);
  margin: 0 0 24px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rt-border-soft);
}

.rt-form-card .required-info .required-star {
  color: var(--rt-error-border);
  font-weight: 700;
}

/* Placeholder dunkler (#64748b statt #94a3b8) */
.rt-form-card input::placeholder,
.rt-form-card select::placeholder,
.rt-form-card textarea::placeholder {
  color: var(--rt-text-muted) !important;
  opacity: 1 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}

@media (max-width: 768px) {
  .rt-form-card h1 { font-size: 18px; }
  .rt-form-card .required-info { margin-bottom: 18px; padding-bottom: 14px; font-size: 13px; }
}

/* === Stepper Abstand zur naechsten Section === */
.rt-stepper {
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .rt-stepper {
    margin-bottom: 16px;
  }
}

/* ============================================================
 * MINI-CART V2 — Minimaler Header + Sticky-Footer Gesamtsumme
 * Conversion-optimiert: prominent Total, klare Hierarchie
 * ============================================================ */

.rt-cart {
  background: var(--rt-card);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-lg);
  overflow: hidden;
  box-shadow: var(--rt-shadow-sm);
  display: flex;
  flex-direction: column;
  position: static !important;
}

.rt-cart__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  background: #ffffff !important;
  border-bottom: 1px solid var(--rt-border-soft) !important;
  position: static !important;
  top: auto !important;
}

.rt-cart__title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rt-cart__icon {
  width: 18px;
  height: 18px;
  color: var(--rt-brand);
  flex-shrink: 0;
}

.rt-cart__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--rt-text);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1;
}

.rt-cart__count {
  font-size: 12px;
  font-weight: 500;
  color: var(--rt-text-muted);
  background: var(--rt-bg);
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1;
}

.rt-cart__items {
  list-style: none;
  margin: 0;
  padding: 6px 8px;
  flex: 1 1 auto;
}

.rt-cart__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 10px;
  transition: background 0.15s;
}

.rt-cart__item:hover { background: var(--rt-bg); }
.rt-cart__item + .rt-cart__item { border-top: 1px solid var(--rt-border-soft); }

.rt-cart__image {
  flex-shrink: 0;
  position: relative;
  width: 56px;
  height: 56px;
  border: 1px solid var(--rt-border-soft);
  border-radius: 8px;
  background: var(--rt-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rt-cart__image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.rt-cart__qty {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--rt-text);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 0 2px #ffffff, 0 2px 4px rgba(15,23,42,0.15);
}

.rt-cart__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rt-cart__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  color: var(--rt-text);
  line-height: 1.4;
  text-decoration: none;
}

.rt-cart__name:hover { color: var(--rt-brand); }

.rt-cart__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--rt-text);
}

/* === FOOTER: Gesamtsumme prominent === */
.rt-cart__footer {
  padding: 18px 20px !important;
  background: var(--rt-bg) !important;
  border-top: 1px solid var(--rt-border) !important;
  position: static !important;
  top: auto !important;
}

.rt-cart__total {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 !important;
}

.rt-cart__total-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--rt-text);
  letter-spacing: -0.01em;
}

.rt-cart__total-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--rt-text);
  letter-spacing: -0.025em;
  line-height: 1;
}

.rt-cart__shipping-note {
  font-size: 11px;
  font-weight: 500;
  color: var(--rt-text-muted);
  text-align: right;
  margin-top: 4px;
}

/* === STICKY: Cart bleibt sichtbar beim Scrollen (Desktop) === */
@media (min-width: 992px) {
  .rt-checkout__cart {
    position: sticky !important;
    top: 24px !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 48px);
  }

  .rt-cart {
    max-height: calc(100vh - 48px);
  }

  .rt-cart__items {
    overflow-y: auto;
    max-height: calc(100vh - 250px);
  }

  /* Scrollbar minimal */
  .rt-cart__items::-webkit-scrollbar { width: 4px; }
  .rt-cart__items::-webkit-scrollbar-track { background: transparent; }
  .rt-cart__items::-webkit-scrollbar-thumb {
    background: var(--rt-border-strong);
    border-radius: 4px;
  }
}

@media (max-width: 991px) {
  .rt-cart__items {
    max-height: 280px;
    overflow-y: auto;
  }
  .rt-cart__total-value { font-size: 22px; }
}

/* ============================================================
 * BASKET — Iteration 1: 2-Spalten Skeleton
 * Layout: Items links lg=8, Summary rechts lg=4 sticky
 * Mobile: stacked
 * ============================================================ */

body.is-cart {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--rt-bg);
  color: var(--rt-text);
}

body.is-cart * { font-family: inherit; }

body.is-cart main#main-wrapper {
  max-width: 1320px;
  margin: 24px auto;
  padding: 0 20px;
}

body.is-cart .container.breadcrumb-container { display: none; }

/* === BASKET WRAPPER === */
.rt-basket {
  width: 100%;
}

.rt-basket__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 20px 0;
  padding: 0 4px;
}

.rt-basket__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--rt-text);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.rt-basket__count {
  font-size: 14px;
  font-weight: 500;
  color: var(--rt-text-muted);
}

/* === LAYOUT GRID === */
.rt-basket__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: flex-start;
}

.rt-basket__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rt-basket__side {
  position: sticky;
  top: 24px;
}

/* === ITEMS PLACEHOLDER (cart_items.tpl bleibt vorerst JTL-Default) === */
.rt-basket__items {
  background: var(--rt-card);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-lg);
  padding: 8px;
  box-shadow: var(--rt-shadow-sm);
}

.rt-basket-form {
  margin: 0;
}

/* === CONTINUE SHOPPING === */
.rt-basket__continue {
  padding: 4px 4px;
}

.rt-basket__continue-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rt-text-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.rt-basket__continue-link:hover {
  color: var(--rt-brand);
}

/* === SUMMARY CARD === */
.rt-summary {
  background: var(--rt-card);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-lg);
  padding: 24px;
  box-shadow: var(--rt-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Placeholder-Slots zeigen sich erst wenn gefuellt (data-placeholder noch leer) */
.rt-summary__progress-slot:empty,
.rt-summary__coupon-slot:empty,
.rt-summary__rows-slot:empty,
.rt-summary__trust-slot:empty {
  display: none;
}

/* === TOTAL === */
.rt-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0 0 0;
  border-top: 1px solid var(--rt-border-soft);
}

.rt-summary__total-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--rt-text);
}

.rt-summary__total-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--rt-text);
  letter-spacing: -0.025em;
  line-height: 1;
}

.rt-summary__total-note {
  font-size: 12px;
  color: var(--rt-text-muted);
  text-align: right;
  margin-top: -8px;
}

/* === CTA === */
.rt-summary__cta {
  margin-top: 8px;
}

/* === EMPTY STATE === */
.rt-basket__empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--rt-card);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-lg);
}

.rt-basket__empty svg {
  color: var(--rt-text-faint);
  margin-bottom: 20px;
}

.rt-basket__empty h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--rt-text);
  margin: 0 0 8px 0;
}

.rt-basket__empty p {
  font-size: 14px;
  color: var(--rt-text-muted);
  margin: 0 0 24px 0;
}

/* === MOBILE === */
@media (max-width: 991px) {
  body.is-cart main#main-wrapper {
    padding: 0 12px;
    margin: 16px auto;
  }

  .rt-basket__layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rt-basket__side {
    position: static;
    top: auto;
  }

  .rt-basket__header {
    margin-bottom: 14px;
  }

  .rt-basket__title {
    font-size: 22px;
  }

  .rt-summary {
    padding: 20px 16px;
  }

  .rt-summary__total-value {
    font-size: 24px;
  }
}

/* ============================================================
 * BASKET — Iteration 2-5: Polish (Coupon + Rows + Trust + Items)
 * ============================================================ */

/* === Header schöner === */
.rt-basket__header {
  padding: 0 4px 16px 4px;
  border-bottom: 1px solid var(--rt-border-soft);
}

/* === Items Card: Padding + Hierarchie === */
.rt-basket__items {
  padding: 16px 20px;
}

/* JTL-Default cart-items-body STYLING — eigene rt-* Override */
.rt-basket__items .cart-items-header {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--rt-text-faint) !important;
  border: none !important;
  margin: 0 0 8px 0 !important;
  padding: 0 0 8px 0 !important;
  border-bottom: 1px solid var(--rt-border-soft) !important;
}

.rt-basket__items .cart-items-header .col {
  padding: 0 8px !important;
}

.rt-basket__items .cart-items-header + hr,
.rt-basket__items .cart-items-body + .col-12 > hr {
  display: none !important;
}

.rt-basket__items .cart-items-body {
  padding: 16px 0 !important;
  border-bottom: 1px solid var(--rt-border-soft) !important;
}

.rt-basket__items .cart-items-body:last-child {
  border-bottom: none !important;
}

.rt-basket__items .cart-items-body.type-3,
.rt-basket__items .cart-items-body.type-7 {
  display: none !important;
}

/* Bilder kleiner und konsistent */
.rt-basket__items .cart-items-image img,
.rt-basket__items .cart-items-image picture {
  max-width: 100px !important;
  max-height: 100px !important;
  border-radius: 8px !important;
  border: 1px solid var(--rt-border-soft) !important;
  background: var(--rt-bg) !important;
  padding: 6px !important;
  object-fit: contain !important;
}

/* Name */
.rt-basket__items .cart-items-name {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--rt-text) !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

.rt-basket__items .cart-items-name:hover { color: var(--rt-brand) !important; }

/* Stückpreis */
.rt-basket__items .cart-items-single-price,
.rt-basket__items .cart-items-price {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--rt-text-muted) !important;
}

.rt-basket__items .price_overall {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--rt-text) !important;
}

.rt-basket__items .cart-items-price-text {
  font-weight: 500 !important;
  color: var(--rt-text-muted) !important;
  font-size: 12px !important;
  margin-right: 4px;
}

@media (min-width: 1200px) {
  .rt-basket__items .cart-items-price-text {
    display: none !important;
  }
}

/* Quantity Spinner */
.rt-basket__items .qty-wrapper .input-group,
.rt-basket__items .form-counter {
  max-width: 120px !important;
  border: 1.5px solid var(--rt-border) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #fff;
}

.rt-basket__items .btn-decrement,
.rt-basket__items .btn-increment {
  background: var(--rt-bg) !important;
  border: none !important;
  color: var(--rt-text) !important;
  padding: 0 12px !important;
  cursor: pointer !important;
  font-size: 12px !important;
  transition: background 0.15s !important;
}

.rt-basket__items .btn-decrement:hover,
.rt-basket__items .btn-increment:hover {
  background: var(--rt-border-soft) !important;
  color: var(--rt-brand) !important;
}

.rt-basket__items .quantity {
  border: none !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  height: 36px !important;
  background: #fff !important;
}

/* Trash / Entfernen */
.rt-basket__items .cart-items-delete-button {
  background: none !important;
  border: none !important;
  color: var(--rt-text-muted) !important;
  font-size: 12px !important;
  padding: 6px 8px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: color 0.15s !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.rt-basket__items .cart-items-delete-button:hover {
  color: #ef4444 !important;
}

.rt-basket__items .cart-items-delete-button .fa-trash-alt {
  font-size: 12px !important;
}

/* SKU + Versandgewicht: dezent unter Items */
.rt-basket__items .list-unstyled li.sku,
.rt-basket__items .list-unstyled li.weight {
  font-size: 11px !important;
  color: var(--rt-text-muted) !important;
  margin: 0 8px 0 0 !important;
  display: inline-block !important;
}

.rt-basket__items .list-unstyled li.sku strong,
.rt-basket__items .list-unstyled li.weight strong {
  font-weight: 600 !important;
}

/* === SUMMARY PROOF === */
.rt-summary-proof {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  background: #f8fbff;
  border: 1px solid #d7e8f7;
  border-radius: 10px;
  margin: 0;
}

.rt-summary-proof__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--rt-brand);
  background: #edf6ff;
  border: 1px solid var(--brand-tint-soft);
}

.rt-summary-proof__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}

.rt-summary-proof__text strong {
  font-size: 13px;
  font-weight: 750;
  color: var(--rt-text);
}

.rt-summary-proof__text span {
  font-size: 11.5px;
  color: var(--rt-text-muted);
}

/* === COUPON === */
.rt-coupon {
  border: 1px solid var(--rt-border);
  border-radius: 10px;
  background: var(--rt-card);
}

.rt-coupon__toggle {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--rt-text-muted);
  user-select: none;
}

.rt-coupon__toggle::-webkit-details-marker { display: none; }
.rt-coupon__toggle svg:first-of-type { color: var(--rt-brand); flex-shrink: 0; }
.rt-coupon__toggle span { flex: 1; }
.rt-coupon__chevron { transition: transform 0.2s; flex-shrink: 0; }

.rt-coupon[open] .rt-coupon__chevron { transform: rotate(180deg); }
.rt-coupon[open] .rt-coupon__toggle { color: var(--rt-text); border-bottom: 1px solid var(--rt-border-soft); }

.rt-coupon__body { padding: 12px 14px; }

.rt-coupon__form {
  display: flex;
  gap: 8px;
}

.rt-coupon__input {
  flex: 1;
  height: 40px;
  padding: 10px 12px;
  border: 1.5px solid var(--rt-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--rt-text);
  transition: border-color 0.15s;
}

.rt-coupon__input:focus {
  border-color: var(--rt-brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb),0.12);
}

.rt-coupon__submit {
  height: 40px;
  padding: 0 16px;
  background: var(--rt-text);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  font-family: 'Inter', sans-serif;
}

.rt-coupon__submit:hover { background: #1e293b; }

.rt-coupon--secondary {
  margin-top: 2px;
  background: #fbfdff;
  border-color: #dbe5ef;
}

.rt-coupon--secondary .rt-coupon__toggle {
  min-height: 44px;
  color: #64748b;
}

/* === SUMMARY ROWS === */
.rt-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}

.rt-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.rt-summary__row-label { color: var(--rt-text-muted); }

.rt-summary__row-value {
  font-weight: 600;
  color: var(--rt-text);
}

.rt-summary__shipping-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid #cfe5f8;
  border-radius: 999px;
  background: #f4f9ff;
  color: var(--rt-brand);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.rt-summary__shipping-chip svg {
  flex: 0 0 13px;
}

.rt-summary__row-value--success {
  color: var(--rt-brand);
  font-weight: 700;
}

.rt-summary__row--small { font-size: 12px; }
.rt-summary__row--small .rt-summary__row-label,
.rt-summary__row--small .rt-summary__row-value { color: var(--rt-text-muted); font-weight: 500; }

.rt-summary__row--discount {
  align-items: flex-start;
  padding: 6px 0;
  border-top: 1px solid rgba(215, 232, 247, 0.75);
  border-bottom: 1px solid rgba(215, 232, 247, 0.75);
}

.rt-summary__row--discount .rt-summary__row-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: var(--rt-text);
  font-weight: 650;
  line-height: 1.25;
}

.rt-summary__row--discount .rt-summary__row-label small {
  color: var(--rt-text-muted);
  font-size: 10.5px;
  font-weight: 500;
}

.rt-summary__row--discount .rt-summary__row-value {
  color: #0a7c66;
  font-weight: 800;
}

.rt-summary__row--after-discount .rt-summary__row-label,
.rt-summary__row--after-discount .rt-summary__row-value {
  font-weight: 700;
  color: var(--rt-text);
}

/* === TRUST ROW === */
.rt-summary__trust {
  list-style: none;
  margin: 2px 0 0 0;
  padding: 12px 0 0 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--rt-border-soft);
}

.rt-summary__trust-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: start;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--rt-text-muted);
}

.rt-summary__trust-item svg {
  color: var(--rt-brand);
  width: 15px;
  height: 15px;
  margin-top: 2px;
}

.rt-summary__trust-item strong {
  display: block;
  color: var(--rt-text);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.rt-summary__trust-item small {
  display: block;
  margin-top: 1px;
  color: var(--rt-text-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.rt-summary__next-step {
  margin: -6px 0 0 0;
  color: var(--rt-text-muted);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

/* === Mobile === */
@media (max-width: 991px) {
  .rt-basket__items { padding: 12px 14px; }
  .rt-basket__items .cart-items-image img,
  .rt-basket__items .cart-items-image picture { max-width: 80px !important; max-height: 80px !important; }
  .rt-basket__items .cart-items-header { display: none !important; }
  .rt-summary__total-value { font-size: 24px; }
  .rt-summary__trust { gap: 8px; }
  .rt-summary__trust-item { font-size: 12px; }
}

/* ============================================================
 * BASKET — Mobile Polish: Spacing, Padding, Skip-Link
 * ============================================================ */

/* Skip-Link verstecken auf Cart (war nur fuer checkout aktiv) */
body.is-cart a.btn-skip-to:not(:focus),
body.is-cart .btn-skip-to:not(:focus) {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
}

/* Container-Padding sauberer */
body.is-cart main#main-wrapper {
  max-width: 1320px;
  margin: 32px auto;
  padding: 0 20px;
}

/* Header: konsistentes Spacing */
.rt-basket__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 24px 0;
  padding: 0;
  border: none;
}

.rt-basket__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.1;
}

.rt-basket__count {
  font-size: 14px;
  font-weight: 500;
  color: var(--rt-text-muted);
}

/* Items-Card */
.rt-basket__items {
  padding: 20px 24px;
}

/* Continue-Link konsistenter abstand */
.rt-basket__continue {
  padding: 0 4px;
  margin-top: 4px;
}

/* === MOBILE FIXES === */
@media (max-width: 991px) {
  body.is-cart main#main-wrapper {
    padding: 0 16px;
    margin: 20px auto;
  }

  .rt-basket__header {
    margin: 0 0 18px 0;
    flex-wrap: wrap;
    gap: 8px;
  }

  .rt-basket__title {
    font-size: 24px;
  }

  .rt-basket__count {
    font-size: 13px;
  }

  .rt-basket__layout {
    gap: 16px;
  }

  /* Items-Card kompakter auf Mobile aber mit ordentlichem Padding */
  .rt-basket__items {
    padding: 12px 14px;
  }

  /* JTL Cart-Items innere Cols auf mobile sauber stack */
  .rt-basket__items .cart-items-body {
    padding: 14px 0 !important;
  }

  .rt-basket__items .cart-items-body .row.align-items-baseline {
    gap: 6px 0;
  }

  /* Quantity-Wrapper zentriert auf Mobile */
  .rt-basket__items .qty-wrapper {
    max-width: 140px;
  }

  /* Entfernen rechtsbündig */
  .rt-basket__items .cart-items-delete {
    text-align: right;
    padding-top: 4px !important;
  }

  /* Continue-Link auf eigene Zeile mit margin */
  .rt-basket__continue {
    padding: 4px 0 0 0;
    margin-top: 8px;
  }

  /* Summary mit padding gleich wie items-card */
  .rt-summary {
    padding: 18px 18px;
  }
}

@media (max-width: 480px) {
  body.is-cart main#main-wrapper {
    padding: 0 12px;
  }

  .rt-basket__title {
    font-size: 22px;
  }

  .rt-basket__items {
    padding: 10px 12px;
  }
}

/* ============================================================
 * BASKET — Container Fix: direkt auf .rt-basket statt parent
 * ============================================================ */

.rt-basket {
  max-width: 1320px;
  margin: 32px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Reset main-wrapper-padding falls da */
body.is-cart main#main-wrapper {
  max-width: none;
  margin: 0;
  padding: 0;
}

body.is-cart #content,
body.is-cart #content-wrapper,
body.is-cart #result-wrapper {
  padding: 0;
  background: transparent;
}

/* Falls JTL einen .container Wrapper hat — auf 100% setzen */
body.is-cart .container,
body.is-cart .container-fluid,
body.is-cart #checkout {
  max-width: none;
  padding: 0;
}

@media (max-width: 991px) {
  .rt-basket {
    margin: 20px auto;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .rt-basket {
    padding: 0 12px;
  }
}

/* ============================================================
 * BASKET — Mobile Fixes: Skip-Link, Compactness, Sticky-CTA
 * ============================================================ */

/* === Skip-Link HARD-HIDE auf Cart (aggressivere Selektoren) === */
body.is-cart > a.btn-skip-to,
body.is-cart a[href="#main-wrapper"],
body.is-cart a[href="#main"],
body.is-cart .btn-skip-to,
body a.btn-skip-to:not(:focus) {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
}

body a.btn-skip-to:focus,
body .btn-skip-to:focus {
  position: fixed !important;
  left: 16px !important;
  top: 16px !important;
  width: auto !important;
  height: auto !important;
  padding: 10px 16px !important;
  background: #0f172a !important;
  color: #fff !important;
  border-radius: 8px !important;
  z-index: 9999 !important;
  clip: auto !important;
}

/* === STICKY MOBILE CTA BAR === */
.rt-mobile-cta {
  display: none;
}

@media (max-width: 991px) {
  .rt-mobile-cta {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff;
    border-top: 1px solid var(--rt-border);
    padding: 12px 16px;
    box-shadow: 0 -4px 14px rgba(15,23,42,0.08);
  }

  .rt-mobile-cta__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
  }

  .rt-mobile-cta__label {
    font-size: 11px;
    font-weight: 500;
    color: var(--rt-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .rt-mobile-cta__value {
    font-size: 20px;
    font-weight: 800;
    color: var(--rt-text);
    letter-spacing: -0.025em;
  }

  .rt-mobile-cta__btn {
    flex-shrink: 0;
    padding: 12px 20px !important;
    min-height: 48px !important;
    font-size: 14px !important;
  }

  /* Body padding-bottom damit content nicht hinter sticky CTA */
  body.is-cart {
    padding-bottom: 80px;
  }

  /* Items kompakter auf Mobile */
  .rt-basket__items .cart-items-body {
    padding: 14px 0 !important;
  }

  /* Items-Card weniger luftig */
  .rt-basket__items {
    padding: 8px 14px;
  }

  /* Header weniger margin */
  .rt-basket__header {
    margin: 0 0 14px 0;
  }

  /* Layout-Gap kompakter */
  .rt-basket__layout {
    gap: 12px;
  }

  /* Quantity-Spinner kompakter */
  .rt-basket__items .qty-wrapper .input-group,
  .rt-basket__items .form-counter {
    max-width: 130px !important;
  }

  /* Continue-Link nicht zu viel margin */
  .rt-basket__continue {
    padding: 4px 0 0 0;
  }
}

/* ============================================================
 * Mobile Sticky CTA — Compact checkout helper
 * ============================================================ */

@media (max-width: 991px) {
  /* Outer container wird zum Stack */
  .rt-mobile-cta {
    flex-direction: column !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .rt-mobile-cta__banner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 6px 16px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-bottom: 1px solid #dcfce7;
  }

  .rt-mobile-cta__banner svg {
    flex-shrink: 0;
    stroke-width: 3;
  }

  /* Innere Bar — bekommt jetzt das Padding */
  .rt-mobile-cta__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
  }

  /* Body-padding-bottom damit content nicht hinter der kompakten Bar liegt */
  body.is-cart {
    padding-bottom: 76px !important;
  }
}

/* ============================================================
 * BASKET — Mobile Item Card Polish (Conversion Optimized)
 * Layout: 76px image | 1fr content | X-icon absolute top-right
 * ============================================================ */

@media (max-width: 991px) {

  /* ── Card Container: kompaktes Padding, position-anchor für X ── */
  .rt-basket__items .cart-items-body {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 76px 1fr !important;
    grid-template-areas:
      "img name"
      "img meta"
      "controls controls" !important;
    column-gap: 14px !important;
    row-gap: 6px !important;
    padding: 14px 12px !important;
    margin: 0 !important;
    align-items: start !important;
  }

  /* Hr/Divider zwischen Items kompakter */
  .rt-basket__items hr {
    margin: 0 !important;
    border-color: var(--rt-border) !important;
    opacity: 0.6;
  }

  /* ── Image: 76x76, abgerundet ── */
  .rt-basket__items .cart-items-image {
    grid-area: img !important;
    width: 76px !important;
    max-width: 76px !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .rt-basket__items .cart-items-image img,
  .rt-basket__items .cart-items-image picture,
  .rt-basket__items .cart-items-image .image-wrapper {
    width: 76px !important;
    height: 76px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid var(--rt-border) !important;
    background: #fafafa;
  }

  /* ── Content Col (1fr): nimmt name+meta ── */
  .rt-basket__items .cart-items-body > .col,
  .rt-basket__items .cart-items-body > [class*='col-']:not(.cart-items-image):not(.cart-items-delete) {
    grid-column: 2 !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
  }

  /* Inner row der Content-Col — flachklopfen */
  .rt-basket__items .cart-items-body > .col > .row,
  .rt-basket__items .cart-items-body > [class*='col-']:not(.cart-items-image) > .row {
    display: block !important;
    margin: 0 !important;
  }

  .rt-basket__items .cart-items-body > .col > .row > [class*='col-'] {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
  }

  /* ── Produkt-Name: 14px / 1.35, max 2 Zeilen ── */
  .rt-basket__items .cart-items-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: var(--rt-text) !important;
    padding-right: 36px !important; /* Platz für X-Icon */
    margin: 0 0 6px 0 !important;
  }

  /* ── Meta-Info (Artikelnummer + Gewicht) → inline klein ── */
  .rt-basket__items .product-info,
  .rt-basket__items .cart-item-meta,
  .rt-basket__items .text-muted-util {
    font-size: 11px !important;
    color: var(--rt-text-muted) !important;
    margin: 0 0 4px 0 !important;
  }

  /* Stückpreis dezent */
  .rt-basket__items .cart-items-price-single,
  .rt-basket__items .price-single,
  .rt-basket__items [class*='single-price'] {
    font-size: 12px !important;
    color: var(--rt-text-muted) !important;
    margin: 0 0 8px 0 !important;
  }

  /* ── Quantity-Spinner + Gesamtpreis in einer Zeile ── */
  .rt-basket__items .qty-wrapper,
  .rt-basket__items .input-group,
  .rt-basket__items .form-counter {
    max-width: 110px !important;
    margin: 0 !important;
  }

  .rt-basket__items .qty-wrapper .form-control,
  .rt-basket__items .input-group .form-control {
    height: 36px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  .rt-basket__items .qty-wrapper .btn,
  .rt-basket__items .input-group .btn {
    height: 36px !important;
    width: 36px !important;
    padding: 0 !important;
  }

  /* Gesamtpreis prominent */
  .rt-basket__items .cart-items-price,
  .rt-basket__items .price-total,
  .rt-basket__items [class*='price']:not([class*='single']):not([class*='price-text']) {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--rt-text) !important;
    letter-spacing: -0.02em;
  }

  /* ── X-Icon (Entfernen) — absolute top-right ── */
  .rt-basket__items .cart-items-delete {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 2;
  }

  .rt-basket__items .cart-items-delete-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #f1f5f9 !important;
    border: 1px solid var(--rt-border) !important;
    border-radius: 50% !important;
    color: #64748b !important;
    font-size: 0 !important; /* hide "Entfernen" text */
    line-height: 1 !important;
    transition: all 0.15s ease;
  }

  .rt-basket__items .cart-items-delete-button:hover,
  .rt-basket__items .cart-items-delete-button:focus {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
  }

  /* Trash-Icon durch X-Icon ersetzen — via pseudo */
  .rt-basket__items .cart-items-delete-button .fas,
  .rt-basket__items .cart-items-delete-button .fa-trash-alt {
    display: none !important;
  }

  .rt-basket__items .cart-items-delete-button::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .rt-basket__items .cart-items-delete-button:hover::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
  }

  /* Wishlist-Button im Delete-Col verstecken auf Mobile */
  .rt-basket__items .cart-items-delete .wishlist-link,
  .rt-basket__items .cart-items-delete [class*='wishlist'] {
    display: none !important;
  }

  /* ── Spinner + Preis nebeneinander (justify-between) ── */
  .rt-basket__items .cart-items-body > .col > .row > .quantity-col,
  .rt-basket__items .cart-items-body > .col > .row > [class*='quantity'],
  .rt-basket__items .cart-items-body > .col > .row > .price-col,
  .rt-basket__items .cart-items-body > .col > .row > [class*='cart-items-price'] {
    display: inline-block !important;
    width: 50% !important;
    vertical-align: middle !important;
    margin: 0 !important;
  }

  /* Label "Preis:" verstecken (redundant) */
  .rt-basket__items .cart-items-price > .text-muted-util:first-child,
  .rt-basket__items .cart-items-price-single > .text-muted-util:first-child,
  .rt-basket__items .price-label {
    display: none !important;
  }
}

/* ============================================================
 * BASKET — Mobile Item Card FIX (Flexbox statt Grid)
 * Overrides die kaputten Grid-Rules von oben
 * ============================================================ */

@media (max-width: 991px) {

  /* OVERRIDE: .cart-items-body als Flexbox (statt Grid) */
  .rt-basket__items .cart-items-body,
  .rt-basket__items .cart-items-body.row {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 14px 12px !important;
    margin: 0 !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
  }

  /* Image-Col: fix 76px */
  .rt-basket__items .cart-items-image,
  .rt-basket__items .cart-items-body > .cart-items-image {
    flex: 0 0 76px !important;
    width: 76px !important;
    max-width: 76px !important;
    padding: 0 !important;
    margin: 0 !important;
    grid-column: auto !important;
    grid-area: auto !important;
  }

  .rt-basket__items .cart-items-image img,
  .rt-basket__items .cart-items-image picture,
  .rt-basket__items .cart-items-image .image-wrapper,
  .rt-basket__items .cart-items-image a {
    display: block !important;
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    max-height: 76px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid var(--rt-border) !important;
    background: #fafafa !important;
    margin: 0 !important;
  }

  /* Content-Col (.col ohne explizite Breite): nimmt Rest */
  .rt-basket__items .cart-items-body > .col {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    grid-column: auto !important;
    grid-area: auto !important;
  }

  /* Innere Row im Content-Col flach machen */
  .rt-basket__items .cart-items-body > .col > .row {
    display: block !important;
    margin: 0 !important;
    position: static !important;
  }

  .rt-basket__items .cart-items-body > .col > .row > [class*='col'] {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 0 6px 0 !important;
    position: static !important;
  }

  /* HR-Col full width */
  .rt-basket__items .cart-items-body > .col-12 {
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 8px 0 0 0 !important;
    grid-column: auto !important;
  }

  /* Product-Name: 2-Line Clamp + Platz fuer X-Icon */
  .rt-basket__items .cart-items-name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: var(--rt-text) !important;
    padding-right: 36px !important;
    margin: 0 0 6px 0 !important;
    text-decoration: none !important;
  }

  /* X-Icon: ABSOLUTE auf .cart-items-body */
  .rt-basket__items .cart-items-body .cart-items-delete {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
    width: 32px !important;
    max-width: 32px !important;
    z-index: 5 !important;
  }

  .rt-basket__items .cart-items-delete-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #f1f5f9 !important;
    border: 1px solid var(--rt-border) !important;
    border-radius: 50% !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: -9999px !important;
  }

  .rt-basket__items .cart-items-delete-button:hover,
  .rt-basket__items .cart-items-delete-button:focus {
    background: #fee2e2 !important;
    border-color: #fecaca !important;
  }

  .rt-basket__items .cart-items-delete-button .fas,
  .rt-basket__items .cart-items-delete-button .fa-trash-alt,
  .rt-basket__items .cart-items-delete-button > span:not(.x-icon) {
    display: none !important;
  }

  .rt-basket__items .cart-items-delete-button::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 14px !important;
    height: 14px !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    text-indent: 0 !important;
  }

  .rt-basket__items .cart-items-delete-button:hover::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>") !important;
  }

  /* Wishlist im Delete-Col mobil ausblenden */
  .rt-basket__items .cart-items-delete .wishlist-link,
  .rt-basket__items .cart-items-delete [class*='wishlist'] {
    display: none !important;
  }
}

/* ============================================================
 * BASKET — Mobile Final Polish v3
 * Image groesser, Titel voll sichtbar, X-Icon zuverlaessig top-right
 * ============================================================ */

@media (max-width: 991px) {

  /* Image groesser: 100x100 */
  .rt-basket__items .cart-items-image,
  .rt-basket__items .cart-items-body > .cart-items-image {
    flex: 0 0 100px !important;
    width: 100px !important;
    max-width: 100px !important;
  }

  .rt-basket__items .cart-items-image img,
  .rt-basket__items .cart-items-image picture,
  .rt-basket__items .cart-items-image .image-wrapper,
  .rt-basket__items .cart-items-image a {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
  }

  /* Titel: KEIN Line-Clamp mehr — voll sichtbar, Platz fuer X-Icon */
  .rt-basket__items .cart-items-name {
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    white-space: normal !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    color: var(--rt-text) !important;
    padding-right: 44px !important;
    margin: 0 0 8px 0 !important;
    word-break: break-word;
    hyphens: auto;
  }

  /* === X-ICON FIX: display:contents auf Col + Absolute auf Button === */
  /* .cart-items-delete (col) wird transparent fuers Layout */
  .rt-basket__items .cart-items-body .cart-items-delete,
  .rt-basket__items form .cart-items-delete,
  .rt-basket__items .cart-items-body [class*='col'].cart-items-delete {
    display: contents !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Button selbst wird absolute positioniert relativ zu .cart-items-body */
  .rt-basket__items .cart-items-body .cart-items-delete-button,
  .rt-basket__items form button.cart-items-delete-button {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #f1f5f9 !important;
    border: 1px solid var(--rt-border) !important;
    border-radius: 50% !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: -9999px !important;
    z-index: 5 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: all 0.15s ease;
  }

  .rt-basket__items .cart-items-delete-button:hover,
  .rt-basket__items .cart-items-delete-button:focus,
  .rt-basket__items .cart-items-delete-button:active {
    background: #fee2e2 !important;
    border-color: #fecaca !important;
    transform: scale(1.05);
  }

  .rt-basket__items .cart-items-delete-button .fas,
  .rt-basket__items .cart-items-delete-button .fa-trash-alt,
  .rt-basket__items .cart-items-delete-button i {
    display: none !important;
  }

  .rt-basket__items .cart-items-delete-button::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 14px !important;
    height: 14px !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    text-indent: 0 !important;
  }
}

/* ============================================================
 * BASKET HEADER — Editorial Clean Minimal (v2 — overrides v1)
 * ============================================================ */

.rt-basket__header {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  margin: 8px 0 28px 0 !important;
  padding: 0 0 20px 0 !important;
  border-bottom: 1px solid var(--rt-border) !important;
}

.rt-basket__title {
  font-size: 30px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  color: var(--rt-text) !important;
  letter-spacing: -0.025em !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rt-basket__subline {
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: var(--rt-text-muted) !important;
  letter-spacing: 0.01em !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Alte Count-Pille killen falls noch im Cache */
.rt-basket__count {
  display: none !important;
}

/* Desktop: groesser */
@media (min-width: 992px) {
  .rt-basket__header {
    margin: 12px 0 36px 0 !important;
    padding-bottom: 24px !important;
    gap: 8px !important;
  }
  .rt-basket__title {
    font-size: 36px !important;
    letter-spacing: -0.03em !important;
  }
  .rt-basket__subline {
    font-size: 14px !important;
  }
}

/* Mobile: kompakt */
@media (max-width: 991px) {
  .rt-basket__header {
    margin: 4px 0 20px 0 !important;
    padding-bottom: 16px !important;
  }
  .rt-basket__title {
    font-size: 26px !important;
  }
}

/* ============================================================
 * TRUST BAR (Footer) — Clean, Semantic, Conversion-optimized
 * Sichtbar auf allen Seiten (footer.tpl include)
 * ============================================================ */

.rt-trust {
  background: #f8fafc;
  border-top: 1px solid var(--rt-border);
  padding: 32px 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.rt-trust__container {
  max-width: 1320px;
  margin: 0 auto;
}

.rt-trust__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rt-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid var(--rt-border);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rt-trust__item:hover {
  border-color: rgba(var(--brand-primary-rgb), 0.4);
  box-shadow: 0 4px 14px rgba(var(--brand-primary-rgb), 0.08);
  transform: translateY(-1px);
}

.rt-trust__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #eff6ff;
  color: var(--rt-brand);
  border-radius: 10px;
}

.rt-trust__icon svg {
  display: block;
}

.rt-trust__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  line-height: 1.2;
}

.rt-trust__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--rt-text);
  letter-spacing: -0.01em;
}

.rt-trust__sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--rt-text-muted);
}

.rt-trust__phone {
  font-size: 12px;
  font-weight: 600;
  color: var(--rt-brand);
  text-decoration: none;
  transition: color 0.15s ease;
}

.rt-trust__phone:hover,
.rt-trust__phone:focus {
  color: var(--brand-primary-dark);
  text-decoration: underline;
}

/* Tablet: 2 Spalten */
@media (max-width: 991px) {
  .rt-trust {
    padding: 24px 14px;
  }
  .rt-trust__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .rt-trust__item {
    padding: 12px 14px;
    gap: 12px;
  }
  .rt-trust__icon {
    width: 38px;
    height: 38px;
  }
  .rt-trust__icon svg {
    width: 20px;
    height: 20px;
  }
}

/* Mobile: kompakt aber lesbar */
@media (max-width: 480px) {
  .rt-trust {
    padding: 18px 12px;
  }
  .rt-trust__title {
    font-size: 13px;
  }
  .rt-trust__sub,
  .rt-trust__phone {
    font-size: 11.5px;
  }
  .rt-trust__icon {
    width: 36px;
    height: 36px;
  }
  .rt-trust__icon svg {
    width: 18px;
    height: 18px;
  }
}

/* Trust-Bar Contact Link (statt Telefon) */
.rt-trust__link {
  font-size: 12px;
  font-weight: 600;
  color: var(--rt-brand);
  text-decoration: none;
  transition: color 0.15s ease;
}

.rt-trust__link:hover,
.rt-trust__link:focus {
  color: var(--brand-primary-dark);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .rt-trust__link {
    font-size: 11.5px;
  }
}

/* ============================================================
 * CHECKOUT HEADER TRUST ROW — Minimal Inline Override
 * Reset gegen Footer-Trust-Card-Styling (Class-Collision-Fix)
 * Sichtbar: nur im Checkout-Header (rt-checkout-header__trust-row)
 * ============================================================ */

.rt-checkout-header__trust-row .rt-trust {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px !important;
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  grid-template-columns: none !important;
  max-width: none !important;
}

.rt-checkout-header__trust-row .rt-trust__item {
  display: inline-flex !important;
  align-items: center;
  gap: 6px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: 12px;
  font-weight: 500;
  color: var(--rt-text-muted);
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}

.rt-checkout-header__trust-row .rt-trust__item:hover,
.rt-checkout-header__trust-row .rt-trust__item:focus-within {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  color: var(--rt-text);
}

.rt-checkout-header__trust-row .rt-trust__icon {
  width: 14px !important;
  height: 14px !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  color: inherit !important;
  flex-shrink: 0;
  display: inline-block;
}

.rt-checkout-header__trust-row .rt-trust__icon svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke-width: 1.75;
}

.rt-checkout-header__trust-row .rt-trust__text {
  display: inline !important;
  flex-direction: unset !important;
  gap: 0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: inherit !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
}

/* Subtile Trennpunkte zwischen Items */
.rt-checkout-header__trust-row .rt-trust__item + .rt-trust__item::before {
  content: '\00B7';
  margin-right: 10px;
  margin-left: -4px;
  color: var(--rt-border);
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
}

/* Mobile: kompakter, Trennpunkte enger */
@media (max-width: 767px) {
  .rt-checkout-header__trust-row .rt-trust {
    gap: 12px !important;
  }
  .rt-checkout-header__trust-row .rt-trust__text {
    font-size: 11px !important;
  }
  .rt-checkout-header__trust-row .rt-trust__icon,
  .rt-checkout-header__trust-row .rt-trust__icon svg {
    width: 13px !important;
    height: 13px !important;
  }
  .rt-checkout-header__trust-row .rt-trust__item + .rt-trust__item::before {
    margin-right: 7px;
    margin-left: -3px;
    font-size: 13px;
  }
}

/* Very small screens: nur Icons, Text ausblenden */
@media (max-width: 380px) {
  .rt-checkout-header__trust-row .rt-trust__text {
    display: none !important;
  }
  .rt-checkout-header__trust-row .rt-trust__item + .rt-trust__item::before {
    display: none;
  }
  .rt-checkout-header__trust-row .rt-trust {
    gap: 18px !important;
  }
  .rt-checkout-header__trust-row .rt-trust__icon,
  .rt-checkout-header__trust-row .rt-trust__icon svg {
    width: 15px !important;
    height: 15px !important;
  }
}

/* Checkout Header Trust — Icons in Brand-Blue (Text bleibt muted) */
.rt-checkout-header__trust-row .rt-trust__icon,
.rt-checkout-header__trust-row .rt-trust__icon svg {
  color: var(--rt-brand) !important;
  stroke: var(--rt-brand);
}

.rt-checkout-header__trust-row .rt-trust__item:hover .rt-trust__icon,
.rt-checkout-header__trust-row .rt-trust__item:hover .rt-trust__icon svg {
  color: var(--brand-primary-dark) !important;
  stroke: var(--brand-primary-dark);
}

/* ============================================================
 * STEP 2 (Versand + Zahlung) — Layout, Sections, Option-Cards
 * ============================================================ */

/* === Page Wrapper === */
.rt-checkout-step2 {
  max-width: 1320px;
  margin: 24px auto;
  padding: 0 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === 2-Col Layout (gleich wie Warenkorb) === */
.rt-checkout-step2__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.rt-checkout-step2__main {
  min-width: 0;
}

.rt-checkout-step2__side {
  position: sticky;
  top: 24px;
}

/* === Section Card === */
.rt-section {
  background: #ffffff;
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius);
  padding: 24px;
  margin: 0 0 16px 0;
}

.rt-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 16px 0;
  padding: 0 0 12px 0;
  border-bottom: 1px solid var(--rt-border);
}

.rt-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rt-text);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

/* === Adress-Strip (Versand nach: ...) === */
.rt-section__address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  margin: 0 0 16px 0;
  background: var(--rt-bg);
  border: 1px solid var(--rt-border);
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.4;
}

.rt-section__address-label {
  color: var(--rt-text-muted);
  font-weight: 500;
}

.rt-section__address-text {
  color: var(--rt-text);
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.rt-section__address-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rt-brand);
  text-decoration: none;
  transition: background 0.15s ease;
}

.rt-section__address-link:hover,
.rt-section__address-link:focus {
  background: #eff6ff;
  color: var(--brand-primary-dark);
}

/* === Options Container === */
.rt-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* === Option Card (Radio/Checkbox) === */
.rt-option {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1.5px solid var(--rt-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.rt-option:hover {
  border-color: rgba(var(--brand-primary-rgb), 0.4);
  background: #fafbfc;
}

.rt-option--selected {
  border-color: var(--rt-brand) !important;
  background: #f5fafd !important;
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.08);
}

/* Native Radio/Checkbox versteckt — wir nutzen rt-option__indicator */
.rt-option__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* Focus-State fuer Keyboard */
.rt-option__input:focus-visible + .rt-option__indicator {
  outline: 2px solid var(--rt-brand);
  outline-offset: 2px;
}

/* Radio-Indicator (Circle) */
.rt-option__indicator {
  width: 20px;
  height: 20px;
  border: 2px solid var(--rt-border-strong, #cbd5e1);
  border-radius: 50%;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.rt-option__indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rt-brand);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease;
}

.rt-option--selected .rt-option__indicator {
  border-color: var(--rt-brand);
}

.rt-option--selected .rt-option__indicator::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Checkbox-Indicator (Square) */
.rt-option__indicator--check {
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}

.rt-option__indicator--check::after {
  display: none;
}

.rt-option--checkbox.rt-option--selected .rt-option__indicator--check {
  background: var(--rt-brand);
  border-color: var(--rt-brand);
  color: #ffffff;
}

/* Logo */
.rt-option__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  max-width: 90px;
  height: 32px;
  flex-shrink: 0;
}

.rt-option__logo img {
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
  display: block;
}

/* Body (Title + Sub + Desc) */
.rt-option__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rt-option__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--rt-text);
  line-height: 1.3;
}

.rt-option__sub {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rt-brand);
  line-height: 1.3;
}

.rt-option__desc {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rt-text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* Price */
.rt-option__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--rt-text);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.rt-option__price--discount {
  color: #15803d;
}

.rt-option__price-add {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--rt-text-muted);
  margin-top: 2px;
}

/* === Actions (Zurueck + Weiter) === */
.rt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 24px 0 0 0;
}

.rt-actions__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px !important;
  background: transparent !important;
  border: 1.5px solid var(--rt-border) !important;
  color: var(--rt-text) !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.rt-actions__back:hover,
.rt-actions__back:focus {
  border-color: var(--rt-brand) !important;
  color: var(--rt-brand) !important;
  background: #eff6ff !important;
}

.rt-actions__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px !important;
  min-width: 200px;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* === MOBILE === */
@media (max-width: 991px) {
  .rt-checkout-step2 {
    padding: 0 12px;
    margin: 16px auto;
  }

  .rt-checkout-step2__layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rt-checkout-step2__side {
    position: static;
  }

  .rt-section {
    padding: 18px 16px;
    margin-bottom: 12px;
  }

  .rt-section__title {
    font-size: 18px;
  }

  .rt-section__address {
    font-size: 12.5px;
    padding: 10px 12px;
  }

  .rt-option {
    grid-template-columns: auto auto 1fr;
    grid-template-areas:
      'ind logo body'
      'price price price';
    padding: 12px 14px;
    gap: 10px;
  }

  .rt-option__indicator { grid-area: ind; }
  .rt-option__logo { grid-area: logo; }
  .rt-option__body { grid-area: body; }
  .rt-option__price {
    grid-area: price;
    text-align: left;
    padding-left: 30px;
    font-size: 13.5px;
  }

  /* Wenn kein Logo, body nimmt komplette Breite */
  .rt-option:not(:has(.rt-option__logo)) {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      'ind body'
      'price price';
  }

  .rt-option__title { font-size: 14px; }

  .rt-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .rt-actions__back,
  .rt-actions__next {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile small */
@media (max-width: 480px) {
  .rt-section__address {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .rt-option__logo {
    min-width: 40px;
    max-width: 64px;
    height: 24px;
  }

  .rt-option__logo img {
    max-height: 24px;
  }
}

/* Payment Price-Badge: Label + Value (z.B. "Rabatt -1%") */
.rt-option__price-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
  line-height: 1;
  margin-bottom: 2px;
}

.rt-option__price-value {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

/* ============================================================
 * FIX: rt-option Layout — Explicit Grid-Columns
 * Problem: Wenn kein __logo Child da, rutschen body/price in falsche Spalten
 * Lösung: Jeder Kind-Element bekommt feste grid-column
 * ============================================================ */

.rt-option {
  grid-template-columns: 20px auto 1fr auto !important;
}

.rt-option__indicator,
.rt-option__indicator--check {
  grid-column: 1 !important;
}

.rt-option__logo {
  grid-column: 2 !important;
}

.rt-option__body {
  grid-column: 3 !important;
  align-self: center;
}

.rt-option__price {
  grid-column: 4 !important;
  align-self: center;
}

/* :has() hack removed — Layout works via explicit grid-column now */

/* ============================================================
 * FIX: Zurueck-Button unauffaelliger (Ghost-Style)
 * ============================================================ */

.rt-actions__back {
  background: transparent !important;
  border: none !important;
  padding: 13px 16px !important;
  color: var(--rt-text-muted) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

.rt-actions__back:hover,
.rt-actions__back:focus {
  background: transparent !important;
  border: none !important;
  color: var(--rt-text) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rt-actions__back svg {
  opacity: 0.7;
}

/* Mobile bleibt full-width aber transparent */
@media (max-width: 991px) {
  .rt-actions__back {
    padding: 10px 16px !important;
  }
}

/* ============================================================
 * FIX: rt-option Background — schlaegt JTL Payment-ID Selektoren
 * Verhindert dass z.B. #za_barzahlung_jtl seinen eigenen BG bekommt
 * ============================================================ */

.rt-options label.rt-option,
.rt-options label.rt-option[id^="za_"],
.rt-options label.rt-option[id^="del"],
.rt-options label.rt-option[id^="pac"] {
  background: #ffffff !important;
  border-color: var(--rt-border) !important;
}

.rt-options label.rt-option:hover,
.rt-options label.rt-option[id]:hover {
  background: #fafbfc !important;
  border-color: rgba(var(--brand-primary-rgb), 0.4) !important;
}

.rt-options label.rt-option.rt-option--selected,
.rt-options label.rt-option--selected[id] {
  background: #f5fafd !important;
  border-color: var(--rt-brand) !important;
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.08) !important;
}

/* ============================================================
 * ONE-PAGE CHECKOUT (rt-op-*) — Shopify-Style
 * ============================================================ */

.rt-op {
  max-width: 1280px;
  margin: 24px auto;
  padding: 0 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Trust-Bar oben */
.rt-op__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 12px 0;
  margin: 0 0 24px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

.rt-op__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rt-op__trust-item svg {
  color: var(--brand-primary);
}

/* 2-Col Layout */
.rt-op__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.rt-op__main {
  min-width: 0;
}

.rt-op__side {
  position: sticky;
  top: 24px;
}

/* Sections */
.rt-op__section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 0 16px 0;
}

.rt-op__section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px 0;
  padding: 0 0 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.rt-op__section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.rt-op__section-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.rt-op__section-body {
  /* Wrapper für included templates */
}

/* Express Checkout */
.rt-op__express-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  text-align: center;
  margin: 0 0 10px 0;
}

.rt-op__express-slot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
}

.rt-op__express-placeholder {
  flex: 1;
  background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
  border: 1.5px dashed var(--brand-tint);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
}

/* Divider "oder" */
.rt-op__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0 0;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 500;
}

.rt-op__divider::before,
.rt-op__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

/* Submit-Button */
.rt-op__submit-wrap {
  margin: 20px 0 0 0;
}

.rt-op__privacy {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.rt-op__privacy a {
  color: var(--brand-primary);
  font-weight: 600;
}

.rt-op__submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background: var(--brand-primary);
  color: #ffffff !important;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.15s ease;
}

.rt-op__submit-btn:hover,
.rt-op__submit-btn:focus {
  background: var(--brand-primary-dark);
}

.rt-op__login-link {
  display: block;
  text-align: center;
  margin: 14px 0 0 0;
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
}

.rt-op__login-link strong {
  color: var(--brand-primary);
}

.rt-op__login-link:hover {
  text-decoration: underline;
}

/* Login-Section (collapsible) */
.rt-op__login-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0 0 0;
}

/* Alert */
.rt-op-alert {
  padding: 14px 16px;
  border-radius: 10px;
  margin: 0 0 16px 0;
  font-size: 13.5px;
  font-weight: 500;
}

.rt-op-alert--error {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ============================================================
 * Order Summary Sidebar (Shopify-style collapsible)
 * ============================================================ */

.rt-op-summary {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.rt-op-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.rt-op-summary__head::-webkit-details-marker { display: none; }

.rt-op-summary__head-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.rt-op-summary__head-toggle svg:nth-child(2) {
  color: var(--brand-primary);
}

.rt-op-summary__chevron {
  transition: transform 0.2s ease;
  color: #64748b;
}

.rt-op-summary[open] .rt-op-summary__chevron {
  transform: rotate(180deg);
}

.rt-op-summary__count {
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.rt-op-summary__total-mobile {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.rt-op-summary__body {
  padding: 20px;
}

.rt-op-summary__items {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
}

.rt-op-summary__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
}

.rt-op-summary__item-img {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
}

.rt-op-summary__item-img img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fafafa;
  display: block;
}

.rt-op-summary__item-qty {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  background: #0f172a;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  padding: 0 4px;
}

.rt-op-summary__item-info {
  min-width: 0;
}

.rt-op-summary__item-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rt-op-summary__item-price {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.rt-op-summary__totals {
  padding: 12px 0;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rt-op-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
}

.rt-op-summary__row-value--success {
  color: #15803d;
  font-weight: 600;
}

.rt-op-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 8px 0 4px 0;
  padding: 12px 0 0 0;
  border-top: 2px solid #e2e8f0;
}

.rt-op-summary__total span {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.rt-op-summary__total strong {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
}

.rt-op-summary__note {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  text-align: right;
}

/* Mobile: Sidebar oben + Summary collapsed */
@media (max-width: 991px) {
  .rt-op {
    padding: 0 12px;
    margin: 12px auto;
  }

  .rt-op__trust {
    gap: 12px;
    font-size: 11px;
    margin-bottom: 12px;
  }

  .rt-op__layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rt-op__side {
    position: static;
    order: -1;
  }

  .rt-op-summary[open] .rt-op-summary__total-mobile {
    display: none;
  }

  .rt-op-summary:not([open]) .rt-op-summary__body {
    display: none;
  }

  .rt-op__section {
    padding: 16px 18px;
  }

  .rt-op__section-title {
    font-size: 16px;
  }

  .rt-op__submit-btn {
    padding: 14px 22px;
    font-size: 14px;
  }
}

/* ============================================================
 * ONE-PAGE-CHECKOUT EXTENSIONS (2026-05-19)
 * Additive Tokens + Section-Card + Drawer + Sticky-CTA
 * ============================================================ */

:root {
  /* Brand-Alphas (für Selected-States, Focus, Shadows) */
  --rt-brand-alpha-04: rgba(var(--brand-primary-rgb), 0.04);
  --rt-brand-alpha-08: rgba(var(--brand-primary-rgb), 0.08);
  --rt-brand-alpha-12: rgba(var(--brand-primary-rgb), 0.12);
  --rt-brand-alpha-16: rgba(var(--brand-primary-rgb), 0.16);

  /* Erweiterte Semantic-Backgrounds */
  --rt-success-bg: #f0fdf4;
  --rt-success-border: #bbf7d0;
  --rt-warn: #d97706;
  --rt-warn-bg: #fffbeb;
  --rt-warn-border: #fde68a;
  --rt-error-bg: #fef2f2;
  --rt-info: var(--brand-primary);
  --rt-info-bg: #f0f9ff;

  /* Spacing 4-Scale (additive) */
  --rt-space-1: 4px;
  --rt-space-2: 8px;
  --rt-space-3: 12px;
  --rt-space-4: 16px;
  --rt-space-5: 20px;
  --rt-space-6: 24px;
  --rt-space-8: 32px;
  --rt-space-10: 40px;
  --rt-space-12: 48px;

  /* Shadow-Tier */
  --rt-shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --rt-shadow-lg: 0 12px 24px rgba(15,23,42,0.10), 0 4px 8px rgba(15,23,42,0.06);
  --rt-shadow-sticky: 0 -4px 16px rgba(15,23,42,0.08);
  --rt-shadow-focus: 0 0 0 3px var(--rt-brand-alpha-12);
  --rt-shadow-selected: 0 0 0 3px var(--rt-brand-alpha-08);

  /* Transitions */
  --rt-duration-fast: 150ms;
  --rt-duration: 220ms;
  --rt-duration-slow: 320ms;
  --rt-easing: cubic-bezier(0.4, 0, 0.2, 1);
  --rt-easing-out: cubic-bezier(0, 0, 0.2, 1);

  /* Z-Index Scale */
  --rt-z-sticky: 10;
  --rt-z-sticky-cta: 50;
  --rt-z-modal: 100;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --rt-duration-fast: 0ms;
    --rt-duration: 0ms;
    --rt-duration-slow: 0ms;
  }
}

/* ============================================================
 * SECTION-CARD (rt-section)
 * State-Modifier: --active --completed --disabled
 * ============================================================ */

.rt-section {
  background: var(--rt-card);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius);
  padding: 0;
  margin-bottom: var(--rt-space-3);
  overflow: hidden;
  transition: border-color var(--rt-duration) var(--rt-easing),
              box-shadow var(--rt-duration) var(--rt-easing),
              opacity var(--rt-duration) var(--rt-easing);
}

@media (min-width: 768px) {
  .rt-section { margin-bottom: var(--rt-space-4); }
}

.rt-section--active {
  border-color: var(--rt-brand);
  box-shadow: var(--rt-shadow-selected);
}

.rt-section--completed {
  background: var(--rt-bg);
  border-color: var(--rt-border-soft);
}

.rt-section--disabled {
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.rt-section__header {
  display: flex;
  align-items: center;
  gap: var(--rt-space-3);
  padding: var(--rt-space-4) var(--rt-space-5);
}

@media (min-width: 768px) {
  .rt-section__header { padding: var(--rt-space-5) var(--rt-space-6); }
}

.rt-section__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--rt-border-soft);
  color: var(--rt-text-muted);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--rt-font, 'Inter');
  transition: background-color var(--rt-duration) var(--rt-easing),
              color var(--rt-duration) var(--rt-easing);
}

.rt-section--active .rt-section__num {
  background: var(--rt-brand);
  color: white;
}

.rt-section--completed .rt-section__num {
  background: var(--rt-success);
  color: white;
}

.rt-section--completed .rt-section__num::before {
  content: "✓";
  font-size: 16px;
}
.rt-section--completed .rt-section__num-text { display: none; }

.rt-section__title {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  color: var(--rt-text);
  margin: 0;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .rt-section__title { font-size: 18px; }
}

.rt-section__edit {
  font-size: 14px;
  font-weight: 500;
  color: var(--rt-brand);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background-color var(--rt-duration-fast) var(--rt-easing);
}

.rt-section__edit:hover { background: var(--rt-brand-alpha-04); text-decoration: none; }

.rt-section--active .rt-section__edit { display: none; }
.rt-section--disabled .rt-section__edit { display: none; }

.rt-section__body {
  padding: 0 var(--rt-space-5) var(--rt-space-5);
}

@media (min-width: 768px) {
  .rt-section__body { padding: 0 var(--rt-space-6) var(--rt-space-6); }
}

.rt-section--completed .rt-section__body { display: none; }
.rt-section--disabled .rt-section__body { display: none; }

.rt-section__summary {
  padding: 0 var(--rt-space-5) var(--rt-space-4);
  font-size: 14px;
  color: var(--rt-text-muted);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .rt-section__summary { padding: 0 var(--rt-space-6) var(--rt-space-5); }
}

.rt-section--active .rt-section__summary { display: none; }
.rt-section--disabled .rt-section__summary { display: none; }

.rt-section__summary strong { color: var(--rt-text); font-weight: 500; }

/* ============================================================
 * CHECKOUT-LAYOUT GRID (Desktop 2-Col / Mobile Stack)
 * ============================================================ */

.rt-checkout-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--rt-space-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--rt-space-6);
}

@media (min-width: 1024px) {
  .rt-checkout-layout {
    grid-template-columns: minmax(0, 740px) 360px;
    gap: var(--rt-space-8);
    padding: 0 var(--rt-space-6);
  }
}

.rt-checkout-layout__main { min-width: 0; }

.rt-checkout-layout__side {
  min-width: 0;
}

@media (min-width: 1024px) {
  .rt-checkout-layout__side {
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
}

/* ============================================================
 * SUMMARY-DRAWER (Mobile-Top collapsible, Desktop-Side sticky)
 * ============================================================ */

.rt-summary-drawer {
  background: var(--rt-card);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius);
  margin-bottom: var(--rt-space-3);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .rt-summary-drawer { margin-bottom: 0; }
}

.rt-summary-drawer__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--rt-space-4) var(--rt-space-5);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--rt-text);
  text-align: left;
}

@media (min-width: 1024px) {
  .rt-summary-drawer__toggle {
    pointer-events: none;
    cursor: default;
    padding-bottom: 0;
  }
}

.rt-summary-drawer__toggle:hover {
  background: var(--rt-bg);
}

@media (min-width: 1024px) {
  .rt-summary-drawer__toggle:hover { background: none; }
}

.rt-summary-drawer__toggle-label {
  display: flex;
  align-items: center;
  gap: var(--rt-space-2);
}

.rt-summary-drawer__chevron {
  flex-shrink: 0;
  width: 16px; height: 16px;
  transition: transform var(--rt-duration) var(--rt-easing);
}

@media (min-width: 1024px) {
  .rt-summary-drawer__chevron { display: none; }
}

.rt-summary-drawer--open .rt-summary-drawer__chevron {
  transform: rotate(180deg);
}

.rt-summary-drawer__total {
  font-size: 16px;
  font-weight: 600;
  color: var(--rt-text);
}

.rt-summary-drawer__body {
  display: none;
  padding: 0 var(--rt-space-5) var(--rt-space-5);
  border-top: 1px solid var(--rt-border-soft);
  padding-top: var(--rt-space-4);
}

.rt-summary-drawer--open .rt-summary-drawer__body { display: block; }

@media (min-width: 1024px) {
  .rt-summary-drawer__body {
    display: block !important;
    border-top: 0;
    padding-top: 0;
    padding: 0 var(--rt-space-5) var(--rt-space-5);
  }
}

.rt-summary-drawer__items {
  display: flex;
  flex-direction: column;
  gap: var(--rt-space-3);
  margin-bottom: var(--rt-space-4);
}

.rt-summary-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: var(--rt-space-3);
  align-items: center;
}

.rt-summary-item__thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: var(--rt-radius-sm);
  background: var(--rt-bg);
  overflow: hidden;
  flex-shrink: 0;
}

.rt-summary-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

.rt-summary-item__qty {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--rt-text);
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rt-summary-item__name {
  font-size: 14px;
  color: var(--rt-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rt-summary-item__price {
  font-size: 14px;
  font-weight: 500;
  color: var(--rt-text);
  white-space: nowrap;
}

.rt-summary-drawer__rows {
  display: flex;
  flex-direction: column;
  gap: var(--rt-space-2);
  padding-top: var(--rt-space-3);
  border-top: 1px solid var(--rt-border-soft);
}

.rt-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--rt-text-muted);
}

.rt-summary-row--total {
  font-size: 17px;
  font-weight: 600;
  color: var(--rt-text);
  padding-top: var(--rt-space-3);
  border-top: 1px solid var(--rt-border-soft);
  margin-top: var(--rt-space-2);
}

.rt-summary-row--mwst {
  font-size: 12px;
  color: var(--rt-text-faint);
}

.rt-summary-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: var(--rt-space-4);
  margin-top: var(--rt-space-4);
  border-top: 1px solid var(--rt-border-soft);
  font-size: 13px;
  color: var(--rt-text-muted);
}

.rt-summary-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rt-summary-trust__icon {
  flex-shrink: 0;
  width: 14px; height: 14px;
  color: var(--rt-success);
}

/* ============================================================
 * STICKY-BOTTOM-CTA (Mobile only)
 * ============================================================ */

.rt-sticky-cta {
  position: sticky;
  bottom: 0;
  left: 0; right: 0;
  z-index: var(--rt-z-sticky-cta);
  background: var(--rt-card);
  border-top: 1px solid var(--rt-border);
  padding: var(--rt-space-3) var(--rt-space-4) max(var(--rt-space-3), env(safe-area-inset-bottom));
  box-shadow: var(--rt-shadow-sticky);
  margin-top: var(--rt-space-4);
}

@media (min-width: 1024px) {
  .rt-sticky-cta { display: none; }
}

.rt-sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: var(--rt-space-3);
}

.rt-sticky-cta__total {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--rt-text);
}

.rt-sticky-cta__btn {
  flex: 1;
  height: 52px;
  border-radius: var(--rt-radius);
  background: var(--rt-brand);
  color: white;
  border: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color var(--rt-duration-fast) var(--rt-easing);
}

.rt-sticky-cta__btn:hover { background: var(--rt-brand-dark); }
.rt-sticky-cta__btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================================================
 * EXPRESS-CHECKOUT-Wrapper + Divider
 * ============================================================ */

.rt-express-checkout {
  background: var(--rt-card);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius);
  padding: var(--rt-space-5);
  margin-bottom: var(--rt-space-3);
}

@media (min-width: 768px) {
  .rt-express-checkout { padding: var(--rt-space-6); margin-bottom: var(--rt-space-4); }
}

.rt-express-checkout__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--rt-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--rt-space-3);
}

.rt-express-checkout__buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--rt-space-2);
}

@media (min-width: 480px) {
  .rt-express-checkout__buttons { grid-template-columns: repeat(3, 1fr); }
}

.rt-divider {
  display: flex;
  align-items: center;
  gap: var(--rt-space-3);
  margin: var(--rt-space-5) 0 var(--rt-space-4);
  font-size: 13px;
  color: var(--rt-text-muted);
}

.rt-divider::before, .rt-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rt-border);
}

/* ============================================================
 * Submit-Button (Premium-Variant, mit Loading-State)
 * ============================================================ */

.rt-submit-primary {
  width: 100%;
  height: 56px;
  border-radius: var(--rt-radius);
  background: var(--rt-brand);
  color: white;
  border: 0;
  font-family: var(--rt-font, 'Inter'), -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color var(--rt-duration-fast) var(--rt-easing),
              transform var(--rt-duration-fast) var(--rt-easing);
}

.rt-submit-primary:hover { background: var(--rt-brand-dark); }
.rt-submit-primary:active:not(:disabled) { transform: translateY(1px); }

.rt-submit-primary:disabled, .rt-submit-primary.is-loading {
  opacity: 0.75;
  cursor: not-allowed;
  pointer-events: none;
}

.rt-submit-primary.is-loading { color: transparent; }

.rt-submit-primary.is-loading::after {
  content: '';
  position: absolute;
  inset: 0; margin: auto;
  width: 22px; height: 22px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: rtSpin 600ms linear infinite;
}

@keyframes rtSpin { to { transform: rotate(360deg); } }

/* ============================================================
 * Trust-Strip nahe Submit
 * ============================================================ */

.rt-submit-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--rt-space-3);
  margin-top: var(--rt-space-3);
  font-size: 12.5px;
  color: var(--rt-text-muted);
  line-height: 1.4;
}

.rt-submit-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rt-submit-trust__icon {
  width: 14px; height: 14px;
  color: var(--rt-success);
  flex-shrink: 0;
}

/* End: One-Page-Checkout Extensions */

/* ============================================================
 * ONE-PAGE STEP-OVERRIDES (rt-option, form-submit, summary-grid, ...)
 * ============================================================ */

/* === rt-section__body Inputs (Bootstrap-Override für Form-Inputs) === */
.rt-section__body input[type="text"],
.rt-section__body input[type="email"],
.rt-section__body input[type="tel"],
.rt-section__body input[type="password"],
.rt-section__body input[type="number"],
.rt-section__body select,
.rt-section__body textarea {
  height: auto;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--rt-border-strong);
  border-radius: var(--rt-radius);
  background: white;
  font-family: inherit;
  font-size: 16px;  /* iOS zoom prevention */
  color: var(--rt-text);
  width: 100%;
  transition: border-color var(--rt-duration-fast) var(--rt-easing),
              box-shadow var(--rt-duration-fast) var(--rt-easing);
}

.rt-section__body input:hover, .rt-section__body select:hover {
  border-color: var(--rt-text-muted);
}

.rt-section__body input:focus, .rt-section__body select:focus, .rt-section__body textarea:focus {
  outline: none;
  border-color: var(--rt-brand);
  box-shadow: var(--rt-shadow-focus);
}

.rt-section__body textarea { min-height: 90px; resize: vertical; }

.rt-section__body label {
  font-size: 13px;
  font-weight: 500;
  color: var(--rt-text-muted);
  display: block;
  margin-bottom: 4px;
}

/* Bootstrap-row tightening inside rt-section (form layouts) */
.rt-section__body .form-row { margin: 0 -8px; }
.rt-section__body .form-row > [class*="col-"] { padding: 0 8px; }
.rt-section__body .form-group { margin-bottom: 14px; }
.rt-section__body .form-group .invalid-feedback { font-size: 12.5px; color: var(--rt-error); margin-top: 4px; }

/* === rt-options-group === */
.rt-options-group {
  margin-bottom: 20px;
}
.rt-options-group:last-child { margin-bottom: 0; }

.rt-options-group__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rt-text-muted);
  margin-bottom: 10px;
}

/* === rt-option (radio/checkbox card) === */
.rt-option {
  position: relative;
  display: grid;
  grid-template-columns: 22px auto 1fr auto;
  column-gap: 12px;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: white;
  border: 1.5px solid var(--rt-border);
  border-radius: var(--rt-radius);
  cursor: pointer;
  transition: border-color var(--rt-duration) var(--rt-easing),
              background-color var(--rt-duration) var(--rt-easing),
              box-shadow var(--rt-duration) var(--rt-easing);
  font-family: inherit;
}

.rt-option:hover { border-color: var(--rt-text-muted); }

.rt-option--selected {
  border-color: var(--rt-brand);
  background: var(--rt-brand-alpha-04);
  box-shadow: var(--rt-shadow-selected);
}

.rt-option:has(input:focus-visible) {
  border-color: var(--rt-brand);
  box-shadow: var(--rt-shadow-focus);
}

/* Grid-Position explizit setzen */
.rt-option__indicator { grid-column: 1; }
.rt-option__logo      { grid-column: 2; }
.rt-option__body      { grid-column: 3; min-width: 0; }
.rt-option__price     { grid-column: 4; }

/* Wenn kein Logo: body spannt über 2 Spalten */
.rt-option:not(:has(.rt-option__logo)) .rt-option__body { grid-column: 2 / 4; }

/* Input visuell verstecken, aber zugänglich */
.rt-option__input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

/* Indicator (Radio-Dot oder Checkmark) */
.rt-option__indicator {
  width: 20px; height: 20px;
  border: 2px solid var(--rt-border-strong);
  border-radius: 50%;
  background: white;
  position: relative;
  flex-shrink: 0;
  pointer-events: none;
  transition: border-color var(--rt-duration-fast) var(--rt-easing);
}
.rt-option__indicator::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--rt-brand);
  transform: scale(0);
  transition: transform var(--rt-duration-fast) var(--rt-easing-out);
}

.rt-option--selected .rt-option__indicator { border-color: var(--rt-brand); }
.rt-option--selected .rt-option__indicator::after { transform: scale(1); }

/* Checkbox-Variant: square indicator */
.rt-option__indicator--check { border-radius: 4px; }
.rt-option__indicator--check::after {
  border-radius: 2px;
  inset: 2px;
}

.rt-option__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 32px;
  flex-shrink: 0;
}
.rt-option__logo img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}

.rt-option__body { display: flex; flex-direction: column; gap: 2px; }

.rt-option__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--rt-text);
  line-height: 1.35;
}

.rt-option__meta, .rt-option__hint {
  font-size: 13px;
  color: var(--rt-text-muted);
  line-height: 1.4;
}

.rt-option__hint { font-size: 12.5px; }

.rt-option__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--rt-text);
  white-space: nowrap;
}

/* === rt-payment-content (wrapper für JTL-rendered $step4_payment_content) === */
.rt-payment-content {
  /* Soft styling — Override durch inc_payment_methods.tpl später */
}
.rt-payment-content .checkout-payment-options { margin: 0 !important; }
.rt-payment-content > .row { margin: 0 !important; }
.rt-payment-content > .row > [class*="col-"] { padding: 0 !important; }

/* === rt-form-submit, rt-form-back === */
.rt-form-submit {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rt-form-submit--final { margin-top: 28px; }

.rt-form-submit .rt-submit-primary { width: 100%; }

.rt-form-privacy {
  font-size: 13px;
  color: var(--rt-text-muted);
  margin: 0 0 6px 0;
}
.rt-form-privacy a { color: var(--rt-brand); text-decoration: underline; }

.rt-form-back {
  display: inline-block;
  align-self: center;
  font-size: 14px;
  color: var(--rt-text-muted);
  text-decoration: none;
  padding: 8px 12px;
}
.rt-form-back:hover { color: var(--rt-text); }

/* === rt-login-section (collapsible Login) === */
.rt-login-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rt-border-soft);
}

.rt-login-section__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px 0;
  color: var(--rt-text-muted);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.rt-login-section__toggle strong { color: var(--rt-brand); font-weight: 600; }
.rt-login-section__toggle:hover strong { text-decoration: underline; }

.rt-login-section__form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rt-border-soft);
}
.rt-login-section__form[hidden] { display: none; }

/* === rt-summary-grid (für Confirmation Address/Versand-Recap) === */
.rt-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .rt-summary-grid { grid-template-columns: 1fr 1fr; }
}

.rt-summary-grid strong {
  display: block;
  font-weight: 600;
  color: var(--rt-text);
  margin-bottom: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* === rt-confirm-* === */
.rt-confirm-items {
  background: var(--rt-bg);
  border: 1px solid var(--rt-border-soft);
  border-radius: var(--rt-radius);
  padding: 16px;
  margin-bottom: 16px;
}

.rt-confirm-items table { width: 100%; border-collapse: collapse; }
.rt-confirm-items th, .rt-confirm-items td {
  padding: 8px 4px;
  border-bottom: 1px solid var(--rt-border-soft);
  font-size: 14px;
  text-align: left;
}
.rt-confirm-items th { font-weight: 600; color: var(--rt-text-muted); }
.rt-confirm-items img { max-width: 56px; height: auto; border-radius: var(--rt-radius-sm); }

.rt-confirm-comment,
.rt-confirm-coupon,
.rt-confirm-credit {
  margin-bottom: 16px;
  border: 1px solid var(--rt-border-soft);
  border-radius: var(--rt-radius);
}

.rt-confirm-comment summary,
.rt-confirm-coupon summary,
.rt-confirm-credit summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 500;
  color: var(--rt-text);
  list-style: none;
}
.rt-confirm-comment summary::-webkit-details-marker,
.rt-confirm-coupon summary::-webkit-details-marker,
.rt-confirm-credit summary::-webkit-details-marker { display: none; }

.rt-confirm-comment summary::after,
.rt-confirm-coupon summary::after,
.rt-confirm-credit summary::after {
  content: '+';
  float: right;
  font-size: 18px;
  color: var(--rt-text-muted);
  transition: transform var(--rt-duration) var(--rt-easing);
}
.rt-confirm-comment[open] summary::after,
.rt-confirm-coupon[open] summary::after,
.rt-confirm-credit[open] summary::after { content: '−'; }

.rt-confirm-comment[open],
.rt-confirm-coupon[open],
.rt-confirm-credit[open] { padding-bottom: 16px; }

.rt-confirm-comment textarea {
  margin: 0 16px 0;
  width: calc(100% - 32px);
}

.rt-confirm-legal {
  padding: 14px 16px;
  background: var(--rt-info-bg, #f0f9ff);
  border: 1px solid var(--rt-border-soft);
  border-radius: var(--rt-radius);
  font-size: 13.5px;
  color: var(--rt-text);
  line-height: 1.5;
  margin-bottom: 16px;
}
.rt-confirm-legal a { color: var(--rt-brand); text-decoration: underline; }

.rt-confirm-plausi {
  padding: 12px 0;
  margin-bottom: 16px;
}
.rt-confirm-plausi .form-check,
.rt-confirm-plausi .checkbox {
  margin-bottom: 8px;
  padding-left: 28px;
  position: relative;
  font-size: 14px;
  color: var(--rt-text);
  line-height: 1.5;
}
.rt-confirm-plausi input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px; height: 18px;
  accent-color: var(--rt-brand);
}

/* === rt-input (generic input styles, falls genutzt) === */
.rt-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--rt-border-strong);
  border-radius: var(--rt-radius);
  background: white;
  font-family: inherit;
  font-size: 16px;
  color: var(--rt-text);
}
.rt-input--textarea { min-height: 80px; resize: vertical; }
.rt-input:focus {
  outline: none;
  border-color: var(--rt-brand);
  box-shadow: var(--rt-shadow-focus);
}

/* End: One-Page Step-Override Extensions */

/* ============================================================
 * PHASE A: PREMIUM POLISH (overrides + new components)
 * ============================================================ */

/* === Body Background für Checkout-Premium-Feel === */
body.is-checkout {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 320px) !important;
}

/* === TRUST-HEADER (sticky top in checkout) === */
.rt-checkout-trust-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rt-border-soft);
  padding: 14px 0;
  margin-bottom: 24px;
}

.rt-checkout-trust-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.rt-checkout-trust-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.rt-checkout-trust-header__logo img {
  max-height: 36px;
  width: auto;
}

.rt-checkout-trust-header__trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.rt-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--rt-text-muted);
  font-weight: 500;
}
.rt-trust-pill svg {
  width: 14px; height: 14px;
  color: var(--rt-success);
  flex-shrink: 0;
}
.rt-trust-pill--phone {
  color: var(--rt-brand);
  font-weight: 600;
  text-decoration: none;
}
.rt-trust-pill--phone svg { color: var(--rt-brand); }
.rt-trust-pill--phone:hover { color: var(--rt-brand-dark); }

@media (max-width: 768px) {
  .rt-checkout-trust-header { padding: 10px 0; }
  .rt-checkout-trust-header__inner { padding: 0 16px; gap: 12px; }
  .rt-checkout-trust-header__trust { gap: 12px; }
  .rt-trust-pill { font-size: 11.5px; }
  .rt-trust-pill__label { display: none; }
  .rt-trust-pill--phone .rt-trust-pill__label { display: inline; }
}

/* === EXPRESS-CHECKOUT-BANNER (oben über Form) === */
.rt-express {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid var(--rt-border);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

@media (max-width: 768px) {
  .rt-express { padding: 20px; border-radius: 14px; }
}

.rt-express__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rt-text-muted);
  margin: 0 0 16px;
}
.rt-express__title svg {
  width: 16px; height: 16px;
  color: var(--rt-brand);
}

.rt-express__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 480px) {
  .rt-express__grid { grid-template-columns: repeat(3, 1fr); }
}

.rt-express__btn {
  height: 52px;
  border-radius: 12px;
  border: 1.5px solid var(--rt-border);
  background: white;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--rt-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--rt-duration-fast) var(--rt-easing);
}
.rt-express__btn:hover {
  border-color: var(--rt-brand);
  box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.12);
  transform: translateY(-1px);
}
.rt-express__btn--paypal { background: #ffc439; border-color: #ffc439; color: #003087; }
.rt-express__btn--klarna { background: #ffa8cd; border-color: #ffa8cd; color: #0a0a0a; }
.rt-express__btn--apple  { background: #000; border-color: #000; color: #fff; }

.rt-express__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 4px;
  font-size: 12px;
  color: var(--rt-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.rt-express__divider::before,
.rt-express__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rt-border);
}

/* === SECTION OVERRIDES (massive premium look) === */
.rt-section {
  background: white !important;
  border: 1px solid var(--rt-border) !important;
  border-radius: 18px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02) !important;
  overflow: hidden;
  transition: border-color var(--rt-duration) var(--rt-easing),
              box-shadow var(--rt-duration) var(--rt-easing),
              transform var(--rt-duration) var(--rt-easing);
}

@media (min-width: 768px) {
  .rt-section {
    border-radius: 20px !important;
    margin-bottom: 20px !important;
  }
}

.rt-section--active {
  border: 1.5px solid var(--rt-brand) !important;
  box-shadow: 0 12px 32px rgba(var(--brand-primary-rgb), 0.10),
              0 4px 12px rgba(var(--brand-primary-rgb), 0.06),
              0 0 0 4px var(--rt-brand-alpha-08) !important;
}

.rt-section--completed {
  background: white !important;
  border-color: var(--rt-border-soft) !important;
}

.rt-section--disabled {
  opacity: 0.4 !important;
  box-shadow: none !important;
  background: var(--rt-bg) !important;
}

.rt-section__header {
  padding: 22px 24px !important;
  gap: 16px !important;
  border-bottom: none;
}

@media (min-width: 768px) {
  .rt-section__header { padding: 26px 32px !important; }
}

.rt-section--active .rt-section__header {
  padding-bottom: 12px !important;
}

.rt-section--completed .rt-section__header {
  padding: 18px 24px !important;
}

.rt-section__num {
  width: 36px !important;
  height: 36px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.rt-section__title {
  font-size: 19px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: var(--rt-text) !important;
}

@media (min-width: 768px) {
  .rt-section__title { font-size: 22px !important; }
}

.rt-section__body {
  padding: 8px 24px 28px !important;
}

@media (min-width: 768px) {
  .rt-section__body { padding: 12px 32px 32px !important; }
}

.rt-section__summary {
  padding: 0 24px 22px !important;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--rt-text-muted);
}

@media (min-width: 768px) {
  .rt-section__summary { padding: 0 32px 24px !important; }
}

.rt-section__summary strong {
  color: var(--rt-text);
  font-weight: 600;
}

.rt-section__edit {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--rt-brand) !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  background: var(--rt-brand-alpha-04);
  transition: background-color var(--rt-duration-fast) var(--rt-easing);
}
.rt-section__edit:hover {
  background: var(--rt-brand-alpha-08) !important;
}

/* === Section-Reveal-Animation === */
@keyframes rtSectionPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(var(--brand-primary-rgb), 0.10), 0 4px 12px rgba(var(--brand-primary-rgb), 0.06), 0 0 0 4px var(--rt-brand-alpha-08); }
  50%      { box-shadow: 0 12px 32px rgba(var(--brand-primary-rgb), 0.16), 0 4px 12px rgba(var(--brand-primary-rgb), 0.10), 0 0 0 6px var(--rt-brand-alpha-12); }
}

.rt-section--active.rt-section--just-activated {
  animation: rtSectionPulse 1.2s var(--rt-easing) 1;
}

@keyframes rtSlideDown {
  from { opacity: 0; transform: translateY(-8px); max-height: 0; }
  to   { opacity: 1; transform: translateY(0); max-height: 3000px; }
}

.rt-section--active .rt-section__body {
  animation: rtSlideDown 320ms var(--rt-easing-out);
}

/* === RT-OPTION (Premium-Upgrade) === */
.rt-option {
  padding: 16px 20px !important;
  border-radius: 12px !important;
  border-width: 1.5px !important;
  margin-bottom: 10px !important;
  background: white;
  transition: all var(--rt-duration) var(--rt-easing) !important;
}

.rt-option:hover {
  border-color: var(--rt-border-strong) !important;
  background: var(--rt-bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.rt-option--selected {
  border-color: var(--rt-brand) !important;
  background: linear-gradient(135deg, var(--rt-brand-alpha-04) 0%, rgba(255,255,255,0.5) 100%) !important;
  box-shadow: 0 0 0 3px var(--rt-brand-alpha-12), 0 4px 14px rgba(var(--brand-primary-rgb), 0.12) !important;
  transform: translateY(0);
}

.rt-option__title {
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em;
}

.rt-option__meta {
  font-size: 13.5px !important;
  margin-top: 2px;
}

.rt-option__price {
  font-size: 16px !important;
  font-weight: 700 !important;
}

.rt-option__price small.rt-option__price-label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--rt-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.rt-option__indicator {
  width: 22px !important;
  height: 22px !important;
  border-width: 2px !important;
}

.rt-option--selected .rt-option__indicator {
  border-color: var(--rt-brand) !important;
}

.rt-option__logo {
  width: 56px !important;
  height: 36px !important;
}

/* === SUBMIT-PRIMARY (Premium) === */
.rt-submit-primary {
  height: 60px !important;
  border-radius: 14px !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.005em;
  background: linear-gradient(135deg, var(--rt-brand) 0%, var(--rt-brand-dark) 100%) !important;
  box-shadow: 0 6px 18px rgba(var(--brand-primary-rgb), 0.24),
              0 2px 6px rgba(var(--brand-primary-rgb), 0.12) !important;
  letter-spacing: -0.005em;
  transition: all var(--rt-duration) var(--rt-easing) !important;
}

.rt-submit-primary:hover:not(:disabled):not(.is-loading) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(var(--brand-primary-rgb), 0.32),
              0 4px 10px rgba(var(--brand-primary-rgb), 0.16) !important;
}

.rt-submit-primary:active:not(:disabled):not(.is-loading) {
  transform: translateY(0);
}

.rt-submit-primary__arrow {
  transition: transform var(--rt-duration-fast) var(--rt-easing);
}
.rt-submit-primary:hover .rt-submit-primary__arrow {
  transform: translateX(3px);
}

/* === TYPOGRAPHY UPGRADE === */
.rt-checkout-layout {
  font-family: var(--rt-font, 'Inter'), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  letter-spacing: -0.003em;
}

/* === Section-Body Inputs Premium === */
.rt-section__body input[type="text"],
.rt-section__body input[type="email"],
.rt-section__body input[type="tel"],
.rt-section__body input[type="password"],
.rt-section__body input[type="number"],
.rt-section__body select,
.rt-section__body textarea {
  min-height: 52px !important;
  border-radius: 12px !important;
  border-width: 1.5px !important;
  font-weight: 500;
  padding: 14px 16px !important;
}

.rt-section__body label {
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rt-text-muted) !important;
  margin-bottom: 6px !important;
}

/* === LOGIN-SECTION (premium) === */
.rt-login-section {
  margin-top: 28px !important;
  padding-top: 22px !important;
  border-top: 1px solid var(--rt-border-soft) !important;
  text-align: center;
}

.rt-login-section__toggle {
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: var(--rt-text-muted) !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  background: var(--rt-bg) !important;
  border: 1px solid var(--rt-border-soft) !important;
  transition: all var(--rt-duration-fast) var(--rt-easing);
}

.rt-login-section__toggle:hover {
  background: white !important;
  border-color: var(--rt-brand) !important;
}

.rt-login-section__toggle strong {
  color: var(--rt-brand);
}

/* === CONFIRM-LEGAL (Premium) === */
.rt-confirm-legal {
  padding: 18px 22px !important;
  background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 100%) !important;
  border: 1px solid var(--brand-tint) !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 0 18px !important;
}

/* === RT-CONFIRM-ITEMS (Recap Table Premium) === */
.rt-confirm-items {
  padding: 20px !important;
  background: white !important;
  border: 1px solid var(--rt-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.rt-confirm-items table th {
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--rt-text-muted) !important;
  font-weight: 700 !important;
}

/* === RT-SUMMARY-DRAWER (premium) === */
.rt-summary-drawer {
  border-radius: 18px !important;
  border: 1px solid var(--rt-border) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
}

.rt-summary-drawer__toggle {
  padding: 18px 22px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.rt-summary-drawer__total {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--rt-brand) !important;
}

.rt-summary-drawer__body {
  padding: 0 22px 22px !important;
}

.rt-summary-trust {
  font-size: 13.5px !important;
  padding-top: 16px !important;
}

/* === STICKY-BOTTOM-CTA (Mobile Premium) === */
.rt-sticky-cta {
  padding: 14px 16px max(14px, env(safe-area-inset-bottom)) !important;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(10px);
}

.rt-sticky-cta__btn {
  height: 56px !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, var(--rt-brand) 0%, var(--rt-brand-dark) 100%) !important;
  box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.24) !important;
}

.rt-sticky-cta__total {
  font-size: 17px !important;
  font-weight: 700 !important;
}

/* === LAYOUT-SPACING (mehr Whitespace) === */
.rt-checkout-layout {
  padding-top: 8px;
  gap: 24px !important;
}

@media (min-width: 1024px) {
  .rt-checkout-layout {
    grid-template-columns: minmax(0, 720px) 380px !important;
    gap: 40px !important;
    padding-top: 16px;
  }
}

/* === Alerts Premium === */
.rt-alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rt-alert--error {
  background: var(--rt-error-bg);
  border: 1px solid var(--rt-error-border);
  color: var(--rt-error);
}

/* === PRIVACY NOTICE === */
.rt-form-privacy {
  font-size: 13px !important;
  text-align: center;
  color: var(--rt-text-muted);
  margin: 12px 0 0 !important;
}

/* End: Phase A Premium Polish */

/* === RT-CHECKOUT-TRUST-BAND (Inline-Variant für Step-Templates) === */
.rt-checkout-trust-band {
  margin: 0 0 16px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #ffffff 0%, var(--rt-bg) 100%);
  border: 1px solid var(--rt-border-soft);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.rt-checkout-trust-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  color: var(--rt-text-muted);
}

.rt-checkout-trust-band .rt-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rt-checkout-trust-band .rt-trust-pill svg {
  width: 16px; height: 16px;
  color: var(--rt-success);
}
.rt-checkout-trust-band .rt-trust-pill strong {
  font-weight: 600;
  color: var(--rt-text);
}
.rt-checkout-trust-band .rt-trust-pill--phone strong {
  color: var(--rt-brand);
}
.rt-checkout-trust-band .rt-trust-pill--phone svg { color: var(--rt-brand); }
.rt-checkout-trust-band .rt-trust-pill--phone:hover strong { text-decoration: underline; }

@media (max-width: 640px) {
  .rt-checkout-trust-band { padding: 12px 16px; }
  .rt-checkout-trust-band__inner { gap: 12px; font-size: 12.5px; }
  .rt-checkout-trust-band .rt-trust-pill svg { width: 14px; height: 14px; }
}

/* ============================================================
 * NIGELA-STYLE SHOPIFY-CHECKOUT (2026-05-19)
 * Sections OHNE Card-Borders. rothler-Blau var(--brand-primary) für Selected.
 * Brand-Pills oben. Express-Buttons. Submit-dynamic.
 * ============================================================ */

/* === Overall Form-Background === */
body.is-checkout .rt-checkout-layout {
  background: white;
}

/* === Brand-Pills + Cart === */
.rt-shop-brand {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rt-border-soft);
}

.rt-shop-brand__pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rt-shop-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.01em;
}

.rt-shop-pill--success {
  background: #d1fae5;
  color: #065f46;
}

.rt-shop-pill--rating {
  background: transparent;
  color: var(--rt-text);
  padding: 4px 0;
  gap: 5px;
}

.rt-shop-pill--rating strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--rt-text);
}

.rt-shop-pill__sub {
  font-size: 11.5px;
  color: var(--rt-text-muted);
  font-weight: 500;
}

@media (max-width: 640px) {
  .rt-shop-brand { margin-bottom: 18px; padding-bottom: 12px; }
  .rt-shop-pill { font-size: 11px; padding: 3px 8px; }
  .rt-shop-pill__sub { display: none; }
}

/* === Express-Checkout === */
.rt-shop-express {
  margin-bottom: 32px;
}

.rt-shop-express__label {
  text-align: center;
  font-size: 13px;
  color: var(--rt-text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.rt-shop-express__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}

.rt-shop-express__btn {
  height: 48px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  transition: filter var(--rt-duration-fast) var(--rt-easing),
              transform var(--rt-duration-fast) var(--rt-easing);
}

.rt-shop-express__btn:hover { filter: brightness(0.95); transform: translateY(-1px); }
.rt-shop-express__btn:active { transform: translateY(0); }

.rt-shop-express__btn--paypal { background: #ffc439; }
.rt-shop-express__btn--klarna { background: #ffa8cd; }
.rt-shop-express__btn--card { background: #000; color: white; }

@media (max-width: 480px) {
  .rt-shop-express__buttons { grid-template-columns: 1fr; gap: 8px; }
}

/* === ODER Divider === */
.rt-shop-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--rt-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rt-shop-divider::before,
.rt-shop-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rt-border);
}

/* === SECTION (KEINE Card-Borders!) === */
.rt-shop-section {
  margin: 0 0 28px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.rt-shop-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.rt-shop-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rt-text);
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.rt-shop-section__link {
  font-size: 14px;
  color: var(--rt-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rt-shop-section__link:hover {
  color: var(--rt-brand-dark);
}

.rt-shop-section__hint {
  font-size: 13.5px;
  color: var(--rt-text-muted);
  margin: 0 0 12px;
}

.rt-shop-section__body { padding: 0; }

/* === Inputs (clean Shopify-style) === */
.rt-shop-form input[type="text"],
.rt-shop-form input[type="email"],
.rt-shop-form input[type="tel"],
.rt-shop-form input[type="password"],
.rt-shop-form input[type="number"],
.rt-shop-form select,
.rt-shop-form textarea {
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  border: 1px solid #9ca3af;
  border-radius: 6px;
  background: white;
  font-family: inherit;
  font-size: 15px;
  color: var(--rt-text);
  transition: border-color var(--rt-duration-fast) var(--rt-easing),
              box-shadow var(--rt-duration-fast) var(--rt-easing);
}

.rt-shop-form input:hover,
.rt-shop-form select:hover {
  border-color: #6b7280;
}

.rt-shop-form input:focus,
.rt-shop-form select:focus,
.rt-shop-form textarea:focus {
  outline: none;
  border-color: var(--rt-brand);
  box-shadow: 0 0 0 1px var(--rt-brand);
}

.rt-shop-form label {
  font-size: 12.5px !important;
  color: var(--rt-text-muted) !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.rt-shop-form .form-group { margin-bottom: 10px !important; }
.rt-shop-form .form-row { margin: 0 -5px !important; }
.rt-shop-form .form-row > [class*="col-"] { padding: 0 5px !important; }

/* === INFO-BOX (Versand-Placeholder) === */
.rt-shop-info-box {
  padding: 16px 18px;
  background: #f4f6f8;
  border-radius: 6px;
  font-size: 14px;
  color: var(--rt-text-muted);
  line-height: 1.45;
}

/* === Shopify Cards (Zahlungsart, Rechnungsadr) === */
.rt-shop-options {
  display: flex;
  flex-direction: column;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
}

.rt-shop-option {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  column-gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  transition: background-color var(--rt-duration-fast) var(--rt-easing);
  font-size: 15px;
}

.rt-shop-option:last-child { border-bottom: 0; }
.rt-shop-option:hover { background: #f9fafb; }

.rt-shop-option--selected {
  background: rgba(var(--brand-primary-rgb), 0.04) !important;
  box-shadow: inset 0 0 0 2px var(--rt-brand);
  z-index: 1;
}

.rt-shop-option__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.rt-shop-option__indicator {
  width: 18px;
  height: 18px;
  border: 1.5px solid #9ca3af;
  border-radius: 50%;
  background: white;
  position: relative;
  flex-shrink: 0;
  transition: border-color var(--rt-duration-fast) var(--rt-easing);
}
.rt-shop-option__indicator::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--rt-brand);
  transform: scale(0);
  transition: transform var(--rt-duration-fast) var(--rt-easing-out);
}

.rt-shop-option--selected .rt-shop-option__indicator {
  border-color: var(--rt-brand);
  border-width: 2px;
}
.rt-shop-option--selected .rt-shop-option__indicator::after {
  transform: scale(1);
}

.rt-shop-option__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--rt-text);
  line-height: 1.3;
}

.rt-shop-option__logo {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}

/* Expand-Detail bei selected (PayPal-style "Du wirst weitergeleitet...") */
.rt-shop-option__detail {
  display: none;
  grid-column: 1 / -1;
  padding: 12px 18px;
  margin: 12px -16px -14px;
  background: #f4f6f8;
  font-size: 13px;
  color: var(--rt-text);
  border-top: 1px solid #e5e7eb;
}

.rt-shop-option--selected .rt-shop-option__detail {
  display: block;
}

/* === SUBMIT === */
.rt-shop-submit {
  margin-top: 32px;
}

.rt-shop-submit__notice {
  font-size: 12.5px;
  color: var(--rt-text-muted);
  text-align: center;
  margin: 0 0 14px;
  line-height: 1.5;
}
.rt-shop-submit__notice a {
  color: var(--rt-brand);
  text-decoration: underline;
}

.rt-shop-submit__btn {
  display: block;
  width: 100%;
  height: 56px;
  background: var(--rt-brand);
  color: white;
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.005em;
  transition: background-color var(--rt-duration-fast) var(--rt-easing),
              transform var(--rt-duration-fast) var(--rt-easing);
}

.rt-shop-submit__btn:hover:not(:disabled) {
  background: var(--rt-brand-dark);
}

.rt-shop-submit__btn:active:not(:disabled) {
  transform: translateY(1px);
}

.rt-shop-submit__btn:disabled, .rt-shop-submit__btn.is-loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.rt-shop-submit__btn.is-loading .rt-shop-submit__btn-text {
  visibility: hidden;
}
.rt-shop-submit__btn.is-loading::after {
  content: '';
  position: absolute;
  inset: 0; margin: auto;
  width: 22px; height: 22px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: rtSpin 600ms linear infinite;
}

.rt-shop-submit__btn { position: relative; }

/* === LOGIN-Form (hidden by default) === */
.rt-shop-login {
  margin: 18px 0;
  padding: 16px;
  background: var(--rt-bg);
  border-radius: 8px;
  border: 1px solid var(--rt-border);
}

.rt-shop-alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}
.rt-shop-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* === Override: alle rt-section Sachen (alte!) abschalten wenn rt-shop-section da ist === */
.rt-shop-section .rt-section,
.rt-shop-section.rt-section--active,
.rt-shop-section.rt-section--completed,
.rt-shop-section.rt-section--disabled {
  all: revert;
}

/* End: Nigela-Style Shopify Checkout */

/* Zusätzliche Trust-Pill Variante */
.rt-shop-pill--info {
  background: #dbeafe;
  color: var(--brand-primary-dark);
}
.rt-shop-pill svg { width: 12px; height: 12px; }

/* Section-Link Button (Anmelden) */
button.rt-shop-section__link {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

/* === ROTHLER shared typography polish for cart and premium checkout modules. === */
:root {
  --rt-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --rt-text: #111827;
  --rt-text-muted: #4b5563;
  --rt-text-faint: #6b7280;
}

body:not(.is-checkout),
body:not(.is-checkout) .rt-basket,
body:not(.is-checkout) .rt-cart,
body:not(.is-checkout) .rt-shop,
body:not(.is-checkout) .rt-summary,
body:not(.is-checkout) .rt-form-card {
  color: var(--rt-text) !important;
  font-family: var(--rt-font-sans) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

body:not(.is-checkout) button,
body:not(.is-checkout) input,
body:not(.is-checkout) select,
body:not(.is-checkout) textarea,
body:not(.is-checkout) .btn,
body:not(.is-checkout) .form-control,
body:not(.is-checkout) .rt-basket__title,
body:not(.is-checkout) .rt-basket__empty-title,
body:not(.is-checkout) .rt-basket__empty-text,
body:not(.is-checkout) .rt-basket__empty-button,
body:not(.is-checkout) .rt-cart__title,
body:not(.is-checkout) .rt-cart__name,
body:not(.is-checkout) .rt-cart__sku,
body:not(.is-checkout) .rt-cart__meta,
body:not(.is-checkout) .rt-cart__total-value,
body:not(.is-checkout) .rt-shop-section__title,
body:not(.is-checkout) .rt-shop-section__hint,
body:not(.is-checkout) .rt-shop-option__title,
body:not(.is-checkout) .rt-shop-submit__btn,
body:not(.is-checkout) .rt-summary__total-value,
body:not(.is-checkout) .rt-summary__row,
body:not(.is-checkout) .rt-form-card__title,
body:not(.is-checkout) .rt-form-card__hint {
  font-family: var(--rt-font-sans) !important;
  letter-spacing: 0 !important;
}

body:not(.is-checkout) .rt-basket__title,
body:not(.is-checkout) .rt-cart__title,
body:not(.is-checkout) .rt-shop-section__title,
body:not(.is-checkout) .rt-form-card__title {
  color: var(--rt-text) !important;
  font-size: 24px !important;
  font-weight: 760 !important;
  line-height: 1.2 !important;
}

body:not(.is-checkout) .rt-basket__empty-title,
body:not(.is-checkout) .rt-summary__total-value,
body:not(.is-checkout) .rt-cart__total-value {
  color: var(--rt-text) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

body:not(.is-checkout) .rt-basket__empty-text,
body:not(.is-checkout) .rt-cart__sku,
body:not(.is-checkout) .rt-cart__meta,
body:not(.is-checkout) .rt-summary__row--small,
body:not(.is-checkout) .rt-shop-section__hint,
body:not(.is-checkout) .rt-form-card__hint {
  color: var(--rt-text-faint) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body:not(.is-checkout) .rt-basket__items,
body:not(.is-checkout) .rt-cart__name,
body:not(.is-checkout) .rt-shop-option__title {
  color: var(--rt-text) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

body:not(.is-checkout) .rt-shop-submit__btn,
body:not(.is-checkout) .rt-btn,
body:not(.is-checkout) .rt-basket__empty-button {
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
}

@media (max-width: 767.98px) {
  body:not(.is-checkout) .rt-basket__title,
  body:not(.is-checkout) .rt-cart__title,
  body:not(.is-checkout) .rt-shop-section__title,
  body:not(.is-checkout) .rt-form-card__title {
    font-size: 22px !important;
  }

  body:not(.is-checkout) input,
  body:not(.is-checkout) select,
  body:not(.is-checkout) textarea,
  body:not(.is-checkout) .form-control {
    font-size: 16px !important;
  }
}

body:not(.is-checkout) .btn-primary,
body:not(.is-checkout) a.btn-primary,
body:not(.is-checkout) button.btn-primary,
body:not(.is-checkout) .rt-shop-submit__btn,
body:not(.is-checkout) .rt-btn,
body:not(.is-checkout) .rt-basket__empty-button {
  background-color: var(--brand-primary-dark) !important;
  border-color: var(--brand-primary-dark) !important;
  color: #ffffff !important;
}

body:not(.is-checkout) .btn-primary:hover,
body:not(.is-checkout) a.btn-primary:hover,
body:not(.is-checkout) button.btn-primary:hover,
body:not(.is-checkout) .rt-shop-submit__btn:hover,
body:not(.is-checkout) .rt-btn:hover,
body:not(.is-checkout) .rt-basket__empty-button:hover {
  background-color: var(--brand-primary-dark) !important;
  border-color: var(--brand-primary-dark) !important;
  color: #ffffff !important;
}

/* ============================================================
 * BASKET MOBILE FINAL - thumb reach, readability, sticky CTA
 * ============================================================ */
@media (max-width: 767.98px) {
  body:not(.is-checkout):has(.rt-basket) {
    background: #ffffff !important;
    padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
  }

  body:not(.is-checkout):has(.rt-basket) .breadcrumb-container,
  body:not(.is-checkout):has(.rt-basket) .breadcrumb-wrapper {
    display: none !important;
  }

  body:not(.is-checkout):has(.rt-basket) #content-wrapper,
  body:not(.is-checkout):has(.rt-basket) #content,
  body:not(.is-checkout):has(.rt-basket) main#main-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket {
    margin: 18px auto 0 !important;
    padding: 0 12px 14px !important;
    max-width: 100% !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-trust__container,
  body:not(.is-checkout):has(.rt-basket) .rt-trust__list {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-trust__item {
    min-width: 0 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-trust__text {
    min-width: 0 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-trust__sub,
  body:not(.is-checkout):has(.rt-basket) .rt-trust__link {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__header {
    margin: 0 0 14px !important;
    padding: 0 0 14px !important;
    border: 0 !important;
    box-shadow: none !important;
    gap: 4px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__title {
    font-size: 28px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__subline {
    margin: 0 !important;
    color: var(--rt-text-muted) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__layout {
    gap: 14px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items {
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #dbe5ef !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body.row {
    display: grid !important;
    grid-template-columns: 84px minmax(0, 1fr) !important;
    gap: 10px 12px !important;
    align-items: start !important;
    min-height: 0 !important;
    padding: 14px !important;
    margin: 0 !important;
    border: 0 !important;
    position: relative !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-image,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body > .cart-items-image {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 84px !important;
    max-width: 84px !important;
    min-width: 84px !important;
    height: 84px !important;
    max-height: 84px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-image a,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-image picture,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-image img,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-image .image-wrapper {
    width: 84px !important;
    height: 84px !important;
    max-width: 84px !important;
    max-height: 84px !important;
    display: block !important;
    object-fit: cover !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #dbe5ef !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body > .col:not(.cart-items-image):not(.cart-items-delete):not(.col-12) {
    grid-column: 2 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body > .col-12:not(.cart-items-image) {
    display: none !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body > .col > .row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 6px 10px !important;
    align-items: center !important;
    margin: 0 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body > .col > .row > [class*='col'] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body > .col > .row > [class*='col']:first-child {
    grid-column: 1 / -1 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-name {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    padding-right: 48px !important;
    margin: 0 !important;
    color: #111827 !important;
    font-size: 14.5px !important;
    font-weight: 760 !important;
    line-height: 1.28 !important;
    text-decoration: none !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: auto !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-single-price {
    display: none !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-quantity {
    grid-column: 1 !important;
    margin-top: 8px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-price.price-col {
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    margin-top: 8px !important;
    text-align: right !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-price-text {
    display: none !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .price_overall {
    color: #111827 !important;
    font-size: 20px !important;
    font-weight: 820 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .qty-wrapper,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .form-counter,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .qty-wrapper .input-group {
    width: 128px !important;
    max-width: 128px !important;
    height: 46px !important;
    margin: 0 !important;
    border: 1px solid #dbe5ef !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .qty-wrapper .btn,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .form-counter .btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    color: #111827 !important;
    background: #f8fafc !important;
    font-size: 14px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .qty-wrapper .form-control,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .form-counter .form-control {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 750 !important;
    text-align: center !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body > .col > .row > .ml-auto-util,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body > .col > .row > .col-xl-13 {
    grid-column: 1 / -1 !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid #edf2f7 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .list-unstyled {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .list-unstyled li.sku {
    display: block !important;
    margin: 0 !important;
    color: #64748b !important;
    font-size: 11.5px !important;
    line-height: 1.3 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .list-unstyled li.weight {
    display: none !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket-delivery {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 8px 9px !important;
    border: 1px solid #d8efe7 !important;
    border-radius: 10px !important;
    background: #f6fbf9 !important;
    color: #0a7c66 !important;
    font-size: 12.5px !important;
    line-height: 1.3 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket-delivery__dot {
    width: 8px !important;
    height: 8px !important;
    flex: 0 0 8px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body .cart-items-delete,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items form .cart-items-delete,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body [class*='col'].cart-items-delete {
    display: contents !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-delete-button {
    top: 10px !important;
    right: 10px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 1px solid #dbe5ef !important;
    box-shadow: none !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-delete-button::before {
    width: 15px !important;
    height: 15px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__continue {
    margin: 14px 0 0 !important;
    padding: 0 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__continue-link {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    color: #4b5563 !important;
    font-size: 14px !important;
    font-weight: 650 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-summary {
    margin-top: 2px !important;
    padding: 14px !important;
    gap: 12px !important;
    border-radius: 16px !important;
    box-shadow: none !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-summary-proof {
    padding: 12px !important;
    border-radius: 12px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-coupon__toggle {
    min-height: 48px !important;
    padding: 12px !important;
    font-size: 13px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-coupon__form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-coupon__input,
  body:not(.is-checkout):has(.rt-basket) .rt-coupon__submit {
    width: 100% !important;
    height: 46px !important;
    font-size: 15px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-summary__trust {
    display: none !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-summary__cta {
    display: flex !important;
    min-height: 52px !important;
    margin-top: 6px !important;
    border-radius: 14px !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 24px rgba(var(--brand-primary-rgb), 0.2) !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-summary__next-step {
    display: block !important;
    margin: -4px 0 0 0 !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-summary__total-value {
    font-size: 26px !important;
    line-height: 1 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-mobile-cta {
    z-index: 1040 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    border-top: 1px solid #dbe5ef !important;
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.1) !important;
    backdrop-filter: blur(14px);
  }

  body:not(.is-checkout):has(.rt-basket) .rt-mobile-cta__banner {
    display: none !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-mobile-cta__bar {
    min-height: 58px !important;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) !important;
    gap: 12px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-mobile-cta__label {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    letter-spacing: 0.04em !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-mobile-cta__value {
    color: #111827 !important;
    font-size: 21px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-mobile-cta__btn {
    width: 52% !important;
    min-width: 168px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    justify-content: center !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 22px rgba(var(--brand-primary-rgb), 0.22) !important;
  }
}

@media (max-width: 380px) {
  body:not(.is-checkout):has(.rt-basket) .rt-basket {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-body.row {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 9px 10px !important;
    padding: 12px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-image,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-image a,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-image picture,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-image img,
  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-image .image-wrapper {
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    max-height: 76px !important;
    min-width: 76px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-basket__items .cart-items-name {
    font-size: 14px !important;
  }

  body:not(.is-checkout):has(.rt-basket) .rt-mobile-cta__btn {
    min-width: 154px !important;
  }
}

/* Thank-you page ---------------------------------------------------------- */
body:not(.is-checkout):has(.rt-ty) {
  background: #f7f9fc;
  color: #111827;
}

body:not(.is-checkout):has(.rt-ty) #content {
  background: #f7f9fc;
}

.rt-ty {
  width: min(1180px, calc(100vw - 32px));
  margin: 34px auto 70px;
  color: #111827;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rt-ty * {
  letter-spacing: 0;
}

.rt-ty-hero,
.rt-ty-card,
.rt-ty-order,
.rt-ty-review,
.rt-ty-products {
  border: 1px solid #dbe5ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.05);
}

.rt-ty-hero {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 34px;
}

.rt-ty-hero__mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--brand-tint);
  border-radius: 18px;
  background: #edf7ff;
  color: var(--brand-primary);
  font-size: 29px;
  font-weight: 850;
}

.rt-ty-eyebrow,
.rt-ty-card__eyebrow {
  margin: 0 0 8px;
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.rt-ty h1,
.rt-ty h2 {
  margin: 0;
  color: #111827;
  font-weight: 850;
  letter-spacing: 0;
}

.rt-ty h1 {
  max-width: 820px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
}

.rt-ty h2 {
  font-size: 24px;
  line-height: 1.18;
}

.rt-ty-lead {
  max-width: 720px;
  margin: 16px 0 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.55;
}

.rt-ty-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.rt-ty-meta__item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  background: #f8fafc;
}

.rt-ty-meta dt {
  margin: 0 0 5px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.rt-ty-meta dd {
  margin: 0;
  color: #111827;
  font-size: 17px;
  font-weight: 850;
}

.rt-ty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.rt-ty-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.rt-ty-btn:hover,
.rt-ty-btn:focus {
  transform: translateY(-1px);
}

.rt-ty-btn--primary {
  border: 1px solid var(--brand-primary);
  background: var(--brand-primary);
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(var(--brand-primary-rgb), 0.2);
}

.rt-ty-btn--primary:hover,
.rt-ty-btn--primary:focus {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
}

.rt-ty-btn--ghost {
  border: 1px solid #c9d8e8;
  background: #fff;
  color: var(--brand-primary-dark) !important;
}

.rt-ty-btn--ghost:hover,
.rt-ty-btn--ghost:focus {
  border-color: var(--brand-tint-strong);
  background: #f4faff;
}

.rt-ty-payment-module:empty {
  display: none;
}

.rt-ty-payment-module:not(:empty) {
  margin-top: 18px;
}

.rt-ty-payment-module .checkout-paymentmodules-alert,
.rt-ty-payment-module .payment-method-module-ids {
  display: none;
}

.rt-ty-payment-module .payment-method-inner:empty {
  display: none;
}

.rt-ty-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  margin-top: 18px;
}

.rt-ty-card {
  padding: 26px;
}

.rt-ty-card p {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.55;
}

.rt-ty-steps {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rt-ty-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.rt-ty-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #edf7ff;
  color: var(--brand-primary);
  font-size: 15px;
  font-weight: 850;
}

.rt-ty-steps strong {
  display: block;
  color: #111827;
  font-size: 16px;
  font-weight: 850;
}

.rt-ty-steps small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
}

.rt-ty-link {
  display: inline-flex;
  margin-top: 8px;
  color: #006b5c;
  font-size: 16px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rt-ty-order {
  margin-top: 18px;
  overflow: hidden;
}

.rt-ty-order summary {
  display: flex;
  min-height: 70px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 26px;
  color: #111827;
  font-size: 18px;
  font-weight: 850;
  list-style: none;
}

.rt-ty-order summary::-webkit-details-marker {
  display: none;
}

.rt-ty-order summary::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #c9d8e8;
  border-radius: 50%;
  color: var(--brand-primary);
  font-size: 21px;
  line-height: 1;
}

.rt-ty-order[open] summary::after {
  content: "-";
}

.rt-ty-order summary strong {
  margin-left: auto;
  color: #6b7280;
  font-size: 14px;
  font-weight: 800;
}

.rt-ty-order__body {
  border-top: 1px solid #e8eef5;
  padding: 8px 24px 24px;
}

.rt-ty-order .order-items.card-table {
  border: 0;
  background: transparent;
}

.rt-ty-order .order-item {
  align-items: center;
  padding: 18px 0;
}

.rt-ty-order .order-item + .order-item {
  border-top: 1px solid #edf2f7;
}

.rt-ty-order .order-item a {
  color: #111827;
  font-weight: 800;
}

.rt-ty-order .item-detail-list {
  margin-top: 8px;
  color: #64748b !important;
}

.rt-ty-order hr {
  border-color: #edf2f7;
}

.rt-ty-review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 26px;
}

.rt-ty-review p {
  max-width: 620px;
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.55;
}

.rt-ty-products {
  margin-top: 18px;
  padding: 26px;
}

.rt-ty-section-head {
  margin-bottom: 18px;
}

.rt-ty-product-grid,
.rt-ty-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rt-ty-product-card,
.rt-ty-cat-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  background: #fff;
  color: #111827 !important;
  text-decoration: none !important;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.rt-ty-product-card:hover,
.rt-ty-product-card:focus,
.rt-ty-cat-card:hover,
.rt-ty-cat-card:focus {
  border-color: var(--brand-tint-strong);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.rt-ty-product-card__image,
.rt-ty-cat-card__image {
  display: grid;
  height: 180px;
  place-items: center;
  margin: 12px 12px 0;
  border-radius: 14px;
  background: #f6f9fc;
  overflow: hidden;
}

.rt-ty-product-card__image picture,
.rt-ty-product-card__image img,
.rt-ty-cat-card__image picture,
.rt-ty-cat-card__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.rt-ty-product-card__image img,
.rt-ty-cat-card__image img {
  object-fit: contain;
  padding: 10px;
}

.rt-ty-product-card__body,
.rt-ty-cat-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px;
}

.rt-ty-product-card__name,
.rt-ty-cat-card__body strong {
  display: block;
  color: #111827;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.28;
}

.rt-ty-product-card__price {
  display: block;
  margin-top: auto;
  padding-top: 16px;
}

.rt-ty-product-card__price .price_wrapper {
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  margin: 0 !important;
}

.rt-ty-product-card__price .price_label.pricestarting {
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.rt-ty-product-card__price .price.productbox-price,
.rt-ty-product-card__price .price {
  color: #111827 !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.rt-ty-product-card__price .footnote-reference,
.rt-ty-product-card__price .price-note {
  display: none !important;
}

.rt-ty-cat-card {
  min-height: 250px;
}

.rt-ty-cat-card__image:empty {
  display: none;
}

.rt-ty-cat-card__body {
  justify-content: flex-end;
}

.rt-ty-cat-card__body small {
  display: block;
  margin-top: 8px;
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 850;
}

.rt-ty-products .slick-slider-other {
  margin: 0;
}

.rt-ty-products .slick-list {
  overflow: visible;
}

.rt-ty-products .slick-type-product,
.rt-ty-products .slick-track {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

.rt-ty-products .slick-slide {
  width: auto !important;
}

.rt-ty-products .slick-arrow,
.rt-ty-products .slick-dots {
  display: none !important;
}

.rt-ty-products .product-wrapper {
  display: flex !important;
  height: auto !important;
  min-height: 100%;
  flex-direction: column;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  background: #fff;
  text-align: left !important;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.rt-ty-products .product-wrapper:hover,
.rt-ty-products .product-wrapper:focus-within {
  border-color: var(--brand-tint-strong);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.rt-ty-products .productbox-image {
  width: 100%;
  height: 164px;
  margin: 0 0 12px;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}

.rt-ty-products .productbox-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.rt-ty-products .productbox-title,
.rt-ty-products .productbox-title a,
.rt-ty-products .item-slider-desc,
.rt-ty-products .item-slider-desc * {
  min-height: 0 !important;
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
  text-align: left !important;
  text-decoration: none !important;
}

.rt-ty-products .item-slider-desc {
  display: block !important;
  min-height: 44px !important;
  margin-top: 0 !important;
}

.rt-ty-products .price_wrapper {
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  margin: 16px 0 0 !important;
}

.rt-ty-products .price_label.pricestarting {
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.rt-ty-products .price.productbox-price {
  margin-top: auto;
  color: #111827 !important;
  font-size: 17px !important;
  font-weight: 850 !important;
  text-align: left !important;
}

.rt-ty-products .productbox-ribbon,
.rt-ty-products .wishlist,
.rt-ty-products .productbox-variations,
.rt-ty-products .productbox-actions {
  display: none !important;
}

.rt-ty-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rt-ty-cats a {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  background: #f8fafc;
  color: #111827;
  font-weight: 850;
  text-decoration: none !important;
}

.rt-ty-cats a:hover,
.rt-ty-cats a:focus {
  border-color: var(--brand-tint-strong);
  background: #f4faff;
  color: var(--brand-primary-dark);
}

@media (max-width: 991.98px) {
  .rt-ty {
    width: min(100% - 24px, 760px);
    margin: 20px auto 46px;
  }

  .rt-ty-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
    border-radius: 16px;
  }

  .rt-ty-hero__mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 25px;
  }

  .rt-ty h1 {
    font-size: 34px;
    line-height: 1.06;
  }

  .rt-ty-lead {
    font-size: 16px;
  }

  .rt-ty-meta,
  .rt-ty-grid,
  .rt-ty-review,
  .rt-ty-cats {
    grid-template-columns: 1fr;
  }

  .rt-ty-product-grid,
  .rt-ty-cat-grid,
  .rt-ty-products .slick-type-product,
  .rt-ty-products .slick-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rt-ty-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rt-ty-btn {
    width: 100%;
  }

  .rt-ty-card,
  .rt-ty-products,
  .rt-ty-review {
    padding: 22px;
    border-radius: 16px;
  }

  .rt-ty-order summary {
    min-height: 64px;
    padding: 0 20px;
    font-size: 16px;
  }

  .rt-ty-order summary strong {
    display: none;
  }

  .rt-ty-order__body {
    padding: 2px 16px 18px;
  }

  .rt-ty-order .order-item {
    padding: 16px 0;
  }
}

@media (max-width: 575.98px) {
  .rt-ty {
    width: 100%;
    margin: 0 auto 34px;
  }

  .rt-ty-hero,
  .rt-ty-card,
  .rt-ty-order,
  .rt-ty-review,
  .rt-ty-products {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .rt-ty-hero {
    padding: 22px 18px 24px;
  }

  .rt-ty h1 {
    font-size: 30px;
  }

  .rt-ty h2 {
    font-size: 21px;
  }

  .rt-ty-meta__item {
    padding: 14px 16px;
  }

  .rt-ty-card,
  .rt-ty-products,
  .rt-ty-review {
    padding: 20px 18px;
  }

  .rt-ty-order {
    margin-top: 14px;
  }

  .rt-ty-order__body {
    overflow-x: hidden;
  }

  .rt-ty-order .order-item-image-wrapper {
    max-width: 86px;
  }

  .rt-ty-cats a {
    min-height: 60px;
  }

  .rt-ty-product-grid,
  .rt-ty-cat-grid,
  .rt-ty-products .slick-type-product,
  .rt-ty-products .slick-track {
    grid-template-columns: 1fr;
  }

  .rt-ty-product-card__image,
  .rt-ty-cat-card__image {
    height: 176px;
  }

  .rt-ty-products .productbox-image {
    height: 140px;
  }
}
