:root {
  --gold: #c8a45d;
  --black: #111111;
  --cream: #faf8f4;
  --green: #184d3b;
  --text: #1e1e1e;
  --muted: #70685d;
  --line: rgba(30, 30, 30, 0.12);
  --white: #ffffff;
  --success: #2f855a;
  --error: #e53e3e;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(250, 248, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Playfair Display", serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  color: #38322b;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--green);
}

.cart-pill,
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--black);
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

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

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.hero .button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button.gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.nav-toggle {
  display: none;
}

.flash {
  margin: 18px auto 0;
  max-width: 1120px;
  padding: 14px 18px;
  border-left: 4px solid var(--success);
  background: #effaf4;
  color: #173f2a;
}

.section {
  padding: clamp(56px, 8vw, 112px) clamp(18px, 4vw, 64px);
}

.section.tight {
  padding-top: 34px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 32px;
  max-width: 1120px;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 96px);
}

h2 {
  font-size: clamp(34px, 4.8vw, 64px);
}

h3 {
  font-size: 24px;
}

p {
  color: var(--muted);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 64px);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.76), rgba(17, 17, 17, 0.28)),
    url("../images/hero-tea.svg") center/cover no-repeat;
  color: var(--white);
}

.hero p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

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

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

.trust-item {
  padding: 22px;
  background: #fffdf8;
  font-weight: 700;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.06);
}

.card-body {
  padding: 18px;
}

.product-image {
  aspect-ratio: 4 / 3;
  background: #f1eadf;
  object-fit: cover;
}

.price-row,
.actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.price {
  color: var(--green);
  font-weight: 800;
}

.mrp {
  color: #9b9186;
  text-decoration: line-through;
}

.metric {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}

.metric span {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

.meter {
  height: 8px;
  border-radius: 999px;
  background: #e8dfd2;
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 8px;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.timeline div {
  padding-left: 18px;
  border-left: 2px solid var(--gold);
}

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

label {
  display: grid;
  gap: 8px;
  color: #433b32;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

input[type="checkbox"] {
  width: auto;
  min-height: 0;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding: 48px clamp(18px, 4vw, 64px);
  background: var(--black);
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.table-wrap {
  max-width: 1120px;
  margin: 0 auto;
  overflow-x: auto;
}

.admin-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.admin-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #4a4137;
  font-size: 14px;
  font-weight: 700;
}

.admin-menu a.active,
.admin-menu a:hover {
  border-color: var(--gold);
  background: rgba(200, 164, 93, 0.14);
  color: var(--black);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

small {
  color: var(--muted);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 4px;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--cream);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

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

  .split,
  .site-footer,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .grid,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .section-header {
    display: block;
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    max-width: 130px;
    line-height: 1.15;
  }

  .hero {
    min-height: 76vh;
  }

  .button,
  button.button,
  .cart-pill {
    width: 100%;
  }

  .price-row {
    align-items: flex-start;
  }

  th,
  td {
    min-width: 150px;
  }
}
