.auffo-addon-box {
    margin: 14px 0 18px;
    padding: 0;
    max-width: 520px;
}

/* Heading hidden because user requested no "Available Add-ons" title. */
.auffo-addon-heading {
    display: none;
}

.auffo-addon-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}

.auffo-addon-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px;
    background: #f7f7f7;
    cursor: pointer;
    line-height: 1.45;
    font-size: 14px;
}

.auffo-addon-option:hover {
    background: #f1f1f1;
}

.auffo-addon-left {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.auffo-addon-checkbox {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex: 0 0 18px;
    margin: 0;
    cursor: pointer;
    vertical-align: middle;
    appearance: auto;
    -webkit-appearance: auto;
}

.auffo-addon-name {
    font-size: 14px;
}

.auffo-addon-price {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
}

.auffo-addon-totals {
    margin-top: 4px;
    max-width: 520px;
}

.auffo-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 2px 0;
    font-size: 15px;
}

.auffo-total-row strong {
    white-space: nowrap;
    font-size: 15px;
}

.auffo-grand-total-row {
    font-weight: 700;
}

.auffo-cart-addon-price {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .auffo-addon-option,
    .auffo-addon-name,
    .auffo-addon-price,
    .auffo-total-row,
    .auffo-total-row strong {
        font-size: 13px;
    }

    .auffo-addon-option {
        align-items: flex-start;
    }
}

/* Custom-price add-ons: the amount field is shown only after that add-on is selected. */
.auffo-addon-item {
    width: 100%;
}

.auffo-custom-price-wrap {
    padding: 9px 10px 10px 35px;
    background: #fbfbfb;
    border-top: 1px solid #ececec;
}

.auffo-custom-price-wrap[hidden] {
    display: none !important;
}

.auffo-custom-price-wrap > label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}

.auffo-custom-price-label {
    font-size: 14px;
    font-weight: 600;
}

.auffo-custom-price-input-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 150px;
}

.auffo-custom-price-currency {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.auffo-custom-price-input {
    width: 120px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

@media (max-width: 480px) {
    .auffo-custom-price-wrap {
        padding-left: 10px;
    }

    .auffo-custom-price-wrap > label {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .auffo-custom-price-input-wrap {
        width: 100%;
    }

    .auffo-custom-price-input {
        width: 100% !important;
    }
}


/* Required add-on selection validation. */
.auffo-selection-error-message {
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid #b81c23;
    background: #fff5f5;
    color: #b81c23;
    font-size: 14px;
    font-weight: 600;
}

.auffo-selection-error-message[hidden] {
    display: none !important;
}

.auffo-selection-error .auffo-addon-option {
    border-left: 3px solid #b81c23;
}

/* Per-item installment plan details. */
.auffo-installment-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px 10px 35px;
    background: #fbfbfb;
    border-top: 1px solid #ececec;
    font-size: 13px;
}

.auffo-installment-info[hidden] {
    display: none !important;
}

.auffo-installment-info strong {
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .auffo-installment-info {
        align-items: flex-start;
        flex-direction: column;
        padding-left: 10px;
        gap: 4px;
    }

    .auffo-installment-info strong {
        text-align: left;
        white-space: normal;
    }
}

/* Customer choice: full payment or installment plan for an eligible item. */
.auffo-installment-choice-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    margin: 0;
}

.auffo-installment-choice {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
}

.auffo-installment-first-payment[hidden] {
    display: none !important;
}

.auffo-myaccount-installments .button {
    margin-top: 6px;
}
