:root {
  --ink: #10130f;
  --charcoal: #171a15;
  --paper: #f7f5ef;
  --white: #ffffff;
  --mist: #ece8dc;
  --gold: #c8a45d;
  --gold-dark: #8a6a2d;
  --green: #1f4d35;
  --green-soft: #dfe8dc;
  --muted: #696e63;
  --line: rgba(16, 19, 15, 0.14);
  --shadow: 0 24px 60px rgba(16, 19, 15, 0.18);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
}

body.cart-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(16, 19, 15, 0.78);
  backdrop-filter: blur(16px);
  color: var(--white);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 0;
  padding: 0.9rem clamp(1rem, 4vw, 4rem);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 30;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 0.7rem;
}

.brand-mark {
  align-items: center;
  background: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ink);
  display: inline-flex;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 700;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.desktop-nav {
  display: none;
  gap: 1.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav a {
  opacity: 0.84;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--gold);
  opacity: 1;
}

.cart-toggle,
.icon-button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
}

.cart-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  gap: 0.65rem;
  padding: 0.58rem 0.8rem;
}

.cart-toggle strong {
  background: var(--gold);
  color: var(--ink);
  display: inline-flex;
  font-size: 0.78rem;
  height: 1.35rem;
  justify-content: center;
  min-width: 1.35rem;
  padding: 0 0.35rem;
}

.hero {
  align-items: end;
  background-image: url("https://images.unsplash.com/photo-1556228578-dd6e73b8d943?auto=format&fit=crop&w=2200&q=86");
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: grid;
  min-height: 78svh;
  overflow: hidden;
  padding: 7rem clamp(1rem, 5vw, 5rem) 3.5rem;
  position: relative;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 19, 15, 0.9) 0%, rgba(16, 19, 15, 0.62) 44%, rgba(16, 19, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 19, 15, 0.72), transparent 44%);
  inset: 0;
  position: absolute;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.2rem, 13vw, 7.6rem);
  margin-bottom: 1rem;
  max-width: 720px;
}

h2 {
  font-size: clamp(2.25rem, 7vw, 4.7rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 580px;
}

.hero-actions,
.purchase-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.3rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.button-primary {
  background: var(--gold);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #dfbd74;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.trust-strip {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
}

.trust-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  gap: 0.75rem;
  min-height: 5.2rem;
  padding: 1rem clamp(1rem, 4vw, 2.2rem);
}

.trust-icon {
  align-items: center;
  border: 1px solid rgba(200, 164, 93, 0.55);
  color: var(--gold);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.76rem;
  font-weight: 900;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.section {
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  margin: 0 auto clamp(2.2rem, 5vw, 4rem);
  max-width: 780px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.product-section {
  background:
    linear-gradient(180deg, rgba(223, 232, 220, 0.72), rgba(247, 245, 239, 0) 38%),
    var(--paper);
}

.product-layout {
  display: grid;
  gap: clamp(1.4rem, 4vw, 3rem);
  margin: 0 auto;
  max-width: 1180px;
}

.product-catalog {
  align-self: start;
  display: grid;
  gap: 1.1rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
}

.product-media {
  aspect-ratio: 1 / 1;
  background: var(--mist);
  min-height: 260px;
  overflow: hidden;
  position: relative;
}

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

.batch-pill,
.placeholder-label {
  background: var(--green);
  color: var(--white);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.42rem 0.62rem;
  text-transform: uppercase;
}

.batch-pill {
  bottom: 1rem;
  left: 1rem;
  position: absolute;
}

.product-info {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.product-info h3 {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 0.15rem;
}

.price {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 0;
}

.quantity-control {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  min-height: 3.1rem;
}

.quantity-control span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 0.8rem;
  text-transform: uppercase;
}

.quantity-control input {
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  height: 3rem;
  padding: 0 0.65rem;
  width: 4.2rem;
}

.copy-block {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0;
}

.copy-block h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.ingredient-list,
.usage-list {
  color: var(--muted);
  margin: 0;
  padding-left: 1.2rem;
}

.ingredient-list li,
.usage-list li {
  margin-bottom: 0.52rem;
}

.disclaimer {
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  color: #26372d;
  font-size: 0.92rem;
  margin: 1rem 0 0;
  padding: 1rem;
}

.benefits-section {
  background: var(--white);
}

.benefit-grid {
  display: grid;
  gap: 1px;
  margin: 0 auto;
  max-width: 1180px;
}

.benefit-card {
  background: var(--paper);
  min-height: 220px;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.benefit-card span {
  color: var(--gold-dark);
  font-weight: 900;
}

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

.photo-section {
  background: var(--charcoal);
  color: var(--white);
}

.photo-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.photo-placeholder-grid {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: 980px;
}

.photo-placeholder {
  align-items: center;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(200, 164, 93, 0.16), rgba(31, 77, 53, 0.2)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 14px);
  border: 1px dashed rgba(255, 255, 255, 0.32);
  display: grid;
  justify-items: center;
  min-height: 260px;
  padding: 1.2rem;
  text-align: center;
}

.photo-placeholder span {
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(2.8rem, 11vw, 5rem);
  line-height: 1;
}

.photo-placeholder p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.reviews-section {
  background: var(--paper);
}

.review-grid {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: 1180px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.2rem, 4vw, 1.8rem);
}

.review-card blockquote {
  font-family: var(--display);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.12;
  margin: 1.25rem 0;
}

.review-card cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.about-section {
  align-items: center;
  background: var(--green-soft);
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.about-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.about-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.about-copy {
  max-width: 650px;
}

.about-copy p:not(.eyebrow) {
  color: #304237;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: 900px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
}

details p {
  color: var(--muted);
  margin: 0.85rem 0 0;
  max-width: 760px;
}

.checkout-band {
  align-items: center;
  background: var(--green);
  color: var(--white);
  display: grid;
  gap: 1.4rem;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem);
}

.checkout-band h2 {
  font-size: clamp(2rem, 6vw, 4rem);
}

.checkout-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
  max-width: 620px;
}

.admin-section {
  background:
    linear-gradient(180deg, rgba(16, 19, 15, 0.04), rgba(16, 19, 15, 0)),
    var(--paper);
}

.admin-shell {
  margin: 0 auto;
  max-width: 1180px;
}

.admin-login {
  display: grid;
  gap: 0.95rem;
  margin: 0 auto;
  max-width: 520px;
}

.admin-login h2 {
  margin-bottom: 0.5rem;
}

.admin-login p:not(.eyebrow) {
  color: var(--muted);
}

.admin-login label {
  color: var(--muted);
  display: grid;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 0.35rem;
  text-transform: uppercase;
}

.admin-login input {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 2.9rem;
  padding: 0.7rem 0.8rem;
  text-transform: none;
}

.admin-heading {
  align-items: end;
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.admin-heading h2 {
  margin-bottom: 0;
}

.admin-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 620px;
}

.admin-session {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.admin-session p {
  margin-bottom: 0;
}

.admin-metrics {
  display: grid;
  gap: 1px;
  margin-bottom: 1.25rem;
}

.admin-metrics article {
  background: var(--charcoal);
  color: var(--white);
  min-height: 120px;
  padding: 1.1rem;
}

.admin-metrics span {
  color: rgba(255, 255, 255, 0.62);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.admin-metrics strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.admin-grid {
  display: grid;
  gap: 1rem;
}

.admin-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1rem, 3vw, 1.4rem);
}

.admin-panel-header {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-panel h3 {
  margin-bottom: 0;
}

.admin-form {
  align-content: start;
  display: grid;
  gap: 0.85rem;
}

.admin-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 0.35rem;
  text-transform: uppercase;
}

.admin-form input {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 2.9rem;
  padding: 0.7rem 0.8rem;
  text-transform: none;
}

.admin-status {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 0;
}

.script-status {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 0;
}

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

.admin-list {
  display: grid;
  gap: 0.75rem;
}

.admin-list-item {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 0.75rem;
}

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

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

.table-wrap {
  overflow-x: auto;
}

.sales-table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.sales-table th,
.sales-table td {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.sales-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.activity-feed {
  display: grid;
  gap: 0.65rem;
}

.activity-item {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.15rem;
  padding-top: 0.65rem;
}

.activity-item strong {
  color: var(--green);
}

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

.cart-drawer {
  background: rgba(16, 19, 15, 0.62);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 50;
}

.cart-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  background: var(--paper);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  margin-left: auto;
  max-width: 460px;
  min-width: min(100vw, 360px);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

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

.cart-header,
.cart-footer {
  padding: 1.25rem;
}

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

.cart-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0;
}

.icon-button {
  background: var(--ink);
  color: var(--white);
  font-size: 1.6rem;
  height: 2.65rem;
  width: 2.65rem;
}

.cart-items {
  overflow: auto;
  padding: 1.25rem;
}

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

.cart-line {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  padding: 0 0 1rem;
}

.cart-line + .cart-line {
  padding-top: 1rem;
}

.cart-line-top {
  display: flex;
  gap: 0.9rem;
}

.cart-line img {
  aspect-ratio: 1 / 1;
  background: var(--mist);
  height: 76px;
  object-fit: cover;
  width: 76px;
}

.cart-line h3 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.cart-line p {
  color: var(--muted);
  margin-bottom: 0;
}

.cart-line-actions {
  align-items: center;
  display: flex;
  gap: 0.7rem;
  justify-content: space-between;
}

.cart-stepper {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  min-height: 2.7rem;
}

.cart-stepper button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.2rem;
  height: 2.7rem;
  width: 2.7rem;
}

.cart-stepper span {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-weight: 900;
  min-width: 2.5rem;
  text-align: center;
}

.remove-button {
  background: transparent;
  border: 0;
  color: var(--gold-dark);
  cursor: pointer;
  font-weight: 900;
  padding: 0.5rem 0;
}

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

.subtotal-row {
  align-items: center;
  display: flex;
  font-size: 1.1rem;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.cart-note,
.stripe-status {
  color: var(--muted);
  font-size: 0.86rem;
}

.checkout-button {
  width: 100%;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 2rem;
  padding: clamp(2.3rem, 5vw, 4.5rem) clamp(1rem, 5vw, 5rem);
}

.footer-brand {
  margin-bottom: 1rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.66);
  max-width: 540px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

@media (min-width: 720px) {
  .desktop-nav {
    display: flex;
  }

  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-layout,
  .about-section {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  }

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

  .admin-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-panel-wide {
    grid-column: 1 / -1;
  }

  .benefit-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .photo-placeholder-grid,
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-placeholder-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-band,
  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 719px) {
  .site-header {
    padding-inline: 0.85rem;
  }

  .brand span:last-child {
    max-width: 9rem;
  }

  .hero {
    background-position: 61% center;
    min-height: 76svh;
  }

  .hero-actions .button,
  .purchase-row .button,
  .quantity-control {
    width: 100%;
  }

  .quantity-control input {
    flex: 1;
    width: auto;
  }

  .benefit-card {
    min-height: 180px;
  }
}
