/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/*scrollbar*/
::-webkit-scrollbar {
  height: 3px;
}

::-webkit-scrollbar-button {
  height: 0;
}

::-webkit-scrollbar-track {
  background-color: linear-gradient(88.03deg, #f0f4f9 -4.95%, #587ca5 578.66%);
}

::-webkit-scrollbar-track-piece {
  background: #333;
  border-radius: 25px;
}

::-webkit-scrollbar-thumb {
  height: 50px;
  background: var(--e-global-color-accent);
  box-shadow: -1px 2px 2px rgba(24, 55, 91, 0.1),
    inset 0px -2px 1px rgba(39, 81, 126, 0.12),
    inset 0px 0px 4px rgba(46, 68, 87, 0.02);
  backdrop-filter: blur(28px);
  border-radius: 10px;
}

::-webkit-scrollbar-corner {
  background-color: var(--e-global-color-accent);
}

.accent {
  color: var(--e-global-color-accent);
}

/*Кнопка применить фильтр*/
button.woocommerce-widget-layered-nav-dropdown__submit {
  margin-top: 15px;
}

.svg-btn svg {
  height: 1rem;
}

.price bdi {
	white-space: nowrap;
}

/*slider*/

.wd-slide-bg {
  background: transparent !important;
}

.wd-slide-container {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.wd-slider {
  position: relative;
}

.flickity-page-dots {
  flex-direction: column;
  position: absolute;
  left: 98% !important;
  bottom: 50% !important;
  transform: translate(-50%, 25%) !important;
  background: transparent !important;
  gap: 15px;
}

.flickity-page-dots li {
  width: 18px !important;
  height: 18px !important;
}

/* Названия товаров h2 */
.products h2.woocommerce-loop-product_title{
	font-size:16px;
	color:#041126;
	line-height:20px;
}

@media(max-width: 767px) {
	.products h2.woocommerce-loop-product_title{
	font-size:14px;
	line-height:18px;
}
	.flickity-page-dots {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		position: absolute;
		bottom: 50px !important;
		left: 50% !important;
  		gap: 10px;
}

	.flickity-page-dots li {
	  width: 12px !important;
	  height: 12px !important;
	}
}

/*header*/
.topbar-shortcode a,
.topbar-shortcode,
.contact-box a,
.contact-box .elementor-shortcode {
  transition: all 0.3s;
  color: white;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 5px;
}

header .wd-tools-element > a {
  padding: 0;
}

header .whb-col-right {
  gap: 20px;
}

.archive-cat-div {
	flex-wrap: wrap;
	grid-column-end: 4;
	margin-bottom: 30px;
}

.topbar-shortcode:hover a,
.contact-box a:hover {
  color: #b6bac2;
}

header .nav-link-text {
  text-transform: initial;
}

.topbar-shortcode img {
  display: inline;
  height: 15px !important;
}

.wd-header-text {
  flex: 0 0 auto !important;
}

.whb-col-center {
  width: 100%;
  justify-content: space-between;
}

.whb-header-bottom {
  padding: 20px 0;
}

.wd-header-cart,
.wd-header-wishlist .wd-tools-icon,
.wd-header-my-account .wd-tools-icon {
  border-radius: 50px;
  border: 1px solid #b6bac2 !important;
  transition: all 0.3s;
}

.wd-header-cart:hover,
.wd-header-wishlist .wd-tools-icon:hover,
.wd-header-my-account .wd-tools-icon:hover {
  border: 1px solid transparent !important;
  background: white;
  box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.07);
}

.wd-header-cart:hover .wd-custom-icon,
.wd-header-wishlist .wd-tools-icon:hover .wd-custom-icon,
.wd-header-my-account .wd-tools-icon:hover .wd-custom-icon {
  opacity: 1;
}

.wd-header-cart:hover > a {
  color: var(--e-global-color-text);
}

.wd-header-cart:hover .wd-cart-number {
  background: var(--e-global-color-text);
}

.wd-header-cart:hover img,
.wd-header-wishlist .wd-tools-icon:hover img,
.wd-header-my-account .wd-tools-icon:hover img {
  filter: invert(19%) sepia(56%) saturate(1900%) hue-rotate(206deg)
    brightness(83%) contrast(73%);
}

.wd-header-wishlist .wd-tools-icon,
.wd-header-my-account .wd-tools-icon {
  padding: 15px 25px !important;
  width: auto !important;
  height: auto !important;
}

.wd-header-cart {
  padding: 6px 20px !important;
}

header .searchform input {
  height: 52px !important;
}

.menu-opener {
  background: #041126 !important;
  border-radius: 50px !important;
  padding: 15px 30px !important;
  min-width: 0px !important;
}

.menu-opener:hover {
  background: #1b4586 !important;
}

.menu-opener:after {
  display: none;
}

header .wd-cart-subtotal bdi {
  font-size: 16px;
  font-weight: 600 !important;
}

.wd-header-nav .nav-link-text {
  color: #041126 !important;
  padding: 15px 30px;
  border-radius: 50px;
  transition: all 0.3s;
}

.wd-header-nav li:hover .nav-link-text {
  background: #f7f9fc;
}

@media (max-width: 767px) {
  .topbar-shortcode a,
  .topbar-shortcode {
    font-size: 12px !important;
  }
  .wd-header-cart {
    border: none !important;
    box-shadow: none !important;
  }
}
/*end of header*/

/*footer*/
.footer-menu a {
  background-color: transparent !important;
}

.footer-menu ul {
  border: none;
}

.footer-menu a {
  padding: 0 !important;
}

.footer-menu a {
  margin-bottom: 15px !important;
}
/*end of footer*/

/*main*/
.order-box svg {
  width: auto !important;
}

.main-cats .products {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  grid-template-rows: 245px 245px 245px 245px;
}

.category-grid-item:hover .category-image {
  transform: none !important;
}

.main-cats .wrapp-category:before {
  opacity: 0;
  transition: all 0.3s;
  content: "Перейти в каталог";
  display: block;
  width: fit-content;
  color: #041126;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px solid #1b4586;
  position: absolute;
  bottom: 25px;
  z-index: 3;
}

.main-cats .wrapp-category:hover:before {
  opacity: 1;
}

.main-cats .category-grid-item {
  max-width: 100% !important;
}

.main-cats .category-grid-item .wd-entities-title {
  top: 0 !important;
}

.main-cats .category-grid-item:nth-child(1) {
  grid-row-end: span 2;
}

@media (min-width: 1024px) {
  .main-cats .category-grid-item:nth-child(4) {
    grid-row-start: 1;
    grid-column-start: 3;
    grid-row-end: span 2;
  }

  .main-cats .category-grid-item:nth-child(5) {
    grid-row-start: 3;
    grid-column-start: 1;
    grid-row-end: span 2;
  }

  .main-cats .category-grid-item:nth-child(7) {
    grid-row-start: 3;
    grid-column-start: 3;
    grid-row-end: span 2;
  }

  .main-cats .category-grid-item:nth-child(8) {
    grid-row-start: 4;
    grid-column-start: 2;
  }
}

.main-cats .wrapp-category {
  width: 100 !important;
  height: 100% !important;
  background: white;
  display: flex;
  flex-direction: column !important;
  padding: 30px;
}

.main-cats .wrapp-category .hover-mask {
  position: static !important;
  order: -1 !important;
  padding: 0 !important;
  z-index: 1 !important;
}

.main-cats .category-image-wrapp {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
  overflow: visible !important;
}

.main-cats .category-grid-item:nth-child(1) .category-image-wrapp,
.main-cats .category-grid-item:nth-child(4) .category-image-wrapp,
.main-cats .category-grid-item:nth-child(5) .category-image-wrapp,
.main-cats .category-grid-item:nth-child(7) .category-image-wrapp {
  bottom: 35px !important;
  max-height: 250px !important;
}

.main-cats .category-grid-item:nth-child(6) .category-image-wrapp {
  max-height: 150px !important;
}

.main-cats .category-grid-item:nth-child(4) .category-image-wrapp {
  bottom: 55px !important;
  max-width: 70% !important;
}

.main-cats .category-image-wrapp a {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-end !important;
  flex-direction: row;
}

.main-cats img {
  object-fit: contain !important;
  width: auto !important;
  overflow: visible !important;
  height: 80%;
}

.main-cats .category-image-wrapp,
.main-cats .category-image-wrapp * {
  display: flex !important;
  max-height: 100% !important;
  height: 100%;
}

@media (max-width: 1024px) {
  .main-cats .products {
    display: flex;
  }
  .category-grid-item {
    min-height: 300px;
  }
  .main-cats .category-grid-item {
    flex: 0 0 50%;
  }
  .main-cats .category-image-wrapp {
    max-width: 200px !important;
	bottom: 5px !important;
  }
	.main-cats .category-image-wrapp img {
		height: auto !important;
		width: 100%;
	}
}

@media (max-width: 767px) {
  .main-cats .category-grid-item {
    flex: 0 0 100%;
  }
  .main-cats .category-image-wrapp {
    height: 200px !important;
  }
	.main-cats .category-grid-item:nth-child(5) .category-image-wrapp {
		bottom: 10px !important;
	}
  .wd-hover-info .bottom-information :is(.login-to-prices-msg,.price) {
    position: relative !important;
  }
  .wd-hover-info .bottom-information .price {
    top:-20px;
  }
}



.product-grid-item .product-wrapper {
  height: 100% !important;
  border-radius: 6px !important;
  background: #fff;
  box-shadow: 0px 4px 15px 0px rgba(179, 188, 202, 0.05);
  padding: 20px 20px 10px 20px !important;
}

.product-grid-item {
  flex: 1 1 33%;
}

.product-grid-item .wd-buttons {
  position: static !important;
  order: 4 !important;
  flex-direction: row-reverse;
  justify-content: flex-end !important;
  align-self: flex-end !important;
  background: transparent;
  border: none;
  box-shadow: none;
  gap: 10px;
}

.product-grid-item .wd-buttons :is(.wd-quick-view-icon, .wd-compare-btn) {
  display: none !important;
}

.product-grid-item .wd-add-cart-icon > a:before {
  content: url(/wp-content/uploads/2023/08/cart.svg);
  transition: all 0.3s;
}

.product-grid-item .wd-wishlist-btn > a:before,
.summary .wd-wishlist-btn > a:before {
  content: url(/wp-content/uploads/2023/08/heart.svg) !important;
  filter: invert(83%) sepia(2%) saturate(992%) hue-rotate(182deg)
    brightness(89%) contrast(94%);
  transition: all 0.3s;
}

.product-grid-item .wd-wishlist-btn > a,
.summary .wd-wishlist-btn > a {
  border-color: #b6bac2;
}

.product-grid-item .wd-wishlist-btn:hover > a,
.summary .wd-wishlist-btn:hover > a {
  border-color: #041126;
}

.product-grid-item .added:before {
  filter: none !important;
}

.product-grid-item .wd-wishlist-btn > .added,
.product-grid-item .wd-add-cart-icon > .added,
.product-grid-item .wd-add-cart-icon:hover > a,
.summary .wd-wishlist-btn > .added {
  box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.07) !important;
  border-color: transparent !important;
}

.product-grid-item .wd-wishlist-btn:hover > a:before,
.summary .wd-wishlist-btn:hover > a:before {
  filter: none;
}

.product-grid-item .wd-add-cart-icon:hover > a:before {
  filter: invert(17%) sepia(56%) saturate(1700%) hue-rotate(204deg)
    brightness(93%) contrast(63%);
}

.product-grid-item .wd-wishlist-btn .added:before,
.summary .wd-wishlist-btn .added:before {
  filter: invert(17%) sepia(56%) saturate(1700%) hue-rotate(204deg)
    brightness(93%) contrast(63%) !important;
}

.product-grid-item .wd-buttons a:before,
.summary .wd-buttons a:before {
  height: 35px !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.product-grid-item .wd-add-btn .added:before {
  content: url(/wp-content/uploads/2023/08/check.svg) !important;
}

.product-grid-item .wd-action-btn > a {
  width: auto !important;
}

.product-grid-item .wd-action-btn a,
.summary .wd-buttons a:before {
  height: 35px !important;
  padding: 0 !important;
}

.product-grid-item .wd-action-btn a {
  border: 1px solid #b6bac2;
  border-radius: 50px;
  padding: 0px !important;
}

.summary .wd-action-btn a {
  border: 1px solid #b6bac2;
  border-radius: 50px;
  padding: 10px 15px;
}

.product-grid-item .wd-action-btn a:before {
  padding: 5px 10px !important;
}

.product-grid-item .wd-add-cart-icon a:before,
.summary .wd-buttons a:before {
  padding: 5px 25px !important;
}

.product-element-top {
  display: flex !important;
  flex-direction: row !important;
	flex-wrap: wrap;
  justify-content: space-between !important;
  gap: 10px !important;
}

.product-grid-item .top-information {
  position: static !important;
  order: 1 !important;
  flex-grow: 1;
}

.product-grid-item .product-image-link {
  order: 2 !important;
}

.product-grid-item .bottom-information {
  position: relative !important;
  order: 3 !important;
  left: 0 !important;
  bottom: 0 !important;
  justify-content: flex-end !important;
  align-self: flex-end !important;
}

.product-grid-item img {
  /* 	max-height: 200px !important; */
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
}

.product-grid-item .product-image-link {
  width: 100% !important;
}

.products {
  align-items: stretch !important;
}

.product-wrapper {
  display: flex !important;
}

.wd-quick-shop,
.slide-product,
.product-wrapper {
  height: 100% !important;
}

.owl-item .product-grid-item {
  height: 100% !important;
}

.owl-stage {
  display: flex !important;
}

/*archive*/
.wd-products-per-page {
  display: none;
}

.page-numbers {
  border-radius: 6px !important;
}

/*single product*/
.quantity .input-text {
  border: none !important;
}

.quantity {
  align-items: center;
}

.quantity input[type="button"] {
  display: flex !important;
  flex-direction: column;
  padding: 5px !important;
  padding-bottom: 8px !important;
  align-items: center;
  border-radius: 50%;
  height: 25px !important;
  width: 25px;
  background: var(--e-global-color-accent) !important;
  color: white !important;
}

.quantity input[type="button"]:hover {
  background: var(--e-global-color-text) !important;
}

.cart-content-wrapper .cart-totals-inner {
  border: none;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0px 4px 15px 0px rgba(179, 188, 202, 0.05);
}

.cart-subtotal {
  display: none !important;
}

input[type="checkbox"] {
  accent-color: var(--e-global-color-accent);
}

address {
  font-style: normal !important;
}

.searchsubmit {
  background: transparent !important;
}

.wd-wishlist-remove {
  border: none !important;
}

.elementor-widget-text-editor ul {
  list-style: none;
}

.elementor-widget-text-editor li::before {
  content: "";
  background: var(--e-global-color-accent);
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  margin-left: -1em;
  margin-right: 10px;
  margin-bottom: 2px;
}

.pswp__top-bar button {
  background-color: transparent !important;
  padding: 0px !important;
  box-shadow: none;
}

.owl-dot span {
  border-color: var(--e-global-color-accent) !important;
}

.owl-dot.active span {
  background: var(--e-global-color-accent) !important;
}

.page-title .wd-back-btn {
  display: none !important;
}

/*Режим каталога*/
/*Скрыть корзину*/
.wd-header-cart.wd-tools-element.wd-design-2.wd-tools-custom-icon,
/*Скрыть вход в личный кабинет*/
.wd-header-my-account {
  display: none;
}



@media (max-width: 1024px) {
  .owl-prev,
  .owl-next {
    display: none !important;
  }
  .main-cats .category-grid-item:nth-child(4) .category-image-wrapp {
    bottom: 45px !important;
    max-height: 170px !important;
  }
}

@media (max-width: 767px) {
  .bottom-information {
    width: 100%;
  }
	.wd-slide-container {
		padding-top: 0 !important
	}
}

.slide-phones img {
  display: none;
}

.product-image-link {
	align-self: flex-end;
}

.price bdi {
	white-space: nowrap !important;
}

.slide-phones2 a {
	font-weight: 800;
}

/*картинки категорий в магазине*/
.elements-grid .category-grid-item {
	min-height: 0!important;
	display: flex;
}

.elements-grid .category-grid-item .wrapp-category {
	box-shadow: none !important;
	padding: 8px 15px;
	background: white;
	border-radius: 30px;
	box-shadow: 0px 2px 15px 0px rgba(76, 96.99999999999999, 152, 0.25) !important;
	transition: all .3s;
}

@media(max-width: 767px) {
	.elements-grid .category-grid-item .wrapp-category {
		padding: 5px 10px;
	}
}

.elements-grid .category-grid-item .wrapp-category:hover {background: var(--e-global-color-accent)}
.elements-grid .category-grid-item .wrapp-category:hover .wd-entities-title {color: white}

.elements-grid .category-grid-item .category-image-wrapp {
	display: none;
}

.elements-grid .category-grid-item .hover-mask {
	position: static;
    display: block !important;
	transform: none !important;
}

.elements-grid .category-grid-item .wd-entities-title {
	font-weight: 700;
	transition: all .3s;
	position: static;
	font-size: 14px;
}

.elements-grid .category-grid-item {
	flex: 1 1 100%;
    max-width: max-content;
}

/*скрытие товаров без фото в результатах поиска*/
.autocomplete-suggestion:has(.woocommerce-placeholder) {
  display: none !important;
}

.wd-carousel-item {
	height: 100% !important;
	align-self: stretch !important;
}

.wd-product.wd-hover-info .bottom-information {
	top: initial !important;
}

@media(max-width: 767px) {
	.archive-cat-div {
		grid-column-end: 3;
	}
}

.category-grid-item:has([href="https://negociant-dn.ru/misc/"]) {
	display: none !important;
}