/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

body#cart .container,
body#checkout .container {
  max-width: 1920px;
  margin: 0 auto;
  --max: 200;
  --min: 20;
  --maxtrans: 1920;
  --mintrans: 430;
  padding-inline: clamp(
    var(--min) * 1px,
    calc(
      (var(--max) - var(--min)) *
        ((100vw - var(--mintrans) * 1px) / (var(--maxtrans) - var(--mintrans))) +
        var(--min) * 1px
    ),
    var(--max) * 1px
  ) !important;
  padding-block: 25px !important;
}

#header {
}

/* #header .header-secondary .link {
  padding-inline: 30px;
} */

body {
  overflow-x: clip;
}

body #wrapper .container {
  width: 100%;
  padding: 0;
}

body #wrapper {
  padding: 0;
  background-color: white !important;
}

body#authentication #wrapper,
body#search #wrapper {
  padding: 40px;
}

#header .header-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-inline: 40px !important;
  align-items: center;
  max-width: 1920px;
  margin: 0 auto;
}

#header .header-top img {
  width: 270px;
  height: 80px;
  object-fit: contain;
}

#header .header-top > div:nth-of-type(1) #search_widget {
  width: 580px;
  max-width: none;
}

#header #search_widget form input[type="text"] {
  padding-left: 1.2rem;
}

#header #search_widget form input[type="text"]::placeholder {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600 !important;
  color: var(--negro) !important;
}

#header #search_widget form i {
  right: 1rem;
  font-weight: 400;
}

/* header 3º div */
#header .header-top > div:nth-of-type(2) {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

#header .header-top > div:nth-of-type(2) #_desktop_help .help > a,
#header .header-top > div:nth-of-type(2) .open-submenu .open > a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

#header .header-top > div:nth-of-type(2) #_desktop_help .help > a img,
#header .header-top > div:nth-of-type(2) .open-submenu .open > a img {
  width: 24px;
  height: 24px;
}

#header .header-top > div:nth-of-type(2) #_desktop_user_info .user-info > a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

#header
  .header-top
  > div:nth-of-type(2)
  #_desktop_user_info
  .user-info
  > a
  img {
  width: 24px;
  height: 24px;
}

#header .header-top > div:nth-of-type(2) #_desktop_cart .header a,
#header .header-top > div:nth-of-type(2) #_desktop_cart .header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

#header .header-top > div:nth-of-type(2) #_desktop_cart .header img {
  width: 24px;
  height: 24px;
}

#header .header-top > div:nth-of-type(2) * {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--negro);
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  #header .header-top {
    flex-direction: row !important;
    padding-inline: 30px !important;
    padding-block: 0 !important;
  }
  #header .header-top > h1 {
    margin: 0 !important;
  }
  #header a span {
    display: flex !important;
  }
  #header .hidden-sm-down {
    display: none !important;
  }
  #header .header-top img {
    width: auto !important;
  }

  #header .header-top img.logo {
    scale: 0.7;
    transform-origin: left;
  }
  #header .header-top > div:nth-of-type(1) #search_widget {
    width: auto !important;
    /* overflow: visible !important; */
    margin-bottom: 0 !important;
  }
  #header #search_widget form input[type="text"]::placeholder {
    display: none !important;
    /* color: transparent !important; */
  }
  #header .header-top > div:nth-of-type(2) {
    top: 3px !important;
    position: relative !important;
  }
}

/* ////////////////header */

a:hover,
a:hover span {
  color: var(--banner-color) !important;
}

#_desktop_help a:hover img,
#_desktop_user_info a:hover img,
#_desktop_cart a:hover img,
.open-submenu a:hover img {
  filter: invert(71%) sepia(34%) saturate(368%) hue-rotate(358deg)
    brightness(93%) contrast(86%) !important;
}

#_desktop_cart a:hover .cart-products-count {
  color: black !important;
}

#_desktop_user_info .user-info {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
/* header 3º div */

body#index #header .header-secondary {
  display: none;
}

body#index #header .header-secondary-content {
  margin: 0 auto;
}

#header .header-secondary {
  background-color: black;
  justify-content: center;
  display: flex;
  z-index: -1;
}

#header .header-secondary .menu {
  display: flex !important;
  justify-content: center !important;
}

#header .header-secondary ul li {
  border-left: 1px solid white;
  margin-block: 10px;
  padding-inline: 10px;
}

@media (max-width: 900px) {
  #header .header-secondary ul {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    /* z-index: 10; */
    margin: 0 auto;
  }

  #header .header-secondary ul li {
    border: none !important;
    padding: 5px 0 !important;
    margin: 0 !important;
  }
}

#header .header-secondary ul li:last-child {
  border-right: none !important;
}
#header .header-secondary ul li:first-child {
  border-left: none !important;
}

#header .header-secondary ul li a {
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding-block: 5px;
}

/* footer */
@media (max-width: 900px) {
  #footer .sec.sec2 {
    padding-top: 70px !important;
  }

  #footer .col {
    width: 100%;
    text-align: left;
  }

  #footer .col li:has(p) {
    justify-content: left !important;
  }

  #footer .col.col5 ul {
    flex-direction: row !important;
  }

  #footer .col.col5 img {
    min-height: 40px;
  }
}

#footer {
  padding: 0 !important;
}
.page-footer {
  margin: 0 !important;
}

#brandcode-footer {
  display: flex;
  flex-direction: column;
  /* padding-inline: 80px; */
  --max: 80;
  --min: 20;
  --maxtrans: 1920;
  --mintrans: 430;
  padding-inline: clamp(
    var(--min) * 1px,
    calc(
      (var(--max) - var(--min)) *
        ((100vw - var(--mintrans) * 1px) / (var(--maxtrans) - var(--mintrans))) +
        var(--min) * 1px
    ),
    var(--max) * 1px
  );
  background-color: #1d1d1d;
}

#brandcode-footer .sec {
  padding-block: 40px;
  border-top: 1px solid #707070;
}

#brandcode-footer .sec:first-child {
  border-top: none;
}

#brandcode-footer .sec3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20%;
}

@media (max-width: 900px) {
  #brandcode-footer .sec3 {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

#brandcode-footer .sec3 .col1 {
  width: 30%;
}

@media (max-width: 900px) {
  #brandcode-footer .sec3 .col1 {
    width: 100%;
  }
}

#brandcode-footer .sec3 .col1 p {
  font-family: "Poppins", sans-serif;
  color: white;
  font-size: 15px;
  font-weight: 500;
  color: white;
  margin: 0 !important;
}
#brandcode-footer .sec3 .col2 {
  width: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2%;
}
@media (max-width: 900px) {
  #brandcode-footer .sec3 .col2 {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

#brandcode-footer .sec3 .col2 img {
  height: 40px;
}

/* body#index #brandcode-footer .sec1 {
  display: none;
} */

/* #brandcode-footer .sec1 {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

#brandcode-footer .sec1 .col {
  width: 50%;
}

#brandcode-footer .sec1 img {
  position: relative;
  width: 350px;
  scale: 2;
  transform-origin: left bottom;
}

#brandcode-footer .sec1 h3 {
  font-family: "Poppins", sans-serif;
  color: white;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0 !important;
}

#brandcode-footer .sec1 small {
  font-family: "Poppins", sans-serif;
  color: white;
  font-size: 14px;
  font-weight: 400;
} */

/* PROVISIONAL BREVO*/
/* #brandcode-footer .sec1 .col2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#brandcode-footer .sec1 .col2 form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: start;
  margin-top: 10px;
  margin-block: 20px;
}

#brandcode-footer .sec1 .col2 input[type="email"] {
  width: 590px;
  height: 60px;
}

#brandcode-footer .sec1 .col2 form label {
  display: flex;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  color: white;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0 !important;
} */

/* PROVISIONAL BREVO*/

#footer {
  background-color: #1d1d1d;
}

#brandcode-footer {
  max-width: 1920px;
  margin: 0 auto;
}

#brandcode-footer .sec2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 100px !important;
}

@media (max-width: 900px) {
  #brandcode-footer .sec2 {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
}

#brandcode-footer .sec2 .col ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#brandcode-footer .sec2 .col a {
  font-family: "Poppins", sans-serif;
  color: white;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

#brandcode-footer .sec2 .col h6 {
  font-family: "Poppins", sans-serif;
  color: white;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

#brandcode-footer .col li p {
  font-family: "Poppins", sans-serif;
  color: white;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  margin: 0 !important;
}

#brandcode-footer .col li:has(p) {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

@media (max-width: 900px) {
  #brandcode-footer .col li:has(p) {
    justify-content: center;
  }
}

#brandcode-footer .col6 ul {
  display: flex;
  flex-direction: row !important;
  gap: 10px;
}

#brandcode-footer .sec2 .col5 img {
  max-width: 60px;
  height: auto;
}

#brandcode-footer .sec4 ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0;
}

@media (max-width: 900px) {
  #brandcode-footer .sec4 ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

#brandcode-footer .sec4 li {
}

#brandcode-footer .sec4 li a {
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 2.33;
  letter-spacing: normal;
  text-transform: uppercase;
  text-align: left;
  padding-inline: 15px;
  border-inline: 1px solid #707070;
}

@media (max-width: 900px) {
  #brandcode-footer .sec4 li a {
    border: none !important;
    padding-inline: 0 !important;
  }
}

#content {
  background-color: white;
}

.header {
  position: relative;
}

#header .cart-products-count {
  position: absolute;
  top: -10px;
  right: 0px;
  background: #d7a569;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

@media (max-width: 1200px) {
  .cart-products-count {
    right: -10px !important;
  }
}

@media (min-width: 900px) {
  .open-submenu,
  .open-search {
    display: none !important;
  }
}
@media (max-width: 900px) {
  #search_widget form {
    position: absolute !important;
    top: 80px !important;
    width: 100% !important;
    margin: 0 auto !important;
    justify-self: center !important;
    left: 0 !important;
  }
  #search_widget form input {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  #header .header-secondary {
    /* top: 40px !important; */
    position: relative !important;
  }
  .ui-autocomplete.searchbar-autocomplete {
    top: 140px !important;
  }

  i.clear {
    display: none !important;
  }
}

.open-submenu > #submenu-toggle,
.open-search > #search-toggle {
  background: transparent;
  color: black;
  box-shadow: none !important;
  border: none !important;
  font-size: 25px !important;
  background: transparent !important;
  outline: 0 !important;
  text-align: left;
  font-weight: normal !important;
  padding: 0 !important;
}
.open-search > #search-toggle img {
  width: 25px !important;
  scale: 1.1;
  height: 25px !important;
}

.facet-header p {
  display: block !important;
}

.open-submenu {
  display: none;
}

.custom-radio input[type="radio"]:checked + span {
  background-color: #d7a569 !important;
}
#header .header-secondary ul li:first-child a {
  color: white !important;
  transition: all 0.3s ease-in-out !important;
  border-radius: 1px !important;
  font-weight: bold !important;
  text-decoration: underline !important;
}

#header .header-secondary ul li:first-child:hover a {
  color: white !important ;
  scale: 1.02 !important;
  transition: all 0.3s ease-in-out !important;
}
#header .header-secondary ul li:nth-child(2) {
  border-left: none !important;
}

@media (min-width: 900px) {
  #blockcart-modal {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
  }

  #blockcart-modal .modal-dialog {
    width: 100% !important;
    max-width: 1920px !important;
  }

  #blockcart-modal .modal-dialog .modal-content {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: block;
    position: fixed;
    /* width: 784px !important; */
    height: fit-content;
    top: 0;
    --max: 30;
    --min: 30;
    --maxtrans: 1920;
    --mintrans: 430;
    right: clamp(
      var(--min) * 1px,
      calc(
        (var(--max) - var(--min)) *
          (
            (100vw - var(--mintrans) * 1px) /
              (var(--maxtrans) - var(--mintrans))
          ) + var(--min) * 1px
      ),
      var(--max) * 1px
    );
    border: none;
    z-index: 10001;
    background: #fff;
    padding: 0;
    margin: 0;
    .modal-dialog {
      margin: 0;
    }

    .cart-summary-products {
      display: block;
      height: 200px;
      overflow-y: scroll;
    }

    .cart-actions {
      margin-top: 1rem !important;
    }
  }

  @media (max-width: 900px) {
    #blockcart-modal .modal-dialog {
      width: 100% !important;

      .cart-summary-products {
        display: block;
        height: auto;
        overflow-y: scroll;
      }
    }
  }

  .modal-backdrop.in {
    opacity: 0 !important;
  }
}

#blockcart-modal .modal-body {
  display: none !important;
}

#blockcart-modal .modal-content {
  width: 400px !important;
}
#blockcart-modal .modal-header button {
  right: 10px;
  top: 10px;
  position: absolute;
}
#blockcart-modal .modal-header {
  padding-inline: 50px !important;
  padding-block: 25px !important;

  i {
    margin: 0 !important;
  }

  .enlaces {
    padding-top: 15px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    a {
      cursor: pointer;
    }

    a:nth-of-type(1) {
      text-decoration: underline;
      color: #1d1d1d !important;
    }

    a:nth-of-type(2) {
      background-color: #d7a569;
      padding: 10px 20px;
      border-radius: 5px;
      color: white !important;
    }
  }
}
