﻿/* =========================================================
   PAGE
========================================================= */

.service-detail-page {
    min-height: 100vh;
    padding: 1.25rem 1.25rem 5rem;
}

.service-detail-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


.booking-topbar {
    width: 100%;
}


/* =========================================================
   SERVICE INTRO
========================================================= */

.service-detail-header {
    width: min(100%, 720px);
    margin: 4.5rem auto 3rem;
    text-align: center;
}

.service-detail-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-eyebrow {
    display: inline-block;
    margin-bottom: .85rem;
    color: var(--color-accent);
    font-size: .67rem;
    font-weight: 750;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
}

.service-detail-header h1 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(2.45rem, 5vw, 3.65rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: .95;
}

.service-detail-header p {
    margin: .8rem 0 0;
    color: var(--color-text-soft);
    font-size: 1rem;
    line-height: 1.5;
}


.service-experience {
    width: min(100%, 680px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px 280px;
    gap: 2rem;
    align-items: center;
}

.service-summary {
    width: 280px;
    margin: 0;
}

/* =========================================================
   SUMMARY CARD
========================================================= */

.service-summary-card {
    padding: 1.35rem 1.4rem;
    background: var(--color-surface);
    border: 1px solid rgba(23, 22, 20, .085);
    border-radius: 13px;
    box-shadow: 0 9px 28px rgba(23, 22, 20, .035);
}


/* =========================================================
   SUMMARY INTRO
========================================================= */

.service-summary-intro {
    text-align: left;
}

.summary-eyebrow {
    display: block;
    margin-bottom: .45rem;
    color: var(--color-accent);
    font-size: .62rem;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.service-summary-card h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.22rem;
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.service-summary-description {
    margin: .45rem 0 1.2rem;
    color: var(--color-text-soft);
    font-size: .88rem;
    line-height: 1.5;
}


/* =========================================================
   SERVICE DETAILS
========================================================= */

.service-summary-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}


.summary-detail {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    padding: .8rem 0;
}


    .summary-detail + .summary-detail {
        border-left: 1px solid var(--color-border);
        padding-left: 1rem;
    }


    .summary-detail > i {
        width: 31px;
        height: 31px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: var(--color-accent);
        font-size: .8rem;
        background: rgba(209, 173, 120, .075);
        border-radius: 50%;
    }


    .summary-detail div {
        display: flex;
        flex-direction: column;
        gap: .06rem;
    }


    .summary-detail span {
        color: var(--color-text-soft);
        font-size: .64rem;
        line-height: 1.2;
    }


    .summary-detail strong {
        color: var(--color-primary);
        font-size: .9rem;
        font-weight: 700;
        line-height: 1.2;
    }


/* =========================================================
   CTA
========================================================= */

.service-continue {
    width: 100%;
    min-height: 49px;
    margin-top: 1.15rem;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    color: #fff;
    background: var(--color-primary);
    border: 0;
    border-radius: 9px;
    text-decoration:none;
    font-size: .87rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}


    .service-continue:hover {
        box-shadow: 0 7px 18px rgba(23, 22, 20, .11);
    }


    .service-continue i {
        font-size: .76rem;
        transition: transform .2s ease;
    }


    .service-continue:hover i {
        transform: translateX(2px);
    }


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .service-detail-header {
        margin-top: 5rem;
        margin-bottom: 3.25rem;
    }

    .service-experience {
        width: 680px;
        grid-template-columns: 360px 280px;
        gap: 2rem;
    }


    .service-gallery {
        width: 360px;
    }

    .service-gallery-image {
        flex-basis: 285px;
        width: 285px;
        height: 350px;
    }


    .service-summary {
        width: 280px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .service-detail-header {
        margin-top: 3.75rem;
        margin-bottom: 2.75rem;
    }

    .service-experience {
        width: min(100%, 650px);
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 1.5rem;
    }


    .service-gallery {
        width: 100%;
    }


    .service-image-track {
        gap: .8rem;
        padding-left: 37.5px;
        padding-right: 37.5px;
    }
    .service-gallery-image {
        flex-basis: 285px;
        width: 285px;
        height: 350px;
    }


    .service-summary {
        width: 280px;
    }
}


/* =========================================================
   COMPACT TABLET
========================================================= */

@media (max-width: 760px) {

    .service-detail-header {
        margin-top: 3rem;
        margin-bottom: 2.15rem;
    }


    .service-experience {
        width: min(100%, 620px);
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }


    .service-gallery {
        width: 100%;
    }


    .service-image-track {
        gap: .7rem;
        padding-left: 37.5px;
        padding-right: 37.5px;
    }

    .service-gallery-image {
        flex-basis: 285px;
        width: 285px;
        height: 350px;
        border-radius: 12px;
    }


    .service-summary {
        width: min(100%, 560px);
        margin: 0 auto;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .service-detail-page {
        padding: 1rem .9rem 3.5rem;
    }


    /* -----------------------------------------
       INTRO
    ----------------------------------------- */

    .service-detail-header {
        width: min(100%, 500px);
        margin: 2.35rem auto 1.8rem;
    }


    .service-eyebrow {
        margin-bottom: .7rem;
        font-size: .61rem;
        letter-spacing: .14em;
    }


    .service-detail-header h1 {
        font-size: 2.15rem;
        letter-spacing: -.055em;
    }


    .service-detail-header p {
        margin-top: .6rem;
        font-size: .93rem;
    }


    /* -----------------------------------------
       EXPERIENCE
    ----------------------------------------- */

    .service-experience {
        width: 100%;
    }


    .service-image-scroller {
        width: calc(100% + .9rem);
        margin-left: -.45rem;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: .5rem;
    }


    .service-image-track {
        gap: .65rem;
        padding-left: .45rem;
        padding-right: .45rem;
    }


    .service-gallery-image {
        flex-basis: 285px;
        width: 285px;
        height: 350px;
        border-radius: 11px;
    }


    /* -----------------------------------------
       SUMMARY
    ----------------------------------------- */

    .service-summary {
        width: 100%;
        margin-top: 0;
    }


    .service-summary-card {
        padding: 1.2rem;
    }


    .service-summary-description {
        margin-bottom: 1.1rem;
    }


    /* -----------------------------------------
       CTA
    ----------------------------------------- */

    .service-continue {
        min-height: 48px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .service-detail-header {
        margin-top: 2rem;
    }


        .service-detail-header h1 {
            font-size: 1.95rem;
        }


    /*
       STILL DON'T SHRINK THE IMAGE.

       285 × 350
    */

    .service-gallery-image {
        flex-basis: 285px;
        width: 285px;
        height: 350px;
    }


    .service-image-track {
        padding-left: .45rem;
        padding-right: .45rem;
    }


    .service-summary-card {
        padding: 1.1rem;
    }


    .summary-detail {
        gap: .55rem;
    }


        .summary-detail > i {
            width: 29px;
            height: 29px;
            font-size: .75rem;
        }


        .summary-detail + .summary-detail {
            padding-left: .75rem;
        }
}



/* =========================================================
   LIGHTBOX ROOT
========================================================= */

.service-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}


    /* =========================================================
   OPEN STATE
========================================================= */

    .service-lightbox.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }


/* =========================================================
   BACKDROP
========================================================= */

.service-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 14, 13, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* =========================================================
   LIGHTBOX CONTENT
========================================================= */

.service-lightbox-content {
    position: relative;
    z-index: 1;
    width: min(100%, 1180px);
    height: min(100%, 900px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}


/* =========================================================
   MAIN IMAGE AREA
========================================================= */

.service-lightbox-main {
    width: 100%;
    height: min(72vh, 730px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
    .service-lightbox-main img {
        display: block;
        height: min(700px, 72vh);
        width: auto;
        max-width: calc(100vw - 160px);
        aspect-ratio: 285 / 350;
        object-fit: cover;
        object-position: center;
        border-radius: 13px;
        box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
        user-select: none;
        -webkit-user-drag: none;
        pointer-events: auto;
        animation: serviceLightboxImageIn .28s ease;
    }

/* =========================================================
   IMAGE ENTRANCE
========================================================= */

@keyframes serviceLightboxImageIn {

    from {
        opacity: 0;
        transform: scale(.985);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.service-lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    font-size: .9rem;
    cursor: pointer;
    pointer-events: auto;
    transition: background .2s ease, transform .2s ease, color .2s ease;
}


    .service-lightbox-close:hover {
        color: #fff;
        background: rgba(255, 255, 255, .14);
        transform: rotate(3deg);
    }


/* =========================================================
   NAVIGATION BUTTONS
========================================================= */

.service-lightbox-nav {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    font-size: .8rem;
    cursor: pointer;
    pointer-events: auto;
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease, color .2s ease;
}


    .service-lightbox-nav:hover {
        color: #fff;
        background: rgba(255, 255, 255, .14);
    }


/* =========================================================
   PREVIOUS
========================================================= */

.service-lightbox-prev {
    left: 0;
}


/* =========================================================
   NEXT
========================================================= */

.service-lightbox-next {
    right: 0;
}


/* =========================================================
   NAVIGATION HOVER MOVEMENT
========================================================= */

.service-lightbox-prev:hover {
    transform: translate(-2px, -50%);
}


.service-lightbox-next:hover {
    transform: translate(2px, -50%);
}


/* =========================================================
   THUMBNAIL CAROUSEL
========================================================= */

.service-lightbox-thumbnails {
    width: min(100%, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin-top: 1rem;
    padding: .45rem;
    overflow-x: auto;
    scrollbar-width: none;
    pointer-events: auto;
}


    .service-lightbox-thumbnails::-webkit-scrollbar {
        display: none;
    }


/* =========================================================
   THUMBNAIL
========================================================= */

.service-lightbox-thumb {
    position: relative;
    flex: 0 0 52px;
    width: 52px;
    height: 62px;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 7px;
    opacity: .48;
    cursor: pointer;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}


    .service-lightbox-thumb:hover {
        opacity: .78;
    }


    .service-lightbox-thumb.is-active {
        opacity: 1;
        border-color: rgba(255, 255, 255, .9);
        transform: translateY(-1px);
    }


    .service-lightbox-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
    }


/* =========================================================
   COUNTER
========================================================= */

.service-lightbox-counter {
    margin-top: .45rem;
    color: rgba(255, 255, 255, .58);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .08em;
    pointer-events: none;
}


/* =========================================================
   BODY LOCK
========================================================= */

body.service-lightbox-open {
    overflow: hidden;
}


/* =========================================================
   TABLET LIGHTBOX
========================================================= */

@media (max-width: 900px) {

    .service-lightbox {
        padding: 1.5rem;
    }


    .service-lightbox-content {
        width: 100%;
        height: 100%;
    }


    .service-lightbox-main {
        height: min(70vh, 680px);
    }
        .service-lightbox-main img {
            height: min(600px, 68vh);
            width: auto;

            max-width: calc(100vw - 130px);
            aspect-ratio: 285 / 350;
            object-fit: cover;
            object-position: center;
            border-radius: 12px;
        }


    .service-lightbox-prev {
        left: .25rem;
    }


    .service-lightbox-next {
        right: .25rem;
    }
}


/* =========================================================
   MOBILE LIGHTBOX
========================================================= */
.service-total {
    gap: .75rem;
    padding-top: 1rem;
}


.service-total-item strong {
    font-size: 1.08rem;
}


.service-total-price strong {
    font-size: 1.3rem;
}
@media (max-width: 600px) {

    .service-lightbox {
        padding: 1rem;
    }


    .service-lightbox-content {
        width: 100%;
        height: 100%;
    }


    .service-lightbox-main {
        width: 100%;
        height: calc(100vh - 150px);
    }
        .service-lightbox-main img {
            height: min(500px, 60vh);
            width: auto;
            max-width: calc(100vw - 70px);
            aspect-ratio: 285 / 350;
            object-fit: cover;
            object-position: center;
            border-radius: 11px;
        }


    /* -----------------------------------------
       CLOSE
    ----------------------------------------- */

    .service-lightbox-close {
        top: .15rem;
        right: .15rem;
        width: 39px;
        height: 39px;
    }


    /* -----------------------------------------
       NAVIGATION
    ----------------------------------------- */

    .service-lightbox-nav {
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, .06);
    }


    .service-lightbox-prev {
        left: .15rem;
    }


    .service-lightbox-next {
        right: .15rem;
    }


    /* -----------------------------------------
       THUMBNAILS
    ----------------------------------------- */

    .service-lightbox-thumbnails {
        width: calc(100% - 4rem);
        justify-content: flex-start;
        margin-top: .7rem;
        gap: .45rem;
    }


    .service-lightbox-thumb {
        flex-basis: 48px;
        width: 48px;
        height: 57px;
    }


    /* -----------------------------------------
       COUNTER
    ----------------------------------------- */

    .service-lightbox-counter {
        margin-top: .35rem;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .service-lightbox-main img {
        height: min(450px, 55vh);
        width: auto;
        max-width: calc(100vw - 64px);
        aspect-ratio: 285 / 350;
        object-fit: cover;
        object-position: center;
        border-radius: 10px;
    }


    .service-lightbox-nav {
        width: 35px;
        height: 35px;
        font-size: .7rem;
    }


    .service-lightbox-thumb {
        flex-basis: 44px;
        width: 44px;
        height: 53px;
    }
}




/* =========================================================
   OPTIONAL EXTRAS
========================================================= */

.service-add-ons {
    margin-top: 1.15rem;
}

.service-add-ons-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .65rem;
}

    .service-add-ons-header .summary-eyebrow {
        margin: 0;
    }

.service-add-ons-note {
    color: var(--color-text-soft);
    font-size: .62rem;
}


/* =========================================================
   EXTRA OPTION
========================================================= */

.service-add-on {
    position: relative;
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 53px;
    padding: .65rem .7rem;
    margin-top: .45rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 9px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

    .service-add-on:hover {
        background: rgba(23, 22, 20, .025);
    }


/* =========================================================
   HIDE NATIVE CHECKBOX
========================================================= */

.service-add-on-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}


/* =========================================================
   CUSTOM CHECK
========================================================= */

.service-add-on-check {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    border: 1px solid rgba(23, 22, 20, .2);
    border-radius: 6px;
    font-size: .62rem;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}


/* =========================================================
   SELECTED EXTRA
========================================================= */

.service-add-on:has(.service-add-on-input:checked) {
    background: rgba(209, 173, 120, .055);
    border-color: var(--color-accent);
}

.service-add-on-input:checked + .service-add-on-check {
    color: #fff;
    background: var(--color-accent);
    border-color: var(--color-accent);
}


/* =========================================================
   EXTRA TEXT
========================================================= */

.service-add-on-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .08rem;
}

    .service-add-on-info strong {
        color: var(--color-primary);
        font-size: .78rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .service-add-on-info small {
        color: var(--color-text-soft);
        font-size: .6rem;
        line-height: 1.2;
    }


/* =========================================================
   EXTRA PRICE
========================================================= */

.service-add-on-price {
    flex-shrink: 0;
    color: var(--color-primary);
    font-size: .72rem;
    font-weight: 700;
}


/* =========================================================
   TOTAL
========================================================= */

/* =========================================================
   FINAL TOTAL
========================================================= */

.service-total {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .9rem;
    margin-top: 1.15rem;
    padding: 1rem 0 .15rem;
    border-top: 1px solid var(--color-border);
}


.service-total-item {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 0;
}


.service-total-label {
    color: var(--color-text-soft);
    font-size: .62rem;
    font-weight: 650;
    letter-spacing: .04em;
    line-height: 1.2;
}


.service-total-item strong {
    color: var(--color-primary);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
}


/* =========================================================
   FINAL TOTAL PRICE
========================================================= */

.service-total-price {
    align-items: flex-end;
    text-align: right;
}


    .service-total-price strong {
        font-size: 1.35rem;
    }


/* =========================================================
   DIVIDER
========================================================= */

.service-total-divider {
    width: 1px;
    height: 34px;
    background: var(--color-border);
}



@media (max-width: 600px){
    .service-total {
        gap: .75rem;
        padding-top: 1rem;
    }


    .service-total-item strong {
        font-size: 1.08rem;
    }


    .service-total-price strong {
        font-size: 1.3rem;
    }
}