/* kasse.css – Kasse */

/* Banner oben (Shop) */
.shop-banner {
    height: 140px;
}

/* Top-Bar */
.shop-top-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-areas: "nav account cart";
    gap: 1.5rem;
}

.shop-top-section {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.shop-top-section--nav    { grid-area: nav; }
.shop-top-section--account{ grid-area: account; }
.shop-top-section--cart   { grid-area: cart; }

.shop-nav-header,
.shop-top-section h2 {
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
}

.shop-heading-icon {
    font-size: 1.1rem;
}

/* Shop Navigation */
.shop-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 2rem;
    font-size: 0.9rem;
}
.shop-nav-col a {
    display: block;
    text-decoration: none;
    color: inherit;
    line-height: 1.6;
}
.shop-nav-col a:hover {
    text-decoration: underline;
}

/* Konto */
.shop-account-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.2rem 0;
}
.shop-account-link {
    text-decoration: none;
    color: inherit;
    line-height: 1.6;
    font-size: 0.9em;
}
.shop-account-link:hover {
    text-decoration: underline;
}

/* Warenkorb-Zusammenfassung */
.shop-cart-summary {
    font-size: 0.9rem;
}
.shop-cart-summary .cart-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

/* Tablet / Mobile Layout Top-Bar */
@media (max-width: 992px) {
    .shop-top-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "nav nav"
            "account cart";
    }
}
@media (max-width: 768px) {
    .shop-top-bar {
        grid-template-columns: 1fr;
        grid-template-areas:
            "nav"
            "account"
            "cart";
    }
}

/* Mobile: Zurück zum Shop */
.cart-mobile-shop-link {
    display: none;
    padding: 1rem 1rem 0.3rem;
}
.cart-mobile-shop-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.cart-mobile-shop-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border-radius: 18px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}
.cart-mobile-shop-button i {
    font-size: 1rem;
}
@media (max-width: 768px) {
    .cart-mobile-shop-link {
        display: block;
    }
}

/* -----------------------------------------
   Checkout Hauptlayout 65 / 35
------------------------------------------ */

.checkout-main {
    padding: 2rem 0 3rem;
}

.checkout-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 2rem;
}

.checkout-left,
.checkout-right {
    min-width: 0;
}

@media (max-width: 992px) {
    .checkout-inner {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------
   Tabs & Panels
------------------------------------------ */

.checkout-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkout-tab-button {
    flex: 1;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #ccc;
    background: #f6f3ef;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.checkout-tab-button.is-active {
    background: var(--bg-dark);
    color: #fff;
    border-color: #111;
}
.checkout-tab-button.is-disabled {
    opacity: 0.4;
    cursor: default;
}

/* Panels */
.checkout-tab-panels {
    background: transparent;
}

.checkout-panel {
    display: none;
    background: #ffffff;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.checkout-panel.is-active {
    display: block;
}

.checkout-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap; /
}
.checkout-panel-header h2 {
    margin: 0;
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .btn-equals-address {
        font-size: 0.75rem;           
        width: 100%;                
        justify-content: flex-start;
    }

    .checkout-panel-header h2 {
        flex-basis: 100%; 
    }
}

/* Equals Button */
.btn-equals-address {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    border: none;
    background: var(--bg-dark);
    color: #fff;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}
.btn-equals-address i {
    font-size: 0.9rem;
}

/* Formulare */
.checkout-form .form-row {
    margin-bottom: 0.75rem;
}
.checkout-form label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}
.checkout-form input {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
    box-sizing: border-box;
}

/* PLZ & Ort in einer Zeile – 30/70 */
.checkout-form .form-row-inline {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem;
}
.checkout-form .form-row-inline > div {
    min-width: 0;
}
.checkout-form .form-row-inline > div:first-child {
    flex: 0 0 30%;
}
.checkout-form .form-row-inline > div:last-child {
    flex: 0 0 70%;
}
@media (max-width: 480px) {
    .checkout-form .form-row-inline {
        flex-direction: column !important;
    }
    .checkout-form .form-row-inline > div:first-child,
    .checkout-form .form-row-inline > div:last-child {
        flex: 1 1 auto;
    }
}

/* Gutscheine-Panel */
.checkout-coupon-area p {
    margin-top: 0;
    font-size: 0.9rem;
}
.checkout-coupon-input-row {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0;
}
.checkout-coupon-input {
    flex: 1;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}
.checkout-coupon-apply {
    border-radius: 999px;
    border: none;
    padding: 0.55rem 1.1rem;
    background: #111;
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
}
.checkout-coupon-message {
    font-size: 0.85rem;
    min-height: 1.1em;
}
.checkout-coupon-message.is-error {
    color: #b00020;
}
.checkout-coupon-message.is-success {
    color: #0d7a2b;
}

.checkout-coupon-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.checkout-coupon-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem 0.35rem 0.6rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-size: 0.85rem;
}
.checkout-coupon-pill button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.checkout-coupon-pill i {
    font-size: 0.85rem;
}

/* -----------------------------------------
   Datenschutz & AGB Switches
------------------------------------------ */

.checkout-legal {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.checkout-switch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkout-switch input {
    display: none;
}

.checkout-switch-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #d0d0d0;
    flex-shrink: 0;
    cursor: pointer;
}

.checkout-switch-toggle::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.checkout-switch input:checked + .checkout-switch-toggle {
    background: #111;
}
.checkout-switch input:checked + .checkout-switch-toggle::before {
    transform: translateX(20px);
}

.checkout-switch-label a {
    text-decoration: underline;
}

/* -----------------------------------------
   Rechte Spalte – Zusammenfassung
------------------------------------------ */

.checkout-summary-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}
.checkout-summary-box h2 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

.summary-placeholder {
    margin: 0;
    font-size: 0.85rem;
    color: #777;
}
.summary-lines {
    display: none;
    font-size: 0.9rem;
}
.summary-lines span {
    display: block;
}

/* PLZ & Ort in einer Zeile (Summary) */
.summary-zip-city {
    display: block;
}
.summary-zip-city span {
    display: inline;
    margin-right: 0.4rem;
}

/* Versand-Zeile: Preis rechtsbündig */
.summary-shipping-price {
    display: block;
    text-align: right;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}
.checkout-total-row--strong {
    margin-top: 0.6rem;
    font-weight: 600;
}

.checkout-storage-button,
.checkout-shipping-button {
    margin-top: 1rem;
    width: 100%;
    border-radius: 999px;
    border: none;
    padding: 0.65rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    background: var(--bg-dark);
    color: #fff;
}

.checkout-storage-button[disabled],
.checkout-shipping-button[disabled] {
    background: #d0d0d0;
    cursor: not-allowed;
}

.checkout-storage-button {
    background: rgb(255, 204, 0);
    color: rgb(212, 5, 17);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 0px;
    font-weight: 700;
}

/* Bestellübersicht */
.checkout-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}
.checkout-items-list li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid #eee;
}
.checkout-items-list li:last-child {
    border-bottom: none;
}
.checkout-items-list .item-title {
    font-weight: 500;
}
.checkout-items-list .item-qty {
    text-align: right;
}
.checkout-items-list .item-price {
    text-align: right;
}

/* Zahlungsblock rechts */
.checkout-payment-box.checkout-payment-box--disabled {
    opacity: 0.5;
    pointer-events: none;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}
.payment-option input {
    margin-right: 0.2rem;
}

.checkout-place-order-button {
    margin-top: 1rem;
    width: 100%;
    border-radius: 999px;
    border: none;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    background: var(--bg-dark);
    color: #fff;
}
.checkout-place-order-button[disabled] {
    background: #d0d0d0;
    cursor: not-allowed;
}

/* -----------------------------------------
   Versand-Modal
------------------------------------------ */

.checkout-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.checkout-modal-overlay.is-visible {
    display: flex;
}

.checkout-modal {
    max-width: 520px;       
    box-sizing: border-box;
    max-height: 90vh;       
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    width: 90%;
    box-shadow: 0 14px 40px rgba(0,0,0,0.2);
}
.checkout-modal h2 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}
.checkout-modal p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.checkout-modal {
    position: relative;
}

/* Vollflächige Überlagerung im Modal */
.checkout-modal-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: none; /* wird per JS auf flex gestellt */
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.checkout-modal-loading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #333;
}

.checkout-modal-loading-inner i {
    font-size: 1.4rem;
}

/* Versandoptionen */
.shipping-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}
.shipping-option input {
    margin-right: 0.5rem;
}
.shipping-label {
    flex: 1;
}
.shipping-price {
    white-space: nowrap;
}

/* Modal Buttons */
.checkout-modal-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}
.checkout-modal-btn {
    border-radius: 999px;
    border: none;
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
    cursor: pointer;
    background: var(--bg-dark);
    color: #fff;
}
.checkout-modal-btn.checkout-modal-cancel {
    background: #e0e0e0;
    color: #222;
}

/* Mobile-Optimierung */
@media (max-width: 600px) {
    .checkout-modal-overlay {
        padding: 8px;      
    }

    .checkout-modal {
        max-width: 100%;    
        width: 100%;
        margin: 0 auto;
        border-radius: 10px; 
    }
}


/* Box mit gespeicherten Adressen rechts auf der Kasse */
.checkout-address-selector {
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 20px 20px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.06);
}

.checkout-address-selector h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.checkout-address-selector-intro {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: #555;
}

/* Liste der Adressen */
.checkout-address-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Karte pro Adresse (angelehnt an adressen.php) */
.checkout-address-card {
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 10px 12px;
    font-size: 0.9rem;
    background: #faf7f2;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-address-card:hover {
    background: #f3e8dc;
    border-color: #e0c9a4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.checkout-address-card-header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.checkout-address-card-label {
    font-weight: 600;
}

.checkout-address-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

/* Buttons für "als Rechnungsadresse" / "als Lieferadresse" */
.checkout-address-apply {
    border: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;    
    background: var(--bg-dark);
    color: #fff;
}

.checkout-address-apply:hover {
    background: #e3d1b8;
}

.checkout-address-apply i {
    font-size: 0.8rem;
}

/* kleine Adress-Zeilen */
.checkout-address-card-lines span {
    display: block;
    line-height: 1.3;
}

/* Mobile Anpassung */
@media (max-width: 900px) {
    .checkout-address-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-address-apply {
        justify-content: center;
        width: 100%;
    }
}

    /* Adressliste im eingeloggten Bereich */
    .checkout-address-list--scroll {
        max-height: 170px;
        overflow-y: auto;
    }

    /* Zusammenfassung: Titel + Icons */
    .checkout-summary-box .summary-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .summary-title-actions {
        display: none; /* wird per JS eingeblendet */
        align-items: center;
        gap: 8px;
        font-size: 0.9em;
        color: #008000; /* Check-Icon-Farbe */
    }

    .checkout-summary-box.has-address .summary-title-actions {
        display: inline-flex;
    }

    .summary-edit-btn {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        color: inherit;
    }

    /* Box für Rechnungs-/Lieferadresse animierbar machen */
    .checkout-summary-box .summary-address {
        overflow: hidden;
    }

/* Tablet: Rechnungs- & Lieferadresse nebeneinander */
@media (min-width: 701px) and (max-width: 1024px) {
    .checkout-right-addresses {
        display: flex;
        gap: 16px;
    }

    .checkout-right-addresses .checkout-summary-box {
        flex: 1 1 0;
    }
}

/* Handy & Desktop: Wrapper verhält sich wie ein normaler Block (untereinander) */
@media (max-width: 700px), (min-width: 1025px) {
    .checkout-right-addresses {
        display: block;
    }
}

.checkout-items-list li {
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
        "title qty price"
        "variation variation variation";
    row-gap: 4px;
}

.checkout-row-even {
    background: #fafafa;
}

.checkout-row-odd {
    background: #ffffff;
}

.checkout-items-list .item-title {
    grid-area: title;
    font-weight: 500;
}

.checkout-items-list .item-qty {
    grid-area: qty;
    text-align: right;
}

.checkout-items-list .item-price {
    grid-area: price;
    text-align: right;
    font-weight: 600;
}

.checkout-items-list .item-variation {
    grid-area: variation;
    font-size: 0.85rem;
    color: #555;
}

.checkout-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 250px;      /* <- Scrollbegrenzung */
    overflow-y: auto;
}

.checkout-items-list li {
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
        "title qty price"
        "variation variation variation";
    row-gap: 4px;
}

.checkout-row-even {
    background: #fafafa;
}

.checkout-row-odd {
    background: #ffffff;
}

.checkout-items-list .item-title {
    grid-area: title;
    font-weight: 500;
}

.checkout-items-list .item-qty {
    grid-area: qty;
    text-align: right;
}

.checkout-items-list .item-price {
    grid-area: price;
    text-align: right;
    font-weight: 600;
}

.checkout-items-list .item-variation {
    grid-area: variation;
    font-size: 0.85rem;
    color: #555;
}

/* Gewicht unten rechts */
.checkout-weight-info {
    margin-top: 8px;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Basis: gleiche Optik wie Inputs */
.checkout-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    background-color: #fff;
    box-sizing: border-box;
}

/* Speziell für Selects */
.checkout-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: none; /* native Pfeile ausblenden, wenn du willst */
}

/* Optional: eigenen Pfeil einbauen */
.checkout-field {
    position: relative;
}

.checkout-select {
    padding-right: 32px; /* Platz für Pfeil */
}

.checkout-field::after {
    content: "\f107"; /* Font Awesome: fa-chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    bottom: 12px;
    pointer-events: none;
    font-size: 0.9rem;
    color: #555;
}

.checkout-order-error {
    color: #b00020;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weigt: 900;
    text-align: center;
}

body.checkout-processing {
    overflow: hidden;
}

.checkout-processing-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
}

.checkout-processing-inner {
    background: #ffffff;
    padding: 24px 28px;
    border-radius: 12px;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    font-size: 0.95rem;
}

.checkout-processing-inner i {
    margin-top: 12px;
    font-size: 1.6rem;
}

.checkout-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkout-items-list li {
    position: relative; /* wichtig für das überlappende Icon */
}

/* Trash-Icon-Button */
.checkout-remove-item {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: #c62828;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 2;
    font-size: 0.65rem;
}

.checkout-remove-item:hover {
    background: #b71c1c;
}

.checkout-remove-item.is-loading {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 600px) {
    .checkout-tabs {
        flex-direction: column;   /* statt horizontal jetzt vertikal */
        gap: 0.5rem;
    }

    .checkout-tab-button {
        width: 100%;              /* Buttons über die ganze Breite */
        text-align: left;         /* optional: Text linksbündig */
        padding: 0.75rem 1rem;    /* optional: etwas „touch-freundlicher“ */
    }
}

.klarna-checkout-dialog {
  max-width: 640px;
  width: 100%;
}

.klarna-close-button {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* Overlay Hintergrund */
#bb-shipping-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* über alles */
    pointer-events: none; /* Maus blockiert nicht – kann auf Wunsch entfernt werden */
    opacity: 0;
    transition: opacity 200ms ease;
}

/* Box in der Mitte */
#bb-shipping-overlay .bb-overlay-box {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    padding: 20px 30px;
    border-radius: 10px;
    background: white;
    color: #333;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    pointer-events: all;
}

/* Icon */
#bb-shipping-overlay i {
    font-size: 28px;
}

#ppm_selected {
    display: none;
}

.ppm_selected {
    font-size:.88em;
    color:var(--bg-dark);
    font-weight: 600;
}
.ppm-change-pickup {
  margin-top: 6px;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.2;
  border-radius: 999px; /* pill shape */
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  cursor: pointer;
}

.ppm-change-pickup:hover {
  background: #eef2f7;
}

.ppm-change-pickup:active {
  transform: translateY(1px);
}

.checkout-payment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-payment-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.payment-option{
  display:grid;
  grid-template-columns: 28px 1fr; 
  grid-auto-rows: auto;
  column-gap: 12px;
  row-gap: 6px;
  align-items:start;
  cursor:pointer;
}

/* Positionierung im Grid */
.payment-radio{
  grid-column: 1;
  grid-row: 1;          
  align-self:start;     
  margin-top: 3px;      
}

.payment-label{
  grid-column: 2;
  grid-row: 1;          
  font-weight: 600;
}

.payment-desc{
  grid-column: 2;
  grid-row: 2;          
  line-height: 1.5;
  color: #444;
}

/* Container */
.checkout-auth-hint {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-bottom: 18px;
}

/* Typography */
.checkout-auth-hint__title {
  display: block;
  margin: -18px -18px 14px;   
  padding: 12px 16px;
  background: var(--bg-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  border-radius: 16px 16px 0 0; 
}

.checkout-auth-hint__text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
}

.checkout-auth-hint__list {
  margin: 0 0 14px 18px;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
}

.checkout-auth-hint__list li {
  margin: 0 0 6px;
}

/* Actions */
.checkout-auth-hint__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Button base */
.btn.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg-dark);
  color: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 120ms ease, opacity 120ms ease;
}

.btn.btn-dark:hover {
  transform: translateY(-1px);
}

.btn.btn-dark:active {
  transform: translateY(0);
  opacity: 0.92;
}

/* Optional: make link-button look exactly like a button */
a.btn.btn-dark {
  -webkit-appearance: none;
  appearance: none;
}

