
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
     font-family: 'Fira Sans', sans-serif;
     background-color: #fff;
}

.header {
    background-color: #fff;
    padding: 10px 20px;
	    margin: 0 auto;
    max-width: 1659px;
}

.header-top {
    display: flex;
    justify-content: space-between;
	
    align-items: center;
}
.header-left {
    display: flex;
    justify-content: space-between;
	gap	: 50px;
    align-items: center;
}
.header-right {
    display: flex;
    justify-content: space-between;
	gap	: 50px;
    align-items: center;
}

.logo { width: 295px;
   
    align-items: center;
   
}



.logo img {
    width: 100%;
    height: auto;
}

.city-selector,
.location-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
}

.city-selector select {
    margin-left: 5px;
    padding: 5px;
    border: none;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
}

.phone-number {
    font-size: 20px;
    font-weight: 500;
    color: #e74c3c;
    text-align: center;
}

.phone-number a { font-size: 20px;
    text-decoration: none;
    color: #BE1622;
}

.phone-number p {
    font-size: 12px;
    color: #333;
}

.call-button button {
    line-height: 20px;
    padding: 12px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #25d366;
    color: #fff;
    
    border-radius: 30px;
    text-decoration: none;
}
.whatsapp-button  a {padding: 12px 20px;}

.whatsapp-button svg {
    width: 20px;
    height: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links .vk-icon, .social-links .tg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    text-decoration: none;
}

.profile-link {
    font-size: 14px;
    color: #333;
}
.profile-link a {
    border-radius: 8px;
    padding: 16px 25px 18px 23px;
    background: #F5F5F5;
    color: #333;
    text-decoration: none;
}

.social-links .vk-icon {background-color:#507AA0;}
.social-links .tg-icon {background-color:#0088CC;}

.social-links .tg-icon svg {margin-right: 4px;}

.whatsapp-button a {color: #fff; text-decoration: none; font-size: 14px;line-height: 20px;}
.whatsapp-button svg {
vertical-align: middle;}

.call-button  {font-size: 14px;}


.header-bottom {
	margin-top: 10px;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px;
  margin-bottom: 20px;
}

.menu-buttons {
  display: flex;
  gap: 10px;
}

.catalog-button {
  background-color: #BE1622;
  color: #fff;
  padding: 20px 30px;
  border: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.calculation-system-button {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.main-menu {margin-left: 30px;}
.main-menu ul {
  list-style: none;
  display: flex;
 
}

.main-menu li a,
.main-menu li button {
  color: #333;
  text-decoration: none;
  padding: 10px;
}

.main-menu li button {
  position: relative;
}

.main-menu li button .dropdown-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.search-bar { flex: 1; text-align: right;
  position: relative;
  justify-content: flex-end;
  display: flex;
  margin-left: auto;
  margin-right: 20px;
}
.search-bar button {border: none;}

.search-input {
  padding: 16px 40px 16px 20px;
  border: 1px solid #ddd;
  border-radius: 30px;
  max-width: 500px;
  width: 100%;
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
}

.user-info {
  display: flex;
  gap: 10px;
}

.notifications,
.favorites,
.cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bell-icon,
.heart-icon,
.cart-icon {
  width: 20px;
  height: 20px;
}

.badge {
  position: absolute;
  top: -5px;
  left: 15px;
  background-color: #BE1622;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
font-size: 12px;}


.benefits {
    background-color: #fff;
    padding: 20px;
}
.benefits .benefits-wraper { display: grid; grid-template-columns: repeat(4, 1fr);} 




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

.benefit-item { border-right: 1px solid #3333331a;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
	padding-right: 15px;
}
.benefit-item:last-child {border-right: 1px solid transparent;}

.benefit-item svg {
    width: 40px;
    height: 40px;
}

.benefit-item h3 {
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 14px;
}
.calculation-system .container .img {position: absolute;     right: 0px;
    bottom: -5px;
}
.calculation-system .container { position: relative;
border-radius: 5px;

    background: #33333;
background: linear-gradient(76deg,rgba(0, 0, 0, 1) 0%, rgba(104, 104, 104, 1) 100%);
    color: #fff;
    padding: 45px 30px;
	padding-right: 500px;
	margin-top: 100px;
}

.calculation-system h2 {
    margin-bottom: 20px;
}

.calculation-system p {
    margin-bottom: 20px;
}

.calculation-system button {
    padding: 15px 30px;
    background-color: #BE1622;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}
.catalog{margin-bottom: 70px;}
.calculators {
  margin-bottom: 70px;
    background-color: #fff;
    padding: 20px;
}
.calculators .container

{	
border-radius: 5px;
gap: 25px;
display: grid;
grid-template-columns: repeat(3, 1fr);}

.calculator-card { position: relative;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
	min-height: 279px;  
	
}

.calculator-card h3 {font-size: 16px; font-weight: 500;
    margin-bottom: 20px;
}
.calculator-card h3 span {font-size: 36px; font-weight: 700;
   
}



.calculator-card img {
    width: 100%;
    height: auto;
}

.calculator-card button {
	bottom: 20px;
	position: absolute;
    padding: 10px 20px;
    background-color: #fff;
    color: #BE1622;
    border: 1px solid #fff;
    border-radius: 20px;
    cursor: pointer;
}

.krov-calc {background-image: url('../images/red_roof.png');}
.zabor-calc {background-image: url('../images/red_zabor2.png');} 
.fasad-calc {background-image: url('../images/red_fasad.png');}


/* styles.css */



.product-card {
  background-color: #F5F5F5;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  transition: transform 0.3s ease;
  min-width: 250px;
  width: 386px;
}

.product-card:hover {
  /*transform: scale(1.05);*/
}

.tags {
  display: flex;
  gap: 10px;
}

.tag {
  background-color: #FFE097;
  color: #333;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.tag-blue {background-color:#B1D3FF;} 
.tag-green{background-color:#39B42C; color: #fff;}

.image-container {
  position: relative;
  overflow: hidden;
  width: 344px;
  height: 320px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.image.active {
  opacity: 1;
}

.indicator {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.dot {
  width: 10px;
  height: 3px;
  background-color: #AAAAAA;
  border-radius: 3px;
  margin: 0 3px;
  cursor: pointer;
}

.dot.active { width: 20px;
  background-color: #333333;
}

.product-card h3 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
}

.product-card p {
  font-size: 24px;
  font-weight: 400;
  color: #333;
}

.controls {
  display: flex;
      flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card {margin: 10px;}
.product-card a.cart {


  position: absolute;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .controls, .product-card:hover a.cart {
  opacity: 1;
}


.filters {
  display: flex;
  gap: 10px;
  padding: 10px 20px;
  background-color: #fff;
}

.filter {
	background-color: #333;
	color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.filter.active {
  background-color: #BE1622;
  color: #fff;
}

.custom-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  
}

.slider-btn {
  width: 40px;
  height: 40px;
 background: none;
 
 
  border: none;
  
  cursor: pointer;

}
.slider-control {display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 10px;}
	
.section-title { font-size: 36px; font-weight: 400;color:#333; margin-bottom: 20px; }