:root {
  --bg: #fbf6ec;
  --card: #ffffff;
  --green: #24523b;
  --green-deep: #1c3f2e;
  --orange: #e8822f;
  --orange-deep: #d06f1f;
  --brown: #3e2b17;
  --ink: #2e2418;
  --mute: #8a7b66;
  --line: #eadfc9;
  --radius: 20px;
  --shadow: 0 10px 40px rgba(62, 43, 23, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--brown);
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.eyebrow.light { color: #f3c896; }

/* announcement */
.announce {
  background: var(--green-deep);
  color: #e9e2cd;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 9px 16px;
}

/* header */
.topbar {
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 18px; }
.brand-lockup { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo { width: 42px; height: 42px; border-radius: 11px; display: block; }
.logo-footer { width: 56px; height: 56px; margin: 0 auto 10px; }
.brand { font-size: 20px; }

.mainnav { display: flex; gap: 26px; flex: 1; justify-content: center; }
.mainnav a {
  color: var(--brown); text-decoration: none; font-size: 14.5px; font-weight: 700;
  padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.mainnav a:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(232, 130, 47, 0.35);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232, 130, 47, 0.42); }
.btn-small { padding: 10px 20px; font-size: 14px; box-shadow: none; }
.btn-full { width: 100%; font-size: 17px; padding: 17px; text-align: center; }

/* ============ HOME HERO ============ */
.home-hero { padding: 40px 0 56px; }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.hero-panel {
  background: var(--green-deep); border-radius: 24px; padding: 52px 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-panel h1 { color: #fff; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; margin-bottom: 16px; }
.hero-panel p { color: #d9d2bb; font-size: 16.5px; font-weight: 500; margin-bottom: 26px; max-width: 30em; }
.hero-panel-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost {
  background: transparent; border: 2px solid rgba(255,255,255,0.4); box-shadow: none; color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); box-shadow: none; }
.home-art { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); max-height: 470px; }
.home-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-panel { min-height: 470px; }
.lineup-price { font-family: "Fraunces", Georgia, serif; font-weight: 700; color: var(--brown); font-size: 17px; margin: 10px 0 14px; }
.btn-outline { background: transparent; border: 2px solid var(--orange); color: var(--orange); box-shadow: none; }
.btn-outline:hover { background: var(--orange); color: #fff; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 860px; }
.product-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.product-card img { width: 100%; height: 220px; object-fit: contain; background: #fff; padding: 18px 18px 0; }
.product-body { padding: 20px 22px 24px; }
.product-body h3 { font-size: 19px; margin-bottom: 8px; }
.product-body p { font-size: 14.5px; color: var(--mute); font-weight: 500; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.why-item h3 { font-size: 17px; margin-bottom: 8px; color: var(--green-deep); }
.why-item p { font-size: 14px; color: var(--mute); font-weight: 500; }

/* ============ PRODUCT HERO ============ */
.product-hero { padding: 44px 0 64px; }
.product-grid-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }

.gallery { position: sticky; top: 96px; }
.gallery-flex { display: flex; gap: 14px; align-items: stretch; }
.main-frame {
  flex: 1; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 1 / 1;
  position: relative;
}
.main-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; cursor: zoom-in; will-change: transform; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb {
  width: 82px; height: 82px; object-fit: cover; background: var(--card);
  border: 2px solid var(--line); border-radius: 14px; cursor: pointer; padding: 3px;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.thumb:hover { transform: scale(1.04); }
.thumb.active { border-color: var(--orange); }

.buybox {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px;
}
.buybox h1 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.08; }
.buybox-sub { color: var(--mute); font-size: 14.5px; margin: 10px 0 16px; font-weight: 500; }

.star-row { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; text-decoration: none; }
.stars { color: var(--orange); font-size: 17px; letter-spacing: 2px; }
.stars.big { font-size: 36px; letter-spacing: 5px; }
.star-text { font-size: 13px; color: var(--mute); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.benefit-checks { list-style: none; margin-bottom: 24px; }
.benefit-checks li { padding-left: 30px; position: relative; font-size: 15px; margin-bottom: 7px; font-weight: 600; }
.benefit-checks li::before {
  content: "\2713"; position: absolute; left: 0; top: -1px;
  width: 21px; height: 21px; border-radius: 50%; background: #e5efe6;
  color: var(--green); font-weight: 800; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

.step-label {
  font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--brown); margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.step-num {
  width: 22px; height: 22px; border-radius: 50%; background: var(--green);
  color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center;
}

.weight-picker { display: flex; gap: 10px; margin-bottom: 8px; }
.weight-btn {
  flex: 1; padding: 12px 8px; font-family: inherit; font-size: 13.5px; font-weight: 700;
  background: var(--bg); border: 2px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--ink);
  transition: border-color 0.12s ease, background 0.12s ease;
}
.weight-btn.active { border-color: var(--green); background: #e5efe6; }
.dose-hint { font-size: 13px; color: var(--green); font-weight: 700; margin-bottom: 22px; }

.plans { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.plan { display: block; cursor: pointer; position: relative; }
.plan input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-body {
  border: 2px solid var(--line); border-radius: 16px; padding: 14px 18px; background: var(--card);
  transition: border-color 0.12s ease, background 0.12s ease; position: relative;
}
.plan input:checked + .plan-body { border-color: var(--green); background: #f2f7f0; }
.ribbon {
  position: absolute; top: -11px; right: 16px;
  background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; padding: 3px 12px; border-radius: 999px;
}
.plan-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.save {
  background: #e5efe6; color: var(--green); font-size: 11px; font-weight: 800;
  padding: 3px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.5px;
}
.best-save { background: var(--green); color: #fff; }
.plan-price { font-size: 21px; font-weight: 800; color: var(--brown); margin-top: 4px; font-family: "Fraunces", Georgia, serif; }
.plan-price .per { font-size: 13px; font-weight: 600; color: var(--mute); }
.plan-price s { font-size: 14px; color: var(--mute); font-weight: 500; margin-left: 6px; }
.plan-price em { font-style: normal; font-size: 13px; color: var(--green); font-weight: 700; margin-left: 8px; }
.plan-note { font-size: 12.5px; color: var(--mute); margin-top: 2px; font-weight: 500; }

.cta-micro { text-align: center; font-size: 12.5px; color: var(--mute); font-weight: 600; margin-top: 12px; }

/* join form extras */
.join-sub { color: #cfc4a5; font-size: 15px; font-weight: 500; margin: -14px 0 22px; }
.more-fields { box-shadow: none; background: var(--bg); border: 1.5px dashed var(--line); margin-bottom: 18px; }
.more-fields summary { font-family: "Plus Jakarta Sans", sans-serif; font-size: 13.5px; color: var(--mute); padding: 13px 18px; }
.more-fields summary::after { top: 9px; }
.more-fields .form-row { padding: 0 16px; }
.more-fields .form-row:last-child { padding-bottom: 16px; }

/* ticker */
.ticker { background: var(--green-deep); overflow: hidden; padding: 13px 0; }
.ticker-track {
  display: flex; align-items: center; white-space: nowrap;
  width: max-content; animation: tick 30s linear infinite;
  will-change: transform; backface-visibility: hidden;
}
.tick-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.ticker-track span {
  color: #e9e2cd; font-family: "Fraunces", Georgia, serif;
  font-weight: 700; font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase;
}
.ticker-track i { color: var(--orange); font-style: normal; font-size: 13px; }
@keyframes tick { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* lifestyle band */
.life-band {
  background-size: cover; background-position: center 30%;
  min-height: 76vh; display: flex; align-items: flex-end;
}
.life-overlay {
  width: 100%; padding: 120px 0 48px;
  background: linear-gradient(180deg, rgba(28, 34, 24, 0) 0%, rgba(28, 34, 24, 0.72) 100%);
}
.life-overlay h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.life-overlay p { color: #efe7d2; font-size: 17px; font-weight: 500; max-width: 36em; }

/* sections */
.section { padding: 80px 0; }
.section.alt { background: #f4ecdd; }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; line-height: 1.12; }
.section-lead { color: var(--mute); max-width: 42em; margin-bottom: 36px; font-size: 16.5px; font-weight: 500; }
.fine-note { font-size: 13px; color: var(--mute); margin-top: 18px; font-weight: 500; }

/* expect */
.expect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.expect-card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.card-icon { font-size: 30px; margin-bottom: 12px; }
.expect-card h3 { font-size: 18px; margin-bottom: 12px; }
.expect-card p { font-size: 14px; color: var(--mute); margin-bottom: 8px; font-weight: 500; }
.mini-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.mini-table td { padding: 9px 4px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.mini-table td:last-child { text-align: right; color: var(--brown); }
.looky { list-style: none; }
.looky li { padding-left: 28px; position: relative; font-size: 14px; color: var(--mute); margin-bottom: 9px; font-weight: 500; }
.looky li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px; border-radius: 50%; background: #e5efe6;
  color: var(--green); font-weight: 800; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}

/* tables */
.table-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; margin-bottom: 30px;
}
.value-table, .compare-table { width: 100%; border-collapse: collapse; }
.value-table th, .compare-table th {
  background: var(--green-deep); color: #e9e2cd; font-size: 13.5px; padding: 13px 16px; text-align: left;
  font-family: "Fraunces", Georgia, serif; font-weight: 700; letter-spacing: 0.3px;
}
.value-table td, .compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.value-table .yes { color: var(--green); font-weight: 700; }
.value-table .total-row td { background: #f2f7f0; font-size: 16px; }

.compare-table th.us { background: var(--orange); color: #fff; }
.compare-table td.us { background: #fdf3e7; }
.compare-table td.yes { color: var(--green); font-weight: 800; font-size: 16px; }
.compare-table td.no { color: #c0392b; font-weight: 800; font-size: 16px; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }

.compare-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; }
.compare-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* inside cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 16.5px; margin-bottom: 8px; }
.card p { font-size: 13.5px; color: var(--mute); font-weight: 500; }

/* calm cross sell */
.calm-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.calm-grid img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* sticker */
.gallery { position: relative; }
.sticker {
  position: absolute; top: -14px; right: 6px; z-index: 5;
  background: var(--orange); color: #fff;
  font-family: "Fraunces", Georgia, serif; font-weight: 700; font-style: italic;
  font-size: 13.5px; line-height: 1.25; text-align: center;
  padding: 16px 14px; border-radius: 50%;
  transform: rotate(9deg);
  box-shadow: 0 8px 20px rgba(232, 130, 47, 0.4);
  animation: wiggle 5s ease-in-out infinite;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(9deg); }
  50% { transform: rotate(4deg) translateY(-4px); }
}

/* stats band */
.stats-band { background: var(--green-deep); }
.stats-band h2 { color: #fff; margin-bottom: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 34px 24px; }
.stat-num {
  font-family: "Fraunces", Georgia, serif; font-weight: 900;
  font-size: clamp(44px, 6vw, 64px); color: var(--orange); line-height: 1;
}
.stat p { color: #e9e2cd; font-size: 14.5px; font-weight: 600; margin-top: 10px; }
.stats-basis { color: #8fa393; font-size: 12px; margin-top: 22px; text-align: center; }

/* reviews */
.reviews-head { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.reviews-avg { font-weight: 700; color: var(--brown); font-size: 15px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover { transform: translateY(-6px) rotate(-0.5deg); box-shadow: 0 18px 50px rgba(62, 43, 23, 0.16); }
.review-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.review-body { padding: 20px 22px 22px; position: relative; }
.review-stars { color: var(--orange); font-size: 15px; letter-spacing: 2px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--ink); font-weight: 500; margin-bottom: 14px; }
.review-who strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 15px; color: var(--brown); }
.review-who span { font-size: 12.5px; color: var(--mute); font-weight: 600; }
.review-chip {
  position: absolute; top: -14px; right: 16px;
  background: var(--green); color: #fff; font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.8px; padding: 5px 12px; border-radius: 999px;
}

/* guarantee */
.guarantee-band { background: #f4ecdd; }
.guarantee-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; }
.guarantee-badge {
  width: 210px; height: 210px; border-radius: 50%;
  background: var(--orange);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 16px 40px rgba(232, 130, 47, 0.4);
  transform: rotate(-6deg);
  border: 6px dashed rgba(255, 255, 255, 0.55);
}
.g-num { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-size: 72px; line-height: 1; }
.g-day { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 22px; margin-top: -4px; }
.g-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; margin-top: 4px; }

/* faq */
.faq-wrap { max-width: 780px; }
details {
  background: var(--card); border-radius: 16px; margin-bottom: 12px;
  box-shadow: var(--shadow);
}
summary {
  cursor: pointer; font-weight: 700; font-size: 15.5px; color: var(--brown);
  padding: 18px 22px; list-style: none; position: relative;
  font-family: "Fraunces", Georgia, serif;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 22px; color: var(--orange); font-weight: 800; }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 22px 18px; font-size: 14.5px; color: var(--mute); font-weight: 500; }

/* join band */
.join-band { background: var(--green-deep); padding: 80px 0; }
.join-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 24px; }
.form-wrap { max-width: 760px; }
form { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
label { display: block; font-size: 13px; font-weight: 700; color: var(--brown); }
input, select {
  width: 100%;
  margin-top: 6px;
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
}
input:focus, select:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.form-msg { margin-top: 14px; font-size: 14px; color: var(--mute); min-height: 20px; font-weight: 600; }
.form-msg.ok { color: var(--green); }

/* footer */
.footer { background: var(--green-deep); color: #cfc4a5; padding: 44px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { text-align: center; font-size: 14px; }
.brand-footer { font-size: 18px; margin-bottom: 10px; color: #fff; }
.fine { font-size: 11px; margin-top: 14px; opacity: 0.7; max-width: 52em; margin-left: auto; margin-right: auto; }

/* sticky buy bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: -90px; z-index: 50;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transition: bottom 0.25s ease;
}
.sticky-bar.show { bottom: 0; }
.sticky-inner {
  max-width: 1120px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 16px;
}
.sticky-inner img { width: 46px; height: 46px; object-fit: contain; }
.sticky-info { flex: 1; line-height: 1.3; }
.sticky-info strong { font-family: "Fraunces", Georgia, serif; font-size: 15px; color: var(--brown); display: block; }
.sticky-info span { font-size: 13px; color: var(--mute); font-weight: 600; }
.sticky-inner .btn { padding: 11px 24px; font-size: 14.5px; }

@media (max-width: 960px) {
  .product-grid-hero { grid-template-columns: 1fr; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .hero-panel { padding: 36px 28px; }
  .product-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery { position: relative; top: auto; }
  .mainnav { display: none; }
  .expect-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .calm-grid { grid-template-columns: 1fr; }
  .calm-grid img { max-width: 320px; margin: 0 auto; }
  .review-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .main-frame { aspect-ratio: 1 / 1; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .weight-picker { flex-direction: column; }
  .gallery-flex { flex-direction: column-reverse; }
  .thumbs { flex-direction: row; }
  .sticky-info span { display: none; }
}

/* premium logo */
.logo-mark { height: 46px; width: auto; display: block; }
.brand-word { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-size: 24px; letter-spacing: 0.02em; color: var(--green-deep, #10241a); white-space: nowrap; }
.brand-lockup { display: flex; align-items: center; gap: 10px; }
.logo-footer-full { height: 110px; width: auto; border-radius: 16px; margin: 0 auto 12px; display: block; }
.buybox-title { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.08; color: var(--brown); }
@media (max-width: 960px) { .logo-mark { height: 36px; } .brand-word { font-size: 19px; } }

/* cart */
.cart-btn { position: relative; background: #fff; border: 1.5px solid #e2d5be; border-radius: 999px; width: 46px; height: 46px; cursor: pointer; color: var(--brown, #2e1f14); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s ease, transform .15s ease; }
.cart-btn:hover { border-color: var(--orange, #e07b39); transform: translateY(-1px); }
.cart-btn:hover { color: var(--orange, #e07b39); }
.cart-count { position: absolute; top: -5px; right: -5px; background: var(--orange, #e07b39); color: #fff; font-size: 11px; font-weight: 800; min-width: 17px; height: 17px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
#ss-toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(16px); background: #10241a; color: #fdf7ea; padding: 13px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,0.25); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 999; max-width: 90vw; text-align: center; }
#ss-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* formula labels in ingredients */
.formula-label { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-size: 21px; margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--orange, #e07b39); color: var(--brown, #2e1f14); }
.formula-label.calm-label { border-left-color: #7d9367; }

/* premium join form */
.more-fields { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.22); border-radius: 14px; padding: 4px 16px; margin: 14px 0; }
.more-fields summary { cursor: pointer; padding: 12px 4px; list-style: none; display: flex; flex-direction: column; gap: 2px; position: relative; }
.more-fields summary::-webkit-details-marker { display: none; }
.more-fields summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 700; opacity: 0.85; }
.more-fields[open] summary::after { content: "\2212"; }
.more-fields-title { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 17px; }
.more-fields-sub { font-size: 13px; opacity: 0.75; }


/* expect toggle */
.expect-toggle { display: inline-flex; background: #efe6d2; border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 30px; }
.etab { border: none; background: none; font: inherit; font-weight: 800; font-size: 14.5px; color: #6b5b4a; padding: 9px 26px; border-radius: 999px; cursor: pointer; transition: all .2s ease; }
.etab.active { background: var(--green-deep, #10241a); color: #fdf7ea; }

/* formula heads */
.formula-head { display: flex; align-items: center; gap: 18px; margin: 44px 0 20px; }
.formula-head img { height: 130px; width: auto; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(46,31,20,0.22)); }
.formula-title { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-size: clamp(24px, 2.8vw, 32px); color: var(--brown, #2e1f14); margin: 0; }
.formula-sub { margin: 4px 0 0; color: #6b5b4a; font-size: 14.5px; font-weight: 500; }


/* buy buttons */
.buy-btns { display: flex; flex-direction: column; gap: 10px; }
.btn-cart {
  display: inline-block; text-align: center; cursor: pointer; font: inherit;
  font-weight: 800; font-size: 15.5px; padding: 15px 26px; border-radius: 999px;
  background: #ffd814; color: #2e1f14; border: 1.5px solid #f2c200;
  transition: transform .15s ease, filter .15s ease;
}
.btn-cart:hover { filter: brightness(0.96); transform: translateY(-1px); }

/* compare polish */
.compare-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
.compare-photo { width: 100%; border-radius: 22px; box-shadow: 0 20px 46px rgba(46,31,20,0.18); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 13px 14px; font-size: 14.5px; }
.compare-table th { font-family: "Fraunces", Georgia, serif; }
.compare-table tr:nth-child(even) td { background: #faf5ea; }
.compare-table td.us { background: #fdf1e3; font-weight: 800; }
.compare-table th.us { background: var(--orange, #e07b39); color: #fff; font-weight: 800; }
.compare-table .yes { color: #2f5d3a; font-weight: 800; }
.compare-table .no { color: #c05b3a; }


/* wuffes-style header */
.topbar-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px 0 8px; }
.topbar-top .brand-lockup { justify-self: center; }
.top-slot { justify-self: start; }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.topbar .mainnav { display: flex; justify-content: center; gap: 38px; padding: 6px 0 14px; }
.topbar .mainnav a { font-size: 13.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--brown, #2e1f14); }
.topbar .mainnav a:hover { color: var(--orange, #e07b39); }
.logo-mark { height: 52px; }
.brand-word { font-size: 27px; }
@media (max-width: 900px) {
  .topbar-top { grid-template-columns: auto 1fr auto; }
  .topbar .mainnav { gap: 18px; overflow-x: auto; }
  .brand-word { font-size: 20px; }
  .logo-mark { height: 40px; }
}

/* expect layout with bag */
.expect-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.expect-side { position: sticky; top: 130px; background: #fff; border-radius: 20px; box-shadow: 0 14px 34px rgba(46,31,20,0.1); padding: 26px; display: flex; justify-content: center; }
.expect-side img { width: 100%; max-width: 200px; height: auto; object-fit: contain; }
@media (max-width: 900px) { .expect-wrap { grid-template-columns: 1fr; } .expect-side { position: static; } }

/* premium footer */
.footer { background: var(--green-deep, #10241a); color: #cfc7ad; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 42px; border-bottom: 1px solid rgba(233,226,205,0.16); }
.foot-lockup { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.foot-badge { width: 58px; height: 58px; border-radius: 50%; background: #fdf7ea; display: flex; align-items: center; justify-content: center; }
.foot-badge img { height: 34px; width: auto; }
.foot-word { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-size: 24px; color: #fdf7ea; }
.foot-tag { font-size: 14px; line-height: 1.6; color: #b8ae93; max-width: 26em; }
.foot-col h4 { font-family: "Fraunces", Georgia, serif; color: #fdf7ea; font-size: 15px; margin: 4px 0 14px; letter-spacing: 0.6px; }
.foot-col a { display: block; color: #cfc7ad; font-size: 14px; margin-bottom: 9px; text-decoration: none; }
.foot-col a:hover { color: var(--orange, #e07b39); }
.foot-note { font-size: 13.5px; line-height: 1.55; color: #b8ae93; margin: 0 0 10px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; font-size: 12.5px; color: #8f866d; flex-wrap: wrap; }
.foot-bottom .fine { max-width: 46em; text-align: right; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .foot-bottom { flex-direction: column; } .foot-bottom .fine { text-align: left; } }


/* toggle hidden fix */
.expect-grid[hidden] { display: none !important; }

/* bigger gallery, bigger compare image */
.product-grid-hero { grid-template-columns: 1.25fr 1fr !important; gap: 44px; }
.compare-grid { grid-template-columns: 1.25fr 1fr !important; }
.compare-photo { min-height: 460px; object-fit: cover; }

/* header widgets */
.icon-btn { background: none; border: none; cursor: pointer; color: var(--brown, #2e1f14); padding: 8px; display: inline-flex; border-radius: 10px; }
.icon-btn:hover { color: var(--orange, #e07b39); }
.acct-btn { background: none; border: none; cursor: pointer; text-align: left; display: flex; flex-direction: column; line-height: 1.15; padding: 4px 8px; border-radius: 10px; font-family: inherit; }
.acct-btn:hover { outline: 1.5px solid #e2d5be; }
.acct-hi { font-size: 11.5px; color: #6b5b4a; }
.acct-main { font-size: 14px; font-weight: 800; color: var(--brown, #2e1f14); }
.cart-btn { width: auto; padding: 0 16px; gap: 8px; height: 46px; }
.cart-label { font-weight: 800; font-size: 14px; }

/* overlays */
.overlay { position: fixed; inset: 0; background: rgba(20, 26, 18, 0.55); z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px; }
.overlay-card { background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,0.3); width: 100%; max-width: 520px; padding: 22px; }
#search-input { width: 100%; box-sizing: border-box; border: 2px solid var(--orange, #e07b39); border-radius: 12px; padding: 14px 16px; font: inherit; font-size: 16px; }
.search-results { margin-top: 10px; max-height: 320px; overflow-y: auto; }
.search-item { display: block; padding: 12px 14px; border-radius: 10px; color: var(--brown, #2e1f14); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.search-item:hover { background: #fdf4e6; color: var(--orange, #e07b39); }
.acct-card label { display: block; font-size: 13.5px; font-weight: 700; color: var(--brown, #2e1f14); margin: 13px 0 5px; }
.acct-card input { width: 100%; box-sizing: border-box; border: 1.5px solid #e2d5be; border-radius: 10px; padding: 12px 13px; font: inherit; font-size: 15px; background: #fdfaf3; }
.acct-card .btn { margin-top: 18px; }
.acct-tabs { display: flex; gap: 6px; background: #f4ecdd; border-radius: 999px; padding: 5px; margin-bottom: 8px; }
.atab { flex: 1; border: none; background: none; font: inherit; font-weight: 800; font-size: 14px; color: #6b5b4a; padding: 9px; border-radius: 999px; cursor: pointer; }
.atab.active { background: var(--green-deep, #10241a); color: #fdf7ea; }
.acct-err { color: #b0472e; font-size: 13.5px; margin: 10px 0 0; }
.acct-heading { font-family: "Fraunces", Georgia, serif; font-size: 21px; margin: 6px 0 8px; color: var(--brown, #2e1f14); }
.acct-sub { color: #6b5b4a; font-size: 14px; }

/* delivery promise */
.delivery-line { font-size: 14.5px; color: var(--brown, #2e1f14); margin: 10px 0 2px; }
.delivery-line .del-count { color: #1d7a3c; font-weight: 800; }
@media (max-width: 900px) {
  .acct-btn { display: none; }
  .product-grid-hero, .compare-grid { grid-template-columns: 1fr !important; }
}

.overlay[hidden] { display: none !important; }

.overlay-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 26px; color: #8a7a64; cursor: pointer; line-height: 1; }
.overlay-card { position: relative; }
.guest-note { font-size: 13px; color: #6b5b4a; margin: 2px 0 12px; }


/* floating cart widget */
.cart-float {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--green-deep, #10241a); color: #fdf7ea;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(0,0,0,0.3); z-index: 150;
  animation: cart-shake 3s ease-in-out infinite;
  transition: transform .15s ease;
}
.cart-float:hover { animation: none; transform: translateY(-50%) scale(1.08); }
.cart-float-count {
  position: absolute; top: -4px; right: -4px; background: var(--orange, #e07b39);
  color: #fff; font-size: 12px; font-weight: 800; min-width: 22px; height: 22px;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
  border: 2px solid #fdf7ea;
}
@keyframes cart-shake {
  0%, 78%, 100% { transform: translateY(-50%) rotate(0deg); }
  81% { transform: translateY(-50%) rotate(-9deg); }
  84% { transform: translateY(-50%) rotate(8deg); }
  87% { transform: translateY(-50%) rotate(-6deg); }
  90% { transform: translateY(-50%) rotate(4deg); }
  93% { transform: translateY(-50%) rotate(0deg); }
}


/* even header bands with dividers */
.topbar .mainnav { border-top: 1px solid #e9dcc3; }
.topbar { border-bottom: 1px solid #e9dcc3; }
.topbar-top { padding: 15px 0 13px; }
.topbar .mainnav { padding: 12px 0 12px; }

/* cream band between page and footer, mirrors the header bar */
.footer-divider { height: 16px; background: #f7f0e0; }
