/*--------------------------------------------------------------
# DesignOrio Category Gallery
--------------------------------------------------------------*/

.designorio-category-gallery {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    align-items: start;
}


/*--------------------------------------------------------------
# Thumbnails
--------------------------------------------------------------*/

.dcs-gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dcs-gallery-thumb {
    display: block;
    width: 100%;
    height: 95px;
    padding: 0;
    margin: 0;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all .25s ease;
}

.dcs-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Active thumbnail */

.dcs-gallery-thumb.active {
    border-color: #111;
}


/* Hover */

.dcs-gallery-thumb:hover {
    border-color: #111;
}


/*--------------------------------------------------------------
# Main Image
--------------------------------------------------------------*/

.dcs-gallery-main {
    width: 100%;
    background: #fff;
    overflow: hidden;
}

.dcs-main-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}


/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

@media (max-width: 767px) {

    .designorio-category-gallery {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 10px;
    }

    .dcs-gallery-thumb {
        height: 65px;
    }

}