:root {
  --paper: #f5f2eb;
  --ink: #1f251c;
  --muted: #66705d;
  --line: rgba(31, 37, 28, 0.12);
  --leaf: #2f7d4f;
  --leaf-dark: #225b3b;
  --orange: #e87524;
  --ruby: #b8324a;
  --blue: #2681d9;
  --white: #fffdf8;
  --shadow: 0 16px 42px rgba(42, 39, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background: var(--paper);
}

button,
a,
textarea {
  font: inherit;
}

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

.app {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--white);
}

.flow {
  padding: 22px 16px 28px;
}

.screen {
  display: none;
}

.screen--active {
  display: block;
  animation: screen-in 260ms ease both;
}

.screen__header {
  margin-bottom: 18px;
}

.screen__header h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.screen__header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.product-header {
  margin-bottom: 14px;
  padding-top: 58px;
}

.product-tags span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(47, 125, 79, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--leaf-dark);
  background: #f2f8ef;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
}

.about-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  border: 1px solid rgba(47, 125, 79, 0.22);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--leaf-dark);
  background: #fffdf8;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.about-link:hover,
.about-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 125, 79, 0.45);
  box-shadow: 0 8px 20px rgba(42, 39, 29, 0.08);
  outline: none;
}

.about-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.portal-actions {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  margin-top: 12px;
}

.portal-actions .about-link {
  min-height: 48px;
  flex: 0 0 auto;
  justify-content: center;
  margin-top: 0;
  white-space: nowrap;
}

.portal-button {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(31, 37, 28, 0.1);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: #fffdf8;
  cursor: pointer;
  text-align: left;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.portal-button:hover,
.portal-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 125, 79, 0.42);
  box-shadow: 0 10px 24px rgba(42, 39, 29, 0.1);
  outline: none;
}

.portal-button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.portal-button strong,
.portal-button small {
  display: block;
}

.portal-button strong {
  font-size: 14px;
  line-height: 1.2;
}

.portal-button small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.portal-button--client {
  border-color: rgba(47, 125, 79, 0.24);
  background: #f4fbf1;
}

.portal-button--client svg {
  color: var(--leaf);
}

.goal-picker {
  margin: 18px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.goal-picker__eyebrow {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.goal-picker h2 {
  margin: 4px 0 12px;
  font-size: 20px;
  line-height: 1.2;
}

.goal-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 1px 1px 7px;
  scrollbar-width: none;
}

.goal-chips::-webkit-scrollbar {
  display: none;
}

.goal-chip {
  min-height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ink);
  background: #fffdf8;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease, transform 150ms ease;
}

.goal-chip:hover,
.goal-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 125, 79, 0.4);
  outline: none;
}

.goal-chip--active {
  color: #fff;
  border-color: var(--leaf);
  background: var(--leaf);
}

.goal-picker__result {
  min-height: 19px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-header h1 {
  margin: 14px 0 9px;
  font-size: 32px;
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: 0;
  color: #211827;
}

.brand-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(47, 125, 79, 0.2);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--leaf-dark);
  background: #edf8f1;
  font-size: 13px;
  font-weight: 850;
}

.social-links {
  display: flex;
  max-width: 280px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 3px;
}

.social-links a {
  display: inline-flex;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 37, 28, 0.1);
  border-radius: 999px;
  color: var(--leaf-dark);
  background: #fffdf8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 6px 18px rgba(42, 39, 29, 0.06);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.social-links img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 5px;
}

.social-links .social-link--instagram {
  color: #c13584;
}

.social-links .social-link--vk {
  color: #2787f5;
}

.social-links .social-link--youtube {
  color: #ff0033;
}

.social-links .social-link--tiktok {
  color: #111111;
}

.social-links .social-link--rutube {
  color: #111111;
}

.social-links .social-link--telegram {
  color: #229ed9;
}

.social-links .social-link--max {
  color: #246bfd;
}

.social-links .social-link--ok {
  color: #ee8208;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 125, 79, 0.36);
  background: #edf8f1;
  outline: none;
}

.product-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.product-card {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: #fffdf8;
  text-align: left;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.product-card[hidden] {
  display: none;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 125, 79, 0.45);
  box-shadow: 0 10px 24px rgba(42, 39, 29, 0.1);
  outline: none;
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f0eee7;
}

.product-card__body {
  padding: 14px 14px 15px;
}

.product-card h2 {
  margin: 0 0 7px;
  font-size: 20px;
  line-height: 1.18;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 9px;
}

.product-tags span {
  border-color: rgba(226, 117, 36, 0.16);
  color: #7a441d;
  background: #fff7ec;
  font-size: 11px;
}

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

.product-card .product-card__price-note {
  margin-top: 8px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.38;
}

.product-card__body::after {
  content: "Выбрать программу";
  display: inline-flex;
  margin-top: 10px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 850;
}

.about-section {
  margin: 22px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  scroll-margin-top: 14px;
}

.about-section__eyebrow {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-section h2 {
  margin: 5px 0 10px;
  font-size: 26px;
}

.about-section > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.about-story {
  display: grid;
  gap: 14px;
}

.about-story__photo {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: #edf1e9;
}

.about-story__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center 32%;
}

.about-story p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.founders-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 24px;
}

.founders-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 37, 28, 0.08);
  border-radius: 8px;
  background: #f7f8f4;
}

.founders-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.founders-gallery figure:first-child img {
  object-position: center 28%;
}

.founders-gallery figure:last-child img {
  object-position: center 35%;
}

.founders-gallery figcaption {
  border-top: 3px solid var(--leaf);
  padding: 10px 11px 12px;
}

.founders-gallery strong,
.founders-gallery span {
  display: block;
}

.founders-gallery strong {
  font-size: 15px;
}

.founders-gallery span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mission-block {
  margin: 0 0 26px;
  border-left: 4px solid var(--orange);
  padding: 16px 16px 7px;
  background: #fff7e9;
}

.mission-block h3 {
  margin: 5px 0 9px;
  font-size: 20px;
  line-height: 1.2;
}

.mission-block p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.mission-block strong {
  color: var(--ink);
}

.reviews-head {
  display: grid;
  gap: 12px;
}

.reviews-head h3 {
  margin: 4px 0 0;
  font-size: 21px;
}

.review-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.review-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fffdf8;
  cursor: pointer;
  font-weight: 800;
}

.review-tab--active {
  color: #fff;
  border-color: var(--leaf);
  background: var(--leaf);
}

.review-panel {
  min-height: 260px;
  margin-top: 10px;
  border: 1px solid rgba(47, 125, 79, 0.15);
  border-radius: 8px;
  padding: 13px 8px 8px;
  background: #f7faf4;
}

.review-panel__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 5px;
}

.review-panel__heading strong {
  font-size: 16px;
}

.review-panel__heading span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.review-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 1px 1px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 125, 79, 0.25) transparent;
}

.review-gallery img,
.review-gallery video {
  display: block;
  width: min(86vw, 340px);
  height: 520px;
  flex: 0 0 auto;
  border: 1px solid rgba(31, 37, 28, 0.08);
  border-radius: 8px;
  object-fit: contain;
  scroll-snap-align: start;
}

.review-gallery img {
  background: #eef0f1;
}

.review-gallery video {
  background: #111;
}

.reviews-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.about-section .reviews-note {
  margin: 9px 0 0;
  font-size: 12px;
}

.city-grid,
.contact-grid {
  display: grid;
  gap: 10px;
}

.flow-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.flow-progress span {
  position: relative;
  border-bottom: 3px solid rgba(31, 37, 28, 0.1);
  padding-bottom: 7px;
  color: #969c91;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.flow-progress__done {
  color: var(--leaf-dark) !important;
  border-color: rgba(47, 125, 79, 0.35) !important;
}

.flow-progress__active {
  color: var(--ink) !important;
  border-color: var(--orange) !important;
}

.city-search {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  margin: -3px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: #fffdf8;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.city-search:focus-within {
  border-color: rgba(47, 125, 79, 0.5);
  box-shadow: 0 0 0 3px rgba(47, 125, 79, 0.1);
}

.city-search svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 2;
}

.city-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 16px;
  outline: none;
}

.city-search__empty {
  margin: 0 0 12px;
  border-radius: 8px;
  padding: 10px 12px;
  color: #764b2b;
  background: #fff5e8;
  font-size: 13px;
  line-height: 1.4;
}

.city-button,
.contact-button,
.back-button,
.primary-button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.city-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 16px;
  color: var(--ink);
  background: #fffdf8;
  text-align: left;
}

.city-button strong {
  font-size: 18px;
}

.city-button small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.city-button svg,
.back-button svg,
.contact-button svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.city-button svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
}

.city-button:hover,
.city-button:focus-visible,
.contact-button:hover,
.contact-button:focus-visible,
.back-button:hover,
.back-button:focus-visible,
.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 125, 79, 0.45);
  box-shadow: 0 10px 24px rgba(42, 39, 29, 0.1);
  outline: none;
}

.primary-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 15px 16px;
  color: #fff;
  border-color: var(--leaf);
  background: var(--leaf);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 12px 28px rgba(34, 91, 59, 0.18);
}

.primary-button::after {
  margin-left: 8px;
  content: "→";
  font-size: 19px;
  line-height: 1;
}

.telegram-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fffdf8;
  box-shadow: 0 12px 34px rgba(42, 39, 29, 0.1);
}

.telegram-card h2 {
  margin: 4px 0 12px;
  font-size: 28px;
  line-height: 1.12;
}

.telegram-card p {
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.join-buttons {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.join-button {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid rgba(31, 37, 28, 0.1);
  border-radius: 8px;
  padding: 13px 15px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-align: left;
  box-shadow: 0 10px 24px rgba(42, 39, 29, 0.08);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.join-button--telegram {
  border-color: rgba(34, 158, 217, 0.22);
  background: #f3fbff;
}

.join-button--max {
  border-color: rgba(36, 107, 253, 0.22);
  background: #f4f7ff;
}

.join-button--payment {
  border: 1px solid rgba(226, 126, 45, 0.38);
  background: #fff8ec;
}

.join-button--manager {
  border-color: rgba(47, 125, 79, 0.26);
  background: #f4fbf1;
}

.join-button--telegram svg {
  color: #229ed9;
}

.join-button--max svg {
  color: #246bfd;
}

.join-button--payment svg {
  color: var(--orange);
}

.join-button--manager svg {
  color: var(--leaf);
}

.join-button span {
  display: grid;
  gap: 3px;
}

.join-button strong {
  font-size: 16px;
  line-height: 1.15;
}

.join-button small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.18;
}

.join-button:hover,
.join-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 125, 79, 0.32);
  background: #fffdf8;
  box-shadow: 0 14px 30px rgba(42, 39, 29, 0.12);
  outline: none;
}

.join-button svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.join-button img {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  object-fit: contain;
}

.city-button--other {
  border-color: rgba(184, 50, 74, 0.26);
  background: #fff7f4;
}

.city-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin-bottom: 10px;
  border: 1px solid rgba(47, 125, 79, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--leaf-dark);
  background: #edf8f1;
  font-size: 14px;
  font-weight: 800;
}

.selection-pill {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  margin-bottom: 9px;
  border-left: 3px solid var(--orange);
  padding: 5px 9px;
  color: #684022;
  background: #fff6e9;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.back-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 8px 12px;
  color: var(--muted);
  background: #fbfaf6;
}

.back-button--products {
  margin-bottom: 18px;
}

.back-button svg {
  width: 20px;
  height: 20px;
}

.contact-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 13px;
  padding: 16px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
  text-align: left;
}

.contact-button svg {
  width: 34px;
  height: 34px;
}

.contact-button img {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  object-fit: contain;
}

.contact-button strong {
  display: block;
  font-size: 17px;
}

.contact-button small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.contact-button--whatsapp svg {
  color: #1f9e57;
}

.contact-button--telegram svg {
  color: var(--blue);
}

.contact-button--max svg {
  color: var(--ruby);
}

.contact-button--phone svg {
  color: var(--orange);
}

.contact-button--payment {
  border-color: rgba(47, 125, 79, 0.32);
  background: #f5fbf4;
}

.contact-button--payment svg {
  color: var(--leaf);
}

.payment-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fffdf8;
  box-shadow: 0 12px 34px rgba(42, 39, 29, 0.1);
}

.login-card,
.support-app {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 12px 34px rgba(42, 39, 29, 0.1);
}

.login-card,
.support-app {
  padding: 18px;
}

.login-card h2,
.payment-card h2 {
  margin: 4px 0 10px;
  font-size: 28px;
  line-height: 1.12;
}

.login-card p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.payment-card__intro,
.payment-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.payment-delivery-note {
  margin: 4px 0 14px;
  padding: 13px 14px;
  border: 1px solid rgba(176, 139, 50, 0.5);
  border-radius: 12px;
  background: #fff7dc;
  color: #4f421e;
  font: 13px/1.45 Arial, sans-serif;
  text-align: center;
}

.payment-delivery-note strong {
  color: #263d20;
}

.payment-summary {
  display: grid;
  gap: 5px;
  margin: 16px 0;
  border: 1px solid rgba(47, 125, 79, 0.18);
  border-radius: 8px;
  padding: 13px;
  background: #f7fbf4;
}

.payment-summary span {
  color: var(--muted);
  font-size: 13px;
}

.payment-summary strong {
  font-size: 18px;
  line-height: 1.25;
}

.payment-summary em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.payment-selected-list {
  display: grid;
  gap: 4px;
  margin: 4px 0 0;
  padding: 0;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}

.payment-selected-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.promo-box {
  display: grid;
  gap: 7px;
  margin: -2px 0 12px;
  border: 1px solid rgba(157, 63, 130, 0.14);
  border-radius: 8px;
  padding: 10px;
  background: #fffdf8;
}

.promo-box label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.promo-box__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.promo-box input {
  min-height: 40px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-transform: uppercase;
}

.promo-box button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: #ffffff;
  background: #6f8f5f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.promo-box small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.promo-box small.promo-note--success {
  color: #31573a;
}

.promo-box small.promo-note--error {
  color: #9d3f3f;
}

.payment-form {
  display: grid;
  gap: 12px;
}

.payment-options {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
}

.payment-options label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.payment-picker {
  border: 2px solid rgba(186, 0, 155, 0.22);
  border-radius: 8px;
  background: #fff8f3;
  box-shadow: 0 10px 24px rgba(47, 37, 28, 0.08);
}

.payment-picker summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.payment-picker summary::-webkit-details-marker {
  display: none;
}

.payment-picker summary strong,
.payment-picker summary small {
  display: block;
}

.payment-picker summary strong {
  color: var(--pink-dark);
  font-size: 15px;
  line-height: 1.2;
}

.payment-picker summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.payment-picker-note {
  margin: 0;
  border-top: 1px solid rgba(186, 0, 155, 0.12);
  padding: 9px 12px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.payment-picker summary svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--leaf-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 150ms ease;
}

.payment-picker[open] summary svg {
  transform: rotate(180deg);
}

.payment-option-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  border-top: 0;
  padding: 8px;
  background: #fff8f3;
}

.payment-option-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 37, 28, 0.13);
  border-radius: 8px;
  padding: 11px 10px;
  background: #fffdf8;
  cursor: pointer;
}

.payment-option-item:has(input:checked) {
  border-color: rgba(47, 125, 79, 0.42);
  background: #edf8f1;
}

.payment-option-item input {
  width: 20px;
  height: 20px;
  accent-color: var(--leaf);
}

.payment-option-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.payment-option-item em {
  color: var(--leaf-dark);
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.payment-option-empty {
  margin: 0;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--muted);
  background: #fffdf8;
  font-size: 14px;
  line-height: 1.4;
}

.access-form {
  display: grid;
  gap: 12px;
}

.manager-entry-button {
  min-height: 44px;
  border: 1px solid rgba(47, 125, 79, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--leaf-dark);
  background: #fffdf8;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.access-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.access-form label[hidden] {
  display: none !important;
}

.contact-grid > [hidden] {
  display: none !important;
}

.payment-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.payment-form label[hidden],
#payment-address-field[hidden] {
  display: none !important;
}

.payment-form input,
.payment-form textarea,
.payment-options input,
.access-form input,
.access-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.payment-form textarea {
  resize: vertical;
}

.payment-form input:focus,
.payment-form textarea:focus,
.access-form input:focus,
.access-form select:focus {
  border-color: rgba(47, 125, 79, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 125, 79, 0.12);
}

.payment-options input[readonly] {
  color: var(--muted);
  background: #f7f6f0;
}

#payment-city[readonly] {
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

#payment-city[readonly]:hover,
#payment-city[readonly]:focus {
  border-color: rgba(47, 125, 79, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 125, 79, 0.12);
}

.payment-option-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
}

.payment-submit {
  margin-top: 4px;
}

.access-submit {
  margin-top: 2px;
}

.access-note {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  border-left: 4px solid var(--orange);
  padding: 11px 12px;
  background: #fff7e9;
}

.access-note strong {
  font-size: 13px;
}

.access-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.app-head h2 {
  margin: 4px 0 6px;
  font-size: 28px;
  line-height: 1.12;
}

.app-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.support-program-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.support-program-switcher[hidden] {
  display: none;
}

.support-program-choice {
  min-height: 34px;
  border: 1px solid rgba(47, 125, 79, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--leaf-dark);
  background: #f4fbf1;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.support-program-choice--active {
  color: #fff;
  border-color: var(--leaf);
  background: var(--leaf);
}

.progress-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 16px 0;
}

.progress-step {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 4px;
  color: var(--muted);
  background: #fbfaf6;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.progress-step--done {
  color: var(--leaf-dark);
  border-color: rgba(47, 125, 79, 0.28);
  background: #edf8f1;
}

.progress-step--active {
  color: #fff;
  border-color: var(--leaf);
  background: var(--leaf);
}

.small-action {
  min-height: 38px;
  border: 1px solid rgba(47, 125, 79, 0.24);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--leaf-dark);
  background: #fffdf8;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.support-grid {
  display: grid;
  gap: 8px;
}

.support-card {
  border: 1px solid rgba(31, 37, 28, 0.08);
  border-radius: 8px;
  padding: 12px;
  background: #f7faf4;
}

.support-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.support-card strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
}

.support-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.support-actions {
  margin-top: 12px;
}

.support-stage-card {
  border: 1px solid rgba(226, 117, 36, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: #fff8ec;
}

.support-stage-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.support-stage-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.support-stage-item {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.support-stage-item--card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(226, 117, 36, 0.16);
  border-radius: 8px;
  padding: 12px;
  background: #fffdf8;
}

.support-stage-item h4 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.support-stage-item p {
  margin: 0;
}

.support-video {
  display: block;
  width: 100%;
  max-height: 520px;
  border: 1px solid rgba(47, 125, 79, 0.18);
  border-radius: 8px;
  background: #111;
  object-fit: contain;
}

.support-video-link {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 125, 79, 0.24);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--leaf-dark);
  background: #edf8f1;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.support-video-link:hover,
.support-video-link:focus-visible {
  border-color: rgba(47, 125, 79, 0.42);
  background: #e1f3e6;
  outline: none;
}

.support-checklist,
.support-mood,
.support-community {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 37, 28, 0.08);
  border-radius: 8px;
  padding: 12px;
  background: #fffdf8;
}

.support-checklist h3,
.support-mood h3,
.support-community h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.support-check-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.support-check-item input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--leaf);
}

.support-mood label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.support-mood textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
  resize: vertical;
}

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

.mood-row label {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
  font-size: 13px;
  text-align: center;
}

.mood-row input {
  accent-color: var(--leaf);
}

.support-community p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.community-feed {
  display: grid;
  gap: 8px;
}

.community-message {
  border-left: 4px solid rgba(47, 125, 79, 0.28);
  border-radius: 8px;
  padding: 10px 11px;
  background: #f7faf4;
}

.community-message strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

@media (max-width: 380px) {
  .progress-strip {
    gap: 3px;
  }

  .progress-step {
    min-height: 38px;
    padding: 6px 2px;
    font-size: 9px;
  }

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

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 10;
  max-width: 488px;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 16px;
  color: #fff;
  background: rgba(31, 37, 28, 0.92);
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast--visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 760px) {
  body {
    padding: 20px;
  }

  .app {
    min-height: calc(100vh - 40px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .flow {
    padding: 28px 22px 32px;
  }
}

@media (min-width: 920px) {
  .app {
    width: min(calc(100% - 40px), 920px);
  }

  .flow {
    padding: 34px 30px 38px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .product-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
  }

  .product-card img {
    aspect-ratio: 16 / 10;
  }

  .product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .product-card__body::after {
    margin-top: auto;
    padding-top: 12px;
  }

  .screen:not(.product-screen) {
    max-width: 520px;
    margin: 0 auto;
  }

  .about-story {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
  }

  .about-story__photo {
    min-height: 390px;
  }

  .founders-gallery {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    gap: 12px;
  }

  .review-gallery img,
  .review-gallery video {
    width: 320px;
    height: 520px;
  }

  .portal-actions {
    max-width: 540px;
  }
}

@media (max-width: 360px) {
  .flow {
    padding-right: 12px;
    padding-left: 12px;
  }

  .top-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .brand-pill {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 12px;
  }

  .social-links {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    gap: 3px;
  }

  .social-links a {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .social-links svg {
    width: 19px;
    height: 19px;
  }

  .social-links img {
    width: 22px;
    height: 22px;
  }

  .portal-actions {
    gap: 6px;
  }

  .portal-button,
  .portal-actions .about-link {
    min-height: 44px;
    padding: 8px 9px;
  }

  .portal-button {
    gap: 7px;
  }

  .portal-button svg {
    width: 21px;
    height: 21px;
  }

  .portal-button strong {
    font-size: 13px;
  }

  .portal-button small {
    font-size: 11px;
  }

  .portal-actions .about-link {
    font-size: 12px;
  }

  .city-button,
  .contact-button {
    padding-right: 12px;
    padding-left: 12px;
  }
}

/* Marketplace view */
.goal-picker {
  padding: 12px;
  background: #ffffff;
}

.goal-picker__eyebrow,
.goal-picker h2,
.goal-picker__result {
  display: none;
}

.goal-chips {
  gap: 7px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.goal-chips::-webkit-scrollbar {
  display: none;
}

.goal-chip {
  flex: 0 0 auto;
  border-radius: 999px;
  border-color: #ece4f1;
  background: #ffffff;
  color: #2b2330;
  box-shadow: 0 1px 4px rgba(69, 27, 88, 0.08);
}

.goal-chip--active {
  border-color: #cb11ab;
  background: #cb11ab;
  color: #ffffff;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
  padding-bottom: 88px;
}

.product-card {
  position: relative;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 8px rgba(34, 22, 38, 0.08);
  cursor: default;
}

.product-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: 0 3px 14px rgba(34, 22, 38, 0.13);
}

.market-card__slider {
  position: relative;
  overflow: hidden;
  background: #f6f3f7;
}

.market-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f6f3f7;
}

.market-card__counter,
.market-card__badge {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2b2330;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.market-card__counter {
  top: 7px;
  left: 7px;
  padding: 5px 7px;
}

.market-card__badge {
  top: 7px;
  right: 7px;
  max-width: 58%;
  padding: 5px 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-card__dots {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.market-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.market-dot--active {
  width: 16px;
  background: #cb11ab;
}

.product-card__body {
  padding: 8px 8px 9px;
}

.product-card__body::after,
.product-card p,
.product-card .product-card__price-note {
  display: none;
}

.product-card h2 {
  display: -webkit-box;
  min-height: 32px;
  margin-bottom: 5px;
  overflow: hidden;
  color: #2b2330;
  font-size: 14px;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-tags {
  display: none;
}

.market-card__meta {
  display: grid;
  gap: 5px;
}

.market-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}

.market-price-row strong {
  color: #111111;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.market-price-row span {
  color: #9b95a1;
  font-size: 11px;
  text-decoration: line-through;
}

.market-price-row em {
  border-radius: 5px;
  padding: 2px 4px;
  color: #ffffff;
  background: #f03e9a;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.market-rating {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 5px;
  align-items: center;
  padding: 0;
  border: 0;
  color: #6f6676;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
}

.market-rating span:first-child {
  color: #f5a400;
}

.market-rating span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-delivery {
  color: #21a038;
  font-size: 11px;
  font-weight: 850;
}

.market-bullets {
  display: none;
  gap: 4px;
  overflow: hidden;
}

.market-bullets span {
  flex: 0 0 auto;
  max-width: 100%;
  border-radius: 5px;
  padding: 3px 5px;
  color: #5d5562;
  background: #f5f1f6;
  font-size: 9px;
  font-weight: 750;
}

.market-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin-top: 2px;
}

.market-buy,
.market-favorite,
.market-cart__checkout {
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.market-buy {
  min-height: 32px;
  color: #ffffff;
  background: #cb11ab;
  box-shadow: 0 8px 16px rgba(203, 17, 171, 0.22);
}

.market-favorite {
  min-height: 32px;
  padding: 0 8px;
  color: #cb11ab;
  background: #f7e8f5;
}

.market-cart {
  position: sticky;
  bottom: 10px;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid #ead7ec;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(44, 23, 52, 0.16);
}

.market-cart strong,
.market-cart span {
  display: block;
}

.market-cart strong {
  color: #201823;
  font-size: 15px;
}

.market-cart span {
  max-width: 100%;
  overflow: hidden;
  color: #756a7d;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-cart__checkout {
  min-height: 40px;
  padding: 0 16px;
  color: #ffffff;
  background: #cb11ab;
}

.market-cart__checkout:disabled {
  color: #9f95a5;
  background: #eee8f0;
  box-shadow: none;
}

.review-modal[hidden] {
  display: none;
}

.modal-open {
  overflow: hidden;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-items: end;
}

.review-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 14, 26, 0.48);
}

.review-modal__panel {
  position: relative;
  z-index: 1;
  max-height: 86vh;
  overflow: auto;
  border-radius: 18px 18px 0 0;
  padding: 18px 14px 20px;
  background: #ffffff;
  box-shadow: 0 -14px 40px rgba(28, 18, 32, 0.24);
}

.review-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #433648;
  background: #f4edf5;
}

.review-modal__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.review-modal__head {
  padding-right: 46px;
}

.review-modal__head span {
  color: #f5a400;
  font-weight: 900;
}

.review-modal__head h2 {
  margin: 4px 0;
  color: #211826;
  font-size: 22px;
}

.review-modal__head p {
  margin: 0;
  color: #766d7c;
  font-size: 14px;
}

.review-modal__media {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(128px, 42%);
  gap: 8px;
  overflow-x: auto;
  margin: 14px -14px 8px;
  padding: 0 14px 6px;
}

.review-modal__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f1f6;
}

.review-form {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
  border: 1px solid #f0d7ec;
  border-radius: 8px;
  padding: 12px;
  background: #fff8fd;
}

.review-form strong {
  color: #27172b;
  font-size: 15px;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid #eaddec;
  border-radius: 8px;
  padding: 10px 11px;
  color: #241a28;
  background: #ffffff;
  font: inherit;
  font-size: 14px;
}

.review-form textarea {
  resize: vertical;
}

.review-form button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: #9d3f82;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.review-form button:disabled {
  opacity: 0.68;
  cursor: wait;
}

.review-modal__list {
  display: grid;
  gap: 10px;
}

.review-comment {
  border: 1px solid #efe6f1;
  border-radius: 8px;
  padding: 11px;
  background: #fff;
}

.review-comment div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.review-comment strong {
  color: #241a28;
}

.review-comment span {
  color: #f5a400;
  font-size: 12px;
}

.review-comment p {
  margin: 0;
  color: #4f4655;
  font-size: 14px;
  line-height: 1.42;
}

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-modal {
    align-items: center;
    justify-items: center;
    padding: 24px;
  }

  .review-modal__panel {
    width: min(760px, 100%);
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  body {
    background: #f6f3f7;
  }

  .flow {
    padding: 10px;
  }

  .screen--active {
    gap: 10px;
  }

  .products-header {
    gap: 8px;
    margin-bottom: 0;
  }

  .top-row {
    gap: 7px;
  }

  .brand-pill {
    padding: 7px 9px;
    font-size: 12px;
  }

  .social-links {
    gap: 4px;
  }

  .social-links a {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    background: #ffffff;
  }

  .social-links svg {
    width: 18px;
    height: 18px;
  }

  .social-links img {
    width: 21px;
    height: 21px;
  }

  .portal-actions {
    grid-template-columns: 1fr;
  }

  .portal-button {
    min-height: 44px;
    border-color: #ead2ec;
    background: #ffffff;
  }

  .portal-button strong {
    color: #2b2330;
    font-size: 13px;
  }

  .portal-button small {
    font-size: 11px;
  }

  .portal-button svg {
    color: #cb11ab;
  }

  .products-header h1 {
    margin: 0;
    font-size: 19px;
    letter-spacing: 0;
  }

  .goal-picker {
    margin: 0 -2px;
    padding: 0 0 2px;
    background: transparent;
  }

  .goal-chip {
    min-height: 30px;
    padding: 0 11px;
    font-size: 12px;
  }

  .product-grid {
    gap: 7px;
  }

  .product-card {
    border-radius: 7px;
  }

  .market-card__counter,
  .market-card__badge {
    top: 5px;
    padding: 4px 6px;
    font-size: 10px;
  }

  .market-card__counter {
    left: 5px;
  }

  .market-card__badge {
    right: 5px;
  }

  .market-card__dots {
    bottom: 6px;
  }

  .market-dot {
    width: 5px;
    height: 5px;
  }

  .market-dot--active {
    width: 14px;
  }

  .product-card__body {
    padding: 7px;
  }

  .product-card h2 {
    min-height: 30px;
    font-size: 13px;
  }

  .market-price-row {
    gap: 4px;
  }

  .market-price-row strong {
    font-size: 16px;
  }

  .market-card__actions {
    gap: 5px;
    margin-top: 0;
  }

  .market-buy,
  .market-favorite {
    min-height: 30px;
    border-radius: 7px;
    font-size: 12px;
  }

  .market-rating {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px;
    font-size: 11px;
  }

  .market-rating span:last-child {
    display: none;
  }

  .market-card__meta {
    gap: 4px;
  }

  .market-favorite {
    font-size: 0;
  }

  .market-favorite::before {
    content: "★";
    font-size: 15px;
  }

  .market-cart {
    bottom: 8px;
    margin-right: -2px;
    margin-left: -2px;
    border-radius: 10px;
  }
}

/* Strong WB-like shell */
html,
body {
  width: 100%;
  min-width: 0;
  background: #f4f0f6 !important;
}

body {
  padding: 0 !important;
  justify-content: center !important;
}

.app {
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  min-height: 100vh !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: #f4f0f6 !important;
  box-shadow: none !important;
}

.flow {
  width: 100% !important;
  max-width: 430px !important;
  padding: 8px 6px 80px !important;
}

.product-screen.screen--active {
  gap: 6px !important;
}

.products-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid !important;
  gap: 7px !important;
  margin: -8px -6px 0 !important;
  padding: 8px 8px 7px !important;
  background: #ffffff !important;
  box-shadow: 0 6px 18px rgba(60, 40, 70, 0.08);
}

.top-row {
  display: none !important;
}

.marketplace-topbar {
  display: grid;
  gap: 7px;
}

.marketplace-logo {
  justify-self: center;
  border-radius: 999px;
  padding: 5px 18px 6px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff00c8, #a600ff);
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.marketplace-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  border-radius: 17px;
  padding: 0 18px;
  color: #b44adb;
  background: #fae7ff;
  font-size: 20px;
  font-weight: 850;
}

.marketplace-search svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.portal-actions {
  position: absolute;
  right: 12px;
  top: 9px;
  z-index: 2;
  display: block !important;
  width: auto !important;
}

.portal-button {
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #cb11ab !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

.portal-button span {
  display: none !important;
}

.portal-button svg {
  width: 22px !important;
  height: 22px !important;
  color: currentColor !important;
}

.products-header h1 {
  display: none !important;
}

.goal-picker {
  margin: 6px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.goal-chips {
  gap: 6px !important;
  padding: 0 1px 2px !important;
}

.goal-chip {
  min-height: 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 11px !important;
  background: #ffffff !important;
  color: #5c5162 !important;
  font-size: 11px !important;
  box-shadow: none !important;
}

.goal-chip--active {
  color: #ffffff !important;
  background: #cb11ab !important;
}

.product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px 7px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 70px !important;
}

.product-card {
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-card__body {
  min-height: 0 !important;
}

.market-card__slider {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 13px !important;
  background: #ebe6ef !important;
}

.market-card__image {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1.18 !important;
  border-radius: 13px !important;
  object-fit: cover !important;
}

.market-card__counter,
.market-card__badge {
  display: none !important;
}

.market-card__slider::before {
  content: "⌧";
  position: absolute;
  top: 9px;
  left: 8px;
  z-index: 2;
  color: #111111;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.market-card__slider::after {
  content: "♡";
  position: absolute;
  top: 7px;
  right: 8px;
  z-index: 2;
  color: #111111;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.market-card__dots {
  bottom: 5px !important;
  gap: 3px !important;
}

.market-dot {
  width: 4px !important;
  height: 4px !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

.market-dot--active {
  width: 10px !important;
  background: #cb11ab !important;
}

.product-card__body {
  position: relative !important;
  display: grid !important;
  gap: 2px !important;
  padding: 5px 2px 0 !important;
}

.product-card h2 {
  display: -webkit-box !important;
  min-height: 33px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #27212a !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.product-card p,
.product-card__body::after,
.product-tags,
.market-bullets,
.product-card .product-card__price-note {
  display: none !important;
}

.market-card__meta {
  display: contents !important;
}

.market-price-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  order: -1 !important;
  padding-right: 42px !important;
}

.market-price-row strong {
  color: #b915e8 !important;
  font-size: 19px !important;
  font-weight: 900 !important;
}

.market-price-row strong::before {
  content: "▰ ";
  font-size: 14px;
}

.market-price-row span {
  color: #9f98a4 !important;
  font-size: 12px !important;
}

.market-price-row em {
  position: absolute !important;
  top: -28px !important;
  left: 0 !important;
  border-radius: 999px !important;
  padding: 3px 8px !important;
  color: #d7007f !important;
  background: #ffe7f5 !important;
  font-size: 12px !important;
}

.market-rating {
  display: flex !important;
  gap: 4px !important;
  align-items: center !important;
  color: #5f5864 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.market-rating span:first-child {
  color: #ff8a00 !important;
  font-weight: 800 !important;
}

.market-rating span:last-child {
  display: none !important;
}

.market-delivery {
  display: none !important;
}

.market-card__actions {
  position: absolute !important;
  right: 0 !important;
  top: -48px !important;
  display: block !important;
  z-index: 5 !important;
}

.market-buy {
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  place-items: center !important;
  border-radius: 16px !important;
  padding: 0 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #d700ff, #9e25ff) !important;
  font-size: 0 !important;
  box-shadow: 0 4px 10px rgba(151, 25, 218, 0.35) !important;
}

.market-buy::before {
  content: "🛒";
  font-size: 24px;
  line-height: 1;
}

.market-favorite {
  display: none !important;
}

.market-cart {
  position: fixed !important;
  right: calc(50% - 207px) !important;
  bottom: 12px !important;
  left: calc(50% - 207px) !important;
  z-index: 60 !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 -2px 18px rgba(80, 42, 92, 0.15) !important;
}

.market-cart__checkout {
  background: #cb11ab !important;
}

@media (max-width: 430px) {
  .market-cart {
    right: 8px !important;
    left: 8px !important;
  }
}

/* Clean na-sokah marketplace */
:root {
  --clean-paper: #f5f2eb;
  --clean-card: #fffdf8;
  --clean-ink: #1f251c;
  --clean-muted: #66705d;
  --clean-leaf: #2f7d4f;
  --clean-leaf-dark: #225b3b;
  --clean-market: #b61b68;
  --clean-market-soft: #fff0f7;
}

html,
body,
.app {
  background: var(--clean-paper) !important;
}

.app {
  width: min(100%, 520px) !important;
  max-width: 520px !important;
}

.flow {
  max-width: 520px !important;
  padding: 12px 10px 82px !important;
}

.products-header {
  position: static !important;
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.top-row {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
}

.brand-pill {
  display: inline-flex !important;
  border: 1px solid rgba(47, 125, 79, 0.16) !important;
  border-radius: 999px !important;
  padding: 8px 11px !important;
  color: var(--clean-leaf-dark) !important;
  background: #f2f8ef !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.social-links {
  display: flex !important;
  flex: 1 !important;
  gap: 5px !important;
  overflow-x: auto !important;
}

.social-links a {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  place-items: center !important;
  border: 1px solid rgba(47, 125, 79, 0.13) !important;
  border-radius: 999px !important;
  background: var(--clean-card) !important;
}

.social-links svg {
  width: 20px !important;
  height: 20px !important;
}

.social-links img {
  width: 23px !important;
  height: 23px !important;
}

.marketplace-topbar {
  display: none !important;
}

.portal-actions {
  position: static !important;
  display: grid !important;
  width: 100% !important;
}

.portal-button {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 48px !important;
  gap: 9px !important;
  justify-content: flex-start !important;
  border: 1px solid rgba(47, 125, 79, 0.13) !important;
  border-radius: 8px !important;
  padding: 9px 12px !important;
  color: var(--clean-leaf-dark) !important;
  background: var(--clean-card) !important;
}

.portal-button span,
.portal-button small {
  display: block !important;
}

.portal-button svg {
  width: 23px !important;
  height: 23px !important;
  color: var(--clean-leaf) !important;
}

.detected-city-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  align-items: center;
  border: 1px solid rgba(47, 125, 79, 0.14);
  border-radius: 8px;
  padding: 10px 11px;
  background: #fffdf8;
}

.detected-city-banner span {
  color: var(--clean-ink);
  font-size: 14px;
  font-weight: 900;
}

.detected-city-banner small {
  color: var(--clean-muted);
  font-size: 12px;
  font-weight: 650;
}

.detected-city-banner button {
  grid-row: 1 / span 2;
  grid-column: 2;
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  color: #ffffff;
  background: var(--clean-leaf);
  font-size: 12px;
  font-weight: 900;
}

.goal-chip--active,
.market-cart__checkout,
.market-buy,
.payment-submit--sbp,
.contact-button--payment {
  background: var(--clean-market) !important;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding-bottom: 78px !important;
}

.product-card {
  overflow: hidden !important;
  border-radius: 8px !important;
  background: var(--clean-card) !important;
  box-shadow: 0 1px 8px rgba(42, 39, 29, 0.08) !important;
}

.market-card__slider {
  border-radius: 8px 8px 0 0 !important;
  background: #f0eee7 !important;
}

.market-card__slider::before,
.market-card__slider::after,
.market-card__counter,
.market-card__badge,
.market-price-row em,
.market-favorite,
.market-buy::before {
  display: none !important;
  content: none !important;
}

.market-card__image {
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px 8px 0 0 !important;
}

.product-card__body {
  position: static !important;
  display: grid !important;
  gap: 5px !important;
  padding: 8px !important;
}

.product-card h2 {
  order: 1 !important;
  min-height: 32px !important;
  color: var(--clean-ink) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
}

.market-price-row {
  order: 2 !important;
  padding-right: 0 !important;
}

.market-price-row strong {
  color: var(--clean-market) !important;
  font-size: 17px !important;
}

.market-price-row strong::before {
  content: "" !important;
}

.market-price-row span {
  color: #9a9299 !important;
  font-size: 11px !important;
}

.market-rating {
  order: 3 !important;
  display: inline-flex !important;
  width: fit-content !important;
  gap: 5px !important;
  color: var(--clean-muted) !important;
  font-size: 12px !important;
}

.market-rating span:first-child {
  color: #e87524 !important;
}

.market-delivery {
  order: 4 !important;
  display: block !important;
  color: var(--clean-leaf) !important;
  font-size: 11px !important;
}

.market-card__actions {
  position: static !important;
  order: 5 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  margin-top: 2px !important;
}

.market-buy {
  display: inline-flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 34px !important;
  justify-content: center !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  box-shadow: none !important;
}

.contact-grid {
  display: grid !important;
}

.contact-button--payment {
  order: -10 !important;
  color: #ffffff !important;
}

.payment-submit-group {
  display: grid;
  gap: 8px;
}

.payment-submit--sbp {
  color: #ffffff !important;
}

.payment-submit-alt {
  min-height: 48px;
  border: 1px solid rgba(182, 27, 104, 0.22);
  border-radius: 8px;
  color: var(--clean-market);
  background: var(--clean-market-soft);
  font-size: 15px;
  font-weight: 900;
}

/* Visual polish */
body {
  font-family: Inter, "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
  color: var(--clean-ink) !important;
}

button,
input,
textarea {
  font-family: inherit !important;
  letter-spacing: 0 !important;
}

.brand-pill {
  border-color: rgba(47, 125, 79, 0.1) !important;
  background: rgba(242, 248, 239, 0.78) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.portal-button {
  border-color: rgba(47, 125, 79, 0.1) !important;
  background: rgba(255, 253, 248, 0.86) !important;
  box-shadow: 0 6px 18px rgba(42, 39, 29, 0.045) !important;
}

.portal-button strong {
  color: #223323 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

.portal-button small {
  color: rgba(102, 112, 93, 0.86) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.detected-city-banner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 4px 8px;
  border-color: rgba(47, 125, 79, 0.08);
  padding: 7px 8px;
  background: rgba(255, 253, 248, 0.68);
  box-shadow: 0 4px 14px rgba(42, 39, 29, 0.035);
}

.detected-city-banner::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #6da96e;
}

.detected-city-banner span {
  color: rgba(31, 37, 28, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.detected-city-banner small {
  grid-column: 2;
  color: rgba(102, 112, 93, 0.72);
  font-size: 10.5px;
  font-weight: 550;
}

.detected-city-banner button {
  grid-row: 1 / span 2;
  grid-column: 3;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 9px;
  color: #31573a;
  background: rgba(238, 247, 234, 0.92);
  font-size: 11px;
  font-weight: 800;
}

.goal-chip {
  color: rgba(31, 37, 28, 0.72) !important;
  background: rgba(255, 253, 248, 0.78) !important;
  font-weight: 760 !important;
}

.goal-chip--active {
  background: #315f42 !important;
  box-shadow: 0 6px 14px rgba(49, 95, 66, 0.16) !important;
}

.product-card {
  background: rgba(255, 253, 248, 0.98) !important;
  box-shadow: 0 8px 24px rgba(42, 39, 29, 0.055) !important;
}

.product-card h2 {
  color: #263020 !important;
  font-size: 13.5px !important;
  font-weight: 760 !important;
}

.market-price-row strong {
  color: #315f42 !important;
  font-size: 17.5px !important;
  font-weight: 920 !important;
}

.market-rating {
  color: rgba(102, 112, 93, 0.78) !important;
  font-weight: 650 !important;
}

.market-rating span:first-child {
  color: #d87924 !important;
}

.market-delivery {
  color: rgba(47, 125, 79, 0.9) !important;
  font-weight: 780 !important;
}

.market-buy,
.market-cart__checkout,
.payment-submit--sbp,
.contact-button--payment {
  background: linear-gradient(135deg, #356b46, #2f7d4f) !important;
  box-shadow: 0 8px 18px rgba(47, 125, 79, 0.18) !important;
}

.market-buy {
  font-weight: 850 !important;
}

.payment-submit-alt {
  border-color: rgba(47, 125, 79, 0.14);
  color: #2f6a43;
  background: rgba(242, 248, 239, 0.92);
  font-weight: 820;
}

.screen__header h2,
.payment-card h2,
.telegram-card h2,
.login-card h2 {
  color: #263020 !important;
  font-weight: 880 !important;
}

.screen__header p,
.payment-card__intro,
.payment-note {
  color: rgba(102, 112, 93, 0.86) !important;
  font-weight: 560 !important;
}

@media (max-width: 420px) {
  .product-grid {
    gap: 6px;
  }

  .product-card h2 {
    min-height: 28px;
    font-size: 12px;
  }

  .market-price-row strong {
    font-size: 15px;
  }

  .market-price-row span,
  .market-price-row em {
    font-size: 9px;
  }

  .market-rating,
  .market-delivery {
    font-size: 10px;
  }

  .market-buy,
  .market-favorite {
    min-height: 28px;
  }

  .market-buy {
    font-size: 12px;
  }

  .market-favorite::before {
    font-size: 14px;
  }
}

/* WB-like mobile storefront override */
body {
  background: #f6f1f8;
}

.app {
  background: #f6f1f8;
}

.product-screen.screen--active {
  gap: 8px;
}

.products-header {
  margin-bottom: 0;
}

.goal-picker {
  border: 0;
  box-shadow: none;
}

.product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: start !important;
}

.product-card {
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.product-card:hover {
  transform: none !important;
}

.product-card__body {
  padding: 7px !important;
}

.product-card p,
.product-card .product-card__price-note,
.product-card__body::after,
.product-tags,
.market-bullets {
  display: none !important;
}

.market-card__image {
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px 8px 0 0;
}

.market-card__counter,
.market-card__badge {
  font-size: 10px !important;
}

.product-card h2 {
  display: -webkit-box !important;
  min-height: 28px !important;
  margin: 0 0 4px !important;
  overflow: hidden !important;
  color: #24202a !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  line-height: 1.15 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.market-card__meta {
  gap: 4px !important;
}

.market-price-row {
  gap: 4px !important;
  min-width: 0 !important;
}

.market-price-row strong {
  color: #1f1824 !important;
  font-size: 16px !important;
  font-weight: 950 !important;
}

.market-price-row span {
  color: #9a919f !important;
  font-size: 10px !important;
}

.market-price-row em {
  background: #cb11ab !important;
  font-size: 9px !important;
}

.market-rating {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 4px !important;
  color: #7d7481 !important;
  font-size: 10px !important;
}

.market-rating span:first-child {
  color: #f5a400 !important;
}

.market-rating span:last-child {
  display: none !important;
}

.market-delivery {
  color: #169b35 !important;
  font-size: 10px !important;
  font-weight: 850 !important;
}

.market-card__actions {
  display: grid !important;
  grid-template-columns: 1fr 30px !important;
  gap: 5px !important;
  margin-top: 0 !important;
}

.market-buy {
  min-height: 30px !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  background: #cb11ab !important;
  font-size: 12px !important;
  box-shadow: none !important;
}

.market-favorite {
  display: grid !important;
  min-height: 30px !important;
  place-items: center !important;
  border-radius: 8px !important;
  padding: 0 !important;
  color: #cb11ab !important;
  background: #f4e2f2 !important;
  font-size: 0 !important;
}

.market-favorite::before {
  content: "★";
  font-size: 14px;
}

.market-cart__checkout,
.goal-chip--active {
  background: #cb11ab !important;
}

@media (max-width: 560px) {
  .flow {
    width: 100% !important;
    padding: 8px !important;
  }

  .screen--active {
    gap: 8px !important;
  }

  .top-row {
    gap: 6px !important;
  }

  .brand-pill {
    padding: 6px 8px !important;
    color: #ffffff !important;
    background: #cb11ab !important;
    font-size: 12px !important;
  }

  .social-links a {
    width: 29px !important;
    height: 29px !important;
    flex-basis: 29px !important;
    border-color: #ead7ef !important;
    background: #ffffff !important;
  }

  .portal-button {
    min-height: 40px !important;
    padding: 7px 9px !important;
    border-color: #ead7ef !important;
    background: #ffffff !important;
  }

  .portal-button strong {
    font-size: 12px !important;
  }

  .portal-button small {
    display: none !important;
  }

  .products-header h1 {
    display: none !important;
  }

  .goal-picker {
    padding: 0 !important;
    background: transparent !important;
  }

  .goal-chips {
    gap: 6px !important;
  }

  .goal-chip {
    min-height: 28px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }

  .product-grid {
    gap: 6px !important;
  }

  .market-card__counter,
  .market-card__badge {
    top: 5px !important;
    padding: 4px 6px !important;
  }

  .market-card__counter {
    left: 5px !important;
  }

  .market-card__badge {
    right: 5px !important;
  }

  .market-card__dots {
    bottom: 5px !important;
  }
}

/* Final clean storefront override */
body,
.app {
  background: #f5f2eb !important;
}

.app {
  width: min(100%, 520px) !important;
  max-width: 520px !important;
  box-shadow: none !important;
}

.flow {
  max-width: 520px !important;
  padding: 12px 10px 82px !important;
}

.products-header {
  position: static !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.top-row {
  display: flex !important;
}

.marketplace-topbar,
.market-card__slider::before,
.market-card__slider::after,
.market-card__counter,
.market-card__badge,
.market-price-row em,
.market-favorite,
.market-buy::before {
  display: none !important;
  content: none !important;
}

.brand-pill {
  color: #225b3b !important;
  background: rgba(242, 248, 239, 0.78) !important;
}

.social-links {
  display: flex !important;
}

.social-links a {
  background: #fffdf8 !important;
}

.portal-actions {
  position: static !important;
  display: grid !important;
  width: 100% !important;
}

.portal-button {
  width: 100% !important;
  height: auto !important;
  min-height: 48px !important;
  border: 1px solid rgba(47, 125, 79, 0.1) !important;
  border-radius: 8px !important;
  padding: 9px 12px !important;
  color: #225b3b !important;
  background: rgba(255, 253, 248, 0.86) !important;
}

.portal-button span,
.portal-button small {
  display: block !important;
}

.products-header h1 {
  display: none !important;
}

.detected-city-banner {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 4px 8px !important;
  border: 1px solid rgba(47, 125, 79, 0.08) !important;
  border-radius: 8px !important;
  padding: 7px 8px !important;
  background: rgba(255, 253, 248, 0.68) !important;
}

.detected-city-banner::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: #6da96e !important;
}

.detected-city-banner span {
  color: rgba(31, 37, 28, 0.86) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.detected-city-banner small {
  grid-column: 2 !important;
  color: rgba(102, 112, 93, 0.72) !important;
  font-size: 10.5px !important;
}

.detected-city-banner button {
  grid-row: 1 / span 2 !important;
  grid-column: 3 !important;
  min-height: 28px !important;
  color: #31573a !important;
  background: rgba(238, 247, 234, 0.92) !important;
}

.goal-chip--active {
  background: #315f42 !important;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.product-card {
  overflow: hidden !important;
  border-radius: 8px !important;
  background: rgba(255, 253, 248, 0.98) !important;
  box-shadow: 0 8px 24px rgba(42, 39, 29, 0.055) !important;
}

.market-card__slider {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  overflow: hidden !important;
  border-radius: 8px 8px 0 0 !important;
}

.market-card__image {
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px 8px 0 0 !important;
}

.product-card__body {
  position: static !important;
  display: grid !important;
  gap: 5px !important;
  padding: 8px !important;
}

.product-card h2 {
  order: 1 !important;
  min-height: 32px !important;
  color: #263020 !important;
  font-size: 13.5px !important;
  font-weight: 760 !important;
}

.market-price-row {
  order: 2 !important;
  padding-right: 0 !important;
}

.market-price-row strong {
  color: #315f42 !important;
  font-size: 17.5px !important;
}

.market-price-row strong::before {
  content: "" !important;
}

.market-rating {
  order: 3 !important;
  display: inline-flex !important;
  width: fit-content !important;
  color: rgba(102, 112, 93, 0.78) !important;
  font-size: 12px !important;
}

.market-rating span:first-child {
  color: #d87924 !important;
}

.market-delivery {
  order: 4 !important;
  display: block !important;
  color: rgba(47, 125, 79, 0.9) !important;
}

.market-card__actions {
  position: static !important;
  order: 5 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  margin-top: 2px !important;
}

.market-buy,
.market-cart__checkout,
.payment-submit--sbp,
.contact-button--payment {
  width: 100% !important;
  min-height: 34px !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #356b46, #2f7d4f) !important;
  font-size: 13px !important;
  box-shadow: 0 8px 18px rgba(47, 125, 79, 0.18) !important;
}

/* Final checkout and reviews polish */
.contact-button--payment {
  width: 100% !important;
  min-height: 48px !important;
  border: 1px solid rgba(47, 125, 79, 0.22) !important;
  border-radius: 8px !important;
  color: #225b3b !important;
  background: rgba(255, 253, 248, 0.94) !important;
  box-shadow: 0 6px 18px rgba(42, 39, 29, 0.06) !important;
}

.contact-button--payment:hover {
  border-color: rgba(47, 125, 79, 0.36) !important;
  background: #ffffff !important;
  transform: translateY(-1px);
}

.contact-button--payment strong {
  color: #225b3b !important;
  font-size: 14px !important;
}

.contact-button--payment small {
  color: rgba(102, 112, 93, 0.8) !important;
  font-size: 11px !important;
}

.sbp-mini {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  place-items: center !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2f7d4f, #74ad62) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.payment-submit--sbp {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.payment-submit--sbp::before {
  content: "СБП";
  display: inline-grid;
  width: 34px;
  height: 22px;
  place-items: center;
  border-radius: 6px;
  color: #225b3b;
  background: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 900;
}

.review-modal__panel {
  border-radius: 18px 18px 0 0 !important;
  background: #fffdfa !important;
}

.review-modal__head h2 {
  color: #263020 !important;
}

.review-modal__head p {
  color: rgba(102, 112, 93, 0.9) !important;
}

.review-modal__media {
  grid-auto-columns: minmax(148px, 52%) !important;
  gap: 10px !important;
}

.review-modal__media img,
.review-modal__media video {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border: 1px solid rgba(47, 125, 79, 0.1) !important;
  border-radius: 10px !important;
  background: #f5f2eb !important;
  box-shadow: 0 8px 20px rgba(42, 39, 29, 0.08) !important;
}

.review-comment {
  border-color: rgba(47, 125, 79, 0.12) !important;
  background: #ffffff !important;
}

.review-comment strong {
  color: #263020 !important;
}

.review-comment p {
  color: #4d5747 !important;
}

/* Marketplace slide dragging */
.market-card__slider {
  cursor: pointer !important;
  touch-action: pan-y !important;
  user-select: none !important;
}

.market-card__slider--dragging {
  cursor: grabbing !important;
}

.market-card__slider img {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
}

/* WB-inspired pink-purple palette */
:root {
  --leaf: #cb11ab;
  --leaf-dark: #8d0f78;
  --market: #cb11ab;
  --market-dark: #7a0f6e;
  --market-soft: #fde8fb;
}

body {
  background:
    radial-gradient(circle at 50% -140px, rgba(203, 17, 171, 0.2), transparent 290px),
    #f7f3f8 !important;
}

.app {
  background: linear-gradient(180deg, #ffffff 0%, #f7f3f8 100%) !important;
}

.social-links a,
.detected-city-banner,
.city-pill,
.goal-chip,
.contact-button,
.review-comment {
  border-color: rgba(203, 17, 171, 0.14) !important;
}

.social-links a {
  color: #8d0f78 !important;
  background: #fff6fe !important;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(203, 17, 171, 0.28) !important;
  box-shadow: 0 8px 18px rgba(203, 17, 171, 0.12) !important;
}

.detected-city-banner {
  background: linear-gradient(135deg, #fff6fe, #fce8ff) !important;
  box-shadow: 0 8px 24px rgba(203, 17, 171, 0.08) !important;
}

.detected-city-banner::before,
.city-pill {
  color: #8d0f78 !important;
  background: #fde8fb !important;
}

.detected-city-banner span,
.city-pill,
.contact-button strong,
.review-modal__head h2,
.review-comment strong,
.product-card h2 {
  color: #2e1731 !important;
}

.detected-city-banner button {
  color: #8d0f78 !important;
}

.goal-chip {
  color: #6f5872 !important;
  background: #ffffff !important;
}

.goal-chip--active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #cb11ab, #7a0f6e) !important;
  box-shadow: 0 8px 20px rgba(203, 17, 171, 0.22) !important;
}

.market-price-row strong {
  color: #cb11ab !important;
}

.market-rating span:first-child {
  color: #ff8a00 !important;
}

.market-rating,
.market-delivery {
  color: rgba(141, 15, 120, 0.78) !important;
}

.market-buy,
.market-cart__checkout,
.payment-submit--sbp {
  color: #ffffff !important;
  background: linear-gradient(135deg, #cb11ab, #7a0f6e) !important;
  box-shadow: 0 8px 18px rgba(203, 17, 171, 0.24) !important;
}

.market-cart {
  border-color: rgba(203, 17, 171, 0.14) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 -10px 28px rgba(86, 29, 91, 0.12) !important;
}

.market-cart strong {
  color: #2e1731 !important;
}

.market-cart span {
  color: rgba(111, 88, 114, 0.86) !important;
}

.contact-button--payment {
  border-color: rgba(203, 17, 171, 0.22) !important;
  color: #8d0f78 !important;
  background: rgba(255, 246, 254, 0.96) !important;
  box-shadow: 0 6px 18px rgba(203, 17, 171, 0.08) !important;
}

.contact-button--payment:hover {
  border-color: rgba(203, 17, 171, 0.36) !important;
  background: #ffffff !important;
}

.contact-button--payment strong {
  color: #8d0f78 !important;
}

.contact-button--payment small {
  color: rgba(111, 88, 114, 0.82) !important;
}

.sbp-mini {
  background: linear-gradient(135deg, #cb11ab, #7a0f6e) !important;
}

.payment-submit--sbp::before {
  color: #8d0f78 !important;
}

.review-modal__overlay {
  background: rgba(46, 23, 49, 0.48) !important;
}

.review-modal__panel {
  background: #fffaff !important;
}

.review-modal__close {
  color: #8d0f78 !important;
  background: #fde8fb !important;
}

.review-modal__media img,
.review-modal__media video {
  border-color: rgba(203, 17, 171, 0.12) !important;
  background: #f7f3f8 !important;
  box-shadow: 0 8px 20px rgba(86, 29, 91, 0.1) !important;
}

.review-comment p,
.review-modal__head p {
  color: #6f5872 !important;
}

/* Native social colors and SBP assets */
.brand-pill {
  border-color: rgba(203, 17, 171, 0.22) !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #cb11ab, #7a0f6e) !important;
  box-shadow: 0 8px 18px rgba(203, 17, 171, 0.18) !important;
}

.social-links a {
  border-color: rgba(31, 37, 28, 0.1) !important;
  background: #ffffff !important;
  box-shadow: 0 6px 18px rgba(42, 39, 29, 0.06) !important;
}

.social-links .social-link--instagram {
  color: #c13584 !important;
}

.social-links .social-link--vk {
  color: #2787f5 !important;
}

.social-links .social-link--youtube {
  color: #ff0033 !important;
}

.social-links .social-link--tiktok {
  color: #111111 !important;
}

.social-links .social-link--rutube {
  color: #111111 !important;
}

.social-links .social-link--telegram {
  color: #229ed9 !important;
}

.social-links .social-link--max {
  color: #246bfd !important;
}

.social-links .social-link--ok {
  color: #ee8208 !important;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: currentColor !important;
  background: #ffffff !important;
  box-shadow: 0 8px 18px rgba(42, 39, 29, 0.1) !important;
}

.sbp-mini img {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  filter: brightness(0) invert(1) !important;
}

.payment-submit--sbp img {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  filter: brightness(0) invert(1) !important;
}

.payment-submit--sbp::before {
  content: none !important;
}

/* Sber/SBP green payment action */
.contact-button--payment {
  border-color: rgba(33, 160, 56, 0.28) !important;
  color: #107c28 !important;
  background: linear-gradient(135deg, #f4fff5, #ffffff) !important;
  box-shadow: 0 6px 18px rgba(33, 160, 56, 0.1) !important;
}

.contact-button--payment:hover {
  border-color: rgba(33, 160, 56, 0.46) !important;
  background: #ffffff !important;
}

.contact-button--payment strong {
  color: #107c28 !important;
}

.contact-button--payment small {
  color: rgba(34, 101, 48, 0.78) !important;
}

.sbp-mini {
  background: linear-gradient(135deg, #21a038, #16b74f) !important;
  box-shadow: 0 6px 14px rgba(33, 160, 56, 0.2) !important;
}

.payment-submit--sbp {
  color: #ffffff !important;
  background: linear-gradient(135deg, #21a038, #107c28) !important;
  box-shadow: 0 10px 22px rgba(33, 160, 56, 0.26) !important;
}

.payment-submit--sbp:hover {
  background: linear-gradient(135deg, #27b844, #0e8429) !important;
}

/* SBP option should look like YooKassa: white card, black text, native icon */
.contact-button--payment {
  border-color: rgba(16, 24, 40, 0.1) !important;
  color: #102033 !important;
  background: #ffffff !important;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08) !important;
}

.contact-button--payment:hover {
  border-color: rgba(33, 160, 56, 0.26) !important;
  background: #ffffff !important;
}

.contact-button--payment strong {
  color: #102033 !important;
}

.contact-button--payment small {
  color: rgba(80, 91, 110, 0.82) !important;
}

.sbp-mini {
  width: 36px !important;
  height: 36px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sbp-mini img {
  width: 30px !important;
  height: 30px !important;
  filter: none !important;
}

.payment-submit--sbp {
  border: 1px solid rgba(16, 24, 40, 0.1) !important;
  color: #102033 !important;
  background: #ffffff !important;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08) !important;
}

.payment-submit--sbp:hover {
  border-color: rgba(33, 160, 56, 0.26) !important;
  background: #ffffff !important;
}

.payment-submit--sbp img {
  width: 30px !important;
  height: 30px !important;
  filter: none !important;
}

/* Free course top banner */
.free-course-banner {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: -22px -16px 16px;
  border-bottom: 1px solid rgba(47, 125, 79, 0.16);
  padding: 12px 16px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 10px 24px rgba(42, 39, 29, 0.08);
  backdrop-filter: blur(14px);
}

.free-course-banner__copy {
  min-width: 0;
}

.free-course-banner__copy span,
.free-course-banner__copy strong,
.free-course-banner__copy small {
  display: block;
}

.free-course-banner__copy span {
  margin-bottom: 3px;
  color: var(--leaf);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.free-course-banner__copy strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.16;
}

.free-course-banner__copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.free-course-banner__button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
  box-shadow: 0 8px 18px rgba(47, 125, 79, 0.2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.free-course-banner__button:hover,
.free-course-banner__button:focus-visible {
  background: linear-gradient(135deg, #368d5b, var(--leaf-dark));
  outline: none;
}

@media (max-width: 380px) {
  .free-course-banner {
    grid-template-columns: 1fr;
    gap: 9px;
  }

.free-course-banner__button {
  width: 100%;
  }
}

/* Original SBP mark */
.join-button--payment {
  border-color: rgba(16, 24, 40, 0.1) !important;
  background: #ffffff !important;
}

.sbp-icon,
.sbp-mini img,
.payment-submit--sbp img {
  display: block !important;
  flex: 0 0 auto !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  filter: none !important;
}

.join-button .sbp-icon {
  width: 42px !important;
  height: 42px !important;
}

.sbp-mini {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sbp-mini img {
  width: 42px !important;
  height: 42px !important;
}

.payment-submit--sbp {
  gap: 10px !important;
}

.payment-submit--sbp img {
  width: 34px !important;
  height: 34px !important;
}

/* Keep hero product artwork full-height and aligned in the product grid. */
[data-product="Ферментированные напитки"] .market-card__slider,
[data-product^="Энзимы"] .market-card__slider,
[data-product^="Детокс на соках"] .market-card__slider {
  background: #f4efe7 !important;
}

[data-product="Ферментированные напитки"] .market-card__image,
[data-product^="Энзимы"] .market-card__image,
[data-product^="Детокс на соках"] .market-card__image {
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
  object-position: center top !important;
  background: #f4efe7 !important;
}

/* City confirmation and softer purchase actions */
.detected-city-banner {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
}

.detected-city-banner[hidden],
.detected-city-banner--hidden {
  display: none !important;
}

.detected-city-actions {
  grid-row: 1 / span 2 !important;
  grid-column: 3 !important;
  display: inline-flex !important;
  gap: 6px !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.detected-city-banner .detected-city-actions button {
  position: static !important;
  grid-row: auto !important;
  grid-column: auto !important;
  min-height: 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 9px !important;
  color: #31573a !important;
  background: rgba(238, 247, 234, 0.92) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  font-size: 11px !important;
  font-weight: 850 !important;
}

.detected-city-banner .detected-city-ok {
  color: #ffffff !important;
  background: #5f9468 !important;
}

.detected-city-banner .detected-city-ok[hidden] {
  display: none !important;
}

.detected-city-banner--confirmed small {
  display: none !important;
}

.market-buy,
.market-cart__checkout,
.payment-submit--sbp {
  color: #ffffff !important;
  background: linear-gradient(135deg, #9d3f82, #6f3d82) !important;
  box-shadow: 0 8px 18px rgba(111, 61, 130, 0.16) !important;
}

.market-buy:hover,
.market-cart__checkout:hover,
.payment-submit--sbp:hover {
  background: linear-gradient(135deg, #8f3977, #643676) !important;
  box-shadow: 0 10px 22px rgba(111, 61, 130, 0.2) !important;
}

.market-cart {
  position: fixed !important;
  right: max(10px, calc(50% - 407px)) !important;
  bottom: max(10px, env(safe-area-inset-bottom)) !important;
  left: max(10px, calc(50% - 407px)) !important;
  z-index: 90 !important;
  margin: 0 !important;
  border: 1px solid rgba(157, 63, 130, 0.18) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 -10px 30px rgba(44, 23, 52, 0.18) !important;
}

.product-page {
  padding-bottom: 92px !important;
}

.cookie-banner {
  position: fixed;
  left: 10px;
  bottom: calc(74px + env(safe-area-inset-bottom));
  z-index: 70;
  display: inline-flex;
  max-width: min(260px, calc(100vw - 20px));
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(40, 30, 43, 0.08);
  border-radius: 8px;
  padding: 7px 8px;
  color: rgba(49, 43, 54, 0.82);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(32, 24, 35, 0.12);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner button {
  min-height: 24px;
  border: 0;
  border-radius: 999px;
  padding: 0 9px;
  color: #ffffff;
  background: #6f8f5f;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
}

@media (max-width: 720px) {
  .market-cart {
    right: 10px !important;
    left: 10px !important;
  }

  .cookie-banner {
    bottom: calc(72px + env(safe-area-inset-bottom));
    max-width: 220px;
  }
}

/* Keep the cart attached to the viewport, not to the animated product screen. */
.product-screen.screen--active {
  animation: none !important;
  transform: none !important;
}

.market-cart {
  position: fixed !important;
  right: max(10px, calc(50vw - 407px)) !important;
  bottom: max(10px, env(safe-area-inset-bottom)) !important;
  left: max(10px, calc(50vw - 407px)) !important;
  z-index: 999 !important;
  display: grid !important;
  margin: 0 !important;
  pointer-events: auto !important;
}

@media (max-width: 720px) {
  .market-cart {
    right: 10px !important;
    left: 10px !important;
  }
}

.market-card__actions {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 6px !important;
}

.market-buy {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-height: 36px !important;
  font-size: 13px !important;
}

.market-favorite {
  grid-column: 1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  min-height: 30px !important;
}

.global-manager-button {
  position: fixed;
  top: max(8px, env(safe-area-inset-top));
  left: 50%;
  z-index: 960;
  display: flex;
  align-items: center;
  width: min(calc(100% - 24px), 560px);
  max-width: none;
  gap: 10px;
  margin: 0;
  min-height: 50px;
  border: 1px solid rgba(72, 145, 205, 0.34);
  border-radius: 12px;
  padding: 8px 12px;
  color: #18557a;
  background: rgba(231, 244, 255, 0.88);
  box-shadow: 0 10px 24px rgba(50, 112, 166, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(-50%);
  text-align: left;
  cursor: pointer;
}

.global-manager-button svg {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  padding: 5px;
  border-radius: 999px;
  color: #1f78b8;
  background: rgba(44, 133, 204, 0.14);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.global-manager-button span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.global-manager-button strong {
  font-size: 14px;
  font-weight: 950;
  line-height: 1.1;
}

.global-manager-button small {
  color: rgba(24, 85, 122, 0.78);
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.2;
}

.global-manager-button:hover,
.global-manager-button:focus-visible {
  border-color: rgba(44, 133, 204, 0.5);
  background: rgba(220, 239, 255, 0.96);
  box-shadow: 0 12px 28px rgba(50, 112, 166, 0.18);
  transform: translateX(-50%) translateY(-1px);
  outline: none;
}

.club48-button {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 8px 0 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 124, 200, 0.58);
  border-radius: 999px;
  padding: 9px 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7ac8 0%, #e83baa 48%, #b91ed4 100%);
  box-shadow: 0 12px 24px rgba(232, 59, 170, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  cursor: pointer;
  font: inherit;
}

.club48-button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 52%);
  pointer-events: none;
}

.club48-button span,
.club48-button strong {
  position: relative;
  z-index: 1;
}

.club48-button span {
  color: #fff6fb;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

.club48-button strong {
  letter-spacing: 0;
  text-shadow: 0 1px 8px rgba(118, 0, 98, 0.25);
  max-width: min(100%, 310px);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
}

.club48-button:hover,
.club48-button:focus-visible {
  background: linear-gradient(135deg, #ff8ed2 0%, #f04bb6 48%, #c12dde 100%);
  outline: none;
}

.club48-card {
  border: 1px solid rgba(203, 17, 171, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: #fffdf8;
  box-shadow: 0 12px 34px rgba(42, 39, 29, 0.1);
}

.club48-card h2 {
  margin: 4px 0 10px;
  color: #281d2c;
  font-size: 28px;
  line-height: 1.12;
}

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

.club48-form {
  display: grid;
  gap: 12px;
}

.club48-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.club48-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
}

.club48-form input:focus {
  border-color: rgba(203, 17, 171, 0.42);
  box-shadow: 0 0 0 3px rgba(203, 17, 171, 0.11);
  outline: none;
}

.club48-submit {
  min-height: 50px;
}

.club48-form small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.club48-success[hidden] {
  display: none;
}

.club48-success {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(42, 20, 42, 0.28);
  backdrop-filter: blur(5px);
}

.club48-success__panel {
  width: min(360px, 100%);
  border: 1px solid rgba(212, 43, 145, 0.18);
  border-radius: 8px;
  padding: 22px;
  text-align: center;
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 100%);
  box-shadow: 0 18px 50px rgba(69, 31, 58, 0.22);
}

.club48-success__panel strong {
  display: block;
  color: #27182d;
  font-size: 24px;
  line-height: 1.12;
}

.club48-success__panel p {
  margin: 10px 0 18px;
  color: #6a5269;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.38;
}

.club48-success__panel button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #d42b91, #b01693);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 720px) {
  .product-header h1 {
    font-size: 29px;
  }

  .global-manager-button {
    min-height: 48px;
  }
}

.portal-actions--bottom {
  margin: 14px 0 84px;
}

.portal-actions--bottom .portal-button {
  width: 100%;
}

.product-card {
  cursor: pointer !important;
}

.product-card,
.review-card,
.result-card {
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}

.market-card__slider {
  cursor: pointer;
}

.market-cart-icon {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #cb11ab, #8b23d7);
  box-shadow: 0 8px 18px rgba(139, 35, 215, 0.34);
  cursor: pointer;
}

.market-cart-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-delivery {
  display: none !important;
}

.product-detail-modal[hidden] {
  display: none !important;
}

.product-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.product-detail-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 22, 38, 0.28);
}

.product-detail-modal__panel {
  position: relative;
  display: block;
  width: min(100%, 430px);
  height: 100%;
  margin: 0 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff;
}

.product-detail-modal__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  left: 12px;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #332538;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 4px 14px rgba(34, 22, 38, 0.16);
}

.product-detail-modal__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.product-detail-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  background: #f6f3f7;
}

.product-detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #f4efe7;
  scroll-snap-align: start;
}

.product-detail-modal[data-detail-product^="Антипаразитарный сбор"] .product-detail-gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-detail-gallery-hint {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: -45px 14px 14px auto;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(47, 125, 79, 0.9);
  box-shadow: 0 6px 16px rgba(33, 78, 52, 0.18);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.product-detail-gallery-hint[hidden] {
  display: none;
}

.product-detail-video {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111111;
  scroll-snap-align: start;
}

.product-detail-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.product-detail-content {
  overflow: visible;
  padding: 14px 14px 18px;
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 8px;
}

.product-detail-price strong {
  color: #d20f79;
  font-size: 23px;
  font-weight: 950;
}

.product-detail-price span {
  color: #9b95a1;
  text-decoration: line-through;
}

.product-detail-price em {
  border-radius: 999px;
  padding: 3px 7px;
  color: #ffffff;
  background: #f03e9a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.product-detail-content h2 {
  margin: 0 0 8px;
  color: #2b2330;
  font-size: 20px;
  line-height: 1.15;
}

.product-detail-rating {
  margin: 0 0 10px;
  border: 0;
  padding: 0;
  color: #6f6676;
  background: transparent;
  font-size: 14px;
  font-weight: 850;
  text-align: left;
}

.product-detail-rating::first-letter {
  color: #f5a400;
}

.product-detail-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.product-detail-bullets span {
  border-radius: 999px;
  padding: 5px 8px;
  color: #6f3d82;
  background: #f8e7f7;
  font-size: 12px;
  font-weight: 850;
}

.product-detail-description {
  display: grid;
  gap: 10px;
  color: #403647;
  font-size: 14px;
  line-height: 1.42;
}

.product-detail-description p {
  margin: 0;
}

.product-detail-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 22px rgba(34, 22, 38, 0.12);
}

.product-detail-actions button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.product-detail-manager {
  background: linear-gradient(135deg, #ff8a00, #ff6b00);
}

.product-detail-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #cb11ab, #8b23d7);
}

.product-detail-cart svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Legal documents, consents and privacy controls */
.legal-inline{margin:2px 0 0;color:var(--muted);font-size:10px;line-height:1.45}.legal-inline a,.legal-check a{color:#8b176f;text-underline-offset:2px}.payment-form .legal-check,.club48-form .legal-check{display:grid;grid-template-columns:22px minmax(0,1fr);gap:9px;align-items:start;border:1px solid rgba(157,63,130,.16);border-radius:12px;padding:11px 12px;color:#574d58;background:#fff8fd;font-size:11px;font-weight:650;line-height:1.45;cursor:pointer}.payment-form .legal-check input[type="checkbox"],.club48-form .legal-check input[type="checkbox"]{width:18px;height:18px;min-height:0;margin:1px 0 0;padding:0;accent-color:#b61992;box-shadow:none}.payment-form .legal-check span,.club48-form .legal-check span{display:block}
.site-legal-footer{display:grid;width:min(100%,820px);gap:5px;margin:24px auto 90px;padding:24px 18px;color:#625762;text-align:center}.site-legal-footer>strong{font-size:15px}.site-legal-footer>span{font-size:10px;line-height:1.4}.site-legal-footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;margin-top:9px}.site-legal-footer a,.site-legal-footer button{border:0;padding:0;color:#8b176f;background:none;font:inherit;font-size:10px;font-weight:850;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cookie-banner{right:12px;left:12px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:2000;display:grid;width:min(760px,calc(100vw - 24px));max-width:none;margin:0 auto;grid-template-columns:minmax(0,1fr) auto;gap:14px;border-radius:18px;padding:14px 16px;color:#3d343e;background:rgba(255,255,255,.98);box-shadow:0 16px 44px rgba(32,24,35,.2);font-size:11px;font-weight:650;line-height:1.4}.cookie-banner>div:first-child{display:grid;gap:3px}.cookie-banner strong{font-size:13px}.cookie-banner a{color:#8b176f}.cookie-banner__actions{display:flex;align-items:center;gap:7px}.cookie-banner button{min-height:38px;border:1px solid #d9cdd9;border-radius:999px;padding:0 13px;color:#554b56;background:#fff;font-size:10px;font-weight:900}.cookie-banner #cookie-accept{border-color:transparent;color:#fff;background:linear-gradient(135deg,#c91ca0,#8422c7)}
@media(max-width:640px){.cookie-banner{bottom:calc(82px + env(safe-area-inset-bottom));grid-template-columns:1fr}.cookie-banner__actions{display:grid;grid-template-columns:1fr 1fr}.cookie-banner button{width:100%;padding:0 8px}.site-legal-footer{margin-bottom:82px}}
