
/* =========================================
  1. VARIABLES & WRAPPER
========================================= */
:root {
    --deal-green: #2cb574; 
    --primary-dark: #1e1e2f;
      --deal-red: #cc0c39;
    --mrp-grey: #94a3b8;
    --nav-btn-size: 40px;
}

.dealstrip-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: transparent;
}

/* =========================================
   2. SCROLL CONTAINER (Performance & Scroll Fixed)
   ========================================= */
.dealstrip-relative-box {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.dealstrip-container {
    display: flex !important;
    flex-wrap: nowrap !important; 
    overflow-x: auto !important;  
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none;        
    -ms-overflow-style: none;     
    padding: 10px 4px;
    gap: 12px; /* कार्ड्स के बीच 12px का गैप */
    width: 100%;
    will-change: transform;       
}

.dealstrip-container::-webkit-scrollbar {
    display: none !important;     
}

/* =========================================
   3. NAVIGATION BUTTONS
   ========================================= */
.dealstrip-nav-btn {
    position: absolute;
    top: 50%; 
    transform: translateY(-50%);
    width: var(--nav-btn-size);
    height: var(--nav-btn-size);
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white; 
    color: #333;
    z-index: 25; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: background 0.2s ease;
}

.dealstrip-nav-btn:hover {
    background: #f8fafc;
}

.prev-btn { left: 2px; }
.next-btn { right: 2px; }

@media (max-width: 768px) {
    .dealstrip-nav-btn { display: none !important; } 
}

/* =========================================
   4. CARD STYLING & FIXED SIZE 
   ========================================= */
.deal-item-wrapper {
  
    flex: 0 0 165px !important;  
    width: 165px !important;
    max-width: 165px !important;
}
.deal-card{
    border: 1px solid rgba(0,0,0,0.05) !important; /* Border ko halka transparent karein */
    border-radius: 12px !important; /* Corners ko thoda smooth karein */
    overflow: visible !important;
    transition: all 0.3s ease;
}
.offer-mini-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 999 !important;
}
.deal-img-box {
    position: relative;
    z-index: 1;
}

/* width: 26px; height: 26px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; border: 1px solid #e0e0e0; pointer-events: auto;" */
@media (min-width: 576px) {
    .deal-item-wrapper {
        flex: 0 0 180px !important;
        width: 180px !important;
        max-width: 180px !important;
    }
}

.deal-card {
    /* border: 1px solid #f1f5f9 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    height: 100%;
    background: #fff; */
    border-radius: 16px !important; 
    /* overflow: hidden;
    position: relative;
    display: flex; */
    flex-direction: column;
}
.deal-img-box {
    background: transparent !important; 
}
.deal-img-box {
    height: 120px;       
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.deal-img-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* =========================================
   5. BADGES, PRICE & CONTENT ALIGNMENT
   ========================================= */
   
.deal-badge {
    position: absolute;
    top: 10px;
    left: 0;

    background: var(--deal-red);
    color: white;

    padding: 2px 10px;
    font-size: 11px;
    font-weight: bold;

    border-radius: 0 15px 15px 0;
    z-index: 5;
}
/* .deal-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--deal-green);
    color: white;
    padding: 3px 6px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
    z-index: 5;
} */

.card-content-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.info-section {
    border: none !important; 
    padding: 8px 10px;    
}

.product-title {
    font-size: 13px;      
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.tdlist-pprice { 
    font-size: 14px;      
    font-weight: 800; 
    color: var(--primary-dark); 
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.tdlist-pmrp { 
    color: var(--mrp-grey); 
    text-decoration: line-through; 
    font-size: 11px; 
    font-weight: 500;
} 

.countdown-timer1 {
    font-size: 10px;
    color: #e11d48;
    /* background: #fff1f2;  */
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 6px;
    text-align: left;
    margin-top: 2px;
    letter-spacing: 0.2px;
}
.countdown-timer {
        font-size: 10px;
        color: #e11d48;
        font-weight: 600;
        padding: 3px 6px;
        border-radius: 6px;
        text-align: left;
        margin-top: 2px;
        letter-spacing: 0.2px;
    }

    
.green-earning-bar {
    background: var(--deal-green);
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 4px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 0 0 16px 16px;
    margin-top: auto; 
}

.divider-line {
    width: 1px;
    height: 11px;
    background: rgba(255, 255, 255, 0.4);
}


