/* Featured Tabbed Course Slider - Educa */
.fts-section {
    padding: 60px 0;
    position: relative;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    font-family: inherit;
}

.fts-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}

.fts-badge {
    display: inline-block;
    padding: 6px 20px;
    background: #ede9fe;
    color: #6366f1;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    margin-bottom: 12px;
}

.fts-title {
    font-size: 34px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.5px;
    margin: 0 0 10px;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .fts-title {
        font-size: 26px;
    }
}

.fts-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Category Tabs */
.fts-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 32px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 36px;
    padding-bottom: 0;
}

.fts-tab-item {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    padding: 10px 4px 14px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    user-select: none;
}

.fts-tab-item:hover {
    color: #1e1b4b;
}

.fts-tab-item.active {
    color: #1e1b4b;
    font-weight: 700;
}

.fts-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #4f46e5;
    border-radius: 3px 3px 0 0;
}

/* Swiper Slider Wrapper */
.fts-slider-outer {
    position: relative;
    padding: 0 48px;
}

@media (max-width: 768px) {
    .fts-slider-outer {
        padding: 0 16px;
    }
}

.fts-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #4338ca;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(67, 56, 202, 0.4);
    cursor: pointer;
    border: none;
    z-index: 15;
    transition: all 0.2s ease;
}

.fts-nav-btn:hover {
    background: #3730a3;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(67, 56, 202, 0.55);
}

.fts-nav-prev {
    left: 0;
}

.fts-nav-next {
    right: 0;
}

.fts-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Card */
.fts-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03), 0 2px 4px -2px rgba(0,0,0,0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fts-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.fts-card__thumb-frame {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
    border: 3px solid #1e293b;
    background: #0f172a;
}

.fts-card__thumb-frame.frame-orange {
    border-color: #f97316;
}

.fts-card__thumb-frame.frame-dark {
    border-color: #1e293b;
}

.fts-card__thumb-frame.frame-purple {
    border-color: #6366f1;
}

.fts-card__thumb-frame.frame-blue {
    border-color: #3b82f6;
}

.fts-card__thumb-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.fts-card:hover .fts-card__thumb-frame img {
    transform: scale(1.04);
}

.fts-card__wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #4338ca;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 2;
}

.fts-card__wishlist:hover {
    transform: scale(1.15);
    color: #ef4444;
}

.fts-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-top: 12px;
}

.fts-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.fts-card__cat-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.fts-card__rating {
    color: #f59e0b;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.fts-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 4px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    text-decoration: none;
    transition: color 0.2s;
}

.fts-card__title:hover {
    color: #4338ca;
    text-decoration: none;
}

.fts-card__teacher {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fts-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.fts-card__cart-btn {
    background: #eab308;
    color: #0f172a;
    font-weight: 700;
    font-size: 12px;
    border-radius: 9999px;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.fts-card__cart-btn:hover {
    background: #ca8a04;
    transform: translateY(-1px);
    color: #0f172a;
}

.fts-card__price {
    font-size: 17px;
    font-weight: 800;
    color: #2563eb;
    white-space: nowrap;
}

/* View All Button */
.fts-view-all-box {
    text-align: center;
    margin-top: 36px;
}

.fts-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: #4338ca;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(67, 56, 202, 0.35);
    transition: all 0.2s ease;
}

.fts-view-all-btn:hover {
    background: #3730a3;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(67, 56, 202, 0.45);
    text-decoration: none;
}
