*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #ffffff;
  color: #121212;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px;
}

.section {
  padding: 32px 0;
}

.section-light {
  background-color: #ffffff;
}

.section-dark {
  background-color: #262b30;
  color: #ffffff;
}

.section-title {
  margin: 0 0 24px;
  font-size: 22px;
  text-align: left;
}

.section-title-light {
  color: #ffffff;
}

/* Бегущая строка над каталогом */
#catalog.section {
  padding-top: 0;
}

#catalog .container {
  padding-top: 0;
}

.info-marquee {
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 20px;
  padding: 10px 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 159, 42, 0.25);
  background: linear-gradient(90deg, rgba(255, 159, 42, 0.06) 0%, rgba(255, 159, 42, 0.12) 50%, rgba(255, 159, 42, 0.06) 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.info-marquee__inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: info-marquee-scroll 28s linear infinite;
}

.info-marquee__item {
  flex-shrink: 0;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  white-space: nowrap;
}

.info-marquee__item::after {
  content: " • ";
  margin-left: 4px;
  color: rgba(255, 159, 42, 0.6);
  font-weight: 400;
}

.info-marquee__item:last-child::after {
  content: "";
  margin-left: 0;
}

@keyframes info-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease;
}

.section-title,
.section-title-light,
.product-title,
.product-page .product-title,
.price-old,
.price-new,
.btn {
  font-weight: 700 !important;
}

.btn-primary {
  background-color: #ff9f2a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 159, 42, 0.45);
}

.btn-primary:hover {
  background-color: #ff8a00;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 159, 42, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Кнопки «Смотреть каталог» — без тени */
.hero .btn-primary,
.order-bottom .btn-primary {
  box-shadow: none;
}
.hero .btn-primary:hover,
.order-bottom .btn-primary:hover {
  box-shadow: none;
}
.hero .btn-primary:active,
.order-bottom .btn-primary:active {
  box-shadow: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.85));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 16px 40px;
  text-align: center;
}

.hero-logo {
  width: 200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

.hero-subtitle {
  margin: 0 0 24px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}

.hero-btn {
  width: 100%;
  font-weight: 700;
}

.hero-arrow {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.hero-arrow span {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  opacity: 0.85;
  animation: hero-arrow-bounce 1.4s infinite ease-in-out;
}

@keyframes hero-arrow-bounce {
  0% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.85;
  }
  40% {
    transform: translateY(6px) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.85;
  }
}

/* Product cards */

.product-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: visible;
  margin-bottom: 20px;
}

.product-card picture {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  animation: product-image-glow 4s linear infinite;
}

@keyframes product-image-glow {
  0% {
    box-shadow: 0 -4px 14px 2px rgba(255, 159, 42, 0.4),
                4px 0 10px 1px rgba(255, 138, 0, 0.08),
                0 4px 10px 1px rgba(255, 138, 0, 0.08),
                -4px 0 10px 1px rgba(255, 138, 0, 0.08);
  }
  25% {
    box-shadow: 0 -4px 10px 1px rgba(255, 138, 0, 0.08),
                4px 0 14px 2px rgba(255, 159, 42, 0.4),
                0 4px 10px 1px rgba(255, 138, 0, 0.08),
                -4px 0 10px 1px rgba(255, 138, 0, 0.08);
  }
  50% {
    box-shadow: 0 -4px 10px 1px rgba(255, 138, 0, 0.08),
                4px 0 10px 1px rgba(255, 138, 0, 0.08),
                0 4px 14px 2px rgba(255, 159, 42, 0.4),
                -4px 0 10px 1px rgba(255, 138, 0, 0.08);
  }
  75% {
    box-shadow: 0 -4px 10px 1px rgba(255, 138, 0, 0.08),
                4px 0 10px 1px rgba(255, 138, 0, 0.08),
                0 4px 10px 1px rgba(255, 138, 0, 0.08),
                -4px 0 14px 2px rgba(255, 159, 42, 0.4);
  }
  100% {
    box-shadow: 0 -4px 14px 2px rgba(255, 159, 42, 0.4),
                4px 0 10px 1px rgba(255, 138, 0, 0.08),
                0 4px 10px 1px rgba(255, 138, 0, 0.08),
                -4px 0 10px 1px rgba(255, 138, 0, 0.08);
  }
}

.product-image {
  width: 100%;
  display: block;
  vertical-align: middle;
}

.product-content {
  padding: 16px 16px 18px;
  border-radius: 0 0 12px 12px;
  background-color: #ffffff;
}

.product-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.product-desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: #555555;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.price-old {
  font-size: 14px;
  font-weight: 700;
  color: #444444;
  text-decoration: line-through;
}

.price-new {
  font-size: 18px;
  font-weight: 700;
  color: #ff8a00;
}

.product-card .btn {
  width: 100%;
  font-weight: 700 !important;
  font-weight: bold !important;
  -webkit-font-smoothing: antialiased;
  font-synthesis: weight;
}

/* Волны от центра кнопки «Выбрать товар» — две волны через реальные элементы */
.product-card .btn-primary {
  position: relative;
  overflow: hidden;
}

.product-card .btn-primary .btn__text {
  position: relative;
  z-index: 1;
}

.product-card .btn-primary .btn__wave {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  border-radius: 50%;
  border: 3px solid rgba(255, 159, 42, 0.6);
  box-sizing: border-box;
  transform-origin: center center;
  animation: btn-wave-out 4.4s ease-out infinite;
  pointer-events: none;
}

.product-card .btn-primary .btn__wave--1 {
  z-index: 0;
}

.product-card .btn-primary .btn__wave--2 {
  z-index: 0;
  border-color: rgba(255, 138, 0, 0.55);
  animation-name: btn-wave-out-2;
  animation-delay: -2.2s;
}

@keyframes btn-wave-out {
  0% {
    transform: scale(0.2);
    opacity: 0.9;
  }
  100% {
    transform: scale(25);
    opacity: 0;
  }
}

@keyframes btn-wave-out-2 {
  0% {
    transform: scale(0.2);
    opacity: 0.9;
  }
  100% {
    transform: scale(25);
    opacity: 0;
  }
}

/* Имитация жирного для кнопок на мобильных (не зависит от загрузки шрифта) */
@media (max-width: 767px) {
  .product-card .btn,
  .order-modal .btn-primary,
  .order-bottom .btn-primary,
  .hero .btn-primary {
    font-weight: 700 !important;
    font-weight: bold !important;
    text-shadow: 0.03em 0 0 currentColor,
                 -0.03em 0 0 currentColor,
                 0 0.03em 0 currentColor,
                 0 -0.03em 0 currentColor;
  }
}

/* Advantages */

.advantages {
  padding-top: 40px;
  padding-bottom: 40px;
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantage-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.advantage-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.advantage-text h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.advantage-text p {
  margin: 0;
  font-size: 14px;
  color: #e6e6e6;
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.step-card {
  padding: 16px 10px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.step-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 13px;
  color: #555555;
}

.order-bottom .btn {
  width: 100%;
  margin-bottom: 16px;
}

.rating-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background-color: #f7f7f7;
  font-size: 12px;
}

.rating-left {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ff9f2a;
}

.rating-right {
  color: #999999;
}

.rating-stars {
  letter-spacing: 1px;
}

.rating-score {
  font-weight: 700;
}

/* Модальное окно заказа на главной */

.order-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.order-modal.is-open {
  display: flex;
}

.order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.order-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 16px;
}

.order-modal .order-form {
  background-color: #ffffff;
}

.order-modal-product {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.order-modal-close {
  position: absolute;
  top: -10px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.order-modal-close:active {
  transform: scale(0.95);
}

/* Footer */

.footer {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5));
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 16px 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 95px;
}

.footer-slogan {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.footer-info {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-info p {
  margin: 0 0 4px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.footer-links a {
  color: #f1f1f1;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 0;
  display: inline-block;
}

/* Формы и лендинги товаров */

.product-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.product-page main {
  flex: 1;
}

.product-page .top-bar {
  padding: 16px;
  display: flex;
  justify-content: center;
}

.product-page .top-bar img {
  width: 110px;
}

.product-page .product-hero {
  width: 100%;
}

.product-page .product-main {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 16px 32px;
}

.product-page .product-title {
  font-size: 20px;
  margin: 0 0 8px;
}

.product-page .product-desc {
  font-size: 14px;
  color: #555555;
  margin: 0 0 12px;
}

.product-page .product-prices {
  margin-bottom: 16px;
}

.badge-hit {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background-color: rgba(255, 159, 42, 0.1);
  color: #ff8a00;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.order-form {
  margin-top: 20px;
  padding: 16px 14px 18px;
  border-radius: 12px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.order-form h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.order-form p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #555555;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #d5d5d5;
  font-size: 14px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 68px;
}

.form-note {
  font-size: 11px;
  color: #777777;
  margin-bottom: 12px;
}

.order-form .btn {
  width: 100%;
}

.back-link {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #888888;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Страницы документов / спасибо */

.simple-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 16px 40px;
  font-size: 14px;
  line-height: 1.6;
}

.simple-page h1 {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 16px;
}

.simple-page h2 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.simple-page a {
  color: #ff8a00;
}

.simple-page .btn-primary {
  color: #ffffff !important;
}

@media (min-width: 768px) {
  body {
    background-color: #f1f1f1;
  }

  .hero-inner,
  .footer-inner {
    border-radius: 24px;
    margin: 16px auto;
  }

  .section .container {
    border-radius: 24px;
    background-color: inherit;
  }
}


