/** Shopify CDN: Minification failed

Line 94:0 Unexpected "<"
Line 682:24 Expected identifier but found "!"
Line 728:11 Expected identifier but found whitespace
Line 728:17 Unexpected ";"
Line 3055:9 Expected identifier but found "addEventListener("
Line 5992:0 Comments in CSS use "/* ... */" instead of "//"
Line 8237:1 Expected "}" to go with "{"

**/
/* TEST 123 */
html { border: 10px solid blue !important; }
/* Аккордеон для футера */
.footer-accordion__header {
  width: 100%;
  padding: 12px 0;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
}

.footer-accordion__content {
  display: none;
  padding: 8px 0;
}

.footer-accordion__content.active {
  display: block;
}
@media (max-width: 767px) {
  .footer-column {
    margin-bottom: 12px;
  }

  .footer-column h4 {
    font-size: 10px !important;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
  }

  .footer-column h4::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
  }

  .footer-column.active h4::after {
    content: "–";
  }

  .footer-column ul,
  .footer-column p,
  .footer-column form {
    display: none;
  }

  .footer-column.active ul,
  .footer-column.active p,
  .footer-column.active form {
    display: block;
    margin-top: 8px;
  }
}
/* === MOBILE FOOTER ACCORDION (<=767px) === */
@media (max-width: 767px) {
  .mjs-footer__container details { border-radius: 12px; border: 1px solid rgba(0,0,0,.06); background:#f1e3dc; }
  .mjs-footer__container details + details { margin-top: 12px; }

  .mjs-footer__container summary.footer-accordion__header {
    list-style: none; /* убирает маркер iOS */
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 14px 16px; margin: 0; font-weight: 600; cursor: pointer;
  }
  .mjs-footer__container summary.footer-accordion__header::-webkit-details-marker { display:none; }
  .mjs-footer__container summary.footer-accordion__header::after {
    content: "▾"; transition: transform .2s ease; opacity: .7;
  }
  .mjs-footer__container details[open] > summary.footer-accordion__header::after { transform: rotate(180deg); }

  /* Внутренности колонки */
  .mjs-footer__container .footer-accordion__content { padding: 8px 16px 14px; }
}
/* Десктоп — косметика */
@media (min-width: 768px) {
  .mjs-footer__container summary.footer-accordion__header { padding: 0; background: transparent; border: 0; cursor: default; }
  .mjs-footer__container summary.footer-accordion__header::after { content: none; }
}
<div class="mjs-footer__container">
  <details class="footer-accordion__section">
    <summary class="footer-accordion__header">About us</summary>
    <div class="footer-accordion__content">
      <!-- колонка About us -->
    </div>
  </details>
  <details class="footer-accordion__section">
    <summary class="footer-accordion__header">Contact us</summary>
    <div class="footer-accordion__content"><!-- колонка --></div>
  </details>
  <details class="footer-accordion__section">
    <summary class="footer-accordion__header">Policies</summary>
    <div class="footer-accordion__content"><!-- колонка --></div>
  </details>
</div>

/* Галерея разделов */
.section_gallery__4 .gallery_item { position: relative; overflow: hidden; }
.section_gallery__4 .item_caption { position: static; } /* убрать встроенные стили темы */
.section_gallery__4 .caption_text{
  position:absolute; left:18px; right:18px; bottom:14px;
  background:transparent!important; box-shadow:none!important; border:0!important;
  color:color:#000000;
  text-transform:uppercase; letter-spacing:.06em; font-weight:600; font-size:14px;
  display:flex; flex-direction:column; align-items:flex-start; gap:8px;
}
.section_gallery__4 .caption_text::before{
  content:""; width:96px; height:1px; background:currentColor; opacity:.55;
}
@media (max-width:768px){
  .section_gallery__4 .caption_text{left:12px; right:12px; bottom:10px; font-size:12px;}
  .section_gallery__4 .caption_text::before{width:72px;}
}
/* лёгкий нижний градиент для читаемости, без плашки */
.section_gallery__4 .img_placeholder__wrap::after{
  content:""; position:absolute; inset:0; 
  background:linear-gradient(0deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,0) 60%);
  pointer-events:none;
}
/* ===== Подписи разделов (как на "БРАСЛЕТЫ") ===== */
.section_gallery__4 .gallery_item{ position:relative; overflow:hidden; }
.section_gallery__4 .gallery_item .caption_text{
  position:absolute; left:18px; right:18px; bottom:22px;
  background:transparent!important; box-shadow:none!important; border:0!important;
  color:#5c4339; /* темнее, менее "меловато" */
  text-transform:uppercase; letter-spacing:.04em;
  font-weight:600; font-size:14px; line-height:1;
  display:flex; flex-direction:column; align-items:flex-start; gap:8px;
}
.section_gallery__4 .gallery_item .caption_text::before{
  content:""; width:84px; height:1px; background:#5c4339; opacity:.65;
}

/* отключаем старую плашку/эффекты темы (в т.ч. при hover) */
.section_gallery__4 .item_caption,
.section_gallery__4 .item_caption:hover,
.section_gallery__4 .gallery_item:hover .item_caption{
  background:transparent!important; box-shadow:none!important; transform:none!important; opacity:1!important;
}
.section_gallery__4 .item_caption::before,
.section_gallery__4 .item_caption::after{
  display:none!important;
}

/* лёгкий градиент для читаемости (без плашки) */
.section_gallery__4 .img_placeholder__wrap::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,0) 60%);
  pointer-events:none;
}

@media (max-width:768px){
  .section_gallery__4 .gallery_item .caption_text{ left:12px; right:12px; bottom:14px; font-size:12px; }
  .section_gallery__4 .gallery_item .caption_text::before{ width:68px; }
}
/* ===== Подписи разделов ===== */
.section_gallery__4 .gallery_item{position:relative;overflow:hidden}
.section_gallery__4 .gallery_item .caption_text{
  position:absolute;left:18px;right:18px;bottom:34px; /* выше */
  background:transparent!important;box-shadow:none!important;border:0!important;
  color:#8a6b5d; /* светлее и контрастнее */
  text-transform:uppercase;letter-spacing:.04em;font-weight:600;font-size:14px;line-height:1;
  display:flex;flex-direction:column;align-items:flex-start;gap:8px;
}
.section_gallery__4 .gallery_item .caption_text::before{
  content:"";width:84px;height:1px;background:currentColor;opacity:.65
}

/* убить старую плашку (включая hover) — повышенная специфичность */
.section_gallery__4 .gallery_item a.item_caption,
.section_gallery__4 .gallery_item a.item_caption:hover,
.section_gallery__4 .gallery_item:hover a.item_caption,
.section_gallery__4 .gallery_item:hover a.item_caption .caption_text,
.section_gallery__4 .gallery_item a.item_caption::before,
.section_gallery__4 .gallery_item a.item_caption::after{
  background:transparent!important;box-shadow:none!important;border:none!important;
  opacity:1!important;transform:none!important;transition:none!important
}

/* легкий градиент снизу для читаемости */
.section_gallery__4 .img_placeholder__wrap::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.12) 0%,rgba(0,0,0,0) 60%);
  pointer-events:none
}

@media (max-width:768px){
  .section_gallery__4 .gallery_item .caption_text{left:12px;right:12px;bottom:20px;font-size:12px}
  .section_gallery__4 .gallery_item .caption_text::before{width:68px}
}
/* Фон карточек блога */
.blog-card {
  background: #f8f3ef; /* светлый беж */
  border-radius: 12px;
  padding: 20px;
}

.blog-card p {
  color: #3a2a2a; /* мягкий тёмный текст */
}
/* Убираем тёмный фон внутри карточек блога */
.article_item .layer_1,
.article_item .layer_2 {
  background: #f8f3ef !important;  /* светлый беж */
}

/* Текст в карточке */
.article_item .layer_2 p,
.article_item .layer_2 h2,
.article_item .layer_2 h3 {
  color: #3a2a2a !important;  /* мягкий тёмный */
}
/* Убираем тёмную рамку вокруг карточек блога */
.blog_listing__main,
.blog_listing__list,
.blog_listing__list .row > div {
  background: transparent !important;
}

.article_item {
  background: #f8f3ef !important;   /* общий беж фон */
  border-radius: 12px;
  padding: 16px;
}

/* Внутренние слои оставляем прозрачными */
.article_item .layer_1,
.article_item .layer_2 { background: transparent !important; }

/* Читаемый текст */
.article_item .layer_2 p,
.article_item .layer_2 h2,
.article_item .layer_2 h3 { color: #3a2a2a !important; }
/* Кнопки "Читать дальше" в блоге */
.blog-card .btn,
.article_item .btn {
  background-color: #C49A8D !important; /* как на главной */
  color: #fff !important;
  border: none !important;
  border-radius: 6px;
  padding: 12px 24px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.blog-card .btn:hover,
.article_item .btn:hover {
  background-color: #6B4A3D !important; /* hover как на главной */
}
/* Единый стиль кнопок по всему сайту */
.btn,
button,
.shopify-payment-button__button,
.add-to-cart,
.product-form__submit,
.article_item .btn {
  background-color: #C49A8D !important;  /* карамельно-розовый */
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover,
button:hover,
.shopify-payment-button__button:hover,
.add-to-cart:hover,
.product-form__submit:hover,
.article_item .btn:hover {
  background-color: #6B4A3D !important;  /* тёмный при наведении */
  transform: translateY(-2px);
}
/* Блок "You may also like" */
.related-products,
.product-recommendations,
.product-recommendations__inner {
  background: #C49A8D !important;  /* как хедер */
  color: #fff !important;
  padding: 30px 20px;
  border-radius: 12px;
}

.related-products h2,
.product-recommendations h2 {
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* Блок "Вам также могут понравиться" */
.widget_related_products {
  background: #C49A8D !important; /* фон как у хедера */
  border-radius: 12px;
  padding: 40px 20px; /* больше воздуха сверху/снизу */
  color: #fff;
  text-align: center;
}

.widget_related_products h2,
.widget_related_products .title,
.widget_related_products .widget-title {
  color: #fff !important;  /* белый для контраста */
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
/* ===== Cart added modal (Fancybox) ===== */
#cart_added { font-family: inherit; }
.fancybox-skin { background:#fff !important; border-radius:16px !important; box-shadow:0 10px 30px rgba(0,0,0,.2) !important; }
#cart_added h4 { margin:0 0 14px; font-size:20px; font-weight:700; color:#2a1f1f; }

/* Левая колонка с фото */
#cart_added .cart_added__1 { width:96px; }
#cart_added .cart_added__1 img { width:96px; height:96px; object-fit:cover; border-radius:10px; border:1px solid #E7D1C9; background:#fff; }

/* Правая колонка */
#cart_added .cart_added__2 { padding-left:14px; }
#cart_added .product_name { display:block; max-width:220px; font-weight:600; color:#2a1f1f; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#cart_added #cart_added__quantity { color:#8c7c74; margin:6px 0 12px; }

/* Кнопки — единый стиль */
#cart_added a.btn,
#cart_added a.btn-alt,
#cart_added .btn,
#cart_added .btn-alt {
  display:block; width:100%;
  border-radius:8px !important; padding:10px 16px !important; font-weight:700; text-transform:uppercase;
  text-align:center; border:none;
}
#cart_added a.btn,
#cart_added .btn { background:#C49A8D !important; color:#fff !important; }
#cart_added a.btn:hover,
#cart_added .btn:hover { background:#6B4A3D !important; }

/* Вторая кнопка — светлая (контур) */
#cart_added a.btn-alt,
#cart_added .btn-alt { background:transparent !important; color:#6B4A3D !important; border:2px solid #C49A8D !important; margin-top:10px; }
#cart_added a.btn-alt:hover,
#cart_added .btn-alt:hover { background:#E7D1C9 !important; }

/* Крестик */
.fancybox-close { top:8px !important; right:8px !important; opacity:.7; }
.fancybox-close:hover { opacity:1; }

/* Небольшая «тень» у самого окна */
.fancybox-inner { border-radius:16px; }

/* TikTok banner refined size */
.tiktok-banner h4 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: clamp(18px, 1.4vw, 22px); /* был 22–26px */
  line-height: 1.2;
  margin-bottom: 6px;
}

.tiktok-banner h5 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 300;
  font-size: clamp(14px, 1.2vw, 18px); /* был 16–20px */
  line-height: 1.3;
  margin-bottom: 6px;
}

.tiktok-banner p {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 300;
  font-size: clamp(12px, 1vw, 14px); /* ещё компактнее */
  line-height: 1.4;
  margin-bottom: 8px;
}
/* Заголовок */
.tiktok-banner h4 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.3;
  margin-bottom: 8px;
}

/* Подзаголовок — сильно меньше */
.tiktok-banner h5 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 300;
  font-size: clamp(12px, 0.9vw, 16px); /* намного меньше */
  line-height: 1.4;
  margin-bottom: 6px;
  opacity: 0.9; /* делает текст «легче» */
}

/* Маленькое описание */
.tiktok-banner p {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 300;
  font-size: clamp(11px, 0.8vw, 14px);
  line-height: 1.4;
}
/* Только для RU */
html[lang="ru"] .tiktok-banner h4{
  font-weight: 400;
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.18;
  letter-spacing: .01em;       /* меньше растяжение — меньше переносов */
  text-transform: none;        /* без лишнего upper, кириллица так смотрится легче */
  margin-bottom: 8px;
}

html[lang="ru"] .tiktok-banner h5.tiktok-subtitle{
  font-weight: 300;
  font-size: clamp(14px, 1.1vw, 18px);  /* заметно меньше второго текста */
  line-height: 1.35;
  letter-spacing: .02em;
  margin: 8px 0 6px;
}

html[lang="ru"] .tiktok-banner p.tiktok-text{
  font-weight: 300;
  font-size: clamp(12px, .95vw, 14px);
  line-height: 1.4;
  opacity: .9;
}
/* Gallery: оставить текст, убрать только коричневую подложку */
.section_gallery__2 .img_placeholder__wrap::after,
.section_gallery__3 .img_placeholder__wrap::after,
.section_gallery__4 .img_placeholder__wrap::after{
  content: none !important;
  display: none !important;
}

/* Подпись показываем, фон и тень убираем */
.section_gallery__2 .caption_text,
.section_gallery__3 .caption_text,
.section_gallery__4 .caption_text{
  display: block !important;
  background: transparent !important;
  box-shadow: none !important;
  height: auto !important;
  padding: 0 !important;        /* можно убрать/подобрать */
}

/* На всякий случай отключим псевдоэлементы у самой подписи */
.section_gallery__2 .caption_text::before,
.section_gallery__2 .caption_text::after,
.section_gallery__3 .caption_text::before,
.section_gallery__3 .caption_text::after,
.section_gallery__4 .caption_text::before,
.section_gallery__4 .caption_text::after{
  content: none !important;
  display: none !important;
}
/* ============== GALLERY: фикс мобилки ============== */

/* Родитель для подписи и прозрачный фон карточки */
.section_gallery__2 .gallery_item,
.section_gallery__3 .gallery_item,
.section_gallery__4 .gallery_item{
  position: relative;
  background: transparent !important;
  overflow: hidden; /* на всякий случай */
}

/* Само изображение-фоном: без коричневой подложки, всегда cover */
.section_gallery__2 .img_placeholder__wrap,
.section_gallery__3 .img_placeholder__wrap,
.section_gallery__4 .img_placeholder__wrap{
  background-color: transparent !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Убить «служебные» полосы-псевдоэлементы темы */
.section_gallery__2 .col-xs-3::after,
.section_gallery__3 .col-xs-3::after,
.section_gallery__4 .col-xs-3::after{
  content: none !important;
  display: none !important;
}

/* Мобилка: аккуратно фиксируем подписи внутри карточки */
@media (max-width: 768px){
  .section_gallery__2 .caption_text,
  .section_gallery__3 .caption_text,
  .section_gallery__4 .caption_text{
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }
}
/* ==== Gallery — убрать подложки и вернуть подписи поверх картинки ==== */

/* Карточка */
.section_gallery__2 .gallery_item,
.section_gallery__3 .gallery_item,
.section_gallery__4 .gallery_item{
  position: relative;
  background: transparent !important;
  overflow: hidden;
}

/* Элемент с инлайн-фоном (Shopify сам пишет style="background-image:…") */
.section_gallery__2 .img_placeholder__wrap,
.section_gallery__3 .img_placeholder__wrap,
.section_gallery__4 .img_placeholder__wrap{
  background-color: transparent !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Убить любые декоративные псевдо-элементы (полосы/оверы) */
.section_gallery__2 .gallery_item::before,
.section_gallery__2 .gallery_item::after,
.section_gallery__3 .gallery_item::before,
.section_gallery__3 .gallery_item::after,
.section_gallery__4 .gallery_item::before,
.section_gallery__4 .gallery_item::after,
.section_gallery__2 .col-xs-3::after,
.section_gallery__3 .col-xs-3::after,
.section_gallery__4 .col-xs-3::after{
  content: none !important;
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Ссылка с подписью (иногда фон задаётся именно сюда) */
.section_gallery__2 .item_caption,
.section_gallery__3 .item_caption,
.section_gallery__4 .item_caption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  z-index: 3;
}

/* Текст подписи — аккуратный, без плашки */
.section_gallery__2 .caption_text,
.section_gallery__3 .caption_text,
.section_gallery__4 .caption_text{
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: #2a1f19;                 /* элегантный тёмно-шоколадный */
  letter-spacing: 0.10em;
  font-weight: 500;
  font-size: clamp(12px, 1.7vw, 18px);
  text-shadow: 0 0 2px rgba(255,255,255,.4); /* легкая подсветка, чтобы читалось */
  padding: 12px 10px;
}

/* Мобилка — подпись остаётся поверх картинки */
@media (max-width: 768px){
  .section_gallery__2 .item_caption,
  .section_gallery__3 .item_caption,
  .section_gallery__4 .item_caption{
    position: absolute;
    left: 0; right: 0; bottom: 0;
  }
  .section_gallery__2 .caption_text,
  .section_gallery__3 .caption_text,
  .section_gallery__4 .caption_text{
    padding: 10px 8px;
    font-size: 14px;
    letter-spacing: .12em;
  }
}
/* Gallery (style_3 / style_4): подпись на фото с мягкой защитой снизу */
.section_gallery__4 .gallery_item,
.section_gallery__3 .gallery_item{ position: relative; }

/* Лёгкий градиент снизу, почти незаметный, но спасает читаемость */
.section_gallery__4 .img_placeholder__wrap::after,
.section_gallery__3 .img_placeholder__wrap::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 84px;
  background: linear-gradient(to top, rgba(244,231,220,.75), rgba(244,231,220,0));
  pointer-events: none;
}

/* Подпись — внизу-слева */
.section_gallery__4 .caption_text,
.section_gallery__3 .caption_text{
  position: absolute !important;
  left: 22px; bottom: 18px;
  margin: 0;
  text-align: left;
  color: #4f4039;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* На телефонах делаем компактнее */
@media (max-width: 767px){
  .section_gallery__4 .caption_text,
  .section_gallery__3 .caption_text{
    left: 16px; bottom: 14px;
    font-size: 14px;
    letter-spacing: .12em;
  }
}
:is(.section_gallery__3,.section_gallery__4) .img_placeholder__wrap::after{
  content:"";position:absolute;inset:auto 0 0;height:84px;
  background:linear-gradient(0deg,#f4e7dcc0,transparent);
  pointer-events:none
}
:is(.section_gallery__3,.section_gallery__4) .caption_text{
  position:absolute;left:22px;bottom:18px;margin:0;color:#4f4039;
  font-weight:500;font-size:18px;letter-spacing:.16em;text-transform:uppercase
}
@media(max-width:767px){
  :is(.section_gallery__3,.section_gallery__4) .caption_text{transform:translateY(12px)}
}
/* ========== Галерея: улучшение читаемости подписей ========== */

/* Общие стили (оставляем как были) */
:is(.section_gallery__3,.section_gallery__4) .img_placeholder__wrap::after{
  content:"";
  position:absolute;inset:auto 0 0;height:84px;
  background:linear-gradient(0deg,#f4e7dcc0,transparent);
  pointer-events:none
}
:is(.section_gallery__3,.section_gallery__4) .caption_text{
  position:absolute;left:22px;bottom:18px;margin:0;color:#4f4039;
  font-weight:500;font-size:18px;letter-spacing:.16em;text-transform:uppercase
}

/* Мобилки: усилить градиент и дать деликатную подложку под текстом */
@media (max-width: 767px){
  /* Градиент чуть выше и плотнее у кромки */
  :is(.section_gallery__3,.section_gallery__4) .img_placeholder__wrap::after{
    height:120px;
    background:linear-gradient(
      0deg,
      rgba(244,231,220,.92) 0%,
      rgba(244,231,220,.55) 40%,
      rgba(244,231,220,0) 100%
    );
  }

  /* Небольшая «капсула» под подписью */
  :is(.section_gallery__3,.section_gallery__4) .caption_text{
    bottom:14px;
    padding:6px 10px;
    border-radius:12px;
    background:rgba(255,255,255,.62);          /* почти невидимо, но читабельно */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
}
/* Цвет текста-логотипа/названия магазина под иконкой */
.header .site-logo a,
.header .site-logo .logo__text,
.header .site-branding .site-title,
.header .logo .logo__text {
  color: color:#000000; !important;
}

/* (опционально) при наведении слегка теплее */
.header .site-logo a:hover { color: #6B534A !important; }
/* Спрятать старую заглушку, которая больше не нужна */
#pseudo_sticky_block { display: none !important; }

/* Фиксируем весь хедер (включая верхнюю полоску) */
#page_header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;                 /* выше контента/слайдера/оверлеев */
  will-change: transform;        /* сглаживает перерисовку при скролле */
}

/* Прокладка под хедер: высоту отдаём через CSS-переменную */
#pseudo_sticky_block{
  height: var(--headerH, 120px) !important;
}

/* На всякий случай — не блокируем наложение */
#shopify-section-header,
.page_wrapper{
  overflow: visible !important;
}

/* Фиксируем весь секционный блок хедера целиком */
#shopify-section-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
}

/* Прокладка, чтобы контент не подпрыгивал */
#pseudo_sticky_block{
  height: var(--headerH, 120px) !important;
}

/* На всякий случай уберём возможные сдвиги внутр. слоёв */
.top_pannel.inverted,
.header_wrap1.inverted{
  transform: none !important;
}
/* --- Fixed header (полоска + меню) --- */
#shopify-section-header,
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
}

/* Фоны, чтобы хедер не становился прозрачным */
.top_pannel.inverted{ background:#c49a8d !important; }   /* верхняя узкая плашка */
.header_wrap1.inverted{ background:#FBEDF2 !important; } /* блок с логотипом/меню */

/* Небольшая тень, чтобы отделить от контента (опционально) */
#page_header{ box-shadow: 0 2px 10px rgba(0,0,0,.06); }

/* Отступ под фикс-хедер. Значение ставим через переменную,
   скрипт ниже будет подставлять реальную высоту хедера */
:root{ --hdrH: 140px; }
body{ padding-top: var(--hdrH); }
/* Делаем липким весь <header id="page_header"> (внутри него и верхняя полоска, и меню) */
#page_header {
  position: sticky;
  top: 0;
  z-index: 1100;           /* поверх слайдера и контента */
}

/* На случай если где-то шапке давали fixed/absolute — возвращаем в поток */
#page_header .top_pannel,
#page_header .header_wrap1 {
  position: static !important;
}

/* Небольшой «чехол» на контейнер секции, чтобы база темы не перекрывала sticky (иногда нужно для Safari) */
.shopify-section-header {
  position: relative;
  z-index: 1100;
}

/* Если вдруг увидите тонкую «щель» под шапкой — можно слегка прижать */
#page_header { margin-bottom: 0; }
/* Заголовки и текст — более стройная, «воздушная» шкала */
main h1{font-size:clamp(34px,4vw,44px);line-height:1.15;letter-spacing:.02em;color:#4F4039;}
main h2{font-size:clamp(28px,3.2vw,36px);line-height:1.2; letter-spacing:.02em;color:#4F4039;}
main h3{font-size:clamp(22px,2.4vw,28px);line-height:1.25;letter-spacing:.01em;color:#4F4039;}
main p, main li{font-size:clamp(16px,1.4vw,19px);line-height:1.6;color:#4F4039;}
/* хлебные крошки чуть компактнее */
.breadcrumb, .breadcrumbs, nav.breadcrumbs{font-size:16px;}

/* Кнопки (в том числе READ MORE в блоге) более аккуратные */
.btn, .button, a.button, .blog .btn, .blog a.button{
  font-size:clamp(14px,1.25vw,16px);
  padding:.85rem 1.6rem;
  border-radius:12px;
}

/* Поля ввода + списки на контентных страницах — единый тон */
main .rte ul{list-style:none;padding-left:0;}
main .rte ul li{position:relative;padding-left:1.25rem;}
main .rte ul li::before{
  content:"";position:absolute;left:0;top:.65em;width:.5rem;height:.5rem;border-radius:50%;
  background:#B8836F;
}
:root{
  --mjs-bg:#F7EFE8;
  --mjs-accent:#B8836F;
  --mjs-accent-25:rgba(184,131,111,.45);
  --mjs-text:#4F4039;
}

/* Контейнеры Shopify для политик */
.shopify-policy__container{background:var(--mjs-bg);}
.shopify-policy__title{color:var(--mjs-text)!important;}
.shopify-policy__body{color:var(--mjs-text)!important;}

/* Ссылки в политике */
.shopify-policy__body a{
  color:var(--mjs-accent)!important;text-decoration:none;
  box-shadow:inset 0 -1px 0 var(--mjs-accent-25);transition:color .2s, box-shadow .2s;
}
.shopify-policy__body a:hover{
  color:var(--mjs-text)!important;box-shadow:inset 0 -1.5px 0 currentColor;
}

/* Маркеры списков */
.shopify-policy__body ul{list-style:none;padding-left:0;}
.shopify-policy__body ul li{position:relative;padding-left:1.25rem;}
.shopify-policy__body ul li::before{
  content:"";position:absolute;left:0;top:.65em;width:.5rem;height:.5rem;border-radius:50%;
  background:var(--mjs-accent);
}

/* Сайдбар «Policies», если выводится темой */
.shopify-policy__sidebar h2,
.shopify-policy__sidebar a{color:var(--mjs-text)!important;}
.shopify-policy__sidebar a:hover{color:var(--mjs-accent)!important;}

/* Подстраховка для обычных страниц с контентом */
main .rte, main .rte p, main .rte li{color:var(--mjs-text)!important;}
main .rte h1, main .rte h2, main .rte h3{color:var(--mjs-text)!important;}
main .rte a{
  color:var(--mjs-accent)!important;text-decoration:none;
  box-shadow:inset 0 -1px 0 var(--mjs-accent-25);
}
main .rte a:hover{color:var(--mjs-text)!important;box-shadow:inset 0 -1.5px 0 currentColor;}
main .rte ul{list-style:none;padding-left:0;}
main .rte ul li{position:relative;padding-left:1.25rem;}
main .rte ul li::before{
  content:"";position:absolute;left:0;top:.65em;width:.5rem;height:.5rem;border-radius:50%;
  background:var(--mjs-accent);
}
/* ================================
   1) Policy pages — типографика и цвета
   ================================ */

/* Цвет текста в теле политики + заголовки (перебиваем inline) */
.shopify-policy__body .rte,
.shopify-policy__body .rte p,
.shopify-policy__body .rte li { color: #4F4039 !important; }

.shopify-policy__body .rte h1,
.shopify-policy__body .rte h2,
.shopify-policy__body .rte h3 { color: #4F4039 !important; }

/* Размеры заголовков в Policy (аккуратнее) */
.shopify-policy__body .rte h1{
  font-size: clamp(30px, 3.2vw, 40px) !important;
  line-height: 1.15;
  letter-spacing: .02em;
}
.shopify-policy__body .rte h2{
  font-size: clamp(24px, 2.6vw, 32px) !important;
  line-height: 1.2;
  letter-spacing: .02em;
}
.shopify-policy__body .rte h3{
  font-size: clamp(20px, 2.1vw, 26px) !important;
  line-height: 1.25;
  letter-spacing: .01em;
}
/* Абзацы и списки в Policy */
.shopify-policy__body .rte p,
.shopify-policy__body .rte li{
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
}

/* Ссылки в Policy (карамель + подчёркивание-хайлайт) */
.shopify-policy__body .rte a{
  color: #B8836F !important;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(184,131,111,.45);
  transition: color .2s, box-shadow .2s;
}
.shopify-policy__body .rte a:hover{
  color: #4F4039 !important;
  box-shadow: inset 0 -1.5px 0 currentColor;
}

/* Маркеры списков в Policy */
.shopify-policy__body .rte ul{ list-style:none; padding-left:0; }
.shopify-policy__body .rte ul li{ position:relative; padding-left:1.25rem; }
.shopify-policy__body .rte ul li::before{
  content:""; position:absolute; left:0; top:.65em;
  width:.5rem; height:.5rem; border-radius:50%;
  background:#B8836F;
}

/* Сайдбар Policy (список ссылок) */
.shopify-policy__sidebar h2,
.shopify-policy__sidebar a{ color:#4F4039 !important; }
.shopify-policy__sidebar a:hover{ color:#B8836F !important; }

/* ================================
   2) Обычные контентные страницы (About, Contact и т.п.)
   — у вас там контейнер .main_content, а не <main>
   ================================ */

.main_content .rte,
.main_content .rte p,
.main_content .rte li{ color:#4F4039 !important; }
.main_content .rte h1,
.main_content .rte h2,
.main_content .rte h3{ color:#4F4039 !important; }

.main_content .rte h1{
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.15; letter-spacing:.02em;
}
.main_content .rte h2{
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2; letter-spacing:.02em;
}
.main_content .rte h3{
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.25; letter-spacing:.01em;
}
.main_content .rte p,
.main_content .rte li{
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
}

/* ================================
   3) Кнопка READ MORE в блоге — компактнее
   ================================ */
.blog .btn, .blog .button, .blog a.button{
  font-size: clamp(14px, 1.2vw, 16px);
  padding: .8rem 1.4rem;
  border-radius: 12px;
}
/* ===== Палитра и масштабы шрифтов ===== */
:root{
  --mjs-h1: clamp(30px, 3.2vw, 40px);
  --mjs-h2: clamp(24px, 2.6vw, 32px);
  --mjs-h3: clamp(20px, 2.1vw, 26px);
  --mjs-body: clamp(16px, 1.4vw, 18px);

  --mjs-text: #4F4039;        /* основной тёмный */
  --mjs-text-muted: #6A5953;  /* чуть мягче для обычного текста */
  --mjs-accent: #B8836F;      /* карамель */
}

/* ===== Заголовок страницы (About, Contact, Policy и т.п.) ===== */
.page_container > h1,
.page_container .page-title,
.page_title,
.shopify-policy__title h1,
.shopify-policy__title{
  font-size: var(--mjs-h1) !important;
  line-height: 1.15;
  letter-spacing: .02em;
  color: var(--mjs-text) !important;
  margin-bottom: .75em;
}

/* ===== Разделы внутри контента (включая About/Contact) ===== */
.page_container h2,
.page_container .rte h2{
  font-size: var(--mjs-h2) !important;
  line-height: 1.2;
  color: var(--mjs-text) !important;
  margin: 1.2em 0 .5em;
}
.page_container h3,
.page_container .rte h3{
  font-size: var(--mjs-h3) !important;
  line-height: 1.25;
  color: var(--mjs-text) !important;
  margin: 1em 0 .4em;
}

/* Обычный текст на контентных страницах */
.page_container p,
.page_container .rte p,
.page_container li,
.page_container .rte li{
  font-size: var(--mjs-body);
  line-height: 1.6;
  color: var(--mjs-text-muted);
}

/* Ссылки в контенте */
.page_container .rte a{
  color: var(--mjs-accent);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(184,131,111,.45);
  transition: color .2s, box-shadow .2s;
}
.page_container .rte a:hover{
  color: var(--mjs-text);
  box-shadow: inset 0 -1.5px 0 currentColor;
}

/* ===== Policy: перебиваем inline-цвет и приводим типографику ===== */
.shopify-policy__body .rte{
  color: var(--mjs-text-muted) !important;
}
.shopify-policy__body .rte h1,
.shopify-policy__body .rte h2,
.shopify-policy__body .rte h3{
  color: var(--mjs-text) !important;
  font-weight: 700;
}
.shopify-policy__body .rte h1{ font-size: var(--mjs-h1) !important; line-height:1.15; }
.shopify-policy__body .rte h2{ font-size: var(--mjs-h2) !important; line-height:1.2; }
.shopify-policy__body .rte h3{ font-size: var(--mjs-h3) !important; line-height:1.25; }

.shopify-policy__body .rte p,
.shopify-policy__body .rte li{
  font-size: var(--mjs-body) !important;
  line-height: 1.6 !important;
}

/* Маркеры списков в Policy — аккуратные "карамельные" точки */
.shopify-policy__body .rte ul{ list-style: none; padding-left: 0; }
.shopify-policy__body .rte ul li{ position: relative; padding-left: 1.25rem; }
.shopify-policy__body .rte ul li::before{
  content:""; position: absolute; left: 0; top: .65em;
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--mjs-accent);
}

/* Сайдбар с ссылками в Policy */
.shopify-policy__sidebar h2,
.shopify-policy__sidebar a{ color: var(--mjs-text) !important; }
.shopify-policy__sidebar a:hover{ color: var(--mjs-accent) !important; }

/* ===== Блог: уменьшить кнопку Read More ===== */
.template-blog .btn,
.template-blog .button,
.template-blog a.btn,
.template-blog a.button,
.blog .btn,
.blog .button{
  font-size: clamp(14px, 1.2vw, 16px);
  padding: .8rem 1.4rem;
  border-radius: 12px;
}
/* ========= Общие цвета сайта (новая палитра MJS) ========= */
:root{
  --mjs-head: #000000;   /* заголовки — чистый черный */
  --mjs-text: #1a1a1a;   /* основной текст — мягкий черный */
  --mjs-accent: #E8D7DD; /* нежный пыльно-розовый акцент */
}

/* ========= Обычные страницы (About us и прочие Page) ========= */
/* Контент внутри редактора (rte) на страницах template-page */
body.template-page .rte h1{
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: .02em;
  color: var(--mjs-head);
  margin: 24px 0 12px;
}
body.template-page .rte h2{
  font-size: 26px;
  line-height: 1.3;
  color: var(--mjs-head);
  margin: 20px 0 10px;
}
body.template-page .rte p,
body.template-page .rte li{
  font-size: 18px;
  line-height: 1.65;
  color: var(--mjs-text);
}
/* центральный большой заголовок страницы */
body.template-page #shopify-section-header h1,
body.template-page .page-header h1,
body.template-page .page__title{
  font-size: 36px !important;
  letter-spacing: .10em;
}

/* ========= Страницы политик (узкое влияние) ========= */
.shopify-policy__container .rte h1{
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: .02em;
  color: var(--mjs-head);
  margin: 18px 0 16px;
}
.shopify-policy__container .rte h2{
  font-size: 28px;
  line-height: 1.35;
  color: var(--mjs-head);
  margin: 22px 0 10px;
}
.shopify-policy__container .rte h3{
  font-size: 22px;
  color: var(--mjs-head);
  margin: 18px 0 8px;
}
.shopify-policy__container .rte p,
.shopify-policy__container .rte li{
  font-size: 18px;
  line-height: 1.7;
  color: var(--mjs-text);
}
/* «красивее, как раньше»: ключевые слова/подзаголовки в тексте чуть темнее */
.shopify-policy__container .rte strong,
.shopify-policy__container .rte b{
  color: var(--mjs-head);
}
/* маркеры списков и отступы */
.shopify-policy__container .rte ul{ margin: 10px 0 16px; }
.shopify-policy__container .rte li{ margin: 6px 0; }

/* Боковое меню «Policies» (если есть) — спокойные ссылки */
.shopify-policy__container aside a{
  color: var(--mjs-head);
}
.shopify-policy__container aside a:hover{
  opacity:.85; text-decoration: underline;
}

/* ========= Блог: кнопка «Read more» поменьше ========= */
body.template-blog .btn,
body.template-blog .button{
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 12px;
  letter-spacing: .06em;
}
body.template-page #shopify-section-header h1, .page-header h1, .page__title
/* Аккуратная типографика для блоков политики */
.mjs-policy h1 { font-size: 40px; line-height: 1.15; letter-spacing: .02em; color:#5b4136; margin:24px 0 12px; }
.mjs-policy h2 { font-size: 28px; line-height: 1.25; color:#5b4136; margin:16px 0; }
.mjs-policy h3 { font-size: 20px; line-height: 1.35; color:#A38F85; margin:22px 0 8px; }

.mjs-policy p,
.mjs-policy li { font-size: 17px; line-height: 1.75; color:#4f4039; }

.mjs-policy ul { margin:0 0 14px 18px; }
.mjs-policy ul li { margin:4px 0; }
.mjs-policy { max-width: 860px; }
/* ====== HEADER: десктоп липкий, мобильный обычный ====== */

/* ДЕСКТОП (≥768px): липкая шапка */
@media (min-width: 768px){
  /* сам хедер «прилипает» к верху */
  #page_header{
    position: sticky;
    top: 0;
    z-index: 1100;
  }
  /* иногда теме нужен относительный контекст над слайдером */
  .shopify-section-header{
    position: relative;
    z-index: 1100;
  }
}

/* МОБИЛЬНЫЕ (≤767px): НЕ липкая шапка */
@media (max-width: 767px){
  /* возвращаем в обычный поток */
  #page_header,
  #shopify-section-header{
    position: static !important;
    top:auto !important; left:auto !important; right:auto !important;
    z-index:auto !important;
  }

  /* на случай старых «прокладок» и отступов */
  #pseudo_sticky_block{ display:none !important; height:0 !important; }
  body{ padding-top:0 !important; }

  /* если где-то заданы переменные высоты — обнулим */
  :root{ --hdrH: 0 !important; --headerH: 0 !important; }
}
/**********************************************************
  MJS — Compact UI + PDP Image + Related Grid + Notify Form
  (drop-in replacement, no global font-size overrides)
**********************************************************/

/* === 1) Кнопка "В корзину" в карточках === */
.product_item .add_to_cart_form button.btn-cart,
.product_item button.btn-cart{
  display:inline-flex !important;
  align-items:center; justify-content:center;
  gap:8px;
  padding:10px 14px !important;
  font-size:14px !important;
  line-height:1 !important;
  font-weight:600;
  border-radius:14px !important;
  width:auto !important;
  min-width:0 !important;
  min-height:40px !important;
  white-space:nowrap;
  box-shadow:none !important;
  margin-top:8px !important;
}
.product_item .btn-cart svg,
.product_item .btn-cart i{ width:18px; height:18px; flex:0 0 auto; }
.product_item .product_links{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.product_item .btn-cart:hover{ transform:translateY(-1px); filter:brightness(.96); }
.product_item .btn-cart:active{ transform:translateY(0); filter:brightness(.92); }
.product_item .btn-cart:focus-visible{ outline:2px solid rgba(0,0,0,.15); outline-offset:2px; }
.product_item .btn-cart[disabled]{ opacity:.6; pointer-events:none; }

@media (max-width: 767px){
  .product_item .add_to_cart_form button.btn-cart,
  .product_item button.btn-cart{
    padding:8px 12px !important;
    font-size:13px !important;
    min-height:36px !important;
    border-radius:12px !important;
  }
}

/* === 2) Кнопки на PDP === */
.single_product__details .button_block .btn,
#single_product__addtocart-template-product\.btn{
  display:inline-flex !important;
  align-items:center; justify-content:center;
  gap:8px;
  padding:10px 16px !important;
  font-size:14px !important;
  line-height:1 !important;
  border-radius:12px !important;
  min-height:40px !important;
  width:auto !important;
  white-space:nowrap;
  box-shadow:none !important;
  margin:0 !important;
}
#single_product__addtocart-template-product\.btn svg,
#single_product__addtocart-template-product\.btn i{ width:18px; height:18px; flex:0 0 auto; }

.single_product__details .button_block{ display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
@media (max-width: 767px){
  .single_product__details .button_block .btn{
    padding:8px 12px !important;
    font-size:13px !important;
    min-height:36px !important;
    border-radius:10px !important;
  }
}

/* === 3) Форма "Уведомить меня" / обратная связь === */
/* убираем тёмный фон контейнеров формы */
.product_notify, .notify_form, .notifyme-box{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: inherit !important;
}
/* поля — светлые и аккуратные */
.product_notify input[type="email"],
.product_notify textarea,
.notify_form input, .notify_form textarea{
  background:#fff !important;
  border:1px solid #e7c8bf !important;
  color:#3b2a26 !important;
  border-radius:10px !important;
  padding:10px 12px !important;
}
.product_notify ::placeholder,
.notify_form ::placeholder{ color:#9b8580; opacity:1; }
/* submit формы — компактный */
.product_notify .btn, .notify_form .btn{
  display:inline-flex !important;
  align-items:center; justify-content:center;
  padding:8px 14px !important;
  font-size:14px !important;
  line-height:1 !important;
  min-height:36px !important;
  border-radius:10px !important;
  width:auto !important;
  box-shadow:none !important;
  text-transform:none !important;
}

/* === 4) PDP — нормализуем главное фото товара === */
body.template-product .single_product__img{
  max-width:560px;            /* умеренная ширина колонки с фото */
  margin:0 auto 16px;
  display:flex; align-items:center; justify-content:center;
}
body.template-product .single_product__img picture,
body.template-product .single_product__img img{
  width:100%; height:auto;
  max-height:62vh;            /* не «во весь экран» */
  object-fit:contain;         /* без обрезки, целиком */
}
@media (min-width:1440px){
  body.template-product .single_product__img picture,
  body.template-product .single_product__img img{
    max-height:70vh;
  }
}

/* квадратная рамка под изображение карточки */
.widget_related_products .product_listing_item [class*="product_image"],
.widget_related_products .product_listing_item .product_img,
.product_listing_related  .product_listing_item [class*="product_image"],
.product_listing_related  .product_listing_item .product_img{
  position:relative !important;
  width:100% !important;
  padding-top:100% !important;     /* делает квадрат */
  overflow:hidden !important;
  border-radius:12px;
}

/* содержимое (picture/img/div) растягиваем по рамке */
.widget_related_products .product_listing_item [class*="product_image"] > *,
.widget_related_products .product_listing_item .product_img > *,
.product_listing_related  .product_listing_item [class*="product_image"] > *,
.product_listing_related  .product_listing_item .product_img > *{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}

/* подстраховка: если вдруг img без обёртки */
.widget_related_products .product_listing_item img,
.product_listing_related  .product_listing_item img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}

/* заголовок блока и отступы */
.widget_related_products{ padding:24px 0 !important; }
.widget_related_products .title,
.widget_related_products .section_title,
.widget_related_products h2{
  font-size:clamp(18px,1.8vw,26px);
  letter-spacing:.06em;
  margin-bottom:18px;
}

/* возвращаем видимость названия/цены/кнопок (если раньше скрывали) */
.product_listing_related .product_info,
.widget_related_products  .product_info{ display:block !important; }

.product_listing_related .product_name,
.product_listing_related .product_name a,
.widget_related_products  .product_name,
.widget_related_products  .product_name a{ display:block !important; }

.product_listing_related .price,
.widget_related_products  .price{
  display:block !important;
  text-align:center;
}

/* кнопки в карточках related — показываем и делаем компактными */
.product_listing_related .product_links,
.widget_related_products  .product_links{
  display:flex !important; gap:10px; justify-content:center; flex-wrap:wrap;
}
.product_listing_related .add_to_cart,
.product_listing_related .add-to-cart,
.product_listing_related .btn-add-to-cart,
.widget_related_products  .add_to_cart,
.widget_related_products  .add-to-cart,
.widget_related_products  .btn-add-to-cart{
  display:inline-flex !important;
  align-items:center; justify-content:center;
  min-height:40px; padding:0 14px; border-radius:12px;
}


:root{
  --accent:#CFA293;        /* карамельно-розовый */
  --ink:#4E3D37;           /* тёмно-шоколадный текст */
  --card:#FFFFFF;
  --soft:#F8F1EC;          /* светлый фон секций */
}

/* Цена + блок управления: компактнее и «дороже» */
.product__info-wrapper .price,
.product .price__regular .price-item--regular{
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--ink);
  margin: 4px 0 8px;
}

/* Availability – тише */
.product__inventory,
.product__info-wrapper [data-availability],
.product__info-wrapper .product__availability{
  font-size: 12px;
  opacity:.6;
  margin-bottom: 6px;
}

/* Количество — меньше и уже */
.quantity,
.product-form__quantity{
  --h:40px;
  height: var(--h);
}
.quantity input,
.quantity__input{ height: var(--h); font-size:14px; }
.quantity__button{ height: var(--h); }

/* Кнопки: короче, округлые, аккуратный hover */
.product-form__submit,
button[name="add"],
.shopify-payment-button button,
button.notify-me{
  background: var(--accent);
  color:#fff;
  border-radius: 999px;
  padding: 0 22px;
  height: 44px;
  border: none;
  font-weight: 700;
  letter-spacing:.3px;
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
  transition: transform .08s ease, box-shadow .2s ease, filter .15s ease;
}
.product-form__submit:hover,
button[name="add"]:hover,
button.notify-me:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(207,162,147,.28);
  filter: saturate(1.05);
}
.product-form__submit:active{ transform: translateY(0); box-shadow:none; }

/* Кнопка "Notify me" — контурная */
button.notify-me{
  background: transparent;
  color: var(--accent);
  border:1.5px solid var(--accent);
}
button.notify-me:hover{ background: var(--accent); color:#fff; }


/* Текст описания компактнее, читаемее */
.product__description, .product__info-wrapper .rte{
  max-width: 56ch;
  line-height: 1.6;
  color: var(--ink);
  opacity:.95;
}

/* Аккордеоны "Как выбрать размер / Уход" — светлые карточки */
.collapsible-content, .product__accordion, details.disclosure{
  background: var(--card);
  border:1px solid #EAD7D0;
  border-radius:16px;
  padding:12px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
  margin:10px 0;
}
details.disclosure summary{ font-weight:700; color:var(--ink); }

/* Соцсети — контрастнее */
.product__info-wrapper .social-icons a,
.share-buttons a, .footer__social a{
  color: var(--ink);
  opacity:.9;
}
.product__info-wrapper .social-icons a:hover{ opacity:1; }


/* Контейнер секции — без тёмного фона */
#product-recommendations, .related-products, .you-may-also-like{
  background: transparent;
  padding-block: 12px 28px;
}

/* Каждая карточка — белая, с мягкой тенью */
.related-products .card, .you-may-also-like .card, 
#product-recommendations .card, 
.product-grid .grid__item .card{
  background: var(--card);
  border:1px solid #EAD7D0;
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
  transition: transform .15s ease, box-shadow .2s ease;
}
.related-products .card:hover{ 
  transform: translateY(-2px); 
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

/* Изображения внутри карточек — одинаковая высота */
.card__media img{ object-fit: contain; aspect-ratio: 1/1; }

/* Заголовок и цена под фото в едином стиле */
.card__information .card__heading,
.card-information .price{
  text-align:center;
}
.card__information .card__heading a{
  color: var(--ink);
  font-weight:700;
}
.card-information .price .price-item{ font-weight:800; }


/* Чуть больше отступов по краям страниц и между блоками */
.page-width, .container, .wrapper{ padding-inline: clamp(16px,4vw,48px); }
.section + .section{ margin-top: clamp(24px,5vw,56px); }

/* Футер: ровные колонки и тонкая разделительная линия */
.footer{ background: linear-gradient(180deg, #D3A693 0%, #BF8D7C 100%); }
.footer .grid{ row-gap: 10px; }
.footer hr{ border:0; border-top:1px solid rgba(255,255,255,.25); margin:18px 0; }

.you-may-also-like, #product-recommendations{background:transparent;}
.you-may-also-like .page-width{max-width:1200px;}
.product__title{letter-spacing:.3px;margin-bottom:8px;}
.product__info-wrapper{row-gap:10px;}
.product__info-wrapper .price{margin-bottom:4px;}
.product-form{gap:8px;}
.card__media img{aspect-ratio:1/1;object-fit:contain;}

/* 1) Описание товара — воздух сверху/снизу + аккуратная карточка */
.product__info-wrapper .rte,
.product__description{
  margin-top: 12px !important;
  padding: 12px 14px !important;
  background:#fff !important;
  border:1px solid #EAD7D0 !important;
  border-radius:14px !important;
}

/* 2) Блок "You may also like" — поля слева/справа и ровная сетка */
#product-recommendations,
.you-may-also-like{
  padding-inline: clamp(16px,4vw,48px) !important;
}
#product-recommendations .page-width,
.you-may-also-like .page-width{
  max-width: 1200px !important;
  margin-inline: auto !important;
}
#product-recommendations .grid,
.you-may-also-like .grid{
  gap: 20px !important;
}
#product-recommendations .card,
.you-may-also-like .card{
  background:#fff !important;
  border:1px solid #EAD7D0 !important;
  border-radius:18px !important;
  box-shadow:0 4px 18px rgba(0,0,0,.04) !important;
}

/* 3) Квадратные изображения в коллекциях и рекомендациях */
.collection .card__media,
.product-grid .card__media,
.grid__item .card__media,
#product-recommendations .card__media{
  aspect-ratio: 1 / 1 !important;
  overflow:hidden !important;
}
.collection .card__media img,
.product-grid .card__media img,
#product-recommendations .card__media img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}

/* 4) Чуть воздуха над рекомендациями от описания */
#product-recommendations,
.you-may-also-like{ margin-top: 20px !important; }

/* 5) Цена/кнопки — компактнее расстояния */
.product__info-wrapper .price{ margin-bottom: 6px !important; }
.product-form{ gap: 8px !important; }
.product__description,.product .rte{ margin-top:12px !important; }
.widget_related_products.container{ margin-top:20px !important; }

/* === YOU MAY ALSO LIKE: фикс для .widget_related_products === */
.widget_related_products.container{
  background: transparent !important;              /* убираем розовый фон */
  padding: 0 clamp(16px,4vw,48px) 24px !important; /* поля слева/справа */
}

/* карточки внутри */
.widget_related_products .product {                /* если у тебя .product-item — замени на него */
  background:#fff !important;
  border:1px solid #EAD7D0 !important;
  border-radius:18px !important;
  box-shadow:0 4px 18px rgba(0,0,0,.06) !important;
  overflow:hidden !important;
}

/* изображение квадратно и ровно вписано */
.widget_related_products .product .image,
.widget_related_products .product .card__media{
  aspect-ratio:1/1 !important;
}
.widget_related_products .product img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}

/* заголовок/цена по центру */
.widget_related_products .product .title,
.widget_related_products .product .card__heading,
.widget_related_products .product .price{
  text-align:center !important;
  font-weight:700;
}
/* --- 1) Ярче белые карточки внутри --- */
.widget_related_products .product .image,
.widget_related_products .product .card__media{
  aspect-ratio:1/1 !important;
  background:#fff !important;
  border-radius:14px !important;
  padding:18px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  /* тонкая внутренняя рамка + мягкая тень, чтобы не «таяло» */
  box-shadow:
    inset 0 0 0 1px #EAD7D0,
    0 4px 14px rgba(0,0,0,.05) !important;
}
.widget_related_products .product img{
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
}

/* --- 2) Цена строго по центру --- */
.widget_related_products .product .price,
.widget_related_products .product .price *{
  text-align:center !important;
  margin-inline:auto !important;
  display:block !important;
  font-weight:800 !important;
}

/* Чуть больше воздуха у карточек */
.widget_related_products .product{
  border-radius:18px !important;
  background:#fff !important;
  border:1px solid #EAD7D0 !important;
  box-shadow:0 4px 18px rgba(0,0,0,.06) !important;
  overflow:hidden !important;
}
.collection .card__media{
  aspect-ratio:1/1 !important;
  background:#fff !important;
  border-radius:14px !important;
  padding:18px !important;
  box-shadow: inset 0 0 0 1px #EAD7D0, 0 4px 14px rgba(0,0,0,.05) !important;
}
.collection .card__media img{ object-fit:contain !important; }
.collection .price{ text-align:center !important; font-weight:800 !important; }

.btn--full{width:100%;justify-content:center;display:inline-flex;align-items:center;height:44px;border-radius:999px;font-weight:700;letter-spacing:.2px}
.btn--primary{background:#CFA293;color:#fff;border:0;box-shadow:0 6px 16px rgba(207,162,147,.25);transition:transform .08s,box-shadow .2s}
.btn--primary:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(207,162,147,.32)}
.btn--secondary{background:#eee;color:#8a8a8a;border:0}
/* скрыть старые текстовые "Choose variant"/иконки, если остались */
.product-grid [class*="choose-variant"],
.product-grid a[href*="variant"]{display:none !important;}
/* одинаковая высота под изображением, чтобы кнопки не прыгали */
.product-grid .card__content{min-height:110px}
/* единый стиль CTA в карточках */
.btn-cta{
  width:100%; height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px; font-weight:700; letter-spacing:.2px;
  background:#CFA293; color:#fff; border:0;
  box-shadow:0 6px 16px rgba(207,162,147,.25);
  transition:transform .08s, box-shadow .2s;
}
.btn-cta:hover{ transform:translateY(-1px); box-shadow:0 10px 22px rgba(207,162,147,.32) }
.btn-cta--disabled{ background:#eee; color:#9b9b9b; pointer-events:none }

/* если где-то ещё выводится текстовая "Choose variant" под ценой — прячем */
.product_prop .choose-variant, .product_prop a[href*="variant"]{display:none!important}
.product_links{ gap:8px; }
.add_to_cart_form{ width:100%; } /* чтобы кнопка внутри формы была 100% */

.btn-cta{
  width:100%; height:48px;
  display:flex; align-items:center; justify-content:center;
  gap:10px; text-align:center;
  border:0; border-radius:999px;
  font-weight:700; letter-spacing:.2px;
  background:#CFA293; color:#fff;
  box-shadow:0 6px 16px rgba(207,162,147,.25);
  transition:transform .08s, box-shadow .2s;
}
.btn-cta:hover{ transform:translateY(-1px); box-shadow:0 10px 22px rgba(207,162,147,.32); }
.btn-cta--disabled{ background:#eee; color:#9b9b9b; pointer-events:none; }

/* на всякий случай скрыть старые текстовые подписи под ценой */
.product_prop .choose-variant{ display:none !important; }
/* ---- ЕДИНЫЙ ВИД CTA в карточках (и кнопка, и ссылка) ---- */
.product_links{ gap:8px; }

.add_to_cart_form{ width:100%; } /* чтобы форма не сужала кнопку */

/* основной стиль применяем ко ВСЕМ вариантам */
.product_links .btn-cart,
.product_links .btn_options{
  width:100% !important;
  height:48px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  text-align:center !important;

  background:#CFA293 !important;      /* единый карамельно-розовый */
  color:#fff !important;
  border:0 !important;
  border-radius:999px !important;
  font-weight:700 !important;
  letter-spacing:.2px !important;
  box-shadow:0 6px 16px rgba(207,162,147,.25) !important;
  transition:transform .08s, box-shadow .2s !important;
}
.product_links .btn-cart:hover,
.product_links .btn_options:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 10px 22px rgba(207,162,147,.32) !important;
}

/* иконка слева не прилипает */
.product_links .btn-cart i,
.product_links .btn_options i{ margin-right:6px !important; }

/* состояние «нет в наличии» */
.product_links .btn-cart[disabled],
.product_links .btn_options[aria-disabled="true"]{
  background:#EEE !important;
  color:#9b9b9b !important;
  box-shadow:none !important;
  pointer-events:none !important;
}

/* убрать старую мелкую "Choose variant" под ценой, если где-то остаётся */
.product_prop .choose-variant,
.product_prop a[href*="variant"]{ display:none !important; }
/* ЕДИНЫЙ ВИД CTA — перебиваем theme-стили для button */
.page_container .product_item .product_links a.btn-cta,
.page_container .product_item .product_links button.btn-cta{
  width:100% !important;
  height:48px !important;
  display:flex !important; align-items:center !important; justify-content:center !important; gap:10px !important;
  background:#CFA293 !important; color:#fff !important; -webkit-text-fill-color:#fff !important;
  border:none !important; border-radius:999px !important;
  font-weight:700 !important; letter-spacing:.2px !important; text-transform:uppercase !important;
  box-shadow:0 6px 16px rgba(207,162,147,.25) !important;
  padding:0 !important; line-height:48px !important; text-decoration:none !important;
}
.page_container .product_item .product_links a.btn-cta:hover,
.page_container .product_item .product_links button.btn-cta:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 10px 22px rgba(207,162,147,.32) !important;
}
/* только кнопки внутри карточек товаров в гриде */
#product_listing__sorted .product_item .product_links button.btn-cta{
  all: unset;           /* сбросим только им */
  display:flex;
}


/* на всякий: прячем старую текстовую подсказку */
.product_prop .choose-variant, .product_prop a[href*="variant"]{display:none !important;}
/* делаем кликабельным и поверх всего */
localization-form,
.localization-form,
.language-switcher,
.header-language{
  position: relative;
  z-index: 1000;
}
localization-form *,.localization-form *{ pointer-events:auto; }
/* Делает селектор языков кликабельным и поверх оверлеев */
.header-lang select#lang-switcher,
#HeaderLanguageForm select#lang-switcher{
  position: relative !important;
  z-index: 1002 !important;
  pointer-events: auto !important;
  -webkit-appearance: auto !important;
  appearance: auto !important;
}

/* Если у формы/контейнера есть декоративные ::before/::after — они не перехватывают клики */
.header-lang::before,
.header-lang::after{ pointer-events: none !important; }

/* Язык: убрать любые иконки/указатели темы рядом с селектом */
#page_header .header-lang::before,
#page_header .header-lang::after,
#page_header .language_selector::before,
#page_header .language_selector::after,
#page_header .header-lang i,
#page_header .language_selector i,
#page_header .header-lang .fa,
#page_header .language_selector .fa {
  content: none !important;
  display: none !important;
}
/* Mobile: прячем слово MENU, оставляя иконку */
@media (max-width: 767px) {
  #page_header .megamenu #megamenu_mobile_toggle{
    font-size: 0 !important;                 /* скрыть текст */
    /* или вариант: text-indent:-9999px; white-space:nowrap; overflow:hidden; */
  }
  /* вернуть размер иконки (она может быть :before или <i>) */
  #page_header .megamenu #megamenu_mobile_toggle:before,
  #page_header .megamenu #megamenu_mobile_toggle i{
    font-size: 22px !important;
  }
}
/* Спрятать баннеры коллекций на мобильных */
@media (max-width: 767px) {
  /* точечно по ID текущей секции */
  #shopify-section-1539863924288 { 
    display: none !important; 
  }

  /* на всякий случай — по классу секции галереи */
  .section_gallery__4,
  .shopify-section.section_gallery {
    display: none !important;
  }
}
/* === Quantity: минимализм без рамок — финальная версия === */

/* Прячем подпись "Количество" */
.single_product__quantity label {
  display: none !important;
}

/* Контейнер с минусом/числом/плюсом — в одну строку */
.single_product__quantity .quantity_box {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Убираем любые рамки/фоны у всего внутри quantity */
.single_product__quantity .quantity_box *,
.single_product__quantity .quantity_box *:before,
.single_product__quantity .quantity_box *:after {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Само поле с числом */
.single_product__quantity input.quantity_input,
.single_product__quantity #single_product__quantity-template-product,
.product_page .single_product__quantity input[type="text"][name="quantity"] {
  width: 40px !important;
  padding: 0 !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #3B2C28 !important;
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

/* Минус/плюс */
.single_product__quantity .quantity_down,
.single_product__quantity .quantity_up {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  cursor: pointer !important;
  color: #3B2C28 !important;
  transition: color .2s ease !important;
}

.single_product__quantity .quantity_down i.fa,
.single_product__quantity .quantity_up i.fa {
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
}

.single_product__quantity .quantity_down:hover,
.single_product__quantity .quantity_up:hover {
  color: #A98274 !important;
}

/* На всякий случай — убираем наследованные рамки у input вообще */
.product_page input[type="text"][name="quantity"],
.product_page .single_product__quantity input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
/* === Quantity: рисуем символы, не завися от иконок === */

/* отключаем любые иконки внутри минуса/плюса */
.single_product__quantity .quantity_down i,
.single_product__quantity .quantity_up i {
  display: none !important;
}

/* создаём собственные символы */
.single_product__quantity .quantity_down::before,
.single_product__quantity .quantity_up::before {
  display: inline-block !important;
  line-height: 1 !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  color: #3B2C28 !important;
}

/* сам минус и плюс */
.single_product__quantity .quantity_down::before { content: "−"; }  /* длинное тире-минус */
.single_product__quantity .quantity_up::before   { content: "+"; }

/* убираем любые рамки/фон у «кнопок» */
.single_product__quantity .quantity_down,
.single_product__quantity .quantity_up {
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: color .2s ease !important;
}

/* лёгкий hover */
.single_product__quantity .quantity_down:hover,
.single_product__quantity .quantity_up:hover {
  color: #A98274 !important;
}

/* на всякий случай — убираем любые рамки/фон вокруг числа */
.single_product__quantity input.quantity_input,
.single_product__quantity #single_product__quantity-template-product,
.product_page .single_product__quantity input[type="text"][name="quantity"] {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* выравнивание всей связки в одну линию и расстояние между элементами */
.single_product__quantity .quantity_box {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* === Quantity: минимализм без рамок/обводок === */
/* Скрыть слово "Количество:" */
.single_product__quantity label,
.single_product__quantity-template-product label {
  display: none !important;
}

/* Ряд с “–  [число]  +” */
.single_product__quantity .quantity_box,
.single_product__quantity-template-product .quantity_box {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Кнопки – и +: убираем фон/рамки/тени, делаем лёгкий hover */
.single_product__quantity .quantity_box .quantity_down,
.single_product__quantity .quantity_box .quantity_up,
.single_product__quantity-template-product .quantity_box .quantity_down,
.single_product__quantity-template-product .quantity_box .quantity_up {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 50% !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: background-color .15s ease !important;
}
.single_product__quantity .quantity_box .quantity_down:hover,
.single_product__quantity .quantity_box .quantity_up:hover,
.single_product__quantity-template-product .quantity_box .quantity_down:hover,
.single_product__quantity-template-product .quantity_box .quantity_up:hover {
  background-color: rgba(0,0,0,.06) !important;
}

/* Иконки внутри –/+ */
.single_product__quantity .quantity_box .quantity_down i,
.single_product__quantity .quantity_box .quantity_up i,
.single_product__quantity-template-product .quantity_box .quantity_down i,
.single_product__quantity-template-product .quantity_box .quantity_up i {
  font-size: 20px !important;
  line-height: 1 !important;
  color: #3B2C28 !important;
}

/* Поле количества как «текст»: без рамок, по центру */
.single_product__quantity .quantity_input,
.single_product__quantity-template-product .quantity_input {
  width: 44px !important;
  text-align: center !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 18px !important;
  color: #3B2C28 !important;
  -moz-appearance: textfield !important;
}

/* Убираем стрелочки у number (Chrome/Safari) */
.single_product__quantity .quantity_input::-webkit-outer-spin-button,
.single_product__quantity .quantity_input::-webkit-inner-spin-button,
.single_product__quantity-template-product .quantity_input::-webkit-outer-spin-button,
.single_product__quantity-template-product .quantity_input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Чуть компактнее на мобильных */
@media (max-width: 768px) {
  .single_product__quantity .quantity_box .quantity_down,
  .single_product__quantity .quantity_box .quantity_up,
  .single_product__quantity-template-product .quantity_box .quantity_down,
  .single_product__quantity-template-product .quantity_box .quantity_up {
    width: 32px !important;
    height: 32px !important;
  }
  .single_product__quantity .quantity_input,
  .single_product__quantity-template-product .quantity_input {
    width: 38px !important;
    font-size: 16px !important;
  }
}
/* === Qty: максимально плотная компоновка – / + === */

/* 1) Делаем контейнер именно inline-flex и управляем зазором сами */
.single_product__quantity .quantity_box,
.single_product__quantity-template-product .quantity_box,
div.single_product__quantity .quantity_box,
div.single_product__quantity-template-product .quantity_box {
  display: inline-flex !important;
  align-items: center !important;
  column-gap: 2px !important;      /* общий зазор между –, числом, + */
  gap: 2px !important;
  margin-left: 4px !important;      /* чуть отъезжаем от цены, чтобы минус не лип */
}

/* 2) Сбрасываем ВСЕ внешние отступы у детей, чтобы ничто не раздвигало блок */
.single_product__quantity .quantity_box > *,
.single_product__quantity-template-product .quantity_box > * {
  margin: 0 !important;
  padding: 0 !important;
}

/* 3) Кнопки «–» и «+» — компактные, кликабельные, без рамок */
.single_product__quantity .quantity_box .quantity_down,
.single_product__quantity-template-product .quantity_box .quantity_down,
.single_product__quantity .quantity_box .quantity_up,
.single_product__quantity-template-product .quantity_box .quantity_up {
  width: 26px !important;
  height: 26px !important;
  line-height: 26px !important;
  text-align: center !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  user-select: none !important;
}

/* 4) Само число — узкое, центрированное, чуть плотнее кернинг */
.single_product__quantity .quantity_input,
.single_product__quantity-template-product .quantity_input,
input.quantity_input {
  width: 32px !important;         /* узкое поле, чтобы всё было плотнее */
  min-width: 32px !important;
  max-width: 32px !important;
  text-align: center !important;
  font-size: 16px !important;
  letter-spacing: -0.5px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* 5) На всякий случай: если у темы стоят какие-то промежутки через white-space */
.single_product__quantity .quantity_box,
.single_product__quantity-template-product .quantity_box {
  white-space: nowrap !important;
}
/* === Модалка "товар добавлен в корзину" === */
#cart_popup,
.cart_popup,
.cart-popup,
.ajaxcart-popup,
.ajax_cart_popup {
  max-height: none !important;     /* убираем ограничение по высоте */
  height: auto !important;         /* пусть адаптируется по содержимому */
  overflow: visible !important;    /* убираем внутренний скролл */
  padding: 24px 28px !important;   /* приятные внутренние отступы */
  border-radius: 14px !important;  /* чуть мягче форма */
}

/* Контейнер контента внутри модалки */
#cart_popup .cart_popup_content,
.cart-popup__content,
.ajax_cart_popup .ajax_cart_content {
  max-height: none !important;
  overflow: visible !important;
}

/* На всякий случай — убираем полосу прокрутки */
#cart_popup::-webkit-scrollbar,
.cart-popup::-webkit-scrollbar,
.ajax_cart_popup::-webkit-scrollbar {
  display: none !important;
}

/* Немного центрируем окно и добавляем "воздуха" */
#cart_popup,
.cart_popup,
.cart-popup,
.ajax_cart_popup {
  transform: translate(-50%, -50%) !important;
  top: 50% !important;
  left: 50% !important;
  margin: 0 !important;
}
/* === Add-to-cart modal (увеличить и убрать внутренний скролл) === */

/* Контейнер fancybox с модалкой: делаем шире/выше и запрещаем скролл */
.fancybox-opened .fancybox-inner {
  width: 540px !important;        /* ширина модалки на десктопе */
  max-width: 92vw !important;      /* чтобы влезало на узких экранах */
  height: auto !important;         /* пусть растёт по контенту */
  max-height: none !important;     /* без ограничений по высоте */
  overflow: visible !important;     /* убрать вертикальный скролл */
}

/* Сам «корзинный» контент — на всякий случай убираем ограничения */
.fancybox-inner #cart_added {
  width: 540px;                     /* синхронизируем с контейнером */
  max-width: 92vw;
  max-height: none !important;
  overflow: visible !important;
}

/* Чуть приятнее коробку самой скины (необязательно) */
.fancybox-opened .fancybox-skin {
  padding: 20px 24px !important;
  border-radius: 14px;
}

/* Кнопки на всю ширину, чтобы выглядели опрятно */
#cart_added .btn,
#cart_added .btn a {
  width: 100%;
}

/* Мобильная подстройка (если нужно компактнее) */
@media (max-width: 768px) {
  .fancybox-opened .fancybox-inner {
    width: 92vw !important;
  }
}
/* === Cart popup fine-tuning (финальные штрихи) === */

/* Общий стиль модалки */
#cart_added {
  text-align: center;
  padding: 20px 24px !important;
}

/* Кнопки — одинаковая ширина, лёгкий скруглённый вид */
#cart_added .btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s ease-in-out;
}

/* Небольшое пространство между кнопками */
#cart_added .btn + .btn {
  margin-top: 10px;
}

/* Элегантный hover-эффект */
#cart_added .btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Адаптив: чуть уже на телефонах */
@media (max-width: 480px) {
  #cart_added .btn {
    max-width: 260px;
  }
}
/* Общий стиль для мобильного окна */
@media (max-width: 600px) {
  .cart_added, 
  .cart-popup, 
  .cart-notification {
    max-width: 90vw !important;
    width: auto !important;
    padding: 18px 16px !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  }

  /* Заголовок */
  .cart_added h4, 
  .cart-popup__title, 
  .cart-notification__title {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  /* Описание */
  .cart_added p, 
  .cart-popup__text {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }

  /* Кнопки */
  .cart_added .btn,
  .cart-popup__button {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px !important;
    padding: 10px 0 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }

  /* Убираем прокрутку внутри окна */
  .cart_added .fancybox-inner,
  .cart-popup__inner {
    overflow-y: visible !important;
  }
}
/* Центрируем заголовок в попапе "добавлено в корзину" только на мобилке */
@media (max-width: 767px) {
  #cart_added h4 {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin: 0 auto 8px !important;
    float: none !important;
    line-height: 1.3 !important;
  }
}
/* ===== Mobile menu: full-screen overlay, no page scroll, language below ===== */
@media (max-width: 767px) {

  /* 1) Делаем САМ список первого уровня полноэкранным, когда он открыт */
  ul#megamenu_level_1.level_1.on,
  ul#megamenu_level_1.level_1_on {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;                 /* Полный экран */
    background: #fff;              /* Тот же фон, что и у сайта */
    z-index: 10000;                /* Выше всего */
    padding: 72px 16px 24px;       /* Отступ сверху под кнопку закрытия */
    overflow: auto;                /* Прокрутка внутри меню */
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 10px 40px rgba(0,0,0,.12);
  }

  /* 2) Кнопку закрытия размещаем в фиксированной позиции поверх меню */
  #megamenu_mobile_close {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10001;
  }

  /* 3) Перечёркиваем влияние «слоёв» в хедере и селектора языка */
  #page_header { position: relative; z-index: 101; }

  /* Языковой селектор ниже меню; клики по нему не перехватываем */
  #page_header .language_selector {
    position: relative;
    z-index: 1;             /* Ниже меню */
    pointer-events: auto;   /* На всякий случай */
  }

  /* Чтобы пункты меню занимали всю ширину аккуратно */
  ul#megamenu_level_1.level_1.on > li,
  ul#megamenu_level_1.level_1_on > li {
    width: 100%;
  }
}
/* === MOBILE: полноэкранное меню только когда открыто === */
@media (max-width: 768px) {

  /* Сам список верхнего уровня (он получает класс .on при открытии) */
  #megamenu_level_1.level_1.on{
    position: fixed !important;
    inset: 0;                   /* top/right/bottom/left: 0 */
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    background: #fff;           /* фон под пункты */
    z-index: 10010;             /* поверх шапки и виджетов */
    -webkit-overflow-scrolling: touch;
  }

  /* Кнопка закрытия, чтобы всегда была в зоне видимости */
  #megamenu_mobile_close.on{
    position: fixed !important;
    top: 16px;
    right: 16px;
    z-index: 10020;
  }

  /* Чтобы язык/топ-панель не торчали поверх меню */
  .top_pannel_menu,
  #page_header .language_selector,
  #page_header .header-lang{
    z-index: 1 !important;
  }

  /* Шапка остаётся ниже меню, но выше контента */
  #page_header{
    position: relative;
    z-index: 10000;
  }
}
/* === MOBILE: полноэкранное меню и отключение transform у шапки === */
@media (max-width: 768px) {

  /* 1) Снять transform/translate со слоёв хедера,
        чтобы position:fixed работал относительно окна, а не рамок шапки */
  #page_header,
  #page_header .header_main_wrap,
  #page_header .header_wrap1,
  #page_header .header_wrap2,
  #page_header .container {
    transform: none !important;
    will-change: auto !important;
  }

  /* 2) Сам список верхнего уровня, когда меню открыто */
  #megamenu_level_1.level_1.on{
    position: fixed !important;
    inset: 0;                          /* top/right/bottom/left: 0 */
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    z-index: 10020;                    /* поверх шапки/виджетов */
  }

  /* Кликабельный слой/крестик всегда сверху */
  #megamenu_mobile_close.on{
    position: fixed !important;
    inset: 0;
    z-index: 10030;
    /* опционально: затемнение фона
    background: rgba(0,0,0,.2);
    */
  }

  /* 3) Языковой селектор и верхняя плашка — ниже меню */
  .top_pannel_menu,
  #page_header .language_selector,
  #page_header .header-lang {
    z-index: 1 !important;
  }

  #page_header { z-index: 10000; }     /* шапка ниже меню, но выше контента */
}
/* ===== Mobile menu fullscreen (без скрытия по умолчанию) ===== */
@media (max-width: 767px){

  /* затемнённый фон поверх страницы */
  #megamenu_mobile_close.on{
    position: fixed;
    inset: 0;                        /* top:0; right:0; bottom:0; left:0 */
    background: rgba(0,0,0,.55);
    z-index: 9998;
  }

  /* сам контейнер меню поднимаем поверх только когда открыт оверлей  */
  #megamenu_mobile_close.on + #megamenu.megamenu_mobile,
  #megamenu_mobile_close.on ~ #megamenu.megamenu_mobile{
    position: fixed;
    inset: 0;
    z-index: 9999;
  }

  /* внутренний список — на всю высоту экрана, с прокруткой */
  #megamenu_mobile_close.on + #megamenu.megamenu_mobile > ul#megamenu_level_1,
  #megamenu_mobile_close.on ~ #megamenu.megamenu_mobile > ul#megamenu_level_1{
    position: absolute;
    inset: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: auto;                  /* скролл внутри меню */
    background: #FFF3EF;             /* ваш светлый фон */
  }

  /* чтобы селектор языка/верхняя панель точно не перекрывали меню */
  #page_header .language_selector,
  #page_header .top_pannel_menu{
    z-index: 1 !important;
  }
}
@media (max-width: 767px) {
  /* раскрываем все “уровень 2” в мобильном меню */
  nav#megamenu.megamenu_mobile li.level_2_small > ul {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* можно скрыть плюсы, если не нужны */
  nav#megamenu.megamenu_mobile li.level_2_small .toggle,
  nav#megamenu.megamenu_mobile li.level_2_small .icon-plus,
  nav#megamenu.megamenu_mobile li.level_2_small .plus {
    display: none !important;
  }
}
/* === MJS Search Overlay === */
.header_search.open .search_form{
  display: none !important; /* прячем старую форму в шапке */
}

/* контейнер оверлея (создадим через JS) */
.mjs-search-overlay{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.96);
  z-index: 99999;
  display: none;
}
.mjs-search-overlay.is-open{ display:block; }

.mjs-search-overlay__inner{
  width: min(980px, 92vw);
  margin: 28px auto 0;
}

.mjs-search-overlay__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.mjs-search-overlay__input{
  width:100%;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid rgba(59,42,36,.22);
  font-size:18px;
}

.mjs-search-overlay__close{
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid rgba(59,42,36,.18);
  background:#f7f2ef;
  cursor:pointer;
  font-size:22px;
  line-height:1;
}

.mjs-search-overlay__grid{
  margin-top:26px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:18px;
}
@media (max-width: 900px){
  .mjs-search-overlay__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
/* === MJS Search Overlay (safe) === */

/* прячем старую форму поиска в шапке, чтобы ничего не прыгало */
.header_search.open .search_form{ display:none !important; }

/* overlay */
.mjs-search-overlay{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.96);
  z-index: 99999;
  display: none;
  overflow: auto;
}
.mjs-search-overlay.is-open{ display:block; }

body.mjs-search-lock{ overflow:hidden; }

/* container */
.mjs-search-overlay__inner{
  width: min(1100px, 92vw);
  margin: 26px auto 40px;
}

/* top row */
.mjs-search-overlay__top{
  display:flex;
  align-items:center;
  gap:14px;
}

.mjs-search-overlay__input{
  width:100%;
  box-sizing:border-box;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid rgba(59,42,36,.22);
  background:#fff;
  color:#3b2a24;
  font-size:18px;
  outline:none;
}

.mjs-search-overlay__input::placeholder{
  color: rgba(59,42,36,.55);
}

.mjs-search-overlay__close{
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid rgba(59,42,36,.18);
  background:#f7f2ef;
  cursor:pointer;
  font-size:26px;
  line-height:1;
  color:#3b2a24;
}

/* title */
.mjs-search-overlay__title{
  margin: 22px 0 12px;
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color:#3b2a24;
}

/* grid */
.mjs-search-overlay__grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:18px;
}

@media (max-width: 980px){
  .mjs-search-overlay__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* card */
.mjs-search-card{
  border:1px solid rgba(59,42,36,.14);
  border-radius:16px;
  padding:12px;
  background:#fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.mjs-search-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
}

.mjs-search-card__media{
  aspect-ratio: 1/1;
  border-radius:14px;
  overflow:hidden;
  background:#f6f2ef;
}
.mjs-search-card__media img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.mjs-search-card__title{
  margin-top:10px;
  font-size:15px;
  line-height:1.25;
  color:#3b2a24;
}
.mjs-search-card__price{
  margin-top:6px;
  font-weight:600;
  color:#3b2a24;
}

/* links */
.mjs-search-overlay a{ text-decoration:none; color:inherit; }
/* FIX: make search icon clickable */
.header_search,
.header_search *{
  pointer-events: auto !important;
}

.header_search .search_toggle{
  position: relative !important;
  z-index: 999999 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  cursor: pointer !important;
}
/* BIG + LIGHT search input (overlay + /search page) */
.mjs-search-overlay__input,
form.search_form input[name="q"],
form.search_form input[type="text"],
form.search_form input[type="search"]{
  font-size: 20px !important;
  line-height: 1.2 !important;
  padding: 18px 20px !important;
  height: 56px !important;
  border-radius: 16px !important;

  background: #ffffff !important;
  color: #3b2a24 !important;
  border: 1px solid rgba(59,42,36,.22) !important;
  -webkit-text-fill-color: #3b2a24 !important; /* Safari/Chrome auto styles */
  caret-color: #3b2a24 !important;
}

.mjs-search-overlay__input::placeholder,
form.search_form input[name="q"]::placeholder{
  color: rgba(59,42,36,.45) !important;
}

/* если тема красит кнопку/иконку рядом */
form.search_form button,
form.search_form button svg,
form.search_form button svg path{
  color: #3b2a24 !important;
  fill: #3b2a24 !important;
}
/* STRONGER but premium search icon */
.header_search .search_toggle,
.header_search .search_toggle * ,
.header_search .fa-search{
  color: #3b2a24 !important;
  opacity: 1 !important;
}

.header_search .search_toggle{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(59,42,36,.22) !important;
  background: rgba(255,255,255,.35) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.08) !important;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease !important;
}

.header_search .search_toggle:hover{
  background: rgba(255,255,255,.70) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.12) !important;
  transform: translateY(-1px) !important;
}
/* FORCE search icon visible (desktop + mobile) */
.header_search .search_toggle{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 10px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.55) !important;
  border: 1px solid rgba(59,42,36,.22) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.10) !important;
}

.header_search .search_toggle .fa-search{
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #3b2a24 !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

/* if theme hides it on mobile */
@media (max-width: 768px){
  .header_search,
  .header_search .search_toggle,
  .header_search .search_toggle .fa-search{
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
/* FINAL: visible search button (desktop+mobile) */
.header_search .search_toggle{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.70) !important;
  border: 1px solid rgba(59,42,36,.28) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.12) !important;
}

.header_search .search_toggle i.fa-search{
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #3b2a24 !important;
  font-size: 18px !important;
}

/* убираем слово Search на мобилке, оставляем только иконку (чтобы было чище) */
@media (max-width: 768px){
  .header_search .search_toggle b{ display:none !important; }
}
/* MJS: clean, visible search icon */
.header_search .search_toggle{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  padding:8px 12px !important;
  border-radius:999px !important;
  background: rgba(255,255,255,.35) !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.10) !important;
}

.header_search .search_toggle i.fa-search{
  font-size:18px !important;   /* НЕ огромная */
  color:#ffffff !important;     /* заметно на розовом фоне */
  opacity:1 !important;
  visibility:visible !important;
}

/* hover/active */
.header_search .search_toggle:hover{
  background: rgba(255,255,255,.55) !important;
}

/* mobile: keep icon, hide text */
@media (max-width:768px){
  .header_search .search_toggle b{ display:none !important; }
  .header_search .search_toggle{ padding:10px 10px !important; }
}
/* === MJS: reset search icon (small, dark, no floating circle) === */
#page_header .header_search .search_toggle{
  position: static !important;     /* убираем улёт */
  top: auto !important;
  right: auto !important;
  left: auto !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  height: auto !important;
  padding: 0 !important;

  background: transparent !important;  /* без круга */
  border: 0 !important;
  box-shadow: none !important;
}

#page_header .header_search .search_toggle i.fa-search{
  font-size: 16px !important;      /* небольшой размер */
  color: #3b2a24 !important;       /* тёмная */
}
/* === MJS search icon – refined luxury style === */
#page_header .header_search .search_toggle i.fa-search{
  font-size: 16px !important;
  color: rgba(90, 65, 55, 0.85) !important; /* тёплый шоколад */
  transition: color .25s ease, transform .25s ease;
}

#page_header .header_search .search_toggle:hover i.fa-search{
  color: #3b2a24 !important;        /* глубже при ховере */
  transform: scale(1.08);           /* микро-акцент */
}
/* MJS: show existing search on mobile without touching layout */
@media (max-width: 768px){
  #page_header .header_search{ 
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  #page_header .header_search .search_toggle{
    display: inline-flex !important;
    position: static !important;
  }
}
/* MOBILE: force-search icon visible (no layout changes) */
@media (max-width: 1024px){
  #page_header .header_search,
  #page_header .header_search .search_toggle{
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #page_header .header_search .search_toggle{
    position: relative !important;
    z-index: 9999 !important;
    background: rgba(255,255,255,.25) !important; /* чтобы точно было видно */
    border-radius: 999px !important;
    padding: 8px 10px !important;
  }

  #page_header .header_search .search_toggle i.fa-search,
  #page_header .header_search .search_toggle i.fa-search:before{
    color: #2b1f1a !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 20px !important;
  }
}
/* MOBILE — make search icon visible (color only, safe) */
@media (max-width: 1024px){
  #page_header .header_search .search_toggle i.fa-search,
  #page_header .header_search .search_toggle i.fa-search:before{
    color: #ffffff !important;        /* белая */
    text-shadow: 0 1px 2px rgba(0,0,0,.35) !important; /* лёгкий контраст */
  }
}
/* MJS: mobile bring back search icon safely */
@media (max-width: 768px){
  .top_panel_menu{ display:flex !important; align-items:center !important; }

  /* ключевое: у тебя на мобиле header_search = 0px height */
  .header_search{
    display:block !important;
    height:auto !important;
    width:auto !important;
    overflow:visible !important;
    margin-left: 6px !important;
  }

  .header_search .search_toggle{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    position:relative !important;
    z-index:5 !important;
  }

  .header_search .search_toggle i.fa-search{
    display:inline-block !important;
    opacity:1 !important;
    visibility:visible !important;
  }
}
/* MJS: вернуть поиск на мобиле, не трогая десктоп */
@media (max-width: 767px){
  #page_header .header_search{
    display: flex !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #page_header .header_search .search_toggle{
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* если тема прячет саму форму */
  #page_header .header_search .search_form{
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
}
/* MJS: FIX mobile search zoom + horizontal gap */
@media (max-width: 767px){
  html, body{ overflow-x: hidden !important; width: 100% !important; }
  body{ -webkit-text-size-adjust: 100% !important; }

  /* iOS/Android zoom on focus happens when font-size < 16px */
  #page_header .search_form input[type="search"],
  #page_header form[action*="/search"] input[type="search"],
  #page_header input[name="q"]{
    font-size: 16px !important;
    line-height: 1.2 !important;
  }
}
/* MOBILE: убираем тёмную левую полосу, делаем нормальный fullscreen-overlay */
@media (max-width: 767px){
  #megamenu_mobile_close.on{
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,.25) !important; /* можно 0 если вообще без затемнения */
    transform: none !important;
    z-index: 9998 !important;
  }

  /* само меню — выше оверлея */
  #megamenu.megamenu_mobile{
    position: relative;
    z-index: 9999 !important;
  }

  /* убираем “крестик”/иконку на самом оверлее (если рисуется псевдоэлементом) */
  #megamenu_mobile_close.on::before,
  #megamenu_mobile_close.on::after{
    content: none !important;
    display: none !important;
  }
}
/* FIX: overlay не должен перекрывать клики по мобильному меню */
@media (max-width: 767px){

  /* само меню поверх всего */
  #megamenu.megamenu_mobile{
    position: relative !important;
    z-index: 9999 !important;
  }

  /* оверлей под меню (но над страницей) */
  #megamenu_mobile_close.on{
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998 !important;
  }

  /* ВАЖНО: внутри nav оверлей часто перекрывает пункты — опускаем его в слое nav */
  #megamenu.megamenu_mobile #megamenu_mobile_close.on{
    z-index: 0 !important;
  }

  /* а список меню поднимаем над ним */
  #megamenu.megamenu_mobile #megamenu_level_1{
    position: relative !important;
    z-index: 2 !important;
  }
}
/* Убираем вкладки All / Blog / Pages на странице поиска */
.template-search .button_filters {
  display: none !important;
}
/* Search page (templates/search.liquid) — ровная лупа справа в поле */
.template_search .search_form{
  position: relative;
  max-width: 980px;   /* можно убрать, если не надо ограничение */
  margin: 0 auto;
}

.template_search .search_form input[type="text"],
.template_search .search_form input[name="q"]{
  width: 100%;
  padding-right: 64px; /* место под кнопку */
  box-sizing: border-box;
}

.template_search .search_form button[type="submit"]{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.template_search .search_form button[type="submit"] i{
  margin: 0;
  line-height: 1;
}
/* Product page: аккуратная галерея с миниатюрами */
.single_product__img { display:flex; gap:18px; align-items:flex-start; }

/* колонка миниатюр */
.gallery_thumbs { width:110px; flex:0 0 110px; }
.gallery_thumbs .swiper-slide { height:auto !important; margin-bottom:10px !important; }
.gallery_thumbs img { width:100%; height:auto; display:block; }

/* большая картинка */
.gallery_big { flex:1 1 auto; }
.gallery_big img { width:100%; height:auto; display:block; object-fit:contain; }

/* на мобиле миниатюры вниз */
@media (max-width: 768px){
  .single_product__img{ flex-direction:column; }
  .gallery_thumbs{ width:100%; flex:0 0 auto; }
}
document.addEventListener('click', function (e) {
  const slide = e.target.closest('#gallery_thumbs-template-product .swiper-slide');
  if (!slide) return;

  const thumbs = document.querySelector('#gallery_thumbs-template-product');
  const big = document.querySelector('#gallery_big-template-product');
  if (!thumbs || !big) return;

  const slides = Array.from(thumbs.querySelectorAll('.swiper-slide'));
  const idx = slides.indexOf(slide);
  if (idx < 0) return;

  if (big.swiper && typeof big.swiper.slideTo === 'function') {
    big.swiper.slideTo(idx);
    return;
  }

  const next = document.querySelector('#next_template-product');
  if (next) for (let i = 0; i < idx; i++) next.click();
});
/* THUMBS: показать все 2–4 миниатюры полностью */
#gallery_thumbs-template-product{
  height: auto !important;
  overflow: visible !important;
}

#gallery_thumbs-template-product .swiper-wrapper{
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

#gallery_thumbs-template-product .swiper-slide{
  height: auto !important;
  margin: 0 !important;
}

/* Убираем принудительное отбеливание логотипа */
.header__logo img,
.site-header__logo img,
.header-logo img {
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
}
/* Убираем инверсию логотипа в header */
.header_wrap1.inverted .header_logo img {
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
}
.header_wrap1.inverted .header_logo img {
  mix-blend-mode: normal !important;
}
/* Полностью отключаем режим inverted для шапки */
.header_wrap1.inverted {
  filter: none !important;
  -webkit-filter: none !important;
}

.header_wrap1.inverted * {
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
}
/* Корзина: скрыть колонку "Итого" (и шапку, и значения) */
.template_cart .cart_items th.column_total,
.template_cart .cart_items td.column_total{
  display: none !important;
}
.template_cart .cart_items td.column_quantity{
  text-align: right;
  white-space: nowrap;
}
/* Корзина: скрыть "Тип товара" и "Поставщик" */
.template_cart .cart_items .product-type,
.template_cart .cart_items .vendor,
.template_cart .cart_items p:has(strong:contains("Тип товара")),
.template_cart .cart_items p:has(strong:contains("Поставщик")){
  display: none !important;
}
/* MJS — Product gallery mobile: full-width slider + no thumbs */
@media (max-width: 768px){

  /* hide vertical thumbs on mobile */
  #gallery_thumbs-template-product,
  .gallery_thumbs{
    display: none !important;
  }

  /* make image column full width */
  .single_product__img{
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* remove extra paddings/margins around gallery */
  #gallery_big-template-product,
  .gallery_big{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* make the image fill the screen width nicely */
  #gallery_big-template-product img,
  .gallery_big img{
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* optional: keep things from “jumping” */
  #gallery_big-template-product .swiper-wrapper{
    align-items: center;
  }
}
@media (max-width: 768px){

  /* space between image and title */
  .single_product__img{ margin-bottom: 14px !important; }

  /* center pagination dots */
  #gallery_big-template-product .swiper-pagination,
  .gallery_big .swiper-pagination{
    position: relative !important;
    bottom: 0 !important;
    margin-top: 10px !important;
    text-align: center !important;
    width: 100% !important;
  }

  /* dot size */
  #gallery_big-template-product .swiper-pagination-bullet,
  .gallery_big .swiper-pagination-bullet{
    width: 6px !important;
    height: 6px !important;
    opacity: .25 !important;
    margin: 0 5px !important;
  }

  /* active dot */
  #gallery_big-template-product .swiper-pagination-bullet-active,
  .gallery_big .swiper-pagination-bullet-active{
    opacity: 1 !important;
  }

  /* arrows: make visible and centered vertically */
  #gallery_big-template-product .swiper-button-prev,
  #gallery_big-template-product .swiper-button-next,
  .gallery_big .swiper-button-prev,
  .gallery_big .swiper-button-next{
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    opacity: .85 !important;
  }
}
/* Footer Blog & About links */
.mjs-contact_item a {
  font-weight: 700;          /* жирный */
  font-size: 15px;           /* немного крупнее */
  display: inline-block;
  margin-top: 6px;
  text-decoration: none;
}

.mjs-contact_item a:hover {
  text-decoration: underline;
}
/* Выравниваем ссылки Blog / About как остальные пункты */
.mjs-contact_item a {
  font-weight: 600;
  display: inline-block;
}

/* Добавляем отступ слева, как будто есть иконка */
.mjs-contact_item a[href*="blogs"],
.mjs-contact_item a[href*="about"] {
  margin-left: 28px;
}
/* Tablet: reorder contact items */
@media (min-width: 768px) and (max-width: 1024px) {
  .mjs-contact {
    display: flex;
    flex-direction: column;
  }

  /* базовый порядок всем */
  .mjs-contact_item { order: 10; }

  /* email вниз */
  .mjs-contact_item:has(a[href^="mailto:"]) { order: 50; }

  /* phone после email (если хочешь) */
  .mjs-contact_item:has(a[href^="tel:"]) { order: 40; }

  /* доставка выше */
  .mjs-contact_item:has(span):has(svg) { order: 30; }
}
@media (min-width: 768px) and (max-width: 1024px) {

  .mjs-footer_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }

  /* Разрешаем колонкам сжиматься */
  .mjs-footer_grid > div {
    min-width: 0;
  }

  /* КРИТИЧНО — чтобы текст не ломал grid */
  .mjs-contact_link,
  .mjs-contact_item span {
    word-break: break-word;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {

  .mjs-footer_grid {
    display: flex;
    flex-wrap: wrap;
  }

  .mjs-col-about {
    width: 50%;
  }

  .mjs-col-contact {
    width: 50%;
  }

  .mjs-col-policy {
    width: 100%;
    margin-top: 30px;
  }
}
/* Идеальное выравнивание иконок в Contact */
.mjs-contact_item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mjs-contact_item .mjs-icon {
  width: 22px;
  min-width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mjs-contact_item svg {
  width: 18px;
  height: 18px;
}
/* Полный контроль выравнивания Contact */
.mjs-contact {
  display: block !important;
}

.mjs-contact_item {
  display: flex !important;
  align-items: center !important;
}

.mjs-contact_item .mjs-icon {
  width: 30px !important;
  min-width: 30px !important;
  display: flex !important;
  justify-content: center !important;
}

.mjs-contact_item svg {
  width: 18px !important;
  height: 18px !important;
}

.mjs-contact_link {
  margin-left: 0 !important;
}
/* DESKTOP: 3 колонки в выпадающем меню "Shop" */
@media (min-width: 992px) {
  #megamenu .level_3 {
    column-count: 3;
    column-gap: 48px;
  }

  #megamenu .level_3 > li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 10px 0;
  }

  /* чтобы ссылки были блоками и нормально кликались */
  #megamenu .level_3 .level_3_link {
    display: inline-block;
    width: 100%;
  }
}
/* CART: bigger header fonts (Товар / Цена / Количество) */
.template_cart .cart_items thead th,
.color_scheme .template_cart .cart_items thead th {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (max-width: 991px) {
  .template_cart .cart_items thead th,
  .color_scheme .template_cart .cart_items thead th {
    font-size: 16px;
  }
}
/* FIX: long button labels (LV/DE) */
.product_links .btn-cta{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;                 /* расстояние между иконкой и текстом */
  padding: 10px 12px;       /* чуть компактнее */
  height: auto;             /* убираем жёсткую высоту */
  min-height: 42px;         /* аккуратная базовая высота */
}

.product_links .btn-cta span{
  display: block;
  max-width: 100%;
  white-space: normal;      /* ВАЖНО: разрешаем перенос */
  word-break: break-word;
  text-align: center;
  line-height: 1.15;
}

/* на мобильном ещё чуть меньше шрифт, чтобы влезало красиво */
@media (max-width: 991px){
  .product_links .btn-cta{ padding: 9px 10px; }
  .product_links .btn-cta span{ font-size: 12px; }
}
/* Button text — slightly smaller + more air */
.product_links .btn-cta span{
  font-size: 13px;          /* было крупнее */
  letter-spacing: 0.02em;   /* убираем излишнюю разрядку */
  padding: 0 4px;           /* небольшой внутренний отступ по бокам */
  line-height: 1.2;
}

/* если нужно ещё аккуратнее на мобиле */
@media (max-width: 991px){
  .product_links .btn-cta span{
    font-size: 12px;
  }
}
/* Cart icon spacing */
.product_links .btn-cta i.fa-shopping-cart{
  margin-right: 6px;   /* отлепляем от края текста */
  margin-left: 2px;    /* чуть отступ от левого края кнопки */
  font-size: 13px;     /* можно слегка уменьшить, чтобы было аккуратнее */
}
.product_links .btn-cta{
  padding-left: 16px;
  padding-right: 16px;
}
/* FIX: отлепить иконку корзины от левого края */
.product_links .btn-cta{
  padding-left: 16px !important;   /* воздух слева внутри кнопки */
  padding-right: 16px !important;
}

.product_links .btn-cta i.fa-shopping-cart{
  position: static !important;     /* если тема делала absolute/relative — отменяем */
  margin-left: 0 !important;
  margin-right: 8px !important;    /* отступ от текста */
  padding-left: 0 !important;
}
.product_links .btn-cta:before{
  margin-right: 8px !important;
}
/* FIX: cart icon too close to left edge (LV/DE buttons) */
body .product_links form.add_to_cart_form button.btn-cta{
  padding-left: 22px !important;  /* ключевое: воздух слева */
  padding-right: 16px !important;
}

body .product_links form.add_to_cart_form button.btn-cta > i.fa-shopping-cart{
  position: static !important;
  left: auto !important;
  transform: none !important;
  margin: 0 10px 0 0 !important;  /* отступ от текста */
}
body .product_links form.add_to_cart_form button.btn-cta{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}
/* Remove cart icon from product buttons */
.product_links .btn-cta i.fa-shopping-cart{
  display: none !important;
}
/* Wishlist button bigger */
.product_links .wishlist_btn{
  font-size: 18px !important;   /* увеличиваем иконку */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 8px;
}

.product_links .wishlist_btn i{
  font-size: 18px !important;
}
/* Quick view (лупа) bigger */
.product_links .quick_view_btn{
  font-size: 18px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 8px;
}

.product_links .quick_view_btn i{
  font-size: 18px !important;
}
/* Wishlist + Quick view icons unified */
.product_links .wishlist_btn,
.product_links .quick_view_btn{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.product_links .wishlist_btn i,
.product_links .quick_view_btn i{
  font-size: 18px !important;
}
.product_links .wishlist_btn:hover,
.product_links .quick_view_btn:hover{
  transform: scale(1.15);
  transition: 0.2s ease;
}
/* COLLECTION BANNERS – move title below image */

.section_gallery .gallery_item{
  display: flex;
  flex-direction: column;
}

.section_gallery .item_caption{
  position: static !important;   /* убираем overlay */
  background: none !important;
  transform: none !important;
  opacity: 1 !important;
  padding: 12px 0 0;
  text-align: center;
}

.section_gallery .caption_text{
  background: none !important;
}

.section_gallery .caption_text h4{
  color: #000000;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* COLLECTION BANNERS: move title under image (override theme style_3) */
.section_gallery .style_3 .gallery_item{
  display: flex !important;
  flex-direction: column !important;
}

.section_gallery .style_3 .gallery_item .img_placeholder_wrap{
  order: 1 !important;
}

.section_gallery .style_3 .gallery_item a.item_caption{
  order: 2 !important;

  position: relative !important;   /* вместо absolute */
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  inset: auto !important;

  width: 100% !important;
  height: auto !important;

  background: transparent !important;
  transform: none !important;
  opacity: 1 !important;

  padding: 12px 0 0 !important;
  text-align: center !important;
  box-shadow: none !important;
  border: none !important;
}

.section_gallery .style_3 .gallery_item a.item_caption .caption_text{
  padding: 0 !important;
  background: transparent !important;
}

.section_gallery .style_3 .gallery_item a.item_caption .caption_text h4{
  color: #000000 !important;
  font-size: 16px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}
.section_gallery .style_3 .gallery_item{ height: auto !important; overflow: visible !important; }
/* COLLECTION BANNERS: make caption readable (premium pill) */
.section_gallery .style_3 .gallery_item{
  position: relative !important;
}

.section_gallery .style_3 .gallery_item a.item_caption{
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 14px !important;
  top: auto !important;
  height: auto !important;

  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;

  padding: 0 12px !important;
  background: none !important;
  transform: none !important;
  opacity: 1 !important;
}

.section_gallery .style_3 .gallery_item a.item_caption .caption_text{
  background: rgba(255, 255, 255, 0.72) !important; /* читабельно на любом фото */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  padding: 10px 16px !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.10) !important;
}

.section_gallery .style_3 .gallery_item a.item_caption .caption_text h4{
  margin: 0 !important;
  color: #000000 !important;
  font-size: 14px !important;
  letter-spacing: .10em !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
}

/* Mobile tuning */
@media (max-width: 991px){
  .section_gallery .style_3 .gallery_item a.item_caption{ bottom: 10px !important; }
  .section_gallery .style_3 .gallery_item a.item_caption .caption_text{ padding: 8px 12px !important; }
  .section_gallery .style_3 .gallery_item a.item_caption .caption_text h4{ font-size: 12px !important; }
}
/* COLLECTION BANNERS (desktop/tablet): slimmer caption pill */
@media (min-width: 768px){

  /* поднимаем подпись ближе к низу и делаем компактнее */
  .section_gallery .style_3 .gallery_item a.item_caption{
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    padding: 0 !important;
    height: auto !important;
    background: none !important;
    display: flex !important;
    justify-content: center !important;
  }

  /* сама “плашка” — меньше и легче */
  .section_gallery .style_3 .gallery_item a.item_caption .caption_text{
    background: rgba(255,255,255,.55) !important;  /* легче */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 8px 18px !important;                 /* ниже по высоте */
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.08) !important;
    max-width: 72% !important;                    /* не перекрывает весь кадр */
  }

  .section_gallery .style_3 .gallery_item a.item_caption .caption_text h4{
    font-size: 13px !important;
    letter-spacing: .12em !important;
    line-height: 1 !important;
    margin: 0 !important;
    opacity: .95;
  }

  /* на hover чуть “читабельнее”, но не тяжело */
  .section_gallery .style_3 .gallery_item:hover a.item_caption .caption_text{
    background: rgba(255,255,255,.72) !important;
  }
}

/* Extra: на очень широких экранах чуть уже */
@media (min-width: 1200px){
  .section_gallery .style_3 .gallery_item a.item_caption .caption_text{
    max-width: 60% !important;
  }
}
/* Увеличить иконки соцсетей */
.mjs-social svg {
  width: 50px;
  height: 50px;
}

/* Немного больше расстояние между ними */
.mjs-social {
  gap: 18px;
}
/* Featured products: 5 карточек в ряд на десктопе + ширина секции = ширине сайта */
@media (min-width: 1200px) {
  /* если секция реально уже контейнера — растянем контейнер внутри секции */
  #shopify-section-index_featured_products_HBLUp3 .container {
    max-width: 100%;
    width: 100%;
  }

  /* 5 в ряд вместо 4 */
  #shopify-section-index_featured_products_HBLUp3 .product_listing_main .col-xs-3 {
    width: 20% !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  /* на “маленьком десктопе” можно оставить 4 в ряд, чтобы не было тесно */
  #shopify-section-index_featured_products_HBLUp3 .product_listing_main .col-xs-3 {
    width: 25% !important;
  }
}
@media (min-width: 1200px) {
  #shopify-section-index_featured_products_HBLUp3 .container {
    max-width: 100%;
    width: 100%;
  }

  #shopify-section-index_featured_products_HBLUp3 .product_listing_main {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px; /* можешь уменьшить/увеличить */
  }

  /* колонки темы больше не нужны как колонки */
  #shopify-section-index_featured_products_HBLUp3 .product_listing_main .col-xs-3 {
    width: auto !important;
    float: none !important;
  }
}
/* 5 карточек в ряд на десктопе (универсально) */
@media (min-width: 1024px) {

  /* Ряд с карточками делаем flex */
  .product_listing_main{
    display: flex !important;
    flex-wrap: wrap !important;
  }

  /* Любой прямой "столбец" внутри ряда = 20% */
  .product_listing_main > div{
    width: 20% !important;
    max-width: 20% !important;
    flex: 0 0 20% !important;
  }

  /* Если тема добавляет clearfix/after — не мешаем */
  .product_listing_main::before,
  .product_listing_main::after{
    content: none !important;
  }
}
/* Растянуть именно секцию "featured products" до ширины сайта/экрана */
@media (min-width: 1200px) {
  #shopify-section-index_featured_products_HBLUp3 .container{
    max-width: 1400px !important;   /* попробуй 1400 / 1600 */
    width: 100% !important;
  }
}
/* Увеличить именно значок корзины */
#main_cart_item .cart_link i.fa-shopping-bag{
  font-size: 22px !important; /* подберите 18–28 */
  line-height: 1 !important;
  display: inline-block;
  vertical-align: middle;
}
#main_cart_item .header_cart b{
  font-size: 16px !important;
}
#main_cart_item .cart_link i.fa-shopping-bag{
  font-size: 22px !important;
}
/* Увеличиваем значок корзины (Font Awesome) */
#main_cart_item a.cart_link i.fa-shopping-bag{
  font-size: 22px !important;  /* подберите 18–28 */
  line-height: 1 !important;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}
#main_cart_item a.cart_link b{
  font-size: 14px !important;  /* было ~12px */
  line-height: 1.2 !important;
}
#main_cart_item a.cart_link i.fa-shopping-bag{
  font-size: 22px !important;
  line-height: 1 !important;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}
#page_header .top_panel {
  background: #FBEDF2 !important;
}
.top_panel.inverted[style] {
  background: #FBEDF2 !important;
}
#shopify-section-header .top_panel {
  background: #FBEDF2 !important;
}
.top_panel.inverted {
  background: #FBEDF2 !important;
  background-color: #FBEDF2 !important;
}
.header_account i {
  font-weight: 400 !important;
}
.top_panel_menu a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top_panel_menu a svg{
  display: block;
}
.header_wishlist a{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
}
.header_wishlist a span{
  line-height: 1 !important;
}
.header_wishlist a svg{
  display:block;
}
#shopify-section-header .top_panel,
#shopify-section-header .top_panel a,
#shopify-section-header .top_panel svg {
  color: #5c3b31 !important;
  fill: #5c3b31 !important;
  stroke: #5c3b31 !important;
}
.top_panel.inverted,
.top_panel.inverted a,
.top_panel.inverted span,
.top_panel.inverted svg {
  color: #5c3b31 !important;
  fill: #5c3b31 !important;
  stroke: #5c3b31 !important;
}
.top_panel.inverted * {
  color: #5c3b31 !important;
}

.top_panel.inverted svg {
  stroke: #5c3b31 !important;
}
#page_header .top_panel .header_account a,
#page_header .top_panel .header_wishlist a {
    color: #3b2c28 !important;
}

#page_header .top_panel .header_account svg,
#page_header .top_panel .header_wishlist svg {
    stroke: #3b2c28 !important;
}
#shopify-section-header .top_panel.inverted .header_account svg,
#shopify-section-header .top_panel.inverted .header_wishlist svg,
#shopify-section-header .top_panel.inverted .header_account a,
#shopify-section-header .top_panel.inverted .header_wishlist a {
    color: #3b2c28 !important;
    stroke: #3b2c28 !important;
    fill: none !important;
}
/* перебиваем белилку для линий внутри SVG */
#shopify-section-header .top_panel .header_account svg *,
#shopify-section-header .top_panel .header_wishlist svg * {
  stroke: #3b2c28 !important;
  fill: none !important;
}

/* и текст рядом */
#shopify-section-header .top_panel .header_wishlist a,
#shopify-section-header .top_panel .header_account a {
  color: #3b2c28 !important;
}
#shopify-section-header .top_panel_text {
  color: #3b2c28 !important;
}
#shopify-section-header .top_panel.inverted .top_panel_text {
    color: #3b2c28 !important;
}
#shopify-section-header .top_panel.inverted .top_panel_text * {
    color: #3b2c28 !important;
}
.top_pannel_menu{
  padding-top: 6px !important;
  align-items: center;
}
/* mobile: вернуть как было */
@media (max-width: 1024px){
  .top_pannel_menu{
    padding-top: 0 !important;
  }
}

/* desktop: чуть опустить иконки/язык */
@media (min-width: 1025px){
  .top_pannel_menu{
    padding-top: 6px !important;
  }
}
@media (max-width: 1024px){
  .top_pannel .container{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }
  .top_pannel_text{
    flex: 1 1 auto !important;
    padding-right: 10px !important;
  }
  .top_pannel_menu{
    padding-top: 0 !important;
    margin-top: 0 !important;
    flex: 0 0 auto !important;
  }
}
@media (max-width: 1024px){

  .top_pannel_menu{
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .language_selector{
    display: flex !important;
    align-items: center !important;
    margin-top: 0 !important;
  }

}
@media (max-width: 1024px){

  #page_header .page_container{
    padding-top: 8px !important;
  }

}
@media (max-width: 768px){
  .top_pannel .container{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
  }

  .top_pannel_text{
    flex: 1 0 100% !important;
    order: 1 !important;
  }

  .top_pannel_menu{
    order: 2 !important;
    display:flex !important;
    align-items:center !important;
    gap: 10px !important;
  }

  .language_selector{
    order: 3 !important;
    display:flex !important;
    align-items:center !important;
    margin: 0 0 0 10px !important;
  }
}
@media (max-width: 768px){
  .top_pannel_menu{
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .language_selector{
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
  }

  .language_selector select{
    width: auto !important;
    min-width: 0 !important;
  }
}
@media (max-width: 768px){

  .top_pannel .container{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
  }

  .top_pannel_text{
    flex: 0 0 100% !important;
    order: 1 !important;
  }

  .top_pannel_menu{
    flex: 0 0 auto !important;
    width: auto !important;
    order: 2 !important;
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
  }

  .language_selector{
    flex: 0 0 auto !important;
    width: auto !important;
    order: 2 !important;
    margin-left: 10px !important;
  }

}
@media (max-width: 768px){
  .top_pannel .container{
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    align-items: center !important;
  }

  .top_pannel_text{
    grid-column: 1 / -1 !important;
  }

  .top_pannel_menu{
    grid-column: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
  }

  .language_selector{
    grid-column: 2 !important;
    margin: 0 !important;
    width: auto !important;
  }

  .language_selector select{
    width: auto !important;
  }
}
.top_pannel_text{
  white-space: nowrap !important;
  letter-spacing: .08em !important;
  font-size: 10px !important;
}
.top_pannel_text{
  white-space: nowrap !important;
  letter-spacing: .05em !important;
  font-size: 10px !important;
  font-weight: 500 !important;
}
.top_pannel_text{
  white-space: nowrap !important;
  letter-spacing: .05em !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  padding: 6px 0 !important;
}
.top_pannel_text{
  opacity: 0.85;
}
.top_pannel_text{
  white-space: nowrap !important;
  letter-spacing: .05em !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  padding: 6px 0 !important;
  color: #4b332c !important;
}
/* === MJS: Megamenu portal (меню поверх всего, без полос) === */
#mjs-mega-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2147483640;
}

#mjs-mega-wrap{
  position: fixed;
  inset: 0;
  z-index: 2147483641;
  pointer-events: none; /* клики только по панели меню */
}

#mjs-mega-panel{
  pointer-events: auto;
  position: absolute;
  top: 0;
  left: 0;
  width: min(380px, 86vw);
  height: 100vh;
  background: #fdf8f4;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#mjs-mega-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  z-index: 2147483642;
  pointer-events: auto;
}
#mjs-mega-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2147483640;
}

#mjs-mega-wrap{
  position: fixed;
  inset: 0;
  z-index: 2147483641;
}

#mjs-mega-panel{
  position: absolute;
  top: 0;
  left: 0;
  width: min(380px, 86vw);
  height: 100vh;
  overflow: visible;
}
/* overlay всегда на весь экран, без артефактов vh */
#mjs-mega-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2147483640;
}

/* используем dvh/svh вместо vh (iOS/DevTools) */
#mjs-mega-wrap{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100dvh;          /* главное */
  height: 100svh;          /* fallback для некоторых Safari */
  z-index: 2147483641;
}

/* панель меню: тоже по dvh + safe-area */
#mjs-mega-panel{
  position: absolute;
  top: 0;
  left: 0;
  width: min(380px, 86vw);

  height: 100dvh;          /* главное */
  height: 100svh;          /* fallback */

  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);

  background: #fdf8f4;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#mjs-mega-panel nav#megamenu{
  background: #fdf8f4 !important;
}
/* чтобы при overscroll/ошибке высоты не просвечивал "черный" фон */
html, body{
  background: #fdf8f4 !important;
}

/* универсальная высота: через JS-переменную (лучше чем vh/dvh на iPad mini) */
#mjs-mega-wrap{
  height: calc(var(--mjs-vh, 1vh) * 100) !important;
}

#mjs-mega-panel{
  height: calc(var(--mjs-vh, 1vh) * 100) !important;
}
#mjs-mega-panel,
#mjs-mega-panel nav#megamenu{
  background: #fdf8f4 !important;
}
/* iPad mini: убираем "полосу" — сжимаем #megamenu_mobile_close до кнопки */
#mjs-mega-panel #megamenu_mobile_close.on{
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;

  width: 44px !important;
  height: 44px !important;

  background: transparent !important;   /* убрали чёрный фон */
  box-shadow: none !important;
  border: 0 !important;

  z-index: 2147483647 !important;
}

/* на всякий случай: чтобы тема не держала у close фикс/оверлей */
#mjs-mega-panel #megamenu_mobile_close{
  max-width: 44px !important;
  max-height: 44px !important;
  overflow: hidden !important;
}
/* Всегда раскрывать Shop в мобильном мегаменю */
@media (max-width: 1024px){
  nav#megamenu.megamenu_mobile #menu_link_linklist_HdwJ4B{
    display: block !important;
  }

  /* чтобы “+” не путал (опционально): скрываем триггер у Shop */
  nav#megamenu.megamenu_mobile
  i.level_1_trigger[data-submenu="menu_link_linklist_HdwJ4B"]{
    display: none !important;
  }
}
/* Панель меню — по высоте контента, без длинного пустого поля */
#mjs-mega-panel{
  height: auto !important;
  max-height: calc(var(--mjs-vh, 1vh) * 100 - 24px) !important; /* чтобы не вылезало за экран */
  overflow: visible !important;
}

/* Сам nav (контейнер меню) — тоже по контенту */
#mjs-mega-panel nav#megamenu.megamenu_mobile{
  height: auto !important;
  max-height: calc(var(--mjs-vh, 1vh) * 100 - 24px) !important;
  overflow: auto !important;  /* если пунктов много — прокрутка внутри */
  -webkit-overflow-scrolling: touch;
}

/* Если у темы ul фиксирует высоту — снимаем */
#mjs-mega-panel #megamenu_level_1{
  height: auto !important;
}
#mjs-mega-panel nav#megamenu.megamenu_mobile{
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
/* 1) Обёртка портала всегда на весь экран, но БЕЗ фона */
#mjs-mega-wrap{
  background: transparent !important;
}

/* 2) Панель НЕ должна рисовать фон на всю высоту */
#mjs-mega-panel{
  background: transparent !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* 3) Фон/скругления/прокрутка — только у самого меню (карточки) */
#mjs-mega-panel nav#megamenu.megamenu_mobile{
  display: inline-block !important;
  background: #fdf8f4 !important;

  height: auto !important;
  max-height: calc(var(--mjs-vh, 1vh) * 100 - 24px) !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch !important;

  border-radius: 12px !important;
}

/* 4) На всякий случай: если тема тянет ul на всю высоту */
#mjs-mega-panel nav#megamenu.megamenu_mobile ul{
  height: auto !important;
  max-height: none !important;
}
/* 0) Портал: никаких фонов/высот, чтобы не рисовал “колонку” */
#mjs-mega-wrap,
#mjs-mega-panel{
  background: transparent !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

/* 1) NAV: убираем фон и принудительную “полноэкранную” высоту, если тема её задаёт */
#mjs-mega-panel nav#megamenu.megamenu_mobile{
  background: transparent !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* 2) Делаем “карточкой” именно UL первого уровня (это то, что должно быть по контенту) */
#mjs-mega-panel nav#megamenu.megamenu_mobile ul#megamenu_level_1.level_1{
  background: #fdf8f4 !important;
  border-radius: 12px !important;
  overflow: hidden !important;

  height: auto !important;
  min-height: 0 !important;
  max-height: calc(var(--mjs-vh, 1vh) * 100 - 24px) !important;

  /* если пунктов станет много — прокрутка будет внутри карточки */
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;

  /* ширина как раньше */
  width: min(380px, 86vw) !important;
}

/* 3) Крестик остаётся внутри карточки */
#mjs-mega-panel #megamenu_mobile_close.on{
  position: absolute !important;
}
#mjs-mega-wrap{ background-color: rgba(0,0,0,0) !important; }
/* Убираем белую "колонку" от портала: wrap весь экран, но прозрачный */
#mjs-mega-wrap{
  background: transparent !important;
}

/* Панель тоже прозрачная */
#mjs-mega-panel{
  background: transparent !important;
}

/* Фон/скругления только у самого nav (карточка) */
#mjs-mega-panel nav#megamenu.megamenu_mobile{
  background: #fdf8f4 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* Если тема задаёт фон ul — ок, но без высоты на весь экран */
#mjs-mega-panel nav#megamenu.megamenu_mobile ul#megamenu_level_1{
  height: auto !important;
  min-height: 0 !important;
}
/* УБРАТЬ длинное поле: nav больше не тянется на весь экран */
#mjs-mega-panel nav#megamenu.megamenu_mobile{
  background: transparent !important;
  height: -webkit-fit-content !important;
  height: fit-content !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  display: inline-block !important;
}

/* Карточка меню = UL (по контенту) */
#mjs-mega-panel nav#megamenu.megamenu_mobile > ul#megamenu_level_1{
  background: #fdf8f4 !important;
  border-radius: 12px !important;
  overflow: hidden !important;

  height: auto !important;
  min-height: 0 !important;

  /* если пунктов много — прокрутка внутри карточки */
  max-height: calc(var(--mjs-vh, 1vh) * 100 - 24px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
/* ПОРТАЛ: убираем “колонку” (панель больше не 86vw и не 100vh) */
#mjs-mega-wrap{
  background: transparent !important;
}

#mjs-mega-panel{
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;

  width: auto !important;
  height: auto !important;

  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Карточка меню — это сам nav, он и должен быть “по контенту” */
#mjs-mega-panel nav#megamenu.megamenu_mobile{
  display: inline-block !important;
  width: 380px !important;
  max-width: 86vw !important;

  background: #fdf8f4 !important;
  border-radius: 12px !important;

  height: auto !important;
  max-height: calc(var(--mjs-vh, 1vh) * 100 - 24px) !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
/* Портал не рисует фон и не ловит клики */
#mjs-mega-wrap,
#mjs-mega-panel{
  background: transparent !important;
  pointer-events: none !important;
}

/* Карточка меню ловит клики */
#mjs-mega-panel nav#megamenu.megamenu_mobile{
  pointer-events: auto !important;
}

/* На всякий случай: убираем фон у nav-родителя, если он тянется */
#mjs-mega-panel nav#megamenu{
  background: #fdf8f4 !important;
}
/* затемнение пусть рисует WRAP (тогда под карточкой не будет светлого "поля") */
#mjs-mega-overlay{
  background: transparent !important;
}

#mjs-mega-wrap{
  background: rgba(0,0,0,.55) !important;
}
/* Убираем “пустое поле” внутри меню: именно UL тянется вниз */
#mjs-mega-panel nav#megamenu.megamenu_mobile{
  background: transparent !important;   /* фон не у nav */
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 0 !important;
}

#mjs-mega-panel ul#megamenu_level_1{
  background: #fdf8f4 !important;       /* фон у карточки */
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  display: block !important;
}

/* на случай если тема делает уровень flex+100% */
#mjs-mega-panel ul#megamenu_level_1.level_1{
  flex: 0 0 auto !important;
  align-self: flex-start !important;
}
/* Центровка и опускание названия коллекции */
.section_gallery.style_3 .gallery_item {
    position: relative;
}

.section_gallery.style_3 .gallery_item .item_caption {
    position: absolute;
    bottom: 5px; /* регулируйте расстояние от нижнего края */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

.section_gallery.style_3 .gallery_item .caption_text {
    text-align: center;
}
/* Родитель */
.section_gallery.style_3 .gallery_item {
    position: relative;
}

/* Контейнер ссылки */
.section_gallery.style_3 .gallery_item .item_caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px; /* регулируйте расстояние от низа */
    display: flex;
    justify-content: center;
}

/* Сама подложка */
.section_gallery.style_3 .gallery_item .caption_text {
    margin: 0 auto !important;
    text-align: center;
}
.section_gallery.style_3 .gallery_item .item_caption {
    top: auto !important;
    bottom: 15px !important;
}
.section_gallery.style_3 .gallery_item .caption_text {
  outline: 3px solid red !important;
}
/* GALLERY: опустить плашку вниз и отцентровать (плашка + текст) */
.section_gallery.style_3 .gallery_item{
  position: relative !important;
}

/* Ссылка с плашкой */
.section_gallery.style_3 .gallery_item > a.item_caption{
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;            /* важно: убираем возможный top */
  bottom: 8px !important;          /* меняйте 8px на 0-30px */
  transform: translateX(-50%) !important;

  width: 100% !important;          /* чтобы центрировать красиво */
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Сама подложка */
.section_gallery.style_3 .gallery_item > a.item_caption .caption_text{
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin: 0 !important;
}

/* Текст внутри */
.section_gallery.style_3 .gallery_item > a.item_caption .caption_text h4{
  text-align: center !important;
  margin: 0 !important;
}
/* 1) Карточка — относительная */
.section_gallery.style_3 .gallery_item{
  position: relative !important;
}

/* 2) Ссылка-оверлей на всю карточку (убираем height:0) */
.section_gallery.style_3 .gallery_item > a.item_caption{
  position: absolute !important;
  inset: 0 !important;              /* top/right/bottom/left = 0 */
  width: 100% !important;
  height: 100% !important;

  display: flex !important;
  justify-content: center !important; /* центровка по горизонтали */
  align-items: flex-end !important;   /* прижать вниз */
  padding-bottom: 0px !important;     /* отступ от низа (меняйте) */

  transform: none !important;         /* на случай старого translate */
}

/* 3) Плашка и текст по центру */
.section_gallery.style_3 .gallery_item > a.item_caption .caption_text{
  margin: 0 !important;
  text-align: center !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.section_gallery.style_3 .gallery_item > a.item_caption .caption_text h4{
  margin: 0 !important;
  text-align: center !important;
}
/* ГАЛЕРЕЯ: прижать подпись к низу и отцентрировать (плашка + текст) */
.section_gallery.style_3 .gallery_item,
.section_gallery_4.style_3 .gallery_item{
  display: flex !important;
  flex-direction: column !important;
}

/* Картинка занимает всё место, подпись уходит вниз */
.section_gallery.style_3 .gallery_item .img_placeholder__wrap,
.section_gallery_4.style_3 .gallery_item .img_placeholder__wrap{
  flex: 1 1 auto !important;
}

/* Ссылка с подписью прижимается вниз */
.section_gallery.style_3 .gallery_item > a.item_caption,
.section_gallery_4.style_3 .gallery_item > a.item_caption{
  margin-top: auto !important;        /* ключевое */
  display: flex !important;
  justify-content: center !important; /* центр по горизонтали */
  padding-bottom: 0px !important;     /* отступ от низа — меняйте */
  height: auto !important;
}

/* Подложка + текст по центру */
.section_gallery.style_3 .gallery_item .caption_text,
.section_gallery_4.style_3 .gallery_item .caption_text{
  text-align: center !important;
  margin: 0 !important;
}

.section_gallery.style_3 .gallery_item .caption_text h4,
.section_gallery_4.style_3 .gallery_item .caption_text h4{
  margin: 0 !important;
  text-align: center !important;
}
/* 1) Featured products — full width */
#shopify-section-index_featured_products_HBLUp3 .container{
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* 2) 5 товаров в ряд на десктопе */
@media (min-width: 992px){
  #shopify-section-index_featured_products_HBLUp3 .row.product_listing_main > [class*="col-"]{
    width: 20% !important;   /* вместо 25% у col-xs-3 */
    float: left;
  }
  #shopify-section-index_featured_products_HBLUp3 .row.product_listing_main > [class*="col-"]:nth-child(5n+1){
    clear: left;             /* перенос строки каждые 5 */
  }
}

/* (опционально) чуть воздуха по краям, если нужно */
@media (min-width: 992px){
  #shopify-section-index_featured_products_HBLUp3{
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* Featured products: 5 в ряд (исправляем bootstrap padding/gutters) */
@media (min-width: 992px){

  /* убираем стандартные "усы" у .row */
  #shopify-section-index_featured_products_HBLUp3 .row.product_listing_main{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* делаем 5 колонок и чтобы padding не ломал ширину */
  #shopify-section-index_featured_products_HBLUp3 .row.product_listing_main > .col-xs-3{
    width: 20% !important;
    float: left !important;
    clear: none !important;

    box-sizing: border-box !important;   /* ключевое */
    padding-left: 10px !important;       /* можно 0 / 8 / 10 */
    padding-right: 10px !important;
  }

  /* перенос строки каждые 5 */
  #shopify-section-index_featured_products_HBLUp3 .row.product_listing_main > .col-xs-3:nth-child(5n+1){
    clear: left !important;
  }
}
@media (min-width: 992px){
  #shopify-section-index_featured_products_HBLUp3 .product_item{
    min-width: 0 !important;
  }
  #shopify-section-index_featured_products_HBLUp3 img{
    max-width: 100% !important;
    height: auto !important;
  }
}
/* Делаем сайт full width */
.page_container {
  max-width: 100% !important;
  width: 100% !important;
}

.container {
  max-width: 100% !important;
}
.container.header_main_wrap{
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 60px;
  padding-right: 60px;
}
.container.header_main_wrap{
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 60px;
  padding-right: 60px;
  display: flex;
  align-items: center;
}

.header_wrap2.header_left{
  flex: 1;
}

.header_wrap2.header_center{
  flex: 1;
  text-align: center;
}

.header_wrap2.header_right{
  flex: 1;
  text-align: right;
}
@media (min-width: 1600px){
  #shopify-section-index_featured_products_HBLUp3 .product_listing__main{
    display: flex;
    flex-wrap: wrap;
  }

  #shopify-section-index_featured_products_HBLUp3 .product_listing__main > [class*="col-"]{
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 1600px){
  /* расширяем контейнер именно в featured products */
  #shopify-section-index_featured_products_HBLUp3 > .container{
    max-width: 100% !important;
    width: 100% !important;
  }

  /* 5 товаров в ряд: перебиваем bootstrap float/width */
  #shopify-section-index_featured_products_HBLUp3 .product_listing__main{
    display: flex !important;
    flex-wrap: wrap !important;
  }

  #shopify-section-index_featured_products_HBLUp3 .product_listing__main > .col-xs-3{
    float: none !important;
    width: 20% !important;
  }
}
@media (min-width: 1600px){
  #shopify-section-index_featured_products_HBLUp3 .product_listing__main > .item_4_1{
    width: 20% !important;
  }
}
@media (min-width: 1600px){

  #shopify-section-index_featured_products_HBLUp3 > .container{
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 60px;
    padding-right: 60px;
  }

  #shopify-section-index_featured_products_HBLUp3 .product_listing__main > .col-xs-3{
    float: none !important;
    width: 20% !important;
  }

}
@media (min-width: 1600px){

  #shopify-section-index_featured_products_HBLUp3 .product_listing__main > .col-xs-3{
    float: none !important;
    width: 20% !important;

    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

}
/* На обычных экранах: максимум 8 товаров (2 ряда), если в админке стоит 12 */
@media (min-width: 992px) and (max-width: 1599px){
  #shopify-section-index_featured_products_HBLUp3 .row.product_listing__main > [class*="col-"]:nth-child(n+9){
    display: none !important;
  }
}
/* Планшеты: максимум 8 товаров (2 ряда), скрываем 9+ */
@media (min-width: 768px) and (max-width: 991px){
  #shopify-section-index_featured_products_HBLUp3 .row.product_listing__main > [class*="col-"]:nth-child(n+9){
    display: none !important;
  }
}
/* iPad/планшеты: дать воздуха по бокам в Featured products */
@media (min-width: 768px) and (max-width: 991px){
  #shopify-section-index_featured_products_HBLUp3 > .container{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
/* Увеличиваем верхнюю панель на больших мониторах */
@media (min-width: 1600px){

  .top_panel{
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .top_panel_text{
    font-size: 14px !important;
    letter-spacing: 0.08em !important;
  }

  .top_panel_menu a,
  .top_panel_menu span{
    font-size: 14px !important;
  }

  .top_panel_menu svg{
    width: 20px !important;
    height: 20px !important;
  }

  .language_selector select{
    font-size: 14px !important;
    padding: 6px 12px !important;
  }
}
/* BIG SCREENS: bigger top bar text + icons (40+) */
@media (min-width: 1600px){
  #page_header .top_panel,
  #page_header .top_panel.inverted{
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  #page_header .top_panel_text{
    font-size: 16px !important;
    line-height: 1.3 !important;
    letter-spacing: .08em !important;
  }

  #page_header .top_panel_menu a,
  #page_header .top_panel_menu span{
    font-size: 16px !important;
  }

  #page_header .top_panel_menu svg{
    width: 22px !important;
    height: 22px !important;
  }

  #page_header .language_selector select,
  #page_header select{
    font-size: 16px !important;
    padding: 8px 14px !important;
  }
}
/* Увеличить верхнюю полосу на больших мониторах */
@media (min-width: 1440px) {

  .top_pannel {
    padding: 14px 0 !important;   /* увеличиваем высоту */
  }

  .top_pannel_text {
    font-size: 13px !important;   /* делаем текст чуть крупнее */
    line-height: 1.4 !important;
  }

  .top_pannel_menu svg {
    width: 20px !important;       /* немного увеличим иконки */
    height: 20px !important;
  }

}
@media (min-width: 1440px) {

  .top_pannel_text {
    font-weight: 700 !important;   /* жирный */
  }

}
.top_pannel_text {
  font-weight: 700 !important;
  letter-spacing: 0.5px; /* чуть лучше читается */
}
/* ==== МОДАЛЬНОЕ ОКНО ПОИСКА вместо fullscreen ==== */

/* затемнение фона */
.mjs-search-open::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
}

/* главный контейнер результатов (если он есть) */
.mjs-search-open #search_result_container{
  position: fixed !important;
  top: 110px;                 /* под шапкой */
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 92vw);
  max-height: min(70vh, 700px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  z-index: 9999;
  padding: 18px;
}

/* если твой инпут находится вне #search_result_container, но внутри формы */
.mjs-search-open form.search_form{
  position: fixed !important;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 92vw);
  z-index: 10000;
}

/* подгон для поля */
.mjs-search-open form.search_form input[type="search"],
.mjs-search-open form.search_form input[type="text"]{
  width: 100% !important;
}

/* на мобилке ниже */
@media (max-width: 768px){
  .mjs-search-open #search_result_container{
    top: 90px;
    width: 94vw;
    max-height: 72vh;
    border-radius: 14px;
  }
  .mjs-search-open form.search_form{
    top: 50px;
    width: 94vw;
  }
}
/* делаем поиск модалкой по центру */
.mjs-search-overlay.is-open{
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 90px 20px; /* отступы от краёв/шапки */
}

.mjs-search-overlay.is-open .mjs-search-overlay__inner{
  width: min(980px, 92vw);
  max-height: 70vh;
  overflow: auto;
  border-radius: 16px;
}
/* затемнение фона */
.mjs-search-overlay.is-open{
  background: rgba(0,0,0,.35) !important;
}

/* делаем именно ВНУТРЕННИЙ блок “окном”, а не на всю высоту */
.mjs-search-overlay.is-open .mjs-search-overlay__inner{
  height: auto !important;
  min-height: 0 !important;
  max-height: 70vh !important;

  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

/* иногда контент внутри тоже растягивает окно */
.mjs-search-overlay.is-open .mjs-search-overlay__grid{
  height: auto !important;
  max-height: calc(70vh - 120px) !important; /* под инпут + заголовок */
  overflow: auto !important;
}
/* FIX: вернуть нормальный мобильный хедер */
@media (max-width: 991px){

  /* убираем десктопный flex/паддинги, которые ломают мобилку */
  #page_header .container.header_main_wrap{
    display: block !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  #page_header .header_wrap2.header_left,
  #page_header .header_wrap2.header_center,
  #page_header .header_wrap2.header_right{
    flex: none !important;
    text-align: initial !important;
  }

  /* чтобы корзина/текст не переносились и не раздували шапку */
  #page_header .header_cart,
  #page_header .header_cart *{
    white-space: nowrap !important;
  }

  /* верхняя полоска (free shipping) чуть компактнее */
  #page_header .top_panel{
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
  #page_header .top_panel_text{
    font-size: 11px !important;
    letter-spacing: .06em !important;
  }
}
/* MOBILE HEADER: logo center, cart right */
@media (max-width: 767px){

  /* шапка в 3 колонки */
  #page_header .container.header_main_wrap{
    display: grid !important;
    grid-template-columns: 44px 1fr auto !important; /* burger | logo | cart */
    align-items: center !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    column-gap: 10px !important;
  }

  /* левый блок = бургер */
  #page_header .header_wrap2.header_left{
    order: 1 !important;
    text-align: left !important;
  }

  /* центр = лого */
  #page_header .header_wrap2.header_center{
    order: 2 !important;
    text-align: center !important;
    justify-self: center !important;
  }

  /* правый = корзина/иконки */
  #page_header .header_wrap2.header_right{
    order: 3 !important;
    text-align: right !important;
    justify-self: end !important;
    white-space: nowrap !important;
  }

  /* картинка лого не раздувает строку */
  #page_header .header_logo img{
    max-height: 34px !important;
    width: auto !important;
  }

  /* чтобы "MY CART: 1 item(s)" не переносилось */
  #page_header .header_cart,
  #page_header .header_cart *{
    white-space: nowrap !important;
  }
}
/* MOBILE: burger left, logo center, cart right */
@media (max-width: 767px){
  /* якорь для абсолютных элементов */
  #page_header .container.header_main_wrap{
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-left: 56px !important;  /* место под бургер */
    padding-right: 120px !important; /* место под корзину */
  }

  /* бургер строго слева */
  #page_header nav#megamenu.megamenu_mobile{
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }

  /* корзина строго справа */
  #page_header .header_cart,
  #page_header .header_wrap2.header_right{
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  /* лого по центру */
  #page_header .header_logo{
    display: inline-block !important;
    margin: 0 auto !important;
  }
  #page_header .header_logo img{
    max-height: 34px !important;
    width: auto !important;
  }
}
/* MOBILE HEADER — финальное выравнивание */
@media (max-width: 767px){

  /* Вся строка с логотипом */
  #page_header .header_wrap2{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Лого строго по центру */
  #page_header .header_wrap2.header_left{
    width: 100%;
    text-align: center !important;
    position: relative;
  }

  #page_header .header_wrap2.header_left a{
    display: inline-block;
  }

  /* Бургер слева */
  #page_header #megamenu_mobile_toggle{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Корзина справа */
  #page_header .header_wrap2.header_right{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

}
/* Мобилка: убрать расшифровку под логотипом */
@media (max-width: 767px){
  .logo_slogan{
    display: none !important;
  }
}
/* FIX: header на планшетах — лого по центру, корзина справа */
@media (min-width: 768px) and (max-width: 1024px){
  /* главный ряд хедера */
  #page_header .container.header_main_wrap{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* левый блок (бургер/иконки) */
  #page_header .header_wrap2.header_left{
    flex: 1 1 0 !important;
    text-align: left !important;
  }

  /* центр — лого */
  #page_header .header_wrap2.header_center{
    flex: 1 1 0 !important;
    text-align: center !important;
  }

  /* правый блок — корзина/язык */
  #page_header .header_wrap2.header_right{
    flex: 1 1 0 !important;
    text-align: right !important;
  }

  /* чтобы лого реально было по центру, даже если справа текста больше */
  #page_header .header_wrap2.header_left,
  #page_header .header_wrap2.header_right{
    min-width: 0 !important;
  }
}
/* TABLET header: menu left, logo centered, cart right */
@media (min-width: 768px) and (max-width: 1024px){

  /* контейнер хедера */
  #page_header .container.header_main_wrap{
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Меню — слева */
  #page_header .header_wrap2.header_center{
    order: 1 !important;
    flex: 0 0 auto !important;
    text-align: left !important;
  }

  /* Корзина — справа */
  #page_header .header_wrap2.header_right{
    order: 3 !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
    text-align: right !important;
  }

  /* Лого — по центру (поверх, идеально по центру) */
  #page_header .header_wrap2.header_left{
    order: 2 !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    text-align: center !important;
  }

  /* чтобы элементы слева/справа не наезжали на лого */
  #page_header .header_wrap2.header_center,
  #page_header .header_wrap2.header_right{
    padding: 0 10px !important;
  }
}
/* Убираем блок "Популярные товары" из поиска */
.mjs-search-overlay__title,
.mjs-search-overlay__grid{
  display: none !important;
}
/* Даем месту под кнопки справа */
.mjs-search-overlay__input{
  padding-right: 110px !important;
}

/* Выравниваем кнопки по центру */
.mjs-search-overlay__top{
  align-items: center;
}

/* Чуть уменьшим кнопки, чтобы смотрелось легче */
.mjs-search-overlay__submit,
.mjs-search-overlay__close{
  height: 38px;
  width: 38px;
  border-radius: 10px;
}
/* ===== Premium mobile search (40+) ===== */
@media (max-width: 767px){

  /* окно поиска как аккуратная карточка */
  .mjs-search-overlay.is-open{
    display:flex !important;
    align-items:flex-start;
    justify-content:center;
    padding: 16px 12px 24px;
    background: rgba(0,0,0,.40) !important;
  }

  .mjs-search-overlay.is-open .mjs-search-overlay__inner{
    width: 100%;
    max-width: 520px;
    max-height: 75vh !important;
    height: auto !important;
    overflow: hidden;                 /* скролл внутри списка, не всего окна */
    border-radius: 16px;
    background:#fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
  }

  /* верхняя строка: инпут + 2 кнопки, без налезаний */
  .mjs-search-overlay__top{
    display:flex !important;
    align-items:center !important;
    gap: 10px;
    padding: 12px;
  }

  .mjs-search-overlay__input{
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    font-size: 18px;                 /* комфортно для 40+ */
    line-height: 46px;
    padding: 0 14px !important;      /* убираем костыль с padding-right */
    border-radius: 14px;
  }

  /* кнопки: крупные, одинаковые, удобно нажимать */
  .mjs-search-overlay__submit,
  .mjs-search-overlay__close{
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  /* понятный фокус (доступность) */
  .mjs-search-overlay__input:focus{
    outline: 2px solid rgba(0,0,0,.35);
    outline-offset: 2px;
  }

  /* список результатов скроллится отдельно (когда появится) */
  .mjs-search-overlay__grid{
    max-height: calc(75vh - 80px) !important;
    overflow: auto !important;
    padding: 0 12px 12px;
  }
}

/* (Если где-то выше остался padding-right для инпута — отменяем глобально) */
.mjs-search-overlay__input{ padding-right: 14px !important; }
/* DESKTOP: окно поиска аккуратно под шапкой, не по центру баннера */
@media (min-width: 1025px){
  .mjs-search-overlay.is-open{
    align-items: flex-start !important;
    padding-top: 110px !important;   /* подними/опусти тут */
    padding-left: 20px;
    padding-right: 20px;
  }

  .mjs-search-overlay.is-open .mjs-search-overlay__inner{
    width: min(920px, 92vw) !important;
  }

  .mjs-search-overlay__top{
    padding: 16px !important;
    gap: 12px !important;
  }

  .mjs-search-overlay__input{
    height: 52px;
    font-size: 18px;
    border-radius: 16px;
  }

  .mjs-search-overlay__submit,
  .mjs-search-overlay__close{
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
}
/* === Bionika revert: black text === */
body,
p, span, li, a,
input, textarea, select,
small,
.product__title, .product-title,
.price, .product-price {
  color: #000 !important;
}

h1, h2, h3, h4, h5, h6,
.heading, .section-title, .title {
  color: #000 !important;
}
/* === Bionika revert: force black text in common components === */

/* header / menu / breadcrumbs */
header, .header, .site-header,
nav, .nav, .menu,
.breadcrumbs, .breadcrumb {
  color: #000 !important;
}
header a, .header a, nav a, .menu a, .breadcrumbs a {
  color: #000 !important;
}

/* product cards / collections */
.product-item, .product-card, .product-grid-item,
.product-item a, .product-card a, .product-grid-item a,
.product-item * , .product-card * , .product-grid-item * {
  color: #000 !important;
}

/* prices specifically */
.money, .price, .product-price, .price-item, .price__regular, .price__sale {
  color: #000 !important;
}

/* footer */
footer, .footer, .site-footer,
footer a, .footer a {
  color: #000 !important;
}

/* кнопки: текст внутри */
button, .btn, .button,
button *, .btn *, .button * {
  color: #000 !important;
}
/* === NAVIGATION FORCE BLACK === */
.header__menu-item,
.header__menu-item a,
.site-nav__link,
nav ul li a,
.menu a {
  color: #000 !important;
}

/* cart text in header */
.header a,
.cart-link,
.cart-count {
  color: #000 !important;
}


/* === ADD TO CART BUTTON FIX === */
button[name="add"],
.product-form__cart-submit,
.add-to-cart,
.btn--add-to-cart {
  background-color: #E8A0B5 !important; /* временный розовый */
  color: #000 !important;
  border-color: #E8A0B5 !important;
}

button[name="add"] *,
.product-form__cart-submit *,
.add-to-cart * {
  color: #000 !important;
}
/* === HEADER MENU: force black over theme !important === */
#page_header nav#megamenu > ul > li > a,
#page_header nav#megamenu > ul > li > a * ,
#page_header .megamenu ul > li > a,
#page_header .megamenu ul > li > a * {
  color: #000 !important;
}

/* активный пункт меню тоже чёрный */
#page_header .level_1_link.active,
#page_header .level_1_link.active * {
  color: #000 !important;
}
/* === ADD TO CART buttons: pink bg + black text === */
.product_links .btn-cta,
.product_links .btn-cta span,
.product_links .btn-cta i,
.product_links button.btn-cta,
.product_links button.btn-cta span,
.product_links button.btn-cta i {
  color: #000 !important;
}

.product_links .btn-cta,
.product_links button.btn-cta {
  background: #E8A0B5 !important;
  border-color: #E8A0B5 !important;
}

/* hover */
.product_links .btn-cta:hover,
.product_links button.btn-cta:hover {
  background: #E8A0B5 !important;
  border-color: #E8A0B5 !important;
}
/* === HARD OVERRIDE: top menu links === */
body.template-index #page_header header#page_header .header_wrap2.header_center nav#megamenu.megamenu_desktop ul#megamenu_level_1 > li.level_1_item > a.level_1_link {
  color: #000 !important;
}

/* активный пункт */
body.template-index #page_header header#page_header .header_wrap2.header_center nav#megamenu.megamenu_desktop ul#megamenu_level_1 > li.level_1_item > a.level_1_link.active {
  color: #000 !important;
}
/* === Header background to pink === */
#page_header,
#page_header .header_wrap1,
#page_header .header_wrap2,
#page_header .page_container {
  background: #E8A0B5 !important;
}
/* ===== TOP BAR BLACK (Bionika style) ===== */

#page_header .top_pannel {
  background-color: #000 !important;
  background: #000 !important;
}

/* текст */
#page_header .top_pannel_text,
#page_header .top_pannel_text * {
  color: #fff !important;
}

/* иконки справа (поиск, аккаунт, избранное) */
#page_header .top_pannel svg,
#page_header .top_pannel i,
#page_header .top_pannel path,
#page_header .top_pannel a {
  color: #fff !important;
  fill: #fff !important;
  stroke: #fff !important;
}
/* FORCE WHITE ICONS IN TOP BLACK BAR */

#page_header .top_pannel .header_search .search_toggle i.fa-search,
#page_header .top_pannel .header_account i,
#page_header .top_pannel .header_wishlist i,
#page_header .top_pannel .language_selector,
#page_header .top_pannel .language_selector * {
    color: #fff !important;
}

/* если где-то svg */
#page_header .top_pannel svg,
#page_header .top_pannel path {
    fill: #fff !important;
    stroke: #fff !important;
}
/* ===== FORCE WHITE: wishlist + language (TOP BAR) ===== */

/* Wishlist */
#page_header .top_pannel .header_wishlist svg,
#page_header .top_pannel .header_wishlist svg * {
  stroke: #fff !important;
  fill: #fff !important;
  color: #fff !important;
}

/* Language selector text */
#page_header .top_pannel .language_selector,
#page_header .top_pannel .language_selector * {
  color: #fff !important;
}

/* Если у языка стрелка svg */
#page_header .top_pannel .language_selector svg,
#page_header .top_pannel .language_selector path {
  stroke: #fff !important;
  fill: #fff !important;
}
/* ===== LANGUAGE SELECTOR WHITE (TOP BLACK BAR) ===== */

#page_header .top_pannel .language_selector select#lang-switcher {
  color: #fff !important;
  border-color: #fff !important;
}

/* стрелка dropdown (если svg) */
#page_header .top_pannel .language_selector select#lang-switcher option {
  color: #000; /* в выпадающем списке текст должен быть черный */
}

/* если есть кастомная стрелка */
#page_header .top_pannel .language_selector svg,
#page_header .top_pannel .language_selector path {
  stroke: #fff !important;
  fill: #fff !important;
}
/* Корзина — делаем черной */
#page_header .header_cart,
#page_header .header_cart a,
#page_header .header_cart i,
#page_header .header_cart b,
#page_header .header_cart span {
  color: #000000 !important;
}
body,
.page_container,
.page-wrapper,
.main_content,
#main_content {
    background-color: #ffffff !important;
}
.header_wrap1.inverted {
  background: #ffffff !important;
}
/* Кнопки под товарами — только ФОН, как у хедера */
.page_container .product_item .product_links a.btn-cta,
.page_container .product_item .product_links button.btn-cta,
.page_container .product_item .product_links a.btn-cta-disabled {
  background: #DDB7BE !important;
  background-color: #DDB7BE !important;
}
/* PRODUCT GRID CTA: same pink as header (no darkening) */
.page_container .product_item .product_links a.btn-cta,
.page_container .product_item .product_links button.btn-cta,
.page_container .product_item .product_links a.btn-cta-disabled{
  background: #DDB7BE !important;
  background-color: #DDB7BE !important;

  /* убрать всё, что делает темнее */
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}
.page_container .product_item .product_links a.btn-cta:before,
.page_container .product_item .product_links button.btn-cta:before{
  content: none !important;
  opacity: 0 !important;
}
/* ===== MEGAMENU REDESIGN ===== */

/* контейнер выпадашки */
#page_header #megamenu .level_2{
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.18) !important;
  padding: 22px 26px !important;
  overflow: hidden;
}

/* убрать “полоски”/подчеркивания, которые сейчас дают сетку */
#page_header #megamenu .level_2 a,
#page_header #megamenu .level_3__link{
  border-bottom: 0 !important;
  text-decoration: none !important;
}

/* сетка пунктов */
#page_header #megamenu .level_3{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) !important;
  gap: 14px 26px !important;
}

/* сами пункты */
#page_header #megamenu .level_3__link{
  display: block !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  color: #000 !important;
  background: transparent !important;
}

/* ховер как “мягкая плашка” */
#page_header #megamenu .level_3__link:hover{
  background: #F7E6EA !important;
}

/* активный пункт (как “выбранный”) */
#page_header #megamenu .level_3__link.active,
#page_header #megamenu .level_3__link[aria-current="page"]{
  background: #F7E6EA !important;
}
/* ===== MEGAMENU: FORCE PURE WHITE PANEL ===== */
#page_header #megamenu .level_2,
#page_header #megamenu .level_2 > li,
#page_header #megamenu .level_2 > li > div,
#page_header #megamenu .level_3,
#page_header #megamenu .dropdown,
#page_header #megamenu .megamenu_dropdown,
#page_header #megamenu .megamenu__content {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}

/* Красивый контейнер (скругление+тень) */
#page_header #megamenu .level_2{
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.18) !important;
  padding: 22px 26px !important;
}

/* “Плашка” активного пункта (Все товары) — мягкая, но не бежевая */
#page_header #megamenu .level_3__link.active,
#page_header #megamenu .level_3__link[aria-current="page"]{
  background: #F7E6EA !important; /* очень нежно-розовый */
  border-radius: 12px !important;
}
/* ===== MEGAMENU CLEAN (NO BEIGE) ===== */

/* 1) белый контейнер */
#page_header #megamenu .level_2,
#page_header #megamenu .level_2 > li,
#page_header #megamenu .level_2 > li > div,
#page_header #megamenu .level_3 {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
}

/* 2) убираем бежевые “плитки” у пунктов */
#page_header #megamenu .level_3__link,
#page_header #megamenu .level_2 a {
  background: transparent !important;
  background-color: transparent !important;
  color: #000 !important;              /* шрифт чёрный */
  border-bottom: 0 !important;         /* убираем старые линии */
  text-decoration: none !important;
  border-radius: 0 !important;         /* чтобы не было карточек */
  padding: 14px 16px !important;
}

/* 3) hover — цвет хедера */
#page_header #megamenu .level_3__link:hover,
#page_header #megamenu .level_2 a:hover {
  background: #DDB7BE !important;      /* цвет хедера */
  color: #000 !important;
}

/* 4) тонкие разделительные линии (как сетка) */
#page_header #megamenu .level_3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) !important;
  gap: 0 !important;                   /* линии будут вместо gap */
  border-top: 1px solid rgba(0,0,0,.08) !important;
  border-left: 1px solid rgba(0,0,0,.08) !important;
}

#page_header #megamenu .level_3__item {
  border-right: 1px solid rgba(0,0,0,.08) !important;
  border-bottom: 1px solid rgba(0,0,0,.08) !important;
}

/* 5) внешний вид выпадашки */
#page_header #megamenu .level_2 {
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.18) !important;
  padding: 18px !important;
  overflow: hidden !important;
}
/* ===== MEGAMENU: HARD RESET TO WHITE CELLS + GRID LINES + PINK HOVER ===== */

/* 0) на всякий: снимаем любые фоновые картинки/градиенты внутри дропдауна */
#page_header #megamenu .level_2,
#page_header #megamenu .level_2 *,
#page_header #megamenu .dropdown,
#page_header #megamenu .megamenu_dropdown {
  background-image: none !important;
}

/* 1) контейнер выпадашки */
#page_header #megamenu .level_2{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.18) !important;
  padding: 18px !important;
  overflow: hidden !important;
}

/* 2) ВОТ ГДЕ БЕЖ: убиваем фон у ЯЧЕЕК (li) и у списка (ul) */
#page_header #megamenu ul.level_3{
  background: #fff !important;
}

#page_header #megamenu li.level_3__item{
  background: #fff !important;          /* <-- ключевое */
}

/* 3) сетка + тонкие разделители */
#page_header #megamenu ul.level_3{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) !important;
  gap: 0 !important;
  border-top: 1px solid rgba(0,0,0,.10) !important;
  border-left: 1px solid rgba(0,0,0,.10) !important;
}

#page_header #megamenu li.level_3__item{
  border-right: 1px solid rgba(0,0,0,.10) !important;
  border-bottom: 1px solid rgba(0,0,0,.10) !important;
}

/* 4) сами ссылки — без “плиток”, чёрный шрифт */
#page_header #megamenu a.level_3__link,
#page_header #megamenu .level_2 a{
  display: block !important;
  background: transparent !important;
  color: #000 !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  padding: 16px 18px !important;
  border-radius: 0 !important;
}

/* 5) hover = цвет хедера (розовый) */
#page_header #megamenu li.level_3__item:hover{
  background: #DDB7BE !important;       /* цвет хедера */
}
#page_header #megamenu li.level_3__item:hover a{
  color: #000 !important;
}

/* 6) активный пункт (если нужно “подсвечивать” текущий) */
#page_header #megamenu a.level_3__link.active,
#page_header #megamenu a.level_3__link[aria-current="page"]{
  background: transparent !important;   /* активность не плиткой */
}
/* Заголовки секций на главной */
.section_heading {
    color: #000000 !important;
}
.homepage .section_heading,
.section_featured-products .section_heading {
    color: #000000 !important;
}
/* FOOTER bg — вариант 1: #F5F3F4 */
#shopify-section-footer .mjs-footer,
#shopify-section-footer .mjs-footer__bar--top,
#shopify-section-footer .mjs-footer__bar--bottom {
  background: #F5F3F4 !important;
}
/* Заголовки в футере — чёрные */
#shopify-section-footer .mjs-footer .mjs-title {
  color: #1C1C1C !important;
}
/* FOOTER: newsletter button */
footer.mjs-footer .mjs-newsletter__form .mjs-btn,
footer.mjs-footer .mjs-newsletter__form button.mjs-btn,
footer.mjs-footer .mjs-newsletter__form .mjs-btn:visited {
  background: #8F8A87 !important;   /* серо-тауп */
  border-color: #8F8A87 !important;
  color: #ffffff !important;
}

/* Hover = в цвет хедера */
footer.mjs-footer .mjs-newsletter__form .mjs-btn:hover {
  background: #DDB7BE !important;
  border-color: #DDB7BE !important;
  color: #000000 !important;
}
/* FOOTER: contact icons color */
footer.mjs-footer .mjs-contact .mjs-icn svg,
footer.mjs-footer .mjs-contact .mjs-icn svg * {
  color: #6F6A67 !important;
  fill: #6F6A67 !important;
  stroke: #6F6A67 !important;
  opacity: 0.85 !important;
}
/* FOOTER: заголовки (О нас / Связаться с нами / Политики) — чёрные */
footer.mjs-footer .mjs-title,
footer.mjs-footer h3.mjs-title{
  color: #000 !important;
}

/* FOOTER: ссылки и обычный текст — аккуратный тёмно-серый */
footer.mjs-footer,
footer.mjs-footer p,
footer.mjs-footer a{
  color: #2b2b2b !important;
}

/* FOOTER: иконки в блоке контактов (в т.ч. "Блог" и "О нас") — серые
   ВАЖНО: тут меняем color, потому что path = fill: currentColor */
footer.mjs-footer .mjs-contact .mjs-icon,
footer.mjs-footer .mjs-contact .mjs-icon svg{
  color: #8c8c8c !important;
}

/* подстраховка, если где-то stroke-иконки */
footer.mjs-footer .mjs-contact .mjs-icon svg path{
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* Кнопка "Подписаться" — серый, не розовый */
footer.mjs-footer .mjs-newsletter__form .mjs-btn,
footer.mjs-footer .mjs-newsletter__form button[type="submit"]{
  background: #bdbdbd !important;
  border-color: #bdbdbd !important;
  color: #000 !important;
}
footer.mjs-footer .mjs-newsletter__form .mjs-btn:hover,
footer.mjs-footer .mjs-newsletter__form button[type="submit"]:hover{
  background: #a9a9a9 !important;
  border-color: #a9a9a9 !important;
}
/* Верхняя и нижняя полосы футера */
.mjs-footer__bar--top,
.mjs-footer__bar--bottom {
  background: #C9AEB5 !important;
}
/* Тонкая полоса над футером */
#shopify-section-footer {
  position: relative;
}

#shopify-section-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px; /* толщина полосы */
  background: rgba(201, 174, 181, 0.85);
}
/* FOOTER social icons */
footer.mjs-footer .mjs-socialbar a,
footer.mjs-footer .mjs-socialbar svg{
  color: #2B2C28 !important;
}

footer.mjs-footer .mjs-socialbar a{
  opacity: .55 !important;
  transition: opacity .2s ease, color .2s ease, transform .2s ease !important;
}

footer.mjs-footer .mjs-socialbar a:hover{
  opacity: 1 !important;
  color: #DDB7BE !important;
  transform: translateY(-1px);
}

/* на случай, если SVG не слушает color */
footer.mjs-footer .mjs-socialbar svg,
footer.mjs-footer .mjs-socialbar svg *{
  fill: currentColor !important;
  stroke: currentColor !important;
}
footer.mjs-footer .mjs-socialbar a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(221,183,190,.9) !important; /* #DDB7BE */
  color: #2B2C28 !important;
  background: transparent !important;
  transition: background .2s ease, color .2s ease, transform .2s ease !important;
}

footer.mjs-footer .mjs-socialbar a:hover{
  background: #DDB7BE !important;
  color: #fff !important;
  transform: translateY(-1px);
}

footer.mjs-footer .mjs-socialbar svg,
footer.mjs-footer .mjs-socialbar svg *{
  fill: currentColor !important;
  stroke: currentColor !important;
}
/* =========================
   FOOTER: clean + match header
   ========================= */

/* 1) Фон футера — убираем беж */
footer.mjs-footer{
  background: #F5F3F4 !important; /* почти белый, мягко к розовому хедеру */
}

/* 2) Две тонкие полоски (верх футера и над нижним баром) */
#shopify-section-footer{
  position: relative;
}
#shopify-section-footer:before{
  content:"";
  display:block;
  height: 2px;
  background: #DDB7BE;           /* цвет хедера */
  opacity: .55;                   /* чтобы не было “перебор” */
  margin-bottom: 18px;            /* отступ до контента футера */
}

/* если хочешь изменить уже существующую полосу/линию внизу */
.mjs-footer__bottomline{
  border-top: 2px solid rgba(221,183,190,.55) !important;
}

/* 3) Заголовки в футере — чёрные */
.mjs-footer .mjs-title,
.mjs-footer h3{
  color:#000 !important;
}

/* 4) Текст/ссылки футера — нейтральный серый, hover розовый */
.mjs-footer,
.mjs-footer p,
.mjs-footer a{
  color: rgba(0,0,0,.72) !important;
}
.mjs-footer a:hover{
  color:#000 !important;
}

/* 5) ИКОНКИ "О нас" / "Блог" / контакты — это svg с currentColor */
.mjs-footer .mjs-icon svg,
.mjs-footer .mjs-contact svg{
  color: rgba(0,0,0,.45) !important; /* аккуратный серый */
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* hover для строк контактов/ссылок */
.mjs-footer .mjs-contact_link:hover .mjs-icon svg,
.mjs-footer .mjs-contact_link:hover svg{
  color:#DDB7BE !important;
}


/* === Footer language pill (RU) === */
footer .mjs-lang select#FooterLocale,
footer .mjs-lang select{
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  color: var(--mjs-text) !important;
  border: 1px solid color-mix(in srgb, var(--mjs-pink) 55%, #ffffff) !important;
  border-radius: 999px !important;
  padding: 6px 34px 6px 14px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  cursor: pointer !important;
  transition: background .2s ease, border-color .2s ease, color .2s ease !important;
}

/* стрелочка справа */
footer .mjs-lang{
  position: relative;
}
footer .mjs-lang::after{
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--mjs-muted);
  font-size: 12px;
}

/* hover/focus */
footer .mjs-lang select#FooterLocale:hover,
footer .mjs-lang select#FooterLocale:focus-visible{
  background: var(--mjs-pink-soft) !important;
  border-color: var(--mjs-pink) !important;
  outline: none !important;
}
//* =========================
   FOOTER SOCIAL — CLEAN CLASSIC
   ========================= */

/* 1. Убираем ВСЕ фоны, кружки и эффекты */
#shopify-section-footer .mjs-socialbar,
#shopify-section-footer .mjs-socialbar ul,
#shopify-section-footer .mjs-socialbar li,
#shopify-section-footer .mjs-socialbar a{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* 2. Убиваем псевдо-элементы (кружки/оверлеи) */
#shopify-section-footer .mjs-socialbar li::before,
#shopify-section-footer .mjs-socialbar li::after,
#shopify-section-footer .mjs-socialbar a::before,
#shopify-section-footer .mjs-socialbar a::after{
  content: none !important;
  display: none !important;
}

/* 3. Классический цвет */
#shopify-section-footer .mjs-socialbar a{
  color: #2b2b2b !important;
  opacity: 0.8 !important;
  transition: opacity .2s ease !important;
}

/* 4. Размер иконки */
#shopify-section-footer .mjs-socialbar svg{
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* 5. Hover — только лёгкое затемнение */
#shopify-section-footer .mjs-socialbar a:hover{
  opacity: 1 !important;
}
/* Текст SIA MJS – Elegant jewelry */
.mjs-powered {
  color: #000000 !important;
}

/* если вдруг это ссылка */
.mjs-powered a {
  color: #000000 !important;
}
button.mjs-search-overlay__submit,
button.mjs-search-overlay__close {
    background: #FFFFFF !important;
    color: #2B2B2B !important;
    border: 1px solid #DED6DA !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

button.mjs-search-overlay__submit:hover,
button.mjs-search-overlay__close:hover {
    background: #F3EFF2 !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
/* убираем emoji */
button.mjs-search-overlay__submit {
    font-size: 0 !important;
    position: relative !important;
}

/* круг лупы */
button.mjs-search-overlay__submit::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #2B2B2B;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-55%, -55%);
}

/* ручка лупы */
button.mjs-search-overlay__submit::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    background: #2B2B2B;
    top: 50%;
    left: 50%;
    transform: translate(2px, 6px) rotate(45deg);
}
/* ========= HOTFIX: вернуть нормальную навигацию сверху ========= */
#page_header #megamenu > ul#megamenu_level_1,
#page_header #megamenu > ul#megamenu_level_1 > li,
#page_header #megamenu > ul#megamenu_level_1 > li > a,
#page_header #megamenu a.level_1_link {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

#page_header #megamenu > ul#megamenu_level_1 > li > a,
#page_header #megamenu a.level_1_link {
  display: inline-flex !important;
  padding: 0 !important;
}

/* Убираем розовый фон у активной ячейки */
#page_header .level_3_item.active,
#page_header .level_3_item.sfHover {
    background: transparent !important;
}

/* Чистим всё внутри активной ячейки */
#page_header .level_3_item.active > *,
#page_header .level_3_item.sfHover > * {
    background: transparent !important;
}

/* Актив теперь оформляем самой ссылкой */
#page_header a.level_3__link {
    display: block !important;
    padding: 16px 18px !important;
    border-radius: 12px !important;
    transition: background .2s ease !important;
}

#page_header .level_3_item.active > a.level_3__link {
    background: #EFEAEC !important;
    box-shadow: inset 0 0 0 1px #DED6DA !important;
    color: #2B2B2B !important;
}

/* Hover аккуратный */
#page_header a.level_3__link:hover {
    background: #F4F1F3 !important;
}
/* ==== MEGAMENU: убить этот розовый блок (он НЕ от active) ==== */
/* максимально точечно: только внутри выпадашки level_3 */
#page_header #megamenu ul.level_3 > li.level_3_item,
#page_header #megamenu ul.level_3 > li.level_3_item > a.level_3__link,
#page_header #megamenu ul.level_3 > li.level_3_item > a.level_3__link * {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* если розовый сидит на :first-child или другом “выбранном по умолчанию” */
#page_header #megamenu ul.level_3 > li.level_3_item:first-child,
#page_header #megamenu ul.level_3 > li.level_3_item:first-child > a.level_3__link {
  background: transparent !important;
  background-color: transparent !important;
}

/* аккуратный hover */
#page_header #megamenu ul.level_3 > li.level_3_item > a.level_3__link:hover {
  background: #F4F1F3 !important;
  border-radius: 12px !important;
}

/* аккуратный active (если реально есть класс active/current) */
#page_header #megamenu ul.level_3 > li.level_3_item.active > a.level_3__link,
#page_header #megamenu ul.level_3 > li.level_3_item.current > a.level_3__link,
#page_header #megamenu ul.level_3 > li.level_3_item.current-menu-item > a.level_3__link,
#page_header #megamenu ul.level_3 > li.level_3_item.current_page_item > a.level_3__link,
#page_header #megamenu ul.level_3 > li.level_3_item > a.level_3__link[aria-current="page"] {
  background: #EFEAEC !important;
  box-shadow: inset 0 0 0 1px #DED6DA !important;
  border-radius: 12px !important;
}
/* product card buttons: нежный как в хедере */
.product_links .btn-cta,
.product_links .btn-cta:visited,
.product_links button.btn-cta{
  background: #DDB7BE !important;
  border-color: #DDB7BE !important;
  color: #5C3B31 !important;
}

.product_links .btn-cta:hover,
.product_links .btn-cta:focus,
.product_links button.btn-cta:hover,
.product_links button.btn-cta:focus{
  background: #A38F85 !important;
  border-color: #A38F85 !important;
  color: #FDF8F4 !important;
}
/* STEP: убираем все “примочки” (градиент/оверлей/тени) и ставим нежный цвет как хедер */
.page_container .product_item .product_links .btn-cta,
.page_container .product_item .product_links button.btn-cta,
.page_container .product_item .product_links .btn-cta.btn-cta--disabled{
  background: var(--mjs-pink-hdr, #DDB7BE) !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  border: 1px solid var(--mjs-pink-hdr, #DDB7BE) !important;
  color: #5C3B31 !important;
  text-shadow: none !important;
}

/* часто “яркость” делает оверлей ::before/::after */
.page_container .product_item .product_links .btn-cta::before,
.page_container .product_item .product_links .btn-cta::after{
  content: none !important;
  display: none !important;
}

/* hover мягче */
.page_container .product_item .product_links .btn-cta:hover,
.page_container .product_item .product_links button.btn-cta:hover{
  background: var(--mjs-pink-soft, #F5F3F4) !important;
  border-color: var(--mjs-pink-hdr, #DDB7BE) !important;
  color: #5C3B31 !important;
}
.page_container .product_item .product_links .btn-cta,
.page_container .product_item .product_links button.btn-cta,
.page_container .product_item .product_links .btn-cta.btn-cta--disabled {

  background: #FBEDF2
 !important;
  border: 1px solid #FBEDF2 !important;
  color: #ffffff !important;

}
/* STEP 1 — цвет хедера Biоnika (header_wrap1): #fbedf2 */
.page_container .product_item .product_links .btn-cta,
.page_container .product_item .product_links button.btn-cta,
.page_container .product_item .product_links .btn-cta.btn-cta--disabled{
  background: #fbedf2 !important;
  border: 1px solid #fbedf2 !important;
  color: #5C3B31 !important;

  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.page_container .product_item .product_links .btn-cta::before,
.page_container .product_item .product_links .btn-cta::after{
  content: none !important;
  display: none !important;
}
/* ВСЕ кнопки карточек товара */
.page_container .product_item .product_links a.btn-cta,
.page_container .product_item .product_links button.btn-cta,
.page_container .product_item .product_links .btn-cta--disabled {

  background: #fbedf2 !important;
  border: 1px solid #fbedf2 !important;
  color: #000000 !important;

  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* если текст внутри span */
.page_container .product_item .product_links .btn-cta span{
  color: #000000 !important;
}

/* убираем возможные оверлеи */
.page_container .product_item .product_links .btn-cta::before,
.page_container .product_item .product_links .btn-cta::after{
  display: none !important;
}
/* STEP: фикс белого текста именно на "В корзину" (button.btn-cta) */
.page_container .product_item .product_links button.btn-cta,
.page_container .product_item .product_links button.btn-cta span,
.page_container .product_item .product_links button.btn-cta i{
  color: #000000 !important;
}
/* FORCE: черный текст на кнопке "В корзину" во всех вложенных элементах */
.page_container .product_item .product_links form.add_to_cart_form button.btn-cta,
.page_container .product_item .product_links form.add_to_cart_form button.btn-cta *{
  color: #000000 !important;
}
/* FIX: если тема задаёт текст через -webkit-text-fill-color (color не помогает) */
.page_container .product_item .product_links form.add_to_cart_form button.btn-cta,
.page_container .product_item .product_links form.add_to_cart_form button.btn-cta span,
.page_container .product_item .product_links form.add_to_cart_form button.btn-cta i{
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}
/* --- CARD BORDER: мягкое серебро --- */
.product_item {
  border: 1px solid #E3E0DD !important;
  transition: all 0.35s ease;
}

/* если у темы рамка висит на внутреннем блоке */
.product_item .product_img,
.product_item .product_info {
  border-color: #E3E0DD !important;
}

/* --- HOVER: лёгкое усиление + мягкая тень --- */
.product_item:hover {
  border-color: #D6D2CE !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
/* убираем внутреннюю рамку */
.product_item .product_img,
.product_item .product_info,
.product_item > div {
  border: none !important;
}

/* оставляем только одну аккуратную рамку */
.product_item {
  border: 1px solid #E3E0DD !important;
  border-radius: 14px;
  overflow: hidden;
}
/* --- TESTIMONIALS: убираем старый беж --- */
.section_testimonials {
  background: #FDF8F4 !important; /* тёплый светлый фон из новой палитры */
}

/* карточки отзывов */
.section_testimonials blockquote.testimonials_item {
  background: #ffffff !important;
  border: 1px solid #E3E0DD !important;
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.35s ease;
}

/* hover — лёгкий luxury эффект */
.section_testimonials blockquote.testimonials_item:hover {
  border-color: #D6D2CE !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

/* кавычки — делаем мягкими */
.section_testimonials .testimonials_item_icon {
  color: #DDB7BE !important;
}

/* имя автора */
.section_testimonials .testimonials_item_author {
  color: #7D6B61 !important;
}
/* УБИРАЕМ тёплый беж у всей секции */
.shopify-section.section_testimonials {
  background: #F5F3F4 !important; /* светлый пудровый */
}

/* Если фон задан через вложенный контейнер */
.section_testimonials .container {
  background: transparent !important;
}

/* Карточки — чистый белый */
.section_testimonials blockquote.testimonials_item {
  background: #ffffff !important;
  border: 1px solid #E3E0DD !important;
}
/* FIX: бежевые карточки + бежевые линии (внутри и снизу секции) */
.section_testimonials blockquote.testimonials_item{
  background: #ffffff !important;
  border: 1px solid #E3E0DD !important;
}

/* линия под текстом/перед именем (часто это border у p/cite или псевдоэлемент) */
.section_testimonials blockquote.testimonials_item .testimonials_item_text,
.section_testimonials blockquote.testimonials_item .testimonials_item_author,
.section_testimonials blockquote.testimonials_item hr,
.section_testimonials blockquote.testimonials_item:after{
  border-color: #E3E0DD !important;
}

/* бежовая полоска снизу секции (если это border/псевдоэлемент) */
.shopify-section.section_testimonials{
  border-bottom: 1px solid #E3E0DD !important;
}
.shopify-section.section_testimonials:before,
.shopify-section.section_testimonials:after{
  background: transparent !important;
  border-color: #E3E0DD !important;
}
/* 1) линия под текстом (сейчас #c5a880) -> серебро */
.section_testimonials .testimonials_item_author{
  border-top: 1px solid #E3E0DD !important;
  color: #7D6B61 !important;
}

/* 2) кавычки: цвет + чтобы не залезали на рамку */
.section_testimonials blockquote.testimonials_item{
  position: relative !important;
  overflow: hidden; /* чтобы ничего не вылезало за рамку */
}

.section_testimonials .testimonials_item_icon{
  color: #DDB7BE !important;
  position: absolute !important;
  top: 14px !important;     /* опускаем внутрь карточки */
  left: 50% !important;
  transform: translateX(-50%) !important;
}
/* 1) ПОЛОСКА СНИЗУ СЕКЦИИ — убираем/перекрашиваем “разделитель” темы */
.shopify-section.section_testimonials,
.shopify-section.section_testimonials *{
  border-bottom-color: #E3E0DD !important;
}

/* чаще всего это псевдоэлемент/линия у секции */
.shopify-section.section_testimonials:before,
.shopify-section.section_testimonials:after,
.section_testimonials:before,
.section_testimonials:after{
  background: transparent !important;
  border-color: #E3E0DD !important;
}

/* если линия — это отдельный divider рядом с секцией */
.section_divider{
  border-color: #E3E0DD !important;
  background: transparent !important;
}

/* 2) ЛИНИЯ ВНУТРИ КАРТОЧКИ (под текстом перед именем) */
.section_testimonials .testimonials_item_author{
  border-top: 1px solid #E3E0DD !important;
  color: #7D6B61 !important;
}

/* 3) КАВЫЧКИ — не обрезаем, отключаем старую иконку и рисуем свои */
.section_testimonials .testimonials_item_icon{ display:none !important; }

.section_testimonials blockquote.testimonials_item{
  position: relative !important;
  overflow: visible !important;      /* чтобы не резало */
  padding-top: 46px !important;      /* место под кавычки */
}

.section_testimonials blockquote.testimonials_item:before{
  content: "“”";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 52px;
  line-height: 1;
  color: #DDB7BE;
  opacity: .65;
  pointer-events: none;
}

/* 4) ОДИНАКОВАЯ ВЫСОТА КАРТОЧЕК + ровные имена снизу */
.section_testimonials .row{
  display: flex !important;
  flex-wrap: wrap !important;
}

.section_testimonials .row > [class*="col-"]{
  display: flex !important;
}

.section_testimonials blockquote.testimonials_item{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section_testimonials .testimonials_item_author{
  margin-top: auto !important; /* прижимает блок автора вниз */
}
/* 1) Линия внутри карточки (под текстом, над именем) — убиваем #c5a880 */
.shopify-section.section_testimonials blockquote.testimonials_item cite.testimonials_item_author{
  border-top: 1px solid #E3E0DD !important;
}

/* на всякий — если линия на другом элементе */
.shopify-section.section_testimonials blockquote.testimonials_item .testimonials_item_author{
  border-top: 1px solid #E3E0DD !important;
}

/* 2) Полоска снизу секции — чаще это border у самой секции или соседнего divider */
.shopify-section.section_testimonials{
  border-bottom: 1px solid #E3E0DD !important;
  box-shadow: none !important;
}

/* если это отдельный разделитель темы */
#shopify-section-section_divider,
.shopify-section.section_divider,
.section_divider{
  border-color: #E3E0DD !important;
  background: transparent !important;
}
/* STEP: 1) отзывы не должны “лежать” на футере  2) убираем/перекрашиваем полоску, которая на самом деле = верхний бордер СЛЕДУЮЩЕЙ секции/футера */

/* 1 — гарантируем воздух снизу у секции отзывов */
.shopify-section.section_testimonials{
  position: relative !important;
  z-index: 2 !important;
  padding-bottom: 70px !important;
  margin-bottom: 0 !important;
}

/* 2 — если “полоска” рисуется следующим блоком (divider/футер) — гасим её */
.shopify-section.section_testimonials + .shopify-section{
  border-top: 0 !important;
  margin-top: 0 !important;
}
.shopify-section.section_testimonials + .shopify-section:before,
.shopify-section.section_testimonials + .shopify-section:after{
  content: none !important;
  display: none !important;
}

/* 3 — если линия всё же из футера (верхняя граница футера) */
footer, .footer{
  border-top: 0 !important;
}
/* ЛИНИЯ + АВТОР (это cite.testimonials_item_author) — старый цвет #c5a880 */
.section_testimonials cite.testimonials_item_author{
  border-top-color: #E3E0DD !important; /* линия */
  color: #7D6B61 !important;           /* имя */
}

/* если линия/цвет ещё на самом blockquote */
.section_testimonials blockquote.testimonials_item{
  border-color: #E3E0DD !important;
}
/* AUTHOR LINE: глушим старый border и рисуем свою линию */
.section_testimonials cite.testimonials_item_author{
  border-top: 0 !important;          /* убить старую линию */
  color: #7D6B61 !important;         /* цвет автора */
  position: relative !important;
  display: block !important;
  padding-top: 14px !important;      /* место под линию */
  margin-top: 12px !important;
}

.section_testimonials cite.testimonials_item_author::before{
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  top: 0 !important;
  height: 1px !important;
  background: #E3E0DD !important;    /* серебро */
}
/* FIX GOLD (#c5a880) в отзывах: линия + имя автора */
.section_testimonials .testimonials_item_author{
  border-top: 1px solid #E3E0DD !important;
  color: #7D6B61 !important;
}

/* если где-то всё равно тянет золото — убиваем точечно по значению */
.section_testimonials cite[style*="#c5a880"],
.section_testimonials *[style*="#c5a880"]{
  border-color: #E3E0DD !important;
  color: #7D6B61 !important;
}
/* FINAL: линия + автор в отзывах (перебивает всё, даже если #c5a880 есть ниже) */
#shopify-section-index_testimonials_JTqcpe.section_testimonials
blockquote.testimonials_item cite.testimonials_item_author{
  border-top: 0 !important;
  border-image: none !important;
  color: #7D6B61 !important;

  position: relative !important;
  display: block !important;
  padding-top: 14px !important;
  margin-top: 12px !important;
}

#shopify-section-index_testimonials_JTqcpe.section_testimonials
blockquote.testimonials_item cite.testimonials_item_author::before{
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  top: 0 !important;
  height: 1px !important;
  background: #E3E0DD !important;
}
/* линия у автора: тема рисует её через cite и через cite:before */
.section_testimonials blockquote.testimonials_item cite.testimonials_item_author{
  border-top-color: #E3E0DD !important;
  color: #7D6B61 !important;
}

.section_testimonials blockquote.testimonials_item cite.testimonials_item_author:before,
.section_testimonials blockquote.testimonials_item cite.testimonials_item_author::before{
  background: #E3E0DD !important;
  border-color: #E3E0DD !important;
}
/* 1) Убираем ВНУТРЕННЮЮ рамку под фото (блок с названием/ценой/кнопкой) */
.product_item .product_info{
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* часто рамка висит на внутренних контейнерах */
.product_item .product_img,
.product_item .product_links{
  border: 0 !important;
}

/* 2) Оставляем одну общую “серебряную” рамку карточки + аккуратный радиус */
.product_item{
  border: 1px solid #E3E0DD !important;
  border-radius: 14px !important;
  overflow: hidden;
  background: #fff;
}

/* 3) Делаем блок под фото легче: воздух и ровная композиция */
.product_item .product_info{
  padding: 14px 14px 16px !important;
}

/* 4) Лёгкая логика (без обводок): расстояние между названием/ценой/кнопкой */
.product_item .product_name{ margin: 0 0 8px !important; }
.product_item .product_price{ margin: 0 0 10px !important; }

/* 5) Кнопка визуально “легче” (без рамки внутри карточки) */
.product_item .product_links{ margin-top: 0 !important; }
/* ===== CARD: одна рамка, без внутренней обводки ===== */
.page_container .product_item{
  border: 1px solid #E3E0DD !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
}

/* убираем любые внутренние рамки/обводки у блоков карточки */
.page_container .product_item .product_img,
.page_container .product_item .product_info,
.page_container .product_item .product_links,
.page_container .product_item .product_prop,
.page_container .product_item .product_name,
.page_container .product_item .product_price{
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* тонкий разделитель (ВМЕСТО рамки) между фото и низом — если нужен */
.page_container .product_item .product_info{
  border-top: 1px solid #E3E0DD !important;
}

/* ===== COMPACT: меньше воздуха ===== */
.page_container .product_item .product_img{ padding: 10px !important; }
.page_container .product_item .product_info{ padding: 10px 12px 12px !important; }
.page_container .product_item .product_name{ margin: 0 0 6px !important; }
.page_container .product_item .product_price{ margin: 0 0 8px !important; }

/* ===== QUICK VIEW (лупа): вернуть и зафиксировать ===== */
.page_container .product_item .product_img{ position: relative !important; }
.page_container .product_item a.quick_view_btn{
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;

  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  z-index: 10 !important;
}
/* Убираем внутренний бежевый блок под фото */
.page_container .product_item .product_info{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Убираем возможные псевдоэлементы */
.page_container .product_item .product_info:before,
.page_container .product_item .product_info:after{
  display: none !important;
  content: none !important;
}

/* Немного компактнее текст */
.page_container .product_item .product_name{
  margin: 8px 0 4px !important;
}

.page_container .product_item .product_price{
  margin: 0 0 8px !important;
}
/* DESKTOP: убираем общую рамку у блока info, оставляем рамку только у фото */
@media (min-width: 992px){
  /* снимаем “карточность” с нижней части */
  .page_container .product_item{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* рамка остаётся только у фото */
  .page_container .product_item .product_img{
    background: #fff !important;
    border: 1px solid #E3E0DD !important;
    border-radius: 14px !important;
    padding: 10px !important;
    margin: 0 0 10px 0 !important;
  }

  /* убираем рамку/фон у текста+цены+кнопки */
  .page_container .product_item .product_info{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .page_container .product_item .product_info:before,
  .page_container .product_item .product_info:after{
    content: none !important;
    display: none !important;
  }

  /* чуть компактнее */
  .page_container .product_item .product_name{ margin: 8px 0 4px !important; }
  .page_container .product_item .product_price{ margin: 0 0 10px !important; }
}
/* FIX: лупа всегда в одном месте + hover не ломает рамку (DESKTOP) */
@media (min-width: 992px){

  /* якорим абсолютные элементы внутри карточки */
  .page_container .product_item{
    position: relative !important;
    overflow: visible !important;
  }

  /* лупа: всегда внизу справа внутри карточки */
  .page_container .product_item a.quick_view_btn{
    position: absolute !important;
    right: 14px !important;
    bottom: 14px !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 5 !important;
  }

  /* если у лупы есть псевдо-иконка/кружок — тоже без прыжков */
  .page_container .product_item a.quick_view_btn:before,
  .page_container .product_item a.quick_view_btn:after{
    transform: none !important;
  }

  /* убираем “подпрыгивание” конкретно у блока фото (обычно оно и съедает бордер) */
  .page_container .product_item .product_img{
    transform: none !important;
    position: relative !important;
    z-index: 2 !important;
    border: 1px solid #E3E0DD !important;
  }

  /* если тема поднимает всю карточку на hover — пусть поднимает, но бордер не пропадает */
  .page_container .product_item:hover .product_img{
    border-color: #D6D2CF !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.06) !important;
  }
}
/* DESKTOP: 3 колонки в выпадающем меню */
@media (min-width: 992px) {
  #megamenu .level_3 {
    column-count: 3;
    column-gap: 48px;
  }

  #megamenu .level_3 > li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 10px 0;
  }

  /* чтобы ссылки были блоками и нормально кликались */
  #megamenu .level_3 .level_3_link {
    display: inline-block;
    width: 100%;
  }

  /* =========================
     FIX: убрать подложки под текстом у верхних пунктов (ГЛАВНАЯ/МАГАЗИН/КОНТАКТЫ)
     ========================= */
  #megamenu a.level_1_link,
  #megamenu a.level_2_link {
    background: transparent !important;
    box-shadow: none !important;
  }

  /* если тема рисует плашку псевдоэлементами */
  #megamenu a.level_1_link::before,
  #megamenu a.level_1_link::after,
  #megamenu a.level_2_link::before,
  #megamenu a.level_2_link::after {
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0 !important;
  }

  /* =========================
     Цвет/стиль ячеек в мегаменю (дороже + твой розовый #fbedf2)
     ========================= */

  /* общий hover по ячейкам */
  #megamenu .level_3 .level_3_link:hover,
  #megamenu .level_3 .level_3_link:focus {
    background: #fbedf2 !important;
  }

  /* “активная” ячейка (у тебя сейчас пыльно-розовая) */
  #megamenu .level_3 > li.active,
  #megamenu .level_3 > li.current,
  #megamenu .level_3 > li.sfHover {
    background: #fbedf2 !important;
  }

  /* если активность висит на ссылке */
  #megamenu .level_3 > li.active > a,
  #megamenu .level_3 > li.current > a,
  #megamenu .level_3 > li.sfHover > a,
  #megamenu a.level_3_link.active,
  #megamenu a.level_3_link.current {
    background: #fbedf2 !important;
  }
}
/* === MEGAMENU: нормальный розовый + без странных подложек на hover === */
@media (min-width: 992px) {

  /* 1) УБИРАЕМ “подложки” под текстом верхнего меню на hover/active */
  #page_header #megamenu .level_1_link,
  #page_header #megamenu .level_1_link:hover,
  #page_header #megamenu .level_1_link:focus,
  #page_header #megamenu .level_1_link.active {
    background: transparent !important;
    box-shadow: none !important;
  }

  /* 2) ОСНОВНОЙ БОКС выпадающего меню (если хочешь “дороже”) */
  #page_header #megamenu .megamenu_dropdown,
  #page_header #megamenu .dropdown,
  #page_header #megamenu .level_2 {
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 55px rgba(0,0,0,.12) !important;
    border: 1px solid rgba(227,224,221,.9) !important; /* #E3E0DD */
  }

  /* 3) СЕТКА внутри (чтобы выглядело аккуратно и “ровно”) */
  #page_header #megamenu .level_3 {
    background: transparent !important;
  }

  /* 4) СБРОС старых “заливок” — они могут быть и на LI, и на A */
  #page_header #megamenu .level_3_item,
  #page_header #megamenu .level_3_item:hover,
  #page_header #megamenu .level_3_item.active,
  #page_header #megamenu .level_3_link,
  #page_header #megamenu .level_3_link:hover,
  #page_header #megamenu .level_3_link.active {
    background: transparent !important;
  }

  /* 5) НОВЫЙ стиль пунктов (мягкий розовый как у хедера) */
  #page_header #megamenu .level_3_link {
    display: block !important;
    width: 100% !important;
    padding: 18px 22px !important;
    border-radius: 18px !important;
    color: #111 !important;
    text-decoration: none !important;
    transition: background-color .2s ease, box-shadow .2s ease !important;
  }

  /* 6) Ховер */
  #page_header #megamenu .level_3_link:hover {
    background: #FBEDF2 !important; /* нужный розовый */
    box-shadow: inset 0 0 0 1px rgba(227,224,221,.85) !important;
  }

  /* 7) АКТИВНЫЙ пункт (то самое “Все товары”) —
        пробиваем и LI, и A */
  #page_header #megamenu .level_3_item.active,
  #page_header #megamenu .level_3_item.is-current,
  #page_header #megamenu .level_3_item.current,
  #page_header #megamenu .level_3_link.active,
  #page_header #megamenu .level_3_link[aria-current="page"] {
    background: #FBEDF2 !important;
  }
  #page_header #megamenu .level_3_item.active > .level_3_link,
  #page_header #megamenu .level_3_item.is-current > .level_3_link,
  #page_header #megamenu .level_3_item.current > .level_3_link {
    background: #FBEDF2 !important;
    box-shadow: inset 0 0 0 1px rgba(227,224,221,.9) !important;
  }

  /* 8) Линии таблицы/сетки (если они тёплые/бежевые) */
  #page_header #megamenu .level_3_item,
  #page_header #megamenu .level_3_link {
    border-color: rgba(227,224,221,.85) !important; /* #E3E0DD */
  }
}
/* FIX: у тебя селектор был неверный (нужны двойные подчёркивания).
   Принудительно ставим новый баннер на реальный wrapper с inline background-image */

#shopify-section-1539863473058 .img_placeholder__wrap{
  background-image: url("https://mjs.lv/cdn/shop/files/Tik_tok_banner_roz.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
/* РЕКОМЕНДАЦИЯ: делаем кнопку фирменной — мягкий розовый акцент.
   База — #FBEDF2
   Hover — #E8D7DD
   Текст — #000
*/

#shopify-section-1539863473058 .tiktok-banner .btn{
  background-color: #FBEDF2 !important;
  color: #000000 !important;
  border: 1px solid #E8D7DD !important;
  box-shadow: 0 6px 18px rgba(232, 215, 221, 0.4) !important;
  transition: all .25s ease !important;
}

#shopify-section-1539863473058 .tiktok-banner .btn:hover{
  background-color: #E8D7DD !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(232, 215, 221, 0.6) !important;
}
/* Кнопка "В корзину" на странице товара */
#single_product__addtocart-template-product.btn {
  background-color: #FBEDF2 !important;
  color: #000 !important;
  border: none !important;
  box-shadow: none !important;
}

/* hover */
#single_product__addtocart-template-product.btn:hover {
  background-color: #f3dbe3 !important;
  color: #000 !important;
}
/* Кнопка В КОРЗИНУ — карточка товара */
#single_product__addtocart-template-product,
.single_product__details .button_block .btn {
  background: #C79AA0 !important;
  color: #fff !important;
  border: none !important;
}

#single_product__addtocart-template-product:hover,
.single_product__details .button_block .btn:hover {
  background: #B8878E !important;
}

/* Кнопка УВЕДОМИТЬ МЕНЯ */
.notify_btn {
  background: #B8878E !important;
  color: #fff !important;
  border: none !important;
}

.notify_btn:hover {
  background: #A8757C !important;
}
/* Блок соцсетей в карточке товара */
.social_sharing_block a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;        /* крупнее */
  height: 44px;
  margin-right: 14px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Убираем любые hover-фоны */
.social_sharing_block a:hover,
.social_sharing_block a:focus {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Все иконки одного размера */
.social_sharing_block i,
.social_sharing_block svg {
  width: 22px !important;
  height: 22px !important;
  font-size: 22px !important;
  fill: #6f6f6f !important;
  color: #6f6f6f !important;
}

/* Hover — аккуратный тёмный, без кружков */
.social_sharing_block a:hover i,
.social_sharing_block a:hover svg {
  fill: #000 !important;
  color: #000 !important;
}
/* Показ формы "Уведомить меня" сразу под кнопками (без ломания остального) */
.single_product_details,
.single_product__details{
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-areas:
    "form"
    "notify"
    "desc"
    "tabs"
    "social" !important;
  row-gap: 12px !important;
}

.single_product_details > form,
.single_product__details > form{
  grid-area: form !important;
}

.single_product_details > .product_notify,
.single_product__details > .product_notify{
  grid-area: notify !important;
  margin: 0 !important;
}

.single_product_details > .product_description,
.single_product__details > .product_description,
.single_product_details > .product_description.rte,
.single_product__details > .product_description.rte{
  grid-area: desc !important;
}

.single_product_details > .tab_content_wrapper,
.single_product__details > .tab_content_wrapper{
  grid-area: tabs !important;
}

.single_product_details > .social_sharing_block,
.single_product__details > .social_sharing_block{
  grid-area: social !important;
}
/* КНОПКА "ОТПРАВИТЬ" В ФОРМЕ УВЕДОМИТЬ — делаем мягкий премиальный акцент */

/* базовое состояние */
.product_notify .btn,
.notify_form .btn{
  background: #E8D7DD !important;   /* мягкий акцентный розовый */
  color: #000000 !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(232, 215, 221, 0.45) !important;
  transition: all .25s ease !important;
}

/* hover — глубже, но без агрессии */
.product_notify .btn:hover,
.notify_form .btn:hover{
  background: #D8C2C9 !important;  /* чуть глубже акцент */
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(216, 194, 201, 0.6) !important;
}
/* POPUP "cart_added" — новый дизайн (фон + кнопки) */

/* контейнер модалки */
html body #cart_added,
html body .fancybox-wrap #cart_added{
  background: #FFFFFF !important;
  border-radius: 18px !important;
  box-shadow: 0 28px 70px rgba(0,0,0,.18) !important;
  padding: 26px !important;
}

/* внутренняя строка с товаром */
html body #cart_added .cart_added__row{
  background: #F5F5F5 !important;
  border-radius: 14px !important;
  padding: 16px !important;
}

/* рамка картинки */
html body #cart_added #cart_added__img,
html body #cart_added .cart_added__1{
  background: #FFFFFF !important;
  border: 1px solid #E8D7DD !important;
  border-radius: 12px !important;
}

/* заголовок/текст */
html body #cart_added h4,
html body #cart_added #cart_added__name,
html body #cart_added #cart_added__quantity{
  color: #000000 !important;
}

/* кнопки (волшебный стиль) */
html body #cart_added a.btn,
html body .fancybox-wrap #cart_added a.btn{
  display: block !important;
  width: 100% !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-weight: 700 !important;
  letter-spacing: .3px !important;
  text-transform: uppercase !important;
  transition: all .25s ease !important;
}

/* PRIMARY — Перейти к корзине */
html body #cart_added a.btn:not(.btn-alt){
  background: #FBEDF2 !important;
  color: #000000 !important;
  border: 1px solid #E8D7DD !important;
  box-shadow: 0 10px 22px rgba(232,215,221,.55) !important;
}
html body #cart_added a.btn:not(.btn-alt):hover{
  background: #E8D7DD !important;
}

/* SECONDARY — Продолжить покупки */
html body #cart_added a.btn.btn-alt{
  background: #FFFFFF !important;
  color: #000000 !important;
  border: 1px solid #E8D7DD !important;
  box-shadow: none !important;
}
html body #cart_added a.btn.btn-alt:hover{
  background: #FBEDF2 !important;
}

/* крестик (если есть отдельная кнопка fancybox) */
html body .fancybox-close{
  background: #FBEDF2 !important;
  border: 1px solid #E8D7DD !important;
  border-radius: 999px !important;
}
/* Убрать "вторую рамку" = убрать лишнюю высоту/пустое поле у блока с фото */
html body #cart_added .cart_added__1,
html body #cart_added #cart_added__img{
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Оставить ОДНУ аккуратную рамку только вокруг самой картинки */
html body #cart_added #cart_added__img img{
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border: 1px solid #E8D7DD !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
}

/* если "рамку" рисует псевдоэлемент */
html body #cart_added .cart_added__1::before,
html body #cart_added .cart_added__1::after,
html body #cart_added #cart_added__img::before,
html body #cart_added #cart_added__img::after{
  content: none !important;
  display: none !important;
}
/* Размер — главный (крупный) */
#cart_added .cart_added__size{
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 6px 0 4px !important;
  color: #000 !important;
}

/* Количество — второстепенное (мелкое) */
#cart_added #cart_added__quantity{
  font-size: 13px !important;
  font-weight: 400 !important;
  opacity: 0.7 !important;
  margin-bottom: 12px !important;
}
/* =========================
   CART — новый дизайн (розовый)
   ========================= */

/* фон страницы корзины */
body.template-cart,
body.template-cart .main_content{
  background: #FFFFFF !important;
}

/* заголовки/текст */
.template-cart .page_heading,
.template-cart .breadcrumbs,
.template-cart .cart,
.template-cart .cart *{
  color: #000000 !important;
}

/* таблица */
.template-cart .table,
.template-cart table{
  border-color: #E8D7DD !important;
}

.template-cart thead th{
  color: #000000 !important;
  opacity: .65 !important;
  border-bottom: 1px solid #E8D7DD !important;
}

.template-cart tbody tr{
  border-bottom: 1px solid #E8D7DD !important;
}

/* блок товара/инфо */
.template-cart .column_product_info{
  background: transparent !important;
}

/* линии/разделители */
.template-cart hr,
.template-cart .divider,
.template-cart .line,
.template-cart .cart_items td{
  border-color: #E8D7DD !important;
}

/* input/textarea в корзине */
.template-cart input[type="text"],
.template-cart input[type="email"],
.template-cart input[type="number"],
.template-cart textarea,
.template-cart select{
  background: #FFFFFF !important;
  border: 1px solid #E8D7DD !important;
  color: #000000 !important;
  border-radius: 10px !important;
}

.template-cart textarea{
  background: #F5F5F5 !important;
}

/* количество (- / +) */
.template-cart .qty_minus,
.template-cart .qty_plus,
.template-cart .quantity_minus,
.template-cart .quantity_plus,
.template-cart .cart_items .qty a,
.template-cart .cart_items .qty button{
  background: #FBEDF2 !important;
  border: 1px solid #E8D7DD !important;
  color: #000000 !important;
  border-radius: 10px !important;
  transition: all .2s ease !important;
}

.template-cart .qty_minus:hover,
.template-cart .qty_plus:hover,
.template-cart .quantity_minus:hover,
.template-cart .quantity_plus:hover,
.template-cart .cart_items .qty a:hover,
.template-cart .cart_items .qty button:hover{
  background: #E8D7DD !important;
}

/* кнопки (волшебный паттерн) */
.template-cart .btn,
.template-cart button,
.template-cart input[type="submit"],
.template-cart a.btn{
  background: #FBEDF2 !important;
  color: #000000 !important;
  border: 1px solid #E8D7DD !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 22px rgba(232,215,221,.45) !important;
  transition: all .25s ease !important;
}

.template-cart .btn:hover,
.template-cart button:hover,
.template-cart input[type="submit"]:hover,
.template-cart a.btn:hover{
  background: #E8D7DD !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(232,215,221,.6) !important;
}

/* частные кнопки: ОБНОВИТЬ / УДАЛИТЬ */
.template-cart .btn.update,
.template-cart .btn-remove,
.template-cart .btn.remove,
.template-cart a[href*="remove"],
.template-cart button[name="update"]{
  background: #E8D7DD !important;
  color: #000000 !important;
  border: 1px solid #E8D7DD !important;
  box-shadow: none !important;
}

.template-cart .btn.update:hover,
.template-cart .btn-remove:hover,
.template-cart .btn.remove:hover,
.template-cart a[href*="remove"]:hover,
.template-cart button[name="update"]:hover{
  background: #D8C2C9 !important;
}

/* итого/сумма */
.template-cart .cart_total,
.template-cart .total,
.template-cart .column_total{
  border-top: 1px solid #E8D7DD !important;
}

/* ссылки */
.template-cart a{
  color: #000000 !important;
}
.template-cart a:hover{
  color: #000000 !important;
  text-decoration: underline !important;
}
/* =========================
   КОРЗИНА — улучшение UX 40+
   ========================= */

/* 1. Блок количества — делаем вертикальным */
.template-cart .column_quantity{
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

/* +/- в одну строку */
.template-cart .column_quantity .qty,
.template-cart .column_quantity .quantity{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Кнопка ОБНОВИТЬ — под количеством */
.template-cart button[name="update"],
.template-cart .btn.update,
.template-cart .update{
  width: 120px !important;
  margin-top: 4px !important;
  align-self: flex-start !important;
}

/* 2. Общая сумма — крупнее и заметнее */
.template-cart .cart_total,
.template-cart .total,
.template-cart .column_total,
.template-cart .cart__total{
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: .3px !important;
}

/* если есть отдельный блок "Общая сумма" */
.template-cart .cart_total span,
.template-cart .total span{
  font-size: 24px !important;
  font-weight: 700 !important;
}

/* 3. Чуть больше расстояния для читаемости */
.template-cart tbody tr{
  padding-bottom: 20px !important;
}
/* CART — линии/разделители (если “вшиты” в тему) */

/* общие границы таблицы */
body.template-cart table,
body.template-cart .table,
body.template-cart .cart_items,
body.template-cart .table-bordered,
body.template-cart .table-bordered th,
body.template-cart .table-bordered td,
body.template-cart thead th,
body.template-cart tbody td,
body.template-cart tbody tr{
  border-color: #E8D7DD !important;
}

/* тонкие линии/полосы-разделители */
body.template-cart hr,
body.template-cart .divider,
body.template-cart .line,
body.template-cart .cart_items:before,
body.template-cart .cart_items:after,
body.template-cart .cart_total:before,
body.template-cart .cart_total:after,
body.template-cart .cart_total{
  border-top-color: #E8D7DD !important;
  border-bottom-color: #E8D7DD !important;
}

/* если линии рисуются box-shadow */
body.template-cart .cart_items,
body.template-cart .cart_total,
body.template-cart .table-bordered{
  box-shadow: none !important;
}

/* если линии — это background-gradient/изображение */
body.template-cart .cart_items,
body.template-cart .cart_total,
body.template-cart .table-bordered{
  background-image: none !important;
}

/* доработка “премиум”: сделать линии чуть легче визуально */
body.template-cart thead th,
body.template-cart tbody tr{
  border-width: 1px !important;
  opacity: 0.95 !important;
}
/* Фон мобильного меню */
#megamenu.megamenu_mobile,
#megamenu.megamenu_mobile .level_1,
#megamenu.megamenu_mobile .level_2,
#megamenu.megamenu_mobile .level_3 {
    background: #FBEDF2 !important;
}

/* Цвет текста */
#megamenu.megamenu_mobile a,
#megamenu.megamenu_mobile .level_1 > li > a,
#megamenu.megamenu_mobile .level_2 a,
#megamenu.megamenu_mobile .level_3 a {
    color: #000000 !important;
}

/* Hover / active */
#megamenu.megamenu_mobile li:hover > a,
#megamenu.megamenu_mobile a.active {
    background: #E8D7DD !important;
    color: #000000 !important;
}
/* Бургер (FontAwesome) — только перекрасить в чёрный, эффекты/анимации не трогаем */
#megamenu_mobile_toggle .fa-bars,
#megamenu_mobile_toggle .fa-bars:before,
nav#megamenu.megamenu.megamenu_mobile #megamenu_mobile_toggle .fa-bars,
nav#megamenu.megamenu.megamenu_mobile #megamenu_mobile_toggle .fa-bars:before{
  color: #000000 !important;
}
/* FIX: cart_added popup is offscreen on mobile (force true centering) */
@media (max-width: 640px) {
  .fancybox-overlay {
    overflow: hidden !important;
  }

  .fancybox-wrap {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 92vw !important;
    max-width: 92vw !important;
    margin: 0 !important;
  }

  .fancybox-inner {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 90vh !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .fancybox-skin {
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .fancybox-close {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    z-index: 9999 !important;
  }
}
/* Фикс центрирования popup на мобиле */
@media (max-width: 768px) {

  .fancybox-wrap,
  .fancybox-inner {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  #cart_added {
    margin: 0 auto !important;
  }

}
@media (max-width: 768px) {

  .fancybox-wrap {
    width: 92% !important;
    max-width: 420px !important;
  }

}
/* прячем прелоадер после загрузки страницы */
html.mjs-ready #page_preloader__bg,
html.mjs-ready #page_preloader__img {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
/* анти-мигание мегаменю при загрузке */
html.js-loading #megamenu ul.level_2,
html.js-loading #megamenu ul.level_3,
html.js-loading #megamenu [id^="menu_link_linklist_"]{
  display: none !important;
}
/* анти-мигание: прячем выпадашки мегаменю до готовности JS */
html.js-loading #megamenu ul,
html.js-loading #megamenu .level_2,
html.js-loading #megamenu .level_3,
html.js-loading #megamenu [id^="menu_link_linklist_"],
html.js-loading #megamenu .megamenu_level_1 {
  display: none !important;
}

/* но кнопку/шапку меню не прячем */
html.js-loading #megamenu_mobile_toggle,
html.js-loading #megamenu_mobile_close {
  display: block !important;
}
/* Anti-FOUC: прячем мегаменю ТОЛЬКО пока идет загрузка */
html.js-loading #megamenu ul.level_2,
html.js-loading #megamenu ul.level_3,
html.js-loading #megamenu [id^="menu_link_linklist_"]{
  display: none !important;
}
/* MJS: убрать плюсик-триггер у пункта "Магазин" на мобиле */
#megamenu.megamenu_mobile i.level_1__trigger.megamenu_trigger {
  display: none !important;
}
/* Крестик/зона закрытия: по умолчанию скрыта */
#megamenu_mobile_close { display: none !important; }

/* Показываем только когда меню реально открыто (по твоим классам) */
#megamenu_level_1.on ~ #megamenu_mobile_close,
#megamenu_mobile_close.on { display: block !important; }
/* Крестик мобильного меню никогда не показываем до полной готовности */
html:not(.js-ready) #megamenu_mobile_close,
html:not(.js-ready) #megamenu_mobile_close * {
  display: none !important;
  opacity: 0 !important;
}
/* Убираем навсегда старый прелоадер/спиннер темы, чтобы не оставлял "белую полосу" */
#page_preloader_bg,
#page_preloader_img,
#page_preloader,
#page_preloader__bg,
#page_preloader__img,
#mjs-spinner,
.mjs-spinner,
.page_preloader_bg,
.page_preloader_img{
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Если тема оставляет лишнюю "прокладку" под хедером */
#pseudo_sticky_block{
  height: 0 !important;
  min-height: 0 !important;
}
/* Убираем белую полосу под хедером (spacer под sticky header) */
#pseudo_sticky_block{
  background: #fdf8f4 !important; /* твой розовый фон хедера */
}

/* на всякий: чтобы фон страницы не “проваливался” в белый */
.page_wrapper,
.page_container{
  background: #fdf8f4 !important;
}
#pseudo_sticky_block{
  height: 0 !important;
}
/* Убираем белую полосу-спейсер, если хедер не успел стать sticky */
#pseudo_sticky_block {
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* На всякий: если какой-то блок даёт отступ сверху */
.page_wrapper,
.page_container {
  margin-top: 0 !important;
}
/* kill legacy preloader forever */
#page_preloader__bg,
#page_preloader__img,
#page_preloader_bg,
#page_preloader_img {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
/* Shopify cookie banner buttons (high-specificity, like your working pattern) */
#shopify-pc__banner .shopify-pc__banner__btns button,
#shopify-pc__banner button#shopify-pc__banner__btn-accept,
#shopify-pc__banner button#shopify-pc__banner__btn-decline,
#shopify-pc__banner button#shopify-pc__banner__btn-manage-prefs {
  background: #FBEDF2 !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Hover */
#shopify-pc__banner .shopify-pc__banner__btns button:hover,
#shopify-pc__banner button#shopify-pc__banner__btn-accept:hover,
#shopify-pc__banner button#shopify-pc__banner__btn-decline:hover,
#shopify-pc__banner button#shopify-pc__banner__btn-manage-prefs:hover {
  background: #E8D7DD !important;
}

/* Active / pressed */
#shopify-pc__banner .shopify-pc__banner__btns button:active,
#shopify-pc__banner button#shopify-pc__banner__btn-accept:active,
#shopify-pc__banner button#shopify-pc__banner__btn-decline:active,
#shopify-pc__banner button#shopify-pc__banner__btn-manage-prefs:active {
  background: #E8D7DD !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Focus ring (the “second light”) */
#shopify-pc__banner .shopify-pc__banner__btns button:focus,
#shopify-pc__banner .shopify-pc__banner__btns button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
/* === Password page background === */
#shopify-section-template-password,
.page_password_wrap {
  background: #FBEDF2 !important;
}

/* Центральный блок */
#shopify-section-template-password .container {
  background: #FFFFFF !important;
}

/* Кнопка IEVAIDĪT */
#shopify-section-template-password .password-form .btn,
#shopify-section-template-password button.btn {
  background: #FBEDF2 !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Hover */
#shopify-section-template-password .password-form .btn:hover,
#shopify-section-template-password button.btn:hover {
  background: #E8D7DD !important;
}

/* Active */
#shopify-section-template-password .password-form .btn:active,
#shopify-section-template-password button.btn:active {
  background: #E8D7DD !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Убираем фокус */
#shopify-section-template-password .btn:focus,
#shopify-section-template-password .btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}


/* LEVEL 3 link override (перебиваем style.scss.css:11717) */
#megamenu.megamenu_mobile .level_3 a {
  background: transparent !important;
  color: #000000 !important;
}

/* Active / tap state */
#megamenu.megamenu_mobile .level_3 a:active,
#megamenu.megamenu_mobile .level_3 a:focus,
#megamenu.megamenu_mobile .level_3 li.active > a {
  background: #FBEDF2 !important;
  color: #000000 !important;
  box-shadow: none !important;
}
/* LEVEL 3 panel full white background */
#megamenu.megamenu_mobile ul.level_2 > li > div,
#megamenu.megamenu_mobile ul.level_3,
#megamenu.megamenu_mobile ul.level_3 li {
  background: #FFFFFF !important;
}
/* === DESKTOP megamenu: selected collection bg -> soft pink === */

/* panel bg */
#page_header nav#megamenu:not(.megamenu_mobile) ul.level_2,
#page_header nav#megamenu:not(.megamenu_mobile) ul.level_2 > li > div,
#page_header nav#megamenu:not(.megamenu_mobile) ul.level_3 {
  background: #FFFFFF !important;
}

/* links default */
#page_header nav#megamenu:not(.megamenu_mobile) a.level_2__link,
#page_header nav#megamenu:not(.megamenu_mobile) a.level_3__link,
#page_header nav#megamenu:not(.megamenu_mobile) .level_2 a,
#page_header nav#megamenu:not(.megamenu_mobile) .level_3 a {
  background: transparent !important;
  color: #000000 !important;
}

/* hover/active/selected (перебиваем “старую” подсветку) */
#page_header nav#megamenu:not(.megamenu_mobile) li.level_2__item:hover > a,
#page_header nav#megamenu:not(.megamenu_mobile) li.level_3__item:hover > a,
#page_header nav#megamenu:not(.megamenu_mobile) li.level_2__item.sfHover > a,
#page_header nav#megamenu:not(.megamenu_mobile) li.level_3__item.sfHover > a,
#page_header nav#megamenu:not(.megamenu_mobile) li.level_2__item.active > a,
#page_header nav#megamenu:not(.megamenu_mobile) li.level_3__item.active > a,
#page_header nav#megamenu:not(.megamenu_mobile) a.level_2__link:focus,
#page_header nav#megamenu:not(.megamenu_mobile) a.level_3__link:focus {
  background: #E8D7DD !important;
  color: #000000 !important;
  box-shadow: none !important;
  outline: none !important;
}
/* DESKTOP megamenu: убираем “просвечивание” старого цвета и ставим нужный розовый */

/* 1) принудительно гасим фон у строки/ячейки (часто фон висит на LI/TD/DIV, а не на A) */
#page_header nav#megamenu:not(.megamenu_mobile) .level_2 li,
#page_header nav#megamenu:not(.megamenu_mobile) .level_2 li > div,
#page_header nav#megamenu:not(.megamenu_mobile) .level_2 a,
#page_header nav#megamenu:not(.megamenu_mobile) .level_3 li,
#page_header nav#megamenu:not(.megamenu_mobile) .level_3 li > div,
#page_header nav#megamenu:not(.megamenu_mobile) .level_3 a {
  background: transparent !important;
}

/* 2) состояние выбора/hover — точный цвет */
#page_header nav#megamenu:not(.megamenu_mobile) .level_2 li:hover,
#page_header nav#megamenu:not(.megamenu_mobile) .level_2 li.sfHover,
#page_header nav#megamenu:not(.megamenu_mobile) .level_2 li.active,
#page_header nav#megamenu:not(.megamenu_mobile) .level_2 a:hover,
#page_header nav#megamenu:not(.megamenu_mobile) .level_2 a:focus,
#page_header nav#megamenu:not(.megamenu_mobile) .level_2 a:active,
#page_header nav#megamenu:not(.megamenu_mobile) .level_3 li:hover,
#page_header nav#megamenu:not(.megamenu_mobile) .level_3 li.sfHover,
#page_header nav#megamenu:not(.megamenu_mobile) .level_3 li.active,
#page_header nav#megamenu:not(.megamenu_mobile) .level_3 a:hover,
#page_header nav#megamenu:not(.megamenu_mobile) .level_3 a:focus,
#page_header nav#megamenu:not(.megamenu_mobile) .level_3 a:active {
  background: #E8D7DD !important;
  color: #000000 !important;
  box-shadow: none !important;
  outline: none !important;
}
/* Breadcrumbs – светло-серый фон вместо бежевого */
.breadcrumbs {
  background: #F5F5F5 !important;
}

/* Внутренний контейнер, если фон висит на нём */
.breadcrumbs .container {
  background: #F5F5F5 !important;
}
/* 1. Отступ после breadcrumbs */
.breadcrumbs {
  margin-bottom: 30px !important;
}

/* 2. Отступ перед заголовком коллекции */
.template-collection h1,
.template-collection .page_heading {
  margin-top: 10px !important;
  margin-bottom: 20px !important;
}

/* 3. Блок фильтров и сортировки — чуть ниже */
.template-collection .button_filters {
  margin-top: 15px !important;
}

/* 4. Лёгкое визуальное разделение */
.template-collection .breadcrumbs {
  border-bottom: 1px solid #E8D7DD;
}
/* Убираем бежевую полосу под breadcrumbs */
.page_container {
  background: #FFFFFF !important;
}

/* На всякий случай для коллекций */
.template-collection .page_container {
  background: #FFFFFF !important;
}
/* Главная — мини-баннеры категорий (подписи на карточках) */
.section_gallery_4.style_3 .gallery_item a.item_caption .caption_text h4{
  color: #000 !important;
}
/* Главная: мини-баннеры категорий — цвет текста */
.section_gallery_4.style_3 .gallery_item a.item_caption .caption_text h4{
  color:#000 !important;
}
/* FIX: главная - мини-баннеры категорий: делаем заголовок ЧЁРНЫМ */
.section_gallery .style_3 .gallery_item a.item_caption .caption_text h4{
  color:#000 !important;
}
/* Главная – мини-баннеры – центрируем подпись */
.section_gallery .gallery_item a.item_caption {
  display: flex !important;
  justify-content: center !important;
}

.section_gallery .gallery_item .caption_text {
  text-align: center !important;
}
/* Центровка мини-баннеров (категорий) на десктопе */
@media (min-width: 1200px) {
  .section_gallery_4 .row.gallery_wrap{
    max-width: 1200px;            /* можно 1170px или 1240px — под твой контейнер */
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section_gallery_4{
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 1200px) {
  .section_gallery_4 .row.gallery_wrap{
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }
}
/* LAST TRY: жесткая центровка мини-баннеров (категорий) на десктопе */
@media (min-width: 1024px){
  .section_gallery_4 .row.gallery_wrap{
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* если тема строит сетку на float — отключаем */
  .section_gallery_4 .row.gallery_wrap > [class*="col-"]{
    float: none !important;
  }
}
/* Причина: стили из <style> внутри policy/переводов Shopify режет/не применяет, поэтому видно дефолт темы.
   Фикс: перенеси стили в theme (assets/custom.css) и переопредели дефолтные .rte заголовки внутри твоих блоков. */

.shopify-policy__body .rte .mjs-contact,
.shopify-policy__body .rte .mjs-legal,
.shopify-policy__body .rte .mjs-policy,
.shopify-policy__body .rte .mjs-refund,
.shopify-policy__body .rte .mjs-terms,
.shopify-policy__body .rte .mjs-shipping{
  font-family: Arial, sans-serif;
  color:#000;
  line-height:1.65;
  background:#FFF;
  border:1px solid #E8D7DD;
  border-radius:14px;
  overflow:hidden;
  max-width:860px;
}

/* Сбиваем дефолт темы (у тебя есть rule с !important на h2) */
.shopify-policy__body .rte .mjs-contact h2,
.shopify-policy__body .rte .mjs-legal h2,
.shopify-policy__body .rte .mjs-policy h2,
.shopify-policy__body .rte .mjs-refund h2,
.shopify-policy__body .rte .mjs-terms h2,
.shopify-policy__body .rte .mjs-shipping h2{
  margin:0 !important;
  padding:16px 20px !important;
  background:#FBEDF2 !important;
  color:#000 !important;
  font-size:18px !important;
  letter-spacing:.2px !important;
  line-height:1.25 !important;
}

/* Intro / section spacing */
.shopify-policy__body .rte .mjs-policy .mjs-intro,
.shopify-policy__body .rte .mjs-legal .mjs-intro,
.shopify-policy__body .rte .mjs-refund .mjs-intro,
.shopify-policy__body .rte .mjs-shipping .mjs-intro{
  margin:0 !important;
  padding:16px 20px 6px !important;
}

.shopify-policy__body .rte .mjs-policy .mjs-section,
.shopify-policy__body .rte .mjs-legal .mjs-section,
.shopify-policy__body .rte .mjs-refund .mjs-section,
.shopify-policy__body .rte .mjs-terms .mjs-section,
.shopify-policy__body .rte .mjs-shipping .mjs-section{
  padding:6px 20px 20px !important;
}

.shopify-policy__body .rte .mjs-contact .mjs-block{
  margin:0 !important;
  padding:16px 20px 6px !important;
}

/* h3 */
.shopify-policy__body .rte .mjs-policy h3,
.shopify-policy__body .rte .mjs-legal h3,
.shopify-policy__body .rte .mjs-refund h3,
.shopify-policy__body .rte .mjs-terms h3,
.shopify-policy__body .rte .mjs-shipping h3{
  margin:22px 0 8px !important;
  color:#000 !important;
  font-size:16px !important;
  line-height:1.3 !important;
}

/* paragraphs / lists */
.shopify-policy__body .rte .mjs-policy p,
.shopify-policy__body .rte .mjs-legal p,
.shopify-policy__body .rte .mjs-refund p,
.shopify-policy__body .rte .mjs-terms p,
.shopify-policy__body .rte .mjs-shipping p{
  margin:0 0 14px !important;
}

.shopify-policy__body .rte .mjs-policy ul,
.shopify-policy__body .rte .mjs-refund ul,
.shopify-policy__body .rte .mjs-shipping ul{
  margin:0 0 14px 18px !important;
  padding:0 !important;
}

.shopify-policy__body .rte .mjs-policy li,
.shopify-policy__body .rte .mjs-refund li,
.shopify-policy__body .rte .mjs-shipping li{
  margin:0 0 6px !important;
}

/* links */
.shopify-policy__body .rte .mjs-contact a,
.shopify-policy__body .rte .mjs-legal a,
.shopify-policy__body .rte .mjs-policy a,
.shopify-policy__body .rte .mjs-refund a,
.shopify-policy__body .rte .mjs-terms a,
.shopify-policy__body .rte .mjs-shipping a{
  color:#000 !important;
  text-decoration:underline !important;
  text-decoration-color:#E8D7DD !important;
  text-underline-offset:3px !important;
}

.shopify-policy__body .rte .mjs-contact a:hover,
.shopify-policy__body .rte .mjs-legal a:hover,
.shopify-policy__body .rte .mjs-policy a:hover,
.shopify-policy__body .rte .mjs-refund a:hover,
.shopify-policy__body .rte .mjs-terms a:hover,
.shopify-policy__body .rte .mjs-shipping a:hover{
  background:#FBEDF2 !important;
}

/* legal grid + separators */
.shopify-policy__body .rte .mjs-legal .mjs-grid{
  margin:0 !important;
  display:grid !important;
  grid-template-columns:minmax(180px,240px) 1fr !important;
  gap:10px 18px !important;
  align-items:start !important;
}

.shopify-policy__body .rte .mjs-legal .mjs-grid dt{
  font-weight:600 !important;
}

.shopify-policy__body .rte .mjs-legal .mjs-grid dd{
  margin:0 !important;
}

.shopify-policy__body .rte .mjs-legal hr{
  border:0 !important;
  border-top:1px solid #E8D7DD !important;
  margin:0 !important;
}

/* grey note blocks */
.shopify-policy__body .rte .mjs-contact .mjs-note,
.shopify-policy__body .rte .mjs-legal .mjs-note{
  margin:12px 20px 20px !important;
  padding:12px 14px !important;
  background:#F5F5F5 !important;
  border-left:4px solid #E8D7DD !important;
  border-radius:10px !important;
}

.shopify-policy__body .rte .mjs-legal .mjs-note{
  margin:0 !important;
  padding:16px 20px 20px !important;
  border-left:0 !important;
  border-top:1px solid #E8D7DD !important;
  border-radius:0 !important;
  font-size:14px !important;
}
/* Убираем старую бежевую подложку темы */

.shopify-policy__container,
.shopify-policy__body,
.shopify-policy__body .rte,
.main_content,
.main-content,
.page_container {
  background: transparent !important;
}

/* Если фон задан на обёртке страницы */
.template-policy .page_container,
.template-policy .main_content {
  background: #FFFFFF !important;
}

/* Убираем возможный фон у внутреннего блока */
.shopify-policy__container {
  padding: 0 !important;
}
/* Увеличиваем шрифт на странице контактов для всех языков */

.template-page .mjs-legal{
  font-size:18px !important;
}

.template-page .mjs-legal h2{
  font-size:26px !important;
}

.template-page .mjs-legal h3{
  font-size:20px !important;
}

.template-page .mjs-legal dt{
  font-size:16px !important;
}

.template-page .mjs-legal dd{
  font-size:18px !important;
}

.template-page .mjs-legal p{
  font-size:18px !important;
}
@media (max-width: 479px) {
  .template-cart .cart_items tbody tr {
    display: flex;
    flex-direction: column;
  }
/* HEADER — фиксируем фирменный цвет */
.header_wrap1,
.header_wrap1.inverted {
  background: #FBEDF2 !important;
}
/* FIX: у тебя фон задаётся inline-стилем. Перебиваем его точнее + правим фон drawer */

.header_wrap1[style],
.header_wrap1.inverted[style]{
  background: #FBEDF2 !important;
  background-color: #FBEDF2 !important;
}

/* Drawer cart */
.cart_content_wrap,
#cart_content_box,
#cart_content_box > *{
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #000000 !important;
}

/* Если затемнение идёт полупрозрачным слоем */
.cart_content_wrap::before,
#cart_content_box::before{
  content: none !important;
  display: none !important;
}
/* CART DRAWER — фон всегда белый (без ограничений по ширине) */
.cart_content_wrap,
#cart_content_box,
.cart_content_wrap .box_footer,
.cart_content_wrap .cart_content_preloader {
  background: #FFFFFF !important;
  background-image: none !important;
  color: #000000 !important;
}

#cart_content_box > *,
#cart_content_box * {
  background-color: transparent !important;
}
/* CART DRAWER темнит не фон (он уже белый), а слой/прозрачность на контейнере.
   Жёстко убираем затемнение у самого drawer и его псевдослоёв. */

#main__cart_item,
#main__cart_item .cart_content_wrap,
#main__cart_item #cart_content_box {
  opacity: 1 !important;
  filter: none !important;
  background: #FFFFFF !important;
  background-image: none !important;
  color: #000000 !important;
}

#main__cart_item::before,
#main__cart_item::after,
#main__cart_item .cart_content_wrap::before,
#main__cart_item .cart_content_wrap::after,
#main__cart_item #cart_content_box::before,
#main__cart_item #cart_content_box::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
}
/* TABLET (768–1024): убираем внешнюю рамку ТОЛЬКО у карточки, рамку у фото оставляем */
@media (min-width: 768px) and (max-width: 1024px){

  /* 1) УБИВАЕМ рамку/фон карточки (это то, что обводит и текст/цену/кнопки) */
  body .page_container .product_listing_main .col-xs-3 > .product_item{
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
  }

  /* иногда рамка/линия может быть на самой колонке */
  body .page_container .product_listing_main .col-xs-3{
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    background: transparent !important;
  }

  /* 2) ОСТАВЛЯЕМ рамку только у блока фото */
  body .page_container .product_listing_main .product_item .product_img{
    background: #fff !important;
    border: 1px solid #E3E0DD !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  /* если внутри img есть свои стили — пусть не ломают рамку блока */
  body .page_container .product_listing_main .product_item .product_img img{
    display: block !important;
  }
}
/* TABLET: финальный добив рамки карточки */
@media (min-width: 768px) and (max-width: 1024px){

  body .page_container .product_listing_main .product_item{
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }

}
@media (min-width: 768px) and (max-width: 1024px){

  .page_container .product_item{
    border: 0 !important;
  }

  .page_container .product_item{
    border-width: 0 !important;
  }

  .page_container .product_item{
    border-color: transparent !important;
  }

}
@media (min-width:768px) and (max-width:1024px){
  body.template-product{ outline:8px solid red !important; }
}
.quick_view_btn {
  display: none !important;
}
.product_links .quick_view_btn,
a.quick_view_btn,
.quick_view_btn,
.quick_view_btn i,
.fa-search-plus {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}