/* Deals Banner Section */
.deals-section {
    padding: 3rem 0;
    background:
        linear-gradient(135deg, rgba(200, 169, 126, .12) 0%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(45deg, rgba(200, 169, 126, .08) 0%, rgba(255, 255, 255, 0) 70%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a97e' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
}

.deals-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 169, 126, .1) 0%, transparent 70%);
    pointer-events: none;
}

.deals-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 169, 126, .08) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="dark"] .deals-section {
    background:
        linear-gradient(135deg, rgba(200, 169, 126, .06) 0%, rgba(0, 0, 0, 0) 50%),
        linear-gradient(45deg, rgba(200, 169, 126, .04) 0%, rgba(0, 0, 0, 0) 70%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a97e' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        var(--bg);
}

.deals-banner {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 1.5rem;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Deal Slide */
.deal-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
}

.deal-slide.active {
    display: grid
}

.deal-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-subtle);
    max-height: 320px;
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.deal-image:hover img {
    transform: scale(1.05)
}

/* Deal Info */
.deal-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: .75rem;
}

.deal-pricing {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.deal-old-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.deal-new-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Stock Progress */
.deal-stock {
    margin-bottom: 1.5rem
}

.deal-stock-labels {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: .5rem;
}

.deal-stock-labels strong {
    color: var(--text-main)
}

.deal-progress {
    width: 100%;
    height: 8px;
    background: var(--bg-subtle);
    border-radius: 4px;
    overflow: hidden;
}

.deal-progress-bar {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
    transition: width 1s ease;
}

/* Countdown Timer */
.deal-timer {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.timer-block {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .5rem .75rem;
    text-align: center;
    min-width: 55px;
}

.timer-num {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
}

.timer-label {
    display: block;
    font-size: .6rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: .05em;
    margin-top: .15rem;
}

/* Deal CTA */
.deal-form {
    position: relative;
    z-index: 2;
    margin: 0;
}

.btn-deal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .8rem 2.5rem;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
    position: relative;
    z-index: 2;
}

.btn-deal:hover {
    background: #ee5a24;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 36, .3);
}

/* Navigation */
.deal-nav {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.deal-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    color: var(--text-muted);
    padding: .3rem 0;
    transition: color .2s;
}

.deal-nav-btn:hover {
    color: var(--primary)
}

/* Thumbnails */
.deals-thumbs {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.5rem .75rem;
    overflow-y: auto;
    border-left: 1px solid var(--border);
}

.deal-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-subtle);
    padding: 0;
    flex-shrink: 0;
    transition: all .3s ease;
}

.deal-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 2px 8px var(--primary-glow)
}

.deal-thumb:hover {
    border-color: var(--primary)
}

.deal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* Responsive */
@media(max-width:991px) {
    .deals-banner {
        grid-template-columns: 1fr;
        gap: 0
    }

    .deal-slide {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem
    }

    .deal-image {
        max-height: 250px
    }

    .deals-thumbs {
        flex-direction: row;
        border-left: none;
        border-top: 1px solid var(--border);
        padding: .75rem 1rem;
        overflow-x: auto;
    }

    .deal-thumb {
        width: 65px;
        height: 65px
    }
}

@media(max-width:767px) {
    .deal-slide {
        padding: 1.25rem
    }

    .deal-name {
        font-size: 1.1rem
    }

    .deal-new-price {
        font-size: 1.2rem
    }

    .timer-block {
        min-width: 48px;
        padding: .4rem .5rem
    }

    .timer-num {
        font-size: 1.1rem
    }

    .deal-timer {
        gap: .35rem
    }

    .deals-section {
        padding: 2rem 0
    }
}