.cs-produtos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    width: 100%;
}

.cs-produto {
    perspective: 1000px;
    width: 100%;
    height: 246px;
}

.cs-produto-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .7s ease;
    transform-style: preserve-3d;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .14);
}

.cs-produto:hover .cs-produto-inner {
    transform: rotateY(180deg);
}

.cs-front,
.cs-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
}

.cs-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cs-back {
    background: var(--cs-bg-color, #30aeb5);
    color: var(--cs-text-color, #fff);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 34px;
    text-align: center;
}

.cs-back p {
    color: var(--cs-text-color, #fff);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 600;
    max-width: 95%;
    margin: 0 0 22px;
}

.cs-back a {
    color: var(--cs-button-color, #fff) !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cs-number {
    position: absolute;
    right: 25px;
    bottom: 16px;
    font-size: 78px;
    line-height: 1;
    font-weight: 900;
    color: var(--cs-number-color, #ffffff);
    opacity: .25;
}

.cs-back h3 {
    color: var(--cs-title-color, #fff);
}

@media (max-width: 1024px) {
    .cs-produtos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .cs-produtos-grid {
        grid-template-columns: 1fr;
    }

    .cs-produto {
        height: 230px;
    }
}

@media (max-width: 480px) {
    .cs-produtos-grid {
        gap: 18px;
    }

    .cs-produto {
        height: auto;
        min-height: 230px;
        aspect-ratio: 1 / .72;
    }

    .cs-back {
        padding: 24px 18px;
    }

    .cs-back p {
        font-size: 14px;
        line-height: 1.55;
    }

    .cs-number {
        right: 16px;
        bottom: 12px;
        font-size: 56px;
    }
}
