:root {
  --color-primary: #2d4f1e;
  --color-cream: #fdfaf5;
  --color-gold: #b8860b;
  --color-copper: #8e5f1e;
  --color-ink: #192115;
  --color-muted: #697160;
  --color-line: rgba(45, 79, 30, 0.14);
  --color-white: #ffffff;
  --color-admin-bg: #0f1712;
  --color-admin-panel: #172219;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(25, 33, 21, 0.12);
  --shadow-strong: 0 30px 90px rgba(25, 33, 21, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(184, 134, 11, 0.14), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, var(--color-cream) 42%, #eef3e6 100%);
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

@keyframes fadeLift {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softPulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -8px, 0) scale(1.015); }
}

@keyframes sheen {
  from { transform: translateX(-140%) rotate(18deg); }
  to { transform: translateX(180%) rotate(18deg); }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(253, 250, 245, 0.76);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}
.is-scrolled .site-header { border-bottom-color: var(--color-line); }
.brand, .admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-mark { width: 38px; height: 38px; object-fit: contain; }
.desktop-nav { display: flex; gap: 28px; color: var(--color-muted); font-size: 0.92rem; }
.desktop-nav a:hover { color: var(--color-primary); }

.btn-primary, .nav-cta, .product-footer button {
  border: 0;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 13px 20px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(45, 79, 30, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn-ghost {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.36);
  color: var(--color-primary);
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn-primary:hover, .nav-cta:hover, .product-footer button:hover, .btn-ghost:hover {
  transform: translateY(-2px);
}
.btn-primary:hover, .nav-cta:hover, .product-footer button:hover {
  box-shadow: 0 18px 44px rgba(45, 79, 30, 0.28);
}
.btn-text { border: 0; background: transparent; color: var(--color-primary); font-weight: 800; padding: 8px 0; }
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-white);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.app-viewport { overflow: hidden; }
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
  padding: 110px clamp(18px, 6vw, 90px) 48px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 12% auto auto 7%;
  z-index: -1;
  width: min(440px, 58vw);
  aspect-ratio: 1;
  border-radius: 44% 56% 52% 48%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.18), transparent 68%);
  animation: softPulse 9s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 6% 8% auto;
  z-index: -1;
  width: min(320px, 42vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(45, 79, 30, 0.16), transparent 68%);
  filter: blur(4px);
}
.hero h1, .section-heading h2, .cta-contact h2, .login-card h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.98;
  font-weight: 700;
}
.hero p { max-width: 620px; color: var(--color-muted); font-size: 1.1rem; }
.hero-media {
  margin: 0;
  height: min(680px, 76vh);
  overflow: hidden;
  border-radius: 48% 48% 8px 8px;
  box-shadow: var(--shadow);
  position: relative;
  animation: fadeLift 700ms ease both;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(45, 79, 30, 0.9), rgba(184, 134, 11, 0.68)),
    var(--color-primary);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.section-shell, .routine-section, .cta-contact {
  padding: clamp(74px, 9vw, 128px) clamp(18px, 6vw, 90px);
}
.section-shell, .routine-section, .cta-contact { animation: fadeLift 500ms ease both; }
.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-heading h2, .cta-contact h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.section-heading p { color: var(--color-muted); }
.value-prop { background: var(--color-white); }
.editorial-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 84px);
  background: rgba(255, 255, 255, 0.68);
}
.editorial-split.is-reverse > figure { order: 2; }
.editorial-split figure {
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: 36px 36px 8px 8px;
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, rgba(45, 79, 30, 0.08), rgba(184, 134, 11, 0.12));
}
.editorial-split img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.editorial-split h2,
.statement-band h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
}
.editorial-split p { color: var(--color-muted); font-size: 1.04rem; }
.image-fallback {
  height: 100%;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--color-primary);
  font-weight: 900;
  text-align: center;
}
.editorial-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}
.editorial-list li {
  position: relative;
  padding-left: 28px;
  color: var(--color-muted);
}
.editorial-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 2px;
  background: var(--color-gold);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(45, 79, 30, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 249, 0.78));
  box-shadow: 0 18px 48px rgba(25, 33, 21, 0.06);
}
.feature-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.11);
}
.feature-card span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(45, 79, 30, 0.08);
  color: var(--color-primary);
  font-weight: 900;
}
.feature-card h3 { margin: 18px 0 8px; }
.feature-card p { color: var(--color-muted); }
.statement-band {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 9vw, 128px) clamp(18px, 6vw, 90px);
  text-align: center;
  color: var(--color-white);
  background:
    radial-gradient(circle at 25% 20%, rgba(184, 134, 11, 0.32), transparent 24%),
    linear-gradient(135deg, #102015, #2d4f1e);
}
.statement-band p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.76);
}
.statement-band div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.statement-band span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}
.value-grid, .products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.value-card, .product-card, .kpi-grid article, .editor-card, .login-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(25, 33, 21, 0.06);
}
.value-card, .product-card, .review-card, .blog-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.value-card:hover, .product-card:hover, .review-card:hover, .blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 134, 11, 0.28);
  box-shadow: var(--shadow-strong);
}
.value-card { padding: 30px; }
.botanical-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.13);
  font-size: 1.45rem;
}
.value-card h3, .product-card h3, .routine-list h3 { margin: 18px 0 8px; font-size: 1.25rem; }
.value-card p, .product-card p, .routine-list p { color: var(--color-muted); }
.benefit-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--color-muted);
  font-size: 0.92rem;
}
.benefit-list li { margin: 4px 0; }
.product-meta-line { font-size: 0.88rem; }
.product-meta-line strong { color: var(--color-primary); }

.shop-toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px auto 28px;
}
.shop-toolbar button {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--color-primary);
  padding: 10px 16px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(25, 33, 21, 0.05);
}
.shop-toolbar button.is-active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
  margin: 0 0 28px;
}
.promo-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 138px;
  padding: 22px;
  border: 1px solid rgba(184, 134, 11, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(45, 79, 30, 0.96), rgba(27, 50, 20, 0.94)),
    var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 24px 70px rgba(45, 79, 30, 0.2);
}
.promo-card::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% 0;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: sheen 4.8s ease-in-out infinite;
}
.promo-card > span {
  display: grid;
  place-items: center;
  min-width: 68px;
  min-height: 68px;
  padding: 10px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #18120a;
  font-weight: 900;
  text-align: center;
}
.promo-card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.promo-card p { margin: 0; color: rgba(255, 255, 255, 0.78); }
.promo-card a {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 10px 14px;
  color: var(--color-white);
  font-weight: 900;
  white-space: nowrap;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fffdfa);
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.12), transparent 32%, transparent 74%, rgba(45, 79, 30, 0.08));
  opacity: 0;
  transition: opacity 220ms ease;
}
.product-card:hover::before { opacity: 1; }
.product-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  border-radius: 999px;
  background: rgba(253, 250, 245, 0.94);
  color: var(--color-primary);
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(25, 33, 21, 0.12);
}
.product-image-button {
  display: block;
  width: 100%;
  border: 0;
  background: #f5f0e7;
  padding: 0;
  text-align: left;
}
.product-card img { width: 100%; aspect-ratio: 1 / 0.86; object-fit: cover; }
.product-card img[src=""] { display: none; }
.product-card > div { padding: 20px; }
.product-category { margin: 0; color: var(--color-gold); font-weight: 900; text-transform: uppercase; font-size: 0.74rem; }
.product-footer { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-top: auto; }
.product-footer span { color: var(--color-primary); font-family: var(--font-serif); font-size: 2rem; font-weight: 700; }
.product-footer s { color: var(--color-muted); font-size: 1.1rem; font-family: var(--font-sans); font-weight: 800; }
.product-footer small { color: var(--color-muted); }
.product-footer button { grid-column: 1 / -1; width: 100%; }
.product-footer .product-detail-trigger { box-shadow: none; }

.routine-section { background: #eef3e6; }
.routine-list {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.routine-list li {
  min-height: 230px;
  padding: 22px;
  border-left: 3px solid var(--color-gold);
  background: rgba(253, 250, 245, 0.78);
  border-radius: var(--radius);
}
.routine-list span { color: rgba(45, 79, 30, 0.28); font-family: var(--font-serif); font-size: 3rem; font-weight: 700; line-height: 1; }

.faq-list { max-width: 850px; margin: 0 auto; border-top: 1px solid var(--color-line); }
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  padding: 22px 0;
  text-align: left;
  font-weight: 800;
}
.faq-answer { display: none; color: var(--color-muted); padding-bottom: 22px; }
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-question span { transform: rotate(45deg); }
.cta-contact {
  text-align: center;
  background: var(--color-primary);
  color: var(--color-white);
}
.cta-contact p { color: rgba(255, 255, 255, 0.76); }
.cta-contact .btn-primary { background: var(--color-gold); color: var(--color-ink); }
.reviews-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.review-card, .blog-card, .empty-state {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 24px;
}
.review-card strong { color: var(--color-gold); letter-spacing: 0.08em; }
.review-card p, .blog-card p, .empty-state { color: var(--color-muted); }
.review-card span { color: var(--color-primary); font-weight: 900; }
.blog-card { overflow: hidden; padding: 0; cursor: pointer; }
.blog-card:focus-visible {
  outline: 3px solid rgba(184, 134, 11, 0.4);
  outline-offset: 4px;
}
.blog-card img { width: 100%; aspect-ratio: 1.4 / 1; object-fit: cover; }
.blog-card div { padding: 22px; }
.blog-card h3 { margin: 8px 0; }
.empty-state { grid-column: 1 / -1; text-align: center; }

.pane-form, .cart-drawer, .blog-modal, .product-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(16, 24, 14, 0.44);
  backdrop-filter: blur(10px);
}
.pane-form, .cart-drawer { justify-content: flex-end; }
.form-open .pane-form,
.cart-open .cart-drawer,
.product-open .product-modal,
.blog-open .blog-modal { display: flex; }
.blog-modal, .product-modal {
  z-index: 55;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.blog-modal-card, .product-modal-card {
  position: relative;
  width: min(980px, 100%);
  max-height: min(88vh, 920px);
  overflow-y: auto;
  border: 1px solid rgba(45, 79, 30, 0.12);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 36px 120px rgba(7, 16, 9, 0.36);
  padding: clamp(22px, 4vw, 42px);
}
.blog-modal-card .pane-close,
.product-modal-card .pane-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
}
.blog-modal-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 24px;
}
.blog-modal-card h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}
.blog-modal-summary {
  color: var(--color-primary);
  font-size: 1.12rem;
  font-weight: 800;
}
.blog-modal-body {
  color: var(--color-muted);
  font-size: 1.02rem;
}
.blog-modal-body p { margin: 0 0 16px; }
.rich-content img,
.ql-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
}
.product-detail-media { display: grid; gap: 12px; }
.product-detail-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.product-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.product-detail-copy h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}
.product-detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0;
}
.product-detail-price strong {
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 2.2rem;
}
.product-detail-price s,
.product-detail-price span { color: var(--color-muted); font-weight: 800; }
.product-detail-copy section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}
.product-detail-copy h3 { margin: 0 0 10px; color: var(--color-primary); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list span {
  border-radius: 999px;
  background: rgba(45, 79, 30, 0.08);
  color: var(--color-primary);
  padding: 8px 11px;
  font-weight: 900;
  font-size: 0.82rem;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 10px;
}
.property-grid article {
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
}
.property-grid strong { color: var(--color-primary); }
.property-grid p { margin: 5px 0 0; color: var(--color-muted); font-size: 0.9rem; }
.pane-card, .cart-card {
  width: min(620px, 100%);
  height: 100%;
  overflow-y: auto;
  background: var(--color-cream);
  padding: 28px;
}
.cart-card { width: min(720px, 100%); }
.pane-close { float: right; }
.pane-copy { clear: both; padding-top: 36px; }
.pane-copy h2 { font-family: var(--font-serif); font-size: 3rem; margin: 0; }
.lead-form, .admin-form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: var(--color-muted); font-size: 0.82rem; font-weight: 800; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-ink);
  padding: 13px 14px;
}
textarea { min-height: 112px; resize: vertical; }
.signature-field canvas {
  width: 100%;
  height: 180px;
  border: 1px dashed var(--color-primary);
  border-radius: var(--radius);
  background: var(--color-white);
}
.form-status, .admin-status { color: var(--color-gold); font-weight: 800; min-height: 24px; }

.cart-items {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-white);
}
.cart-item img {
  width: 92px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}
.cart-item strong,
.cart-item span { display: block; overflow-wrap: anywhere; }
.cart-item span { color: var(--color-muted); font-size: 0.9rem; }
.qty-control {
  display: inline-grid;
  grid-template-columns: 36px 58px 36px;
  gap: 6px;
  margin-top: 10px;
}
.qty-control button,
.qty-control input {
  min-height: 36px;
  padding: 0;
  text-align: center;
}
.qty-control button {
  border: 1px solid var(--color-line);
  border-radius: 9px;
  background: #f2efe8;
  color: var(--color-primary);
  font-weight: 900;
}
.cart-totals {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}
.cart-totals div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.cart-total-line {
  padding-top: 8px;
  border-top: 1px solid var(--color-line);
  color: var(--color-primary);
  font-size: 1.18rem;
}
.form-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 48px clamp(18px, 6vw, 90px) 120px;
  background: #11170f;
  color: rgba(255, 255, 255, 0.82);
}
.site-footer strong { display: block; font-family: var(--font-serif); font-size: 1.8rem; color: var(--color-white); }
.site-footer a { display: inline-block; margin-left: 18px; color: var(--color-gold); font-weight: 800; }

.app-bottom-bar {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(520px, calc(100% - 24px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(45, 79, 30, 0.16);
  border-radius: 22px;
  background: rgba(253, 250, 245, 0.94);
  box-shadow: 0 18px 54px rgba(25, 33, 21, 0.18);
  backdrop-filter: blur(18px);
}
.app-bottom-bar a,
.app-bottom-bar button,
.sheet-grid a,
.sheet-grid button {
  min-width: 0;
  border: 0;
  color: var(--color-primary);
  background: transparent;
  text-align: center;
}
.app-bottom-bar a,
.app-bottom-bar button {
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 56px;
  border-radius: 16px;
  font-weight: 900;
}
.app-bottom-bar a:hover,
.app-bottom-bar button:hover { background: rgba(45, 79, 30, 0.08); }
.app-bottom-bar span { font-size: 1.32rem; line-height: 1; }
.app-bottom-bar em {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.7rem;
  font-style: normal;
}
.app-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(14, 22, 13, 0.42);
  backdrop-filter: blur(8px);
}
.app-bottom-sheet {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 0;
  width: min(620px, 100%);
  max-height: min(78vh, 620px);
  overflow-y: auto;
  transform: translate(-50%, 110%);
  transition: transform 220ms ease;
  border: 1px solid var(--color-line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: var(--color-cream);
  box-shadow: 0 -18px 58px rgba(25, 33, 21, 0.24);
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom));
}
.app-menu-open .app-menu-backdrop { display: block; }
.app-menu-open .app-bottom-sheet { transform: translate(-50%, 0); }
.sheet-handle {
  width: 54px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(45, 79, 30, 0.22);
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.sheet-head strong {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--color-primary);
}
.sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.sheet-grid a,
.sheet-grid button {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-white);
  font-weight: 900;
}

.login-body {
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, #2d4f1e, #0a1308 62%);
}
.organic-shape {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 47% 53% 61% 39%;
  background: rgba(96, 141, 58, 0.28);
  filter: blur(4px);
  animation: drift 14s ease-in-out infinite alternate;
}
.shape-one { left: -120px; top: -90px; }
.shape-two { right: -130px; bottom: -120px; animation-delay: -5s; }
@keyframes drift { to { transform: translate3d(44px, 36px, 0) rotate(18deg); } }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card {
  width: min(430px, 100%);
  padding: 34px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  backdrop-filter: blur(24px);
  border-color: rgba(255, 255, 255, 0.18);
}
.login-card input { background: rgba(255, 255, 255, 0.9); }

.admin-body {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  min-height: 100vh;
  background: #f4f1ea;
  color: #182116;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid rgba(45, 79, 30, 0.12);
  background:
    radial-gradient(circle at 10% 0%, rgba(184, 134, 11, 0.18), transparent 34%),
    linear-gradient(180deg, #102015, #0b150e 64%, #071009);
  overflow-y: auto;
}
.admin-brand { display: grid; gap: 0; margin-bottom: 28px; color: #fff; }
.admin-brand small { font-family: var(--font-sans); color: #a7b89c; font-size: 0.72rem; text-transform: uppercase; }
.admin-tabs { display: grid; gap: 7px; }
.admin-nav-group {
  display: block;
  margin: 16px 0 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.admin-tabs button, .admin-logout {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: #dce9d5;
  padding: 14px 15px;
  text-align: left;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.admin-tabs button:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.09);
}
.admin-tabs button.is-active {
  background: linear-gradient(135deg, var(--color-gold), #f0d28a);
  color: #15150f;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(184, 134, 11, 0.18);
}
.admin-logout { margin-top: 28px; text-align: center; }
.admin-main {
  min-width: 0;
  width: 100%;
  padding: clamp(18px, 3vw, 34px);
  padding-bottom: 122px;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(45, 79, 30, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 246, 236, 0.72));
  box-shadow: 0 18px 46px rgba(25, 33, 21, 0.06);
  backdrop-filter: blur(16px);
}
.admin-topbar h1 {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}
.admin-subtitle { margin: 28px 0 12px; }
.admin-panel { display: none; }
.admin-panel.is-active { display: block; }
.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(45, 79, 30, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(250, 246, 236, 0.68));
  box-shadow: 0 16px 40px rgba(25, 33, 21, 0.05);
}
.admin-section-head h2 { margin: 0; color: var(--color-primary); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.admin-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
  margin: 18px 0 8px;
}
.admin-quick-actions button {
  min-height: 118px;
  border: 1px solid rgba(45, 79, 30, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 240, 0.76));
  color: var(--color-primary);
  padding: 18px;
  text-align: left;
  box-shadow: 0 16px 42px rgba(25, 33, 21, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.admin-quick-actions button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(25, 33, 21, 0.1);
}
.admin-quick-actions strong,
.admin-quick-actions span { display: block; }
.admin-quick-actions strong { font-size: 1rem; }
.admin-quick-actions span {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
}
.kpi-grid article, .editor-card {
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-ink);
  border-color: rgba(45, 79, 30, 0.12);
  padding: 18px;
}
.kpi-grid article {
  position: relative;
  overflow: hidden;
}
.kpi-grid article::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -44px;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.12);
}
.kpi-grid span { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--color-primary); }
.kpi-grid p { margin: 4px 0 0; color: var(--color-muted); font-weight: 800; }
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(45, 79, 30, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}
table { width: 100%; min-width: 760px; border-collapse: collapse; background: transparent; }
th, td {
  max-width: 280px;
  padding: 14px;
  border-bottom: 1px solid rgba(45, 79, 30, 0.1);
  color: var(--color-ink);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
th { color: var(--color-primary); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; }
td button { border: 0; border-radius: var(--radius); background: var(--color-gold); color: #111; padding: 8px 12px; font-weight: 900; }
.table-link { color: var(--color-primary); font-weight: 900; }
.json-viewer {
  max-height: 320px;
  overflow: auto;
  padding: 16px;
  background: #0a100b;
  border-radius: var(--radius);
  color: #bce0ac;
}
.editor-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 16px;
  align-items: start;
}
.editor-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.section-editor-card {
  grid-column: span 2;
}
.section-editor-card details {
  border: 1px solid rgba(45, 79, 30, 0.1);
  border-radius: 14px;
  background: rgba(255, 253, 250, 0.68);
  padding: 12px;
}
.section-editor-card summary {
  color: var(--color-primary);
  cursor: pointer;
  font-weight: 900;
}
.section-editor-card details[open] summary { margin-bottom: 12px; }
.admin-help {
  border-left: 3px solid var(--color-gold);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(184, 134, 11, 0.08);
  color: #66705f;
  font-size: 0.84rem;
}
.editor-inline {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 14px;
  align-items: end;
}
.quill-field {
  display: grid;
  gap: 8px;
  color: #50624a;
  font-size: 0.82rem;
  font-weight: 800;
}
.quill-field > span { display: block; }
.quill-editor {
  min-height: 260px;
  background: #fffdfa;
}
.ql-toolbar.ql-snow,
.ql-container.ql-snow { border-color: rgba(45, 79, 30, 0.16); }
.ql-toolbar.ql-snow {
  border-radius: 12px 12px 0 0;
  background: rgba(255, 255, 255, 0.88);
}
.ql-container.ql-snow {
  border-radius: 0 0 12px 12px;
  font-family: var(--font-sans);
}
.ql-editor {
  min-height: 260px;
  color: var(--color-ink);
  font-size: 1rem;
}
.editor-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 134, 11, 0.26);
  box-shadow: 0 24px 58px rgba(25, 33, 21, 0.1);
}
.editor-card-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 2px; color: var(--color-primary); }
.editor-card-head strong { min-width: 0; overflow-wrap: anywhere; }
.editor-card-head span {
  flex: 0 0 auto;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(45, 79, 30, 0.08);
  color: var(--color-primary);
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 900;
}
.commerce-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 253, 249, 0.9));
}
.editor-card-head button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: transparent;
  color: #ffd99a;
  padding: 6px 10px;
}
.admin-form {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(45, 79, 30, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}
.admin-body label {
  min-width: 0;
  color: #50624a;
  font-size: 0.82rem;
  line-height: 1.35;
}
.admin-body input, .admin-body textarea, .admin-body select {
  max-width: 100%;
  background: #fffdfa;
  color: var(--color-ink);
  border-color: rgba(45, 79, 30, 0.16);
}
.admin-body textarea {
  min-height: 118px;
  max-height: 360px;
}
.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus {
  outline: 3px solid rgba(184, 134, 11, 0.18);
  border-color: var(--color-gold);
}
.admin-body label:has(input[type="checkbox"]) {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
}
.admin-body input[type="checkbox"] { width: auto; }
.editor-card textarea { min-height: 110px; }
.admin-status {
  position: sticky;
  bottom: 96px;
  z-index: 20;
  width: fit-content;
  max-width: min(680px, 100%);
  margin: 22px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(184, 134, 11, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.96);
  color: var(--color-primary);
  box-shadow: 0 16px 40px rgba(25, 33, 21, 0.12);
}
.admin-app-bar {
  background: rgba(16, 32, 21, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
}
.admin-app-bar a,
.admin-app-bar button { color: #f6f1e7; }
.admin-app-bar a:hover,
.admin-app-bar button:hover { background: rgba(255, 255, 255, 0.1); }
.admin-bottom-sheet {
  background: #f8f4ec;
}

@media (max-width: 900px) {
  .desktop-nav, .nav-cta { display: none; }
  .site-header { height: 66px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 92px; }
  .hero-media { order: -1; height: 52vh; }
  .editorial-split { grid-template-columns: 1fr; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .editorial-split.is-reverse > figure { order: 0; }
  .value-grid, .products-grid, .routine-list, .kpi-grid, .reviews-grid, .blog-grid { grid-template-columns: 1fr; }
  .site-footer { display: block; padding-bottom: 128px; }
  .site-footer a { margin: 12px 18px 0 0; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar {
    display: none;
  }
  .admin-main { padding: 18px; }
  .admin-topbar { align-items: flex-start; flex-wrap: wrap; }
  .admin-section-head { align-items: flex-start; }
  .admin-actions { width: 100%; justify-content: stretch; }
  .admin-actions button, .admin-section-head > .btn-primary { flex: 1 1 180px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  table { min-width: 680px; }
  .section-editor-card { grid-column: auto; }
}

@media (max-width: 560px) {
  .app-bottom-bar { width: calc(100% - 18px); border-radius: 18px; }
  .sheet-grid { grid-template-columns: 1fr; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-card > span {
    width: fit-content;
    min-width: 0;
    min-height: 0;
    border-radius: 999px;
  }
  .promo-card a { width: fit-content; }
  .hero h1 { font-size: 2.75rem; }
  .pane-card { padding: 22px 18px 110px; }
  .cart-card { padding: 22px 18px 110px; }
  .blog-modal, .product-modal { padding: 8px; align-items: stretch; }
  .blog-modal-card, .product-modal-card { border-radius: 18px; max-height: calc(100vh - 16px); }
  .cart-item { grid-template-columns: 76px minmax(0, 1fr); }
  .cart-item img { width: 76px; }
  .admin-main { padding: 12px; padding-bottom: 122px; }
  .admin-topbar, .admin-section-head, .admin-form, .editor-card { border-radius: 14px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .editor-inline { grid-template-columns: 1fr; }
  th, td { padding: 12px; }
}
