@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100..900&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
  overflow-y: auto;
  color: #4d4c4c;
}

a {
  text-decoration: none!important;
}

.contacts a {
  color: #ee3a45;
}

.menu {
  background-color: rgb(63, 27, 42);
  color: #fff;
  padding: 10px 0;
  width: 100%;
  height: 55px;
  position: absolute;
  top: 5px;
  left: 0;
  display: flex;
  align-items: center;
  z-index: 100;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 300;
}

.menu-logo a {
  font-size: 20px;
  font-weight: 500!important;
  color: #fff;
  text-decoration: none;

}

.mobile-menu-logo {
  display: none;
}

@media screen and (max-width: 768px) {
    .mobile-menu-logo {
      display: block;
      font-size: 40px;
      font-weight: 500!important;
      color: #fff;
      text-decoration: none;
      position: absolute;
      top: 10px;
      left: 15px;
      z-index: 1000;
    }
}

.menu a:hover:after {
  content: '';
  display: block;
  width: 110px;
  height: 6px;
  position: absolute;
  margin: 6px 0 0;
  background-color: #fff;
}

.menu-logo a:hover::after {
  display: none;
}

.menu-products {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 200px;
  background-color: #fff;
  position: absolute;
  top: 60px;
  z-index: 100;
}

.dropdown:hover + .menu-products {
  display: flex;
}

.menu-products img {
  width: auto;
  height: 120px;
}

.menu-products a:hover img {
  transform: scale(1.05);
}

.menu-products a {
  color: #3f1b2a;
  text-decoration: none;
  font-size: 20px;
  font-weight: 300;
  display: block;
}

.menu-products a:hover {
  text-decoration: underline;
}

.top-banner {
  background: url('../images/img_00.webp') no-repeat center center;
  background-size: cover;
  width: 100%;
  min-height: 626px;
  position: relative;
  display: flex;
  overflow-x: hidden;
}

.top-banner > .container {
  width: 100%;
}

.top-banner a {
  display: block;
  position: relative;
  z-index: 100;
}

@media screen and (min-width: 2600px) {
  .top-banner img {
    width: 75%;
  }
}

@media screen and (max-width: 576px) {
  .top-banner {
    min-height: 350px;
  }
}

.top-line {
  background-color: rgb(238, 58, 69);
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  overflow-x: hidden;
}

.top-line > .container {
  width: 100%;
}

.top-header {
  font-size: 72px;
  font-family: 'Roboto';
  font-weight: 300;
  color: rgb(255, 255, 255);
  line-height: 1.2;
}

.content::before {
  content: '';
  background-image: url(/images/second-bg.webp);
  background-size: cover;
  width: 100%;
  height: 92px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.rubrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgb(238, 58, 69);
  color: #fff;
  margin: 30px 0 0;
}

.rubrics h1 {
  padding: 20px 0;
  font-size: 42px;
}

h2, h3 {
  color: #ee3a45;
}

section {
  padding: 30px 0 30px;
  position: relative;
}

.big-header {
  font-size: 60px;
  font-family: 'Roboto';
  font-weight: 400;
  color: rgb(57, 19, 28);
  line-height: 1.2;
  margin: 40px 0;
}

.section-title {
  font-size: 36px;
  font-family: 'Roboto';
  font-weight: 300;
  color: rgb(238, 58, 69);
  line-height: 1.2;
  margin: 20px 0 20px;
}

section p {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 300;
}

section ul li {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 20px;
  font-weight: 300;
}

section ul li::marker {
  color: rgb(238, 58, 69);
}

#gray {
  background-color: rgb(238, 238, 238);
}

.white-header {
  margin-top: -25px;
  max-width: 100%;
}

.table-container table th {
  background: #ee3a45;
}

.table-container table thead td {
  border-right: 2px solid #ee3a45;
}

.table-container table tr.title {
  background: #ee3a45;
}

.table-container table td {
  border-right: 2px solid #ee3a45;
}

.footer-top {
  background: url('/images/img_08.webp') no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 82px;
  overflow-x: hidden;
}

.footer-main {
  background-color: rgb(238, 58, 69);
  color: #ffffff;
  padding: 60px 0;
}

.footer-bottom {
  background-color: #ffffff;
  height: 80px;
  display: block;
  align-items: center;
  font-size: 14px;
}

.footer-bottom p {
  color: #16708b;
}

.footer-bottom-link {
  color: #16708b;
}

.footer-bottom-link:hover,
.footer-bottom-link:focus {
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  .top-line {
    height: auto;
  }
}
@media screen and (max-width: 475px) {
  .top-line {
    height: auto;
  }
  .top-header {
    font-size: 46px; 
  }
  .big-header {
    font-size: 46px;
  }
  .footer-top {
    height: 30px;
  }
  .footer-main {
    padding: 30px 0 0;
  }
}
@media screen and (max-width: 268px) {
  .top-header {
    font-size: 34px; 
  }
  .big-header {
    font-size: 34px;
  }
  .section-title {
    font-size: 26px;
  }
}

/* Cookie Notification Bar */
#cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #dbeff8;
  padding: 15px 0;
  min-height: 40px;
  z-index: 99999;
  text-align: center;
  font-size: 13px;
  display: none;
  box-sizing: border-box;
}

#cookie-close {
  margin: -2px 20px 0;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  background: #fff;
  padding: 5px 15px;
  border-radius: 10px;
}

@media screen and (min-width: 1920px) {
  #cookie-bar {
    padding: 15px 0;
    min-height: 60px;
    font-size: 14px;
    bottom: 30px;
  }
}

/* ===== BURGER & MOBILE MENU ===== */

/* Бургер-кнопка — скрыта на десктопе */
.burger {
  display: none;
}

/* Мобильное меню — скрыто на десктопе */
.mobile-menu {
  display: none;
}

.mobile-overlay {
  display: none;
}

/* ---------- Мобильная версия ---------- */
@media screen and (max-width: 768px) {

  /* Скрываем десктопные ссылки в .menu */
  .menu .menu-links {
    display: none;
  }

  /* Показываем бургер */
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 12px;
    right: 15px;
    z-index: 1100;
    padding: 5px;
  }

  .burger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Анимация крестика */
  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Выдвижное меню */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background-color: rgb(63, 27, 42);
    z-index: 1050;
    transition: right 0.35s ease;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
  }

  .mobile-menu.open {
    right: 0;
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    padding: 0;
  }
  
  .mobile-menu-close span {
    display: block;
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    left: 3px;
    top: 50%;
  }
  
  .mobile-menu-close span:first-child {
    transform: translateY(-50%) rotate(45deg);
  }
  
  .mobile-menu-close span:last-child {
    transform: translateY(-50%) rotate(-45deg);
  }

  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mobile-menu-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: padding-left 0.2s ease;
  }

  .mobile-menu-nav a:hover {
    padding-left: 8px;
  }

  /* Продукты в мобильном меню */
  .mobile-menu-products {
    margin-top: 30px;
  }

  .mobile-menu-products-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }

  .mobile-menu-products a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-products a img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    padding: 4px;
  }

  /* Оверлей */
  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-overlay.show {
    display: block;
    opacity: 1;
  }

  /* Блокировка скролла при открытом меню */
  body.menu-locked {
    overflow: hidden;
  }
}