
/* ===================================
   AVANOKI — INDEX OBJECTS SECTION
=================================== */

/* IMAGE GALLERY */

.objects-home .objects-home-gallery {
 display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;

    width: 100% !important;
    max-width: 1000px !important;
    margin: 60px auto 0 !important;
    text-decoration: none;
    color: inherit;
}

/* EACH IMAGE CONTAINER */

.objects-home .objects-home-image {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;
    height: 420px !important;
    min-width: 0;
    overflow: hidden;
}

/* FRONT & BACK IMAGES */

.objects-home .objects-home-image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 420px !important;

    object-fit: contain !important;
    transition: transform .3s ease;
}

/* HOVER EFFECT */

.objects-home .objects-home-gallery:hover img {
    transform: scale(1.025);
}

/* PRODUCT CAPTION */

.objects-home .objects-home-caption {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;

    width: 100% !important;
    max-width: 1000px !important;
    margin: 10px auto 0 !important;

    font-size: 11px;
    letter-spacing: .04em;
    color: #fff;
}

/* TABLET */

@media (max-width: 900px) {

    .objects-home .objects-home-gallery {
        gap: 20px !important;
        margin-top: 50px !important;
    }

    .objects-home .objects-home-image {
        height: 320px !important;
    }

    .objects-home .objects-home-image img {
        max-height: 320px !important;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .objects-home .objects-home-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        margin-top: 40px !important;
    }

    .objects-home .objects-home-image {
        height: 190px !important;
    }

    .objects-home .objects-home-image img {
        max-height: 190px !important;
    }

    .objects-home .objects-home-caption {
        gap: 15px;
        margin-top: 20px !important;
        font-size: 9px;
    }
}

/* DESKTOP — POSITION ADJUSTMENT */

@media (min-width: 901px) {

    .objects-home a.objects-home-gallery {
        transform: translate(-210px, -70px) !important;
    }

    .objects-home .objects-home-caption {
        transform: translateX(-120px) !important;
    }
}

/* PRODUCT NAME POSITION */

@media (min-width: 901px) {
    .objects-home .objects-home-caption span:first-child {
        position: relative;
        left: -80px;
     
    }
}
