/* ================================
   Hot Deals Section V3 — Light & Premium
   ================================ */

.hot-deals-section {
    padding: 80px 0;
    background: #FFFFFF;
    /* White, bright background */
    position: relative;
    overflow: hidden;
}

/* Subtle accent stripe at top */
.hot-deals-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), #FFD700, var(--accent-primary));
    background-size: 200% 100%;
    animation: shimmerStripe 3s linear infinite;
}

@keyframes shimmerStripe {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* --- Header --- */
.deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.deals-header .header-info .section-tag {
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.deals-header .section-title-v2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

/* --- Navigation Arrows --- */
.deals-nav {
    display: flex;
    gap: 12px;
}

.deals-nav-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #F8F8FA;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.deals-nav-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-primary);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.4s ease;
    z-index: 0;
}

.deals-nav-btn:hover::after {
    transform: scale(1);
}

.deals-nav-btn:hover {
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3);
}

.deals-nav-btn i {
    position: relative;
    z-index: 1;
}

/* --- Carousel --- */
.deals-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 10px 20px 30px;
    /* side padding allows card shadows to show */
}

.deals-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: grab;
}

.deals-track:active {
    cursor: grabbing;
}

/* --- Deal Card — Light & Modern --- */
.deal-card {
    flex: 0 0 calc(25% - 18px);
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.deal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
    border-color: rgba(184, 134, 11, 0.2);
}

/* Deal Badge — Pill style */
.deal-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #d32f2f, #c62828);
    color: white;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* Image Wrapper */
.deal-image-wrapper {
    height: 240px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
    position: relative;
}

/* Glassy accent at bottom removed for cleaner look matching featured products */

.deal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    mix-blend-mode: multiply;
}

.deal-card:hover .deal-image {
    transform: scale(1.1) translateY(-10px);
}

/* --- Card Content --- */
.deal-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.deal-category {
    font-size: 0.65rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 800;
    margin-bottom: 8px;
}

.deal-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.35;
    height: 2.7em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.deal-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 16px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.old-price {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
}

/* --- Deal Actions --- */
.deal-actions {
    display: flex;
    gap: 10px;
}

.add-cart-btn {
    flex: 1;
    background: var(--text-primary);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.add-cart-btn:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.25);
}

.wishlist-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.wishlist-btn:hover {
    color: #e74c3c;
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .deal-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .deal-card {
        flex: 0 0 calc(50% - 12px);
    }

    .deals-header {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .deal-card {
        flex: 0 0 calc(85%);
    }

    .deals-carousel-container {
        padding: 10px 16px 30px;
    }
}