/* Product Sale Section 01 Styles */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

.product-sale01 {
    padding: 0 0 30px;
}

.product-sale01-box {
    background: var(--bv-secondary);
    padding: 20px;
    border-radius: 20px;
}

.product-sale-header {
    margin-bottom: 40px;
}

.product-sale-header .sub-title {
    color: #CB8161;
    /* Teracotta color */
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.product-sale-header .title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 15px;
}

.product-sale-header .desc {
    color: #555;
    max-width: 750px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

.product-sale-timer-wrap {
    margin-bottom: 40px;
}

.sale-timer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 25px;
}

.sale-timer-inner .product-sale-header {
    margin-bottom: 0;
}

.sale-timer-inner .product-sale-header .title {
    margin-bottom: 0;
}

/* Tabs styles */
.sale-tabs {
    display: flex;
    gap: 15px;
}

.sale-tab {
    background: #fff;
    border: 1px solid #EEE;
    border-radius: 12px;
    padding: 12px 25px;
    text-align: center;
    cursor: pointer;
    min-width: 160px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sale-tab .date {
    display: block;
    font-weight: 800;
    color: #333;
    font-size: 15px;
    margin-bottom: 4px;
}

.sale-tab .status {
    display: block;
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.sale-tab.active {
    border-color: #D1A272;
    background: #FFF;
    box-shadow: 0 8px 20px rgba(209, 162, 114, 0.15);
}

.sale-tab.active .status {
    color: #D1A272;
}

.sale-tab.finished {
    background: #ffffff;
    border-color: #ededed;
}

.sale-tab:hover:not(.finished) {
    transform: translateY(-3px);
    border-color: #D1A272;
}

/* Countdown Styles */
.sale-countdown {
    background: #FBC575;
    /* Lighter orange from the bar */
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(251, 197, 117, 0.3);
}

.countdown-label {
    font-weight: 700;
    color: #FFF;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.countdown-values {
    display: flex;
    gap: 6px;
}

.countdown-values .value {
    background: #FFF;
    color: #333;
    font-weight: 800;
    width: 38px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

/* Product list adjustments */
.product-sale-list .product-card {
    background: #FFF;
    border-radius: 15px;
    padding: 15px;
    height: 100%;
    transition: all 0.3s ease;
}

.product-sale-list .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 1199px) {
    .sale-timer-inner {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .product-sale .ctnr {
        padding: 40px 20px;
    }

    .product-sale-header .title {
        font-size: 32px;
    }

    .sale-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .sale-tab {
        min-width: calc(50% - 10px);
        padding: 10px 15px;
    }

    .sale-countdown {
        padding: 8px 15px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 545px) {
    .product-sale-header .title {
        font-size: 24px;
    }
}