
/* Основні кольори */
.icons-home svg {width: 20%;min-width: 21px;}
.sm-label {position: absolute;
  left: 8px;
  bottom: 18px;
  color: #000;
  background: #ffffffe3;
  padding: 3px 11px;
  border-radius: 7px;}
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.fill {
display: block;
  width: 100%;
  height: 100%;
}
.ai-g  .grid-item {
  
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/*.services-more {display: none;}*/
.gtr-150 img{
max-height: 250px!important;
  object-fit: cover!important;
  width: 100%!important;
  min-height: 260px;
}
.ai-g  .grid-item  a{ text-decoration: none; min-width: 100px;
width: 100%;
  display: block;
}
.ai-g  .grid-item:hover  a { color:#222;}
.history .grid-item{
display: flex;
align-items: center !important;	

}
.history .grid-item a {
	display: flex;
align-items: center !important;	
}
.bg-w{
background: #feffff;
background: #feffff91;
  border-bottom: #ddd 5px solid;
}  
.grid-item img{
	width: 100%;
}
/* Головна*/ 
.container h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.container p {
  font-size: 1rem;
  color: #6c757d;
}

.container img {
  max-height: 250px;
  object-fit: cover;
}

.btn-primary {
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

/* Головна*/ 
/* Підзаголовки*/ 
.bg-subhead { background:#7fb7de; color;#fff;}
.bg { background:#d3f3ee; color:#222;}
.bg-head { background:#dacc3e; color:#000;}
.bg-alert { background:#bc2c1a; color:#fff;}
.bg-subalert { background:#7d1538; color:#fff;}


/* Основні кольори */
      /* Основні стилі */
main {min-height: calc(100vh - 200px);}	  
footer {}	  
footer a{ color:#fff;

--bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-family: ;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: #212529;
  --bs-btn-bg: transparent;
  --bs-btn-border-width: var(--bs-border-width);
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: 0.375rem;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);

  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}	  
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
        }	  
.newsList img { max-width: 250px;}
      /* Основні стилі */
.wrap {padding: 2em;position: relative;}	  
.bdark{
background:#212121;	
}
.blight{
background:#e8e8e8;	
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

/* Контейнер для відступів */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Шапка */
header.main-page ul{margin: auto;}
header.main-page {
  text-align: center;
  padding: 10px 2rem ;
background: linear-gradient(135deg, #7fb7de, #5f9fcc);
  color: #0d0808;
  margin:0!important;
}
header.main-page .slide-menu .summenu-icon{cursor: pointer;  color: #000; font-weight: 600;}

header.main-page a{ color:#222;
}

header h1 {
  font-size: clamp(24px, 5vw, 48px);
}

header p {
  font-size: 1.2rem;
}

/* Головний блок (герой) */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
}

.hero .product-image {
  max-width: 50%;
  border-radius: 10px;
}

.hero .details {
  max-width: 40%;
}

.hero .details h2 {
  font-size: 2rem;
}

.hero .details p {
  font-size: 1rem;
  margin: 1rem 0;
}

/* Галерея */
.gallery {
  padding: 2rem 0;
  text-align: center;
}

.gallery .colors {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.gallery .colors img {
  max-width: 22%;
  margin: 10px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery .colors img:hover {
  transform: scale(1.1);
}

/* Форма замовлення */
.order-form {
  padding: 2rem 0;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.order-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-form label {
  font-weight: bold;
}

.order-form input, .order-form select, .order-form button {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.order-form button {
  background-color: #333;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.order-form button:hover {
  background-color: #555;
}

/* Кнопки */
.btn {
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
}

.order-btn {
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.order-btn:hover {
  background-color: #0056b3;
}


        .slide-menu {
            display: flex;
            flex-direction: column;
            background: #f8f9fa;
            
        }

        .slide-menu .logo {
            padding: 10px;
            font-size: 24px;
            font-weight: bold;
            text-align: center;
            background: #007bff;
            color: white;
        }

        .slide-menu .links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        .slide-menu .links a {
            padding: 10px 15px;
            text-decoration: none;
            color: #333;
            font-size: 16px;
width: 110px;			
display: inline-block;
        }

        .slide-menu .links a:hover {
            background: #007bff;
            color: white;
        }

.slide-menu .has-submenu::after {
  display: inline-block;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
  color:#222;
}

        .slide-menu .submenu {
            display: none;
            flex-direction: column;
            background: #d3f3ee;
            padding: 5px 10px;
border: #7fb7de 2px solid;			
        }

        .slide-menu .submenu a {
            padding: 5px;
            font-size: 14px;
            color: #222;
			width: 100%;	
			text-align: left;
        }

        .slide-menu .submenu a:hover, .slide-menu .submenu .active {
            background: #7fb7de;
            color: white;
        }
.has-submenu:hover{border-bottom-left-radius: 0 !important;border-bottom-right-radius: 0 !important;}
        .slide-menu .links .has-submenu {
            position: relative;
        }

        .slide-menu .has-submenu:hover .submenu {
            display: flex;
			position: absolute;
  z-index: 10;
  min-width: 160px;
margin-left: -8px;
  margin-top: 14px  
        }

        /* Мобільна версія */
.mob-cotatcs {display: none; }		

#show-more-toggle {
  display: none;
}

.show-more-label { display: none;}
.show-more-label::after {
  content: "Показати більше";
}

#show-more-toggle:checked ~ .show-more-label::after {
  content: "Сховати";
}


 
/* menu */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #333;
  color: #fff;
  min-height: 60px;
}

.logo h1 {
  font-size: 1.2rem;
}

/* Меню іконка (гамбургер) */
.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
}

.menu-icon span {
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Сховати чекбокс */
#menu-toggle {
  display: none;
}
#submenu-menu-toggle {
  display: none;
}

/* Слайд-меню */
.slide-menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 75vw;
  background: #7fb7de;
  color: #fff;
  overflow-y: auto;
  padding: 2rem 1rem;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;
  z-index: 999;
}

.slide-menu ul {
  list-style: none;
}


.slide-menu li {
  margin: 1rem 0;
  /*background: #d3f3ee;*/
  background: #fff;
    padding: 8px;
    border-radius: 10px !important;
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}


.slide-menu a{
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.slide-menu a:hover, .slide-menu a.active  {
  color: #1e90ff;
}

/* Відкриття меню через чекбокс */
#submenu-menu-toggle:checked ~ .submenu {
display: flex;
  position: absolute;
  z-index: 10;
  min-width: 160px;
}
#menu-toggle:checked ~ .slide-menu {
  right: 0;
}

/* Анімація гамбургера при відкритті */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}	
.shadows{box-shadow: 0 .1rem 0.31rem rgba(var(--bs-body-color-rgb),.15) !important;}
 .ai-g img {height: 150px;object-fit: contain;}
 .ai-g .grid-item:hover img {transform: scale(1.05);} 
 .ai-g h3 {font-size: 16px;text-align: center;}
.home-service .wrap {
background: #000206b5;
  color: #fff;
}
.home-service .head {
/*height: 500px;*/
/*border-right: #fff 10px solid;*/
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
background-image: url(/img/ai-img/photo_118@12-11-2024_16-03-18.webp);
 /*background-repeat: no-repeat;	*/
background-size: cover;  
/*background: center;*/
}
.home-service .btn-dark {display: block; opacity:0;; margin: 2em auto; max-width: 100px;}
.home-service article:hover .btn-dark {opacity: 1; }

/* Адаптивність */
@media (min-width: 768px) {
  .menu-icon {
    display: none;
  }

  .slide-menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
  }

  .slide-menu ul {
    display: flex;
    gap: 1rem;
	
  }

  .slide-menu li {
    margin: 0;
	min-width: 120px;
  }
.slide-menu li.home {min-width: 48px;}
  .slide-menu a {
    color: #fff;
  }
}	
/* menu */		



/* MEDIA */		


/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) { 

 }
       @media (max-width: 768px) {
.slide-menu .mob-cotatcs {
    display: block;
    background: transparent;
    color: #fff;
  }		   
.slide-menu ul{
margin: 0 auto;
  margin-bottom: auto;
  margin-top: 20%;	
display: grid!important;
    gap: 1rem!important;
width: calc(100% - 40px);
    max-width: 250px;	
}
  .slide-menu li {
    min-width: 200px;
    width: 100%;
  }			
.slide-menu {
  max-width: 400px;
  
  } 			
            .slide-menu {
                align-items: center;
            }

            .slide-menu .links {
                flex-direction: column;
                align-items: center;
            }

            .slide-menu .links a {
                width: 100%;
                text-align: center;
            }
        }

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) { 
.card-info-info:hover .text-body {z-index: 1;}
.card-info-info:hover img{
position: absolute;
  left: calc(50% - 50px);
  top: 2px;
  height: 100px;
  width: fit-content;
  transition: 0.3s transform;
  opacity: 0.7;
}
.card-info-info:hover .text-title {
position: absolute;
  bottom: 20px;
  padding: 6px 8px;
  font-weight: 600;
  font-size: 14px;
  margin: auto;
  display: block;
  width: 100%;
  z-index: 3;
  left: 0;
}
.card-info-info:hover {
 border-color: #008bf8;
 box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.card-info-info:hover .card-info-button {
 transform: translate(-50%, 50%);
 opacity: 1;
}
}
@media (max-width: 992px) { 
 .slide-menu ul {
    display: flex;
    gap: 0.4rem;
padding: 0;	
  }
.slide-menu li {
    margin: 0;
    min-width: 50px;
height: 44px;
    overflow: hidden;		
  }
.slide-menu .mob-cotatcs{height: fit-content;}  
.slide-menu a {
  font-size: 1rem;
display: flex;
    justify-content: center !important;
    line-height: 34px;

  }
}  

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) { 

}
@media (max-width: 576px) { 

#submenu-menu-toggle:checked ~ .submenu {
	left: 20px;
  width: calc(100% - 40px);
}
.slide-menu ul{
display: grid;
    gap: 1rem;
}
}

/* X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) { 
 }

/* XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {
	}

/* MEDIA */		
/* MEDIA */		
/* From Uiverse.io by alexruix */ 
.card-info-info{
 width: 180px;
 height: 250px;
 border-radius: 20px!important;
 background: #f5f5f5;
 position: relative;
 padding: 1.8rem;
 border: 2px solid #c3c6ce;
 transition: 0.5s ease-out;
 overflow: visible;
 margin-bottom: 2em;
 border-left: #ff000054 4px solid;
}


.card-info-details {
 color: black;
 height: 100%;
 gap: .5em;
 display: grid;
 place-content: center;
}

.card-info-button {
 transform: translate(-50%, 125%);
 width: 60%!important;
 border-radius: 1rem!important;
 text-align: center;
 border: none;
 background-color: #008bf8;
 color: #fff!important;
 font-size: 1rem;
 padding: .5rem 1rem;
 position: absolute;
 left: 50%;
 bottom: 0;
 opacity: 0;
 transition: 0.3s ease-out;
}

.card-info-info .text-body {
 color: rgb(134, 134, 134);
z-index: -1;
text-align: center;
 position: absolute;
 top: 120px;
}

/*Text*/
.card-info-info .text-title {
 font-size: 1em;
 font-weight: bold;

}


/*Hover*/

.card-info-info img{z-index: 1;}

/* MEDIA */		


@media (max-width: 480px) {

	.light-mob{
background: #96c6e8e5;  color: #000;  padding: 1em;  border-radius: 20px;
		
	}
	
.grid-item:nth-child(n+9) {
  display: none!important;
}

#show-more-toggle:checked ~ .grid-container .grid-item:nth-child(n+9) {
  display: block!important;
}

.show-more-label {
  display: block;
  text-align: center;
  margin-top: 10px;
  cursor: pointer;
  color: #0062b9;
  text-decoration: none;
}
			
 .ai-g h3 {font-size: 16px;text-align: left!important;}			
.ai-g  .grid-item  a{ 
width: 100%;
  display: flex;
  color: #0062b9;
}			
.home-service .head {
background-size: cover!important;  
background-repeat: no-repeat;	
/*background: center;*/
min-height: 50vh;


}		
.home-service .btn-dark{margin: auto!important;}	
  .grid-container {
  display: grid;
  /*gap: 10px;  Відступи між елементами */
  width: 100%; /* Ширина на 100% */
  padding: 10px; /* Внутрішні відступи */
  box-sizing: border-box;	  
    grid-template-columns: repeat(1, 1fr)!important; /* Дві колонки */
overflow: hidden;
  }		
.grid-item h3 {font-size: clamp(21px, 5vw, 36px);margin: auto 0;font-weight: 600;}	
.grid-item p {font-size: clamp(14px, 2vw, 16px);}	
.ai-g  .grid-item img {
  width: 100%;
  max-width: 100px;
  height: 60px;
}  
.ai-g .grid-item { padding: 4px; display: flex;align-items: center !important; border-radius: 4px;box-shadow: none;}
header.main-page {padding: 1em;}	
.slide-menu li{min-width: 200px; width: 100%;}		
.slide-menu {padding: 2rem 1em;}		
.slide-menu .mob-cotatcs{display: block;background: transparent; color:#fff;}	
.slide-menu .mob-cotatcs a{color:#fff;}	
header a.mob-cotatcs{display: flex;color:#fff;text-decoration: none;  align-items: center;justify-content: center;}	
header a.mob-cotatcs svg{ margin: 4px;}	
.slide-menu li.home {min-width: 48px;
    width: 70px;
    margin: 2em auto 1em auto;}
	
.card-info-info {
  width: 100%;
  height: auto;
  border-radius: 10px !important;
  background: #f5f5f5;
  position: relative;
  padding: 0.8rem;
  border: 2px solid #c3c6ce;
  transition: 0.5s ease-out;
  overflow: visible;
  margin-bottom: 0.1em;
}
.card-info-details {
  color: black;
  height: 100%;
  gap: .5em;
  display: flex;
  place-content: center;
    justify-content: center;
  width: 100%;
  justify-content: flex-start !important;
  border-radius: 10px !important;  
}
.card-info-info .card-info-button	{
transform: none;
    opacity: 1;
    position: absolute;
    right: -10px;
    width: 36px !important;
    overflow: hidden;
    min-width: 36px !important;
    max-width: 36px;
    left: auto;
    color: #008bf8!important;
    top: calc(50% - 18px);
    height: 36px!important;
	padding: 4px;
	border-radius: 100%!important;
	
	
}
 .card-info-info .card-info-details a {
    z-index: 1;
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    height: auto !important;
  }
  .card-info-details .text-body{display: none;}
.card-info-info .card-info-button::after	{
content: ">";
    color: #fff;
    position: absolute;
    width: 36px;
    height: 36px;
    left: 1px;
    top: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 32px;
    text-align: center;
}
.card-info-info img {
  z-index: 1;
  width: 80px !important;
  height: auto!important;
}
.card-info-info .text-body {
  display: none;
}
.home-service .head {border: none!important;}
		}
        @media (min-width: 768px) {
        .slide-menu .links .has-submenu:hover .submenu {
  min-width: 260px;
        }	
		
		}