/* Financing and delivery information added to public product views. */
.installment-offer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
    padding: 11px 12px;
    color: #1f4f6e;
    background: linear-gradient(135deg, rgba(53, 116, 156, 0.11), rgba(74, 139, 181, 0.05));
    border: 1px solid rgba(53, 116, 156, 0.2);
    border-radius: 11px;
}

.installment-offer-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-top: 1px;
    color: #fff;
    background: #35749c;
    border-radius: 9px;
    box-shadow: 0 5px 12px rgba(53, 116, 156, 0.2);
}

.installment-offer-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

.installment-offer-label {
    margin-bottom: 1px;
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.installment-offer strong {
    color: #245f84;
    font-size: 13px;
    font-weight: 800;
}

.installment-offer-amount,
.installment-offer-period {
    display: inline;
}

.installment-offer small {
    margin-top: 2px;
    color: #64748b;
    font-size: 10px;
}

.installment-offer-detail {
    max-width: 520px;
    margin: -8px 0 24px;
    padding: 15px 16px;
    gap: 13px;
    border-radius: 14px;
}

.installment-offer-detail .installment-offer-icon {
    width: 38px;
    height: 38px;
}

.installment-offer-detail .installment-offer-label {
    font-size: 11px;
}

.installment-offer-detail strong {
    font-size: 17px;
}

.installment-offer-detail small {
    font-size: 11px;
}

.product-price-modern {
    flex-wrap: wrap;
}

.product-price-modern + .installment-offer,
.product-price-row + .installment-offer {
    margin-top: 12px;
}

.product-availability {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
}

.product-availability.in-stock {
    color: #16a34a;
}

.product-availability.out-of-stock {
    color: #dc2626;
}

.product-availability-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent);
}

.product-availability-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.product-availability-copy strong {
    font-weight: 700;
}

.delivery-estimate {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #475569;
    font-size: 13px;
}

.delivery-estimate::before {
    content: '';
    width: 4px;
    height: 4px;
    margin-right: 2px;
    background: #94a3b8;
    border-radius: 50%;
}

.quick-view-installment {
    margin: 4px 0 18px;
}

.quick-view-delivery {
    margin-left: 5px;
    color: #64748b;
    font-weight: 500;
}

.new-arrival-info .installment-offer {
    padding: 9px;
    gap: 7px;
}

.new-arrival-info .installment-offer-icon {
    width: 26px;
    height: 26px;
}

.new-arrival-info .installment-offer-label,
.new-arrival-info .installment-offer small {
    display: none;
}

.new-arrival-info .installment-offer strong {
    font-size: 11px;
}

@media (max-width: 640px) {
    .installment-offer {
        display: block;
        padding: 10px;
        border-radius: 10px;
    }

    .installment-offer-icon {
        display: none;
    }

    .installment-offer-copy {
        width: 100%;
        gap: 2px;
    }

    .installment-offer-label {
        margin: 0;
        font-size: 9px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .installment-offer-card strong {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        font-size: 12px;
        line-height: 1.2;
    }

    .installment-offer-amount,
    .installment-offer-period {
        display: block;
        white-space: nowrap;
    }

    .installment-offer-card small {
        margin-top: 1px;
        font-size: 9px;
        line-height: 1.25;
        white-space: nowrap;
    }

    .installment-offer-detail {
        max-width: none;
        padding: 14px;
    }

    .product-availability-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .delivery-estimate::before {
        display: none;
    }
}
