:root {
  --ink: #09233f;
  --deep: #031321;
  --sea: #087f8c;
  --sea-dark: #06616b;
  --orange: #e76125;
  --orange-dark: #c44916;
  --foam: #f4f8f8;
  --mist: #dbe6e8;
  --paper: #ffffff;
  --muted: #5d6d78;
  --shadow: 0 16px 42px rgba(3, 19, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  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: 12px 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(9, 35, 63, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 164px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.main-nav a,
.contact-links a {
  text-decoration: none;
}

.main-nav a:hover,
.contact-links a:hover {
  color: var(--orange);
}

.cart-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0 7px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  min-height: 68svh;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(3, 19, 33, 0.9), rgba(3, 19, 33, 0.48) 55%, rgba(3, 19, 33, 0.18)),
    url("assets/king-crab-pot-small.jpg") center / cover no-repeat;
  color: var(--paper);
}

.hero__inner,
.section,
.contact-section__inner,
.custom-band__content,
.trust-strip {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.hero__inner {
  padding: 78px 0 58px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section__heading h2,
.custom-band h2,
.contact-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 760px;
  font-size: 64px;
}

.hero__copy {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  color: var(--paper);
  background: var(--orange);
}

.button--primary:hover {
  background: var(--orange-dark);
}

.button--ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button--secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--mist);
}

.button--secondary:hover {
  border-color: var(--sea);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px 0 18px;
}

.trust-strip div {
  border-left: 3px solid var(--sea);
  padding-left: 16px;
}

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

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.about-section {
  padding: 76px 0;
  background: var(--foam);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.about-section__inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 54px;
  align-items: start;
}

.about-section__copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: 0;
}

.about-section__copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.about-section__facts {
  display: grid;
  gap: 18px;
  border-left: 3px solid var(--sea);
  padding-left: 24px;
}

.about-section__facts div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(9, 35, 63, 0.12);
}

.about-section__facts div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-section__facts strong,
.about-section__facts span {
  display: block;
}

.about-section__facts strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.about-section__facts span {
  margin-top: 5px;
  color: var(--muted);
}

.section {
  padding: 72px 0;
}

.section__heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section__heading h2,
.custom-band h2,
.contact-section h2 {
  font-size: 42px;
}

.section__heading p,
.custom-band p,
.contact-section p {
  color: var(--muted);
  font-size: 18px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--foam);
  border: 1px solid var(--mist);
  border-radius: 999px;
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--paper);
  background: var(--sea);
  border-color: var(--sea);
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(9, 35, 63, 0.07);
}

.product-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--foam);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: var(--paper);
  background: rgba(3, 19, 33, 0.82);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.product-card__body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.product-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
}

.product-card__meta + h3 {
  margin-top: 10px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill {
  padding: 5px 9px;
  color: var(--sea-dark);
  background: #e8f4f5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.product-card__bottom {
  display: grid;
  gap: 12px;
  align-self: end;
}

.price {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

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

.option-row select,
.option-row input,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--mist);
  border-radius: 6px;
  background: var(--paper);
}

.option-row select,
.option-row input {
  min-height: 44px;
  padding: 0 10px;
}

.add-button {
  width: 100%;
}

.custom-band {
  padding: 76px 0;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(3, 19, 33, 0.94), rgba(8, 127, 140, 0.78)),
    url("assets/king-crab-pot-standard.jpg") center / cover no-repeat;
}

.custom-band .eyebrow {
  color: #ffb086;
}

.custom-band__content {
  max-width: 760px;
}

.custom-band p {
  color: rgba(255, 255, 255, 0.84);
}

.checkout-section {
  background: var(--foam);
  width: 100%;
  padding-left: max(20px, calc((100% - 1140px) / 2));
  padding-right: max(20px, calc((100% - 1140px) / 2));
}

.checkout-section > .section__heading,
.checkout-grid {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.cart-panel,
.checkout-form {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cart-panel {
  padding: 20px;
  align-self: start;
}

.cart-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.cart-panel h3 {
  margin: 0;
  font-size: 24px;
}

.text-button {
  color: var(--sea-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.cart-items {
  display: grid;
  gap: 12px;
}

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

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--foam);
}

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

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

.quantity-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mist);
  border-radius: 6px;
  overflow: hidden;
}

.quantity-controls button {
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--foam);
  cursor: pointer;
  font-weight: 900;
}

.quantity-controls output {
  min-width: 32px;
  text-align: center;
  font-weight: 800;
}

.remove-button {
  margin-top: 8px;
  padding: 0;
  color: var(--orange-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.cart-empty {
  padding: 18px;
  color: var(--muted);
  background: var(--foam);
  border-radius: 6px;
}

.cart-total {
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}

.cart-total div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-total dt {
  color: var(--muted);
}

.cart-total dd {
  margin: 0;
  font-weight: 900;
}

.checkout-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.checkout-form input,
.checkout-form textarea {
  padding: 12px;
  color: var(--ink);
}

.checkout-form textarea {
  resize: vertical;
}

.payment-fieldset {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.payment-fieldset legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  font-weight: 900;
}

.radio-card {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--mist);
  border-radius: 6px;
  background: var(--foam);
  cursor: pointer;
}

.radio-card input {
  width: auto;
  margin: 0 8px 0 0;
}

.payment-note {
  display: grid;
  gap: 4px;
  border-left: 4px solid var(--orange);
  padding: 4px 0 4px 14px;
}

.payment-note strong,
.payment-note span {
  display: block;
}

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

.legal-section {
  padding: 72px 0;
  background: var(--paper);
}

.legal-section__inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

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

.legal-card {
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--mist);
  border-radius: 8px;
  background: var(--foam);
}

.legal-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
}

.status-message {
  min-height: 24px;
  margin: 0;
  color: var(--sea-dark);
  font-weight: 800;
}

.contact-section {
  padding: 72px 0;
  background: var(--paper);
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.contact-links {
  display: grid;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 32px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--deep);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a + a {
  margin-left: 18px;
}

.site-footer a:hover {
  color: var(--paper);
}

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

  .main-nav {
    display: none;
  }

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

  .product-grid,
  .checkout-grid,
  .trust-strip,
  .about-section__inner,
  .legal-grid,
  .contact-section__inner {
    grid-template-columns: 1fr;
  }

  .about-section__facts {
    border-left: 0;
    padding-left: 0;
    border-top: 3px solid var(--sea);
    padding-top: 22px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
    padding: 10px 18px;
  }

  .brand {
    width: 126px;
  }

  .cart-link {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: 66svh;
  }

  .hero__inner {
    padding: 58px 0 42px;
  }

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

  .hero__copy,
  .section__heading p,
  .custom-band p,
  .contact-section p {
    font-size: 16px;
  }

  .section,
  .legal-section,
  .contact-section,
  .custom-band {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section__heading h2,
  .about-section__copy h2,
  .custom-band h2,
  .contact-section h2 {
    font-size: 32px;
  }

  .about-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .option-row,
  .form-row,
  .payment-fieldset {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 58px 1fr;
  }

  .cart-item img {
    width: 58px;
    height: 58px;
  }

  .cart-item__actions {
    grid-column: 2;
  }

  .contact-links {
    font-size: 18px;
  }
}
