﻿:root {
  --bg: #f5f7fb;
  --paper: #ffffff;
  --ink: #151821;
  --muted: #697181;
  --soft: #e8edf6;
  --line: #dbe2ee;
  --accent: #2857ff;
  --accent-2: #ffcc33;
  --mint: #22b98f;
  --coral: #ff5a66;
  --shadow: 0 24px 70px rgba(21, 24, 33, 0.1);
  --font-ui: "Onest", "Manrope", Arial, sans-serif;
  --font-display: "Unbounded", "Onest", Arial, sans-serif;
}

@media (max-width: 760px) {
  .market-home-body .marketplace-top {
    grid-template-columns: auto 1fr;
    gap: 12px;
    width: 100%;
  }

  .market-home-body .marketplace-actions--top {
    justify-self: end;
    margin-left: auto;
    justify-content: flex-end;
  }

  .market-home-body .marketplace-actions--top a,
  .market-home-body .marketplace-actions--top .telegram-login-button {
    flex: 0 0 42px;
  }

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

  .market-product-card {
    min-width: 0;
    min-height: 0;
    grid-template-rows: auto auto;
  }

  .market-product-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 18px 18px 14px 14px;
  }

  .market-product-visual img {
    object-fit: cover;
    object-position: center;
  }

  .market-product-info {
    min-height: 118px;
  }
}

@media (max-width: 620px) {
  .custom-product-detail .product-market-shell,
  .custom-product-detail .product-detail-shell,
  .custom-product-detail .configurator-workspace,
  .custom-product-detail .creation-preview-canvas,
  .custom-product-detail .configurator-panel {
    box-sizing: border-box;
    max-width: 100%;
  }

  .custom-product-detail .product-market-shell {
    width: min(100% - 16px, 560px);
    margin: 8px auto;
    padding: 14px;
    overflow: hidden;
  }

  .custom-product-detail .product-detail-shell,
  .custom-product-detail .configurator-workspace {
    width: 100%;
    overflow: visible;
  }

  .custom-product-detail .creation-preview-canvas {
    width: 100%;
    min-height: min(58vh, 430px);
    overflow: hidden;
  }

  .custom-product-detail #previewCanvas {
    left: 0;
    width: 100%;
    max-width: 100%;
    height: min(58vh, 430px);
    display: block;
  }

  .custom-product-detail .configurator-panel {
    width: 100%;
    margin: -24px 0 0;
  }
}

/* Minimal mobile pass: keep the product surface focused on image, name, price, action. */
@media (max-width: 680px) {
  .market-home-shell {
    width: calc(100vw - 20px);
    margin: 10px auto;
    padding: 12px;
    border-radius: 24px;
  }

  .market-home-body .marketplace-top {
    min-height: 44px;
  }

  .market-home-body .marketplace-actions--top {
    gap: 8px;
  }

  .market-home-body .marketplace-actions--top a,
  .market-home-body .marketplace-actions--top .telegram-login-button {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 18px;
  }

  .market-home-body .marketplace-hero {
    min-height: 126px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .market-home-body .marketplace-hero span {
    max-width: 62%;
    margin: 0;
    font-size: 8px;
  }

  .market-home-body .marketplace-hero h1 {
    max-width: 62%;
    margin-top: 4px;
    font-size: clamp(21px, 6.4vw, 27px);
    line-height: 1.02;
  }

  .market-home-body .marketplace-hero p {
    max-width: 61%;
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.2;
  }

  .market-home-body .marketplace-hero > .hero-model-orbit {
    width: 44%;
  }

  .market-home-body .category-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 12px -12px 0;
    padding: 0 12px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .market-home-body .category-pills::-webkit-scrollbar {
    display: none;
  }

  .market-home-body .category-pills a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .market-home-body .catalog-section > span {
    margin-top: 16px;
    font-size: 10px;
  }

  .market-home-body .catalog-section h2 {
    max-width: 92%;
    margin-top: 12px;
    font-size: clamp(31px, 10.8vw, 43px);
    line-height: 0.94;
  }

  .market-home-body .catalog-section > p,
  .market-home-body [data-catalog-summary] {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.25;
  }

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

  .market-product-card {
    max-width: none;
    min-height: 228px;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(37, 43, 60, 0.08);
  }

  .market-product-visual {
    height: 128px;
    min-height: 128px;
    border-radius: 0 0 16px 16px;
  }

  .market-product-card .fav-icon {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }

  .market-discount {
    left: 9px;
    bottom: 9px;
    min-height: 23px;
    padding: 0 8px;
    font-size: 9px;
  }

  .market-cart-fab,
  .market-maker,
  .market-rating,
  .market-product-info p,
  .market-product-cta {
    display: none;
  }

  .market-product-info {
    min-height: 100px;
    padding: 11px 11px 12px;
  }

  .market-product-info h3 {
    min-height: 34px;
    font-size: 13px;
    line-height: 1.18;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .market-product-bottom {
    margin-top: 8px;
    display: block;
  }

  .market-product-info strong {
    font-size: 18px;
  }

  .market-product-card--feature {
    min-height: 190px;
    padding: 18px;
  }

  .market-product-card--feature p {
    display: none;
  }

  .market-home-body .partner-cta {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
  }

  .market-home-body .partner-cta h2 {
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1;
  }

  .market-home-body .site-footer {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
  }
}

@media (max-width: 620px) {
  .custom-product-detail .product-market-shell {
    width: calc(100vw - 20px);
    margin: 10px auto;
    padding: 14px;
    border-radius: 24px;
  }

  .custom-product-detail .product-nav {
    min-height: 42px;
    margin-bottom: 10px;
    padding: 0;
  }

  .custom-product-detail .product-nav nav {
    display: none;
  }

  .custom-product-detail .breadcrumbs,
  .custom-product-detail .configurator-intro,
  .custom-product-detail .product-proof-row,
  .custom-product-detail .preview-scene-badge,
  .custom-product-detail .preview-actions,
  .custom-product-detail .configurator-note {
    display: none;
  }

  .custom-product-detail .product-detail-shell {
    padding: 0 0 18px;
  }

  .custom-product-detail .configurator-workspace {
    gap: 0;
  }

  .custom-product-detail .creation-preview-canvas {
    min-height: min(64vh, 480px);
    border-radius: 28px;
  }

  .custom-product-detail #previewCanvas {
    position: relative;
    left: -22%;
    width: 144%;
    max-width: none;
   }

  .custom-product-detail .configurator-panel {
    position: relative;
    z-index: 5;
    margin: -34px 8px 0;
    padding: 18px;
    border-radius: 26px;
    box-shadow: 0 -14px 40px rgba(31, 35, 45, 0.08);
  }

  .custom-product-detail .configurator-panel__head h2 {
    margin-bottom: 6px;
    font-size: 26px;
    line-height: 1.04;
  }

  .custom-product-detail .configurator-panel__head p {
    display: block;
    font-size: 13px;
    line-height: 1.34;
  }

  .custom-product-control {
    margin-top: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .custom-product-control strong {
    font-size: 30px;
  }

  .custom-product-row {
    padding: 12px;
    border-radius: 18px;
  }

  .custom-product-order {
    min-height: 52px;
    margin-top: 12px;
    border-radius: 18px;
  }

  .custom-product-detail .order-details-strip {
    display: grid;
    gap: 10px;
    margin-top: 14px;
  }

  .custom-product-detail .order-details-strip details {
    border-radius: 20px;
  }

  .custom-product-detail .site-footer {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
  }
}

@media (max-width: 760px) {
  .market-home-body .marketplace-top {
    grid-template-columns: auto 1fr;
    gap: 12px;
    width: 100%;
  }

  .market-home-body .marketplace-actions--top {
    justify-self: end;
    margin-left: auto;
    justify-content: flex-end;
  }

  .market-home-body .marketplace-actions--top a,
  .market-home-body .marketplace-actions--top .telegram-login-button {
    flex: 0 0 42px;
  }

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

  .market-product-card {
    min-width: 0;
    min-height: 0;
    grid-template-rows: auto auto;
  }

  .market-product-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 18px 18px 14px 14px;
  }

  .market-product-visual img {
    object-fit: cover;
    object-position: center;
  }

  .market-product-info {
    min-height: 118px;
  }
}

@media (max-width: 620px) {
  .custom-product-detail .product-market-shell,
  .custom-product-detail .product-detail-shell,
  .custom-product-detail .configurator-workspace,
  .custom-product-detail .creation-preview-canvas,
  .custom-product-detail .configurator-panel {
    box-sizing: border-box;
    max-width: 100%;
  }

  .custom-product-detail .product-market-shell {
    width: min(100% - 16px, 560px);
    margin: 8px auto;
    padding: 14px;
    overflow: hidden;
  }

  .custom-product-detail .product-detail-shell,
  .custom-product-detail .configurator-workspace {
    width: 100%;
    overflow: visible;
  }

  .custom-product-detail .creation-preview-canvas {
    width: 100%;
    min-height: min(58vh, 430px);
    overflow: hidden;
  }

  .custom-product-detail #previewCanvas {
    left: 0;
    width: 100%;
    max-width: 100%;
    height: min(58vh, 430px);
    display: block;
  }

  .custom-product-detail .configurator-panel {
    width: 100%;
    margin: -24px 0 0;
  }
}

@media (max-width: 620px) {
  .custom-product-detail #previewCanvas {
    position: relative;
    left: -22%;
    width: 144%;
    max-width: none;
  }
}

.partner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(14, 18, 32, 0.72);
  box-shadow: 0 24px 80px rgba(15, 20, 32, 0.22);
}

.partner-cta span,
.partner-hero > div > span,
.partner-concept article > span,
.partner-split > div > span,
.partner-application > div > span {
  color: #7f8cff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-cta h2 {
  margin: 8px 0 8px;
  font-family: "Unbounded", "Onest", sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.08;
}

.partner-cta p {
  max-width: 620px;
  margin: 0;
  color: rgba(238, 242, 255, 0.72);
}

.partner-cta > a,
.partner-hero a,
.partner-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #f5f7ff;
  color: #101426;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.home-body.partner-page-body {
  background:
    radial-gradient(circle at 18% 0%, rgba(127, 140, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #101426 0%, #151827 48%, #f4f6fb 48%, #f4f6fb 100%);
  color: #f7f8ff;
}

.partner-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.partner-page-top {
  width: 100%;
  margin: 0 0 34px;
  grid-template-columns: auto 1fr;
}

.partner-page-top .mlc-logo,
.partner-page-top .marketplace-actions a {
  color: #ffffff;
}

.partner-page-top .marketplace-actions {
  justify-content: flex-end;
}

.partner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 30px;
  align-items: end;
  min-height: 520px;
  padding: 52px 0 72px;
}

.partner-hero h1 {
  max-width: 820px;
  margin: 14px 0 18px;
  font-family: "Unbounded", "Onest", sans-serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
}

.partner-hero p {
  max-width: 710px;
  margin: 0 0 28px;
  color: rgba(248, 250, 255, 0.76);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.partner-hero aside,
.partner-checklist {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.partner-hero strong,
.partner-checklist strong {
  display: block;
  margin-bottom: 16px;
  font-size: 18px;
}

.partner-hero ul,
.partner-checklist ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 18px;
  color: rgba(248, 250, 255, 0.78);
}

.partner-concept,
.partner-split,
.partner-application {
  color: #111827;
}

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

.partner-concept article,
.partner-application,
.partner-split {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(17, 24, 39, 0.08);
}

.partner-concept article {
  min-height: 250px;
  padding: 28px;
}

.partner-concept h2,
.partner-split h2,
.partner-application h2 {
  margin: 12px 0 12px;
  font-family: "Unbounded", "Onest", sans-serif;
  line-height: 1.08;
}

.partner-concept h2 {
  font-size: clamp(22px, 2.6vw, 31px);
}

.partner-concept p,
.partner-split p,
.partner-application p {
  margin: 0;
  color: #5b6475;
  line-height: 1.55;
}

.partner-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
  margin: 0 0 26px;
  padding: 32px;
}

.partner-split h2,
.partner-application h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.partner-split .partner-checklist {
  border-color: rgba(17, 24, 39, 0.08);
  background: #f5f7ff;
}

.partner-split .partner-checklist ul {
  color: #4b5563;
}

.partner-application {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: start;
  padding: 32px;
}

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

.partner-form label {
  display: grid;
  gap: 8px;
}

.partner-form label span {
  color: #4b5563;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.partner-form input,
.partner-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 16px;
  background: #f8fafc;
  color: #111827;
  font: inherit;
  outline: none;
}

.partner-form input {
  min-height: 48px;
  padding: 0 14px;
}

.partner-form textarea {
  resize: vertical;
  padding: 14px;
}

.partner-form input:focus,
.partner-form textarea:focus {
  border-color: rgba(107, 77, 246, 0.55);
  box-shadow: 0 0 0 4px rgba(107, 77, 246, 0.12);
}

.partner-form__wide,
.partner-form button,
.partner-form__status {
  grid-column: 1 / -1;
}

.partner-form button {
  width: fit-content;
  background: #111827;
  color: #ffffff;
}

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

.partner-form__status {
  min-height: 22px;
  margin: 0;
  color: #256d43;
  font-weight: 700;
}

.partner-form__status[data-state="error"] {
  color: #b42318;
}

@media (max-width: 860px) {
  .partner-cta,
  .partner-hero,
  .partner-split,
  .partner-application {
    grid-template-columns: 1fr;
  }

  .partner-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .partner-page {
    width: min(100% - 28px, 1180px);
  }

  .partner-hero {
    min-height: 0;
    padding: 34px 0 42px;
  }

  .partner-page-top .marketplace-actions a {
    color: #111827;
  }

  .partner-page-top .marketplace-actions {
    grid-template-columns: 1fr;
  }

  .partner-hero h1 {
    font-size: clamp(32px, 8.4vw, 38px);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .partner-concept,
  .partner-form {
    grid-template-columns: 1fr;
  }

  .partner-concept article,
  .partner-split,
  .partner-application {
    padding: 22px;
    border-radius: 20px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.product-body {
  background: #f3f5f9;
}

.product-detail-body {
  background:
    radial-gradient(circle at 17% 10%, rgba(255, 255, 255, 0.56), transparent 22%),
    linear-gradient(135deg, #d5e1ce, #edf1e8 38%, #eef2f7);
}

.product-page {
  color: #172033;
}

.product-nav {
  position: sticky;
  top: 18px;
  z-index: 30;
  margin-top: 18px;
  max-width: 1680px;
}

.market-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 72px;
  padding: 0 clamp(16px, 4vw, 56px);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border-bottom: 1px solid #e4e8f0;
}

.market-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #005bff;
  font-size: 20px;
  font-weight: 900;
}

.market-logo span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 44%, #fff 44% 56%, transparent 56%),
    linear-gradient(transparent 44%, #fff 44% 56%, transparent 56%),
    #005bff;
}

.catalog-button {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  background: #005bff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.market-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.catalog-shell {
  max-width: 1500px;
  margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 44px) 48px;
}

.catalog-strip {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.catalog-strip strong {
  color: #172033;
  font-size: 18px;
}

.promo-banner {
  min-height: 88px;
  padding: 18px 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.58), transparent 18%),
    radial-gradient(circle at 78% 50%, rgba(255, 255, 255, 0.52), transparent 20%),
    linear-gradient(90deg, #fff11a, #ff9f0a 56%, #fff11a);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(87, 45, 0, 0.26);
}

.promo-banner span {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
}

.promo-banner strong {
  color: #f91155;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 1;
  text-shadow: 0 3px 0 #fff, 0 10px 22px rgba(88, 0, 30, 0.18);
}

.promo-banner em {
  padding: 8px 14px;
  border-radius: 999px;
  background: #111827;
  font-style: normal;
  font-weight: 900;
}

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

.market-card {
  position: relative;
  min-height: 420px;
  padding: 10px 10px 14px;
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  color: #172033;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.market-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(21, 31, 55, 0.10);
}

.favorite {
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #172033;
  font-size: 24px;
  line-height: 1;
}

.card-image {
  min-height: 268px;
  border-radius: 14px;
  background: #eef2f8;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.card-image i {
  display: block;
}

.card-image--mosaic i {
  width: 78%;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(90deg, transparent 0 30%, rgba(0, 0, 0, 0.1) 31% 34%, transparent 35%),
    repeating-linear-gradient(90deg, #141922 0 18px, #d8dee8 18px 38px, #fff 38px 58px, #8b95a3 58px 78px);
  border-radius: 10px;
  transform: rotate(-4deg);
  box-shadow: 0 22px 36px rgba(20, 25, 34, 0.16);
}

.card-image--litho i {
  width: 70%;
  height: 78%;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 34%, #fff6c8 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 68%, #ffe083 0 26%, transparent 27%),
    linear-gradient(135deg, #fff, #ffd56a);
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.45), 0 16px 40px rgba(255, 157, 0, 0.24);
}

.card-image--plate i,
.card-image--kit i,
.card-image--keychain i,
.card-image--desk i,
.card-image--lamp i,
.card-image--batch i {
  width: 70%;
  height: 54%;
  border-radius: 18px;
  background: linear-gradient(135deg, #111827 0 34%, #e4e9f2 35% 65%, #fff 66%);
  box-shadow: 0 18px 32px rgba(21, 31, 55, 0.16);
}

.card-image--kit i { background: linear-gradient(135deg, #005bff, #fff 48%, #111827); }
.card-image--keychain i { border-radius: 50%; background: radial-gradient(circle, #fff 0 28%, #ff9f0a 29% 42%, #111827 43%); }
.card-image--desk i { background: linear-gradient(90deg, #111827 0 18%, #d9dee8 19% 34%, #005bff 35% 52%, #fff 53%); }
.card-image--lamp i { background: radial-gradient(circle, #fff7b0 0 34%, #ff9f0a 35% 44%, #111827 45%); }
.card-image--batch i { background: repeating-linear-gradient(90deg, #111827 0 18px, #005bff 18px 34px, #e4e9f2 34px 52px); }

.card-badge {
  width: fit-content;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 7px;
  background: #f91155;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.card-price {
  margin-top: 8px;
  color: #f91155;
  font-size: 22px;
  font-weight: 900;
}

.card-price span {
  color: #98a2b3;
  font-size: 14px;
  text-decoration: line-through;
}

.card-price em {
  color: #f91155;
  font-size: 14px;
  font-style: normal;
}

.market-card strong {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.28;
}

.market-card small {
  margin-top: auto;
  padding-top: 8px;
  color: #667085;
  font-weight: 800;
}

.market-card.is-soon {
  cursor: default;
}

.product-shell {
  max-width: 1500px;
  margin: 0 auto;
  padding: 22px clamp(16px, 4vw, 44px) 72px;
}

.product-detail-shell {
  max-width: 1680px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 42px) 72px;
}

.breadcrumbs {
  color: #7b8494;
  font-size: 13px;
  font-weight: 700;
  margin: 6px 0 16px;
}

.product-detail-body .breadcrumbs {
  color: #5e6c57;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 430px);
  gap: 32px;
  align-items: start;
}

.product-detail-left {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.product-hero-card {
  padding: clamp(18px, 2vw, 26px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 84px rgba(43, 58, 40, 0.13);
  display: grid;
  grid-template-columns: minmax(420px, 0.98fr) minmax(360px, 0.9fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  overflow: hidden;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(380px, 1.12fr) minmax(330px, 0.76fr);
  gap: 20px;
  align-items: start;
}

.product-gallery,
.product-info,
.buy-card,
.details-card,
.product-partners {
  background: #fff;
  border: 1px solid #e6eaf1;
  border-radius: 16px;
}

.product-gallery {
  padding: 16px;
  position: sticky;
  top: 92px;
}

.product-detail-body .product-gallery {
  position: static;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
}

.product-detail-body .gallery-main {
  min-height: 430px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.85), transparent 46%),
    linear-gradient(135deg, #b8cdb1, #eff4ec);
}

.product-detail-body .sale-badge {
  background: #10131a;
}

.product-detail-body .model-spec-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.product-detail-body .model-spec-grid div {
  min-height: 68px;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
}

.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #eef4ff, #fff),
    #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.preview-main {
  min-height: 420px;
}

.sale-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: #f91155;
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
}

.gallery-mosaic {
  width: min(78%, 360px);
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 5px;
  transform: rotate(-4deg);
}

.gallery-mosaic i {
  border-radius: 4px;
  background: #d9dee8;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18);
}

.gallery-mosaic i:nth-child(3n) { background: #181c24; }
.gallery-mosaic i:nth-child(4n) { background: #7d8796; }
.gallery-mosaic i:nth-child(5n) { background: #ffffff; }

.gallery-thumbs,
.model-spec-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.model-spec-grid div {
  min-height: 72px;
  padding: 12px;
  border: 1px solid #dfe4ed;
  border-radius: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.model-spec-grid span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.model-spec-grid strong {
  font-size: 15px;
  line-height: 1.15;
}

.gallery-thumbs button {
  aspect-ratio: 1 / 1;
  border: 1px solid #dfe4ed;
  border-radius: 12px;
  background: #fff;
}

.gallery-thumbs button.is-active {
  border-color: #005bff;
  box-shadow: 0 0 0 2px rgba(0, 91, 255, 0.12);
}

.gallery-thumbs span {
  display: block;
  width: 60%;
  height: 60%;
  margin: 20%;
  border-radius: 8px;
  background: linear-gradient(135deg, #111827 0 35%, #d9dee8 36% 68%, #fff 69%);
}

.product-info {
  padding: 24px;
}

.product-copy-card {
  border: 0;
  border-radius: 28px;
  background: transparent;
  padding: 12px 10px 12px 8px;
  align-self: center;
}

.product-copy-card .product-info h1,
.product-copy-card h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
}

.product-copy-card .product-summary {
  max-width: 560px;
  color: #46513f;
  font-weight: 650;
}

.product-copy-card .benefit-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-copy-card .benefit-row div {
  background: rgba(255, 255, 255, 0.72);
}

.product-info-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.product-info-panels .details-card {
  margin: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 60px rgba(43, 58, 40, 0.08);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #7b8494;
  font-size: 13px;
  font-weight: 800;
}

.rating {
  color: #f5a400;
}

.product-info h1 {
  margin: 16px 0 0;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.product-summary {
  margin: 16px 0 0;
  color: #515a6b;
  font-size: 17px;
  line-height: 1.55;
}

.benefit-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.benefit-row div {
  padding: 14px;
  border-radius: 12px;
  background: #f4f7fb;
}

.benefit-row strong {
  display: block;
  font-size: 22px;
}

.benefit-row span,
.details-card li,
.delivery-grid span {
  color: #667085;
  font-size: 14px;
}

.details-card {
  margin-top: 16px;
  padding: 18px;
}

.details-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.details-card ul {
  margin: 0;
  padding-left: 20px;
}

.details-card li + li {
  margin-top: 8px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.delivery-grid span {
  min-height: 46px;
  padding: 12px;
  border-radius: 10px;
  background: #f4f7fb;
}

.buy-card {
  padding: 18px;
  position: sticky;
  top: 92px;
  box-shadow: 0 18px 50px rgba(27, 39, 67, 0.08);
}

.product-purchase-card {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 0;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 84px rgba(43, 58, 40, 0.16);
}

.product-purchase-card .buy-price strong {
  color: #10131a;
  font-size: 46px;
}

.product-purchase-card .stock {
  color: #4f7c45;
}

.product-purchase-card .product-order {
  grid-template-columns: 1fr;
}

.product-purchase-card .drop,
.product-purchase-card .product-order > button,
.product-purchase-card .order-card > button {
  border-radius: 18px;
}

.product-purchase-card .product-order > button,
.product-purchase-card .order-card > button {
  border-color: #10131a;
  background: #10131a;
}

.product-purchase-card .segmented {
  background: #edf3e9;
  border-color: transparent;
}

.product-purchase-card .segmented button.is-active {
  color: #fff;
}

.product-purchase-card .price-lines.compact {
  border-color: rgba(79, 91, 70, 0.18);
}

.product-purchase-card .order-card,
.product-purchase-card .delivery-fields,
.product-purchase-card .order-summary div {
  background: rgba(242, 246, 239, 0.86);
}

.version-passport {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(79, 91, 70, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.version-passport__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.version-passport__head span {
  color: #6c7b60;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.version-passport__head strong {
  max-width: 190px;
  color: #10131a;
  font-size: 15px;
  line-height: 1.25;
  text-align: right;
}

.version-passport__grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.version-passport__grid div {
  min-height: 74px;
  padding: 12px;
  border-radius: 16px;
  background: #f2f6ef;
}

.version-passport__grid span {
  display: block;
  color: #6c7b60;
  font-size: 12px;
  font-weight: 900;
}

.version-passport__grid strong {
  display: block;
  margin-top: 7px;
  color: #10131a;
  font-size: 14px;
  line-height: 1.25;
}

.product-purchase-card .delivery-fields input,
.product-purchase-card .delivery-fields select {
  border-color: rgba(79, 91, 70, 0.18);
}

.save-address-toggle,
.generator-save-address {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: auto;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #10131a;
  font-size: 13px;
  font-weight: 850;
}

.save-address-toggle input,
.generator-save-address input {
  width: 18px;
  height: 18px;
  accent-color: #6b4df6;
}

.generator-delivery-fields .generator-field--wide {
  grid-column: 1 / -1;
}

.product-nav .telegram-login-button {
  min-height: 42px;
  padding: 0 14px;
}

.buy-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stock {
  color: #10a35a;
  font-size: 14px;
  font-weight: 900;
}

.buy-card__top small {
  color: #7b8494;
  font-weight: 800;
  text-align: right;
}

.buy-price {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.buy-price strong {
  font-size: 42px;
  line-height: 1;
  color: #f91155;
}

.buy-price span {
  color: #98a2b3;
  text-decoration: line-through;
  font-weight: 900;
}

.product-order {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.product-order .drop,
.product-order > button {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
}

.product-order > button {
  border-color: #005bff;
  background: #005bff;
}

.price-lines.compact {
  margin: 0;
  padding: 0;
  border-top: 1px solid #edf1f6;
}

.price-lines.compact div {
  min-height: 36px;
  padding: 10px 0 0;
}

.delivery-fields {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #f6f8fb;
}

.delivery-fields h3 {
  margin: 0;
  font-size: 15px;
}

.delivery-fields label {
  display: grid;
  gap: 6px;
}

.delivery-fields label span,
.delivery-fields small {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.delivery-fields input,
.delivery-fields select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8dee9;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #121826;
  font: inherit;
  font-weight: 800;
}

.delivery-fields select {
  cursor: pointer;
}

.delivery-fields small {
  line-height: 1.35;
}

.order-card {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d8dee9;
  border-radius: 14px;
  background: #ffffff;
}

.order-card.is-hidden {
  display: none;
}

.order-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.order-card__head span {
  color: #10a35a;
  font-size: 13px;
  font-weight: 900;
}

.order-card__head strong {
  color: #f91155;
  font-size: 24px;
  line-height: 1;
}

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

.order-summary div {
  min-height: 58px;
  padding: 10px;
  border-radius: 10px;
  background: #f6f8fb;
}

.order-summary span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.order-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
}

.order-card > button {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid #111827;
  background: #111827;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.order-card > small {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.custom-product-detail .product-proof-row span {
  background: rgba(255, 255, 255, 0.72);
}

.custom-product-control,
.custom-product-controls {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.custom-product-control,
.custom-product-row {
  padding: 14px;
  border-radius: 16px;
  background: rgba(242, 246, 255, 0.88);
}

.custom-product-control span,
.custom-product-row span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.custom-product-control strong {
  display: block;
  margin-top: 4px;
  color: #10131a;
  font-size: 34px;
  line-height: 1;
}

.custom-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-product-row strong {
  color: #10131a;
  font-size: 14px;
}

.custom-product-row--colors {
  align-items: flex-start;
}

.custom-product-row--variants {
  align-items: flex-start;
}

.custom-product-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.custom-product-option {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #10131a;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(107, 77, 246, 0.22);
}

.custom-product-option.is-active {
  background: #10131a;
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 19, 26, 0.16);
}

.custom-product-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.custom-product-swatch {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(107, 77, 246, 0.22);
  border-radius: 999px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
}

.custom-product-swatch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.10);
}

.custom-product-swatch.is-active {
  border-color: #6b4df6;
  box-shadow: 0 0 0 3px rgba(107, 77, 246, 0.18);
}

.custom-product-order {
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: 18px;
  background: #10131a;
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.custom-product-order:disabled {
  cursor: default;
  opacity: 0.72;
}

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

.sbp-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.sbp-payment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 24, 0.42);
  backdrop-filter: blur(10px);
}

.sbp-payment-modal__card {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(107, 77, 246, 0.18), transparent 28%),
    #fff;
  color: #111318;
  box-shadow: 0 28px 90px rgba(17, 19, 24, 0.24);
}

.sbp-payment-modal__card > span {
  display: block;
  color: #6b4df6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sbp-payment-modal__card h2 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1;
}

.sbp-payment-modal__card p {
  margin: 0;
  color: #667082;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 760;
}

.sbp-payment-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 14px;
  background: #f2f5fb;
  color: #111318;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.sbp-payment-modal__summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 18px 0;
  padding: 16px;
  border-radius: 20px;
  background: #f2f5fb;
}

.sbp-payment-modal__summary small {
  color: #697386;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.sbp-payment-modal__summary strong {
  color: #111318;
  font-size: 18px;
  font-weight: 950;
}

.sbp-payment-modal__pay,
.sbp-payment-modal__secondary {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 18px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.sbp-payment-modal__pay {
  background: #111318;
  color: #fff;
}

.sbp-payment-modal__pay:disabled {
  opacity: 0.72;
}

.sbp-payment-modal__secondary {
  margin-top: 10px;
  background: #f2f5fb;
  color: #111318;
}

.generator-product-form {
  display: grid;
  gap: 14px;
}

.generator-fields {
  display: grid;
  gap: 10px;
}

.generator-field {
  display: grid;
  gap: 8px;
}

.generator-field span {
  color: #697386;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.generator-field input,
.generator-field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(107, 77, 246, 0.12);
  border-radius: 18px;
  background: #f2f5fb;
  color: #111318;
  font: inherit;
  font-weight: 800;
  padding: 0 16px;
  outline: none;
}

.generator-field input:focus,
.generator-field select:focus {
  border-color: rgba(107, 77, 246, 0.42);
  box-shadow: 0 0 0 4px rgba(107, 77, 246, 0.12);
}

.generator-drop span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-trust {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.market-trust span {
  padding-left: 20px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  position: relative;
}

.market-trust span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10a35a;
}

.product-partners {
  max-width: 1500px;
  margin: 0 auto 48px;
}

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

  .product-detail-grid,
  .product-grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr);
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-card {
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  }

  .product-purchase-card {
    position: static;
  }

  .buy-card {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 760px) {
  .market-header {
    height: auto;
    padding: 12px 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .market-actions {
    justify-content: space-between;
    overflow-x: auto;
  }

  .catalog-strip,
  .promo-banner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .market-card {
    min-height: 330px;
    border-radius: 14px;
  }

  .card-image {
    min-height: 180px;
  }

  .market-card strong {
    font-size: 14px;
  }

  .product-shell {
    padding: 14px 12px 42px;
  }

  .product-detail-shell {
    padding: 16px 12px 44px;
  }

  .product-hero-card,
  .product-detail-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-card,
  .product-purchase-card {
    border-radius: 28px;
  }

  .product-detail-body .gallery-main {
    min-height: 360px;
  }

  .product-detail-body .model-spec-grid,
  .product-copy-card .benefit-row,
  .product-info-panels {
    grid-template-columns: 1fr 1fr;
  }

  .product-copy-card h1 {
    font-size: 38px;
  }

  .product-gallery {
    position: static;
  }

  .product-info,
  .buy-card {
    padding: 16px;
  }

  .product-meta,
  .buy-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .benefit-row,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .buy-price strong {
    font-size: 34px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(40, 87, 255, 0.08), transparent 28%),
    radial-gradient(circle at 91% 18%, rgba(255, 204, 51, 0.14), transparent 24%),
    var(--bg);
}

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

button,
input {
  font: inherit;
}

.home-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.55), transparent 22%),
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(135deg, #c9d9c3, #aebf9f 48%, #8fa27e);
  color: #10131a;
}

.market-home-body {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.22), transparent 18%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(135deg, #6b5de8, #8faee8 50%, #6b35dd);
}

.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: 600;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  display: inline-block;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  background: #111318;
  color: #fff;
  font-weight: 950;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(107, 77, 246, 0.78);
  outline-offset: 4px;
}

:where(a, button, input, select, summary, textarea):focus-visible {
  box-shadow: 0 0 0 5px rgba(107, 77, 246, 0.18);
}

.market-product-card:focus-visible,
.hero-actions a:focus-visible,
.category-pills a:focus-visible,
.partner-network-panel__copy a:focus-visible,
.creator-submit-kit a:focus-visible,
.catalog-roadmap-panel__copy a:focus-visible,
.launch-contract-panel__copy a:focus-visible,
.market-product-card--feature a:focus-visible,
.configurator-summary button:focus-visible,
.product-purchase-card .order-card > button:focus-visible,
.preview-actions button:focus-visible,
.telegram-login-button:focus-visible {
  position: relative;
  z-index: 4;
  outline-color: rgba(17, 19, 24, 0.9);
  box-shadow: 0 0 0 5px rgba(107, 77, 246, 0.22), 0 18px 42px rgba(21, 24, 33, 0.16);
}

.drop:focus-within,
.market-search:focus-within,
.delivery-fields label:focus-within,
.product-purchase-card .segmented button:focus-visible,
.configurator-panel .segmented button:focus-visible {
  outline: 3px solid rgba(107, 77, 246, 0.72);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(107, 77, 246, 0.14);
}

.market-home-shell {
  width: min(1480px, calc(100% - 48px));
  margin: 46px auto;
  padding: 30px 40px 40px;
  border-radius: 42px;
  background: #eef1f6;
  box-shadow: 0 40px 120px rgba(38, 25, 128, 0.34);
}

.marketplace-top {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(260px, 420px) 1fr;
  align-items: center;
  gap: 28px;
}

.mlc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111318;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.mlc-logo span {
  color: #6b4df6;
}

.mlc-logo .brand-mark,
.home-logo .brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.mlc-logo strong {
  font-weight: 900;
}

.market-search {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f7f8fb;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8a8f9b;
}

.market-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111318;
  font-weight: 800;
}

.market-search input::placeholder {
  color: #8a8f9b;
}

.market-empty-state {
  grid-column: 1 / -1;
  min-height: 240px;
  padding: 28px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 18%, rgba(107, 77, 246, 0.12), transparent 26%),
    #fff;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.06);
}

.market-empty-state strong {
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
}

.market-empty-state span {
  max-width: 520px;
  margin-top: 10px;
  color: #667082;
  font-weight: 780;
  line-height: 1.45;
}

.marketplace-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 14px;
  font-weight: 900;
}

.marketplace-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.telegram-login-button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #111318;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 950;
  cursor: pointer;
}

.telegram-login-button.is-linked {
  background: #e9fff7;
  color: #078c64;
}

.telegram-auth-panel {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.telegram-auth-panel div {
  display: grid;
  gap: 2px;
}

.telegram-auth-panel span {
  color: #697181;
  font-size: 13px;
  font-weight: 800;
}

.telegram-auth-panel a {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #6b4df6;
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-weight: 950;
}

.marketplace-hero {
  position: relative;
  margin-top: 26px;
  padding: clamp(30px, 5vw, 64px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.54), transparent 24%),
    radial-gradient(circle at 10% 90%, rgba(29, 215, 159, 0.42), transparent 28%),
    linear-gradient(135deg, #3522a5 0%, #6b4df6 47%, #1f9d8f 100%);
  color: #fff;
  display: grid;
  min-height: 310px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.marketplace-hero > div:not(.hero-model-orbit) {
  position: relative;
  z-index: 2;
}

.marketplace-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.22), transparent 23%),
    linear-gradient(90deg, rgba(107, 77, 246, 0.08), rgba(255, 255, 255, 0.1));
  pointer-events: none;
}

.marketplace-hero span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.marketplace-hero h1 {
  max-width: 790px;
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.05;
}

.marketplace-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-actions a {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111318;
  background: #fff;
  font-size: 14px;
  font-weight: 950;
}

.hero-actions a + a {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.marketplace-hero > .hero-model-orbit {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: min(42.5%, 680px);
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  cursor: crosshair;
  pointer-events: auto;
  opacity: 0.78;
  transition: opacity 0.28s ease;
}

.marketplace-hero > .hero-model-orbit.is-ready {
  opacity: 1;
}

.hero-model-orbit::before {
  content: "";
  position: absolute;
  inset: 4% 0 4% 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 58%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent);
  filter: blur(10px);
  opacity: 0.85;
  pointer-events: none;
}

.hero-model-orbit canvas {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.market-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.market-trust-strip div {
  min-height: 118px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.market-trust-strip strong {
  display: block;
  color: #111318;
  font-size: 18px;
  line-height: 1.15;
}

.market-trust-strip span {
  display: block;
  margin-top: 8px;
  color: #667082;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 750;
}

.market-process {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  margin-top: 22px;
}

.market-process__copy,
.market-process__steps article {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
}

.market-process__copy {
  padding: 28px;
}

.market-process__copy > span,
.marketplace-section-head > span {
  display: block;
  margin-bottom: 10px;
  color: #6b4df6;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.market-process__copy h2 {
  margin: 0;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.04;
}

.market-process__copy p {
  margin: 14px 0 0;
  color: #5e6675;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.48;
}

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

.market-process__steps article {
  min-height: 170px;
  padding: 22px;
}

.market-process__steps span {
  display: block;
  color: #1f9d8f;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.market-process__steps strong {
  display: block;
  margin-top: 12px;
  color: #111318;
  font-size: 18px;
  line-height: 1.16;
}

.market-process__steps p {
  margin: 8px 0 0;
  color: #667082;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 750;
}

.order-flow-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  margin-top: 22px;
  padding: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 12%, rgba(31, 157, 143, 0.18), transparent 24%),
    #17191f;
  color: #fff;
}

.order-flow-panel__copy {
  align-self: center;
}

.order-flow-panel__copy > span {
  display: block;
  margin-bottom: 10px;
  color: #9ee7d8;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.order-flow-panel__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.06;
}

.order-flow-panel__copy p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.48;
  font-weight: 760;
}

.order-flow-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.order-flow-panel__grid article {
  min-height: 190px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.order-flow-panel__grid .material-symbols-rounded {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  color: #6b4df6;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.order-flow-panel__grid strong {
  display: block;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.16;
}

.order-flow-panel__grid p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 750;
}

.production-standards-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  margin-top: 22px;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 214, 23, 0.2), transparent 26%),
    linear-gradient(135deg, #ffffff, #f5f8fb);
}

.production-standards-panel__copy {
  align-self: center;
}

.production-standards-panel__copy > span {
  display: block;
  margin-bottom: 10px;
  color: #9a7b00;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.production-standards-panel__copy h2 {
  margin: 0;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.05;
}

.production-standards-panel__copy p {
  max-width: 610px;
  margin: 14px 0 0;
  color: #5d6675;
  font-size: 16px;
  line-height: 1.48;
  font-weight: 760;
}

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

.production-standards-panel__grid article {
  min-height: 210px;
  padding: 20px;
  border: 1px solid #e6eaf1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
}

.production-standards-panel__grid .material-symbols-rounded {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #111318;
  color: #ffd617;
  font-size: 24px;
}

.production-standards-panel__grid strong {
  display: block;
  margin-top: 16px;
  color: #111318;
  font-size: 18px;
  line-height: 1.15;
}

.production-standards-panel__grid p {
  margin: 9px 0 0;
  color: #667082;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 750;
}

@media (prefers-reduced-motion: reduce) {
  .market-product-card,
  .market-product-visual img,
  .configurator-summary button {
    transition: none;
  }
}

.category-pills {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.category-pills a {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  color: #191b21;
  font-size: 14px;
  font-weight: 900;
}

.category-pills a.is-active,
.category-pills a:hover {
  background: #6b4df6;
  color: #fff;
}

.marketplace-layout {
  margin-top: 22px;
  display: block;
}

.market-filter-panel {
  display: grid;
  gap: 8px;
}

.market-filter-panel article {
  padding: 22px;
  border-radius: 24px;
  background: #fff;
}

.market-filter-panel h2 {
  margin: 0;
  font-size: 20px;
}

.market-filter-panel small,
.market-filter-panel p {
  color: #777d88;
  font-size: 14px;
  font-weight: 700;
}

.market-filter-panel small {
  display: block;
  margin-top: 4px;
}

.market-filter-panel ol {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.market-filter-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4b505a;
  font-weight: 900;
}

.market-filter-panel li span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #f1edff;
  color: #6b4df6;
  display: grid;
  place-items: center;
}

.delivery-toggle {
  margin-top: 18px;
  padding: 6px;
  border-radius: 999px;
  background: #eef1f6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.delivery-toggle span {
  min-height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #5b606b;
  font-weight: 900;
}

.delivery-toggle span.is-active {
  background: #6b4df6;
  color: #fff;
}

.marketplace-section-head {
  margin-bottom: 18px;
}

.marketplace-section-head h2 {
  max-width: 940px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
}

.catalog-result-summary {
  max-width: 680px;
  margin: 10px 0 0;
  color: #667082;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

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

.market-product-card {
  position: relative;
  min-height: 388px;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  color: #17191f;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.market-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(56, 60, 77, 0.14);
}

.market-product-card.is-coming-soon {
  cursor: default;
}

.market-product-card .fav-icon {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #6b4df6;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(31, 35, 45, 0.08);
}

.market-product-visual {
  position: relative;
  height: clamp(250px, 21vw, 310px);
  min-height: 230px;
  background:
    radial-gradient(circle at 50% 72%, rgba(0, 0, 0, 0.12), transparent 18%),
    linear-gradient(135deg, #eef0ef, #e1e4e2);
  overflow: hidden;
}

.market-discount {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  background: #ff2bc2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.market-cart-fab {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #bf21ff;
  color: #fff;
  display: none;
  place-items: center;
  box-shadow: 0 14px 30px rgba(157, 45, 255, 0.34);
}

.market-product-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.market-product-card:hover .market-product-visual img {
  transform: scale(1.035);
}

.market-product-visual i {
  display: block;
  width: 160px;
  height: 126px;
  border-radius: 30px;
  background: #fff;
  box-shadow: inset -12px -16px 28px rgba(21, 24, 33, 0.13), 0 24px 48px rgba(21, 24, 33, 0.12);
}

.market-product-card--mosaic .market-product-visual i {
  background:
    radial-gradient(circle at 54% 50%, #111318 0 10%, #fff 11% 19%, transparent 20%),
    repeating-linear-gradient(90deg, #111318 0 18px, #e7e9ed 18px 36px, #fff 36px 54px, #9aa0ab 54px 72px);
  rotate: -5deg;
}

.market-product-card--litho .market-product-visual i {
  height: 160px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 34%, #fff3b1 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 70%, #ffe07a 0 30%, transparent 31%),
    linear-gradient(135deg, #fff, #f3f5f7);
}

.market-product-card--key .market-product-visual i {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 28%, #8aa9d9 29% 42%, #111318 43%);
}

.market-product-card--desk .market-product-visual i {
  background: linear-gradient(90deg, #111318 0 19%, #fff 20% 38%, #6b4df6 39% 58%, #d4d8df 59%);
}

.market-product-card--batch .market-product-visual i {
  background: repeating-linear-gradient(90deg, #111318 0 16px, #6b4df6 16px 32px, #eef1f6 32px 48px);
}

.market-product-info {
  padding: 22px 28px 24px;
}

.market-product-tags {
  min-height: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.market-product-info h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.16;
}

.market-product-info p {
  margin: 10px 0 12px;
  color: #747b86;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.market-product-meta {
  display: block;
  margin-bottom: 10px;
  color: #9a7b00;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 950;
}

.market-production-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.market-production-tags span {
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1f4f8;
  color: #4e5665;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 950;
}

.market-maker,
.market-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #5f6674;
  font-size: 13px;
  font-weight: 850;
}

.market-maker::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #21c7ff, #6b4df6);
  flex: 0 0 auto;
}

.market-rating {
  margin-top: 4px;
  color: #747b86;
}

.market-rating span {
  color: #ff9f0a;
  font-size: 17px;
}

.market-product-bottom {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.market-product-info strong {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #ff2b8a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  line-height: 1;
}

.market-product-cta {
  color: #111318;
  font-size: 13px;
  font-weight: 950;
  opacity: 0.72;
}

.market-product-cta--link {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #111318;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  white-space: nowrap;
}

.market-product-cta--link:hover {
  background: #6b4df6;
}

.market-product-card.is-coming-soon .market-product-info strong {
  font-size: 20px;
  white-space: nowrap;
}

.market-product-info strong span {
  font-size: 19px;
}

.top-item {
  width: fit-content;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffd617;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 900;
}

.market-product-status {
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #efeaff;
  color: #6b4df6;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 950;
}

.market-product-card--feature {
  min-height: 388px;
  padding: 24px;
  grid-template-rows: 1fr;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.42), transparent 20%),
    linear-gradient(135deg, #6b4df6, #8a42ec);
  color: #fff;
  align-items: end;
}

.market-product-card--feature p {
  color: rgba(255, 255, 255, 0.78);
}

.market-product-card--feature a {
  width: fit-content;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 16px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 900;
}

.catalog-roadmap-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  margin-top: 22px;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 20%, rgba(158, 231, 216, 0.28), transparent 28%),
    linear-gradient(135deg, #17191f, #28303b);
  color: #fff;
}

.catalog-roadmap-panel__copy {
  align-self: center;
}

.catalog-roadmap-panel__copy > span {
  display: block;
  margin-bottom: 10px;
  color: #9ee7d8;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.catalog-roadmap-panel__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.05;
}

.catalog-roadmap-panel__copy p {
  max-width: 590px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.48;
  font-weight: 760;
}

.catalog-roadmap-panel__copy a {
  width: fit-content;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #111318;
  display: inline-flex;
  align-items: center;
  font-weight: 950;
}

.catalog-roadmap-panel__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.catalog-roadmap-panel__steps article {
  min-height: 210px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.catalog-roadmap-panel__steps strong {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(158, 231, 216, 0.16);
  color: #9ee7d8;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.catalog-roadmap-panel__steps span {
  display: block;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
}

.catalog-roadmap-panel__steps p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 750;
}

.partner-network-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 22px;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.62), transparent 20%),
    linear-gradient(135deg, #ffffff, #e9fbf6);
}

.partner-network-panel__copy {
  align-self: center;
}

.partner-network-panel__copy > span {
  display: block;
  margin-bottom: 10px;
  color: #1f9d8f;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.partner-network-panel__copy h2 {
  margin: 0;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.05;
}

.partner-network-panel__copy p {
  max-width: 610px;
  margin: 14px 0 0;
  color: #5d6675;
  font-size: 16px;
  line-height: 1.48;
  font-weight: 760;
}

.partner-network-panel__copy a {
  width: fit-content;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111318;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 950;
}

.partner-network-panel__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.partner-network-panel__cards article {
  min-height: 190px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.06);
}

.partner-network-panel__cards strong {
  display: block;
  color: #111318;
  font-size: 18px;
  line-height: 1.15;
}

.partner-network-panel__cards p {
  margin: 10px 0 0;
  color: #667082;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 750;
}

.creator-pipeline-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  margin-top: 22px;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 18%, rgba(107, 77, 246, 0.16), transparent 24%),
    linear-gradient(135deg, #ffffff, #f3f5fb);
}

.creator-pipeline-panel__head {
  align-self: center;
}

.creator-pipeline-panel__head > span {
  display: block;
  margin-bottom: 10px;
  color: #6b4df6;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.creator-pipeline-panel__head h2 {
  margin: 0;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.05;
}

.creator-pipeline-panel__head p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #5d6675;
  font-size: 16px;
  line-height: 1.48;
  font-weight: 760;
}

.creator-pipeline-panel__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.creator-pipeline-panel__steps article {
  min-height: 174px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.06);
}

.creator-pipeline-panel__steps strong {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #6b4df6;
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
}

.creator-pipeline-panel__steps span {
  display: block;
  margin-top: 14px;
  color: #111318;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
}

.creator-pipeline-panel__steps p {
  margin: 9px 0 0;
  color: #667082;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 750;
}

.creator-submit-kit {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 2px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(17, 19, 24, 0.92);
  color: #fff;
  box-shadow: 0 22px 52px rgba(17, 19, 24, 0.2);
}

.creator-submit-kit strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: 0;
}

.creator-submit-kit ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.creator-submit-kit li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 760;
}

.creator-submit-kit li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 999px;
  background: #9ee7d8;
  box-shadow: 0 0 0 4px rgba(158, 231, 216, 0.16);
}

.creator-submit-kit a {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  background: #fff;
  color: #111318;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.launch-contract-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  margin-top: 22px;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 214, 107, 0.22), transparent 28%),
    linear-gradient(135deg, #111318, #26303c);
  color: #fff;
}

.launch-contract-panel__copy {
  align-self: center;
}

.launch-contract-panel__copy > span {
  display: block;
  margin-bottom: 10px;
  color: #ffd66b;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.launch-contract-panel__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.launch-contract-panel__copy p {
  max-width: 600px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.48;
  font-weight: 760;
}

.launch-contract-panel__copy a {
  width: fit-content;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #111318;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 950;
}

.launch-contract-panel__checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.launch-contract-panel__checks article {
  min-height: 194px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.launch-contract-panel__checks strong {
  display: inline-flex;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 214, 107, 0.16);
  color: #ffd66b;
  align-items: center;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.launch-contract-panel__checks p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
}

.readiness-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: 18px;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 16%, rgba(31, 157, 143, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 248, 252, 0.92));
}

.readiness-panel__copy {
  align-self: center;
}

.readiness-panel__copy span {
  display: block;
  margin-bottom: 10px;
  color: #1f9d8f;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.readiness-panel__copy h2 {
  margin: 0;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.readiness-panel__copy p {
  max-width: 540px;
  margin: 14px 0 0;
  color: #667082;
  font-weight: 760;
  line-height: 1.5;
}

.readiness-panel__copy a {
  width: fit-content;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111318;
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-weight: 950;
}

.readiness-board {
  display: grid;
  gap: 12px;
}

.readiness-board__status,
.readiness-board__grid article {
  border: 1px solid #e6eaf1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.readiness-board__status {
  min-height: 92px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.readiness-board__status span,
.readiness-board__grid span {
  color: #667082;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.readiness-board__status strong {
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  text-align: right;
}

.readiness-board.is-ready .readiness-board__status strong {
  color: #1f9d8f;
}

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

.readiness-board__grid article {
  min-height: 126px;
  padding: 18px;
}

.readiness-board__grid strong {
  display: block;
  margin-top: 18px;
  color: #111318;
  font-size: 18px;
  line-height: 1.18;
}

.rating-chip {
  position: absolute;
  left: 22px;
  top: 22px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #17191f;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 900;
}

.rating-chip span {
  color: #ffd617;
  font-size: 18px;
}

.marketplace-partners {
  margin-top: 28px;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.16), transparent 22%),
    #17191f;
}

@media (max-width: 1100px) {
  .market-home-shell {
    width: min(100% - 24px, 1480px);
    margin: 18px auto;
    padding: 22px;
    border-radius: 30px;
  }

  .marketplace-top,
  .marketplace-layout,
  .market-process,
  .order-flow-panel,
  .production-standards-panel,
  .catalog-roadmap-panel,
  .partner-network-panel,
  .launch-contract-panel,
  .creator-pipeline-panel {
    grid-template-columns: 1fr;
  }

  .marketplace-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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

  .market-trust-strip {
    grid-template-columns: 1fr;
  }

  .order-flow-panel__grid {
    grid-template-columns: 1fr;
  }

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

  .catalog-roadmap-panel__steps {
    grid-template-columns: 1fr;
  }

  .partner-network-panel__cards {
    grid-template-columns: 1fr;
  }

  .creator-pipeline-panel__steps {
    grid-template-columns: 1fr;
  }

  .launch-contract-panel__checks {
    grid-template-columns: 1fr;
  }

  .creator-submit-kit {
    grid-template-columns: 1fr;
  }

  .creator-submit-kit ul {
    grid-template-columns: 1fr;
  }

  .creator-submit-kit a {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .market-home-body {
    overflow-x: hidden;
  }

  .market-home-shell {
    width: calc(100vw - 48px);
    padding: 16px;
    border-radius: 24px;
    overflow: hidden;
  }

  .marketplace-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    aspect-ratio: auto;
    padding: 16px 20px;
    border-radius: 24px;
    align-items: end;
  }

  .marketplace-hero h1 {
    max-width: 82%;
    font-size: clamp(27px, 9.6vw, 34px);
    line-height: 0.94;
  }

  .marketplace-hero span {
    max-width: 82%;
    display: block;
    font-size: 10px;
    line-height: 1.25;
  }

  .marketplace-hero p {
    max-width: 82%;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.25;
  }

  .hero-actions {
    max-width: 82%;
    gap: 8px;
    margin-top: 14px;
  }

  .hero-actions a {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-model-orbit,
  .market-search {
    width: 100%;
  }

  .marketplace-hero > .hero-model-orbit {
    position: absolute;
    inset: 0 0 0 auto;
    min-height: 0;
    margin-top: 0;
    width: 44%;
    height: 100%;
    pointer-events: auto;
  }

  .hero-model-orbit::before {
    inset: 8% 0 8% 0;
  }

  .market-product-grid {
    grid-template-columns: repeat(2, minmax(0, calc((100vw - 68px) / 2)));
    gap: 12px;
    width: 100%;
  }

  .category-pills a {
    flex: 0 1 calc(50% - 8px);
    justify-content: center;
    padding: 0 12px;
    text-align: center;
  }

  .market-process,
  .order-flow-panel,
  .production-standards-panel,
  .catalog-roadmap-panel,
  .partner-network-panel,
  .launch-contract-panel,
  .creator-pipeline-panel,
  .marketplace-layout,
  .market-products {
    min-width: 0;
    max-width: 100%;
  }

  .market-process__copy,
  .order-flow-panel,
  .production-standards-panel,
  .catalog-roadmap-panel,
  .partner-network-panel,
  .launch-contract-panel,
  .creator-pipeline-panel {
    padding: 22px;
  }

  .market-process__copy h2,
  .order-flow-panel__copy h2,
  .production-standards-panel__copy h2,
  .catalog-roadmap-panel__copy h2,
  .partner-network-panel__copy h2,
  .launch-contract-panel__copy h2,
  .creator-pipeline-panel__head h2 {
    font-size: clamp(25px, 8vw, 31px);
    overflow-wrap: anywhere;
  }

  .creator-pipeline-panel__head h2 {
    font-size: clamp(24px, 7vw, 28px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  .catalog-roadmap-panel__copy h2 {
    font-size: clamp(23px, 7vw, 28px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  .launch-contract-panel__copy h2 {
    font-size: clamp(23px, 7vw, 28px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  .order-flow-panel__grid article,
  .production-standards-panel__grid article,
  .catalog-roadmap-panel__steps article,
  .partner-network-panel__cards article,
  .launch-contract-panel__checks article,
  .creator-pipeline-panel__steps article {
    min-height: 150px;
  }

  .catalog-roadmap-panel__copy a {
    width: 100%;
    justify-content: center;
  }

  .partner-network-panel__copy a {
    width: 100%;
  }

  .launch-contract-panel__copy a {
    width: 100%;
  }

  .creator-submit-kit {
    padding: 18px;
    border-radius: 20px;
  }

  .creator-submit-kit strong {
    font-size: 21px;
  }

  .creator-submit-kit a {
    width: 100%;
    justify-self: stretch;
  }

  .market-process__steps {
    grid-template-columns: 1fr;
  }

  .production-standards-panel__grid {
    grid-template-columns: 1fr;
  }

  .market-product-card {
    min-width: 0;
    max-width: calc((100vw - 68px) / 2);
    min-height: 282px;
    border-radius: 18px;
    grid-template-rows: auto 1fr;
  }

  .market-product-visual {
    height: 132px;
    min-height: 132px;
  }

  .market-product-visual img {
    min-height: 0;
  }

  .market-product-info {
    padding: 12px 12px 14px;
  }

  .market-product-tags {
    min-height: 22px;
    gap: 5px;
    margin-bottom: 7px;
  }

  .market-product-info h3 {
    font-size: 14px;
    line-height: 1.12;
  }

  .market-product-info p {
    display: -webkit-box;
    min-height: 30px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 11px;
    line-height: 1.35;
  }

  .market-product-meta {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .market-production-tags {
    gap: 4px;
    margin-bottom: 9px;
  }

  .market-production-tags span {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
  }

  .market-product-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
  }

  .market-product-info strong {
    font-size: 18px;
  }

  .market-product-cta {
    font-size: 11px;
  }

  .market-discount {
    left: 10px;
    bottom: 10px;
    min-height: 24px;
    border-radius: 8px;
    font-size: 10px;
  }

  .market-cart-fab {
    display: grid;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .market-maker,
  .market-rating {
    font-size: 11px;
  }

  .market-product-card .fav-icon {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  .top-item {
    font-size: 10px;
    padding: 4px 9px;
  }

  .market-product-status {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  .marketplace-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    justify-content: stretch;
    justify-items: stretch;
    font-size: 13px;
  }

  .marketplace-actions a {
    min-width: 0;
    min-height: 38px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff;
    justify-content: center;
    font-size: 12px;
    white-space: nowrap;
  }

  .telegram-login-button {
    width: 100%;
    min-height: 38px;
    padding: 0;
    justify-content: center;
    font-size: 13px;
  }

  .telegram-login-button strong {
    display: none;
  }

  .telegram-auth-panel {
    align-items: stretch;
    flex-direction: column;
  }
}

.home-page {
  min-height: 100vh;
  padding: 34px clamp(16px, 5vw, 74px) 56px;
}

.home-nav {
  max-width: 1180px;
  min-height: 56px;
  margin: 0 auto 22px;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 60px rgba(38, 55, 37, 0.14);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.home-logo span {
  width: 30px;
  height: 30px;
  border-radius: 11px;
  background:
    linear-gradient(90deg, transparent 44%, #fff 44% 56%, transparent 56%),
    linear-gradient(transparent 44%, #fff 44% 56%, transparent 56%),
    #10131a;
}

.home-nav nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-nav nav a {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #46513f;
  font-size: 13px;
  font-weight: 900;
}

.home-nav nav a:hover {
  background: #10131a;
  color: #fff;
}

.home-hero {
  max-width: 1180px;
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.96fr) minmax(320px, 0.84fr);
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 7vw, 86px);
}

.home-hero--site {
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
}

.home-hero-copy {
  max-width: 720px;
}

.home-kicker {
  display: inline-flex;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  align-items: center;
  color: #4c5b45;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.home-hero-copy h1 {
  margin: 22px 0 0;
  max-width: 760px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #46513f;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
  font-weight: 700;
}

.home-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-primary,
.home-secondary {
  min-height: 58px;
  padding: 0 26px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.home-primary {
  background: #10131a;
  color: #fff;
}

.home-secondary {
  background: rgba(255, 255, 255, 0.64);
  color: #10131a;
}

.hero-product-card {
  padding: 22px;
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 34px 90px rgba(43, 58, 40, 0.2);
  overflow: hidden;
}

.hero-product-card__visual {
  min-height: 360px;
  border-radius: 34px;
  background: #b8cdb1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-mosaic-object {
  width: min(74%, 280px);
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  rotate: -7deg;
  animation: tileOrbit 5.4s ease-in-out infinite;
}

.hero-mosaic-object span {
  border-radius: 14px;
  background: #eff4ec;
  box-shadow: inset -7px -10px 16px rgba(42, 54, 39, 0.16), 0 12px 22px rgba(42, 54, 39, 0.1);
}

.hero-mosaic-object span:nth-child(3n) { background: #10131a; }
.hero-mosaic-object span:nth-child(4n) { background: #9aab91; }
.hero-mosaic-object span:nth-child(5n) { background: #f1cf78; }

.hero-product-card__body {
  padding: 24px 8px 4px;
}

.hero-product-card__body > span {
  color: #7b8b72;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-product-card__body h2 {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.08;
}

.hero-product-card__body p {
  margin: 10px 0 0;
  color: #66705e;
  font-size: 15px;
  line-height: 1.45;
}

.hero-product-card__body div {
  min-height: 68px;
  margin-top: 20px;
  padding: 8px 8px 8px 20px;
  border: 1px solid #edf0ea;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr 132px;
  align-items: center;
  gap: 10px;
}

.hero-product-card__body strong {
  font-size: 28px;
}

.hero-product-card__body a {
  min-height: 52px;
  border-radius: 16px;
  background: #a9bd9d;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.phone-showcase {
  position: relative;
  width: min(100%, 380px);
  min-height: 700px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 46px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 34px 90px rgba(43, 58, 40, 0.2);
  overflow: hidden;
}

.phone-showcase--catalog {
  animation: phoneFloat 5.4s ease-in-out infinite;
}

.phone-showcase--detail {
  min-height: 640px;
  transform: translateY(42px);
  animation: phoneFloat 5.4s ease-in-out 0.8s infinite;
}

@keyframes phoneFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.phone-top {
  min-height: 44px;
  padding-bottom: 16px;
  border-bottom: 2px dotted rgba(16, 19, 26, 0.08);
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

.phone-top strong {
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.phone-menu,
.phone-top a {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #10131a;
  display: grid;
  place-items: center;
}

.phone-menu {
  background: #ff574b;
}

.phone-menu i {
  width: 14px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
}

.phone-top a::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 4px;
}

.phone-top .back-chip {
  background: #fff;
  border: 1px solid #e7e9e4;
}

.phone-top .back-chip::before {
  width: 11px;
  height: 11px;
  border: 0;
  border-left: 2px solid #e58458;
  border-bottom: 2px solid #e58458;
  border-radius: 0;
  rotate: 45deg;
}

.discount-panel {
  position: relative;
  min-height: 238px;
  margin-top: 18px;
  padding: 28px 24px;
  border-radius: 22px;
  background: #b8cdb1;
  color: #fff;
  overflow: hidden;
}

.discount-panel strong {
  display: block;
  max-width: 190px;
  font-size: 32px;
  line-height: 1.05;
}

.discount-panel span {
  display: block;
  max-width: 150px;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.float-product {
  position: absolute;
  right: 14px;
  bottom: 8px;
  width: 160px;
  height: 150px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 52% 50%, #202329 0 9%, #dce4d7 10% 18%, transparent 19%),
    radial-gradient(circle at 52% 50%, #24272d 0 5%, transparent 6%),
    linear-gradient(135deg, #e7eee2, #91ab88);
  box-shadow: inset -10px -14px 28px rgba(45, 61, 44, 0.18), 0 22px 44px rgba(50, 65, 47, 0.16);
  rotate: -12deg;
}

.float-product::before,
.float-product::after {
  content: "";
  position: absolute;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
}

.float-product::before {
  width: 42px;
  height: 32px;
  left: 22px;
  top: 24px;
}

.float-product::after {
  width: 78px;
  height: 64px;
  right: 24px;
  top: -48px;
  background:
    radial-gradient(circle at 52% 50%, #202329 0 12%, #dce4d7 13% 24%, transparent 25%),
    linear-gradient(135deg, #e6eee0, #8fa780);
  box-shadow: 0 16px 28px rgba(50, 65, 47, 0.16);
}

.phone-title {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  font-size: 30px;
  line-height: 1.05;
}

.phone-title span {
  display: block;
  font-weight: 500;
}

.phone-title strong {
  display: block;
  grid-column: 1;
  font-size: 34px;
  font-weight: 900;
}

.phone-search {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 134px;
  min-height: 68px;
  padding: 0 18px;
  border-radius: 18px;
  background: #050506;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 900;
}

.phone-search i {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  position: relative;
}

.phone-search i::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 9px;
  height: 3px;
  border-radius: 99px;
  background: #fff;
  rotate: 45deg;
}

.phone-product {
  position: relative;
  min-height: 176px;
  margin-top: 18px;
  padding: 24px 22px;
  border-radius: 22px;
  color: #fff;
  display: block;
  overflow: hidden;
}

.phone-product span,
.home-card span,
.home-partners span,
.section-head span {
  display: block;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.phone-product strong {
  display: block;
  margin-top: 8px;
  max-width: 170px;
  font-size: 21px;
  line-height: 1.12;
}

.phone-product em {
  display: block;
  margin-top: 14px;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}

.phone-product i {
  position: absolute;
  right: -8px;
  bottom: -18px;
  width: 172px;
  height: 134px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 54% 50%, #111 0 9%, #fff 10% 18%, transparent 19%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.68) 0 14px, rgba(0,0,0,0.12) 14px 28px),
    rgba(255,255,255,0.22);
  box-shadow: 0 18px 35px rgba(67, 51, 12, 0.18);
  rotate: -3deg;
}

.phone-product--yellow { background: #f2ce73; }
.phone-product--blue { background: #9fd3ec; }

.hero-object {
  position: relative;
  height: 330px;
  margin-top: 28px;
  display: grid;
  place-items: center;
}

.hero-object::before {
  content: "";
  width: 270px;
  height: 270px;
  border-radius: 54px;
  background:
    radial-gradient(circle at 50% 50%, #202329 0 9%, #eef5eb 10% 17%, transparent 18%),
    radial-gradient(circle at 26% 38%, rgba(255,255,255,0.55) 0 8%, transparent 9%),
    linear-gradient(145deg, #dfe9da, #9db68f);
  box-shadow: inset -18px -22px 40px rgba(67, 84, 62, 0.2), 0 30px 64px rgba(54, 68, 50, 0.24);
}

.object-tile {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #b9cfb0;
  box-shadow: 0 12px 22px rgba(55, 72, 52, 0.15);
  animation: tileOrbit 4.8s ease-in-out infinite;
}

.object-tile--one { left: 48px; top: 30px; }
.object-tile--two { right: 44px; top: 46px; animation-delay: 0.4s; }
.object-tile--three { left: 62px; bottom: 38px; animation-delay: 0.8s; }
.object-tile--four { right: 62px; bottom: 28px; animation-delay: 1.2s; }

@keyframes tileOrbit {
  0%, 100% { translate: 0 0; rotate: -7deg; }
  50% { translate: 0 -10px; rotate: 6deg; }
}

.object-swatches {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.object-swatches span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #a9c19f;
  box-shadow: inset -5px -6px 12px rgba(63, 80, 58, 0.14);
}

.object-swatches span:nth-child(2) { background: #dfe9da; }
.object-swatches span:nth-child(3) { background: #8fa780; }

.full-view {
  width: min(210px, 100%);
  min-height: 54px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: #050506;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.detail-copy {
  margin-top: 48px;
}

.detail-copy h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.detail-copy p {
  margin: 14px 0 0;
  color: #7d7d7d;
  font-size: 17px;
  line-height: 1.45;
}

.detail-buy {
  min-height: 72px;
  margin-top: 22px;
  padding: 10px 10px 10px 22px;
  border: 1px solid #edf0ea;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  gap: 12px;
}

.detail-buy strong {
  font-size: 28px;
}

.detail-buy a {
  min-height: 54px;
  border-radius: 16px;
  background: #a9bd9d;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.home-catalog,
.home-partners {
  max-width: 1180px;
  margin: 64px auto 0;
}

.section-head {
  display: grid;
  gap: 8px;
}

.section-head span,
.home-partners span {
  color: #4c5b45;
}

.section-head h2,
.home-partners h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
}

.home-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-card {
  min-height: 380px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 70px rgba(52, 68, 48, 0.13);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: translate 0.18s ease, box-shadow 0.18s ease;
}

.home-card:hover {
  translate: 0 -5px;
  box-shadow: 0 34px 84px rgba(52, 68, 48, 0.18);
}

.home-card span {
  color: #7b8b72;
}

.home-card__visual {
  height: 150px;
  margin: 16px 0;
  border-radius: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.home-card__visual i {
  width: 132px;
  height: 108px;
  border-radius: 26px;
  display: block;
  box-shadow: inset -8px -12px 22px rgba(16, 19, 26, 0.14), 0 16px 32px rgba(16, 19, 26, 0.12);
}

.home-card--mosaic .home-card__visual { background: #f0d17e; }
.home-card--litho .home-card__visual { background: #bdd4b5; }
.home-card--key .home-card__visual { background: #a6d6ee; }
.home-card--desk .home-card__visual { background: #ece8db; }

.home-card--mosaic .home-card__visual i {
  background:
    radial-gradient(circle at 52% 50%, #111 0 9%, #fff 10% 19%, transparent 20%),
    repeating-linear-gradient(90deg, #f8faf5 0 13px, #111 13px 26px, #b4bdad 26px 39px);
}

.home-card--litho .home-card__visual i {
  background:
    radial-gradient(circle at 50% 35%, #fff4c7 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 70%, #fff0a7 0 30%, transparent 31%),
    #f9f7e8;
}

.home-card--key .home-card__visual i {
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 28%, #91aec4 29% 42%, #111 43%);
}

.home-card--desk .home-card__visual i {
  background: linear-gradient(90deg, #111 0 20%, #f8faf5 21% 40%, #9eb38f 41% 62%, #d4c78e 63%);
}

.home-card strong {
  font-size: 21px;
  line-height: 1.15;
}

.home-card p {
  margin: 10px 0 0;
  color: #66705e;
  font-size: 14px;
  line-height: 1.42;
}

.home-card em {
  margin-top: auto;
  color: #10131a;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}

.home-partners {
  min-height: 260px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 36px;
  background: rgba(16, 19, 26, 0.9);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
}

.home-partners h2 {
  margin-top: 8px;
  color: #fff;
}

.home-partners p {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.5;
}

.home-partners a {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 18px;
  background: #b6c9aa;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .phone-showcase--detail {
    transform: none;
  }

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

  .home-partners {
    grid-template-columns: 1fr;
  }

  .home-hero--site {
    grid-template-columns: 1fr;
  }

  .hero-product-card {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .home-page {
    padding: 16px 12px 34px;
  }

  .home-nav {
    border-radius: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .home-nav nav {
    width: 100%;
    justify-content: space-between;
  }

  .home-nav nav a {
    padding: 0 10px;
  }

  .mlc-logo .brand-mark,
  .home-logo .brand-mark {
    width: 36px;
    height: 36px;
  }

  .home-hero-copy h1 {
    font-size: 44px;
  }

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

  .hero-product-card {
    padding: 16px;
    border-radius: 32px;
  }

  .hero-product-card__visual {
    min-height: 260px;
    border-radius: 24px;
  }

  .hero-product-card__body div {
    grid-template-columns: 1fr;
  }

  .phone-showcase {
    width: 100%;
    min-height: 0;
    padding: 20px;
    border-radius: 34px;
  }

  .discount-panel {
    min-height: 210px;
  }

  .float-product {
    width: 128px;
    height: 120px;
  }

  .phone-title {
    grid-template-columns: 1fr;
  }

  .phone-search {
    grid-column: auto;
    grid-row: auto;
    min-width: 100%;
    min-height: 54px;
  }

  .hero-object {
    height: 260px;
  }

  .hero-object::before {
    width: 218px;
    height: 218px;
  }

  .detail-buy {
    grid-template-columns: 1fr;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-card {
    min-height: 320px;
  }
}

.page {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(245, 247, 251, 0.88);
  border-bottom: 1px solid rgba(219, 226, 238, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 900;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 44%, var(--ink) 44% 56%, transparent 56%),
    linear-gradient(transparent 44%, var(--ink) 44% 56%, transparent 56%),
    linear-gradient(135deg, var(--accent-2), #ffffff 48%, var(--accent));
}

img.brand-mark {
  border: 0;
  border-radius: 0;
  background: transparent;
}

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

.nav a:hover {
  color: var(--ink);
}

.partner-top {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.market-hero {
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

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

.promo-pill {
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.promo-pill span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(34, 185, 143, 0.14);
}

.market-hero h1 {
  margin: 28px 0 0;
  max-width: 920px;
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 900;
}

.market-hero p {
  margin: 30px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.36;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action,
.drop,
.upload > button {
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.primary-action,
.upload > button {
  background: var(--ink);
  color: #fff;
}

.secondary-action,
.drop {
  background: transparent;
  color: var(--ink);
}

.hero-orbit {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(40, 87, 255, 0.18), transparent 28%),
    radial-gradient(circle at 74% 30%, rgba(255, 204, 51, 0.2), transparent 20%),
    linear-gradient(135deg, #ffffff, #eef3ff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.orbit-item {
  position: absolute;
  z-index: 2;
  width: 144px;
  height: 144px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
  animation: drift 6.2s ease-in-out infinite;
}

.orbit-item i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: block;
}

.orbit-item--one {
  left: 11%;
  top: 14%;
}

.orbit-item--one i {
  background:
    radial-gradient(circle at 52% 38%, var(--accent) 0 9px, transparent 10px),
    linear-gradient(var(--ink) 0 0) center 31px / 30px 5px no-repeat,
    #e6edff;
}

.orbit-item--two {
  right: 10%;
  top: 22%;
  animation-delay: -1.7s;
}

.orbit-item--two i {
  background:
    linear-gradient(135deg, transparent 33%, var(--ink) 34% 44%, transparent 45%),
    linear-gradient(45deg, transparent 33%, var(--accent) 34% 44%, transparent 45%),
    #dff8ef;
}

.orbit-item--three {
  right: 22%;
  bottom: 12%;
  animation-delay: -3.1s;
}

.orbit-item--three i {
  background:
    linear-gradient(var(--ink) 0 0) center 12px / 26px 5px no-repeat,
    linear-gradient(var(--ink) 0 0) center 23px / 34px 5px no-repeat,
    linear-gradient(var(--ink) 0 0) center 34px / 22px 5px no-repeat,
    #fff1b8;
}

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

.category-section,
.trend-section,
.partner-section,
.constructor {
  padding: clamp(56px, 7vw, 104px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.trend-section {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

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

.trend-grid div {
  min-height: 176px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trend-grid strong {
  font-size: 22px;
  line-height: 1.1;
}

.trend-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.section-head,
.constructor-head {
  max-width: 800px;
}

.section-head span,
.constructor-head span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head h2,
.constructor-head h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.constructor-head p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

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

.category-card {
  min-height: 286px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(17, 17, 17, 0.42);
  box-shadow: var(--shadow);
}

.category-card--soon {
  cursor: default;
  opacity: 0.72;
}

.category-card--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

.category-card strong {
  margin-top: 24px;
  font-size: 24px;
  line-height: 1.08;
}

.category-card small {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.category-card em {
  margin-top: auto;
  font-style: normal;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f6f8fc);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.icon i {
  width: 36px;
  height: 36px;
  display: block;
  animation: iconPulse 3.6s ease-in-out infinite;
}

.icon-mosaic i {
  background:
    linear-gradient(90deg, transparent 42%, var(--ink) 42% 58%, transparent 58%),
    linear-gradient(transparent 42%, var(--ink) 42% 58%, transparent 58%),
    linear-gradient(135deg, var(--accent-2), #ffffff 48%, var(--accent));
  border-radius: 10px;
}

.icon-litho i {
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 45%, var(--ink) 0 8px, transparent 9px),
    linear-gradient(90deg, #dff8ef, #fff3bf);
  box-shadow: inset 0 0 0 2px rgba(17, 17, 17, 0.12);
}

.icon-name i {
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: linear-gradient(var(--accent) 0 0) center / 20px 4px no-repeat;
}

.icon-kit i {
  border-radius: 10px;
  background:
    linear-gradient(var(--ink) 0 0) left 4px top 7px / 28px 4px no-repeat,
    linear-gradient(var(--ink) 0 0) left 4px top 16px / 20px 4px no-repeat,
    linear-gradient(var(--ink) 0 0) left 4px top 25px / 28px 4px no-repeat,
    #ffe4e8;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.08) rotate(2deg); }
}

.workflow {
  padding: 0 clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.workflow div {
  min-height: 210px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}

.workflow div:last-child {
  border-right: 0;
}

.workflow span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.workflow strong {
  display: block;
  margin-top: 26px;
  font-size: 22px;
}

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

.partner-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  background:
    radial-gradient(circle at 90% 16%, rgba(34, 185, 143, 0.13), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.42), transparent);
}

.partner-copy {
  max-width: 820px;
}

.partner-copy > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.partner-copy p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.partner-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.partner-panel {
  min-height: 430px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 204, 51, 0.22), transparent 26%),
    linear-gradient(145deg, #ffffff, #eef4ff);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.partner-stat strong {
  display: block;
  font-size: clamp(68px, 9vw, 116px);
  line-height: 0.9;
  letter-spacing: 0;
  color: var(--ink);
}

.partner-stat span {
  display: block;
  max-width: 420px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.partner-checks {
  display: grid;
  gap: 10px;
}

.partner-checks span {
  min-height: 42px;
  padding: 10px 12px 10px 38px;
  border: 1px solid rgba(219, 226, 238, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  position: relative;
}

.partner-checks span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--mint);
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(34, 185, 143, 0.12);
}

.builder {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(420px, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.builder-panel,
.preview-panel {
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.05);
}

.builder-panel {
  padding: clamp(20px, 3vw, 34px);
}

.preview-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, #ffffff 0, #edf3ff 54%, #dfe7f5 100%);
}

.upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 10px;
}

.drop,
.upload > button {
  width: 100%;
  min-height: 58px;
  border-radius: 14px;
  cursor: pointer;
}

.drop {
  position: relative;
  overflow: hidden;
}

.drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.drop span {
  pointer-events: none;
}

.upload > button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.progress {
  margin-top: 18px;
}

.progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.progress__track {
  margin-top: 10px;
  height: 7px;
  border-radius: 999px;
  background: var(--soft);
  overflow: hidden;
}

.progress__track span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--ink);
  transition: width 180ms ease;
}

.artifact-status {
  min-height: 34px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.artifact-status a {
  color: var(--ink);
  font-weight: 900;
  border-bottom: 1px solid var(--ink);
  margin-left: 10px;
}

.artifact-status .is-hidden {
  display: none;
}

.backend-status {
  min-height: 24px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.params {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.option-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.segmented {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(245, 247, 251, 0.86);
  overflow: hidden;
}

.segmented i {
  position: absolute;
  inset: 4px auto 4px 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 11px;
  background: var(--ink);
  transform: translateX(var(--x, 0%));
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}

.segmented button {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.segmented button.is-active {
  color: #fff;
}

.price-card {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.price-card__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  font-weight: 900;
  font-size: 18px;
}

.price-card__head small {
  max-width: 230px;
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.price-lines {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.price-lines div {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.price-lines strong {
  color: var(--ink);
  font-size: 15px;
}

.price-total {
  margin-top: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.price-total span {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.price-total strong {
  display: inline-block;
  min-width: 160px;
  text-align: right;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.92;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  transition: transform 180ms ease, opacity 180ms ease;
}

.price-total strong.is-up {
  transform: translateY(-6px);
}

.price-total strong.is-down {
  transform: translateY(6px);
}

#previewCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #aaa59b;
  font-size: clamp(42px, 8vw, 104px);
  font-weight: 900;
  pointer-events: none;
}

.product-placeholder {
  padding: 48px 28px 28px;
  color: #111827;
  text-align: center;
  align-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(238, 244, 255, 0.72), rgba(255, 255, 255, 0.72));
  font-size: 14px;
}

.product-placeholder .gallery-mosaic {
  width: min(72%, 330px);
  margin: 0 auto 8px;
}

.product-placeholder strong {
  font-size: 18px;
  line-height: 1.25;
}

.product-placeholder span {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.placeholder.is-hidden {
  display: none;
}

.custom-product-loader {
  z-index: 6;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 26px;
  background:
    radial-gradient(circle at 50% 38%, rgba(107, 77, 246, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(246, 248, 253, 0.94), rgba(232, 239, 248, 0.92));
  color: #111318;
}

.custom-product-loader__stage {
  position: relative;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  perspective: 520px;
}

.custom-product-loader__stage::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 999px;
  border: 1px solid rgba(107, 77, 246, 0.28);
  transform: rotateX(68deg);
  animation: custom-loader-orbit 1.8s ease-in-out infinite;
}

.custom-product-loader__stage i {
  position: relative;
  width: 56px;
  height: 56px;
  display: block;
  border-radius: 14px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.34) 22% 28%, transparent 33% 100%),
    linear-gradient(145deg, #6b4df6, #30a89f);
  box-shadow:
    0 18px 36px rgba(107, 77, 246, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: rotateX(58deg) rotateZ(45deg);
  animation: custom-loader-card 1.25s ease-in-out infinite;
}

.custom-product-loader__stage span {
  position: absolute;
  bottom: 22px;
  width: 82px;
  height: 14px;
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.10);
  filter: blur(6px);
  animation: custom-loader-shadow 1.25s ease-in-out infinite;
}

.custom-product-loader strong {
  max-width: 320px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.12;
  text-align: center;
}

.custom-product-loader > span {
  max-width: 300px;
  color: #667085;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.custom-product-loader__progress {
  width: min(260px, 72vw);
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.08);
  box-shadow: inset 0 1px 2px rgba(17, 19, 24, 0.08);
}

.custom-product-loader__progress b {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6b4df6, #30a89f);
  box-shadow: 0 0 18px rgba(107, 77, 246, 0.28);
  transform: scaleX(0.08);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.custom-product-loader small {
  color: #111318;
  font-size: 12px;
  font-weight: 950;
}

@keyframes custom-loader-card {
  0%, 100% {
    transform: translateY(0) rotateX(58deg) rotateZ(45deg) scale(1);
  }
  50% {
    transform: translateY(-10px) rotateX(58deg) rotateZ(60deg) scale(1.04);
  }
}

@keyframes custom-loader-shadow {
  0%, 100% {
    opacity: 0.36;
    transform: scale(1);
  }
  50% {
    opacity: 0.18;
    transform: scale(0.72);
  }
}

@keyframes custom-loader-orbit {
  0%, 100% {
    opacity: 0.55;
    transform: rotateX(68deg) rotateZ(0deg) scale(1);
  }
  50% {
    opacity: 0.9;
    transform: rotateX(68deg) rotateZ(180deg) scale(1.05);
  }
}

.debug-stages {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.debug-stages.is-visible {
  display: grid;
}

.debug-stages > div {
  padding: 18px;
  background: #edede8;
}

.debug-stages span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.debug-stages img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #121212;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.strip > div {
  padding: 26px clamp(24px, 3vw, 52px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
}

.strip > div:last-child {
  border-right: 0;
}

.metric {
  color: var(--ink);
  font-size: 32px;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .market-hero,
  .partner-section,
  .builder {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    min-height: 420px;
  }

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

  .workflow div:nth-child(2) {
    border-right: 0;
  }

  .workflow div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .topbar {
    height: 64px;
  }

  .nav {
    display: none;
  }

  .partner-top {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .market-hero,
  .category-section,
  .trend-section,
  .partner-section,
  .constructor {
    padding-left: 16px;
    padding-right: 16px;
  }

  .market-hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-actions,
  .partner-actions,
  .upload,
  .category-grid,
  .trend-grid,
  .workflow,
  .strip,
  .debug-stages {
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action,
  .partner-actions a {
    width: 100%;
  }

  .hero-orbit {
    min-height: 360px;
  }

  .orbit-item {
    width: 118px;
    height: 118px;
  }

  .orbit-core {
    width: 144px;
    height: 144px;
    border-radius: 34px;
  }

  .builder-panel,
  .preview-panel {
    min-height: 520px;
    border-radius: 18px;
  }

  .preview-panel {
    min-height: 420px;
  }

  .option-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-card__head,
  .price-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-card__head small,
  .price-total strong {
    text-align: left;
  }

  .workflow div,
  .strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Product page layout v2: stable visual / copy / checkout zones. */
.product-detail-body .product-page {
  min-height: 100vh;
}

.product-detail-body .product-nav {
  width: min(1720px, calc(100% - 56px));
  max-width: none;
  margin: 18px auto 22px;
}

.product-detail-shell {
  width: min(1720px, calc(100% - 56px));
  max-width: none;
  padding: 30px 0 76px;
}

.product-detail-grid {
  grid-template-columns: minmax(0, 1fr) clamp(390px, 24vw, 430px);
  gap: clamp(28px, 3vw, 44px);
}

.product-detail-left,
.product-hero-card,
.product-detail-body .product-gallery,
.product-copy-card {
  min-width: 0;
}

.product-hero-card {
  grid-template-columns: minmax(340px, 0.54fr) minmax(400px, 0.46fr);
  gap: clamp(28px, 3.4vw, 54px);
  align-items: stretch;
}

.product-detail-body .product-gallery {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.product-detail-body .gallery-main {
  min-height: 0;
  aspect-ratio: 1 / 0.82;
  height: auto;
}

.product-placeholder {
  padding: clamp(24px, 3vw, 42px);
}

.product-placeholder .gallery-mosaic {
  width: min(70%, 300px);
}

.product-copy-card {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-copy-card .product-info h1,
.product-copy-card h1 {
  max-width: 620px;
  font-size: clamp(34px, 3.15vw, 50px);
  line-height: 1.05;
}

.product-copy-card .product-summary {
  max-width: 590px;
  font-size: clamp(16px, 1.15vw, 19px);
}

.product-copy-card .benefit-row {
  max-width: 620px;
}

.product-purchase-card {
  max-width: 430px;
  justify-self: stretch;
}

.product-purchase-card .buy-card__top {
  align-items: flex-start;
}

.product-purchase-card .buy-card__top small {
  max-width: 160px;
}

.product-purchase-card .drop {
  min-height: 78px;
}

@media (max-width: 1320px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-purchase-card {
    max-width: none;
    position: static;
  }

  .product-purchase-card .product-order {
    grid-template-columns: minmax(220px, 0.62fr) minmax(320px, 1fr);
    align-items: start;
  }

  .product-purchase-card .drop {
    min-height: 168px;
  }
}

@media (max-width: 960px) {
  .product-detail-body .product-nav,
  .product-detail-shell {
    width: min(100% - 28px, 760px);
  }

  .product-hero-card {
    grid-template-columns: 1fr;
  }

  .product-detail-body .gallery-main {
    aspect-ratio: 1 / 0.86;
  }

  .product-copy-card {
    padding: 0;
  }

  .product-copy-card .product-info h1,
  .product-copy-card h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .product-purchase-card .product-order {
    grid-template-columns: 1fr;
  }

  .product-purchase-card .drop {
    min-height: 86px;
  }
}

@media (max-width: 620px) {
  .product-detail-body .product-nav,
  .product-detail-shell {
    width: min(100% - 20px, 560px);
  }

  .product-detail-body .product-nav nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .product-detail-body .product-nav nav a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .product-detail-shell {
    padding-top: 18px;
  }

  .product-hero-card,
  .product-purchase-card,
  .product-info-panels .details-card {
    border-radius: 24px;
  }

  .product-info-panels,
  .product-copy-card .benefit-row {
    grid-template-columns: 1fr;
  }

  .product-detail-body .model-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Product page marketplace skin: matches the main catalog visual system. */
.product-detail-body {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.22), transparent 18%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(135deg, #6b5de8, #8faee8 50%, #6b35dd);
}

.product-market-shell {
  width: min(1480px, calc(100% - 48px));
  min-height: auto;
  margin: 46px auto;
  padding: 30px 40px 40px;
  border-radius: 42px;
  background: #eef1f6;
  box-shadow: 0 40px 120px rgba(38, 25, 128, 0.34);
  color: #17191f;
}

.product-detail-body .product-nav {
  position: static;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.product-detail-body .home-logo {
  gap: 8px;
  color: #111318;
  font-size: 18px;
  font-weight: 900;
}

.product-detail-body .home-logo > span:not(.material-symbols-rounded) {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 44%, #eef1f6 44% 56%, transparent 56%),
    linear-gradient(transparent 44%, #eef1f6 44% 56%, transparent 56%),
    #111318;
}

.product-detail-body .home-nav nav {
  gap: 24px;
}

.product-detail-body .home-nav nav a {
  min-height: 40px;
  padding: 0;
  border-radius: 0;
  color: #292d35;
  font-size: 14px;
  font-weight: 900;
}

.product-detail-body .home-nav nav a:hover {
  background: transparent;
  color: #6b4df6;
}

.product-detail-shell {
  width: 100%;
  padding: 34px 0 0;
}

.product-detail-body .breadcrumbs {
  margin: 0 0 18px;
  color: #777d88;
  font-size: 13px;
  font-weight: 900;
}

.product-detail-grid {
  grid-template-columns: minmax(0, 1fr) clamp(380px, 25vw, 420px);
  gap: 22px;
}

.product-hero-card,
.product-purchase-card,
.product-info-panels .details-card,
.product-partners {
  border: 0;
  background: #fff;
  box-shadow: none;
}

.product-hero-card {
  border-radius: 28px;
  grid-template-columns: minmax(330px, 0.53fr) minmax(390px, 0.47fr);
  gap: clamp(28px, 3vw, 46px);
}

.product-detail-body .gallery-main {
  border-radius: 24px;
  background:
    radial-gradient(circle at 52% 74%, rgba(0, 0, 0, 0.1), transparent 18%),
    linear-gradient(135deg, #f3f4f6, #e0e4e8);
}

.preview-actions {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.preview-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #17191f;
  box-shadow: 0 10px 24px rgba(31, 35, 45, 0.12);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.preview-actions button:hover {
  color: #6b4df6;
}

.preview-actions button:disabled {
  opacity: 0.72;
  cursor: default;
}

.preview-actions button.is-hidden {
  display: none;
}

.preview-main:fullscreen,
.preview-main.is-fallback-fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border-radius: 0;
  background:
    radial-gradient(circle at 52% 74%, rgba(0, 0, 0, 0.16), transparent 18%),
    linear-gradient(135deg, #f3f4f6, #dce2eb);
}

.preview-main.is-fallback-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.preview-main:fullscreen .preview-actions,
.preview-main.is-fallback-fullscreen .preview-actions {
  right: 22px;
  top: 22px;
}

.preview-main:fullscreen canvas,
.preview-main.is-fallback-fullscreen canvas {
  width: 100vw;
  height: 100vh;
}

.product-detail-body .sale-badge {
  background: #6b4df6;
  color: #fff;
}

.product-placeholder {
  background: transparent;
}

.product-detail-body .model-spec-grid div,
.product-copy-card .benefit-row div,
.product-info-panels .delivery-grid span,
.product-purchase-card .order-card,
.product-purchase-card .delivery-fields,
.product-purchase-card .order-summary div {
  background: #f7f8fb;
}

.product-detail-body .model-spec-grid div {
  border-radius: 18px;
}

.product-copy-card .product-meta {
  color: #777d88;
}

.product-copy-card .rating,
.rating {
  color: #ff9f0a;
}

.product-copy-card .product-info h1,
.product-copy-card h1 {
  color: #17191f;
  font-family: var(--font-display);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.product-copy-card .product-summary {
  color: #555c69;
}

.product-info-panels {
  gap: 22px;
}

.product-info-panels .details-card {
  border-radius: 24px;
}

.product-info-panels .details-card h2 {
  color: #17191f;
}

.product-info-panels .details-card li,
.product-info-panels .delivery-grid span {
  color: #697181;
  font-weight: 700;
}

.product-purchase-card {
  border-radius: 28px;
}

.product-purchase-card .stock {
  color: #18a765;
}

.product-purchase-card .buy-price strong {
  color: #17191f;
}

.product-purchase-card .drop {
  border: 2px solid #111318;
  background: #fff;
}

.product-purchase-card .segmented {
  background: #f1edff;
}

.product-purchase-card .segmented button {
  color: #222631;
}

.product-purchase-card .segmented button.is-active {
  background: #6b4df6;
  color: #fff;
}

.product-purchase-card .price-lines.compact {
  border-color: #dde2ec;
}

.product-purchase-card .product-order > button,
.product-purchase-card .order-card > button {
  border: 0;
  background: #6b4df6;
  color: #fff;
  box-shadow: 0 16px 36px rgba(107, 77, 246, 0.28);
}

.product-purchase-card .product-order > button:hover,
.product-purchase-card .order-card > button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(107, 77, 246, 0.32);
}

.product-purchase-card .progress__track {
  background: #dde2ec;
}

.product-purchase-card .progress__track span {
  background: linear-gradient(90deg, #6b4df6, #8a42ec);
}

.product-purchase-card .delivery-fields input,
.product-purchase-card .delivery-fields select {
  background: #fff;
  border-color: #dde2ec;
}

.product-purchase-card .market-trust span::before {
  background: #6b4df6;
}

.product-purchase-card .artifact-status a {
  color: #6b4df6;
}

.product-partners {
  width: 100%;
  max-width: none;
  margin: 22px 0 0;
  border-radius: 28px;
}

/* Universal configurator layout: preview-first creation workspace. */
.configurator-page {
  padding-top: 28px;
}

.configurator-page .breadcrumbs {
  margin-bottom: 20px;
}

.configurator-intro {
  max-width: none;
  margin: 0 0 20px;
}

.configurator-intro span,
.creation-lower > article > span {
  display: block;
  margin-bottom: 10px;
  color: #6b4df6;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.configurator-intro h1 {
  margin: 0;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 58px);
  line-height: 0.96;
  letter-spacing: 0;
}

.configurator-intro p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #5c6471;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.35;
}

.product-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-proof-row span {
  min-height: 38px;
  margin: 0;
  padding: 0 13px;
  border-radius: 999px;
  background: #fff;
  color: #5d6675;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.product-proof-row strong {
  color: #111318;
}

.configurator-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(360px, 0.68fr);
  gap: clamp(22px, 2.4vw, 36px);
  align-items: start;
}

.creation-preview-panel {
  min-width: 0;
}

.creation-preview-canvas {
  position: relative;
  min-height: clamp(540px, 66vh, 720px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 52% 72%, rgba(16, 19, 26, 0.15), transparent 20%),
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.92), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(31, 157, 143, 0.18), transparent 34%),
    linear-gradient(135deg, #f4f6fb, #dfe5ec 54%, #d3e4df);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.preview-scene-badge {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 4;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(28, 35, 51, 0.12);
  backdrop-filter: blur(16px);
}

.preview-scene-badge span {
  display: block;
  margin: 0 0 4px;
  color: #6b4df6;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-scene-badge strong {
  color: #111318;
  font-size: 14px;
  line-height: 1.15;
}

.creation-placeholder strong {
  max-width: 420px;
  margin-inline: auto;
  font-family: var(--font-ui);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.08;
}

.creation-placeholder span {
  max-width: 360px;
  margin-inline: auto;
  color: #667082;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.creation-placeholder .gallery-mosaic {
  width: min(58%, 290px);
}

.configurator-panel {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 13px;
  padding: 22px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
}

.configurator-panel__head span {
  color: #6b4df6;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.configurator-panel__head h2 {
  margin: 0 0 8px;
  color: #111318;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.05;
}

.configurator-panel__head p {
  display: none;
  margin: 0;
  color: #687182;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

.configurator-form {
  gap: 10px;
}

.flow-step {
  display: grid;
  gap: 8px;
}

.flow-step__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111318;
}

.flow-step__title span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1edff;
  color: #6b4df6;
  display: grid;
  place-items: center;
  font-weight: 950;
}

.flow-step__title strong {
  font-size: 16px;
  font-weight: 950;
}

.flow-step__title--preview {
  padding-top: 2px;
}

.configurator-panel .drop {
  min-height: 62px;
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #6b4df6, #b693ff) border-box;
  border: 2px solid transparent;
  font-size: 17px;
}

.configurator-panel .params {
  gap: 6px;
}

.configurator-panel .option-row {
  grid-template-columns: 1fr;
  gap: 5px;
}

.configurator-panel .option-row > span {
  color: #6a7280;
  font-size: 13px;
  font-weight: 950;
}

.configurator-panel .segmented {
  min-height: auto;
  padding: 4px;
  border-radius: 18px;
  background: #f0f2f7;
  border: 0;
}

.configurator-panel .segmented i {
  inset: 4px auto 4px 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 14px;
  background: #6b4df6;
  box-shadow: 0 10px 26px rgba(107, 77, 246, 0.28);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.configurator-panel .segmented--named,
.configurator-panel .segmented--technical {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.configurator-panel .segmented--named button,
.configurator-panel .segmented--technical button {
  min-height: 38px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 8px 6px;
  border-radius: 16px;
}

.configurator-panel .segmented button.is-active,
.product-purchase-card .segmented button.is-active {
  background: transparent;
  color: #fff;
}

.segmented--named button strong {
  display: block;
  font-size: 13px;
  font-weight: 950;
}

.segmented--named button small {
  display: block;
  color: inherit;
  font-size: 11px;
  font-weight: 850;
  opacity: 0.72;
}

.configurator-summary {
  display: grid;
  gap: 6px;
  padding-top: 2px;
}

.configurator-summary > div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.configurator-summary span {
  color: #6a7280;
  font-weight: 850;
}

.configurator-summary strong {
  color: #111318;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 0.95;
  white-space: nowrap;
  flex-shrink: 0;
}

.configurator-summary button {
  min-height: 52px;
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: #6b4df6;
  color: #fff;
  box-shadow: 0 16px 36px rgba(107, 77, 246, 0.28);
  font-size: 17px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.configurator-summary button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(107, 77, 246, 0.32);
}

.configurator-summary button:disabled {
  opacity: 0.68;
  cursor: progress;
  transform: none;
}

.configurator-note {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 850;
}

.is-advanced-price {
  display: none;
}

.advanced-config {
  border-top: 1px solid #e6eaf1;
  padding-top: 14px;
}

.advanced-config summary {
  cursor: pointer;
  color: #596273;
  font-size: 14px;
  font-weight: 950;
}

.advanced-config__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.advanced-config__grid span {
  padding: 12px;
  border-radius: 14px;
  background: #f7f8fb;
  color: #667082;
  font-size: 12px;
  font-weight: 850;
}

.advanced-config__grid strong {
  display: block;
  color: #111318;
  font-size: 14px;
}

.creation-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.order-details-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.order-details-strip details {
  padding: 20px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.order-details-strip summary {
  cursor: pointer;
  color: #111318;
  font-size: 16px;
  font-weight: 950;
}

.order-details-strip p {
  margin: 12px 0 0;
  color: #667082;
  font-weight: 760;
  line-height: 1.5;
}

.custom-product-detail .product-proof-row,
.custom-product-detail .preview-scene-badge,
.custom-product-detail .order-details-strip,
.custom-product-detail .product-nav nav a[href="#details"] {
  display: none !important;
}

.generator-light-toggle {
  position: absolute;
  left: 20px;
  right: auto;
  top: auto;
  bottom: 20px;
  z-index: 5;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111318;
  box-shadow: 0 18px 46px rgba(27, 35, 55, 0.16);
  backdrop-filter: blur(16px);
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.preview-main.is-generator-light-enabled {
  background:
    radial-gradient(circle at 52% 42%, rgba(126, 93, 255, 0.34), transparent 36%),
    radial-gradient(circle at 22% 18%, rgba(47, 212, 255, 0.13), transparent 30%),
    linear-gradient(145deg, #090817 0%, #17102f 54%, #2c1755 100%);
  box-shadow:
    inset 0 0 0 1px rgba(203, 192, 255, 0.14),
    0 26px 70px rgba(17, 12, 46, 0.22);
}

.generator-light-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 54px rgba(27, 35, 55, 0.2);
}

.is-generator-light-enabled .generator-light-toggle {
  background: rgba(17, 13, 35, 0.88);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(196, 183, 255, 0.18),
    0 18px 46px rgba(63, 38, 145, 0.34);
}

.preview-main:fullscreen .generator-light-toggle,
.preview-main.is-fallback-fullscreen .generator-light-toggle {
  left: 22px;
  bottom: 22px;
}

@media (max-width: 720px) {
  .generator-light-toggle {
    left: 12px;
    bottom: 12px;
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }
}

.order-status-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: 18px;
  margin-top: 18px;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 16%, rgba(107, 77, 246, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.93);
}

.order-status-panel__copy {
  align-self: center;
}

.order-status-panel__copy span {
  display: block;
  margin-bottom: 10px;
  color: #6b4df6;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.order-status-panel__copy h2 {
  margin: 0;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1.06;
}

.order-status-panel__copy p {
  max-width: 540px;
  margin: 14px 0 0;
  color: #667082;
  font-size: 15px;
  line-height: 1.48;
  font-weight: 760;
}

.order-status-panel__timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.order-status-panel__timeline article {
  min-height: 190px;
  padding: 18px;
  border: 1px solid #e6eaf1;
  border-radius: 20px;
  background: #f7f8fb;
}

.order-status-panel__timeline strong {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #6b4df6;
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
}

.order-status-panel__timeline span {
  display: block;
  margin-top: 16px;
  color: #111318;
  font-size: 17px;
  line-height: 1.12;
  font-weight: 950;
}

.order-status-panel__timeline p {
  margin: 9px 0 0;
  color: #667082;
  font-size: 13px;
  line-height: 1.42;
  font-weight: 760;
}

.quality-gates-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  margin-top: 18px;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 199, 95, 0.18), transparent 30%),
    linear-gradient(135deg, #111318, #222a35);
  color: #fff;
}

.quality-gates-panel__head {
  align-self: center;
}

.quality-gates-panel__head span {
  display: block;
  margin-bottom: 10px;
  color: #ffd66b;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.quality-gates-panel__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.7vw, 38px);
  line-height: 1.06;
}

.quality-gates-panel__head p {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.48;
  font-weight: 780;
}

.quality-gates-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quality-gates-panel__grid article {
  min-height: 212px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.quality-gates-panel__grid strong {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 214, 107, 0.16);
  color: #ffd66b;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 950;
}

.quality-gates-panel__grid span {
  display: block;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
}

.quality-gates-panel__grid p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 750;
}

.print-profile-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: 18px;
  margin-top: 18px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(107, 77, 246, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.92);
}

.print-profile-panel > div:first-child {
  align-self: center;
}

.print-profile-panel span {
  display: block;
  margin-bottom: 10px;
  color: #6b4df6;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.print-profile-panel h2 {
  margin: 0;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.print-profile-panel dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.print-profile-panel dl div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid #e6eaf1;
  border-radius: 18px;
  background: #f7f8fb;
}

.print-profile-panel dt {
  color: #6b7280;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.print-profile-panel dd {
  margin: 10px 0 0;
  color: #111318;
  font-size: 16px;
  line-height: 1.18;
  font-weight: 950;
}

.production-handoff {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  margin-top: 18px;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 12%, rgba(31, 157, 143, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 248, 252, 0.9));
}

.production-handoff__copy {
  align-self: center;
}

.production-handoff__copy span {
  display: block;
  margin-bottom: 10px;
  color: #1f9d8f;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.production-handoff__copy h2 {
  margin: 0;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.production-handoff__copy p {
  max-width: 520px;
  margin: 14px 0 0;
  color: #667082;
  font-weight: 760;
  line-height: 1.5;
}

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

.production-handoff__list article {
  padding: 18px;
  border: 1px solid #e6eaf1;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
}

.production-handoff__list strong {
  display: inline-grid;
  min-width: 42px;
  height: 30px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #111318;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.production-handoff__list span {
  display: block;
  color: #111318;
  font-size: 17px;
  font-weight: 950;
}

.production-handoff__list p {
  margin: 8px 0 0;
  color: #667082;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

.model-rights-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: 18px;
  margin-top: 18px;
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #17191f, #28303b);
  color: #fff;
  box-shadow: 0 24px 60px rgba(17, 19, 24, 0.16);
}

.model-rights-panel__copy {
  align-self: center;
}

.model-rights-panel__copy span {
  display: block;
  margin-bottom: 10px;
  color: #9ee7d8;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.model-rights-panel__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.model-rights-panel__copy p {
  max-width: 540px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 760;
  line-height: 1.5;
}

.model-rights-panel__checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.model-rights-panel__checks article {
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.model-rights-panel__checks strong {
  display: inline-flex;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  align-items: center;
  background: rgba(158, 231, 216, 0.16);
  color: #9ee7d8;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.model-rights-panel__checks p {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

.production-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.production-proof article {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
}

.production-proof span {
  display: block;
  margin-bottom: 10px;
  color: #1f9d8f;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.production-proof h2 {
  margin: 0;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
}

.production-proof p {
  margin: 12px 0 0;
  color: #667082;
  font-weight: 760;
  line-height: 1.48;
}

.product-faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: 18px;
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
}

.product-faq__head {
  align-self: start;
  position: sticky;
  top: 24px;
}

.product-faq__head span {
  display: block;
  margin-bottom: 10px;
  color: #6b4df6;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-faq__head h2 {
  margin: 0;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.product-faq__list {
  display: grid;
  gap: 10px;
}

.product-faq details {
  padding: 18px 20px;
  border-radius: 20px;
  background: #f6f7fb;
}

.product-faq summary {
  cursor: pointer;
  color: #111318;
  font-size: 17px;
  font-weight: 950;
}

.product-faq p {
  margin: 12px 0 0;
  color: #667082;
  font-weight: 760;
  line-height: 1.48;
}

.creation-lower > article,
.creation-lower > details {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
}

.creation-lower h2 {
  max-width: 620px;
  margin: 0 0 20px;
  color: #111318;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.08;
}

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

.creation-steps div {
  padding: 16px;
  border-radius: 18px;
  background: #f5f6fa;
}

.creation-steps strong {
  color: #6b4df6;
  font-size: 28px;
}

.creation-steps p {
  margin: 8px 0 0;
  color: #596273;
  font-weight: 800;
}

.example-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  gap: 12px;
}

.example-gallery div {
  min-height: 210px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 48% 35%, rgba(255, 255, 255, 0.8), transparent 18%),
    repeating-linear-gradient(100deg, #111318 0 11px, #747e8f 12px 24px, #f8fafc 25px 36px);
}

.example-gallery div:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(107, 77, 246, 0.65), transparent),
    repeating-linear-gradient(82deg, #111318 0 8px, #f8fafc 9px 18px);
}

.example-gallery div:nth-child(3) {
  background:
    radial-gradient(circle at 55% 45%, #111318 0 18%, transparent 19%),
    repeating-linear-gradient(110deg, #8992a0 0 12px, #f8fafc 13px 24px);
}

.creation-lower details {
  grid-column: span 1;
}

.creation-lower summary {
  cursor: pointer;
  color: #111318;
  font-size: 18px;
  font-weight: 950;
}

.creation-lower details p {
  margin: 14px 0 0;
  color: #667082;
  font-weight: 760;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 28px;
  align-items: start;
  margin-top: 28px;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  color: #111318;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #111318;
  font-size: 18px;
  font-weight: 950;
}

.site-footer p {
  max-width: 360px;
  margin: 0 0 16px;
  color: #5d6675;
  font-weight: 750;
}

.site-footer span {
  color: #828999;
  font-size: 13px;
  font-weight: 800;
}

.site-footer__legal {
  display: block;
  max-width: 460px;
  margin-top: 12px;
  color: #667082;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.site-footer__legal a {
  color: inherit;
  font-weight: 850;
}

.site-footer nav {
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: #111318;
  font-weight: 900;
}

.site-footer nav a {
  color: #5d6675;
}

.site-footer nav a:hover {
  color: #6b4df6;
}

.legal-shell {
  max-width: 1180px;
}

.legal-card {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 54px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  color: #111318;
  box-shadow: 0 24px 70px rgba(20, 24, 38, 0.08);
}

.legal-card h1,
.legal-card h2 {
  margin: 0;
  color: #111318;
}

.legal-card h1 {
  max-width: 860px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

.legal-card h2 {
  margin-top: 30px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.1;
}

.legal-card p {
  max-width: 920px;
  margin: 12px 0 0;
  color: #3f4654;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.62;
}

.legal-card .legal-subtitle {
  margin-top: 10px;
  color: #667082;
  font-size: 18px;
  font-weight: 800;
}

.legal-card .legal-requisite {
  margin-top: 8px;
}

.legal-card .legal-requisite strong {
  color: #111318;
}

@media (max-width: 1320px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .configurator-workspace {
    grid-template-columns: 1fr;
  }

  .configurator-panel {
    position: static;
  }
}

@media (max-width: 960px) {
  .product-market-shell {
    width: min(100% - 28px, 760px);
    margin: 18px auto;
    padding: 22px;
    border-radius: 32px;
  }

  .product-detail-body .product-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .product-detail-body .home-nav nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .product-hero-card {
    grid-template-columns: 1fr;
  }

  .creation-lower,
  .order-details-strip,
  .order-status-panel,
  .quality-gates-panel,
  .print-profile-panel,
  .production-proof,
  .production-handoff,
  .model-rights-panel,
  .readiness-panel,
  .product-faq,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-faq__head {
    position: static;
  }
}

@media (max-width: 620px) {
  .product-detail-body {
    overflow-x: hidden;
  }

  .product-market-shell {
    width: calc(100vw - 48px);
    max-width: 560px;
    padding: 18px;
    border-radius: 28px;
    overflow: hidden;
  }

  .product-detail-body .product-nav,
  .product-detail-shell {
    width: 100%;
  }

  .product-detail-body .home-nav nav {
    gap: 8px 14px;
  }

  .product-hero-card,
  .product-purchase-card,
  .product-info-panels .details-card,
  .product-partners {
    width: 100%;
    border-radius: 22px;
  }

  .product-copy-card .product-info h1,
  .product-copy-card h1 {
    max-width: 100%;
    font-size: clamp(28px, 7.2vw, 34px);
  }

  .configurator-intro h1 {
    max-width: 100%;
    font-size: clamp(30px, 9.4vw, 40px);
    line-height: 1;
  }

  .configurator-intro p {
    max-width: 100%;
    font-size: 17px;
  }

  .creation-preview-canvas {
    min-height: 430px;
    border-radius: 24px;
  }

  .product-proof-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-proof-row span {
    width: 100%;
    justify-content: flex-start;
  }

  .preview-scene-badge {
    left: 14px;
    top: 14px;
    max-width: calc(100% - 120px);
    padding: 10px 12px;
  }

  .preview-actions {
    display: none;
  }

  .preview-actions button {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .creation-placeholder strong {
    max-width: 88%;
    font-size: clamp(20px, 6vw, 24px);
  }

  .creation-placeholder span {
    max-width: 86%;
    font-size: 14px;
  }

  .creation-steps,
  .example-gallery,
  .advanced-config__grid,
  .order-status-panel__timeline,
  .quality-gates-panel__grid,
  .print-profile-panel dl,
  .production-handoff__list,
  .model-rights-panel__checks,
  .product-faq {
    grid-template-columns: 1fr;
  }

  .print-profile-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .order-status-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .order-status-panel__copy h2 {
    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.08;
    overflow-wrap: normal;
    hyphens: auto;
  }

  .order-status-panel__timeline article {
    min-height: 0;
  }

  .quality-gates-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .quality-gates-panel__head h2 {
    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.08;
    overflow-wrap: normal;
    hyphens: auto;
  }

  .quality-gates-panel__grid article {
    min-height: 0;
  }

  .print-profile-panel h2 {
    font-size: clamp(24px, 7.2vw, 29px);
    overflow-wrap: anywhere;
  }

  .print-profile-panel dl div {
    min-height: 0;
  }

  .production-handoff {
    padding: 22px;
    border-radius: 24px;
  }

  .production-handoff__copy h2 {
    max-width: 100%;
    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .model-rights-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .model-rights-panel__copy h2 {
    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .model-rights-panel__checks article {
    min-height: 0;
  }

  .readiness-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .readiness-panel__copy h2 {
    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .readiness-board__status {
    align-items: flex-start;
    flex-direction: column;
  }

  .readiness-board__status strong {
    text-align: left;
  }

  .readiness-board__grid {
    grid-template-columns: 1fr;
  }

  .readiness-board__grid article {
    min-height: 0;
  }

  .model-rights-panel__checks p {
    margin-top: 18px;
  }

  .product-faq {
    padding: 22px;
    border-radius: 24px;
  }

.product-faq__head h2 {
  font-size: clamp(25px, 8vw, 31px);
}

  .configurator-panel {
    width: 100%;
    min-width: 0;
    padding: 20px;
    border-radius: 26px;
  }

  .configurator-panel .drop,
  .configurator-summary button,
  .product-purchase-card .order-card > button,
  .product-purchase-card .delivery-fields input,
  .product-purchase-card .delivery-fields select {
    width: 100%;
    max-width: 100%;
  }

  .configurator-panel .segmented--named button,
  .configurator-panel .segmented--technical button {
    min-height: 56px;
  }

  .segmented--named button strong {
    font-size: 12px;
  }
}

@media (min-width: 681px) {
  .market-home-body .marketplace-hero {
    min-height: 220px;
    margin-top: 18px;
    padding: clamp(22px, 2.8vw, 38px);
    border-radius: 28px;
  }

  .market-home-body .marketplace-hero h1 {
    max-width: 680px;
    margin-top: 6px;
    font-size: clamp(32px, 3.1vw, 48px);
    line-height: 1.03;
  }

  .market-home-body .marketplace-hero p {
    max-width: 600px;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.36;
  }

  .market-home-body .hero-actions {
    margin-top: 16px;
    gap: 10px;
  }

  .market-home-body .hero-actions a {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .market-home-body .marketplace-hero > .hero-model-orbit {
    width: min(36%, 520px);
  }
}

@media (max-width: 680px) {
  .market-home-body .marketplace-hero {
    min-height: 210px;
    padding: 16px;
  }

  .market-home-body .marketplace-hero h1 {
    max-width: 78%;
    font-size: clamp(24px, 8vw, 30px);
    line-height: 1;
  }

  .market-home-body .marketplace-hero p {
    max-width: 78%;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.25;
  }

  .market-home-body .hero-actions {
    max-width: 78%;
    margin-top: 10px;
  }
}

.market-home-body .marketplace-top {
  grid-template-columns: auto 1fr;
  margin-bottom: 0;
}

.market-home-body .marketplace-actions--top {
  justify-content: flex-end;
  gap: 10px;
}

.market-home-body .marketplace-actions--top a,
.market-home-body .marketplace-actions--top .telegram-login-button {
  min-height: 42px;
  padding: 0 16px;
}

.market-home-body .marketplace-hero {
  min-height: 178px;
}

.market-home-body .marketplace-hero h1 {
  max-width: 620px;
  font-size: clamp(30px, 3vw, 44px);
}

.market-home-body .marketplace-hero p {
  max-width: 520px;
}

.market-home-body .marketplace-hero .hero-actions {
  display: none;
}

.market-home-body .category-pills {
  margin-top: 16px;
}

.market-home-body .partner-cta {
  background:
    radial-gradient(circle at 88% 24%, rgba(255, 255, 255, 0.36), transparent 24%),
    radial-gradient(circle at 12% 86%, rgba(29, 215, 159, 0.34), transparent 28%),
    linear-gradient(135deg, #3522a5 0%, #6b4df6 50%, #1f9d8f 100%);
  border: 0;
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(80, 73, 208, 0.25);
}

.market-home-body .partner-cta span {
  color: rgba(255, 255, 255, 0.72);
}

.market-home-body .partner-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.home-body.partner-page-body {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.22), transparent 18%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(135deg, #6b5de8, #8faee8 50%, #6b35dd);
}

.partner-page {
  width: min(1480px, calc(100% - 48px));
  margin: 46px auto;
  padding: 30px 40px 40px;
  border-radius: 40px;
  background: #eef2f7;
  color: #111318;
}

.partner-page-top .mlc-logo,
.partner-page-top .marketplace-actions a {
  color: #111318;
}

.partner-hero {
  min-height: 340px;
  margin-top: 20px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.48), transparent 24%),
    radial-gradient(circle at 10% 90%, rgba(29, 215, 159, 0.38), transparent 28%),
    linear-gradient(135deg, #3522a5 0%, #6b4df6 48%, #1f9d8f 100%);
  color: #ffffff;
}

.partner-hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 68px);
}

.partner-hero p,
.partner-hero ul {
  color: rgba(255, 255, 255, 0.78);
}

.partner-hero aside {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.partner-concept article,
.partner-application,
.partner-split {
  border: 0;
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(21, 24, 33, 0.1);
}

.partner-split .partner-checklist {
  background:
    radial-gradient(circle at 84% 14%, rgba(107, 77, 246, 0.16), transparent 30%),
    #f6f7ff;
}

@media (max-width: 680px) {
  .market-home-body .marketplace-hero {
    min-height: 132px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 22px;
  }

  .market-home-body .marketplace-hero span {
    max-width: 68%;
    font-size: 9px;
  }

  .market-home-body .marketplace-hero h1 {
    max-width: 68%;
    margin-top: 4px;
    font-size: clamp(20px, 6.1vw, 25px);
    line-height: 1.02;
  }

  .market-home-body .marketplace-hero p {
    max-width: 65%;
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.22;
  }

  .market-home-body .marketplace-hero > .hero-model-orbit {
    width: 40%;
  }

  .market-home-body .marketplace-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
  }

  .market-home-body .marketplace-actions--top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    width: auto;
    gap: 6px;
    position: absolute;
    top: 50%;
    right: max(0px, calc(100% - 342px));
    transform: translateY(-50%);
  }

  .market-home-body .mlc-logo {
    min-width: 0;
  }

  .market-home-body .marketplace-actions--top a,
  .market-home-body .marketplace-actions--top .telegram-login-button {
    width: 42px;
    min-width: 42px;
    min-height: 38px;
    padding: 0;
    font-size: 0;
  }

  .market-home-body .marketplace-actions--top a .material-symbols-rounded,
  .market-home-body .marketplace-actions--top .telegram-login-button .material-symbols-rounded {
    font-size: 18px;
  }

  .market-home-body .marketplace-actions--top .telegram-login-button strong {
    display: none;
  }

  .market-home-body .partner-cta {
    width: 100%;
    padding: 20px;
    border-radius: 22px;
  }

  .partner-page {
    width: calc(100vw - 48px);
    margin: 18px auto;
    padding: 16px;
    border-radius: 24px;
  }

  .partner-hero {
    min-height: 0;
    padding: 22px;
    border-radius: 22px;
  }

  .partner-hero h1 {
    font-size: clamp(28px, 8vw, 34px);
  }
}

.market-product-card--nfc .market-product-visual {
  background:
    radial-gradient(circle at 78% 18%, rgba(107, 77, 246, 0.18), transparent 28%),
    radial-gradient(circle at 8% 96%, rgba(31, 157, 143, 0.16), transparent 30%),
    linear-gradient(135deg, #eef2f7, #f8fafc);
}

.nfc-preview-canvas {
  min-height: 560px;
  background:
    radial-gradient(circle at 74% 20%, rgba(107, 77, 246, 0.18), transparent 26%),
    radial-gradient(circle at 18% 84%, rgba(31, 157, 143, 0.16), transparent 28%),
    linear-gradient(135deg, #f8fafc, #e8eef7);
}

.nfc-configurator-intro {
  max-width: 820px;
}

.nfc-live-preview {
  width: min(78%, 560px);
  min-height: 380px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.nfc-live-preview--three {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.nfc-live-preview--three canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

.nfc-live-preview--three canvas:active {
  cursor: grabbing;
}

.nfc-preview-hint {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  max-width: min(280px, calc(100% - 44px));
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(14px);
}

.nfc-preview-hint span,
.nfc-preview-hint small {
  display: block;
  color: #111318;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nfc-preview-hint span {
  font-size: 18px;
  font-weight: 950;
}

.nfc-preview-hint small {
  margin-top: 4px;
  color: #667082;
  font-size: 12px;
  font-weight: 850;
}

.nfc-tag-preview {
  --nfc-primary: #111318;
  --nfc-accent: #6b4df6;
  position: relative;
  width: 330px;
  min-height: 186px;
  padding: 42px 34px;
  border-radius: 54px;
  background: var(--nfc-primary);
  color: #fff;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  box-shadow: 0 40px 90px rgba(17, 19, 24, 0.24);
  transform: rotateX(58deg) rotateZ(-11deg);
}

.nfc-tag-preview::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 13px solid var(--nfc-accent);
  border-radius: inherit;
  opacity: 0.92;
}

.nfc-tag-preview::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--nfc-accent);
}

.nfc-tag-preview--round {
  width: 270px;
  min-height: 270px;
  border-radius: 50%;
}

.nfc-tag-preview--table {
  width: 380px;
  min-height: 210px;
  border-radius: 30px;
}

.nfc-tag-preview--mono span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.nfc-tag-preview--display span {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.nfc-tag-preview span,
.nfc-tag-preview small {
  position: relative;
  z-index: 1;
}

.nfc-tag-preview span {
  max-width: 88%;
  overflow-wrap: anywhere;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1;
  font-weight: 950;
}

.nfc-tag-preview small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 850;
}

.nfc-order-form select,
.nfc-order-form textarea,
.nfc-param-row input[type="text"],
.nfc-order-card input,
.nfc-order-card textarea {
  width: 100%;
  border: 1px solid #dde2ec;
  border-radius: 14px;
  background: #fff;
  color: #111318;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.nfc-order-form select {
  min-height: 46px;
  padding: 0 12px;
}

.nfc-param-row input[type="text"],
.nfc-order-card input {
  min-height: 46px;
  padding: 0 12px;
}

.nfc-order-form textarea,
.nfc-order-card textarea {
  resize: vertical;
  padding: 12px;
}

.nfc-param-row {
  align-items: center;
  margin: 0;
}

.nfc-param-row > span {
  margin: 0;
}

.nfc-param-row select,
.nfc-param-row input {
  max-width: 100%;
}

.nfc-param-row input[type="color"] {
  height: 46px;
  padding: 5px;
}

.nfc-swatch-row {
  align-items: start;
}

.nfc-swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nfc-swatch {
  width: 36px;
  height: 36px;
  border: 2px solid #e3e7ef;
  border-radius: 50%;
  background:
    linear-gradient(var(--swatch), var(--swatch)) padding-box,
    linear-gradient(135deg, #ffffff, #dbe1eb) border-box;
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.08);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.nfc-swatch.is-active {
  border-color: #6b4df6;
  box-shadow: 0 0 0 4px rgba(107, 77, 246, 0.16), inset 0 0 0 1px rgba(17, 19, 24, 0.08);
  transform: translateY(-1px);
}

.nfc-order-form .segmented--technical button {
  min-height: 42px;
  padding-inline: 10px;
  font-size: 13px;
  line-height: 1.05;
}

.nfc-order-card {
  display: grid;
  margin-top: 18px;
}

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

.nfc-color-grid input[type="color"] {
  width: 100%;
  height: 48px;
  padding: 5px;
  border: 1px solid #dde2ec;
  border-radius: 14px;
  background: #fff;
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.26), transparent 22%),
    linear-gradient(135deg, #6b5de8, #8faee8 48%, #1f9d8f);
}

.admin-page {
  width: min(1480px, calc(100% - 48px));
  margin: 46px auto;
  padding: 30px 40px 40px;
  border-radius: 40px;
  background: #eef2f7;
  color: #111318;
}

.admin-top {
  grid-template-columns: auto 1fr;
}

.admin-auth-panel {
  width: 100%;
  margin: 20px 0 0;
}

.admin-hero {
  margin: 24px 0;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.38), transparent 24%),
    linear-gradient(135deg, #3522a5, #6b4df6 52%, #1f9d8f);
  color: #fff;
}

.admin-hero span,
.admin-panel__head span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-hero h1 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.96;
}

.admin-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 780;
  line-height: 1.5;
}

.admin-locked,
.admin-panel,
.admin-stats article {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(17, 24, 39, 0.08);
}

.admin-locked {
  padding: 26px;
}

.admin-locked strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.admin-dashboard {
  display: grid;
  gap: 18px;
}

.admin-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(107, 77, 246, 0.08);
}

.admin-section-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  background: transparent;
  color: #4b5563;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.admin-section-tabs button.is-active {
  background: #111318;
  color: #fff;
  box-shadow: 0 14px 32px rgba(17, 19, 24, 0.14);
}

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

.admin-stats article {
  padding: 20px;
}

.admin-stats span {
  color: #667082;
  font-weight: 850;
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  color: #111318;
  font-size: 30px;
  line-height: 1;
}

.admin-panel {
  padding: 24px;
  overflow: hidden;
}

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

.admin-panel__head span {
  color: #6b4df6;
}

.admin-panel h2 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
}

.admin-panel-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  padding: 0 14px;
  background: #111318;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}

.admin-panel-action .material-symbols-rounded {
  font-size: 20px;
}

.admin-table {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.admin-row {
  min-width: 760px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.8fr 1fr;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f7fb;
  color: #4b5563;
  font-size: 13px;
  font-weight: 780;
}

.admin-row:first-child {
  background: #111318;
  color: #fff;
  font-weight: 950;
}

.admin-orders-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(340px, 1.08fr);
  gap: 16px;
  align-items: start;
}

.admin-orders-list {
  display: grid;
  gap: 10px;
  max-height: min(680px, 68vh);
  overflow: auto;
  padding-right: 4px;
}

.admin-order-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: 18px;
  background: #f6f7fb;
  color: #111318;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(107, 77, 246, 0.06);
}

.admin-order-card:hover,
.admin-order-card.is-active {
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(107, 77, 246, 0.22), 0 14px 38px rgba(17, 19, 24, 0.08);
}

.admin-order-card__id {
  grid-column: 1 / -1;
  color: #6b4df6;
  font-size: 12px;
  font-weight: 950;
}

.admin-order-card strong {
  font-size: 17px;
  font-weight: 950;
}

.admin-order-card small,
.admin-order-card time {
  color: #667082;
  font-size: 12px;
  font-weight: 800;
}

.admin-order-card b {
  justify-self: end;
  color: #ff2aa1;
  font-size: 18px;
  font-weight: 950;
}

.admin-order-card em {
  justify-self: end;
  align-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef2f7;
  color: #667082;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
}

.admin-order-card em.is-paid {
  background: rgba(31, 157, 143, 0.12);
  color: #0d8b7e;
}

.admin-order-detail {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  background: #f6f7fb;
  box-shadow: inset 0 0 0 1px rgba(107, 77, 246, 0.06);
}

.admin-order-detail > strong {
  font-size: 22px;
  font-weight: 950;
}

.admin-order-detail > p {
  margin: 0;
  color: #667082;
  font-weight: 760;
  line-height: 1.45;
}

.admin-order-detail__head span {
  display: block;
  color: #6b4df6;
  font-size: 12px;
  font-weight: 950;
}

.admin-order-detail__head strong {
  display: block;
  margin-top: 4px;
  color: #111318;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.admin-order-detail dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.admin-order-detail dl div,
.admin-order-detail section {
  padding: 12px;
  border-radius: 16px;
  background: #fff;
}

.admin-order-detail dt {
  color: #667082;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-order-detail dd {
  margin: 4px 0 0;
  color: #111318;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-order-detail h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.admin-order-detail pre {
  max-height: 220px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  color: #4b5563;
  font-size: 12px;
  font-weight: 760;
}

.admin-order-detail__link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #111318;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}

.admin-product-create {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.admin-product-create label,
.admin-contract-group label {
  display: grid;
  gap: 7px;
  color: #667082;
  font-size: 12px;
  font-weight: 950;
}

.admin-product-create input,
.admin-contract-group input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dde2ec;
  border-radius: 14px;
  padding: 0 13px;
  background: #fff;
  color: #111318;
  font: inherit;
  font-weight: 850;
}

.admin-product-create input[type="file"] {
  padding: 10px;
  min-height: 52px;
  background: #f7f8fb;
}

.admin-product-create button,
.admin-contract-save {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: #111318;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.admin-product-create button {
  grid-column: span 3;
}

.admin-validation-report {
  margin-top: 14px;
}

.admin-product-page .admin-locked {
  margin-top: 18px;
}

.admin-product-workspace {
  display: grid;
  gap: 18px;
}

.admin-product-editor-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #111318, #6047f2 58%, #1f9d8f);
  color: #fff;
  box-shadow: 0 18px 52px rgba(17, 24, 39, 0.12);
}

.admin-product-editor-hero span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-product-editor-hero h1 {
  margin: 7px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
}

.admin-product-editor-hero p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.admin-product-editor-hero .admin-status {
  min-width: 220px;
  color: rgba(255, 255, 255, 0.82);
  text-align: right;
}

.admin-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.admin-product-layout--preview {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.admin-product-template-panel {
  display: grid;
  gap: 14px;
}

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

.admin-product-template-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid #dde2ec;
  border-radius: 20px;
  background: #f7f8fb;
  color: #667082;
  cursor: pointer;
}

.admin-product-template-card input {
  position: absolute;
  inset: 16px 16px auto auto;
}

.admin-product-template-card strong {
  max-width: calc(100% - 42px);
  color: #111318;
  font-size: 18px;
  font-weight: 950;
}

.admin-product-template-card span {
  max-width: 720px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-product-template-card.is-active {
  border-color: rgba(107, 77, 246, 0.62);
  background:
    radial-gradient(circle at 88% 8%, rgba(107, 77, 246, 0.16), transparent 34%),
    #fff;
  box-shadow: 0 16px 34px rgba(107, 77, 246, 0.12);
}

.admin-template-note {
  margin: 0;
  color: #667082;
  font-size: 13px;
  font-weight: 850;
}

.admin-contract-guide {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(107, 77, 246, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(107, 77, 246, 0.08), rgba(31, 157, 143, 0.08)),
    #fbfcff;
}

.admin-contract-guide[hidden] {
  display: none;
}

.admin-contract-guide__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-contract-guide__head strong {
  color: #111318;
  font-size: 16px;
  font-weight: 950;
}

.admin-contract-guide__head span,
.admin-contract-guide p,
.admin-contract-guide li span {
  color: #667082;
  font-size: 12px;
  font-weight: 850;
}

.admin-contract-guide p {
  margin: 0;
  line-height: 1.45;
}

.admin-contract-guide ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-contract-guide li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #111318;
  font-size: 13px;
  font-weight: 900;
}

.admin-contract-guide__artifact {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(31, 157, 143, 0.12);
}

.admin-contract-guide__starters {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(107, 77, 246, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.admin-contract-guide__starters > span {
  color: #667082;
  font-size: 12px;
  font-weight: 900;
}

.admin-contract-guide__starters > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-contract-guide__starters button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(107, 77, 246, 0.22);
  border-radius: 10px;
  background: #fff;
  color: #111318;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-contract-guide__starters button:hover {
  border-color: #6b4df6;
  color: #6b4df6;
}

.admin-contract-guide__starters .material-symbols-rounded {
  font-size: 17px;
}

.admin-contract-guide pre {
  max-height: 220px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  border-radius: 14px;
  background: #111318;
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.45;
}

.admin-product-card-form,
.admin-model-upload-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-model-guide {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(107, 77, 246, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(107, 77, 246, 0.1), rgba(31, 157, 143, 0.08)),
    #f8f9ff;
  color: #232634;
}

.admin-model-guide strong {
  display: block;
  color: #111318;
  font-size: 16px;
  font-weight: 950;
}

.admin-model-guide p {
  margin: 5px 0 0;
  color: #667082;
  font-size: 13px;
  line-height: 1.45;
}

.admin-model-guide code {
  display: block;
  overflow-x: auto;
  white-space: pre;
  padding: 12px;
  border-radius: 14px;
  background: #111318;
  color: #eaf7ff;
  font: 800 12px/1.5 "SFMono-Regular", Consolas, monospace;
}

.admin-model-guide ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-model-guide li {
  position: relative;
  padding-left: 18px;
  color: #667082;
  font-size: 13px;
  line-height: 1.45;
}

.admin-model-guide li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6b4df6, #1f9d8f);
}

.admin-model-guide b {
  color: #111318;
  font-weight: 950;
}

.admin-product-card-form label,
.admin-model-upload-form label {
  display: grid;
  gap: 7px;
  color: #667082;
  font-size: 12px;
  font-weight: 950;
}

.admin-product-card-form .is-wide,
.admin-generator-upload-form .is-wide {
  grid-column: 1 / -1;
}

.admin-product-card-form input,
.admin-product-card-form textarea,
.admin-product-card-form select,
.admin-generator-upload-form input:not([type="file"]),
.admin-generator-upload-form textarea {
  width: 100%;
  border: 1px solid #dde2ec;
  border-radius: 14px;
  background: #fff;
  color: #111318;
  font: inherit;
  font-weight: 850;
}

.admin-product-card-form input,
.admin-product-card-form select,
.admin-generator-upload-form input:not([type="file"]) {
  min-height: 46px;
  padding: 0 13px;
}

.admin-product-card-form textarea,
.admin-generator-upload-form textarea {
  resize: vertical;
  min-height: 112px;
  padding: 12px 13px;
  line-height: 1.45;
}

.admin-product-card-form button,
.admin-model-upload-form button,
.admin-render-preview-button {
  grid-column: 1 / -1;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: #111318;
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.admin-render-preview-button {
  grid-column: auto;
  width: auto;
  min-height: 42px;
  padding: 0 16px;
  background: #6b4df6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(107, 77, 246, 0.24);
}

.admin-render-preview-button:disabled {
  cursor: progress;
  opacity: 0.62;
}

.admin-product-visible {
  align-self: end;
  min-height: 46px;
}

.admin-file-drop {
  min-height: 154px;
  align-content: center;
  justify-items: center;
  padding: 18px;
  border: 1px dashed #bfc8d8;
  border-radius: 18px;
  background:
    radial-gradient(circle at 22% 18%, rgba(107, 77, 246, 0.12), transparent 32%),
    #f7f8fb;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.admin-file-drop:hover {
  border-color: #6b4df6;
  transform: translateY(-1px);
  background:
    radial-gradient(circle at 22% 18%, rgba(107, 77, 246, 0.18), transparent 34%),
    #fff;
}

.admin-file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-file-drop .material-symbols-rounded {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #111318;
  color: #fff;
  font-size: 24px;
}

.admin-file-drop strong {
  margin-top: 8px;
  color: #111318;
  font-size: 16px;
  font-weight: 950;
}

.admin-file-drop small {
  max-width: 280px;
  color: #667082;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.admin-model-viewer {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #e9edf5, #f8fbff);
}

.admin-model-viewer canvas {
  width: 100%;
  height: 470px;
  display: block;
}

.admin-model-viewer-empty {
  position: absolute;
  inset: auto 18px 18px;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #4b5563;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.admin-scale-legend {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  gap: 3px;
  max-width: min(240px, calc(100% - 36px));
  padding: 10px 12px;
  border: 1px solid rgba(107, 77, 246, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: #111318;
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.admin-scale-legend strong {
  color: #111318;
  font-size: 13px;
  font-weight: 950;
}

.admin-scale-legend span {
  color: #667082;
  font-weight: 850;
}

.admin-model-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #e2e7f0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(107, 77, 246, 0.08), rgba(31, 157, 143, 0.06)),
    #f8faff;
}

.admin-model-metrics > strong {
  grid-column: 1 / -1;
  color: #111318;
  font-size: 16px;
  font-weight: 950;
}

.admin-model-metrics > span {
  grid-column: 1 / -1;
  color: #667082;
  font-size: 13px;
  font-weight: 850;
}

.admin-model-metrics div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
}

.admin-model-metrics div span {
  color: #667082;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-model-metrics div b {
  min-width: 0;
  color: #111318;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-model-tree {
  max-height: 520px;
  overflow: auto;
  display: grid;
  gap: 14px;
}

.admin-model-tree h3 {
  margin: 0 0 8px;
  color: #6b4df6;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-model-tree ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-model-tree li {
  display: grid;
  gap: 3px;
  margin-left: calc(var(--depth, 0) * 14px);
  padding: 9px 10px;
  border-radius: 12px;
  background: #f7f8fb;
  color: #111318;
  font-size: 12px;
  font-weight: 900;
}

.admin-model-tree li span {
  color: #667082;
  font-weight: 800;
}

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

.admin-product-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e7ebf2;
  border-radius: 18px;
  background: #f7f8fb;
}

.admin-product-item .admin-contract-editor {
  grid-column: 1 / -1;
}

.admin-product-thumb {
  width: 112px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: #e8edf5;
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.04);
}

.admin-product-main {
  min-width: 0;
}

.admin-product-main strong,
.admin-product-main span,
.admin-product-main small {
  display: block;
}

.admin-product-main strong {
  color: #111318;
  font-size: 17px;
  font-weight: 950;
}

.admin-product-main span {
  margin-top: 5px;
  color: #667082;
  font-size: 13px;
  font-weight: 820;
}

.admin-product-main small {
  min-height: 18px;
  margin-top: 8px;
  color: #6b4df6;
  font-size: 12px;
  font-weight: 900;
}

.admin-product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.admin-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dde2ec;
  border-radius: 14px;
  background: #fff;
  color: #111318;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.admin-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-switch span {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #cfd6e4;
  padding: 3px;
  transition: background 0.18s ease;
}

.admin-switch span::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.18);
  transition: transform 0.18s ease;
}

.admin-switch input:checked + span {
  background: linear-gradient(135deg, #6b4df6, #1f9d8f);
}

.admin-switch input:checked + span::before {
  transform: translateX(18px);
}

.admin-preview-upload,
.admin-preview-reset {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.admin-preview-upload {
  display: inline-flex;
  align-items: center;
  background: #111318;
  color: #fff;
}

.admin-preview-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-preview-reset {
  background: #efeaff;
  color: #6b4df6;
}

.admin-contract-editor {
  border-top: 1px solid #e7ebf2;
  padding-top: 12px;
}

.admin-contract-validation {
  display: grid;
  gap: 7px;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #eefaf6;
  color: #155e52;
  font-size: 13px;
  font-weight: 850;
}

.admin-contract-validation.is-error {
  background: #fff0f4;
  color: #a1113b;
}

.admin-contract-validation strong {
  color: inherit;
  font-size: 15px;
  font-weight: 950;
}

.admin-contract-validation span {
  color: inherit;
}

.admin-contract-validation ul {
  margin: 0;
  padding-left: 18px;
}

.admin-generator-source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.admin-generator-source-actions button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.92);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.admin-generator-source-viewer {
  margin-top: 8px;
  padding: 12px;
  border-radius: 16px;
  background: #111318;
  color: #f7f8fb;
}

.admin-generator-source-viewer summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
}

.admin-generator-source-viewer pre {
  max-height: 420px;
  overflow: auto;
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 12px;
  background: #07080b;
  color: #e9ecf4;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre;
}

.admin-contract-editor details {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e7ebf2;
  padding: 12px;
}

.admin-contract-editor summary {
  cursor: pointer;
  color: #111318;
  font-weight: 950;
}

.admin-contract-section {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.admin-contract-section h3 {
  margin: 0;
  color: #111318;
  font-size: 15px;
  font-weight: 950;
}

.admin-contract-group {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: #f7f8fb;
}

.admin-variant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.admin-default-variant {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: #6b4df6;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-default-variant input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #6b4df6;
}

.admin-contract-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-contract-colors label {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #dde2ec;
  border-radius: 999px;
  background: #fff;
  color: #111318;
  font-size: 12px;
  font-weight: 900;
}

.admin-contract-colors label.is-checked {
  border-color: rgba(107, 77, 246, 0.34);
  background: #f2efff;
  box-shadow: 0 10px 24px rgba(107, 77, 246, 0.08);
}

.admin-contract-colors i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(17, 19, 24, 0.14);
  background: var(--swatch);
}

.admin-material-editor {
  display: grid;
  gap: 10px;
}

.admin-material-card-preview {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e4e8f2;
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #ffffff, #f3f5fb);
}

.admin-material-card-preview__sample {
  position: relative;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.13), transparent 52%),
    var(--petg, #d8dde2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -12px 20px rgba(0, 0, 0, 0.12),
    0 12px 28px rgba(17, 19, 24, 0.12);
}

.admin-material-card-preview__sample::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.18) 0,
      rgba(255, 255, 255, 0.18) 1px,
      rgba(0, 0, 0, 0.16) 2px,
      rgba(0, 0, 0, 0.16) 3px,
      transparent 4px,
      transparent 7px
    );
  mix-blend-mode: overlay;
  opacity: 0.72;
}

.admin-material-card-preview__sample::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 16px;
  top: 11px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  filter: blur(1px);
}

.admin-material-card-preview__sample i {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.admin-material-card-preview__body {
  min-width: 0;
}

.admin-material-card-preview__body > span {
  display: block;
  color: #6b4df6;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-material-card-preview__body strong {
  display: block;
  margin-top: 4px;
  color: #111318;
  font-size: 18px;
  line-height: 1.12;
}

.admin-material-card-preview__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.admin-material-card-preview__swatches label {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid transparent;
  cursor: pointer;
}

.admin-material-card-preview__swatches label.is-active {
  border-color: #111318;
  background: #fff;
}

.admin-material-card-preview__swatches input,
.admin-contract-colors input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-material-card-preview__swatches i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.14);
}

.admin-material-card-preview__swatches em {
  color: #9aa3b2;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.admin-contract-save {
  margin-top: 14px;
}

.admin-contract-save:disabled {
  cursor: not-allowed;
  background: #dfe4ee;
  color: #6f7787;
}

.admin-generator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

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

.admin-generator-form label {
  display: grid;
  gap: 7px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-generator-form .is-wide {
  grid-column: 1 / -1;
}

.admin-generator-form input,
.admin-generator-form select,
.admin-generator-form textarea {
  width: 100%;
  border: 1px solid #d9dfeb;
  border-radius: 14px;
  background: #f8f9fc;
  color: #111318;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 14px;
  text-transform: none;
}

.admin-generator-form textarea {
  min-height: 84px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.admin-generator-form button,
.admin-generator-item button {
  border: 0;
  border-radius: 14px;
  background: #111318;
  color: #fff;
  font: inherit;
  font-weight: 950;
  padding: 12px 16px;
  cursor: pointer;
}

.admin-generator-list {
  display: grid;
  gap: 10px;
}

.admin-generator-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #f7f8fb;
}

.admin-generator-item strong,
.admin-generator-item span,
.admin-generator-item small {
  display: block;
}

.admin-generator-item strong {
  color: #111318;
  font-size: 18px;
  font-weight: 950;
}

.admin-generator-item span,
.admin-generator-item small {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.admin-generator-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-generator-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  color: #6b4df6;
}

.admin-payment-form {
  display: grid;
}

.admin-payment-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid #e3e8f2;
  border-radius: 22px;
  background: #f7f8fb;
}

.admin-payment-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-payment-card__head span {
  color: #6b4df6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-payment-card__head h3 {
  margin: 4px 0 0;
  color: #111318;
  font-size: 28px;
  line-height: 1;
}

.admin-payment-card__head strong {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff3f3;
  color: #d92d20;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.admin-payment-card__head strong.is-ok {
  background: #e8fff3;
  color: #008a51;
}

.admin-payment-grid,
.admin-payment-urls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-payment-grid label,
.admin-payment-urls label {
  display: grid;
  gap: 7px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 900;
}

.admin-payment-grid span,
.admin-payment-urls span {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.admin-payment-urls b {
  padding: 3px 7px;
  border-radius: 999px;
  background: #6b4df6;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.admin-payment-grid input,
.admin-payment-urls input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d9dfeb;
  border-radius: 14px;
  background: #fff;
  color: #111318;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  padding: 0 13px;
}

.admin-payment-grid input[readonly],
.admin-payment-urls input[readonly] {
  background: #eef2f8;
  color: #556070;
}

.admin-payment-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-payment-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
  color: #111318;
  font-size: 13px;
  font-weight: 900;
}

.admin-payment-toggles input {
  width: 18px;
  height: 18px;
  accent-color: #6b4df6;
}

.admin-payment-hint {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.admin-payment-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-payment-actions button {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: #111318;
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.admin-payment-actions button:disabled {
  cursor: not-allowed;
  background: #dfe4ee;
  color: #6f7787;
}

@media (max-width: 760px) {
  .admin-generator-grid,
  .admin-generator-form,
  .admin-payment-grid,
  .admin-payment-urls {
    grid-template-columns: 1fr;
  }

  .admin-payment-card__head {
    display: grid;
  }
}

.admin-add-form {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

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

.admin-color-editor {
  display: grid;
  gap: 10px;
}

.admin-color-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 52px minmax(100px, 0.62fr) 42px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e6eaf1;
  border-radius: 16px;
  background: #f7f8fb;
}

.admin-add-form input {
  min-height: 46px;
  flex: 1;
  border: 1px solid #dde2ec;
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
}

.admin-color-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dde2ec;
  border-radius: 12px;
  background: #fff;
  color: #111318;
  font: inherit;
  font-weight: 850;
}

.admin-color-row__name,
.admin-color-row__hex {
  padding: 0 12px;
}

.admin-color-row__picker {
  padding: 4px;
  cursor: pointer;
}

.admin-color-row__remove {
  width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #eef1f6;
  color: #596273;
  cursor: pointer;
}

.admin-color-row__remove .material-symbols-rounded {
  font-size: 20px;
}

.admin-color-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.admin-add-form button {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: #111318;
  color: #fff;
  font-weight: 950;
}

.admin-color-form button {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: #111318;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.admin-color-form .admin-secondary-button {
  border: 1px solid #dde2ec;
  background: #fff;
  color: #111318;
}

.admin-color-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.admin-color-preview span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 999px;
  background: #f3f5f9;
  color: #111318;
  font-size: 13px;
  font-weight: 900;
}

.admin-color-preview i {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(17, 19, 24, 0.15);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.admin-color-preview small {
  color: #667082;
  font-size: 11px;
  font-weight: 850;
}

.admin-admins {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-admins span {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: #efeaff;
  color: #6b4df6;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 900;
}

.admin-status {
  min-height: 22px;
  color: #667082;
  font-weight: 800;
}

@media (max-width: 760px) {
  .admin-product-editor-hero {
    display: grid;
    padding: 20px;
  }

  .admin-product-editor-hero .admin-status {
    min-width: 0;
    text-align: left;
  }

  .admin-product-layout,
  .admin-product-layout--preview {
    grid-template-columns: 1fr;
  }

  .admin-product-template-grid {
    grid-template-columns: 1fr;
  }

  .admin-product-card-form,
  .admin-model-upload-form {
    grid-template-columns: 1fr;
  }

  .admin-model-viewer,
  .admin-model-viewer canvas {
    min-height: 340px;
    height: 340px;
  }

  .admin-model-metrics {
    grid-template-columns: 1fr;
  }

  .admin-product-create {
    grid-template-columns: 1fr;
  }

  .admin-product-create button {
    grid-column: auto;
  }

  .admin-product-item {
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: start;
  }

  .admin-product-thumb {
    width: 84px;
  }

  .admin-product-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .admin-switch,
  .admin-preview-upload,
  .admin-preview-reset {
    justify-content: center;
    flex: 1 1 150px;
  }

  .admin-color-row {
    grid-template-columns: minmax(0, 1fr) 50px 42px;
  }

  .admin-color-row__hex {
    grid-column: 1 / -1;
  }

  .admin-color-row__remove {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .admin-color-actions {
    display: grid;
  }

  .nfc-configurator-intro h1 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .nfc-configurator-intro p {
    max-width: 100%;
    font-size: 15px;
  }

  .nfc-live-preview {
    min-height: 300px;
  }

  .nfc-preview-hint {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

  .nfc-tag-preview,
  .nfc-tag-preview--table {
    width: 230px;
    min-height: 150px;
    padding: 30px 22px;
    border-radius: 34px;
  }

  .nfc-tag-preview--round {
    width: 210px;
    min-height: 210px;
  }

  .nfc-tag-preview span {
    font-size: 28px;
  }

  .nfc-color-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-page {
    width: calc(100vw - 48px);
    margin: 18px auto;
    padding: 16px;
    border-radius: 24px;
  }

  .admin-hero,
  .admin-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .admin-orders-layout,
  .admin-order-detail dl {
    grid-template-columns: 1fr;
  }

  .admin-order-detail {
    position: static;
  }
}

/* Final minimal mobile overrides. Keep this at the end of the stylesheet. */
@media (max-width: 680px) {
  .market-home-shell {
    width: calc(100vw - 20px);
    margin: 10px auto;
    padding: 12px;
    border-radius: 24px;
  }

  .market-home-body .marketplace-top {
    min-height: 44px;
  }

  .market-home-body .marketplace-actions--top {
    gap: 8px;
  }

  .market-home-body .marketplace-actions--top a,
  .market-home-body .marketplace-actions--top .telegram-login-button {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 18px;
  }

  .market-home-body .marketplace-hero {
    min-height: 126px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .market-home-body .marketplace-hero span {
    max-width: 62%;
    margin: 0;
    font-size: 8px;
  }

  .market-home-body .marketplace-hero h1 {
    max-width: 62%;
    margin-top: 4px;
    font-size: clamp(21px, 6.4vw, 27px);
    line-height: 1.02;
  }

  .market-home-body .marketplace-hero p {
    max-width: 61%;
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.2;
  }

  .market-home-body .marketplace-hero > .hero-model-orbit {
    width: 44%;
  }

  .market-home-body .category-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 12px -12px 0;
    padding: 0 12px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .market-home-body .category-pills::-webkit-scrollbar {
    display: none;
  }

  .market-home-body .category-pills a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .market-home-body .catalog-section > span {
    margin-top: 16px;
    font-size: 10px;
  }

  .market-home-body .catalog-section h2 {
    max-width: 92%;
    margin-top: 12px;
    font-size: clamp(31px, 10.8vw, 43px);
    line-height: 0.94;
  }

  .market-home-body .catalog-section > p,
  .market-home-body [data-catalog-summary] {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.25;
  }

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

  .market-product-card {
    max-width: none;
    min-height: 228px;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(37, 43, 60, 0.08);
  }

  .market-product-visual {
    height: 128px;
    min-height: 128px;
    border-radius: 0 0 16px 16px;
  }

  .market-product-card .fav-icon {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }

  .market-discount {
    left: 9px;
    bottom: 9px;
    min-height: 23px;
    padding: 0 8px;
    font-size: 9px;
  }

  .market-cart-fab,
  .market-maker,
  .market-rating,
  .market-product-info p,
  .market-product-cta {
    display: none;
  }

  .market-product-info {
    min-height: 100px;
    padding: 11px 11px 12px;
  }

  .market-product-info h3 {
    min-height: 34px;
    font-size: 13px;
    line-height: 1.18;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .market-product-bottom {
    margin-top: 8px;
    display: block;
  }

  .market-product-info strong {
    font-size: 18px;
  }

  .market-product-card--feature {
    min-height: 190px;
    padding: 18px;
  }

  .market-product-card--feature p {
    display: none;
  }

  .market-home-body .partner-cta {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
  }

  .market-home-body .partner-cta h2 {
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1;
  }

  .market-home-body .site-footer {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
  }
}

@media (max-width: 620px) {
  .custom-product-detail .product-market-shell {
    width: calc(100vw - 20px);
    margin: 10px auto;
    padding: 14px;
    border-radius: 24px;
  }

  .custom-product-detail .product-nav {
    min-height: 42px;
    margin-bottom: 10px;
    padding: 0;
  }

  .custom-product-detail .product-nav nav {
    display: none;
  }

  .custom-product-detail .breadcrumbs,
  .custom-product-detail .configurator-intro,
  .custom-product-detail .product-proof-row,
  .custom-product-detail .preview-scene-badge,
  .custom-product-detail .preview-actions,
  .custom-product-detail .configurator-note {
    display: none;
  }

  .custom-product-detail .product-detail-shell {
    padding: 0 0 18px;
  }

  .custom-product-detail .configurator-workspace {
    gap: 0;
  }

  .custom-product-detail .creation-preview-canvas {
    min-height: min(64vh, 480px);
    border-radius: 28px;
  }

  .custom-product-detail #previewCanvas {
    position: relative;
    left: -22%;
    width: 144%;
    max-width: none;
  }

  .custom-product-detail .configurator-panel {
    position: relative;
    z-index: 5;
    margin: -34px 8px 0;
    padding: 18px;
    border-radius: 26px;
    box-shadow: 0 -14px 40px rgba(31, 35, 45, 0.08);
  }

  .custom-product-detail .configurator-panel__head h2 {
    margin-bottom: 6px;
    font-size: 26px;
    line-height: 1.04;
  }

  .custom-product-detail .configurator-panel__head p {
    display: block;
    font-size: 13px;
    line-height: 1.34;
  }

  .custom-product-control {
    margin-top: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .custom-product-control strong {
    font-size: 30px;
  }

  .custom-product-row {
    padding: 12px;
    border-radius: 18px;
  }

  .custom-product-order {
    min-height: 52px;
    margin-top: 12px;
    border-radius: 18px;
  }

  .custom-product-detail .order-details-strip {
    display: grid;
    gap: 10px;
    margin-top: 14px;
  }

  .custom-product-detail .order-details-strip details {
    border-radius: 20px;
  }

  .custom-product-detail .site-footer {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
  }
}
/* Account page */
.account-shell {
  gap: 22px;
}

.account-hero,
.account-card {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 80px rgba(26, 36, 54, 0.08);
}

.account-hero {
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 43, 174, 0.18), transparent 28%),
    linear-gradient(135deg, #4427bf 0%, #6b4df6 48%, #1f9d8f 100%);
  color: #fff;
}

.account-hero span,
.account-card > span,
.account-card__head span {
  display: block;
  margin-bottom: 8px;
  color: #6b4df6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-hero span {
  color: rgba(255, 255, 255, 0.78);
}

.account-hero h1,
.account-card h2 {
  margin: 0;
  color: inherit;
  font-weight: 950;
  letter-spacing: 0;
}

.account-hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.88;
}

.account-hero p,
.account-card p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.45;
}

.account-card p {
  color: #667085;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.account-card {
  padding: clamp(22px, 4vw, 34px);
  color: #10131a;
}

.account-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.account-card__head small {
  border-radius: 999px;
  padding: 8px 12px;
  background: #eef3fb;
  color: #667085;
  font-weight: 900;
}

.account-address-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.account-address-list > p {
  margin: 0;
  color: #667085;
}

.account-address-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #f3f6fb;
}

.account-address-item strong,
.account-address-item span,
.account-address-item small {
  display: block;
}

.account-address-item strong {
  font-size: 16px;
  font-weight: 950;
}

.account-address-item span,
.account-address-item small {
  color: #667085;
  font-weight: 800;
}

.account-address-item b {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 10px;
  background: #eafdf5;
  color: #009a67;
  font-size: 12px;
}

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

.account-address-form label {
  display: grid;
  gap: 7px;
}

.account-address-form label span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-address-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dfe6f2;
  border-radius: 16px;
  padding: 0 14px;
  background: #f8fafd;
  color: #10131a;
  font: inherit;
  font-weight: 800;
}

.account-address-form button {
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background: #10131a;
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.account-address-form small {
  min-height: 18px;
  color: #667085;
  font-weight: 850;
}

.account-orders-card {
  min-height: 220px;
}

.account-order-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.account-order-list > p {
  margin: 0;
  color: #667085;
  font-weight: 800;
}

.account-order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(107, 77, 246, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(107, 77, 246, 0.08), transparent 34%),
    #f7f9fd;
}

.account-order-main,
.account-order-meta {
  display: grid;
  gap: 5px;
}

.account-order-main strong {
  color: #10131a;
  font-size: 18px;
  font-weight: 950;
}

.account-order-main span,
.account-order-main small,
.account-order-meta span,
.account-order-meta small {
  color: #667085;
  font-size: 13px;
  font-weight: 850;
}

.account-order-meta {
  justify-items: end;
  text-align: right;
}

.account-order-meta b {
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff3d6;
  color: #9a6400;
  font-size: 12px;
  font-weight: 950;
}

.account-order-meta b[data-paid="true"] {
  background: #eafdf5;
  color: #009a67;
}

.account-order-meta strong {
  color: #ff2bae;
  font-size: 18px;
  font-weight: 950;
}

/* Payment result page */
.payment-result-body {
  min-height: 100vh;
}

.payment-result-shell {
  gap: 20px;
}

.payment-result-hero,
.payment-result-card {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 90px rgba(26, 36, 54, 0.09);
}

.payment-result-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  padding: clamp(26px, 5vw, 56px);
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 43, 174, 0.24), transparent 30%),
    linear-gradient(135deg, #4427bf 0%, #6b4df6 50%, #1f9d8f 100%);
  color: #fff;
}

.payment-result-hero[data-payment-state="success"] {
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #172033 0%, #6b4df6 48%, #12ad89 100%);
}

.payment-result-hero[data-payment-state="fail"] {
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #1b1d29 0%, #5a2fd6 54%, #ff2bae 100%);
}

.payment-result-icon {
  display: grid;
  place-items: center;
  width: clamp(72px, 11vw, 112px);
  aspect-ratio: 1;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.payment-result-icon .material-symbols-rounded {
  color: #fff;
  font-size: clamp(40px, 7vw, 66px);
}

.payment-result-hero span,
.payment-result-card > span,
.payment-result-card-head span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payment-result-card > span,
.payment-result-card-head span {
  color: #6b4df6;
}

.payment-result-hero h1 {
  margin: 0;
  max-width: 860px;
  color: #fff;
  font-size: clamp(42px, 8vw, 92px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
}

.payment-result-hero p {
  max-width: 780px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.42;
}

.payment-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.payment-result-card {
  padding: clamp(22px, 4vw, 34px);
  color: #10131a;
}

.payment-result-card--wide {
  grid-column: span 1;
}

.payment-result-card--summary {
  display: grid;
  gap: 24px;
}

.payment-result-card h2 {
  margin: 0;
  color: #10131a;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 950;
  line-height: 0.98;
}

.payment-result-card p {
  margin: 12px 0 0;
  color: #667085;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.payment-result-facts,
.payment-result-params {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.payment-result-facts div,
.payment-result-params div {
  min-width: 0;
  border-radius: 18px;
  padding: 14px;
  background: #f2f5fb;
}

.payment-result-facts dt,
.payment-result-params dt {
  color: #667085;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-result-facts dd,
.payment-result-params dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: #10131a;
  font-size: 16px;
  font-weight: 950;
}

.payment-result-steps {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.payment-result-steps li {
  position: relative;
  padding: 14px 14px 14px 44px;
  border-radius: 18px;
  background: #f2f5fb;
  color: #10131a;
  font-weight: 850;
  line-height: 1.4;
}

.payment-result-steps li::before {
  content: counter(list-item);
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 22px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: #6b4df6;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.payment-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.payment-result-primary,
.payment-result-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  padding: 0 24px;
  text-decoration: none;
  font-weight: 950;
}

.payment-result-primary {
  background: #10131a;
  color: #fff;
}

.payment-result-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: #10131a;
}

@media (max-width: 760px) {
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-hero,
  .account-card {
    border-radius: 24px;
  }

  .account-order-item,
  .payment-result-hero {
    grid-template-columns: 1fr;
  }

  .account-order-meta {
    justify-items: start;
    text-align: left;
  }

  .payment-result-grid,
  .payment-result-facts,
  .payment-result-params {
    grid-template-columns: 1fr;
  }

  .payment-result-hero,
  .payment-result-card {
    border-radius: 24px;
  }

  .payment-result-actions {
    justify-content: stretch;
  }

  .payment-result-primary,
  .payment-result-secondary {
    flex: 1 1 100%;
  }
}
/* Shared checkout delivery module */
.delivery-external-point {
  display: grid;
  gap: 12px;
}

.delivery-external-point[hidden] {
  display: none;
}

.delivery-map-action {
  min-height: 64px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(108, 77, 246, 0.24);
  border-radius: 8px;
  color: #111318;
  background: #f3f0ff;
  text-decoration: none;
}

.delivery-map-action > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.delivery-map-action strong,
.delivery-map-action small {
  overflow-wrap: anywhere;
}

.delivery-map-action small {
  color: #6d7485;
  font-size: 12px;
}

.delivery-map-action:hover {
  border-color: #6b4df6;
  background: #ebe6ff;
}

.delivery-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border-radius: 8px;
  background: #eef1f7;
}

.delivery-methods button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #5f687a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.delivery-methods button .material-symbols-rounded {
  margin-right: 7px;
  font-size: 20px;
  vertical-align: -4px;
}

.delivery-methods button.is-active {
  background: #111318;
  color: #fff;
  box-shadow: 0 5px 14px rgba(17, 19, 24, 0.14);
}

.delivery-methods button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.delivery-courier-fields,
.delivery-pickup-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.delivery-courier-fields[hidden],
.delivery-pickup-fields[hidden] {
  display: none;
}

.delivery-address-details {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 2fr 2fr 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.delivery-suggest-field {
  position: relative;
}

.delivery-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  overflow: auto;
  max-height: 240px;
  padding: 6px;
  border: 1px solid #dbe0eb;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 19, 24, 0.16);
}

.delivery-suggestions button {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #111318;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.delivery-suggestions button:hover {
  background: #f0edff;
}

.delivery-status {
  margin: 0;
  padding: 11px 13px;
  border-radius: 7px;
  background: #f3f5fa;
  color: #626c80;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .delivery-courier-fields,
  .delivery-pickup-fields,
  .delivery-address-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-address-details .generator-field:nth-child(-n + 2) {
    grid-column: 1 / -1;
  }
}
