/* Deals Grid Widget Styles */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
}

.deal-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.deal-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c2e 0%, #2d5a3d 100%);
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.deal-card:hover .deal-image img {
    transform: scale(1.08);
}

.deal-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(220, 53, 69, 0.95);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.deal-badge.badge-red {
    background: rgba(220, 53, 69, 0.95);
}

.deal-badge.badge-yellow {
    background: rgba(255, 193, 7, 0.95);
    color: #1a1a1a;
}

.deal-badge.badge-brown {
    background: rgba(139, 69, 19, 0.95);
}

.deal-badge.badge-green {
    background: rgba(76, 175, 80, 0.95);
}

.deal-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.deal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.deal-description {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.deal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.feature-tag {
    background: #f0f0f0;
    color: #555555;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.deal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
    margin-top: auto;
}

.deal-info {
    font-size: 13px;
    color: #999999;
}

.deal-cta {
    background: #dc3545;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.deal-cta:hover {
    background: #c82333;
    transform: translateX(3px);
    color: #ffffff;
}

.deal-cta::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s ease;
}

.deal-cta:hover::after {
    transform: translateX(3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .deals-grid {
        gap: 25px;
    }
    
    .deal-image {
        height: 250px;
    }
    
    .deal-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .deal-content {
        padding: 25px;
    }
    
    .deal-image {
        height: 220px;
    }
    
    .deal-title {
        font-size: 20px;
    }
    
    .deal-description {
        font-size: 14px;
    }
    
    .deal-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .deal-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .deal-badge {
        top: 15px;
        left: 15px;
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .deal-content {
        padding: 20px;
    }
    
    .deal-features {
        gap: 6px;
    }
    
    .feature-tag {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* Elementor Editor Styles */
.elementor-element .deals-grid {
    margin-bottom: 0;
}