/* ===== Base & variables ===== */
:root {
  --white: #fff;
  --red: #ff2222;
  --dark-red: #ca0000;
  --black: #111;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: inline-block; }

/* Typography */
body {
  background: var(--white);
  color: var(--black);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
h1, h2 { font-family: Anton, Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; letter-spacing: .2px; }
.h1-heading { margin: 0 0 .5rem; font-size: 4rem; line-height: 1.05; text-transform: uppercase; }
.h2-heading { margin: 2.2rem 0 1rem; font-size: 2.25rem; line-height: 1.1; text-transform: uppercase; }
.lead { opacity: .95; }

/* Layout helpers */
.section { position: relative; }
.section.red { background: var(--red); }
.container { max-width: 77.5rem; padding: 6.5rem 2rem; margin: 0 auto; }
.hero-legal { padding-top: 8rem; padding-bottom: 3rem; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.legal-container { padding-top: 2rem; }
.white { color: var(--white); }
.red { color: var(--red); }

/* Header (copied structure classes for consistency) */
.header-nav { z-index: 1000; position: absolute; inset: 0 0 auto; }
.menu-wrapper { z-index: 9999; width: 100%; max-width: 100em; margin-inline: auto; padding: .5em 2.2em 1em; position: relative; }
.menu-wrapper.header { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 100svh; padding: 8.6em 6vw 3em; }
.navigation-block { display: flex; align-items: center; justify-content: center; gap: 2.2rem; background: var(--red); border-radius: 150px; padding: .6rem 1.5rem; }
.logo-svg { max-width: 10rem; color: var(--white); }
.hamburger-icon { filter: invert(1); width: 2rem; height: 2rem; }
.cart-button { background: transparent; max-width: 3rem; }
.cart-icon { width: 100%; }

/* Fullscreen menu */
.menu-container { background: var(--red); width: 100%; height: 0; position: fixed; inset: 0 0 auto auto; overflow: hidden; transition: height .35s ease; }
.menu-container.is-open { height: 100svh; }
.header-nav-link-grid { width: 90%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.navigation-sub-heading { color: var(--white); font-family: Anton, sans-serif; font-size: 2rem; margin: 0; text-transform: uppercase; }
.link-list-wrapper { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.navigation-link { color: var(--white); text-decoration: none; font-size: 16px; opacity: .95; }
.navigation-link:hover { opacity: .7; }
.menu-overlay { position: absolute; inset: 0; background: transparent; }

/* Footer */
.section.footer { background: var(--red); }
.footer-container { max-width: 77.5rem; padding: 5rem 2rem; margin: 0 auto; }
.footer-nav-link-grid { width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; }
.copyright-text { color: var(--white); line-height: 1; }

/* Legal content */
.legal-article { max-width: 60rem; margin: 0 auto; }
.legal-list { margin: .5rem 0 1.2rem 1.1rem; padding: 0; }
.legal-list li { margin: .25rem 0; }
.legal-contact-block { background: #fafafa; border: 1px solid #eee; border-radius: 10px; padding: 1rem 1.2rem; margin: 1rem 0 2rem; }

/* Thanks page bits */
.thanks-card { max-width: 46rem; margin: 0 auto; background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 2rem; text-align: center; }
.thanks-logo { width: 120px; margin-bottom: 1rem; }
.thanks-actions { display: flex; gap: .8rem; justify-content: center; margin: 1rem 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.3rem; border-radius: 999px; text-decoration: none; font-family: Anton, sans-serif; text-transform: uppercase; }
.button.red { background: var(--red); color: #fff; }
.button.red:hover { background: var(--dark-red); }
.button.ghost { background: transparent; border: 1px solid #ddd; color: #333; }
.button.ghost:hover { border-color: #bbb; }

/* Utilities */
.no-margin { margin: 0; }

/* Responsive */
@media (min-width: 1440px) {
  .header-nav-link-grid { width: 80%; }
  .container { max-width: 87.5rem; }
}
@media (min-width: 1920px) {
  .header-nav-link-grid { width: 70%; }
  .container { max-width: 120rem; }
}
@media (max-width: 991px) {
  .header-nav-link-grid, .footer-nav-link-grid { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .menu-wrapper.header { padding-top: 7.4em; }
}
@media (max-width: 767px) {
  .header-nav-link-grid, .footer-nav-link-grid { grid-template-columns: repeat(2, 1fr); }
  .h1-heading { font-size: 3rem; }
  .h2-heading { font-size: 1.85rem; }
  .hero-legal { padding-top: 7rem; }
}
