/* Keep homepage package carousel content inside its own viewport. */
.home section.packeg .items {
    position: relative;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    overflow: visible !important;
}

.home section.packeg .items .slick-list {
    width: 100%;
    margin: 0;
    padding: 0 24px !important;
    box-sizing: border-box;
    overflow: hidden !important;
}

.home section.packeg .items .slick-track {
    display: flex !important;
    align-items: stretch;
}

.home section.packeg .items .slick-slide {
    box-sizing: border-box;
    padding: 0 7px;
}

.home section.packeg .items .slick-slide > div,
.home section.packeg .items .slick-slide .rolling {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}

.home section.packeg .items .slick-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border: 1px solid #ff5722 !important;
    border-radius: 50%;
    margin: 0 !important;
    appearance: none;
    color: #16a7b7 !important;
    background: #fff !important;
    box-shadow: 0 3px 10px rgba(31, 41, 55, .16);
    font-size: 0;
    line-height: 1;
    transform: translateY(-50%) !important;
}

.home section.packeg .items .slick-prev {
    left: 2px !important;
}

.home section.packeg .items .slick-next {
    right: 2px !important;
}

.home section.packeg .items .slick-prev::before,
.home section.packeg .items .slick-next::before {
    color: #16a7b7;
    font-family: FontAwesome;
    font-size: 16px;
    font-weight: normal;
    opacity: 1;
}

.home section.packeg .items .slick-prev::before {
    content: "\f104";
}

.home section.packeg .items .slick-next::before {
    content: "\f105";
}

.home section.packeg .items .slick-arrow:hover {
    color: #fff !important;
    background: #16a7b7 !important;
}

.home section.packeg .items .slick-arrow:hover::before {
    color: #fff;
}

.home section.packeg .items .service {
    position: relative;
    overflow: hidden !important;
    border: 1px solid #dce7ea;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff 0%, #fbfeff 100%);
    box-shadow: 0 4px 14px rgba(40, 74, 82, .08);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home section.packeg .items .service:hover {
    border-color: #16a7b7;
    box-shadow: 0 8px 20px rgba(40, 74, 82, .14);
    transform: translateY(-2px);
}

.home section.packeg .items .field-content2 {
    padding: 18px 16px 14px;
    background-image: none !important;
}

.home section.packeg .items .field-content2::before {
    display: none !important;
}

.home section.packeg .items .title {
    position: relative;
    min-height: 38px;
    margin-bottom: 7px;
    padding-left: 30px;
    overflow: hidden;
    color: #234d6e;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home section.packeg .items .title::before {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    color: #fff;
    background: #16a7b7;
    content: "\f0f0";
    font-family: FontAwesome;
    font-size: 12px;
    font-weight: normal;
}

.home section.packeg .lab-test-card .test-description {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home section.packeg .items .countprofile {
    position: relative;
    margin: 0 0 12px;
    padding-left: 20px;
    color: #667085;
    font-size: 12px;
}

.home section.packeg .items .countprofile::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: #16a7b7;
    content: "\f0fa";
    font-family: FontAwesome;
    font-size: 13px;
}

.home section.packeg .items .countprofile a {
    color: inherit;
}

.home section.packeg .items .rates.boxes {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    padding: 8px 10px 8px 30px;
    border: 1px solid #dbe8eb;
    border-radius: 8px;
    background: #f7fbfc;
}

.home section.packeg .items .rates.boxes::before {
    position: absolute;
    top: 50%;
    left: 10px;
    color: #ff5722;
    content: "\f156";
    font-family: FontAwesome;
    font-size: 13px;
    transform: translateY(-50%);
}

.home section.packeg .items .rates del,
.home section.packeg .items .rates .blue,
.home section.packeg .items .rates .sm {
    text-align: center;
    white-space: nowrap;
}

.home section.packeg .items .rates del {
    color: #98a2b3;
    font-size: 12px;
}

.home section.packeg .items .rates .blue {
    color: #234d6e;
    font-size: 15px;
    font-weight: 700;
}

.home section.packeg .items .rates .sm {
    padding: 7px 5px;
    border-radius: 4px;
    color: #fff;
    background: #16a7b7;
    font-size: 11px;
    font-weight: 700;
}

.home section.packeg .items .call-btn {
    gap: 10px;
}

.home section.packeg .items .call-btn a {
    min-height: 36px;
    border-radius: 6px !important;
    font-size: 12px;
    letter-spacing: .2px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.home section.packeg .items .call-btn .whatsapp-call {
    border: 1px solid #16a7b7;
    background: #16a7b7;
}

.home section.packeg .items .call-btn .whatsapp-call::before {
    margin-right: 6px;
    content: "\f07a";
    font-family: FontAwesome;
    font-size: 11px;
}

.home section.packeg .items .call-btn .normal {
    border: 1px solid #234d6e;
    background: #fff;
    color: #234d6e;
}

.home section.packeg .items .call-btn .normal::before {
    margin-right: 6px;
    content: "\f06e";
    font-family: FontAwesome;
    font-size: 11px;
}

@media (max-width: 767px) {
    .home section.packeg .items .slick-list {
        padding: 0 34px !important;
    }

    .home section.packeg .items .slick-slide {
        padding: 0 5px;
    }

    .home section.packeg .items .slick-prev {
        left: 3px !important;
    }

    .home section.packeg .items .slick-next {
        right: 3px !important;
    }

    .home section.packeg .items .slick-arrow {
        width: 34px;
        height: 34px;
    }
}

/* Reuse the same package-card language on health-package listing pages. */
.home section.packeg #package_list {
    align-items: stretch;
    row-gap: 18px;
}

.home section.packeg {
    background: #fff;
}

.home section.packeg #package_list > .col-sm-3,
.home section.packeg #package_list > .col-md-3 {
    display: flex;
    width: 25%;
    padding-right: 8px;
    padding-left: 8px;
    box-sizing: border-box;
}

.home section.packeg #package_list .pkgCardBox {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 228px;
    padding: 18px 16px 14px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce7ea !important;
    border-radius: 12px !important;
    background: linear-gradient(145deg, #fff 0%, #fbfeff 100%);
    box-shadow: 0 4px 14px rgba(40, 74, 82, .08);
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home section.packeg #package_list .pkgCardBox:hover {
    border-color: #16a7b7 !important;
    box-shadow: 0 8px 20px rgba(40, 74, 82, .14);
    transform: translateY(-2px);
}

.home section.packeg #package_list .pkgCardBox h2 {
    position: relative;
    min-height: 38px !important;
    margin: 0 0 7px !important;
    padding: 0 0 0 30px !important;
    overflow: hidden;
    color: #234d6e !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home section.packeg #package_list .pkgCardBox h2::before {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    color: #fff;
    background: #16a7b7;
    content: "\f0f0";
    font-family: FontAwesome;
    font-size: 12px;
    font-weight: normal;
}

.home section.packeg #package_list .pkgCardBox > svg,
.home section.packeg #package_list .pkgCardBox > .smTxt {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 0 0 10px;
    color: #667085;
    background: transparent !important;
    font-size: 12px !important;
}

.home section.packeg #package_list .pkgCardBox > .smTxt::before {
    margin-right: 7px;
    color: #16a7b7;
    content: "\f0fa";
    font-family: FontAwesome;
    font-size: 13px;
}

.home section.packeg #package_list .pkgCardBox > .priceSec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 12px !important;
    padding: 8px 10px;
    border: 1px solid #dbe8eb;
    border-radius: 8px;
    background: #f7fbfc;
}

.home section.packeg #package_list .pkgCardBox > .priceSec > div:first-child {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.home section.packeg #package_list .pkgCardBox > .priceSec .price {
    color: #234d6e;
    font-size: 17px;
    font-weight: 700;
}

.home section.packeg #package_list .pkgCardBox > .priceSec .priceOld {
    color: #98a2b3;
    font-size: 12px;
}

.home section.packeg #package_list .pkgCardBox > .priceSec .offer {
    display: inline-block;
    padding: 7px 6px;
    border-radius: 4px;
    color: #fff;
    background: #16a7b7;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.home section.packeg #package_list .pkgCardBox > .search-list-height {
    min-height: 0 !important;
    margin: 0 0 14px;
}

.home section.packeg #package_list .pkgCardBox .test_count_block1 {
    margin: 0 !important;
}

.home section.packeg #package_list .pkgCardBox .test_count_block1 a {
    display: block;
    margin: 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #dbe8eb;
    border-radius: 8px !important;
    color: #667085 !important;
    background: #fff !important;
    font-size: 12px !important;
    text-align: left;
    text-decoration: none;
}

.home section.packeg #package_list .pkgCardBox .test_count_block1 a::before {
    margin-right: 7px;
    color: #16a7b7;
    content: "\f0fa";
    font-family: FontAwesome;
}

.home section.packeg #package_list .pkgCardBox .test_count_block1 + .titleblock {
    display: none !important;
}

.home section.packeg #package_list .pkgCardBox > .cardGraySec {
    display: block;
    margin: auto 0 0 !important;
}

.home section.packeg #package_list .pkgCardBox > .cardGraySec .packbox,
.home section.packeg #package_list .pkgCardBox > .cardGraySec .cart_div1,
.home section.packeg #package_list .pkgCardBox > .cardGraySec .titleblock,
.home section.packeg #package_list .pkgCardBox > .cardGraySec .price_blockk,
.home section.packeg #package_list .pkgCardBox > .cardGraySec .price {
    margin: 0 !important;
}

.home section.packeg #package_list .pkgCardBox > .cardGraySec a {
    display: block;
    width: 100%;
    min-height: 36px;
    padding: 10px 8px !important;
    border: 1px solid #16a7b7 !important;
    border-radius: 6px !important;
    color: #fff !important;
    background: #16a7b7 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.home section.packeg #package_list .pkgCardBox > .cardGraySec a::before {
    margin-right: 6px;
    content: "\f07a";
    font-family: FontAwesome;
    font-size: 11px;
}

.home section.packeg #package_list > * .service,
.home section.packeg #package_list > * .pkgCardBox {
    --package-accent: #16a7b7;
}

.home section.packeg #package_list .service .title::before,
.home section.packeg #package_list .pkgCardBox h2::before {
    background: var(--package-accent, #16a7b7);
}

.home section.packeg #package_list .service .countprofile::before,
.home section.packeg #package_list .pkgCardBox > .smTxt::before,
.home section.packeg #package_list .pkgCardBox .test_count_block1 a::before {
    color: var(--package-accent, #16a7b7);
}

.home section.packeg #package_list .service .rates .sm,
.home section.packeg #package_list .pkgCardBox > .priceSec .offer {
    background: var(--package-accent, #16a7b7);
}

.home section.packeg #package_list .service .call-btn .whatsapp-call,
.home section.packeg #package_list .pkgCardBox > .cardGraySec a {
    border-color: var(--package-accent, #16a7b7);
    background: var(--package-accent, #16a7b7);
}

.home section.packeg .items .rates .sm,
.home section.packeg #package_list .pkgCardBox > .priceSec .offer {
    border: 1px solid #dbe8eb;
    color: #16a7b7;
    background: transparent !important;
}

.home section.packeg #load-more .normal {
    border-color: #16a7b7 !important;
    color: #fff !important;
    background: #16a7b7 !important;
}

@media (max-width: 991px) {
    .home section.packeg #package_list > .col-sm-3,
    .home section.packeg #package_list > .col-md-3 {
        width: 50%;
    }
}

@media (max-width: 575px) {
    .home section.packeg #package_list > .col-sm-3,
    .home section.packeg #package_list > .col-md-3 {
        width: 100%;
    }

    .home section.packeg #package_list .pkgCardBox {
        min-height: 220px;
    }
}
