.callmail {
    background-color: #F3F3F3 !important;
    padding: 8px 0 8px 65px !important;
}

h1 {
     margin: 15px 0 25px 0 !important;
    font-size: 27px;
    line-height: 1.1 !important;
}

/* ----- Блок с карточками товаров (#group) ----- */
#group {
 
    margin: 0;
    padding:0;
}

#group .datblock {
    padding:0;
    width: 100%;
    display: grid;
    /* адаптивная сетка: минимум 200px на карточку */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
 	place-items: center; 
}

 

 #prouction figure {     background: #fff;
    aspect-ratio: 1 / 1;
    width: 220px;
    border-radius: 20px;
    border: 2px solid #A8A8A8;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
 
}


 

#prouction figure img {
 	margin-top:15px;
    width: 100%;  
    height: auto;  
    display: block;  
 
}

#prouction figure figcaption {
	
    font-weight: 700;
    font-size: 14px;
    padding: 8px;
 
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

#prouction figure a {
	color:#403F45;
    text-decoration: none; 
    display: block; 
}
#offers {
    width: 280px;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#rev {
    width: 100%;
    margin: 30px 0;
    padding: 30px;
}

#rev .p3 {
    font-size: 28px;
    font-weight: 600;
    padding: 0 0 10px 0;
}

.datblock {
    position: relative;
}

/* область скрытия текста */
.text_hide_wrap {
    position: relative;
    overflow: hidden;
    max-height: 160px;
    transition: max-height 1.1s ease;
    padding-bottom: 50px;
}

.text_hide_wrap::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 110px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #F3F3F3);
    transition: opacity .3s ease;
}

.datblock.open .text_hide_wrap {
    max-height: 3000px;
}

.datblock.open .text_hide_wrap::after {
    opacity: 0;
}

.toggleReview {
    margin-top: 10px;
    cursor: pointer;
    padding: 12px;
    right: 0;
    bottom: 0;
    z-index: 3;
    background-color: #464A53;
    color: #ffffff;
    width: 180px;
    border-radius: 7px;
}

.datblock:not(.open) .item_text img {
    opacity: 0;
    display: none;
}

.datblock.open .item_text img {
    opacity: 1;
    display: block;
    transition: opacity .3s ease;
}

.item_text img {
    max-width: 40%;
    height: auto;
    float: left;
    margin: 6px 18px 10px 0;
    border-radius: 6px;
}

.item_text img.alignright {
    float: right;
    margin: 6px 0 10px 18px;
}

.item_text ul,
.item_text ol {
    display: flow-root;
}

.item_text em {
    font-style: normal;
}

/* ----- Swiper (товары в наличии) ----- */
.stockSwiper {
    width: 100%;
    height: 100%;
    padding: 0;
}

.stockSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F3F3;
    border-radius: 8px;
    box-sizing: border-box;
}

 
@media (max-width: 1180px) {
    #content {
        text-align: left;
        padding: 10px;
        padding-top: 25px;
    }

    #group .datblock {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
}

 
@media (max-width: 730px) {
    #group {
        flex-direction: column;
    }

    #group .datblock {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #offers {
        padding-top: 30px;
        width: 100%;
    }

    .stockSwiper .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        box-sizing: border-box;
    }
}

 
@media (max-width: 500px) {
    h1 {

        font-size: 16px !important;
        line-height: 1.1 !important;

    }

 #prouction figure {     background: #fff;
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 20px;
    border: 2px solid #A8A8A8;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
 
}


 

#prouction figure img {
 	margin-top:5px;
 
}

#prouction figure figcaption {
	
    font-weight: 600;
    font-size: 12px;
    padding: 8px;
 
    text-align: center;
    margin: 0;
    line-height: 1.2;
}
	
	
}

 
@media (max-width: 350px) {
    #group .datblock {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
 