:root {
  --ink: #2a1a12;
  --muted: #6b5346;
  --paper: #f6efe6;
  --panel: #fffaf3;
  --line: #e4d5c4;
  --terra: #9c4a2a;
  --terra-dark: #7a351c;
  --gold: #c4a574;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(820px 380px at 100% 0%, #f3d7c4 0%, transparent 62%),
    var(--paper);
  line-height: 1.55;
}

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

a {
  color: var(--terra);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 6vw;
  background: rgba(246, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

header nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

header nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
}

header nav a:hover {
  color: var(--terra);
}

.nav-cta {
  background: var(--terra);
  color: #fff !important;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--terra-dark);
  color: #fff !important;
}

section {
  padding: 5rem 6vw;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero-copy h1 {
  max-width: 11em;
}

.hero-facts {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.hero-facts strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.82rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--terra);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-size: 1.45rem;
}

.lede,
.section-copy {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--terra);
  color: #fff;
  text-decoration: none;
  border: 0;
  padding: 0.85rem 1.3rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  background: var(--terra-dark);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn.ghost:hover {
  background: var(--ink);
  color: #fff;
}

.hero-mark {
  margin: 0;
  background: #fff;
  padding: 2.25rem 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(42, 26, 18, 0.08);
  text-align: center;
}

.hero-mark img {
  width: min(280px, 78%);
  margin: 0 auto;
}

.hero-mark figcaption {
  margin-top: 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--terra-dark);
}

.section-head {
  max-width: 38rem;
}

.kicker {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--terra);
}

.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

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

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

article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.45rem 1.4rem 1.35rem;
  box-shadow: 0 10px 24px rgba(42, 26, 18, 0.04);
}

article p:last-child {
  margin-bottom: 0;
}

.price,
.fine {
  color: var(--muted);
  font-size: 0.92rem;
}

.alt {
  background: #efe4d6;
}

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.about dl {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
}

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

dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}

dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
}

dd {
  margin: 0.2rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
}

.mono {
  font-family: ui-monospace, monospace;
  font-size: 0.92em;
}

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.address {
  margin-top: 1.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.25;
}

.enquiry {
  display: grid;
  gap: 1rem;
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

input,
textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

input:focus,
textarea:focus {
  outline: 2px solid #e7c2ae;
  border-color: var(--terra);
}

.policy-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
}

.policy-jump a {
  font-weight: 600;
  text-decoration: none;
}

.policy-page {
  max-width: 46rem;
  padding: 3.5rem 6vw 4.5rem;
}

.policy-page h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.policy-page h2 {
  font-size: 1.55rem;
  margin-top: 1.75rem;
}

.policy-page p,
.policy-page li {
  color: var(--muted);
}

.policy-page ul {
  margin: 0.4rem 0 0.9rem;
  padding-left: 1.15rem;
}

footer {
  padding: 2.5rem 6vw 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

footer .policy-jump {
  justify-content: center;
  margin: 0.5rem 0 1rem;
}

footer img {
  width: 72px;
  margin: 0 auto 1rem;
  background: #fff;
  border-radius: 50%;
}

@media (max-width: 980px) {
  .shelf {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shop-page {
  padding: 2.4rem 6vw 5rem;
}

.shop-intro h1 {
  max-width: 12em;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.75rem;
}

.shop-tools {
  display: grid;
  gap: 0.9rem;
}

.search-label {
  max-width: 28rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}

.chip.is-on {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.product {
  display: flex;
  flex-direction: column;
  padding: 0.85rem;
}

.product-photo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.photo-fallback {
  color: var(--muted);
  font-size: 0.85rem;
}

.product h3 {
  font-size: 1.28rem;
  margin-bottom: 0.25rem;
}

.product .price {
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}

.blurb {
  color: var(--muted);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.45rem 0 0.9rem;
}

.product-actions {
  margin-top: auto;
}

.product-actions .btn,
.stepper {
  width: 100%;
}

.stepper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.stepper button,
.stepper span {
  text-align: center;
  min-height: 40px;
  display: grid;
  place-items: center;
}

.stepper button {
  border: 0;
  background: var(--paper);
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
}

.cart-link {
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 1.3rem;
  margin-left: 0.25rem;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
}

.cart-panel {
  position: sticky;
  top: 92px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem;
  max-height: calc(100vh - 110px);
  overflow: auto;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cart-head h2 {
  font-size: 1.8rem;
  margin: 0;
}

.cart-head .text-btn {
  display: none;
}

.cart-line {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.cart-info {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.cart-info strong {
  font-size: 0.95rem;
}

.cart-info span,
.empty {
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-info .stepper {
  width: 132px;
  margin-top: 0.25rem;
}

.text-btn {
  border: 0;
  background: none;
  color: var(--terra);
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  justify-self: start;
}

.cart-total {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  margin: 0.9rem 0 0.2rem;
}

.checkout {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.checkout fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0;
  padding: 0.7rem 0.8rem;
}

.checkout legend {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0 0.25rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  margin-top: 0.35rem;
}

.choice input {
  width: auto;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.order-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.cart-bar,
.cart-backdrop {
  display: none;
}

.cart-bar[hidden],
.cart-backdrop[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: fixed;
    z-index: 30;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: min(86vh, 720px);
    border-radius: 18px 18px 0 0;
    transform: translateY(110%);
    transition: transform 0.2s ease;
  }

  .cart-panel.is-open {
    transform: none;
  }

  .cart-head .text-btn {
    display: inline;
  }

  .cart-bar {
    display: flex;
    position: fixed;
    z-index: 20;
    left: 4vw;
    right: 4vw;
    bottom: 0.8rem;
    justify-content: space-between;
    align-items: center;
    background: var(--ink);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.15rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }

  .cart-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    border: 0;
    background: rgba(42, 26, 18, 0.4);
  }

  .shop-page {
    padding-bottom: 6rem;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  header nav {
    width: 100%;
    gap: 0.85rem 1.1rem;
    flex-wrap: wrap;
  }

  .hero,
  .about,
  .oils,
  .visit {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
    gap: 2rem;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-facts {
    gap: 1.1rem;
  }

  .shelf {
    grid-template-columns: 1fr;
  }
}
