/*======================================
=            Products Grid             =
======================================*/

.ts-products-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px;
}

@media (max-width:991px){
    .ts-products-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:767px){
    .ts-products-grid{
        grid-template-columns:1fr;
    }
}

/*======================================
=              Card                    =
======================================*/

.ts-products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(340px,1fr));
    gap:30px;
}
.ts-package-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
    transition:all .3s ease;
    display:flex;
    flex-direction:column;
    height:100%;
}

.ts-package-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

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

.ts-package-image-wrapper{
    position:relative;
    overflow:hidden;
}

.ts-package-image{
    display:block;
    width:100%;
    height:240px;
    object-fit:cover;
    transition:transform .4s;
}

.ts-package-card:hover .ts-package-image{
    transform:scale(1.05);
}

.ts-package-badge{
    position:absolute;
    top:12px;
    right:12px;
    background:#fff;
    color:#f6b400;
    padding:5px 10px;
    border-radius:20px;
    font-size:14px;
    font-weight:600;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

/*======================================
=              Body                    =
======================================*/

.ts-package-body{
    padding:18px;
    display:flex;
    flex-direction:column;
    flex:1;
}

/*======================================
=        Duration & Price Row          =
======================================*/

.ts-package-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:15px;
    margin-bottom:12px;
}

.ts-package-duration{
    color:#777;
    font-size:13px;
    line-height:1.4;
}

.ts-package-duration i{
    margin-right:5px;
}

.ts-package-price{
    text-align:right;
    white-space:nowrap;
}

.ts-package-price small{
    display:block;
    font-size:11px;
    color:#999;
    font-style:italic;
    margin-bottom:3px;
}

.ts-package-price strong{
    display:block;
    color:#c62828;
    font-size:24px;
    line-height:1;
    font-weight:700;
}

/*======================================
=             Title                    =
======================================*/

h3.ts-package-title{
    font-size:16px;
    font-weight:600;
    line-height:1.35;
    margin:0 0 10px;
    color:#222;
    min-height:24px;
}

/*======================================
=              Route                   =
======================================*/

.ts-package-route{
    color:#777;
    font-size:14px;
    margin-bottom:18px;
}

/*======================================
=             Footer                   =
======================================*/

.ts-package-footer{
    margin-top:auto;
}

/*======================================
=             Button                   =
======================================*/

.ts-package-btn{
    display:inline-block;
    background:#0d6efd;
    color:#fff !important;
    padding:11px 18px;
    border-radius:5px;
    font-size:13px;
    font-weight:700;
    letter-spacing:.3px;
    text-decoration:none;
    text-transform:uppercase;
    transition:all .3s;
}

.ts-package-btn:hover{
    background:#0056b3;
    color:#fff !important;
    text-decoration:none;
}

/*======================================
=          Empty Image                 =
======================================*/

.ts-no-image{
    height:240px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f4f4f4;
    color:#888;
    font-size:15px;
}