  
.main-wrapper-shop a {
	color:#333;
}

#footer a{
	color:white;
}

.main-wrapper-shop a:hover {
	color:#878787;
}

  .button-black a {
  	max-width: 450px;
  	text-align: center;
  	width: 100%;
  	height: 60px;
  	border-radius: 4px;
  	background-color: #09090B;
  	display: flex;
  	-ms-align-items: center;
  	align-items: center;
  	justify-content: center;
  	font-size: 20px;
  	font-weight: 600;
  	color: #fff
  }

  .button-black a:hover {
  	transition: .2s ease;
  	background-color: #2b2b2b
  }
    
    .shop__card {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
 /*   height: 360px; */
}

.shop__card:hover {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.shopitem__card {
    text-decoration: none;
    color: #333;
    display: block;
    text-align: left;
}

.shopitem__image {
    display: block;
    width: 100%;
    height: 220px; /* Фиксированная высота для изображений */
    overflow: hidden;
    position: relative;
}

.shopitem__image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Обрезает изображение с сохранением пропорций */
}

.itemshop__name {
    display: block;
    font-size: 16px;
    color: #333;
    margin-top: 10px;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item__price {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-top: 5px;
    display:flex;
	height: 22px;
}

.item__price del{
	order:2;
	color:#A6AFB9;
	font-weight: 400;
}
.item__price ins{
	order:1;
	text-decoration: unset;
	margin-right: 0.5em;
}

/* Стили для метки "Хит продажу" */
.sale-label {
    background-color: #003366;
    color: #fff;
    padding: 5px 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
    border-radius: 3px;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    overflow: hidden;
    width: 100%;
    
}

.banner-content {
    max-width: 50%;
    position: absolute;
    padding: 20px;
    padding-left: 80px;
}

.banner-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff; /* Сделаем текст белым для лучшего контраста */
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 1rem;
    color: #fff; /* Сделаем текст белым для лучшего контраста */
    margin-bottom: 20px;
}

.banner-button a {
    width: 200px;
	color:white;
}

.banner-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.banner-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover; 
}


@media (min-width: 768px) {
	.mini-banners .banner-content {
		padding-left: 40px;
	}
}
/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        text-align: center;
    }

    .banner-content {
        max-width: 100%;
        margin-bottom: 20px;
        padding: 15px;
        position: relative;
        order: 2;
    }
    .banner-content p, .banner-content h1, .banner-content .h3{
        color: #333;
    }

    .banner-image {
        max-width: 100%;
        order: 1;
    }
    .banner-button {
        font-size: 0.9rem;
        padding: 8px 16px;
        text-align: -webkit-center;
    }
    
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 2rem;
    }


    .banner-image {
        max-width: 100%;
    }
}

.product-badges {
    position: absolute;
    bottom: 35%;
    display: flex;
    flex-direction: column;
}

.product-badge {
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 4px;
    width: fit-content;
    position: relative;
    z-index:2;
    min-height: 36px;
    display: flex;
    align-items: center;
    text-align: center;
justify-content: center;
    border-radius: 4px;

}
.black-badge::before {
     content: "";
     background: url('/wp-content/themes/novaflon/assets/img/hit.png') no-repeat left top / contain;

  position: absolute;
  left: 0;
  bottom: -8px;
  width: 20px;  /* ширина изображения */
  height: 12px; /* высота изображения */
}
.product-badge::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left:0;
    top: 0px;
    border-width: 10px 10px 0 0;
    border-style: solid;
    display: block;
    width: 0;
    height: 0;
}

.red-badge {
	bottom: 35%;
    background-color: #ff0000; /* Красный цвет для скидки */
}

.red-badge::after {
	border-color: #ff0000 transparent transparent transparent;
}

.black-badge {
	bottom: 45%;
    position: relative;

background:  rgba(9, 9, 11, 1);
min-width: 120px;
}

.black-badge::after {
	border-color: #000 transparent transparent transparent;
}

.green-badge {
	bottom: 65%;
	background-color: #18CC72;
}

.green-badge::after {
	border-color: #18CC72 transparent transparent transparent;
}

/* Контейнер с товарами */
.shop_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Стили для товара в строке */

/* Убираем маркеры у ul, если требуется */
.products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

/* Стили для мобильных устройств */


.uthr-shop-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.uthr-shop-pagination .page-numbers {
    display: inline-block;
    padding: 10px 18px;
    background-color: #001a3d;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: bold;
}

.uthr-shop-pagination .page-numbers:hover {
   opacity: 0.7;
}

.uthr-shop-pagination .current {
    background-color: #f50505;
    font-weight: bold;
}

.uthr-shop-pagination .next {
    padding: 10px 15px;
}

.home_reviews_slider {
    margin: 30px 0 30px 0;
}
.seo-bs {
    margin-top: 30px;
}
.main-wrapper-shop {
    margin-top: 108px;
}

.product_zoom_gallery .onsale {
	position: absolute;
    background-color: #ff0000;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    z-index: 10;
}

.single_add_to_cart_button{
	color: #fff;
	max-width: 400px;
	width: 100%;
	text-align: center;
	background-color: #15cd72;
	border: none;
	  border-radius: 4px;
  box-shadow: 0 7px 14px 0 rgba(0, 26, 56, 0.12);
	height: 58px;
	font-size: 17px;
	font-weight: 600;
	margin-top: 35px;
}

.woocommerce div.product form.cart {
    margin-bottom: 2.5em;
}

.woocommerce div.product form.cart div.quantity {
    margin: 0 10px 0 0;
}
.woocommerce div.product form.cart div.quantity {
    float: left;
    margin: 0 4px 0 0;
}
div.quantity {
    border: 1px solid #e8e8e8;
    display: inline-block;
    height: 60px;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 80px;
}

.widget_recent_entries a {
	color:#333;
}

.widget_recent_entries {
	margin: 30px 0;
}

@media screen and (max-width: 768px) { 
	.woocommerce div.product {
    margin-top: 1em;
}
	div.product	.single_add_to_cart_button {
		margin-top: 1em;
	}
	
	.item__price {
    	font-size: 16px;
    	flex-wrap: wrap;
		height: 40px;
	}
	.product-badge {
    	font-size: 11px;
	}
}

.main-wrapper-shop h2 {
	margin-top: 15px;
    margin-bottom: 5px;
}

.woocommerce .products ul, .woocommerce ul.products {
    width: 100%;
}
