/* ==========================================================================
   WP BUNDLE OFFERS SLIDER (TIER-1 DESIGN ARCHITECTURE)
   ========================================================================== */

.tc-wpbundle-wrapper {
    max-width: 1400px;
    margin: 40px auto 60px auto;
    padding: 0 40px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    animation: tcWpbFadeIn 0.5s ease-out forwards;
    box-sizing: border-box;
}

@keyframes tcWpbFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.tc-wpbundle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.tc-wpbundle-title-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-wpbundle-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-wpbundle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f69ff;
    flex-shrink: 0;
}

.tc-wpbundle-icon svg {
    width: 34px;
    height: 34px;
    stroke-width: 2.5;
}

.tc-wpbundle-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.5px;
}

.tc-wpbundle-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.tc-wpbundle-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    background-color: transparent;
    border: 1px solid #0f172a;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.tc-wpbundle-view-all:hover {
    background-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
    transform: translateY(-2px);
}

/* ==========================================================================
   🚀 THE WHITE FADE MASKS AND BLACK GLASS ARROWS
   ========================================================================== */
.tc-wpbundle-slider-wrapper {
    position: relative;
    padding: 20px 0;
    margin: -20px 0;
}

.tc-wpbundle-slider-fade {
    position: absolute;
    top: 20px;
    bottom: 20px;
    width: 120px;
    z-index: 15;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.tc-wpbundle-slider-fade.is-visible {
    opacity: 1;
}

.tc-wpbundle-slider-fade.fade-left {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.tc-wpbundle-slider-fade.fade-right {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.tc-wpbundle-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    visibility: hidden;
    padding: 0;
    outline: none;
}

.tc-wpbundle-arrow.is-visible {
    opacity: 1;
    visibility: visible;
}

.tc-wpbundle-arrow.prev { left: -28px; }
.tc-wpbundle-arrow.next { right: -28px; }

.tc-wpbundle-arrow svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
    transition: transform 0.2s ease;
}

.tc-wpbundle-arrow:hover {
    background-color: #6f69ff;
    border-color: #6f69ff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 35px -5px rgba(111, 105, 255, 0.4);
}

.tc-wpbundle-arrow.prev:hover svg { transform: translateX(-2px); }
.tc-wpbundle-arrow.next:hover svg { transform: translateX(2px); }

.tc-wpbundle-slide {
    height: auto;
    display: flex;
}

.tc-wpbundle-slide > div,
.tc-wpbundle-slide > a {
    width: 100%;
}

/* ==========================================================================
   🚀 THE EXACT TIER-1 CARD DESIGN
   ========================================================================== */
.wp-bundle-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    height: 100%;
    box-sizing: border-box;
}

.wp-bundle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.wp-bundle-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background-color: #f5f5f7;
    overflow: visible;
}

.wp-bundle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wp-bundle-staff-badge {
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 999px;
    border-top: 2px solid #6c19ff;
    border-left: 3px solid #6c19ff;
    border-right: 3px solid #6c19ff;
    border-bottom: 5px solid #6c19ff;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.wp-bundle-staff-badge svg {
    width: 96px;
    height: 96px;
}

.wp-bundle-card-content {
    text-align: center;
    padding: 48px 25px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wp-bundle-card-content h3 {
    color: #111827;
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wp-bundle-card-content p {
    color: #666666;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   📱 RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 768px) {
    .tc-wpbundle-wrapper {
        padding: 0 20px;
        margin: 50px auto;
    }
    .tc-wpbundle-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .tc-wpbundle-title {
        font-size: 1.8rem;
    }
    .tc-wpbundle-view-all {
        width: 100%;
        text-align: center;
    }
    .tc-wpbundle-slider-fade,
    .tc-wpbundle-arrow {
        display: none !important; 
    }
}