@font-face {
  font-family: "Inter";
  src: url("../../fonts/inter-cyrillic-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../../fonts/inter-cyrillic-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../../fonts/inter-cyrillic-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
}

@font-face {
  font-family: "Jeju Gothic";
  src: url("../../fonts/jeju-gothic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --page: #0d0d0f;
  --header: #101015;
  --panel: #111117;
  --text: #e8eef7;
  --muted: #7f7b98;
  --muted-light: #aaa7b5;
  --purple: #7b61ff;
  --purple-light: #8a6bff;
  --border: rgba(123, 97, 255, .42);
  --shell: 1470px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--page);
  font-family: "Lemon Milk Pro", "Lemon Milk", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  padding: 0;
}

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

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

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 70px;
  background: var(--header);
}

.header-inner {
  width: min(var(--shell), calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-header {
  gap: 7px;
  color: #b9acd7;
  font-family: "Lemon Milk Pro", "Lemon Milk", Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .01em;
}

.brand-header img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-mobile,
.mobile-telegram {
  display: none;
}

.desktop-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 42px;
  margin-left: 80px;
}

.desktop-nav a {
  color: #c5c2c9;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.desktop-nav a.active,
.desktop-nav a:hover {
  color: #d7d4d9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-contact {
  width: 175px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(123, 97, 255, .45);
  border-radius: 14px;
  background: rgba(123, 97, 255, .05);
  font-size: 14px;
  font-weight: 700;
}

.page-main,
.config-main {
  background-color: var(--page);
  background-image: url("../images/rebrand/diamond-bg.svg");
  background-position: center top;
  background-size: 1920px 2490px;
}

.hero {
  position: relative;
  height: 798px;
  display: grid;
  grid-template-columns: 660px 790px;
  gap: 16px;
  align-items: start;
}

.hero-copy {
  margin-top: 250px;
}

.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: -.02em;
}

.hero-copy > p {
  width: 650px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 25px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 41px;
}

.button {
  min-width: 0;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #8568ff 0%, #7655ed 100%);
  box-shadow: 0 10px 28px rgba(123, 97, 255, .24);
}

.button-secondary {
  color: var(--purple-light);
  background: rgba(123, 97, 255, .035);
  border: 1px solid rgba(123, 97, 255, .5);
}

.hero-actions .button-primary {
  width: 168px;
}

.hero-actions .button-secondary {
  width: 155px;
}

.hero-config-card {
  height: 435px;
  margin-top: 167px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 25px;
  padding: 25px;
  border: 1px solid rgba(123, 97, 255, .4);
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(17, 17, 23, .98), rgba(14, 14, 20, .98));
  box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
}

.hero-config-image {
  width: 360px;
  height: 380px;
  border-radius: 32px;
  object-fit: cover;
}

.hero-config-copy {
  min-width: 0;
  padding-top: 10px;
}

.hero-config-copy h2 {
  margin: 0 0 20px;
  font-size: 26px;
  line-height: 32px;
  font-weight: 600;
}

.divider {
  width: 100%;
  height: 1px;
  background: rgba(219, 219, 219, .15);
}

.hero-config-copy > p:not(.help) {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 27px;
}

.hero-config-copy ul {
  margin: 30px 0 30px;
  padding-left: 20px;
  font-size: 18px;
  line-height: 27px;
}

.hero-config-copy .button {
  width: 100%;
  margin-top: 23px;
}

.hero-config-copy .help {
  margin: 14px 0 0;
  color: rgba(232, 238, 247, .55);
  text-align: center;
  font-size: 14px;
}

.hero-config-copy .help a {
  color: #6f5a99;
}

.sponsors {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.sponsor-wave {
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
}

.sponsor-wave-top {
  top: 0;
}

.sponsor-wave-bottom {
  bottom: 0;
  transform: rotate(180deg);
}

.sponsor-viewport {
  position: absolute;
  z-index: 2;
  top: 87px;
  left: 0;
  width: 100%;
  height: 72px;
  overflow: hidden;
  background: transparent;
  outline: none;
}

.sponsor-track {
  width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  animation: sponsors-scroll var(--sponsor-duration, 28s) linear infinite;
  transform: translate3d(0, 0, 0);
}

.sponsor-group {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  flex: none;
}

.sponsor-group span {
  height: 36px;
  padding: 0 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(14, 13, 27, .25);
  border-radius: 8px;
  color: #111019;
  font-size: 14px;
  letter-spacing: .16em;
  line-height: 1;
}

.sponsor-group i {
  width: 10px;
  height: 10px;
  flex: none;
  background: rgba(19, 17, 30, .58);
  transform: rotate(45deg);
}

.sponsor-viewport:hover .sponsor-track,
.sponsor-viewport:focus .sponsor-track,
.sponsor-viewport:focus-within .sponsor-track {
  animation-play-state: paused;
}

.catalog-section {
  position: relative;
  left: 1px;
  width: 1472px;
  min-height: 1207px;
  padding-top: 29px;
  padding-bottom: 110px;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  line-height: 39px;
  font-weight: 700;
}

.section-heading p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 21px;
}

.catalog-grid,
.catalog-loader {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(5, 260px);
  gap: 43px;
  align-items: start;
}

.catalog-grid[hidden],
.catalog-loader[hidden] {
  display: none;
}

.catalog-card {
  width: 260px;
  height: 440px;
  padding: 17px 20px 16px;
  display: flex;
  flex-direction: column;
  border: .59px solid #29273c;
  border-radius: 23.611px;
  background: linear-gradient(180deg, rgba(24, 24, 31, .98), rgba(17, 17, 23, .98));
  box-shadow: 0 16px 24px rgba(0, 0, 0, .2);
}

.catalog-card-media {
  width: 220px;
  height: 235px;
  overflow: hidden;
  border-radius: 20px;
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card-price {
  margin: 8px 0 7px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.catalog-card ul {
  height: 94px;
  margin: 0 0 8px;
  padding: 10px 0 8px 18px;
  border-top: 1px solid rgba(219, 219, 219, .12);
  border-bottom: 1px solid rgba(219, 219, 219, .12);
  color: #dbdbdb;
  font-size: 12px;
  line-height: 18px;
  overflow: hidden;
}

.catalog-card .button {
  width: 210px;
  height: 30px;
  margin-inline: auto;
  margin-top: auto;
  border-radius: 7px;
  font-size: 10px;
}

.empty-state,
.error-state {
  grid-column: 1 / -1;
  color: var(--muted-light);
  font-size: 14px;
}

.empty-state h3,
.error-state h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 20px;
}

.skeleton-card {
  background:
    linear-gradient(90deg, rgba(255,255,255,.025), rgba(255,255,255,.08), rgba(255,255,255,.025)),
    linear-gradient(180deg, rgba(24,24,31,.98), rgba(17,17,23,.98));
  background-size: 200% 100%, 100% 100%;
  animation: skeleton-shift 1.5s linear infinite;
}

.site-footer {
  height: 175px;
  background: var(--header);
}

.footer-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-top {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.brand-footer {
  gap: 14px;
  color: #b9acd7;
  font-family: "Lemon Milk Pro", "Lemon Milk", Arial, sans-serif;
  font-size: 40px;
  line-height: 1;
}

.brand-footer img {
  width: 70px;
  height: 70px;
}

.footer-top p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 25px;
}

.footer-copy small {
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.socials {
  display: flex;
  gap: 20px;
}

.socials a,
.socials img {
  width: 50px;
  height: 50px;
}

.footer-links nav {
  display: flex;
  gap: 25px;
}

.footer-links nav a {
  color: #aaa7b5;
  font-size: 14px;
}

.modal-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  background: #202020;
}

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

.modal {
  position: relative;
  border: 2px solid rgba(123, 97, 255, .5);
  background: #101017;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .28);
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.modal-close img {
  width: 23.333px;
  height: 23.333px;
  margin: auto;
  transform: rotate(45deg);
}

.policy-modal {
  width: 1000px;
  height: 750px;
  padding: 43px 42px;
  border-color: #50477e;
  border-radius: 40px;
}

[data-modal-layer="policy"] {
  align-items: start;
  padding-top: 130px;
}

.policy-copy {
  color: #cccbd0;
  font-size: 14px;
  line-height: 30px;
}

.policy-copy h2 {
  margin: 0 0 32px;
  color: #e1e0e5;
  font-size: 20px;
  line-height: 25px;
}

.policy-copy h3 {
  margin: 21px 0 0;
  color: #d5d3d8;
  font-size: 16px;
  line-height: 30px;
}

.policy-copy p {
  margin: 0;
}

.policy-copy strong {
  display: block;
  margin-top: 20px;
  color: #d5d3d8;
  font-size: 16px;
}

.detail-modal {
  width: 1470px;
  height: 750px;
  padding: 48px 60px;
  display: grid;
  grid-template-columns: 760px 1fr;
  gap: 30px;
  border-radius: 40px;
}

.detail-gallery {
  height: 575px;
  margin-top: 31px;
  display: grid;
  grid-template-columns: 155px 575px;
  gap: 30px;
}

.detail-thumbnails {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 525px;
  margin-top: 18px;
}

.detail-thumb {
  width: 155px;
  height: 155px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(123, 97, 255, .28);
  border-radius: 15px;
  background: transparent;
  cursor: pointer;
}

.detail-thumb[aria-current="true"] {
  border-color: #7b61ff;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-main-wrap {
  position: relative;
  width: 575px;
  height: 575px;
}

.detail-main-image {
  width: 575px;
  height: 575px;
  border: 4px solid #3e3e43;
  border-radius: 35px;
  object-fit: cover;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 48px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #111019;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
}

.gallery-prev {
  left: 7px;
}

.gallery-next {
  right: 7px;
}

.gallery-dots {
  display: none;
}

.detail-copy {
  min-width: 0;
  padding-top: 33px;
  color: #dedce8;
  font-size: 20px;
  line-height: 1.18;
}

.detail-copy h2 {
  margin: 0 0 34px;
  color: #fff;
  font-size: 34px;
  line-height: 42px;
  font-weight: 800;
}

.detail-copy > p {
  margin: 0 0 34px;
}

.detail-params {
  margin-bottom: 34px;
}

.detail-params p {
  margin: 0;
}

.detail-params ul {
  margin: 4px 0 0;
  padding-left: 30px;
  line-height: 1.35;
}

.detail-order {
  position: absolute;
  right: 27px;
  bottom: 94px;
  left: 852px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-order strong {
  font-size: 26px;
}

.detail-order .button {
  width: 240px;
  height: 46px;
}

.site-toast {
  position: fixed;
  z-index: 120;
  right: 28px;
  bottom: 28px;
  max-width: 360px;
  padding: 14px 18px;
  border: 1px solid rgba(123, 97, 255, .45);
  border-radius: 12px;
  background: #171721;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.site-toast.is-open {
  opacity: 1;
  transform: translateY(0);
}

/* Configurator */
.config-page {
  min-height: 1510px;
  display: flex;
  flex-direction: column;
}

.config-main {
  width: 100%;
  min-height: 1265px;
  padding-top: 153px;
  flex: 1;
  background-image: url("../images/rebrand/config-diamond-bg.svg");
  background-size: 1920px 1510px;
}

.config-heading h1 {
  margin: 0;
  font-size: 36px;
  line-height: 44px;
}

.config-heading p {
  margin: 17px 0 0;
  color: #aaa7b5;
  font-size: 18px;
  line-height: 22px;
}

.config-layout {
  display: grid;
  grid-template-columns: 710px 720px;
  align-items: start;
  gap: 37px;
  margin-top: 48px;
}

.config-panel {
  border: 2px solid rgba(153, 75, 177, .56);
  border-radius: 40px;
  background: linear-gradient(110deg, rgba(18, 18, 24, .98), rgba(15, 15, 20, .98));
  box-shadow: 0 15px 35px rgba(0, 0, 0, .24);
}

.components-panel {
  min-height: 830px;
  padding: 42px 21px 28px;
}

.config-panel h2 {
  margin: 0;
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
}

.components-panel > h2 {
  margin-left: 20px;
}

.component-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 26px;
}

.component-list[hidden] {
  display: none;
}

.component-group {
  position: relative;
  border-radius: 15px;
  background: linear-gradient(90deg, #24242b 0%, #202027 100%);
}

.component-head {
  width: 665px;
  height: 65px;
  padding: 0 43px 0 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #e7e5ea;
  cursor: pointer;
  text-align: left;
}

.component-label {
  flex: none;
  font-size: 18px;
  font-weight: 700;
}

.component-selected {
  max-width: 410px;
  overflow: hidden;
  color: #777780;
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.component-panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
}

.component-group[data-open="true"] .component-panel {
  grid-template-rows: 1fr;
}

.component-panel-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 30px 35px;
}

.component-tools {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}

.component-search {
  width: 100%;
  height: 45px;
  padding: 0 10px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(75, 75, 78, .5), rgba(58, 58, 69, .5));
  color: #e8eef7;
  font-size: 16px;
  outline: none;
}

.component-search::placeholder {
  color: rgba(232, 238, 247, .3);
}

.component-filters {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.component-tool-buttons {
  display: flex;
  gap: 5px;
}

.component-filter,
.config-error button {
  height: 35px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(75, 75, 78, .5), rgba(58, 58, 69, .5));
  color: rgba(232, 238, 247, .5);
  cursor: pointer;
}

.component-filter.is-active {
  border-color: rgba(123, 97, 255, .7);
  color: rgba(232, 238, 247, .75);
}

.component-sort {
  width: 45px;
  padding: 0;
}

.component-sort img {
  width: 18px;
  height: 12px;
  margin: auto;
}

.component-items {
  max-height: 400px;
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow-y: auto;
}

.component-option {
  height: 55px;
  min-width: 0;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 3px;
  border: 1px solid;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(75, 75, 78, .5), rgba(58, 58, 69, .5));
  color: #dedde2;
  cursor: pointer;
  text-align: left;
}

.component-option.new {
  border-color: rgba(78, 143, 61, .7);
}

.component-option.old {
  border-color: rgba(240, 200, 112, .7);
}

.component-option[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px currentColor, 0 0 16px rgba(123, 97, 255, .18);
}

.component-option-info {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.component-option-status {
  align-self: flex-start;
  padding: 1px 7px;
  border: 1px solid currentColor;
  border-radius: 9px;
  color: #8c8f96;
  font-size: 8px;
  line-height: 10px;
  text-transform: uppercase;
}

.component-option.new .component-option-status {
  color: #71a564;
}

.component-option.old .component-option-status {
  color: #d8b35f;
}

.component-option-name {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.component-option-info strong {
  flex: none;
  color: #e0b864;
  font-size: 12px;
}

.component-empty {
  grid-column: 1 / -1;
  color: #777780;
  font-size: 12px;
}

.summary-panel {
  min-height: 550px;
  padding: 50px 45px 31px;
}

.summary-lines {
  height: 250px;
  margin-top: 27px;
  padding: 22px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  color: #9d9ba4;
  font-size: 16px;
  overflow: hidden;
}

.summary-row {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  gap: 4px;
}

.summary-row-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-delivery {
  margin-top: 49px;
  display: flex;
  justify-content: space-between;
  color: #aaa7b5;
  font-size: 16px;
}

.summary-bottom {
  margin-top: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.summary-bottom > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-bottom span {
  color: #77718e;
  font-size: 14px;
  font-weight: 700;
}

.summary-bottom strong {
  font-size: 32px;
  line-height: 36px;
}

.summary-bottom .button {
  width: 196px;
  height: 42px;
}

.config-loader,
.config-error {
  margin: 38px 20px;
  color: #8e8b99;
  font-size: 14px;
}

.delivery-mobile {
  display: none;
}

.config-error[hidden] {
  display: none;
}

@keyframes sponsors-scroll {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes skeleton-shift {
  to { background-position: -200% 0, 0 0; }
}

@media (max-width: 1500px) and (min-width: 768px) {
  .shell,
  .header-inner {
    width: calc(100% - 80px);
  }

  .hero {
    height: auto;
    min-height: 820px;
    grid-template-columns: minmax(420px, 1fr) minmax(620px, 1.15fr);
    gap: 30px;
  }

  .hero-copy > p {
    width: auto;
  }

  .hero-config-card {
    grid-template-columns: minmax(280px, 360px) 1fr;
  }

  .hero-config-image {
    width: 100%;
  }

  .catalog-grid,
  .catalog-loader {
    grid-template-columns: repeat(auto-fit, 260px);
  }

  .config-layout {
    grid-template-columns: minmax(520px, 1fr) minmax(520px, 1fr);
  }

  .component-head {
    width: 100%;
  }
}

@media (max-width: 1100px) and (min-width: 768px) {
  .desktop-nav {
    gap: 18px;
    margin-left: 20px;
  }

  .header-contact {
    width: 135px;
  }

  .hero {
    min-height: 1020px;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
  }

  .hero-copy,
  .hero-config-card {
    margin-top: 0;
  }

  .hero-config-card {
    align-self: center;
    width: min(790px, 100%);
  }

  .config-main {
    padding-top: 100px;
  }

  .config-layout {
    display: flex;
    flex-direction: column;
  }

  .config-panel {
    width: 100%;
  }
}

@media (max-width: 767px) {
  :root {
    --shell: 315px;
  }

  html {
    scroll-behavior: auto;
  }

  .shell,
  .header-inner {
    width: calc(100% - 60px);
  }

  .site-header {
    height: 54px;
  }

  .brand-header {
    gap: 4px;
    font-size: 13px;
  }

  .brand-header img {
    width: 30px;
    height: 30px;
  }

  .brand-desktop,
  .desktop-nav,
  .header-contact {
    display: none;
  }

  .brand-mobile,
  .mobile-telegram {
    display: inline-flex;
  }

  .mobile-telegram,
  .mobile-telegram img {
    width: 30px;
    height: 30px;
  }

  .page-main,
  .config-main {
    background-size: 768px auto;
  }

  .hero {
    width: calc(100% - 60px);
    height: 622px;
    display: block;
  }

  .hero-copy {
    margin-top: 0;
    padding-top: 51px;
  }

  .hero-copy h1 {
    font-size: 26px;
    line-height: 25px;
    letter-spacing: -.025em;
  }

  .desktop-only {
    display: none;
  }

  .hero-copy > p {
    width: 100%;
    margin-top: 10px;
    font-size: 10px;
    line-height: 12px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }

  .button {
    height: 35px;
    border-radius: 7px;
    font-size: 10px;
  }

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

  .hero-config-card {
    width: 100%;
    height: 330px;
    margin-top: 23px;
    display: block;
    padding: 31px 23px;
    border-color: rgba(123, 97, 255, .08);
    border-radius: 30px;
  }

  .hero-config-image {
    display: none;
  }

  .hero-config-copy {
    padding: 0;
  }

  .hero-config-copy h2 {
    margin-bottom: 16px;
    margin-left: 6px;
    font-size: 21px;
    line-height: 26px;
  }

  .hero-config-copy > p:not(.help) {
    margin-top: 15px;
    padding-left: 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .hero-config-copy ul {
    margin: 13px 0 14px;
    padding-left: 28px;
    font-size: 14px;
    line-height: 21px;
  }

  .hero-config-copy .button {
    width: calc(100% - 14px);
    margin-left: 8px;
    margin-top: 17px;
  }

  .hero-config-copy .help {
    margin-top: 9px;
    font-size: 9px;
  }

  .sponsors {
    height: 168px;
  }

  .sponsor-wave {
    width: 1344px;
    height: 84px;
    left: 50%;
    transform: translateX(-50%);
  }

  .sponsor-wave-bottom {
    transform: translateX(-50%) rotate(180deg);
  }

  .sponsor-viewport {
    top: 59px;
    height: 50px;
  }

  .sponsor-group {
    gap: 13px;
    padding-right: 13px;
  }

  .sponsor-group span {
    height: 25px;
    padding-inline: 13px;
    border-radius: 5px;
    font-size: 9px;
  }

  .sponsor-group i {
    width: 5px;
    height: 5px;
  }

  .catalog-section {
    left: 0;
    width: 100%;
    height: 576px;
    min-height: 0;
    padding: 33px 0 68px 30px;
    overflow: hidden;
  }

  .section-heading {
    width: calc(100% - 30px);
  }

  .section-heading h2 {
    font-size: 22px;
    line-height: 27px;
  }

  .section-heading p {
    margin-top: 9px;
    font-size: 10px;
    line-height: 15px;
  }

  .catalog-grid,
  .catalog-loader {
    width: 100%;
    margin-top: 29px;
    padding-right: 30px;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .catalog-grid::-webkit-scrollbar,
  .catalog-loader::-webkit-scrollbar {
    display: none;
  }

  .catalog-card {
    width: 225px;
    height: 380px;
    flex: 0 0 225px;
    padding: 14px 10px;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  .catalog-card-media {
    width: 195px;
    height: 195px;
    border-radius: 14px;
    margin-inline: auto;
  }

  .catalog-card-price {
    margin: 14px 0 8px;
    font-size: 12px;
    line-height: 15px;
  }

  .catalog-card ul {
    height: 89px;
    padding: 10px 0 8px 12px;
    font-size: 9px;
    line-height: 14px;
  }

  .catalog-card .button {
    width: 195px;
    margin-inline: auto;
    height: 25px;
    border-radius: 6px;
    font-size: 8px;
  }

  .site-footer {
    height: 80px;
  }

  .footer-inner {
    position: relative;
    width: calc(100% - 60px);
  }

  .footer-copy {
    width: 218px;
    gap: 7px;
  }

  .footer-top {
    height: auto;
    gap: 5px;
  }

  .brand-footer {
    gap: 0;
  }

  .brand-footer img {
    width: 25px;
    height: 25px;
  }

  .brand-footer span {
    display: none;
  }

  .footer-top p {
    width: 185px;
    font-size: 5px;
    line-height: 7px;
  }

  .footer-copy small {
    font-size: 5px;
  }

  .footer-links {
    gap: 10px;
  }

  .socials {
    gap: 7px;
  }

  .socials a,
  .socials img {
    width: 20px;
    height: 20px;
  }

  .footer-links nav {
    gap: 10px;
  }

  .footer-links nav a {
    font-size: 5px;
  }

  .modal-layer {
    padding: 0;
  }

  .modal-close {
    top: 13px;
    right: 13px;
    width: 27px;
    height: 27px;
  }

  .modal-close img {
    width: 16px;
    height: 16px;
  }

  .policy-modal {
    width: 315px;
    height: 770px;
    padding: 29px 14px;
    border-radius: 40px;
  }

  [data-modal-layer="policy"] {
    align-items: center;
    padding-top: 0;
  }

  .policy-modal .modal-close {
    width: 22px;
    height: 22px;
  }

  .policy-copy {
    font-size: 10px;
    line-height: 20.2px;
  }

  .policy-copy h2 {
    margin: 0 0 17px;
    font-size: 13px;
    line-height: 16px;
  }

  .policy-copy h3 {
    margin-top: 15px;
    font-size: 12px;
    line-height: 20px;
  }

  .policy-copy p br {
    display: none;
  }

  .policy-copy strong {
    margin-top: 12px;
    font-size: 10px;
    line-height: 16px;
  }

  .detail-modal {
    width: 375px;
    height: 810px;
    margin: 23px 0 41px;
    padding: 42px 28px 24px;
    display: block;
    border-radius: 40px;
  }

  .detail-gallery {
    width: 315px;
    height: 330px;
    margin: 0;
    display: block;
  }

  .detail-thumbnails {
    display: none;
  }

  .detail-main-wrap,
  .detail-main-image {
    width: 315px;
    height: 315px;
  }

  .detail-main-image {
    border-width: 2px;
    border-radius: 20px;
  }

  .gallery-arrow {
    display: block;
    width: 34px;
    height: 38px;
    font-size: 36px;
  }

  .gallery-dots {
    position: absolute;
    right: 0;
    bottom: -15px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
  }

  .gallery-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #45424e;
  }

  .gallery-dots i.active {
    background: #8b70ff;
  }

  .detail-copy {
    padding: 0;
    font-size: 12px;
    line-height: 15px;
  }

  .detail-copy h2 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 29px;
  }

  .detail-copy > p {
    margin-bottom: 18px;
  }

  .detail-params {
    margin-bottom: 18px;
  }

  .detail-params ul {
    margin-top: 3px;
    padding-left: 18px;
    line-height: 15px;
  }

  .detail-order {
    right: 30px;
    bottom: 21px;
    left: 30px;
  }

  .detail-order strong {
    font-size: 18px;
  }

  .detail-order .button {
    width: 150px;
    height: 35px;
  }

  .site-toast {
    right: 15px;
    bottom: 15px;
    left: 15px;
    max-width: none;
    font-size: 12px;
  }

  /* Mobile configurator — frame 36:585 */
  .config-page {
    min-height: 1150px;
  }

  .config-main {
    min-height: 1016px;
    padding-top: 72px;
  }

  .config-heading h1 {
    font-size: 22px;
    line-height: 27px;
  }

  .config-heading p {
    margin-top: 13px;
    font-size: 10px;
    line-height: 15px;
  }

  .config-layout {
    display: block;
    margin-top: 39px;
  }

  .config-panel {
    width: 100%;
    border-width: 1px;
    border-color: rgba(123, 97, 255, .2);
  }

  .config-panel h2 {
    font-size: 14px;
    line-height: 17px;
  }

  .components-panel {
    min-height: 490px;
    padding: 16px 9px 15px;
    border-radius: 18px;
  }

  .components-panel > h2 {
    margin-left: 6px;
  }

  .component-list {
    gap: 15px;
    margin-top: 11px;
  }

  .component-head {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border-radius: 14px;
  }

  .component-label,
  .component-selected {
    font-size: 10px;
  }

  .component-selected {
    max-width: 170px;
  }

  .component-tools {
    display: flex;
    flex-direction: column;
    margin-top: 7px;
  }

  .component-search {
    height: 30px;
    font-size: 10px;
  }

  .component-tool-buttons {
    flex-wrap: wrap;
  }

  .component-filter {
    height: 26px;
    font-size: 9px;
  }

  .component-items {
    max-height: 160px;
  }

  .component-option {
    min-height: 38px;
    font-size: 10px;
  }

  .summary-panel {
    min-height: 245px;
    margin-top: 20px;
    padding: 21px 22px 13px;
    border-radius: 15px;
  }

  .summary-lines {
    height: 120px;
    margin-top: 8px;
    padding: 10px 7px;
    gap: 0;
    border-radius: 8px;
    font-size: 10px;
    line-height: 11.5px;
    overflow: hidden;
  }

  .summary-delivery {
    margin-top: 8px;
    font-size: 10px;
  }

  .delivery-desktop {
    display: none;
  }

  .delivery-mobile {
    display: inline;
  }

  .summary-bottom {
    margin-top: 7px;
  }

  .summary-bottom > div {
    gap: 1px;
  }

  .summary-bottom span {
    font-size: 10px;
  }

  .summary-bottom strong {
    font-size: 15px;
    line-height: 18px;
  }

  .summary-bottom .button {
    width: 115px;
    height: 25px;
    border-radius: 6px;
    font-size: 8px;
  }

  .config-loader,
  .config-error {
    margin: 20px 6px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sponsor-viewport {
    overflow-x: auto;
  }

  .sponsor-track {
    animation: none;
  }

  .sponsor-group[aria-hidden="true"] {
    display: none;
  }

  .skeleton-card {
    animation: none;
  }
}

@media (max-width: 340px) {
  .hero-config-card {
    padding-inline: 20px;
  }

  .hero-config-copy h2 {
    margin-left: 0;
    font-size: 19px;
  }

  .hero-config-copy > p:not(.help) {
    padding-left: 0;
  }

  .hero-config-copy ul {
    padding-left: 18px;
  }

  .hero-config-copy .button {
    width: 100%;
    margin-left: 0;
  }

  .footer-copy {
    width: 175px;
  }

  .footer-top p {
    width: 145px;
  }

  .summary-panel {
    padding-inline: 15px;
  }

  .summary-bottom .button {
    width: 105px;
  }

  .policy-modal {
    width: calc(100% - 40px);
    height: auto;
    max-height: calc(100vh - 40px);
    min-height: 0;
    overflow: auto;
  }

  .detail-modal {
    width: 100%;
    padding-inline: 28px;
  }

  .detail-gallery,
  .detail-main-wrap,
  .detail-main-image {
    width: 100%;
  }

  .detail-main-wrap,
  .detail-main-image {
    height: auto;
    aspect-ratio: 1;
  }

  .detail-gallery {
    height: auto;
    aspect-ratio: 1;
    margin-bottom: 15px;
  }

  .detail-order {
    right: 28px;
    left: 28px;
  }
}

/* Typography and component sizing from the previous public version. */
@media (max-width: 767px) {
  .brand-header {
    font-size: 22px;
  }

  .hero-copy h1 {
    font-size: 48px;
    line-height: 58px;
    letter-spacing: 0;
  }

  .hero-copy > p {
    font-size: 16px;
    line-height: 22px;
  }

  .button,
  .hero-actions .button {
    font-size: 16px;
  }

  .hero-config-copy h2 {
    font-size: 26px;
    line-height: 32px;
  }

  .hero-config-copy .button {
    font-size: 16px;
  }

  .hero-config-copy .help {
    font-size: 14px;
  }

  .section-heading h2 {
    font-size: 32px;
    line-height: 39px;
  }

  .section-heading p {
    font-size: 14px;
    line-height: 18px;
  }

  .catalog-card-price {
    font-size: 16px;
    line-height: 20px;
  }

  .catalog-card ul {
    font-size: 12px;
    line-height: 16px;
  }

  .catalog-card .button {
    font-size: 12px;
  }

  .footer-top p,
  .footer-copy small,
  .footer-links nav a {
    font-size: 12px;
    line-height: 16px;
  }

  .brand-footer {
    font-size: 24px;
  }

  .site-footer {
    height: auto;
    min-height: 110px;
    padding-block: 15px;
  }

  .footer-inner {
    gap: 15px;
    flex-wrap: wrap;
  }

  .policy-copy {
    font-size: 20px;
    line-height: 26px;
  }

  .policy-copy h2 {
    font-size: 20px;
    line-height: 25px;
  }

  .policy-copy h3 {
    font-size: 20px;
    line-height: 26px;
  }

  .policy-copy strong {
    font-size: 20px;
    line-height: 26px;
  }

  .detail-copy,
  .detail-copy h2 {
    font-size: 18px;
    line-height: 23px;
  }

  .detail-order .button {
    font-size: 12px;
  }

  .config-page,
  .config-main {
    min-height: 0;
  }

  .config-main {
    padding-bottom: 50px;
  }

  .config-heading h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .config-heading p {
    font-size: 16px;
    line-height: 21px;
  }

  .components-panel {
    min-height: 0;
    padding: 25px 10px;
  }

  .config-panel h2 {
    font-size: 26px;
    line-height: 32px;
  }

  .component-list {
    gap: 15px;
    margin-top: 15px;
  }

  .component-group,
  .component-head {
    min-height: 45px;
  }

  .component-head {
    height: 45px;
    padding-inline: 20px;
  }

  .component-label,
  .component-selected {
    font-size: 18px;
  }

  .component-selected {
    max-width: 55%;
  }

  .component-panel-inner {
    padding: 5px 10px 15px;
  }

  .component-search {
    height: 40px;
    font-size: 14px;
  }

  .component-filter {
    height: 35px;
    padding: 0 8px;
    font-size: 16px;
  }

  .component-sort {
    width: 40px;
  }

  .component-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 400px;
  }

  .component-option {
    height: 55px;
    font-size: 12px;
  }

  .component-option-name,
  .component-option-info strong {
    font-size: 12px;
  }

  .component-option-status {
    font-size: 8px;
  }

  .summary-panel {
    min-height: 0;
    padding: 25px 10px;
  }

  .summary-lines {
    height: auto;
    min-height: 180px;
    padding: 15px 10px;
    gap: 6px;
    font-size: 16px;
    line-height: 20px;
  }

  .summary-delivery {
    margin-top: 25px;
    font-size: 16px;
  }

  .summary-bottom {
    margin-top: 20px;
  }

  .summary-bottom span {
    font-size: 14px;
  }

  .summary-bottom strong {
    font-size: 32px;
    line-height: 36px;
  }

  .summary-bottom .button {
    width: 196px;
    height: 45px;
    font-size: 16px;
  }
}

@media (max-width: 545px) {
  .config-panel h2 {
    font-size: 20px;
    line-height: 25px;
  }

  .component-label,
  .component-selected {
    font-size: 14px;
  }

  .summary-delivery {
    font-size: 12px;
  }

  .summary-bottom strong {
    font-size: 20px;
    line-height: 25px;
  }

  .summary-bottom .button {
    width: 135px;
    height: 35px;
    font-size: 12px;
  }
}

@media (max-width: 425px) {
  .hero-copy h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .hero-copy > p {
    font-size: 12px;
    line-height: 16px;
  }

  .button,
  .hero-actions .button {
    font-size: 14px;
  }

  .hero-config-copy .button {
    font-size: 12px;
  }

  .hero-config-copy .help {
    font-size: 10px;
  }

  .policy-copy,
  .policy-copy h3,
  .policy-copy strong {
    font-size: 14px;
    line-height: 20px;
  }

  .footer-top {
    display: none;
  }

  .footer-copy {
    width: auto;
  }

  .component-items {
    grid-template-columns: 1fr;
  }

  .component-filter {
    height: auto;
    padding: 8px 5px;
    font-size: 12px;
  }

  .summary-lines {
    font-size: 12px;
    line-height: 16px;
  }
}

.component-head:focus {
  outline: none;
}

.component-head:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(123, 97, 255, .7);
}
