.right-header {
  width: auto;
  flex-direction: row !important;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  display: flex;
  gap: 0;
}


.ant-site-title.title {
  font-family: "Comfortaa";
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.ant-site-title.title span {
  color: #000;
}
@media (min-width: 991px) {
  .pl3d-mm-overlay {
    display: none;
}
}
/* Мобильное меню-«шторка» слева */
@media (max-width: 1024px) {

  /* базовое состояние: меню спрятано слева за экраном */
  #ant-main-nav.ant-nav-wp {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: 80%;
    /* ширина меню */
    max-width: 360px;
    height: 100vh;
    background: #fff;
    overflow-y: auto;

    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 2px 0 12px rgba(0, 0, 0, .18);
    z-index: 9999;
  }

  /* когда плагин добавляет класс .show – выезжаем */
  #ant-main-nav.ant-nav-wp.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  /* перебиваем старые правила плагина, которые рисуют «полоску» под хедером */
  .header-menu .ant-nav-wp {
    width: auto;
    top: 0;
    right: auto;
    left: 0;
    height: 100vh;
    background: transparent;
  }
}

/* Мобильное меню PrintLab3D */
@media (max-width: 767px) {

  /* Делаем список меню колонкой, чтобы последний пункт прижался вниз */
  #ant-main-nav .ant-main-menu {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
  }

  /* Общий стиль пунктов меню */
  #ant-main-nav .ant-main-menu>li>a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    font-size: 16px;
    line-height: 1.3;
    font-family: "Comfortaa";
  }

  #ant-main-nav .ant-main-menu>li {
    border-bottom: 1px solid #f1f5f9;
  }

  /* Последний пункт меню (Minu konto) — как большая кнопка Войти */
  #ant-main-nav .ant-main-menu>li:last-child {
    margin-top: auto;
    /* утащит его вниз панели */
    border-bottom: none;
    padding: 16px 20px 24px;
  }

  #ant-main-nav .ant-main-menu>li:last-child>a {
    width: 100%;
    justify-content: center;
    background: #4f46e5;
    color: #ffffff;
    border-radius: 12px;
    font-weight: 600;
  }

  /* --- Overlay для мобильного меню --- */
  .pl3d-mm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    /* затемнение */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 998;
    /* ниже меню, выше контента */
  }

  /* показываем overlay, когда меню открыто */
  body.pl3d-mm-menu-open .pl3d-mm-overlay {
    opacity: 1;
    visibility: visible;
  }

  /* блокируем скролл страницы */
.pl3d-mm-menu-open {
    overflow: hidden;
  }

  /* крестик на overlay */
  .pl3d-mm-close {
    position: absolute;
    top: -8px;
    right: 2px;
    width: 71px;
    height: 71px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 41px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    box-shadow: none;
    align-items: center;
    justify-content: center;
  }

  .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {

    width: 110px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

  }

  /* чтобы меню было поверх overlay */
  #ant-main-nav {
    z-index: 999;
  }

  /* если нужно, чтобы меню занимало всю высоту */
  #ant-main-nav.ant-nav-wp-show {
    height: 100vh;
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
  }

  .mobile-menu-logo {
    width: 50px;
    height: 50px;
    object-fit: cover;
  }

  .mobile-menu-title {
    font-size: 16px;
    font-weight: 600;
    color: #1E2430;
    font-family: 'Comfortaa';
  }

  .header-menu nav#ant-main-nav {
    padding: 0px !important;
    margin-top:0px;

  }

  .lang-switch-btn {
    font-size: 19px;
    font-weight: 600;
    color: #1E2430;
    font-family: 'Comfortaa';
  }

  .lang-switch-btn:first-child::after {
    content: "|";
    display: inline-block;
    margin: 0 6px;
    color: #ccc;
    /* можешь поменять */
    font-weight: 400;
  }

  button.ant-menu-btn {
    font-size: 24px !important;
    box-shadow: none;
  }

  /* Контейнер */
  .pl3d-account-box {
    padding: 18px 22px;
    border-bottom: 1px solid #e5e5e5;
  }

  /* Строка с двумя кнопками */
  .pl3d-account-inline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  /* Элемент в строке */
  .pl3d-account-item {
    flex: 1;
    background: #f6f7f9;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    text-decoration: none;
    color: #1E2430;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: 0.25s;
  }

  /* Иконки */
  .pl3d-account-item i {
    font-size: 20px;
    color: #1E2430;
    font-family:"FontAwesome";
  }

  /* Ховер */
  .pl3d-account-item:hover {
    background: #e9ebef;
  }

  /* Кнопки для незалогиненных (оставляем без изменений) */
  .pl3d-account-buttons {
    display: flex;
    gap: 12px;
  }
span.wpml-ls-native {
    display: none;
}
.wpml-ls-legacy-dropdown-click a span {
    vertical-align: middle;
    display: none;
}


}
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@300;400;500;600;700;800;900&display=swap');
@media only screen and (min-width:767px) {
  .mobile-menu-header {
    display: none;
  }

  .pl3d-account-box {
    display: none;
  }
}
#ant-main-nav .ant-main-menu > li:hover {
    background-color: white !important;
    /* color: black; */
}
.center-header{
    display: flex;
    width: fit-content;
    flex-direction: row !important;
    align-items: center;
    padding: 0;
    gap: 5px;
}

/* ========================================= */
/* === МОБИЛЬНОЕ МЕНЮ (BRUTAL STYLE) === */
/* ========================================= */

/* Шрифты (если вдруг не подтянулись) */
.ant-site-title.title, 
.mobile-menu-title, 
.lang-switch-btn, 
#ant-main-nav .ant-main-menu > li > a {
  font-family: 'Unbounded', sans-serif !important; 
}

.pl3d-account-item span {
  font-family: 'Manrope', sans-serif !important;
}

/* 1. КОНТЕЙНЕР МЕНЮ (ШТОРКА) */
@media (max-width: 991px) {
  #ant-main-nav.ant-nav-wp {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: #ffffff;
    /* Жирная рамка справа вместо тени */
    border-right: 4px solid #000; 
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5); /* Жесткая тень */
  }

  #ant-main-nav.ant-nav-wp.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 991px) {
/* 2. ШАПКА МЕНЮ (ЛОГО + ЯЗЫКИ) */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-bottom: 3px solid #000; /* Жирный разделитель */
}

.mobile-menu-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.mobile-menu-title {
  font-size: 14px;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  margin-left: 10px;
}

/* ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ */
.mob-lang-switch {
  display: flex;
  gap: 5px;
  background: #000;
  padding: 5px;
}

.lang-switch-btn {
  font-size: 14px;
  font-weight: 700;
  color: #fff; /* Белый текст на черном */
  text-decoration: none;
  padding: 2px 6px;
  text-transform: uppercase;
}

.lang-switch-btn:hover, 
.lang-switch-btn.current { /* Если есть класс активного языка */
  color: #CCFF00; /* Лайм */
}

/* Разделитель убираем, делаем блоками */
.lang-switch-btn:first-child::after { content: none; }


/* 3. АККАУНТ И КОРЗИНА (ПЛИТКИ) */
.pl3d-account-box {
  padding: 20px;
  background: #fff;
  border-bottom: 3px solid #000;
}

.pl3d-account-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.pl3d-account-item {
  background: #fff;
  border: 2px solid #000; /* Рамка */
  border-radius: 0px !important; /* Квадратные */
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: 0.2s;
  box-shadow: 4px 4px 0 #000; /* Жесткая тень */
}

.pl3d-account-item i {
  font-size: 20px;
  color: #000;
}

.pl3d-account-item span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Ховер эффект для кнопок */
.pl3d-account-item:hover,
.pl3d-account-item:active {
  background: #CCFF00; /* Лаймовый фон */
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #000; /* Тень уменьшается */
}


/* 4. СПИСОК МЕНЮ */
#ant-main-nav .ant-main-menu {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  justify-content: flex-start;
  background: #fff;
  margin-top: 10px;
}

#ant-main-nav .ant-main-menu > li {
  border-bottom: 1px solid #e5e5e5;
  margin: 0;
}

#ant-main-nav .ant-main-menu > li > a {
  display: block;
  padding: 14px 5px;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  text-transform: uppercase; /* Брутализм */
  text-decoration: none;
  transition: 0.2s;
}
.elementor-4484 .elementor-element.elementor-element-0a6bb94 .show .menu-item:hover a.sub-link {
    color: black !important;
}
.elementor-422 .elementor-element.elementor-element-0a6bb94 .show .menu-item:hover a.sub-link {
    color: black !important;
}
/* Ховер пунктов меню */
#ant-main-nav .ant-main-menu > li > a:hover,
#ant-main-nav .ant-main-menu > li.current-menu-item > a {
  background: #000;
  color: #CCFF00 !important; /* Лаймовый текст на черном */
  padding-left: 30px; /* Сдвиг вправо */
}

/* Последний пункт (обычно "Выход" или акцент) */
#ant-main-nav .ant-main-menu > li:last-child {
  border-bottom: none;
  margin-top: 20px;
  padding: 20px;
}

/* Стиль для кнопки внизу меню */
#ant-main-nav .ant-main-menu > li:last-child > a {
  background: #CCFF00;
  border: 2px solid #000;
  color: #000;
  text-align: center;
  justify-content: center;
  border-radius: 0px;
  box-shadow: 6px 6px 0 #000;
}

#ant-main-nav .ant-main-menu > li:last-child > a:active {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 #000;
}


/* 5. OVERLAY (ЗАТЕМНЕНИЕ) */
.pl3d-mm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8); /* Более темный фон */
  backdrop-filter: blur(5px); /* Размытие фона */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 998;
}

body.pl3d-mm-menu-open .pl3d-mm-overlay {
  opacity: 1;
  visibility: visible;
}

/* Блокировка скролла */
body.pl3d-mm-menu-open {
  overflow: hidden;
}

/* 6. КНОПКА ЗАКРЫТИЯ (КРЕСТИК) */
/* Мы делаем его большим и удобным */
.pl3d-mm-close {
  position: absolute;
  top: 10px;
  right: -60px; /* Выносим за пределы меню справа */
  width: 50px;
  height: 50px;
  background: #CCFF00;
  border: 2px solid #000;
  color: #000;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
}
}
/* Если экран узкий, крестик внутри меню */
@media (max-width: 450px) {
  .pl3d-mm-close {
    right: 10px;
    top: 10px;
    background: transparent;
    border: none;
    font-size: 40px;
  }
}




.anant-product-details-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Desktop: details left, video right */
@media (min-width: 992px){
  .anant-product-details-layout{
    grid-template-columns: 1.5fr 0.5fr;
    align-items: start;
  }

  .anant-product-details-col{ order: 1; }
  .anant-product-video-col{ order: 2; }

  .anant-product-video-block{
    position: sticky;
    top: 16px;
  }
}

/* Placeholder uses featured image as background */
.anant-product-video-placeholder{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* поменяй на 16/9 если хочешь */
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #f3f3f3;
  background-image: var(--anant-video-poster);
  background-size: cover;
  background-position: center;
}

/* Play button */
.anant-video-play-btn{
  position:absolute;
  inset:0;
  border:0;
  background: rgba(0,0,0,0.0);
  font-size: 48px;
  cursor: pointer;
}

/* Video */
.anant-product-video{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 12px;
}



#tab-description{
  /* make it readable */
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #111 !important;

  /* kill "grey container" feeling */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  /* nice reading width */

}

@media (max-width: 520px){
  #tab-description{
    font-size: 16px !important;
 
  }
}

/* Reset ugly inherited styles inside description */
#tab-description *{
  box-sizing: border-box;
}
#tab-description p,
#tab-description div{

  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}

/* Headings — clean, modern */
#tab-description h2{
  font-size: 18px !important;
  line-height: 1.25 !important;
  margin: 18px 0 10px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #0b0b0b !important;
}
#tab-description h3{
  font-size: 15px !important;
  line-height: 1.35 !important;
  margin: 16px 0 8px !important;
  font-weight: 750 !important;
  letter-spacing: -0.01em !important;
  color: #0b0b0b !important;
}

@media (max-width: 520px){
  #tab-description h2{ font-size: 18px !important; }
  #tab-description h3{ font-size: 16px !important; }
}

/* Lead (snippet) block:
   If the first thing after H2 is a DIV or P — make it a nice card */
#tab-description h2:first-of-type + div,
#tab-description h2:first-of-type + p{
  margin-top: 10px !important;

}

/* Links */
#tab-description a{
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
#tab-description a:hover{
  text-decoration-thickness: 2px;
}

/* Lists */
#tab-description ul,
#tab-description ol{
  margin: 0 0 14px 20px !important;
  padding: 0 !important;
}
#tab-description li{
  margin: 0 0 8px !important;
}
#tab-description li strong{
  font-weight: 800 !important;
}

/* Images / media */
#tab-description img,
#tab-description video,
#tab-description iframe{
  max-width: 100% !important;
  height: auto !important;
  border-radius: 16px !important;
}

/* -------------------------
   TABLES (desktop)
   ------------------------- */
#tab-description table{
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 14px 0 18px !important;

  background: #fff !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 18px !important;
  overflow: hidden !important;

  /* remove theme junk */
  box-shadow: 0 10px 26px rgba(0,0,0,.05) !important;
}

#tab-description thead th{
  background: rgba(0,0,0,.03) !important;
  font-size: 13px !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  font-weight: 800 !important;
  color: #111 !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid rgba(0,0,0,.08) !important;
}

#tab-description td{
  font-size: 15px !important;
  padding: 12px 14px !important;
  color: #111 !important;
  border-bottom: 1px solid rgba(0,0,0,.06) !important;
  vertical-align: top !important;
}
#tab-description tbody tr:last-child td{
  border-bottom: 0 !important;
}

/* Slight zebra */
#tab-description tbody tr:nth-child(even) td{
  background: rgba(0,0,0,.015) !important;
}

/* -------------------------
   TABLES (mobile -> cards)
   No horizontal scroll, readable.
   ------------------------- */
@media (max-width: 720px){
  #tab-description table,
  #tab-description thead,
  #tab-description tbody,
  #tab-description th,
  #tab-description td,
  #tab-description tr{
    display: block !important;
    width: 100% !important;
  }

  #tab-description thead{
    display: none !important;
  }

  #tab-description table{
    border-radius: 16px !important;
  }

  #tab-description tr{
    padding: 10px 12px !important;
    border-bottom: 1px solid rgba(0,0,0,.08) !important;
    background: #fff !important;
  }

  #tab-description tr:last-child{
    border-bottom: 0 !important;
  }

  #tab-description td{
    border: 0 !important;
    padding: 6px 0 !important;
    font-size: 15px !important;
    padding-left:21px !important;
  }


}

/* Little spacing between sections */
#tab-description h2 + h3,
#tab-description h2 + table,
#tab-description h3 + table{
  margin-top: 10px !important;
}
