.deals-popup {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Changed from right to left */
    width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateX(-400px); /* Changed from translateX(400px) */
    transition: transform 0.4s ease-out;
}

.deals-popup.active {
    transform: translateX(0);
}

.deals-popup-header {
    background: #3c2f2a;
    color: #fff;
    padding: 15px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deals-popup-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #d9b382;
}

.close-deals {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 5px;
}

.deals-content {
    padding: 15px;
}

.deal-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: background-color 0.3s;
}

.deal-item:hover {
    background-color: #f9f9f9;
}

.deal-item:last-child {
    border-bottom: none;
}

.deal-item img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.deal-info {
    flex: 1;
}

.deal-info h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #3c2f2a;
}

.deal-info .price-tag {
    color: #2ecc71;
    font-weight: bold;
    font-size: 0.9rem;
}

.offer-timer {
    margin-top: 5px;
    font-size: 0.9em;
}

.timer-countdown {
    color: #ff4444;
    font-weight: bold;
    font-family: monospace;
}

.offer-timer.urgent .timer-countdown {
    color: #ff0000;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.view-all-deals {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 0 0 12px 12px;
    color: #3c2f2a;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.view-all-deals:hover {
    background: #e9e9e9;
}
