:root {
  color-scheme: light;
  --ink: #14241f;
  --muted: #61736d;
  --paper: #f6faf6;
  --surface: #ffffff;
  --surface-2: #eef7f2;
  --line: #dbe7df;
  --brand: #078a70;
  --brand-2: #0ab899;
  --coral: #d86f4d;
  --amber: #c58c20;
  --sky: #367da5;
  --shadow: 0 18px 50px rgba(17, 40, 34, .12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

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

body.cart-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(20, 36, 31, .1);
  background: rgba(246, 250, 246, .92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
}

.brand.compact {
  font-size: 1rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #073d34, var(--brand-2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(7, 138, 112, .22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #354842;
  font-size: .95rem;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.cart-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.cart-icon {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px;
  position: relative;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: -6px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}

.hero {
  min-height: 640px;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 40px;
  padding: 80px max(22px, calc((100vw - 1180px) / 2)) 44px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 25, 20, .9), rgba(8, 25, 20, .58) 54%, rgba(8, 25, 20, .28)),
    url("https://images.unsplash.com/photo-1517336714731-489689fd1ca8?w=1800&h=1200&fit=crop") center / cover;
}

.hero-content {
  max-width: 720px;
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #9ff3de;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--brand);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 4.7rem;
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.1rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 16px 32px rgba(7, 138, 112, .2);
}

.button.ghost {
  border-color: rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
}

.hero-strip {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-strip article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}

.hero-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-strip span {
  display: block;
  padding: 10px 12px;
  font-weight: 850;
}

.section {
  padding: 72px max(22px, calc((100vw - 1180px) / 2));
}

.catalog-section {
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.catalog-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-box input,
.catalog-tools select {
  width: 260px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
}

.catalog-tools select {
  width: 170px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.category-tabs button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: var(--surface-2);
  color: #2f443d;
  cursor: pointer;
}

.category-tabs button[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(17, 40, 34, .07);
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-2);
}

.product-body {
  padding: 14px 14px 12px;
}

.product-kicker {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 780;
}

.product-card h3 {
  display: -webkit-box;
  min-height: 50px;
  margin: 8px 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card p {
  display: -webkit-box;
  min-height: 58px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 0 14px 14px;
}

.price {
  color: #0f352d;
  font-size: 1.15rem;
  font-weight: 900;
}

.tiny-action {
  min-height: 38px;
  border: 1px solid rgba(7, 138, 112, .3);
  border-radius: 8px;
  padding: 0 12px;
  background: #e9f8f3;
  color: var(--brand);
  font-weight: 850;
  cursor: pointer;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.detail-link {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.checkout-flow {
  background: #edf6f1;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.flow-grid article,
.metrics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  padding: 22px;
}

.flow-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #153e34;
  color: #fff;
  font-weight: 900;
}

.flow-grid p,
.trust-copy p {
  color: var(--muted);
  line-height: 1.58;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
  gap: 32px;
  align-items: center;
  background: var(--surface);
}

.trust-copy {
  max-width: 560px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
  font-size: 2rem;
}

.metrics span {
  color: var(--muted);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  background: rgba(14, 28, 24, .42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.cart-drawer[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto minmax(120px, 1fr) auto auto;
  width: min(430px, 100vw);
  height: 100%;
  overflow-x: hidden;
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.cart-items {
  overflow: auto;
  overflow-x: hidden;
  padding: 16px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-line h3 {
  margin: 0 0 4px;
  font-size: .94rem;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

.qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qty-row button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.remove-button {
  border: 0;
  background: transparent;
  color: var(--coral);
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.cart-total strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.checkout-button {
  width: 100%;
}

.checkout-button:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

.checkout-form {
  display: grid;
  gap: 10px;
}

.checkout-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.checkout-form input,
.checkout-form select {
  min-height: 40px;
  padding: 0 11px;
}

.checkout-form textarea {
  resize: vertical;
  padding: 10px 11px;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 10px;
}

.checkout-status {
  min-height: 20px;
  margin: 0;
  color: var(--brand);
  font-size: .88rem;
  line-height: 1.4;
}

.checkout-status.error {
  color: var(--coral);
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 28, 24, .55);
}

.product-modal {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(260px, 1fr);
  gap: 24px;
  width: min(820px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

.product-modal img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
}

.product-modal p {
  color: var(--muted);
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
}

.modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted);
}

.modal-meta strong {
  color: var(--ink);
  font-size: 1.45rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 26px max(22px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 18px;
}

.product-static {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 146px);
  padding: 72px max(22px, calc((100vw - 1180px) / 2));
  background: #fff;
}

.product-static > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-2);
}

.product-static h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1.05;
}

.product-static p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.category-intro {
  max-width: 620px;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 92px;
  }

  .hero-strip {
    max-width: 680px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .site-nav {
    display: none;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .section-head,
  .split-section {
    display: block;
  }

  .catalog-tools {
    margin-top: 18px;
  }

  .product-grid,
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics {
    margin-top: 24px;
  }

  .product-modal {
    grid-template-columns: 1fr;
  }

  .product-static {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
    padding-inline: 14px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 72px 16px 28px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .section {
    padding: 52px 16px;
  }

  .catalog-tools {
    display: grid;
  }

  .search-box input,
  .catalog-tools select {
    width: 100%;
  }

  .product-grid,
  .flow-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    padding-inline: 16px;
  }

  .site-footer div {
    justify-content: start;
  }

  .checkout-row {
    grid-template-columns: 1fr;
  }
}
