/* Estilos para parte baja cabecera*/


.sticky-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 99;
  background-color: #fff;
  width: 100%;
}

.field-search {
  width: 100%;
  max-width: 574px;
}

.search-button {
  padding-left: 15px;
}

.search-wrapper {
  max-height: 0;
  overflow: hidden;
  position: absolute;
  left: 0;
  width: 100%;
  background: #fff;
  top: 101%;
  z-index: 9;
  opacity: 0;
  -ms-border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  -webkit-border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  -ms-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

.search-wrapper.search-appear {
  max-height: 70px;
  opacity: 1;
}

.header-1 .search-wrapper {
  top: 101%;
}

.search-wrapper .search-form {
  -ms-border: none !important;
  -webkit-border: none !important;
  border: none !important;
  -ms-outline: none !important;
  -webkit-outline: none !important;
  outline: none !important;
}

.search-wrapper .search-form .search-input {
  -webkit-box-flex: 0;
  flex: 0 0 90%;
  -ms-flex: 0 0 calc(100% - 90px);
  -webkit-flex: 0 0 calc(100% - 90px);
  flex: 0 0 calc(100% - 90px);
  -ms-border: none !important;
  -webkit-border: none !important;
  border: none !important;
  -ms-outline: none !important;
  -webkit-outline: none !important;
  outline: none !important;
}

.search-wrapper .search-form .search-input input {
  width: 100%;
  padding: 20px 0;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-wrapper .search-form .search-input input:hover,
.search-wrapper .search-form .search-input input:active,
.search-wrapper .search-form .search-input input:focus {
  border: none;
  outline: none;
}

.search-wrapper .search-form .search-submit {
  padding: 17px 0 20px;
  border: none;
  outline: none;
  -ms-flex: 0 0 40px;
  -webkit-flex: 0 0 40px;
  -webkit-box-flex: 0;
  flex: 0 0 40px;
}

.search-wrapper .search-form .search-submit:hover,
.search-wrapper .search-form .search-submit:active,
.search-wrapper .search-form .search-submit:focus {
  border: none;
  outline: none;
}

.search-wrapper .search-form .search-close {
  padding: 20px 0;
  cursor: pointer;
  -ms-outline: none !important;
  -webkit-outline: none !important;
  outline: none !important;
  -ms-display: flex;
  -webkit-display: flex;
  display: -webkit-box;
  display: flex;
  -ms-justify-content: flex-end;
  -webkit-justify-content: flex-end;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -ms-flex: 0 0 50px;
  -webkit-flex: 0 0 50px;
  -webkit-box-flex: 0;
  flex: 0 0 50px;
}

.navbar {
  padding: 0;
}

.nav-link {
  color: var(--body-color);
  font-weight: 500;
  font-size: 15px;
}

.nav-text-sub {
  font-size: 14px;
  text-decoration: none;
  color: #444;
  display: block;
  font-weight: 400;
}

.nav-text-sub.nav-link-mega {
  padding-left: 0;
}

.icon-dropdown {
  width: 18px;
  height: 18px;
  stroke-width: 2.5px;
}

.icon-hamburger {
  width: 30px;
  height: 30px;
}

.header-wishlist {
  color: #000;
}

.header-wishlist,
.header-hamburger {
  margin-top: 3px;
}

.site-navigation .nav-link:focus {
  color: #000;
}

.nav-item-mega:last-child a {
  padding-bottom: 0;
}


@media (max-width: 991px) {

  .header-top,
  .header-bottom {
    padding-top: 16px;
    padding-bottom: 16px;
    position: relative;
  }

  .search-wrapper {
    top: 100%;
  }

  .search-wrapper {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 767px) {
  .sticky-header {
    height: 65px;
  }

  .header-1 .search-wrapper {
    top: 64px
  }

  .header-logo {
    margin-left: 1rem;
    margin-top: 1rem;
    width: 35%;
  }

  .header-login {
    margin-right: 1rem;
    margin-top: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .header-logo {
    width: 25%;
  }

  .header-login {
    margin-right: 1rem;
    margin-top: 1rem;
  }
}

.header-cart {
  position: relative;
  display: flex;
}

.numero-cesta-top {
  position: absolute;
  top: 10px;
  right: 5px;
  background-color: var(--primary-color);
  width: 25px;
  height: 25px;
  border-radius: 50px;
  color: white;
  text-align: center;
  padding-top: 3px;
}

.price_carrito {
  margin-left: 6px;
  align-self: flex-end;
}
