:root {
  --linen: #fbf7ef;
  --paper: rgba(255, 253, 248, .78);
  --paper-solid: #fffdf8;
  --mist: #e8f0ea;
  --mint: #d8ebe2;
  --leaf: #7d9b59;
  --seed: #4e702f;
  --cocoa: #37281f;
  --clay: #aa6d55;
  --berry: #7a5064;
  --ink-soft: rgba(55, 40, 31, .74);
  --ink-faint: rgba(55, 40, 31, .58);
  --line: rgba(55, 40, 31, .14);
  --shadow: 0 1px 2px rgba(55, 40, 31, .05), 0 12px 32px rgba(55, 40, 31, .08);
  --radius: .5rem;
  --tap: 2.75rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .92), rgba(244, 239, 229, .88) 48%, rgba(232, 240, 234, .9)),
    url("/static/textures/noise.svg");
  color: var(--cocoa);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

img,
picture {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 .75rem;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.35rem);
}

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

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

.skip,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  clip: auto;
  z-index: 9;
  background: var(--paper-solid);
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

:focus-visible {
  outline: 3px solid rgba(122, 80, 100, .5);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 239, .9);
  backdrop-filter: blur(14px);
}

.bar,
.wrap,
.footer > div {
  max-width: 72rem;
  margin: auto;
  padding-left: clamp(1rem, 4vw, 1.5rem);
  padding-right: clamp(1rem, 4vw, 1.5rem);
}

.bar {
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius);
}

.brand img {
  display: block;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.bar nav,
.footer nav {
  display: flex;
  gap: .85rem;
  align-items: center;
  flex-wrap: wrap;
}

.bar nav {
  justify-content: flex-end;
}

.bar nav a {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  min-width: 1.25rem;
  min-height: 1.25rem;
  align-items: center;
  justify-content: center;
  margin-left: .25rem;
  border-radius: 999px;
  background: var(--berry);
  color: var(--linen);
  font-size: .72rem;
  font-weight: 800;
}

.badge:empty {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(30rem, 70svh, 38rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(216, 235, 226, .85), rgba(216, 235, 226, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 1rem clamp(11rem, 24vw, 15rem);
  text-align: center;
}

.hero-title {
  margin-bottom: .35rem;
}

.wordmark {
  display: block;
  width: min(34rem, 84vw);
  margin: 0 auto;
}

.hero-kicker {
  margin-bottom: .4rem;
  color: var(--seed);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-copy {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-products {
  position: absolute;
  inset: 0;
  max-width: 72rem;
  margin: auto;
  pointer-events: none;
}

.hero-products picture {
  position: absolute;
  z-index: 1;
  display: block;
  filter: drop-shadow(0 18px 24px rgba(55, 40, 31, .16));
}

.hero-products img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-bottle {
  right: calc(50% - 8.8rem);
  bottom: -2.2rem;
  width: 8.6rem;
  transform: rotate(3deg);
}

.hero-pack {
  left: calc(50% - 9.6rem);
  bottom: .7rem;
  width: 9.8rem;
  transform: rotate(-4deg);
}

.actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.25rem 0 .8rem;
}

.button,
button {
  appearance: none;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: .4rem;
  background: var(--seed);
  color: var(--linen);
  padding: .78rem 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.leaf {
  background: var(--leaf);
  color: #17220f;
}

.button.accent {
  background: var(--clay);
}

.button.wide {
  width: 100%;
}

button:disabled,
.button[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

.link {
  min-height: 2.5rem;
  background: transparent;
  color: var(--ink-soft);
  padding: .35rem;
  text-decoration: underline;
}

.danger {
  color: #9b2c24;
}

.wrap {
  padding-top: clamp(2rem, 6vw, 3.5rem);
  padding-bottom: clamp(2rem, 6vw, 3.5rem);
}

.narrow {
  max-width: 48rem;
}

.center {
  text-align: center;
}

.muted,
.fine {
  color: var(--ink-soft);
}

.fine {
  font-size: .86rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.three,
.products {
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
}

.card,
.empty,
.summary,
.cart-line {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.product,
.botanical {
  padding: 1rem;
}

.product {
  display: grid;
  gap: .7rem;
  align-content: start;
}

.product h2,
.product p,
.product small {
  margin: 0;
}

.product-media-link,
.product-media,
.botanical-media {
  display: block;
}

.product-media img,
.product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 253, 248, .9), rgba(216, 235, 226, .52));
  padding: .55rem;
}

.botanical {
  min-height: 100%;
}

.botanical-media img,
.botanical img {
  width: 100%;
  height: 11rem;
  object-fit: contain;
}

.pill {
  display: inline-flex;
  width: max-content;
  border-radius: .35rem;
  background: rgba(122, 80, 100, .16);
  color: var(--berry);
  padding: .16rem .55rem;
  font-size: .75rem;
  font-weight: 800;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product .row {
  margin-top: .25rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(18rem, 1.05fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}

.product-detail-media {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 253, 248, .88), rgba(216, 235, 226, .5));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-detail-media img,
.product-image {
  width: 100%;
  max-height: 38rem;
  object-fit: contain;
  padding: clamp(.75rem, 3vw, 1.25rem);
}

.price {
  font-size: 1.35rem;
  font-weight: 800;
}

.inline-form,
.line-actions,
.columns {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}

.inline-form {
  margin: 1rem 0 1.5rem;
}

.qty {
  width: 5.5rem;
}

.cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 22rem);
  gap: 1.5rem;
  align-items: start;
}

.cart-lines {
  display: grid;
  gap: 1rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 6.75rem minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem;
  align-items: start;
}

.cart-line-media {
  display: block;
}

.cart-line-media img,
.cart-line img {
  width: 6.75rem;
  height: 5rem;
  object-fit: contain;
  border-radius: .4rem;
  background: rgba(255, 253, 248, .62);
}

.line-title {
  font-weight: 800;
  text-decoration: none;
}

.line-actions {
  margin-top: .75rem;
  align-items: stretch;
}

.qty-form {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.remove-form {
  display: flex;
  align-items: center;
}

.cart-line > strong {
  justify-self: end;
  white-space: nowrap;
}

.summary {
  padding: 1rem;
  align-self: start;
}

.summary form,
.stack {
  display: grid;
  gap: .8rem;
}

label {
  display: grid;
  gap: .3rem;
  min-width: 0;
  font-size: .9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: var(--tap);
  border: 1px solid rgba(55, 40, 31, .24);
  border-radius: .42rem;
  background: rgba(255, 253, 248, .72);
  padding: .7rem .72rem;
  color: var(--cocoa);
}

textarea {
  resize: vertical;
}

.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: .55rem;
  font-weight: 600;
  line-height: 1.4;
}

.check input {
  width: auto;
  min-height: 0;
  margin-top: .2rem;
}

.payment-box {
  display: grid;
  gap: .35rem;
}

#card-container {
  min-height: 4.5rem;
  border: 1px solid rgba(55, 40, 31, .24);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .72);
  padding: .75rem;
}

.notice {
  margin: .75rem 0;
  padding: .8rem 1rem;
  border-radius: var(--radius);
}

.notice.success {
  background: rgba(78, 112, 47, .14);
  border: 1px solid rgba(78, 112, 47, .34);
}

.notice.error,
.error-text {
  color: #8c221c;
}

.notice.error {
  background: rgba(160, 53, 43, .1);
  border: 1px solid rgba(160, 53, 43, .28);
}

.empty {
  text-align: center;
  padding: clamp(2rem, 6vw, 3rem) 1rem;
}

.empty img {
  height: 5rem;
  opacity: .12;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .8fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}

.art {
  position: relative;
  text-align: center;
}

.art picture {
  display: inline-block;
  width: min(18rem, 80vw);
}

.art picture img {
  width: 100%;
}

.art > img:last-child {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 14rem;
  opacity: .1;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.faq dt {
  font-weight: 800;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.faq dd {
  margin: .25rem 0 0;
  color: var(--ink-soft);
}

.legal {
  overflow-wrap: anywhere;
}

.legal section,
.legal h2 {
  margin-top: 2rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal ul {
  padding-left: 1.3rem;
}

.footer {
  position: relative;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.footer > img {
  position: absolute;
  left: 50%;
  top: -1.5rem;
  height: 5rem;
  opacity: .1;
  transform: translateX(-50%);
}

.footer > div {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer nav a {
  font-size: .92rem;
}

@media (hover: hover) {
  .bar nav a:hover,
  .line-title:hover {
    color: var(--seed);
  }

  .button:hover,
  button:hover {
    filter: brightness(.96);
  }
}

@media (min-width: 760px) {
  .hero-content {
    padding-bottom: clamp(8rem, 18vw, 12rem);
  }

  .hero-bottle {
    right: clamp(2rem, 10vw, 7rem);
    bottom: -2.8rem;
    width: clamp(13rem, 23vw, 19rem);
  }

  .hero-pack {
    left: clamp(2rem, 10vw, 7rem);
    bottom: 2.25rem;
    width: clamp(11rem, 19vw, 16rem);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 7.25rem;
  }

  .bar {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: .55rem;
    padding-top: .6rem;
    padding-bottom: .55rem;
  }

  .brand img {
    width: 2.65rem;
    height: 2.65rem;
  }

  .bar nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: .4rem;
    overflow-x: auto;
    padding-bottom: .2rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .bar nav::-webkit-scrollbar {
    display: none;
  }

  .bar nav a {
    flex: 0 0 auto;
    min-height: 2.45rem;
    padding: .42rem .18rem;
  }

  .hero {
    min-height: 31.5rem;
  }

  .hero-content {
    align-self: start;
    padding-top: 2rem;
  }

  .actions {
    gap: .55rem;
  }

  .actions .button {
    flex: 1 1 9.5rem;
  }

  .cart-grid,
  .product-detail,
  .split {
    grid-template-columns: 1fr;
  }

  .product-detail {
    align-items: start;
  }

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

  .summary {
    border-radius: var(--radius);
  }
}

@media (max-width: 640px) {
  .row {
    align-items: flex-start;
    flex-direction: column;
  }

  .product .row {
    align-items: stretch;
  }

  .product .row form,
  .product .row button {
    width: 100%;
  }

  .inline-form {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: stretch;
  }

  .cart-line {
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: .85rem;
    padding: .85rem;
  }

  .cart-line-media img,
  .cart-line img {
    width: 4.75rem;
    height: 4rem;
  }

  .cart-line > strong {
    grid-column: 2;
    justify-self: start;
  }

  .line-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .qty-form {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .remove-form,
  .remove-form button {
    width: 100%;
  }

  .footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: .55rem;
  }
}

@media (max-width: 380px) {
  .wordmark {
    width: min(29rem, 88vw);
  }

  .hero-bottle {
    right: calc(50% - 8.2rem);
    width: 8rem;
  }

  .hero-pack {
    left: calc(50% - 8.7rem);
    width: 9rem;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }
}
