
/*FPT Service V2*/
.fpt-card {
    max-width: 380px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ===== Header Image ===== */

/* Image */
.fpt-card-image img {
    width: 100%;
    height: 238px;
    object-fit: cover;
    display: block;
}

/* Header */
.fpt-card-header {
    padding: 18px 24px 10px;
}

.fpt-badge {
    display: inline-block;
    background: #fff7ed;
    color: #f97316;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.fpt-card-header h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
    color: #111827;
    font-weight: 700;
}

/* ===== Body ===== */
.fpt-card-body {
    padding: 0 24px;
}

/* Price */
.fpt-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
}

.fpt-price .price {
    font-size: 28px;
    font-weight: 700;
    color: #2563eb;
}

.fpt-price .unit {
    font-size: 14px;
    color: #6b7280;
}

/* Speed */
.fpt-speed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F7F7F8;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.speed-item span {
    font-size: 12px;
    color: #6b7280;
}

.speed-item strong {
    display: block;
    font-size: 16px;
    color: #111827;
}

.speed-arrow {
    font-size: 18px;
    color: #fb923c;
}

/* Feature list (scroll) */
.fpt-feature-list {
    max-height: 85px;
    overflow-y: auto;
    padding-right: 6px;
    margin: 0;
    list-style: none;
}

.fpt-feature-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.fpt-feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    color: #22c55e;
    font-weight: 700;
}

/* Custom scrollbar */
.fpt-feature-list::-webkit-scrollbar {
    width: 6px;
}

.fpt-feature-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.fpt-feature-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #fb923c, #f97316);
    border-radius: 10px;
}

/* ===== Footer ===== */
.fpt-card-footer {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-primary {
    display: block;
    text-align: center;
    background: #2563eb;
    color: #fff;
    padding: 17px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-1px);
}

.btn-link {
    text-align: center;
    font-size: 16px;
    color: #2563eb;
    text-decoration: none;
    display: block;
    background: #F3F3F3;
    padding: 17px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.main_internet .slider_internet .slick-slide , .main_package .silder_package .slick-slide{
    margin: 12px;
}

/*.main_banner_v2 .slider_item .slick-slide{*/
/*    height: 100vh;*/
/*    position: relative;*/
/*}*/

/*.main_banner_v2 img {*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*    object-position: center center;*/
/*}*/

/* Overlay trắng */
.main_banner_v2 .slick-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(243, 243, 243, 0) 76.22%, #F3F3F3 100%);
    pointer-events: none;
    z-index: 2;
}

.fpt_card {
    margin: 0;
    background: #F3F3F3;
    padding: 24px;
    max-width: 100%;
    width: 100%;
}

.fpt_card_content {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    max-width: 1440px;
    margin: auto;
}

.fpt_card_title {
    margin-bottom: 12px;
    text-align: center;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
}

.fpt_card_title h2{
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
    color: #3D3D3D;
    text-align: center;
    margin: 0;
}

.fpt_card_title p {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.main_news .fpt_card_title {
    margin-bottom: 18px;
}

.fpt-speed-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 16px;
    gap: 16px;
    margin-bottom: 16px;
}

/* Left */
.fpt-speed-left {
    flex: 1;
}

.fpt-speed-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.fpt-speed-values {
    display: flex;
    align-items: center;
    gap: 16px;
}

.speed-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #111827;
}

.speed-item strong {
    font-weight: 700;
}

/* Arrow styles */
.speed-item.down .arrow {
    color: #6b7280;
}

.speed-item.up .arrow {
    color: #6b7280;
}

/* Right icon */
.fpt-speed-right {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wrapper */
.fpt-tabs {
    width: 100%;
}

/* Tab list */
.fpt-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    /*margin-bottom: 24px;*/
    justify-content: center;
}

/* Tab item */
.fpt-tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

/* Hover */
.fpt-tab:hover {
    background: #f8fafc;
}

/* Active tab */
.fpt-tab.active {
    border-color: #3b82f6;
    background: #eef2ff;
    color: #2563eb;
    font-weight: 600;
}

/* Content */
.fpt-tab-content {
    width: 100%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.slider_package {
    visibility: hidden;
}

.slider_package.slick-initialized {
    visibility: visible;
}

.slider_package .slick-slide {
    margin: 12px;
}

/* Wrapper */
.slider-wrapper {
    position: relative;
}

/* Skeleton container */
.slider-skeleton {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    z-index: 10;
}

/* Skeleton item */
.skeleton-item {
    height: 400px;
    border-radius: 16px;
    background: linear-gradient(
            90deg,
            #f1f5f9 25%,
            #e5e7eb 37%,
            #f1f5f9 63%
    );
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
}

/* Skeleton animation */
@keyframes skeleton-loading {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* Hide slider before slick init */
.slider-wrapper.is-loading .slider_package {
    opacity: 0;
    visibility: hidden;
}

/* After slick ready */
.slider-wrapper.is-ready .slider-skeleton {
    display: none;
}

.slider-wrapper.is-ready .slider_package {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

/* Responsive skeleton */
@media (max-width: 1024px) {
    .slider-skeleton {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .fpt-tab-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 6px 12px 10px;
        margin: 0; /* kéo tab cân đều hai bên */

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        justify-content: flex-start;
    }

    /* Ẩn scrollbar Chrome / Safari */
    .fpt-tab-list::-webkit-scrollbar {
        display: none;
    }

    .fpt-tab-list::-webkit-scrollbar {
        height: 4px;
    }

    .fpt-tab-list::-webkit-scrollbar-thumb {
        background: #e5e7eb;
        border-radius: 999px;
    }

    .slider-skeleton {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .fpt-card {
        max-width: 100%;
    }

    .fpt_card_content {
        padding: 0;
        background: none;
    }
    .fpt_card {
        padding: 24px 0;
    }

    .slider-skeleton {
        grid-template-columns: 1fr;
    }

    .fpt_card_title {
        gap: 10px;
    }

    .fpt_card_title h2 {
        font-size: 20px;
        line-height: 24px;
    }

    .fpt_card_title p {
        font-size: 14px;
        line-height: 22px;
    }
}

/*End Fpt Service V2*/