/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/* Единый шрифт на всём сайте */
html,
body,
button,
input,
select,
textarea,
optgroup,
.btn,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
h1, h2, h3, h4, h5, h6,
.page-title,
.widget-title,
.sidebar .widget-title,
.entry-title,
.product-name,
.woocommerce-loop-product__title,
.price,
.breadcrumb,
.nav-link,
.menu-item a,
#header,
#footer,
.porto-u-heading,
.vc_custom_heading,
.elementor-heading-title,
.elementor-widget,
.elementor-button {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
}

.term-description {
    order: 1;
	display: none;
}

.page-top {
    background-color: #ffffff !important;
}
.page-top {
    border-bottom: 0px !important;
}

.add-links .add_to_cart_button,
.add-links .add_to_cart_read_more {
  height: 42px;
  line-height: 1;
  min-width: 0;
  border: 0 !important;
}

/* =========================================================
   Карточки товаров — в духе Oasis
   ========================================================= */
ul.products,
.products.products-container {
  --esm-card-gap: 20px;
}

ul.products li.product,
.products .product-col {
  text-align: left !important;
}

ul.products li.product .product-inner,
.products .product-col .product-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  overflow: hidden;
  padding: 12px 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

ul.products li.product:hover .product-inner,
.products .product-col:hover .product-inner {
  border-color: #d8d8d8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

ul.products li.product .product-image,
.products .product-col .product-image {
  margin: 0 0 12px !important;
  border-radius: 6px;
  overflow: hidden;
  background: #f7f7f7;
}

ul.products li.product .product-image img.lazy-load-loaded,
ul.products li.product .product-image img.porto-lazyload-loaded,
.products .product-col .product-image img.lazy-load-loaded,
.products .product-col .product-image img.porto-lazyload-loaded {
  opacity: 1 !important;
  visibility: visible !important;
}

ul.products li.product h3,
ul.products li.product .woocommerce-loop-product__title,
.products .product-col h3,
.products .product-col .woocommerce-loop-product__title {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #1a1a1a !important;
  margin: 0 0 8px !important;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left !important;
}

ul.products li.product .price,
.products .product-col .price {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  text-align: left !important;
  color: #1a1a1a !important;
}

ul.products li.product .price del,
.products .product-col .price del {
  order: 2;
  opacity: 1 !important;
  color: #999 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-decoration: line-through;
}

ul.products li.product .price del .amount,
.products .product-col .price del .amount {
  font-size: 13px !important;
  color: #999 !important;
}

ul.products li.product .price ins,
.products .product-col .price ins {
  order: 1;
  text-decoration: none !important;
  background: transparent !important;
}

ul.products li.product .price .amount,
.products .product-col .price .amount,
ul.products li.product .price ins .amount,
.products .product-col .price ins .amount {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

ul.products li.product .price > .amount,
.products .product-col .price > .amount {
  font-size: 20px !important;
  font-weight: 700 !important;
}

/* Кнопка «В корзину» / «Купить» — синий как у «Применить купон» */
ul.products li.product .add-links-wrap,
ul.products li.product .add-links,
.products .product-col .add-links-wrap,
.products .product-col .add-links {
  display: block !important;
  width: 100% !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

ul.products li.product .add-links .add_to_cart_button,
ul.products li.product .add-links .add_to_cart_read_more,
ul.products li.product .add-links .button,
ul.products li.product .add-links .esm-loop-cart-btn,
.products .product-col .add-links .add_to_cart_button,
.products .product-col .add-links .add_to_cart_read_more,
.products .product-col .add-links .button,
.products .product-col .add-links .esm-loop-cart-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #2563eb !important;
  color: #fff !important;
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12) !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

.esm-cart-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

ul.products li.product .add-links .add_to_cart_button:before,
ul.products li.product .add-links .add_to_cart_button:after,
ul.products li.product .add-links .esm-loop-cart-btn:before,
ul.products li.product .add-links .esm-loop-cart-btn:after,
.products .product-col .add-links .add_to_cart_button:before,
.products .product-col .add-links .add_to_cart_button:after,
.products .product-col .add-links .esm-loop-cart-btn:before,
.products .product-col .add-links .esm-loop-cart-btn:after {
  display: none !important;
  content: none !important;
}

/* Porto: кнопка всегда видна, не только при hover */
ul.products li.product.show-links-hover .add-links-wrap,
ul.products li.product.product-onhover .add-links-wrap,
ul.products li.product[class*="product-outimage"] .product-content .add-links-wrap,
.products .product-col.show-links-hover .add-links-wrap,
.products .product-col[class*="product-outimage"] .product-content .add-links-wrap {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  position: static !important;
}

.single-product .single_add_to_cart_button {
  background: #2563eb !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12) !important;
}

ul.products li.product .add-links .add_to_cart_button:hover,
ul.products li.product .add-links .button:hover,
ul.products li.product .add-links .esm-loop-cart-btn:hover,
.products .product-col .add-links .add_to_cart_button:hover,
.products .product-col .add-links .button:hover,
.products .product-col .add-links .esm-loop-cart-btn:hover,
.single-product .single_add_to_cart_button:hover {
  background: #1d4ed8 !important;
  color: #fff !important;
}

ul.products li.product .add-links .quickview,
.products .product-col .add-links .quickview {
  display: none !important;
}

ul.products li.product .product-content,
.products .product-col .product-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0 !important;
  text-align: left !important;
}

/* =========================================================
   Страница товара — воздух, единый стиль
   (без flex на summary-wrap — иначе Owl-галерея схлопывается)
   ========================================================= */
.single-product .product-summary-wrap {
  margin-bottom: 24px;
}

.single-product .product-summary-wrap::after {
  content: "";
  display: table;
  clear: both;
}

.single-product .product-summary-wrap > .summary-before {
  padding-right: 28px;
}

.single-product .product-summary-wrap > .summary.entry-summary {
  padding-left: 8px;
}

/* Галерея товара — только отступы, без ломки Owl/lazyload */
.single-product .summary-before .product-images,
.single-product .product-images.images {
  margin: 0 0 12px !important;
}

.single-product .product-thumbnails {
  margin-top: 12px !important;
}

.single-product .product_title,
.single-product .summary .product_title {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #1a1a1a !important;
  margin: 0 0 16px !important;
  letter-spacing: -0.02em;
}

.single-product .summary > .price,
.single-product .entry-summary > .price {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: 0 !important;
}

.single-product .summary > .price del,
.single-product .entry-summary > .price del {
  order: 2;
  color: #999 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}

.single-product .summary > .price ins,
.single-product .entry-summary > .price ins {
  order: 1;
  text-decoration: none !important;
  background: transparent !important;
}

.single-product .summary > .price .amount,
.single-product .entry-summary > .price .amount,
.single-product .summary > .price ins .amount {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.02em;
}

.single-product .summary > .price del .amount {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #999 !important;
}

.single-product .product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #666 !important;
}

.single-product .product_meta > span {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

.single-product .product_meta .posted_in a,
.single-product .product_meta .tagged_as a {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #f7f7f7;
  color: #444 !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.single-product .product_meta .posted_in a:hover,
.single-product .product_meta .tagged_as a:hover {
  border-color: #2563eb;
  color: #2563eb !important;
  background: #f0f8fc;
}

.single-product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 8px !important;
}

.single-product form.cart .quantity {
  display: inline-flex !important;
  align-items: stretch;
  margin: 0 !important;
  height: 48px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  overflow: hidden;
  background: #fff !important;
}

.single-product form.cart .quantity .minus,
.single-product form.cart .quantity .plus,
.single-product form.cart .quantity button.minus,
.single-product form.cart .quantity button.plus {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  min-width: 44px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #1a1a1a !important;
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.single-product form.cart .quantity .minus:hover,
.single-product form.cart .quantity .plus:hover {
  background: #f5f5f5 !important;
  color: #2563eb !important;
}

.single-product form.cart .quantity .qty,
.single-product form.cart .quantity input.qty {
  width: 52px !important;
  min-width: 52px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-left: 1px solid #eee !important;
  border-right: 1px solid #eee !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  text-align: center !important;
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  -moz-appearance: textfield;
}

.single-product form.cart .quantity .qty::-webkit-outer-spin-button,
.single-product form.cart .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.single-product .summary .single_add_to_cart_button,
.single-product .summary .single_add_to_cart_button.button,
.single-product .summary .single_add_to_cart_button.button.alt,
.single-product form.cart .single_add_to_cart_button,
.single-product form.cart .single_add_to_cart_button.button,
.single-product form.cart .single_add_to_cart_button.button.alt,
.single-product form.cart button.single_add_to_cart_button,
.single-product .product-summary-wrap .single_add_to_cart_button {
  flex: 1 1 200px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 24px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #2563eb !important;
  background-color: #2563eb !important;
  background-image: none !important;
  color: #fff !important;
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12) !important;
}

.single-product .summary .single_add_to_cart_button:hover,
.single-product .summary .single_add_to_cart_button.button:hover,
.single-product .summary .single_add_to_cart_button.button.alt:hover,
.single-product form.cart .single_add_to_cart_button:hover,
.single-product form.cart .single_add_to_cart_button.button:hover,
.single-product form.cart .single_add_to_cart_button.button.alt:hover,
.single-product form.cart button.single_add_to_cart_button:hover {
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  background-image: none !important;
  color: #fff !important;
  border-color: transparent !important;
}

.single-product form.cart .single_add_to_cart_button:before,
.single-product form.cart .single_add_to_cart_button:after,
.single-product .summary .single_add_to_cart_button:before,
.single-product .summary .single_add_to_cart_button:after {
  color: #fff !important;
}

.single-product .woocommerce-tabs {
  margin-top: 36px !important;
  clear: both;
}

.single-product .woocommerce-tabs .resp-tabs-list li,
.single-product .woocommerce-tabs ul.tabs li a {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
.single-product .woocommerce-tabs .tab-content {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #333 !important;
  padding-top: 18px !important;
}

.single-product .related.products,
.single-product .upsells.products {
  margin-top: 48px !important;
  clear: both;
}

.single-product .related.products .slider-title,
.single-product .upsells.products .slider-title,
.single-product .related.products h2,
.single-product .upsells.products h2 {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 20px !important;
}

/* Выравнивание карточек «похожих» + шире слайд */
.single-product .related.products .slider-wrapper,
.single-product .upsells.products .slider-wrapper {
  margin: 0 -8px;
}

.single-product .related.products .owl-carousel .owl-stage,
.single-product .upsells.products .owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.single-product .related.products .owl-carousel .owl-item,
.single-product .upsells.products .owl-carousel .owl-item {
  display: flex;
  height: auto;
  float: none;
}

.single-product .related.products .owl-carousel .owl-item > .product,
.single-product .related.products .owl-carousel .owl-item > li,
.single-product .upsells.products .owl-carousel .owl-item > .product,
.single-product .upsells.products .owl-carousel .owl-item > li {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 8px !important;
}

.single-product .related.products ul.products li.product .product-inner,
.single-product .upsells.products ul.products li.product .product-inner,
.single-product .related.products .product-col .product-inner,
.single-product .upsells.products .product-col .product-inner {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 12px 12px 14px;
  box-sizing: border-box;
}

.single-product .related.products ul.products li.product .product-content,
.single-product .upsells.products ul.products li.product .product-content {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
}

.single-product .related.products ul.products li.product h3,
.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
.single-product .upsells.products ul.products li.product h3,
.single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.8em;
  max-height: 2.8em;
  font-size: 13px !important;
  margin-bottom: 10px !important;
}

.single-product .related.products ul.products li.product .price,
.single-product .upsells.products ul.products li.product .price {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
  min-height: 52px;
  margin: 0 0 12px !important;
}

.single-product .related.products ul.products li.product .price .amount,
.single-product .related.products ul.products li.product .price ins .amount,
.single-product .upsells.products ul.products li.product .price .amount,
.single-product .upsells.products ul.products li.product .price ins .amount {
  font-size: 16px !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
}

.single-product .related.products ul.products li.product .price del .amount,
.single-product .upsells.products ul.products li.product .price del .amount {
  font-size: 12px !important;
  white-space: nowrap !important;
}

.single-product .related.products ul.products li.product .add-links-wrap,
.single-product .related.products ul.products li.product .add-links,
.single-product .upsells.products ul.products li.product .add-links-wrap,
.single-product .upsells.products ul.products li.product .add-links {
  margin-top: auto !important;
}

.single-product .related.products ul.products li.product .add-links .button,
.single-product .upsells.products ul.products li.product .add-links .button {
  text-transform: none !important;
  font-size: 13px !important;
  gap: 6px !important;
  height: 40px !important;
  padding: 0 10px !important;
}

/* Сломанный content-bottom: сырой шорткод / плотный блок «Тип» */
.single-product .content-bottom-wrapper {
  display: none !important;
}

/* Блок «Тип» (narspi) — каталог биокаминов */
.esm-narspi-section {
  margin: 28px 0 8px;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.esm-narspi-section .narspi-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  padding: 0 15px;
}

.esm-narspi-section .narspi-item + .narspi-item {
  border-top: 1px solid #000;
}

/* Преимущества в сайдбаре товара */
.esm-product-benefits-widget {
  margin-bottom: 0;
}

.esm-product-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.esm-product-benefits li {
  margin: 0 0 14px;
  padding-left: 14px;
  position: relative;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}

.esm-product-benefits li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c45c26;
}

/* Правый сайдбар преимуществ */
.single-product .porto-woo-product-sidebar,
.single-product .right-sidebar.porto-woo-product-sidebar {
  padding-left: 12px;
}

.single-product .porto-woo-product-sidebar .widget,
.single-product .porto-woo-product-sidebar .sidebar-content {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #333 !important;
}

.single-product .porto-woo-product-sidebar ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.single-product .porto-woo-product-sidebar li,
.single-product .porto-woo-product-sidebar p {
  margin: 0 0 14px !important;
  padding-left: 14px;
  position: relative;
}

.single-product .main-content.col-lg-9 {
  padding-right: 24px;
}

@media (max-width: 991px) {
  .single-product .product-summary-wrap > .summary-before {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .single-product .product-summary-wrap > .summary.entry-summary {
    padding-left: 0;
  }

  .single-product .product_title,
  .single-product .summary .product_title {
    font-size: 22px !important;
  }

  .single-product .main-content.col-lg-9 {
    padding-right: 0;
  }

  .single-product .porto-woo-product-sidebar {
    padding-left: 0;
    margin-top: 24px;
  }
}

/* Сортировка */
.woocommerce-ordering label,
.toolbox-left label {
  font-weight: 600;
  color: #5a5a5a;
}

.woocommerce-ordering select,
.toolbox select {
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  height: 36px;
  padding: 0 28px 0 12px;
  font-size: 13px;
  background: #fff;
}

/* Фильтры сайдбара — читаемые подписи */
.sidebar .widget .woocommerce-widget-layered-nav-list__item a,
.sidebar .widget .button-variables li a,
.sidebar .yith-wcan-label li a {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  line-height: 1.3;
}

.sidebar .widget .yith-wcan-select-wrapper,
.sidebar a.show-more,
.sidebar .show-more {
  color: var(--esm-accent, #c45c26) !important;
}

.yith-wcwl-add-to-wishlist>div {
    transition: .25s;
    display: none;
}

.porto-block {
    display: none;
}

.gridlist-toggle>a:not(.active) {

    display: none;
}
.woocommerce-viewing {
  display: none !important;
}


.page-top .page-title {
    z-index: 0 !important;
}

/*.widget select {width: 100%;}
/*.select2  {position: absolute; clip: rect(0 0 0 0);}
/*.select2-container--default select2-container--focus {position: static; clip: auto;}
/*.woocommerce-widget-layered-nav-dropdown option:first-child {display: none}*/
   .narspi-wrapper {
        position: relative;
        overflow: hidden;
      }

      .narspi-wrapper.blur::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 2;
        height: 30%;
        width: 100%;
        background-image: linear-gradient(
          to bottom,
          rgba(255, 255, 255, 0) 0,
          rgba(255, 255, 255, 1) 68%,
          rgba(255, 255, 255, 1) 100%
        );
      }

      .narspi-list {
        list-style: none;
        padding: 0 15px;
        margin: 0;
      }

      .narspi-item {
        display: flex;
        padding: 15px 0;
      }
      
      .narspi-item + .narspi-item {
        border-top: 1px solid #000;
      }
      
      .widget.widget_text  .narspi-item + .narspi-item {
        border-top: 1px solid #000;
      }

      .narspi-category {
        font-weight: 700;
        padding-right: 10px;
        width: 200px;
        flex-shrink: 0;
      }

      .narspi-link {
        display: inline-block;
        padding-right: 10px;
        margin-bottom: 5px;
        color: inherit;
        font-family: inherit;
        text-decoration: underline;
      }

      .narspi-toggle {
        text-align: center;
        padding: 15px 0;
      }

      .narspi-btn {
        border: none;
        background-color: #e47364;
        border-radius: 4px;
        padding: 10px;
        color: #fff;
        font-size: 18px;
        transition: transform 0.5s;
        cursor: pointer;
        will-change: transform;
      }

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

      .narspi-btn:active {
        transform: scale(0.95);
      }

      @media (max-width: 600px) {
        .narspi-item {
          display: block;
        }

        .narspi-category {
          width: unset;
        }
      }

.setner-wrapper {
        display: inline-block;
      }

      .setner-wrapper__fake {
        vertical-align: bottom;
      }

      .setner-wrapper__title {
        display: none;
      }

      .setner-wrapper__list {
        list-style: none;
        margin: 0;
        padding-left: 0;
        display: inline-block;
        font-size: 0;
        line-height: 0;
      }

      .setner-wrapper__item {
        display: inline-block;
        font-size: 0;
        line-height: 0;
      }

      .setner-wrapper__link {
        color: inherit;
        text-decoration: none;
        display: inline-block;
        font-size: 14px;
        line-height: 17px;
      }

      .setner-wrapper__link--hidden {
        position: absolute;
        clip: rect(0 0 0 0);
        height: 1px;
        width: 1px;
        padding-left: 20px;
        overflow: hidden;
        opacity: 0;
      }

      .setner-wrapper__btn {
        display: none;
        border: none;
        background-color: transparent;
        padding: 0;
        margin: 0;
        font-size: 0;
        line-height: 0;
        width: 20px;
        height: 20px;
        cursor: pointer;
        outline: 1px solid transparent;
      }

      .setner-wrapper__btn:focus {
        background-color: #fff;
      }

      .setner-wrapper__modal.fixed {
        background-color: rgba(0, 0, 0, 0.9);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        padding: 20px;
        display: flex;
        overflow: auto;
      }

      .setner-wrapper__modal.fixed .setner-wrapper__modal-container {
        background-color: #fff;
        margin: auto;
        border-radius: 5px;
        overflow: hidden;
        max-width: 800px;
        position: relative;
      }

      .setner-wrapper__modal.fixed .setner-wrapper__title {
        display: block;
        font-weight: 700;
        font-size: 30px;
        text-align: center;
        background-color: #eee;
        padding: 10px 20px;
      }

      .setner-wrapper__modal.fixed .setner-wrapper__list {
        padding: 10px;
        column-count: 4;
        column-gap: 20px;
      }

      .setner-wrapper__modal.fixed .setner-wrapper__item {
        width: 100%;
      }

      .setner-wrapper__modal.fixed .setner-wrapper__link {
        width: 100%;
        color: #e47364;
      }

      .setner-wrapper__modal.fixed .setner-wrapper__btn {
        position: absolute;
        top: 10px;
        right: 10px;
        display: block;
      }

      .setner-wrapper__modal.fixed .setner-wrapper__btn::before,
      .setner-wrapper__modal.fixed .setner-wrapper__btn::after {
        position: absolute;
        content: "";
        height: 2px;
        width: 28px;
        background-color: #000;
        border-radius: 1px;
        left: 0;
      }

      .setner-wrapper__modal.fixed .setner-wrapper__btn::before {
        top: 0;
        transform-origin: top left;
        transform: rotate(45deg) translateY(-1px);
      }

      .setner-wrapper__modal.fixed .setner-wrapper__btn::after {
        bottom: 0;
        transform-origin: bottom left;
        transform: rotate(-45deg) translateY(1px);
      }

      @media (max-width: 700px) {
        .setner-wrapper__modal.fixed .setner-wrapper__list {
        column-count: 3;
        column-gap: 20px;
        }
      }

      @media (max-width: 500px) {
        .setner-wrapper__modal.fixed .setner-wrapper__list {
        column-count: 2;
        column-gap: 20px;
        }

        .setner-wrapper__modal.fixed .setner-wrapper__title {
            font-size: 20px;
        }

        .setner-wrapper__modal.fixed .setner-wrapper__btn {
            top: 13px;
        }
      }

      @media (max-width: 500px) {
        .setner-wrapper__modal.fixed .setner-wrapper__list {
        column-count: 1;
        column-gap: 0;
        }
      }
#content-inner-top{
    font-size:0;
    line-height:0;
    min-height:0;
    padding:0;
    margin:0;
}

#content-inner-top:empty{
    display:none;
}

/* =========================================================
   Oasis-inspired header (eurostoremarket)
   ========================================================= */
:root {
  --esm-accent: #c45c26;
  --esm-accent-dark: #a84a1c;
  --esm-ink: #1a1a1a;
  --esm-muted: #5a5a5a;
  --esm-line: #e6e6e6;
  --esm-soft: #f5f5f5;
  --esm-white: #fff;
  --esm-danger: #c62828;
  --esm-radius: 4px;
  --esm-header-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.header-wrapper:has(.esm-header) {
  background: var(--esm-white);
}

.esm-header {
  background: var(--esm-white);
  position: relative;
  z-index: 1002;
  width: 100%;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--esm-ink);
  transition: box-shadow 0.2s ease;
}

.esm-header.is-scrolled,
.esm-header.is-catalog-open {
  box-shadow: var(--esm-header-shadow);
}

.esm-header .container {
  max-width: 1320px;
}

.esm-header__phone-mobile {
  display: none;
}

.esm-mobile-toolbar {
  display: none;
}

/* Top bar */
.esm-header__top {
  background: var(--esm-soft);
  border-bottom: 1px solid transparent;
}

.esm-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
}

.esm-top-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.esm-top-menu__link {
  color: var(--esm-muted);
  font-size: 12px;
  line-height: 16px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.esm-top-menu__link:hover {
  color: var(--esm-accent);
}

.esm-header__top-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.esm-header__top-right .share-links {
  display: flex;
  gap: 6px;
}

.esm-header__top-right .share-links a {
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  background: transparent !important;
  color: var(--esm-muted) !important;
  opacity: 1;
}

.esm-header__top-right .share-links a:hover {
  color: var(--esm-accent) !important;
}

.esm-header__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--esm-ink);
  font-size: 14px;
  line-height: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.esm-header__tel:hover {
  color: var(--esm-accent);
}

/* Main row */
.esm-header__main {
  padding: 18px 0 14px;
  background: var(--esm-white);
}

.esm-header__main-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.esm-header__burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--esm-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  background-color: #fff !important;
  color: #1a1a1a !important;
  padding: 0 !important;
  margin: 0 !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none !important;
  line-height: 1 !important;
  font-size: 18px !important;
}

.esm-header__burger::before,
.esm-header__burger::after,
#header .esm-header__burger.mobile-toggle::before,
#header .esm-header__burger.mobile-toggle::after {
  content: none !important;
  display: none !important;
}

.esm-header__burger .fa-bars,
.esm-header__burger i {
  color: #1a1a1a !important;
  font-size: 18px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.esm-header__logo {
  flex: 0 0 auto;
  min-width: 110px;
  max-width: 160px;
}

.esm-header__logo .logo {
  margin: 0;
}

.esm-header__logo .logo img {
  max-height: 48px;
  width: auto;
}

.esm-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid #ccc;
  border-radius: var(--esm-radius);
  background: transparent;
  color: var(--esm-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.esm-catalog-btn:hover,
.esm-header.is-catalog-open .esm-catalog-btn {
  border-color: var(--esm-accent);
  color: var(--esm-accent);
  background: rgba(196, 92, 38, 0.06);
}

.esm-header__search {
  flex: 1 1 auto;
  min-width: 0;
}

.esm-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-bottom: 1px solid #ccc;
  transition: border-color 0.15s ease;
}

.esm-search:focus-within {
  border-bottom-color: var(--esm-accent);
}

.esm-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 12px 0 4px !important;
  font-size: 15px;
  color: var(--esm-ink);
}

.esm-search__input::placeholder {
  color: #999;
  text-transform: none;
}

.esm-search__submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--esm-radius);
  background: var(--esm-accent);
  color: var(--esm-white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.esm-search__submit:hover {
  background: var(--esm-accent-dark);
}

.esm-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.esm-header__hours {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--esm-ink);
  line-height: 1.25;
  text-align: right;
}

.esm-header__hours:hover {
  color: var(--esm-accent);
}

.esm-header__hours-phone {
  font-size: 15px;
  font-weight: 700;
}

.esm-header__hours-time {
  font-size: 12px;
  color: var(--esm-muted);
}

.esm-header #mini-cart {
  margin: 0;
  position: relative;
  z-index: 1004;
}

.esm-header #mini-cart .cart-popup {
  z-index: 1005;
}

.esm-header #mini-cart .widget_shopping_cart_content:has(.cart_list) .cart-loading,
.esm-header #mini-cart .widget_shopping_cart_content:has(.woocommerce-mini-cart) .cart-loading {
  display: none;
}

.esm-header #mini-cart .cart-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.esm-header #mini-cart .cart-icon {
  position: relative;
  font-size: 22px;
  color: var(--esm-ink);
}

.esm-header #mini-cart .cart-items {
  background: var(--esm-accent) !important;
  color: #fff !important;
}

.esm-header #mini-cart .cart-items-text {
  font-size: 12px;
  color: var(--esm-muted);
}

/* Bottom quick links — отдельная полоса, чтобы не сливалось с поиском */
.esm-header__bottom {
  background: #f7f7f7;
  border-top: 1px solid var(--esm-line);
  border-bottom: 1px solid var(--esm-line);
  padding: 0;
}

.esm-quick-nav {
  margin: 0;
}

.esm-quick-nav__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.esm-quick-nav__item {
  flex-shrink: 0;
  position: relative;
}

.esm-quick-nav__item + .esm-quick-nav__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: #ddd;
}

.esm-quick-nav__link {
  display: block;
  color: var(--esm-ink);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding: 11px 14px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.esm-quick-nav__link:hover {
  color: var(--esm-accent);
  background: rgba(196, 92, 38, 0.06);
  border-bottom-color: var(--esm-accent);
}

.esm-quick-nav__item.is-accent .esm-quick-nav__link {
  color: var(--esm-danger);
  font-weight: 700;
}

.esm-quick-nav__item.is-accent .esm-quick-nav__link:hover {
  background: rgba(198, 40, 40, 0.06);
  border-bottom-color: var(--esm-danger);
}

/* Catalog mega panel */
.esm-catalog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1001;
}

.esm-catalog-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1003;
  background: var(--esm-white);
  border-top: 1px solid var(--esm-line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  max-height: min(52vh, 480px);
  overflow: auto;
}

.esm-catalog-panel[hidden],
.esm-catalog-backdrop[hidden] {
  display: none !important;
}

.esm-catalog-panel__inner {
  padding: 14px 0 18px;
}

.esm-catalog-panel__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--esm-line);
}

.esm-catalog-panel__head strong {
  font-size: 17px;
}

.esm-catalog-panel__all {
  margin-left: auto;
  color: var(--esm-accent);
  font-size: 14px;
  text-decoration: none;
}

.esm-catalog-panel__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--esm-soft);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--esm-ink);
}

.esm-catalog-menu {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.85fr 1fr;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fafafa;
  border: 1px solid var(--esm-line);
  border-radius: 8px;
  overflow: hidden;
}

.esm-catalog-menu > li:first-child {
  grid-column: auto;
}

.esm-catalog-menu > li {
  padding: 14px 16px 16px;
  background: var(--esm-white);
  border-right: 1px solid var(--esm-line);
  min-height: 100%;
}

.esm-catalog-menu > li:last-child {
  border-right: 0;
}

.esm-catalog-menu > li:nth-child(4n + 3) {
  border-right: 1px solid var(--esm-line);
}

.esm-catalog-menu > li:nth-child(n + 4) {
  border-top: 0;
}

.esm-catalog-menu > li > a {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--esm-ink);
  text-decoration: none;
  margin: 0 0 8px;
  padding: 0 0 8px 10px;
  border-bottom: 1px solid #eee;
  border-left: 3px solid var(--esm-accent);
  line-height: 1.3;
}

.esm-catalog-menu__chevron {
  display: none;
}

.esm-catalog-menu__label {
  display: inline;
}

.esm-catalog-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
  max-height: 280px;
  overflow: auto;
}

/* Категории — две колонки ссылок, без второй «этажа» меню */
.esm-catalog-menu > li:first-child .sub-menu {
  columns: 2;
  column-gap: 16px;
  max-height: none;
}

.esm-catalog-menu .sub-menu a {
  display: block;
  padding: 4px 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--esm-muted);
  text-decoration: none;
  break-inside: avoid;
}

.esm-catalog-menu .sub-menu a:hover {
  color: var(--esm-accent);
}

.esm-catalog-menu .sub-menu .sub-menu {
  margin: 4px 0 8px 10px;
  padding-left: 8px;
  border-left: 2px solid var(--esm-line);
  columns: 1;
}

html.esm-catalog-lock {
  overflow: hidden;
}

/* Hide legacy Porto header bits if any leak through */
.esm-header .header-top,
.esm-header .header-main,
.esm-header .header-bottom {
  display: none !important;
}

/* Compact on scroll */
.esm-header.is-compact .esm-header__top,
.esm-header.is-compact .esm-header__bottom {
  display: none;
}

.esm-header.is-compact .esm-header__main {
  padding: 10px 0;
}

/* Responsive */
@media (max-width: 1199px) {
  .esm-header__hours {
    display: none;
  }

  .esm-catalog-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esm-catalog-menu > li:first-child {
    grid-column: span 2;
  }

  .esm-catalog-menu > li:first-child .sub-menu {
    columns: 2;
  }

  .esm-catalog-menu > li {
    border-right: 1px solid var(--esm-line);
    border-top: 0;
  }

  .esm-catalog-menu > li:nth-child(2n) {
    border-right: 0;
  }

  .esm-catalog-menu > li:nth-child(n + 3) {
    border-top: 1px solid var(--esm-line);
  }

  .esm-catalog-menu > li:nth-child(4n + 3) {
    border-right: 1px solid var(--esm-line);
  }
}

@media (max-width: 991px) {
  .esm-header__top {
    display: none;
  }

  .esm-header__main {
    padding: 8px 0 6px;
  }

  .esm-header .container {
    padding-left: 12px;
    padding-right: 12px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .esm-header__main-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .esm-header__burger,
  #header .esm-header__burger.mobile-toggle {
    display: inline-flex !important;
    flex: 0 0 40px;
    order: 1;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .esm-header__logo {
    flex: 1 1 auto;
    order: 2;
    min-width: 0;
    max-width: none;
    overflow: hidden;
  }

  .esm-header__logo .logo,
  .esm-header__logo .logo a {
    display: block;
    max-width: 100%;
  }

  .esm-header__logo .logo img {
    max-height: 32px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .esm-catalog-btn {
    display: none !important;
  }

  .esm-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    order: 3;
  }

  .esm-header__hours {
    display: none !important;
  }

  .esm-header__phone-mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    color: var(--esm-ink);
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
  }

  .esm-header__search {
    width: 100%;
    flex: 0 0 100%;
    order: 4;
  }

  .esm-search {
    display: flex;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }

  .esm-search:focus-within {
    border-color: var(--esm-accent);
  }

  .esm-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    padding-left: 12px !important;
    font-size: 15px;
  }

  .esm-search__submit {
    flex: 0 0 auto;
    height: 40px;
    border-radius: 0;
    padding: 0 12px;
  }

  .esm-search__submit span {
    display: none;
  }

  .esm-header #mini-cart {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    flex: 0 0 40px;
    position: relative;
  }

  .esm-header #mini-cart .cart-items-text,
  .esm-header #mini-cart .minicart-arrow,
  .esm-header #mini-cart .cart-head:after,
  .esm-header #mini-cart .cart-head::after,
  .esm-header #mini-cart .cart-dropdown,
  .esm-header .minicart-arrow-alt .cart-head:after,
  .esm-header #mini-cart.minicart-arrow-alt .cart-head:after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    content: none !important;
    border: 0 !important;
  }

  .esm-header #mini-cart .cart-head {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden !important;
    box-sizing: border-box;
    cursor: pointer;
  }

  .esm-header #mini-cart .cart-icon {
    margin: 0 !important;
    font-size: 20px !important;
  }

  /* На мобилке попап мини-корзины отключён — ведём на страницу корзины */
  .esm-header #mini-cart .cart-popup,
  .esm-header #mini-cart .widget_shopping_cart,
  #mini-cart .cart-popup {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }

  /* Чипы категорий */
  .esm-header__bottom {
    background: #fff;
    border-top: 0;
    border-bottom: 0;
  }

  .esm-quick-nav__list {
    gap: 0;
    padding: 0 2px 2px;
  }

  .esm-quick-nav__item + .esm-quick-nav__item::before {
    display: none;
  }

  .esm-quick-nav__link {
    padding: 7px 11px !important;
    font-size: 12px;
    border-radius: 999px;
    margin: 2px 3px;
    background: #f3f3f3;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  .esm-quick-nav__link:hover,
  .esm-quick-nav__item.is-accent .esm-quick-nav__link {
    background: rgba(196, 92, 38, 0.1);
  }

  .esm-quick-nav__item.is-accent .esm-quick-nav__link {
    color: var(--esm-danger);
  }

  /* Каталог — полноэкранная шторка */
  .esm-catalog-panel {
    position: fixed;
    inset: 0;
    top: 0;
    max-height: none;
    height: 100%;
    z-index: 10050;
    border-top: 0;
    border-radius: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .esm-catalog-backdrop {
    z-index: 10040;
  }

  .esm-catalog-panel__inner {
    padding: 12px 0 40px;
  }

  .esm-catalog-panel__head {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    margin: 0;
    padding: 12px 0;
  }

  .esm-catalog-menu {
    grid-template-columns: 1fr !important;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .esm-catalog-menu > li {
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 1px solid var(--esm-line);
    padding: 0;
    grid-column: auto !important;
  }

  .esm-catalog-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 14px 14px 12px;
    margin: 0;
    border-bottom: 0;
    border-left: 3px solid var(--esm-accent);
    font-size: 15px;
    color: var(--esm-ink);
    background: #fff;
  }

  .esm-catalog-menu > li.is-open > a {
    color: var(--esm-accent);
    background: rgba(196, 92, 38, 0.05);
  }

  .esm-catalog-menu__label {
    flex: 1 1 auto;
  }

  .esm-catalog-menu__chevron {
    display: block;
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -4px;
  }

  .esm-catalog-menu > li.is-open > a .esm-catalog-menu__chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
    border-color: var(--esm-accent);
  }

  .esm-catalog-menu > li:first-child .sub-menu {
    columns: 1;
    max-height: none;
  }

  .esm-catalog-menu > .menu-item-has-children > .sub-menu {
    display: none;
    padding: 4px 14px 14px 16px;
    background: #fafafa;
  }

  .esm-catalog-menu > .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }

  .esm-catalog-menu .sub-menu a {
    font-size: 14px;
    padding: 10px 0;
    color: var(--esm-muted);
    border-bottom: 1px solid #eee;
  }

  .esm-catalog-menu .sub-menu li:last-child > a {
    border-bottom: 0;
  }

  /* Компактный тулбар: Фильтры + Каталог */
  .esm-mobile-toolbar {
    display: flex;
    gap: 8px;
    padding: 6px 12px 10px;
    background: #f7f7f7;
    border-top: 1px solid var(--esm-line);
    border-bottom: 1px solid var(--esm-line);
  }

  .esm-mobile-toolbar__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: var(--esm-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
  }

  .esm-mobile-toolbar__btn--catalog {
    border-color: var(--esm-accent);
    color: var(--esm-accent);
    background: #fff;
  }

  .esm-filters-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10030;
  }

  .esm-filters-backdrop[hidden] {
    display: none !important;
  }

  .esm-filters-close {
    display: none;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10060;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  html.esm-filters-open .esm-filters-close {
    display: block;
  }

  html.esm-filters-open,
  html.esm-catalog-lock {
    overflow: hidden;
  }

  body.archive .sidebar,
  body.tax-product_cat .sidebar,
  body.tax-product_tag .sidebar,
  body.post-type-archive-product .sidebar,
  .main-content-wrap > .sidebar,
  .porto-woo-category-sidebar,
  .sidebar.col-lg-3,
  .sidebar.col-md-3 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 10050 !important;
    /* закрыт: не занимает место в потоке и не даёт белую дыру */
    width: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    flex: 0 0 0 !important;
    order: 99 !important;
    float: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  html.esm-filters-open body.archive .sidebar,
  html.esm-filters-open body.tax-product_cat .sidebar,
  html.esm-filters-open body.tax-product_tag .sidebar,
  html.esm-filters-open body.post-type-archive-product .sidebar,
  html.esm-filters-open .main-content-wrap > .sidebar,
  html.esm-filters-open .porto-woo-category-sidebar,
  html.esm-filters-open .sidebar.col-lg-3,
  html.esm-filters-open .sidebar.col-md-3 {
    width: min(88vw, 360px) !important;
    max-width: min(88vw, 360px) !important;
    height: 100% !important;
    max-height: 100vh !important;
    padding: 56px 16px 24px !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.12) !important;
  }

  body.archive .main-content,
  body.tax-product_cat .main-content,
  body.tax-product_tag .main-content,
  body.post-type-archive-product .main-content,
  .main-content-wrap > .main-content {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .main-content-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  /* SEO-текст и лишние заголовки не раздувают верх */
  .term-description,
  #main .term-description {
    display: none !important;
  }

  #main .page-title {
    margin: 8px 0 10px !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  #main h2.page-title {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .esm-header__phone-mobile,
  .esm-mobile-toolbar,
  .esm-filters-backdrop,
  .esm-filters-close {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .esm-header__logo .logo img {
    max-height: 30px;
  }

  .esm-mobile-toolbar__btn {
    font-size: 12px;
    height: 34px;
  }
}

/* =========================================================
   Footer — магазин с доставкой из Европы
   ========================================================= */
#footer.esm-footer,
.esm-footer {
  background: #fff !important;
  color: #1a1a1a !important;
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  margin-top: 48px;
  border-top: 1px solid #e6e6e6;
}

#footer.esm-footer *,
.esm-footer * {
  box-sizing: border-box;
}

#footer.esm-footer a,
.esm-footer a {
  color: #333 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

#footer.esm-footer a:hover,
.esm-footer a:hover {
  color: #2563eb !important;
}

.esm-footer__trust {
  background: #111 !important;
  border-bottom: 0;
  padding: 22px 0;
  color: #fff;
}

.esm-footer__trust-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.esm-footer__trust-item {
  display: grid !important;
  grid-template-columns: 32px 1fr;
  column-gap: 10px;
  align-items: center;
  min-width: 0;
  padding-left: 0;
  border-left: 0;
  list-style: none !important;
}

.esm-footer__trust-icon {
  display: grid;
  grid-row: span 2;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  place-items: center;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.esm-footer__trust-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.esm-footer__trust-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #fff !important;
}

.esm-footer__trust-text {
  font-size: 12px !important;
  line-height: 1.3 !important;
  color: #b9b9b9 !important;
}

.esm-footer__main {
  padding: 36px 0 28px !important;
  background: #fafafa !important;
}

.esm-footer__grid {
  display: grid !important;
  grid-template-columns: minmax(220px, 1.35fr) repeat(2, minmax(140px, 0.9fr)) minmax(180px, 1fr) !important;
  gap: 28px 32px !important;
  align-items: start;
  width: 100%;
}

.esm-footer__col {
  display: block !important;
  width: auto !important;
  float: none !important;
  min-width: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.esm-footer__logo .logo,
.esm-footer__logo h1.logo {
  font-size: 0 !important;
  margin: 0 0 12px !important;
}

.esm-footer__logo .logo,
.esm-footer__logo .logo a {
  display: inline-block !important;
}

.esm-footer__logo .logo img {
  max-height: 40px !important;
  width: auto !important;
}

.esm-footer__tagline {
  margin: 0 0 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #1a1a1a !important;
}

.esm-footer__lead {
  margin: 0 0 18px !important;
  max-width: 34em;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #555 !important;
}

.esm-footer__cta-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
}

.esm-footer__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px !important;
  border-radius: 4px !important;
  border: 1px solid #d0d0d0 !important;
  background: #fff !important;
  color: #1a1a1a !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.esm-footer__cta--primary {
  background: #fff !important;
  border-color: #2563eb !important;
  color: #2563eb !important;
}

.esm-footer__cta--primary:hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
}

.esm-footer__cta--whatsapp {
  background: #fff !important;
  border-color: #d0d0d0 !important;
  color: #1a1a1a !important;
}

.esm-footer__cta--whatsapp:hover {
  background: #f5f5f5 !important;
  border-color: #25d366 !important;
  color: #128c7e !important;
}

#footer.esm-footer .esm-footer__heading,
.esm-footer__heading {
  display: block !important;
  visibility: visible !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  background: none !important;
  border: 0 !important;
}

#footer.esm-footer .esm-footer__links,
.esm-footer__links {
  display: block !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#footer.esm-footer .esm-footer__links li,
.esm-footer__links li {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  list-style: none !important;
  visibility: visible !important;
}

#footer.esm-footer .esm-footer__links a,
.esm-footer__links a {
  display: inline !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #444 !important;
  visibility: visible !important;
}

#footer.esm-footer .esm-footer__links a:hover,
.esm-footer__links a:hover {
  color: #2563eb !important;
}

.esm-footer__phone {
  display: inline-block !important;
  margin: 0 0 6px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}

.esm-footer__phone:hover {
  color: #2563eb !important;
}

.esm-footer__hours {
  margin: 0 0 14px !important;
  font-size: 13px !important;
  color: #555 !important;
}

.esm-footer__socials {
  margin: 14px 0 0 !important;
}

.esm-footer__socials .share-links {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.esm-footer__socials .share-links a,
.esm-footer__socials .share-links span {
  position: relative !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 4px !important;
  border: 1px solid #ddd !important;
  background: #fff !important;
  color: #555 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  line-height: 36px !important;
  text-align: center !important;
  text-indent: 0 !important;
  font-size: 0 !important;
  overflow: hidden !important;
}

.esm-footer__socials .share-links a:before,
.esm-footer__socials .share-links a:after {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  line-height: 1 !important;
  font-size: 16px !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  color: inherit !important;
  background: none !important;
}

.esm-footer__socials .share-whatsapp {
  display: inline-flex !important;
  font-size: 0 !important;
  color: #555 !important;
  background: #fff !important;
}

.esm-footer__socials .share-whatsapp:before {
  content: "\f232" !important;
  font-family: "Font Awesome 5 Brands", "FontAwesome" !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  color: inherit !important;
  speak: none;
}

.esm-footer__socials .share-links a:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
  background: #fff !important;
}


.esm-footer__bottom {
  border-top: 1px solid #e6e6e6;
  background: #f3f5f7 !important;
  padding: 16px 0;
}

.esm-footer__bottom-inner {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

.esm-footer__copy,
.esm-footer__payments-note {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #666 !important;
}

#footer.esm-footer .footer-bottom,
.esm-footer .footer-bottom {
  display: none !important;
}

@media (max-width: 991px) {
  .esm-footer__trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    row-gap: 24px !important;
  }

  .esm-footer__grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .esm-footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .esm-footer__trust-list {
    grid-template-columns: 1fr !important;
  }

  .esm-footer__grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .esm-footer__main {
    padding: 28px 0 20px !important;
  }

  .esm-footer__copy span {
    display: block;
    margin-top: 4px;
  }
}

/* =========================================================
   Cookie banner
   ========================================================= */
.esm-cookie {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 16px 20px;
  width: calc(100% - 32px);
  max-width: 920px;
  padding: 14px 16px 14px 18px;
  border-radius: 14px;
  background: #141414;
  color: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.esm-cookie.is-hidden {
  display: none !important;
}

.esm-cookie__text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
}

.esm-cookie__emoji {
  margin-right: 4px;
}

.esm-cookie__more {
  color: #ff8a00 !important;
  text-decoration: underline !important;
  font-weight: 600;
  white-space: nowrap;
}

.esm-cookie__more:hover {
  color: #ffb14d !important;
}

.esm-cookie__accept {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #ff8a00;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.esm-cookie__accept:hover {
  background: #e67a00;
}

@media (max-width: 640px) {
  .esm-cookie {
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
  }

  .esm-cookie__text {
    font-size: 13px;
  }

  .esm-cookie__accept {
    width: 100%;
  }
}

/* Страница «Галерея» — 4 картинки в ряд */
.page-id-9891 .page-content,
.page-galereya .page-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 32px;
}

.page-id-9891 .page-content .gallery-item,
.page-galereya .page-content .gallery-item {
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  max-width: none !important;
}

.page-id-9891 .page-content .gallery-item br,
.page-galereya .page-content .gallery-item br {
  display: none;
}

.page-id-9891 .page-content .gallery-item a,
.page-galereya .page-content .gallery-item a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f4f6;
}

.page-id-9891 .page-content .gallery-item img,
.page-galereya .page-content .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 991px) {
  .page-id-9891 .page-content,
  .page-galereya .page-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .page-id-9891 .page-content,
  .page-galereya .page-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}
