/*
  Theme Name: WPhome
  Description: Woodmart Child Theme
  Author: Arthur Vasilenko
  Author URI: https://www.wphome.co.il/
  Template: woodmart
  Version: 1.0
  Text Domain: wphome
*/

:root {
  --wd-form-height: 50px;
}

html {
  scroll-behavior: smooth;
}

.theme-wphome p.form-row {
  position: relative;
}

.theme-wphome label:not([for^='shipping_method'], [for^='payment_method'], [class*='checkbox'], [for^='pa_']) {
  color: #6c6c6c;
  font-weight: 400;
  font-size: 12px;
  position: absolute;
  top: 6px;
  left: 15px;
  user-select: none;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease 0s;
}

.theme-wphome .required {
  vertical-align: middle;
}

.theme-wphome label:is([class*='checkbox']) {
  cursor: pointer;
}
.theme-wphome label:is([class*='checkbox']):hover > span:is([class*='text']) {
  text-decoration: underline;
}
.theme-wphome label .optional {
  display: none !important;
}
.theme-wphome label.wph-label-active {
  opacity: 1;
  visibility: visible;
  top: 4px;
}

input[type='radio']:checked {
  border-width: 7px;
}

input[type='radio']:not(:checked):hover {
  border-width: 2px;
}

input[type='radio']:hover,
input[type='radio']:checked {
  border-color: var(--wd-primary-color);
}

input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--wd-primary-color);
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
}

.woocommerce-invalid input[type='checkbox'] {
  border-color: #ca1919;
  border-width: 1.5px;
}

h3.wp-block-wd-title.title,
h4.wp-block-wd-title.title,
h5.wp-block-wd-title.title,
h6.wp-block-wd-title.title {
  font-size: 1.4em;
}

/* Состояние при наведении */
input[type='checkbox']:hover {
  border-color: var(--wd-primary-color); /* Замените на нужный цвет */
  border-width: 2px;
}

/* Отмеченное состояние */
input[type='checkbox']:checked {
  background-color: var(--wd-primary-color); /* Замените на нужный цвет */
  border-color: var(--wd-primary-color);
}

input[type='checkbox']:checked::after {
  content: '\e81e';
  font-family: 'fontello';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

input[type='radio'] {
  border: 1px solid var(--wd-primary-color);
  width: 18px;
  height: 18px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  position: relative;
  vertical-align: -4px;
  border: 1px solid;
  box-sizing: border-box;
  padding: 0;
  vertical-align: middle;
  margin: 0 0 0 3px;
  cursor: pointer;
  border-radius: 50%;
  color: #c3c3c3;
  overflow: visible;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-font-smoothing: inherit;
  background: transparent;
  line-height: normal;
}

.theme-wphome button,
.theme-wphome input[type='button'],
.theme-wphome input[type='submit'],
.theme-wphome a,
.theme-wphome [role='button'] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: all 0.15s ease;
  border-radius: var(--btn-default-brd-radius);
}

.theme-wphome input[type='email'],
.theme-wphome input[type='date'],
.theme-wphome input[type='search'],
.theme-wphome input[type='number'],
.theme-wphome input[type='text'],
.theme-wphome input[type='tel'],
.theme-wphome input[type='url'],
.theme-wphome input[type='password'],
:root textarea,
:root select {
  line-height: 50px;
  font-size: 15px;
  font-weight: 400;
}

.theme-wphome [class*='form'] :is(a.button, button) {
  border-radius: var(--wd-form-brd-radius);
}

.theme-wphome .checkout_coupon input,
.theme-wphome .wd-wtl-form-fields input {
  background-color: #fff;
}

.theme-wphome :is(input, textarea)::placeholder {
  color: #494949;
  vertical-align: middle;
}

.theme-wphome .wd-close-side.wd-close-side-opened,
.theme-wphome .mfp-bg.mfp-ready,
.theme-wphome .mfp-wrap.mfp-ready .mfp-container {
  cursor:
    url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMyIDMyIiBoZWlnaHQ9IjMycHgiIGlkPSLQodC70L7QuV8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMycHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwYXRoIGQ9Ik0xNy40NTksMTYuMDE0bDguMjM5LTguMTk0YzAuMzk1LTAuMzkxLDAuMzk1LTEuMDI0LDAtMS40MTRjLTAuMzk0LTAuMzkxLTEuMDM0LTAuMzkxLTEuNDI4LDAgIGwtOC4yMzIsOC4xODdMNy43Myw2LjI4NGMtMC4zOTQtMC4zOTUtMS4wMzQtMC4zOTUtMS40MjgsMGMtMC4zOTQsMC4zOTYtMC4zOTQsMS4wMzcsMCwxLjQzMmw4LjMwMiw4LjMwM2wtOC4zMzIsOC4yODYgIGMtMC4zOTQsMC4zOTEtMC4zOTQsMS4wMjQsMCwxLjQxNGMwLjM5NCwwLjM5MSwxLjAzNCwwLjM5MSwxLjQyOCwwbDguMzI1LTguMjc5bDguMjc1LDguMjc2YzAuMzk0LDAuMzk1LDEuMDM0LDAuMzk1LDEuNDI4LDAgIGMwLjM5NC0wLjM5NiwwLjM5NC0xLjAzNywwLTEuNDMyTDE3LjQ1OSwxNi4wMTR6IiBmaWxsPSIjZmZmIiBpZD0iQ2xvc2UiLz48Zy8+PGcvPjxnLz48Zy8+PGcvPjxnLz48L3N2Zz4=)
      16 16,
    pointer;
}

.theme-wphome form input:not([type='radio'], [type='checkbox'], .qty) {
  border: 1px solid #f8f8f8;
  transition: all 0.2s ease 0s;
  color: #000;
  line-height: 1.1;
}

.theme-wphome form .wph-active input:not([type='radio'], [type='checkbox'], [type='button'], .qty) {
  padding-top: 12px;
}

.theme-wphome input:not([type='radio'], [type='checkbox']):focus {
  border-color: #9cf5ff;
}

.theme-wphome .wd-popup {
  cursor: initial;
  max-height: 700px;
  margin: 80px auto 20px auto;
}

.theme-wphome p > a {
  text-decoration: underline;
}

.wph-address-phone {
  direction: ltr;
  text-align: right;
}

.theme-wphome .wd-notice:before,
.theme-wphome div.wpcf7-response-output:before,
.theme-wphome .mc4wp-alert:before,
.theme-wphome ul:is(.woocommerce-error, .woocommerce-message, .woocommerce-info):before {
  right: 15px;
}

.theme-wphome ul:is(.woocommerce-error)::before {
  color: #ca1919;
}

.woocommerce-notices-wrapper {
  position: absolute !important;
  top: var(--wph-notices-top, 120px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 9999 !important;
  width: var(--wd-container-w, 1140px) !important;
  max-width: calc(100% - 40px) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.woocommerce-notices-wrapper .wph-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background-color: var(--btn-accented-bgcolor);
  padding: 7px 10px;
  line-height: 1;
  color: #fff;
  min-height: unset;
}

.wph-header-wishlist {
  margin-inline-end: 5px;
  position: relative;
  --wd-header-el-color: #333;
  --wd-header-el-color-hover: rgba(51, 51, 51, 0.6);
  --wd-tools-icon-base-width: 20px;
}

ul.woosw-header-menu,
li.woosw-menu-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wd-header-text.wph-header-wishlist-wrapper {
  padding-inline: 0px;
}

.wph-header-wishlist li.woosw-menu-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: var(--wd-header-el-color);
  line-height: 1;
  padding-inline: 10px;
}

.wph-header-wishlist li.woosw-menu-item a:hover {
  color: var(--wd-header-el-color-hover);
}

.wph-header-wishlist li.woosw-menu-item a::before {
  content: '\f106';
  font-family: 'woodmart-font';
  font-size: 24px;
}

.wph-header-wishlist .woosw-menu-item-inner {
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 3px;
  inset-inline-end: 0px;
}

.wph-header-wishlist .woosw-menu-item .woosw-menu-item-inner:after {
  content: attr(data-count);
  text-indent: 0;
  top: 0px;
  right: 0px;
  background-color: var(--wd-primary-color);
  color: #fff;
  font-size: 9px;
}

/* Smooth positioning transitions */

.wph-floating-notices {
  transition: top 0.3s ease-out !important;
}

/* Enhanced notice styling for floating mode */

.wph-floating-notices .woocommerce-error,
.wph-floating-notices .woocommerce-message,
.wph-floating-notices .woocommerce-info {
  margin-bottom: 10px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border-radius: 4px !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.4s ease-out !important;
}

/* Animation for new notices */

.wph-floating-notices .woocommerce-error:not(.wph-notice-handled),
.wph-floating-notices .woocommerce-message:not(.wph-notice-handled),
.wph-floating-notices .woocommerce-info:not(.wph-notice-handled) {
  opacity: 0 !important;
  transform: translateY(-20px) !important;
  animation: wphSlideInNotice 0.4s ease-out forwards !important;
}

@keyframes wphSlideInNotice {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/** Header START */

.theme-wphome .wd-heading .title {
  font-size: 150%;
  text-align: center;
}

.theme-wphome .whb-header .wd-tools-element .wd-tools-icon:before {
  font-size: 24px;
}

.theme-wphome .wd-header-mobile-nav.wd-design-1 .wd-tools-icon {
  flex-wrap: wrap;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  transition: all 0.25s ease;
}

.theme-wphome .wd-header-mobile-nav.wd-design-1 .wd-tools-icon::before {
  content: '';
  font-family: none;
  width: 25px;
  height: 2px;
  border-radius: 50px;
  background-color: #000;
}

.theme-wphome .wd-header-mobile-nav.wd-design-1 .wd-tools-icon::after {
  content: '';
  font-family: none;
  width: 17px;
  height: 2px;
  border-radius: 50px;
  background-color: #000;
}

.theme-wphome .wd-header-mobile-nav.wd-style-text.wd-design-1 .wd-tools-text {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-inline-start: 5px;
  color: #000;
}

.theme-wphome .wd-side-hidden {
  display: flex;
  flex-direction: column;
}

.theme-wphome .menu.wd-drilldown-slide {
  flex: 1 1 auto;
  height: 100% !important;
  max-height: 100% !important;
}

/** Управление скроллом drill-down меню START */

.theme-wphome .mobile-nav,
.theme-wphome .mobile-nav ul {
  overflow: hidden;
  overflow-y: hidden;
}

.theme-wphome .mobile-nav,
.theme-wphome .mobile-nav ul:not(.wd-drilldown-hide) {
  overflow: hidden;
  overflow-y: auto;
}

.theme-wphome .mobile-nav ul.wd-scroll-active {
  overflow-y: auto !important;
}

/** Управление скроллом drill-down меню END */

.theme-wphome .wd-drilldown-slide .menu-item > [class*='sub-menu'] {
  max-height: 100%;
  height: 100%;
  background-color: inherit;
  color: inherit;
}

.theme-wphome .wd-side-hidden.wd-opened {
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
}

.theme-wphome .mobile-nav .wd-heading::before {
  content: '';
  display: block;
  width: 120px;
  height: 35px;
  background-image: url('https://nirogic.com/wp-content/uploads/2026/01/nirogic-logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
  flex: 1 1 auto;
}

.theme-wphome .wd-side-hidden.wd-left.wd-opened .wd-heading .close-side-widget.wd-action-btn,
.theme-wphome .wd-left .mfp-ready button.mfp-close {
  transform: translate(50%, 0);
}

.theme-wphome .wd-side-hidden.wd-opened .wd-heading .close-side-widget.wd-action-btn {
  transform: translate(-50%, 0);
}

.theme-wphome .wd-side-hidden.wd-left .wd-heading .close-side-widget.wd-action-btn,
.theme-wphome .wd-left .mfp-ready button.mfp-close {
  left: auto;
  right: 0;
}

.theme-wphome .wd-heading .close-side-widget.wd-action-btn {
  position: absolute;
  left: 0;
  right: auto;
  transform: translate(0, 0);
}

.theme-wphome .wd-heading .close-side-widget.wd-action-btn > a {
  text-indent: -9999px !important;
  opacity: 1;
  border: 2px solid var(--wd-primary-color);
  width: 45px;
  height: 45px;
  font-size: 20px;
  color: var(--wd-action-color, var(--color-gray-800));
  background-color: #fff;
  border-radius: 50%;
  overflow: hidden;
  transition: none;
}

.theme-wphome .wd-heading .close-side-widget.wd-action-btn > a::before {
  content: '\e819';
  font-family: 'fontello';
  text-indent: 0 !important;
  margin: 0;
}

.theme-wphome .wd-side-hidden.wd-left .wd-heading .close-side-widget.wd-action-btn > a::before,
.theme-wphome .wd-side-hidden.wd-left .mfp-ready button.mfp-close:before {
  content: '\e818';
}

.theme-wphome .mobile-nav .wd-heading {
  border-bottom: 2px solid #f0f0f0;
}

.theme-wphome .wd-nav-mobile > li > a,
.theme-wphome .wd-nav-mobile > li > ul li > a {
  border-bottom: 1px solid #f0f0f0;
  letter-spacing: 1px;
}

.theme-wphome .wd-nav-mobile li.current-menu-item > a,
.theme-wphome .wd-nav-mobile li a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.theme-wphome .wd-nav-mobile li a:focus,
.theme-wphome .wd-nav-mobile li a:active {
  background: none;
}

.theme-wphome .mobile-nav .wd-nav-opener {
  border-right: none;
  border-bottom: 1px solid #f0f0f0;
}

.theme-wphome .wd-drilldown-back .wd-nav-opener {
  border-inline-end: none;
  border-inline-start: none;
}

.theme-wphome .mobile-nav .wd-nav-opener:after {
  font-size: 14px;
}

/** Анимация кнопки закрытия в зависимости от позиции START */

.theme-wphome .wd-right .wd-heading .close-side-widget.wd-action-btn > a {
  transform: translateX(25px);
  /* Справа налево для .wd-right */
  opacity: 0;
  transition: none;
  /* Без анимации при закрытии */
}

.theme-wphome .wd-left .wd-heading .close-side-widget.wd-action-btn > a {
  transform: translateX(-25px);
  /* Слева направо для .wd-left */
  opacity: 0;
  transition: none;
  /* Без анимации при закрытии */
}

/* Анимация при открытии для .wd-right */

.theme-wphome .wd-right.wd-opened .wd-heading .close-side-widget.wd-action-btn > a,
.theme-wphome .mfp-ready.mfp-bg button.mfp-close {
  transform: translateX(0);
  opacity: 1;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s ease;
  transition-delay: 0.15s;
}

/* Анимация при открытии для .wd-left */

.theme-wphome .wd-left.wd-opened .wd-heading .close-side-widget.wd-action-btn > a {
  transform: translateX(0);
  opacity: 1;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s ease;
  transition-delay: 0.15s;
}

/** Анимация кнопки закрытия в зависимости от позиции END */

/** Анимация появления 20 элементов мобильного меню в зависимости от позиции START */

/* Базовое состояние для .wd-right (справа налево) */

.theme-wphome .mobile-nav.wd-right .menu-item > a > .nav-link-text {
  transform: translateX(100px);
  opacity: 0;
  transition: none;
  /* Без анимации при закрытии */
}

/* Базовое состояние для .wd-left (слева направо) */

.theme-wphome .mobile-nav.wd-left .menu-item > a > .nav-link-text {
  transform: translateX(-100px);
  opacity: 0;
  transition: none;
}

/* Анимация при открытии для .wd-right */

.theme-wphome .mobile-nav.wd-right.wd-opened .menu-item > a > .nav-link-text {
  transform: translateX(0);
  opacity: 1;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s ease;
  transition-delay: 0.15s;
}

/* Анимация при открытии для .wd-left */

.theme-wphome .mobile-nav.wd-left.wd-opened .menu-item > a > .nav-link-text {
  transform: translateX(0);
  opacity: 1;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s ease;
  transition-delay: 0.15s;
}

/* Поочередная анимация с задержкой для 20 элементов - работает для обеих сторон */

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(1) > a > .nav-link-text {
  transition-delay: 0.05s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(2) > a > .nav-link-text {
  transition-delay: 0.1s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(3) > a > .nav-link-text {
  transition-delay: 0.15s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(4) > a > .nav-link-text {
  transition-delay: 0.2s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(5) > a > .nav-link-text {
  transition-delay: 0.25s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(6) > a > .nav-link-text {
  transition-delay: 0.3s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(7) > a > .nav-link-text {
  transition-delay: 0.35s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(8) > a > .nav-link-text {
  transition-delay: 0.4s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(9) > a > .nav-link-text {
  transition-delay: 0.45s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(10) > a > .nav-link-text {
  transition-delay: 0.5s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(11) > a > .nav-link-text {
  transition-delay: 0.55s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(12) > a > .nav-link-text {
  transition-delay: 0.6s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(13) > a > .nav-link-text {
  transition-delay: 0.65s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(14) > a > .nav-link-text {
  transition-delay: 0.7s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(15) > a > .nav-link-text {
  transition-delay: 0.75s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(16) > a > .nav-link-text {
  transition-delay: 0.8s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(17) > a > .nav-link-text {
  transition-delay: 0.85s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(18) > a > .nav-link-text {
  transition-delay: 0.9s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(19) > a > .nav-link-text {
  transition-delay: 0.95s;
}

.theme-wphome .mobile-nav.wd-opened .menu-item:nth-child(20) > a > .nav-link-text {
  transition-delay: 1s;
}

/** Анимация появления 20 элементов мобильного меню в зависимости от позиции END */

.theme-wphome .wd-nav-mobile > li > :is(.wd-sub-menu, .sub-sub-menu).wd-drilldown-show > .wd-drilldown-back,
.theme-wphome .wd-nav-mobile > li > ul li > :is(.wd-sub-menu, .sub-sub-menu).wd-drilldown-show > .wd-drilldown-back {
  position: sticky;
  top: 0;
  right: 0;
  z-index: 9;
  background-color: #f5f5f5;
}

@media (min-width: 1025px) {
  .theme-wphome .wd-header-mobile-nav.wd-design-1 .wd-tools-icon {
    gap: 7px;
  }
  .theme-wphome .wd-header-mobile-nav.wd-design-1 .wd-tools-icon::before {
    height: 2px;
    width: 25px;
  }
  .theme-wphome .wd-header-mobile-nav.wd-design-1 .wd-tools-icon::after {
    height: 2px;
    width: 35px;
  }
  .theme-wphome .wd-header-mobile-nav.wd-design-1 .wd-tools-icon {
    align-items: flex-start;
  }
  .theme-wphome .wd-header-mobile-nav.wd-style-text.wd-design-1 .wd-tools-text {
    margin-inline-start: 15px;
  }
  .theme-wphome .wd-heading .close-side-widget.wd-action-btn > a {
    width: 55px;
    height: 55px;
  }
  .theme-wphome .wd-nav.wd-layout-drilldown .wd-nav-opener:hover {
    background-color: var(--color-gray-200);
    color: unset;
  }
  .theme-wphome .wd-notice,
  .theme-wphome div.wpcf7-response-output,
  .theme-wphome .mc4wp-alert,
  .theme-wphome :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
    padding-inline: 60px;
  }
}

/** Красивый дизайн скролла для мобильного меню START */

.theme-wphome .mobile-nav {
  /* Webkit браузеры (Chrome, Safari, Edge) */
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
}

.theme-wphome .mobile-nav::-webkit-scrollbar {
  width: 6px;
}

.theme-wphome .mobile-nav::-webkit-scrollbar-track {
  background: transparent;
}

.theme-wphome .mobile-nav::-webkit-scrollbar-thumb {
  background: #e2e2e2;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.theme-wphome .mobile-nav::-webkit-scrollbar-thumb:hover {
  background: #e2e2e2;
}

.theme-wphome .mobile-nav::-webkit-scrollbar-thumb:active {
  background: #e2e2e2;
}

/* Скрыть скролл в состоянии покоя */

.theme-wphome .mobile-nav::-webkit-scrollbar-thumb {
  background: transparent;
}

.theme-wphome .mobile-nav:hover::-webkit-scrollbar-thumb {
  background: #000;
}

/** Красивый дизайн скролла для мобильного меню END */

.theme-wphome .product-thumbnail a,
.theme-wphome .cart-info {
  position: relative;
}

.theme-wphome .woocommerce-mini-cart-item .cart-info .wph-mini-cart-price {
  position: absolute;
  bottom: 5px;
  left: 20px;
  font-size: 16px;
  color: var(--wd-alternative-color);
}

.theme-wphome .woocommerce-mini-cart-item .cart-info .wph-mini-cart-price del .amount {
  color: var(--wd-primary-color);
  font-size: 85%;
}

.theme-wphome .product-thumbnail a,
.theme-wphome .woocommerce-mini-cart-item .cart-item-image {
  overflow: visible;
}

.theme-wphome .wd-checkout-prod-img a {
  display: flex;
  position: relative;
}

.theme-wphome .woocommerce-cart-form__cart-item .product-thumbnail a .wph-qty-badge,
.theme-wphome .woocommerce-mini-cart-item .cart-item-image .wph-qty-badge,
.theme-wphome .wd-checkout-prod-img a .wph-qty-badge {
  position: absolute;
  display: flex;
  justify-content: center;
  font-size: 12px;
  line-height: 20px;
  top: -3px;
  right: -3px;
  width: 20px;
  height: 20px;
  color: #fff;
  background-color: var(--wd-primary-color);
  border-radius: 50px;
}

.theme-wphome .woocommerce-cart-form__cart-item:nth-child(even),
.theme-wphome .cart_list .woocommerce-mini-cart-item:nth-child(even) {
  background-color: #f2f2f2;
}

/** Header END */

/** Shop Page START */

.theme-wphome .wd-product.wd-hover-standard .product-element-bottom {
  gap: 7px !important;
  position: relative;
  align-items: flex-start;
  text-align: right;
}

.theme-wphome .wd-product .star-rating {
  align-self: flex-start;
}

.theme-wphome .wd-product.wd-hover-standard .product-element-bottom .wd-add-btn {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-4px, -50px);
}

.theme-wphome .wd-product.wd-hover-standard .product-element-bottom .wd-add-btn > a {
  gap: 0;
  height: 44px;
  width: 44px;
  padding: 2px;
  border-radius: 50%;
  overflow: visible !important;
  border: unset;
  background-color: var(--wd-alternative-color);
}

.theme-wphome .wd-product.wd-hover-standard .product-element-bottom .wd-add-btn > a span {
  display: none;
}

@media (min-width: 1025px) {
  .theme-wphome .wd-product.wd-hover-standard .product-element-bottom .wd-add-btn {
    transform: translate(10px, -66px);
  }
  .theme-wphome .wd-product.wd-hover-standard .product-element-bottom .wd-add-btn > a span {
    display: block;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 36px;
    padding-left: 0;
    line-height: 44px;
    text-align: center;
    text-transform: uppercase;
    padding: 0 3px;
    font-size: 110%;
    font-weight: bold;
    color: transparent;
    background: var(--wd-alternative-color);
    white-space: nowrap;
    overflow: hidden;
    -webkit-border-radius: 36px;
    -moz-border-radius: 36px;
    border-radius: 36px;
    -webkit-transition: all 350ms ease;
    -moz-transition: all 350ms ease;
    -o-transition: all 350ms ease;
    transition: all 350ms ease;
  }
  .theme-wphome .wd-product.wd-hover-standard .product-element-bottom .wd-add-btn > a:hover span {
    visibility: visible;
    opacity: 1;
    width: 156px;
    padding-left: 36px;
    color: #fff;
  }
  .theme-wphome .wd-product.wd-hover-standard .wd-add-btn-replace .add-to-cart-loop:hover span {
    transform: unset;
  }
}

.theme-wphome .wd-product.wd-hover-standard .wd-add-btn-replace .add-to-cart-loop:before {
  content: '';
  display: none;
}

.theme-wphome .wd-product.wd-hover-standard .wd-add-btn-replace .add-to-cart-loop:after {
  content: '\f123';
  font-family: 'woodmart-font';
  font-size: 155%;
  font-weight: 400;
  position: relative;
  top: 0;
  inset-inline-start: unset;
  opacity: 1;
  transition: unset;
  display: inline-block;
  height: 100%;
  width: 100%;
  line-height: 40px;
  background: #fff;
  color: #333333;
  pointer-events: none;
  border: 0;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  border-left-color: none;
  vertical-align: middle;
  animation: none;
}

/* Контейнер прогресс-бара */

.progress-container {
  text-align: center;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding-top: 45px;
}

/* Текст с количеством просмотренных товаров */

.progress-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

/* Общий фон шкалы прогресса */

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

/* Заполнение прогресс-бара */

.progress-fill {
  height: 100%;
  background-color: var(--wd-alternative-color);
  width: 0%;
  transition: width 0.3s ease-in-out;
}

.theme-wphome .wd-product .product-image-link {
  padding-bottom: 110%;
  height: 100%;
  width: 100%;
}

.theme-wphome .wd-product:not(.wd-hover-small) :is(.product-image-link, .theme-wphome .hover-img) img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.theme-wphome .woocommerce-product-gallery img,
.theme-wphome .wd-product:not(.wd-hover-small) :is(.product-image-link, .theme-wphome .hover-img) img {
  background-color: #fff;
  filter: brightness(0.97);
  -webkit-filter: brightness(0.97);
}

.product-element-bottom .wph-unit-price-variable-wrapper,
.product-element-top .wph-unit-price-variable-wrapper,
.theme-wphome .stock.in-stock,
.product-element-bottom .wph-sale-date-wrapper,
.product-element-top .wph-sale-date-wrapper {
  display: none;
}

.product-element-top .wph-sale-date-wrapper.active {
  display: block;
}

.products .product-element-top .wph-sale-date-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  z-index: 10;
  padding: 3px 7px;
  background-color: var(--wd-primary-color);
  color: #fff;
  font-size: clamp(8px, calc(8px + 4 * ((100vw - 320px) / 448)), 12px);
  border-radius: 0px 8px 0px 8px;
}

.theme-wphome .product-labels {
  inset-inline-start: 5px;
}

.theme-wphome .product-labels {
  position: absolute;
  top: 7px;
  inset-inline-start: 5px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  max-width: 50%;
  transition: all 0.3s ease;
  transform: translateZ(0);
}

.product-element-top .wph-sale-date-wrapper.active ~ .product-labels {
  top: clamp(20px, calc(20px + 5 * ((100vw - 320px) / 448)), 25px);
}

.product-label {
  padding: 5px 10px;
  min-width: 50px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  word-break: break-all;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
}

.product-labels.labels-rounded .product-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  min-height: 50px;
  border-radius: 35px;
  font-size: 14px;
}

.product-label.onsale {
  background-color: var(--wd-primary-color);
  direction: ltr;
}

.theme-wphome .woosw-btn {
  position: relative;
}

.theme-wphome .summary .woosw-btn {
  border-radius: 0px;
  color: var(--wd-link-color);
  background-color: #fff;
  text-transform: initial;
  font-weight: inherit;
  gap: 5px;
}

.theme-wphome .summary .woosw-btn:hover {
  color: var(--wd-link-color);
  background-color: #fff;
}

.theme-wphome .summary .woosw-btn:hover .woosw-btn-text {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.theme-wphome .product-grid-item .woosw-btn {
  position: absolute;
  top: -45px;
  right: 5px;
  --wd-tooltip-bg: rgba(0, 0, 0, 0.9);
  --wd-tooltip-color: #fff;
}

.theme-wphome .product-grid-item .woosw-btn .woosw-btn-icon {
  font-size: 18px;
  padding: 5px;
}

.theme-wphome .product-grid-item .woosw-btn .woosw-btn-text {
  padding: 7px 15px;
  width: max-content;
  max-width: 200px;
  text-transform: none;
  font-weight: 400;
  font-size: 12px;
  line-height: var(--wd-text-line-height);
  background-color: var(--wd-tooltip-bg);
  color: var(--wd-tooltip-color);
  text-align: center;
  word-break: break-word;
  border-radius: calc(var(--wd-brd-radius) / 1.5);
  position: absolute;
  z-index: 1110;
  opacity: 0;
  pointer-events: none;
  right: 33px;
  transition: opacity 0.3s ease 0s;
}

.theme-wphome .product-grid-item .woosw-btn .woosw-btn-text::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--wd-tooltip-bg);
  top: 50%;
  left: calc(100% - 1px);
  clip-path: polygon(0 0, 50% 50%, 0 100%);
  transform: translateY(-50%);
}

@media (min-width: 1025px) {
  .theme-wphome .product-grid-item .woosw-btn:hover .woosw-btn-text {
    opacity: 1;
  }

  .theme-wphome .product-grid-item .woosw-btn {
    top: -50px;
    right: 8px;
  }
}

.products .outofstock .onsale.product-label,
.products .wd-product .wph-product-quantity-info,
.products .wd-product .wph-unit-price-variable-wrapper,
.products .wd-product .wph-discount-badge,
.theme-wphome .variations_form.wd-quick-shop-2 table.variations tbody > tr:not(:first-child) {
  display: none !important;
}
/** Shop Page END */

/** Product Page Start */

.theme-wphome .plus-price {
  color: #0f743b;
  font-weight: 600;
}

.theme-wphome .amout {
  letter-spacing: -0.6px;
}

.theme-wphome .price {
  display: flex;
  gap: 0 7px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.theme-wphome .price del,
.theme-wphome del .amount {
  color: var(--color-gray-500);
}

.theme-wphome .wph-discount-badge {
  font-size: 15px;
  color: #000;
  background-color: #a0e193;
  padding: 4px 10px;
  border-radius: 15px;
  margin-inline-start: 5px;
  align-self: center;
}

.wph-sale-date-wrapper {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  font-size: 17px;
  font-weight: 600;
  color: #0f7439;
  max-height: 5px;
  transition: all 0.4s ease 0s;
}

.summary .wph-sale-date-wrapper {
  margin-top: -15px;
  padding-bottom: 10px;
}

.theme-wphome .summary form.cart {
  margin-top: 20px;
}

.theme-wphome div.quantity {
  display: flex;
  justify-content: flex-start;
  flex: 1 1 100%;
  height: 35px;
}

.theme-wphome .variations td.not-selected .wd-swatch,
.theme-wphome .variations td.not-selected > select {
  box-shadow: 0px 0px 2px 1px #ff0d00;
}

.theme-wphome .wd-gallery-images .onsale.product-label {
  display: none;
}

.theme-wphome .woocommerce-mini-cart div.quantity,
.theme-wphome .woocommerce-cart-form div.quantity,
.theme-wphome .woocommerce-checkout-review-order-table div.quantity {
  height: 27px;
}

.theme-wphome .woocommerce-mini-cart div.quantity {
  margin-top: 12px;
}

.theme-wphome div.quantity input[type='button'] {
  flex: 1 1 45px;
  max-width: 45px;
  height: inherit;
  border: 1px solid var(--btn-default-bgcolor-hover);
  font-family: monospace;
}

.theme-wphome .woocommerce-mini-cart div.quantity input[type='button'],
.theme-wphome .woocommerce-cart-form div.quantity input[type='button'],
.theme-wphome .woocommerce-checkout-review-order-table div.quantity input[type='button'] {
  flex: 1 1 30px;
  max-width: 30px;
}

.theme-wphome div.quantity .plus {
  border-start-end-radius: var(--btn-accented-brd-radius);
  border-end-end-radius: var(--btn-accented-brd-radius);
  border-right: 0 !important;
}

.theme-wphome div.quantity .minus {
  border-start-start-radius: var(--btn-accented-brd-radius);
  border-end-start-radius: var(--btn-accented-brd-radius);
  border-left: 0 !important;
}

.theme-wphome div.quantity input[type='number'] {
  width: unset;
  min-width: 30px;
  flex: 1 1 65px;
  max-width: 65px;
  height: inherit;
  border: 1px solid var(--btn-default-bgcolor-hover);
  border-right: 0;
  border-left: 0;
}

.theme-wphome .woocommerce-mini-cart div.quantity input[type='number'],
.theme-wphome .woocommerce-cart-form div.quantity input[type='number'],
.theme-wphome .woocommerce-checkout-review-order-table div.quantity input[type='number'] {
  width: unset;
  max-width: 45px;
  flex: 1 1 45px;
}

.theme-wphome div.quantity input[type='button']:hover {
  color: inherit;
  background-color: inherit;
  border-color: inherit;
}

.theme-wphome div.quantity input[type='button']:active {
  color: #fff;
  background-color: var(--wd-alternative-color);
  border-color: var(--wd-alternative-color);
}

@media (hover: hover) and (pointer: fine) {
  .theme-wphome div.quantity input[type='button']:hover {
    color: #fff;
    background-color: var(--wd-alternative-color);
    border-color: var(--wd-alternative-color);
    transition: all 0.2s ease;
  }
}

.wph-product-quantity-info {
  opacity: 0;
  visibility: hidden;
  max-height: 5px;
  font-size: 16px;
  font-weight: 600;
  color: #626262;
  transition: all 0.4s ease 0s;
}

.wph-unit-price-display-simple,
.wph-unit-price-display {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 4px;
  font-size: 16px;
  color: #000;
  opacity: 0;
  visibility: hidden;
  max-height: 5px;
}

.wph-unit-price-display-simple.active,
.wph-sale-date-wrapper.active,
.wph-unit-price-display.active,
.wph-product-quantity-info.active {
  opacity: 1;
  visibility: visible;
  max-height: 100%;
}

.theme-wphome .summary .single_add_to_cart_button {
  font-size: 16px;
  line-height: 2;
  flex: 1 1 auto;
}

.theme-wphome .wd-accordion-title:hover,
.theme-wphome .wd-accordion-title.wd-active {
  background-color: #c19b96;
}

.theme-wphome .wd-accordion-opener {
  color: inherit;
}

.theme-wphome .wd-accordion .wd-accordion-item {
  overflow: hidden;
}

#reviews {
  scroll-margin-top: 80px;
}

.wph-rating-container-no-reviews,
.wph-custom-rating {
  display: flex;
  color: var(--wd-link-color);
  align-items: flex-end;
  gap: 5px;
  line-height: 1.2;
}

.wph-custom-rating .wph-average-rating::after {
  content: '\f148';
  font-family: 'woodmart-font';
  margin-left: 3px;
  font-size: 18px;
}

.wph-custom-rating.wph-has-reviews .wph-average-rating::after {
  color: #f19d27;
}

.wph-custom-rating.wph-no-reviews::after {
  content: '\f149';
  font-family: 'woodmart-font';
  color: var(--color-gray-300);
  font-size: 18px;
}
/** Product Page END */

@media (min-width: 1025px) {
  .theme-wphome .wd-side-hidden {
    --wd-side-hidden-w: 450px;
  }
}

@media (max-width: 1024px) {
  .theme-wphome .wd-side-hidden {
    --wd-side-hidden-w: min(350px, 85vw);
  }
}

/** Cart Page Start */

@media (max-width: 768.98px) {
  .theme-wphome .shop-table-with-img td.product-thumbnail {
    overflow: visible;
  }
  .theme-wphome .single-product-page .thumbs-position-left .wd-gallery-thumb {
    display: none;
  }

  .theme-wphome .single-product-page .thumbs-position-left.wd-has-thumb .wd-gallery-images {
    max-width: 100%;
  }

  .theme-wphome .single-product-page .woocommerce-product-gallery.thumbs-position-left .woocommerce-product-gallery__image,
  .theme-wphome .single-product-page .woocommerce-product-gallery.thumbs-position-left .wd-carousel,
  .theme-wphome .single-product-page .woocommerce-product-gallery.thumbs-position-left img {
    border-radius: 0;
  }

  .theme-wphome .product-additional-galleries {
    bottom: 25px;
  }
}

.theme-wphome td.product-remove a:before,
.theme-wphome .woocommerce-remove-coupon:before,
.theme-wphome .woocommerce-mini-cart .remove:after,
.theme-wphome .wd-checkout-remove-btn:after {
  font-size: 14px;
  content: '\e88e';
  font-family: 'fontello';
}

.theme-wphome .shop_table tr :is(td, th):last-child {
  padding-inline-end: 12px;
}

.theme-wphome .woocommerce-cart-form__cart-item .product-subtotal {
  font-size: 15px;
  margin-top: 5px;
}

.theme-wphome .woocommerce-cart-form__cart-item .product-subtotal::before {
  font-size: 14px;
  font-weight: 500;
}

.wph-subtotal-wrap {
  display: flex;
  flex: 1;
  flex-flow: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  line-height: 1;
  gap: 10px 5px;
}

.wph-regular-subtotal .amount {
  font-size: 90%;
  color: #787878;
  text-decoration: line-through;
}
.wph-savings-wrap {
  flex: 1 1 auto;
  width: 100%;
}

.wph-savings-wrap .wph-savings {
  font-size: 11px !important;
  padding: 0px 10px;
  border: 1px solid;
  border-radius: 6px;
}

.wph-savings-wrap .wph-savings bdi,
.wph-savings-wrap .wph-savings span {
  font-size: 11px !important;
}

.wph-savings-wrap .wph-savings span.woocommerce-Price-currencySymbol {
  font-size: 9px !important;
}

.theme-wphome td.product-quantity > span.product-remove {
  min-width: auto;
  margin-top: 5px;
  padding: 0px 10px;
}

@media (max-width: 768.98px) {
  .theme-wphome .woocommerce-cart-form div.quantity {
    margin-top: 0px;
    flex: 1;
  }
  .theme-wphome td.product-quantity > span.product-remove {
    flex: 1 1 auto;
  }

  .theme-wphome .shop_table_responsive :is(td.product-price, td.product-subtotal) {
    justify-content: flex-end;
  }

  .theme-wphome .shop-table-with-img tr {
    margin-bottom: 0;
    padding-top: 15px;
    padding-left: 15px;
    padding-inline-start: 125px;
  }

  .theme-wphome .shop-table-with-img td.product-thumbnail {
    top: 15px;
    inset-inline-start: 15px;
  }
}
@media (min-width: 769px) {
  .theme-wphome .woocommerce-product-gallery .wd-nav-pagin-wrap {
    display: none;
  }
}

.theme-wphome .cart-totals-inner table .cart-subtotal .amount {
  font-size: 18px;
  color: var(--wd-primary-color);
  font-weight: 600;
}

.theme-wphome .shop_table:not(.order_details) tr[class*='coupon'] td {
  display: flex;
  gap: 5px;
  direction: ltr;
}

.theme-wphome .shop_table:not(.order_details) tr[class*='coupon'] td .woocommerce-remove-coupon {
  width: auto;
  height: auto;
  font-size: 12px;
  margin-left: 5px;
}

.theme-wphome .shop_table:not(.order_details) tr[class*='coupon'] td .woocommerce-remove-coupon::before {
  content: '';
}
/** Cart Page END */

/** Checkout Page START */
body.theme-wphome #wfacp-sec-wrapper .wfacp_main_form.woocommerce .woocommerce-error li {
  text-align: right;
}

.theme-wphome .woocommerce-checkout .form-row {
  margin-bottom: 25px;
  position: relative;
}

.theme-wphome .checkout-inline-error-message {
  font-size: 12px;
  position: absolute;
  transform: translateY(-15%);
  line-height: 1.2;
}

.theme-wphome :is(.woocommerce-checkout > .checkout-order-review, .woocommerce-order-pay #order_review) {
  background-color: var(--wd-form-bg);
}

.theme-wphome .wd-notice,
.theme-wphome div.wpcf7-response-output,
.theme-wphome .mc4wp-alert,
.theme-wphome :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
  padding-inline: 40px;
}

.wph-single-country #billing_country_field {
  display: none;
}

@media (min-width: 1025px) {
  .theme-wphome .wd-notice,
  .theme-wphome div.wpcf7-response-output,
  .theme-wphome .mc4wp-alert,
  .theme-wphome :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
    padding-inline: 60px;
  }

  .theme-wphome .wd-notice:before,
  .theme-wphome div.wpcf7-response-output:before,
  .theme-wphome .mc4wp-alert:before,
  .theme-wphome ul:is(.woocommerce-error, .woocommerce-message, .woocommerce-info):before {
    right: 20px;
  }
}

.theme-wphome .wc-proceed-to-checkout .checkout-button,
.theme-wphome .wd-builder-off #place_order {
  font-size: 18px;
  letter-spacing: 0.7px;
}

.wph-shipping-description {
  padding: 20px;
  background-color: #f3f4f7;
}
.wph-shipping-description p,
.wph-shipping-description h4 {
  margin-bottom: 5px;
}

.wph-shipping-methods-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wph-shipping-methods-item {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  position: relative;
}

.wph-shipping-methods-item.wph-shipping-selected label {
  background-color: #f3f4f7;
}

.wph-shipping-methods-item input {
  position: absolute;
  top: 12px;
  right: 10px;
  cursor: pointer;
}

.wph-shipping-methods-item label {
  margin: 0;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  flex: 1;
  padding: 10px 35px 10px 15px;
  cursor: pointer;
  border-radius: var(--wd-brd-radius);
}

.wph-shipping-methods-item.wph-shipping-selected .shipping_method_description_box {
  display: flex;
}

.wph-shipping-methods-item .shipping_method_description_box {
  display: none;
  flex: 1 1 100%;
  width: 100%;
  --wd-tags-mb: 10px;
  position: relative;
  margin-top: 15px;
  padding: 15px;
  background-color: #f3f4f7;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: var(--wd-brd-radius);
}

.wph-shipping-methods-item .shipping_method_description_box::before {
  content: '';
  position: absolute;
  inset-inline-start: 25px;
  bottom: 100%;
  background-color: inherit;
  width: 15px;
  height: 15px;
  clip-path: polygon(50% 50%, 0% 103%, 100% 103%);
}

.theme-wphome .dig_hideccode .digcon .dig_wc_countrycodecontainer {
  display: none !important;
}
/** Checkout Page END */
