/* -------------------------------------------------- */
/* Imagenes para paletas de colores */
/* -------------------------------------------------- */
/* https://i.pinimg.com/736x/b4/f3/c5/b4f3c509d0b67e3c659f8b2877894a7d.jpg */
/* https://cdn.dribbble.com/userupload/38502058/file/original-478886689539a9e260bb733083f8608e.png?resize=1600x1200&vertical=center */
/* https://colorswall.com/images/palettes/green-fintech-financial-product-design-colors-145803-colorswall.png */
/* https://colorpalette.org/wp-content/palette/cash_money_product_colorpalette_xy3b7.jpg?q=100 */
/* https://i.pinimg.com/originals/e1/c8/5e/e1c85e6201bc8490140404ed12d7796e.jpg */
/* https://www.creatisimo.net/wp-content/uploads/2021/05/Gold-Minimal-Business-Card2.jpg */
/* -------------------------------------------------- */
/* https://dribbble.com/shots/22026872-Chatbot-Web-UI */
/* https://www.schemecolor.com/glass-of-whisky-color-combination.php */
/* -------------------------------------------------- */

@import url('../fonts/source-sans.css');
@import url('../fonts/poppins.css');

/* -------------------------------------------------- */
/* General Settings */
/* -------------------------------------------------- */

html {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  position: absolute;
  overflow-y: scroll;

  margin: 0;
  padding: 0;
  background-color: #f4f6f8;
}

* {
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
  outline: none !important;

  scrollbar-color: lightgray transparent;
  scrollbar-width: thin;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, h7 {
  font-family: "Poppins", sans-serif;
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }

/* -------------------------------------------------- */
/* ui elements */
/* -------------------------------------------------- */

form *, input {
  border: none;
}

form ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  padding: 10px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;

  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 10px;
}

button img {
  background-color: transparent;
  transition: all 0.15s ease-in-out;
}

/* -------------------------------------------------- */
/* secciones de la pagina */
/* -------------------------------------------------- */

body {
  margin: 0;
  margin-top: 80px;
  padding: 10px;
}

#main-content {
  width: 1500px;
  max-width: 100%;
  margin: 0 auto;

}

footer {
  margin: 0 auto;
  max-width: 1500px;
  padding: 10px;
  background-color: #f4f6f8;
  text-align: center;
}

footer * {
  text-decoration: none !important;
}

footer button {
  font-size: medium;
}

footer button:hover {
  background-color: #ffd469;
}

/* -------------------------------------------------- */
/* header de la pagina */
/* -------------------------------------------------- */

header {
  padding: 10px;
  gap: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;

  width: calc(100vw - 20px);
  position: fixed;
  z-index: 100;

  top: 0;
  left: 0;
  right: 0;

  background-color: #f4f6f8;
}

#siteLogo {
  cursor: pointer;
}

.head-div {
  width: 1500px;
  max-width: 100%;
  margin: 0 auto;

  gap: 1rem;
  display: grid;
  align-items: center;
  justify-content: end;
  grid-template-columns: 200px 1fr auto;
}

/* -------------------------------------------------- */
/* barra de busqueda del homepage */
/* -------------------------------------------------- */

#main-search {
  margin: 0 auto;
  padding: 10px;
  max-width: 900px;
  text-align: center;
}

#main-search div {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#store-logos {
  gap: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#store-logos img {
  padding: 1rem;
  border-radius: 10px;
  background-color: #ffffff;
}

/* -------------------------------------------------- */
/* barra de busqueda */
/* -------------------------------------------------- */

#srx-combo {
  margin-top: 10px;
  margin-bottom: 10px;

  gap: 1rem;
  display: grid;
  align-items: center;
  justify-content: start;
  grid-template-columns: 200px 1fr;
}

#srx-form {
  fieldset {
    display: grid;
    align-items: center;
    justify-content: center;

    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 50px;

    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;

    margin: 0;
    padding: 5px;

    overflow: hidden;
    border-radius: 10px; 
    background-color: #ffffff;

    * {
      background-color: transparent;
      font-size: medium;
      color: #191c24;
      height: 100%;
    }

    input {
      width: 100%;
      padding-left: 10px;
      padding-right: 10px;
    }

    button {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    button:hover {
      background-color: #ffd469;
    }
  }
}

/* -------------------------------------------------- */
/* form: autocompletar */
/* -------------------------------------------------- */

#srx-auto {
  z-index: 1;
  position: absolute;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);

  gap: 10px;
  border-radius: 10px;
  padding: 0;
  margin: 0;

  * {
    cursor: pointer;
  }

  li {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
  }

  li label {
    text-align: left !important;
  }

  li:hover, .srx-auto-active {
    background-color: #ffe9b5;
  }

  img {
    padding: 20px;
  }

  label {
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* -------------------------------------------------- */
/* form: filtros */
/* -------------------------------------------------- */

#srx-filters {
  display: flex;
  align-items: center;
  justify-content: start;

  overflow-x: scroll;
  text-wrap: nowrap;

  gap: 10px;
  text-align: center;

  max-width: calc(100% - 20px);
  padding: 10px;
}

#srx-filters * {
  text-decoration: none;
  font-size: medium;
}

#srx-filters button {
  padding: 10px;
  background-color: #ffffff;
  box-shadow: 0 1px 1px rgba(0,0,0,0.12), 0 2px 2px rgba(0,0,0,0.12);
}

#srx-filters .selected {
  background-color: #ffd469;
}

#srx-filters .selected-store {
  color: #ffffff;
  background-color: crimson;
}

#srx-filters select {
  padding: 10px;
  border: none;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 1px 1px rgba(0,0,0,0.12), 0 2px 2px rgba(0,0,0,0.12);
}

#srx-filters select selected {
  background-color: #ffd469;
}

/* -------------------------------------------------- */
/* Mobile Settings */
/* -------------------------------------------------- */

@media only screen and (max-width: 767px) {
  #siteLogo {
    max-width: 70%;
  }

  header {
    position: initial;
    width: auto;
  }

  body {
    margin: 0;
    padding: 0;
  }

  .head-div {
    width: 100%;
    margin: 0;
    display: table;
    position: initial;
  }

  /* -------------------------------------------------- */
  /* barra de busqueda */
  /* -------------------------------------------------- */

  #srx-form {
    margin-top: 10px;
  }

  #srx-form.mobile-form {
    top: -10px;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;

    border-radius: 0px;
    background-color: #ffffff;

    fieldset {
      border-radius: 0px;
    }
  }

  /* -------------------------------------------------- */
  /* resultados de busqueda */
  /* -------------------------------------------------- */

  .search-info {

  }
}