/* Treatment Container */
.treatment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;
    background-color: var(--background-color);
}

/* Treatment Title */
.treatment-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0;
}

/* Treatment Content */
.treatment-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 30px;
}

/* Treatment Images */
.treatment-images {
    position: sticky;
    top: 110px;
    aspect-ratio: 1/1;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Single treatment image (non-carousel) */
.treatment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: white;
}

/* Owl Carousel Customization */
.owl-carousel .owl-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: white;
}

.owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: rgba(0, 0, 0, 0.3);
    display: block;
    border-radius: 30px;
    transition: opacity 200ms ease;
}

.owl-dots .owl-dot.active span {
    background-color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 990px) {
    .treatment-images {
        position: relative;
        top: 0;
    }
}

/* Treatment Details */
.treatment-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.treatment-section {
    background: var(--very-light-grey);
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.treatment-section:hover {
    transform: translateY(-3px);
}

.treatment-details h2, .treatment-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.treatment-details p, .treatment-details ul {
    margin-bottom: 20px;
}

.treatment-details ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Locations Modal Styles */
.locations-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.locations-modal.show {
    display: flex !important;
    opacity: 1;
}

.locations-modal .modal-content {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.locations-modal.show .modal-content {
    transform: translateY(0);
}

.location-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-bottom: 1px solid var(--very-light-grey);
}

.location-item:last-child {
    border-bottom: none;
}

.location-note {
    font-size: 0.9em;
    color: var(--dark-grey);
    margin-top: 5px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--dark-grey);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--very-light-grey);
}

.location-item:last-child {
    border-bottom: none;
}

.location-item span {
    color: var(--dark-grey);
    font-weight: 500;
}

.location-book {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.location-book:hover {
    color: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .treatment-container {
        padding: 25px 30px;
    }

    .treatment-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .treatment-images:not(.clinical-treatment .treatment-images) {
        position: relative;
        top: 0;
        width: 100%;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .treatment-title {
        font-size: 2rem;
    }

    .treatment-container {
        padding: 20px 25px;
    }

    .treatment-images:not(.clinical-treatment .treatment-images) {
        max-height: 350px;
    }

    .treatment-content {
        gap: 25px;
    }
}

@media (max-width: 360px) {
    .treatment-images:not(.clinical-treatment .treatment-images) {
        height: 200px;
    }
}

/* Add-ons Section */
.addons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 10px 0 0 0;
}

.addon-card {
    padding: 15px;
    border-radius: 8px;
    background-color: transparent;
}

.addon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.addon-header h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: normal;
    margin: 0;
}

.addon-info {
    color: var(--dark-grey);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive adjustments for add-ons */
@media (max-width: 768px) {
    .addons-container {
        grid-template-columns: 1fr;
    }
    
    .addon-card {
        padding: 10px;
    }
}

/* Duration & Price Section */
.duration-price-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.info-box {
    background-color: var(--very-light-grey);
    padding: 15px 20px;
    border-radius: 8px;
}

.price-option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--very-light-grey);
    border-radius: 8px;
    margin-bottom: 10px;
}

.option-label {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: normal;
}

.option-duration,
.option-price {
    color: var(--dark-grey);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Remove or update the existing media query */
@media (max-width: 480px) {
    .price-option-row {
        flex-direction: row;  /* Keep row direction */
        gap: 10px;  /* Add some space between label and value */
        padding: 12px 15px;  /* Slightly reduce padding for smaller screens */
    }
    
    .option-label,
    .option-duration,
    .option-price {
        text-align: left;  /* Keep text aligned left */
    }
    
    /* Optional: Adjust font size for very small screens */
    .option-label,
    .option-duration,
    .option-price {
        font-size: 1rem;
    }
}

/* Update the button container styles */
.button-container {
    display: flex;
    justify-content: center;  /* Center horizontally */
    gap: 20px;  /* Space between buttons */
    margin-top: 10px;
}

@media (max-width: 768px) and (min-width: 466px) {
    .button-container {
        flex-direction: row;  /* Ensure buttons stay side by side */
        justify-content: center;  /* Keep buttons centered */
        align-items: center;  /* Center vertically */
        gap: 20px;  /* Maintain consistent gap */
    }
}

@media (max-width: 465px) {
    .button-container {
        flex-direction: column;  /* Stack buttons on very small screens */
        align-items: center;  /* Center stacked buttons */
        gap: 15px;
    }
}

.treatment-section p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.treatment-section p:last-child {
    margin-bottom: 0;
}

.contraindications-note {
    margin-bottom: 15px;
    color: var(--dark-grey);
    font-weight: 500;
}

/* PDF Guide Section */
.pdf-guide-section .guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.guide-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.btn-small-guide {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-small-guide:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-small-guide i {
    font-size: 2em;
}

/* Responsive adjustments for PDF guide */
@media (max-width: 480px) {
    .pdf-guide-section .guide-header {
        flex-direction: row;
        gap: 10px;
    }
    
    .btn-small-guide {
        padding: 6px 10px;
        font-size: 0.85em;
    }
}

/* Price Guide Modal */
.price-guide-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.price-guide-modal.active {
    opacity: 1;
    visibility: visible;
    display: block;
}

.price-guide-modal .modal-content {
    background-color: transparent;
    margin: calc(90px + 2vh) auto 2vh;
    padding: 0;
    width: 35%;
    max-width: 400px;
    height: calc(94vh - 90px);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    box-shadow: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.price-guide-modal.active .modal-content {
    opacity: 1;
    transform: translateY(0);
}

.price-guide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-guide-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: none;
}

/* Remove title from modal */
.price-guide-modal h3 {
    display: none;
}


/* Extra large screens */
@media (min-width: 1921px) {
    .price-guide-modal .modal-content {
        width: 25%;
        max-width: 500px;
    }
    .price-guide-modal .close-modal {
        right: 15px;
        top: 250px;
    }
}

/* Large screens */
@media (min-width: 1441px) and (max-width: 1920px) {
    .price-guide-modal .modal-content {
        width: 30%;
        max-width: 450px;
    }
    .price-guide-modal .close-modal {
        right: 15px;
        top: 75px;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .price-guide-modal .modal-content {
        width: 45%;
    }
    .price-guide-modal .close-modal {
        right: 15px;
        top: 25;
    }
}

@media (max-width: 768px) {
    .price-guide-modal .modal-content {
        width: 65%;
    }
    
    .price-guide-modal .close-modal {
        right: 15px;
        top: 25px;
    }
}

@media (max-width: 600px) {
    .price-guide-modal .modal-content {
        width: 85%;
    }
    
    .price-guide-modal .close-modal {
        right: 15px;
        top: 25px;
    }
}

@media (max-width: 480px) {
    .price-guide-modal .modal-content {
        width: 85%;
        margin: calc(90px + 2vh) auto 2vh;
    }
    
    .price-guide-modal .close-modal {
        right: 15px;
        top: 25px;
    }
}

/* Handle very small screens */
@media (max-width: 420px) {
    .price-guide-modal .modal-content {
        width: 90%;
        margin: calc(90px + 1vh) auto 1vh;
    }
    .price-guide-modal .close-modal {
        right: 15px;
        top: 35px;
    }
}

@media (max-width: 360px) {
    .price-guide-modal .modal-content {
        width: 90%;
        margin: calc(90px + 1vh) auto 1vh;
    }
    .price-guide-modal .close-modal {
        right: 15px;
        top: 70px;
    }
}

/* Handle landscape orientation */
@media (max-height: 600px) and (orientation: landscape) {
    .price-guide-modal .modal-content {
        margin: calc(90px + 1vh) auto 1vh;
        height: calc(96vh - 90px);
    }
}

/* Add this new section for clinical-specific styles */
.clinical-treatment .treatment-images {
    position: sticky;
    top: 110px;
    width: 100%;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}

.clinical-treatment .owl-carousel {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.clinical-treatment .owl-stage-outer,
.clinical-treatment .owl-stage,
.clinical-treatment .owl-item {
    height: 100%;
}

.clinical-treatment .owl-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop and tablet breakpoints */
@media (min-width: 992px) {
    .clinical-treatment .treatment-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        align-items: start;
    }
}

/* Tablet to mobile transition */
@media (max-width: 992px) {
    .clinical-treatment .treatment-content {
        grid-template-columns: 1fr;
    }
    
    .clinical-treatment .treatment-images {
        position: relative;
        top: 0;
        width: 80%;
        padding-bottom: 80%;
        margin: 0 auto 40px;
    }
}

/* Smaller screens */
@media (max-width: 615px) {
    .clinical-treatment .treatment-images {
        width: 100%;
        padding-bottom: 100%;
        margin: 0 0 40px;
    }
}

/* Keep existing media queries for non-clinical treatments */
@media (max-width: 992px) {
    .treatment-images:not(.clinical-treatment .treatment-images) {
        position: relative;
        top: 0;
        width: 100%;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .treatment-images:not(.clinical-treatment .treatment-images) {
        max-height: 350px;
    }
}

@media (max-width: 360px) {
    .treatment-images:not(.clinical-treatment .treatment-images) {
        height: 200px;
    }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.back-to-menu-btn {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.back-to-menu-btn:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.price-duration-container {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.treatment-duration,
.treatment-price {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--dark-grey);
}

.additional-info-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.additional-info-list li {
    margin-bottom: 8px;
}

/* Add-on Styles */
.addon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--very-light-grey);
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.addon-row:last-child {
    margin-bottom: 0;
}

.addon-row:hover {
    transform: translateX(10px);
}

.addon-name {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.addon-info {
    color: var(--dark-grey);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Addon Guide Modal Styles */
.addon-guide-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.addon-guide-modal.active {
    opacity: 1;
}

.addon-guide-modal .modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    margin-top: 60px;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
}

.addon-guide-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.addon-guide-modal .addon-guide-content {
    text-align: center;
    border: none;
    box-shadow: none;
}

.addon-guide-modal .addon-guide-image {
    max-width: 100%;
    max-height: calc(80vh - 100px);
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
    border: none;
    box-shadow: none;
}

/* Style the close button */
.addon-guide-modal .close-modal {
    display: none;  /* Hide the close button */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .addon-guide-modal .modal-content {
        width: 95%;
        margin-top: 50px;
    }

    .addon-guide-modal .addon-guide-image {
        max-height: calc(70vh - 80px);
    }

    .addon-guide-modal .close-modal {
        right: 0;
        top: -40px;
    }
}

/* Remove or hide the close button for the price guide modal */
#priceGuideModal .close-modal {
    display: none;
}

/* Arletta Treatment Price Styles */
.treatment-prices {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-option {
    background-color: var(--very-light-grey);
    border-radius: 12px;
    padding: 20px;
}

.price-option h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.single-price, .course-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.price-details .price {
    color: var(--dark-grey);
    font-weight: 600;
    font-size: 1.1rem;
    order: 2; /* Move price to the right */
}

.price-details .label {
    color: var(--primary-color);
    font-size: 1rem;
    order: 1; /* Move label to the left */
}

/* Responsive adjustments for Arletta prices */
@media (max-width: 768px) {
    .price-option {
        padding: 15px;
    }

    .price-option h4 {
        font-size: 1.2rem;
    }

    .single-price, .course-price {
        padding: 8px 12px;
    }

    .price-details .price {
        font-size: 1rem;
    }

    .price-details .label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .price-option h4 {
        font-size: 1.1rem;
    }

    .single-price, .course-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .price-details .price {
        font-weight: 700;
    }
}

/* Update existing price category headings for Thermavein */
.price-category {
    background-color: var(--very-light-grey);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.price-category h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Responsive adjustments for price categories */
@media (max-width: 768px) {
    .price-category {
        padding: 15px;
    }
    
    .price-category h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .price-category h4 {
        font-size: 1.1rem;
    }
}

.btn-locations {
    cursor: pointer;
    /* Add your button styles here */
}

.locations-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.locations-modal.show {
    display: flex !important;
}

/* Clinical Specific Modal Styles */
.clinical-treatment .locations-modal .modal-content {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.clinical-treatment .locations-modal .location-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-bottom: 1px solid var(--very-light-grey);
    gap: 8px;
}

.clinical-treatment .locations-modal .location-item:last-child {
    border-bottom: none;
}

.clinical-treatment .locations-modal .location-note {
    font-size: 0.9em;
    color: var(--primary-color);
    font-style: italic;
    padding-left: 5px;
}

/* Responsive adjustments for clinical modal */
@media (max-width: 768px) {
    .clinical-treatment .locations-modal .modal-content {
        width: 95%;
        padding: 25px;
    }
    
    .clinical-treatment .locations-modal .location-item {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .clinical-treatment .locations-modal .modal-content {
        width: 98%;
        padding: 20px;
    }
    
    .clinical-treatment .locations-modal .location-note {
        font-size: 0.85em;
    }
}

/* Update modal title styling */
.locations-modal .modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;  /* Center the title */
    padding-bottom: 15px;  /* Add some padding before the list */
    border-bottom: 1px solid var(--very-light-grey);  /* Optional: adds a subtle separator */
}

/* Adjust spacing for close button to not overlap centered title */
.locations-modal .close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--dark-grey);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;  /* Ensure proper vertical alignment */
}