/* Shared storefront frame for pages that do not carry the legacy inline base CSS. */
:root {
  --black: #151719;
  --charcoal: #202224;
  --white: #f4f1ea;
  --paper: #f4f1ea;
  --muted: #6d6d69;
  --orange: #c8a96a;
  --warm: #e1c98f;
  --line: rgba(21, 23, 25, .14);
  --max-width: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: #151719;
  background: #f4f1ea;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

body,
h1,
h2,
h3,
h4,
p,
ul {
  padding: 0;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin-top: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

.section {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--warm);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: var(--orange);
  content: "";
}

.navbar {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(21, 23, 25, .1);
  background: rgba(244, 241, 234, .96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: #151719;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .03em;
  white-space: nowrap;
}

.brand::before {
  display: block;
  flex: 0 0 auto;
  content: "";
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(21, 23, 25, .14);
  border-radius: 10px;
  color: var(--warm);
  background: #151719;
}

.nav-links {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: #3f4140;
  font-size: .92rem;
  transition: color .2s ease;
}

.nav-links a::after {
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #151719;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .7rem;
}

.icon-btn {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(21, 23, 25, .14);
  border-radius: 50%;
  color: #151719;
  background: #fffefa;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}

.icon-btn:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  color: #151719;
  background: var(--orange);
  font-size: .68rem;
  font-weight: 900;
}

.menu-btn {
  display: none;
}

footer {
  padding: 70px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  background: #17191a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
}

.footer-brand p {
  max-width: 390px;
  margin: 18px 0 0;
  color: #d4d2cb;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer-col h4 {
  margin-bottom: 16px;
  color: #fff;
  font-size: .84rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 9px 0;
  color: #d4d2cb;
  transition: color .2s ease, transform .2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--warm);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  margin-top: 54px;
  padding-top: 20px;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #d4d2cb;
  font-size: .85rem;
}

@media (max-width: 980px) {
  .nav-links {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(91%, var(--max-width));
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}
