/* Weekdeal Frontend Styles - Modern Conversion-Focused Design */

/* Weekdeal main styles */
.weekdeal-discount-tag, .weekdeal-discount-badge {
    display: inline-block;
    background-color: #ff4e50;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    margin-left: 5px;
    min-width: 40px;
    text-align: center;
}

/* Always ensure old prices are displayed with strikethrough */
.weekdeal-regular-price, .price-header del {
    text-decoration: line-through;
    opacity: 0.75;
    display: inline-block;
    margin-right: 5px;
    color: #666;
}

/* Ensure the discount badge is always shown with the same prominence */
.weekdeal-container .weekdeal-discount-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Product page weekdeal styles */
.weekdeal-product-badge {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 10px;
}

.weekdeal-product-discount {
    display: inline-block;
    background-color: #ff4e50;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-left: 8px;
    margin-bottom: 10px;
}

/* Make sure prices display properly */
.product .summary .price del {
    opacity: 0.7;
    font-size: 0.9em;
    text-decoration: line-through;
    display: inline-block;
    margin-right: 10px;
}

.product .summary .price ins {
    text-decoration: none;
    font-weight: bold;
    color: #ff4e50;
}
