:root {
  --amal-shell-ink: #11100e;
  --amal-shell-paper: #fffdf8;
  --amal-shell-line: rgba(17, 16, 14, 0.13);
  --amal-shell-sans: "DM Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
}

.amal-site-nav {
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  height: clamp(68px, 6.9vw, 94px);
  padding: 0 clamp(24px, 5.1vw, 84px);
  border-bottom: 1px solid var(--amal-shell-line);
  background: rgba(255, 253, 248, 0.97);
  color: var(--amal-shell-ink);
  font-family: var(--amal-shell-sans);
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.amal-site-nav--overlay {
  position: absolute;
  inset: 0 0 auto;
  border-bottom-color: transparent;
  background: transparent;
  color: #fff;
}

.amal-site-nav__left,
.amal-site-nav__right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.75vw, 28px);
}

.amal-site-nav__left {
  justify-self: start;
}

.amal-site-nav__right {
  justify-self: end;
  gap: clamp(12px, 1.2vw, 20px);
}

.amal-site-nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.amal-site-nav a:hover,
.amal-site-nav a:focus-visible {
  opacity: 0.62;
  outline: none;
}

.amal-site-nav--overlay a {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.amal-site-nav__brand {
  justify-self: center;
  width: clamp(108px, 11.7vw, 168px);
  line-height: 0;
}

.amal-site-nav__brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0);
}

.amal-site-nav--overlay .amal-site-nav__brand img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 7px rgba(0, 0, 0, 0.45));
}

.amal-site-nav__icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
}

.amal-site-nav__cart-count {
  position: absolute;
  right: -8px;
  bottom: -7px;
  display: grid;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  place-items: center;
  border-radius: 999px;
  background: currentColor;
  color: var(--amal-shell-paper);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: none;
}

.amal-site-nav__cart-count[hidden] {
  display: none;
}

.amal-site-nav--overlay .amal-site-nav__cart-count {
  background: #fff;
  color: #11100e;
}

.amal-site-nav__icon svg {
  width: clamp(17px, 1.4vw, 20px);
  height: clamp(17px, 1.4vw, 20px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
}

.amal-site-footer {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 80px);
  width: 100%;
  padding: clamp(38px, 4.5vw, 66px) clamp(32px, 5.1vw, 88px) clamp(25px, 3vw, 42px);
  background: #080807;
  color: #fff;
  font-family: var(--amal-shell-sans);
}

.amal-site-footer__group {
  display: grid;
  align-content: start;
  gap: 10px;
}

.amal-site-footer__group p {
  margin: 0 0 5px;
  color: #fff;
  font-family: var(--amal-shell-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.amal-site-footer__group a {
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  width: fit-content;
  color: #fff;
  font-family: var(--amal-shell-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  opacity: 0.72;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.amal-site-footer__group a:hover,
.amal-site-footer__group a:focus-visible {
  opacity: 1;
  outline: none;
}

.amal-site-footer__brand {
  grid-column: 1 / -1;
  justify-self: center;
  width: clamp(150px, 15.5vw, 225px);
  margin-top: clamp(20px, 2.8vw, 42px);
  line-height: 0;
  min-height: 48px;
  align-items: center;
}

.amal-site-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.amal-site-footer__legal {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.54);
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .amal-site-nav {
    height: 64px;
    padding: 0 22px;
  }

  .amal-site-nav__left a:not(:first-child),
  .amal-site-nav__right > a:not(.amal-site-nav__icon) {
    display: none;
  }

  .amal-site-nav__left,
  .amal-site-nav__right {
    gap: 12px;
  }

  .amal-site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amal-site-footer__group:last-of-type {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .amal-site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-inline: 24px;
  }

  .amal-site-footer__group:last-of-type,
  .amal-site-footer__brand,
  .amal-site-footer__legal {
    grid-column: 1;
  }

  .amal-site-footer__legal {
    align-items: flex-start;
    flex-direction: column;
  }
}
.amal-site-nav,
.amal-site-nav *,
.amal-site-footer,
.amal-site-footer * {
  box-sizing: border-box;
}
