:root {
    --main-color: #EB4F98;
}



/*бейджик уцененных товаров*/
.product_cat-ucenennyj-tovar .woocommerce-product-gallery .owl-carousel .product-image-wrap:before,
.product_cat-ucenennyj-tovar .product-element-top:before

{
    content: "УЦЕНКА";
    position: absolute;
    z-index: 10;
    right: 5px;
	top:5px;
    background-color: yellow;
    color: #000000;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 5px 5px;
    border-radius: 15px;
}

.product_cat-ucenennyj-tovar .labels-rounded .product-label {
    display: none !important;
}


.product-wrapper .product-labels.labels-rounded .product-label {
    width: max-content;
    min-height: 30px;
font-size: 11px;
}


/*Конец бейджик уцененных товаров*/


/*Мега меню с брендами*/
.eb-scrollbarcnt .overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, 200px);
}

.wb-filter-style1 .wb-alphabet-table {
    display: flex;
    align-items: center;
}

#menu-menju-brendov {
    columns: 4 !important;
}

.elementor-element-2cf9ecd .wd-nav-vertical>li {
    max-width: 25%;
}

.product-grid-item .product-image-link img,
.product-grid-item .hover-img img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.blog-post-loop .entry-title a {
    font-size: 18px;
}

.product-image-summary .entry-title {
    font-family: caveat;
    color: #000;
}

.category-grid-item .category-title {
    font-size: 12px;
}

.wc-tab-inner>div>h2:first-child {
    font-size: 2rem;
}

.product_meta {
    display: flex;
}

.iksm-terms .iksm-term__text {
    line-height: 1.4;
}

.labels-rounded .out-of-stock {
    max-width: 120px;
    font-size: 10px;
    text-transform: inherit;
    background: #de3737;
    color: #fff;

}

.labels-rounded .product-label,
.product-images .labels-rounded .product-label {
    min-height: 25px;
    font-size: 12px;
    min-width: 100px;
}

ul.brands {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mega-menu-wrap h3.wd-entities-title.category-title {
    font-size: 11px;
}


.page-id-12 .woocommerce form .form-row .required {
    display: none;
}

/*Бренды в одиночной*/
.wb-posted_in {
    color: rgb(51, 51, 51);
    text-align: right;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.wb-posted_in a {
    margin-left: 5px;
    color: var(--wd-primary-color);

}

.wb-posted_in a:hover {
    color: rgb(51, 51, 51);
}



ul.brands {
    line-height: 1.8;
}

ul.brands_index {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(55px, 1fr));
    grid-row-gap: 10px;
    text-transform: uppercase;
}

ul.brands_index li a,
ul.brands_index li span {
    padding: 12px;
    transition: 0.4s;
}

ul.brands_index li a:hover,
ul.brands_index li span:hover {
    padding: 11px;
    border: 1px solid var(--main-color);
}


div#brands_a_z h3 {
    margin: 20px 0px 20px 0px;
}

code,
kbd,
pre,
samp {
    font-family: Ubuntu;
}


pre.wp-block-preformatted {
    white-space: normal;
}

/*Иконки в шапке*/
.wd-tools-icon {
    color: #333;
}

.wd-tools-icon:hover {
    color: var(--main-color);
}

.wd-sticky-social.buttons-loaded {
    transform: translate3d(0,50%,0);
}


/*Черная пятница*/
/* .product-grid-item.sale:before {
	  content:url("/wp-content/uploads/2022/11/black-friday1.jpg");
	  position:absolute;
  z-index:1;
  right:15px;
  }
  
  .product-image-wrap:before {
		  content:url("/wp-content/uploads/2022/11/black-friday1.jpg");
		  position:absolute;
		  z-index:1;
  } */
/*Конец черная пятница*/


.pum-theme-97776 .pum-container,
.pum-theme-lightbox .pum-container {
    padding: 18px;
    border-radius: 3px;
    border: none;
    box-shadow: 0 0 30px 0 #E8E1E1;
    background-color: rgba(255, 255, 255, 1);
}


div#popmake-97790 {
    background: #faf7f7;
}

.product-grid-item .product-image-link img,
.product-grid-item .hover-img img {
	width: 100%;
	object-fit: contain;
}


/*start responsive*/
@media screen and (max-width:1024px) {
    .product-grid-item .product-image-link img,
    .product-grid-item .hover-img img {
        height: 150px;
      
    }
}

@media screen and (max-width:767px) {
    .product-grid-item .product-image-link img,
    .product-grid-item .hover-img img {
        height: 120px;
    }
}


@media screen and (max-width:576px) {
    .product-grid-item .product-image-link img,
    .product-grid-item .hover-img img {
        height: 100px;
    }
}

/*Вывод брендов*/

.brands-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-template-rows: auto;
    grid-gap: 20px;
    margin-bottom: 30px;
}

.brand-char {
    grid-column: 1 / -1;
    padding: 10px 0;
    font-weight: 700;
    font-size: 26px;
    color: black;
}

.brand-item img {
    height: auto !important;
    width: 100% !important;
    aspect-ratio: 2.5 / 1;
    object-fit: contain;
    background: #f9f9f9 !important; 
    border-radius: 30px;
    padding: 8px 15px;
    filter: grayscale(1);
    transition: all .3s;
}

.brand-item .brand-name {
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
    color: var(--wd-entities-title-color) !important;
    transition: all .3s;
}

.brand-item:hover .brand-name {
    color: var(--wd-entities-title-color-hover) !important;
}

.brand-item:hover img {
    filter: grayscale(0);
}

#fixed-brand-menu {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    padding: 10px 20px; /* Padding around the menu */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Shadow effect */
    z-index: 99; /* Ensure it stays above other elements */
    transition: top 0.3s ease; 
    position: fixed;
    top: 60px;
    opacity: 0;
}

.logged-in.admin-bar #fixed-brand-menu {
    top: 92px;
}

@media(width <= 1024px) {
    .brands-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        grid-template-rows: auto;
        grid-gap: 20px;
        margin-bottom: 30px;
    }
}

.fixed-anchor-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15px, 1fr));
    grid-template-rows: auto;
    grid-gap: 20px;       
}

@media(width <= 1024px) {
    .fixed-anchor-menu {
        grid-template-columns: repeat(auto-fit, minmax(15px, 40px));
        grid-gap: 10px;       
    }
}

.fixed-anchor-menu a {
    display: block; /* Each link on a new line */
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    text-decoration: none; /* Remove underline from links */
    color: var(--wd-entities-title-color) !important;; /* Link color */
}

.fixed-anchor-menu a:hover {
    color: var(--wd-link-color) !important;; /* Darker color on hover */
}

html {
    scroll-behavior: smooth; /* Enable smooth scrolling for anchor links */
}

.page-id-8129 .page-title {
    margin-bottom: 0 !important;
}

/**
*   Авторизация по SMS
*
*/
.sms-login-form {
    display: flex;
    flex-direction: column;
}

.sms-login-form button {
    margin-top: 1rem;
}

.sms-login-form button.again {
        order: 1;
}

/*Стили вариаций товара*/
.vi-wpvs-hidden {
	display: flex !important;
	visibility: visible !important;
}

.vi-wpvs-option-wrap {
	margin: 0 !important;
}

.vi-wpvs-variation-wrap {
	gap: 14px !important;
}

.vi-wpvs-hidden img {
	opacity: 0.3 !important;
	filter: grayscale(0.6);
}

.vi-wpvs-hidden .vi-wpvs-option-out-of-stock-attribute-icon:before {
	display: block !important;
	background: gray !important;
}

.variations_button.woocommerce-variation-add-to-cart-disabled {
	display: none !important;
}

.single-product:has(.vi-wpvs-option-wrap) .summary-inner>.price, .product-type-variable .summary-inner>.price {
    display: none !important;
}

.variations_form {
	flex-direction: column-reverse;
}

.variations_form table {
	margin-bottom: 0 !important;
}

	.summary-inner .product_meta .wb-posted_in a {
		margin: 0 !important
	}

@media(width > 767px) {
.summary-inner .product_meta {
    flex-wrap: nowrap;
    align-items: flex-start;
}
}

@media(width < 767px) {
.summary-inner .product_meta {
    flex-direction: column !important;
	align-items: flex-start !important;
}
	
	.summary-inner .product_meta .wb-posted_in {
		align-items: flex-start !important;
	}
}

.single_variation_wrap {
	margin-bottom: 20px !important;
}

.single_variation_wrap .price {
	font-size: 150% !important;
}

#main-content::before, .container::before {
	display: none !important;
}