/* title */
.acessories-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px dashed #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 30px;

    & .acessories-title__toggle {
        transition: all .5s;
    }

    &.active .acessories-title__toggle {
        transform: rotateZ(180deg);
    }
}

/* cards */
.small-card__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 30px;
    /* height: 300px; */
    height: auto;
    gap: 20px;
    transition: .5s;

    &.hidden {
        height: 0px;
        padding: 0px;
        overflow: hidden;
    }
}

.content-card-product__price {margin-top: initial !important;}

.offer-item {
    display: flex;
    flex-direction: column;
    text-align: start;
    border-color: #f6cc2f;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: .5s;
    /* transition: border-color 1.45s; */

    &.active {
        border: 2px solid #f6cc2f !important;
        /* transition: .10s; */
    }

    &:hover {
        transform: translateY(-2px);
        transition: .15s;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
        border-color: #e0dcd4;
    }

    & .img-wrapper {
        display: block;
        border-radius: 8px;
        overflow: hidden;
        height: 180px;

        img {width: 160px;}
    }

    & .product-offer-title {
        padding: 10px 5px 0px;
        font-size: 14px;
        min-height: 50px;
    }

    & .price-container {
        display: flex;
        font-size: 18px;
        font-weight: 600;
        color: #7D8389;
        padding: 20px 5px 5px;
        gap: 15px;
    }
}


@media screen and (max-width: 1200px) {
    .small-card__wrapper {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .small-card__wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .small-card__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer-item {
        & .product-offer-title {
            font-size: 13px;
        }

        & .price-container {
            font-size: 15px;
        }

        & .img-wrapper {
            img {width: 100%;}
        }
    }
}