:root {
  --maroon: #76292e;
  --maroon-deep: #48181c;
  --clay: #bc4e38;
  --cream: #f8f3ec;
  --paper: #fffaf3;
  --stone: #d8d3cb;
  --tan: #cfbd9e;
  --sage: #30433a;
  --ink: #2f2523;
  --muted: #7a6c64;
  --line: rgba(118, 41, 46, 0.18);
  --shadow: 0 24px 60px rgba(72, 24, 28, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(216, 211, 203, 0.88), rgba(216, 211, 203, 0.88)),
    url("assets/nguni-pattern.png");
  background-size: auto, 720px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body.cart-open {
  overflow: hidden;
}

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

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

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 40px auto;
  background: var(--paper);
  border: 1px solid rgba(72, 24, 28, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 16px 22px;
  background: rgba(255, 250, 243, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.menu-link,
.header-actions a,
.header-actions button {
  color: var(--maroon);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 17px;
  color: var(--paper) !important;
  background: var(--clay);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.cart-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 21px;
  margin-left: 8px;
  color: var(--clay);
  background: var(--paper);
  border-radius: 999px;
  font-size: 11px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 42%);
  gap: 40px;
  align-items: stretch;
  min-height: 670px;
  padding: clamp(30px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 790px;
}

.eyebrow,
.card-kicker,
.product-type,
.box-size {
  margin: 0;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.category-ribbon a,
.section-heading h2,
.boxes-section h2,
.site-footer h2 {
  margin: 0;
  color: var(--maroon);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 920px;
  margin-top: 20px;
  font-size: clamp(76px, 9vw, 150px);
  line-height: 0.86;
}

.hero h1 > span {
  display: block;
}

.hero h1 .phrase span {
  display: inline;
}

.hero-text {
  width: min(650px, 100%);
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.32;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

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

.button-secondary {
  color: var(--maroon);
  background: transparent;
}

.hero-card {
  position: relative;
  min-width: 0;
  min-height: 560px;
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-card-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px;
  color: var(--paper);
  background: rgba(72, 24, 28, 0.86);
  backdrop-filter: blur(12px);
}

.hero-card-panel h2 {
  margin: 9px 0 7px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  line-height: 0.95;
}

.hero-card-panel p {
  max-width: 380px;
  margin: 0;
  color: rgba(255, 250, 243, 0.78);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.price {
  display: inline-block;
  margin-top: 18px;
  color: var(--tan);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 34px clamp(22px, 5vw, 76px) 26px;
  border-bottom: 1px solid var(--line);
}

.category-ribbon a {
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
  font-size: clamp(35px, 5vw, 76px);
  line-height: 0.9;
}

.category-ribbon sup {
  margin-top: 4px;
  color: var(--clay);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.shop-section {
  padding: clamp(26px, 5vw, 76px);
}

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

.section-heading h2 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 78px);
  line-height: 0.95;
}

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

.product-card {
  display: grid;
  min-width: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
}

.product-media {
  aspect-ratio: 4 / 4.65;
  background:
    linear-gradient(rgba(248, 243, 236, 0.88), rgba(248, 243, 236, 0.88)),
    url("assets/nguni-pattern.png");
  background-size: auto, 430px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.product-info {
  display: grid;
  gap: 9px;
  padding: 15px 15px 16px;
}

.product-info h3 {
  margin: 0;
  color: var(--maroon-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 0.98;
}

.product-note {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 5px;
  color: var(--maroon);
  font-size: 14px;
  font-weight: 800;
}

.product-bottom button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--paper);
  background: var(--maroon);
  border: 0;
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.boxes-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 30px;
  align-items: end;
  padding: clamp(30px, 5vw, 76px);
  color: var(--paper);
  background:
    linear-gradient(rgba(72, 24, 28, 0.91), rgba(72, 24, 28, 0.91)),
    url("assets/nguni-pattern.png");
  background-size: auto, 620px;
}

.boxes-section h2 {
  max-width: 670px;
  margin-top: 12px;
  color: var(--paper);
  font-size: clamp(44px, 6vw, 94px);
  line-height: 0.92;
}

.boxes-section p {
  margin: 18px 0 0;
  color: rgba(255, 250, 243, 0.76);
  font-size: 17px;
  line-height: 1.55;
}

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

.box-list article {
  min-width: 0;
  padding: 22px;
  background: rgba(255, 250, 243, 0.1);
  border: 1px solid rgba(255, 250, 243, 0.25);
  backdrop-filter: blur(12px);
}

.box-list h3 {
  margin: 14px 0 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 0.98;
}

.box-list p {
  min-height: 74px;
  font-size: 14px;
}

.box-list button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 0 16px;
  color: var(--maroon-deep);
  background: var(--tan);
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

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

.service-strip div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 22px clamp(18px, 4vw, 42px);
  border-right: 1px solid var(--line);
}

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

.service-strip span {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.service-strip p {
  margin: 0;
  color: var(--maroon);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 30px clamp(22px, 5vw, 76px);
  background: var(--sage);
  color: var(--paper);
}

.site-footer img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.site-footer h2 {
  color: var(--paper);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.96;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 250, 243, 0.74);
}

.site-footer .button-primary {
  color: var(--sage);
  background: var(--tan);
  border-color: var(--tan);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(47, 37, 35, 0.42);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: min(460px, 100%);
  height: 100dvh;
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 70px rgba(72, 24, 28, 0.18);
  transform: translateX(100%);
  transition: transform 220ms ease;
  overflow-y: auto;
}

.cart-drawer[aria-hidden="false"] {
  transform: translateX(0);
}

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

.cart-header h2 {
  margin: 4px 0 0;
  color: var(--maroon);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 0.95;
}

.cart-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--maroon);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cart-items {
  display: grid;
  flex: 0 0 auto;
  gap: 12px;
  max-height: 34vh;
  margin: 18px 0;
  padding-right: 4px;
  overflow: auto;
}

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

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.cart-item span {
  color: var(--clay);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-item h3 {
  margin: 4px 0;
  color: var(--maroon-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

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

.quantity-control {
  display: grid;
  grid-template-columns: 32px 28px 32px;
  align-items: center;
  justify-items: center;
  align-self: start;
  color: var(--maroon);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.quantity-control button {
  width: 32px;
  height: 32px;
  color: var(--maroon);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.quantity-control strong {
  font-size: 13px;
}

.remove-item {
  justify-self: start;
  grid-column: 1 / -1;
  padding: 0;
  color: var(--clay);
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.checkout-form {
  display: grid;
  gap: 13px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--maroon);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-total strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}

.checkout-form label,
.payment-options {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--maroon-deep);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px;
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  outline-color: var(--maroon);
  resize: vertical;
}

.payment-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 0;
  border: 0;
}

.payment-options legend {
  grid-column: 1 / -1;
  padding: 0;
}

.payment-options label {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  cursor: pointer;
}

.payment-options input {
  width: auto;
  margin: 0 9px 0 0;
  accent-color: var(--maroon);
}

.checkout-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.checkout-status {
  margin: 0;
  padding: 12px;
  color: var(--maroon);
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.checkout-status[data-state="success"] {
  color: var(--sage);
  border-color: rgba(48, 67, 58, 0.24);
}

.checkout-status[data-state="error"] {
  color: var(--clay);
  border-color: rgba(188, 78, 56, 0.36);
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 24px, 760px);
    margin: 12px auto;
  }

  .site-header {
    min-height: 66px;
    padding: 12px 14px;
  }

  .brand-mark img {
    width: 44px;
    height: 44px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions a {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
    padding: 28px 18px;
  }

  .hero h1 {
    font-size: clamp(60px, 15vw, 96px);
  }

  .hero h1 .phrase span {
    display: block;
  }

  .hero-card {
    min-height: 520px;
  }

  .category-ribbon {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 18px;
  }

  .category-ribbon a {
    font-size: clamp(42px, 14vw, 82px);
  }

  .shop-section {
    padding: 28px 18px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 12px;
  }

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

  .boxes-section {
    grid-template-columns: 1fr;
    padding: 30px 18px;
  }

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

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

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer .button {
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 0;
  }

  .site-header {
    grid-template-columns: 1fr auto 1fr;
  }

  .header-actions {
    display: flex;
  }

  .hero-card {
    min-height: 420px;
  }

  .hero-card-panel {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .product-grid,
  .box-list {
    grid-template-columns: 1fr;
  }

  .product-media {
    aspect-ratio: 4 / 3.5;
  }

  .product-note,
  .box-list p {
    min-height: 0;
  }
}
