:root {
  --ink: #111417;
  --paper: #f4f0e6;
  --paper-deep: #e4d9c5;
  --white: #fffdf8;
  --teal: #2f8f87;
  --teal-dark: #17645e;
  --yellow: #f2c94c;
  --red: #d64242;
  --muted: #5f625f;
  --line: rgba(17, 20, 23, 0.18);
  --shadow: 0 20px 70px rgba(17, 20, 23, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
a {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(244, 240, 230, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 6px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 18px;
  justify-content: center;
}

nav a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  text-underline-offset: 5px;
}

nav a:hover {
  text-decoration: underline;
}

.cart-button,
.icon-button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 6px;
  font-weight: 800;
}

.cart-button strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.82rem;
}

.hero {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 68px clamp(18px, 6vw, 72px) 54px;
  border-bottom: 8px solid var(--ink);
}

.hero-copy {
  max-width: 820px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 900px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.16;
}

.hero-copy > p:not(.eyebrow),
.section-heading p,
.split > div > p {
  color: #303632;
  font-size: 1.14rem;
  max-width: 720px;
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.filter {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--ink);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
}

.button.primary,
.filter.active {
  color: var(--paper);
  background: var(--ink);
}

.button.secondary,
.filter {
  color: var(--ink);
  background: transparent;
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.hero-panel {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.featured-cover {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(242, 201, 76, 0.14), rgba(79, 183, 174, 0.1)),
    #0e1315;
}

.hero-panel img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.hero-panel div {
  padding: 24px;
  color: var(--paper);
}

.hero-panel span,
.product-type,
.service-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.hero-panel p {
  color: rgba(244, 240, 230, 0.78);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-right: 1px solid var(--line);
  color: #2e3632;
  font-weight: 850;
  text-align: center;
}

.section {
  padding: 74px clamp(18px, 6vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 14px;
  object-fit: contain;
  background: #101416;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-body p {
  color: var(--muted);
}

.product-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: auto 0 16px;
  padding-top: 16px;
}

.price {
  font-size: 1.6rem;
  font-weight: 950;
}

.pill {
  padding: 5px 8px;
  background: #ece4d4;
  border-radius: 999px;
  color: #383631;
  font-size: 0.78rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 6vw, 68px);
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 950;
}

.service-card,
.checkout-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.service-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 2.5rem;
  line-height: 1;
}

.checkout-section {
  background: var(--ink);
  color: var(--paper);
}

.checkout-section .eyebrow {
  color: var(--yellow);
}

.checkout-section p {
  color: rgba(244, 240, 230, 0.78);
}

.checkout-box {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  color: var(--ink);
}

.checkout-box strong {
  display: block;
  font-size: 2rem;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 23, 0.45);
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-drawer.open .cart-backdrop {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(100vw, 470px);
  height: 100%;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-panel header,
.cart-panel footer {
  padding: 22px;
}

.cart-panel header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cart-panel h2 {
  margin: 0;
  font-size: 2rem;
}

.icon-button {
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: #e8ddca;
  border-radius: 6px;
  font-size: 1.7rem;
  line-height: 1;
}

.cart-items {
  overflow: auto;
  padding: 8px 22px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 72px;
  height: 60px;
  padding: 4px;
  object-fit: contain;
  background: #101416;
  border-radius: 6px;
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-remove {
  border: 0;
  color: var(--red);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.cart-panel footer {
  border-top: 1px solid var(--line);
}

.cart-panel footer p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: 320px;
  padding: 14px 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.status-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 6vw, 72px);
}

.status-card {
  max-width: 760px;
  padding: clamp(28px, 6vw, 64px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.status-card h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.status-card p:not(.eyebrow) {
  max-width: 620px;
  color: #303632;
  font-size: 1.18rem;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  .trust-strip,
  .product-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .checkout-box {
    align-items: stretch;
    flex-direction: column;
  }
}
