:root {
  --ink: #17131d;
  --muted: #6f6874;
  --line: #e8e2dd;
  --paper: #fffdf9;
  --wash: #f6f4ef;
  --leaf: #188a3a;
  --leaf-deep: #0b5c2a;
  --rose: #b61d7a;
  --gold: #c49543;
  --mint: #e9f7ec;
  --shadow: 0 18px 50px rgba(23, 19, 29, .11);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

html [hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 249, .88);
  border-bottom: 1px solid rgba(232, 226, 221, .9);
  backdrop-filter: blur(18px);
}

.announcement-bar {
  width: 100%;
  background: linear-gradient(90deg, var(--leaf-deep), var(--leaf));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.announcement-bar[hidden] {
  display: none;
}

.announcement-inner {
  min-height: 42px;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.announcement-icon {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  flex: 0 0 auto;
}

.announcement-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 0;
}

.brand img {
  width: 118px;
  height: auto;
}

.site-header .brand-name {
  display: none;
}

.brand-name {
  font-family: var(--display);
  font-size: clamp(23px, 5vw, 34px);
  line-height: 1;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  font-weight: 850;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: rgba(24, 138, 58, .22);
  background: var(--mint);
  color: var(--leaf-deep);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.icon-btn,
.menu-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  display: grid;
  place-items: center;
  position: relative;
}

.icon-btn {
  border-color: rgba(24, 138, 58, .22);
  background: rgba(25, 151, 83, .07);
  color: var(--leaf-deep);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  border-color: rgba(24, 138, 58, .38);
  background: rgba(25, 151, 83, .12);
  color: var(--leaf);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
}

.menu-btn {
  display: none;
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: 46px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 8, 9, .78) 0%, rgba(10, 8, 9, .55) 36%, rgba(10, 8, 9, .16) 68%, rgba(10, 8, 9, .42) 100%),
    url("../img/products/program-hero.jpg") center center / cover no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf-deep);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--display);
  font-size: clamp(30px, 5.5vw, 48px);
  line-height: 1.04;
  margin-bottom: 18px;
}

.hero p {
  max-width: 540px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 2.2vw, 21px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .32);
}

.hero h1 {
  color: #fff;
  max-width: 560px;
  overflow-wrap: normal;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .38);
}

.hero .eyebrow {
  color: #c9f4d0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}

.hero .btn.leaf {
  background: #14923f;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

.hero-actions,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 46px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #2a2330, var(--ink));
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(23, 19, 29, .16);
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn.leaf {
  background: linear-gradient(180deg, #24a653, var(--leaf));
}

.btn.ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.trust-strip {
  background: var(--ink);
  color: #fff;
  font-weight: 750;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-item {
  padding: 18px 10px;
  text-align: center;
  background: rgba(255, 255, 255, .06);
}

.section {
  padding: 74px 0;
}

.section.wash {
  background: var(--wash);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(34px, 7vw, 62px);
  line-height: 1;
  margin-bottom: 8px;
}

.section-head p {
  max-width: 620px;
  color: var(--muted);
  margin-bottom: 0;
}

.product-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 24px;
}

.category-filter {
  border: 1px solid rgba(24, 138, 58, .22);
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  color: var(--leaf-deep);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(23, 19, 29, .05);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.category-filter:hover,
.category-filter.active {
  transform: translateY(-1px);
  background: var(--leaf);
  border-color: var(--leaf);
  color: #fff;
}

.product-category-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--mint);
  color: var(--leaf-deep);
  font-size: 12px;
  font-weight: 900;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(23, 19, 29, .06);
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  background: #faf9f5;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  padding: 7px 10px;
  color: #fff;
  background: var(--leaf-deep);
  font-size: 12px;
  font-weight: 800;
}

.product-body {
  padding: 16px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.product-body h3 {
  margin: 0;
  font-size: 22px;
}

.product-title-link:hover {
  color: var(--leaf-deep);
}

.product-body p {
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.price {
  font-size: 24px;
  font-weight: 900;
}

.bgn {
  color: var(--muted);
  font-size: 14px;
}

.points-pill,
.tag {
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--mint);
  color: var(--leaf-deep);
  font-size: 12px;
  font-weight: 800;
  max-width: 100%;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  align-self: end;
  min-width: 0;
}

.qty {
  display: inline-grid;
  grid-template-columns: 38px 44px 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  height: 44px;
}

.qty button {
  border: 0;
  background: #fff;
  font-weight: 900;
}

.qty input {
  width: 44px;
  border: 0;
  text-align: center;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  min-width: 0;
  max-width: 100%;
  padding: 24px;
  border-top: 2px solid var(--leaf);
  background: #fff;
}

.feature h3 {
  margin-bottom: 8px;
}

.feature p,
.feature li,
.product-page-content > p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.story img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.timeline-step {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: var(--radius);
}

.timeline-step strong {
  color: var(--rose);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 48px 0 28px;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 26px;
  align-items: start;
  text-align: center;
}

.footer-col {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
}

.footer-col h3 {
  margin: 0 0 4px;
  color: #fff;
}

.footer-col p {
  margin: 0;
  max-width: 280px;
}

.footer-logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-bottom: 4px;
}

.footer-logo img {
  width: 132px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-grid a,
.footer-grid p {
  color: rgba(255, 255, 255, .78);
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.footer-social {
  margin-bottom: 28px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .84);
  text-align: center;
}

.footer-social[hidden] {
  display: none;
}

.footer-social p {
  margin: 0 0 12px;
  font-weight: 850;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  display: inline-grid;
  place-items: center;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.social-links a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .32);
}

.social-links svg {
  width: 21px;
  height: 21px;
  display: block;
}

.social-links span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .72);
  text-align: center;
  font-size: 14px;
}

.footer-bottom a {
  color: #fff;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 19, 29, .42);
  z-index: 39;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 100%);
  z-index: 40;
  background: #fff;
  box-shadow: -20px 0 60px rgba(23, 19, 29, .2);
  transform: translateX(102%);
  transition: transform .25s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

body.drawer-open .drawer {
  transform: translateX(0);
}

body.drawer-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.drawer-head,
.drawer-foot {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head h2 {
  font-size: 22px;
  margin: 0;
}

.drawer-body {
  overflow: auto;
  padding: 18px;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--wash);
}

.cart-line h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.cart-meta {
  color: var(--muted);
  font-size: 13px;
}

.totals {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.total-row.big {
  font-size: 22px;
  font-weight: 900;
}

.checkout {
  display: grid;
  gap: 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 44px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.cart-full-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--leaf-deep);
  font-size: 13px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}


.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.office-results {
  display: grid;
  gap: 6px;
  max-height: 210px;
  overflow: auto;
  padding-right: 2px;
}

.office-result {
  width: 100%;
  border: 1px solid rgba(24, 138, 58, .18);
  border-radius: 12px;
  background: #fbfffc;
  color: var(--ink);
  padding: 10px 12px;
  display: grid;
  gap: 3px;
  text-align: left;
  cursor: pointer;
}

.office-result:hover,
.office-result.active {
  border-color: rgba(24, 138, 58, .58);
  box-shadow: 0 8px 20px rgba(24, 138, 58, .1);
}

.office-result strong {
  color: var(--leaf-deep);
  font-size: 13px;
}

.office-result span,
.office-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.office-empty {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

[hidden] {
  display: none !important;
}

.delivery-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.delivery-choice {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 10px;
  display: grid;
  gap: 6px;
  text-align: left;
  color: var(--ink);
  min-height: 88px;
}

.delivery-choice.active {
  border-color: rgba(24, 138, 58, .48);
  box-shadow: 0 8px 22px rgba(24, 138, 58, .12);
  background: #fbfffc;
}

.courier-logo {
  width: 126px;
  max-width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
}

.courier-logo svg {
  width: 100%;
  height: auto;
  display: block;
}

.checkout-page,
.profile-page,
.auth-page {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 20px;
  align-items: start;
}

.checkout-lines,
.checkout-line {
  display: grid;
  gap: 12px;
}

.checkout-line {
  grid-template-columns: 76px 1fr;
  align-items: center;
}

.checkout-line img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--wash);
}

.order-success {
  max-width: 760px;
  margin: 0 auto;
}

.page-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 22px;
  margin: 18px 0;
}

.club-card {
  border: 1px solid rgba(24, 138, 58, .18);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfffc, #f2fbf4);
  padding: 16px;
  margin: 14px 0;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--mint);
  color: var(--leaf-deep);
  font-weight: 900;
}

.level-badge.gold {
  background: #fff4cd;
  color: #8a6300;
}

.level-badge.vip {
  background: #f7e9f2;
  color: var(--rose);
}

.club-progress {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #dfeee4;
}

.club-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.club-level-card {
  border: 1px solid rgba(24, 138, 58, .16);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(23, 19, 29, .05);
}

.club-table {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.club-table > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-bottom: 1px solid var(--line);
}

.club-table > div:last-child {
  border-bottom: 0;
}

.club-table span,
.club-table strong {
  padding: 12px;
  background: #fff;
}

.order-history-row {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 8px;
  transition: border-color .2s ease, transform .2s ease;
}

.order-history-row:hover {
  border-color: rgba(24, 138, 58, .35);
  transform: translateY(-1px);
}

.customer-order-detail {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.order-detail-grid > div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: #fff;
}

.order-detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.club-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--leaf), #69c679);
}

.field.full {
  grid-column: 1 / -1;
}

.notice {
  border-left: 3px solid var(--leaf);
  background: var(--mint);
  padding: 12px;
  border-radius: var(--radius);
  color: var(--leaf-deep);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: opacity .2s ease, transform .2s ease;
  font-weight: 800;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(23, 19, 29, .55);
  padding: 18px;
  overflow: auto;
}

.modal.open {
  display: block;
}

.modal-panel {
  width: min(1040px, 100%);
  margin: 24px auto;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-media {
  background: var(--wash);
  min-height: 100%;
}

.modal-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.modal-content {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.close-btn {
  border: 0;
  background: var(--wash);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tier-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tier-option {
  position: relative;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fff8fb);
  padding: 14px 10px;
  display: grid;
  align-content: center;
  gap: 5px;
  text-align: center;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(23, 19, 29, .06);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.tier-option:hover,
.tier-option:focus-visible {
  border-color: rgba(182, 29, 122, .52);
  box-shadow: 0 14px 30px rgba(182, 29, 122, .12);
  transform: translateY(-1px);
}

.tier-option strong {
  font-size: 22px;
}

.tier-option span {
  color: var(--rose);
  font-weight: 900;
}

.tier-option small {
  color: var(--muted);
  font-weight: 750;
}

.tier {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--wash);
}

.product-usp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
  padding-top: 4px;
}

.product-usp {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  color: var(--muted);
}

.product-usp span {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(182, 29, 122, .26);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rose);
  background: #fff7fb;
  font-weight: 950;
}

.product-usp strong {
  color: var(--ink);
  font-size: 13px;
}

.product-usp small {
  font-size: 12px;
}

.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

.route-section {
  display: none;
  min-height: calc(100vh - 72px);
  background: var(--paper);
}

body.route-active .route-section {
  display: block;
}

body.route-active .home-only {
  display: none;
}

.route-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  gap: 34px;
  align-items: center;
  padding: 24px 0 12px;
}

.route-hero h1 {
  font-size: clamp(30px, 5vw, 44px);
}

.route-hero img,
.product-page-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--wash);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-thumbs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 5px;
  cursor: pointer;
}

.product-thumbs button.active {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(24, 138, 58, .12);
}

.product-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: none;
}

.old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 800;
}

.route-block {
  margin-top: 34px;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.product-page-content {
  display: grid;
  gap: 16px;
}

.product-page-content h1 {
  font-size: clamp(30px, 5vw, 44px);
}

.rich-text {
  color: var(--muted);
  font-size: 17px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 34px rgba(23, 19, 29, .06);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.steps-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step-card {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 19, 29, .06);
  min-width: 0;
  overflow-wrap: anywhere;
}

.step-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--leaf-deep);
  font-weight: 950;
  font-size: 22px;
  border: 1px solid rgba(24, 138, 58, .2);
}

.step-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 15px;
}

.weight-pill {
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.admin-shell {
  min-height: 100vh;
  background: var(--wash);
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  width: min(440px, 100%);
  display: grid;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 22px 55px rgba(23, 19, 29, .12);
}

.admin-login-card .brand {
  width: fit-content;
}

.admin-login-card .brand img {
  width: 116px;
}

.admin-login-card h1 {
  font-size: clamp(26px, 5vw, 34px);
}

.form-message {
  min-height: 20px;
  color: var(--rose);
  font-weight: 800;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  padding: 22px;
}

.admin-sidebar {
  position: sticky;
  top: 22px;
  height: calc(100vh - 44px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.admin-sidebar .brand {
  margin-bottom: 18px;
  justify-content: center;
}

.admin-sidebar .brand img {
  width: 132px;
}

.admin-menu {
  display: grid;
  gap: 8px;
  align-content: start;
}

.admin-menu button {
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .76);
  text-align: left;
  padding: 11px 12px;
  font-weight: 800;
}

.admin-menu button:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.admin-menu button.active {
  background: linear-gradient(135deg, rgba(55, 190, 89, .34), rgba(255, 255, 255, .14));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.admin-menu-group {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 6px;
  background: rgba(255, 255, 255, .04);
}

.admin-menu-group summary {
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 10px;
}

.admin-menu-group button {
  width: 100%;
}

.image-manager {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.image-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.image-thumb {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  background: #fff;
  display: grid;
  gap: 8px;
}

.image-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--wash);
}

.admin-main {
  min-width: 0;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-section {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(23, 19, 29, .06);
}

.admin-section.active {
  display: block;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.admin-list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.admin-list-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.admin-records {
  display: grid;
  gap: 10px;
}

.admin-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  border-left-width: 4px;
}

.admin-record.is-off {
  background: rgba(244, 241, 235, .65);
}

.admin-record.status-new,
.admin-record.status-confirmed {
  border-left-color: #2f80ed;
  background: linear-gradient(90deg, rgba(47, 128, 237, .08), #fff 42%);
}

.admin-record.status-sent {
  border-left-color: #9b6a17;
  background: linear-gradient(90deg, rgba(155, 106, 23, .08), #fff 42%);
}

.admin-record.status-completed {
  border-left-color: var(--leaf);
  background: linear-gradient(90deg, rgba(25, 151, 83, .09), #fff 42%);
}

.admin-record.status-cancelled {
  border-left-color: var(--rose);
  background: linear-gradient(90deg, rgba(176, 58, 70, .09), #fff 42%);
}

.admin-record-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-record-main strong {
  color: var(--ink);
}

.admin-record-main span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-pill {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--mint);
  color: var(--leaf-deep);
  font-size: 12px;
  font-weight: 900;
}

.admin-record.is-off .status-pill {
  background: #f4e8e8;
  color: var(--rose);
}

.order-status-badge {
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.order-status-badge.status-new,
.order-status-badge.status-confirmed {
  background: #eaf3ff;
  color: #1d5fbf;
}

.order-status-badge.status-sent {
  background: #fff6df;
  color: #8a5a0a;
}

.order-status-badge.status-completed {
  background: var(--mint);
  color: var(--leaf-deep);
}

.order-status-badge.status-cancelled {
  background: #f8e5e8;
  color: var(--rose);
}

.admin-record-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.admin-record-actions button,
.table-action {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 850;
  cursor: pointer;
}

.admin-record-actions button:hover,
.table-action:hover {
  border-color: rgba(24, 138, 58, .4);
  color: var(--leaf-deep);
}

.admin-record-actions .danger,
.table-action.danger,
button.danger {
  border-color: rgba(166, 42, 75, .28);
  color: var(--rose);
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-filters input,
.admin-filters select {
  min-height: 42px;
}

.admin-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.admin-pagination .row-actions {
  flex-wrap: wrap;
}

.admin-editor-panel {
  border: 1px solid rgba(24, 138, 58, .22);
  border-radius: var(--radius);
  padding: 14px;
  background: linear-gradient(180deg, #fff, #f8fbf6);
  display: grid;
  gap: 14px;
}

.admin-editor-page {
  display: grid;
  gap: 16px;
}

.admin-editor-page .admin-editor-panel {
  border-color: var(--line);
}

.admin-print-head {
  display: none;
}

.order-print-sheet {
  display: none;
}

.print-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 6px;
  border-bottom: 1px solid #d8d8d8;
}

.print-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px solid #d8d8d8;
}

.print-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.print-table th,
.print-table td {
  border-bottom: 1px solid #ddd;
  padding: 5px 4px;
  text-align: left;
}

.print-totals {
  width: min(280px, 100%);
  margin: 8px 0 0 auto;
}

.print-totals p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 3px 0;
}

.print-totals .grand {
  border-top: 2px solid #111;
  font-size: 14px;
}

.print-note {
  border: 1px solid #ddd;
  padding: 6px;
  margin-top: 8px;
}

.order-items-editor {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.order-items-list {
  display: grid;
  gap: 8px;
}

.order-item-row {
  display: grid;
  grid-template-columns: 1fr .8fr minmax(180px, 2fr) 80px 100px 100px;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.order-item-row input {
  min-height: 38px;
  padding: 8px 10px;
}

.admin-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.admin-editor-head h3 {
  margin: 0;
}

.compact {
  min-height: auto;
  padding: 9px 12px;
}

.span-2 {
  grid-column: span 2;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav {
    display: flex;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: 124px;
    display: none;
    padding: 12px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: grid;
  }

  .hero {
    min-height: 520px;
    background:
      linear-gradient(90deg, rgba(10, 8, 9, .78) 0%, rgba(10, 8, 9, .55) 36%, rgba(10, 8, 9, .16) 68%, rgba(10, 8, 9, .42) 100%),
      url("../img/products/program-hero.jpg") center center / cover no-repeat;
  }

  .hero-inner,
  .story,
  .modal-grid,
  .route-hero,
  .product-page,
  .contact-layout,
  .checkout-page,
  .profile-page,
  .auth-page,
  .admin-record,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .feature-grid,
  .timeline,
  .steps-flow,
  .delivery-choices,
  .club-levels,
  .tier-picker,
  .product-usp-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .order-item-row,
  .order-detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-record-actions,
  .admin-editor-head {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 22px));
  }

  .brand img {
    width: 88px;
  }

  .nav {
    gap: 10px;
  }

  .nav-actions {
    gap: 6px;
  }

  .icon-btn,
  .menu-btn {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 540px;
    padding: 38px 0;
    background:
      linear-gradient(180deg, rgba(10, 8, 9, .58) 0%, rgba(10, 8, 9, .42) 34%, rgba(10, 8, 9, .72) 100%),
      url("../img/products/program-hero.jpg") 62% center / cover no-repeat;
  }

  .hero-inner {
    min-height: 460px;
    align-items: end;
  }

  .hero h1 {
    max-width: 330px;
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.05;
  }

  .hero p {
    max-width: 340px;
    font-size: 16px;
  }

  .product-grid,
  .feature-grid,
  .timeline,
  .steps-flow,
  .trust-grid,
  .delivery-choices,
  .club-levels,
  .tier-picker,
  .product-usp-grid,
  .footer-grid,
  .admin-grid,
  .field-grid,
  .admin-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-top: 34px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-brand-col {
    order: -1;
  }

  .footer-logo {
    padding: 12px;
  }

  .footer-logo img {
    width: 124px;
  }

  .club-table > div,
  .order-item-row,
  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    display: block;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-actions .btn {
    width: 100%;
  }

  .product-body .chips {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-body .tag {
    text-align: center;
  }

  .drawer-head,
  .drawer-foot,
  .drawer-body,
  .modal-content {
    padding: 14px;
  }

  .modal-media img {
    min-height: 320px;
  }

  .admin-layout {
    padding: 10px;
  }

  .admin-top {
    display: grid;
    align-items: start;
  }

  .admin-top .row-actions,
  .admin-top .btn {
    width: 100%;
  }

  .admin-top .row-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  body.admin-shell {
    background: #fff;
    color: #111;
    font-size: 11px;
  }

  .admin-sidebar,
  .admin-top,
  .admin-menu,
  .admin-editor-head .row-actions,
  .toast {
    display: none !important;
  }

  .admin-layout {
    display: block;
    padding: 0;
  }

  .admin-section {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .admin-print-head {
    display: none;
  }

  .order-print-sheet {
    display: block !important;
  }

  .admin-editor-panel {
    display: block;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .admin-grid {
    display: block;
  }

  .admin-grid > :not(.order-print-sheet) {
    display: none !important;
  }
}

.product-faq {
  margin-top: 18px;
}

.product-faq h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.admin-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.courier-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.courier-settings-grid > div,
.waybill-panel {
  background: rgba(255, 255, 255, .72);
}

.courier-settings-grid h4 {
  margin: 0 0 8px;
  color: var(--leaf-dark);
}

.waybill-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.waybill-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  padding: 10px 0;
}

.waybill-summary p,
.waybill-preview p {
  margin: 0;
}

.notice.danger {
  border-left-color: #c0392b;
  background: #fff1f0;
  color: #8a1f16;
}

@media (max-width: 820px) {
  .admin-item-head,
  .courier-settings-grid,
  .waybill-controls,
  .waybill-summary {
    grid-template-columns: 1fr;
  }

  .admin-item-head {
    align-items: stretch;
    flex-direction: column;
  }
}

.address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 12px;
  align-items: start;
}

.delivery-address-field label + input,
.delivery-address-field .address-row + .office-results {
  margin-bottom: 10px;
}

@media (max-width: 560px) {
  .address-row {
    grid-template-columns: 1fr;
  }
}
