:root {
  /* Color Variables */
  --primary-color: #4177e2;
  --secondary-color: #1b3851;
  --white-color: #ffffff;

  --accent-primary-color: #4c72b7;
  --accent-primary-state-color: #7096db;
  --accent-primary-color-text: #ffffff;

  --accent-secondary-color: #e7f0f7;
  --accent-secondary-state-color: #c5daeb;
  --accent-secondary-color-text: #1b3851;

  --primary-section-color: #f7f7f7;
  --secondary-section-color: #ffffff;
  --accent-section-color: #e4eef6;

  --accent-strong: #8cb6d8;

  /* Header variables */
  --homepage-header-color-style-fallback: #4177e2;
  --homepage-header-color-style: linear-gradient(
    180deg,
    rgba(65, 119, 226, 1) 0%,
    rgba(65, 119, 226, 1) 60%,
    rgba(65, 119, 226, 0.98) 62%,
    rgba(65, 119, 226, 0.95) 64%,
    rgba(65, 119, 226, 0.92) 66%,
    rgba(65, 119, 226, 0.88) 68%,
    rgba(65, 119, 226, 0.84) 70%,
    rgba(65, 119, 226, 0.78) 72%,
    rgba(65, 119, 226, 0.7) 74%,
    rgba(65, 119, 226, 0.6) 76%,
    rgba(65, 119, 226, 0.45) 80%,
    rgba(65, 119, 226, 0.3) 85%,
    rgba(65, 119, 226, 0.15) 90%,
    rgba(65, 119, 226, 0.05) 95%,
    rgba(65, 119, 226, 0) 100%
  );

  --header-color-style-fallback: #4177e2;
  --header-color-style: linear-gradient(
    90deg,
    rgba(65, 119, 226, 1) 0%,
    rgba(27, 56, 81, 1) 100%
  );

  /* Footer variables */
  --footer-bg-color: #1b3851;
  --footer-text-color: #ffffff;

  --button-default-font-size: 16px;
  /* Button Widths */
  --button-width-max: max-content;
  --button-width-full: 100%;
  --icon-height-fixed: 50px;

  --button-height-min: 50px;
  --button-height-max: 100%;

  /* Radius Full Variable*/
  --radius-full: calc(1000000000px);
  --radius-m: calc(10px);

  /* Button Padding Variable*/
  --button-padding: 10px 30px;

  /* Button Large Padding Variable*/
  --button-padding-large: 20px 30px;

  /* Button Font Variable*/
  --button-font: arial;

  /* Button Primary Variables*/

  --primary-bg-color: #4177e2;
  --primary-border-color: #4177e2;
  --primary-text-color: #ffffff;
  --primary-radius: var(--radius-full);

  /* Button Primary Outline Variables*/
  --primary-outline-bg-color: transparent;
  --primary-outline-border-color: #4177e2;
  --primary-outline-text-color: #4177e2;
  --primary-outline-radius: var(--radius-full);

  /* Button Secondary Variables*/
  --secondary-bg-color: #1b3851;
  --secondary-border-color: #1b3851;
  --secondary-text-color: #ffffff;
  --secondary-radius: var(--radius-full);

  /* Button Secondary Outline Variables*/
  --secondary-outline-bg-color: transparent;
  --secondary-outline-border-color: #1b3851;
  --secondary-outline-text-color: #1b3851;
  --secondary-outline-radius: var(--radius-full);

  /* Button Neutral Outline Variables*/
  --neutral-bg-color: transparent;
  --neutral-border-color: #6b748e;
  --neutral-text-color: #6b748e;
  --neutral-radius: var(--radius-full);

  /* Button Dark Variables*/
  --dark-bg-color: #6b748e;
  --dark-border-color: #6b748e;
  --dark-text-color: #ffffff;
  --dark-radius: var(--radius-full);

  /* Button Light Variables*/
  --light-bg-color: #fff;
  --light-border-color: #fff;
  --light-text-color: #1b3851;
  --light-radius: var(--radius-full);

  /* Chip Simple Variables*/
  --simp-chip-bg-color: #e4eef6;
  --simp-chip-border-color: #1b3851;
  --simp-chip-text-color: #1b3851;
  --simp-chip-radius: var(--radius-full);

  /* Input Variables */
  --input-height-m: 50px;
  --input-border-color: #b3b7c4;
  --input-padding: 10px;
  --input-width-full: 100%;

  /* Icon Button Variables */
  --icon-button-ratio-square: 32px;
  --icon-button-border-radius: var(--radius-full);

  /* Basket Tile Variables */

  --basket-tile-light-bg: var(--white-color);
  --basket-tile-light-border: #b3b7c4;
  --basket-tile-light-border-radius: 10px;

  --basket-tile-dark-bg: #f7f7f7;
  --basket-tile-dark-border: #8b93a7;
  --basket-tile-dark-border-radius: 10px;

  --basket-tile-padding: 20px;

  --custom-checkbox-height: 30px;
  --custom-checkbox-width: 30px;
  --custom-checkbox-filter: sepia(1) saturate(2) brightness(1) contrast(1.3)
    hue-rotate(180deg);

  --text-color-body: var(--secondary-color);

  --desktop-navigation: var(--white-color);
}

@font-face {
  font-family: "LaLuxesSerifPro";
  src: url("LaLuxesSerifPro-Bold.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* or optional */
}

body {
  color: var(--text-color-body);
}

#navigation ul > li > a,
#navigation ul > li > a:hover {
  color: var(--desktop-navigation);
}

#navigation > ul ul > li a {
  color: var(--secondary-color);
}

#navigation > ul ul > li a:hover {
  color: var(--primary-color);
}

.hiw-tiles a {
  color: var(--primary-color);
}

.footer {
  color: var(--white-color);
}

.footer * {
  color: inherit;
}

.footer h2 {
  color: var(--white-color);
  border-bottom: 2px solid var(--accent-strong);
}

.footer ul li a:hover {
  color: var(--primary-color);
}

.footer-border {
  border-top: 2px solid var(--accent-strong);
}

.footer-email-button {
  background: var(--accent-strong);
  color: var(--secondary-color);
}

.footer-input-border {
  border: 1px solid var(--accent-strong);
}

.product-float-tile {
  padding: 10px 10px 10px 30px;
}

.timeslot-button {
  background: var(--white-color);
  color: var(--secondary-color);
  border: 1px solid var(--accent-strong);
  border-radius: var(--radius-full);
  padding: var(--button-padding);
  height: var(--button-height-min);
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeslot-button-state {
  background: var(--primary-color);
  color: var(--white-color);
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-full);
  padding: var(--button-padding);
  height: var(--button-height-min);
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1,
h2,
h3,
h4,
h5 {
  text-transform: capitalize;
  margin: 0;
}

h1,
h2,
body h1 * {
  font-family: LaLuxesSerifPro, sans-serif;
}

h1 *{
  font-weight: inherit;
}

#referral-header {
  color: var(--primary-color);
}

#referral-header span {
  color: var(--secondary-color);
}

p,
span:not(#third-party span),
li,
a,
label {
  font-weight: 300;
  line-height: 1.5rem;
}

h1#product-title {
  color: var(--secondary-color);
}

.product-tile,
.product-tile *:not(a) {
  color: var(--secondary-color);
}

.product-tile .product-price {
  color: var(--primary-color);
}

.section-secondary h1,
.section-secondary h2 {
  color: var(--primary-color);
}

.section-primary h1,
.section-primary h2 {
  color: var(--secondary-color);
}

*:not(h1, h2) {
  font-family: "sofia-pro", sans-serif;
}

/* Default font sizes */
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}

.simple-chip {
  background-color: var(--simp-chip-bg-color);
  color: var(--simp-chip-text-color);
  border: 1px solid var(--simp-chip-border-color);
  border-radius: var(--simp-chip-radius);
  height: var(--button-height-max);
}

.body-primary {
  background: var(--primary-section-color);
}

.section-primary {
  background: var(--primary-section-color);
}

.section-secondary {
  background: var(--secondary-section-color);
}

.section-accent {
  background: var(--accent-section-color);
}

.header-swap {
  color: var(--secondary-color) !important;
}

.test-list-section {
  background-color: var(--secondary-color);
  border-radius: var(--basket-tile-light-border-radius);
}

.addon-button {
  background: var(--accent-secondary-color);
  border: 1px solid var(--accent-secondary-color);
  color: var(--accent-secondary-color-text);
  border-radius: var(--secondary-radius);
  height: var(--button-height-max);
}

.addon-tile {
  border: 1px solid var(--accent-strong);
  background-color: var(--white-color);
}

.addon-button-state {
  background: var(--accent-secondary-state-color);
  border: 1px solid var(--accent-secondary-state-color);
}

.tab-button {
  background: var(--accent-primary-color);
  border: 1px solid var(--accent-primary-color);
  color: var(--accent-primary-color-text);
  border-radius: var(--primary-radius);
  height: var(--button-height-max);
}

.tab-button-state {
  background: var(--accent-primary-state-color);
  border: 1px solid var(--accent-primary-state-color);
}

.primary-button {
  background-color: var(--primary-bg-color);
  color: var(--primary-text-color);
  border: 1px solid var(--primary-border-color);
  border-radius: var(--primary-radius);
  height: var(--button-height-max);
  min-height: var(--button-height-min);
}

.secondary-button {
  background-color: var(--secondary-bg-color);
  color: var(--secondary-text-color);
  border: 1px solid var(--secondary-border-color);
  border-radius: var(--secondary-radius);
  height: var(--button-height-max);
  min-height: var(--button-height-min);
}

.primary-button-outline {
  background-color: var(--primary-outline-bg-color);
  color: var(--primary-outline-text-color);
  border: 1px solid var(--primary-outline-border-color);
  border-radius: var(--primary-outline-radius);
  height: var(--button-height-max);
  min-height: var(--button-height-min);
}

.secondary-button-outline {
  background-color: var(--secondary-outline-bg-color);
  color: var(--secondary-outline-text-color);
  border: 1px solid var(--secondary-outline-border-color);
  border-radius: var(--secondary-outline-radius);
  height: var(--button-height-max);
  min-height: var(--button-height-min);
}

.neutral-button {
  background-color: var(--neutral-bg-color);
  color: var(--neutral-text-color);
  border: 1px solid var(--neutral-border-color);
  border-radius: var(--neutral-radius);
  height: var(--button-height-max);
  min-height: var(--button-height-min);
}

.dark-button {
  background-color: var(--dark-bg-color);
  color: var(--dark-text-color);
  border: 1px solid var(--dark-border-color);
  border-radius: var(--dark-radius);
  height: var(--button-height-max);
  min-height: var(--button-height-min);
}

.light-button {
  background-color: var(--light-bg-color);
  color: var(--light-text-color);
  border: 1px solid var(--light-border-color);
  border-radius: var(--light-radius);
  height: var(--button-height-max);
  min-height: var(--button-height-min);
}

.button-icon-light {
  background-color: var(--light-bg-color);
  color: var(--light-text-color);
  border-radius: var(--light-radius);
  width: var(--icon-height-fixed);
  height: var(--icon-height-fixed);
}

.button-icon-dark {
  background-color: var(--secondary-color);
  color: var(--accent-primary-color-text);
  border-radius: var(--light-radius);
  width: var(--icon-height-fixed);
  height: var(--icon-height-fixed);
}

.button-icon-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: var(--light-radius);
  width: var(--icon-height-fixed);
  height: var(--icon-height-fixed);
}

.button-responsive {
  width: var(--button-width-max);
}

.button-max {
  width: var(--button-width-max);
}

.button-full {
  width: var(--button-width-full);
}

.icon-full {
  max-height: var(--icon-height-fixed);
  aspect-ratio: 1;
}

.button-icon {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 10px;
  align-items: center;
}

.button-icon-center {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.button-no-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.button-normal {
  padding: var(--button-padding);
  font-size: var(--button-default-font-size);
}

.button-large {
  padding: var(--button-padding-large);
  font-size: var(--button-default-font-size);
}

.header-homepage {
  background: var(--homepage-header-color-style-fallback);
  background: var(--homepage-header-color-style);
}

.header {
  background: var(--header-color-style-fallback);
  background: var(--header-color-style);
}

.footer {
  background: var(--footer-bg-color);
  color: var(--footer-text-color);
}

.input-labels {
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: 700;
  display: block;
}

.input {
  border-radius: var(--radius-m);
  height: var(--input-height-m);
  border: 1px solid var(--input-border-color);
  color: var(--secondary-color);
  padding: var(--input-padding);
  background: var(--white-color);
  width: var(--input-width-full);
}

.input-search-bar {
  border-radius: var(--radius-full);
  height: var(--input-height-m);
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: var(--input-padding);
  background: var(--white-color);
  width: var(--input-width-full);
}

.input-search-bar-main {
  border-radius: var(--radius-full);
  height: var(--input-height-m);
  border: 1px solid var(--secondary-color);
  color: var(--white-color);
  padding: var(--input-padding);
  background: var(--secondary-color);
  width: var(--input-width-full);
  outline: none;
}

.input-search-bar-main::placeholder {
  color: var(--white-color);
}

input {
  font-size: 16px;
}

.icon-button-primary {
  height: var(--icon-button-ratio-square);
  width: var(--icon-button-ratio-square);
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--white-color);
}

.icon-button-secondary {
  height: var(--icon-button-ratio-square);
  width: var(--icon-button-ratio-square);
  border-radius: var(--icon-button-border-radius);
  border: 1px solid var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.icon-button-outline {
  height: var(--icon-button-ratio-square);
  width: var(--icon-button-ratio-square);
  border-radius: var(--icon-button-border-radius);
  border: 1px solid var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: var(--secondary-color);
}

.icon-button-fade {
  height: var(--icon-button-ratio-square);
  width: var(--icon-button-ratio-square);
  border-radius: var(--icon-button-border-radius);
  border: 1px solid transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: var(--secondary-color);
  opacity: 20%;
  cursor: none;
}

.basket-tile-light {
  border: 1px solid var(--basket-tile-light-border);
  border-radius: var(--basket-tile-light-border-radius);
  background: var(--basket-tile-light-bg);
  padding: var(--basket-tile-padding);
}

.basket-tile-dark {
  border: 1px solid var(--basket-tile-dark-border);
  border-radius: var(--basket-tile-dark-border-radius);
  background: var(--basket-tile-dark-bg);
  padding: var(--basket-tile-padding);
}

.basket-qty-bg {
  background: var(--primary-color);
}

.product-price {
  color: var(--primary-color);
}

.test-pill {
  background: var(--accent-section-color);
}

.custom-checkbox {
  width: var(--custom-checkbox-width);
  height: var(--custom-checkbox-height);
  aspect-ratio: 1;
  background-color: var(--primary-color);
  filter: var(--custom-checkbox-filter);
}

ul li a {
  transition: all 0.3s ease-in-out;
}

ul li a:hover {
  color: var(--secondary-color);
}

#termsconditions a {
  color: var(--secondary-color);
}

.out-of-stock-banner{
  background: var(--accent-section-color);
  color: var(--secondary-color);
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 21;
}

.out-of-stock-banner p {
  margin: 0;
}

.out-of-stock-notification{
  color: #C47347;
  background: #F2EAE5;
  border-radius: 10px;
  padding: 20px;
  height: 100%;
}

.out-of-stock-notification p {
  margin: 0;
}

.coming-soon {
  color: var(--primary-color);
  font-family: "LaLuxesSerifPro";
}

select {
  font-size: 16px;
}

@media screen and (max-width: 640px) {
  .button-responsive {
    width: var(--button-width-full);
  }

  .hidden-button {
    display: none;
  }

  .header-swap {
    color: var(--white-color) !important;
  }
}
