.container{
    margin-top: 15px;
    /*margin-top: 48px;*/
    display: flex;
    flex-direction: column;
    max-width: 1440px;
}

.container h2{
    margin-bottom: 15px;
    padding-left: 1rem;
}

.item-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 144rem;
    /*margin: 0 auto;*/
    /*padding: 1rem;*/
}

.item {
    width: calc((100% - 5rem) / 4); /* 4 items per row */
    box-sizing: border-box;
    border: 1px solid #DADDDE;
    border-radius: 20px;
    box-shadow: 0 0 15px #0000001a;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.item-content{
    display: flex;
    flex-direction: column;
}

.item img {
    max-width: 200px;
    /*height: auto;*/
    /*margin: 50px auto 1rem;*/
    margin: 10px auto 1rem;
}

.item img {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth transition */
}

.item:hover img {
    transform: scale(1.1);
    cursor: pointer;
}

.item:hover {
    cursor: pointer;
}

.title {
    font-style: normal;
    font-weight: 700;
    font-size: 2rem;
    /*font-size: 2.4rem;*/
    line-height: 150%;
    text-align: center;
    color: #000;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    /*justify-content: flex-end;*/
    /*height: 7.2rem;*/

    margin-top: 1rem;
    margin-bottom: 1rem;
}




.price-container {
    display: none;
}

.price-container-freeshipping {
    display: none;
}

.price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0.5rem;
    align-items: center;
    width: auto;
}

.previous-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.previous-price-value {
    font-size: 1.8rem;
    line-height: 2.2rem;
    font-style: normal;
    font-weight: 500;
    text-decoration-line: line-through;
    color: #707a80;
    white-space: nowrap;
}

.previous-price-you-save {
    position: relative;
    background: #f05a23;
    padding: 0.4rem;
    margin-left: 0.8rem;
    border-radius: 0.6rem 0 0 0.6rem;
    margin-right: 1.8rem;
}
.previous-price-you-save:after,
.previous-price-you-save:before {
    content: "";
    position: absolute;
    right: -1.75rem;
    width: 0;
    height: 0;
}
.previous-price-you-save:after {
    top: 0;
    border-top: 2.8rem solid #f05a23;
    border-right: 1.8rem solid transparent;
}
.previous-price-you-save:before {
    bottom: 0;
    border-bottom: 2.8rem solid #f05a23;
    border-right: 1.8rem solid transparent;
}
.previous-price-you-save span{
    font-style: normal;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2rem;
    color: #fff;
    white-space: nowrap;
}

.current-price{
    font-size: 3rem;
    /*font-size: 4rem;*/
    line-height: 2rem;
    /*line-height: 4.9rem;*/
    font-style: normal;
    font-weight: 700;
    text-align: center;
    color: #000;
    white-space: nowrap;

    margin-top: 5px;
}

.current-price span{
    font-size: 1.6rem;
    line-height: 2rem;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*margin-top: 2.4rem;*/
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    /*margin-bottom: 25px;*/
}

@media screen and (max-width: 995px) {
    .item {
        width: calc((100% - 2rem) / 2); /* 2 items per row */
    }
}

@media screen and (max-width: 581px) {
    .item {
        /*width: calc(100% - 2rem); !* 1 item per row *!*/
        width: 100%;
        margin: 10px 15px;
    }
}

@media screen and (min-width: 992px) {
    .title {
        height: 6rem;
        justify-content: center;
    }

    .current-price{
        margin: 10px auto;
    }

    .item img {
        max-width: 240px;
        /*height: auto;*/
        /*margin: 50px auto 1rem;*/
        /*margin: 10px auto 1rem;*/
    }
}

@media screen and (min-width: 1200px) {
    .item img {
        margin: 20px auto;
    }
}

@media screen and (min-width: 1400px) {
    .title {
        font-size: 2.4rem;
    }

    .current-price{
        font-size: 4rem;
        margin: 10px auto;
    }
}