/* Babushkalet — main styles (see docs/development_guide.md) */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  background: #f5f5f7;
  color: #111;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.wrapper {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  background: #fff;
  overflow-x: hidden;
}

main {
  padding: 16px 0 24px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

section {
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

#specs {
  margin-top: 0;
}

section h2 {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  border-left: 4px solid #0090DB;
  color: #0090DB;
  padding-left: 8px;
}

p {
  margin-bottom: 8px;
  font-size: 15px;
}

.center-btn {
  text-align: center;
  margin-top: 16px;
}

.stock-and-btn {
  text-align: center;
  margin-top: 16px;
}

.stock-and-btn .stock-text {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 0;
}

.stock-and-btn .stock-num {
  display: inline-block;
  min-width: 1.4em;
  text-align: center;
  padding: 2px 6px;
  font-weight: 800;
  color: #fff;
  background: #0090DB;
  border: 2px solid #0090DB;
  border-radius: 4px;
  margin: 0 2px;
}

.stock-and-btn .btn-order {
  margin-top: 12px;
}

.btn-order.btn_first {
  position: relative;
  overflow: hidden;
}

.btn-order.btn_first::after {
  content: "";
  position: absolute;
  top: 0;
  left: -200px;
  width: 60px;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  filter: blur(20px);
  transform: skewX(-25deg) translateZ(0);
  animation-name: btn-slideme;
  animation-duration: 3s;
  animation-delay: 0.05s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

@keyframes btn-slideme {
  0% { left: -30px; }
  30% { left: 110%; }
  100% { left: 110%; }
}

.btn-order {
  display: inline-block;
  padding: 15px 30px;
  margin: 0;
  background: linear-gradient(90deg, rgb(255, 203, 3) 0%, rgb(254, 159, 22) 50%, rgb(255, 203, 3) 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 18px;
  box-shadow: none;
  transition: none;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  text-align: center;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-transform: uppercase;
}

.btn-order:focus,
.btn-order:active,
.btn-order:focus-visible {
  outline: none;
  border: none;
}

.header-image,
.section-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0;
  object-fit: contain;
}

.description-frame {
  width: 100%;
  max-width: calc(100% - 1cm);
  box-sizing: border-box;
  margin: 0 auto;
}

.description-frame p {
  margin-bottom: 0;
}

.text-frame {
  width: 100%;
  max-width: calc(100% - 1cm);
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.text-frame p {
  margin-bottom: 8px;
}

.text-frame p:last-child {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
}

form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  margin-top: 10px;
}

form .btn-order {
  margin-top: 15px;
}

.form-group {
  margin-bottom: 8px;
}

.form-label {
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

input, textarea, select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: none;
}

footer {
  padding: 16px 8px 8px;
  font-size: 12px;
  color: #777;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

footer a {
  color: #555;
  text-decoration: underline;
  margin: 0 4px;
  font-size: 12px;
}

.footer-links {
  margin-top: 4px;
}

.cookie {
  margin-top: 4px;
  font-size: 11px;
  color: #999;
}

video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.video-wrap {
  margin: 20px 0;
  position: relative;
  display: block;
  width: 100%;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 203, 3, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-play-btn svg {
  margin-left: 4px;
}

.section-image--top {
  margin-top: 10px;
}

.section-image--block {
  margin-top: 0;
  display: block;
  vertical-align: top;
}

.section-image--rounded {
  border-radius: 8px;
}

#reviews .section-image + .section-image {
  margin-top: 24px;
}

.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }

.cf-turnstile {
  margin: 12px auto;
}

.turnstile-wrap {
  display: flex;
  justify-content: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 600px) {
  .wrapper { padding: 10px; }
  .header-image, .section-image { max-width: 100%; }
  input, textarea, select { font-size: 16px; }
}
