/* Override add-to-cart float so both buttons sit in one centered row */
.single-product form.cart .single_add_to_cart_button {
    float: none !important;
}

/* Wrapper for both buttons - centered, add-to-cart on right */
.single-product .rk-save-preference-wrapper {
    clear: both;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 15px;
    padding-top: 15px;
    width: 100%;
}
.single-product .rk-save-preference-wrapper .back-btn { grid-column: 1 !important; justify-self: start !important; margin: 0 !important; position: relative !important; }
.single-product .rk-save-preference-wrapper .rk-save-preference-btn { grid-column: 2 !important; justify-self: center !important; margin: 0 !important; }
.single-product .rk-save-preference-wrapper .single_add_to_cart_button { grid-column: 3 !important; justify-self: end !important; margin: 0 !important; float: none !important; }

/* Save Preference button - matches old TI Wishlist button styling */
.single-product .rk-save-preference-btn {
    background-color: #2ed198 !important;
    color: #000 !important;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    padding: 10px 20px;
    line-height: 18px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    float: none !important;
    position: static !important;
    transition: opacity 0.3s ease;
}
.single-product .rk-save-preference-btn:hover {
    opacity: 0.8;
}
.single-product .rk-save-preference-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Saved Preferences dropdown */
.single-product label.save_pref {
    font-weight: 600;
    margin-right: 8px;
}
.single-product select.saved_profiles {
    min-width: 200px;
    padding: 8px 12px;
    margin-bottom: 15px;
}

/* Make all three buttons black with white text — color only, shapes unchanged */
.single-product form.cart .single_add_to_cart_button,
.single-product form.cart button[type="submit"].single_add_to_cart_button,
.single-product .single_add_to_cart_button {
    background-color: #000 !important;
    color: #fff !important;
}
.single-product a.back-btn,
.single-product button.back-btn,
.single-product .back-btn {
    background-color: #000 !important;
    color: #fff !important;
}
.single-product .rk-save-preference-btn {
    background-color: #000 !important;
    color: #fff !important;
}
