﻿.service-gallery {
    width: 360px;
    min-width: 0;
}


/* =========================================================
   HORIZONTAL IMAGE SCROLLER
========================================================= */

.service-image-scroller {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-top: .15rem;
    padding-bottom: .6rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    user-select: none;
    scroll-behavior: smooth;
}

    .service-image-scroller::-webkit-scrollbar {
        display: none;
    }


.service-image-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    gap: .8rem;
    padding-left: 37.5px;
    padding-right: 37.5px;
    box-sizing: border-box;
}

.service-gallery-image {
    position: relative;
    flex: 0 0 285px;
    width: 285px;
    height: 350px;
    margin: 0;
    padding: 0;
    background: #f3f1ed;
    overflow: hidden;
    border: 1px solid rgba(23, 22, 20, .065);
    border-radius: 13px;
    scroll-snap-align: start;
    box-shadow: 0 9px 26px rgba(23, 22, 20, .045);
}

    .service-gallery-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        background: #f3f1ed;
    }


/* =========================================
   ADD PHOTO TILE
========================================= */

.service-gallery-add {
    flex-shrink: 0;
}

.service-gallery-add-button {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: var(--color-text-soft);
    background: transparent;
    border: 2px dashed rgba(23,22,20,.14);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

    .service-gallery-add-button:hover {
        color: var(--color-primary);
        border-color: var(--color-accent);
        background: rgba(209,173,120,.05);
    }

    .service-gallery-add-button i {
        font-size: 1.8rem;
        color: var(--color-accent);
    }

    .service-gallery-add-button span {
        font-size: .9rem;
        font-weight: 600;
    }


.service-gallery-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
    font: inherit;
}

    .service-gallery-trigger img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform .45s cubic-bezier(.2, .8, .2, 1);
    }




    .service-gallery-trigger:hover img {
        transform: scale(1.012);
    }



    .service-gallery-trigger:focus-visible {
        outline: 2px solid var(--color-accent);
        outline-offset: -3px;
    }


