/* ===================================
   COMBO OFFERS STYLING
   Modern, Cool & Responsive Designs
   =================================== */

/* Combo Offers Section */
.combo-offers-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    margin: 2rem 0;
    position: relative;
    overflow: visible;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Allow vertical scrolling to pass through */
    touch-action: pan-y !important;
    overscroll-behavior-y: none !important;
}

.combo-offers-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.combo-offers-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.combo-offers-section .section-title i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.combo-offers-section .section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

.combo-offers-section .view-all-link {
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.combo-offers-section .view-all-link:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* Combo Offers Carousel */
.combo-offers-carousel {
    position: relative;
    padding: 1rem 0 3rem;
    width: 100%;
    overflow: visible;
    touch-action: auto;
    -webkit-tap-highlight-color: transparent;
    will-change: transform;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
}

.combo-offers-carousel .carousel-inner,
.combo-offers-carousel .carousel-item {
    touch-action: auto;
}

/* Combo Offer Card (Home Page) */
.combo-offer-card-home {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.combo-offer-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.combo-offer-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #f5f3ff 100%);
}

.combo-offer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.combo-offer-card-home:hover .combo-offer-image {
    transform: scale(1.1);
}

.combo-offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.combo-offer-badge .badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.combo-offer-status {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.combo-offer-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.combo-offer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    min-height: 3.5rem;
}

.combo-offer-description {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
    flex: 1;
}

.combo-offer-pricing {
    margin-bottom: 1rem;
}

.combo-offer-original-price {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.combo-offer-price {
    margin-bottom: 0.5rem;
}

.combo-price-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #10b981;
}

.combo-offer-savings {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.combo-offer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.combo-products-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.combo-offer-actions {
    margin-top: auto;
}

.combo-offer-actions .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.combo-offer-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Combo Offer Card (Index Page) */
.combo-offer-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.combo-offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

/* Combo Offer Details Page */
.combo-detail-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.combo-detail-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.combo-detail-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.combo-detail-badge .badge {
    font-size: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    animation: pulse 2s infinite;
}

.combo-detail-info {
    padding: 2rem;
}

.combo-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.combo-detail-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
}

.combo-detail-pricing {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #10b981;
}

.combo-detail-price {
    color: #10b981;
}

.combo-detail-savings {
    font-size: 1.1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px dashed #10b981;
}

.combo-detail-features {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #1e293b;
}

.feature-item i {
    font-size: 1.5rem;
}

/* Combo Product Items */
.combo-product-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.combo-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.combo-product-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #f8fafc;
}

.combo-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.combo-product-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    min-height: 3rem;
}

.combo-product-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.combo-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #10b981;
}

.combo-product-quantity {
    font-size: 0.9rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

/* Combo Offer Card Mini (Home Page - Horizontal Scroll) */
.combo-offer-card-mini {
    min-width: 280px;
    max-width: 280px;
}

.combo-offer-image-wrapper-mini {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #f5f3ff 100%);
}

.combo-offer-badge-mini {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.combo-offer-badge-mini .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.combo-offer-title-mini {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.6rem;
    min-height: 45px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.combo-offer-price-mini {
    margin-bottom: 0.5rem;
}

.combo-offer-savings-mini {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .combo-offers-section {
        padding: 2rem 0;
    }

    .combo-offers-section .section-title {
        font-size: 1.8rem;
    }
    
    .combo-offer-card-mini {
        min-width: 250px;
        max-width: 250px;
    }

    .combo-offer-image-wrapper-mini {
        height: 180px;
    }

    .combo-offer-title-mini {
        font-size: 0.9rem;
        min-height: 40px;
    }

    .combo-offer-image-wrapper {
        height: 200px;
    }

    .combo-offer-title {
        font-size: 1.1rem;
        min-height: auto;
    }

    .combo-price-amount {
        font-size: 1.5rem;
    }

    .combo-detail-title {
        font-size: 1.8rem;
    }

    .combo-detail-pricing {
        padding: 1.5rem;
    }

    .combo-product-image {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .combo-offer-card-mini {
        min-width: 220px;
        max-width: 220px;
    }
    
    .combo-offer-image-wrapper-mini {
        height: 160px;
    }
}

/* Carousel Controls */
.combo-offers-carousel .carousel-control-prev,
.combo-offers-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.combo-offers-carousel .carousel-control-prev:hover,
.combo-offers-carousel .carousel-control-next:hover {
    opacity: 1;
    background: rgba(102, 126, 234, 1);
}

.combo-offers-carousel .carousel-control-prev {
    left: -25px;
}

.combo-offers-carousel .carousel-control-next {
    right: -25px;
}

.combo-offers-carousel .carousel-indicators {
    bottom: -40px;
}

.combo-offers-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.combo-offers-carousel .carousel-indicators button.active {
    background: #667eea;
    width: 30px;
    border-radius: 6px;
}

