@import url("https://fonts.googleapis.com/css?family=Poppins:100,300,400,500,600,700,800, 800i, 900&display=swap");

@font-face {
  font-family: "Gilroy";
  src: url(Gilroy-Regular.otf);
  font-weight: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url(Gilroy-Bold.otf);
  font-weight: bold;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Gilroy";
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

::selection {
  background-color: #ec1d6f;
  color: #fff;
}

.main-content {
  min-height: calc(100vh - 90px);
  position: relative;
}

/* Navigation Bar */

.navbar {
  background-color: #fff;
  height: 100px;
  transition: 0.2s;
  box-shadow: 0 0.1rem 0 rgba(0, 0, 0, 0.3);
}

.offcanvas {
  z-index: 1000000;
  width: 100% !important;
}

.offcanvas-body a {
  text-decoration: none;
}

.nav-item {
  padding: 15px;
}

.navbar-brand {
  font-size: 30px;
  padding-left: 40px;
  padding-right: 30px;
}

.nav-link {
  font-size: 18px;
  color: #000;
  border-radius: 10px !important;
}

.nav-link:hover {
  color: #fff !important;
  background-color: #ec1d6f;
}

.fa-magnifying-glass {
  padding-right: 10px;
}

.active {
  color: #369 !important;
}

.disabled {
  color: #000 !important;
}

.navbar-brand img {
  width: 150px;
}

.navbar-toggler-icon {
  background-image: url("/images/nav-bar-photo.png");
}

.dropend .nav-link {
  color: #000;
  text-decoration: none;
  font-size: 17px;
  padding: 0;
  width: 100% !important;
}

.dropdown-item {
  padding: 0 10px;
}

.dropdown-item:hover {
  color: #fff;
  background-color: #ec1d6f !important;
}

.dropdown-menu-mehsullarimiz {
  margin-top: 0;
}

.dropdown-mehsullarimiz:hover {
  .dropdown-menu-mehsullarimiz {
    display: block;
  }
}

.dropdown-promo:hover {
  .dropdown-menu-promo {
    display: block;
    margin-left: 177px;
    margin-top: -35px;
    max-height: 300px;
    overflow: auto;
  }
}

.dropdown-stekan:hover {
  .dropdown-menu-stekan {
    display: block;
    margin-left: 177px;
    margin-top: -35px;
    max-height: 300px;
    overflow: auto;
  }
}

.dropdown-qab:hover {
  .dropdown-menu-qab {
    display: block;
    margin-left: 177px;
    margin-top: -35px;
    max-height: 300px;
    overflow: auto;
  }
}

.dropdown-geyim:hover {
  .dropdown-menu-geyim {
    display: block;
    margin-left: 177px;
    margin-top: -35px;
    max-height: 300px;
    overflow: auto;
  }
}

/* Search */

.search {
  margin: 220px;
  text-align: center;
}

.search h1 {
  color: #369;
  font-size: 60px;
  font-weight: bold;
}

.search-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 650px;
  margin: 40px auto;
}

.search-input {
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  width: 650px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #369;
}

.search-btn {
  padding-left: 20px;
  margin-top: -10px;
}

.search-button {
  background-color: #369;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-button:hover {
  background-color: #0056b3;
}

.search-container {
  position: relative;
}

#searchInput {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
}

.search-results {
  width: 560px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow-y: auto;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

.search-results div {
  margin: 5px;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
}

.search-results div:hover {
  background-color: #e0e0e0;
}

/* Footer */

footer {
  background-color: #001f3e;
  padding: 20px;
  color: #fff;
}

.footer-section {
  margin-bottom: 20px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style-type: none;
  padding-left: 0;
}

.footer-section ul li {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.footer-section ul li:hover,
.footer-section ul li:focus {
  color: rgba(255, 255, 255, 1);
  background-color: transparent;
}

.footer-section a {
  color: inherit;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section .social-icons {
  margin-top: 10px;
}

.footer-section .social-icons a {
  margin-right: 10px;
  color: #fff;
}

.footer-bottom {
  font-size: 14px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-section ul li a:hover {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 700px) {
  /* Navigation Bar */

  .navbar {
    background-color: #fff;
    z-index: 100000;
    height: 60px;
    box-shadow: 0 0.1rem 0 rgba(0, 0, 0, 0.3);
  }

  .navbar-brand img {
    margin-top: -10px;
    margin-left: -10px;
    width: 80px;
  }

  .offcanvas {
    background-color: #001f3e;
    border: 1px solid #001f3e !important;
    width: 100% !important;
    height: 100% !important;
  }

  .offcanvas-title {
    color: #fff;
    font-weight: bold;
  }

  .active {
    color: #fff !important;
  }

  .navbar-brand {
    padding: 0;
  }

  .nav-link {
    border: 1px solid #666;
    color: #fff;
    padding: 5px;
    font-size: 20px;
    margin-left: 10px;
  }

  .dropdown-mehsullarimiz:hover {
    .dropdown-menu-mehsullarimiz {
      margin: 0;
      background-color: #fff;
      border: none !important;
    }
  }

  .dropdown-promo:hover {
    .dropdown-menu-promo {
      margin: 0;
      background-color: #fff;
      border: none !important;
    }
  }

  .dropdown-stekan:hover {
    .dropdown-menu-stekan {
      margin: 0;
      background-color: #fff;
      border: none !important;
    }
  }

  .dropdown-qab:hover {
    .dropdown-menu-qab {
      margin: 0;
      background-color: #fff;
      border: none !important;
    }
  }

  .dropdown-geyim:hover {
    .dropdown-menu-geyim {
      margin: 0;
      background-color: #001f3e;
      border: none !important;
    }
  }

  .dropdown-item {
    color: #fff;
  }

  .dropdown-menu .nav-link {
    border: none;
    color: #000 !important;
  }

  .dropdown-toggle {
    color: #fff !important;
  }

  .russian-flag {
    padding-left: 15px !important;
  }

  .search-mobile {
    position: absolute;
    left: 72.5%;
    color: #1f1f1f;
    margin-top: -10px;
  }

  .search-mobile i {
    font-size: 20px;
  }

  .navbar-toggler {
    margin-top: -15px;
    padding-right: 0;
    border: none;
    padding: 0;
  }

  .navbar-toggler-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .nav-item {
    padding: 7px 15px;
  }

  .nav-link:hover {
    color: #000 !important;
    background-color: #fff;
  }

  /* Search */

  .search {
    margin-left: 60px;
    padding: 0;
  }

  .search-input {
    width: 200px !important;
  }

  .search-results {
    width: 200px !important;
  }

  .search h1 {
    font-size: 30px;
    width: 200px !important;
  }

  /* Footer */

  .footer-section {
    padding: 10px;
  }
}

@media (max-width: 375px) {
  /* Search */

  .search {
    margin-left: 15px;
  }

  /* Products */

  .card-padding .blur-load,
  .card-padding .card-img-top {
    width: 150px !important;
    height: 150px !important;
  }

  .card {
    width: 150px !important;
    height: 220px !important;
  }
}
