@font-face {
  font-family: "GLift Studio Barlow";
  src: url("assets/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "GLift Studio Plex";
  src: url("assets/ibm-plex-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --store-paper: #efe8d7;
  --store-ink: #1b211f;
  --store-line: #a79e8a;
  --store-dark: #121b23;
  --store-cream: #fbf1da;
  --store-brass: #dec58d;
  --store-mono: "GLift Studio Plex", ui-monospace, monospace;
  --store-display: "GLift Studio Barlow", "Arial Narrow", sans-serif;
  color-scheme: light;
}

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

body {
  margin: 0;
  color: var(--store-ink);
  background: var(--store-paper);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.store-width {
  width: min(75rem, calc(100% - 2 * clamp(1rem, 4.1vw, 2.8rem)));
  margin-inline: auto;
}

.store-mast {
  border-bottom: 1px solid #615a47;
  background: var(--store-dark);
  color: var(--store-cream);
}

.store-mast-inner,
.store-footer-inner {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
}

.store-mast-inner { min-height: 3.75rem; }

.store-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 2.75rem;
}

.store-logo img {
  display: block;
  width: 3.65rem;
  height: 2.75rem;
  object-fit: contain;
  filter: invert(1) brightness(1.22);
}

.store-nav, .store-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  column-gap: clamp(.65rem, 2.3vw, 2rem);
}

.store-nav a, .store-footer a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: inherit;
  font: 500 .8125rem/1.2 var(--store-mono);
  text-decoration: none;
  text-underline-offset: .3em;
  white-space: nowrap;
}

.store-nav a:hover, .store-nav a[aria-current], .store-footer a:hover {
  text-decoration: underline;
}

.store-nav a[aria-current] { color: var(--store-brass); }

.store-mast a:focus-visible, .store-primary:focus-visible {
  outline: 2px solid #b2883e;
  outline-offset: 3px;
}

.store-primary {
  display: inline-flex;
  min-height: 2.75rem;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: .55rem .85rem;
  border: 1px solid var(--store-dark);
  background: var(--store-dark);
  color: var(--store-cream);
  font: 500 .8125rem/1.3 var(--store-mono);
  text-decoration: none;
}

.store-primary:hover {
  background: var(--store-paper);
  color: var(--store-dark);
}

.store-hero-cta {
  display: flex;
  width: fit-content;
  margin-top: .65rem;
}

.store-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  max-width: 100%;
  margin-block: .75rem .45rem;
  color: var(--store-ink);
}

.store-price-badge {
  display: inline-block;
  padding: .25rem .4rem;
  border: 1px solid var(--store-line);
  background: var(--store-brass);
  font: 500 .625rem/1.2 var(--store-mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.store-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.store-price-previous {
  color: #645f54;
  font: 500 .875rem/1.3 var(--store-mono);
  white-space: nowrap;
}

.store-price-previous s { text-decoration-thickness: 1px; }

.store-price-amount {
  font: 700 1.35rem/1.15 var(--store-mono);
  letter-spacing: -.035em;
  white-space: nowrap;
}

.store-price-unit {
  font: 500 .75rem/1.3 var(--store-mono);
  letter-spacing: 0;
}

.store-price-savings {
  color: #675125;
  font: 500 .6875rem/1.4 var(--store-mono);
  white-space: nowrap;
}

.store-price-shipping {
  flex-basis: 100%;
  font: 500 .6875rem/1.45 var(--store-mono);
}

.store-price-reference-note {
  flex-basis: 100%;
  max-width: 48ch;
  color: #645f54;
  font: 500 .75rem/1.5 var(--store-mono);
}

#glift-pocket .home-style-copy .store-price {
  grid-column: 1 / -1;
  margin-block: .45rem 0;
}

#glift-pocket .gp-compare-name {
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.store-footer {
  border-top: 1px solid var(--store-line);
  background: #e8dfcc;
}

.store-footer-inner {
  min-height: 4.5rem;
  padding-block: .35rem;
  flex-wrap: wrap;
}

.store-skip {
  position: fixed;
  z-index: 3;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  transform: translateY(-200%);
  background: var(--store-dark);
  color: var(--store-cream);
}

.store-skip:focus { transform: none; }

@media (max-width: 37.5rem) {
  .store-mast-inner { min-height: 3.35rem; }
  .store-logo img { width: 3.1rem; height: 2.33rem; }
  .store-nav a, .store-footer a { font-size: .75rem; }
  .store-footer-inner { min-height: 3.8rem; }
}

.product-purchase {
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-block: 1px solid var(--store-line);
}

.product-purchase h2 { font-size: 1rem; }

.product-purchase .product-price {
  margin-block: .35rem;
  font: 500 .9rem/1.45 var(--store-mono);
}

.product-variants {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .75rem 0;
}

.product-variant {
  min-height: 2.75rem;
  padding: .5rem .7rem;
  border: 1px solid var(--store-line);
  background: transparent;
  color: var(--store-ink);
  font: 500 .8125rem/1.2 var(--store-mono);
  cursor: pointer;
}

.product-variant[aria-pressed="true"] {
  border-color: var(--store-dark);
  color: var(--store-cream);
  background: var(--store-dark);
}

.product-variant:disabled,
.product-purchase .store-primary:disabled {
  opacity: .6;
  cursor: default;
}

.product-purchase .store-primary:disabled:hover {
  background: var(--store-dark);
  color: var(--store-cream);
}

.product-cart-status:not(:empty) { margin-top: .65rem; }
#product-view-cart { display: inline-block; margin-top: .25rem; }
