/* DETAIL PACKAGE SECTION */
.package-detail-section {
    padding: 60px 0;
    background-color: #fbfdf9;
}

.package-detail__layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* SIDEBAR */
.package-detail__sidebar {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 37px;
}

.sidebar-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 37px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Doctor Profile */
.doctor-profile {
    text-align: center;
}

.doctor-avatar {
    width: 105px;
    height: 105px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f4f7f0;
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-name {
    color: #095540;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px;
}

.doctor-title {
    color: #8da496;
    font-size: 13px;
    margin: 0 0 15px;
}

.doctor-profile .divider {
    height: 1px;
    background-color: #e5ece8;
    margin: 15px 0;
    width: 100%;
}

.doctor-desc {
    color: #72827a;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Other Packages */
.other-packages-title {
    color: #095540;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px;
}

.other-packages .title-divider {
    width: 40px;
    height: 3px;
    background-color: #55c8c6;
    margin-bottom: 20px;
}

.package-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.package-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.package-item h5 {
    color: #176550;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
}

.package-item h5:hover {
    color: #55c8c6;
}

.divider-light {
    height: 1px;
    background-color: #f0f4f2;
    margin: 32px 0;
    width: 100%;
}

/* MAIN CONTENT */
.package-detail__main {
    flex-grow: 1;
    min-width: 0;
}

.main-title {
    color: #095540;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 15px;
    line-height: 1.3;
}

.main-subtitle {
    color: #5b6961;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 25px;
}

.price-badge {
    display: inline-block;
    background-color: #095540;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 99px;
    margin-bottom: 30px;
}

.main-image {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 315px;
    object-fit: cover;
    display: block;
}

.benefits-title {
    color: #095540;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.benefits-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #4a5c53;
    font-size: 16px;
    line-height: 1.6;
}

.benefits-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    background-color: #095540;
    border-radius: 50%;
}

.the-content-wrapper {
    line-height: 1.8;
    color: #4a5c53;
    font-size: 16px;
}

.the-content-wrapper p,
.the-content-wrapper ul,
.the-content-wrapper ol {
    margin-bottom: 20px;
}

.the-content-wrapper li {
    margin-bottom: 10px;
}

.the-content-wrapper img {
    margin: 30px 0;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-images img {
    width: 100%;
    border-radius: 20px;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* RESPONSIVE */
@media screen and (max-width: 1024px) {
    .package-detail__layout {
        flex-direction: column;
    }

    .package-detail__sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        order: 2;
    }

    .package-detail__main {
        order: 1;
    }

    .sidebar-box {
        flex: 1;
        min-width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .main-title {
        font-size: 28px;
    }

    .gallery-images {
        grid-template-columns: 1fr;
    }

    .package-detail__sidebar {
        flex-direction: column;
    }

    .sidebar-box {
        width: 100%;
    }
}