* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: 'HeliosExt';
  src: url('font/heliosext.otf') format('truetype');
  font-weight: 100;  /* тонкий */
  font-style: normal;
}

@font-face {
  font-family: 'RetroMono';
  src: url('font/Retro\ Mono\ Wide.ttf') format('truetype');
  font-weight: 100;  /* тонкий */
  font-style: normal;
}


html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'HeliosExt', sans-serif; /* підключення шрифту */
  scroll-behavior: smooth;
  
}

.logo {
  font-family: 'RetroMono', sans-serif; 
  position: absolute;   /* спочатку звичайне позиціонування */
  top: 15px;
  left: 15px;
  font-size: 40px;
  line-height: 1.4;
  color: #ffffff;
  z-index: 1000;
  user-select: none;
  transition: all 0.3s ease;
}

/* Коли активується "fixed" клас */
.logo.fixed {
  position: fixed;
  top: 15px;
  left: 15px;
}

.text-header {
  font-size: 30px;
}

.full-width-photo {
  height: auto;
  display: block;
  width: 100%;

}

.full-width-photo2 {
  height: auto;
  display: block;
  width: 100%;
  padding: 20px;
}



.text-header {
  padding: 16px;
}

.main {
  padding: 21px;
  padding-top: 15px;
}

.product-photo-big {
  justify-content: center;  /* центрує по горизонталі */
  align-items: center;      /* центрує по вертикалі */
  min-height: 100vh;        /* висота екрана */
}

.gallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 колонки у першому ряду */
  gap: 16px;                              /* відступи між фото */
  max-width: 1100px;                      /* ширина блоку галереї */
  margin: 0 auto;                         /* центрування блоку */
  
}

/* Плитки зображень */
.gallery .product-photo{
  display: block;
  position: relative;
  border-radius: 18px;     /* як у тебе на скріні */
  overflow: hidden;
}

/* Однакові висоти першого ряду */
.gallery .product-photo:nth-child(1),
.gallery .product-photo:nth-child(2){
  aspect-ratio: 4 / 3;     /* співвідношення сторін; змінюй за бажанням */
}

/* Нижня картинка — на всю ширину другого ряду */
.gallery .product-photo:nth-child(3){
  grid-column: 1 / -1;     /* розтягнути на 2 колонки */
  aspect-ratio: 16 / 9;    /* гарна широкоформатна пропорція */
}

/* Картинки заповнюють плитку без спотворень */
.gallery img{
  width: 100%;
  height: 100%;
  object-fit: cover;       /* обрізає зайве, зберігаючи пропорції */
  display: block;
}

/* Адаптив: на вузьких екранах — по одному в ряд */
@media (max-width: 200px){
  .gallery{
    grid-template-columns: 1fr;
  }
  .gallery .product-photo:nth-child(3){
    grid-column: auto;     /* вже не треба тягнутися на 2 колонки */
    aspect-ratio: 4 / 3;   /* щоб усі три були однакові на мобайлі */
  }
}

.price-box {
  border: 1.5px solid #000;
  border-radius: 12px;
  padding-left: 20px;
  padding-top: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 90px;
  background: #ffffff;
  padding-bottom: 10px;
}

.delivery {
  padding-top: 10px;
}

.btn {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: #ffffff;
  width: 100%;
  max-width: 320px;
  height: 70px;
  border-radius: 15px;
  position: fixed;          /* кнопка завжди прикріплена */
  bottom: 20px;             /* відступ віднизу */
  left: 50%;                /* по центру */
  transform: translateX(-50%);
  overflow: hidden;
  font-family: 'HeliosExt', sans-serif;
  font-weight: 500;
  z-index: 1000;
  transition: all 0.3s ease;
}

.highlight-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(1.1);
  width: 90%;
  height: 90%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9));
  border-radius: 15px;
  z-index: -1;
  transition: 0.3s;
}

.highlight-btn:hover::before {
  background: linear-gradient(to right, #ff9900, #ff6600);
  filter: brightness(1.2);
}

/* коли кнопка "відв’язується" */
.btn.stop {
  position: absolute;
  bottom: auto;
  transform: none;
}

.highlight-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(1.1);
  width: 90%;
  height: 90%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.9) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  filter: blur(0px);
  border-radius: 15px; /* щоб кути були м’які */
  z-index: -1;
}



.highlight {
  position: relative;
  z-index: 1;
}

.highlight::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) scaleX(1.1);
  width: 100%;
  height: 130%;
  background: linear-gradient(
    to right,
    rgba(255,150,50,0.6) 0%,
    rgba(2255,150,50,0.6) 50%,
    rgba(255,150,50,0.6) 100%
  );
  filter: blur(5px);
  border-radius: 15px; /* щоб кути були м’які */
  z-index: -1;
}

.section1 {
  padding-bottom: 15px;
}

.section2 {
  padding-top: 15px;
  padding-bottom: 15px;
}

.price-box p {
  margin: 0;
  font-size: 40px;
  color: #000000;
}

.price-box del {
  font-size: 19px;
  color: #333;
  opacity: 1;
}

footer {
  background: #0f0f0f;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  border-top: 2px solid rgba(255, 140, 0, 0.4);
  position: relative;
}

/* Заголовок */
footer h2 {
  font-family: 'HeliosExt', sans-serif;
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* Форма */
.formbuy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

/* Поля */
.formbuy input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: 0.3s ease;
  font-family: 'HeliosExt', sans-serif;
}

.formbuy input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Ефект при фокусі */
.formbuy input:focus {
  border-color: rgba(255, 150, 0, 0.8);
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.6);
}

/* Кнопка */
.btn-submit {
  all: unset;
  cursor: pointer;
  width: 100%;
  background: linear-gradient(to right, #ff9900, #ff6600);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s ease;
  font-family: 'HeliosExt', sans-serif;
}

.btn-submit:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* Маленький текст унизу */
.footer-note {
  margin-top: 60px;
  font-size: 14px;
  opacity: 0.6;
}

/* Адаптив для телефонів */
@media (max-width: 600px) {
  footer {
    padding: 60px 15px;
  }

  footer h2 {
    font-size: 28px;
  }

  .btn-submit {
    font-size: 16px;
  }
}