/* Deals Page Specific Styles */

.deals-hero-section {
    background: linear-gradient(135deg, var(--bs-danger) 0%, var(--bs-warning) 100%),
                url('../image/限时优惠.jpg') no-repeat center center;
    background-blend-mode: multiply;
    background-size: cover;
    padding: 5rem 0;
    border-bottom: 5px solid var(--bs-warning); /* Accent border */
}
.deals-hero-section .fa-stopwatch-20 {
    color: rgba(255,255,255,0.8);
}
.deals-hero-section h1 {
    color: var(--light-text);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.deals-hero-section .lead {
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}
.main-page-countdown {
    background-color: rgba(0,0,0,0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: inline-block;
    color: var(--light-text);
}
.main-page-countdown span {
    min-width: 40px; /* Ensure consistent spacing for numbers */
    display: inline-block;
}


.deals-content-section .deals-section-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--dark-text);
}
.deals-content-section .form-select-sm {
    font-size: 0.875rem;
}

.deal-card { /* Extends .product-card from style.css */
    border: 1px solid var(--bs-danger-border-subtle); /* Subtle red border */
}
.deal-card .product-image-link {
    position: relative;
}
.deal-card .discount-percent-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.4em 0.8em;
    z-index: 2;
}
.deal-card .deal-countdown-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px; /* Span across */
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--light-text);
    font-size: 0.8rem;
    padding: 0.3em 0.6em;
    border-radius: var(--border-radius);
    text-align: center;
    z-index: 2;
}
.deal-card .deal-price-info {
    margin-bottom: 0.5rem;
}
.deal-card .current-price {
    font-size: 1.25rem; /* Larger current price for deals */
}
.deal-card .original-price {
    font-size: 0.9rem;
}
.deal-card .deal-progress {
    background-color: #e9ecef; /* Lighter background for progress bar */
    border-radius: 5px;
}
.deal-card .deal-progress .progress-bar {
    background-color: var(--bs-warning);
    font-size: 0.7rem;
    color: var(--dark-text);
    font-weight: 500;
}
.deal-card .add-to-cart-btn { /* Override general add to cart button if needed */
    background-color: var(--bs-danger);
    color: var(--light-text);
    border-color: var(--bs-danger);
    font-weight: 500;
}
.deal-card .add-to-cart-btn:hover {
    background-color: darken(var(--bs-danger), 10%);
    border-color: darken(var(--bs-danger), 10%);
}


.upcoming-deals-section .upcoming-deal-card {
    background-color: var(--light-text);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.upcoming-deals-section .upcoming-deal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}
.upcoming-deals-section .upcoming-deal-image {
    width: 150px; /* Fixed size for circle image */
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--light-bg); /* Border to make it pop from card bg */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.upcoming-deals-section .upcoming-deal-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.upcoming-deals-section .upcoming-deal-price {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}
.upcoming-deals-section .remind-me-btn {
    font-weight: 500;
}

#remindMeModal .modal-title {
    font-family: var(--font-primary);
    font-weight: 700;
}
