:root {
  --navy: #071b33;
  --red: #b91c1c;
  --red-dark: #8f1515;
  --ink: #0f1c2e;
  --muted: #5f6b7a;
  --line: #dbe1e8;
  --soft: #f4f6f8;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--soft);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.shipping-bar {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  padding: 10px 14px;
  text-align: center;
}

.site-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 150px 1fr auto;
  min-height: 72px;
  padding: 10px 22px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo-link img {
  height: 42px;
  object-fit: contain;
  width: 138px;
}

.primary-nav,
.language-nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.primary-nav a,
.primary-nav button,
.language-nav button {
  background: #fff;
  border: 1px solid #cfd6df;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.language-nav button.active,
.cart-link {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
}

.menu-toggle {
  display: none;
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px 22px 50px;
}

.hero {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  min-height: 500px;
}

.hero-copy {
  align-self: center;
  padding: 38px 0;
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
  max-width: 620px;
}

.hero-copy > p:not(.eyebrow) {
  color: #334155;
  font-size: 20px;
  line-height: 1.42;
  margin: 18px 0 24px;
  max-width: 570px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  align-items: center;
  border: 1px solid var(--navy);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 17px;
  text-transform: uppercase;
}

.button.red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button.red:hover,
.product-card button:hover,
.featured-card button:hover {
  background: var(--red-dark);
}

.button.light {
  background: #fff;
  color: var(--navy);
}

.hero-products {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  align-self: start;
}

.featured-card,
.product-card,
.collection-card {
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
}

.featured-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.featured-card span,
.product-card .tag {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  min-height: 20px;
}

.featured-card img {
  aspect-ratio: 1;
  background: #f8fafc;
  object-fit: contain;
  width: 100%;
}

.featured-card h2 {
  font-size: 18px;
  line-height: 1.15;
  margin: 12px 0 4px;
}

.featured-card p,
.product-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

.featured-card strong,
.product-card strong {
  display: block;
  font-size: 22px;
  margin: 8px 0 12px;
}

.featured-card button,
.product-card button {
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  min-height: 42px;
  text-transform: uppercase;
  width: 100%;
}

.service-strip {
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 10px 0 26px;
}

.service-strip div {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 22px;
}

.service-strip div:last-child {
  border-right: 0;
}

.service-strip strong,
.service-strip span {
  display: block;
}

.service-strip strong {
  font-size: 15px;
  margin-bottom: 5px;
}

.service-strip span {
  color: #cbd5e1;
  font-size: 13px;
}

.section-heading,
.section-title {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-heading {
  align-items: start;
  display: block;
}

.section-heading h2,
.section-title h2 {
  color: var(--navy);
  font-size: 32px;
  line-height: 1;
  margin: 0;
}

.section-title a {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
}

.collection-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 30px;
}

.collection-card {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 132px 1fr;
  min-height: 160px;
  padding: 16px;
}

.collection-card img {
  aspect-ratio: 1;
  object-fit: contain;
}

.collection-card h3 {
  font-size: 22px;
  margin: 0 0 4px;
}

.collection-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.collection-card span {
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  text-transform: uppercase;
}

.product-section {
  margin: 34px 0 42px;
  scroll-margin-top: 96px;
}

.product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 10px;
  position: relative;
}

.product-card .image-box {
  background: #f8fafc;
  margin: 0 0 12px;
  position: relative;
}

.product-card img {
  aspect-ratio: 1;
  object-fit: contain;
  width: 100%;
}

.product-card .tag {
  background: #fff;
  border: 1px solid #d7dee8;
  left: 8px;
  padding: 6px 8px;
  position: absolute;
  top: 8px;
}

.product-card h3 {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.2;
  margin: 0 0 6px;
  min-height: 42px;
}

.product-card .ready {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  margin: 8px 0 12px;
}

.site-footer {
  background: var(--navy);
  color: #fff;
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 28px 18px;
}

.site-footer a {
  color: #cbd5e1;
}

.cart-drawer {
  background: rgba(7, 27, 51, 0.45);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 160ms ease;
  z-index: 50;
}

.cart-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  background: #fff;
  box-shadow: -20px 0 50px rgba(7, 27, 51, 0.2);
  height: 100%;
  margin-left: auto;
  max-width: 420px;
  padding: 22px;
  width: min(92vw, 420px);
}

.cart-head,
.cart-summary div,
.cart-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-head h2 {
  font-size: 30px;
  margin: 0;
}

.cart-close {
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  min-height: 38px;
  padding: 0 12px;
}

.cart-items {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin: 22px 0;
  padding: 10px 0;
}

.cart-row {
  border-bottom: 1px solid #edf1f5;
  padding: 12px 0;
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-row span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

.cart-row button {
  background: transparent;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.empty-cart {
  color: var(--muted);
  margin: 0;
  padding: 28px 0;
}

.cart-summary .button {
  margin: 18px 0 10px;
  width: 100%;
}

.cart-summary p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 138px auto;
  }

  .menu-toggle {
    background: var(--navy);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    justify-self: end;
    min-height: 40px;
    padding: 0 14px;
    text-transform: uppercase;
  }

  .primary-nav,
  .language-nav {
    display: none;
    grid-column: 1 / -1;
  }

  .site-header.open .primary-nav,
  .site-header.open .language-nav {
    display: flex;
    flex-wrap: wrap;
  }

  main {
    padding: 14px 12px 36px;
  }

  .hero {
    display: block;
  }

  .hero-copy {
    padding: 28px 0 18px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-products,
  .collection-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-strip {
    grid-template-columns: 1fr 1fr;
  }

  .service-strip div:nth-child(2) {
    border-right: 0;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-card h3 {
    font-size: 15px;
    min-height: 54px;
  }

  .collection-card {
    display: block;
  }

  .collection-card img {
    height: 118px;
    margin-bottom: 10px;
  }

  .site-footer {
    display: block;
    text-align: center;
  }

  .site-footer a {
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .shipping-bar {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-products,
  .collection-grid,
  .service-strip {
    grid-template-columns: 1fr;
  }

  .service-strip div,
  .service-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}
