
.offers-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.offers-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.offers-see-all {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #333;
}

.offers-see-all:hover {
    color: #007bff;
    border-bottom-color: #007bff;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.offers-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 200px;
}

.offers-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.offers-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.offers-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    z-index: 1;
}

.offers-card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: white;
}

.offers-discount-badge {
    display: inline-block;
    background: rgba(255,193,7,0.9);
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}

.offers-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: auto 0 15px 0;
    line-height: 1.3;
}

.offers-card-footer {
    margin-top: auto;
}

.offers-vendor {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.offers-vendor-badge {
    background: rgba(40,167,69,0.9);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
}

.offers-vendor-name {
    font-size: 14px;
    font-weight: 500;
}

.offers-card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.9;
}

.offers-expiry {
    display: flex;
    align-items: center;
}

.offers-expiry i {
    margin-right: 4px;
}

.offers-discount-percent {
    display: flex;
    align-items: center;
}

.offers-discount-percent i {
    margin-right: 4px;
}

@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .offers-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .offers-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .offers-card {
        height: 180px;
    }

    .offers-card-content {
        padding: 15px;
    }

    .offers-card-title {
        font-size: 16px;
    }
}
