/* Отдельный файл, созданный и подключенный 10.08.2022 */
/* Отзывы на главной перед подвалом */
.tstm__image {
    width: 150px;
    height: 100px;
    padding: 0 25px;
}

.tstm__image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #C18918;
    object-fit: cover;
    object-position: center;
}

.tstm__info {
    margin-top: 15px;
}

.tstm__name {
    font-size: 2rem;
    font-weight: bold;
}

.tstm__date {
    font-size: 1.4rem;
    font-style: italic;
}

.tstm__description {
    font-size: 1.6rem;
}



/* Эффект при наведении на картинки на главной */
.homepage table p:not(:first-child) > a {
    display: block;
    position: relative;
}
.homepage table p:not(:first-child) > a:after {
    content: "➕";
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 6rem;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
    z-index: 1;
}
.homepage table p > a:hover:after {
    visibility: visible;
    opacity: 1;
}


/*Для проверки на спам*/
input[type=text].copyemail {
	display: block;
	width: 2px;
	height: 2px;
	margin-bottom: -2px;
	border: none;
	padding: 0;
	opacity: 0.01;
}



/* Ограничение для встраиваемых видеороликов */
div.content iframe {
    max-width: 100%;
}



/* Фикс картинок в каталоге на мобильных */
.items .image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
}



/* Новый слайдер товаров на главной */
.arrows-slider {
    position: relative;
}
.swiper {
    position: relative;
    margin-left: -15px;
    margin-right: -15px;
}
.swiper .swiper-slide {
    padding-left: 15px;
    padding-right: 15px;
}
.swiper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 100%;
    background-color: #fff;
    z-index: 9;
}
.swiper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 100%;
    background-color: #fff;
    z-index: 9;
}
.arrows-slider .swiper-button-prev {
    left: -48px;
    color: #ADADAD;
    user-select: none;
}
.arrows-slider .swiper-button-next {
    right: -48px;
    color: #ADADAD;
    user-select: none;
}

@media (max-width: 767px) {
    .arrows-slider .swiper-button-prev {
        left: -13px;
    }
    .arrows-slider .swiper-button-next {
        right: -13px;
    }
}



/* Новый слайдер отзывов на главной */
@media (max-width: 992px) {
    .tstm__image img {
        height: 100% !important;
    }
}



/* Доработка фотогралегеи после починки обрезки */
.photogallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
}