/*!
Theme Name: sanhouse
Theme URI: http://underscores.me/
Author: Vladimir Efremov
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sanhouse
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

sanhouse is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
.feedback__body a[href^="tel"] {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

.kama_breadcrumbs a span,
.kama_breadcrumbs a,
.kama_breadcrumbs span {
  text-decoration: none;
  color: #7d7d7d;
  font-size: 14px;
}

span.kb_sep {
  margin-left: 6px;
  margin-right: 3px;
}

.bg-gray {
  background-color: #f4f6f9;
}

.page-id-156 .bg-gray,
.page-id-168 .bg-gray {
  background-color: #ffffff;
}

.pt-40 {
  padding-top: 40px;
}

.contactItem a[href^="tel"] {
  margin: 11px 0 0 0;
  text-decoration: none;
  color: inherit;
}

span.edit-link {
  display: block;
  margin: 20px 0;
}

span.edit-link:before {
  font: normal 20px / 1 dashicons;
  content: "\f464";
  position: relative;
  float: left;
  speak: never;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: none !important;
  margin-right: 6px;
}

nav.woocommerce-breadcrumb {
  margin: 0 0 30px 0;
  display: flex;
  list-style: none;
  padding: 0;
  font-size: 14px;
}

nav.woocommerce-breadcrumb a {
  text-decoration: none;
  color: #7d7d7d;
}

.productBlock__btns input.input-text.qty.text {
  display: none;
}

.productBlock__btns button.single_add_to_cart_button.button.alt {
  height: 52px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 14px 10px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  line-height: 21.86 / 16;
  height: 63px;
  background-color: #4975d6;
  transition: background-color 0.5s ease;
  border: 1px solid #4975d6;
  outline: none;
  cursor: pointer;
  border-radius: 5px;
  gap: 5px;
  width: 100%;
}

.productBlock__btns button.single_add_to_cart_button.button.alt:hover {
  background-color: #3575ff;
}

.productBlock__btns button.single_add_to_cart_button.button.alt:before {
  content: url("/wp-content/themes/sanhouse/assets/img/cart.svg");
  width: 16px;
  height: 16px;
  display: inline-block;
}

.productCard__body_info .cat a {
  margin-bottom: 5px;
  color: #4975d6;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.search-result-item {
  background-color: #f4f6f9;
  display: flex;
  gap: 20px;
  padding: 10px;
  border-radius: 15px;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 118px;
}

.search-result-item a {
  text-decoration: none;
  font-size: 16px;
  color: #252525;
}

.search-result-item h2 {
  margin: 0;
}

.search-result-item img {
  object-fit: contain;
}

.main-template {
  padding-bottom: 118px;
}

.additional-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  background-color: #f4f6f9 !important;
  padding: 20px;
  clear: both;
  max-width: 1370px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
  border-radius: 15px;
}

button.add-to-wishlist {
  width: 22px;
  height: 20px;
  filter: grayscale(100%) opacity(30%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border: 0;
  transition: 0.5s ease;
}

button.add-to-wishlist:hover {
  opacity: 0.7;
}

button.add-to-wishlist {
  cursor: pointer;
  background-image: url(/wp-content/themes/sanhouse/assets/img/heart.svg);
  transition: 0.2s ease;
  border: none;
}

button.add-to-wishlist.added,
button.add-to-wishlist:hover {
  filter: grayscale(0%) opacity(100%);
}

button.add-to-compare {
  cursor: pointer;
  background-image: url(/wp-content/themes/sanhouse/assets/img/compare.svg);
  transition: 0.2s ease;
  border: none;

  width: 22px;
  height: 20px;
  filter: grayscale(100%) opacity(30%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border: 0;
  transition: 0.5s ease;
}

button.add-to-compare.added {
  filter: opacity(100%);
}

button.add-to-compare:hover {
  filter: opacity(70%);
}



#coupon-redeem p {
  display: flex;
  gap: 10px;
}

.cp-item__actions .counter .quantity {
  display: flex;
  align-items: center;
  height: 42px;
}

p.input--wpap {
  display: flex;
  flex-direction: column;
}

.input--wpap label {
  display: inline-block;
  font-size: 14px;
  margin: 0 0 10px 0;
  color: #8b8b8b;
}

span.woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

.input--wpap span input {
  display: block;
  width: 100%;
  padding: 14px 17px 10px 17px;
  border: 1px solid #cfcfcf;
  font-size: 16px;
  border-radius: 5px;
  outline: none;
  background-color: #fff;
  height: 46px;
}

.input--wpap input:focus,
.input--wpap input:active {
  border-color: #008a91;
}

.input--wpap abbr.required {
  display: none;
}

.mb-20 {
  margin-bottom: 20px;
}

button.minus_product,
button.plus_product {
  border: none;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  font-size: 12px;
  color: #000;
  width: 6px;
  height: 100%;
  font-weight: 900;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-content {
  grid-column: span 3;
}

.lk .woocommerce-MyAccount-content .woocommerce-info {
  /*  display: none;*/
}

.lk__sidebar {
  height: 620px;
}

li.woocommerce-MyAccount-navigation-link::before {
  display: block;
  font-size: 14px;
  color: #737373;
  margin-bottom: 8px;
}

li.woocommerce-MyAccount-navigation-link--orders::before {
  content: "Покупки";
}

li.woocommerce-MyAccount-navigation-link--personal-data::before {
  content: "Профиль";
}

li.woocommerce-MyAccount-navigation-link--lk-cart::before {
  content: "Товары";
}

li.woocommerce-MyAccount-navigation-link--service-center::before {
  content: "Помощь";
}

nav.woocommerce-MyAccount-navigation ul {
  padding: 0;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
}

nav.woocommerce-MyAccount-navigation ul li a:hover {
  color: #4975d6;
}

nav.woocommerce-MyAccount-navigation ul li a {
  color: #454545;
  text-decoration: none;
  transition: 0.5s ease;
}

li.woocommerce-MyAccount-navigation-link--edit-account a,
li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: red !important;
  display: none;
}

li.woocommerce-MyAccount-navigation-link--purchase-history::after,
li.woocommerce-MyAccount-navigation-link--promo-codes::after,
li.woocommerce-MyAccount-navigation-link--lk-compare::after {
  display: block;
  content: "";
  width: 100%;
  height: 1px;
  background-color: #ddddec;
  margin-top: 15px;
  margin-bottom: 15px;
}

.woocommerce-MyAccount-navigation-link--orders {
  order: 10;
}

.woocommerce-MyAccount-navigation-link--edit-account {
  order: 220;
}

.woocommerce-MyAccount-navigation-link--customer-logout {
  order: 230;
}

.woocommerce-MyAccount-navigation-link--purchase-history {
  order: 15;
}

.woocommerce-MyAccount-navigation-link--personal-data {
  order: 40;
}

.woocommerce-MyAccount-navigation-link--lk-contacts {
  order: 130;
}

.woocommerce-MyAccount-navigation-link--submit-appeal {
  order: 120;
}

.woocommerce-MyAccount-navigation-link--service-center {
  order: 110;
}

.woocommerce-MyAccount-navigation-link--lk-compare {
  order: 100;
}

.woocommerce-MyAccount-navigation-link--viewed-products {
  order: 90;
}

.woocommerce-MyAccount-navigation-link--lk-favorite {
  order: 80;
}

.woocommerce-MyAccount-navigation-link--lk-cart {
  order: 70;
}

.woocommerce-MyAccount-navigation-link--promo-codes {
  order: 60;
}

.woocommerce-MyAccount-navigation-link--my-organizations {
  order: 50;
}

li.woocommerce-MyAccount-navigation-link.is-active a {
  color: #4975d6;
}

.lk-main-wrap {
  display: grid;
  gap: 20px;
}

.lk-main-wrap a.lk__item {
  color: #454545;
  text-decoration: none;
}

.contacts-departments .contactItem__title {
  font-weight: 500;
  font-size: 20px;
  color: #4975d6;
}

.contactItem__email a {
  color: #989898;
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
}

.contactItem__telefon a {
  color: #454545;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.contacts-departments .contactItem {

  min-height: 196px;

}

.top_header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top_header__wrapper li {
  list-style: none;
}

ul#menu-header-phone>li {
  padding: 8px 0;
}

ul#menu-header-left {
  display: flex;
  gap: 20px;
}

ul#menu-header-left a {
  font-weight: 400;
  font-size: 15px;
  color: #252525;
  text-decoration: none;
}

.header-top-right {
  display: flex;
  gap: 45px;
}

.header__top_v2 {
  background-color: #F6F6F6;
  border-bottom: 2px solid #d9d9d9;
  margin-bottom: 30px;
}

.header__main {
  margin: 0 0 42px;
}

.right-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 21px;
}

.right-menu>li {
  position: relative;
}

.right-menu>li>a {
  display: flex;
  gap: 3px;
  padding: 8px 0px;
  text-decoration: none;
  color: #929292;
  font-weight: 500;
  font-size: 15px;


}

.right-menu>li>a::after {
  content: url("/wp-content/themes/sanhouse/assets/img/arr-down.svg");
  width: 8px;
  height: 7px;


}


.right-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  min-width: 100px;
  z-index: 999;
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 8px;
}

.right-menu .sub-menu li a {
  display: block;
  padding: 4px 9px;
  color: #000;
  text-decoration: none;
  font-weight: 400;
  font-size: 12px;
  white-space: nowrap;
}

.right-menu .sub-menu li:hover {
  background-color: #f0f0f0;
}

.right-menu li:hover>.sub-menu {
  display: block;
}

ul#menu-header-phone a {
  text-decoration: none;
  color: #252525;
  font-weight: 400;
  font-size: 15px;
  position: relative;
  padding-right: 10px;
}

ul#menu-header-phone a::after {
  content: '';
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  background-color: #36DE6E;
  border-radius: 50%;
  right: 0;
  top: 0;
}

.top_header__wrapper ul {
  padding: 0;
  margin: 0;
}

.catalog-page__header_actions button svg {
  fill: #D9D9D9;
  transition: 0.5s ease;
}

.catalog-page__header_actions button.active svg {
  fill: #4975D6;
}

.btn-group {
  display: flex;
  justify-content: space-between;
  gap: 11px;
}

.btn-group button {
  flex: 1;
  height: 42px;
}

.btn-group button.reset {
  background-color: #FF6C6C;
  border: 1px solid #FF6C6C;
}

.btn-group button.reset:hover {
  background-color: #ff4c4c;
}

/* Модальное окно авторизации и регистрации= */
.auth-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.auth-modal label,
p.woocommerce-form-row.woocommerce-form-row--first.form-row.form-row-first {

  color: #8B8B8B;
  font-size: 14px;
  font-weight: 400;
}

label[for="marketing_agree"] {
  color: #252525;
}

.auth-modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 30px;
  border: 1px solid #888;
  width: 100%;
  max-width: 510px;
  position: relative;
  border-radius: 20px;
}

input#marketing_agree {
  width: 16px;
  height: 16px;
  border: 1px solid #666666;
  border-radius: 3px;
  margin: 0;
}

form#customRegisterForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.phone-row label {
  flex: 1;
}

.auth-modal .checkbox-group {
  display: flex;
  gap: 9px;

  font-weight: 400;
  font-size: 14px;


}

.auth-modal .checkbox-group label {
  flex-grow: 2;
}

.auth-close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.auth-form input,
.woocommerce-ResetPassword.lost_reset_password input#user_login {
  display: block;
  height: 46px;
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #BEBFC2;
  border-radius: 10px;
  margin-top: 10px;
}

button#registerBtn,
.auth-form input#wp-submit,
.woocommerce-ResetPassword.lost_reset_password button.woocommerce-Button.button {
  height: 56px;
}

.woocommerce-ResetPassword.lost_reset_password button.woocommerce-Button.button {
  width: 100%;
}

.auth-form input#wp-submit:disabled {
  background-color: #b1b1b1;
  color: #7b7b7b;
}

.auth-form input#wp-submit,
.woocommerce-ResetPassword.lost_reset_password button.woocommerce-Button.button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 14px 10px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  background-color: #4975d6;
  transition: background-color .5s ease;
  border: 1px solid #4975d6;
  outline: none;
  cursor: pointer;
  border-radius: 5px;
  gap: 5px;
}

button#sendSmsBtn {
  background: #EDEDED;
  height: 46px;
  width: 160px;
  font-weight: 600;
  font-size: 14px;

  color: #252525;
  border: none;

  cursor: pointer;
  border-radius: 10px;
}

.auth-switch {
  margin-top: 15px;
  text-align: center;
}

/* Убираем стили для confirm_password */
input[type="password"] {
  margin-bottom: 15px;
  /* Добавляем отступ снизу */
}


.phone-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.acception,
.auth-switch {
  font-weight: 400;
  font-size: 12px;
  color: #737373;
}

.acception a {
  color: #252525;
  text-decoration: none;
}

a.show-login {
  text-decoration: none;
}

#loginForm a {
  color: #252525;
  text-decoration: none;
  font-weight: 400;
  font-size: 12px;
}

input#rememberme {
  display: inline;
  width: auto;
  height: unset;
}


form.woocommerce-ResetPassword.lost_reset_password {
  width: 100%;
  max-width: 510px;
  margin: 0 auto;
  background: #fff;
  padding: 42px;
  border-radius: 20px;
}

#phone_input {
  font-family: monospace;
  /* Для равномерного отображения */
  letter-spacing: 1px;
}

#phone_input::placeholder {
  font-family: sans-serif;
  letter-spacing: normal;
  color: #999;
}

.phone-input {
  font-family: monospace;
  /* Для равномерного отображения */
  letter-spacing: 1px;
  padding: 10px;
  font-size: 16px;
}

.phone-input::placeholder {
  font-family: sans-serif;
  letter-spacing: normal;
  color: #aaa;
}

/* =Модальное окно авторизации и регистрации */
.categoryCard a {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  text-decoration: none;
}

.productCard__price del {
  display: none;
}

.productCard__price ins {
  text-decoration: none !important;
}

/* В корзину аяксом= */
.rv-ajax-cart-notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 16px 20px;
  max-width: 300px;
  transition: all 0.3s ease;
  animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

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

.rv-ajax-cart-notice-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rv-ajax-cart-notice a.rvbtn {
  align-self: flex-start;
  font-size: 14px;
  padding: 6px 12px;
}

.rv-ajax-cart-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: #27ae60;
  transition: width 3s linear;
}

/* =В корзину аяксом */


.wishlist-btn {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.wishlist-btn svg {
  fill: currentColor;
  transition: transform 0.2s ease;
}

.wishlist-btn:hover svg {
  transform: scale(1.1);
}


.megaMenu__column {
  list-style: none;
  margin: 0;
  padding: 0;
  column-gap: 20px;
}

.megaMenu__column li {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}


@media (min-width: 992px) {
  .megaMenu__column {
    column-count: 3;
  }
}


@media (max-width: 991px) {
  .megaMenu__column {
    column-count: 1;
  }
}

.woocommerce-pagination ul.page-numbers {
  list-style: none;
  display: flex;
  gap: 3px;
  justify-content: center;
}

.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 36px;
  height: 36px;
  width: 36px;
  border-radius: 10px;
  border: 1px solid #4975d6;

}

.woocommerce-pagination ul.page-numbers li a {
  text-decoration: none;
  background-color: transparent;
  color: #4975d6;
  transition: 0.5s ease;

}

.woocommerce-pagination ul.page-numbers li span,
.woocommerce-pagination ul.page-numbers li a:hover {
  background-color: #4975d6;
  color: #fff;
}
.comparePage__body_right .swiper-slide {
    
    max-width: 280px;
}

div#compare-products {
    height: 550px;
}

div#compare-products .productCard, div#compare-products  .swiper-slide {
    
    height: 100%;
}

div#compare-products .productCard {
    display: flex;
    flex-direction: column;
}

div#compare-products .productCard__main {
    flex-grow: 1;
}

div#compare-products .productCard__main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#shipping_method label {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
}

#shipping_method li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddddec;
        padding: 20px 0;
}

#shipping_method label {
    display: flex;
    justify-content: space-between;
        padding-left: 25px;
}
ul#shipping_method {
    padding-left: 0;
    margin-left: 0;
}
.open-pvz-btn, .cdek-office-info {
    width: 100%;
        margin-left: 25px;
}
.woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-shipping-methods li {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.woocommerce-shipping-methods li:last-child {
    border-bottom: none;
}

.woocommerce-shipping-methods .deliveryTCBlock__logotype {
    flex: 0 0 135px; 
    display: flex;
    align-items: center;
}

.woocommerce-shipping-methods .delivery_name_wrap {
    flex: 0 0 200px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.woocommerce-shipping-methods .woocommerce-Price-amount.amount {
    flex: 0 0 100px; 
    text-align: right;
    white-space: nowrap;
}

.woocommerce-shipping-methods .delivery-days {
    flex: 0 0 80px; 
}
.orderItem__table thead, .orderItem__table tbody{
  border-bottom: 1px solid #DDDDEC;
}

.lkHistorySingle__table button.add-to-wishlist {
    width: 14px;
    height: 14px;
  }

  mark {
    background-color: transparent;
    
}