html {
  box-sizing: border-box;
  font-family: sans-serif;
  overflow: auto;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  position: relative;
  background: url(/images/Asset\ 59.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* overflow: hidden; */
  /* padding-bottom: 300%; */
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* HEADER */

header {
  /* position: relative;
  width: 100%;
  padding-bottom: 55%;
  max-height: 800px;
  background-color: #000;
  z-index: 4;
  overflow: hidden; */
  /* background:url(/images/Asset\ 57.png); */
  position: relative;
  overflow: hidden;
}

header > img {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 11;
}

header > section {
  width: 100%;
  position: relative;
  margin-top: -10.5%;
  z-index: 10;
}

header > section > img {
  width: 100%;
}

header > section > article {
  position: absolute;
  width: 100%;
  display: flex;
  top: 31%;
  padding: 0 65px;
}
header > section > article > section {
  width: 47%;
}

.header-logo-text img {
  width: 98%;
}

.header-logo-text > img:nth-of-type(1) {
  width: 43% !important;
}

.header-image > div {
  width: 103%;
  position: relative;
}
.header-image > div > img {
  position: relative;
  width: 103%;
  z-index: 11;
}

.header-image > div::before {
  position: absolute;
  z-index: 10;
  background: url(/images/Asset\ 48.png);
  object-fit: contain;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  left: -2%;
  bottom: -5%;
}

.background-image {
  /* width: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  z-index: -1; */
}

/* MAIN */
main {
  position: relative;
  /* margin-top: -70%; */
}

.products-section {
  position: relative;
  overflow: hidden;
  margin-top: -63%;
  width: 100%;
  padding-bottom: 80%;
}
.products-section > div {
  position: absolute;
  width: 100%;
  height: 100%;
}
.products-section > div > img {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
  position: relative;
}

.products-section-list {
  width: 100%;
  position: absolute;
  z-index: 8;
  top: 74%;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  justify-content: center;
  height: 55%;
}
.products-section-list > img {
  width: 100%;
  display: block;
  position: absolute;
  inset: 0;
  height: 90%;
}
.products-section-list > ul {
  /* justify-content: center; */
  position: relative;
  /* display: flex; */
  /* flex-wrap: wrap; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* grid-template-columns: repeat(1, 1fr); */
  justify-items: center;
  width: 100%;
  z-index: 11;
  max-width: 1200px;
  margin: 0 auto;
}
.products-section-list > ul > li {
  width: 80%;
  max-width: 470px;
}
.products-section-list > ul > li > img {
  display: block;
  width: 100%;
  border-radius: 30px;
  border: 1px solid #dfe2e4;
}

.products-section-list-title {
  position: relative;
  width: 30%;
  margin-left: 10%;
  margin-bottom: 50px;
  /* display: flex;
  align-items: center;
  justify-content: center;
  background: url(/images/Asset\ 45.png); */
  /* background-size: cover; */
}

.products-section-list-title::before {
  position: absolute;
  z-index: 10;
  background: url(/images/Asset\ 45.png);
  object-fit: contain;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  content: "";
  width: 170%;
  height: 400%;
  top: -129%;
  left: -6%;
  z-index: 2;
  /* left: -20px;
  bottom: -20px; */
}
.products-section-list-title > img {
  width: 95%;
  position: relative;
  z-index: 3;
}

.information-section {
  position: relative;
  margin-top: 13%;
  width: 100%;
}
.information-section > img {
  width: 100%;
  z-index: 6;
}

.information-section > article {
  width: 100%;
  position: absolute;
  top: 11%;
  display: flex;
}

.information-section > article > div {
  width: 49%;
}

.information-section-images {
  position: relative;
}
.information-section-images > img {
  position: absolute;
  width: 120%;
  bottom: -9%;
}
.information-section-images > section {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 0;
}
.information-section-images > section > div {
  width: 50% !important;
  z-index: 3;
}

.information-section-images > section > div:nth-of-type(1) {
  width: 45% !important;
  grid-area: 1 / 1 / span 2 / span 2;
}
.information-section-images > section > div:nth-of-type(2) {
  width: 100% !important;
}
.information-section-images > section > div:nth-of-type(2) > img {
  margin-top: -15%;
  margin-left: 15%;
}
.information-section-images > section > div:nth-of-type(3) {
  width: 80% !important;
  margin-left: -5%;
}
.information-section-images > section > div > img {
  width: 100%;
}

.information-section-text {
  margin-top: 3%;
  display: flex;
  flex-direction: column;
}

.information-section-text > img:nth-of-type(1) {
  width: 30%;
  margin-left: -25%;
}
.information-section-text > img:nth-of-type(2) {
  width: 90%;
}

/* stores-section */

.stores-section {
  position: relative;
  background: #b6d5ed;
  background: url(/images/Asset\ 56.png);
  margin-top: -21%;
  z-index: 100;
  width: 100%;
  min-height: 690px;
  background-size: cover;
}
.stores-section > img {
  position: relative;
  width: 100%;
}

.stores-section-list {
  width: 100%;
  position: absolute;
  top: 50%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 30px;
  max-width: 1400px;
  left: 50%;
  transform: translate(-50%);
}

.stores-section-list-item {
  /* position: relative; */
  width: 70%;
  background: #02b6ff;
  border: 2px solid #02b6ff;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.5s;
}

.stores-section-list-item:hover {
  position: relative;
  background: #fff;
  transform: scale(1.02);
}

.stores-section-list-item:hover p {
  color: #02b6ff;
}

.stores-section-list-item > p {
  color: #fff;
  text-align: center;
  text-transform: capitalize;
  font-size: min(max(16px, 2.1vw), 22px);
  padding: 10px;
  margin: 0;
  font-weight: 600;
  transition: 0.5s;
}

.shops {
  width: 100%;
  display: none;
  position: absolute;
  z-index: 3;
  padding: 15px;
  text-align: center;
  border: 1px solid #02b6ff;
  /* margin-top: 3px; */
  border-radius: 15px;
  max-height: 450px;
  background: #fff;
  overflow: auto;
  color: #02b6ff;
  font-weight: 600;
  transition: 0.5s;
  /* opacity: 0; */
}

.sofia-item:hover .sofia-shops,
.pernik-item:hover .pernik-shops,
.berkovica-item:hover .berkovica-shops,
.vidin-item:hover .vidin-shops,
.kiustendil-item:hover .kiustendil-shops,
.blagoevgrad-item:hover .blagoevgrad-shops,
.sandanski-item:hover .sandanski-shops,
.vraca-item:hover .vraca-shops,
.lom-item:hover .lom-shops,
.botevgrad-item:hover .botevgrad-shops,
.kozlodul-item:hover .kozlodul-shops,
.montana-item:hover .montana-shops,
.petrich-item:hover .petrich-shops {
  display: block;
  /* opacity: 1; */
  transition: 0.5s;
}

/* FOOTER */
footer {
  position: relative;
}

footer > img {
  width: 100%;
  background: #fff;
}

footer > ul {
  bottom: 0;
  width: 100%;
  position: absolute;
  display: flex;
  padding: 25px;
  justify-content: space-between;
  align-items: flex-end;
}
footer > ul > li:first-of-type {
  width: 22%;
}
footer > ul > li > img {
  width: 80%;
}

.contacts {
  display: flex;
  flex-direction: column;
  color: #fff;
}
.contacts a {
  text-decoration: none;
  color: #fff;
}
.contacts > div {
  display: flex;
  align-items: flex-end;
}
.contacts > p {
  margin: 8px 0;
}
.contacts > div > img {
  width: 35px;
  margin-right: 10px;
}

#open_preferences_center{
display: none;
}

@media (max-width: 1420px) {
  .stores-section {
    margin-top: -24%;
  }

  .information-section {
    margin-top: 17%;
  }
}
@media (max-width: 1280px) {
  .information-section {
    margin-top: 20%;
  }
}

@media (max-width: 1240px) {
  .stores-section {
    margin-top: -26%;
  }
}

@media (max-width: 1080px) {
  .stores-section {
    min-height: 800px;
  }
  .stores-section > ul {
    top: 35%;
  }
  header > section > article {
    padding: 0 30px;
  }

  .stores-section-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .information-section {
    margin-top: 21%;
  }
}

@media (max-width: 768px) {
  header > section > article {
    padding: 0 10px;
    top: 37%;
  }

  .header-image {
    display: none;
  }

  header > section > article > section {
    width: 100%;
    margin: 0 auto;
  }

  .header-logo-text {
    display: flex;
  }

  .header-logo-text > img:nth-of-type(1) {
    width: 23% !important;
    height: 63%;
    margin-right: 15px;
  }

  /* MAIN */

  /* .products-section {
    padding-bottom: 170%;
  }
  .products-section-list > ul {
    grid-template-columns: repeat(1, 1fr);
    margin-left: 4%;
  }

  .products-section > div > img {
    display: none;
  }

  .products-section-list-title {
    width: 45%;
    margin-left: 1%;
    margin-top: 3%;
  }
  .products-section-list-title::before {
    display: none;
  }

  .information-section {
    margin-top: 115%;
  }

  .information-section > article {
    flex-direction: column;
    padding: 40px 0;
  }
  .information-section > article > div {
    width: 100%;
    overflow: hidden;
  }

  .stores-section {
    margin-top: 85% !important;
  }

  .information-section-text {
    justify-content: center;
    align-items: center;
  }

  .information-section-text > img:first-of-type {
    margin: 0;
    margin-bottom: 20px;
  }
  .information-section-text > img:last-of-type {
    width: 80%;
  }

  .stores-section-list-item{
    width: 90%;
  } */
}

@media (max-width: 800px) {
  .contacts > p {
    margin: 4px 0;
  }

  footer > ul {
    padding: 0 20px;
  }

  .products-section-list-title::before {
    top: -135%;
    left: -10%;
  }
}

@media (max-width: 768px) {
  .information-section {
   display: block;
   margin-top: 35%;
   margin-bottom: 215%;
   /* overflow-x: hidden; */
  }
  .information-section > img {
    display: none;
  }
  .information-section > article {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .information-section > article>div{
    width: 100%;
    overflow: hidden;
  }


  .products-section-list-title::before {
    /* top: -135%; */
    left: -14%;
  }

  .information-section-text{
    align-items: center;
    background-color: #ffffffab;
    padding: 15px;
    border-top-left-radius: 30%;
    border-top-right-radius: 50%;
    border-bottom-left-radius: 16%;
  }
  .information-section-text>img:first-of-type{
    margin-bottom: 20px;
  }
}

@media (max-width: 620px) {

  .stores-section{
    margin-top: -40%;
  }

  .stores-section-list{
    padding: 15px;
  }
  .stores-section-list-item {
    width: 100%;
  }
}

@media (max-width: 550px) {
  .contacts p {
    font-size: 13px;
  }

  .contacts > div > img {
    width: 25px;
  }

  .products-section-list-title::before {
    top: -135%;
    left: -19%;
  }
}

@media (max-width: 500px) {
 .products-section-list{
  top:160%;
  margin-bottom: 100%;
 }
 .products-section-list>ul{
  grid-template-columns: repeat(1,1fr);
  gap: 20px;
 }
 .products-section-list>img{
  height: auto;
 }

 .information-section{
  margin-top: 170%;
  margin-bottom: 355%;
 }

 .products-section-list-title::before {
  top: -135%;
  left: -23%;
}
}

@media (max-width: 480px) {
  .stores-section{
    margin-top: -54%;
  }

  .products-section-list-title::before {
    display: none;
  }
  .products-section-list-title {
    width: 50%;
  }

}
@media (max-width: 440px) {
  .contacts {
    font-size: 12px !important;
  }

  .contacts p {
    margin: 2px 0;
  }

  .contacts > div > img {
    width: 20px;
  }
}

/* TILL 600px */
