*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:sans-serif;
}

body{
  overflow-x:hidden;
}

.wrapper{
  max-width:1200px;
  margin:0 auto;
  width:100%;
  padding:0 20px; 

  img {
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* HEADER */
header{
  width:100%;
  padding:15px 0;
  position:fixed;
  top:0;
  left:0;
  background:rgba(0,0,0,0.65);
  color:#fff;
  z-index:999;
}

header .inner{
  width:1200px;
  max-width:95%;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

header .logo{
  font-size:22px;
  font-weight:700;
}

/* BURGER */
.burger{
  display:none;
  font-size:28px;
  cursor:pointer;
}

nav ul{
  display:flex;
  gap:25px;
  list-style:none;
}

nav ul li a{
  color:#fff;
  text-decoration:none;
  font-size:16px;
}

.lang-switch a{
  margin-left:10px;
  margin-right:10px;
  color:#fff;
  text-decoration:none;
}

/* ====== MOBILE NAV ====== */
@media(max-width:900px){
  nav ul{
    position:absolute;
    right:0;
    top:70px;
    background:#000;
    flex-direction:column;
    width:200px;
    padding:15px;
    gap:15px;
    display:none;
    border-radius:0 0 0 8px;
  }
  nav.open ul{
    display:flex;
  }

  .burger{
    display:block;
  }
}

/* SLIDER */
.slider{
  height:100vh;
  position:relative;
}

.swiper-slide{
  background-size:cover;
  background-position:center;
}

.slide-text{
  position:absolute;
  max-width:700px;
  top:55%;
  left:0;
  right:0;
  margin:0 auto;
  transform:translateY(-50%);
  font-size:50px;
  text-align:center;
  color:#fff;
  text-transform:uppercase;
  text-shadow:0 3px 10px rgba(0,0,0,0.6);
}

@media(max-width:768px){
  .slide-text{
    font-size:30px;
    padding:0 10px;
  }
}

.swiper-button-prev, .swiper-button-next {
    color: #fff !important;
}

.swiper-pagination-bullet {
    background: #fff !important;
}

/* SECTIONS */
section{
  padding:90px 0 60px;
}

h2{
  font-size:36px;
  margin-bottom:35px;
  text-align:center;
}

/* ABOUT */

.about p{
  line-height:1.6;
  max-width:1200px;
  text-align:justify;
  margin:0 auto;
  padding: 10px;
}

/* ADVANTAGES */
.advantages{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
}

.advantages .item{
  flex:1 1 calc(33% - 30px);
  min-width:240px;
  background:#f7f7f7;
  border-radius:8px;
  text-align:center;
  padding:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}

.advantages .item .icon{
  margin-bottom:15px;
  max-width: 75px;

  img {
    width: 100%;
    height: auto;
  }
}

.advantages .item .text{
  font-size:16px;
  font-weight:500;
}

/* Responsive */
@media(max-width:900px){
  .advantages .item{
    flex:1 1 calc(50% - 20px);
  }
}

@media(max-width:600px){
  .advantages .item{
    flex:1 1 100%;
  }
}


/* TEAM */
.team{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
}

.team p {
  line-height:1.6;
  max-width:1200px;
  text-align:justify;
  margin:0 auto;
  padding: 10px;
}

/* CATALOG */
.catalog{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
  justify-items:center;
}

/* Product-card new */
.product-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  text-align:center;
  padding:12px;
  cursor:pointer;
  transition:0.25s;
}
.product-card img{
  width:100%;
  border-radius:6px;
}
.product-card h3{
  margin:10px 0 6px;
}
.product-card:hover{
  transform:translateY(-5px);
  box-shadow:0 4px 14px rgba(0,0,0,0.12);
}

/* GRID RESPONSIVE */
@media(max-width:900px){
  .catalog{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:600px){
  .catalog{
    grid-template-columns:1fr;
  }
}

/* DELIVERY */
.delivery{
  display:flex;
  flex-wrap:wrap;
  align-items:center;

  p {
    line-height:1.6;
  max-width:1200px;
  text-align:justify;
  margin:0 auto;
  padding: 10px;
  }
}


/* Contacts two columns */
.contacts-content{
  display:flex;
  gap:40px;
  flex-wrap:wrap;
}

/* Mobile */
@media(max-width:768px){
  .contacts-content{
    flex-direction:column;
  }
}


/* FOOTER */
footer{
  text-align:center;
  padding:30px;
  background:#222;
  color:#fff;
}

/* POPUP (modal) */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.7);
  justify-content:center;
  align-items:center;
  z-index:9999;
}
.modal-content{
  background:#fff;
  padding:25px;
  border-radius:8px;
  max-width:600px;
  width:90%;
  text-align:center;
  animation:fade .3s;
  position:relative;
}
.modal-content img{
  width:100%;
  border-radius:6px;
  margin-bottom:15px;
}
.close{
  position:absolute;
  top:10px;
  right:15px;
  cursor:pointer;
  font-size:32px;
}

@keyframes fade{
  from{opacity:0; transform:scale(.9);}
  to{opacity:1; transform:scale(1);}
}


#scrollTopBtn {
  display: none; /* Скрыта по умолчанию */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #222;
  color: #fff;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background 0.3s, transform 0.3s;
}

#scrollTopBtn:hover {
  background-color: #555;
  transform: translateY(-3px);
}
