@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");
/* Root variables */
:root {
  --clr-accent-500: hsl(12, 60%, 45%);
  --clr-accent-400: hsl(12, 88%, 59%);
  /* #ffc300;  */
  /* --clr-accent-400: rgb(245 158 11); */
  --clr-accent-300: hsl(12, 88%, 75%);
  --clr-accent-200: hsl(13, 100%, 93%);
  --clr-accent-100: hsl(13, 100%, 96%);

  --clr-green-400: #086927;
  --clr-green-100: #a8f0b4;

  --clr-yellow-400: #db9812;
  --clr-yellow-100: #ebc474;

  --clr-red-400: #d42243;
  --clr-red-100: #ecd3d8;

  --clr-blue-400: #10698a;
  --clr-blue-100: #6fcaea;

  --clr-gray-400: #525252;
  --clr-gray-100: #dbdbdb;

  --clr-primary-400: hsl(228, 39%, 23%);

  --clr-neutral-900: hsl(231, 12%, 13%);
  --clr-neutral-100: hsl(0, 0%, 100%);

  --ff-primary: "Be Vietnam Pro", sans-serif;
  --ff-body: var(--ff-primary);
  --ff-heading: var(--ff-primary);

  --fw-regular: 400;
  --fw-semi-bold: 500;
  --fw-bold: 700;

  --fs-300: 0.8125rem;
  --fs-400: 0.875rem;
  --fs-500: 0.9375rem;
  --fs-600: 1rem;
  --fs-650: 1.35rem;
  --fs-700: 1.65rem;
  --fs-800: 2.5rem;
  --fs-900: 2.5rem;

  --fs-body: var(--fs-400);
  --fs-primary-heading: var(--fs-800);
  --fs-secondary-heading: var(--fs-700);
  --fs-nav: var(--fs-500);
  --fs-button: var(--fs-300);

  --size-100: 0.25rem;
  --size-200: 0.5rem;
  --size-300: 0.75rem;
  --size-400: 1rem;
  --size-500: 1.5rem;
  --size-600: 2rem;
  --size-700: 3rem;
  --size-800: 4rem;
  --size-900: 5rem;
}

@media (min-width: 50em) {
  :root {
    --fs-body: var(--fs-500);
    --fs-primary-heading: var(--fs-900);
    --fs-secondary-heading: var(--fs-700);

    --fs-nav: var(--fs-300);
  }
}
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin and padding */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Utility Classes */

.my-4 {
  margin: 1.25rem 0;
}

.my-2 {
  margin: 0.25rem 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-primary-400 {
  color: var(--clr-primary-400);
}
.text-accent-400 {
  color: var(--clr-accent-400);
}
.text-accent-100 {
  color: var(--clr-accent-100);
}
.text-neutral-100 {
  color: var(--clr-neutral-100);
}
.text-neutral-900 {
  color: var(--clr-neutral-900);
}

.text-gray-100 {
  color: var(--clr-gray-100) !important;
}
.text-gray-400 {
  color: var(--clr-gray-400) !important;
}

.text-heading {
  color: #535353;
}

.bg-primary-400 {
  background-color: var(--clr-primary-400);
}
.bg-accent-400 {
  background-color: var(--clr-accent-400);
}
.bg-accent-100 {
  background-color: var(--clr-accent-100);
}
.bg-neutral-100 {
  background-color: var(--clr-neutral-100);
}
.bg-neutral-900 {
  background-color: var(--clr-neutral-900);
}

.fw-regular {
  font-weight: var(--fw-regular);
}
.fw-semi-bold {
  font-weight: var(--fw-semi-bold);
}
.fw-bold {
  font-weight: var(--fw-bold);
}

.fs-primary-heading {
  font-size: var(--fs-primary-heading);
  line-height: 1.2;
}
.fs-secondary-heading {
  font-size: var(--fs-secondary-heading);
  line-height: 1.2;
}

.fs-300 {
  font-size: var(--fs-300);
}
.fs-400 {
  font-size: var(--fs-400);
}
.fs-500 {
  font-size: var(--fs-500);
}
.fs-600 {
  font-size: var(--fs-600);
}
.fs-650 {
  font-size: var(--fs-650);
}
.fs-700 {
  font-size: var(--fs-700);
}
.fs-800 {
  font-size: var(--fs-800);
}
.fs-900 {
  font-size: var(--fs-900);
}

.padding-block-700 {
  padding-block: var(--size-700);
}

.container {
  --max-width: 1110px;
  --padding: 1rem;
  width: min(var(--max-width), 100% - var(--padding) * 2);
  margin-inline: auto;
}

.container-small {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  max-width: min(500px, 100%);
}

.container-fluid {
  width: min(100% - 2rem);
  margin-inline: auto;
}

:where(.flow > :not(:first-child)) {
  margin-top: var(--flow-spacer, 2em);
}

.even-columns {
  display: grid;
  gap: 2rem;
}

.even-columns.no-gap {
  gap: 0;
}

.flex {
  display: flex;
}

.hidden {
  display: none;
}

.footer-div {
  padding: 2rem 0;
}

.footer-nav a {
  color: var(--clr-neutral-100) !important;
}
.footer-nav ul {
  display: flex;
  gap: 1rem;
}

@media (min-width: 50em) {
  .even-columns {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }
  .display-md-inline-flex {
    display: inline-flex;
  }
}

/* General styles */
body {
  font-size: var(--fs-body);
  font-family: var(--ff-body);
  color: var(--clr-primary-400);
}

a {
  text-decoration: none;
  font-weight: var(--fw-bold);
  color: var(--clr-primary-400);
  /* font-size: var(--fs-300); */
}

a:hover {
  text-decoration: underline;
  color: var(--clr-accent-400) !important;
}

.button {
  /* display: inline-flex; */

  text-decoration: none !important;
  padding: 0.75rem 1.35em;
  border-radius: 5px;
  color: var(--clr-gray-400);
  border-color: transparent;

  line-height: 1;
  font-weight: var(--fw-bold);
  font-size: var(--fs-button);

  cursor: pointer;
}

a.accent:hover {
  color: var(--clr-neutral-100) !important;
}

.button.small {
  transform: scale(0.9);
}

.shadow-accent {
  box-shadow: 0 1.125em 1em -1.1em var(--clr-accent-400);
}

.rounded {
  border-radius: 100vmax;
}
.rounded-sm {
  border-radius: 5px;
}

.button[data-type="inverted"] {
  color: var(--clr-accent-400);
  background-color: var(--clr-neutral-100);
}

.button:hover,
.button:focus-visible {
  opacity: 0.7;
}

.button[data-type="inverted"]:hover,
.button[data-type="inverted"]:focus-visible {
  color: var(--clr-accent-300);
  background-color: var(--clr-neutral-100);
}

.link {
  background-color: #0000000f;
}

a.button:hover {
  /* color: var(--clr-accent-100) !important; */
}

.button.accent {
  background-color: var(--clr-accent-400);
  color: var(--clr-neutral-100);
}

.button.error {
  background-color: var(--clr-red-100);
  color: var(--clr-red-400);
}

.button.success {
  background-color: var(--clr-green-100);
  color: var(--clr-green-400);
}

.button.primary {
  background-color: var(--clr-blue-100);
  color: var(--clr-blue-400);
}

.button.warning {
  background-color: var(--clr-yellow-100);
  color: var(--clr-gray-400);
}

.button.secondary {
  background-color: var(--clr-gray-100);
  color: var(--clr-gray-400);
}

.accent.outlined {
  color: var(--clr-accent-400);
  border-color: var(--clr-accent-400);
}

.error.outlined {
  color: var(--clr-red-400);
  border-color: var(--clr-red-400);
}

.success.outlined {
  color: var(--clr-green-400);
  border-color: var(--clr-green-400);
}

.outlined {
  background: transparent !important;
  border: 2px solid gray;
}

/* form Inputs */
.form-control {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.15rem;
}
.form-control label {
  color: rgb(102, 102, 102);
}

.form-control .description {
  font-size: var(--fs-300);
  color: rgb(160, 160, 160);
}

input {
  accent-color: var(--clr-accent-400);
}

.form-input {
  padding: 5px 1rem;
  border: 1px solid transparent;
  background: #0000000b;
  line-height: 1.85rem;
  border-radius: 5px;
  width: 100%;
}

.form-input:focus {
  border-color: var(--clr-gray-100);
  outline: none;
  background: #00000013;
}

input[type="checkbox"]:disabled {
  color: var(--clr-accent-400) !important;
}

.form-select {
  padding: 10px 0.5rem;
  border: 1px solid transparent;
  background: #0000000b;
  line-height: 1.85rem;
  border-radius: 5px;
  width: 100%;
}

.form-select:focus {
  border-color: var(--clr-gray-100);
  outline: none;
  background: #00000013;
}

/* Navigation */
.primary-header {
  width: 100%;
  background-color: var(--clr-neutral-100);
  position: fixed;
  padding-top: var(--size-500);
  padding-bottom: var(--size-500);
  box-shadow: 0 0 0.8em rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.main-content {
  padding-top: var(--size-900);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between !important;
}

.mobile-nav-toggle {
  display: none;
}

.nav-list {
  display: flex;
  gap: clamp(var(--size-400), 5vw, var(--size-600));
  font-size: var(--fs-nav);
  font-weight: var(--fw-bold);
  align-items: center;
}

.nav-list li a {
  padding: 0.5rem !important;
}

.nav-list li a.active {
  border-bottom: 3px solid var(--clr-accent-400);
}

.nav-list a {
  text-decoration: none;
  color: var(--clr-primary-400);
}
.nav-list a:hover,
.nav-list a:focus,
.nav-list a.active {
  text-decoration: none;
  color: var(--clr-accent-400);
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 1rem;

  /* gap: 3rem; */

  box-shadow: 0 0 0.8em rgba(0, 0, 0, 0.2);

  background-color: var(--clr-neutral-100);
  border-radius: 5px;
  padding: 0.75rem 1.35rem;
  font-weight: 100 !important;
}

.dropdown-menu li {
  display: block;
  margin: 0.5rem 0;
}

hr {
  border-color: rgba(255, 255, 255, 0.4);
  margin: 1rem 0;
}

hr.inverted {
  border-color: rgba(255, 255, 255, 1) !important;
}

@media (max-width: 50em) {
  .primary-navigation {
    display: none;

    position: fixed;
    padding: var(--size-700);
    inset: 6rem var(--size-400) auto;
    max-width: 25rem;
    margin-inline: auto;
    background: var(--clr-neutral-100);
    border-radius: var(--size-200);
    box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.05);
  }

  .primary-header[data-overlay]::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgb(0 0 0 /0), rgb(0 0 0 /0.8));
  }

  .nav-list {
    display: grid;
    gap: var(--size-600);
    text-align: center;
    font-weight: var(--fw-bold);
  }

  .primary-navigation[data-visible] {
    display: block;
  }

  .mobile-nav-toggle {
    z-index: 1;

    display: block;
    cursor: pointer;
    background: transparent;
    /* padding: 0.5em; */
    border: 0;
  }

  .mobile-nav-toggle[aria-expanded="false"] .icon-close {
    display: none;
  }

  .mobile-nav-toggle[aria-expanded="true"] .icon-hamburger {
    display: none;
  }
}

.flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: end;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.flex-column {
  flex-direction: column;
}

/* New Styles */
.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.key-value-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: auto;
  grid-auto-flow: dense;
  column-gap: 5rem;
  row-gap: 22px;
}

.key-value-item {
  display: flex;
  justify-content: start;
  /* flex-wrap: wrap; */
  flex-direction: column;
  /* gap: 0.8rem; */
  column-gap: 1.1rem;
  /* padding-bottom: 4px; */
  /* border-bottom: #00000013 1px solid; */
}

/* .key-value-item:nth-child(odd) {
  background-color: #0000000b;
}

.key-value-item:hover {
  background-color: #00000016;
} */

.key-value-item.full-width {
  grid-column: 1 / -1;
}

.key-value-item:not(.full-width) {
  justify-content: space-between;
}

.key-value-item .item-key {
  color: #9ca3af;
  min-width: 180px;
  /* flex-basis: 40%;s */
}

.key-value-item .item-value {
  flex-grow: 1;
  color: #74747c;
  font-weight: var(--fw-semi-bold);
  /* font-size: 16.5px; */
  /* flex-basis: 60%; */
}

@media (min-width: 25em) {
  .key-value-item {
    flex-direction: row;
  }

  .key-value-item .item-key {
    /* flex-basis: 40%; */
  }

  .key-value-item .item-value {
    /* flex-basis: 60%; */
  }
}

.z-top {
  z-index: 9999999 !important;
}

.track-order {
  width: min(800px, 100%);
  margin-top: 1rem;
}
.track-order input {
  background-color: var(--clr-neutral-100);
  line-height: 1.5rem;
  padding: 0.6rem 2rem;
  text-align: center;
  /* width: min(600px, 100%); */
  border-radius: 100px;
  font-size: 20px;
  border: 1px solid #082a36;
  /* box-shadow: 0 1px 0.1em rgba(0, 0, 0, 0.1); */
}

.track-order input:focus-within {
  background-color: var(--clr-neutral-100);
  border-color: var(--clr-accent-400);
}

.track-order .button {
  padding: 0.75rem 2.5rem;
  font-size: 1.35rem;
}
