﻿/*=== Стили для баннера ===*/

.banner {
  padding-top: 150px !important;
  margin-bottom: 0px !important;
}

.banner-content h1 {
  text-align: center;
}

.banner-content p {
  line-height: normal;
}

.update-tabs-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.banner .tablinks {
  flex: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  white-space: nowrap;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  padding: 15px 30px;
}

/*=== Стили для секций ===*/

.sec-container {
  padding: 50px 0px;
  background-color: #fff;
}

/* === Стили для страницы обновления === */

/* Обёртка страницы */
.update-page-content {
  background-color: #fff;
  padding: 10px 0 0;
}

/* Вводный текст */
.update-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 15px 30px;
  text-align: left;
}

.update-intro p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Заголовки секций (синие, по центру) */
.update-section-title {
  text-align: center;
  color: #4D7AB0;
  font-size: 28px;
  font-weight: 400;
  margin: 0px 0 50px;
  padding: 0 15px;
}

.update-section-title.red {
  color: #8F313E;
}

.update-section-title.blue {
  color: #4D7AB0;
}

/* Метки (uppercase) */
.update-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8F313E;
  margin-bottom: 12px;
}

.update-label.blue {
  color: #4D7AB0;
}

.update-feature .feature-text {
  max-width: none;
}

.update-feature .feature-text h3 {
  font-size: 32px;
  font-weight: 500;
  color: #212529;
  line-height: 1.3;
  margin-bottom: 16px;
}

.update-feature p {
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 12px;
}

.highlight {
  background-color: #BACBE1;
  color: rgba(0, 0, 0, 0.6);
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 500;
}

.highlight-red {
  background-color: rgba(143, 49, 62, 0.4);
  color: rgba(0, 0, 0, 0.85);
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 500;
}

.update-feature .feature-img {
  text-align: center;
  max-width: 100%;
}

.update-feature .feature-img img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Чек-лист с маркерами */
.update-checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}

.update-checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

.update-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;

  width: 22px;
  height: 22px;

  background-color: rgba(143, 49, 62, 0.4);
  border-radius: 50%;

  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1L3.5 7L1 4.27273' stroke='%238F313E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}

.update-checklist.blue li::before {
  background-color: rgba(77, 122, 176, 0.4);
  background-image: url(../images/icons/Check_blue.svg);
}

.update-checklist.custom-colors li {
  padding-left: 28px;
}

.update-checklist.custom-colors li::before {
  content: '';
  width: 16px;
  height: 16px;
  top: 3px;
  left: 0;
  display: block;
}

.update-checklist.custom-colors li.color-red::before {
  background: #E15A5A;
}

.update-checklist.custom-colors li.color-blue::before {
  background: #4D7AB0;
}

.update-checklist.custom-colors li.color-yellow::before {
  background: #E8A246;
}

.update-checklist.custom-colors li.color-green::before {
  background: #96C15D;
}

.update-checklist.custom-colors li.color-grey::before {
  background: #A0AABF;
}

/* Ссылки со стрелкой */
.update-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4D7AB0;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.update-link.red {
  color: #8F313E;
}

.update-link:hover {
  color: #8F313E;
  text-decoration: none;
}

/* Секция 3 - две колонки изображений */
.sec3-img1 {
  max-height: 125px;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  border-radius: 1px solid #000;
}

.sec3-img2 {
  border: 1px solid #d0d0d0;
  max-height: 125px;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 1px solid #000;
}

.update-two-cols {
  margin-top: 40px;
}

.update-col-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.update-col-card:hover {
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.update-col-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.update-col-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 10px;
}

.update-col-card p {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Секция 4 - Серый фон */
.update-section-gray {
  background-color: rgba(143, 127, 49, 0.05);
  padding: 50px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.update-section-white {
  background-color: #fff;
  padding: 50px 0;
}

.update-shop-intro-section {
  padding-top: 40px;
  padding-bottom: 20px;
}

.update-shop-intro {
  margin: 0 auto;
  padding: 0 15px;
}

.update-shop-intro__columns {
  row-gap: 24px;
  margin-bottom: 18px;
}

.update-shop-intro__column {
  max-width: 470px;
}

.update-shop-intro__list {
  margin: 18px 0 0;
}

.update-shop-intro__note {
  margin: 0;
  color: rgba(0, 0, 0, 0.6);
  font-size: 18px;
  line-height: 1.6;
}

.update-shop-intro__note a {
  color: #4D7AB0;
  text-decoration: underline;
}

.update-shop-intro__note a:hover {
  color: #8F313E;
}

@media only screen and (max-width: 991px) {
  .update-shop-intro-section {
    padding-top: 30px;
  }

  .update-shop-intro__column {
    max-width: none;
  }
}

@media only screen and (max-width: 767px) {
  .update-shop-intro {
    padding: 0;
  }

  .update-shop-intro__note {
    font-size: 16px;
  }
}

.slider-with-arrows {
  position: relative;
  width: 100%;
}

.slider-arrow-container {
  position: sticky;
  top: 50vh;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0;
}

.custom-swiper-prev,
.custom-swiper-next {
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  color: #a4313d;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(164, 49, 61, 0.15);
  border: 1px solid rgba(164, 49, 61, 0.1);
}

.custom-swiper-prev:hover,
.custom-swiper-next:hover {
  background: #a4313d;
  color: #fff;
  box-shadow: 0 8px 25px rgba(164, 49, 61, 0.25);
  transform: scale(1.05);
}

.custom-swiper-prev {
  margin-left: 20px;
}

.custom-swiper-next {
  margin-right: 20px;
}

/* Section 4 slider arrows center and styling overrides */
.swiper-slide .feature-img img {
  max-width: 100%;
  border: 1px solid #ddd;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section-4-arrows .custom-swiper-prev,
.section-4-arrows .custom-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  margin: 0;
  background: #8F313E;
  color: #fff;
  border: none;
  box-shadow: none;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  transition: all 0.3s ease;
}

.section-4-arrows .custom-swiper-prev:hover,
.section-4-arrows .custom-swiper-next:hover {
  background: #b58087;
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.section-4-arrows .custom-swiper-prev {
  left: 40px;
}

.section-4-arrows .custom-swiper-next {
  right: 40px;
}

.section-4-slider-wrapper {
  position: relative;
  padding: 0;
  background: transparent !important;
}

.section-4-slider-wrapper .swiper-slide {
  background: transparent !important;
}

.swiper-slide {
  padding-right: 0px;
  padding-left: 0px;
}

.swiper-slide h3 {
  font-size: 32px;
  color: #212519;
  line-height: 1.4;
}

.swiper-slide p {
  font-size: 18px;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 5px;
}

.swiper-slide .update-checklist {
  margin-top: 10px;
}

.swiper-slide li::before {
  display: none !important;
}

.update-features-slider .swiper-wrapper {
  position: relative;
  overflow: hidden;
}

.update-features-slider .swiper-slide {
  display: none;
  width: 100%;
}

.update-features-slider .swiper-slide.active,
.update-features-slider .swiper-slide.animating-in-next,
.update-features-slider .swiper-slide.animating-in-prev,
.update-features-slider .swiper-slide.animating-out-next,
.update-features-slider .swiper-slide.animating-out-prev {
  display: block;
}

.update-features-slider .swiper-slide.animating-in-next {
  animation: section4SlideInNext 0.35s ease forwards;
}

.update-features-slider .swiper-slide.animating-in-prev {
  animation: section4SlideInPrev 0.35s ease forwards;
}

.update-features-slider .swiper-slide.animating-out-next {
  animation: section4SlideOutNext 0.35s ease forwards;
}

.update-features-slider .swiper-slide.animating-out-prev {
  animation: section4SlideOutPrev 0.35s ease forwards;
}

.section-4-arrows .custom-swiper-prev::after,
.section-4-arrows .custom-swiper-next::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #8F313E;
  white-space: nowrap;
}

.section-4-arrows .custom-swiper-prev::after {
  content: "Пред";
  left: calc(100% + 12px);
}

.section-4-arrows .custom-swiper-next::before {
  content: "След";
  right: calc(100% + 12px);
}

.slide1-3 {
  display: none;
}

.slide3-1 {
  display: block;
}

@keyframes section4SlideInNext {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes section4SlideOutNext {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(-40px);
  }
}

@keyframes section4SlideInPrev {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes section4SlideOutPrev {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

@media (max-width: 1024px) {
  .update-banner h1 {
    font-size: 36px;
  }

  .update-section-title {
    font-size: 28px;
  }

  .section-4-arrows .custom-swiper-prev {
    left: 20px;
  }

  .section-4-arrows .custom-swiper-next {
    right: 20px;
  }

  .slide1-3 {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .slide3-1 {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-4-arrows .custom-swiper-prev {
    left: 5px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .section-4-arrows .custom-swiper-next {
    right: 5px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .section-4-arrows .custom-swiper-prev::after,
  .section-4-arrows .custom-swiper-next::before {
    display: none;
  }
}

/* Адаптив */
@media (max-width: 1440px) {
  .section-4-arrows .custom-swiper-prev {
    left: 20px;
  }

  .section-4-arrows .custom-swiper-next {
    right: 20px;
  }
}

/* Аккордеон */
.update-accordion-container {
  max-width: 100%;
  margin: 40px auto 0;
}

.update-accordion-item {
  background: #fff;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.update-accordion-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  border-color: #dbe4ef;
}

.update-accordion-header {
  background-color: #f4f7fb;
  color: #2b2b2b;
  font-weight: 600;
  border-radius: 12px;
  padding: 18px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-size: 16px;
}

.update-accordion-header:hover {
  background-color: #e9eff5;
  color: #4D7AB0;
}

.update-accordion-header i {
  font-size: 20px;
  color: #4D7AB0;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(77, 122, 176, 0.15);
}

.update-accordion-item.open .update-accordion-header {
  border-radius: 12px 12px 0 0;
  background-color: #e9eff5;
  color: #4D7AB0;
}

.update-accordion-item.open .update-accordion-header i {
  transform: rotate(180deg);
}

.update-accordion-body {
  display: none;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.6);
  border-radius: 0 0 12px 12px;
  padding: 0;

}

.update-accordion-item.open .update-accordion-body {
  display: block;
}

/* Секция с иконками (Быстрый чек) */
.quick-receipt-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.qr-icon {
  text-align: center;
  padding: 20px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.qr-icon:hover {
  background: #f8f9fa;
  transform: translateY(-5px);
}

.qr-icon i {
  font-size: 36px;
  color: #4D7AB0;
  margin-bottom: 15px;
  background: rgba(77, 122, 176, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
}

.qr-icon:hover i {
  background: #4D7AB0;
  color: #fff;
  box-shadow: 0 8px 20px rgba(77, 122, 176, 0.3);
}

.qr-icon span {
  font-size: 15px;
  font-weight: 500;
  color: #2b2b2b;
}

/* -------------------------------------
   Section 3 styles (Fast Check)
------------------------------------- */
.update-step {
  display: flex;
  flex-direction: column;
}

.update-step-head {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
}

.update-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(77, 122, 176, 0.4);
  color: #4D7AB0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.update-step-content h4 {
  color: #000;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  margin-top: 8px;
}

.update-step-content p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 15px;
  line-height: 1.6;
}

/* Адаптив */
@media (max-width: 1440px) {
  .section-4-arrows .custom-swiper-prev {
    left: 20px;
  }

  .section-4-arrows .custom-swiper-next {
    right: 20px;
  }
}

@media (max-width: 1024px) {
  .update-banner h1 {
    font-size: 36px;
  }

  .update-section-title {
    font-size: 28px;
  }

  .section-4-arrows .custom-swiper-prev {
    left: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .section-4-arrows .custom-swiper-next {
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .update-feature {
    text-align: left;
  }

  .update-feature .feature-text h3 {
    font-size: 24px;
  }

  .update-col-card {
    margin-bottom: 20px;
  }

  .quick-receipt-icons {
    flex-wrap: wrap;
    gap: 20px;
  }

  .custom-swiper-prev {
    margin-left: 10px;
  }

  .custom-swiper-next {
    margin-right: 10px;
  }
}

@media (max-width: 768px) {

  .section-4-arrows .custom-swiper-prev {
    left: 5px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .section-4-arrows .custom-swiper-next {
    right: 5px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .update-banner {
    padding: 50px 0;
  }

  .update-div {
    flex-direction: column-reverse;
  }

  .update-banner h1 {
    font-size: 28px;
  }

  .update-tabs {
    flex-direction: column;
    padding: 0 20px;
  }

  .update-section-title {
    font-size: 24px;
  }

  .update-feature .feature-text h3 {
    font-size: 22px;
  }

  .custom-swiper-prev,
  .custom-swiper-next {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

/* Стили для update-3-4-54.html */
/* Стили для альтернативного меню */
.update-desktop-nav a.update-scroll-link {
  font-size: 15px;
  font-weight: 500;
  color: #2b2b2b;
  padding: 10px 15px;
  transition: color 0.3s ease;
  position: relative;
}

.update-desktop-nav a.update-scroll-link:hover {
  color: #4D7AB0;
}

.update-desktop-nav a.update-scroll-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 2px;
  background-color: #4D7AB0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.update-desktop-nav a.update-scroll-link:hover::after {
  transform: scaleX(1);
}

/* Стили для мобильного альтернативного меню */
.update-mobile-nav .sub-menu {
  padding-left: 15px;
  margin-top: 10px;
}

.update-mobile-nav a.update-scroll-link {
  color: #666;
  font-size: 14px;
  padding: 8px 0;
  display: block;
}

.update-mobile-nav a.update-scroll-link:hover {
  color: #4D7AB0;
  font-weight: 600;
}

.update-mobile-nav a.update-scroll-link:focus,
.update-mobile-nav a.update-scroll-link:active {
  outline: none;
  box-shadow: none;
}

/* Адаптивные стили для страницы обновления */
.update-container,
.banner .container {
  max-width: max-content;
  padding: 0 153px;
}

.custom-chef-accordion .chef-accordion-item {
  border-radius: 4px;
  overflow: hidden;
}

.custom-chef-accordion .chef-accordion-header {
  transition: background-color 0.3s ease;
}

.custom-chef-accordion .chef-accordion-header:hover {
  background-color: #a8bed9 !important;
}

.custom-chef-accordion .chef-accordion-header i {
  transition: transform 0.3s ease;
}

.custom-chef-accordion .chef-accordion-header.active i {
  transform: rotate(180deg);
}

.green-li,
.blue-li,
.red-li {
  padding: 5px 10px;
  border-radius: 12px;

  display: inline-block;
  line-height: 1;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  leading-trim: both;
  text-edge: cap alphabetic;
}

.green-li {
  background-color: #dbefc9;
  border: 1px solid #c3dcad;
  color: #40aa40;
}

.blue-li {
  background-color: #D6E4F0;
  border: 1px solid #C4DBF2;
  color: #428BCA;
}

.red-li {
  background-color: #F7D4D4;
  border: 1px solid #E5C3C3;
  color: #A94442
}

.custom-chef-accordion .chef-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.custom-chef-accordion .chef-accordion-body.open {
  max-height: 2000px;
  /* Достаточно большое значение для контента */
  transition: max-height 0.5s ease, padding 0.3s ease, opacity 0.3s ease;
  opacity: 1;
  padding-top: 15px !important;
}

@media (max-width: 1024px) {

  .update-container,
  .banner .container {
    padding: 0 100px !important;
  }

  .update-tabs-container {
    margin-top: 15px !important;
    padding: 0 15px !important;
  }

  .tablinks {
    width: 50%;
    border-radius: 0;
    font-size: 13px;
    padding: 10px 5px;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
  }

  .tablinks:first-child {
    border-top-left-radius: 8px !important;
  }

  .tablinks:last-child {
    border-top-right-radius: 8px !important;
  }

  .banner-content h1 {
    font-size: 32px;
  }

  .banner-content p {
    font-size: 16px !important;
    text-align: left !important;
  }

  .update-section-title {
    font-size: 24px !important;
    text-align: center !important;
    margin-bottom: 30px !important;
  }

  .feature-text {
    text-align: left !important;
  }

  .feature-text h3 {
    font-size: 24px !important;
  }

  .chef-accordion-header {
    padding: 10px 15px !important;
  }

  .chef-accordion-header span {
    font-size: 16px !important;
    line-height: 1.4;
  }

  .chef-accordion-body img,
  .feature-img img {
    max-width: 100% !important;
    height: auto !important;
  }

  .section-4-arrows {
    padding: 0 15px;
  }

  .custom-swiper-prev,
  .custom-swiper-next {
    display: none !important;
  }

  .swiper-pagination {
    display: block !important;
    position: relative !important;
    margin-top: 20px;
    text-align: center;
  }

  .update-step-content h4 {
    font-size: 18px;
  }

  .accordion-img-container {
    max-width: 65% !important;
  }
}

.header-main {
  margin-top: 0;
}

@keyframes mobileFadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Стили для десктопа по умолчанию */
.accordion-img-container {
  max-width: 40%;
}

/* Стили для мобильного слайдера (2 секция) */
.mobile-slider-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
}

.mobile-slider-pagination .dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #d6d6d6;
  cursor: pointer;
  transition: background-color 0.3s;
}

.mobile-slider-pagination .dot.active {
  background-color: #8F313E;
  width: 20px;
}

/* GIF Player Styles */
.gif-player-container {
  position: relative;
  display: inline-block;
  width: 100%;
  cursor: pointer;
}

.gif-player-container img {
  width: 100%;
  display: block;
}

.gif-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  pointer-events: none;
}

.gif-player-container.playing .gif-overlay {
  background: transparent;
}

.play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, opacity 0.3s;
  pointer-events: auto;
  /* Важно, чтобы на саму кнопку клики срабатывали */
}

.gif-player-container:hover .play-button {
  transform: scale(1.1);
}

.gif-player-container.playing .play-button {
  opacity: 0;
}

.gif-player-container.playing:hover .play-button {
  opacity: 0.8;
  transform: scale(1);
}

.play-button::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #4D7AB0;
  margin-left: 5px;
  transition: all 0.2s;
  pointer-events: none;
}

.gif-player-container.playing .play-button::after {
  border-style: solid;
  border-width: 0 6px;
  border-color: #4D7AB0;
  height: 20px;
  width: 20px;
  margin-left: 0;
  box-sizing: border-box;
  background: transparent;
  pointer-events: none;
}

.gif-player-container.playing .play-button::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #4D7AB0;
  margin-left: 5px;
  transition: all 0.2s;
  pointer-events: none;
}

.gif-player-container.playing .play-button::after {
  border-style: solid;
  border-width: 0 6px;
  border-color: #4D7AB0;
  height: 20px;
  width: 20px;
  margin-left: 0;
  box-sizing: border-box;
  background: transparent;
  pointer-events: none;
}

/* Центрирование навигации */
.update-desktop-nav {
  justify-content: center !important;
  width: 100% !important;
}

.update-desktop-nav ul.nav {
  justify-content: center !important;
  display: flex;
  margin: 0 auto;
}

.header.update-page-header .menu-wrapper {
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 16px;
  margin-top: 0px;
}



.header.update-page-header .default-desktop-nav,
.header.update-page-header .update-desktop-nav {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
}

.header.update-page-header .default-desktop-nav .nav,
.header.update-page-header .update-desktop-nav .nav {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0;
}

.header.update-page-header .default-desktop-nav .nav>li,
.header.update-page-header .update-desktop-nav .nav>li {
  flex: 0 0 auto;
}

.header.update-page-header .default-desktop-nav .nav>li>a,
.header.update-page-header .update-desktop-nav .nav>li>a {
  white-space: nowrap;
}

.header.update-page-header .menu-wrapper>.all_caf_btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Обертка меню */
.header-area .main-menu.update-desktop-nav {
  flex: 1;
}

/* Кнопка раскрытия GIF */
.expand-gif-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4D7AB0;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 20;
  pointer-events: auto;
}

.expand-gif-btn:hover {
  background: #4D7AB0;
  color: #fff;
  transform: scale(1.1);
}

.gif-player-container:hover .expand-gif-btn {
  opacity: 1;
}

.img-zoom-container:hover .expand-gif-btn {
  opacity: 1;
}

/* Image Zoom Styles */
.img-zoom-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Модальное окно для GIF/Изображений */
.gif-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gif-modal.show {
  display: flex;
  opacity: 1;
}

.gif-modal-content {
  max-width: 100%;
  max-height: 90vh;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  object-fit: contain;
}

.gif-modal-close {
  position: absolute;
  top: -50px;
  right: -50px;
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  z-index: 10000;
}

.gif-modal-close:hover {
  color: #ccc;
}

/* Фиксированный хедер страницы обновления */
.header.update-page-header {
  min-height: 100px;
}

@media (min-width: 769px) {
  .header.update-page-header {
    height: 100px;
  }

  .header.update-page-header .header-main,
  .header.update-page-header .header-main.sticky {
    min-height: 100px;
    height: 100px;
    display: flex;
    align-items: center;
  }
}

.header.update-page-header.scrollUp,
.header.update-page-header.scrollDown {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -webkit-animation: none;
  animation: none;
  transition: none;
}

.header.update-page-header .header-main {
  background-color: rgba(43, 43, 43, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  -webkit-animation: none !important;
  animation: none !important;
  transition: none;
}

.header.update-page-header .header-main.sticky {
  background-color: rgba(43, 43, 43, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  -webkit-animation: none !important;
  animation: none !important;
  transition: none;
}

/* Одноразовый onboarding-оверлей */
.update-header-hint {
  position: fixed;
  inset: 0;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.update-header-hint.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.update-header-hint__backdrop {
  position: absolute;
  top: var(--update-header-height, 83px);
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.62);
  transition: opacity 0.35s ease;
}

body.update-hint-lock {
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
}

.update-header-hint__card {
  position: absolute;
  top: var(--update-header-hint-top, 210px);
  right: var(--update-header-hint-right, 270px);
  width: 470px;
  max-width: calc(100vw - 40px);
  background: #f7f7f5;
  border-radius: 32px;
  padding: 34px 82px 34px 38px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s ease;
  vertical-align: center;
}

.update-header-hint__card::before {
  content: "";
  position: absolute;
  top: -125px;
  left: -138px;
  width: 205px;
  height: 210px;
  background: url("../images/update-3-4-54/nav-arrow.png") no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.update-header-hint.is-visible .update-header-hint__card {
  transform: translateY(0) scale(1);
}

.update-header-hint__card p {
  margin: 0;
  color: #262626;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 400;
}

.update-header-hint__text--desktop {
  display: block;
}

.update-header-hint__text--mobile {
  display: none;
}

.update-header-hint__trigger-mock {
  display: none;
}

.update-header-hint__close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.update-header-hint__close img {
  width: 100%;
  height: 100%;
  display: block;
}

.update-header-hint__arrow {
  display: none;
}

.update-content-trigger {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  width: 46px;
  height: 46px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  bottom: 50%;
  left: 4%;
  transform: scale(0);
  transition: 0.3s ease-in;
  border: 0;
  background-color: #8F313E;
  z-index: 998;
}

.update-content-trigger.show {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  bottom: 10%;
}

.update-content-trigger:hover {
  opacity: 0.6;
}

.update-content-trigger span {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.update-content-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.update-content-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.update-content-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.update-content-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, calc(100vw - 32px));
  max-height: min(80vh, 640px);
  overflow-y: auto;
  transform: translate(-50%, -50%) scale(0.96);
  background: #f7f7f5;
  border-radius: 28px;
  padding: 28px 24px 24px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.update-content-modal.is-visible .update-content-modal__dialog {
  transform: translate(-50%, -50%) scale(1);
}

.update-content-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.update-content-modal__close img {
  width: 100%;
  height: 100%;
  display: block;
}

.update-content-modal__title {
  margin: 0 40px 20px;
  text-align: center;
  color: #262626;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
}

.update-content-modal__section {
  display: none;
}

.update-content-modal__section.is-active {
  display: block;
}

.update-content-modal__section-title {
  margin: 0 40px 18px 0;
  color: #262626;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
}

.update-content-modal__section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-content-modal__section li + li {
  margin-top: 10px;
}

.update-content-modal__section a {
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(77, 122, 176, 0.08);
  color: #262626;
  font-size: 16px;
  line-height: 1.35;
}

.update-content-modal__section a:hover {
  color: #262626;
  background: rgba(77, 122, 176, 0.14);
}

.update-content-modal__group-item {
  margin-top: 10px;
}

.update-content-modal__group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: rgba(77, 122, 176, 0.08);
  color: #262626;
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.update-content-modal__group-arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #262626;
  border-bottom: 2px solid #262626;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -4px;
}

.update-content-modal__group-toggle[aria-expanded="true"] .update-content-modal__group-arrow {
  transform: rotate(225deg);
  margin-top: 4px;
}

.update-content-modal__group-list {
  display: none;
  margin-top: 10px !important;
  padding-left: 14px !important;
}

.update-content-modal__group-item.is-open .update-content-modal__group-list {
  display: block;
}

.update-content-modal__group-list li + li {
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .update-container,
  .banner .container {
    padding: 0 100px !important;
  }

  .header.update-page-header .header-main {
    min-height: 100px;
  }

  .header.update-page-header .menu-wrapper {
    gap: 10px;
  }

  .header.update-page-header .default-desktop-nav .nav>li>a,
  .header.update-page-header .update-desktop-nav .nav>li>a {
    font-size: 13px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .header.update-page-header .menu-wrapper>.all_caf_btn {
    padding: 12px 18px;
    font-size: 14px;
  }

  .update-header-hint__card {
    top: var(--update-header-hint-top, 205px);
    width: 430px;
    padding: 30px 74px 30px 34px;
    right: var(--update-header-hint-right, 210px);
  }

  .update-header-hint__card::before {
    top: -107px;
    left: -114px;
    width: 178px;
    height: 184px;
  }

  .update-tabs-container {
    margin-top: 15px !important;
    padding: 0 15px !important;
  }
}

@media (max-width: 768px) {
  .update-header-hint {
    display: block;
    transition: none;
  }

  .update-header-hint__backdrop {
    top: 0;
  }

  .update-header-hint__card {
    top: 50%;
    right: auto;
    left: 50%;
    width: min(332px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    padding: 34px 28px;
    border-radius: 28px;
    transform: translate(-50%, -50%);
    transition: none;
  }

  .update-header-hint__card::before {
    display: none;
  }

  .update-header-hint.is-visible .update-header-hint__card {
    transform: translate(-50%, -50%);
  }

  .update-header-hint__card p {
    font-size: 19px;
    line-height: 1.35;
    text-align: center;
  }

  .update-header-hint__text--desktop {
    display: none;
  }

  .update-header-hint__text--mobile {
    display: block;
  }

  .update-header-hint__close {
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
  }

  .update-header-hint__trigger-mock {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    left: 4%;
    bottom: 10%;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #8F313E;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    pointer-events: none;
  }

  .update-header-hint__arrow {
    position: absolute;
    display: block;
    inset: 0;
    transform: none;
    pointer-events: none;
    top: 60%;
    left: calc(4% + 46px);
    width: 50%; 
    height: calc(35% - 46px);
  }

  .update-header-hint__arrow img {
    width: 100%;
    background-position: bottom;
    background-size: cover;
    display: block;
  }

  .update-content-trigger {
    display: inline-flex;
  }

  .update-content-modal {
    display: block;
  }

  .update-tabs-container {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    padding: 0 15px !important;
  }

  .banner .tablinks {
    width: 50% !important;
    white-space: normal;
    border-radius: 8px 8px 0 0 !important;
    font-size: 14px !important;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }

  .mobile-slide {
    display: none !important;
    animation: mobileFadeIn 0.3s ease;
  }

  .mobile-slide.active {
    display: block !important;
  }

  .update-link {
    align-self: center;
  }

  .sec3-img1 {
    max-height: 100px;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    border-radius: 1px solid #000;
  }

  .sec3-img2 {
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-height: 100px;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    border-radius: 1px solid #000;
  }

  .update-container,
  .banner .container {
    padding: 0 70px !important;
  }

  .gif-modal-close {
    top: -25px;
    right: -25px;
    color: #fff;
  }

  .swiper-slide .feature-img {
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .swiper-slide .feature-img .gif-player-container {
    max-width: 70% !important;
  }

  .swiper-slide .feature-img img {
    max-width: 70% !important;
  }

  .swiper-slide .feature-img .gif-player-container img {
    max-width: 100% !important;
  }

  .slide1-3 {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .slide3-1 {
    display: none;
  }
}

@media (max-width: 425px) {
  .update-container,
  .banner .container {
    padding: 0 15px !important;
  }

  .accordion-img-container {
    max-width: 100% !important;
  }

  .swiper-slide .feature-img .gif-player-container {
    max-width: 100% !important;
  }

  .swiper-slide .feature-img img {
    max-width: 100% !important;
  }
}

/* Финальные переопределения для секции 4 */
.section-4-container .update-features-slider .swiper-wrapper {
  position: relative;
  overflow: hidden;
}

.section-4-container .update-features-slider .swiper-slide {
  display: none;
  width: 100%;
}

.section-4-container .update-features-slider .swiper-slide.active,
.section-4-container .update-features-slider .swiper-slide.animating-in-next,
.section-4-container .update-features-slider .swiper-slide.animating-in-prev,
.section-4-container .update-features-slider .swiper-slide.animating-out-next,
.section-4-container .update-features-slider .swiper-slide.animating-out-prev {
  display: block;
}

.section-4-container .custom-swiper-prev,
.section-4-container .custom-swiper-next {
  display: flex;
}

.section-4-container .custom-swiper-prev::after,
.section-4-container .custom-swiper-next::after {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #8F313E;
  white-space: nowrap;
}

.section-4-container .custom-swiper-prev::after {
  content: "Пред";
}

.section-4-container .custom-swiper-next::after {
  content: "След";
}

.section-4-container .custom-swiper-next::before {
  content: none;
  display: none;
}

.section-4-container .prev-mob {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #8F313E;
  display: none;
  top: 0;
  left: 30px;
  justify-content: center;
  align-items: center;
  transform: translateY(-35%);
  color: white;
  font-size: 30px;
}

.section-4-container .next-mob {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #8F313E;
  display: none;
  top: 0;
  right: 30px;
  justify-content: center;
  align-items: center;
  transform: translateY(-35%);
  color: white;
  font-size: 30px;
}

.next-mob i {
  transform: translateX(15%);
}

.prev-mob i {
  transform: translateX(-15%);
}

.section-4-container .slide1-3 {
  display: none;
}

.section-4-container .slide3-1 {
  display: block;
}

@media (max-width: 1024px) {

  .section-4-container .custom-swiper-prev,
  .section-4-container .custom-swiper-next {
    display: flex !important;
  }

  .section-4-container .slide1-3 {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .section-4-container .slide3-1 {
    display: none;
  }
}

@media (max-width: 768px) {

  .section-4-container .custom-swiper-prev,
  .section-4-container .custom-swiper-next {
    display: none !important;
  }

  .section-4-container .custom-swiper-prev::after,
  .section-4-container .custom-swiper-next::after {
    display: none;
  }

  .section-4-container .next-mob,
  .section-4-container .prev-mob {
    display: flex !important;
  }

  .section-4-container .swiper-slide .feature-img {
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section-4-container .swiper-slide .feature-img .gif-player-container {
    max-width: 70% !important;
  }

  .section-4-container .swiper-slide .feature-img img {
    max-width: 70% !important;
  }

  .section-4-container .swiper-slide .feature-img .gif-player-container img {
    max-width: 100% !important;
  }
}

@media (max-width: 425px) {
  .section-4-container .swiper-slide .feature-img .gif-player-container {
    max-width: 100% !important;
  }

  .section-4-container .swiper-slide .feature-img img {
    max-width: 100% !important;
  }
}