/**
 * Shesoft Pack of # Section Stylesheet
 * High-Converting Luxury Styling for Shesoft.pk Multi-Pack Bundles
 */

.pack-of-section {
    background: linear-gradient(135deg, #fff8f8 0%, #fdf0f2 50%, #fff5f7 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    border-top: 1px solid rgba(189, 115, 112, 0.12);
    border-bottom: 1px solid rgba(189, 115, 112, 0.12);
}

.pack-of-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(189, 115, 112, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pack-of-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(253, 232, 229, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-subtitle-desc {
    max-width: 620px;
    margin: 10px auto 0;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* High-End Luxury Offer Feature Bar */
.pack-luxury-offer-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    padding: 10px 28px;
    background: #ffffff;
    border: 1px solid rgba(189, 115, 112, 0.22);
    border-radius: 40px;
    box-shadow: 0 6px 20px rgba(189, 115, 112, 0.08);
}

.offer-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #444444;
}

.offer-bar-item i {
    color: #bd7370;
    font-size: 14px;
}

.offer-bar-item strong {
    color: #111111;
    font-weight: 600;
}

.offer-bar-divider {
    width: 1px;
    height: 18px;
    background: rgba(189, 115, 112, 0.25);
}

@media (max-width: 768px) {
    .pack-luxury-offer-bar {
        flex-direction: column;
        gap: 10px;
        border-radius: 20px;
        padding: 14px 20px;
        align-items: flex-start;
    }
    .offer-bar-divider {
        display: none;
    }
}

/* Card Unit Price Breakdown */
.pack-unit-price-breakdown {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 10px;
    font-size: 12px;
    background: #fff5f5;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px dashed rgba(189, 115, 112, 0.3);
}

.pack-unit-price-breakdown .unit-price-text {
    font-weight: 700;
    color: #bd7370;
}

.pack-unit-price-breakdown .bulk-cut-tag {
    font-weight: 700;
    color: #d32f2f;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Card Interactive Pack Quantity Selector (Pack of 3 vs Pack of 5) */
.product-pack-select {
    margin-top: 10px;
    margin-bottom: 12px;
}

.product-pack-title {
    font-size: 11.5px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-pack-title i {
    color: #bd7370;
}

.pack-deal-options {
    display: flex;
    gap: 8px;
}

.pack-option-pill {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border: 1.5px solid rgba(189, 115, 112, 0.25);
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    user-select: none;
}

.pack-option-pill input[type="radio"] {
    display: none;
}

.pack-option-pill:hover {
    border-color: #bd7370;
    background: #fff8f8;
}

.pack-option-pill.active {
    border-color: #bd7370;
    background: #fff0f2;
    box-shadow: 0 3px 10px rgba(189, 115, 112, 0.18);
}

.pack-opt-title {
    font-size: 11px;
    font-weight: 700;
    color: #333;
}

.pack-option-pill.active .pack-opt-title {
    color: #bd7370;
}

.pack-opt-price {
    font-size: 10.5px;
    color: #666;
    margin-top: 2px;
}

.pack-opt-badge {
    position: absolute;
    top: -8px;
    right: -4px;
    background: #d32f2f;
    color: #ffffff;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(211, 47, 47, 0.3);
}

/* Pack Filter Tabs Bar */
.pack-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 32px 0 40px;
    flex-wrap: wrap;
}

.pack-filter-btn {
    background: #ffffff;
    border: 1px solid rgba(189, 115, 112, 0.25);
    color: #444444;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pack-filter-btn i {
    color: #bd7370;
    font-size: 13px;
    transition: transform 0.3s ease;
}

.pack-filter-btn:hover {
    background: #fff5f5;
    border-color: #bd7370;
    color: #bd7370;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(189, 115, 112, 0.18);
}

.pack-filter-btn:hover i {
    transform: scale(1.15);
}

.pack-filter-btn.active {
    background: linear-gradient(135deg, #bd7370 0%, #9e4e4c 100%);
    border-color: #bd7370;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(189, 115, 112, 0.35);
    transform: translateY(-2px);
}

.pack-filter-btn.active i {
    color: #ffffff;
}

/* Pack Card Badges */
.product-card .product-pack-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    background: linear-gradient(135deg, #bd7370 0%, #8c3b39 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(140, 59, 57, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
}

.product-card .product-pack-badge i {
    font-size: 10px;
}

.product-card .product-pack-tag {
    position: absolute;
    top: 44px;
    left: 14px;
    z-index: 4;
    background: rgba(46, 125, 50, 0.92);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
}

/* Pack Carousel / Grid Wrapper */
.pack-carousel-wrapper {
    position: relative;
    margin: 0 -10px;
    padding: 10px;
}

.pack-carousel-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
}

.pack-products-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 24px;
    transition: transform 0.42s cubic-bezier(0.25, 1, 0.35, 1);
    will-change: transform;
    align-items: stretch;
}

.pack-products-grid.grid-mode {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important;
    gap: 24px !important;
    transform: none !important;
    flex-wrap: wrap !important;
}

.pack-products-grid .product-card {
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 0;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pack-products-grid .product-card.hidden-by-filter {
    display: none !important;
}

/* Navigation Arrows */
.pack-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(189, 115, 112, 0.2);
    color: #bd7370;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pack-arrow:hover {
    background: #bd7370;
    color: #ffffff;
    border-color: #bd7370;
    box-shadow: 0 8px 25px rgba(189, 115, 112, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.pack-arrow.pack-prev {
    left: -20px;
}

.pack-arrow.pack-next {
    right: -20px;
}

.pack-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.pack-carousel-dot,
.pack-carousel-dots .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(189, 115, 112, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pack-carousel-dot.active,
.pack-carousel-dots .carousel-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #bd7370;
    box-shadow: 0 2px 8px rgba(189, 115, 112, 0.35);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .pack-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .pack-of-section {
        padding: 50px 0;
    }

    .pack-filter-bar {
        gap: 8px;
        margin: 24px 0 28px;
    }

    .pack-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .pack-products-grid {
        gap: 12px;
    }
}


