/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/
/* Examples (uncomment to use):*/
/* Expand site width */
/* body .wrapper { max-width: 1400px !important; } */
/* Set site background image */
/* body { background: url(image_source) top no-repeat; } */
/* Hide compare button */
/* a.compare_item { display: none !important; }*/
body {
  background-image: url("/bitrix/templates/aspro_max/images/ef.png"),
    url("/bitrix/templates/aspro_max/images/prop.png");
}
.maxwidth-theme,
.fill_bg_n .wrapper1:not(.with_left_block) .grey_block,
.wrapper1:not(.with_left_block) .grey_block .maxwidth-theme,
.wrapper1:not(.with_left_block)
  .grey_block
  .owl-carousel.shadow
  .owl-stage-outer::before,
.wrapper1:not(.with_left_block)
  .grey_block
  .owl-carousel.shadow
  .owl-stage-outer::after,
.catalog_block .catalog_item,
.item-views .item.bg-white:not(.bordered) {
  background: none;
}
.bg-white,
.bg-fill-white,
.bg-fill-grey,
.catalog_block .catalog_item &gt
div,
.with_title .block_container {
  background: #0006;
}

/* Основные стили для страницы */
/* Основные стили для страницы */
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background: url("https://mimokassa.ru/img/background.png") no-repeat center
    center fixed;
  background-size: cover; /* Фон адаптируется под размер экрана */
  color: #e0e0e0;
  position: relative;
}

/* Стили контейнера тизеров */
.teaser-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px;
  max-width: 1200px;
  background-color: rgba(
    128,
    128,
    128,
    0.5
  ); /* Серый фон с прозрачностью 50% */
  box-sizing: border-box; /* Учитываем padding в ширине */
  border-radius: 10px; /* Скругленные углы контейнера (опционально) */
}

/* Базовые стили для тизеров */
.teaser {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  text-align: center;
  border: 1px solid #ddd;
  margin: 10px;
  border-radius: 15px;
  background-color: white;
  width: 100%;
  max-width: 300px;
  flex-grow: 1;
  box-sizing: border-box;
  min-height: 300px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0; /* Начальное состояние невидимо */
  transform: translate(0, 0); /* Начальное смещение */
  transition: opacity 1s ease-in-out, transform 1s ease-in-out; /* Увеличена длительность и изменена функция easing */
  will-change: opacity, transform; /* Оптимизация для анимации */
}

/* Анимации появления */
.teaser-left {
  transform: translateX(-50px);
}

.teaser-top {
  transform: translateY(-50px);
}

.teaser-bottom {
  transform: translateY(50px);
}

.teaser-right {
  transform: translateX(50px);
}

/* Класс, добавляемый при видимости */
.teaser.visible {
  opacity: 1;
  transform: translate(0, 0);
  background-color: rgba(49, 48, 48, 0.5); /* Серый фон с прозрачностью 50% */
}

/* Кнопки тизеров */
.teaser-btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: rgba(
    50,
    50,
    50,
    0.9
  ); /* Темно-серый фон с прозрачностью 90% */
  color: white; /* Белый текст */
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.9); /* Соответствующая прозрачность границы */
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: auto;
  max-width: 100%; /* Ограничение ширины кнопки */
  white-space: nowrap; /* Запрещаем перенос текста */
  overflow: hidden;
  text-overflow: ellipsis; /* Обрезка текста при переполнении */
  box-sizing: border-box;
}

.teaser-btn:hover {
  background-color: rgba(75, 75, 75, 0.9); /* Легкое затемнение серого фона */
  color: #9b59b6; /* Красивый фиолетовый для текста при наведении */
  border-color: #9b59b6; /* Фиолетовая граница при наведении */
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

/* Заголовки и абзацы */
.teaser h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff; /* Белый текст */
  transition: color 0.5s ease, transform 0.5s ease;
}

.teaser h3:hover {
  color: #9b59b6; /* Фиолетовый цвет текста при наведении */
  transform: scale(1.1); /* Легкое увеличение заголовка */
}

.teaser p {
  flex-grow: 1;
  font-size: 1rem;
  margin-bottom: 20px;
  color: #fff; /* Белый текст */
  transition: color 0.5s ease, transform 0.5s ease;
}

.teaser p:hover {
  color: #ccc; /* Светло-серый цвет текста при наведении */
  transform: scale(1.05); /* Легкое увеличение текста */
}

/* Анимация при наведении на блок тизера */
.teaser:hover {
  transform: scale(1.05); /* Легкое увеличение блока */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Усиление тени */
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Центрирование блоков на мобильных устройствах */
@media (max-width: 768px) {
  .teaser-container {
    flex-direction: column;
    align-items: center;
  }

  .teaser {
    width: 90%;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .teaser {
    width: 95%;
    margin: 10px auto;
  }

  .teaser-btn {
    padding: 8px 20px; /* Уменьшаем отступы для кнопки */
    font-size: 0.9rem; /* Уменьшаем размер текста кнопки */
    width: 100%; /* Кнопка занимает всю ширину блока */
  }
.table-view.flexbox.flexbox--row .table-view__item-wrapper {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.table-view.flexbox.flexbox--row,
.table-view.flexbox.flexbox--row .table-view__item-wrapper {
  flex-direction: column !important;
}
    .list-offers .table-view .item-actions, 
    .product-view--mix.product-view--mix-wide .like_icons.list {
        align-self: center;
    }
    .list-offers .table-view .item-actions, .product-view--mix.product-view--mix-wide .like_icons.list {
        align-self: center;
    }
}

body {
  background: url("/img/background.png") no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  color: #e0e0e0;
  position: relative;
}

/* RPL наличие в других ТТ */
.tab-pane.stores .ordered-block__subtitle {
  padding-top: 1.533rem;
}

/* ПОПАП РУЛЕТКА И ТД *\

/* Полупрозрачные фоны для попапов */
.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

/* Стили для всех попапов */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1a1a1a; /* Темный фон для контраста */
  padding: 30px;
  border-radius: 10px;
  z-index: 1001;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  color: #f5f5f5; /* Светлый текст для читаемости */
  display: none; /* Скрыть попапы по умолчанию */
}

/* Кнопка закрытия попапов */
.popup .close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #f5f5f5;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup .close-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

/* Фоновые изображения внутри попапов */
.popup .popup-bg {
  display: block; /* Отображать только внутри открытого попапа */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

/* Общие стили для фоновых изображений */
.popup .popup-bg-item {
  position: absolute;
  opacity: 0.18; /* Немного увеличенная прозрачность для лучшей видимости */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Расположение и размеры изображений с увеличением на 20% */
.popup .popup-bg-item.iphone {
  top: 10px;
  left: 10px;
  width: 92px; /* 80px * 1.15 (предыдущее увеличение) * 1.20 ≈ 92px */
  transform: rotate(-10deg);
}

.popup .popup-bg-item.liquid {
  bottom: 10px;
  left: 10px;
  width: 92px; /* 80px * 1.15 * 1.20 ≈ 92px */
  transform: rotate(5deg);
}

.popup .popup-bg-item.ecigarette {
  top: 50%;
  right: 10px;
  width: 83px; /* 69px * 1.20 ≈ 83px */
  transform: translateY(-50%) rotate(-5deg);
  opacity: 0.25; /* Немного увеличенная прозрачность для лучшей видимости */
}

/* Анимации при наведении */
.popup:hover .popup-bg-item {
  opacity: 0.25; /* Легкое увеличение прозрачности */
  transform: scale(1.05) rotate(var(--rotate-angle, 0deg)); /* Добавлено масштабирование */
}

/* Заголовки попапов */
.popup h2 {
  font-size: 28px;
  color: rgba(161, 103, 175, 1); /* Фиолетовый цвет */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  text-align: center;
}

/* Основной текст попапов */
.popup p {
  font-size: 20px;
  color: #f5f5f5;
  margin-bottom: 30px;
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* Выделенный текст */
.highlighted-text {
  color: rgba(161, 103, 175, 1);
  font-weight: bold;
  font-size: 24px;
}

/* Кнопки попапов */
.popup-button,
.bot-button {
  background-color: rgba(161, 103, 175, 1);
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50px;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.popup-button:hover,
.bot-button:hover {
  background-color: rgba(136, 76, 160, 1); /* Темнее на 20% */
  transform: scale(1.05);
}

/* Дополнительные стили для кнопки бонусов */
.custom-bonus-button {
  background: linear-gradient(
    135deg,
    rgba(161, 103, 175, 1) 0%,
    rgba(136, 76, 160, 1) 100%
  ); /* Градиентный фон */
  color: #ffffff;
  border: none; /* Убираем стандартную границу */
  padding: 14px 36px; /* Немного увеличенные отступы для лучшей пропорции */
  font-size: 18px;
  font-weight: 600; /* Увеличиваем жирность текста */
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease; /* Плавные переходы для всех свойств */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Более мягкая и крупная тень */
  position: relative; /* Для возможных псевдоэлементов */
  overflow: hidden; /* Для эффектов внутри кнопки */
  cursor: pointer; /* Указатель при наведении */
}

.custom-bonus-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s ease;
}

.custom-bonus-button:hover::before {
  transform: rotate(45deg) scale(1);
}

.custom-bonus-button:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35); /* Усиление тени при наведении */
  transform: translateY(-2px); /* Лёгкое поднятие кнопки */
}

.custom-bonus-button:active {
  transform: translateY(0); /* Возврат кнопки в исходное положение */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25); /* Сокращение тени при нажатии */
}

/* Подзаголовок */
.subtitle {
  font-size: 0.8rem;
  color: #ccc;
  text-align: center;
  margin-top: 10px;
}

/* Контейнер для анимации */
.animation-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 200px;
  height: 200px;
  cursor: pointer;
  z-index: 9999;
}

/* Стиль анимации */
.lottie-animation {
  width: 100%;
  height: auto;
}

/* Адаптивные стили для мобильных устройств */
@media screen and (max-width: 767px) {
  .animation-container {
    width: 100px;
    height: 100px;
    bottom: 10px;
    left: 10px;
  }

  .popup {
    width: 90%;
    padding: 20px 15px;
  }

  .popup h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .popup p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .popup-button,
  .bot-button {
    padding: 10px 15px;
    font-size: 16px;
  }

  .close-button {
    width: 25px;
    height: 25px;
    font-size: 18px;
    top: 10px;
    right: 10px;
  }

  /* Увеличенные размеры и корректированные позиции фоновых изображений на мобильных */
  .popup .popup-bg-item.iphone {
    width: 83px; /* 69px * 1.20 ≈ 83px */
    top: 10px;
    left: 5px;
    transform: rotate(-5deg);
  }

  .popup .popup-bg-item.liquid {
    width: 83px; /* 69px * 1.20 ≈ 83px */
    bottom: 10px;
    left: 5px;
    transform: rotate(5deg);
  }

  .popup .popup-bg-item.ecigarette {
    width: 83px; /* 69px * 1.20 ≈ 83px */
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0.3; /* Дополнительное увеличение прозрачности для мобильных */
  }

  /* Уменьшаем шрифты для подзаголовка */
  .subtitle {
    font-size: 0.7rem;
  }
}

@media (max-width: 600px) {
  #mobileheader .title-block {
    width: 80%;
  }
  #headerfixed {
    top: -140px;
  }
  .owl-stage-outer {
    width: 112%;
  }
  #mobileheader .mobileheader-v2,
  #mobileheader .right-icons {
    background: #000a;
  }
  .item-views.sales .flexbox {
    flex-direction: column;
  }
  #mobileheader .right-icons {
    margin: 0;
    width: 100%
  }
  .item-views.sales .swipeignore.mobile-overflow .item-wrapper {
    padding-bottom: 18px;
    width: 100%;
  }
  .item-views.sales .mobile-compact .item-wrapper>.item .image {
    margin: 0 auto;
  }
  .item-views.sales .mobile-compact .item-wrapper>.item .period-block {
    text-align: center;
  }
  body .item-views.float_banners2 .items>.row>div {
    width: 100%;
  }
  a.scroll-to-top {
    bottom: 25px;
    right: 25px;
  }
  .TIZERS {
    display: none;
  }
  .section-compact-list__image {
    display: none;
  }
  .filter-panel__view.controls-linecount.pull-right,
  .filter-panel__view.controls-view.pull-right {
    display: none;
  }
}
#GoToMoreShops .value {
  cursor: pointer;
}

/* Стили "Есть в другом магазине" */
:root {
  --custom-color-order: orange;
  --custom-hover-color-order: white;
}

.icon.order {
  background: var(--custom-color-order);
}

.item-stock .icon:not(.stock) {
  background: var(--custom-color-order);
}

.item-stock[data-click="N"]:not(.js-show-stores):not(.js-show-info-block) .value.font_sxs {
  color: var(--custom-color-order);
  border-bottom: 1px dotted;
  cursor: pointer;
}

.item-stock[data-click="N"]:not(.js-show-stores):not(.js-show-info-block) .value.font_sxs:hover {
  color: var(--custom-hover-color-order);
}

.item-stock[data-click=""]:not(.js-show-stores):not(.js-show-info-block) .value.font_sxs,
.wrapp_stockers .item-stock .value {
  color: var(--custom-color-order);
}
/* /Стили "Есть в другом магазине" */

.table-view .item-icons.s_1 {
  width: max-content;
}

@media (max-width: 480px) {
  .list-offers .table-view .item-actions, .product-view--mix.product-view--mix-wide .like_icons.list {
    width: max-content;
  }
    .owl-stage-outer {
        width: 100%;
    }
    #main .reviews.item-views.compact {
        width: 100vw;
    }

}

@media (max-width: 600px) {
  .js-offers-scroll .wrapp-one-click, .js-offers-scroll .table-view .item-actions .item-buttons .text-form, .js-offers-scroll .stores-icons {
    display: block;
  }
  .content_wrapper_block {
    width: 100%;
    overflow: hidden;
  }
.search-button-div .dropdown-select__title {
  display: none;
}
.search-button-div .dropdown-select__title {
  display: none;
}
.inline-search-block .search .btn-search,
.search-page-wrap .btn {
  color: #3a87ad;
}
}

body .wrapper1.mfixed_Y > div#mobileheader.fixed {
  width: 100vw;
}

body {
  overflow-x: hidden !important;
}
body, body * {
  max-width: 100vw;

}
