/*  Docs: https://autocomplete="off".style  */
html,
body,
div,
nav,
header,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
button,
abbr,
acronym,
address,
code,
del,
dfn,
em,
img,
q,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  font-display: swap;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  background-color: inherit;
  text-decoration: none;
  box-shadow: none;
  border-radius: 0;
  text-shadow: unset;
}

/* END RESET */

/* START Defult Styles  */
html,
body {
  margin: 0;
  padding: 0;
}

html {
  --brand: #f9a51e;
  --text-1: var(--gray-12);
  --text-2: var(--gray-0);
  --surface-1: var(--stone-2);
  --surface-2: var(--gray-11);
  --surface-3: white;
  --danger-1: var(--red-8);
  --danger-2: var(--red-4);
  --danger-background: var(--red-2);
  --approve-1: var(--green-9);
  --approve-2: var(--green-6);
  --approve-background: var(--green-2);
  --border-color: var(--stone-7);
  --border-radius: var(--radius-2);
  --border-style-thin: var(--border-size-1) inset var(--border-color);
  --border-style-medium: var(--border-size-2) inset var(--border-color);
  --border-style-thick: var(--border-size-3) inset var(--border-color);
  --header-height: 80px;
  --header-height-mobile: 50px;
  --transition: 0.2s;
  --text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4),
    0px 8px 13px rgba(0, 0, 0, 0.1),
    0px 18px 23px rgba(0, 0, 0, 0.1);
  --text-shadow-small: 1px 1px 1px rgba(0, 0, 0, 0.7),
    1px 3px 5px rgba(0, 0, 0, 0.2),
    0px 5px 5px rgba(0, 0, 0, 0.1);
}

body {
  background-color: var(--surface-3);
  color: var(--text-1);
  min-width: 1024px;
  min-height: 100vh;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
}

main {
  background-color: var(--surface-3);
  flex-grow: 1;
  width: 100%;
  max-width: 1920px;
  min-height: 720px;
  margin: 0 auto;
  padding-bottom: var(--header-height);
  font-size: var(--font-size-1);
  font-weight: var(--font-weight-4);
}

footer {
  margin-top: auto;
}

@media screen and (max-width: 768px) {
  body {
    min-width: 100vw;
    max-width: 100vw;
    min-height: 85vh;
  }

  main {
    min-width: 100vw;
    max-width: 100vw;
    min-height: 360px;
    padding: 0;
    margin: 0;
    padding-bottom: var(--header-height-mobile);
  }
}

hr {
  margin: 0 auto;
  border-top: var(--border-style-thin);
}

button {
  cursor: pointer;
}

::-webkit-input-placeholder {
  /* chrome/opera/safari */
  color: var(--border-color);
  font-family: poppins;
  letter-spacing: var(--font-letterspacing-1);

  @media screen and (max-width: 768px) {
    letter-spacing: 0;
  }
}

::-moz-placeholder {
  /* firefox 19+ */
  color: var(--border-color);
}

:-ms-input-placeholder {
  /* ie 10+ */
  color: var(--border-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Firefox < 16 */
@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* removes blue higlighting on tap for mobile */
input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}


/* END Defult Styles  */


/* START SHARED Component Styles */
.header-font-1 {
  font-size: var(--font-size-7);
  font-weight: var(--font-weight-8);
  line-height: var(--font-lineheight-4);
  letter-spacing: calc(var(--font-letterspacing-0) / 2);
}

.header-font-2 {
  font-size: var(--font-size-6);
  font-weight: var(--font-weight-7);
  line-height: var(--font-lineheight-3);
}

.header-font-3 {
  font-size: var(--font-size-5);
  font-weight: var(--font-weight-7);
  line-height: var(--font-lineheight-2);
}

.bold-font-1 {
  font-size: var(--font-size-4);
  font-weight: var(--font-weight-6);
  line-height: var(--font-lineheight-2);
}

.bold-font-2 {
  font-size: var(--font-size-3);
  font-weight: var(--font-weight-6);
  line-height: var(--font-lineheight-1);
}

.bold-font-3 {
  font-size: var(--font-size-2);
  font-weight: var(--font-weight-6);
  line-height: var(--font-lineheight-1);
}

/*

@media screen and (max-width: 768px) {
  .header-font-1 {
    font-size: var(--font-size-6);
    font-weight: var(--font-weight-7);
    line-height: var(--font-lineheight-2);
  }

  .header-font-2 {
    font-size: var(--font-size-5);
    font-weight: var(--font-weight-7);
    line-height: var(--font-lineheight-1);
  }

  .bold-font-1 {
    font-size: var(--font-size-3);
    font-weight: var(--font-weight-7);
    line-height: var(--font-lineheight-1);
  }

  .bold-font-2 {
    font-size: var(--font-size-2);
    font-weight: var(--font-weight-6);
    line-height: var(--font-lineheight-1);
  }
}
*/

.fadein-onload {
  animation: fadeIn ease var(--transition);
  /* Safari, Chrome and Opera > 12.1 */
  -webkit-animation: fadeIn ease calc(var(--transition));
  /* Firefox < 16 */
  -moz-animation: fadeIn ease calc(var(--transition));
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.fadein-onload-fast {
  animation: fadeIn ease calc(var(--transition) / 3);
  /* Safari, Chrome and Opera > 12.1 */
  -webkit-animation: fadeIn ease calc(var(--transition));
  /* Firefox < 16 */
  -moz-animation: fadeIn ease calc(var(--transition));
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.blue__link {
  outline-color: transparent;
  text-decoration: none;
  padding: 0;

  p &:link {
    color: var(--blue-9);
  }

  &:visited {
    color: var(--purple-7);
  }

  &:focus,
  &:hover {
    color: var(--blue-9);
    text-decoration: underline;
  }

  &:active {
    color: var(--red-7);
  }

  @media screen and (max-width: 768px) {
    outline-color: transparent;
    text-decoration: none;
    padding: 0;

    &:link {
      color: var(--blue-9);
    }

    &:visited {
      color: var(--purple-7);
    }

    &:focus,
    &:hover {
      color: var(--blue-9);
      text-decoration: underline;
    }

    &:active {
      color: var(--red-7);
    }
  }
}

.disable-links {
  pointer-events: none;
}

.loading-blur {
  filter: blur(calc(var(--radius-1) * 1.5));
  pointer-events: none;

  @media screen and (max-width: 768px) {
    filter: blur(var(--radius-1));

    &+.cart-count__badge {
      filter: blur(calc(var(--radius-1) * .1));
    }
  }
}

.form-container {
  background-color: var(--surface-3);
  width: var(--size-content-3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: var(--size-5) auto;
  border: var(--border-style-medium);

  .field-label {
    font-weight: var(--font-weight-5);
  }

  @media screen and (max-width: 768px) {
    width: 94%;
    padding: 1.25%;
    margin: var(--size-3) auto;
    border-left: var(--border-style-thin);
    border-right: var(--border-style-thin);
  }
}

.form__header {
  text-align: center;
  margin: var(--size-3) auto;

  @media screen and (max-width: 768px) {
    margin: var(--size-1) auto var(--size-3);
    line-height: var(--font-lineheight-0);
  }
}

.form-content {
  position: relative;
  width: 97.5%;
  margin: var(--size-1) auto var(--size-7);

  input,
  textarea,
  select {
    background-color: var(--surface-3);
    width: calc(100% - (var(--size-2) * 2));
    margin: var(--size-00) 0;
    padding: .4em var(--size-2);
    font: inherit;
    font-size: var(--font-size-3);
    letter-spacing: .5px;
    display: block;
    border: var(--border-style-thin);
    border-radius: var(--radius-1);
    background: none;
    background-image: none;

    &:focus {
      outline: 0;
      border-color: var(--surface-2);
      box-shadow: var(--shadow-1);
      transition: var(--transition);
    }
  }

  select {

    &.number-amount-select {
      width: calc(var(--size-header-1) / 2);
    }

    &.long-text-select {
      width: var(--size-content-2);
    }

    &:hover,
    &:focus,
    &:active {
      cursor: pointer;
    }

    &:invalid {
      color: var(--border-color);
    }
  }

  input:read-only,
  input:disabled,
  select:disabled,
  radio:disabled {
    color: var(--border-color);
    background-color: var(--surface-1);
    pointer-events: none;
  }

  .top-row {
    margin-top: var(--size-2);
  }

  @media screen and (max-width: 768px) {
    margin: var(--size-1) auto var(--size-3);

    input,
    textarea,
    select {
      width: calc(100% - (var(--size-1) * 2));
      padding: .2rem var(--size-1);
      font-size: var(--font-size-2);
      letter-spacing: 0;
    }

    select {
      &.long-text-select {
        width: calc(100% - (var(--size-1) * 2));
      }
    }

    .top-row {
      margin-top: var(--size-1);
    }
  }
}

.tab-group {
  width: 95%;
  margin: var(--size-1) auto;
  display: flex;
  justify-content: center;
  list-style: none;
}

.tab {
  color: var(--border-color);
  width: var(--size-header-1);
  display: flex;
  padding: var(--size-2);

  a {
    flex-grow: 1;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
  }

  p {
    color: var(--text-1);
    flex-grow: 1;
    text-align: center;
    border-bottom: var(--border-size-3) solid var(--text-1);
  }

  @media screen and (max-width: 768px) {
    padding: var(--size-2);
    width: 10ch;
  }
}

.field-label {
  display: flex;
  flex-direction: column;
  margin: 0 var(--size-2) 0;

  span {
    color: var(--border-color);
    display: inline-block;
    margin-left: var(--size-1);
    font-size: var(--font-size-00);
    line-height: var(--font-lineheight-0);
  }

  b {
    color: var(--danger-1);
    margin: var(--size-00) var(--size-2) var(--size-1);
    font-size: calc(var(--font-size-0) * .95);
    line-height: var(--font-lineheight-0);
  }

  @media screen and (max-width: 768px) {
    margin: var(--size-1) var(--size-2) 0;
  }
}

.field-wrap {
  margin-bottom: var(--size-3) !important;
}

.submit__button {
  color: var(--text-1);
  max-width: var(--size-header-1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: var(--size-5) auto;
  padding: var(--size-3) var(--size-5);
  border: 0;
  outline: none;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  line-height: var(--font-lineheight-0);
  letter-spacing: var(--font-letterspacing-2);
  background: var(--brand);
  appearance: none;
  -webkit-appearance: none;

  &:hover,
  &:focus {
    color: var(--text-2);
    box-shadow: var(--shadow-2);
    background: var(--surface-2);
    transition: var(--transition);
  }

  &:disabled {
    opacity: 50%;
    pointer-events: none;
  }

  @media screen and (max-width: 768px) {
    padding: var(--size-2) var(--size-4);
  }
}

.top-form__button {
  background-color: var(--surface-2);
  color: var(--danger-1);
  max-width: 80%;
  margin: var(--size-2) auto var(--size-1);
  padding: var(--size-2) var(--size-4);
  letter-spacing: var(--font-letterspacing-1);
  border: var(--border-style-thin);
  border-color: var(--danger-1);
  font-weight: var(--font-weight-5);

  &:hover,
  &:focus {
    color: var(--text-2);
    background-color: var(--brand);
    border-color: var(--surface-2);
    box-shadow: var(--shadow-2);
    transition: var(--transition);
  }

  &:disabled {
    opacity: 50%;
    pointer-events: none;
  }

  @media screen and (max-width: 768px) {
    max-width: 90%;
    margin: var(--size-1) auto;
    padding: var(--size-2) var(--size-4);
    font-size: var(--font-size-0);
    box-shadow: var(--shadow-2);
  }
}

.form-error__message {
  color: var(--danger-1);
  margin: var(--size-1) auto;
  font-weight: var(--font-weight-5);
  animation: var(--animation-shake-x) forwards;

  i {
    margin: 0 var(--size-1);
  }

  @media screen and (max-width: 768px) {
    margin: var(--size-1) auto var(--size-3);
    line-height: var(--font-lineheight-0);
  }
}

.top-form__notice {
  width: 90%;
  margin: var(--size-1) auto;

  i {
    color: var(--approve-2);
    font-size: var(--font-size-4);
    margin: var(--size-1);
  }
}

.dropdown {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  background-color: var(--surface-1);
  width: var(--size-content-1);
  display: block;
  border-radius: var(--border-radius);

  &.show {
    opacity: 1;
    visibility: visible;
    box-shadow: 0 9999px 0 9999px #000000b0;
    z-index: var(--layer-important);
    transition: all var(--transition);
  }

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

/* END Shared Component Styles */



/* START Header Styles  */
.header {
  width: 100%;

  @media screen and (max-width: 768px) {
    max-width: 100vw;
  }
}

.header-top-row {
  background-color: var(--brand);
  color: var(--text-1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-2);
  z-index: var(--layer-important);

  @media screen and (max-width: 768px) {
    flex-flow: row wrap;
  }
}

.header-nav {
  background-color: var(--surface-2);
  color: var(--text-2);
  inline-size: 10ch;
  height: var(--header-height);
  border-right: var(--border-size-1) solid var(--surface-3);
  border-radius: var(--border-radius);
  z-index: var(--layer-important);

  &:hover {
    color: var(--brand);
    box-shadow: var(--shadow-2);
  }

  @media screen and (max-width: 768px) {
    inline-size: 7ch;
    height: var(--header-height-mobile);
    border-bottom: var(--border-size-1) solid var(--surface-1);
  }
}

.header-nav-dropdown-toggle {
  width: 100%;
  height: 100%;

  i {
    margin: auto var(--size-3);
    width: 100%;
    height: 100%;

    @media screen and (max-width: 768px) {
      font-size: var(--font-size-5);
    }
  }
}

.header-nav-dropdown {
  background-color: var(--surface-2);
  color: var(--text-2);
  position: fixed;
  top: var(--header-height);
  bottom: 3%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: var(--size-1);
  display: flex;
  flex-flow: column;
  list-style-type: none;
  border-radius: unset;
  border-top: var(--border-size-1) solid var(--surface-1);

  &.show {
    animation: var(--animation-slide-in-down);
    /* Safari, Chrome and Opera > 12.1 */
    -webkit-animation: var(--animation-slide-in-down);
    /* Firefox < 16 */
    -moz-animation: var(--animation-slide-in-down);
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-duration: var(--transition);
  }

  @media screen and (max-width: 768px) {
    top: var(--header-height-mobile);
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 0;
  }
}

.header-nav-dropdown-close {
  width: 90%;
  max-width: 1920px;
  display: flex;
  justify-content: end;
  margin: var(--size-2) auto var(--size-00);
  cursor: pointer;

  div {
    border: var(--border-style-medium);
    border-radius: var(--border-radius);
    padding: var(--size-1) var(--size-5);
    text-transform: uppercase;
    font-weight: var(--font-weight-6);

    &:hover {
      background-color: var(--brand);
      color: var(--text-1);
    }
  }

  @media screen and (max-width: 768px) {
    div {
      font-size: var(--font-size-0);
    }
  }
}

.header-nav-dropdown-item {
  width: 90%;
  max-width: 1920px;
  margin: var(--size-2) auto var(--size-3);

  ul {
    display: flex;
    flex-flow: row wrap;
    list-style-type: none;
    justify-content: center;
  }

  @media screen and (max-width: 768px) {
    width: 97.5%;
    max-width: 97.5%;

    ul {
      align-items: center;
    }
  }
}

.nav-dropdown-item-header {
  border-bottom: var(--border-style-medium);
  border-color: var(--brand);
  text-align: center;

  @media screen and (max-width: 768px) {
    letter-spacing: var(--font-letterspacing-0);
    line-height: var(--font-lineheight-00);
  }
}

.nav-featured-brands-menu {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  list-style-type: none;

  img {
    flex-grow: .25;
    width: calc(25% - var(--border-size-3) * 2);
    border: var(--border-size-3) dashed transparent;
    background-color: var(--gray-12);

    &:hover {
      box-shadow: var(--shadow-3);
      border-color: var(--brand);
    }
  }

  @media screen and (max-width: 768px) {
    img {
      width: 45%;
      margin: calc(var(--size-1)) auto 0;
      padding: calc(var(--size-1) / 2);
      border: var(--border-style-thin);
      border-color: var(--brand);
    }
  }
}

.nav-button-with-icon {
  color: var(--text-1);
  background-color: var(--surface-3);
  margin: var(--size-2);
  display: flex;
  border-bottom: var(--border-style-thick);
  border-radius: var(--border-radius);
  border-color: var(--brand);
  border-top: var(--border-size-1) solid transparent;
  border-left: var(--border-size-1) solid transparent;
  border-right: var(--border-size-1) solid transparent;
  letter-spacing: var(--font-letterspacing-0);

  &:hover {
    border-color: var(--surface-3);
    background-color: var(--brand);
  }

  &:active {
    background-color: var(--border-color);
    border-color: var(--brand);
  }

  a {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: var(--font-lineheight-3);
    padding: var(--size-2) var(--size-7);
    text-align: center;
  }

  i {
    font-size: var(--font-size-6);
    margin: auto var(--size-2);
  }

  @media screen and (max-width: 768px) {
    max-width: 46%;
    min-width: 46%;
    margin: calc(var(--size-1) / 2) auto;
    border-bottom: var(--border-style-thick);
    border-color: var(--brand);

    a {
      flex-flow: space-around;
      padding: var(--size-1);
      font-size: var(--font-size-0);
      font-weight: var(--font-weight-6);
      line-height: var(--font-lineheight-0);
    }

    i {
      font-size: var(--font-size-5);
      margin: auto var(--size-1);
    }
  }
}

.header-nav-dropdown-space {
  flex-grow: 1;
  min-height: var(--size-3);
  background-color: var
}

.header-nav-dropdown-emblem {
  align-self: end;
  width: var(--size-header-2);
  margin: 5%;

  img {
    margin: var(--size-000) var(--size-1);
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  @media screen and (max-width: 768px) {
    margin: var(--size-5) auto var(--size-1);
  }
}

.header__header {
  background-color: var(--surface-2);
  color: var(--text-2);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 var(--size-5);
  border-right: var(--border-size-1) solid var(--surface-3);
  font-size: var(--font-size-8);
  font-weight: var(--font-weight-9);
  line-height: var(--font-lineheight-0);
  letter-spacing: calc(var(--font-letterspacing-0) / 2);

  a {
    inline-size: 6ch;
    height: 100%;
    display: flex;

    img {
      width: 100%;
      height: 100%;
      display: flex;
      object-fit: contain;
    }
  }

  @media screen and (max-width: 768px) {
    flex-grow: 1;
    height: var(--header-height-mobile);
    padding: 0;
    font-size: var(--font-size-6);
    font-weight: var(--font-weight-8);
    border-right: none;
    border-bottom: var(--border-size-1) solid var(--surface-1);

    a {
      inline-size: 5.5ch;
    }
  }
}

.header__header-space {
  @media screen and (max-width: 768px) {
    flex-grow: .25;
    background-color: var(--surface-2);
    height: var(--header-height-mobile);
    border-bottom: var(--border-size-1) solid var(--surface-1);
  }
}

.header-searchbar {
  position: relative;
  flex-grow: 1;
  min-width: var(--size-header-3);
  margin: 0 var(--size-5);

  @media screen and (max-width: 768px) {
    width: 60%;
    min-width: 60%;
    max-width: 60%;
    display: flex;
    align-items: center;
    margin: auto;
    height: calc(var(--header-height-mobile) * .95);
  }
}

.searchbar {
  color: var(--text-1);
  background-color: var(--surface-3);
  width: 100%;
  height: 5ch;
  display: flex;
  border-radius: var(--border-radius);
  transition: all var(--transition);

  @media screen and (max-width: 768px) {
    height: 4ch;
  }
}

.searchbar__input {
  flex-grow: 1;
  min-width: 10ch;
  padding-left: var(--size-2);
  border: none;
  border-radius: var(--border-radius);
  letter-spacing: var(--font-letterspacing-1);

  &::-webkit-input-placeholder {
    /* chrome/opera/safari */
    font-weight: var(--font-weight-5);
  }

  &:focus {
    border: none;
    outline: none !important;
  }

  @media screen and (max-width: 768px) {
    padding: var(--size-1) var(--size-1);
    font-size: var(--font-size-1);

    &:focus {
      font-size: var(--font-size-3);
      font-weight: var(--font-weight-4);
      width: 85%;
    }
  }
}

.header-searchbar:has(.searchbar-dropdown.show) {
  font-weight: var(--font-weight-7);
  box-shadow: 0 0 0 9999px #00000024;
  border: var(--border-style-thin);
  border-color: var(--surface-2);
  border-radius: var(--border-radius);
  z-index: var(--layer-important);

  .searchbar-dropdown {
    opacity: 1;
    visibility: visible;
    z-index: var(--layer-important);
    width: 65vw;
    margin-left: -2.5%;
    padding: var(--size-1);
    padding-top: var(--size-2);
    border-top: var(--border-style-thin);
    border-radius: calc(var(--border-radius) / 2);
    transition: all var(--transition);
  }

  @media screen and (max-width: 768px) {
    width: 96%;
    max-width: 96%;
    margin-left: 1%;
    line-height: var(--font-lineheight-1);

    .searchbar {
      height: 4ch;
    }

    .searchbar-dropdown {
      position: fixed;
      top: calc(var(--header-height-mobile) * 2 * .95);
      width: 96.5vw;
      margin: 0 0 0 -1%;
      font-size: var(--font-size-0);
      border: var(--border-style-thin);
    }

    .searchbar-submit__button {
      color: var(--surface-2);
      font-size: var(--font-size-5);
    }
  }
}

.searchbar-dropdown-list {
  display: flex;
  flex-flow: row wrap;
  list-style-type: none;
  border-top: var(--border-style-medium);

  li {
    display: flex;
    font-weight: var(--font-weight-5);
    margin: var(--size-2);
    padding: var(--size-1) var(--size-2);
    background-color: var(--surface-3);
    border: var(--border-style-medium);
    border-color: var(--surface-2);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-1);

    &:hover,
    &:active {
      background-color: var(--surface-2);
      color: var(--text-2);
    }

    a {
      flex-grow: 1;
      height: 100%;
    }
  }

  @media screen and (max-width: 768px) {
    margin: var(--size-1);
    padding: calc(var(--size-1) / 1);

    li {
      margin: calc(var(--size-1) / 2);
      padding: var(--size-1) var(--size-1);
    }
  }
}

#searchbar-result-list {
  min-width: 98%;

  p:nth-child(1) {
    line-height: var(--font-lineheight-1);
    letter-spacing: var(--font-letterspacing-0);
  }

  p:nth-child(2) {
    color: var(--border-color);
    font-size: var(--font-size-0);
    font-weight: var(--font-weight-6);
  }

  li {
    margin: calc(var(--size-1) / 2);
    border-color: var(--brand);
  }

  i {
    color: var(--approve-1);
    margin: 0 0 0 var(--size-2);
    text-shadow: var(--text-shadow);
    font-size: var(--font-size-4);
  }

  @media screen and (max-width: 768px) {
    margin: 0;
    padding: 0;

    p:nth-child(2) {
      font-size: var(--font-size-00);
    }

    li {
      margin: calc(var(--size-1) / 2) var(--size-2) calc(var(--size-1) / 2) calc(var(--size-1) / 2);
    }

    i {
      margin: 0 0 0 var(--size-2);
      font-size: var(--font-size-3);
    }
  }
}

/* TODO */
[type="search"]::-webkit-search-cancel-button {
  color: var(--text-1);
  opacity: 60%;
  cursor: pointer;

  @media screen and (max-width: 768px) {
    height: 3ch;
    width: 2ch;
  }
}

.searchbar-submit__button {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--border-color);
  font-size: var(--font-size-6);
  border-left: var(--border-style-thick);
  border-radius: var(--border-radius);

  i {
    margin: auto var(--size-2);
  }

  &:hover {
    color: var(--surface-2);
    border-color: var(--surface-2);
    transition: var(--transition);
  }

  @media screen and (max-width: 768px) {
    font-size: var(--font-size-4);
    border-left: var(--border-style-medium);
  }
}

.header-menu {
  margin: auto;
  display: flex;
  max-width: var(--size-header-3);

  i {
    font-size: var(--font-size-6);
  }

  @media screen and (max-width: 768px) {

    i {
      font-size: var(--font-size-5);
    }

    .customer__icon {
      margin: auto var(--size-2) auto calc(var(--size-1) / 2);
      font-size: var(--font-size-6);

      &:active {
        color: var(--surface-3);
        transition: var(--transition);
      }
    }
  }
}

.header-menu__cart {
  margin-left: var(--size-3);

  .cart__icon {
    margin-left: calc(var(--size-1) /2);
  }

  .cart-count__badge {
    color: var(--brand);
    background-color: var(--surface-2);
    margin-left: calc(var(--size-2) * -1);
    margin-right: var(--size-1);
    padding: 0 var(--size-1);
    border: var(--border-style-thin);
    border-radius: var(--radius-3);
    font-weight: var(--font-weight-5);
    letter-spacing: var(--font-letterspacing-0);
  }

  &:hover,
  &:active {
    .cart-count__badge {
      background-color: var(--surface-3);
    }

    .cart__icon {
      color: var(--surface-3);
    }
  }

  @media screen and (max-width: 768px) {
    flex-grow: 1;
    margin: auto;
    display: flex;

    .cart-count__badge {
      margin: 0 var(--size-1) 0 calc(var(--size-1) * -1);
      font-size: var(--font-size-0);
      align-self: end;
    }
  }
}

.header-menu-customer-links {
  min-width: 10ch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: var(--font-lineheight-1);

  a {
    margin: auto calc(var(--size-1));
  }

  :hover,
  :active {
    color: var(--surface-3);
    font-weight: var(--font-weight-6);
    text-decoration: underline;
    transition: var(--transition);
  }

  @media screen and (max-width: 768px) {
    min-width: unset;
    flex-grow: 1;
    margin: auto;

    a {
      display: none;
    }
  }
}

.button-nav {
  background-color: var(--surface-2);
  width: 100%;
  height: calc(var(--size-header-1) * .55);
  margin-top: var(--header-height);
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  box-shadow: var(--shadow-1);
  border-bottom: var(--border-style-thin);

  @media screen and (max-width: 768px) {
    height: calc(var(--size-header-1) * .5);
    margin-top: calc(var(--header-height-mobile) + (var(--header-height-mobile) * .90));
  }
}

.button-nav__link {
  background-color: var(--surface-1);
  width: 20%;
  min-width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  margin-bottom: calc(var(--size-1) / 2);
  border-bottom: var(--border-size-3) solid transparent;
  border-right: var(--border-style-thin);
  border-left: var(--border-style-thin);
  cursor: pointer;

  &:hover {
    background-color: var(--surface-3);
    border-bottom: var(--border-size-3) solid var(--brand);
    box-shadow: var(--shadow-1);
  }

  .button-nav__icon {
    color: var(--brand);
    background-color: var(--surface-2);
    margin: var(--size-1) 0 0;
    padding: var(--size-2);
    border-radius: var(--radius-round);
  }

  p {
    text-align: center;
    line-height: var(--font-lineheight-00);
    letter-spacing: var(--font-letterspacing-0);
  }

  @media screen and (max-width: 768px) {
    width: 40%;
    min-width: 40%;

    .button-nav__icon {
      padding: var(--size-1);
    }
  }
}

/* END Headerstyles  */


/* START Footer Style */
.footer {
  width: 100%;
  background-color: var(--surface-3);
  color: var(--text-1);
  min-height: var(--size-1);
}

.footer-top-banner {
  width: 100%;
  height: 100px;
  color: var(--text-2);
  background-color: var(--surface-2);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border-top: var(--border-size-3) solid var(--brand);
}

.footer-pahukama-logo {
  height: 125px;
  margin-top: calc(var(--size-1) * -1);
}

.mobile-app-banner {
  height: 100px;
  width: 100%;
  color: var(--text-1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-app-link {
  height: 80px;
  margin: auto var(--size-5);

  img {
    height: 100%;
    object-fit: contain;
  }
}

.footer-links-section {
  width: 80%;
  min-height: 200px;
  margin: auto;
  display: flex;
  justify-content: center;
}

.footer-links {
  max-width: var(--size-content-3);
  display: flex;
  flex-direction: column;
  margin: var(--size-5) auto;

  a {
    color: var(--border-color);
    font-size: 13px;
    align-self: center;

    &:hover {
      color: var(--text-1);
      text-decoration: underline;
    }
  }

  h3 {
    align-self: center;
  }
}

.payment-icons {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;

  img {
    width: var(--size-header-1);
    object-fit: contain;
  }

  img:nth-child(3) {
    width: var(--size-header-3);
  }
}

.back-to-top {
  width: 100%;
  color: var(--text-2);
  background-color: var(--surface-2);
  display: flex;
  border-bottom: var(--border-size-2) solid transparent;

  a {
    flex-grow: 1;
    font-size: 12px;
    text-align: center;
  }

  &:hover {
    border-bottom: var(--border-size-2) solid var(--brand);
  }
}

.footer-footer {
  line-height: var(--font-lineheight-1);
  width: 70%;
  margin: var(--size-1) auto 0;
}

/* END Footer Style */



/* START Overlays Style */
.success-alert {
  position: fixed;
  z-index: var(--layer-important);
  right: var(--size-5);
  width: var(--size-header-1);
  padding: var(--size-3);
  background-color: var(--surface-3);
  border: var(--border-style-thin);
  /* border: var(--border-size-3) solid var(--surface-3); */
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-5);

  -webkit-animation: fadeout 1.0s forwards;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-delay: 1.5s;
  animation: fadeout 1.0s forwards;
  animation-iteration-count: 1;
  animation-delay: 1.5s;

  .success-alert-check-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  img {
    height: 7ch;
  }

  span {
    color: var(--brand);
  }

  i {
    color: var(--approve-1);
    font-size: var(--font-size-7);
    margin-right: var(--size-1);
  }

  @media screen and (max-width: 768px) {
    padding: var(--size-3);
    right: var(--size-2);
    top: calc(var(--header-height-mobile) * 2 + var(--size-1));

    img {
      height: 5ch;
    }

    i {
      font-size: var(--font-size-6);
    }
  }
}

@media screen and (max-width: 768px) {
  .footer-top-banner {
    height: 60px;
    justify-content: center;
    text-align: center;
    font-size: var(--font-size-2);
    font-weight: var(--font-weight-6);

    img {
      display: none;
    }
  }

  .footer-pahukama-logo {
    height: 75px;
    margin-left: 10%;
  }

  .mobile-app-banner {
    display: none;
  }

  .footer-links-section {
    height: 155px;
    flex-flow: row wrap;
  }

  .footer-links {
    margin: var(--size-1) auto;

    &:nth-child(1) {
      width: 40vw;
    }

    &:nth-child(2) {
      width: 40vw;
    }

    &:nth-child(3) {
      h3 {
        display: none;
      }
    }

    a {
      line-height: var(--font-lineheight-1)
    }
  }

  .payment-icons {
    display: flex;
    flex-flow: row;

    img {
      max-width: 30%;
      object-fit: contain;
      margin: 0 var(--size-1);
    }

  }
}

@-webkit-keyframes fadeout {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    left: -9999px;
  }
}

@keyframes fadeout {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    left: -9999px;
  }
}

:root {
  --spin: {
    animation: wait 3s,
      spin 800ms 3s;
  }
}

.load-indicator {
  display: none;
}

.htmx-request .load-indicator {
  display: inline;
}

.htmx-request.load-indicator {
  display: inline;
}

@keyframes wait {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

#loading,
#loading-sm {
  z-index: 9999;
  -webkit-transition: background-color 1s ease-in 1s;
  /* Safari */
  transition: background-color 1s ease-in 1s;
}

#loading:before,
#loading-sm:before {
  display: inline-block;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 9;
}

#loading:after,
#loading-sm:after {
  display: inline-block;
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  margin: -20px 0 0 -20px;
  border: 4px solid var(--surface-1);
  border-radius: 50%;
  border-top: 4px solid var(--brand);
  width: 40px;
  height: 40px;
  -webkit-animation: wait 1s, spin 1s linear infinite;
  /* Safari */
  animation: wait 1s, spin 1s linear infinite;
  animation-delay: 0s, 1s;
  z-index: 99;
}

#loading-sm:after {
  border: 4px solid var(--surface-3);
  border-top: 4px solid var(--brand);
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
}


/* END Overlays Style */
