/* Бейджики */
.woocommerce-product-gallery .labels-rounded .product-label,
.labels-rounded .out-of-stock {
  min-width: max-content !important;
}

.labels-rounded .product-label {
  min-height: 20px;
}

h1, h2 {
  font-weight: 600 !important;
  font-size: 28px !important;
}

h1 {
  font-weight: 600 !important;
  font-size: 32px !important;
}

h2 {
  font-size: 28px !important;
}

@media(width <= 767px) {
  h1, h2 {
    font-size: 24px !important;
  } 
}

#menu-osnovnoe-menju-2 .menu-item-wishlist {
    display: block !important;
}

ul li::marker {
  color: var(--wd-primary-color);
}

.whb-general-header-inner .wd-header-wishlist {
    display: block !important;
}

header .wd-button-wrapper {
    padding-right: 0 !important;
}

/* ============================================
   Single Product
   ============================================ */

/*Все таблицы в описаниях имеют прокрутку при необходимости*/
.woocommerce-tabs .woocommerce-Tabs-panel table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
  max-height: 500px;
  -o-object-fit: contain;
  object-fit: contain;
}

.woocommerce-tabs .woocommerce-Tabs-panel th,
.woocommerce-tabs .woocommerce-Tabs-panel td {
  min-width: 100px;
}

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

.wd-cat img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

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

  .product-images img {
    max-height: 300px !important;
  }
}

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

/* Базовые стили для чекбоксов и радио */
input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  background: #fff !important;
  border: 2px solid #d1d5db !important;
  cursor: pointer;
  display: inline-block;
  height: 20px;
  width: 20px;
  margin: 0;
  position: relative;
  vertical-align: middle;
  transition: all 0.2s ease-in-out;
  margin-right: 5px;
}

.woocommerce-shipping-methods input.shipping_method {
  top: 0 !important;
}

/* Стили при наведении */
input[type="checkbox"]:hover,
input[type="radio"]:hover {
  border-color: var(--e-global-color-accent);
}

/* Специфичные стили для радиокнопок */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked {
  border: 6px solid var(--e-global-color-accent) !important;
  background: white !important;
}

/* Специфичные стили для чекбоксов */
input[type="checkbox"] {
  border-radius: 4px !important;
}

input[type="checkbox"]:checked {
  background: var(--e-global-color-accent) !important;
  border-color: var(--e-global-color-accent) !important;
}

input[type="checkbox"]:checked:after {
  content: "\2713";
  color: #fff;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Стили для отключенного состояния */
input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
  background: #f3f4f6;
  border-color: #e5e7eb;
  cursor: not-allowed;
}

/* Стили для текста метки */
label {
  cursor: pointer;
  user-select: none;
}

/* Фокус для доступности */
input[type="checkbox"]:focus,
input[type="radio"]:focus {
  outline: 2px solid var(--e-global-color-accent);
  outline-offset: 2px;
}
/*Конец чекбоксы*/

.header-contacts svg,
.header-contacts ul li:nth-child(-n + 3) a,
.pricelist-btn img,
.wd-header-cats .menu-opener {
  transition: all 0.3s;
}

.header-contacts a:hover svg {
  opacity: 0.7 !important;
}

@media(width <= 767px) {
  /*.header-contacts li:last-child {
    display: none;
  }*/
	.header-contacts .elementor-icon-list-items {
		row-gap: 5px!important;
	}
	.whb-top-bar {
		padding-bottom: 5px!important;
		padding-top: 5px!important;
	}
}

.header-contacts ul li:nth-child(-n + 3) a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: white;
}

.header-contacts ul li:nth-child(-n + 3):hover a {
  text-decoration-color: #ffffffb3;
}

.whb-general-header-inner > div {
  gap: 20px;
}

.wd-header-cats:not(.wd-opened) .menu-opener {
  border-radius: var(--wd-brd-radius) !important;
}

.wd-header-cats,
.wd-header-cats .menu-opener {
  transition: all 0.3s !important;
  height: 54px !important;
}

.menu-opener:hover {
  background: var(--wd-alternative-color) !important;
}

.pricelist-bt {
  padding: 7px 15px !important;
  text-transform: none !important;
}

.wd-header-my-account > a, .wd-header-wishlist > a, .wd-header-cart > a {
  padding: 10px 20px !important;
  text-transform: none !important;
  height: 54px !important;
  border-radius: var(--wd-brd-radius);
  background-color: #F2F0F0;
}

.btn-shape-semi-round,
.btn-style-semi-round {
  --btn-brd-radius: var(--wd-brd-radius) !important;
}

.wd-header-my-account:hover > a, .wd-header-wishlist:hover > a, .wd-header-cart > a {
  background: var(--wd-primary-color) !important;
  color: white !important;
}


@media(width > 1024px) {
  .wd-header-my-account > a:before {
    content: "\f124";
    font-family: "woodmart-font";
    font-weight: 400;
    font-size: 20px;
    margin-right: 10px;
  }
}

.wd-header-cart:hover > a {
  background-color: #F2F0F0 !important;
  color: black !important;
}

.wd-tools-count {
  background: var(--wd-alternative-color) !important;
  color: white !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  width: 18px !important;
  height: 18px !important;
  display: flex;
    justify-content: center;
    align-items: center;
}

.wd-header-wishlist .wd-tools-count {
  top: 3px !important;
}

.wd-header-wishlist .wd-tools-icon {
  padding: 0;
  width: auto !important;
  background: transparent !important;
  color: black !important;
}

.wd-header-wishlist:hover .wd-tools-icon {
  color: white !important;
}

@media(width <= 1024px) {
  .whb-general-header.whb-col-1 .whb-column  {
    justify-content: space-between !important;
  }

  .whb-col-1 .wd-tools-icon {
    border-radius: 12px !important;
    width: 42px !important;
   height: 42px !important;
  }
}

.wd-toolbar {
padding: 10px;
    height: 65px;
    gap: 8px;
}

.wd-toolbar a {
  padding: 0 10px 15px 10px !important;
  height: 50px !important;
}

.wd-toolbar .wd-header-wishlist a,  .wd-toolbar .wd-header-my-account  a {
  background: transparent !important;
}

.pricelist-btn:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(2%)
    hue-rotate(165deg) brightness(104%) contrast(101%) !important;
}

.accent2 {
	color: var(--wd-alternative-color) !important;
}

.pb-80 {
  padding-bottom: 80px !important;
}

.pt-80 {
  padding-top: 80px !important;
}

.pb-100 {
  padding-bottom: 100px !important;
}

.pt-100 {
  padding-top: 100px !important;
}

.pb-120 {
  padding-bottom: 120px !important;
}

.pt-120 {
  padding-top: 120px !important;
}

@media(width <= 767px) {
  .pb-80, .pb-100, .pb-120  {
    padding-bottom: 80px !important;
  }
  
  .pt-80, .pt-100, .pt-120 {
    padding-top: 80px !important;
  }
}

/* ============================================
   Стили карточек товаров в сетке
   ============================================ */
.product-grid-item {
  background: white;
  border-radius: 12px;
}

.product-element-bottom {
  padding: 10px 10px 20px 10px;
}

.product-wrapper {
  padding: 0 !important;
}

.hover-content-wrap {
  padding: 20px 10px !important;
}

/* ============================================
   Главная
   ============================================ */
.hidden-tabs .wd-tabs-header {
  display: none;
}

.marker-image img, .wd-spots, .wd-image-hotspot-hotspots {
  height: 100% !important;
  object-fit: cover;
}

.underlined-links a {
  color: var(--wd-primary-color);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.underlined-links a:hover{
  color: var(--wd-alternative-color);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.underlined-links-white a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.underlined-links-white a:hover {
  color: white;
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.adv-card .elementor-icon-box-title {
  text-indent: 32px;
}

.adv-card .elementor-icon-box-description, .adv-card .elementor-icon-box-title {
  margin-left: -32px;
}

.row-gap-ul ul {
  row-gap: 30px;
}

.whb-header {
  background: var(--wd-main-bgcolor);
}

.wd-wishlist-product-actions {
  padding: 20px;
}

.tabs-name.title {
  text-align: left;;
}

/* ============================================
   Футер
   ============================================ */

.footer-menu ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 30px;
  list-style-type: none;
}

@media(width < 1025px) {
  .footer-menu ul {
    justify-content: flex-start;
    gap: 25px;
  }
}

.footer-menu ul, .footer-menu li {
  margin: 0;
  padding: 0;
}

.footer-copyright ul {
  width: 100%;
  justify-content: space-between;
}

.images-gallery .wd-carousel-item, .images-gallery figure {
  aspect-ratio: 1.1 / 1;
  height: 100%;
  background-color: white;
  border-radius: 12px;
  padding: 25px;
  display: flex;
 justify-content: center;
 align-items: center;
}

.fill-svg svg, .fill-svg svg * {
  fill: black;
}

.recently-viewed:not(:has(.wd-product)) {
  display: none;
}

/* ============================================
   Стили мега меню
   ============================================ */
#wcs-category-menu-wrapper img {
  border-radius: 50%;
}

.scrolling-menu>.scroll-element .scroll-bar {
  background-color: var(--wd-primary-color);
}

#wcs-category-menu-wrapper .sub-level-wrapper .helper {
  border-left: 2px solid #D3D3D3;
}

#wcs-catalog-menu-button {
  height: 54px !important;
  border-radius: var(--wd-brd-radius);
  background: var(--wd-primary-color);
  color: white;
  transition: all .3s;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0.5px;
  padding-left: 25px;
  padding-right: 25px;
}

#wcs-catalog-menu-button:hover {
  background: var(--wd-alternative-color) !important;
}

#wcs-catalog-menu-button .toggle-icon svg {
  display: none;
}

#wcs-catalog-menu-button .toggle-icon {
  margin-right: 10px;
  background: url('/wp-content/uploads/2025/03/catalog.svg');
  width: 27px;
  height: 20px;
}

#wcs-category-menu-wrapper a:hover {
  color: var(--wd-primary-color) !important;
}

#wcs-category-menu-wrapper .level-title {
  background-color: var(--wd-primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ============================================
   Стили карточки товара
   ============================================ */

   .product-element-bottom {
    /* flex-direction: row !important;
    flex-wrap: wrap !important; */
    justify-content: space-between;
    align-items: flex-start;
   }

.products .wd-product-cats {
  font-weight: 400;
  font-size: 13px;
  color: #A8A8A8;
  flex-grow: 1;
}

.products .wd-entities-title {
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

.products .wd-product-stock, .products .wrap-price {
  width: max-content;
  margin: 0 !important;
}

.products .wd-product-stock  {
font-weight: 400;
font-size: 13px;
}

.products .product-type-simple .wd-add-btn span {
  color: transparent;
  font-size: 0;
  height: 0;
}

.products .product-type-simple .wd-add-btn span::before {
  display: block;
  content: "\f123";
font-family: "woodmart-font";
font-weight: 400;
  color: white;;
  font-weight: 400;
  font-size: 20px;
}

.stock.in-stock, .stock.in-stock:before {
  color: #2BAF24 !important;
}

.products .wd-add-btn {
width: 100%;
}

.quantity input {
  border: none !important;
  background: white !important; 
  box-shadow: none !important;
  color:black !important;
  line-height: 1 !important;
  font-size: 16px;
}

.quantity {
  filter: brightness(1) !important;
  border: none !important;
  box-shadow: none !important;
  position: static !important;
  height: 42px !important;
}

.quantity input[type="number"] {
font-weight: 600;
color: var(--wd-primary-color) !important;
}


.wd-quantity-overlap div.quantity:not(.hidden)+.button, .wd-quantity-overlap div.quantity:not(.hidden)+link+.button, .wd-quantity-overlap div.quantity:not(.hidden)+link+link+.button {
  width: max-content;
    padding-inline-start: 0 !important;
}

.wd-quantity-overlap div.quantity:not(.hidden)+.button:before, .wd-quantity-overlap div.quantity:not(.hidden)+link+.button:before, .wd-quantity-overlap div.quantity:not(.hidden)+link+link+.button:before,.wd-quantity-overlap div.quantity:not(.hidden)+.button:before, .wd-quantity-overlap div.quantity:not(.hidden)+link+.button:after, .wd-quantity-overlap div.quantity:not(.hidden)+link+link+.button:after
  {
  inset-inline-start: 0 !important;
}

.wd-add-btn {
  display: flex;
    justify-content: space-between;
    gap: 20px;
}

.square > .elementor-widget-container {
  aspect-ratio: 1 / 1 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px !important;
  height: 40px !important;
}

.square .wd-text-block:not(.inline-element).text-left {
  margin-right: 0;
}

.wd-nav-img {
	border-radius: 50%;
}

.products-filters-container {
	padding-left: 0;
}

.wd-col-offcanvas-md-sm.wd-col-offcanvas-sm:not(:has(.taxonomies)) {
	display: none;
}

.wcs-cat-level {
	margin-top: 0;
}

.accent {
	color:#FF0013;;
}

.widget_rt_installed_filters_widget {
	display:none;
}

.rank-math-breadcrumb .separator {
	margin-left: 5px;
	margin-right:5px;
}

.rank-math-breadcrumb .last {
	font-weight:600!important;
}

.rank-math-breadcrumb p {
	margin:0!important;
}

.vertical-menu ul {
	flex-direction: column;
}

.two-col-menu ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}

li#menu-item-35169 a.woodmart-nav-link {
    display: none;
}

.contacts-stretch ul {
	justify-content: space-between;
	    gap: 25px;
}/* Мобильная версия */
@media (max-width: 1024px) {
  .two-col-menu ul {
    grid-template-columns: 1fr;
  }
	.contacts-stretch ul {
		flex-direction:column;
	}
}