/* Шрифт Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Основные стили */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

.page-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Шапка */
.header {
    background: white;
    padding: 50px 0 25px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
    height: 80px;
    padding: 0 20px;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.logo img {
    height: 100%;
    width: auto;
    max-width: 180px;
}

/* Навигация */
.nav {
    flex: 1;
}

.nav--right {
    text-align: right;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav--left .nav__list {
    justify-content: flex-end;
}

.nav--right .nav__list {
    justify-content: flex-start;
}

.nav__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__link {
    color: #183663;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
}

/* Кружочки */
.circle {
    width: 20px;
    height: 20px;
    background-color: #E97491;
    border-radius: 50%;
    display: inline-block;
}

/* Футер */
.site-footer {
    background-color: #afbdd4;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 30px 20px;
  }
  
  .footer-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 40px;
  }
  
  /* Левая часть футера */
  .footer-left {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
  }
  
  .footer-socials {
    display: flex;
    gap: 15px;
  }
  
  .footer-socials img {
    width: 28px;
    height: 28px;
  }
  
  .footer-legal {
    font-size: 12px;
    color: #FFFFFF;
    line-height: 1.4;
  }
  
  /* Правая часть футера */
  .footer-right {
    display: flex;
    flex-shrink: 0;
    min-width: 320px;
    gap: 40px;
  }
  
  .footer-contacts {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .footer-contacts a {
    color: white;
    text-decoration: none;
  }
  
  .footer-phone {
    font-size: 16px;
    font-weight: bold;
  }
  
  .footer-email,
  .footer-address {
    font-weight: bold;
  }
  
  /* Политика */
  .footer-policy-column {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    white-space: nowrap;
  }
  
  .footer-policy-column a {
    color: white;
    text-decoration: none;
    font-size: 14px;
  }

  /* Адаптив для футера*/
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .footer-right {
    flex-direction: column;
    gap: 20px;
  }

  .footer-policy-column {
    justify-content: flex-start;
  }
}

/* Основной контент */
.main-content {
    padding-top: 60px;
    min-height: 100vh;
    padding: 60px 20px 20px;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Текстовые плашки */
.text-plate {
    position: absolute;
    color: white;
    background-color: #FFAFBF;
    padding: 4px 16px; 
    font-family: 'Alumni Sans', sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
    border-radius: 0;
    z-index: 10;
}

.plate-1 {
    top: 40px;
    right: 120px;
}

.plate-2 {
    top: 110px;
    right: 180px;
}

/* Стили для изображений */
.hero-image {
    position: absolute;
    max-width: 280px; 
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-1 {
    top: 60px;
    left: 10%;
    transform: rotate(13deg);
    z-index: 5;
}

.image-2 {
    top: 200px;
    left: 25%;
    transform: rotate(-15deg);
    z-index: 4;
}

.catalog-plate {
    position: absolute;
    top: 200px;
    right: 25%;
    transform: translateX(-50%);
    font-family: 'Alumni Sans', sans-serif;
    font-size: 46px;
    font-weight: 500;
    color: #3A3C7D; 
    letter-spacing: 1px;
    z-index: 30;
    white-space: nowrap;
    text-decoration: none; 
    display: block;
}

.lama-image,
.lama-image-home {
    position: absolute;
    z-index: 2;
}

.lama-image {
    top: 250px; 
    right: 8%; 
    z-index: 2;
    max-width: 250px; 
}

.lama-image-home {
    position: absolute;
    top: 250px; 
    right: 12%;
    z-index: 2;
    width: 200px;
}

.lama-image img,
.lama-image-home img {
    width: 100%;
    height: auto;
    display: block;
}

/* Стили для логотипа */
.logo-image {
    position: relative;
    top: 480px;
    left: 6%;
    max-width: 200px;
    z-index: 3;
}

.logo-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Стили для текста по центру */
.center-text {
    position: absolute;
    top: 550px; 
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
}

.center-text-line1 {
    font-family: 'Alumni Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #3A3C7D; 
    line-height: 1.1;
}

.center-text-line2 {
    font-family: 'Alumni Sans', sans-serif;
    font-size: 26px; 
    color: #3A3C7D;
    line-height: 1.1;
}

/* слайдер */
.slider-section {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: -175px auto 0;
  padding: 0px 60px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Стиль для слайдера с видео */
.slider-section.video-slider {
  margin: -70px auto 0;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  flex-grow: 1;
  margin: 0 20px;
  height: 460px;
  display: flex;
  align-items: center;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.arrow img {
  height: 220px; 
  width: auto;  
  opacity: 0.8;
  transition: opacity 0.3s;
}

.arrow img:hover {
  opacity: 1;
}

.arrow.left {
  left: -80px;
}

.arrow.right {
  right: -80px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  align-items: center; 
  width: 100%;
  height: 100%;
  justify-content: center;
  position: relative;
}

.slide {
  flex: 0 0 30%;
  margin: 0 5px;
  opacity: 1;
  transform: scale(0.8);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  height: 100%;
  box-sizing: border-box;
  padding: 20px 0;
}

.slide {
  padding-bottom: 30px; 
}

.slide-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide img,
.video-wrapper {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 19px;
  overflow: hidden;
}

.slide img {
  object-fit: cover;
  height: 300px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 70%;
  height: 0;
  margin-bottom: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 19px;
}

.slide-caption {
  color: #41447C;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin-top: 15px;
  text-align: center;
  max-width: 300px;
  padding: 0 10px;
  box-sizing: border-box;
  line-height: 1.3;
}

.slide.active {
  transform: scale(1);
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

/* Полоска с градиентом */
.gradient-stripe {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin: 0 -50vw;
  height: 500px;
  background: linear-gradient(180deg, 
      rgba(255, 255, 255, 1) 0%, 
      rgba(255, 255, 255, 0.95) 10%,
      rgba(135, 206, 235, 0.4) 25%, 
      rgba(135, 206, 235, 0.35) 35%, 
      rgba(135, 206, 235, 0.25) 42%, 
      rgba(135, 206, 235, 0.1) 48%, 
      rgba(255, 255, 255, 0.9) 50%, 
      rgba(255, 255, 255, 0.9) 50%, 
      rgba(255, 220, 230, 0.15) 52%, 
      rgba(255, 200, 220, 0.3) 55%, 
      rgba(255, 182, 193, 0.4) 70%,
      rgba(200, 220, 255, 0.3) 85%,
      rgba(220, 240, 255, 0.6) 90%,
      rgba(240, 248, 255, 0.9) 95%,
      rgba(255, 255, 255, 1) 100%);
  z-index: -5;
  margin-top: -300px;
}

/* Стили для секции с товарами */
.products-section {
    padding: 160px 0 100px;
    position: relative;
    z-index: 1;
    margin-top: -200px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 16px 32px 16px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px 16px 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    min-height: 340px;
    transition: box-shadow 0.2s;
}
.product-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.product-image {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}
.product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
    text-align: center;
}
.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #2f2f4f;
    margin-bottom: 8px;
    text-align: center;
}
.catalog-plate {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

/* Стили для блока с изображением */
.products-section .wide-image {
  grid-column: span 2;
  text-align: center;
  padding-top: 20px;
}

.products-section .wide-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    text-decoration: none;
    color: #3A3C7D;
    width: 100%;
    padding: 0 10px;
    max-width: 250px;
    margin: 0 auto;
}

.product-image {
    width: 100%;
    max-width: 100%;
    height: 300px; 
    object-fit: cover; 
    object-position: center;
    margin-bottom: 15px;
    display: block;
    border-radius: 10px; 
}

.product-title {
    font-size: 16px;
    font-weight: 400;
    margin: 10px 0 5px 0;
    line-height: 1.3;
    color: #3A3C7D;
    width: 100%;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #3A3C7D;
    width: 100%;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 10px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .cart-product-price {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .product-card {
        margin-bottom: 30px;
    }
    
    .product-card:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
  .slide {
      flex: 0 0 50%;
  }
  
  .slide.active {
      flex: 0 0 70%;
  }
  
  .arrow.left {
      left: 5px;
  }
  
  .arrow.right {
      right: 5px;
  }
}

/* Стили для контактной формы */
.contact-container {
  display: flex;
  min-height: 50vh;
  padding: 0;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.contact-left {
  width: 60%;  
  padding: 40px 40px;  
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

h1 {
  font-size: 36px;
  color: #183663;
  margin: 0 0 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

.contact-image-container {
  text-align: right;
  margin: -85px 0;
  position: relative;
  z-index: 1;
}

.contact-middle-image {
  width: 160px;
  height: auto;
}

.contact-left .subtitle {
  font-size: 18px;
  color: #183663;
  margin-bottom: 25px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.contact-left .email {
  font-size: 14px;
  color: #E97491;
  margin: 4px 0;
  font-family: 'Montserrat', sans-serif;
}

.email-address {
  color: #6b6ba5;
}

.contact-left .phone {
  font-size: 14px;
  color: #E97491;
  margin: 4px 0 4px 25px; 
  font-family: 'Montserrat', sans-serif;
}

.phone-number {
  color: #6b6ba5; 
  font-weight: normal;
}

.contact-left .phone span {
  color: #6b6ba5;
  font-weight: 500;
}

.contact-left .form-invite {
  font-weight: 400;
  color: #E97491;
  margin: 30px 0 15px;
  font-family: 'Montserrat', sans-serif;
}

.contact-form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  border: 2px solid #f28eae;
  border-radius: 15px;
  padding: 12px 14px;
  margin-bottom: 15px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  background-color: #fffbfd;
  color: #333;
}

/* Стили для плейсхолдеров */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #E97491;
  opacity: 1; /* Для Firefox */
}

/* Для старых браузеров */
.contact-form input::-webkit-input-placeholder { color: #E97491; }
.contact-form input::-moz-placeholder { color: #E97491; }
.contact-form input:-ms-input-placeholder { color: #E97491; }
.contact-form input:-moz-placeholder { color: #E97491; }

/* Стили для секции часто задаваемых вопросов */
.faq-section {
  padding: 60px 0;
  background-color: #fff;
  position: relative;
}

.faq-images-container {
  display: flex;
  justify-content: center;
  margin-bottom: -440px;
  position: relative;
  z-index: 0;
  width: 100%;
}

.faq-image-left,
.faq-image-center,
.faq-image-right {
  height: 440px;
  object-fit: cover;
  flex-shrink: 0;
  margin: 0;
}

.faq-image-left,
.faq-image-right {
  width: 40%;
}

.faq-image-center {
  width: auto;
}

@media (max-width: 1200px) {
  .faq-image-left {
    display: none;
  }
  
  .faq-image-center,
  .faq-image-right {
    width: auto;
  }
}

.faq-container {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-section {
  position: relative;
  padding-top: 30px; 
}

.pink-stripe {
  position: absolute;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin: 0 -50vw;
  height: 3px;
  background-color: #f28eae;
  top: 0;
}

.faq-container {
  position: relative;
  z-index: 2;
}

.faq-headers {
  text-align: center;
  margin-bottom: 30px;
}

.faq-container h2 {
  color: #3A3C7D;
  font-size: 32px;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.faq-subheader {
  color: #3A3C7D;
  font-size: 26px;
  font-weight: 400;
  margin-top: 0px;
}

.faq-item {
  margin-bottom: 12px;
  border: 2px solid #f28eae;
  border-radius: 15px;
  overflow: hidden;
  background-color: #fffbfd;
}

.faq-question {
  padding: 10px 18px;
  font-weight: 500;
  color: #d45d7d;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
  font-size: 15px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #b84c68; 
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #E97491;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #fff; 
}

.faq-answer p {
  padding: 0 20px 20px;
  margin: 0;
  color: #E97491;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  max-height: 300px; /* Достаточно большое значение для плавного раскрытия */
}

.contact-form textarea::-webkit-input-placeholder { color: #E97491; }
.contact-form textarea::-moz-placeholder { color: #E97491; }
.contact-form textarea:-ms-input-placeholder { color: #E97491; }
.contact-form textarea:-moz-placeholder { color: #E97491; }

.contact-form textarea {
  resize: none;
  height: 90px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  font-size: 12px;
  user-select: none;
  font-family: 'Montserrat', sans-serif;
}

.checkbox-wrapper input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
}

.custom-checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid #f28eae;
  border-radius: 4px;
  margin-right: 8px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox {
  background-color: #f28eae;
}

.checkbox-label a {
  color: #6b6ba5;
  text-decoration: none;
  margin-left: 4px;
}

.contact-form button {
  border: none;
  border-radius: 20px;
  padding: 10px 0;
  background-color: #f9c5d3;
  color: white;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.contact-form button:disabled {
  background-color: #fddfe8;
  color: #f28eae;
  cursor: not-allowed;
}

.contact-right {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-end; 
  overflow: hidden;
  padding-left: 20px; 
}

.contact-right img {
  height: 100%;
  max-height: 800px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: right center; 
  display: block;
}

/* Контейнер для ламы */
.lama-wrapper {
  position: relative;
  height: 250px; 
  margin-top: -200px;
  margin-bottom: 40px; 
}

/* Стили корзины */
.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

.titles-container {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 20px auto 10px;
  padding: 0 20px;
}

.form-title,
.section-title,
.cart-container > h2.section-title {
  font-size: 20px;
  margin: 0;
  color: #183663;
  font-weight: 400;
}

.form-title {
  text-align: left;
  width: 65%;
}

.section-title {
  width: auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #8B91A3;
  text-decoration: none;
  transition: color 0.3s;
}

.back-link:hover {
  color: #6B7183;
  text-decoration: underline;
}

.cart-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.left-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: calc(65% - 10px);
}

.right-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 35%;
  align-items: flex-end; 
}

/* Плейсхолдеры в корзине */
.cart-container ::placeholder {
  color: rgba(24, 54, 99, 0.7);
  opacity: 1;
}

.cart-container ::-webkit-input-placeholder {
  color: rgba(24, 54, 99, 0.7);
}

.cart-container ::-moz-placeholder {
  color: rgba(24, 54, 99, 0.7);
}

.cart-container :-ms-input-placeholder {
  color: rgba(24, 54, 99, 0.7);
}

.cart-container :-moz-placeholder {
  color: rgba(24, 54, 99, 0.7);
}

/* Правые плашки */
.cart-summary,
.payment-methods {
  width: 100%;
  box-sizing: border-box;
  max-width: 350px; 
}

.cart-box {
  display: flex;
  gap: 20px;
  width: 100%;
}

.cart-left {
  flex: 1; 
  border: 2px solid #8B91A3;
  padding: 15px;
  background: #fff;
  width: 100%; 
}

.cart-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-weight: 500;
}

.clear-cart {
  color: #e74c3c;
  text-decoration: none;
  font-size: 14px;
}

.clear-cart:hover {
  text-decoration: underline;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
  border-bottom: none;
}

/* Общие стили для изображений товаров */
.product-image {
  width: 100%;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 15px;
  display: block;
  border-radius: 10px;
}

/* Стили для изображений товаров в корзине */
.cart-item .product-image {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  margin-bottom: 0;
}

.product-info p {
  margin: 0;
  line-height: 1.3;
  font-size: 14px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.quantity-btn {
  width: 25px;
  height: 25px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-input {
  width: 35px;
  text-align: center;
  border: 1px solid #ddd;
  padding: 2px 5px;
}


.cart-summary {
  border: 2px solid #8B91A3;
  padding: 15px;
  background: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
  height: auto; 
}

.cart-summary p {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 14px;
}

.cart-summary input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  color: #183663;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.submit-order {
  background-color: #8B91A3;
  color: white;
  border: none;
  padding: 10px;
  margin-top: auto;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.submit-order:hover {
  background-color: #6B7183;
}

.form-section {
  width: 100%;
  border: 2px solid #8B91A3;
  padding: 20px;
  background: #fff;
}

.form-box {
  width: 100%;
}

.input-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.input-row input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  color: #183663;
  background-color: #f8f9fa;
  border-radius: 5px;
}

textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  resize: vertical;
  font-family: 'Montserrat', sans-serif;
  color: #183663;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.delivery-options {
  margin: 15px 0;
  display: flex;
  gap: 30px;
}

.delivery-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.policy-confirm {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 15px;
  font-size: 14px;
  color: #E97491;
  white-space: nowrap;
  flex-wrap: wrap;
}

.policy-confirm a {
  color: #183663;
  text-decoration: underline;
  margin-left: 4px;
}

.policy-confirm a:hover {
  text-decoration: underline;
}

.policy-confirm input[type="checkbox"] {
  margin-right: 4px;
}

.payment-methods {
  width: 100%;
  border: 2px solid #8B91A3;
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.promo-image {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: -60px;  
  margin-bottom: -60px;
}

.promo-image img {
  max-width: 400px;
  height: auto;
}

.promo-text {
  font-size: 24px;
  color: #8B91A3;
  font-weight: 500;
  line-height: 1.4;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .left-section,
  .right-section {
    width: 100%;
  }
  
  .cart-box {
    flex-direction: column;
  }
  
  .cart-summary {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .titles-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .form-title,
  .section-title {
    width: 100%;
    text-align: left;
  }
  
  .input-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .delivery-options {
    flex-direction: column;
    gap: 10px;
  }
  
  .promo-image {
    flex-direction: column;
    text-align: center;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .form-box {
    padding-top: 80px;
  }
  
  .form-lama {
    width: 120px;
    top: -20px;
  }
  
  .cart-box {
    flex-direction: column;
  }
  
  .input-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .delivery-options {
    flex-direction: column;
    gap: 10px;
  }
  
  .cart-item {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .product-info {
    flex: 1;
    min-width: 150px;
  }
  
  .quantity-controls {
    margin: 10px 0;
  }
  
  .cart-summary {
    max-width: 100%;
  }
}

/* Стили для изображения ламы с облаком */
.lama-image {
  position: absolute;
  left: 30px;
  top: 0;
  max-width: 300px; 
  z-index: 2;
}

/* Заголовок видео */
.video-title {
  position: absolute;
  left: 50%;
  top: 110%;
  transform: translate(-50%, -50%);
  color: #41447C;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.lama-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Отступ для секции слайдера */
.slider-section {
  margin-bottom: 10px;
}

/* Стили для страницы блога */
.blog-page {
  padding: 0 0 60px;
}

.blog-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-tagline-container {
  max-width: 1200px;
  margin-top: -160px;
  margin-bottom: -340px;
  padding: 0 20px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-title {
  font-size: 36px;
  color: #41447C;
  margin: 0 0 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  line-height: 1.2;
}

.blog-subtitle {
  font-size: 20px;
  color: #41447C;
  margin: 0 0 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  line-height: 1.4;
}

.blog-tagline {
  font-size: 20px;
  color: #41447C;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  line-height: 1.4;
}

.blog-tagline-container img {
  width: 240px;
  height: auto;
  margin-left: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
  .blog-title {
    font-size: 36px;
  }
  
  .blog-subtitle {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }
  
  .contact-left,
  .contact-right {
    width: 100%;
  }
  
  .contact-left {
    padding: 40px 20px;
  }
  
  .contact-right {
    height: 400px;
  }
}

/* Основной макет каталога */
.catalog-layout {
  display: flex;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.left-column {
  display: flex;
  flex-direction: column;
  width: 300px;
}

.left-image-container {
  position: relative;
  width: 100%;
  line-height: 0;
}

/* Синяя стрелочка с текстом */
.blue-arrow {
  position: absolute;
  top: -30px;
  right: 0;
  z-index: 2;
  color: #3A3C7D;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 400;
  white-space: nowrap;
  line-height: 1;
  text-align: right;
  padding-right: 20px;
  box-sizing: border-box;
  width: 100%;
}

.blue-arrow::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 20px;
  width: 60px;
  height: 60px;
  background-image: url('../images/blue-arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  margin-top: 5px;
}

.left-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 80px;
}

.bottom-image {
  margin-top: 0;
}


.top-image {
  width: 100%;
}


.bottom-image {
  width: 60%;
  margin-left: 0; 
}


.new-arrivals-section {
  margin-top: -200px;
  margin-right: 40px;
  margin-bottom: 40px;
  background-color: #fff;
}

.new-arrivals-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.new-arrivals-content {
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.yellow-arrow-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: #A68466;
  margin-right: 20px;
  white-space: nowrap;
}

.yellow-arrow {
  width: 60px;
  height: 60px;
  background-image: url('../images/yellow-arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.new-arrivals-image {
  max-width: 300px;
  height: auto;
}

/* Стили для заголовков категорий */
.category-title-section {
  text-align: center;
  background-color: #fff;
}

.category-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.category-title-boy {
  color: #3A3C7D; 
  margin-bottom: 15px;
}

/* Стили для девочек */
.category-title-section-girl {
  margin-top: 60px;
}

.category-title-girl {
  color: #E97491;
  margin-bottom: 15px;
}

.filters-text-girl,
.category-title-section-girl .filters-text {
  color: #E97491;
}

.filters-list-girl .filter-item-girl {
  color: #E97491;
}

.filters-list-girl .filter-item-girl .filter-arrow-girl {
  background-image: url('../images/pink-arrow.png');
  transform: rotate(180deg);
  margin-left: 15px;
}

.catalog-item-girl p,
.catalog-products-girl .catalog-item p {
  color: #E97491;
}

.catalog-item-girl strong,
.catalog-products-girl .catalog-item strong {
  color: #CC7485;
}

/* Текст фильтрации */
.filters-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #3A3C7D;
  text-align: left;
  margin: 10px 0 10px 0;
}

/* Список фильтров */
.filters-list {
  display: flex;
  gap: 30px;
  margin: 0 12px 20px 12px;
}

/* Секция с товарами каталога */
.catalog-products {
  padding: 0px 0;
}

.catalog-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
  margin-bottom: 40px;
}

.catalog-item {
  text-align: left;
  width: 80%;
}

.catalog-item img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  margin-bottom: 10px;
  display: block;
}

.catalog-item p {
  margin: 0;
  color: #3A3C7D;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.catalog-item strong {
  color: #183663;
  font-size: 24px;
  font-weight: 400;
  display: block;
  margin-top: 4px;
}

/* Адаптивность */
@media (max-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }
}

@media (max-width: 480px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .catalog-item img {
    max-height: 250px;
  }
}

/* Элемент фильтра */
.filter-item {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  color: #3A3C7D;
  cursor: pointer;
}

/* Стрелочка фильтра */
.filter-arrow {
  width: 50px;
  height: 50px;
  margin-left: 10px;
  background-image: url('../images/blue-arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(0deg);
  opacity: 0.8;
}

/* Стили для фотографий в шапке каталога */
.catalog-header-images {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}

.right-image-container {
  position: relative;
  max-height: 300px;
}

.pink-arrow {
  position: absolute;
  left: 30%;
  bottom: 15%;
  width: 60px;
  height: 60px;
  background-image: url('../images/pink-arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.pink-arrow::after {
  content: 'Девочкам';
  position: absolute;
  left: 50%;
  bottom: -35px;
  transform: translateX(-105%);
  font-family: 'Montserrat', sans-serif;
  color: #FF6B9C;
  font-size: 32px;
  font-weight: 400;
  white-space: nowrap;
}

.header-image {
  height: 300px;
  width: auto;
  object-fit: cover;
  display: block;
}

/* Первая фотография */
.catalog-header-images img:first-child {
  height: 180px;
  margin-bottom: 20px;
}

/* Адаптивность для фотографий */
@media (max-width: 1024px) {
  .header-image {
    height: 250px;
  }
  .catalog-header-images img:first-child {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .header-image {
    height: 200px;
  }
  .catalog-header-images img:first-child {
    height: 120px;
  }
}

@media (max-width: 576px) {
  .catalog-header-images {
    flex-direction: column;
    align-items: flex-end;
  }
  
  .header-image {
    width: 80%;
    height: auto;
    margin-bottom: 10px;
  }
  
  .catalog-header-images img:first-child {
    height: auto;
    margin-bottom: 10px;
  }
}

/* Стили для селектора количества товара */
.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  height: 40px;
}

.quantity-btn {
  width: 35px;
  height: 100%;
  background: #fff;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #183663;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  padding: 0;
}

.quantity-btn:hover {
  background: #f5f5f5;
}

.quantity-input {
  width: 40px;
  height: 100%;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  appearance: textfield;
  -moz-appearance: textfield;
  font-weight: 600;
  color: #183663;
  font-size: 16px;
  padding: 0;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Градиентные секции */
.gradient-section {
  width: 100%;
  height: 300px;
  position: relative;
  z-index: -1;
}

.top-gradient {
  background: linear-gradient(to bottom, #FFE6EE, white);
}

.bottom-gradient {
  background: linear-gradient(to bottom, white, #FFE6EE);
  margin-top: -300px;
}

.debut-section-header {
  display: flex;
  align-items: center;
  margin-top: -200px;
}

.debut-arrow {
  width: 60px;
  height: auto;
  margin: 0 30px;
}

.debut-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #74503C;
  margin: 0;
}

.debut-description {
  margin: 30px auto 0;
  padding: 0 30px;
  color: #74503C;
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  line-height: 1.6;
  text-align: left;
}

.debut-description p:last-child {
  margin-bottom: 0;
}

/* Стили для "галереи" */
.debut-gallery {
  display: flex;
  justify-content: space-between;
  margin: 60px 30px 0;
  gap: 20px;
}

.gallery-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.gallery-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 10px;
}

.gallery-caption span {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #74503C;
  margin-right: 8px;
}

.gallery-arrow {
  width: 16px;
  height: 16px;
  max-width: 50px;
  max-height: 50px;
  opacity: 0.8;
  transform: rotate(180deg);
  position: relative;
}

/* Стили для коллешкина слайдера */
.debut-slider .slider-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #74503C;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.swiper-section {
  padding: 80px 0;
  position: relative;
}

.swiper-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
}

.swiper-slide {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
  padding-bottom: 20px;
}

.slide-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.slide-content img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.debut-slide .debut-product-info {
  padding: 15px 10px;
  text-align: center;
  border-radius: 0 0 8px 8px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.debut-slide .debut-product-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #74503C;
  margin: 0 0 8px 0;
  line-height: 1.3;
  text-align: center;
}

.debut-slide .debut-product-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #74503C;
  margin: 0;
  text-align: center;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Cтрелки */
.custom-prev,
.custom-next {
  width: 80px;
  height: 80px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 200px;
  z-index: 10;
  transition: opacity 0.3s ease;
  opacity: 0.7;
}

.custom-prev {
  left: 0;
  transform: rotate(90deg);
}

.custom-next {
  right: 0;
  transform: rotate(-90deg);
}

.custom-prev:hover,
.custom-next:hover {
  opacity: 1;
}

.custom-prev img,
.custom-next img {
  height: 42px;
  object-fit: contain;
}

.swiper-slide {
  visibility: hidden;
}

.swiper-slide-visible {
  visibility: visible;
}

/* Блок с тремя изображениями */
.three-images-section {
  text-align: center;
  max-width: 50%;
  margin-top: -260px;
}

.three-images-title {
  position: relative;
  display: inline-block;
}

.three-images-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #74503C;
  margin: 0 0 10px 0;
  position: relative;
  display: block;
}

.three-images-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 10px;
}

.three-images-container .image-block {
  position: relative;
  flex: 1;
  max-width: 160px;
}

.image-bg {
  position: absolute;
  top: 15px;
  left: -15px;
  right: 15px;
  bottom: -15px;
  background: linear-gradient(to bottom, white, #FFE6EE);
  border-radius: 9px;
  z-index: 1;
}

.three-images-container img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 9px;
  z-index: 2;
}

/* Секция с изображением и текстом */
.debut-image-text-section {
  min-height: 600px;
  padding: 80px 0;
  position: relative;
}

.debut-image-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.debut-image-right-block {
  margin-left: auto;
  margin-top: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 300px;
  height: auto;
}

.debut-image-right-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #FFE6EE, white);
  border-radius: 9px;
  z-index: 1;
}

.debut-right-text-block {
  position: relative;
  z-index: 3;
  padding: 20px;
  border-radius: 9px;
  margin-top: 183px;
  right: -270px;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
}

.debut-right-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: #74503C;
  margin-bottom: 8px;
  line-height: 1.3;
}

.debut-right-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #74503C;
  line-height: 1.5;
}

.debut-right-small-photo {
  width: 160px;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.debut-right-small-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.debut-image-right-img {
  position: relative;
  width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 9px;
  z-index: 2;
  top: 0px;
  right: 0px;
}

.debut-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-bottom: 100%;
  border-radius: 9px;
  z-index: 1;
}

.debut-image-container {
  position: relative;
  width: 240px;
  height: auto;
}

.debut-image-inner-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #FFE6EE, white);
  border-radius: 9px;
  z-index: 1;
}

.debut-featured-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  z-index: 2;
  margin-top: 20px;
  margin-left: 20px;
}

/* Текстовые блоки */
.debut-text-block {
  position: absolute;
  left: 280px; 
  top: 10px;
  color: #74503C;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
}

.debut-text-line1 {
  font-size: 26px;
  font-weight: 500;
  top: 10px;
}

.debut-text-line2 {
  font-size: 20px;
  font-weight: 400;
  margin-top: 10px;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.about-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  margin: 0 auto;
  padding-bottom: 80px;
}

.dots-bg {
  position: absolute;
  top: 58%;
  left: 43%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.photos-container {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  z-index: 2;
  max-width: 100%;
  padding: 0 20px;
}

.content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.welcome-text {
  position: absolute;
  left: 54%;
  top: 47%;
  transform: translate(-50%, -50%);
  color: #3E407E;
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
  z-index: 10;
  width: 100%;
  margin-bottom: 20px;
}

.about-description {
  position: absolute;
  left: 10%;
  top: 72%;
  color: #3E407E;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  width: 400px;
  z-index: 10;
}

.threads-text {
  position: absolute;
  left: 87%;
  top: 99%;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #3E407E;
  text-align: center;
  line-height: 1.2;
  width: 200px;
  z-index: 10;
}

.photo-container {
  position: relative;
  display: block;
  max-width: 360px;
  width: 100%;
  margin-left: 160px;
}

.small-photo-left {
  position: absolute;
  left: -280px;
  bottom: -40px;
  max-width: 200px;
  width: 100%;
}

.small-photo-right {
  position: absolute;
  right: -280px;
  top: -100px;
  max-width: 200px;
  width: 100%;
}

.small-photo-left .photo-bg {
  transform: rotate(180deg);
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  left: 0px;
  top: auto;
  bottom: 0px;
}

.small-photo-right .photo-bg {
  transform: rotate(0deg);
  width: calc(100% + 25px);
  height: calc(100% + 25px);
  left: -20px;
  top: -10px;
  bottom: auto;
}

.photo-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.photo-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 40px);
  height: calc(100% + 20px);
  background: linear-gradient(0deg, #ffcce0 0%, #ffffff 100%);
  border-radius: 5px;
  z-index: 1;
}

.mission-photo-main .photo-bg {
  transform: rotate(-1deg);
  width: calc(100% + 1px);
  height: calc(100% + 20px);
  left: 20px;
  top: 0px;
  bottom: auto;
}

.values-photo-main .photo-bg {
  transform: rotate(180deg);
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  left: -20px;
  top: auto;
  bottom: 0px;
}

.values-photo-secondary .photo-bg {
  background: linear-gradient(180deg, #ffcce0 0%, #ffffff 100%);
  top: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 40px);
}

.main-photo {
  position: relative;
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  z-index: 2;
}

.about-logo {
  position: absolute;
  left: 620px;
  bottom: -100px;
  z-index: 50;
}

.about-logo img {
  width: 200px;
  height: auto;
  opacity: 0.95;
  transition: all 0.3s ease;
}

.about-logo img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.mission-content, .values-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.mission-text-block, .values-text-block {
  flex: 1;
  max-width: 500px;
  padding: 0 20px;
}

.mission-text, .values-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  color: #3E407E;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;

}

.mission-photos, .values-photos {
  flex: 1.2;
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 500px;
}

.photo-composition {
  position: relative;
  width: 520px;
  height: 420px;
}

.mission-photo-main, .values-photo-main,
.mission-photo-secondary, .values-photo-secondary {
  position: absolute;
}

.mission-photo-main {
  width: 380px;
  bottom: 0;
  left: 60px;
}

.mission-photo-secondary, .values-photo-secondary {
  position: absolute;
}

.mission-photo-secondary {
  width: 180px;
  right: -140px;
  bottom: 15%;
}

.values-photo-main {
  width: 380px;
  left: -120px;
  top: 20px;
}

.values-photo-secondary {
  width: 190px;
  left: 300px;
  bottom: -10px;
}

.decorative-line {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.mission-line {
  top: 40px;
  left: -50px;
  width: 700px;
  transform: rotate(-5deg);
}

.values-line {
  bottom: -140px;
  right: -50px;
  width: 960px;
  transform: rotate(3deg);
}

.mission-photos img, .values-photos img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .mission-content, .values-content {
    flex-direction: column;
  }
  
  .values-content {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 40px 15px;
  }
  
  .about-logo {
    right: 20px;
    bottom: 20px;
  }
  
  .about-logo img {
    width: 100px;
  }
  
  .photo-bg {
    width: 120%;
    height: 105%;
  }
}

.stitch-section, .materials-section {
  position: relative;
  padding: 80px 0;
}

.stitch-content, .materials-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
}

.stitch-text, .materials-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  color: #3E407E;
  line-height: 1.2;
  font-weight: 500;
}

.stitch-content { align-items: flex-start; }
.stitch-photo-main { max-width: 400px; }
.stitch-right-block { max-width: 450px; }
.stitch-text-block { margin-bottom: 20px; }
.stitch-photos-right {
  position: relative;
  height: 300px;
}
.stitch-photos-right .photo-wrapper {
  position: absolute;
}
.stitch-photo-secondary {
  max-width: 300px;
  left: 0;
  top: 0;
}
.stitch-photo-tertiary {
  max-width: 250px;
  right: -50px;
  bottom: 0;
}
.stitch-line-1 {
  position: absolute;
  width: 450px;
  top: 150px;
  right: 150px;
  z-index: -1;
}

.materials-text-block { max-width: 400px; }
.materials-photo-main { max-width: 320px; }
.materials-line-1 {
  position: absolute;
  width: 300px;
  bottom: 80px;
  left: 250px;
  z-index: -1;
}

.final-composition-section {
  position: relative;
  height: 750px; 
}
.composition-wrapper {
  position: relative;
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
}
.final-composition-section .photo-wrapper,
.final-composition-section .composition-text,
.final-composition-section .decorative-line {
  position: absolute;
}
.final-composition-section .composition-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  color: #3E407E;
  line-height: 1.2;
  margin: 0;
  font-weight: 500;
  text-align: center; 
}

/* Позиционирование элементов */
.composition-photo-1 { top: 0; left: 20px; max-width: 340px; z-index: 1; }
.composition-text-1 { top: 30px; left: 500px; max-width: 410px; z-index: 4; }
.composition-photo-2 { top: 180px; left: 410px; max-width: 220px; z-index: 3; }
.composition-photo-3 { top: 160px; left: 82%; max-width: 180px; z-index: 2; }
.composition-line-1 { top: 350px; left: -20px; width: 400px; transform: rotate(0deg); z-index: 0; }

.composition-text-2 { top: 520px; left: 380px; max-width: 320px; z-index: 2; }
.composition-photo-4 { top: 380px; left: 800px; max-width: 280px; z-index: 2; }
.composition-line-2 { top: 170px; left: 550px; width: 400px; transform: rotate(0deg); z-index: 0; }

.composition-photo-1 .photo-bg {
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  left: 53%;
  top: 0px;
  bottom: auto;
}

.composition-photo-3 .photo-bg {
  left: 40%;
  top: -10%;
  width: calc(100% + 10px);
  background: linear-gradient(180deg, #ffcce0 0%, #ffffff 100%);
}

.composition-photo-4 .photo-bg {
  left: 40%;
  width: calc(100% + 10px);
  height: calc(100%);
}

.final-story-section {
  position: relative;
  width: 100%;
  height: 750px; 
  margin-bottom: 100px;
}

.final-story-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

.final-story-section .final-line-bg {
  position: absolute;
  top: -300px;
  left: 45%;
  transform: translateX(-50%);
  width: 100%; 
  z-index: 0;
}

.final-story-section .final-logo {
  position: absolute;
  top: -20px;
  left: 0px;
  z-index: 10;
}

.final-story-section .final-logo img {
  width: 240px;
}

.final-story-section .story-item {
  position: absolute;
  text-align: center;
  z-index: 5;
}

.final-story-section .story-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  color: #3E407E;
  font-weight: 400;
  margin: 0; 
}

.final-story-section .photo-wrapper + h3 {
  margin-top: 20px;
}

.final-story-section h3 + .photo-wrapper {
  margin-top: 20px;
}

.final-story-section .story-item p {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  color: #3E407E;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 25px;
  width: 280px;
}

.story-item-1 { /* Качество */
  top: 300px;
  left: 60px;
}
.story-item-1 .main-photo { width: 240px; }

.story-item-2 { /* Стиль */
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
}
.story-item-2 .main-photo { width: 400px; }

.story-item-3 { /* Забота */
  top: 240px;
  right: 60px;
}
.story-item-3 .main-photo { width: 240px; }

/* --- Стили для мобильного бокового меню --- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.mobile-menu-btn span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #183663;
  border-radius: 2px;
  transition: 0.3s;
}

.side-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 75vw;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 16px rgba(0,0,0,0.08);
  z-index: 2000;
  padding: 32px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.side-menu.open {
  display: block;
  transform: translateX(0);
}
.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.side-menu li {
  margin-bottom: 24px;
}
.side-menu a {
  color: #183663;
  font-size: 22px;
  text-decoration: none;
  font-weight: 500;
}
.close-menu-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 32px;
  color: #183663;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  .nav.nav--left, .nav.nav--right {
    display: none;
  }
  .side-menu {
    display: block;
    transform: translateX(-100%);
  }
  .side-menu.open {
    transform: translateX(0);
  }
}

@media (min-width: 769px) {
  .side-menu {
    display: none !important;
  }
  .mobile-menu-btn {
    display: none !important;
  }
}

/* --- Вкладки бокового меню --- */
.side-menu-tabs {
  display: flex;
  margin-bottom: 20px;
  gap: 8px;
}
.side-menu-tab {
  flex: 1 1 0;
  background: #f2f2f7;
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 10px 0;
  font-size: 18px;
  color: #183663;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.side-menu-tab.active {
  background: #e97491;
  color: #fff;
}
.side-menu-content {
  width: 100%;
}
.side-menu-list {
  display: none;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
}
.side-menu-list.active {
  display: flex;
}

@media (max-width: 600px) {
  .hero-image,
  .logo-image,
  .center-text,
  .lama-image-home,
  .text-plate,
  .catalog-plate {
    position: static !important;
    max-width: 90vw !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 auto 16px auto !important;
    display: block !important;
    text-align: center !important;
  }

  .logo-image img {
    max-width: 120px !important;
    height: auto !important;
  }

  .center-text-line1,
  .center-text-line2 {
    font-size: 20px !important;
    word-break: break-word;
  }

  .text-plate,
  .catalog-plate {
    font-size: 18px !important;
    padding: 4px 8px !important;
  }

  .lama-image-home img {
    max-width: 100px !important;
  }
}

@media (max-width: 600px) {
  .slider-section {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    padding: 0 !important;
    min-height: 180px;
    position: relative;
    background: none;
  }
  .slider-container, .slider-track {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0;
    height: 180px !important;
    min-height: 120px;
    overflow: hidden;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative;
    background: none;
  }
  .slide, .slide-container {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0;
    height: 180px !important;
    min-height: 120px;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    margin: 0 !important;
    padding: 0 !important;
  }
  .slide img {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 180px !important;
    object-fit: cover;
    border-radius: 0;
    margin: 0 auto;
    display: block;
  }
  .arrow {
    width: 16px !important;
    height: 16px !important;
    background: rgba(255,255,255,0.7) !important;
    border-radius: 50%;
    border: none;
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0.7;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .arrow.left {
    left: 4px !important;
    right: auto !important;
  }
  .arrow.right {
    right: 4px !important;
    left: auto !important;
  }
  .arrow img {
    width: 14px !important;
    height: 14px !important;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 600px) {
  .product-container {
    padding: 12px 4vw !important;
    max-width: 100vw !important;
  }
  .product-main {
    display: block !important;
    gap: 0 !important;
    margin-bottom: 24px !important;
  }
  .product-gallery {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 16px !important;
  }
  .gallery-img-container {
    width: 100% !important;
    padding-bottom: 100% !important;
    border-radius: 8px !important;
  }
  .gallery-img {
    border-radius: 8px !important;
  }
  .product-info {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .product-info h1 {
    font-size: 20px !important;
    margin-bottom: 8px !important;
    text-align: left !important;
  }
  .product-article {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }
  .product-info .product-price {
    font-size: 20px !important;
    margin-top: 8px !important;
    text-align: left !important;
  }
  .product-sizes span {
    font-size: 14px !important;
  }
  .size-options button {
    font-size: 12px !important;
    padding: 2px 8px !important;
  }
  .product-quantity {
    width: 100% !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  .quantity-selector {
    height: 32px !important;
  }
  .quantity-btn {
    width: 20px !important;
    font-size: 16px !important;
  }
  .quantity-input {
    width: 36px !important;
    font-size: 14px !important;
  }
  .cart-button {
    font-size: 14px !important;
    padding: 8px !important;
  }
  .product-description, .product-info h2, .product-info h3 {
    font-size: 15px !important;
    word-break: break-word;
  }
}

@media (max-width: 600px) {
  .recommendation-carousel-wrapper {
    width: 100vw !important;
    margin-left: -4vw !important;
    padding: 0 0 8px 0 !important;
  }
  .recommendation-carousel {
    display: flex !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    gap: 12px !important;
    padding: 8px 0 8px 0 !important;
    width: 100vw !important;
    margin: 0 !important;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  .recommendation-carousel::-webkit-scrollbar {
    display: none;
  }
  .recommendation-item {
    flex: 0 0 80vw !important;
    max-width: 80vw !important;
    min-width: 220px !important;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin: 0 !important;
    padding: 8px 8px 16px 8px !important;
    text-align: center !important;
  }
  .recommendation-img {
    width: 100% !important;
    max-width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
  }
  .carousel-arrow {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
    top: 45% !important;
    z-index: 2;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .carousel-arrow.left {
    left: 2px !important;
  }
  .carousel-arrow.right {
    right: 2px !important;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 4vw 24px 4vw;
  }
  .product-card {
    padding: 16px 8px 16px 8px;
    min-height: 260px;
  }
  .product-image {
    max-width: 100vw;
    height: 120px;
  }
}

.product-card-buttons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  width: 100%;
}

@media (max-width: 600px) {
  .product-card-buttons {
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
  }
}

/* Специальные стили для страницы test.html */
.test-page .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 0 auto;
    max-width: 800px;
    padding: 0 16px 32px 16px;
}

.test-page .product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 20px 12px 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    min-height: 320px;
    transition: box-shadow 0.2s;
}

.test-page .product-image {
    width: 100%;
    max-width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.test-page .product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
    text-align: center;
}

.test-page .product-price {
    font-size: 18px;
    font-weight: 700;
    color: #2f2f4f;
    margin-bottom: 8px;
    text-align: center;
}

/* Адаптивность для test.html */
@media (max-width: 768px) {
    .test-page .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 12px 24px 12px;
    }
    
    .test-page .product-card {
        padding: 16px 8px 12px 8px;
        min-height: 280px;
    }
    
    .test-page .product-image {
        max-width: 140px;
        height: 140px;
    }
    
    .test-page .product-title {
        font-size: 14px;
    }
    
    .test-page .product-price {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .test-page .products-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
        gap: 20px;
    }
    
    .test-page .product-card {
        margin-bottom: 20px;
        min-height: 260px;
    }
    
    .test-page .product-card:last-child {
        margin-bottom: 0;
    }
}

/* Стили для пустой корзины */
.empty-cart {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 2px solid #8B91A3;
  border-radius: 8px;
  margin: 20px 0;
}

.empty-cart p {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.catalog-link {
  display: inline-block;
  background: #e97491;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.catalog-link:hover {
  background: #d81b60;
}

/* Стили для кнопки удаления товара */
.remove-item-btn {
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: background 0.2s;
}

.remove-item-btn:hover {
  background: #c0392b;
}

/* Обновленные стили для товаров в корзине */
.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item .product-image {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  margin-bottom: 0;
  object-fit: cover;
}

.cart-item .product-info {
  flex: 1;
  min-width: 0;
}

.cart-item .product-info p {
  margin: 0;
  line-height: 1.4;
  font-size: 14px;
  color: #333;
}

.cart-item .quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  height: 32px;
}

.cart-item .quantity-btn {
  width: 24px;
  height: 100%;
  background: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #d81b60;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.cart-item .quantity-btn:hover {
  background: #fce4ec;
}

.cart-item .quantity-input {
  width: 40px;
  height: 100%;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  appearance: textfield;
  -moz-appearance: textfield;
  font-weight: 600;
  color: #d81b60;
  font-size: 14px;
  padding: 0;
}

.cart-item .quantity-input::-webkit-outer-spin-button,
.cart-item .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item .cart-product-price {
  font-weight: 600;
  color: #d81b60;
  font-size: 16px;
  min-width: 80px;
  text-align: right;
}

.cart-item .item-total {
  font-weight: 700;
  color: #d81b60;
  font-size: 18px;
  min-width: 100px;
  text-align: right;
}

@media (max-width: 600px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  .page-container {
    padding: 0 2vw !important;
    max-width: 100vw !important;
  }
  
  /* Минимальные исправления для страницы about - только убираем наложения */
  .about-section {
    padding: 20px 0 !important;
  }
  .welcome-text {
    font-size: 24px !important;
    left: 50% !important;
    top: 20% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    max-width: 90vw !important;
  }
  .about-description {
    font-size: 16px !important;
    left: 50% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    max-width: 90vw !important;
  }
  .threads-text {
    font-size: 12px !important;
    left: 50% !important;
    top: 85% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    max-width: 90vw !important;
  }
  .about-logo {
    left: 50% !important;
    bottom: 20px !important;
    transform: translateX(-50%) !important;
  }
  .about-logo img {
    width: 120px !important;
    height: auto !important;
  }
  
  /* Секции миссии и ценностей - только убираем наложения */
  .mission-content, .values-content {
    flex-direction: column !important;
    gap: 30px !important;
  }
  .mission-text-block, .values-text-block {
    max-width: 90vw !important;
    padding: 0 2vw !important;
  }
  .mission-text, .values-text {
    font-size: 18px !important;
  }
  .mission-photos, .values-photos {
    min-height: auto !important;
    width: 100% !important;
    max-width: 300px !important;
  }
  .mission-photo-main, .values-photo-main {
    position: static !important;
    width: 100% !important;
    max-width: 250px !important;
    margin: 0 auto 20px auto !important;
  }
  .mission-photo-secondary, .values-photo-secondary {
    position: static !important;
    width: 100% !important;
    max-width: 150px !important;
    margin: 0 auto !important;
  }
  
  /* Финальная композиция - только убираем наложения */
  .final-composition-section {
    height: auto !important;
    padding: 40px 0 !important;
  }
  .composition-wrapper {
    position: static !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important;
  }
  .composition-photo-1, .composition-photo-2, .composition-photo-3, .composition-photo-4 {
    position: static !important;
    width: 100% !important;
    max-width: 250px !important;
    margin: 0 auto !important;
  }
  .composition-text {
    position: static !important;
    max-width: 90vw !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  
  /* Финальная история - только убираем наложения */
  .final-story-section {
    height: auto !important;
    padding: 40px 0 !important;
    margin-bottom: 40px !important;
  }
  .final-story-wrapper {
    position: static !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important;
  }
  .story-item {
    position: static !important;
    width: 100% !important;
    max-width: 250px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  
  /* Остальные мобильные стили остаются как есть */
  .text-plate, .catalog-plate {
    position: static !important;
    font-size: 16px !important;
    padding: 4px 8px !important;
    margin: 0 auto 8px auto !important;
    display: block !important;
    white-space: normal !important;
    text-align: center !important;
    max-width: 90vw !important;
  }
  .hero-image, .logo-image, .center-text, .lama-image-home {
    position: static !important;
    max-width: 90vw !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 auto 8px auto !important;
    display: block !important;
    text-align: center !important;
  }
  .logo-image img {
    max-width: 120px !important;
    height: auto !important;
  }
  .center-text-line1, .center-text-line2 {
    font-size: 18px !important;
    word-break: break-word;
  }
  .slider-section {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    padding: 0 !important;
    min-height: 120px;
    position: relative;
    background: none;
  }
  .slider-container, .slider-track {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0;
    height: 120px !important;
    min-height: 80px;
    overflow: hidden;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative;
    background: none;
  }
  .slide, .slide-container {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0;
    height: 120px !important;
    min-height: 80px;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    margin: 0 !important;
    padding: 0 !important;
  }
  .slide img {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 120px !important;
    object-fit: cover;
    border-radius: 0;
    margin: 0 auto;
    display: block;
  }
  .arrow {
    width: 16px !important;
    height: 16px !important;
    background: rgba(255,255,255,0.7) !important;
    border-radius: 50%;
    border: none;
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0.7;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .arrow.left {
    left: 4px !important;
    right: auto !important;
  }
  .arrow.right {
    right: 4px !important;
    left: auto !important;
  }
  .arrow img {
    width: 14px !important;
    height: 14px !important;
    margin: 0;
    padding: 0;
  }
  .products-grid, .catalog-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 2vw 16px 2vw !important;
    max-width: 100vw !important;
  }
  .product-card, .catalog-item {
    padding: 12px 4vw !important;
    min-height: 180px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .product-image, .catalog-item img {
    max-width: 100vw !important;
    height: 100px !important;
    object-fit: cover !important;
  }
  .product-title, .catalog-item p, .product-info h1, .product-info h2, .product-info h3 {
    font-size: 15px !important;
    word-break: break-word;
  }
  .product-card-buttons {
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 8px !important;
    width: 100% !important;
  }
  .cart-button, .add-to-cart-btn {
    font-size: 14px !important;
    padding: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .footer-wrapper, .footer-left, .footer-right {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    align-items: flex-start !important;
  }
  .footer-menu, .footer-socials {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .footer-policy-column {
    justify-content: flex-start !important;
    width: 100% !important;
  }
  .faq-images-container, .three-images-container {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: center !important;
  }
  .faq-image-left, .faq-image-center, .faq-image-right, .three-images-container img {
    width: 90vw !important;
    height: auto !important;
    max-width: 100vw !important;
    margin: 0 auto 8px auto !important;
  }
  .contact-container {
    flex-direction: column !important;
    padding: 0 !important;
    max-width: 100vw !important;
  }
  .contact-left, .contact-right {
    width: 100% !important;
    padding: 8px 2vw !important;
    box-sizing: border-box !important;
  }
  .contact-right img {
    max-width: 90vw !important;
    height: auto !important;
    margin: 0 auto !important;
  }
  .cart-box, .cart-sections, .left-section, .right-section {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    align-items: flex-start !important;
  }
  .cart-summary, .payment-methods {
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .input-row, .delivery-options {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .recommendation-list, .recommendation-carousel {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    overflow-x: auto !important;
  }
  .recommendation-item {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    margin: 0 auto 8px auto !important;
  }
  .recommendation-img {
    width: 100% !important;
    height: 100px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 600px) {
  .about-section,
  .content-wrapper,
  .photos-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: static !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  .welcome-text,
  .about-description,
  .threads-text,
  .photo-container,
  .small-photo-left,
  .small-photo-right,
  .about-logo {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 90vw !important;
    text-align: center !important;
  }
  .photo-container,
  .small-photo-left,
  .small-photo-right {
    max-width: 220px !important;
  }
  .about-logo img {
    width: 100px !important;
  }
}

/* Side Cart Panel */
.side-cart {
  position: fixed;
  top: 0;
  right: -420px;
  width: 360px;
  max-width: 95vw;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 24px rgba(24,54,99,0.10);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(.4,0,.2,1);
}
.side-cart.open {
  right: 0;
}
.side-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 12px 24px;
  border-bottom: 1px solid #f3e6ee;
}
.side-cart-title {
  font-size: 22px;
  font-weight: 600;
  color: #183663;
}
.side-cart-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #e97491;
  cursor: pointer;
  line-height: 1;
}
.side-cart-content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 24px 12px 24px;
}
.side-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.side-cart-item-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #f8f8fa;
}
.side-cart-item-info {
  flex: 1 1 auto;
}
