/* Display addon price in shopping cart */
.edd-pa-price-breakdown {
    font-size: 0.9em;
}

.edd-pa-base-price,
.edd-pa-addon-price {
    color: #666;
    line-height: 1.3;
}

.edd-pa-addon-price {
    font-size: 0.85em;
    margin-left: 10px;
}

.edd-pa-total-price {
    margin-top: 5px;
    border-top: 1px solid #eee;
    padding-top: 5px;
}

/* Purchase button when disabled */
.edd-add-to-cart[disabled],
.edd_go_to_checkout[disabled],
.edd-add-to-cart.disabled,
.edd_go_to_checkout.disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    border-color: #cccccc !important;
}

/* Add to cart buttons only on product page - WHEN ENABLED */
.single-download .edd-add-to-cart:not([disabled]):not(.disabled),
.single-download .edd_go_to_checkout:not([disabled]):not(.disabled) {
    background-color: #ffd400 !important;
    color: #333 !important;
    border-radius: 5px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Sidebar buttons - WHEN ENABLED */
.sidebar .edd-add-to-cart:not([disabled]):not(.disabled),
.sidebar .edd_go_to_checkout:not([disabled]):not(.disabled) {
    background-color: #ffd400 !important;
    color: #333 !important;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover state for better appearance - ONLY FOR ENABLED BUTTONS */
.single-download .edd-add-to-cart:not([disabled]):not(.disabled):hover,
.single-download .edd_go_to_checkout:not([disabled]):not(.disabled):hover,
.sidebar .edd-add-to-cart:not([disabled]):not(.disabled):hover,
.sidebar .edd_go_to_checkout:not([disabled]):not(.disabled):hover {
    background-color: #e6bf00 !important; /* Darker yellow */
    color: #333 !important;
}
table#edd_purchase_receipt_products .edd_purchase_receipt_product_name {
    font-weight: bold;
}
