/* extracted-styles.css */

/* 1. Блок с рейтингом */
/* extracted-block.css */

/* Контейнер */
.title_block {
  display: flex;
  flex-direction: column;
  padding: 15px 10px 7px 15px;
  background: #103136;
  color: #fff;
  text-transform: uppercase;
  text-align: center;

}

/* Внутренний флекс-контейнер */
.reyt {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

/* Блок со звёздами */
.stars {
  display: flex;
  flex-direction: column;
  width: 30%;
  align-items: center;
}

/* Оценка + иконка */
.reyt-block {
  display: flex;
  align-items: center;
  justify-content: center;
}
.reyt-block b {
  font-size: 16px;
  margin-right: 5px;
}
.reyt-block img {
  height: 20px;
}


/* Описание под звёздами */
.reyt-desc {
  font-size: 12px;
  margin-top: 4px;
  text-align: center;
}

/* Блок “сколько купили сегодня” */
.HowManyBought {
  text-align: center;
}
.HowManyBought p {
  margin: 0 0 4px;

}
.BoughtLabel {
  font-weight: 700;
  line-height: 1.4;
}
.BoughtTimes {
  display: inline-block;
  padding: 0 8px;
  background: #2e2f31;
  color: #fff;
  border-radius: 5px;
  font-weight: 700;
  line-height: 1.4;
}

/* Последний заказ */
.BoughtLast {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  margin-top: 2px;
}
.spanminutes {
  font-weight: 700;
}

/* Анимация “flare” */
.flareanother {
    overflow-x: hidden;
}
.flareanother .flare {
    position: absolute;
    top: 0;
    height: 100%;
    width: 45px;
    transform: skewX(-45deg);
    animation: flareAnimation 10s infinite linear;
    left: -150%;
    background: linear-gradient(
      90deg,
      rgba(243, 243, 243, 0.11),
      rgba(255, 255, 255, 0.84)
    );
}
@keyframes flareAnimation {
    0%   { left: -150%; }
    100% { left: 150%; }
} /* :contentReference[oaicite:6]{index=6}&#8203;:contentReference[oaicite:7]{index=7} */

/* “Липкий” блок акции */
.sticky {
    padding: 20px 10px;
    text-align: center;
    background: #103136;
    color: #111;
} /* :contentReference[oaicite:8]{index=8}&#8203;:contentReference[oaicite:9]{index=9} */

/* Плашка с датами акции */
.ak-border {
    padding: 0 10px;
    border-radius: 5px;
    background: #fff;
    color: #000;
    font-weight: 700;
} /* :contentReference[oaicite:10]{index=10}&#8203;:contentReference[oaicite:11]{index=11} */

/* “Куплено” */
.BoughtTimes {
    padding: 0 10px;
    border-radius: 5px;
    background: #ff2e49;
    color: white;
    font-weight: 700;
    line-height: 1.4;
} /* :contentReference[oaicite:12]{index=12}&#8203;:contentReference[oaicite:13]{index=13} */

/* Счётчик товаров */
.metr_count {
     display: flex;
    justify-content: space-around;
    margin-top: 20px;
}
/* 3. Стара цена зачёркнута */
.metr_old_count {
			opacity: .6;
		}

.ak-border .date-from::before { content: "16.04.2025"; }
.ak-border .date-to::before   { content: "30.04.2025"; }
.metr_text_count {
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
  display: inline !important;
}

/* 2) Метка «Ви заощаджуєте» */
.metr_new_count .metr_text_count {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 10px;
}

/* 3) Метка «Звичайна ціна:» — обычный текст */
.metr_old_count .metr_text_count {
  display: block;
  background: none;
  color: #444;
  padding: 0;
  font-size: 16px;
  margin-bottom: 4px;
}
.metr_text_count span {
			background: black;
			display: inline-block;
			border-radius: 5px;
			padding: 0px 3px;
			margin-bottom: 3px;
			color: white;
		}

.metr_new_count .metr_value {
    font-size: 50px;
    font-weight: 700;
    padding: 10px;
    color: #ff2e49;
    text-shadow: 1px 1px 1px #424242;
} /* :contentReference[oaicite:16]{index=16}&#8203;:contentReference[oaicite:17]{index=17} */

.metr_old_count .metr_value {
    font-size: 30px;
    /* color: #ffffff; */
    color: black;
    text-decoration: line-through;
    font-weight: 400;
    padding: 10px;
}
/* Список преимуществ */

.top_list {
    margin: 25px 0;
   flex-wrap: wrap;
    display: flex;
    color: black;
}
.top_list li {
    margin: 0 17px 12px;
    padding: 0 0 0 32px;
    background: url("../img/icon.png") left 1px no-repeat;
    flex: 1 0 20%;
    max-width: 44%;
    min-width: 30%;
    background-size: 20px;
} /* :contentReference[oaicite:18]{index=18} */


.reviews_stats_block {
  /* 1) Центрируем содержимое */
  text-align: center;
  /* 2) Делаем текст белым */
  color: #fff;
  /* 3) (опционально) добавьте фон, если нужно */
  padding: 20px;
}

/* Сохраняем жирность <b>, но теперь в белом цвете */
.reviews_stats_block p b {
  color: #fff;
}

/* Сами <p> тоже белые (унаследуется), отступы подправим */
.reviews_stats_block p {
  margin: 6px 0;
  line-height: 1.3;
}

/* Звёздочки выровняем по базовой линии */
.reviews_stats_block p:first-child img {
  vertical-align: middle;
  margin-left: 6px;
  height: 16px;
}

/* Центрируем и ограничиваем «прогресс-бар» */
.reviews_stats_block .line {
  position: relative;
  width: 90%;        /* ширина полосы */
  max-width: 400px;  /* не растягивать слишком сильно */
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  margin: 10px auto 0; /* автополосы по бокам + отступ сверху */
}

/* Заполненная часть (98%) */
.reviews_stats_block .line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 98%;
  height: 100%;
  background: #8f9cff;
  border-radius: 4px 0 0 4px;
}



/* Кнопка заказа */
.button {
    display: block;
    margin: 0 auto;
    width: 400px;
    height: 80px;
    border: none;
    border-radius: 10px;
    background: #ff2e49;
    font-weight: 700;
    font-size: 24px;
    line-height: 80px;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow-x: hidden;
    font-family: "Rubik", sans-serif;
}
.button .flare {
    position: absolute;
    top: 0;
    height: 100%;
    width: 45px;
    transform: skewX(-45deg);
    animation: flareAnimation 3s infinite linear;
    left: -150%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.4)
    );
} /* :contentReference[oaicite:19]{index=19}&#8203;:contentReference[oaicite:20]{index=20} */

/* Оставшееся количество */
.products_count {
    margin: 20px 0 0;
    text-align: center;
    color: black;
}
.products_count span {
    margin: 0 3px;
    padding: 3px 5px;
    border-radius: 4px;
    background: #ff2e49;
    box-shadow: 0 2px 2px 1px #acabab;
    color: #fff;
    font-weight: 700;
} /* :contentReference[oaicite:21]{index=21}&#8203;:contentReference[oaicite:22]{index=22} */

/* Мелкий текст */
.text_small {
    color: #000;
    margin-top: 10px !important;
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
    text-align: center;
} /* :contentReference[oaicite:23]{index=23}&#8203;:contentReference[oaicite:24]{index=24} */

/* Дополнительно, чтобы вынести inline-стили */
.spanminutes {
    font-weight: 400;
    font-size: 12px;
}
/* date-from/date-to, HowManyBought, stars, reyt-desc — внешних стилей нет, оставьте их inline или добавьте по желанию */

 section.bottom-panel-style-1 {
    background: #f6f7fa;
}

.input::placeholder {
    color: red;
    /* Ð£ÐºÐ°Ð¶Ð¸Ñ‚Ðµ Ð½ÑƒÐ¶Ð½Ñ‹Ð¹ Ñ†Ð²ÐµÑ‚ */
}

section.bottom-panel-style-1 {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 480px;
    width: 100%; /* Можно убрать, если не нужен 100% */
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 100;
}

/* 1) Основные стили для кнопки */
.button-bottom {
  position: relative;    /* для абсолютного позиционирования блика */
  overflow: hidden;      /* чтобы блик не вылезал за края */
  display: inline-block;
  padding: 0 20px;
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f2a600, #ffd64d);
  color: #333;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity .2s;
}

.button-bottom:hover {
  opacity: .8;
}
.bottom-panel-style-1 .price-and-sale-block {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: space-between;
    width: calc(100% - 150px);
}

#bottom-panel.bottom-panel-style-1 {
  background: linear-gradient(135deg, #ffffff, #f0f2f7);
  border-top: 4px solid #ff2e49; /* ваша красная линия */
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  padding: 15px 30px 15px 30px;
  z-index: 1100;
}

.bottom-panel-style-1 .price-and-sale-block>div {
    width: 50%;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.bottom-panel-style-1 .old-price {
    text-decoration: line-through;
    text-wrap: nowrap;
}

.bottom-panel-style-1 .sale-block {
    background: #ff2e49;
    color: #fff;
}

.bottom-panel-style-1 .sale-block {
    padding: 2px 20px;
    border-radius: 8px;
    font-weight: bold;
    margin: 0 0 0 10px;
    text-wrap: nowrap;
}

.bottom-panel-style-1 .price-and-sale-block .price-new {
    color: #222;
}

.bottom-panel-style-1 .price-and-sale-block .price-new {
    font-weight: bold;
    font-size: 24px;
    text-wrap: nowrap;
}

.bottom-panel-btn-block {
    gap: 4px;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

section.bottom-panel-style-1 a {
    background: #ff2e49;
    color: #fff;
}

section.bottom-panel-style-1 a {
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    padding: 20px 0;
    width: 130px;
    border: none;
}

.button-bottom .flare {
  position: absolute;
  top: 0;
  left: -150%;           /* старт за левой границей */
  width: 45px;
  height: 100%;
  transform: skewX(-45deg);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0.4) 100%
  );
  animation: flareBottom 3s infinite linear;
}
@keyframes flareBottom {
  0%   { left: -150%; }
  100% { left: 150%; }
}