:root {
  --paper: #f7f4ec;
  --paper-soft: #fbfaf6;
  --sage: #e7eee4;
  --forest: #214d39;
  --forest-deep: #153628;
  --ink: #142832;
  --muted: #6b7168;
  --ochre: #c9942f;
  --rust: #b85f32;
  --blue: #2e6782;
  --line: rgba(33, 77, 57, 0.16);
  --shadow: 0 24px 70px rgba(21, 54, 40, 0.13);
  --radius: 8px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --body-wash:
    radial-gradient(circle at 14% 18%, rgba(231, 238, 228, 0.72), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.62), transparent 44%, rgba(255, 255, 255, 0.35));
  --hero-filter: saturate(1);
  --hero-frame: rgba(33, 77, 57, 0.16);
  --button-fill: var(--forest);
  --cover-shade: rgba(247, 244, 236, 0.98);
}

body[data-theme="taiga"] {
  --paper: #edf4ea;
  --paper-soft: #fbfff8;
  --sage: #d7e7d3;
  --forest: #0f4a34;
  --forest-deep: #082b1f;
  --ink: #0e2824;
  --muted: #526b58;
  --ochre: #b78e24;
  --rust: #9b6432;
  --blue: #1f6570;
  --line: rgba(15, 74, 52, 0.22);
  --shadow: 0 26px 80px rgba(8, 43, 31, 0.2);
  --body-wash:
    radial-gradient(circle at 12% 14%, rgba(177, 213, 170, 0.78), transparent 28%),
    radial-gradient(circle at 86% 32%, rgba(31, 101, 112, 0.16), transparent 26%),
    linear-gradient(115deg, rgba(255,255,255,0.62), rgba(225,237,218,0.74));
  --hero-filter: saturate(1.08) contrast(1.04);
  --hero-frame: rgba(15, 74, 52, 0.3);
  --button-fill: linear-gradient(135deg, #0f4a34, #2d6f4a);
}

body[data-theme="altai"] {
  --paper: #fbecd7;
  --paper-soft: #fff8eb;
  --sage: #ece2c2;
  --forest: #3d5636;
  --forest-deep: #27351f;
  --ink: #2b2d26;
  --muted: #776752;
  --ochre: #d39525;
  --rust: #b86033;
  --blue: #2f6a7f;
  --line: rgba(143, 95, 36, 0.24);
  --shadow: 0 26px 80px rgba(126, 82, 32, 0.18);
  --body-wash:
    radial-gradient(circle at 20% 20%, rgba(226, 179, 84, 0.28), transparent 26%),
    radial-gradient(circle at 82% 28%, rgba(47, 106, 127, 0.14), transparent 28%),
    linear-gradient(115deg, rgba(255,250,239,0.94), rgba(244,224,189,0.78));
  --hero-filter: sepia(0.12) saturate(1.1) brightness(1.02);
  --hero-frame: rgba(211, 149, 37, 0.38);
  --button-fill: linear-gradient(135deg, #3d5636, #d39525);
}

body[data-theme="south"] {
  --paper: #fff0e2;
  --paper-soft: #fffaf4;
  --sage: #eadcc8;
  --forest: #4f5a2f;
  --forest-deep: #30381f;
  --ink: #302c24;
  --muted: #80634f;
  --ochre: #d07a27;
  --rust: #a9472e;
  --blue: #336c75;
  --line: rgba(169, 71, 46, 0.24);
  --shadow: 0 26px 78px rgba(136, 68, 38, 0.2);
  --body-wash:
    radial-gradient(circle at 10% 20%, rgba(208, 122, 39, 0.26), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(169, 71, 46, 0.18), transparent 27%),
    linear-gradient(115deg, rgba(255,250,244,0.95), rgba(244,218,196,0.78));
  --hero-filter: sepia(0.18) saturate(1.22) contrast(1.02);
  --hero-frame: rgba(169, 71, 46, 0.34);
  --button-fill: linear-gradient(135deg, #4f5a2f, #a9472e);
}

body[data-theme="north"] {
  --paper: #eaf2f4;
  --paper-soft: #f8fcfc;
  --sage: #d4e4e5;
  --forest: #1e5660;
  --forest-deep: #12363d;
  --ink: #102832;
  --muted: #596e75;
  --ochre: #b58d3f;
  --rust: #8f684b;
  --blue: #245b7a;
  --line: rgba(30, 86, 96, 0.22);
  --shadow: 0 26px 78px rgba(36, 91, 122, 0.18);
  --body-wash:
    radial-gradient(circle at 16% 20%, rgba(132, 178, 188, 0.3), transparent 25%),
    radial-gradient(circle at 86% 34%, rgba(181, 141, 63, 0.16), transparent 28%),
    linear-gradient(115deg, rgba(248,252,252,0.96), rgba(216,231,233,0.82));
  --hero-filter: saturate(0.92) contrast(1.07) brightness(1.03);
  --hero-frame: rgba(30, 86, 96, 0.3);
  --button-fill: linear-gradient(135deg, #1e5660, #245b7a);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  transition: background 220ms ease, color 220ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: var(--body-wash);
  z-index: -1;
}

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

button,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.page-section {
  scroll-margin-top: 86px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px max(16px, calc((100vw - 1180px) / 2));
  background: rgba(251, 250, 246, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

body[data-theme="taiga"] .site-header {
  background: rgba(251, 255, 248, 0.88);
}

body[data-theme="altai"] .site-header {
  background: rgba(255, 248, 235, 0.88);
}

body[data-theme="south"] .site-header {
  background: rgba(255, 250, 244, 0.88);
}

body[data-theme="north"] .site-header {
  background: rgba(248, 252, 252, 0.88);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  min-width: 152px;
}

.brand__title {
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 42px);
  font-weight: 700;
  line-height: 0.9;
}

.brand__subtitle {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, 1.2vw, 20px);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.main-nav a {
  position: relative;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 220ms ease, color 220ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(33, 77, 57, 0.08);
  color: var(--forest);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: var(--ochre);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.design-menu {
  position: relative;
  z-index: 35;
  margin-left: auto;
}

.design-menu__trigger {
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--forest);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.design-menu__trigger:hover,
.design-menu__trigger:focus-visible,
.design-menu.is-open .design-menu__trigger {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.design-menu__list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 190px;
  padding: 8px;
  background: color-mix(in srgb, var(--paper-soft) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}

.design-menu:hover .design-menu__list,
.design-menu:focus-within .design-menu__list,
.design-menu.is-open .design-menu__list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.theme-button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 11px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.theme-button::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--theme-swatch, var(--forest));
}

.theme-button[data-theme="base"] { --theme-swatch: linear-gradient(135deg, #214d39, #c9942f); }
.theme-button[data-theme="taiga"] { --theme-swatch: linear-gradient(135deg, #0f4a34, #2d6f4a); }
.theme-button[data-theme="altai"] { --theme-swatch: linear-gradient(135deg, #d39525, #3d5636); }
.theme-button[data-theme="south"] { --theme-swatch: linear-gradient(135deg, #a9472e, #d07a27); }
.theme-button[data-theme="north"] { --theme-swatch: linear-gradient(135deg, #1e5660, #245b7a); }

.theme-button:hover,
.theme-button:focus-visible,
.theme-button.is-active {
  background: var(--sage);
  color: var(--forest);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  color: var(--forest);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100svh - 80px);
  padding: 20px 0 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ochre);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.93;
}

h2 {
  letter-spacing: -0.01em;
}

h3 {
  letter-spacing: -0.01em;
}

h1 {
  max-width: 600px;
  margin-bottom: 20px;
  font-size: clamp(52px, 10vw, 116px);
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
}

h3 {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.hero__text,
.section__intro p,
.section-heading p,
.content-text p,
.payment-card p,
.advantage-card p {
  color: var(--muted);
}

.hero__text {
  max-width: 480px;
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--button-fill);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.button--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 600ms ease;
}

.button--primary:hover::after {
  transform: translateX(100%);
}

.button--secondary {
  border-color: var(--forest);
  background: transparent;
  color: var(--forest);
}

.button--light {
  background: #fff;
  color: var(--forest);
}

.button--ghost {
  border-color: transparent;
  background: rgba(33, 77, 57, 0.08);
  color: var(--forest);
  font-weight: 700;
  font-size: 13px;
}

.button--ghost:hover {
  background: rgba(33, 77, 57, 0.16);
  border-color: transparent;
}





@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-visual__image {
  width: min(100%, 620px);
  aspect-ratio: 9 / 8;
  object-fit: cover;
  border: 1px solid var(--hero-frame);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: var(--hero-filter);
  animation: heroFloat 5s ease-in-out infinite;
}

.hero-visual {
  transition: transform 300ms ease-out;
}

.about-preview {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.section__intro {
  position: sticky;
  top: 108px;
}

.section__intro p {
  margin-bottom: 24px;
  line-height: 1.7;
}



.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  color: var(--ochre);
}

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

.region-card {
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(21, 54, 40, 0.08);
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 400ms ease, border-color 400ms ease;
}

.region-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(21, 54, 40, 0.15);
  border-color: var(--forest);
}



.region-card__body {
  padding: 18px;
}

.region-card__label {
  display: block;
  margin-bottom: 10px;
  color: var(--ochre);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.region-card p,
.product-card p,
.set-card p {
  color: var(--muted);
  font-size: 14px;
}

.gift-preview {
  padding-bottom: 36px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 8px;
}

.section-heading p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.7;
}

.gift-preview .section-heading {
  margin-bottom: 20px;
}

.gift-banner {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21, 54, 40, 0.92), rgba(21, 54, 40, 0.54) 48%, rgba(21, 54, 40, 0.18)),
    radial-gradient(circle at 77% 45%, rgba(201, 148, 47, 0.36), transparent 28%),
    linear-gradient(135deg, #153628, #59705a);
  border-radius: 16px;
}

body[data-theme="taiga"] .gift-banner {
  background:
    linear-gradient(90deg, rgba(8, 43, 31, 0.95), rgba(15, 74, 52, 0.68) 52%, rgba(15, 74, 52, 0.18)),
    radial-gradient(circle at 74% 42%, rgba(183, 142, 36, 0.34), transparent 30%),
    linear-gradient(135deg, #082b1f, #3f7954);
}

body[data-theme="altai"] .gift-banner {
  background:
    linear-gradient(90deg, rgba(39, 53, 31, 0.9), rgba(61, 86, 54, 0.56) 48%, rgba(211, 149, 37, 0.18)),
    radial-gradient(circle at 78% 38%, rgba(211, 149, 37, 0.5), transparent 30%),
    linear-gradient(135deg, #3d5636, #d39525);
}

body[data-theme="south"] .gift-banner {
  background:
    linear-gradient(90deg, rgba(48, 56, 31, 0.92), rgba(79, 90, 47, 0.58) 46%, rgba(169, 71, 46, 0.24)),
    radial-gradient(circle at 78% 40%, rgba(208, 122, 39, 0.56), transparent 28%),
    linear-gradient(135deg, #4f5a2f, #a9472e);
}

body[data-theme="north"] .gift-banner {
  background:
    linear-gradient(90deg, rgba(18, 54, 61, 0.94), rgba(30, 86, 96, 0.6) 50%, rgba(36, 91, 122, 0.18)),
    radial-gradient(circle at 76% 38%, rgba(181, 141, 63, 0.28), transparent 30%),
    linear-gradient(135deg, #12363d, #245b7a);
}

.gift-banner h3 {
  max-width: 520px;
  margin-bottom: 24px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(35px, 5vw, 62px);
  font-weight: 700;
}

.roadmap__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
}

.roadmap-item {
  position: relative;
  padding-right: 22px;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 46px;
  right: 0;
  height: 1px;
  background: rgba(201, 148, 47, 0.45);
}

.roadmap-item:last-child::before {
  display: none;
}

.roadmap-item__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--forest);
  font-weight: 900;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), background 400ms ease;
}

.roadmap-item:hover .roadmap-item__number {
  transform: scale(1.15);
  background: var(--ochre);
  color: #fff;
}

.roadmap-item:first-child .roadmap-item__number {
  background: var(--ochre);
  color: #fff;
}

.roadmap-item small {
  display: block;
  color: var(--ochre);
  font-weight: 800;
}

.roadmap-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.roadmap-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.advantages__grid,
.payment-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.advantage-card,
.payment-card,
.contact-card {
  padding: 28px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 400ms ease, border-color 400ms ease;
}

.advantage-card:has(.button),
.payment-card:has(.button),
.contact-card:has(.button) {
  display: flex;
  flex-direction: column;
}

.advantage-card:has(.button) .button,
.payment-card:has(.button) .button,
.contact-card:has(.button) .button {
  margin-top: auto;
}

.advantage-card:hover,
.payment-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(21, 54, 40, 0.12);
  border-color: var(--forest);
}

body[data-theme="altai"] .region-card,
body[data-theme="altai"] .product-card,
body[data-theme="altai"] .set-card,
body[data-theme="altai"] .advantage-card,
body[data-theme="altai"] .payment-card,
body[data-theme="altai"] .contact-card {
  background: linear-gradient(180deg, var(--paper-soft), #f5e2bd);
}

body[data-theme="south"] .region-card,
body[data-theme="south"] .product-card,
body[data-theme="south"] .set-card,
body[data-theme="south"] .advantage-card,
body[data-theme="south"] .payment-card,
body[data-theme="south"] .contact-card {
  background: linear-gradient(180deg, var(--paper-soft), #f1d7c4);
}

body[data-theme="north"] .region-card,
body[data-theme="north"] .product-card,
body[data-theme="north"] .set-card,
body[data-theme="north"] .advantage-card,
body[data-theme="north"] .payment-card,
body[data-theme="north"] .contact-card {
  background: linear-gradient(180deg, var(--paper-soft), #dcebed);
}

.advantage-card__icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--forest);
  font-weight: 900;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), background 400ms ease, color 400ms ease;
}

.advantage-card:hover .advantage-card__icon {
  transform: scale(1.18);
  background: var(--ochre);
  color: #fff;
}

.section-title {
  margin-bottom: 18px;
}

.section-label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.content-text {
  max-width: 800px;
  padding: 36px 0 0;
  font-size: 19px;
  line-height: 1.7;
}

.catalog-groups {
  display: grid;
  gap: 40px;
  margin-top: 36px;
}

.catalog-group h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 36px;
  position: relative;
  padding-bottom: 14px;
}

.catalog-group h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--ochre);
  border-radius: 1px;
}

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

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

.product-card,
.set-card {
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 400ms ease, border-color 400ms ease;
}

.product-card:hover,
.set-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(21, 54, 40, 0.15);
  border-color: var(--forest);
}

.product-card__image,
.set-card__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 175px;
}

.region-card__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.2), rgba(21,54,40,0.12)),
    var(--image);
  background-color: var(--sage);
  background-position: center;
  background-size: cover;
  transition: transform 500ms ease;
}

.card-icon {
  font-size: 42px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.product-card:hover .card-icon,
.set-card:hover .card-icon,
.region-card:hover .card-icon {
  transform: scale(1.15);
}

.product-card:hover .product-card__image,
.set-card:hover .set-card__image,
.region-card:hover .region-card__image {
  transform: scale(1.07);
}

.product-card__body,
.set-card__body {
  padding: 20px;
}

.product-card__body p,
.set-card__body p {
  line-height: 1.6;
}

.card-price {
  display: block;
  margin-top: 10px;
  color: var(--forest);
  font-weight: 800;
  font-size: 16px;
}

.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--forest);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.cart-toggle:hover {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.cart-toggle__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ochre);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

@keyframes cartBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.product-card h4,
.set-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
}

.set-card__meta {
  color: var(--ochre);
  font-size: 13px;
  font-weight: 800;
}

.contacts-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 34px;
}

dl {
  margin: 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 3px 0 15px;
  color: var(--ink);
  font-weight: 700;
}

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

.socials a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), background 300ms ease, color 300ms ease, border-color 300ms ease;
}

.socials a:hover {
  transform: translateY(-2px) scale(1.05);
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 50px;
  border-top: 1px solid var(--line);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
}

.site-footer__brand span {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
}

.site-footer__brand small,
.footer-nav a {
  color: var(--muted);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 40, 50, 0.85);
  backdrop-filter: blur(8px);
}

.admin-fullscreen {
  width: min(820px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(21, 54, 40, 0.4);
  overflow: hidden;
  animation: modalIn 350ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.admin-fullscreen__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.admin-fullscreen__brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--forest);
}

.admin-fullscreen__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 28px;
  transition: background 180ms ease, color 180ms ease;
}

.admin-fullscreen__close:hover {
  background: var(--sage);
  color: var(--ink);
}

.admin-fullscreen__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.admin-overlay h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 28px;
}

.admin-overlay p,
.admin-overlay label {
  color: var(--muted);
  font-size: 13px;
}

.admin-overlay label {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}

.admin-overlay textarea {
  width: 100%;
  min-height: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  resize: vertical;
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.admin-panel__actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 24px;
}

.admin-login__body {
  padding: 32px 28px 28px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}

.admin-login__icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}

.admin-login__body h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin-bottom: 6px;
}

.admin-login__body > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.admin-login__field {
  text-align: left;
  margin-bottom: 14px;
}

.admin-login__field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-login__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--sans);
  transition: border-color 180ms ease;
}

.admin-login__field input:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(33, 77, 57, 0.12);
}

.admin-login__error {
  color: #c44a2a;
  font-size: 13px;
  font-weight: 700;
  min-height: 20px;
  margin-bottom: 10px;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  background: var(--paper);
  border-radius: var(--radius);
}

.admin-tab {
  flex: 1;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.admin-tab.is-active {
  background: var(--paper-soft);
  color: var(--forest);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.admin-tab:hover:not(.is-active) {
  color: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 18px;
  background: var(--paper);
  border-radius: var(--radius);
  text-align: center;
}

.stat-card__value {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-card__label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stats-table-wrap h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 14px;
}

.stats-table {
  width: 100%;
  overflow-x: auto;
}

.stats-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.stats-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line);
}

.stats-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.stats-table tr:last-child td {
  border-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.product-card:nth-child(1), .set-card:nth-child(1), .region-card:nth-child(1) { transition-delay: 0.04s; }
.product-card:nth-child(2), .set-card:nth-child(2), .region-card:nth-child(2) { transition-delay: 0.08s; }
.product-card:nth-child(3), .set-card:nth-child(3), .region-card:nth-child(3) { transition-delay: 0.12s; }
.product-card:nth-child(4), .set-card:nth-child(4), .region-card:nth-child(4) { transition-delay: 0.16s; }
.set-card:nth-child(5) { transition-delay: 0.2s; }
.set-card:nth-child(6) { transition-delay: 0.24s; }

.advantage-card:nth-child(1) { transition-delay: 0.05s; }
.advantage-card:nth-child(2) { transition-delay: 0.1s; }
.advantage-card:nth-child(3) { transition-delay: 0.15s; }

.payment-card:nth-child(1) { transition-delay: 0.05s; }
.payment-card:nth-child(2) { transition-delay: 0.1s; }
.payment-card:nth-child(3) { transition-delay: 0.15s; }

.roadmap-item:nth-child(1) { transition-delay: 0.05s; }
.roadmap-item:nth-child(2) { transition-delay: 0.1s; }
.roadmap-item:nth-child(3) { transition-delay: 0.15s; }
.roadmap-item:nth-child(4) { transition-delay: 0.2s; }
.roadmap-item:nth-child(5) { transition-delay: 0.25s; }

.contact-card:nth-child(1) { transition-delay: 0.05s; }
.contact-card:nth-child(2) { transition-delay: 0.1s; }

@media (max-width: 980px) {
  .site-header {
    align-items: center;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .design-menu {
    margin-left: auto;
  }

  .design-menu__trigger {
    min-height: 42px;
    padding: 8px 13px;
  }

  .design-menu__list {
    right: 0;
  }

  .hero,
  .about-preview {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual__image {
    width: min(100%, 560px);
  }

  .section__intro {
    position: static;
  }

  .region-strip,
  .product-grid,
  .sets-grid,
  .advantages__grid,
  .payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .roadmap-item {
    padding-left: 66px;
    padding-right: 0;
  }

  .roadmap-item::before {
    top: 48px;
    left: 24px;
    right: auto;
    bottom: -22px;
    width: 1px;
    height: auto;
  }

  .roadmap-item__number {
    position: absolute;
    left: 0;
    top: 0;
  }

  .contacts-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    width: min(100% - 24px, 1180px);
    padding: 42px 0;
  }

  .site-header {
    padding: 14px 12px;
    gap: 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand__title {
    font-size: 30px;
  }

  .brand__subtitle {
    font-size: 10px;
  }

  .design-menu__trigger {
    padding: 8px 11px;
    font-size: 13px;
  }

  .hero__text {
    min-height: 0;
    font-size: 16px;
  }

  .hero__actions,
  .admin-panel__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .region-strip,
  .product-grid,
  .sets-grid,
  .advantages__grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .gift-banner {
    min-height: 270px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}

.fab-button {
  position: fixed;
  right: 18px;
  bottom: 78px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(21, 54, 40, 0.25);
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease, background 300ms ease;
}

.fab-button:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 36px rgba(21, 54, 40, 0.3);
  background: var(--forest-deep);
}

.fab-button svg {
  flex-shrink: 0;
}

.fab-button span {
  line-height: 1;
}

@media (max-width: 640px) {
  .fab-button span {
    display: none;
  }
  .fab-button {
    right: 14px;
    bottom: 70px;
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms ease;
}

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

.payment-modal.is-open .payment-modal__body {
  animation: modalIn 350ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.product-modal,
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
}

.product-modal__backdrop,
.cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 50, 0.6);
  backdrop-filter: blur(4px);
}

.product-modal__body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(680px, calc(100vw - 32px));
  max-height: 80vh;
  overflow-y: auto;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(21, 54, 40, 0.3);
  animation: modalIn 350ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.product-modal__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: var(--sage);
  border-radius: 16px 0 0 16px;
}

.product-modal__image .card-icon {
  font-size: 64px;
}

.product-modal__info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.product-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--muted);
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 180ms ease, color 180ms ease;
}

.product-modal__close:hover {
  background: var(--sage);
  color: var(--ink);
}

.product-modal__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  background: var(--sage);
  color: var(--forest);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-modal__info h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin-bottom: 12px;
}

.product-modal__desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
}

.product-modal__bottom {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.product-modal__price {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 16px;
}

.product-modal__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: background 180ms ease;
}

.quantity-btn:hover {
  background: var(--sage);
}

.quantity-value {
  min-width: 32px;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}

.cart-modal__body {
  position: relative;
  width: min(480px, calc(100vw - 32px));
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(21, 54, 40, 0.3);
  animation: modalIn 350ms cubic-bezier(0.22, 1, 0.36, 1) both;
  overflow: hidden;
}

.cart-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.cart-modal__header h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0;
}

.cart-modal__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 24px;
  transition: background 180ms ease;
}

.cart-modal__close:hover {
  background: var(--sage);
}

.cart-modal__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-modal__empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  font-size: 15px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

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

.cart-item__icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--sage);
  border-radius: var(--radius);
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.cart-item__info span {
  color: var(--forest);
  font-weight: 800;
  font-size: 14px;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.cart-item__btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease;
}

.cart-item__btn:hover {
  background: var(--sage);
}

.cart-item__remove {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  transition: background 180ms ease, color 180ms ease;
}

.cart-item__remove:hover {
  background: rgba(196, 74, 42, 0.12);
  color: #c44a2a;
}

.cart-modal__footer {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.cart-modal__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 16px;
}

.cart-modal__total strong {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--forest);
}

@media (max-width: 640px) {
  .product-modal__body {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }
  .product-modal__image {
    min-height: 160px;
    border-radius: 16px 16px 0 0;
  }
  .product-modal__image .card-icon {
    font-size: 42px;
  }
  .product-modal__info {
    padding: 24px 20px;
  }
  .product-modal__actions {
    flex-direction: column;
  }
  .quantity-selector {
    width: 100%;
    justify-content: center;
  }
}

.payment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 50, 0.6);
  backdrop-filter: blur(4px);
}

.payment-modal__body {
  position: relative;
  width: min(480px, calc(100vw - 32px));
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px 36px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(21, 54, 40, 0.3);
}

.payment-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 24px;
  transition: background 180ms ease, color 180ms ease;
}

.payment-modal__close:hover {
  background: var(--sage);
  color: var(--forest);
}

.payment-modal h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 32px;
}

.payment-modal__desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.payment-items {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.payment-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  padding: 8px 0;
}

.payment-item__title {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.payment-item__qty {
  color: var(--muted);
  white-space: nowrap;
}

.payment-item__sum {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

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

.payment-form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-form__field {
  display: grid;
  gap: 6px;
}

.payment-form__field label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.payment-form__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-family: var(--sans);
  transition: border-color 180ms ease;
}

.payment-form__field input:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(33, 77, 57, 0.12);
}

.payment-form__field input[readonly] {
  background: var(--paper);
  color: var(--forest);
  font-weight: 700;
}

.payment-form__actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.payment-form__actions .button {
  flex: 1;
}

.payment-modal__secure {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.payment-modal__secure::before {
  content: "🔒 ";
}

.payment-thankyou {
  text-align: center;
  padding: 20px 0;
}

.payment-thankyou__icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}

.payment-thankyou h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 8px;
}

.payment-thankyou p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.payment-thankyou__summary {
  text-align: left;
  font-size: 14px;
  color: var(--ink);
}

.payment-thankyou__item {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.payment-thankyou__total {
  padding: 10px 0 0;
  font-weight: 700;
  font-size: 15px;
  text-align: right;
}

@media (max-width: 640px) {
  .payment-modal__body {
    padding: 28px 20px 24px;
  }

  .payment-form__row--half {
    grid-template-columns: 1fr;
  }

  .payment-form__actions {
    flex-direction: column;
  }

  .payment-item {
    grid-template-columns: 1fr auto;
    gap: 6px;
  }

  .payment-item__title {
    white-space: normal;
    overflow: visible;
  }

  .payment-item__qty {
    grid-column: 1;
    font-size: 12px;
  }

  .payment-item__sum {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
  }

  .payment-thankyou__item {
    font-size: 13px;
  }

  .payment-form__field input {
    font-size: 15px;
    padding: 11px 12px;
  }
}

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