/* cactus_home_rdpd — random product grid (home) */



.cactus-home-rdpd .cactus-home-rdpd-item {

    min-height: 0;

}



.cactus-home-rdpd .cactus-home-rdpd-block {

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    aspect-ratio: 1 / 1;

    width: 100%;

    min-height: 0;

    padding: 1.25rem;

    border-radius: 0.5rem;

    overflow: hidden;

}



.cactus-home-rdpd .cactus-home-rdpd-media {

    position: absolute;

    inset: 0;

    z-index: 0;

}



.cactus-home-rdpd .cactus-home-rdpd-bg {

    position: absolute;

    inset: 0;

    background-size: cover;

    background-repeat: no-repeat;

    transform: scale(1);

    transition: transform 0.5s ease;

    will-change: transform;

}



.cactus-home-rdpd .cactus-home-rdpd-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.43);

    opacity: 1;

    transition: opacity 0.45s ease;

    pointer-events: none;

}



.cactus-home-rdpd .cactus-home-rdpd-item:hover .cactus-home-rdpd-bg,

.cactus-home-rdpd .cactus-home-rdpd-item:focus-within .cactus-home-rdpd-bg {

    transform: scale(1.05);

}



.cactus-home-rdpd .cactus-home-rdpd-item:hover .cactus-home-rdpd-overlay,

.cactus-home-rdpd .cactus-home-rdpd-item:focus-within .cactus-home-rdpd-overlay {

    opacity: 0.72;

}



.cactus-home-rdpd .cactus-home-rdpd-content {

    position: relative;

    z-index: 1;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    height: 100%;

}



.cactus-home-rdpd .cactus-home-rdpd-heading {

    margin-bottom: 0.75rem;

}



.cactus-home-rdpd .sc-banner-plus-title.cactus-home-rdpd-title,

.cactus-home-rdpd .cactus-home-rdpd-attr {

    color: #fff !important;

    text-align: left;

}



.cactus-home-rdpd .cactus-home-rdpd-title {

    margin-bottom: 0.35rem;

    line-height: 1.25;

}



@media screen and (max-width: 1400px) {

    .cactus-home-rdpd .cactus-home-rdpd-title {

        font-size: 16px;

    }

}



.cactus-home-rdpd .cactus-home-rdpd-attr {

    line-height: 1.3;

    opacity: 0.92;

}



.cactus-home-rdpd .cactus-home-rdpd-footer {

    margin-top: auto;

    width: 100%;

}



@media (prefers-reduced-motion: reduce) {

    .cactus-home-rdpd .cactus-home-rdpd-bg,

    .cactus-home-rdpd .cactus-home-rdpd-overlay {

        transition: none;

    }



    .cactus-home-rdpd .cactus-home-rdpd-item:hover .cactus-home-rdpd-bg,

    .cactus-home-rdpd .cactus-home-rdpd-item:focus-within .cactus-home-rdpd-bg {

        transform: none;

    }

}


