:root {
  --bg: #f5f2ea;
  --paper: #fbfaf5;
  --paper-strong: #fffdf7;
  --ink: #20251d;
  --muted: #6e7368;
  --olive: #556b35;
  --olive-dark: #334222;
  --sage: #829268;
  --mist: #ecefdf;
  --line: #ded8c9;
  --gold: #b49a54;
  --shadow: 0 18px 50px rgba(47, 43, 31, 0.09);
  --radius: 8px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

html[data-theme="dark"] {
  --bg: #1b1c18;
  --paper: #23251f;
  --paper-strong: #292b24;
  --ink: #ecede5;
  --muted: #b3b6aa;
  --olive: #9eaa79;
  --olive-dark: #b1bd8a;
  --sage: #707c55;
  --mist: #353a2f;
  --line: #3b3e34;
  --gold: #d9bc70;
  --shadow: 0 20px 56px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
footer[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 0%, rgba(130, 146, 104, 0.1), transparent 28rem),
    linear-gradient(180deg, #fbfaf5 0%, var(--bg) 46%, #f1ede2 100%);
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(222, 216, 201, 0.82);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(85, 107, 53, 0.34);
  border-radius: 50%;
  background: #fbfaf5;
  box-shadow: 0 10px 24px rgba(51, 61, 31, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
}

html[data-theme="dark"] .brand-mark {
  border-color: rgba(158, 170, 121, 0.46);
  background: #f5efe4;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.desktop-nav a,
.mobile-menu a,
.site-footer a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-menu a:hover,
.site-footer a:hover {
  color: var(--olive);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-button,
.cart-button,
.menu-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.74);
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icon-button:hover,
.cart-button:hover,
.menu-button:hover {
  background: var(--olive);
  color: #fff;
  transform: translateY(-1px);
}

.icon-button svg,
.cart-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-toggle .theme-icon {
  grid-area: 1 / 1;
}

.theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun {
  display: block;
}

.cart-button svg {
  transform: none;
}

.header-actions a.icon-button svg {
  fill: currentColor;
  stroke: none;
}

.cart-button {
  position: relative;
}

.cart-button span {
  position: absolute;
  top: 1px;
  right: 1px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.cart-button:hover span {
  background: var(--paper-strong);
  color: var(--olive);
}

.menu-button {
  display: none;
  gap: 4px;
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.search-panel,
.mobile-menu {
  position: fixed;
  z-index: 45;
  left: 50%;
  width: min(620px, calc(100% - 32px));
  max-width: calc(100vw - 32px);
  transform: translate(-50%, -18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.97);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.search-panel {
  top: 88px;
  padding: 18px;
}

.search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.search-panel.is-open,
.mobile-menu.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.search-panel label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-panel-head label {
  display: block;
}

.search-close-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: auto;
  height: 32px;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.search-close-button:hover {
  border-color: var(--line);
  background: var(--paper-strong);
  color: var(--ink);
}

.search-close-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.search-close-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.search-panel input,
.catalog-toolbar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--ink);
  outline: none;
}

.search-panel input {
  min-height: 48px;
  padding: 0 14px;
}

.mobile-menu {
  top: 86px;
  display: grid;
  gap: 2px;
  padding: 10px;
}

.mobile-menu a {
  padding: 14px;
  border-radius: 6px;
  font-weight: 600;
}

.mobile-menu button {
  padding: 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
}

.mobile-menu a:hover {
  background: var(--mist);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 82px);
  margin: -82px auto 0;
  padding: 130px 0 52px;
}

.hero-copy {
  max-width: 595px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--olive);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 670px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
}

.hero-lead {
  max-width: 490px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--olive);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.primary-button {
  background: var(--olive);
  color: #fff;
}

.primary-button:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-1px);
}

.secondary-button,
.ghost-button {
  background: transparent;
  color: var(--olive-dark);
}

.secondary-button:hover,
.ghost-button:hover {
  background: var(--olive);
  color: #fff;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 560px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.trust-list strong {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--sage);
  border-radius: 50%;
  color: var(--olive);
  font-size: 12px;
}

.trust-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-visual {
  min-height: 560px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(245, 242, 234, 0.14), rgba(245, 242, 234, 0)),
    url("./public/assets/generated/hero-greenhill-ai.png") center / cover no-repeat;
  box-shadow: 0 30px 80px rgba(55, 49, 31, 0.13);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0;
}

.section-heading {
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2 {
  margin-inline: auto;
  max-width: 760px;
}

.category-hint {
  max-width: 520px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.goal-picker {
  padding-top: 42px;
}

.goal-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
  gap: 16px;
  align-items: stretch;
}

.goal-intro-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(163, 176, 127, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 14%, rgba(177, 190, 139, 0.24), transparent 30%),
    linear-gradient(145deg, rgba(77, 88, 49, 0.97), rgba(43, 51, 31, 0.97)),
    var(--olive);
  box-shadow: var(--shadow);
  color: #fff;
}

.goal-intro-card .eyebrow {
  color: var(--mist);
}

.goal-intro-card h2 {
  max-width: 520px;
  margin: 14px 0 18px;
  color: #fff;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 0.95;
}

.goal-intro-card p:not(.eyebrow) {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.65;
}

.goal-intro-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  margin-top: 30px;
  color: #fff;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.goal-intro-link:hover {
  border-color: var(--paper-strong);
  background: var(--paper-strong);
  color: var(--olive-dark);
  transform: translateY(-1px);
}

.goal-list,
.goal-extra,
.goal-grid {
  display: grid;
  gap: 14px;
}

.goal-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.goal-extra,
.goal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.goal-extra[hidden] {
  display: none;
}

.goal-card {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.94);
  box-shadow: 0 14px 34px rgba(71, 81, 49, 0.07);
  text-align: left;
}

.goal-list .goal-card {
  min-height: 222px;
  padding: 20px;
}

.goal-list .goal-card:nth-child(5) {
  grid-column: 1 / -1;
  min-height: 190px;
}

.goal-card div > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--olive);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.goal-card h3 {
  margin: 18px 0 10px;
  font-size: 21px;
  line-height: 1.16;
}

.goal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.goal-card ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}

.goal-card li {
  position: relative;
  padding-left: 14px;
}

.goal-card li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.goal-button {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: auto;
  background: transparent;
  color: var(--olive-dark);
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.goal-card:hover .goal-button,
.goal-button:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: #fff;
  transform: translateY(-1px);
}

.goal-card.is-accent {
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(77, 88, 49, 0.95), rgba(51, 61, 31, 0.95)),
    var(--olive);
  color: #fff;
}

.goal-card.is-accent div > span {
  background: rgba(255, 255, 255, 0.14);
  color: #f4f1de;
}

.goal-card.is-accent p {
  color: rgba(255, 255, 255, 0.78);
}

.goal-card.is-accent .goal-button {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.goal-card.is-accent .goal-button:hover {
  border-color: var(--paper-strong);
  background: var(--paper-strong);
  color: var(--olive-dark);
}

.goal-toggle {
  display: flex;
  width: min(320px, 100%);
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 18px auto 0;
  background: var(--paper);
  color: var(--olive-dark);
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.goal-toggle:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: #fff;
  transform: translateY(-1px);
}

.budget-picker {
  padding-top: 34px;
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.budget-card {
  position: relative;
  display: flex;
  min-height: 282px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(251, 250, 245, 0.96), rgba(239, 241, 228, 0.7)),
    rgba(251, 250, 245, 0.94);
  box-shadow: 0 14px 34px rgba(71, 81, 49, 0.07);
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.budget-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--olive), var(--sage), transparent);
  opacity: 0.44;
  content: "";
}

.budget-card:hover,
.budget-card.is-active {
  border-color: var(--sage);
  box-shadow: 0 16px 38px rgba(71, 81, 49, 0.13);
  transform: translateY(-2px);
}

.budget-card.is-active::before {
  opacity: 0.9;
}

.budget-card.is-featured {
  border-color: rgba(81, 100, 52, 0.34);
  background:
    linear-gradient(145deg, rgba(236, 239, 223, 0.92), rgba(251, 250, 245, 0.92)),
    rgba(251, 250, 245, 0.96);
}

.budget-card div > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--olive);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.budget-card h3 {
  margin: 18px 0 10px;
  font-size: 30px;
  line-height: 1.05;
}

.budget-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.budget-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 20px 0 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

.budget-card li {
  position: relative;
  padding-left: 17px;
}

.budget-card li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.budget-card.is-active .goal-button {
  border-color: var(--olive);
  background: var(--olive);
  color: #fff;
}

.goal-quiz {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 18px;
  background:
    linear-gradient(135deg, rgba(130, 146, 104, 0.11), rgba(251, 250, 245, 0.9)),
    rgba(251, 250, 245, 0.95);
  box-shadow: 0 18px 46px rgba(71, 81, 49, 0.08);
}

.goal-quiz-copy h3 {
  max-width: 360px;
  margin: 0 0 12px;
  font-size: 27px;
  line-height: 1.12;
}

.goal-quiz-copy p:not(.eyebrow),
.goal-quiz-result p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.goal-quiz-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.goal-quiz label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.goal-quiz input,
.goal-quiz select,
.goal-quiz textarea,
.goal-quiz-result textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.goal-quiz input,
.goal-quiz select {
  min-height: 46px;
  padding: 0 13px;
}

.goal-quiz textarea,
.goal-quiz-result textarea {
  min-height: 94px;
  padding: 12px 13px;
  resize: vertical;
}

.goal-quiz input:focus,
.goal-quiz select:focus,
.goal-quiz textarea:focus,
.goal-quiz-result textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(126, 141, 99, 0.16);
}

.goal-quiz-wide,
.goal-quiz-actions,
.goal-quiz-result {
  grid-column: 2;
}

.goal-quiz-wide {
  grid-column: 1 / -1;
}

.goal-quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.goal-quiz-result {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.86);
}

.goal-quiz-result[hidden] {
  display: none;
}

.goal-quiz-result strong {
  display: block;
  margin-bottom: 5px;
}

.goal-quiz-result textarea {
  min-height: 184px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.94);
  color: var(--ink);
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-card.is-active {
  border-color: var(--sage);
  box-shadow: 0 14px 34px rgba(71, 81, 49, 0.1);
  transform: translateY(-2px);
}

.category-card span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.category-card small {
  display: grid;
  flex: 0 0 32px;
  min-width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--olive);
  font-size: 12px;
  font-weight: 800;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.quick-filter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.quick-filter:hover,
.quick-filter.is-active {
  border-color: var(--olive);
  background: var(--olive);
  color: #fff;
  transform: translateY(-1px);
}

.quick-filter small {
  display: inline-grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 999px;
  background: var(--mist);
  color: var(--olive);
  font-size: 11px;
  font-weight: 900;
}

.quick-filter:hover small,
.quick-filter.is-active small {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.reset-filter {
  display: none;
  border-style: dashed;
  background: transparent;
}

.reset-filter.is-visible {
  display: inline-flex;
}

.goal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(81, 100, 52, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(236, 239, 223, 0.9), rgba(251, 250, 245, 0.92));
}

.goal-summary[hidden] {
  display: none;
}

.goal-summary h3 {
  margin: 3px 0 6px;
  font-size: 24px;
}

.goal-summary p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.goal-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.goal-summary-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 245, 0.78);
  color: var(--olive);
  font-size: 12px;
  font-weight: 800;
}

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.catalog-toolbar select {
  width: 245px;
  min-height: 44px;
  padding: 0 12px;
}

.stock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.stock-toggle input {
  accent-color: var(--olive);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 38%),
    var(--paper-strong);
  box-shadow: 0 14px 30px rgba(45, 42, 31, 0.07);
  isolation: isolate;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(130, 146, 104, 0.14), transparent 150px),
    linear-gradient(180deg, transparent 58%, rgba(85, 107, 53, 0.06));
  opacity: 0;
  transition: opacity 0.2s ease;
  content: "";
}

.product-card:hover {
  border-color: rgba(85, 107, 53, 0.38);
  box-shadow: 0 18px 42px rgba(45, 42, 31, 0.11);
  transform: translateY(-2px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card.is-out {
  border-style: dashed;
}

.favorite-button {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(222, 216, 201, 0.9);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.9);
  color: var(--muted);
  box-shadow: 0 10px 24px rgba(45, 42, 31, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.favorite-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 2;
}

.favorite-button:hover,
.favorite-button.is-active {
  border-color: var(--olive);
  background: var(--olive);
  color: #fff;
  transform: translateY(-1px);
}

.favorite-button.is-active svg {
  fill: currentColor;
}

.product-media {
  position: relative;
  display: grid;
  min-height: 206px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.72), transparent 54%),
    #f2efe6;
}

.product-media::after {
  position: absolute;
  right: 18%;
  bottom: 15px;
  left: 18%;
  height: 12px;
  border-radius: 999px;
  background: rgba(45, 42, 31, 0.09);
  filter: blur(10px);
  content: "";
}

.product-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 176px;
  border: 0;
  border-radius: 0;
  background: transparent center / contain no-repeat;
  transition: transform 0.2s ease;
}

.product-card:hover .product-image {
  transform: scale(1.025);
}

.product-card.is-out .product-image {
  opacity: 0.72;
  filter: saturate(0.78);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
}

.product-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.product-title:hover {
  color: var(--olive-dark);
}

.product-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 10px;
}

.product-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
}

.product-category {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-price {
  display: grid;
  min-width: max-content;
}

.product-price strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.stock-in,
.stock-out {
  display: inline-flex;
  align-items: center;
  min-width: fit-content;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.stock-in {
  border-color: rgba(85, 107, 53, 0.16);
  background: rgba(130, 146, 104, 0.12);
  color: #4f6a32;
}

.stock-out {
  border-color: rgba(155, 107, 57, 0.18);
  background: rgba(180, 154, 84, 0.12);
  color: #9b6b39;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 8px;
}

.details-button {
  min-width: 112px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.74);
  color: var(--olive);
  font-size: 12px;
  font-weight: 800;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.details-button:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: #fff;
  transform: translateY(-1px);
}

.product-actions [data-add-to-cart] {
  display: grid;
  place-items: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--olive);
  background: var(--olive);
  color: #fff;
  line-height: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product-actions [data-add-to-cart]:hover {
  border-color: var(--olive-dark);
  background: var(--olive-dark);
  transform: translateY(-1px);
}

.product-actions [data-add-to-cart]:disabled {
  cursor: not-allowed;
  border-color: var(--line);
  background: #e7e1d4;
  color: #aaa392;
}

.product-actions [data-add-to-cart]:disabled:hover {
  border-color: var(--line);
  background: #e7e1d4;
  color: #aaa392;
  transform: none;
}

.product-actions [data-add-to-cart] svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: none;
}

.load-more {
  display: flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0;
  padding: 0 22px;
  border: 1px solid var(--olive);
  border-radius: 7px;
  background: transparent;
  color: var(--olive);
  font-weight: 800;
}

.catalog-error {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  width: min(1180px, calc(100% - 40px));
  min-height: 362px;
  margin: 34px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(55, 49, 31, 0.1);
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 46px);
}

.about-copy h2 {
  margin-bottom: 14px;
}

.about-copy p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.7;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}

.about-points span {
  display: grid;
  min-height: 62px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.about-visual {
  min-height: 330px;
  background: url("./public/assets/generated/about-greenhill-ai.png") center / cover no-repeat;
}

.benefit-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.benefit-grid article,
.review-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.9);
  box-shadow: 0 14px 34px rgba(51, 61, 31, 0.06);
}

.benefit-grid article {
  padding: 24px;
}

.benefit-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--olive);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
}

.benefit-grid h3,
.site-footer h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.benefit-grid p,
.review-grid p,
.site-footer p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.order-flow {
  display: grid;
  gap: 18px;
}

.order-flow-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(246, 244, 236, 0.96), rgba(238, 241, 226, 0.84)),
    var(--paper);
  padding: 28px 32px;
  box-shadow: 0 14px 34px rgba(51, 61, 31, 0.06);
}

.order-flow-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
}

.order-flow-copy p:not(.eyebrow) {
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.order-flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.order-flow-steps::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: var(--line);
}

.order-flow-steps article {
  position: relative;
  z-index: 1;
  min-height: 186px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.94);
  padding: 24px;
  box-shadow: 0 12px 28px rgba(51, 61, 31, 0.05);
}

.order-flow-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--olive-dark);
  font-size: 15px;
  font-weight: 800;
}

.order-flow-steps h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.order-flow-steps p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.telegram-channel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(85, 107, 53, 0.16);
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  isolation: isolate;
}

.telegram-channel::before {
  content: "";
  position: absolute;
  inset: -38px;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(251, 250, 245, 0.82), rgba(251, 250, 245, 0.68)),
    url("./public/assets/generated/about-greenhill-hq.png") center / cover no-repeat;
  filter: blur(10px) saturate(0.9);
  transform: scale(1.04);
}

.telegram-channel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(251, 250, 245, 0.72) 0%, rgba(251, 250, 245, 0.48) 48%, rgba(226, 221, 203, 0.5) 100%),
    radial-gradient(ellipse at 78% 8%, rgba(158, 170, 121, 0.2), transparent 34%);
}

.telegram-channel-copy,
.telegram-channel-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.84);
  box-shadow: 0 14px 34px rgba(51, 61, 31, 0.08);
  backdrop-filter: blur(12px);
}

.telegram-channel-copy {
  padding: 30px;
}

.telegram-channel-copy h2 {
  max-width: 620px;
  margin: 0 0 18px;
  font-size: clamp(34px, 4.1vw, 50px);
}

.telegram-channel-copy p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.telegram-channel-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  overflow: hidden;
  padding: 30px;
}

.telegram-channel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(158, 170, 121, 0.14), transparent 44%),
    radial-gradient(circle at 88% 18%, rgba(180, 154, 84, 0.14), transparent 30%);
}

.telegram-channel-card > * {
  position: relative;
}

.telegram-channel-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(85, 107, 53, 0.24);
  border-radius: 50%;
  background: var(--olive-dark);
  color: var(--paper);
}

.telegram-channel-mark svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.telegram-channel-card h3 {
  margin: 2px 0 12px;
  font-size: 24px;
}

.telegram-channel-card p {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.telegram-channel-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.reviews {
  padding-bottom: 72px;
}

.reviews-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.reviews-heading h2 {
  margin-inline: 0;
}

.review-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.review-carousel {
  position: relative;
}

.review-grid {
  display: flex;
  grid-template-columns: none;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scroll-padding: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-grid::-webkit-scrollbar {
  display: none;
}

.review-grid article {
  display: flex;
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 320px;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
  scroll-snap-align: start;
}

.review-grid article.review-card--photo {
  padding: 0;
}

.review-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #efeadf;
}

.review-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.stars {
  margin-bottom: 12px;
  color: var(--olive);
  font-size: 22px;
  letter-spacing: 1px;
  line-height: 1;
}

.review-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(81, 100, 52, 0.22);
  border-radius: 999px;
  background: var(--mist);
  color: var(--olive);
  font-size: 12px;
  font-weight: 900;
}

.review-content p {
  flex: 1;
}

.review-grid strong {
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-top,
.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 36px;
  padding: 42px 0 30px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer h3 {
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 14px;
}

.telegram-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  color: var(--olive) !important;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom .footer-disclaimer {
  max-width: 680px;
  line-height: 1.5;
  text-align: right;
}

.footer-bottom .creator-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--muted) !important;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer-bottom .creator-credit strong {
  color: var(--olive);
  font-weight: 700;
}

.footer-bottom .creator-credit:hover strong {
  color: var(--olive-dark);
}

.cart-drawer,
.product-drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(420px, 100%);
  height: 100vh;
  background: var(--paper);
  box-shadow: -24px 0 70px rgba(29, 30, 24, 0.18);
  transform: translateX(105%);
  transition: transform 0.25s ease;
}

.product-drawer {
  width: min(720px, 100%);
  grid-template-rows: auto 1fr;
}

.cart-drawer.is-open,
.product-drawer.is-open {
  transform: translateX(0);
}

.cart-head,
.cart-footer {
  padding: 22px;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  font-size: 36px;
}

.cart-items {
  overflow-y: auto;
  padding: 8px 22px;
}

.cart-empty {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 100%;
  color: var(--muted);
  text-align: center;
}

.cart-empty-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(81, 100, 52, 0.18);
  border-radius: 999px;
  background: var(--mist);
  color: var(--olive);
}

.cart-empty-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-empty h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.cart-empty p {
  max-width: 330px;
  margin: 0 auto;
  line-height: 1.55;
}

.cart-empty-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.cart-empty-actions .primary-button,
.cart-empty-actions .secondary-button {
  width: 100%;
  min-height: 46px;
}

.cart-item {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 66px;
  height: 66px;
  border-radius: var(--radius);
  object-fit: cover;
  background: #efeadf;
}

.cart-placeholder {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: var(--radius);
  background: #efeadf;
  color: var(--olive);
  font-weight: 900;
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.qty-control {
  display: grid;
  grid-template-columns: 30px 30px 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.qty-control button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--olive);
  font-weight: 800;
}

.qty-control span {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.cart-footer {
  border-top: 1px solid var(--line);
}

.cart-assurance {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid rgba(126, 141, 99, 0.26);
  border-radius: 8px;
  background: var(--mist);
}

.cart-assurance span {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.cart-assurance span::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sage);
  content: "";
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 18px;
}

.cart-footer .primary-button {
  width: 100%;
}

.cart-actions {
  display: grid;
  gap: 10px;
}

.cart-actions .primary-button,
.cart-actions .secondary-button {
  width: 100%;
}

.cart-footer .primary-button:disabled,
.cart-actions .secondary-button:disabled,
.checkout-actions .primary-button:disabled {
  cursor: not-allowed;
  border-color: #aaa392;
  background: #aaa392;
  transform: none;
}

.checkout-dialog {
  position: fixed;
  z-index: 90;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100% - 32px));
  max-height: min(850px, calc(100vh - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(29, 30, 24, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 18px));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.account-dialog {
  position: fixed;
  z-index: 90;
  top: 50%;
  left: 50%;
  width: min(920px, calc(100% - 32px));
  max-height: min(850px, calc(100vh - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(29, 30, 24, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 18px));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.checkout-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.quick-order-dialog {
  position: fixed;
  z-index: 91;
  top: 50%;
  left: 50%;
  width: min(560px, calc(100% - 32px));
  max-height: min(720px, calc(100vh - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(29, 30, 24, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 18px));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.quick-order-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.quick-order-head > div {
  min-width: 0;
}

.quick-order-head p:not(.eyebrow) {
  max-width: 410px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.quick-order-form {
  max-height: calc(min(720px, 100vh - 32px) - 118px);
  overflow-y: auto;
  padding: 22px 28px 28px;
}

.quick-order-cart {
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid #d8ddca;
  border-radius: var(--radius);
  background: var(--mist);
}

.quick-order-cart-items {
  display: grid;
}

.quick-order-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(126, 141, 99, 0.2);
}

.quick-order-cart-item:first-child {
  padding-top: 0;
}

.quick-order-cart-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.quick-order-cart-item > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.quick-order-cart-item span {
  color: var(--muted);
  font-size: 12px;
}

.quick-order-cart-item strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.quick-order-cart-item > strong {
  color: var(--olive-dark);
  white-space: nowrap;
}

.quick-order-cart-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(126, 141, 99, 0.26);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quick-order-cart-total strong {
  color: var(--ink);
  font-size: 16px;
}

.quick-order-note {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-left: 2px solid var(--sage);
  border-radius: 0 6px 6px 0;
  background: rgba(126, 141, 99, 0.08);
}

.quick-order-note strong {
  color: var(--olive-dark);
  font-size: 13px;
}

.quick-order-note span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.quick-order-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.quick-order-fields label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.quick-order-fields label > span em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.quick-order-fields input:not([type="checkbox"]),
.quick-order-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.quick-order-fields input:not([type="checkbox"]) {
  min-height: 46px;
  padding: 0 12px;
}

.quick-order-fields textarea {
  min-height: 88px;
  padding: 11px 12px;
  resize: vertical;
}

.quick-order-fields input:focus,
.quick-order-fields textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(126, 141, 99, 0.15);
}

.quick-order-fields label:nth-child(3),
.quick-order-fields label:nth-child(4),
.quick-order-fields .consent {
  grid-column: 1 / -1;
}

.account-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.checkout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 28px 20px;
  border-bottom: 1px solid var(--line);
}

.checkout-head .eyebrow {
  margin-bottom: 7px;
}

.checkout-head h2 {
  font-size: 36px;
}

.checkout-form {
  max-height: calc(min(850px, 100vh - 32px) - 118px);
  overflow-y: auto;
  padding: 22px 28px 28px;
}

.checkout-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid #d8ddca;
  border-radius: var(--radius);
  background: var(--mist);
}

.checkout-summary div {
  display: grid;
  gap: 7px;
}

.checkout-summary span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.checkout-summary > strong {
  min-width: fit-content;
  color: var(--olive-dark);
  font-size: 18px;
}

.checkout-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: -8px 0 22px;
}

.checkout-assurance div {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(126, 141, 99, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(232, 237, 220, 0.72), rgba(251, 250, 245, 0.94));
}

.checkout-assurance strong {
  color: var(--olive-dark);
  font-size: 13px;
  line-height: 1.3;
}

.checkout-assurance span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.checkout-disclaimer {
  margin: -6px 0 22px;
  padding: 10px 12px;
  border-left: 2px solid var(--sage);
  border-radius: 0 6px 6px 0;
  background: rgba(126, 141, 99, 0.07);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkout-fields label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.checkout-fields label > span em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.checkout-fields input:not([type="checkbox"]),
.checkout-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-fields input:not([type="checkbox"]) {
  min-height: 46px;
  padding: 0 12px;
}

.checkout-fields textarea {
  padding: 11px 12px;
  resize: vertical;
}

.checkout-fields input:focus,
.checkout-fields textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(126, 141, 99, 0.15);
}

.checkout-field-wide {
  grid-column: 1 / -1;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  padding-top: 2px;
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.consent input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--olive);
}

.honeypot {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.checkout-status {
  min-height: 20px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.checkout-status.is-success {
  color: #3f6729;
  font-weight: 700;
}

.checkout-status.is-error {
  color: #a54832;
  font-weight: 700;
}

.checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.checkout-actions .secondary-button,
.checkout-actions .primary-button {
  min-width: 190px;
}

.account-content {
  max-height: calc(min(850px, 100vh - 32px) - 118px);
  overflow-y: auto;
  padding: 22px 28px 28px;
}

.auth-card,
.account-empty {
  display: grid;
  gap: 18px;
  max-width: 430px;
  margin: 0 auto;
}

.account-empty {
  max-width: 560px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.76);
  text-align: center;
}

.account-empty h3,
.profile-panel h3,
.favorites-panel h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.account-empty p,
.account-note,
.account-row p,
.favorite-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ece8dc;
}

.auth-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-tabs button.is-active {
  background: var(--paper-strong);
  color: var(--olive);
  box-shadow: 0 8px 18px rgba(45, 42, 31, 0.08);
}

.auth-form,
.profile-form {
  display: grid;
  gap: 14px;
}

.profile-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form label,
.profile-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.auth-form input,
.profile-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-form input:focus,
.profile-form input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(126, 141, 99, 0.15);
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
}

.profile-panel,
.favorites-panel {
  display: grid;
  gap: 16px;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.compact-button {
  min-height: 38px;
  padding-inline: 15px;
  font-size: 12px;
}

.cms-panel {
  display: grid;
  gap: 18px;
}

.cms-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 2px;
}

.cms-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.cms-tabs button:hover,
.cms-tabs button.is-active {
  border-color: var(--sage);
  background: var(--mist);
  color: var(--olive-dark);
}

.cms-head {
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cms-head h3 {
  margin: 4px 0 8px;
  font-size: 24px;
}

.cms-head p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cms-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.76);
}

.cms-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.cms-card-head h4 {
  margin: 0;
  font-size: 20px;
}

.cms-card-note {
  max-width: 660px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cms-card-head span {
  min-width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cms-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cms-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.cms-form input,
.cms-form select,
.cms-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cms-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.cms-form textarea {
  min-height: 160px;
  padding-block: 12px;
  resize: vertical;
  line-height: 1.5;
}

.cms-product-picker {
  display: grid;
  gap: 8px;
}

.cms-product-picker p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.cms-form input:focus,
.cms-form select:focus,
.cms-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(126, 141, 99, 0.15);
}

.cms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cms-source {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cms-source summary {
  cursor: pointer;
  color: var(--olive-dark);
  font-weight: 900;
}

.cms-source p {
  margin: 10px 0 0;
}

.cms-content-groups {
  display: grid;
  gap: 10px;
}

.cms-content-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--paper-strong) 62%, transparent);
}

.cms-content-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 0 15px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.cms-content-group summary small {
  min-width: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--olive-dark);
  font-size: 11px;
  text-align: center;
}

.cms-content-group .cms-form {
  padding: 0 15px 15px;
}

.favorite-list {
  display: grid;
  gap: 12px;
}

.favorite-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.76);
}

.favorite-item img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #efeadf;
}

.favorite-item h4 {
  margin: 0 0 5px;
  font-size: 13px;
  line-height: 1.25;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-actions a {
  text-decoration: none;
}

[data-product-details] {
  overflow-y: auto;
  padding: 22px;
}

.detail-media {
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #efeadf center / contain no-repeat;
}

.detail-media.is-empty {
  display: grid;
  place-items: center;
  color: var(--olive);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 54px;
  font-weight: 800;
}

.detail-content {
  padding: 24px 0 0;
}

.detail-content h2 {
  margin-bottom: 16px;
  font-size: 34px;
  overflow-wrap: anywhere;
}

.detail-content p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  white-space: pre-line;
}

.detail-insights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0;
}

.detail-insights div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.76);
}

.detail-insights span {
  display: block;
  margin-bottom: 7px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-insights p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5 !important;
  white-space: normal !important;
}

.detail-facts {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-facts li {
  display: grid;
  grid-template-columns: minmax(118px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
}

.detail-facts strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.detail-facts span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-transform: none;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.detail-row strong {
  font-size: 24px;
}

.detail-content .primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.overlay {
  position: fixed;
  z-index: 70;
  inset: 0;
  background: rgba(24, 27, 19, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

html[data-theme="dark"] body {
  background: var(--bg);
}

html[data-theme="dark"] .site-header {
  background: rgba(27, 28, 24, 0.78);
}

html[data-theme="dark"] .desktop-nav,
html[data-theme="dark"] .desktop-nav a,
html[data-theme="dark"] .mobile-menu a,
html[data-theme="dark"] .mobile-menu button,
html[data-theme="dark"] .site-footer a {
  color: var(--ink);
}

html[data-theme="dark"] .icon-button,
html[data-theme="dark"] .cart-button,
html[data-theme="dark"] .menu-button {
  background: rgba(41, 43, 36, 0.9);
  color: var(--ink);
}

html[data-theme="dark"] .icon-button:hover,
html[data-theme="dark"] .cart-button:hover,
html[data-theme="dark"] .menu-button:hover {
  background: var(--olive);
  color: #171914;
}

html[data-theme="dark"] .cart-button span {
  border-color: var(--bg);
  background: var(--olive);
  color: #171914;
}

html[data-theme="dark"] .cart-button:hover span {
  background: var(--paper-strong);
  color: var(--olive-dark);
}

html[data-theme="dark"] .telegram-channel {
  border-color: rgba(158, 170, 121, 0.2);
  background: var(--paper);
}

html[data-theme="dark"] .telegram-channel::before {
  background:
    linear-gradient(90deg, rgba(27, 28, 24, 0.86), rgba(27, 28, 24, 0.72)),
    url("./public/assets/generated/about-greenhill-hq.png") center / cover no-repeat;
  filter: blur(12px) saturate(0.72) brightness(0.62);
}

html[data-theme="dark"] .telegram-channel::after {
  background:
    linear-gradient(135deg, rgba(27, 28, 24, 0.72) 0%, rgba(35, 37, 31, 0.5) 50%, rgba(41, 43, 36, 0.64) 100%),
    radial-gradient(ellipse at 76% 8%, rgba(158, 170, 121, 0.16), transparent 34%);
}

html[data-theme="dark"] .search-panel,
html[data-theme="dark"] .mobile-menu,
html[data-theme="dark"] .about-section,
html[data-theme="dark"] .goal-card,
html[data-theme="dark"] .goal-toggle,
html[data-theme="dark"] .budget-card,
html[data-theme="dark"] .goal-quiz,
html[data-theme="dark"] .goal-quiz-result,
html[data-theme="dark"] .goal-summary,
html[data-theme="dark"] .category-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .benefit-grid article,
html[data-theme="dark"] .order-flow-copy,
html[data-theme="dark"] .order-flow-steps article,
html[data-theme="dark"] .telegram-channel-copy,
html[data-theme="dark"] .telegram-channel-card,
html[data-theme="dark"] .review-grid article,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .cart-drawer,
html[data-theme="dark"] .product-drawer,
html[data-theme="dark"] .checkout-dialog,
html[data-theme="dark"] .quick-order-dialog,
html[data-theme="dark"] .account-dialog,
html[data-theme="dark"] .account-empty,
html[data-theme="dark"] .cms-card,
html[data-theme="dark"] .favorite-item,
html[data-theme="dark"] .detail-insights div {
  background: var(--paper);
}

html[data-theme="dark"] .search-panel input,
html[data-theme="dark"] .catalog-toolbar select,
html[data-theme="dark"] .stock-toggle,
html[data-theme="dark"] .quick-filter,
html[data-theme="dark"] .details-button,
html[data-theme="dark"] .auth-form input,
html[data-theme="dark"] .profile-form input,
html[data-theme="dark"] .cms-form input,
html[data-theme="dark"] .cms-form select,
html[data-theme="dark"] .cms-form textarea,
html[data-theme="dark"] .goal-quiz input,
html[data-theme="dark"] .goal-quiz select,
html[data-theme="dark"] .goal-quiz textarea,
html[data-theme="dark"] .goal-quiz-result textarea,
html[data-theme="dark"] .checkout-fields input:not([type="checkbox"]),
html[data-theme="dark"] .checkout-fields textarea,
html[data-theme="dark"] .quick-order-fields input:not([type="checkbox"]),
html[data-theme="dark"] .quick-order-fields textarea {
  border-color: var(--line);
  background: var(--paper-strong);
  color: var(--ink);
}

html[data-theme="dark"] .search-panel input::placeholder,
html[data-theme="dark"] .auth-form input::placeholder,
html[data-theme="dark"] .profile-form input::placeholder,
html[data-theme="dark"] .cms-form input::placeholder,
html[data-theme="dark"] .cms-form textarea::placeholder,
html[data-theme="dark"] .goal-quiz input::placeholder,
html[data-theme="dark"] .goal-quiz textarea::placeholder,
html[data-theme="dark"] .goal-quiz-result textarea::placeholder,
html[data-theme="dark"] .checkout-fields input::placeholder,
html[data-theme="dark"] .checkout-fields textarea::placeholder {
  color: #85897d;
}

html[data-theme="dark"] .quick-order-fields input::placeholder,
html[data-theme="dark"] .quick-order-fields textarea::placeholder {
  color: #85897d;
}

html[data-theme="dark"] .quick-order-cart {
  border-color: #41493a;
  background: #2b3027;
}

html[data-theme="dark"] .quick-order-note {
  background: rgba(158, 170, 121, 0.08);
}

html[data-theme="dark"] .mobile-menu a:hover,
html[data-theme="dark"] .mobile-menu button:hover {
  background: var(--paper-strong);
}

html[data-theme="dark"] .category-card:hover,
html[data-theme="dark"] .category-card.is-active,
html[data-theme="dark"] .quick-filter:hover,
html[data-theme="dark"] .quick-filter.is-active,
html[data-theme="dark"] .goal-card:hover,
html[data-theme="dark"] .budget-card:hover,
html[data-theme="dark"] .budget-card.is-active {
  border-color: var(--sage);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .category-card small,
html[data-theme="dark"] .goal-card div > span,
html[data-theme="dark"] .budget-card div > span,
html[data-theme="dark"] .goal-summary-tags span,
html[data-theme="dark"] .quick-filter small,
html[data-theme="dark"] .order-flow-steps span,
html[data-theme="dark"] .cart-empty-icon {
  background: #353a2f;
  color: var(--olive-dark);
}

html[data-theme="dark"] .goal-button {
  border-color: var(--line);
  color: var(--olive-dark);
}

html[data-theme="dark"] .goal-card:hover .goal-button,
html[data-theme="dark"] .goal-button:hover,
html[data-theme="dark"] .goal-toggle:hover,
html[data-theme="dark"] .budget-card.is-active .goal-button {
  border-color: var(--olive);
  background: var(--olive);
  color: #171914;
}

html[data-theme="dark"] .goal-card.is-accent {
  background:
    linear-gradient(145deg, rgba(65, 73, 49, 0.96), rgba(42, 47, 34, 0.96)),
    var(--paper);
}

html[data-theme="dark"] .goal-card.is-accent .goal-button:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: #171914;
}

html[data-theme="dark"] .goal-intro-card {
  background:
    radial-gradient(circle at 18% 14%, rgba(177, 190, 139, 0.17), transparent 31%),
    linear-gradient(145deg, rgba(67, 76, 50, 0.98), rgba(30, 36, 25, 0.98)),
    var(--paper);
}

html[data-theme="dark"] .goal-intro-card .eyebrow {
  color: #dfe9bf;
  text-shadow: 0 1px 14px rgba(223, 233, 191, 0.18);
}

html[data-theme="dark"] .budget-card,
html[data-theme="dark"] .budget-card.is-featured {
  background:
    linear-gradient(145deg, rgba(31, 36, 27, 0.96), rgba(25, 30, 23, 0.96)),
    var(--paper);
}

html[data-theme="dark"] .order-flow-copy {
  background:
    linear-gradient(135deg, rgba(45, 52, 36, 0.9), rgba(29, 34, 26, 0.96)),
    var(--paper);
}

html[data-theme="dark"] .order-flow-steps::before {
  background: #41493a;
}

html[data-theme="dark"] .product-media,
html[data-theme="dark"] .detail-media,
html[data-theme="dark"] .cart-item img,
html[data-theme="dark"] .cart-placeholder {
  background-color: #20221d;
}

html[data-theme="dark"] .product-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 42%),
    var(--paper);
}

html[data-theme="dark"] .product-card::before {
  background:
    radial-gradient(circle at 18% 0%, rgba(177, 190, 139, 0.14), transparent 150px),
    linear-gradient(180deg, transparent 58%, rgba(177, 190, 139, 0.055));
}

html[data-theme="dark"] .product-card:hover {
  border-color: rgba(177, 190, 139, 0.48);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .product-media {
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.06), transparent 54%),
    #20221d;
}

html[data-theme="dark"] .product-media::after {
  background: rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .favorite-button {
  border-color: var(--line);
  background: rgba(41, 43, 36, 0.92);
  color: var(--muted);
}

html[data-theme="dark"] .favorite-button:hover,
html[data-theme="dark"] .favorite-button.is-active {
  border-color: var(--olive);
  background: var(--olive);
  color: #171914;
}

html[data-theme="dark"] .primary-button {
  border-color: var(--olive);
  background: var(--olive);
  color: #171914;
}

html[data-theme="dark"] .primary-button:hover {
  border-color: var(--olive-dark);
  background: var(--olive-dark);
  color: #171914;
}

html[data-theme="dark"] .secondary-button,
html[data-theme="dark"] .ghost-button,
html[data-theme="dark"] .details-button {
  border-color: var(--sage);
  color: var(--olive-dark);
}

html[data-theme="dark"] .secondary-button:hover,
html[data-theme="dark"] .ghost-button:hover {
  background: var(--olive);
  color: #171914;
}

html[data-theme="dark"] .details-button:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: #171914;
}

html[data-theme="dark"] .stock-in {
  border-color: rgba(177, 189, 138, 0.22);
  background: rgba(177, 189, 138, 0.1);
  color: #b1bd8a;
}

html[data-theme="dark"] .stock-out {
  border-color: rgba(212, 166, 122, 0.2);
  background: rgba(212, 166, 122, 0.1);
  color: #d4a67a;
}

html[data-theme="dark"] .product-actions [data-add-to-cart]:disabled,
html[data-theme="dark"] .product-actions [data-add-to-cart]:disabled:hover {
  border-color: var(--line);
  background: #303329;
  color: #73786a;
}

html[data-theme="dark"] .about-points span,
html[data-theme="dark"] .cart-assurance,
html[data-theme="dark"] .checkout-assurance div,
html[data-theme="dark"] .checkout-summary,
html[data-theme="dark"] .auth-tabs {
  border-color: #41493a;
  background: #2b3027;
  color: var(--ink);
}

html[data-theme="dark"] .auth-tabs button.is-active {
  background: var(--paper-strong);
  color: var(--olive-dark);
}

html[data-theme="dark"] .benefit-grid p,
html[data-theme="dark"] .order-flow-copy p:not(.eyebrow),
html[data-theme="dark"] .order-flow-steps p,
html[data-theme="dark"] .telegram-channel-copy p:not(.eyebrow),
html[data-theme="dark"] .telegram-channel-card p,
html[data-theme="dark"] .review-grid p,
html[data-theme="dark"] .site-footer p,
html[data-theme="dark"] .product-body p,
html[data-theme="dark"] .goal-summary p:not(.eyebrow),
html[data-theme="dark"] .goal-quiz-copy p:not(.eyebrow),
html[data-theme="dark"] .goal-quiz-result p,
html[data-theme="dark"] .about-copy p:not(.eyebrow),
html[data-theme="dark"] .cart-assurance span,
html[data-theme="dark"] .checkout-assurance span,
html[data-theme="dark"] .checkout-disclaimer,
html[data-theme="dark"] .checkout-summary span {
  color: var(--muted);
}

html[data-theme="dark"] .checkout-disclaimer {
  border-color: var(--sage);
  background: rgba(158, 170, 121, 0.08);
}

html[data-theme="dark"] .telegram-link {
  color: var(--olive-dark) !important;
}

html[data-theme="dark"] .checkout-fields label,
html[data-theme="dark"] .quick-order-fields label,
html[data-theme="dark"] .auth-form label,
html[data-theme="dark"] .profile-form label,
html[data-theme="dark"] .cms-form label,
html[data-theme="dark"] .goal-quiz label,
html[data-theme="dark"] .goal-quiz-result strong,
html[data-theme="dark"] .consent,
html[data-theme="dark"] .checkout-summary > strong {
  color: var(--ink) !important;
}

html[data-theme="dark"] .checkout-fields input:focus,
html[data-theme="dark"] .auth-form input:focus,
html[data-theme="dark"] .profile-form input:focus,
html[data-theme="dark"] .cms-form input:focus,
html[data-theme="dark"] .cms-form select:focus,
html[data-theme="dark"] .cms-form textarea:focus,
html[data-theme="dark"] .goal-quiz input:focus,
html[data-theme="dark"] .goal-quiz select:focus,
html[data-theme="dark"] .goal-quiz textarea:focus,
html[data-theme="dark"] .goal-quiz-result textarea:focus,
html[data-theme="dark"] .checkout-fields textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(158, 170, 121, 0.2);
}

html[data-theme="dark"] .quick-order-fields input:focus,
html[data-theme="dark"] .quick-order-fields textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(158, 170, 121, 0.2);
}

html[data-theme="dark"] .overlay {
  background: rgba(0, 0, 0, 0.62);
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 126px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 440px;
    background-image: url("./public/assets/generated/hero-greenhill-ai.png");
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .goal-layout {
    grid-template-columns: 1fr;
  }

  .goal-intro-card {
    min-height: 340px;
  }

  .goal-list,
  .goal-grid,
  .goal-extra,
  .budget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .goal-quiz {
    grid-template-columns: 1fr;
  }

  .goal-quiz-wide,
  .goal-quiz-actions,
  .goal-quiz-result {
    grid-column: 1;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .telegram-channel {
    grid-template-columns: 1fr;
  }

  .order-flow-copy {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .order-flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-flow-steps::before {
    display: none;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .section,
  .about-section,
  .footer-top,
  .footer-bottom {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark,
  .brand-mark img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand small {
    text-align: left;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button,
  .cart-button,
  .menu-button {
    width: 38px;
    height: 38px;
  }

  .header-actions a.icon-button {
    display: none;
  }

  .header-actions .account-button {
    display: none;
  }

  .hero {
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(38px, 11.5vw, 48px);
    line-height: 1;
  }

  h2 {
    font-size: clamp(31px, 11vw, 42px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .trust-list,
  .goal-list,
  .goal-extra,
  .goal-grid,
  .budget-grid,
  .category-grid,
  .product-grid,
  .about-points,
  .benefit-grid,
  .order-flow-steps,
  .review-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .order-flow-copy,
  .order-flow-steps article {
    padding: 22px;
  }

  .telegram-channel-copy,
  .telegram-channel-card {
    padding: 22px;
  }

  .telegram-channel {
    padding: 14px;
  }

  .telegram-channel-card {
    grid-template-columns: 1fr;
  }

  .telegram-channel-actions .primary-button,
  .telegram-channel-actions .ghost-button {
    width: 100%;
  }

  .hero-visual {
    display: none;
  }

  .category-card {
    min-height: 124px;
  }

  .goal-intro-card {
    min-height: 0;
    padding: 22px;
  }

  .goal-intro-card h2 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .goal-intro-link,
  .goal-toggle {
    width: 100%;
  }

  .goal-card {
    min-height: 0;
    padding: 20px;
  }

  .budget-card {
    min-height: 0;
    padding: 20px;
  }

  .budget-card h3 {
    font-size: 28px;
  }

  .goal-quiz {
    gap: 20px;
    padding: 20px;
  }

  .goal-quiz-copy h3 {
    font-size: 23px;
  }

  .goal-quiz-fields {
    grid-template-columns: 1fr;
  }

  .goal-quiz-actions .primary-button,
  .goal-quiz-actions .secondary-button {
    width: 100%;
  }

  .catalog-toolbar,
  .goal-summary,
  .reviews-heading,
  .footer-bottom {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom .footer-disclaimer {
    max-width: none;
    text-align: left;
  }

  .catalog-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .stock-toggle,
  .catalog-toolbar select {
    width: 100%;
  }

  .review-controls {
    align-self: flex-end;
  }

  .review-grid article {
    flex-basis: min(100%, 340px);
    min-width: min(100%, 340px);
  }

  .quick-filters {
    gap: 8px;
  }

  .quick-filter {
    min-height: 40px;
    padding: 0 11px;
    font-size: 13px;
  }

  .goal-summary .compact-button {
    width: 100%;
  }

  .account-layout,
  .profile-form,
  .cms-form {
    grid-template-columns: 1fr;
  }

  .cms-card-head,
  .cms-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-row,
  .favorite-item {
    align-items: flex-start;
    grid-template-columns: 58px 1fr;
  }

  .favorite-item .compact-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .catalog-toolbar select {
    max-width: none;
  }

  .product-grid {
    gap: 16px;
  }

  .product-card {
    min-height: 0;
  }

  .product-media {
    min-height: 188px;
    padding: 14px;
  }

  .product-image {
    height: 160px;
  }

  .product-body {
    padding: 16px;
  }

  .price-row {
    align-items: flex-end;
  }

  .details-button {
    min-width: 108px;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 260px;
    order: -1;
  }

  .checkout-dialog {
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: min(90vh, 860px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    transform: translate(-50%, 105%);
  }

  .checkout-dialog.is-open {
    transform: translate(-50%, 0);
  }

  .quick-order-dialog {
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: min(90vh, 860px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: var(--radius) var(--radius) 0 0;
    transform: translate(-50%, 105%);
  }

  .quick-order-dialog.is-open {
    transform: translate(-50%, 0);
  }

  .checkout-head,
  .checkout-form {
    padding-right: 18px;
    padding-left: 18px;
  }

  .checkout-form {
    max-height: calc(min(90vh, 860px) - 108px);
  }

  .quick-order-head,
  .quick-order-form {
    padding-right: 18px;
    padding-left: 18px;
  }

  .quick-order-form {
    max-height: calc(min(90vh, 860px) - 108px);
  }

  .checkout-assurance {
    grid-template-columns: 1fr;
  }

  .checkout-assurance div {
    min-height: auto;
  }

  .checkout-fields {
    grid-template-columns: 1fr;
  }

  .quick-order-fields {
    grid-template-columns: 1fr;
  }

  .quick-order-fields label:nth-child(3),
  .quick-order-fields label:nth-child(4),
  .quick-order-fields .consent {
    grid-column: auto;
  }

  .checkout-field-wide {
    grid-column: auto;
  }

  .checkout-actions {
    flex-direction: column-reverse;
  }

  .checkout-actions .secondary-button,
  .checkout-actions .primary-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .brand-mark,
  .brand-mark img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    font-size: 11px;
  }

  .header-actions {
    gap: 4px;
  }

  .icon-button,
  .cart-button,
  .menu-button {
    width: 36px;
    height: 36px;
  }

  .header-actions a.icon-button {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    width: 100%;
  }
}
