:root {
  color-scheme: light;
  --forest-950: #0c2e24;
  --forest-900: #123b2f;
  --forest-800: #18503d;
  --forest-700: #24684f;
  --forest-600: #327b60;
  --sage-500: #89a58c;
  --sage-300: #cbd8c7;
  --sage-200: #dde5d8;
  --sage-100: #ecf0e7;
  --sand-50: #fbfaf6;
  --sand-100: #f5f1e8;
  --sand-200: #e9e1d3;
  --sand-300: #d9cbb7;
  --orange-500: #f48432;
  --orange-600: #dc6921;
  --yellow-400: #ffc85f;
  --ink: #17201b;
  --muted: #667069;
  --danger: #b94735;
  --white: #fff;
  --on-primary: #fff;
  --shadow-sm: 0 8px 24px rgb(25 57 44 / 8%);
  --shadow-md: 0 18px 50px rgb(25 57 44 / 13%);
  --shadow-lg: 0 30px 90px rgb(11 43 33 / 24%);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-xl: 48px;
  --header-height: 88px;
  --font-display: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tg-safe-top: env(safe-area-inset-top, 0px);
  --tg-safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--sand-100);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.035em; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.is-hidden { display: none !important; }
.section-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.page-glow {
  position: fixed;
  z-index: -1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: .3;
}

.page-glow--one { top: 80px; right: -190px; background: #f5bb78; }
.page-glow--two { top: 650px; left: -260px; background: #a9c3a4; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(var(--header-height) + var(--tg-safe-top));
  padding: var(--tg-safe-top) max(24px, calc((100vw - 1240px) / 2)) 0;
  border-bottom: 1px solid rgb(23 32 27 / 7%);
  background: rgb(245 241 232 / 88%);
  backdrop-filter: blur(18px);
}

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

.brand__mark {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  overflow: hidden;
  border-radius: 17px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.brand__mark img { width: 70px; height: 70px; object-fit: contain; }
.brand__copy { display: grid; gap: 1px; }
.brand__copy strong { color: var(--forest-900); font-family: var(--font-display); font-size: 21px; letter-spacing: -.04em; }
.brand__copy small { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgb(23 32 27 / 10%);
  border-radius: 14px;
  background: rgb(255 255 255 / 62%);
}
.language-switch__button {
  min-width: 43px;
  height: 38px;
  padding: 0 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
}
.language-switch__button.is-active { background: var(--forest-900); color: var(--on-primary); box-shadow: 0 5px 14px rgb(12 46 36 / 18%); }

.icon-button,
.cart-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(23 32 27 / 10%);
  border-radius: 16px;
  background: rgb(255 255 255 / 58%);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.icon-button:hover, .cart-button:hover { border-color: var(--sage-500); background: var(--white); transform: translateY(-2px); }
.icon-button { width: 48px; }
.icon-button svg, .cart-button svg { width: 21px; height: 21px; }

.cart-button {
  gap: 9px;
  padding: 8px 10px 8px 16px;
  border-color: var(--forest-900);
  background: var(--forest-900);
  color: var(--on-primary);
}

.cart-button:hover { border-color: var(--forest-800); background: var(--forest-800); }
.cart-button__label { font-size: 14px; font-weight: 750; }

.cart-count {
  display: grid;
  min-width: 28px;
  height: 28px;
  padding-inline: 7px;
  place-items: center;
  border-radius: 10px;
  background: var(--orange-500);
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 800;
}

.notice {
  width: min(1240px, calc(100% - 48px));
  margin: 18px auto 0;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.notice--warning { border: 1px solid #e4c77d; background: #fff5ce; color: #795a13; }

.hero {
  display: grid;
  min-height: 600px;
  grid-template-columns: 1.02fr .98fr;
  gap: 46px;
  align-items: center;
  padding-block: 58px 72px;
}

.hero__content { position: relative; z-index: 2; max-width: 640px; padding-left: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--forest-700); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow > span { width: 20px; height: 2px; border-radius: 2px; background: var(--orange-500); }
.hero h1 { max-width: 700px; margin: 18px 0 22px; color: var(--forest-950); font-size: clamp(50px, 6.2vw, 86px); font-weight: 800; line-height: .94; }
.hero__content > p { max-width: 590px; margin-bottom: 30px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 780;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.button svg { width: 18px; height: 18px; }
.button--primary { background: var(--forest-900); color: var(--on-primary); box-shadow: 0 12px 28px rgb(18 59 47 / 18%); }
.button--primary:hover { background: var(--forest-800); box-shadow: 0 16px 32px rgb(18 59 47 / 23%); }
.button--ghost { border: 1px solid rgb(23 32 27 / 13%); background: rgb(255 255 255 / 42%); }
.button--ghost:hover, .button--secondary { background: var(--white); }
.button--secondary { border: 1px solid var(--sage-300); color: var(--forest-900); }
.button--wide { width: 100%; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; color: #55645b; font-size: 12px; font-weight: 700; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 17px; height: 17px; color: var(--forest-700); }

.hero__visual {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-radius: 58px 58px 58px 150px;
  background: linear-gradient(145deg, rgb(255 255 255 / 14%), transparent 48%), var(--forest-800);
  box-shadow: var(--shadow-md);
}

.hero__custom-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__visual.has-custom-image::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(145deg, rgb(12 46 36 / 8%), rgb(12 46 36 / 28%)); content: ""; pointer-events: none; }
.hero__visual.has-custom-image .hero__sun, .hero__visual.has-custom-image .hero__landscape { display: none; }
.hero__visual::after { position: absolute; inset: 0; border: 1px solid rgb(255 255 255 / 18%); border-radius: inherit; content: ""; pointer-events: none; }
.hero__sun { position: absolute; top: 57px; right: 78px; width: 112px; height: 112px; border-radius: 50%; background: var(--yellow-400); box-shadow: 0 0 0 22px rgb(255 200 95 / 8%); }
.hero__landscape { position: absolute; inset: auto -6% -3% -4%; width: 111%; height: auto; stroke: none; }
.mountain--back { fill: #477963; }
.mountain--front { fill: #285d48; }
.snow { fill: #e8e1cc; }
.ground { fill: #163e31; }
.tent > path:first-child { fill: #f38634; }
.tent__shade { fill: #d96724; }
.tent__door { fill: #ffe9bc; }
.trees { fill: #103429; }
.trail { fill: #dbb77a; }

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 162px;
  padding: 12px 14px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 18px;
  background: rgb(255 255 255 / 88%);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.floating-card--rating { top: 35px; left: 30px; transform: rotate(-3deg); }
.floating-card--delivery { right: 25px; bottom: 30px; transform: rotate(2deg); }
.floating-card__icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 12px; background: #fff1c3; color: #d98614; font-size: 18px; }
.floating-card__icon--green { background: var(--sage-100); color: var(--forest-700); }
.floating-card__icon svg { width: 20px; height: 20px; }
.floating-card span:last-child { display: grid; }
.floating-card strong { color: var(--forest-950); font-size: 13px; }
.floating-card small { margin-top: 2px; color: var(--muted); font-size: 10px; }

.catalog { padding-block: 50px 74px; }
.catalog__top { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.catalog__top h2 { margin: 10px 0 8px; color: var(--forest-950); font-size: clamp(36px, 4vw, 54px); line-height: 1; }
.catalog__top p { max-width: 580px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.search-field {
  display: flex;
  width: min(370px, 100%);
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgb(23 32 27 / 10%);
  border-radius: 18px;
  background: rgb(255 255 255 / 72%);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.search-field:focus-within { border-color: var(--sage-500); box-shadow: 0 0 0 4px rgb(137 165 140 / 13%); }
.search-field svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--forest-700); }
.search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; }
.search-field input::placeholder { color: #929991; }
.search-field__clear { width: 28px; height: 28px; border-radius: 9px; background: var(--sage-100); color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; }

.category-scroller {
  display: flex;
  gap: 9px;
  margin: 28px -4px 0;
  padding: 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.category-scroller::-webkit-scrollbar { display: none; }
.category-chip { min-height: 40px; flex: 0 0 auto; padding: 9px 16px; border: 1px solid rgb(23 32 27 / 10%); border-radius: 999px; background: rgb(255 255 255 / 45%); cursor: pointer; color: #536059; font-size: 13px; font-weight: 700; transition: .2s ease; }
.category-chip:hover, .category-chip.is-active { border-color: var(--forest-900); background: var(--forest-900); color: var(--on-primary); }
.catalog__meta { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 16px; }
.catalog__meta > p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 650; }
.sort-select { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 650; }
.sort-select select { max-width: 190px; padding: 7px 28px 7px 10px; border: 0; outline: 0; background: transparent; color: var(--forest-900); cursor: pointer; font-size: 12px; font-weight: 750; }

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

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(23 32 27 / 8%);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 70%);
  box-shadow: 0 10px 30px rgb(32 60 47 / 5%);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover { border-color: rgb(36 104 79 / 25%); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.product-card__media { position: relative; aspect-ratio: 1.25; overflow: hidden; background: var(--sage-100); }
.product-card__media::after { position: absolute; inset: 0; background: linear-gradient(to top, rgb(12 46 36 / 7%), transparent 35%); content: ""; pointer-events: none; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card__badges { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; gap: 7px; }
.badge { display: inline-flex; min-height: 27px; align-items: center; padding: 5px 9px; border-radius: 9px; background: rgb(255 255 255 / 88%); color: var(--forest-900); font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(8px); }
.badge--sale { background: var(--orange-500); color: var(--on-primary); }
.badge--sold { background: rgb(23 32 27 / 78%); color: var(--on-primary); }
.product-card__body { padding: 17px 17px 18px; }
.product-card__category { display: block; margin-bottom: 7px; color: var(--forest-600); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-card h3 { min-height: 48px; margin-bottom: 8px; color: var(--forest-950); font-size: 20px; line-height: 1.2; }
.product-card__description { display: -webkit-box; min-height: 40px; margin-bottom: 17px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--muted); font-size: 12px; line-height: 1.55; }
.product-card__footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.price-block { display: grid; gap: 3px; }
.price-block strong { color: var(--forest-950); font-family: var(--font-display); font-size: 22px; line-height: 1; letter-spacing: -.04em; }
.price-block s { color: #969d97; font-size: 11px; font-weight: 600; }

.add-button {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border-radius: 15px;
  background: var(--forest-900);
  color: var(--on-primary);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.add-button:hover { background: var(--orange-500); transform: scale(1.06); }
.add-button:disabled { cursor: not-allowed; opacity: .35; }
.add-button svg { width: 20px; height: 20px; }
.product-skeleton { aspect-ratio: .77; border-radius: var(--radius-md); background: linear-gradient(100deg, #e7e3da 30%, #f3f0e9 45%, #e7e3da 60%); background-size: 220% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position-x: -220%; } }

.empty-state { display: grid; min-height: 340px; place-items: center; align-content: center; text-align: center; }
.empty-state__icon { display: grid; width: 68px; height: 68px; margin-bottom: 16px; place-items: center; border-radius: 22px; background: var(--sage-200); color: var(--forest-700); font-size: 34px; }
.empty-state h3 { margin-bottom: 7px; font-size: 25px; }
.empty-state p { margin-bottom: 20px; color: var(--muted); font-size: 14px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 92px; }
.value-card { position: relative; min-height: 250px; overflow: hidden; padding: 30px; border: 1px solid rgb(23 32 27 / 8%); border-radius: var(--radius-md); background: rgb(255 255 255 / 60%); }
.value-card--dark { border-color: transparent; background: var(--forest-900); color: var(--on-primary); transform: translateY(-16px); }
.value-card__number { position: absolute; top: 19px; right: 22px; color: rgb(23 32 27 / 10%); font-family: var(--font-display); font-size: 55px; font-weight: 900; }
.value-card--dark .value-card__number { color: rgb(255 255 255 / 9%); }
.value-card__icon { display: grid; width: 48px; height: 48px; margin-bottom: 31px; place-items: center; border-radius: 16px; background: var(--sage-100); color: var(--forest-700); }
.value-card--dark .value-card__icon { background: rgb(255 255 255 / 11%); color: var(--yellow-400); }
.value-card__icon svg { width: 23px; height: 23px; }
.value-card h3 { margin-bottom: 10px; font-size: 23px; }
.value-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.value-card--dark p { color: rgb(255 255 255 / 65%); }

.site-footer { background: var(--forest-950); color: var(--on-primary); }
.site-footer__inner { display: grid; min-height: 190px; grid-template-columns: 1fr 1.4fr auto; gap: 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 62px; height: 62px; object-fit: contain; border-radius: 17px; background: var(--white); }
.footer-brand > div { display: grid; gap: 4px; }
.footer-brand strong { font-family: var(--font-display); font-size: 20px; }
.footer-brand span, .footer-copy, .site-footer__inner > p { color: rgb(255 255 255 / 56%); font-size: 11px; }
.footer-copy { display: grid; gap: 7px; line-height: 1.5; }
.footer-copy a { color: var(--yellow-400); }
.site-footer__inner > p { margin: 0; }
.mobile-nav { display: none; }

dialog { max-width: none; max-height: none; padding: 0; border: 0; background: transparent; }
dialog::backdrop { background: rgb(7 25 19 / 60%); backdrop-filter: blur(5px); }
.sheet-dialog[open] { display: grid; width: 100%; height: 100%; place-items: center; }
.dialog-card { position: relative; width: min(760px, calc(100vw - 32px)); max-height: min(840px, calc(100vh - 32px)); overflow: auto; border-radius: 32px; background: var(--sand-50); box-shadow: var(--shadow-lg); overscroll-behavior: contain; }

.dialog-close {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgb(255 255 255 / 88%);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: var(--forest-900);
  font-size: 25px;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.dialog-close--static { position: static; flex: 0 0 42px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 28px 28px 18px; }
.dialog-header h2 { margin: 8px 0 0; color: var(--forest-950); font-size: 34px; }
.product-dialog__card { width: min(920px, calc(100vw - 32px)); }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.product-detail__media { min-height: 520px; overflow: hidden; border-radius: 32px 0 0 32px; background: var(--sage-100); }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__content { display: flex; flex-direction: column; padding: 50px 40px 38px; }
.product-detail__content h2 { margin: 11px 0 15px; color: var(--forest-950); font-size: 40px; line-height: 1.05; }
.product-detail__description { margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.product-detail__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.product-fact { display: grid; gap: 4px; padding: 13px; border-radius: 14px; background: var(--sage-100); }
.product-fact span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.product-fact strong { color: var(--forest-900); font-size: 13px; }
.product-detail__purchase { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--sand-200); }
.product-detail__purchase .price-block strong { font-size: 30px; }
.product-detail__purchase .button { min-width: 170px; }

.cart-dialog[open] { justify-items: end; }
.cart-dialog__card { width: min(520px, 100vw); height: 100vh; max-height: none; border-radius: 32px 0 0 32px; }
.cart-content { padding: 0 28px 160px; }
.cart-item { display: grid; grid-template-columns: 82px 1fr auto; gap: 13px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--sand-200); }
.cart-item__image { width: 82px; height: 82px; object-fit: cover; border-radius: 17px; background: var(--sage-100); }
.cart-item__info { min-width: 0; }
.cart-item__info h3 { margin-bottom: 6px; overflow: hidden; color: var(--forest-950); font-size: 15px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__info > strong { display: block; margin-bottom: 10px; color: var(--forest-800); font-size: 14px; }
.quantity { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--sage-300); border-radius: 11px; }
.quantity button { display: grid; width: 31px; height: 30px; place-items: center; background: transparent; cursor: pointer; color: var(--forest-900); font-size: 18px; }
.quantity span { min-width: 25px; text-align: center; font-size: 12px; font-weight: 800; }
.cart-item__remove { align-self: start; padding: 8px; background: transparent; color: #959b96; cursor: pointer; font-size: 22px; }

.cart-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px 28px calc(24px + var(--tg-safe-bottom));
  border-top: 1px solid var(--sand-200);
  background: rgb(251 250 246 / 93%);
  box-shadow: 0 -12px 30px rgb(18 59 47 / 7%);
  backdrop-filter: blur(16px);
}

.cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.cart-total span { color: var(--muted); font-size: 13px; }
.cart-total strong { color: var(--forest-950); font-family: var(--font-display); font-size: 27px; letter-spacing: -.04em; }
.cart-empty { display: grid; min-height: 440px; place-items: center; align-content: center; padding: 30px; text-align: center; }
.cart-empty__icon { display: grid; width: 82px; height: 82px; margin-bottom: 20px; place-items: center; border-radius: 27px; background: var(--sage-100); color: var(--forest-700); }
.cart-empty__icon svg { width: 38px; height: 38px; }
.cart-empty h3 { margin-bottom: 8px; font-size: 26px; }
.cart-empty p { max-width: 280px; margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }

.checkout-dialog__card { width: min(680px, calc(100vw - 32px)); }
.checkout-form { display: grid; gap: 20px; padding: 4px 28px 28px; }
.form-section { padding: 0; border: 0; }
.form-section h3, .form-section legend { margin-bottom: 12px; color: var(--forest-950); font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 7px; }
.field > span { color: #4e5a53; font-size: 11px; font-weight: 750; }
.field input, .field textarea { width: 100%; min-height: 49px; padding: 13px 14px; resize: vertical; border: 1px solid var(--sand-300); border-radius: 14px; outline: none; background: var(--white); font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { border-color: var(--forest-600); box-shadow: 0 0 0 4px rgb(50 123 96 / 11%); }
.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delivery-options legend { grid-column: 1 / -1; }

.choice-card {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 11px;
  padding: 12px 12px 12px 42px;
  border: 1px solid var(--sand-300);
  border-radius: 16px;
  background: var(--white);
  cursor: pointer;
}

.choice-card:has(input:checked) { border-color: var(--forest-700); box-shadow: 0 0 0 2px rgb(36 104 79 / 10%); }
.choice-card input { position: absolute; opacity: 0; }
.choice-card__control { position: absolute; left: 14px; width: 17px; height: 17px; border: 2px solid var(--sage-500); border-radius: 50%; }
.choice-card input:checked + .choice-card__control { border: 5px solid var(--forest-700); }
.choice-card__icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 11px; background: var(--sage-100); color: var(--forest-700); }
.choice-card__icon svg { width: 19px; height: 19px; }
.choice-card > span:last-child { display: grid; min-width: 0; gap: 3px; }
.choice-card strong { font-size: 12px; }
.choice-card small { overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.35; text-overflow: ellipsis; }
.checkout-summary { display: grid; gap: 8px; padding: 15px 17px; border-radius: 16px; background: var(--sage-100); }
.checkout-summary__line { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 12px; }
.checkout-summary__line--total { margin-top: 5px; padding-top: 10px; border-top: 1px solid var(--sage-300); color: var(--forest-950); font-weight: 800; }
.checkout-form .button[type="submit"] { justify-content: space-between; padding-inline: 21px; }
.checkout-form .button[type="submit"] strong { color: var(--yellow-400); }
.form-error { margin: -4px 0 0; padding: 11px 13px; border-radius: 12px; background: #fae3de; color: var(--danger); font-size: 12px; font-weight: 650; line-height: 1.5; }
.form-consent { margin: -8px 0 0; color: #8b918c; font-size: 9px; line-height: 1.5; text-align: center; }

.success-state { display: grid; min-height: 590px; padding: 50px; place-items: center; align-content: center; text-align: center; }
.success-state__mark { display: grid; width: 88px; height: 88px; margin-bottom: 25px; place-items: center; border-radius: 50%; background: var(--forest-800); color: var(--on-primary); box-shadow: 0 0 0 13px var(--sage-200); }
.success-state__mark svg { width: 42px; height: 42px; stroke-width: 2.4; }
.success-state h2 { margin: 13px 0 10px; color: var(--forest-950); font-size: 43px; }
.success-state > p { max-width: 400px; margin-bottom: 25px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.success-state__total { display: grid; width: min(340px, 100%); gap: 6px; margin-bottom: 24px; padding: 18px; border-radius: 17px; background: var(--sage-100); }
.success-state__total span { color: var(--muted); font-size: 11px; }
.success-state__total strong { color: var(--forest-950); font-family: var(--font-display); font-size: 28px; }
.success-state .button { max-width: 340px; }

.orders-dialog__card { width: min(720px, calc(100vw - 32px)); }
.orders-list { display: grid; gap: 12px; min-height: 300px; padding: 0 28px 28px; }
.order-card { padding: 18px; border: 1px solid var(--sand-200); border-radius: 19px; background: var(--white); }
.order-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.order-card__top h3 { margin-bottom: 4px; color: var(--forest-950); font-size: 18px; }
.order-card__date { color: var(--muted); font-size: 10px; }
.status-pill { display: inline-flex; min-height: 27px; align-items: center; padding: 5px 9px; border-radius: 999px; background: #edf0ed; color: #536059; font-size: 9px; font-weight: 800; letter-spacing: .02em; }
.status-pill--new { background: #fff1cf; color: #8a5e0c; }
.status-pill--confirmed, .status-pill--assembling { background: #e5eee9; color: var(--forest-700); }
.status-pill--shipped { background: #e2ebf5; color: #315f89; }
.status-pill--completed { background: #dcecdf; color: #27643b; }
.status-pill--cancelled { background: #f6e2df; color: #9d4437; }
.order-card__items { display: grid; gap: 5px; margin: 15px 0; padding: 12px 0; border-block: 1px solid var(--sand-200); }
.order-card__item { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 11px; }
.order-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; }
.order-card__amount { display: grid; gap: 2px; text-align: right; }
.order-card__bottom strong { color: var(--forest-950); font-family: var(--font-display); font-size: 20px; }
.order-card__pdf { min-height: 38px; padding: 8px 12px; border-radius: 11px; background: var(--sage-100); color: var(--forest-700); cursor: pointer; font-size: 10px; font-weight: 800; }
.order-card__pdf:disabled { cursor: wait; opacity: .55; }
.inline-loader { display: flex; min-height: 250px; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 13px; }
.inline-loader span { width: 18px; height: 18px; border: 2px solid var(--sage-300); border-top-color: var(--forest-700); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast-region { position: fixed; z-index: 100; right: 22px; bottom: 22px; display: grid; width: min(350px, calc(100vw - 32px)); gap: 9px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid rgb(255 255 255 / 17%); border-radius: 15px; background: var(--forest-950); box-shadow: var(--shadow-md); color: var(--on-primary); font-size: 12px; font-weight: 650; line-height: 1.4; animation: toast-in .25s ease both; }
.toast::before { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border-radius: 8px; background: var(--orange-500); content: "✓"; }
.toast--error::before { background: var(--danger); content: "!"; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
:focus-visible { outline: 3px solid rgb(244 132 50 / 45%); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 46px; }
  .hero__content { max-width: 760px; padding-left: 0; }
  .hero h1 { max-width: 780px; }
  .hero__visual { min-height: 480px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; padding-block: 35px; }
  .site-footer__inner > p { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-height: 72px; }
  .section-shell, .notice { width: min(100% - 28px, 620px); }
  .site-header { min-height: calc(var(--header-height) + var(--tg-safe-top)); padding-inline: 14px; }
  .brand { gap: 8px; }
  .brand__mark { width: 46px; height: 46px; flex-basis: 46px; border-radius: 14px; }
  .brand__mark img { width: 58px; height: 58px; }
  .brand__copy strong { font-size: 17px; }
  .brand__copy small, .desktop-only, .cart-button__label { display: none; }
  .cart-button { min-width: 48px; padding: 7px; border-radius: 15px; }
  .language-switch { padding: 3px; }
  .language-switch__button { min-width: 38px; height: 36px; padding-inline: 7px; }
  .cart-count { position: absolute; top: calc(var(--tg-safe-top) + 8px); right: 8px; min-width: 20px; height: 20px; padding-inline: 4px; border: 2px solid var(--sand-100); border-radius: 8px; font-size: 9px; }
  .notice { margin-top: 12px; font-size: 12px; }
  .hero { gap: 28px; padding-block: 38px 50px; }
  .hero h1 { margin-block: 14px 17px; font-size: clamp(45px, 14.5vw, 67px); line-height: .93; }
  .hero__content > p { margin-bottom: 24px; font-size: 15px; line-height: 1.55; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__actions .button { min-width: 0; padding-inline: 13px; font-size: 12px; }
  .hero__trust { gap: 12px; margin-top: 23px; font-size: 10px; }
  .hero__visual { min-height: 360px; border-radius: 36px 36px 36px 94px; }
  .hero__sun { top: 42px; right: 50px; width: 80px; height: 80px; }
  .hero__landscape { width: 118%; }
  .floating-card { min-width: 136px; gap: 7px; padding: 9px 10px; border-radius: 14px; }
  .floating-card--rating { top: 18px; left: 15px; }
  .floating-card--delivery { right: 12px; bottom: 14px; }
  .floating-card__icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
  .floating-card strong { font-size: 11px; }
  .floating-card small { font-size: 8px; }
  .catalog { padding-block: 34px 60px; }
  .catalog__top { display: grid; gap: 21px; }
  .catalog__top h2 { font-size: 38px; }
  .catalog__top p { font-size: 13px; }
  .search-field { width: 100%; }
  .category-scroller { width: calc(100% + 28px); margin-right: -14px; margin-left: -14px; padding-inline: 14px; }
  .catalog__meta { min-height: 62px; }
  .sort-select > span { display: none; }
  .sort-select select { max-width: 148px; font-size: 10px; }
  .product-grid { gap: 11px; }
  .product-card { border-radius: 18px; }
  .product-card__media { aspect-ratio: 1.05; }
  .product-card__badges { top: 8px; left: 8px; }
  .badge { min-height: 22px; padding: 4px 7px; border-radius: 7px; font-size: 8px; }
  .product-card__body { padding: 12px; }
  .product-card__category { margin-bottom: 5px; font-size: 8px; }
  .product-card h3 { min-height: 38px; margin-bottom: 9px; font-size: 16px; }
  .product-card__description { display: none; }
  .price-block strong { font-size: 18px; }
  .price-block s { font-size: 9px; }
  .add-button { width: 39px; height: 39px; flex-basis: 39px; border-radius: 13px; }
  .values { grid-template-columns: 1fr; padding-bottom: 70px; }
  .value-card { min-height: 190px; padding: 24px; }
  .value-card--dark { transform: none; }
  .value-card__icon { margin-bottom: 20px; }
  .site-footer { padding-bottom: calc(76px + var(--tg-safe-bottom)); }
  .site-footer__inner { grid-template-columns: 1fr; gap: 23px; text-align: left; }
  .site-footer__inner > p { grid-column: auto; }

  .mobile-nav {
    position: fixed;
    z-index: 25;
    right: 10px;
    bottom: calc(8px + var(--tg-safe-bottom));
    left: 10px;
    display: grid;
    min-height: 66px;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 22px;
    background: rgb(12 46 36 / 94%);
    box-shadow: 0 14px 45px rgb(8 31 24 / 35%);
    backdrop-filter: blur(16px);
  }

  .mobile-nav__item { position: relative; display: grid; min-width: 0; place-items: center; align-content: center; gap: 3px; border-radius: 15px; background: transparent; color: rgb(255 255 255 / 56%); cursor: pointer; font-size: 9px; font-weight: 650; }
  .mobile-nav__item.is-active, .mobile-nav__item:active { background: rgb(255 255 255 / 10%); color: var(--on-primary); }
  .mobile-nav__item svg { width: 20px; height: 20px; }
  .mobile-nav__cart b { position: absolute; top: 3px; right: 16%; display: grid; min-width: 18px; height: 18px; padding-inline: 4px; place-items: center; border: 2px solid var(--forest-950); border-radius: 8px; background: var(--orange-500); color: var(--on-primary); font-size: 8px; }
  .sheet-dialog[open] { align-items: end; }
  .dialog-card, .product-dialog__card, .checkout-dialog__card, .orders-dialog__card, .cart-dialog__card { width: 100vw; max-height: calc(94vh - var(--tg-safe-top)); border-radius: 28px 28px 0 0; }
  .cart-dialog__card { height: min(780px, calc(94vh - var(--tg-safe-top))); }
  .dialog-header { padding: 22px 18px 14px; }
  .dialog-header h2 { font-size: 29px; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail__media { min-height: 0; aspect-ratio: 1.35; border-radius: 28px 28px 0 0; }
  .product-detail__content { min-height: 390px; padding: 27px 19px calc(24px + var(--tg-safe-bottom)); }
  .product-detail__content h2 { font-size: 31px; }
  .product-detail__description { font-size: 12px; }
  .product-detail__purchase { position: sticky; bottom: 0; margin-inline: -19px; padding: 15px 19px; background: rgb(251 250 246 / 95%); backdrop-filter: blur(13px); }
  .product-detail__purchase .button { min-width: 150px; }
  .cart-content { padding-inline: 18px; }
  .cart-footer { padding-inline: 18px; }
  .cart-item { grid-template-columns: 70px 1fr auto; }
  .cart-item__image { width: 70px; height: 70px; }
  .checkout-form, .orders-list { padding-right: 18px; padding-left: 18px; }
  .field-grid { grid-template-columns: 1fr; }
  .delivery-options { grid-template-columns: 1fr; }
  .success-state { min-height: 520px; padding: 32px 20px calc(30px + var(--tg-safe-bottom)); }
  .success-state h2 { font-size: 36px; }
  .toast-region { right: 16px; bottom: calc(84px + var(--tg-safe-bottom)); left: 16px; width: auto; }
}

@media (max-width: 390px) {
  .brand__copy { display: none; }
  .hero__actions { grid-template-columns: 1fr; }
  .hero__visual { min-height: 325px; }
  .floating-card--delivery { display: none; }
  .product-card h3 { font-size: 14px; }
  .price-block strong { font-size: 16px; }
  .add-button { width: 35px; height: 35px; flex-basis: 35px; }
}

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

body.telegram-dark {
  color-scheme: dark;
  --sand-50: #17221d;
  --sand-100: #111b17;
  --sand-200: #29342f;
  --sand-300: #394740;
  --ink: #f1f4f1;
  --muted: #a3afa8;
  --white: #1c2822;
  --sage-100: #23322b;
  --sage-200: #2b3c34;
  --sage-300: #3a5146;
  --dark-accent: #8fd1b1;
  background: var(--sand-100);
}

body.telegram-dark .site-header { border-color: rgb(255 255 255 / 7%); background: rgb(17 27 23 / 90%); }
body.telegram-dark .brand__mark, body.telegram-dark .footer-brand img { background: #f8f4ea; }
body.telegram-dark .product-card, body.telegram-dark .search-field, body.telegram-dark .value-card { border-color: rgb(255 255 255 / 8%); background: rgb(28 40 34 / 84%); }
body.telegram-dark .button--ghost { border-color: rgb(255 255 255 / 13%); background: rgb(255 255 255 / 5%); color: var(--ink); }
body.telegram-dark .category-chip { border-color: rgb(255 255 255 / 10%); background: rgb(255 255 255 / 4%); color: var(--muted); }
body.telegram-dark .category-chip.is-active { background: var(--orange-500); color: #fff; }
body.telegram-dark .field input, body.telegram-dark .field textarea, body.telegram-dark .choice-card, body.telegram-dark .order-card { border-color: var(--sand-300); background: #1b2923; }

body.telegram-dark .brand__copy strong,
body.telegram-dark .hero h1,
body.telegram-dark .catalog__top h2,
body.telegram-dark .product-card h3,
body.telegram-dark .price-block strong,
body.telegram-dark .dialog-header h2,
body.telegram-dark .product-detail__content h2,
body.telegram-dark .product-fact strong,
body.telegram-dark .cart-item__info h3,
body.telegram-dark .cart-item__info > strong,
body.telegram-dark .quantity button,
body.telegram-dark .cart-total strong,
body.telegram-dark .form-section h3,
body.telegram-dark .form-section legend,
body.telegram-dark .checkout-summary__line--total,
body.telegram-dark .success-state h2,
body.telegram-dark .success-state__total strong,
body.telegram-dark .order-card__top h3,
body.telegram-dark .order-card__bottom strong {
  color: var(--ink);
}

body.telegram-dark .eyebrow,
body.telegram-dark .hero__trust svg,
body.telegram-dark .search-field svg,
body.telegram-dark .product-card__category,
body.telegram-dark .empty-state__icon,
body.telegram-dark .value-card__icon,
body.telegram-dark .cart-empty__icon,
body.telegram-dark .choice-card__icon,
body.telegram-dark .order-card__pdf,
body.telegram-dark .inline-loader span {
  color: var(--dark-accent);
}

body.telegram-dark .hero__trust,
body.telegram-dark .field > span,
body.telegram-dark .form-consent {
  color: var(--muted);
}

body.telegram-dark .language-switch,
body.telegram-dark .icon-button,
body.telegram-dark .cart-button {
  border-color: rgb(255 255 255 / 12%);
}

body.telegram-dark .language-switch,
body.telegram-dark .icon-button {
  background: rgb(255 255 255 / 6%);
}

body.telegram-dark .icon-button:hover { background: rgb(255 255 255 / 10%); }
body.telegram-dark .button--secondary { border-color: var(--sand-300); background: #1b2923; color: var(--ink); }
body.telegram-dark .sort-select select { color: var(--ink); }
body.telegram-dark .sort-select select option { background: var(--sand-50); color: var(--ink); }
body.telegram-dark .search-field input::placeholder,
body.telegram-dark .field input::placeholder,
body.telegram-dark .field textarea::placeholder { color: #7f8d85; }
body.telegram-dark .choice-card strong { color: var(--ink); }
body.telegram-dark .choice-card:has(input:checked) { border-color: var(--dark-accent); }
body.telegram-dark .choice-card input:checked + .choice-card__control { border-color: var(--dark-accent); }
body.telegram-dark .inline-loader span { border-top-color: var(--dark-accent); }
body.telegram-dark .cart-footer,
body.telegram-dark .product-detail__purchase { background: rgb(23 34 29 / 95%); }
body.telegram-dark .value-card--dark { background: var(--forest-700); }

body.telegram-dark .floating-card { color: #17201b; }
body.telegram-dark .floating-card small { color: #667069; }
body.telegram-dark .floating-card__icon--green { background: #ecf0e7; color: #24684f; }
