/**
 * Softzap Deal Importer CSS
 * Version: 5.0.0
 */

/* Container */
.softzap-deals-container {
    width: 100%;
    margin: 20px 0;
}

/* Grid Layout */
.softzap-deals-grid {
    display: grid;
    gap: 20px;
}

/* Column Classes */
.softzap-cols-1 { grid-template-columns: repeat(1, 1fr); }
.softzap-cols-2 { grid-template-columns: repeat(2, 1fr); }
.softzap-cols-3 { grid-template-columns: repeat(3, 1fr); }
.softzap-cols-4 { grid-template-columns: repeat(4, 1fr); }
.softzap-cols-5 { grid-template-columns: repeat(5, 1fr); }

/* Tablet Responsive */
@media (max-width: 1024px) {
    .softzap-cols-3,
    .softzap-cols-4,
    .softzap-cols-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .softzap-deals-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 15px;
    }
}

/* Deal Card Base */
.softzap-deal-card {
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card Styles */
.card-style-modern {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.card-style-classic {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
}

.card-style-minimal {
    border-bottom: 1px solid #f0f0f0;
}

/* Deal Image */
.deal-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.deal-image img {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
}

/* Badges */
.discount-badge,
.free-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d63638;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
}

.free-badge {
    background: #00a32a;
}

/* Deal Content */
.deal-content {
    padding: 15px;
}

.deal-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.deal-title a {
    color: #333;
    text-decoration: none;
}

.deal-title a:hover {
    color: #2271b1;
}

.deal-store {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

/* Pricing */
.deal-pricing {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 24px;
    font-weight: bold;
    color: #d63638;
}

.free-price {
    color: #00a32a;
}

.regular-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

/* Expiry */
.deal-expiry {
    margin: 10px 0;
    font-size: 13px;
    color: #666;
}

/* Deal Button */
.deal-button {
    display: inline-block;
    width: 100%;
    padding: 12px 0px;
    background: #2271b1;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.deal-button:hover {
    background: #135e96;
    color: white;
}

/* Slider Styles */
.softzap-deals-slider {
    position: relative;
    padding: 0 40px;
}

.softzap-deals-slider .swiper-button-next,
.softzap-deals-slider .swiper-button-prev {
    color: #2271b1;
}

.softzap-deals-slider .swiper-pagination-bullet-active {
    background: #2271b1;
}
