@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");



:root {
  --color-green-primary: "rgb(0, 102, 51);";
  --color-green-secondary: "rgb(0, 146, 73);";
}

.nav-header-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 20px auto 0px auto;
  height: 100px;
  /* Debug Rules here */
  /* background-color: aqua; */
}

/* Header Search Text */
.search-bar-lg {
  width: 400px;
}

.search-bar-form {
  /* FORM  */
  border-radius: 25px;
}

.input-group {
  width: 100%;
  display: flex;
  border-radius: 20px;
}

.search-bar-form .form-control {
  border-radius: 20px 0 0 20px;
  height: 40px;
  transition: border 0.3s ease-in-out;
  border: 3px solid #e5e5e5;
}

.search-bar-form .btn-search {
  border-radius: 0 20px 20px 0;
  /* color: rgb(0, 146, 73); */
  color: rgb(0, 102, 51);
  border: 3px solid rgb(0, 102, 51);
}

.search-bar-form .btn-search:hover {
  /* color: rgb(0, 102, 51);
    border: 3px solid rgb(0, 102, 51);; */
  font-size: 20px;
}

.search-bar-form .form-control:focus {
  box-shadow: unset;
}

.input-group input[text] {
  width: 100%;
}

.description-filter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 40px;
  width: 100%;
  height: 30px;
}

.check-box-filter {
  padding-right: 40px;
  margin: 0px !important;
}

.search-bar-md {
  width: 90%;
  margin: 0 auto;
  display: none;
}

/* Logo image */
.logo-img {
  width: 300px;
}

.logo-img img {
  width: 100%;
}

/* Link Header */
.links-main {
  list-style-type: none;
  width: 400px;
  height: 100%;
  margin: 0px;
  padding: 0px;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.links-main li {
  margin: 0 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.links-main #carrello {
  order: 1;
  position: relative;
}

.links-main i {
  font-size: 40px;
  color: rgb(0, 102, 51);
  /* colore verde chiaro */
  transition: all 0.3s;
}
.links-main i:hover {
  transform: scale(1.3);
}

.badge {
  position: absolute;
  right: -8px;
  top: -8px;
  background-color: rgb(0, 146, 73);
}

/* Hamburgher Menu */

.hamg-menu {
  display: none;
  cursor: pointer;
}

.hamg-menu {
  color: rgb(0, 146, 73);
}

.hamg-menu i:hover {
  color: rgb(0, 102, 51);
  transform: scale(1.3);
}

.hamburgher i {
  font-size: 40px;
}

/* Submenu hamburgher mobile */

.menu-open {
  overflow-y: hidden;
}

.link-page {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: #f9f9f9;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
  font-family: "Montserrat", sans-serif;
  list-style-type: none;
  z-index: 9999;
  padding: 15px 25px;
}

.link-page.active {
  display: flex;
  flex-direction: column;
}

#close-menu-mobile {
  height: 50px;
  margin-top: 20px;
  padding-top: 10px;
  padding-left: 0px;
  padding-right: 0px;
  cursor: pointer;
}

#close-menu-mobile:hover {
}

.link-mobile {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  padding: 10px 5px;
  letter-spacing: 2px;
  font-weight: 500;
  cursor: pointer;
}

/* submenu sotto categorie per mobile */

.submenu-mobile {
  /* visibility: hidden;
  opacity: 0; */
  transform: translateX(-100%);
  transition: transform 0.2s ease;
  height: 0px;
  padding-left: 30px;
  opacity: 0;
}

.submenu-mobile.active {
  transform: translateX(0%);
  height: auto;
  opacity: 1;
}

.submenu-mobile.closing {
  transform: translateX(-100%);
}

.sub-cat-mobile {
    padding: 5px 2.5px;
    letter-spacing: 0px;
    font-weight: 300;
}

/* Sub Menu Desktop: */
.submenu {
  font-family: "Montserrat", sans-serif;
  background-color: #fff;
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.wrapper-submenu {
  margin: 0;
  padding: 0;
}
.submenu.active {
  visibility: visible;
  opacity: 1;
}

.container-submenu {
  padding: 20px 30px;
  display: flex;
}

/* IMMAGIME SUBMEU */

.image-submenu {
  width: 250px;
  height: 150px;
}

.image-submenu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Link SUBMENU */

.links-submenu {
  width: 100%;
  padding: 0 10px;
}

.links-submenu a {
  display: inline-block;
  width: 33%;
  font-size: 13.5px;
  font-weight: 400;
  text-decoration: none;
  padding: 5px 5px;
}

.links-submenu a:first-child {
  width: 100%;
  display: block;
  padding-top: 0px;
  font-weight: 600;
}

.links-submenu a:hover {
  text-decoration: underline;
}

/* NAV LINKS CATEGORIES */

.navmenu-links {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0px 0px 0px;
  padding: 0;
  list-style-type: none;
  position: relative;
  font-family: "Montserrat", sans-serif;
}

.link-nav a::first-letter {
  text-transform: uppercase !important;
}

.link-nav {
  width: 85px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: lowercase;
  transition: all 0.4s;
  color: black;
  cursor: pointer;
  /* overflow: hidden; */
  z-index: 3;
  position: relative;
  font-size: 13px;
}

.category-link {
  text-transform: uppercase;
}

.link-nav::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, #23623d, #23623d);
  transition: height 0.3s;
}

.link-nav.active::before {
  height: 100%;
}

.link-nav.active {
  color: #fff;
}

.link-nav.no-submenu:hover::before {
  height: 100%;
}

.link-nav.no-submenu:hover {
  color: #fff;
}

.link-nav a {
  color: unset;
  transition: unset;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.link-nav a:hover {
  text-decoration: none;
}

/* Ordinamento links navbar */
#home {
  order: 0;
}
.viso {
  order: 1;
}
.corpo {
  order: 2;
}
.capelli {
  order: 3;
}
.make-up {
  order: 4;
}
.uomo {
  order: 5;
}
.casa {
  order: 6;
}
.solari {
  order: 7;
}
.animali {
  order: 8
}
.bambini {
  order : 9
}
#azienda {
  order: 10;
}
#contatti {
  order: 11;
}
#blog {
  order: 12;
}


/* Gestione errore nel modal di LOGIN */

#login-error-message {
  width: 100%;
  background-color: rgba(225, 255, 0, 0.5);
  color: black;
}

.navbar_mobile {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 15px 0px;
  flex-wrap: wrap;
  border-bottom: 2px solid #23623d;
}
.navbar_mobile i{
  font-size: 30px;
}
.icon-info {
  display: none;
  color: black;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin-top: 5px;
  text-transform: uppercase;
}

/*  DEFAULT MEDIA Query  */
@media only screen and (max-width: 329px) {
    /* HAMURGHER MENU OPEN AT 981px  */
    .nav-header-logo {
      justify-content: center;
    }
  
    .main_title_style {
      font-size: 30px;
      margin: 0px !important;
      padding: 30px 20px;
    }


    .links-main {
      width: auto;
      gap: 5px !important;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      /* margin-bottom: 25px; */
      /* justify-content: center; */
    }
    .hamg-menu {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }
    .logo-img {
      width: 100%;
      height: 100%;
    }
    .logo-img a{
      display: inline-block;
      width: 100%;
      height: 100%;
      /* padding: 30px; */
    }
    .logo-img img {
      height: 70%;
      object-fit: contain;
    }
    .search-bar-lg {
      display: none;
    }
    .navmenu-links {
      display: none;
    }
    .wrapper-submenu {
      display: none;
    }

    .search-bar-md {
      display: block;
    }
    .navbar_mobile {
      display: flex;
      justify-content: center;
      position: relative;
    }
    .icon-info {
      display: block;
      font-size: 10px;
    }
    #thumbs a {
      width: 80px;
    }
    #thumbs img {
      height: 80px;
    } 


}

@media only screen and (min-width:330px) and (max-width: 450px) {
  .links-main {
    gap: 5px !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .links-main li, .hamg-menu {
    scale: 0.8;
    margin: 0px;
  }
  

}

/* Extra small devices (telefoni, 0-575px) */
@media only screen and (min-width: 330px) and (max-width: 575px) {
  /* Stili per dispositivi extra small */
  /* DA QUI CAMBIA */

  /* HAMURGHER MENU OPEN AT 981px  */

  .nav-header-logo {
    justify-content: center;
  }

  .links-main {
    width: auto;
    gap: 15px;
    /* justify-content: center; */
  }
  .hamg-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .logo-img {
    width: 100%;
    height: 100%;
  }
  .logo-img a{
    display: inline-block;
    width: 100%;
    height: 100%;
    /* padding: 30px; */
  }
  .logo-img img {
    height: 90%;
    object-fit: contain;
  }
  .search-bar-lg {
    display: none;
  }
  .navmenu-links {
    display: none;
  }
  .search-bar-md {
    display: block;
  }
  .navbar_mobile {
    display: flex;
    justify-content: center;
    position: relative;
  }
  .icon-info {
    display: block;
  }
  #thumbs a {
    width: 80px;
  }
  #thumbs img {
    height: 80px;
  } 

}

/* Small devices (tablet verticali, 576-767px) */
@media only screen and (min-width: 576px) and (max-width: 767px) {
  /* Stili per dispositivi small */

  /* HAMURGHER MENU OPEN AT 981px  */
  .hamg-menu {
    display: block;
    width: 200px;
  }

  .hamburgher i {
    font-size: 30px;
  }

  .logo-img {
    width: 200px;
  }
  .links-main {
    width: 200px;
    display: flex;
    justify-content: flex-end;
  }
  .links-main i {
    font-size: 30px;
  }

  .search-bar-lg {
    display: none;
  }
  .search-bar-md {
    display: block;
  }
  .navmenu-links {
    display: none;
  }
  .input-group {
    margin-bottom: 20px;
  }
  .badge {
    font-size: 9px;
  }
  #thumbs a {
    width: 80px;
  }
  #thumbs img {
    height: 80px;
  } 
}

/* Medium devices (tablet orizzontali, 768-991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  /* Stili per dispositivi medium */

  /* HAMURGHER MENU OPEN AT 991px  */
  /* .hamg-menu {
    display: block;
    width: 200px;
  }

  .input-group {
    margin-bottom: 20px;
  }

  .logo-img {
    width: 200px;
  }
  .links-main {
    width: 200px;
    display: flex;
    justify-content: flex-end;
  }
  .search-bar-lg {
    display: none;
  }
  .search-bar-md {
    display: block;
  }

  .navmenu-links {
    display: none;
  }

  #thumbs a {
    width: 80px;
  }
  #thumbs img {
    height: 80px;
  } */

}

@media only screen and (min-width: 700px) and (max-width: 768px) {
  .heading_products_wrapper {
    width: 100%;
  }
  .heading_products_container {
    width: 100%;
    justify-content: flex-start;
  }
  .heading_des_agg {
    display: none;
  }
  .image_cat_heading {
    width: 300px;
    height: 100%;
  }
  .image_cat_heading img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .heading_title_cat_subcat {
    width: auto;
    margin-left: 20px;
  }
  .heading_title_cat_subcat h4 {
    font-size: 25px !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1250px) {

/* 761px max: */
.hamg-menu {
  display: block;
  width: 200px;
}

.hamburgher i {
  font-size: 30px;
}

.input-group {
  margin-bottom: 20px;
}

.logo-img {
  width: 200px;
}
.links-main {
  width: 200px;
  display: flex;
  justify-content: flex-end;
}
.links-main i {
  font-size: 30px;
}

.search-bar-lg {
  display: none;
}
.search-bar-md {
  display: block;
}
.navmenu-links {
  display: none;
}
.input-group {
  margin-bottom: 20px;
}
.badge {
  font-size: 9px;
}

#thumbs a {
  width: 80px;
}
#thumbs img {
  height: 80px;
} 

/* Prodotti.php : heading */
.heading_products_wrapper {
  width: 100%;
}
.heading_products_container {
  width: 100%;
  justify-content: flex-start;
}
.heading_des_agg {
  display: none;
}
.image_cat_heading {
  width: 300px;
  height: 100%;
}
.image_cat_heading img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.heading_title_cat_subcat {
  width: auto;
  margin-left: 20px;
}
.heading_title_cat_subcat h4 {
  font-size: 35px !important;
}



}

/* Large devices (laptop/desktop, 992-1199px) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  /* Stili per dispositivi large */
  .logo-img {
    width: 200px;
  }

  .search-bar-lg {
    width: 300px;
  }

  .links-main {
    width: 300px;
    display: flex;
    justify-content: flex-end;
  }

  /* .hamg-menu {
    display: none;
  } */
}

/* Extra large devices (grandi desktop e oltre, 1200px e oltre) */
@media only screen and (max-width: 1025px) {
  /* Stili per dispositivi extra large */
  /* body {
    padding: 0px !important;
  } */
}

/* CUSTOM MEDIA QUERY */
@media only screen and (min-width: 1250px) and (max-width: 1350px) {
  /* .nav-header-logo {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 90%;
        margin: 20px auto;
        height: 100px;
    } */

  .logo-img {
    width: 200px;
  }

  .search-bar-lg {
    width: 300px;
  }

  .links-main {
    width: 300px;
  }

  .hamg-menu {
    display: none;
  }
}
