/* Головний екран */


@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body{
    margin: 0;
     padding: 0;
     font-family: 'Montserrat', sans-serif;
     overflow-x: hidden;
     
}

body {
  background: #2b2c36;
margin: 0;
  padding: 0;
    overflow-x: hidden;

}

html{
  scroll-behavior: smooth;
}

#header{
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background-color: transparent; /* Спочатку прозорий */
    transition:  0.3s ease; /* Плавна зміна */
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  min-height: 100px;
  transition: 0.3s;
}

#header.scrolled{
background: #2b2c36c0;
backdrop-filter: blur(5px);
}

#header.scrolled .logo{
transform:scale(0.8);
}

#header.scrolled .hd{
transform:scale(0.8);
}

.headr{
  position: relative;

   width: auto;
    height: 100px;
    display: flex;
    justify-content: space-between; /* Лого зліва, меню справа */
    align-items: center;
    padding: 0 4%; /* Відступи від країв екрана */
    box-sizing: border-box;
}

.dropdown,
.dropdown1 {
  min-width: 180px;
}
.hd{
 display: flex;
   align-items: center;

    gap: 15px; /* Відстань між кнопками меню */
    list-style: none;
    margin: 0;
    padding: 0;
    transition: 0.3s;
}

.header-text{
  font-size: 24px; /* Було завелике */
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 15px;
    white-space: nowrap; /* Щоб текст не переносився */
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;

}

.logo {
  
height: 220px;
width:auto;
transition:0.3s;
flex-shrink: 0;
}


.basket {
    display: flex; /* Змінив на flex для центрування */
  
    width: 35px; 
    height: 35px;
    margin-left: 20px; 
    text-decoration: none;
}



.basket:hover {
color:red;
}





.slider {

  justify-content: center;
  margin-left: 20%;
  margin-top: 100px;
  position: relative;
  width: 100%;
  max-width: 60%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Додаємо тінь для естетики */
}
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slides img {
  width: 100%;
  flex-shrink: 0;
}

.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
}
.slider button.prev {
  left: 10px;
}
.slider button.next {
  right: 10px;
}



h1{
text-align: center;
    font-family: 'Cascadia Mono', sans-serif;
    letter-spacing: 3px;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.1;
    color: #FFFFFF !important; /* Тільки білий колір */
    margin-top: 150px; /* Збільшений відступ, щоб не залізало під фіксований хедер */
    margin-bottom: 40px;
    line-height: 1.4
}








.photo-row {
  margin-left: 10%;
  display: flex;
  justify-content: space-between; /* Рівномірний відступ між фото */
  align-items: center;
  width: 80%; /* Загальна ширина блоку */
  gap: 40px; /* Відстань між фото */
}

.photo-card {
  position: relative;
  width: 100%; /* Займає доступну ширину (адаптивність) */
  aspect-ratio: 3 / 4; /* Пропорції вертикального фото */
  border-radius: 20px; /* Заокруглені краї */
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Тінь для краси */
  flex: 1; /* Фото рівномірно ділять доступний простір */
  transform: scale(1);
  transition: transform 0.1s linear;
  margin-top: 120px;

}

.photo-card h2{
  font-size:32px;
  font-weight:700;
}

.photo-card p{
    font-size:18px;
    line-height:1.5;
}



.photo-card:hover{
  transform: scale(1.05);

}




.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Фото заповнює блок, не спотворюючись */
}

.overlay { /*карточки*/
  background-color: #363845;
 border-radius: 20px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  

  color: white;
  text-align: left;

  background: linear-gradient(135deg, #2b2f3c, #444a5c);
  border-radius: 20px;
  padding: 30px;
  color: white;

  transition: 0.3s;
}

.overlay h2,
.overlay p {
  margin-left: 0;
  margin-right: 0;
}

.overlay h2 {
 font-size: 26px;
  font-weight: 700;
  line-height: 1; /* максимально стискає */
  margin: 0;
}

.overlay h2 span { /*Головне слово*/
  display: block;
  color: red;
  font-size: 30px;
  margin: 0;

  transform: translateY(2px);
}

.overlay p { /*текст карточки*/
  font-size: 16px;
  line-height: 1.1;
  color: #dcdcdc;
  max-width: 90%;
}

.photo-row {
  display: flex;
  gap: 30px;
}

.photo-card {
  flex: 1;
  height: 300px;
}

.photo-card:hover .overlay {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}





.container {
  margin-top: 100px;
  background-color: #2F3341;
  display: flex;
  width: 100%;
  padding: 0px; /* Відступи від країв */
  gap: 0px; /* Відстань між лівою і правою половиною */
    margin: 0 auto;

}

.left-side,
.right-side {
  flex: 1; /* Кожна половина займає однакову частину */
}
.author-left{
  padding-left: 20px;
}


.photo-with-text {
  position: relative;
  width: 70%; /* Ширина фото становить 60% від лівої половини */
  margin: 0 auto; /* Центрування фото всередині лівої половини */
  aspect-ratio: 3 / 4; /* Пропорції фото (вища висота, ніж ширина) */
  border-radius: 20px; /* Заокруглені краї фото */
  overflow: hidden;
}

.photo-with-text img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Фото заповнює блок, не спотворюючись */
}

.photo-with-text .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 10px;

  text-align: center;
}

.photo-with-text .overlay p {
  margin: 5px 0; /* Відстань між рядками тексту */
  font-size: 20px; /* Трохи більший шрифт для тексту поверх фото */
  font-weight: bold;
}

.right-side p {
  font-size: 24px; /* Трохи більший шрифт для правої частини */
  line-height: 1.8; /* Висота між рядками для зручності читання */
  color: #333; /* Темно-сірий текст */
}






  /* Стилі для кнопки */
  #scrollToTop {
    display: none; /* Ховаємо кнопку спочатку */
    position: fixed;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background-color: #94989d70;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
#scrollToTop:hover {
    background-color: #1a7bc5b4;
}




.hero{
    position: relative;
    min-height: 100vh;
  width: 100%;
    overflow: hidden;
    
}

.hero-video{
    position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content{
   position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    max-width: 700vh;
}

.hero-button{
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    transform: translateX(-2%);
    text-align: left;
}




.order-btn{
    background: red;
    color: white;
}




.order-btn{
    display: inline-block;
    padding: 18px 90px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s;
    margin-right: 20px;
}

.order-katalog{
    display: inline-block;
    padding: 20px 90px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s;
    margin-right: 20px;
}
/* Контурна кнопка */
.order-katalog{
    border:2px solid white;
    color:white;
}

.order-katalog:hover{
    background: white;
    color: black;
}


.order-btn:hover{
    background: white;
    color: black;
}


.hero-small{

font-size:56px;
font-weight:600;
margin-bottom:10px;
text-align: left;
color: white;

}

.hero-title{
font-size:90px;
font-weight:800;
color:red;
margin-bottom:20px;
white-space:nowrap;  /* не переносити на новий рядок */
}

.hero-text{
font-size:24px;
line-height:1.4;
margin-bottom:40px;
}


.video-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:105%;
background: rgba(0,0,0,0.3); /* рівень затемнення */
}




.hd{
display:flex;
align-items:center;
gap:40px;
list-style:none;
}

.hd li{
position:relative;
list-style:none;
}

.hd a{
text-decoration:none;
color:white;
}
/*Каталог*/
.dropdown li{

list-style:none;
}

.dropdown a{
display: block;
padding: 14px 25px;
color: #e8e8e8;
text-decoration: none;
transition: all 0.2s;
}

.dropdown a:hover {
    background: #777e8a; /* світліший сірий */
}


.dropdown{
position:absolute;
top:40px;
left:0;

background:#2F3341;

padding:10px 0;

opacity:0;
visibility:hidden;
transform:translateY(10px);

transition:0.3s;
z-index: 1100
}

.menu-item:hover .dropdown{
opacity:1;
visibility:visible;
transform:translateY(0);
display: block;
}



.menu-item:hover .header-text{
color:red;
}

.arrow {
  display: inline-block;
  width: 30px;   /* розмір стрілки */
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transform: translateY(5px);
}
/*кінець каталога*/


/* ПОСЛУГИ */
.dropdown1 li{

list-style:none;
}

.dropdown1 a{
display: block;
padding: 14px 25px;
color: #e8e8e8;
text-decoration: none;
transition: all 0.2s;
}

.dropdown1 a:hover {
    background: #777e8a; /* світліший сірий */
}


.dropdown1{
position:absolute;
top:40px;
left:0;

background:#2F3341;

padding:10px 0;

opacity:0;
visibility:hidden;
transform:translateY(10px);

transition:0.3s;
z-index: 1100
}

.menu-item1:hover .dropdown1{
opacity:1;
visibility:visible;
transform:translateY(0);


}



.menu-item1:hover .header-text{
color:red;
}

.arrow1 { /*Стрілка*/
  width: 30px;   /* розмір стрілки */
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transform: translateY(5px);
}

/* КІНЕЦЬ ПОСЛУГ */

.header-text:hover {
  color:red;
}



/*Поширенні питання*/
.faq {
  max-width: 180vh;
  margin: 0 auto;
  color: white;
}

.faq h2 {
  text-align: center;
  margin-bottom: 4vh;
  font-size: 5vh;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  transition: 0.3s;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.faq-question span {
  transition: 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  color: #ccc;
  margin-top: 20px;
  transition: 0.4s ease;
}

/* коли відкрито */
.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .arrow2{
  transform: rotate(-135deg);
}

.arrow2 {
  display: inline-block;
 width: 10px;   /* розмір стрілки */
  height: 10px;
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.faq-item.active .arrow2 {
  border-color: red;
  transition: 0.3s;
}


.faq-section {
  padding-top: 10vh;
  padding-bottom: 8vh;
}

.faq-item.active .faq-question {
  color: red;
  transition: 0.3s;
}


/*Кінець поширених питань*/

/*Футер*/

.footer {
  background: #2b2c36;
    color: white;
    padding: 60px 40px;
    margin-top: 50px; /* Відштовхуємо футер від контенту */
    width: 100%;
    box-sizing: border-box;
}

.footer-title {
  text-align: center;
  margin-bottom: 70px;
  font-size: 48px;
  color: #ffffff !important;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-col h3 {
  margin-bottom: 25px;
  color: #ffffff; /* Заголовки краще робити білими */
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-item {
  color: white;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-item .icon {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #ff3b3b; /* Колір самої іконки */
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 20px;
  cursor: pointer;
  transition: 0.3s;
  color: White;
}

.footer-col ul li:hover {
  color: #ff3b3b;
}

/* соц мережі */
.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social {
    text-decoration: none; /* Прибрати підкреслення посилання */
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Кругла форма замість квадратів */
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social:hover {
    background: #ff3b3b;
    border-color: #ff3b3b;
    transform: translateY(-3px); /* Легкий підйом при наведенні */
    color: white;
}

/* низ */
.footer-bottom {
  color:white;
   display: block;
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444; /* лінія як у тебе */
    font-size: 14px;
}

.footer-bottom:hover {
  color: red;
  transition: 0.3s;
}


/*кінець футера*/


/* 1. Основний контейнер каталогу */
.catalog {
    padding-top: 160px !important; /* Відступ, щоб не залізало під фіксований хедер */
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* 2. Заголовок секції */
.catalog h1 {
    color: #ffffff !important;
    text-align: center;
    margin-bottom: 50px;
    font-size: 42px;
    font-family: 'Cascadia Mono', monospace;
}

/* 3. Сітка товарів */
#catalog {
    display: grid;
    /* Створює колонки, які підлаштовуються під ширину екрану */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}


/* Контейнер карток */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Центруємо картки на сторінці */
    padding: 20px;
}

/* Картка */
.product-card {
    width: 300px;
    height: 550px;
    background: #333440c0; /* Змінив на темно-сірий, щоб було видно білий текст */
    border-radius: 10px;
    padding: 25px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            margin-top: 20px;    /* Відступ ЗВЕРХУ (від тексту заголовка) */
    margin-bottom: 25px;

}

.product-card:hover {
    transform: translateY(-10px);
   box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: #e44d26; /* Картка підсвічується при наведенні */
}

/* Фото */
.product-card img {
  border-radius: 10px;
    margin-bottom: 15px;
    width: 100%;
    height: 300px;
    object-fit: contain;
}

/* Текст */
.product-info h3 {
    color: #ffffff !important; /* Тепер це буде видно на темно-сірому фоні */
    font-size: 18px; /* Трохи менше, щоб не розривало картку */
    margin: 10px 0 15px 0;
    font-family: 'Montserrat', sans-serif;
    min-height: 50px;
    
}

.product-card h3 {
    margin-bottom: 0px;    /* Скасовуємо стандартний відступ знизу, щоб ціна контролювала відступ */
}

.price {
  
    font-weight: bold;
    color: #e44d26;
    font-size: 20px;
    margin-bottom: 20px;
}

/* Кнопка */
.buy-btn {
  
    background: #e44d26; /* Зробив яскравішою */
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 40px; /* Притискає кнопку до низу, якщо картки різної висоти */
    position: static !important; /* Скасовує будь-які спроби "вилетіти" з картки */
    display: block;             /* Робить кнопку блоком */
    box-sizing: border-box;
  }

  .buy-btn:hover{
background: #ff5a30;
  }






/*сторінка товару*/
  .product-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    color: white;
}

.left-col img {
    width: 500px; /* Велике фото */
    border-radius: 10px;
}

.right-col {
    flex: 1;
}

#product-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.price-val {
    font-size: 32px;
    font-weight: bold;
    color: #e44d26;
    margin-bottom: 30px;
}

.buy-btn {
  
    padding: 15px 30px;
    background: #e44d26;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

/*кінець сторінки товару*/

/* Прибираємо синюшність та підкреслення */
a.product-card {
    text-decoration: none !important; /* Прибирає лінії під текстом */
    color: inherit; /* Залишає білий колір тексту, а не синій */
    display: flex; /* Повертає картці властивості флекс-контейнера */
}

/* Прибираємо "фантомні" рамки при натисканні */
a.product-card:focus, 
a.product-card:active {
    outline: none;
    text-decoration: none;
}





.product-page-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px 20px;
  align-items: start;
  color: white;
}

/* Стилі для фото */
.product-left img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Стилі для правої частини */
.product-right {
    display: flex;
    flex-direction: column;
    text-align: left; /* Скасовуємо центрування тексту */
}

#product-title {
    font-size: 32px;
    margin-top: 0;
    line-height: 1.2;
}

.product-price {
    font-size: 36px;
    color: #e44d26;
    font-weight: bold;
    margin: 20px 0;
}

.product-meta {
    background: #2d2d2d;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-description {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 30px;
}

.add-to-cart-btn {
    background: #e44d26;
    color: white;
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.add-to-cart-btn:hover {
    background: #ff5a30;
}

/* Адаптивність: на мобілках буде одна колонка */




.tabs-container {
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 10px;
    flex-direction: column; 
    align-items: flex-start;
    max-width: 1200px; /* така ж як у фото */
  margin: 0 auto;
}

.tabs-buttons {
    border-bottom: 1px solid #333; /* Лінія на всю ширину під кнопками */
    width: 100%;
    margin-bottom: 50px;
        text-align: left;
  display: flex;
  gap: 20px;
  margin-top: 15px;

}

.tab-btn {
    background: none;
    border: none;
    color: #888;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 0;
    font-size: 20px;
    text-transform: uppercase;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: white;
}

.tab-btn.active {
    color: #e44d26; /* Твій помаранчево-червоний колір */
    border-bottom: 3px solid #e44d26;
}

.tab-content {
    display: none; /* Ховаємо всі за замовчуванням */
    color: #ccc;
    line-height: 1.6;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}




.cart-page {
  padding: 40px 20px;
  min-height: 80vh;
  color: white;
}

/* заголовок */
.cart-title {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

/* контейнер (ЦЕНТР СТОРІНКИ) */
.cart-container {
  max-width: 900px;
  margin: 0 auto;
}

/* список товарів */
.cart-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* карточка товару */
.cart-item {
  display: flex;
  align-items: center;
  background: #2F3341;
  padding: 20px;
  border-radius: 12px;
  gap: 20px;
  transition: 0.3s;
}

.cart-item:hover {
  transform: translateY(-3px);
}

/* фото */
.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

/* назва */
.cart-item h4 {
  flex-grow: 1;
  margin: 0;
  font-size: 18px;
}

/* ціна */
.cart-item .price {
  color: #e44d26;
  font-weight: bold;
  font-size: 20px;
}

/* кнопки */
.cart-actions {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* кнопка очистити */
.clear-btn {
  background: #444;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.clear-btn:hover {
  background: #666;
}

/* кнопка назад */
.back-btn {
  background: #e44d26;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.back-btn:hover {
  background: white;
}

/* пустий кошик */
.empty-cart {
  text-align: center;
  margin-top: 50px;
  opacity: 0.6;
  font-size: 18px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty button {
  padding: 5px 10px;
  cursor: pointer;
}


/* Прибираємо підкреслення та фіолетовий колір для всіх станів посилання */
a {
    text-decoration: none !important; /* Прибирає лінію знизу */
    color: inherit; /* Змушує посилання бути того ж кольору, що і текст навколо (білим) */
}

/* Окремо прописуємо для відвіданих та активних посилань, щоб не синіли */
a:visited, a:active, a:focus {
    text-decoration: none;
    color: white; /* Або інший твій колір тексту */
}

/* Якщо хочеш, щоб при наведенні воно трохи підсвічувалось (опціонально) */
a:hover {
    color: #e44d26; /* Твій помаранчевий колір */
    transition: 0.3s;
}




.checkout-page {
  padding: 140px 20px 80px;
  color: white;
}

.checkout-page h1 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 40px;
}

.checkout-container {
   max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 30px;
  align-items: start;
}

form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#order-form input,
#order-form textarea {
  width: 100%;
  background: #1f2230;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 15px 16px;
  color: white;
  font-size: 16px;
  outline: none;
  transition: 0.3s ease;
}



.checkout-cart {
  flex: 1;
  background: #2f3341;
  padding: 20px;
  border-radius: 10px;
}

.checkout-btn {
  background: #e44d26;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}


.checkout-btn:hover {
  background-color: white;
}

.checkout-cart h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

#checkout-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
#order-form,
.checkout-cart {
  background: #2f3341;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

#order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#order-form input:focus,
#order-form textarea:focus {
  border-color: #e44d26;
  box-shadow: 0 0 0 3px rgba(228, 77, 38, 0.15);
}

#order-form textarea {
  min-height: 140px;
  resize: vertical;
}

#order-form button {
  background: #e44d26;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

#order-form button:hover {
  background: #ff5b2f;
  transform: translateY(-2px);
}


.checkout-item {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.checkout-item-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.checkout-item-meta {
  color: #c7cad1;
  font-size: 14px;
}

.checkout-total {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  color: #e44d26;
}






.order-success {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.order-success.active {
  display: flex;
}

.order-success-box {
  background: #2f3341;
  color: white;
  padding: 30px;
  border-radius: 20px;
  max-width: 420px;
  width: calc(100% - 30px);
  text-align: center;
}

.order-success-box h2 {
  margin-bottom: 10px;
}

.order-success-box p {
  color: #c7cad1;
}

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

.about {
  padding: 110px 20px 90px;
  color: white;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about h2 {
  text-align: center;
  font-size: 46px;
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-intro {
  max-width: 950px;
  margin: 0 auto 60px;
  font-size: 22px;
  line-height: 1.8;
  text-align: center;
  color: #d7d9df;
}

/* карточки переваг */
.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 60px;
}

.about-card {
  background: linear-gradient(180deg, #34394b, #2b3040);
  padding: 28px 24px;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.04);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.about-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: #e44d26;
  line-height: 1.3;
}

.about-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #d7d9df;
}

/* основні текстові блоки */
.about-block {
  position: relative;
  background: linear-gradient(180deg, #323748, #2a2f3f);
  padding: 32px 32px 32px 36px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}

.about-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  background: #e44d26;
  border-radius: 10px;
}

.about-block h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: white;
  line-height: 1.3;
}

.about-block p {
  font-size: 20px;
  line-height: 1.85;
  color: #d7d9df;
}

/* маленький акцентний блок внизу */
.about-cta {
  margin-top: 40px;
  background: linear-gradient(135deg, #e44d26, #ff6a3b);
  border-radius: 22px;
  padding: 30px;
  text-align: center;
  color: white;
  box-shadow: 0 18px 40px rgba(228, 77, 38, 0.22);
}

.about-cta h3 {
  font-size: 30px;
  margin-bottom: 10px;
}

.about-cta p {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.95;
}

/* адаптив */




/* ===== НАШІ РОБОТИ ===== */

.works {
  padding: 100px 20px;
  color: white;
}

.works-container {
  max-width: 1300px;
  margin: 0 auto;
}

.works h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 40px;
}

/* GRID */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* CARD */
.work-card {
  position: relative;
  height: 350px; /* 🔥 всі рівні */
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

/* IMAGE */
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* 🔥 головне */
  object-position: center; /* 🔥 центр фото */
  transition: 0.4s ease;
}

/* OVERLAY */
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.1)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: 0.3s ease;
}

.work-overlay h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.work-overlay p {
  font-size: 14px;
  color: #ccc;
}

/* HOVER ЕФЕКТИ */
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.3);
}

.work-card:hover img {
  transform: scale(1.1);
}

.work-card:hover .work-overlay {
  opacity: 1;
}

/* ===== АДАПТИВ ===== */

















.policy-page {
  padding: 120px 20px 80px;
  color: white;
}

.policy-container {
  max-width: 1200px;
  margin: 0 auto;
}

.policy-page h1 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 40px;
}

.policy-content {
  max-width: 1400px;
  margin: 0 auto;
  line-height: 1.7;
}

.policy-content h2 {
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: white;
}

.policy-content p {
  font-size: 18px;
  color: #f1f1f1;
  margin-bottom: 24px;
}

.policy-content a {
  color: #ff2d2d;
  text-decoration: none;
  transition: 0.3s ease;
}

.policy-content a:hover {
  color: white;
}




.delivery-page {
    background: #2b2c36;
    color: white;
    min-height: 100vh;
}

.delivery-section,
.payment-section {
    padding: 80px 20px;
}

.delivery-section {
    background: #2b2c36;
}

.payment-section {
    background: #454149;
}

.delivery-container {
    max-width: 1300px;
    margin: 0 auto;
}

.delivery-title {
    text-align: center;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 70px;
    color: white;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    align-items: start;
}

.delivery-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.delivery-icon {
    color: red;
    font-size: 34px;
    flex-shrink: 0;
    margin-top: 8px;
}

.delivery-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.2;
    color: white;
}

.delivery-card p {
    font-size: 20px;
    line-height: 1.5;
    color: #f1f1f1;
    max-width: 320px;
}





.storage-page {
    background: #2b2c36;
    min-height: 100vh;
    color: white;
}

.storage-section {
    padding: 70px 20px 90px;
}

.storage-container {
    max-width: 1320px;
    margin: 0 auto;
}

.storage-title {
    text-align: center;
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 35px;
    color: white;
}

.storage-intro {
    font-size: 22px;
    line-height: 1.6;
    color: white;
    margin-bottom: 55px;
    max-width: 1450px;
}

.storage-intro span {
    color: red;
    font-weight: 700;
}

.storage-list {
    display: flex;
    flex-direction: column;
    gap: 42px;
    margin-bottom: 70px;
}

.storage-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.storage-icon {
    color: red;
    font-size: 34px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 8px;
}

.storage-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    color: white;
}

.storage-content p {
    font-size: 21px;
    line-height: 1.6;
    color: #f1f1f1;
    max-width: 1250px;
}





.install-page {
    background: #2b2c36;
    min-height: 100vh;
    color: white;
}

.install-section {
    padding: 70px 20px 90px;
}

.install-container {
    max-width: 1320px;
    margin: 0 auto;
}

.install-title {
    text-align: center;
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 30px;
    color: white;
}

.install-intro {
    font-size: 22px;
    line-height: 1.6;
    color: white;
    max-width: 1450px;
    margin-bottom: 55px;
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-bottom: 90px;
    align-items: start;
}

.install-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.install-icon {
    color: red;
    font-size: 34px;
    flex-shrink: 0;
    margin-top: 8px;
    line-height: 1;
}

.install-content h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 14px;
    color: white;
}

.install-content p {
    font-size: 21px;
    line-height: 1.55;
    color: #f1f1f1;
}











.checkout-summary-row,
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  color: white;
}

.checkout-summary-row {
  font-size: 18px;
  padding-top: 12px;
}

.checkout-total-row {
  font-size: 34px;
  font-weight: 800;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.payment-box {
  margin-top: 28px;
  background: #262a38;
  border-radius: 14px;
  padding: 22px;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  text-align: left;
}

.payment-option input {
  display: none;
}

.custom-radio {
  width: 20px;
  height: 20px;
  border: 2px solid red;
  border-radius: 50%;
  margin-top: 4px;
  position: relative;
  flex-shrink: 0;
}

.payment-option input:checked + .custom-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
}

.payment-option strong {
  display: block;
  color: red;
  font-size: 18px;
  margin-bottom: 8px;
}

.payment-option p {
  margin: 0;
  color: white;
  font-size: 16px;
  line-height: 1.5;
}

.checkout-policy-text {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #d0d3da;
  text-align: left;
}

.checkout-policy-text a {
  color: red;
}

.rules-check {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  color: white;
  line-height: 1.5;
}

.rules-check input {
  display: none;
}

.custom-check {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
}

.rules-check input:checked + .custom-check::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 3px;
  font-size: 18px;
  color: red;
  font-weight: bold;
}

.rules-check a {
  color: red;
}

.checkout-submit-btn {
  width: 100%;
  margin-top: 24px;
  background: #e44d26;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}

.checkout-submit-btn:hover {
  background: #ff5b2f;
}







.catalog-page {
  background: #2b2c36;
  min-height: 100vh;
  color: white;
}

.catalog-section {
  padding: 130px 20px 80px;
}

.catalog-container {
  max-width: 1350px;
  margin: 0 auto;
}

.catalog-title {
  text-align: center;
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 35px;
  color: white;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.catalog-filter {
  background: #34394b;
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 22px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: 0.3s ease;
}

.catalog-filter:hover {
  background: #e44d26;
  transform: translateY(-2px);
}

.catalog-filter.active {
  background: #e44d26;
  border-color: #e44d26;
}

.catalog-empty {
  text-align: center;
  font-size: 20px;
  color: #d0d3da;
  width: 100%;
  margin-top: 30px;
}

/* =========================
   CLEAN RESPONSIVE + BURGER
   ========================= */

img {
  max-width: 100%;
  height: auto;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 10px;
  background: white;
  transition: 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* 1400 */
@media (max-width: 1400px) {
  .hero-title {
    font-size: 72px;
    white-space: normal;
  }

  .hero-small {
    font-size: 44px;
  }

  .hero-text {
    font-size: 22px;
  }

  .logo {
    height: 180px;
  }

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

/* 1200 */
@media (max-width: 1200px) {
  .headr {
    padding: 0 24px;
  }

  .logo {
    height: 145px;
  }

  .hd {
    gap: 18px;
  }

  .header-text {
    font-size: 18px;
    padding: 8px 10px;
  }

  .hero-content {
    left: 5%;
    max-width: 600px;
  }

  .hero-small {
    font-size: 38px;
  }

  .hero-title {
    font-size: 58px;
  }

  .hero-text {
    font-size: 19px;
  }

  .order-btn,
  .order-katalog {
    padding: 16px 40px;
    font-size: 18px;
  }

  .photo-row {
    width: 92%;
    margin-left: 4%;
    gap: 22px;
    flex-wrap: wrap;
  }

  .photo-card {
    flex: 1 1 calc(50% - 22px);
    min-width: 280px;
    margin-top: 40px;
  }

  .footer-container {
    flex-wrap: wrap;
    gap: 30px;
  }

  .footer-col {
    flex: 1 1 calc(50% - 30px);
    min-width: 260px;
  }

  .delivery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .install-grid {
    grid-template-columns: 1fr;
  }
}

/* 992 */
@media (max-width: 992px) {
  #header {
    min-height: 84px;
  }

  .headr {
    height: 84px;
    padding: 0 18px;
  }

  .logo {
    height: 110px;
  }

  .hd {
    gap: 12px;
  }

  .header-text {
    font-size: 16px;
    padding: 6px 8px;
  }

  .hero {
    min-height: 100vh;
    height: auto;
  }

  .hero-content {
    left: 4%;
    right: 4%;
    max-width: none;
  }

  .hero-small {
    font-size: 32px;
  }

  .hero-title {
    font-size: 48px;
    line-height: 1.1;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-button {
    flex-wrap: wrap;
    gap: 14px;
    transform: none;
    justify-content: flex-start;
  }

  .slider {
    max-width: 80%;
    margin-left: 10%;
  }

  .container {
    flex-direction: column;
  }

  .photo-with-text {
    width: 82%;
  }

  .right-side p {
    font-size: 18px;
    line-height: 1.6;
    padding: 0 18px 20px;
  }

  .product-page-container,
  .checkout-container {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    width: calc(50% - 20px);
    min-width: 260px;
    height: auto;
  }

  .delivery-title,
  .storage-title,
  .install-title,
  .catalog-title,
  .policy-page h1,
  .about h2 {
    font-size: 36px;
  }

  .storage-intro,
  .install-intro,
  .delivery-card p,
  .storage-content p,
  .install-content p,
  .about-intro {
    font-size: 18px;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 768 */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .headr {
    height: 78px;
    justify-content: space-between;
    gap: 10px;
  }

  .logo {
    height: 90px;
  }

  .hd {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(43, 44, 54, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 16px 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    display: none;
  }

  .hd.active {
    display: flex;
  }

  .hd li {
    width: 100%;
  }

  .header-text {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 16px;
    padding: 12px 0;
  }

  .dropdown,
  .dropdown1 {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    width: 100%;
    background: #34394b;
    border-radius: 10px;
    margin-top: 6px;
    padding: 6px 0;
  }

  .menu-item:hover .dropdown,
  .menu-item1:hover .dropdown1 {
    display: block;
  }

  h1 {
    font-size: 28px;
    margin-top: 120px;
    margin-bottom: 24px;
    letter-spacing: 1px;
  }

  .hero-content {
    left: 16px;
    right: 16px;
  }

  .hero-small {
    font-size: 24px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-button {
    flex-direction: column;
    align-items: stretch;
  }

  .order-btn,
  .order-katalog {
    width: 100%;
    max-width: 320px;
    padding: 14px 18px;
    font-size: 16px;
    text-align: center;
  }

  .slider {
    max-width: 92%;
    margin-left: 4%;
    margin-top: 30px;
  }

  .photo-row {
    width: 92%;
    margin-left: 4%;
    gap: 16px;
  }

  .photo-card {
    flex: 1 1 100%;
    min-width: 100%;
    height: 260px;
    margin-top: 16px;
  }

  .overlay {
    padding: 20px;
  }

  .overlay h2 {
    font-size: 22px;
  }

  .overlay h2 span {
    font-size: 24px;
  }

  .overlay p {
    font-size: 14px;
    line-height: 1.45;
    max-width: 100%;
  }

  .faq {
    padding: 0 15px;
  }

  .faq h2 {
    font-size: 28px;
  }

  .faq-question {
    font-size: 16px;
    gap: 14px;
  }

  .footer {
    padding: 40px 16px;
  }

  .footer-title {
    font-size: 30px;
    margin-bottom: 28px;
  }

  .footer-container {
    flex-direction: column;
    gap: 24px;
  }

  .footer-col {
    min-width: 100%;
  }

  .footer-col h3 {
    font-size: 22px;
  }

  .catalog-section,
  .policy-page,
  .checkout-page,
  .about,
  .delivery-section,
  .payment-section,
  .storage-section,
  .install-section,
  .works {
    padding-left: 15px;
    padding-right: 15px;
  }

  .catalog-title,
  .delivery-title,
  .storage-title,
  .install-title,
  .policy-page h1,
  .about h2 {
    font-size: 30px;
  }

  .catalog-filters {
    gap: 10px;
  }

  .catalog-filter {
    width: calc(50% - 10px);
    min-width: 140px;
    padding: 12px 10px;
    font-size: 14px;
  }

  .product-grid {
    padding: 10px 0;
    gap: 16px;
  }

  .product-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 18px;
  }

  .product-card img {
    height: 240px;
  }

  .product-info h3,
  .product-card h3 {
    font-size: 17px;
    min-height: auto;
  }

  .buy-btn {
    margin-top: 18px;
  }

  .tabs-buttons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tab-btn {
    font-size: 15px;
  }

  .cart-item {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .cart-actions {
    flex-direction: column;
  }

  .back-btn,
  .clear-btn {
    width: 100%;
    text-align: center;
  }

  .checkout-page h1,
  .cart-title {
    font-size: 28px;
  }

  #order-form,
  .checkout-cart {
    padding: 20px;
    border-radius: 16px;
  }

  .checkout-total-row {
    font-size: 26px;
  }

  .delivery-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .storage-item,
  .install-card,
  .delivery-card {
    gap: 14px;
  }

  .storage-icon,
  .install-icon,
  .delivery-icon {
    font-size: 24px;
    margin-top: 4px;
  }

  .storage-content h3,
  .install-content h3,
  .delivery-card h3 {
    font-size: 20px;
  }

  .storage-content p,
  .install-content p,
  .delivery-card p,
  .storage-intro,
  .install-intro,
  .about-intro,
  .policy-content p {
    font-size: 16px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-block h3 {
    font-size: 24px;
  }

  .about-block p {
    font-size: 17px;
  }

  .work-card {
    height: 260px;
  }
}

/* 480 */
@media (max-width: 480px) {
  .headr {
    padding: 10px 12px;
  }

  .logo {
    height: 76px;
  }

  .burger {
    width: 38px;
    height: 38px;
  }

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

  h1 {
    font-size: 24px;
    margin-top: 110px;
  }

  .hero-small {
    font-size: 21px;
  }

  .hero-title {
    font-size: 31px;
  }

  .hero-text {
    font-size: 15px;
  }

  .order-btn,
  .order-katalog {
    max-width: 100%;
    font-size: 15px;
  }

  .slider {
    max-width: 96%;
    margin-left: 2%;
  }

  .slider button {
    padding: 8px 11px;
  }

  .photo-card {
    height: 230px;
  }

  .overlay {
    padding: 16px;
  }

  .overlay h2 {
    font-size: 20px;
  }

  .overlay h2 span {
    font-size: 22px;
  }

  .overlay p {
    font-size: 13px;
  }

  .faq h2,
  .catalog-title,
  .delivery-title,
  .storage-title,
  .install-title,
  .policy-page h1,
  .about h2 {
    font-size: 26px;
  }

  .catalog-filter {
    width: 100%;
  }

  .product-card {
    padding: 15px;
  }

  .product-card img {
    height: 210px;
  }

  .product-price,
  .checkout-total-row {
    font-size: 22px;
  }

  .checkout-summary-row,
  .payment-option p,
  .checkout-policy-text,
  .rules-check {
    font-size: 14px;
  }

  .work-card {
    height: 220px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}







/* ===== BURGER BUTTON ===== */

.burger {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 10px;
  transition: 0.3s ease;
}

/* анімація в хрестик */
.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */

@media (max-width: 768px) {

  .burger {
    display: flex;
  }

  .hd {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: #2b2c36;
    flex-direction: column;
    align-items: flex-start;

    padding: 12px 16px 18px;
    gap: 0;

    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);

    z-index: 1000;
  }

  .hd.active {
    display: flex;
  }

  .hd li {
    width: 100%;
  }

  .header-text {
    display: flex;
    justify-content: space-between;
    width: 100%;

    font-size: 16px;
    padding: 12px 0;
  }

  /* dropdown в мобілці */
  .dropdown,
  .dropdown1 {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;

    display: none;
    width: 100%;

    background: #34394b;
    border-radius: 10px;
    margin-top: 6px;
    padding: 6px 0;
  }

  .menu-item:hover .dropdown,
  .menu-item1:hover .dropdown1 {
    display: block;
  }
}



#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.site-header {
  width: 100%;
}

.catalog-page,
.checkout-page,
.policy-page,
.delivery-page,
.storage-page,
.install-page,
.about,
.works {
  width: 100%;
  min-height: 100vh;
}

main {
  width: 100%;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .hd {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2b2c36;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px 18px;
    gap: 0;
    z-index: 1200;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  }

  .hd.active {
    display: flex;
  }

  .hd li {
    width: 100%;
  }

  .header-text {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
}












@media (max-width: 768px) {
  #header,
  .site-header,
  .headr {
    overflow: visible !important;
  }

  #header {
    height: auto !important;
    min-height: 78px;
  }

  .headr {
    position: relative;
    min-height: 78px;
  }

  .hd {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2b2c36;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px 18px;
    gap: 0;
    z-index: 2000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);

    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }

  .hd.active {
    display: flex;
  }

  .hd li {
    width: 100%;
  }

  .hd > li > a.header-text {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 16px;
  }

  .basket {
    margin-left: 0;
  }
}


@media (max-width: 768px) {
  .product-page-container {
    padding-top: 120px;
  }
}