/* ===============================
   VARIABLES
================================ */
:root {
  --black: #000;
  --white: #fff;
  --blue: #47a0cc;
  --muted: #6c757d;
  --bg-soft: #f7fbfe;
}

/* ===============================
   COMMON
================================ */
.bg-soft {
    background: var(--bg-soft);
}

/* HEADING */
.filter-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
    padding-left: 14px;
    position: relative;
}

.filter-label::before {
     content: none !important;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
}

/* ===============================
   CUSTOM SELECT
================================ */
.custom-select {
    position: relative;
    max-width: 420px;
}

/* Avoid text select */
.custom-select,
.select-selected,
.select-selected * {
    user-select: none;
}

/* Selected box */
.select-selected {
    background: var(--white);
    border: 2px solid var(--blue);
    border-radius: 12px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    box-shadow: 0 6px 18px rgba(71,160,204,.15);
    transition: all .25s ease;
}

.select-selected:hover {
    box-shadow: 0 10px 30px rgba(71,160,204,.25);
}

/* Arrow */
.select-selected i {
    color: var(--blue);
    pointer-events: none;
    transition: transform .3s ease;
}

.custom-select.active .select-selected i {
    transform: rotate(180deg);
}

/* ===============================
   DROPDOWN
================================ */
.select-options {
    position: absolute;
    width: 100%;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,.18);
    display: none;
    margin-top: 10px;
    z-index: 20;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-select.active .select-options {
    display: block;
}

/* SEARCH BOX */
.select-options .search-box {
    padding: 10px;
    background: var(--bg-soft);
}

.select-options .search-box input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d7e7f3;
    font-size: 14px;
    outline: none;
}

.select-options .search-box input:focus {
    border-color: var(--blue);
}

/* OPTIONS */
.select-options li {
    padding: 15px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all .2s ease;
    list-style: none;
}

/* REMOVE DOT */
.select-options li::marker {
    content: "";
}

.select-options li:hover {
    background: #f1f7fb;
    padding-left: 26px;
}

.select-options li.active {
    background: var(--bg-soft);
    font-weight: 700;
}

/* Small custom dot */
.select-options li:not(.search-box)::before {
    font-size: 22px;
    line-height: 0;
    color: var(--blue);
}

/* ===============================
   MOBILE BOTTOM SHEET
================================ */
@media (max-width: 767px) {

    body.dropdown-open {
        overflow: hidden;
    }

    .custom-select::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        opacity: 0;
        visibility: hidden;
        transition: .3s ease;
        z-index: 998;
    }

    .custom-select.active::before {
        opacity: 1;
        visibility: visible;
    }

    .select-options {
        position: fixed;
        left: 0;
        right: 0;
        bottom: -100%;
        max-height: 70vh;
        border-radius: 18px 18px 0 0;
        transition: bottom .35s ease;
        z-index: 999;
    }

    .custom-select.active .select-options {
        bottom: 0;
    }

    .select-options::before {
        content: "";
        width: 42px;
        height: 5px;
        background: #d0d7de;
        border-radius: 4px;
        display: block;
        margin: 10px auto;
    }
}


/* Remove any pseudo bullets if added earlier */
.select-options li::marker,
.select-options li::before {
    content: none !important;
}

/* ==============================
   PACKAGE CARD – BLUE THEME
============================== */

.pkg-card {
    background: var(--white);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(71,160,204,.15);
    transition: transform .25s ease, box-shadow .25s ease;
}

.pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(71,160,204,.30);
}

.pkg-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.pkg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.pkg-lite-card:hover .pkg-image img {
    transform: scale(1.05);
}


/* ROUND BADGE */

/* ============================= */
/* PACKAGE BADGE - COMMON */
/* ============================= */

.pkg-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;

    z-index: 2;
    pointer-events: none;
}

/* ============================= */
/* NEW BADGE - RED */
/* ============================= */

.pkg-badge-new {
    background: #a50d24d6;
    animation: pulseBadge 1.6s infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(165, 13, 36, 0.6);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 12px rgba(165, 13, 36, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(165, 13, 36, 0);
    }
}

/* ============================= */
/* EXPIRED BADGE - GREEN */
/* ============================= */

.pkg-badge-expired {
    background: #1f8a3b; /* GREEN */
    animation: expiredFade 2s infinite;
}

@keyframes expiredFade {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}


/* GRADIENT STRIP */
.pkg-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px;
    background: linear-gradient(
        90deg,
        rgba(71,160,204,.95),
        rgba(71,160,204,.75)
    );
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pkg-gradient-title {
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    max-width: 80%;
}

.pkg-gradient-logo img {
    height: 26px;
}

/* BODY */
.pkg-body {
    padding: 16px 16px 18px;
}

/* TITLE */
.pkg-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

/* CATEGORY / TAG */
.pkg-hospital {
    display: inline-block;
    background: var(--bg-soft);
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* PRICE */
.pkg-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.price-now {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
}

.price-old {
    font-size: 13px;
    color: var(--muted);
    text-decoration: line-through;
}

/* EXPIRY */
.pkg-expiry {
    font-size: 12px;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* DETAILS BUTTON */
.pkg-lite-btn {
    display: block;
    margin-top: 14px;
    text-align: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--blue);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.pkg-lite-btn:hover {
    background: #3b92bb;
    transform: translateY(-1px);
    color: var(--white);
}

/* RTL */
html[dir="rtl"] .pkg-lite-btn {
    text-align: center;
}


/* ===============================
   PACKAGE SHOW PAGE
================================ */

.pkg-show-section {
    padding: 60px 0;
    background: var(--bg-soft);
}

/* IMAGE */
.pkg-show-image {
    height: 600px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #e9eef3;
 
}

.pkg-show-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO CARD */
.pkg-show-card {
    background: var(--white);
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: 0 14px 40px rgba(71,160,204,.15);
    margin-bottom: 24px;
}

.pkg-show-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 8px;
}

.pkg-show-category {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 12px;
}

.pkg-show-card hr {
    border-color: #e6eef5;
    margin: 20px 0;
}

/* EXPIRY */
.pkg-show-expiry {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 16px;
}

.pkg-show-expiry i {
    color: var(--blue);
}

/* PRICE */
.pkg-show-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--blue);
     text-align: center;
    
}

.pkg-show-price span {
    font-size: 16px;
    color: var(--muted);
    text-decoration: line-through;
    margin-left: 12px;
    
}

/* CONTACT CARD */
.pkg-contact-card {
    background: var(--white);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 14px 40px rgba(71,160,204,.15);
    text-align: center;
}

.pkg-contact-card p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 18px;
}

/* CONTACT BUTTONS */
.pkg-contact-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pkg-contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pkg-contact-btn i {
    font-size: 18px;
}

.pkg-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(71,160,204,.35);
    color: var(--white);
}

.pkg-contact-btn.outline {
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--blue);
}

.pkg-contact-btn.outline:hover {
    background: var(--blue);
    color: var(--white);
}

/* RTL SUPPORT */
html[dir="rtl"] .pkg-show-card,
html[dir="rtl"] .pkg-contact-card {
    text-align: right;
}

html[dir="rtl"] .pkg-contact-actions {
    justify-content: flex-start;
}


/* ===============================
   PACKAGE DETAIL SECTION (EXACT)
================================ */

.pkg-detail-section {
    padding: 40px 0 70px;
    background: var(--bg-soft);
}

/* HEADING */
.pkg-detail-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.pkg-detail-star {
    font-size: 34px;
    font-weight: 700;
    color: #136995;
    line-height: 1;
}

.pkg-detail-heading h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    margin: 0;
}

/* CARD */
.pkg-detail-card {
    background: var(--white);
    border-radius: 14px;
    padding: 34px 40px;
    box-shadow: 0 10px 30px rgba(71,160,204,.12);
}

/* BLUE DESCRIPTION */
.pkg-detail-description {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.9;
    color: #000;
    margin-bottom: 22px;
}

/* NOTE */
.pkg-detail-note {
    font-size: 15px;
    color: #222;
    line-height: 1.8;
    margin-bottom: 36px;
}

/* PROMOTION TITLE */
.pkg-detail-promo-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

/* LIST */
.pkg-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pkg-detail-list li {
    position: relative;
    padding-left: 28px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px dotted #e3edf6;
    font-size: 16px;
    line-height: 1.7;
    color: #505c69;
}

/* BLUE BULLET */
/* .pkg-detail-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 24px;
    color: var(--blue);
} */

/* RTL SUPPORT */
html[dir="rtl"] .pkg-detail-card {
    text-align: right;
}

html[dir="rtl"] .pkg-detail-list li {
    padding-left: 0;
    padding-right: 28px;
}

html[dir="rtl"] .pkg-detail-list li::before {
    left: auto;
    right: 0;
}


/* ===============================
   RELATED PACKAGES SECTION
================================ */

.pkg-related-section {
    padding: 70px 0;
    background: #b8cad78c;
}

/* HEADER */
.pkg-related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.pkg-related-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--blue);
    margin: 0;
}

/* VIEW MORE LINK */
.pkg-related-view {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid var(--blue);
    transition: all .2s ease;
}

.pkg-related-view:hover {
    background: var(--blue);
    color: var(--white);
}

/* RTL */
html[dir="rtl"] .pkg-related-header {
    flex-direction: row-reverse;
}

/* NEW BADGE */
.pkg-badge-new {
    background: #600803; /* green medical */
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 6px 15px rgba(176, 53, 8, 0.4);
}
.pkg-image a {
    display: block;
    height: 100%;
}


/* BOX */
.pkg-tests-box {
    background: linear-gradient(135deg, #f7fbfe, #eef7fc);
    border-radius: 18px;
    padding: 22px;
    margin: 20px 0;
    border: 1px solid #e3edf6;
}

/* TITLE */
.pkg-tests-title {
    font-size: 17px;
    font-weight: 700;
    color: #47a0cc;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* GRID */
.pkg-tests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

/* ITEM */
.pkg-test-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    padding: 8px 10px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(71,160,204,.08);
    transition: all .2s ease;
}

/* DOT */
.pkg-test-item .dot {
    width: 10px;
    height: 10px;
    background: #47a0cc;
    border-radius: 50%;
    flex-shrink: 0;
}

/* HOVER EFFECT */
.pkg-test-item:hover {
    transform: translateX(4px);
    background: #47a0cc;
    color: #fff;
}

.pkg-test-item:hover .dot {
    background: #fff;
}

/* MOBILE */
@media (max-width: 576px) {
    .pkg-tests-grid {
        grid-template-columns: 1fr;
    }
}