/* Storage44 Booking Logic – Styles (brand color: #005177) */

/* ------------------------------------------------------------------ */
/* Rental Duration Selector – Card UI                                  */
/* ------------------------------------------------------------------ */
.s44-rental-selector {
    margin: 1.5rem 0;
}
.s44-rental-selector__label {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #666;
    margin: 0 0 .75rem;
}

.s44-rental-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}

@media (max-width: 600px) {
    .s44-rental-cards { grid-template-columns: 1fr; }
}

/* Each card */
.s44-rental-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: 1rem 1rem 1rem;
    border: 2px solid #d4dae4;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, box-shadow .15s, background .15s;
    overflow: hidden;
}
.s44-rental-card:hover {
    border-color: #005177;
    box-shadow: 0 2px 12px rgba(0,81,119,.10);
}
/* Selected state */
.s44-rental-card:has(.s44-rental-card__radio:checked) {
    border-color: #005177;
    background: #f0f7fb;
    box-shadow: 0 2px 16px rgba(0,81,119,.14);
}
/* Promo card default tint */
.s44-rental-card--promo {
    border-color: #b8d8e8;
}
.s44-rental-card--promo:has(.s44-rental-card__radio:checked) {
    border-color: #005177;
    background: #ebf5fa;
}

/* Hide the actual radio visually */
.s44-rental-card__radio {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
    pointer-events: none;
}

/* Badge (top-right ribbon) */
.s44-rental-card__badge {
    position: absolute;
    top: 0; right: 0;
    background: #005177;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 0 8px 0 8px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Title */
.s44-rental-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

/* Price area */
.s44-rental-card__price {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    margin: .1rem 0 .4rem;
}
.s44-rental-card__price .woocommerce-Price-amount,
.s44-rental-card__price .amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #005177;
}
.s44-card__per {
    font-size: .75rem;
    color: #888;
    font-weight: 400;
}
/* "1. Monat: 1€" line */
.s44-card__promo-first {
    font-size: .95rem;
    font-weight: 700;
    color: #005177;
}
.s44-card__promo-first .woocommerce-Price-amount,
.s44-card__promo-first .amount {
    font-size: .95rem;
    font-weight: 700;
    color: #c07000;
}
/* "2. + 3. Monat: je €X" line */
.s44-card__promo-rest {
    font-size: .82rem;
    color: #555;
}
.s44-card__promo-rest .woocommerce-Price-amount,
.s44-card__promo-rest .amount {
    font-size: .82rem;
    font-weight: 600;
    color: #333;
}
/* Crossed-out old price for 6-month */
.s44-card__crossed {
    font-size: .8rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    margin-left: .25rem;
}
.s44-card__crossed .woocommerce-Price-amount,
.s44-card__crossed .amount {
    font-size: .8rem;
    color: #999;
    font-weight: 400;
}

/* Total line */
.s44-rental-card__total {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    padding-top: .5rem;
    border-top: 1px solid #e4e9ef;
    font-size: .82rem;
    color: #555;
    line-height: 1.4;
}
.s44-rental-card__total strong {
    color: #1a1a2e;
    font-size: .95rem;
}
.s44-rental-card__total small {
    font-size: .72rem;
    color: #999;
}
.s44-card__vat {
    font-size: .68rem;
    color: #aaa;
    margin-top: .25rem;
    line-height: 1.5;
}
.s44-card__vat .woocommerce-Price-amount,
.s44-card__vat .amount {
    font-size: .68rem;
    color: #aaa;
    font-weight: 400;
}
.s44-card__vat-free {
    font-size: .68rem;
    color: #aaa;
}

/* ------------------------------------------------------------------ */
/* Cart Add-On Notices                                                  */
/* ------------------------------------------------------------------ */
.s44-addon-notices {
    display: flex;
    flex-direction: column;
    gap: .875rem;
    margin-bottom: 1.5rem;
}
.s44-addon-notice {
    display: flex;
    gap: .875rem;
    padding: .875rem 1.125rem;
    background: #fff;
    border: 1px solid #dde3ea;
    border-left: 3px solid #005177;
    border-radius: 6px;
}
.s44-addon-notice--insurance { border-left-color: #b07000; }
.s44-addon-notice__icon { font-size: 1.25rem; flex-shrink: 0; line-height: 1.4; }
.s44-addon-notice__body strong {
    display: block;
    font-size: .9rem;
    margin-bottom: .2rem;
    color: #1a1a2e;
}
.s44-addon-notice__body p {
    font-size: .83rem;
    color: #666;
    margin: 0 0 .45rem;
}
.s44-confirmed { color: #2a7d50 !important; font-weight: 600 !important; }

.s44-check {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    cursor: pointer;
    font-size: .83rem;
    color: #444;
    line-height: 1.4;
}
.s44-check input[type="checkbox"] {
    width: 15px; height: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #005177;
    cursor: pointer;
}