/*
Theme Name: Porto Child
Theme URI: http://newsmartwave.net/wordpress/porto
Author: SW-THEMES
Author URI: http://newsmartwave.net/
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
Text Domain: porto-child

*/

@import url("../porto/style.css");

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
.fvd-wd .porto-sicon-header p {
   color: #ffffffd9 !important;
}

body>div.page-wrapper,
#main {
   background-color: #fff !important;
}

body>div.page-wrapper>section>div {
   display: none !important;
}

body.blog {
   font-family: 'Montserrat', sans-serif !important;
   font-size: 14px;
   line-height: 1.6;
   color: #1a1a1a;
   letter-spacing: 0.02em;
}

.category-blog .post-content {
   font-family: 'Montserrat', sans-serif !important;
   font-size: 14px;
   line-height: 1.6 !important;
   color: #1a1a1a;
   letter-spacing: 0.02em !important;
}

.porto-products.wpb_content_element {
   padding-inline: 20px;
}

@media (min-width: 991px) {
   #header .header-main {
      height: 120px !important;
   }

   #nav-menu-item-89304 img {
      height: 140px !important;
   }

   .searchform-popup fieldset {
      display: flex;
   }

   .single-post-title {
      padding: 20px;
   }
}

@media (max-width: 1199px) {
   #accordion-menu-item-89304 {
      display: none;
   }
}

@media (max-width: 575px) {
   #header .header-main {
      height: 125px !important;
      margin-top: 0px !important;
   }

   .porto-products.wpb_content_element {
      padding-inline: 10px;
   }

   .products.products-slider.owl-carousel {
      width: 100%;
   }

   .ffdsddf {
      display: none;
   }
}

@media (max-width: 767px) {
   #header .header-main .container {
      margin-top: -45px !important;
   }

   #header .header-main .header-left {
      padding: 20px 0 !important;
   }

   #accordion-menu-item-15902>a,
   #accordion-menu-item-16455>a {
      color: #fe7900 !important;
   }
}

#menu-main-menu {
   justify-content: center;
}

#nav-menu-item-15902>a {
   color: #fe7900 !important;
}

.fv-logo-images a img {
   max-width: 70px;
   height: auto;
   max-height: 50px;
   margin: 25px 33px;
   object-fit: contain;
}

@media(width > 1300px) {
   #nav-menu-item-89304 a {
      margin-inline: 40px;
   }
}

@media(width > 1600px) {
   #nav-menu-item-89304 a {
      margin-inline: 60px;
   }
}

html {
   margin-top: 0 !important;
}

body {
   max-width: 100% !important;
}

#error-page {
   margin-top: 0 !important;
}

.fv-cart-dv-image {
   flex: 0 0 320px;
   padding: 0 20px;
}

.fv-cart-dv {
   display: flex;
}

@media (width > 767px) {


   .fv-cart-dv-checkout>.checkout-button.button.alt.wc-forward {
      width: 320px;
   }
}

@media (width <=767px) {
   .fv-cart-dv {
      flex-direction: column;
   }

   .fv-cart-dv-image {
      padding: 0 20px;
      width: 320px;
      height: 320px;
      flex: 1;
      margin-inline: auto;
   }
}

@media (width < 600px) {
   .fv-cart-dv-checkout>.checkout-button.button.alt.wc-forward {
      width: 100%;
   }

   .fv-cart-dv-image {
      width: 100%;
      text-align: center;
   }

   .fv-cart-dv-image img {
      max-width: 50%;
   }
}

.same-cat-products {
   margin-top: 24px;
}

.same-cat-products__title {
   margin: 0 0 12px;
   font-size: 1.125rem;
}

.same-cat-products__grid {
   display: flex;
   gap: 8px;
}

.same-cat-products__item {
   max-width: 85px;
   width: 85px;
   height: 85px;
}

@media (max-width: 600px) {
   .same-cat-products__item {
      max-width: 60px;
      width: 60px;
      height: 60px;
   }
}

.same-cat-products__item img {
   width: 100%;
   height: 100%;
   display: block;
   object-fit: cover;
}

.same-cat-products__item .woocommerce-loop-product__title {
   display: block;
   margin-top: 8px;
   line-height: 1.3;
}

.same-cat-products__more-btn {
   padding: 0;
   border: 0;
   border-radius: 0;
   background: transparent;
   text-decoration: underline;
   font-family: inherit;
   font-size: .75rem;
   color: #8f8f8f;
   cursor: pointer;
}

.same-cat-products__more-btn:active {
   outline: none;
}

.same-cat-products__more-btn:focus {
   outline: none;
}

.same-cat-products__more-btn:hover {
   color: #21293c;
}

.same-cat-products__title {
   font-weight: 600;
}

.product.same-cat-products__item {
   transition: all 0.3s ease 0s;
}

.single-product .owl-nav {
   opacity: 0;
}

.archive.tax-product_cat .row.main-content-wrap strong:first-of-type {
   flex: 1;
}

.archive.tax-product_cat .col-lg-3.sidebar.left-sidebar.mobile-sidebar {
   max-width: 100%;
}

.archive.tax-product_cat .div[data-plugin-sticky] {
   width: 100% !important;
}

.archive.tax-product_cat .footer-wrapper {
   background-color: #fe7900;
}

.header-wrapper {
   box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
   z-index: 555;
}

.page-top.page-header-1 {
   display: none;
}

.home .vc_row.wpb_row.row {
   padding-bottom: 0 !important;
}

@media (width < 767px) {
   .page-top.page-header-1 {
      display: none;
   }

   .archive-products {
      padding-top: 20px;
   }

   .same-cat-products__more-btn {
      display: none !important;
   }

   .products.same-cat-products__grid {
      display: flex;
      flex-wrap: nowrap;
      width: 100%;
      overflow-x: auto;
      padding-bottom: 10px;
      flex-wrap: nowrap !important;
   }

   .product.same-cat-products__item {
      flex: 0 0 80px;
      width: 80px;
      max-width: 80px;
      height: 80px;
   }

   .single-product div#product-tab.woocommerce-tabs {
      padding-top: 0;
      padding-bottom: 40px;
   }
}

@media (hover: hover) {
   .product.same-cat-products__item:hover {
      border: 1px solid #fe7900;
   }
}

@media (width > 768px) {
   .single-product div#main {
      overflow: unset;
   }

   .single-product .porto-related-products {
      position: relative;
      left: 50%;
      transform: translateX(-50%);
      width: 96vw;
   }

   .single-product .products.products-slider.owl-carousel {
      width: 100%;
   }
}

@media (width < 570px) {
   #main {
      padding-top: 0 !important;
   }
}

.single_variation_wrap .yith-wcwl-add-to-wishlist,
.single_variation_wrap .quantity {
   display: none !important;
}



#side-nav-panel {
   transform: translate(-100%);
   width: min(100%, 440px);
   background-image: url(https://time2win.ru/wp-content/uploads/logo-new-white-2.png);
   background-size: 120px auto;
   background-position: 25px 15px;
   background-repeat: no-repeat;
   background-color: rgba(0, 0, 0, .8);
   -webkit-backdrop-filter: blur(10px);
   backdrop-filter: blur(10px);

}

.mobile-menu {
   margin: 60px 0 40px;
}

#side-nav-panel .side-nav-panel-close {
   top: 32px;
   font-size: 20px;
}

.mobile-menu>li a {
   font-size: 16px !important;
   font-family: "Oswald" !important;
   padding: 20px 5px 20px 20px !important;
   background: rgba(255, 255, 255, .12);
   -webkit-backdrop-filter: blur(10px);
   backdrop-filter: blur(10px);
   font-weight: 300 !important;
}

#side-nav-panel .accordion-menu li.menu-item.active>a,
#side-nav-panel .menu-custom-block a:hover {
   background: rgba(255, 255, 255, .12) !important;
}

.mobile-menu .arrow {
   top: 20px !important;
   right: 15px !important;
   background: rgba(255, 255, 255, .10);
}

.mobile-menu .sub-menu {
   padding-left: 0 !important;
}

.mobile-menu .sub-menu a {
   background: rgba(255, 255, 255, .10);
   font-size: 14px !important;
   padding: 15px 5px 15px 30px !important;
}

.mobile-menu .sub-menu .sub-menu a {
   padding-left: 40px !important;
}

.header-top {
   display: none !important;
}

#side-nav-panel .share-links {
   display: flex;
   justify-content: flex-start;
   padding-inline: 25px;
}

.ancr-group.ancr-pos-top {
   z-index: 999 !important;
}

#side-nav-panel .accordion-menu>li:not(:last-child) {
   margin-bottom: 5px;
}

#side-nav-panel .accordion-menu li {
   border-bottom: none !important;
}

#side-nav-panel .accordion-menu>li.menu-item>a {
   text-transform: capitalize !important;
}

.single_add_to_cart_button {
   background: #000 !important;
   border-color: #000 !important;
   color: #fff !important;
   transition: all 0.3s ease;
}

.single_add_to_cart_button:hover {
   background: #fe7900 !important;
   border-color: #fe7900 !important;
}

.quick-buy-button {
   min-height: 43px;
   margin-bottom: 5px;
   text-shadow: none;
   transition: all 0.3s ease;
   font-family: Oswald;
   font-size: 14px;
   text-transform: uppercase;
   margin-left: 5px;
}

.variations tr:last-child select {
   padding-inline: 10px;
}


@media (max-width: 767px) {

   h1 {
      font-size: 22.85714286px;
      line-height: 30px;

   }
}

#nav-menu-item-89304 {
   position: relative;
   margin-top: -10px !important;
}

#nav-menu-item-89304::before {
   content: "Доставка по Москве";
   position: absolute;
   top: 95px;
   left: 50%;
   transform: translateX(-50%);
   background: #fe7900;
   color: #fff;
   font-size: 12px;
   padding: 0px 14px 0px 12px;
   clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 6% 50%);
   width: 150px;
   text-align: center;
}

.header-left::before {
   content: "Доставка по России";
   position: absolute;
   top: 95px;
   left: 38%;
   transform: translateX(-50%);
   background: #fe7900;
   color: #fff;
   font-size: 11px;
   padding: 0px 14px 0px 12px;
   clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 6% 50%);
   width: max-content;
   text-align: center;
}

@media (max-width: 767px) {
   #header .logo {
      padding-top: 0px !important;
   }

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


.added_to_cart.wc-forward {
   margin-left: 5px;
   line-height: 1.2;
   text-align: center;
}



@media screen and (max-width: 480px) {
   .chaty-widget.mobile_active {
      bottom: 70px !important;
   }
}

#tab-description {
   display: block;
   font-family: 'Montserrat', sans-serif;
   font-size: 14px;
   line-height: 1.6;
   color: #1a1a1a;
   letter-spacing: 0.02em;
}

#tab-global_tab {
   font-family: 'Montserrat', sans-serif;
   font-size: 14px;
   line-height: 1.6;
   color: #1a1a1a;
   letter-spacing: 0.02em;
}

.woocommerce-verification-required {
   text-align: center;
}

#reviews-anchor p {
   font-size: 14px;
}

#reviews-anchor img {
   width: 100px;
   height: 100px;
   object-fit: cover;
   border-radius: 6px;
   cursor: zoom-in;
   border: 1px solid #f0f0f0;
   transition: opacity 0.2s;
}

@media (max-width: 575px) {
   #reviews .commentlist li .img-thumbnail img {
      position: relative;
      z-index: 9;
   }
}

@media (max-width: 575px) {
   h2 {
      font-size: 18.21428571px;
      line-height: 26.36363636px;
   }
}

.term-description {
   display: block;
   font-family: 'Montserrat', sans-serif;
   font-size: 14px;
   line-height: 1.6;
   color: #1a1a1a;
   letter-spacing: 0.02em;
}

#nav-menu-item-89304::before {
   /* Ваши текущие стили */
   white-space: nowrap;
   /* Чтобы текст не переносился */
   width: auto !important;
   /* Разрешаем растягиваться */
   min-width: 140px;
   /* Минимальная ширина */
   padding-right: 25px;
   /* Запас справа для косого среза */
}


/* --- СБРОС --- */
.product-reviews-custom-block ol.commentlist {
   padding: 0;
   margin: 0 !important;
   list-style: none;
}

.product-reviews-custom-block li.review {
   background: transparent !important;
   border: none !important;
   padding: 0 !important;
   margin-bottom: 25px !important;
}

/* --- КАРТОЧКА --- */
.t2w-review-card {
   background: #ffffff;
   border-radius: 12px;
   padding: 25px;
   /* Внутренний отступ */
   box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
   /* Тень */
   border: 1px solid #f0f0f0;
   display: block;
   /* Важно! Теперь это блок, а не флекс-ряд */
   transition: transform 0.2s ease;
}

.t2w-review-card:hover {
   transform: translateY(-3px);
}

/* --- ШАПКА (User + Stars) --- */
.t2w-review-header {
   display: flex;
   justify-content: space-between;
   /* Разносит User влево, Звезды вправо */
   align-items: center;
   margin-bottom: 15px;
   border-bottom: 1px solid #f9f9f9;
   padding-bottom: 15px;
}

/* Обертка Аватара и Имени */
.t2w-user-wrapper {
   display: flex;
   align-items: center;
   gap: 15px;
   /* Отступ между аватаркой и именем */
}

/* --- АВАТАР --- */
.t2w-avatar img {
   width: 50px !important;
   height: 50px !important;
   border-radius: 50% !important;
   object-fit: cover;
   padding: 0 !important;
   border: none !important;
   box-shadow: none !important;
   background: #f0f0f0;
}

/* --- ИМЯ И ДАТА --- */
.t2w-author-info p.meta {
   margin: 0;
   line-height: 1.2;
}

.t2w-author-name {
   font-size: 15px;
   font-weight: 700;
   color: #222;
   font-family: 'Montserrat', sans-serif;
   text-transform: none;
   font-style: normal;
}

.t2w-verified-badge {
   display: inline-block;
   background: #e1f7e7;
   color: #27ae60;
   font-size: 10px;
   font-weight: 700;
   text-transform: uppercase;
   padding: 2px 8px;
   border-radius: 12px;
   margin-left: 8px;
   vertical-align: middle;
   font-style: normal;
}

.t2w-date {
   font-size: 11px;
   color: #999;
   display: block;
   margin-top: 3px;
   font-style: normal;
}

/* --- ЗВЕЗДЫ --- */
.t2w-simple-stars {
   color: #fe7900;
   font-size: 18px;
   letter-spacing: 2px;
   line-height: 1;
   white-space: nowrap;
}

/* --- ТЕКСТ --- */
.t2w-description {
   font-size: 15px;
   line-height: 1.6;
   color: #333;
}

/* Фотографии */
.t2w-description img {
   width: 100px !important;
   height: 100px !important;
   object-fit: cover;
   border-radius: 8px;
   margin-top: 15px;
   margin-right: 10px;
   border: 1px solid #eee;
   padding: 0 !important;
   background: none !important;
   cursor: zoom-in;
   display: inline-block;
   box-shadow: none !important;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ --- */
@media (max-width: 575px) {
   .t2w-review-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
   }

   .t2w-simple-stars {
      font-size: 16px;
      margin-left: 65px;
      /* Сдвигаем под имя, чтобы было ровно */
      margin-top: -5px;
   }

   .t2w-review-card {
      padding: 20px;
   }
}


@media (max-width: 575px) {
   .commentlist li .comment_container {
      background: none;
   }
}

/* 1. Делаем ссылки-обертки картинок строчно-блочными */
.t2w-description .review-image-popup {
   display: inline-block !important;
   vertical-align: top;
   margin-right: 10px;
   /* Отступ между картинками */
   margin-bottom: 10px;
   text-decoration: none;
   border-bottom: none;
   margin-top: 10px;
}

/* 2. Скрываем перенос строки (<br>), который стоит СРАЗУ ПОСЛЕ картинки */
/* Это сохранит абзацы в тексте, но уберет их между фото */
.t2w-description .review-image-popup+br {
   display: none;
}

/* 3. На всякий случай обновляем стиль самой картинки */
.t2w-description img {
   width: 100px !important;
   height: 100px !important;
   object-fit: cover;
   border-radius: 8px;
   border: 1px solid #eee;
   margin: 0 !important;
   /* Убираем маргины у картинки, они теперь у ссылки */
   display: block !important;
}


#reviews .commentlist li .comment-text {
   background: none;
}

#reviews .commentlist li {
   padding-left: 0px;
}

#reviews .commentlist li .comment-text:before {
   display: none;
}


.woocommerce-message{display:none;}



/* Главный контейнер */
.size-guide-wrapper {
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   gap: 40px;
   /* Отступ между инструкцией и таблицей */
   align-items: flex-start;
}

/* --- Левая колонка: Инструкция --- */
.instructions {
   flex: 1;
   /* Занимает доступное место */
   display: grid;
   grid-template-columns: 1fr 1fr;
   /* Внутри инструкции 2 колонки */
   column-gap: 20px;
   row-gap: 30px;
}

.instr-text-block {
   display: flex;
   flex-direction: column;
   justify-content: center;
}

.instr-intro {
   font-size: 14px;
   line-height: 1.5;
   margin-bottom: 0;
}

.step-title {
   font-family: 'Oswald', sans-serif;
   /* Или любой узкий шрифт */
   font-weight: 700;
   text-transform: uppercase;
   font-size: 18px;
   margin: 15px 0 5px 0;
   letter-spacing: 0.5px;
}

.step-desc {
   font-size: 13px;
   line-height: 1.4;
   color: #333;
   margin: 0;
}

.instr-img {
   width: 100%;
   height: auto;
   display: block;
   aspect-ratio: 4/3;
   object-fit: cover;
   background-color: #eee;
   /* Заглушка */
   border-radius: 4px;
}

/* --- Правая колонка: Таблица --- */
.size-chart-container {
   flex: 0 0 350px;
   /* Фиксированная ширина для таблицы (компактная) */
}

.size-table {
   width: 100%;
   border-collapse: collapse;
   font-size: 14px;
   text-align: left;
}

.size-table th {
   padding: 15px 20px;
   background-color: #f5f5f5;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1px;
   border-bottom: 2px solid #fff;
}

.size-table td {
   padding: 10px 20px;
   border-bottom: 1px solid #fff;
   /* Белые разделители */
}

/* Чередование цветов строк (Зебра) */
.size-table tbody tr:nth-child(odd) {
   background-color: #f9f9f9;
}

.size-table tbody tr:nth-child(even) {
   background-color: #efefef;
   /* Цвет как на скрине */
}

/* Эффект при наведении */
.size-table tbody tr:hover {
   background-color: #e0e0e0;
   cursor: default;
}

.size-table td:last-child {
   font-weight: bold;
   /* Выделяем сантиметры */
}

/* --- Адаптивность (Мобильные устройства) --- */
@media (max-width: 900px) {
   .size-guide-wrapper {
      flex-direction: column-reverse;
      /* Сначала таблица, потом инструкция (обычно важнее размеры) */
      /* Если хотите сначала инструкцию, уберите "-reverse" */
   }

   .size-chart-container {
      flex: auto;
      width: 100%;
   }

   .instructions {
      width: 100%;
   }
}

@media (max-width: 600px) {
   .instructions {
      grid-template-columns: 1fr;
      /* Одна колонка для инструкции на телефоне */
      gap: 20px;
   }

   /* Меняем порядок внутри грида на телефоне, чтобы текст шел под картинкой */
   .instr-item {
      display: flex;
      flex-direction: column;
   }

   /* Специфичный хак для первого текстового блока, чтобы он был сверху */
   .instr-text-block.intro {
      order: -1;
   }

   .size-table th {
      padding: 15px 10px;
      font-size: 11px;
   }
}



/* Контейнер для развернутых вкладок */
.woocommerce-tabs-expanded {
   margin-top: 30px;
   clear: both;
}

/* Стиль заголовков (ярлыков) */
.custom-tab-label {
   font-size: 18px;
   font-weight: 700;
   text-transform: uppercase;
   margin-bottom: 15px;
   margin-top: 30px;
   border-bottom: 2px solid #eee;
   padding-bottom: 10px;
   display: inline-block;
   /* Чтобы подчеркивание было по ширине текста */
}

/* Отступы контента */
.custom-tab-content {
   margin-bottom: 20px;
}

/* Разделитель (опционально) */
.tab-separator {
   border: 0;
   border-top: 1px solid #eee;
   margin: 30px 0;
}

#tab-description h2 {
   display: none;
}

#tab-reviews+.tab-separator {
   display: none;
}

#comments h2 {
   display: none;
}

#tab-additional_information {
   display: none;
}

#tab-additional_information+.tab-separator {
   display: none;
}

.ansergp p {
   text-align: center;
   margin-bottom: 0px !important;
   font-size: 12px !important;
   line-height: 1.8;
}



/* Принудительно показываем звезды в каталоге */
.loop-rating-container .star-rating {
   display: inline-block !important;
   font-size: 12px;
   /* Размер звезд */
   color: #fe7900;
   /* Ваш оранжевый цвет */
   margin-right: 5px;
   float: none !important;
   overflow: hidden;
   position: relative;
   height: 1em;
   line-height: 1;
   width: 5.9em;
   font-family: 'star';
   /* Стандартный шрифт Woo */
}

.loop-rating-container .star-rating::before {
   content: '\73\73\73\73\73';
   color: #d3ced2;
   /* Цвет серых звезд */
   float: left;
   top: 0;
   left: 0;
   position: absolute;
}

.loop-rating-container .star-rating span {
   overflow: hidden;
   float: left;
   top: 0;
   left: 0;
   position: absolute;
   padding-top: 1.5em;
}

.loop-rating-container .star-rating span::before {
   content: '\53\53\53\53\53';
   top: 0;
   position: absolute;
   left: 0;
   color: #fe7900;
   /* Цвет активных звезд */
}

/* Центрируем блок */
.loop-rating-container {
   justify-content: center;
   /* Если сетка по центру */
   /* justify-content: flex-start;  <-- Если товары выровнены по левому краю, раскомментируйте это */
}

.single-product .woocommerce-product-rating .star-rating span:before {
   color: #fe7900 !important;
}

h1 {
   font-weight: 400;
}

.product-inner {
   border: 2px solid transparent;
   padding-inline: 5px;
}

.product-inner:hover {
   border-color: #fe7900;
}

@media (width > 1000px) {
   .menu-item .popup {
      position: fixed;
      top: 94px;
      left: 0 !important;
      width: 100%;
      height: auto;
      background: #e6e6e6;
      padding: 25px 0;
      z-index: 1;
   }

   .menu-item .popup::before {
      content: '';
      display: block;
      position: absolute;
      top: -38px;
      left: 0;
      width: 100%;
      height: 60px;
      z-index: -3;
   }

   .menu-item .popup .inner {
      max-width: 1025px;
      margin-inline: auto;
      background: transparent;
   }

   #nav-menu-item-89304 a::before {
      display: none !important;
   }

   .menu-item .popup .inner .sub-menu {
      background: transparent !important;
      box-shadow: none !important;
      display: grid;
      grid-auto-flow: column;
      grid-template-rows: 1fr 1fr 1fr;
   }

   .menu-item .popup .inner .sub-menu a {
      color: #000 !important;
   }

   #main-menu .mega-menu .narrow .popup li.menu-item:hover>a {
      color: #fe7900 !important;
      background: transparent;
   }

   .menu-item .popup .inner .sub-menu .sub-menu {
      background: #dcdcdc !important;
      top: 0 !important;
      padding: 0 !important;
   }

   .mega-menu .narrow li.menu-item>ul.sub-menu {
      pointer-events: none;
   }

   .mega-menu .narrow li.menu-item:hover>ul.sub-menu {
      pointer-events: all;
      max-height: 70vh;
      overflow-y: auto;
   }

   #main-menu menu-item:hover>ul.sub-menu .sub-menu {
      opacity: 0 !important;
   }

   .mega-menu .narrow li.menu-item:hover>ul.sub-menu::-webkit-scrollbar {
      width: 6px;
   }

   .mega-menu .narrow li.menu-item:hover>ul.sub-menu::-webkit-scrollbar-thumb {
      background-color: #fe7900;
   }

   .mega-menu .narrow li.menu-item:hover>ul.sub-menu::-webkit-scrollbar-track {
      background: #d0d0d0;
   }

   #main-menu .mega-menu>li.menu-item>a {
      z-index: 5 !important;
   }

   html {
      scrollbar-gutter: stable;
   }

   body:has(.ancr[style*="display: block"]) .menu-item .popup {
      top: 136px;
   }

   body:has(.menu-item .popup[style*="display: block"]) {
      max-height: 100dvh;
      overflow: hidden !important;
   }

   #main-menu .mega-menu>li.menu-item>a::before {
      content: '';
      display: block;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: 2px;
      border-radius: 2px;
      background: #fe7900;
      transform-origin: center;
      transform: scaleX(0);
      transition: all 0.3s ease;
      will-change: transform;
   }

   #main-menu .mega-menu>li.menu-item>a:hover {
      text-decoration: none !important;
   }

   #main-menu .mega-menu>li.menu-item>a:hover::before {
      transform: scaleX(1);
   }

   #main-menu .mega-menu>li.menu-item:has(.popup[style*="display: block"]) a::before {
      transform: scaleX(1);
   }

}

ul.products.grid li.product-col.show-outimage-q-onimage:hover .product-image {
   box-shadow: none !important;
}

.product-images .img-thumbnail .inner {
   border: none !important;
}

@media (width < 600px) {
   .single-product {
      overflow: hidden;
   }

   .single-product .img-thumbnail {
      position: relative;
      left: 50%;
      transform: translateX(-50%);
      width: 100vw;
      max-width: 100vw;
   }

   .single-product .img-thumbnail .inner {
      border: none;
   }

   .single-product .product.type-product {
      padding-top: 0 !important;
   }
}

 .cart-related-products ul.products li.product .woocommerce-loop-product__title {
        height: 40px;
        overflow-y: hidden;
        overflow-x: hidden;
        word-break: break-word;
    }

/* ===== ОБЩЕЕ (ПК по умолчанию) ===== */

.cart-related-products .cart-related-slider {
    overflow-x: auto;
}

.cart-related-products ul.products {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin: 0;
    padding: 0;

    scroll-snap-type: x mandatory;
}

/* 6 карточек в видимой области */
.cart-related-products ul.products li.product {
    flex: 0 0 calc(100% / 6 - 10px);
    max-width: calc(100% / 6 - 10px);
    min-width: calc(100% / 6 - 10px);

    list-style: none;

    scroll-snap-align: start;

    /* фиксы от темы */
    width: auto !important;
    float: none !important;
    clear: none !important;
}

/* скрыть скроллбар (по желанию) */
.cart-related-products .cart-related-slider::-webkit-scrollbar {
    height: 3px;
}
.cart-related-products .cart-related-slider::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* ===== МОБ — 2.2 карточки ===== */
@media (max-width: 768px) {

    .cart-related-products ul.products li.product {
        flex: 0 0 45% !important;
        max-width: 45% !important;
        min-width: 45% !important;
    }
}
.yith-wcwl-add-to-wishlist {display:none;}

.shop_table .product-thumbnail img {
    max-width: 180px;
    height: auto;
}