/*Sections*/
#section-treaments-banner {
    position: relative;
    width: 100%;
    align-self: center;
    height: clamp(525px, 60svh, 800px);
    z-index: 0;
    overflow: hidden;
}

#section-treaments-banner .col {
    width: 100%;
}

#section-treaments-banner .col {
    width: 100%;

}

#section-treaments-banner .row {
    padding: 0;
}

#section-treaments-banner .col::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;

    background-color: #30241a66;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;

}

#section-treaments-banner .section-title {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;

    max-width: 22ch;

    top: 50%;
    left: 50%;

    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);
    font-size: 2.1rem;

    line-height: 1.1;
    text-align: center;
    pointer-events: none;
    color: rgb(255, 252, 240);
    text-shadow: 1px 1px 15px rgba(51, 42, 42, 0.65);
    z-index: 2;
    transition: opacity .5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

#section-treaments-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;

}

#section-treatment-category {
    height: fit-content;
    padding: clamp(.5rem, 2dvh, 1rem);
    background-color: #f0e9e0;
}

#section-treatment-category .col {
    min-height: fit-content;
    max-width: none;
    width: 100%;
}

#section-treatment-category .row {
    max-width: 90dvw;
    padding: 0;
    justify-content: start;
    align-items: center;
}

#section-treatment-category .section-title {
    width: 100%;
    max-width: 28ch;
    font-size: 3rem;
    margin: 4rem 0;
    text-align: center;
}

/*Treatment details section*/
#section-treatments-details {
    background-color: #f0e9e0;
}

#section-treatments-details .col,
#section-treatments-details .row {
    justify-content: center;
    max-width: none;
    padding: 0;
    width: 100%;
}

.section-title-cat {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%);

    font-size: clamp(3rem, 2.5vw + 1rem, 8rem);
    font-weight: 300;
    color: var(--color-bg-prim);
    align-self: center;
    text-align: center;

    transition: transform .75s cubic-bezier(0.23, 1, 0.320, 1);
    pointer-events: none;
    z-index: 2;
}

.container-treatment-info {
    display: flex;
    position: relative;
    width: fit-content;
    align-self: flex-end;
}

.treatment-info2-row.row {
    display: none;
}

.treatment-info2-row.row.active {
    display: flex;

}

.container-treatment-info2 {
    display: flex;
    position: relative;
    width: fit-content;
    align-self: flex-start;
}

.container_category-row .btn_bookNow {
    width: fit-content;
    justify-self: flex-start;
    align-self: flex-start;
    touch-action: manipulation;
}

.container_category-row.row.row-50 {
    display: none;
    position: relative;
    justify-content: start;
    margin: 3rem 0;
}

.container_category-row.row.row-50.active {
    display: flex;
}

.container_category-container {
    position: relative;

    max-width: 100%;
    height: fit-content;
    min-height: 15rem;
    padding: 0 1rem;
}

.container-treatment-category {
    position: relative;
    display: flex;
    width: 100%;
    height: fit-content;
}

.category-menu-list {
    display: flex;
    width: fit-content;
    justify-content: start;
    align-items: center;
    overflow-y: hidden;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.btn_arrow {
    position: absolute;
    left: calc(100% + 1rem);
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    opacity: .8;
    z-index: 2;
    transition: opacity .5s cubic-bezier(0.165, 0.84, 0.44, 1);
    touch-action: manipulation;

}

.arrow-left {
    transform: scaleX(-1) translateX(50%) translateY(-50%);
    left: -1rem;
    top: 50%;
}

.category-list-item {
    display: flex;
    min-width: fit-content;
    justify-content: start;
    align-items: center;
    height: 3rem;
    border: 1px rgb(194, 179, 155) solid;
    border-right: 1px rgba(194, 179, 155, 0.5) solid;
    border-left: 1px rgba(194, 179, 155, 0.5) solid;
    background-color: #dad6d0;
    padding: 1.25rem;
    list-style-type: none;
    transition: border .7s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.category-list-item.selected {
    border-bottom: 1px rgba(194, 179, 155, 0) solid;
    background-color: #f0e9e0;

}

.category-list-item.selected .category-list-item .treatment-title {
    color: var(--color-bg-prim);

}

.category-menu-list .treatment-title {
    color: var(--color-bg-secondary);
    font-size: 1.2rem;
}

.container_category-submenu.row.row-50 {
    display: flex;
    min-height: fit-content;
    justify-content: start;
    padding: 0;
}

.container-treatment-info-img-button {
    width: 100%;
    max-width: 40rem;
    max-height: 40rem;
    aspect-ratio: 1;
    object-fit: cover;

    filter: sepia(.2) brightness(.6);
    box-shadow: 1px 1px #3a1f10a1;
    z-index: 1;

    transition: box-shadow, filter .75s cubic-bezier(0.23, 1, 0.320, 1);
    touch-action: manipulation;
}

.container-treatment-details {
    position: absolute;
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    user-select: none;
    z-index: 1;
}

.container-treatment-details.active {
    display: flex;

}

.treatment-details-card {
    display: flex;
    justify-self: flex-start;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.treatment-details-title {
    position: absolute;
    left: 1.5rem;
    top: .5rem;
    max-width: 75%;
    font-family: poppins;
    font-size: 1.45rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 1px 1px 25px rgba(33, 28, 27, 0.1);
    z-index: 1;
}

.btn-card-info-close {
    all: unset;
    position: absolute;
    display: none;
    right: 1rem;
    top: 1rem;
    width: 1.75rem;
    height: 1.75rem;

    transition: transform 0.2s ease-out;
    filter: invert(1);
    z-index: 2;
    touch-action: manipulation;

}

.btn-card-info {
    margin: 2rem 1rem;
    padding: .5rem 1rem;
    align-self: left;
    text-align: center;
    font-family: poppins;
    font-weight: 300;
    font-size: 1rem;
    color: var(--color-bg-prim);
    box-shadow: 1px 1px 15px rgba(46, 40, 39, 0.25);

    border: 1px var(--color-bg-prim) solid;
    border-radius: 50rem;
    background-color: #c5b7b0de;
    transition: all 0.2s ease-out;

    z-index: 1;
    touch-action: manipulation;

}

.btn-card-info:after {
    content: "";
    height: 100%;

    left: 0;
    top: 0;
    width: 10px;

    opacity: 0;
    background-color: var(--color-bg-prim);

    border-radius: 50rem;
    transition: all 0.3s cubic-bezier(0.2, .9, 0.1, .5);
    z-index: -2;
}

.container-treatment-details img {
    width: 100%;
    height: 100%;
    max-height: 600px;

    aspect-ratio: 1;
    object-fit: cover;
    pointer-events: all;
}

.treatment-details-title {
    position: absolute;
}

.blocked {
    pointer-events: none;
}

.treatment-card-info {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    min-width: fit-content;
    padding: 4rem 1.25rem;
    background-color: #3a1f10a1;
    backdrop-filter: blur(5px);
    scroll-snap-align: center;
    scroll-behavior: smooth;
}

.type_summary {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    min-width: fit-content;
    padding: 4rem 1.25rem;
    background-color: #3a1f10a1;
    backdrop-filter: blur(5px);
    position: absolute;
    display: block;
}

.treatment-card-info.active,
.type_summary.active {
    display: block;
}

.treatment-card-info .section-para,
.type_summary .section-para {
    width: 100%;
    height: 100%;
    align-self: center;
    font-family: var(--font-secondary);
    color: var(--color-bg-prim);
    font-size: 1.1rem;
    letter-spacing: 1px;
    overflow-y: scroll;
    text-shadow: 1px 1px 5px rgba(38, 31, 29, 0.8);
    margin-top: 2rem;
}

.section-para-list {
    font-size: 1rem;
    font-family: var(--font-secondary);
    padding: 1rem;
    text-shadow: 1px 1px 5px rgba(38, 31, 29, 0.8);

}

.treatment-details-menu {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #f0e9e0;
}

.details-menu-list {
    width: 100%;
    height: 100%;
}

.details-list-item {
    display: flex;
    width: 100%;
    padding: 1rem 1rem;
    border-bottom: 1px black solid;
    align-items: center;
    justify-content: start;
}

.details-list-item h4 {
    font-family: poppins;
    font-size: clamp(.9rem, 0.5vw + 0.25rem, 1.25rem);

    font-weight: 300;

    color: var(--color-bg-secondary);
    transition: transform 0.3s cubic-bezier(0.2, .9, 0.1, .5);

}

.details-list-item.active,
.details-list-item:hover {

    background-color: rgb(40, 35, 34);
}

.details-list-item.active h4,
.details-list-item:hover h4 {
    cursor: pointer;
    transform: translateX(-5px);
    color: var(--color-bg-prim);
}

.container-treatment-subCat {
    width: 100%;
    height: 100%;
}

.container-treatment-subCat {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.container-treatment-subCat.active {
    display: flex;

}

#section-treatment-quote {
    height: fit-content;
    background-color: #f0e9e0;

    padding: clamp(2rem, 10vw, 7rem) 2rem;
}

#section-treatment-quote .section-title {
    width: 100%;
    max-width: none;
    text-align: center;
}

@media screen and (min-width:720px) {
    #section-treaments-banner {
        width: 100%;
        height: clamp(500px, 60vh, 700vh);

    }

    #section-treaments-banner .col {
        max-width: none;
        max-height: fit-content;
    }

    #section-treaments-banner .row {
        max-height: fit-content;
    }

    #section-treaments-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #section-treaments-banner .section-title {
        width: 100%;
        height: 100%;
        width: fit-content;
        max-width: 11000px;
        top: 50%;
        left: 40%;
        transform: translate(0);
        transform: translateY(-50%);
        font-size: clamp(2.75rem, .75vw + 2rem, 8rem);

        text-align: left;
    }

    .card-treatment-category {
        width: 100%;
        min-width: unset;
        aspect-ratio: 1;
        display: flex;
        flex-direction: column;
        scroll-snap-align: start;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    }

    #section-treatment-category .col {
        flex-direction: column;
        max-width: none;

    }

    .treatment-card-info .section-para {
        font-size: 1rem;
        margin-top: 1.5rem;
    }

    #section-treatment-category {
        padding: clamp(1.25rem, 7dvh, 5rem);
    }

    #section-treatment-category .row {
        width: 100%;
        max-width: 650px;
    }

    .container_category-container {
        max-height: 30rem;
        padding: 0 2rem;
    }

    .btn-card-info-close {
        all: unset;
        position: absolute;
        display: none;
        left: -3rem;
        top: .5rem;
        width: 1.75rem;
        height: 1.75rem;

        transition: transform 0.2s ease-out;
        z-index: 2;
    }
}

@media screen and (min-width:920px) {
    .container-treatment-details {
        flex-direction: row;
    }

    #section-treatments-details .col {
        margin: auto;
    }

    #section-treaments-banner .section-title {
        max-width: 32ch;
    }

    .treatment-card-info {
        padding: 3.5rem 1.5rem;
    }

    .treatment-card-info .section-para {
        width: 100%;
        height: 100%;
    }

    #section-treatment-category .col {
        flex-direction: row;
        max-width: 1050px;
        align-items: center;
        justify-content: center;
    }

    #section-treatment-category .row {
        justify-content: start;
        align-items: start;
        width: 50%;
    }

    .container_category-row .btn_bookNow {
        margin: 1.25rem 1.75rem;
    }

    .container_category-row .btn_bookNow .button {
        font-size: 1rem;
    }

}

@media screen and (min-width:1500px) {
    #section-treaments-banner {
        width: 100%;
        height: clamp(700px, 70svh, 750vh);

    }

    #section-treaments-banner .section-title {
        max-width: 42ch;
        left: 60%;
        top: 50%;
    }

    .container-treatment-category {
        max-width: 1500px;
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    }

    .container-treatment-category {
        width: 100%;
        mask-image: none;
    }

    .card-treatment-category {
        max-width: 300px;
    }

    .treatment-details-title {
        width: 90%;
        font-size: 1.75rem;
    }

    #section-treatment-category .col {
        max-width: 1450px;
    }

    .treatment-card-info .section-para {
        margin-top: 3rem;
    }

    #section-treatment-category .col {
        flex-direction: row;
    }

}

@media screen and (min-width:2000px) {

    .treatment-card-info .section-para {
        font-size: 1.25rem;
    }

    .container-treatment-info-img-button {
        max-width: 40rem;
        max-height: 40rem;
    }
}

@media screen and (min-width:3840px) {
    #section-treatment-category .col {
        width: 100%;
        max-width: 1500px;
    }
}

/* ===========================
   Hover-only styles (pointer devices)
   =========================== */
@media (hover: hover) {

    .btn_arrow:hover {
        opacity: .5;
        cursor: pointer;
    }

    .btn_arrow.arrow-left:hover {
        cursor: pointer;
    }

    .category-list-item:hover {
        cursor: pointer;
    }

    .container-treatment-info-img-button:hover {
        cursor: pointer;
        filter: sepia(0) brightness(1);
        box-shadow: 1px 1px 20px #3a1f10a1;
    }

    .btn-card-info-close:hover {
        cursor: pointer;
        transform: scale(1.2);
    }

    .btn-card-info:hover {
        cursor: pointer;
        color: var(--color-bg-secondary);
        background-color: var(--color-bg-prim);
    }

    .btn-card-info:hover:after {
        width: 100%;
        opacity: .5;
        color: var(--color-bg-secondary);
    }

    .details-list-item:hover {
        background-color: rgb(40, 35, 34);
    }

    .details-list-item:hover h4 {
        cursor: pointer;
        transform: translateX(-5px);
        color: var(--color-bg-prim);
    }
}