* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --store-primary-color: #ff9c33;
  --store-secondary-color: #ffb703;
  --store-neutral-color: #ffffff;
  --store-buy-button-color: #0fba31;
  --store-attention-red-color: #ed1515;
  --store-fixed-yellow-color: #f5b800;
  --site-radius: 12px;
  --storefront-spinner-size-base: 16px;
  --storefront-spinner-border-width: 2px;
  --storefront-spinner-track-color: rgba(0, 0, 0, 0.12);
  --storefront-spinner-color: var(--store-buy-button-color);
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
  @media (min-width: 768px) {
    html {
      overflow-y: scroll;
    }
  }
}

body {
  font-family: "Inter", sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.top-banner {
  background-color: var(--store-primary-color);
  color: white;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
}

.header {
  background-color: #fff;
  height: 60px;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  position: static;
  top: 0;
  z-index: 100;
}

.logo {
  height: 100%;
  width: min(180px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 40px;
  width: 180px;
  max-width: 100%;
  max-height: 40px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.logo a {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: var(--site-radius);
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.14s ease;
}

.logo a:focus {
  outline: none;
}

.logo a:focus-visible {
  outline: 2px solid rgba(31, 41, 55, 0.25);
  outline-offset: 3px;
}

.logo a.is-click-flash {
  opacity: 0.82;
}

/* Footer */
.footer {
  background-color: var(--store-neutral-color);
  border-top: 1px solid #e8e8e8;
}

.storefront-footer {
  background-color: var(--store-neutral-color);
}

.storefront-footer-help {
  padding: 32px 20px 16px;
  text-align: center;
}

.storefront-footer-help-title {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.storefront-footer-help-link {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
  text-decoration: none;
}

.storefront-footer-meta {
  border-top: 1px solid #e8e8e8;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.storefront-footer-policy-button {
  padding: 0;
  border: 0;
  background: none;
  color: #737373;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.storefront-footer-copyright {
  font-size: 12px;
  color: #737373;
}

.storefront-footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.storefront-footer-social-link {
  color: #555;
}

.storefront-neutral-surface {
  background-color: var(--store-neutral-color);
}

.storefront-policies-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.storefront-policies-popup-card {
  position: relative;
  width: 90%;
  max-width: 400px;
  padding: 24px;
  background: #fff;
  border-radius: var(--site-radius);
}

.storefront-policies-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  color: #555;
  font-size: 24px;
  cursor: pointer;
}

.storefront-policies-popup-title {
  margin: 0 0 16px;
  font-size: 18px;
  color: #333;
  text-align: center;
}

.storefront-policies-popup-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policies-popup-link {
  display: block;
  color: #555;
  text-decoration: none;
  font-size: 14px;
  padding: 8px;
  background: var(--store-neutral-color);
  border-radius: var(--site-radius);
  text-align: center;
}

html,
body {
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

.storefront-spinner {
  width: var(--storefront-spinner-size, var(--storefront-spinner-size-base));
  height: var(--storefront-spinner-size, var(--storefront-spinner-size-base));
  display: inline-block;
  border-radius: 999px;
  border: var(--storefront-spinner-border-width, 2px) solid
    var(--storefront-spinner-track, var(--storefront-spinner-track-color));
  border-top-color: var(--storefront-spinner-color-current, var(--storefront-spinner-color));
  animation: storefront-spinner-spin 0.8s linear infinite;
  flex: 0 0 auto;
}

@keyframes storefront-spinner-spin {
  to {
    transform: rotate(360deg);
  }
}

main,
.home-content,
.policy-content,
.page-content {
  flex: 1;
}
