.whb-top-bar .wd-nav-secondary > li > a {
  font-weight: 500;
  font-size: 12px;
}
.searchform.wd-style-default.wd-cat-style-bordered.woodmart-ajax-search {
  width: 480px;
}
#search-input {
  border-radius: 30px;
  width: 432px;
  background-color: #fff;
  z-index: 2;
  position: relative;
}
.searchform button.searchsubmit {
  background: #262625;
  color: #fff;
  border-radius: 30px;
  width: 80px;
  display: flex;
  padding-right: 22px;
  justify-content: flex-end;
}
#menu-katalog-novyj-knopka #menu-item-61994 a {
  background-color: #262625;
  color: #fff;
  font-size: 14px;
  width: 110px;
  display: flex;
  justify-content: center;
  border-radius: 12px;
  height: 40px;
}
.whb-row.whb-general-header .whb-column.whb-col-left.whb-visible-lg {
  display: flex;
  align-items: flex-end;
}
.whb-sticked
  .whb-row.whb-general-header
  .whb-column.whb-col-left.whb-visible-lg {
  padding-bottom: 7px;
}
.searchform {
  --wd-form-height: 40px !important;
}
.wd-tools-element:is(.wd-design-2, .wd-design-5) .wd-tools-count {
  color: #262625;
  font-size: 8px;
}
.wd-header-compare.wd-tools-element > a,
.wd-header-wishlist.wd-tools-element > a {
  display: flex;
  flex-direction: column;
}
.wd-header-compare.wd-tools-element > a > .wd-tools-text,
.wd-header-wishlist.wd-tools-element > a > .wd-tools-text {
  color: #7e838c;
}
.wd-tools-element .wd-tools-icon {
  margin-left: 13px;
}
.wd-header-cart.wd-design-2 span.wd-cart-number,
.wd-header-cart.wd-design-5 span.wd-cart-number {
  color: #262625;
}
.site-content {
  width: 100%;
}
.top-baner-home {
  position: relative;
  background: url(https://mtnsp.ru/wp-content/uploads/2024/06/2150170042-1.jpg);
  width: 100%;
  height: 552px;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  overflow: hidden; /* Важно для скругления углов */
}

/* Полупрозрачный фон поверх изображения */
.top-baner-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0c000059;
  border-radius: 24px; /* Чтобы повторяло скругление */
  pointer-events: none; /* Чтобы не мешать кликам */
}

/* Контент поверх всего */
.top-baner-home .content-baner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.top-baner-grid {
  padding: 80px 40px 116px 40px;
}
.content-baner h1 {
  color: #fff;
  font-weight: 700;
  font-style: Bold;
  font-size: 64px;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  text-transform: uppercase;
}
.title-after-baner {
  width: 620px;
  color: #fff;
}
.title-after-baner p {
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0%;
  width: 509px;
}
.block-baner-btn a {
  padding: 15px 24px;
  font-size: 14px;
  border-radius: 12px;
  font-weight: 600;
}
.block-baner-btn a:hover {
  opacity: 0.8;
}
.btn-shop {
  background-color: #fca311;
}
.btn-zvonok {
  background-color: #fff;
}
.block-baner-btn {
  display: flex;
  gap: 16px;
}
.baner-block-text-item {
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid;
  border-image-source: linear-gradient(
    239.78deg,
    rgba(250, 250, 250, 0.55) -6.34%,
    rgba(255, 255, 255, 0.01) 70.8%
  );
  background: #ffffff0a;
  border-radius: 16px;
  padding: 105px 21px 20px 20px;
}
.top-baner-grid {
  display: grid;
  grid-template-columns: 1fr 496px;
  gap: 164px;
}
.baner-block-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.text-catalog-cat-home {
  margin-top: 80px;
  width: 802px;
}
.blue-element {
  color: #0b46b9;
}
/* Добавьте в style.css дочерней темы */
.categories-carousel {
  scroll-snap-type: x mandatory;
}

.category-slide {
  scroll-snap-align: start;
}

/* Анимация появления */
.category-slide {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.category-slide:nth-child(1) {
  animation-delay: 0.1s;
}
.category-slide:nth-child(2) {
  animation-delay: 0.2s;
}
.category-slide:nth-child(3) {
  animation-delay: 0.3s;
}
.category-slide:nth-child(4) {
  animation-delay: 0.4s;
}
.category-slide:nth-child(5) {
  animation-delay: 0.5s;
}
.category-slide:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Индикатор прокрутки (опционально) */
.carousel-scrollbar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-scrollbar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-scrollbar .dot.active {
  background: #0c0000;
  width: 24px;
  border-radius: 4px;
}
.category-slide .category-image img {
  width: 107px;
  height: 107px;
  position: relative;
}
.category-slide {
  width: 210px;
  height: 160px;
}
.cat-slider-popular-home {
  margin-top: 80px;
}
.cat-slider-popular-home {
  margin-top: 80px;
}
.cat-slider-popular-home h2 {
  margin-bottom: 40px;
}
.flex-row-text-block-home {
  display: flex;
  gap: 12px;
  align-items: center;
}
.flex-row-text-block-home div {
  font-size: 48px;
  font-weight: 600;
  line-height: 88%;
}
.flex-row-text-block-home p {
  font-weight: 500;
  font-size: 12px;
  color: #7e838c;
  display: block;
  width: 248px;
  line-height: 120%;
  margin-bottom: 0;
}
.grid-text-block-home {
  display: grid;
  grid-template-columns: 1fr 900px;
  gap: 20px;
}
.grid-text-img-block-home img {
  border-radius: 16px;
}
.grid-text-block-home-item .h3-title {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  line-height: 110%;
}
.text-grid-home-after-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.text-grid-home-after-img-fon {
  background: linear-gradient(180deg, #4a4946 0%, #333333 100%);
  border-radius: 16px;
  padding: 16px 8px;
}
.text-grid-home-after-img-nofon {
  padding: 16px 8px;
}
.text-grid-home-after-img-fon h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 120%;
  width: 392px;
}
.text-grid-home-after-img-fon p {
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;
  color: #fff;
}
.text-grid-home-after-img-nofon h3 {
  color: #333333;
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 0%;
}
.text-grid-home-after-img-nofon p {
  color: #262625;
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;
}
.text-block-home {
  margin-top: 80px;
}
.text-grid-home-after-img {
  margin-top: 20px;
}
.element-item-number {
  margin-bottom: 40px;
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0%;
}
.element-item-number-2 {
  color: #fff;
}
.element-item-number-3 {
  color: #bdbdbd;
}
.element-item-number-1 {
  color: #bdbdbd;
  margin-top: 64px;
}
.text-grid-home-after-img-nofon-1 {
  padding: 16px 8px;
}
.grid-text-block-home-item h2 {
  color: #262625;
  font-weight: 700;
  font-size: 24px;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  margin-bottom: 16px;
}
.h3-title-min {
  color: #333333;
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 0%;
}
/* Ваши существующие стили */
.videos-row-1-grid {
  display: grid;
  grid-template-columns: 670px 1fr 1fr;
  gap: 20px;
}

.videos-row-2-grid {
  display: grid;
  grid-template-columns: 210px 210px 210px 1fr;
  gap: 20px;
}

.videos-row-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

/* Стили для видео-контейнера */
.video-item-grid {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

/* Стили для видео */
.vertical-video-grid {
  width: 100%;
  height: 373px;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.horizontal-video-grid {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Оверлей с затемнением */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Затемнение 40% */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  opacity: 1;
  pointer-events: none; /* Чтобы клики проходили на видео */
}

/* Скрываем оверлей при воспроизведении */
.video-wrapper.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

/* Кастомная кнопка Play */
.video-play-button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  pointer-events: auto; /* Включаем клики на кнопку */
  cursor: pointer;
}

.video-play-button img {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Эффект при наведении */
.video-wrapper:hover .video-play-button {
  transform: scale(1.1);
}

.video-wrapper:hover .video-overlay {
  background: rgba(0, 0, 0, 0.3);
}

/* Название видео на оверлее */
.video-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4; /* Убираем дублирование и используем нормальное значение */
  letter-spacing: 0%;
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  /* Ограничение 2 строки */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  max-height: 60px;
}
.section-video-grid {
  margin-top: 80px;
}
.grid-baner-2-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.baner-2-home {
  margin-top: 80px;
}
.item-1-grid-baner-2-home {
  background:
    linear-gradient(90deg, #0b0a0b 0%, rgba(11, 10, 11, 0) 50%),
    url(/wp-content/uploads/2026/08/image.png) center/cover no-repeat;
}
.item-2-grid-baner-2-home {
  background:
    linear-gradient(90deg, #0b0a0b 0%, rgba(11, 10, 11, 0) 50%),
    url(/wp-content/uploads/2026/08/9c1cade01a12dda9a06524e046c61377d6a3badc.png)
      center/cover no-repeat;
}

.grid-baner-2-home-block {
  height: 300px;
  border-radius: 16px;
  background-size: cover;
  position: relative;
}
.text-pice-1-baner-2-home {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 8px;
  gap: 10px;
  position: absolute;
  width: 180px;
  height: 26px;
  left: 32px;
  top: 32px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
  border-radius: 3px;
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: 0%;
  text-align: center;
}
.title-1-baner-2-home {
  width: 236px;
  height: 87px;
  top: 117px;
  position: absolute;
  color: #fff;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0%;
  text-transform: uppercase;
  left: 32px;
}
.btn-baner-orange {
  background: #fca311;
}
.btn-baner-orange:hover {
  background: #fc7f11;
  color: #fff;
}
.btn-baner-blue {
  background: #0b46b9;
}
.btn-baner-blue:hover {
  background: #053da8;
  color: #fff;
}
.btn-baner {
  padding: 10px 24px;
  font-weight: 600;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: 0%;
  color: #fff;
  border-radius: 12px;
  width: 115px;
  height: 40px;
  display: flex;
  align-items: center;
  position: absolute;
  top: 228px;
  left: 32px;
}
.title-2-baner-2-home {
  position: absolute;
  width: 236px;
  height: 87px;
  top: 32px;
  left: 32px;
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0%;
  text-transform: uppercase;
}
.text-1-baner-2-home {
  color: #fff;
  width: 259px;
  height: 68px;
  top: 133px;
  left: 32px;
  position: absolute;
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;
}
.brand-proizvoditeli {
  margin-top: 80px;
}
.brand-proizvoditeli h2 {
  color: #262625;
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0%;
  margin-bottom: 40px;
}
/* ========== TAB NEWS ARTICLES ========== */

/* Заголовок */
.tab-header {
  margin-bottom: 30px;
}

.tab-title {
  font-size: 28px;
  font-weight: 700;
  color: #0b0a0b;
  margin: 0;
}

/* Навигация табов */
.tab-navigation {
  display: flex;
  justify-content: center;
}
.tab-header-left h2 {
  margin-bottom: 0;
}
a.tab-view-all {
  color: #fc8711;
  font-weight: 600;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-decoration: underline;
  display: flex;
  align-items: center;
}
.tab-articles {
  margin-top: 80px;
}

.tab-button {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #262625;
  cursor: pointer;
  transition: none;
  position: relative;
  text-transform: none;
}

.tab-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.tab-button:hover {
  background: none;
}

.tab-button.active {
  color: #ffffff;
  background: #262625;
  border-radius: 10px;
}

.tab-count {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  color: inherit;
  opacity: 0.7;
  margin-left: 5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 0 8px;
  border-radius: 12px;
}

.tab-button.active .tab-count {
  background: rgba(255, 255, 255, 0.2);
}

/* Контент табов */
.tab-content-wrapper {
  position: relative;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Сетка постов */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

/* Карточка поста */
.post-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 300px;
  height: 325px;
  padding: 24px;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-card-image {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 16 / 9;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #0b0a0b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-title {
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #333333;
  min-height: 72px;
  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0%;
}

.post-card-title a {
  color: #0b0a0b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-card-title a:hover {
  color: #fc8711;
}

.post-card-excerpt {
  color: #262625;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;
}

.post-card-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #999;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
  justify-content: space-between;
}

.post-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7e838c;
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;
}

.post-card-meta svg {
  flex-shrink: 0;
}

/* Пустое состояние */
.tab-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 16px;
}

/* Кнопка загрузки */
.tab-load-more {
  text-align: center;
  margin-top: 30px;
}

.load-more-btn {
  display: inline-block;
  padding: 12px 40px;
  background: #0b0a0b;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.grid-footer {
  display: grid;
  grid-template-columns: 210px 104px 273px 273px auto;
  gap: 63px;
}
.logo-footer img {
  width: 152px;
}
.tel-mail-footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tel-mail-footer a {
  color: #262625;
  font-weight: 600;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0%;
}
.logo-tel-footer,
.social-button {
  border: #e0e0e0 1px solid;
  padding: 24px;
  border-radius: 18px;
}
.social-button {
  margin-top: 12px;
  display: flex;
  gap: 12px;
}
.title-item-footer {
  color: #262625;
  font-weight: 600;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 0%;
  margin-bottom: 18px;
}
.menu-item-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.menu-item-footer a {
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;
}
.adress-footer p {
  margin-bottom: 8px;
  color: #262625;
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;
}
.adress-footer p a {
  color: #262625;
}
.rekvizit-footer p {
  color: #262625;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;
}
.item-grid-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn-podbor-form {
  background: #fca311;
  color: #fff;
  width: 252px;
  height: 48px;
  border-radius: 12px;
  padding: 10px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 14px;
  justify-content: center;
}
.btn-podbor-form:hover {
  background: #fc7f11;
  color: #fff;
}
.icon-btn-podbor-form {
  display: inline-block;
  margin-right: 5px;
}
.btn-mail-form {
  background: #e9e9e9;
  border: 1px solid #e9e9e9;
  padding: 10px 24px;
  width: 176px;
  height: 48px;
  display: flex;
  align-items: center;
  border-radius: 12px;
}
.btn-mail-form:hover {
  border: 1px solid #fca311;
}
.after-footer-grid {
  display: grid;
  grid-template-columns: 354px 346px 219px;
  align-items: end;
  gap: 221px;
}
.link-after-footer-grid-item {
  display: block;
  text-decoration: underline;
}
.text-after-footer-grid-item,
.link-after-footer-grid-item,
.google-text-document {
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;
  color: #bdbdbd;
}
.google-text-document {
  text-decoration: underline;
}
.logo-seo-footer img {
  margin-top: 12px;
}
.logo-seo-footer a {
  display: block;
  padding: 14px;
  font-size: 12px;
  color: #262625;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
}
.after-footer {
  margin-bottom: 40px;
}
p.text-after-footer-grid-item {
  margin-bottom: 0;
}
.my-action-buttons {
  position: absolute;
  top: 16px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wd-action-btn.wd-style-icon > a {
  width: 20px;
  height: 20px;
}
.wd-wishlist-icon > a:before {
  content: "";
  background-image: url("/wp-content/uploads/2026/08/heart-1.png");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 20px;
  height: 20px;
}
.wd-compare-icon > a:before {
  content: "";
  background-image: url("/wp-content/uploads/2026/08/arrange-square-1.png");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 20px;
  height: 20px;
}
.wd-quick-view-icon > a:before {
  content: "";
  background-image: url("/wp-content/uploads/2026/08/eye.png");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 20px;
  height: 20px;
}
.my-product-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px 24px 15px 24px;
  position: relative;
}
.my-product-image-wrapper img.attachment-woocommerce_thumbnail {
  width: 100%;
  min-height: 300px;
  max-height: 300px;
  object-fit: contain;
}
.my-product-info .my-sku {
  color: #7e838c;
  font-weight: 500;
  font-size: 10px;
  line-height: 120%;
  letter-spacing: 0%;
  margin-bottom: 8px;
}
.hover-a .myhclass {
  color: #333333;
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0%;
}
.tooltip-trigger {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-trigger .tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 280px;
  max-width: 280px;
  background: #333;
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  border-radius: 6px;
  position: absolute;
  z-index: 99999;
  top: 50%;
  right: calc(100% + 15px);
  transform: translateY(-50%);
  transition: all 0.3s ease;
  font-size: 13px;
  line-height: 1.5;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  white-space: normal;
  word-wrap: break-word;
}

/* Стрелка тултипа (слева) */
.tooltip-trigger .tooltip-text::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  margin-left: 0;
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

.tooltip-trigger:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Стили для HTML внутри тултипа */
.tooltip-text p {
  margin: 0 0 8px 0;
}

.tooltip-text p:last-child {
  margin-bottom: 0;
}

.tooltip-text strong {
  color: #8bc34a;
}

.tooltip-text ul,
.tooltip-text ol {
  margin: 6px 0;
  padding-left: 20px;
}
.carusel-product-title {
  margin-top: 78px;
  display: flex;
  justify-content: space-between;
}
.carusel-product-item {
  padding-top: 40px;
}
.carusel-product-title a {
  color: #333333;
  font-weight: 600;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;
  padding: 10px 24px;
}
.carusel-product-title h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0%;

  color: #262625;
}
.my-stock.out-of-stock {
  display: flex;
  align-items: center;
  color: #333333;
  font-weight: 600;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: 0%;
  margin: 16px 0;
}
.my-stock {
  padding: 4px 0;
}
.my-add-to-cart a {
  background: #fca311;
  color: #4e3100;
  padding: 10px 24px;
  width: 120px;
  height: 40px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: 0%;
  text-transform: none;
}
.row-price-btn {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}
.my-add-to-cart a.button.find-analog-btn {
  border: 1px solid #fca311;
  background: none;
  color: #fca311;
  width: 160px;
}
.in-stock .price .amount {
  color: #333333;
}
.installment-price .amount {
  color: #fff;
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: 0%;
}
.installment-block {
  margin: 16px 0;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.installment-price {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: #fca311;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: 0%;
}
.installment-text {
  color: #7e838c;
  font-weight: 500;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: 0%;
  padding-bottom: 3px;
}
/* Ограничение названия в 2 строки */
.hover-a .myhclass {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3.2em; /* 2 строки * 1.6 line-height */
  line-height: 1.6;
  word-break: break-word;
}

/* Для поддержки всех браузеров */
.hover-a .myhclass {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3.2em;
  line-height: 1.6;
}

/* Альтернативный вариант с фиксированной высотой */
.hover-a .myhclass {
  display: block;
  max-height: 3.2em;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;

  /* Для многоточия в конце */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* Анимация появления */
@keyframes tooltipLeftIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.tooltip-trigger:hover .tooltip-text {
  animation: tooltipLeftIn 0.25s ease forwards;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .tooltip-trigger .tooltip-text {
    width: 200px;
    max-width: 200px;
    font-size: 12px;
    padding: 10px 14px;
    right: calc(100% + 10px);
  }
}
/* Адаптивность */
@media (max-width: 768px) {
  .tab-navigation {
    gap: 5px;
  }

  .tab-button {
    padding: 10px 20px;
    font-size: 14px;
    flex: 1;
    text-align: center;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .post-card-title {
    font-size: 16px;
  }

  .tab-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .tab-button {
    padding: 8px 15px;
    font-size: 13px;
  }

  .post-card-meta {
    font-size: 12px;
    gap: 10px;
  }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .video-play-button {
    width: 60px;
    height: 60px;
  }

  .video-title-overlay {
    font-size: 14px;
    padding: 30px 15px 15px 15px;
  }
}

@media (max-width: 480px) {
  .video-play-button {
    width: 50px;
    height: 50px;
  }

  .video-title-overlay {
    font-size: 12px;
    padding: 25px 12px 12px 12px;
  }
}
@media (max-width: 767px) {
  .searchform.wd-style-default.wd-cat-style-bordered.woodmart-ajax-search {
    width: 100% !important;
  }
  #search-input {
    width: 100% !important;
  }
}
