:root {
  --cream: #fbf7ef;
  --cream-deep: #f3ead8;
  --ink: #2b2118;
  --muted: #5c4d3e;
  --green: #3e6b2a;
  --green-deep: #2c4f1d;
  --wa: #1c6b36;
  --wa-hover: #155329;
  --oil: #b8431a;
  --oil-soft: #f6e1d3;
  --line: #e4d8c3;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--green-deep);
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding-inline: 1.25rem;
}

.narrow { max-width: 42rem; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--oil);
  outline-offset: 3px;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 50% 0%, #fff 0%, rgba(255, 255, 255, 0) 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding-block: 1.5rem 2.5rem;
}

.hero-inner { display: flex; flex-direction: column; align-items: center; }

.logo {
  width: clamp(9.5rem, 38vw, 13rem);
  margin-bottom: 1rem;
  filter: drop-shadow(0 6px 16px rgba(120, 60, 20, 0.15));
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oil);
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 6.5vw, 3.4rem);
  max-width: 24ch;
}

h1 span { display: block; color: var(--oil); font-style: italic; font-weight: 500; }

.lede {
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 18px rgba(28, 107, 54, 0.28);
}

.btn-wa:hover { background: var(--wa-hover); transform: translateY(-1px); }

.trust {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.trust li::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Sections */
section { padding-block: 3rem; }

h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); text-align: center; }

.section-lede { text-align: center; color: var(--muted); margin-bottom: 2rem; }

/* Size cards */
.cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.25rem 1.25rem;
}

.card h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }

.card p { color: var(--muted); font-size: 0.975rem; }

.card .price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--oil);
  margin-bottom: 0.5rem;
}

.card .price-ask { font-size: 1.2rem; line-height: 1.3; padding-block: 0.35rem 0.2rem; }

.card-popular { border: 2px solid var(--oil); }

.badge {
  position: absolute;
  top: -0.8rem;
  left: 1.25rem;
  margin: 0;
  background: var(--oil);
  color: #fff !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.card-bulk { background: var(--oil-soft); border-color: #eac7b1; }

.card-bulk .price { color: #9a3712; }

.card-link {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 2px solid var(--wa);
  color: var(--wa);
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover { background: var(--wa); color: #fff; }

/* Why Buy From Us */
.why-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.75rem 1.5rem;
}

.why-item svg { width: 2.25rem; height: 2.25rem; color: var(--green); margin-bottom: 0.6rem; }

.why-item h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }

.why-item p { color: var(--muted); font-size: 0.975rem; margin: 0; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }

.faq-item:first-of-type { border-top: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding-block: 0.7rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.3rem;
  border-right: 2px solid var(--oil);
  border-bottom: 2px solid var(--oil);
  transform: translateY(-0.15rem) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: translateY(0.15rem) rotate(-135deg); }

.faq-item p { color: var(--muted); margin: 0; padding-bottom: 1rem; }

/* About */
.about { background: var(--cream-deep); }

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

/* Order CTA */
.order { text-align: center; }

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

/* Footer */
.footer {
  background: var(--green-deep);
  color: #efe8d8;
  text-align: center;
  padding-block: 2.25rem;
  font-size: 0.9rem;
}

.footer p { margin: 0 0 0.35rem; }

.footer-name { font-family: var(--serif); font-size: 1.25rem; color: #fff; }

.copy { margin-top: 1rem !important; opacity: 0.85; }

@media (min-width: 48rem) {
  .hero { padding-block: 2.5rem 3.5rem; }
  section { padding-block: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .btn-wa:hover { transform: none; }
  .faq-item summary::after { transition: none; }
}

/* Floating WhatsApp order button: round, icon-only (label visually hidden), last tab stop */
html { scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }

.footer { padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)); }

.wa-float {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  /* Hides the no-JS bare text node; it stays the accessible name. */
  font-size: 0;
  line-height: 0;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background-color 0.15s ease;
}

.wa-float:hover { background: var(--wa-hover); }

.wa-float svg { flex: none; width: 28px; height: 28px; }

.wa-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  box-sizing: border-box;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 11px;
  background: var(--oil);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.wa-float:focus-visible {
  outline: 3px solid var(--oil);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; animation: none; }
}

@media print {
  .wa-float { display: none; }
  html { scroll-padding-bottom: 0; }
  .footer { padding-bottom: 2.25rem; }
}

/* Order builder (site/order-builder.js); hidden until the script runs */
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ob-hint { text-align: center; color: var(--muted); margin: -1rem 0 1.5rem; }

.stepper {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.stepper button {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 2px solid var(--wa);
  background: #fff;
  color: var(--wa);
  font: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.stepper button:disabled { border-color: var(--line); color: #8a7b68; cursor: not-allowed; }

.stepper input {
  width: 3.5rem;
  height: 3rem;
  text-align: center;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  border: 1px solid #b9a88f;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}

.stepper input[aria-invalid="true"] { border-color: #9a3712; }

.card .stepper-error { color: #9a3712; font-size: 0.85rem; text-align: center; margin: 0.5rem 0 0; }

.card .stepper-error:empty { display: none; }

.card.has-qty { outline: 3px solid var(--wa); outline-offset: -1px; }

button:focus-visible,
input:focus-visible,
.stepper input:focus {
  outline: 3px solid var(--oil);
  outline-offset: 3px;
}

.summary {
  max-width: 32rem;
  margin: 2rem auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
}

.summary h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

.ob-lines { list-style: none; padding: 0; margin: 0 0 0.75rem; }

.ob-lines li,
.summary .subtotal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.ob-lines li { padding: 0.35rem 0; border-bottom: 1px dashed var(--line); }

.summary .subtotal { font-weight: 700; font-size: 1.1rem; margin: 0.5rem 0 0.25rem; }

.summary .note,
.summary .empty,
.summary .helper { color: var(--muted); }

.summary .note { font-size: 0.9rem; margin: 0 0 0.25rem; }

.summary .empty { margin: 0 0 1rem; }

.summary .btn { width: 100%; margin-top: 1rem; }

.summary .btn[aria-disabled="true"] { background: #b9c8b8; color: #2b2118; box-shadow: none; cursor: not-allowed; transform: none; }

.summary .helper { font-size: 0.85rem; text-align: center; margin: 0.5rem 0 0; }

.summary .clear {
  display: block;
  min-height: 3rem;
  margin: 0.75rem auto 0;
  padding: 0 1rem;
  background: none;
  border: 0;
  color: var(--oil);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
