/* Стили витрины, которые раньше приезжали из сборок Vue и из текста статей.
   Собраны сюда, чтобы шаблон main26_1 ни от чего не зависел: подключил один
   файл — и работает корзина, кнопка «в корзину» и счётчик в шапке.

   Пара с basket-alpine.js. Вендор (bootstrap, swiper, fancybox), иконочный
   шрифт и общий main26.css сюда не входят, они подключаются отдельно. */

[x-cloak] {
  visibility: hidden;
}

/* ── счётчик в шапке ───────────────────────────────────────────────────── */

.topbasket-container {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: relative;
}

.topbasket-container-active {
  background-color: #212529;
}

.topbasket-container-passive {
  background-color: #fff;
}

#topbasket-amount {
  display: flex;
  width: 20px;
  height: 20px;
  position: absolute;
  background-color: #3bb027;
  font-size: 14px;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: 100;
  right: -10px;
  top: -4px;
  border-radius: 50%;
}

.topbasket-a {
  text-decoration: none;
  display: block;
  margin: 8px 2px 0 0;
}

.topbasket-size {
  font-size: 22px;
  text-decoration: none;
}

.basket-top-active {
  color: #fff;
}

.basket-top-passive {
  color: #ccc;
}

/* ── кнопка «в корзину» ────────────────────────────────────────────────── */

.icon-basket {
  color: #fff;
  cursor: pointer;
  background-color: #852196;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  padding: 5px;
  font-size: 20px;
  display: flex;
}

.icon-basket-done {
  background-color: #3bb027;
}

/* ── выбор аромата и варианта на карточке товара ───────────────────────── */

.flash1 {
  animation: flashFade1 1s ease-in-out infinite;
  animation-delay: 0.5s;
}

.flash2 {
  animation: flashFade1 1s ease-in-out infinite;
  background: #eee;
}

@keyframes flashFade1 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 576px) {
  .variant {
    border-top: 2px solid var(--purple-400);
    border-bottom: 2px solid var(--purple-400);
  }
}

@media (min-width: 576px) {
  .variant {
    border: 2px solid var(--purple-400);
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 10px;
  }
}

/* ── корзина ───────────────────────────────────────────────────────────── */

.line-sum-old {
  text-decoration: line-through;
  font-size: 90%;
}

.lh100 {
  line-height: 100%;
}

.name-food {
  color: #666;
}

.name {
  line-height: 120%;
}

.priceonefood {
  font-size: 85%;
  color: #666;
}

.priceonefood-old {
  font-size: 75%;
  text-decoration: line-through;
}

.line-amount {
  font-size: 105%;
}

.line-sum {
  font-size: 150%;
  color: var(--primary-color);
}

.icon-in-basket {
  color: #999;
}

.icon-del {
  color: #999;
}

.nastavi {
  background: #dedede;
}
