* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    min-height: 100vh;
    background-image:url(zastavka.jpg) ;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
   
@media screen and (max-width: 1024px) {
    body {
        background-position: center top; /* трохи зсуваємо вгору */
    }
}


    
  a {
  text-decoration: none;  /* прибирає стандартне підкреслення */
  border-bottom: none;    /* прибирає риску від border */
}
    nav {
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
display: flex;                  /* FLEX для вирівнювання */
  justify-content: space-between; /* лого зліва, меню справа */
  align-items: center;            /* вирівнювання по центру */
  padding: 0 40px;                /* відступи з боків */
  height: 80px;   

    }
 #logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

#logo-text {
  font-size: 30px;
  font-weight: bold;
  color: #333;
}

#logo-obrazek img {
    width: 100px;
    height: auto;
}

   nav ul {
  width: 100%;
 list-style: none;
 display: flex;
  font-weight: bold;
  justify-content: flex-end;
  align-items: center;
  height: auto;
  }
  
  
nav li {
    height: 50px;
}
nav a {
    height: 100px;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
    height: 50px;
}
nav a:hover{
  background-color: #99caefa0;
  
}


nav ul li {
  position: relative; /* ключове */
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  display: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 1000;
  white-space: nowrap; /* щоб текст не переносився і не ламав блок */
  width: max-content; 
}

.submenu li a {
  padding: 5px 20px;
  display: block;
  color: black;
  font-weight: normal;
  height: auto;
}

.submenu li a:hover {
  background: #f0f0f0;
  
}

nav ul li:hover > .submenu {
  display: block;
}

.saidas{
  position: fixed;
  top: 0;
  right:-250px;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.6);

  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.3);
  display:none ;
  flex-direction: column;
  justify-content: flex-start;
  transition: right 0.3s ease;
    
}
.saidas li{
width: 100%;
 
}
.saidas a{
  width: 100%;
  }.saidas.open {
  right: 0; /* показати */
}

.saidas .closeBtn {
  text-align: right;
}
.lang-switch {
  position: relative;
  cursor: pointer;
}

.lang-switch .lang-icon {
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 50px;
}

.lang-switch .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: none;
}

.lang-switch:hover .submenu {
  display: block;
}

.lang-switch .submenu li a {
  display: block;
  padding: 8px 16px;
  color: #000;
}

.lang-switch .submenu li a:hover {
  background: #f0f0f0;
}
@media (max-width: 480px) {
  nav ul {
    display: none; /* ховаємо горизонтальне меню */
  }

  #burgerBtn {
    display: block;
    cursor: pointer;
    font-size: 28px;
  }

  .saidas {
    display: flex;
    width: 200px; /* трохи вже для мобільних */
    right: -200px;
  }
}
@media (max-width: 480px) {
  #logo-obrazek img {
    width: 100px;     /* логотип у 2 рази менший */
  }

  #logo-text {
    font-size: 20px; /* зменшений текст */
  }

  nav {
    padding: 0px 0px; /* менші відступи */
  }
}


/* --- Десктоп --- */
@media (min-width: 1025px) {
  #burgerBtn {
    display: none; /* бургер не потрібен */
  }

  .saidas {
    display: none; /* сайдбар прихований */
  }

  nav ul {
    display: flex; /* звичайне горизонтальне меню */
  }
}
@media (max-width: 1024px) {
  nav ul {
    display: none; /* ховаємо горизонтальне меню */
  }

  #burgerBtn {
    display: block;
    cursor: pointer;
  }
}

.headerActionBox {
    background: rgba(229, 236, 239, 0.7);
    color: #000;
    display: flex;
    justify-content: center;   /* по горизонталі по центру */
    align-items: center;       /* по вертикалі по центру */
    gap: 30px;                 /* відстань між картинкою та текстом */
    width: 65%;
    max-width: 1200px;         /* обмежуємо занадто широку розтяжку */
    margin: 0 auto;            /* центр по сторінці */
    padding: 40px 20px;
    border-radius: 12px;       /* м’які кути */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* легка тінь */
      margin-top: 40px;

}

.headerActionBoxText {
    max-width: 500px;
    
}

.headerActionBoxText h2 {
    font-size: 2rem;
    margin: 10px 0;
    line-height: 1.3;
   
}

.headerActionBoxText p {
    font-size: 1rem;
    margin: 0;
    
}
.headerActionBox:hover h2 {
    color: #3278e1;
}
.headerActionBox img {
    width: 400px;
}
.headerActionBox:hover img {
    /*transform: scale(1.02);*/
    scale: 1.02;
    
}
@media screen and (max-width: 1100px) {
    .headerActionBox {
        width: 100%;
    }
}
@media screen and (max-width: 920px) {
    .headerActionBox {
        width: 90%;
    }
}
@media screen and (max-width: 820px) {
    .headerActionBox img {
        position: unset;
        width: 70%;
        height: 80%;
    }
    .headerActionBox {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 50%;
        margin: auto;
        align-items: center;
        padding: 20px 0;
        margin-top: 70px;
    }
    .headerActionBoxText {
        width: 90%;
        
    }
    .headerActionBoxText h2 {
        font-size: 5vw;
        text-align: center;
    }
    .headerActionBoxText p {
        width: 100%;
        text-align: center;
    }
}
@media screen and (max-width: 500px) {
    .headerActionBox {
        width: 90%;
        margin-top: 70px;
    }
    .headerActionBoxText h2 {
        font-size: 8vw;
    }
}
.info .container {
    position: relative;
}
.info {
    height: 480px;
      margin-top: 100px;
}
.infoPosun {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: -75px;
    width: 100%;
     gap: 20px; 
}
.infoColumn {
    color: #000;
     display: flex;
    flex-direction: column;
    align-items: center;   /* по горизонталі */
    text-align: center;
}
.infoColumn h3 {
    padding-top: 19px;
    line-height: 1.1;

}
.infoColumn p {
    padding-bottom: 17px;
    
}
.btn,
.rezervace .btn,
.older a,
.newer a,
.tlacitka a {
    background: hsl(217, 71%, 49%);
    color: #fff;
    padding: 10px 13px;
    border-radius: 5px;
    border: 1px solid #000000;
    display: inline-block;
}
.infoColumn:hover .btn,
.btn:hover,
.rezervace .btn:hover,
.older a:hover,
.newer a:hover,
.tlacitka a:hover {
    background: transparent;
    color: #000000;
}
.rezervace .btn {
    margin-top: 21px;
}
.infoColumn img {
    width: 350px;   /* наприклад, фіксована ширина */
    height: auto;   /* щоб зберегти пропорції */
    transition: transform 0.3s ease; /* плавна анімація при hover */
}
.infoColumn:hover img {
     transform: scale(1.02); /* Збільшує картинку на 2% при ховері */
    transition: transform 0.3s ease; /* Додає плавну анімацію */
}
@media screen and (max-width: 1050px) {
    .infoColumn img {
        width: 30vw;
        height: 32vw;
    }
    .infoPosun {
        gap: 20px;
    }
    .infoColumn {
        flex: 0 1 30%;
        /*flex-grow:  0;
        flex-shrink: 1;
        flex-basis: 30%;*/
    }
}
@media screen and (max-width: 900px) {
    .infoPosun {
        flex-direction: column;
        position: unset;
        padding: 40px 0;
        gap: 0;
    }
    .info{
        height: 100%;
    }
    .infoColumn {
        display: flex;
        text-align: center;
        align-items: center;
        flex: 0 1 100%;
    }
    .infoColumn:nth-of-type(2) {
        flex-direction: row-reverse;
    }
    .infoColumn h3 {
        padding-top: 0;
    }
    .infoColumn img {
        width: 50%;
        height: 50%;
    }
    .infoColumnText {
        width: 50%;
    }
}
@media screen and (max-width: 650px) {
    .infoColumn {
        flex-direction: column;
        gap: 20px
    }
    .infoColumn:nth-of-type(2) {
        flex-direction: column;
    }
    .infoPosun {
        gap: 50px;
    }
    .infoColumnText {
        width: 70%;
    }
}
@media screen and (max-width: 500px) {
    .infoColumnText {
        width: 100%;
    }
}
@media screen and (max-width: 400px) {
    .infoColumn img {
        width: 90%;
        height: 90%;
    }
}
 .card {
      position: relative;
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      overflow: hidden;
      width: 260px;
      max-width: 90vw; /* адаптив на мобільних */
      text-align: center;
      transition: transform 0.3s ease;
    }

    .card:hover {
      transform: translateY(-4px);
    }

    /* Фото */
    .card img {
      width: 100%;
      height: 160px; /* зменшене фото */
      object-fit: cover;
      display: block;
      filter: brightness(0.8);
    }

    /* Напис по центру поверх фото */
    .card h2 {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      background: rgba(0,0,0,0.5);
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 16px;
      font-weight: 600;
      margin: 0;
      text-shadow: 0 2px 4px rgba(0,0,0,0.5);
      width: 80%;
      max-width: 90%;
    }
@media (max-width: 480px) {
      .card img {
        height: 140px;
      }
      .card h2 {
        font-size: 14px;
        padding: 5px 10px;
      }
      .card p {
        font-size: 13px;
      }
    }

.sectionText {
    background: #fff;
    padding: 80px 0;
}
.sectionText .container {
    display: flex;
    gap: 50px;
}
.sectionText h1 {
    text-align: right;
    width: 27%;
   
}
.sectionText p {
    width: 67%;
   
}
.sectionText p a:hover,
footer p a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 700px) {
    .sectionText .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .sectionText h1 {
        width: 100%;
        text-align: center;
        font-size: 5vw;
    }
    .sectionText p {
        width: 100%;
    }
    .sectionText {
        padding: 80px 15px;
    }
}
.footer {
  background: rgba(229, 236, 239, 0.7);
  color: #000000;
  padding: 20px;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 100px;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
}

.footer-contact h2,
.footer-company h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-contact ul,
.footer-company ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li,
.footer-company li {
  margin: 5px 0;
}

.footer-contact a,
.footer-company li {
  color: #000000;
  text-decoration: none;
  font-size: 15px;
}

.footer-company strong {
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap:20px;
    align-items: center;
  }

  .footer-logo img {
    max-width: 190px;
    margin-bottom: 0px;
   
  }

  .footer-contact h2,
  .footer-company h2 {
    font-size: 18px;
  }
}
.site-footer {
    background-color: #fffdfd;
    color: #fbf5f500;
    text-align: center;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.site-footer a  {
    color: #000000;
    text-decoration: none;
}
.site-footer p{
    color: #000000;
}

.site-footer a:hover {
    text-decoration: underline;
}
/* kontakt */
.order-section {
  background: rgba(229, 236, 239, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 65%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.order-block {
  flex: 1;
}

/* Соцмережі */
.social-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-list li a {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

.social-list li a svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

.social-list li a:hover {
  color: #0073e6;
  svg { fill: #0073e6; }
}

/* Форма замовлення */
.order-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-form input, .order-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.order-form button {
  padding: 12px;
  border-radius: 8px;
  border: none;
  background-color: #0073e6;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.order-form button:hover {
  background-color: #005bb5;
}

@media (max-width: 900px) {
  .order-section {
    flex-direction: column;
    align-items: center;
  }
}
/*galereia*/
.galereia {
  width: 100%;
  padding: 20px;
}

.galereia h2 {
  text-align: center;
  margin: 30px 0 15px;
}

.gallery-slider {
  position: relative;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
}

.slides {
  display: flex;
 transition: transform 0.5s;
  gap: 10px;
}

.slides img 
{
  width: calc(100% / 3 - 10px); 
  flex-shrink: 10;
  border-radius: 10px;
  object-fit: cover;
    cursor: zoom-in;
  transition: transform 0.4s ease, z-index 0.3s;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}
.slides img.zoomed {
  position: relative;
  transform: scale(1.8);
  z-index: 20;
  cursor: zoom-out;
  transition: transform 0.4s ease;
}
@media (max-width: 768px) {
  .slides img {
    width: 100%;
  }
}
.video-section { max-width: 900px; margin: 24px auto; padding: 0 16px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial; color: #111; }
.video-title { font-size: 1.5rem; margin: 0 0 12px 0; text-align: center; }
.video-wrapper { position: relative; width: 100%; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.video-wrapper video { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; background: #000; }
/*kamery*/
.section {
  padding: 60px 20px;
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  /* pointer-events: none дозволяє по кліку діставати controls під відео */
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
}

.overlay-text {
  pointer-events: none; /* не блокує натискання на controls під відео */
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.video-caption { margin: 10px 0 8px 0; font-size: 0.95rem; color: #333; text-align: center; }
.overlay-toggle { display: block; margin: 8px auto 0; background: #005bb5; color: #fff; border: none; padding: 8px 14px; border-radius: 8px; cursor: pointer; font-size: 0.95rem; }

/* Ховає overlay через клас */
.hidden { display: none !important; }

/* Мобільні корекції */
@media (max-width: 520px) {
  .overlay-text { font-size: 0.95rem; padding: 8px 10px; }
  .video-title { font-size: 1.25rem; }
}
/* Сітка */
.grid-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Колонки як картки */
.column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border-radius: 12px;
 background: rgba(229, 236, 239, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Підняття картки */
.column:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Картинка */
.column img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}



/* Заголовки */
.column h2 {
  font-size: 26px;
  margin: 20px 0 15px;
  color: #222;
  line-height: 1.3;
}

/* Текст */
.column p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

/* Кнопки */
.button {
  display: inline-block;
  padding: 12px 24px;
   background: hsl(217, 71%, 49%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #000;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.button:hover {
  background: transparent;      /* прозоре тло */
  color: hsl(217, 71%, 49%);    /* текст стає синім */
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.button:active {
 background: transparent;      /* залишається прозора */
  color: hsl(217, 71%, 49%);
  transform: scale(0.95);       /* ефект вдавлювання */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Адаптивність */
@media (max-width: 768px) {
  .grid-box {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
  }

  .column {
    align-items: center;
  }

  .column h2 {
    font-size: 22px;
  }

  .column p {
    font-size: 15px;
  }
}
/* Таблиця */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    font-family: Arial, sans-serif;
  }

  .responsive-table th,
  .responsive-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    white-space: nowrap;
  }

  .responsive-table thead {
    background-color: #f7f7f7;
  }

.responsive-table tr:nth-child(even) {
  background: rgba(229, 236, 239, 0.4);
}

/* Списки */
.column h3 {
  margin-top: 20px;
  font-size: 20px;
  color: #222;
}

.column ul {
  margin: 10px 0 20px 20px;
  color: #444;
  line-height: 1.6;
}

.column ul li::marker {
  color: hsl(217, 71%, 49%);
}

/* Адаптивність */
@media (max-width: 768px) {
  .responsive-table thead {
    display: none; /* ховаємо заголовки */
  }

  .responsive-table tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* легка тінь для картки */
  }

  .responsive-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    font-size: 15px;
    border: none;
    border-bottom: 1px solid #eee;
    white-space: normal;
  }

  .responsive-table td:last-child {
    border-bottom: none;
  }

  .responsive-table td::before {
    content: attr(data-label);
    flex-basis: 50%;
    font-weight: 600;
    color: #222;
    margin-right: 10px;
    text-align: left;
  }
}
.table-with-image {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 20px 0;
}

/* Колонка з фото */
.image-column img {
  max-width: 300px;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Колонка з таблицею займає весь залишок */
.table-column {
  flex: 1;
}

/* Адаптивність */
@media (max-width: 768px) {
  .table-with-image {
    flex-direction: column;
  }

  .image-column img {
    max-width: 100%;
    margin-bottom: 15px;
  }
}
/*cenovky*/

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    font-family: Arial, sans-serif;
  }

  .responsive-table th,
  .responsive-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    white-space: nowrap;
  }

  .responsive-table thead {
    background-color: #f7f7f7;
  }

  /* Мобільна адаптація */
  @media (max-width: 768px) {
    .responsive-table {
      font-size: 14px;
    }
  }

  @media (max-width: 600px) {
    .responsive-table thead {
      display: none;
    }

    .responsive-table tr {
      display: block;
      margin-bottom: 15px;
      background-color: #fff;
      border: 1px solid #ddd;
      padding: 10px;
    }

    .responsive-table td {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: none;
      border-bottom: 1px solid #eee;
      padding: 8px 10px;
      font-size: 15px;
      white-space: normal;
    }

    .responsive-table td::before {
      content: attr(data-label);
      flex-basis: 50%;
      font-weight: bold;
      color: #333;
    }
  }
  .container-with-image {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            align-items: flex-start;
            justify-content: center;
        }

        .container-with-image img {
            max-width: 100%;
            height: auto;
            flex: 1 1 300px;
            object-fit: contain;
        }

        .table-container {
            flex: 2 1 400px;
        }
        
        .responsive-table {
            width: 100%;
            border-collapse: collapse;
            overflow-x: auto;
            font-family: Arial, sans-serif;
        }

        .responsive-table th,
        .responsive-table td {
            padding: 10px;
            border: 1px solid #ddd;
            text-align: left;
            white-space: nowrap;
        }

        .responsive-table thead {
            background-color: #f7f7f7;
        }

        /* Мобільна адаптація */
  /* Адаптивність таблиці для планшетів та мобільних */
@media (max-width: 768px) {
  .responsive-table thead {
    display: none; /* ховаємо заголовки */
  }

  .responsive-table tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    padding: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }

  .responsive-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    font-size: 15px;
    border: none;
    border-bottom: 1px solid #eee;
    white-space: normal;
  }

  .responsive-table td:last-child {
    border-bottom: none;
  }

  .responsive-table td::before {
    content: attr(data-label);
    flex-basis: 50%;
    font-weight: 600;
    color: #222;
    margin-right: 12px;
    text-align: left;
  }
}

/* Мобільна дрібніша корекція для дуже маленьких екранів */
@media (max-width: 480px) {
  .responsive-table td {
    flex-direction: column;
    align-items: flex-start;
    font-size: 14px;
    padding: 6px 8px;
  }

  .responsive-table td::before {
    margin-bottom: 4px;
  }
}

/* Зберігаємо горизонтальний скрол для планшетів */
@media (max-width: 768px) {
  .responsive-table {
    overflow-x: auto;
  }
}
        /* смарт карт новинки */
        .product-description {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
  font-size: 15px;
}
/* watsap */
.whatsapp-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  background: #25d366;
  color: white;
  padding: 10px 15px;
  border-radius: 30px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.2s ease;
}

/* Анімація при наведенні */
.whatsapp-wrapper:hover {
  transform: scale(1.05);
}

/* Текст */
.whatsapp-text {
  margin-right: 10px;
  white-space: nowrap;
}

/* Іконка */
.whatsapp-icon {
  background: white;
  border-radius: 50%;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-icon img {
  width: 25px;
  height: 25px;
}

/* 📱 Адаптивність: на мобільних залишаємо тільки іконку */
@media (max-width: 600px) {
  .whatsapp-text {
    display: none;
  }
  .whatsapp-wrapper {
    padding: 12px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    justify-content: center;
  }
}
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Темний фон */
    color: white;
    padding: 15px 0;
    z-index: 1000;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; 
}

#cookie-banner p {
    margin: 0 20px 0 0;
    font-size: 14px;
    line-height: 1.4;
    flex-grow: 1;
    text-align: left;
}

#cookie-banner a {
    color: #ffcc00; /* Золотий колір для посилання */
    text-decoration: underline;
}

#cookie-banner button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: bold;
    white-space: nowrap; 
}

#reject-cookies {
    background-color: #6c757d;
}

/* Адаптація для мобільних */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    #cookie-banner p {
        margin: 0 0 10px 0;
        text-align: left;
    }
    #cookie-banner button {
        width: 100%;
        margin: 5px 0;
    }
}
 

    /* Контейнер для галереї */
@keyframes scroll-desktop {
  0% { transform: translate3d(0, 0, 0); }
  100% { 
    /* Використовуємо лише 3D-трансформацію для прискорення */
    transform: translate3d(-50%, 0, 0); 
  }
}

/* Спеціальна, повільніша анімація для мобільних */
@keyframes scroll-mobile {
  0% { transform: translate3d(0, 0, 0); }
  100% { 
    /* Використовуємо лише 3D-трансформацію для прискорення */
    transform: translate3d(-50%, 0, 0); 
  }
}

/* ------------------------------------------- */
/* 2. Контейнери та Заголовок (Для ПК) */
/* ------------------------------------------- */
.gallery-container {
  max-width: 1280px; 
  margin: 0 auto;
  padding: 1.5rem;
  overflow: hidden;
  position: relative;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  /* Додаємо перспективу для кращого використання GPU */
  perspective: 1000px;
}

.gallery-track {
  display: flex;
  width: max-content; 
  /* ПК: Швидкість 45с, використовуємо desktop-анімацію */
  animation: scroll-desktop 45s linear infinite; 
  will-change: transform; 
}

.gallery-container:hover .gallery-track {
  animation-play-state: paused;
}

.header-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ------------------------------------------- */
/* 3. Елементи галереї */
/* ------------------------------------------- */
.gallery-item {
  width: 250px; /* Ширина елемента за замовчуванням (ПК) */
  flex-shrink: 0;
  padding: 0.75rem;

  
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background-color: white;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.06);
  /* Примусове апаратне прискорення */
  transform: translate3d(0, 0, 0); 
}

.gallery-item img:hover {
  transform: scale(1.05) translate3d(0, 0, 0);
}

/* ------------------------------------------- */
/* 4. МЕДІАЗАПИТ ДЛЯ МОБІЛЬНОЇ ОПТИМІЗАЦІЇ (max-width: 640px) */
/* ------------------------------------------- */
@media (max-width: 640px) {
  .gallery-container {
    padding: 0.5rem;
    overflow: hidden;
     max-width: 228px; 
  }

  .gallery-track {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: scroll-mobile 75s linear infinite;
    will-change: transform;
  }

  .gallery-item {
    width: 90px;          /* значно менше, тепер влазять кілька */
    flex-shrink: 0;
    padding: 0.25rem;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
  }

  @keyframes scroll-mobile {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
  }
} 

.display-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Колонки як картки */
.column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border-radius: 12px;
  background: rgba(229, 236, 239, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Підняття картки */
.column:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.column:hover img {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
/* Картинка */
.column img {
  width: auto;          /* ← ВАЖЛИВО */
  max-width: 100%;      /* ← НЕ ВИХОДИТЬ ЗА БЛОК */
  height: 260px;        /* ← КОНТРОЛЬ РОЗМІРУ */
  object-fit: contain;
  border-radius: 10px;
  margin: 0 auto 15px;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
/* Заголовки */
.column h2, .column h3 {
  font-size: 26px;
  margin: 20px 0 15px;
  color: #222;
  line-height: 1.3;
}

/* Текст */
.column p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

/* Кнопки */
.button {
  display: inline-block;
  padding: 12px 24px;
  background: hsl(217, 71%, 49%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #000;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.button:hover {
  background: transparent;
  color: hsl(217, 71%, 49%);
  transform: scale(1.05);
}

.button:active {
  background: transparent;
  color: hsl(217, 71%, 49%);
  transform: scale(0.95);
}

/* Адаптивність */
@media (max-width: 768px) {
  .display-grid {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
  }

  .column {
    align-items: center;
  }

  .column h2, .column h3 {
    font-size: 22px;
  }

  .column p {
    font-size: 15px;
  }
}
