/*
 * Premium Ecológica
 * R3.2 - Slider e espécies administráveis
 */


/* =========================================================
   SLIDER
========================================================= */

.premium-home-r3 > .premium-r32-slider {
    position: relative;

    width: min(1600px, calc(100vw - 20px)) !important;

    margin: 20px auto 0 !important;

    aspect-ratio: 1916 / 821;

    overflow: hidden;

    border-radius: 22px;

    background: #eef4f0;

    box-shadow:
        0 18px 46px rgba(5,58,42,.12);
}

.premium-r32-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.premium-r32-slide > a,
.premium-r32-slide picture {
    display: block;

    width: 100%;
    height: 100%;
}

.premium-r32-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    margin: 0;
}

.premium-r32-arrow {
    position: absolute;
    z-index: 10;

    top: 50%;

    width: 46px;
    height: 58px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0,0,0,.08);
    border-radius: 13px;

    background: rgba(255,255,255,.94);
    color: #07543d;

    font-size: 35px;
    line-height: 1;

    transform: translateY(-50%);

    box-shadow:
        0 6px 20px rgba(0,0,0,.13);

    cursor: pointer;
}

.premium-r32-arrow:hover {
    background: white;
}

.premium-r32-arrow--prev {
    left: 15px;
}

.premium-r32-arrow--next {
    right: 15px;
}

.premium-r32-dots {
    position: absolute;
    z-index: 10;

    left: 50%;
    bottom: 17px;

    display: flex;
    gap: 7px;

    padding: 7px 10px;

    border-radius: 999px;

    background: rgba(0,48,34,.5);

    transform: translateX(-50%);
}

.premium-r32-dots button {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background: rgba(255,255,255,.62);

    transition:
        width .2s ease,
        background .2s ease;
}

.premium-r32-dots button.is-active {
    width: 29px;

    background: #ffc625;
}


/* =========================================================
   SPECIES
========================================================= */

.premium-home-r3 > .premium-r32-species {
    padding-top: 62px;
    padding-bottom: 26px;
}

.premium-r32-species-grid {
    margin-top: 30px;

    display: grid;
    grid-template-columns:
        repeat(10, minmax(0,1fr));

    gap: 11px;
}

.premium-r32-species-card {
    min-width: 0;
    min-height: 164px;

    padding: 13px 9px 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid #d9e8e0;
    border-radius: 17px;

    background: white;

    color: #073c30 !important;

    box-shadow:
        0 8px 25px rgba(4,69,48,.055);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.premium-r32-species-card:hover {
    transform: translateY(-5px);

    border-color: #9bcab3;

    box-shadow:
        0 17px 38px rgba(4,69,48,.12);
}

.premium-r32-species-image {
    width: 108px;
    height: 108px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #ffffff 0%,
            #eff8f3 72%,
            #e3f1e9 100%
        );
}

.premium-r32-species-image img {
    width: 96%;
    height: 96%;

    object-fit: contain;
    object-position: center bottom;

    margin: 0;
}

.premium-r32-species-card strong {
    margin-top: 8px;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;

    text-align: center;
}


/* R3.1 temporary SVG cards are no longer used */

.premium-r31-species {
    display: none !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .premium-r32-species-grid {
        grid-template-columns:
            repeat(5, minmax(0,1fr));
    }
}


@media (max-width: 700px) {

    .premium-home-r3 > .premium-r32-slider {
        width: calc(100vw - 12px) !important;

        margin-top: 8px !important;

        border-radius: 14px;
    }

    .premium-r32-arrow {
        width: 36px;
        height: 48px;

        font-size: 29px;
    }

    .premium-r32-arrow--prev {
        left: 7px;
    }

    .premium-r32-arrow--next {
        right: 7px;
    }

    .premium-r32-dots {
        bottom: 8px;
    }

    .premium-r32-species-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap: 10px;
    }

    .premium-r32-species-card {
        min-height: 155px;
    }

    .premium-r32-species-image {
        width: 100px;
        height: 100px;
    }
}
