/* -------------------------------
   Single Reward Page Styling
---------------------------------*/

/* Container and layout */
.tomi-reward-single {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Title styling */
.single-reward-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    overflow-wrap: anywhere;
}

/* Image column */
.single-reward-images {
    margin-bottom: 20px;
}

.single-reward-images img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    height: 450px !important;
}

/* Info column */
.single-reward-summary {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

/* Points / price styling */
.single-reward-summary .product__price .price {
    font-size: 24px;
    font-weight: 700;
    color: #000 !important;
}

/* User balance */
.single-reward-summary p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Description */
.woocommerce-product-details__short-description {
    font-size: 16px;
    color: var(--mainText, #333);
    margin-bottom: 20px;
}

/* Redeem button styling (matches product buttons) */
.add_to_cart_button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #000 !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    padding: 0;
    width: fit-content;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    color: black !important;
}

.add_to_cart_button:hover {
    filter: brightness(0.9);
}

.add_to_cart_inner {
    display: flex;
    align-items: center;
    height: 40px;
}

.add_to_cart_text {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.add_to_cart_icon span {
    font-size: 20px;
    margin-left: 5px;
}

/* Disabled button */
.add_to_cart_button.disabled {
    opacity: 1;
    border-color: #ccc;
    color: #999;
    cursor: not-allowed;
}

.add_to_cart_button.disabled .add_to_cart_text {
    color: #999;
}

.add_to_cart_button.disabled .add_to_cart_icon {
    display: none;
}

/* Success / error messages */
.tomi-success {
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 15px;
}

.tomi-error {
    color: #F44336;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 991px) {
    .single-reward-images,
    .single-reward-summary {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .single-reward-summary {
        padding-left: 0;
        padding-right: 0;
    }
}

.single-reward .woocommerce-breadcrumb {
    padding: 25px 0 !important;
    font-size: 0.9rem !important;
    color: #888 !important;
}

.single-reward-summary .price-wrapper {
    height: auto !important;
    padding: 0 !important;
}