:root {
  --blue: #1677ff;
  --ink: #05080f;
  --text: #111827;
  --muted: #5e6b83;
  --line: #c2c2c2;
  --gradient-line: linear-gradient(135deg, #ebebeb 0%, #c2c2c2 100%);
  --soft: #f5f9ff;
  --space-block: 60px;
  --space-element: 30px;
  --space-part: 15px;
  --font-head: "Montserrat Alternates", "Onest", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
b,
strong,
.button,
.tag-row span,
.back-link {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: 0;
}

p {
  margin: 0;
}

.page {
  width: min(1000px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 18px 0 54px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  margin-bottom: var(--space-part);
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
}

.crumbs a {
  color: var(--blue);
}

.crumbs span {
  color: #6b7280;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 700px) 260px;
  align-items: start;
  gap: var(--space-element);
}

.content {
  display: grid;
  gap: var(--space-block);
  min-width: 0;
}

.product-card,
.mini-card,
.scenario,
.text-box,
.basis-box,
.cart,
.help-card,
.side-media,
.related-card,
.favorite-card,
.footer-variant,
.auth-card,
.auth-side,
.empty-card,
.not-found,
.orders-section,
.profile-card,
.order-detail {
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gradient-line) border-box;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.product-card {
  display: block;
}

.product-copy {
  padding: var(--space-element);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-part);
  margin-bottom: var(--space-part);
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #5d6a80;
  font-size: 12px;
  font-weight: 800;
}

.tag-row span:first-child {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

h1 {
  max-width: 650px;
  color: #000;
  font-size: 33px;
  font-weight: 900;
  line-height: 1.05;
}

.product-copy > p {
  margin-top: var(--space-part);
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-part);
  margin-top: var(--space-part);
}

.facts div {
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
}

.facts b {
  display: block;
  color: #000;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
}

.facts span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.product-actions {
  display: flex;
  gap: var(--space-part);
  margin-top: var(--space-part);
}

.button,
.brief-button {
  --button-fill: #111827;
  --button-hover-text: #fff;
  --button-stroke: #111827;
  --button-dot-stroke: var(--button-stroke);
  --button-dot-fill: transparent;
  --button-dot-hover-fill: #fff;
  --button-dot-size: 15px;
  --button-border: 2px;
  position: relative;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) var(--button-dot-size);
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  min-width: 150px;
  gap: var(--space-part);
  padding: 0 12px 0 18px;
  overflow: hidden;
  border: var(--button-border) solid var(--button-stroke);
  border-radius: 999px;
  background: #fff;
  color: var(--button-stroke);
  font-size: 14px;
  font-weight: 900;
  isolation: isolate;
  transition: color 200ms ease;
}

.button::before,
.brief-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--button-fill);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 130ms ease;
}

.button:hover::before,
.brief-button:hover::before {
  transform: scaleX(1);
}

.button:hover,
.brief-button:hover {
  color: var(--button-hover-text);
}

.button span,
.brief-button span,
.button i,
.brief-button i {
  position: relative;
  z-index: 1;
}

.button span,
.brief-button span {
  min-width: 0;
}

.button i,
.brief-button i {
  flex: 0 0 var(--button-dot-size);
  justify-self: end;
  width: var(--button-dot-size);
  height: var(--button-dot-size);
  border: 0;
  border-radius: 50%;
  background: var(--button-dot-fill);
  box-shadow: 0 0 0 var(--button-border) var(--button-dot-stroke);
  transition: background-color 130ms ease;
}

.button:hover i,
.brief-button:hover i {
  background: var(--button-dot-hover-fill);
}

.button-blue {
  --button-fill: var(--blue);
  --button-stroke: var(--blue);
  --button-dot-stroke: var(--blue);
  color: var(--blue);
}

.brief-button {
  --button-fill: var(--blue);
  --button-stroke: var(--blue);
  --button-dot-stroke: var(--blue);
  width: fit-content;
  min-width: 178px;
  margin-top: 2px;
  color: var(--blue);
}

.lead,
.text-box p {
  margin-top: 10px;
  color: #111827;
  font-size: 14px;
  line-height: 1.7;
}

.section {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: var(--space-element) 0;
}

.section > * {
  grid-column: 2;
}

.section > h2 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: baseline;
  color: #000;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.16;
}

.section-number {
  grid-column: 1;
  color: var(--blue);
}

.section-title {
  grid-column: 2;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-part);
}

.question-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-part);
  counter-reset: question;
}

.mini-card,
.question-list div {
  min-height: 130px;
  padding: var(--space-part);
}

.mini-card h3,
.scenario h3,
.question-list b {
  color: #000;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.mini-card p,
.scenario p,
.question-list p,
.help-card p {
  margin-top: 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.question-list div {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  column-gap: var(--space-part);
  min-height: 0;
  border: 1px solid #cfe2ff;
  border-radius: 16px;
  background: #fff;
}

.question-list div::before {
  counter-increment: question;
  content: counter(question);
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(180deg, #4aa1ff, #0f70f3);
  color: #fff;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
}

.brief-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: var(--space-part);
}

.brief-note {
  max-width: 430px;
  padding: 13px 15px;
  border: 1px solid #cfe2ff;
  border-radius: 16px;
  background: #f8fbff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.scenario-stack {
  display: grid;
  gap: var(--space-part);
}

.scenario {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-part);
  padding: var(--space-part);
}

.scenario-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(180deg, #1680ff, #0869e8);
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.18);
}

.steps {
  display: grid;
  gap: var(--space-part);
}

.steps div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: var(--space-part);
  min-height: 86px;
  padding: var(--space-part);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.steps span {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
}

.steps b {
  color: #000;
  font-size: 17px;
  font-weight: 900;
}

.steps p {
  margin-top: 6px;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

.text-box {
  display: grid;
  gap: var(--space-part);
  padding: var(--space-part);
}

.basis-box {
  display: grid;
  gap: var(--space-part);
  padding: var(--space-part);
  border-color: #cfe2ff;
  background: #fbfdff;
}

.basis-box b {
  color: #000;
  font-size: 14px;
  font-weight: 900;
}

.basis-box a {
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.faq {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: var(--space-part);
  min-height: 48px;
  padding: 0 17px;
  background: #fff;
  color: #000;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 200ms ease;
}

.faq details[open] summary::after {
  transform: rotate(225deg);
}

.faq p {
  padding: 0 17px 15px;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-part);
}

.related-card {
  overflow: hidden;
}

.related-card img {
  height: 126px;
  object-fit: cover;
}

.related-card div {
  padding: 13px;
}

.related-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.related-card b {
  display: block;
  color: #000;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.side {
  position: sticky;
  top: 18px;
  display: grid;
  gap: var(--space-element);
}

.side-media {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #eef2f6;
}

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

.cart,
.help-card {
  padding: 18px;
}

.cart h2 {
  color: #000;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.cart-item {
  display: grid;
  gap: var(--space-part);
  margin-top: var(--space-part);
  padding: var(--space-part);
  border: 1px solid #cfe2ff;
  border-radius: 16px;
  background: #f8fbff;
}

.cart-item b {
  display: block;
  color: #000;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.cart-item span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.cart-item strong {
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.quantity {
  display: inline-grid;
  grid-template-columns: 30px 28px 30px;
  align-items: center;
  justify-content: start;
  width: fit-content;
  overflow: hidden;
  border: 1px solid #cfe2ff;
  border-radius: 999px;
  background: #fff;
}

.quantity button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
}

.quantity span {
  margin: 0;
  color: #000;
  text-align: center;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
}

.total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-part);
  margin: var(--space-part) 0;
}

.total span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.total strong {
  color: #000;
  font-size: 24px;
  font-weight: 900;
}

.cart .button {
  width: 100%;
  margin-top: var(--space-part);
  gap: 6px;
  padding-right: 10px;
  padding-left: 14px;
  font-size: 12px;
}

.cart .button span {
  white-space: nowrap;
}

.help-card h3 {
  color: #000;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.18;
}

.checkout-page {
  width: min(1280px, calc(100vw - 72px));
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 930px) 320px;
  align-items: start;
  gap: var(--space-element);
}

.checkout-main {
  display: grid;
  gap: var(--space-element);
  min-width: 0;
}

.checkout-head {
  display: grid;
  gap: var(--space-part);
  padding: var(--space-element);
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gradient-line) border-box;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.checkout-head h1 {
  font-size: 36px;
  line-height: 1.05;
}

.checkout-head p {
  max-width: 570px;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-part);
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: var(--space-part);
  min-height: 52px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gradient-line) border-box;
  color: inherit;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.checkout-step:not(.checkout-step--static):hover {
  border-color: var(--blue);
  background: #f8fbff;
}

.checkout-step b {
  color: #9fb7d8;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.checkout-step span {
  color: #000;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.16;
  white-space: nowrap;
}

.checkout-step--static {
  cursor: default;
}

.checkout-step.is-current {
  border-color: var(--blue);
  background: #f8fbff;
}

.checkout-step.is-current b,
.checkout-step.is-done b {
  color: var(--blue);
}

.cart-product,
.payment-panel {
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gradient-line) border-box;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.cart-product {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 150px;
  gap: var(--space-element);
  align-items: center;
  padding: var(--space-part);
}

.cart-product img {
  height: 136px;
  border-radius: 14px;
  object-fit: cover;
}

.cart-product-copy span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.cart-product-copy h2 {
  color: #000;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.12;
}

.payment-panel h2 {
  color: #000;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
}

.cart-product-copy p {
  margin-top: var(--space-part);
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

.compact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-part);
  margin-top: var(--space-part);
}

.compact-meta b {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #000;
  font-size: 11px;
  font-weight: 900;
}

.cart-product-side {
  display: grid;
  justify-items: end;
  gap: var(--space-part);
}

.cart-product-side strong {
  color: #000;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
}

.favorite-list {
  display: grid;
  gap: var(--space-part);
}

.favorite-card {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr) 178px;
  gap: var(--space-element);
  align-items: center;
  padding: var(--space-part);
}

.favorite-card img {
  height: 112px;
  border-radius: 14px;
  object-fit: cover;
}

.favorite-card-copy > span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.favorite-card h2 {
  color: #000;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}

.favorite-card p {
  margin-top: var(--space-part);
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.favorite-actions {
  display: grid;
  justify-items: stretch;
  gap: var(--space-part);
}

.favorite-price {
  color: #000;
  text-align: right;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
}

.favorite-actions .button {
  min-height: 36px;
  padding-left: 14px;
  padding-right: 9px;
  font-size: 12px;
}

.mini-grid--cart .mini-card {
  min-height: 112px;
}

.checkout-side {
  position: sticky;
  top: 18px;
}

.payment-mobile-return {
  display: none;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-part);
  margin-top: var(--space-part);
  padding-bottom: var(--space-part);
  border-bottom: 1px solid var(--line);
}

.summary-line span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.summary-line strong {
  color: #000;
  font-size: 14px;
  font-weight: 900;
}

.payment-panel {
  display: grid;
  gap: var(--space-part);
  padding: var(--space-element);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-part);
}

.payment-method {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: var(--space-part);
  min-height: 78px;
  padding: var(--space-part);
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gradient-line) border-box;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.payment-method:hover {
  border-color: var(--blue);
  background: #f8fbff;
}

.payment-method.is-selected {
  border-color: var(--blue);
  background: #f8fbff;
}

.payment-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.method-mark {
  grid-row: span 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid #cfe2ff;
  border-radius: 50%;
}

.payment-method.is-selected .method-mark {
  border-color: var(--blue);
}

.payment-method.is-selected .method-mark::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.payment-method b {
  color: #000;
  font-size: 15px;
  font-weight: 900;
}

.payment-method small {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-part);
}

.field-grid label {
  display: grid;
  gap: var(--space-part);
}

.field-grid span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.field-grid input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  color: #111827;
  font: 600 13px var(--font-body);
}

.field-grid input::placeholder {
  color: #94a3b8;
}

.cart-item--payment {
  margin-bottom: 2px;
}

.footer-page {
  display: grid;
  gap: var(--space-part);
}

.footer-page > .back-link {
  justify-self: start;
}

.footer-variant {
  display: grid;
  gap: var(--space-part);
  padding: var(--space-part);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.footer-brand {
  display: grid;
  gap: var(--space-part);
  align-content: start;
  max-width: 380px;
}

.footer-brand b,
.footer-legal-main b {
  color: #000;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
}

.footer-brand p,
.footer-cta-copy p,
.footer-legal-main p {
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-part);
}

.footer-links div {
  display: grid;
  gap: var(--space-part);
  align-content: start;
}

.footer-links h2 {
  color: #000;
  font-size: 16px;
  font-weight: 900;
}

.footer-links a,
.footer-legal-grid a {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-part);
  padding-top: var(--space-part);
  border-top: 1px solid var(--line);
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.footer-variant--nav {
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
}

.footer-variant--nav .footer-bottom {
  grid-column: 1 / -1;
}

.site-footer {
  margin-top: var(--space-block);
}

.checkout-page .site-footer {
  margin-top: clamp(540px, 45vh, 680px);
}

.cart-page-shell .site-footer {
  margin-top: clamp(560px, 46vh, 640px);
}

.payment-page-shell .site-footer {
  margin-top: clamp(360px, 34vh, 430px);
}

.favorite-page-shell .site-footer {
  margin-top: clamp(420px, 38vh, 500px);
}

.account-shell-page .site-footer {
  margin-top: 90px;
}

.site-footer.footer-variant--nav {
  grid-template-columns: 1fr;
}

.site-footer .footer-brand {
  max-width: 620px;
}

.footer-variant--cta {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.footer-cta-copy {
  display: grid;
  gap: var(--space-part);
}

.footer-cta-copy h2 {
  max-width: 620px;
  color: #000;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.08;
}

.footer-cta-actions {
  display: grid;
  gap: var(--space-part);
}

.footer-variant--cta .footer-bottom {
  grid-column: 1 / -1;
}

.footer-variant--legal {
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
}

.footer-legal-main {
  display: grid;
  gap: var(--space-part);
}

.footer-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-part);
}

.footer-legal-grid a {
  min-height: 42px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.footer-variant--legal .footer-bottom {
  grid-column: 1 / -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #cfe2ff;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.button-muted {
  --button-fill: #5b5b5b;
  --button-stroke: #d6d6d6;
  --button-dot-stroke: #d6d6d6;
  color: #555;
}

.home-page {
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding: 0 0 var(--space-block);
  --home-hero-width: 1340px;
  --home-content-width: 1280px;
  --home-card-width: 406px;
}

.home-hero {
  width: min(var(--home-hero-width), calc(100vw - 36px));
  height: 417px;
  margin: 6px auto 0;
  padding: 40px 40px 25px;
  overflow: hidden;
  border-radius: 46px;
  background: #f2f3f4 url("./home-assets/hero-desktop.webp") center / cover no-repeat;
}

.home-hero-copy {
  display: grid;
  gap: var(--space-element);
  width: 680px;
}

.home-hero-title {
  color: #000;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
}

.home-hero-title .desktop-only {
  display: inline;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.home-hero-title > span:not(.desktop-only) {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.1;
}

.desktop-inline {
  display: inline;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-element);
  max-width: 570px;
}

.home-stat {
  min-height: 73px;
  padding: 11px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.home-stat b {
  display: block;
  color: #05080f;
  font-size: 25px;
  font-weight: 900;
  line-height: 0.95;
}

.home-stat span {
  display: block;
  margin-top: 5px;
  color: #111827;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.08;
}

.home-hero-actions {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: var(--space-element);
  max-width: 570px;
}

.home-hero-actions .button {
  --button-dot-size: 18px;
  min-height: 73px;
  min-width: 0;
  padding: 0 22px 0 28px;
  font-size: 22px;
}

.home-hero-actions .button span {
  white-space: nowrap;
}

.home-section {
  margin-top: var(--space-block);
}

.home-section-title {
  color: #000;
  font-family: var(--font-head);
  font-size: 45px;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
}

.home-services {
  width: 100%;
}

.home-carousel {
  position: relative;
  margin-top: var(--space-element);
}

.home-service-strip {
  display: flex;
  width: 100vw;
  gap: 31px;
  overflow-x: auto;
  padding: 0 max(36px, calc((100vw - var(--home-content-width)) / 2 + 36px)) 34px;
  scroll-padding-left: max(36px, calc((100vw - var(--home-content-width)) / 2 + 36px));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-service-strip::-webkit-scrollbar {
  display: none;
}

.home-service-card {
  display: grid;
  grid-template-rows: 217px minmax(0, 1fr);
  width: var(--home-card-width);
  min-height: 474px;
  flex: 0 0 var(--home-card-width);
  overflow: hidden;
  border: 1px solid rgba(217, 217, 217, 0.95);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 15px 33px rgba(15, 23, 42, 0.12);
  scroll-snap-align: start;
}

.home-service-card img {
  height: 217px;
  object-fit: cover;
}

.home-service-copy {
  display: grid;
  gap: var(--space-part);
  align-content: start;
  padding: 22px 24px 20px;
}

.home-card-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-part);
  color: #c1c1c1;
  font-size: 12px;
  font-weight: 900;
}

.home-card-meta strong {
  color: var(--blue);
  font-size: 12px;
}

.home-service-card h3 {
  color: #000;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.18;
}

.home-service-card p {
  color: #5d6a80;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.home-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px 36px;
  gap: var(--space-part);
  align-items: center;
  margin-top: auto;
}

.home-card-actions .button {
  --button-stroke: #d6d6d6;
  --button-dot-stroke: #d6d6d6;
  --button-fill: #5b5b5b;
  min-width: 0;
  min-height: 34px;
  padding: 0 8px 0 13px;
  color: #5b5b5b;
  font-family: var(--font-body);
  font-size: 14px;
}

.home-icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d6d6d6;
  border-radius: 50%;
  background: #fff;
  color: #4b5563;
  font-size: 17px;
  line-height: 1;
}

.home-carousel-arrow {
  position: absolute;
  top: 181px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d6d6d6;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.13);
  cursor: pointer;
}

.home-carousel-arrow--prev {
  left: max(8px, calc((100vw - var(--home-content-width)) / 2 - 22px));
}

.home-carousel-arrow--next {
  right: max(8px, calc((100vw - var(--home-content-width)) / 2 - 22px));
}

.home-services-more {
  display: flex;
  justify-content: center;
  margin-top: -4px;
}

.home-services-more .button {
  min-height: 50px;
  min-width: 290px;
  font-size: 18px;
}

.home-narrow {
  width: min(var(--home-content-width), calc(100vw - 48px));
  margin-right: auto;
  margin-left: auto;
}

.home-benefits-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 470px) 235px minmax(0, 470px);
  gap: var(--space-element);
  align-items: center;
  margin-top: var(--space-element);
  justify-content: center;
}

.home-benefit-column {
  display: grid;
  gap: var(--space-part);
}

.home-benefit-card {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  align-items: center;
  min-height: 105px;
  overflow: hidden;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.home-benefit-card--right {
  grid-template-columns: minmax(0, 1fr) 102px;
}

.home-benefit-card img {
  width: 102px;
  height: 105px;
  object-fit: cover;
}

.home-benefit-card--right img {
  order: 2;
}

.home-benefit-text {
  padding: var(--space-part);
}

.home-benefit-text h3 {
  color: #000;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
}

.home-benefit-text p {
  margin-top: 6px;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.32;
}

.home-benefits-logo {
  align-self: stretch;
  min-height: 485px;
  background: url("./home-assets/logo-column-desktop.webp") center bottom / contain no-repeat;
}

.home-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-element);
  margin-top: var(--space-element);
}

.home-work-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.home-work-text {
  padding: 26px;
}

.home-work-card h3 {
  color: #000;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
}

.home-work-card p {
  margin-top: 10px;
  color: #111827;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.home-work-card picture,
.home-work-card img {
  height: 100%;
}

.home-work-card img {
  object-fit: cover;
}

.home-cta {
  display: block;
  min-height: 255px;
  margin-top: var(--space-block);
  padding: 36px 40px;
  overflow: hidden;
  border: 1px solid #d6d6d6;
  border-radius: 31px;
  background: #fff url("./home-assets/final-cta.webp") right center / auto 100% no-repeat;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.home-cta-copy {
  display: grid;
  gap: var(--space-element);
  max-width: 560px;
  padding: 0;
}

.home-cta h2 {
  color: #000;
  font-size: 33px;
  font-weight: 900;
  line-height: 1.18;
}

.home-cta .button {
  width: fit-content;
  min-width: 300px;
  min-height: 52px;
  font-size: 18px;
}

.home-cta img {
  display: none;
}

.account-hero,
.order-detail,
.orders-section,
.profile-card,
.auth-card,
.auth-side,
.empty-card,
.not-found {
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gradient-line) border-box;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: end;
  gap: var(--space-element);
  margin-bottom: var(--space-element);
  padding: var(--space-element);
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 82% 20%, rgba(22, 119, 255, 0.14), transparent 34%);
}

.account-hero h1 {
  margin-top: var(--space-part);
}

.account-hero p {
  max-width: 660px;
  margin-top: var(--space-part);
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.account-actions {
  display: flex;
  justify-content: end;
  gap: var(--space-part);
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 930px) 320px;
  gap: var(--space-element);
  align-items: start;
}

.account-layout--solo {
  margin-top: var(--space-element);
}

.account-main {
  display: grid;
  gap: var(--space-block);
  min-width: 0;
}

.order-detail,
.orders-section,
.profile-card {
  padding: var(--space-element);
}

.order-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-element);
  align-items: start;
}

.order-head h1,
.order-head h2,
.orders-section h2,
.profile-card h2,
.auth-side h2,
.empty-card h2,
.not-found h1 {
  color: #000;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.12;
}

.order-head p {
  margin-top: 9px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.order-head h1 {
  max-width: 760px;
  margin-top: var(--space-part);
  font-size: 24px;
}

.order-head strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-part);
  margin-top: var(--space-element);
}

.status-strip div {
  display: grid;
  gap: var(--space-part);
  min-height: 82px;
  padding: var(--space-part);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.status-strip div.is-done,
.status-strip div.is-current {
  border-color: #cfe2ff;
  background: #f8fbff;
}

.status-strip b {
  color: #9fb7d8;
  font-size: 13px;
  font-weight: 900;
}

.status-strip .is-done b,
.status-strip .is-current b {
  color: var(--blue);
}

.status-strip span {
  color: #000;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.order-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-part);
  margin-top: var(--space-element);
}

.order-workspace h3,
.auth-note b {
  color: #000;
  font-size: 17px;
  font-weight: 900;
}

.compact-button {
  width: fit-content;
  min-width: 150px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-part);
  align-items: center;
  margin-bottom: var(--space-element);
}

.section-title-row a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.order-list {
  display: grid;
  gap: var(--space-part);
}

.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: var(--space-part);
  align-items: center;
  min-height: 82px;
  padding: var(--space-part);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
}

.order-row b {
  display: block;
  color: #000;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.order-row span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.order-row strong {
  justify-self: end;
  color: #000;
  font-size: 18px;
  font-weight: 900;
}

.profile-card {
  display: grid;
  gap: var(--space-part);
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid #cfe2ff;
  border-radius: 20px;
  background: linear-gradient(180deg, #1680ff, #0869e8);
  color: #fff;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(22, 119, 255, 0.2);
}

.profile-card p {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.profile-card .button,
.help-card .button {
  width: 100%;
  margin-top: 2px;
  font-size: 12px;
}

.more-button {
  width: 100%;
  min-height: 42px;
  margin-top: var(--space-part);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbff;
  color: #64748b;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.more-button:hover {
  border-color: #94a3b8;
  background: #fff;
  color: #111827;
}

.auth-page {
  width: min(1120px, calc(100vw - 72px));
  min-height: 100vh;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--space-element);
  align-items: stretch;
}

.auth-card,
.auth-side {
  padding: var(--space-element);
}

.auth-card {
  display: grid;
  align-content: start;
  gap: var(--space-element);
}

.auth-card--single {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.auth-card h1 {
  max-width: 680px;
}

.auth-card > p {
  max-width: 570px;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.auth-tabs {
  --auth-tab-x: 0%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: var(--space-part);
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#f8fbff, #f8fbff) padding-box,
    var(--gradient-line) border-box;
}

.auth-tabs::before {
  content: "";
  position: absolute;
  top: var(--space-part);
  bottom: var(--space-part);
  left: var(--space-part);
  width: calc((100% - (var(--space-part) * 2)) / 2);
  border-radius: 999px;
  background: linear-gradient(135deg, #1677ff 0%, #4ca3ff 100%);
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.18);
  transform: translateX(var(--auth-tab-x));
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-tabs[data-active="register"] {
  --auth-tab-x: 100%;
}

.auth-tabs button {
  position: relative;
  z-index: 1;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  transition: color 180ms ease;
}

.auth-tabs button.is-active {
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.auth-form {
  display: grid;
  gap: var(--space-part);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 200ms ease, transform 200ms ease;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-part);
}

.auth-card--single .auth-form-grid {
  position: relative;
  display: block;
  grid-template-columns: 1fr;
  transition: height 220ms ease;
}

.auth-form[hidden] {
  display: none;
}

.auth-card--single .auth-form[hidden] {
  position: absolute;
  inset: 0 0 auto;
  display: grid !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.auth-form.is-hiding {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.auth-card--single .auth-form.is-hiding {
  position: absolute;
  inset: 0 0 auto;
  visibility: hidden;
  transform: translateY(-6px);
}

.auth-card--single .auth-form.is-entering {
  opacity: 0;
  transform: translateY(8px);
}

.auth-form-grid .auth-form {
  align-content: start;
  padding: var(--space-part);
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#fbfdff, #fbfdff) padding-box,
    var(--gradient-line) border-box;
}

.auth-form h2,
.auth-note--plain h2 {
  color: #000;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
}

.auth-form label {
  display: grid;
  gap: var(--space-part);
}

.auth-form span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.auth-form .brief-button span {
  color: inherit;
}

.auth-form input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  color: #111827;
  font: 600 14px var(--font-body);
}

.auth-form input::placeholder {
  color: #94a3b8;
}

.auth-form .check-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.auth-form .check-row input {
  appearance: none;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin-top: 2px;
  padding: 0;
  border: 1.5px solid #cfe2ff;
  border-radius: 7px;
  background:
    radial-gradient(circle at center, var(--blue) 0 0, transparent 0),
    #fff;
  box-shadow: inset 0 0 0 3px #fff;
  transition: border-color 160ms ease, background-size 160ms ease, box-shadow 160ms ease;
}

.auth-form .check-row input:checked {
  border-color: var(--blue);
  background:
    radial-gradient(circle at center, var(--blue) 0 48%, transparent 50%),
    #fff;
}

.auth-form .check-row input:focus-visible {
  outline: 2px solid rgba(22, 119, 255, 0.28);
  outline-offset: 2px;
}

.auth-form .check-row span {
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.auth-form .check-row a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.auth-note {
  display: grid;
  gap: var(--space-part);
  padding: var(--space-part);
  border: 1px solid #cfe2ff;
  border-radius: 16px;
  background: #f8fbff;
}

.auth-note p {
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

.auth-note--plain {
  border-color: var(--line);
  background: #fff;
}

.auth-side {
  display: grid;
  gap: var(--space-part);
  align-content: start;
}

.auth-visual {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid #cfe2ff;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.92)),
    url("../../../apps/site/public/assets/images/services-design/card-01.webp") center / cover no-repeat;
}

.auth-visual span {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 72px;
  height: 72px;
  border: 12px solid rgba(22, 119, 255, 0.9);
  border-radius: 50%;
}

.auth-visual b {
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: #000;
  font-size: 28px;
  font-weight: 900;
}

.empty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-element);
  margin-top: var(--space-element);
}

.embedded-empty-state {
  margin-top: var(--space-block);
}

.embedded-empty-state .empty-card,
.account-layout--solo[data-empty-state] .empty-card {
  min-height: 245px;
}

.empty-card {
  display: grid;
  gap: var(--space-part);
  align-content: start;
  min-height: 400px;
  padding: var(--space-element);
}

.empty-grid--plain .empty-card {
  min-height: 245px;
}

.empty-card p {
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-part);
  margin-top: auto;
}

.empty-visual {
  position: relative;
  height: 132px;
  overflow: hidden;
  border: 1px solid #cfe2ff;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.empty-visual::before,
.empty-visual::after {
  content: "";
  position: absolute;
  border: 2px solid var(--blue);
  background: #fff;
}

.empty-visual--cart::before {
  left: 34px;
  top: 46px;
  width: 98px;
  height: 50px;
  border-radius: 18px;
}

.empty-visual--cart::after {
  right: 38px;
  top: 32px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border-width: 12px;
  opacity: 0.9;
}

.empty-visual--favorite::before {
  left: 50%;
  top: 34px;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  transform: translateX(-50%) rotate(45deg);
}

.empty-visual--favorite::after {
  left: calc(50% - 36px);
  top: 28px;
  width: 58px;
  height: 58px;
  border-color: #111827;
  border-radius: 50%;
  box-shadow: 50px 0 0 -2px #fff, 50px 0 0 0 #111827;
}

.empty-visual--orders::before {
  left: 32px;
  top: 28px;
  width: 120px;
  height: 76px;
  border-radius: 16px;
  box-shadow: 44px 20px 0 -8px #fff, 44px 20px 0 -6px #cfe2ff;
}

.empty-visual--orders::after {
  right: 42px;
  top: 42px;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--blue);
}

.empty-visual--search::before {
  left: 54px;
  top: 30px;
  width: 72px;
  height: 72px;
  border-width: 12px;
  border-radius: 50%;
}

.empty-visual--search::after {
  left: 126px;
  top: 90px;
  width: 58px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  transform: rotate(36deg);
}

.not-found-page {
  width: min(1120px, calc(100vw - 72px));
  min-height: 100vh;
}

.not-found {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: var(--space-element);
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  padding: var(--space-element);
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.92), #fff),
    radial-gradient(circle at 78% 34%, rgba(22, 119, 255, 0.16), transparent 36%);
}

.error-code {
  display: block;
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 92px;
  font-weight: 900;
  line-height: 0.9;
}

.not-found h1 {
  margin-top: var(--space-part);
  font-size: 46px;
}

.not-found p {
  max-width: 520px;
  margin-top: var(--space-part);
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.not-found-visual {
  position: relative;
  min-height: 360px;
}

.lost-card {
  position: absolute;
  width: 210px;
  height: 150px;
  border: 1px solid #cfe2ff;
  border-radius: 24px;
  background:
    linear-gradient(90deg, var(--blue) 0 44px, transparent 44px),
    linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.1);
}

.lost-card--one {
  top: 50px;
  right: 70px;
  transform: rotate(7deg);
}

.lost-card--two {
  top: 158px;
  right: 150px;
  transform: rotate(-9deg);
}

.lost-lens {
  position: absolute;
  right: 28px;
  bottom: 38px;
  width: 132px;
  height: 132px;
  border: 18px solid rgba(17, 24, 39, 0.84);
  border-radius: 50%;
}

.lost-lens::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -34px;
  width: 96px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
  transform: rotate(42deg);
}

.not-found-links {
  margin-top: var(--space-element);
}

.not-found-links .related-card {
  min-height: 118px;
}

.not-found--links {
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 470px;
}

.not-found-menu {
  display: grid;
  gap: var(--space-part);
  align-content: center;
}

.not-found-menu a {
  display: grid;
  gap: var(--space-part);
  min-height: 86px;
  padding: var(--space-part);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
  transition: border-color 180ms ease, background 180ms ease;
}

.not-found-menu a:hover {
  border-color: var(--blue);
  background: #f8fbff;
}

.not-found-menu span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.not-found-menu b {
  color: #000;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.22;
}

@media (max-width: 760px) {
  :root {
    --space-block: 30px;
    --space-element: 15px;
    --space-part: 5px;
  }

  .page {
    width: min(100% - 16px, 390px);
    padding-top: var(--space-part);
    padding-bottom: var(--space-block);
  }

  .back-link {
    min-height: 28px;
    margin-bottom: var(--space-part);
    padding: 0 12px;
    font-size: 12px;
  }

  .crumbs {
    gap: var(--space-part);
    margin-bottom: var(--space-element);
    font-size: 11px;
  }

  .layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-element);
  }

  .content {
    display: contents;
  }

  .side {
    position: static;
    display: contents;
  }

  .product-card {
    order: 1;
    display: block;
    overflow: hidden;
    border-radius: 16px;
  }

  .product-card::before {
    content: "";
    display: block;
    height: 190px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 58%, #fff 100%),
      url("../../../apps/site/public/assets/images/services-design/card-01.webp") center / cover no-repeat;
    border-bottom: 0;
  }

  .product-card::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
  }

  .side-media {
    display: none;
  }

  .product-copy {
    position: relative;
    z-index: 1;
    margin-top: -28px;
    padding: 0 10px 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 22px);
  }

  .tag-row {
    gap: var(--space-part);
    margin-bottom: var(--space-part);
  }

  .tag-row span {
    min-height: 22px;
    padding: 0 7px;
    font-size: 9px;
  }

  h1 {
    font-size: 22px;
    line-height: 1.08;
  }

  .product-copy > p {
    margin-top: var(--space-part);
    font-size: 11px;
    line-height: 1.45;
  }

  .facts {
    gap: var(--space-part);
    margin-top: var(--space-element);
  }

  .facts div {
    min-height: 50px;
    padding: 8px;
    border-radius: 12px;
  }

  .facts b {
    font-size: 11px;
  }

  .facts span {
    margin-top: var(--space-part);
    font-size: 8px;
  }

  .product-actions {
    gap: var(--space-part);
    margin-top: var(--space-element);
  }

  .brief-row {
    grid-template-columns: 1fr;
  }

  .brief-note {
    max-width: none;
    padding: 12px;
    font-size: 11px;
  }

  .button {
    --button-border: 1.5px;
    --button-dot-size: 12px;
    min-width: 0;
    min-height: 34px;
    flex: 1;
    padding: 0 9px 0 12px;
    font-size: 11px;
  }

  .cart {
    display: none;
    order: 2;
    padding: 12px;
    border-radius: 16px;
  }

  .cart h2 {
    font-size: 19px;
  }

  .cart-item {
    margin-top: var(--space-element);
    padding: 11px;
    border-radius: 13px;
  }

  .cart-item b {
    font-size: 12px;
  }

  .cart-item span,
  .help-card p {
    font-size: 10px;
  }

  .total {
    margin: 12px 0;
  }

  .total strong {
    font-size: 20px;
  }

  .lead,
  .text-box p {
    margin-top: var(--space-part);
    font-size: 11px;
    line-height: 1.55;
  }

  .section {
    order: 10;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: var(--space-element) 0;
  }

  .section > h2 {
    grid-template-columns: 30px minmax(0, 1fr);
    font-size: 22px;
  }

  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-element);
  }

  .question-list {
    grid-template-columns: 1fr;
    gap: var(--space-element);
  }

  .mini-card,
  .question-list div {
    min-height: 0;
    padding: 10px;
    border-radius: 14px;
  }

  .question-list div {
    grid-template-columns: 31px minmax(0, 1fr);
    column-gap: var(--space-part);
  }

  .question-list div::before {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    font-size: 9px;
  }

  .mini-card h3,
  .scenario h3,
  .question-list b {
    font-size: 11px;
    line-height: 1.2;
  }

  .mini-card p,
  .scenario p,
  .question-list p,
  .steps p {
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.45;
  }

  .scenario {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: var(--space-part);
    overflow: visible;
    padding: 12px;
    border-radius: 16px;
  }

  .scenario-icon {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    font-size: 9px;
  }

  .scenario > div:not(.scenario-icon) {
    padding: 0;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-element);
  }

  .related-card {
    border-radius: 14px;
  }

  .related-card img {
    height: 96px;
  }

  .related-card div {
    padding: 10px;
  }

  .related-card span {
    font-size: 9px;
  }

  .related-card b {
    font-size: 11px;
  }

  .steps div {
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 0;
    column-gap: var(--space-part);
    padding: 12px;
    border-radius: 14px;
  }

  .steps span {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .steps b {
    font-size: 12px;
  }

  .text-box,
  .basis-box,
  .help-card {
    padding: 12px;
    border-radius: 16px;
  }

  .basis-box b,
  .basis-box a {
    font-size: 10px;
  }

  .faq {
    border-radius: 14px;
  }

  .faq button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 10px;
  }

  .checkout-page {
    width: min(100% - 16px, 390px);
  }

  .checkout-layout {
    display: block;
  }

  .checkout-main {
    gap: var(--space-element);
  }

  .checkout-head {
    padding: 16px;
    border-radius: 16px;
  }

  .checkout-head h1 {
    font-size: 28px;
  }

  .checkout-head p {
    font-size: 12px;
  }

  .checkout-steps {
    grid-template-columns: 0.82fr 0.75fr 1.43fr;
    gap: var(--space-part);
  }

  .checkout-step {
    min-height: 42px;
    padding: 7px 9px;
    border-radius: 14px;
    gap: 5px;
  }

  .checkout-step b {
    font-size: 10px;
  }

  .checkout-step span {
    font-size: 10px;
  }

  .cart-product {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: var(--space-element);
    align-items: start;
    padding: 10px;
    border-radius: 16px;
  }

  .cart-product img {
    height: 92px;
    border-radius: 12px;
  }

  .cart-product-copy span {
    font-size: 10px;
  }

  .cart-product-copy h2,
  .payment-panel h2 {
    font-size: 17px;
  }

  .cart-product-copy h2,
  .favorite-card h2 {
    font-size: 16px;
  }

  .cart-product-copy p {
    font-size: 10px;
  }

  .compact-meta b {
    min-height: 25px;
    font-size: 9px;
  }

  .cart-product-side {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    gap: var(--space-element);
  }

  .cart-product-side strong {
    justify-self: end;
    font-size: 18px;
  }

  .favorite-list {
    gap: var(--space-element);
  }

  .favorite-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: var(--space-element);
    align-items: start;
    padding: 10px;
    border-radius: 16px;
  }

  .favorite-card img {
    height: 92px;
    border-radius: 12px;
  }

  .favorite-card-copy > span {
    font-size: 10px;
  }

  .favorite-card h2 {
    font-size: 17px;
  }

  .favorite-card p {
    font-size: 10px;
  }

  .favorite-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .favorite-price {
    grid-column: 1 / -1;
    text-align: right;
    font-size: 18px;
  }

  .checkout-side {
    position: static;
    display: grid;
    gap: var(--space-element);
    margin-top: var(--space-block);
  }

  .payment-page-shell .checkout-side {
    display: none;
  }

  .payment-mobile-return {
    display: inline-flex;
    width: 100%;
    margin-top: var(--space-element);
  }

  .checkout-page .checkout-side .cart {
    display: grid;
  }

  .payment-panel {
    gap: var(--space-element);
    padding: 14px;
    border-radius: 16px;
  }

  .payment-method {
    min-height: 68px;
    padding: 13px;
    border-radius: 14px;
  }

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

  .payment-method b {
    font-size: 13px;
  }

  .payment-method small {
    font-size: 10px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: var(--space-element);
  }

  .help-card {
    order: 99;
  }

  .help-card h3 {
    font-size: 14px;
  }

  .footer-page {
    gap: var(--space-block);
  }

  .checkout-page .site-footer {
    margin-top: 78px;
  }

  .footer-variant,
  .footer-variant--nav,
  .footer-variant--cta,
  .footer-variant--legal {
    grid-template-columns: 1fr;
    gap: var(--space-element);
    padding: var(--space-element);
    border-radius: 16px;
  }

  .footer-links,
  .footer-legal-grid {
    grid-template-columns: 1fr;
    gap: var(--space-element);
  }

  .footer-brand b,
  .footer-legal-main b {
    font-size: 24px;
  }

  .footer-cta-copy h2 {
    font-size: 21px;
  }

  .footer-bottom {
    display: grid;
    font-size: 10px;
  }

  .eyebrow {
    min-height: 22px;
    padding: 0 8px;
    font-size: 9px;
  }

  .account-hero,
  .account-layout,
  .auth-layout,
  .not-found {
    grid-template-columns: 1fr;
  }

  .account-hero {
    gap: var(--space-element);
    margin-bottom: var(--space-block);
    padding: var(--space-element);
    border-radius: 16px;
  }

  .account-hero p,
  .auth-card > p,
  .empty-card p,
  .not-found p {
    font-size: 11px;
  }

  .account-actions,
  .empty-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-element);
  }

  .account-main {
    gap: 30px;
  }

  .order-detail,
  .orders-section,
  .profile-card,
  .auth-card,
  .auth-side,
  .empty-card,
  .not-found {
    padding: 14px;
    border-radius: 16px;
  }

  .order-head {
    display: grid;
    gap: var(--space-element);
  }

  .order-head h1,
  .order-head h2,
  .orders-section h2,
  .profile-card h2,
  .auth-side h2,
  .empty-card h2 {
    font-size: 20px;
  }

  .order-head h1 {
    margin-top: 10px;
    font-size: 20px;
  }

  .order-head p,
  .order-row span,
  .auth-note p {
    font-size: 10px;
  }

  .status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-element);
    margin-top: var(--space-element);
  }

  .status-strip div {
    min-height: 62px;
    padding: 10px;
    border-radius: 14px;
  }

  .status-strip b,
  .status-strip span {
    font-size: 10px;
  }

  .order-workspace {
    grid-template-columns: 1fr;
    gap: var(--space-element);
    margin-top: var(--space-element);
  }

  .order-workspace h3,
  .auth-note b {
    font-size: 13px;
  }

  .section-title-row {
    margin-bottom: var(--space-element);
  }

  .section-title-row a {
    font-size: 10px;
  }

  .order-row {
    grid-template-columns: 1fr;
    gap: var(--space-part);
    min-height: 0;
    padding: 12px;
    border-radius: 14px;
  }

  .order-row b {
    font-size: 12px;
  }

  .order-row strong {
    justify-self: start;
    font-size: 16px;
  }

  .profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 17px;
    font-size: 15px;
  }

  .auth-page,
  .not-found-page {
    width: min(100% - 16px, 390px);
  }

  .auth-card {
    gap: var(--space-element);
  }

  .auth-form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-element);
  }

  .auth-card--single .auth-form-grid {
    display: block;
  }

  .auth-form-grid .auth-form {
    padding: 12px;
    border-radius: 14px;
  }

  .auth-form h2,
  .auth-note--plain h2 {
    font-size: 17px;
  }

  .auth-tabs button {
    min-height: 34px;
    font-size: 11px;
  }

  .auth-form input {
    min-height: 40px;
    border-radius: 12px;
    font-size: 12px;
  }

  .auth-form .check-row span {
    font-size: 9px;
  }

  .compact-button {
    width: fit-content;
    flex: 0 0 auto;
  }

  .auth-visual {
    min-height: 170px;
    border-radius: 16px;
  }

  .auth-visual b {
    font-size: 22px;
  }

  .auth-visual span {
    width: 54px;
    height: 54px;
    border-width: 9px;
  }

  .empty-grid {
    grid-template-columns: 1fr;
    gap: var(--space-block);
    margin-top: var(--space-block);
  }

  .embedded-empty-state {
    margin-top: 30px;
  }

  .empty-card {
    min-height: 0;
  }

  .empty-grid--plain .empty-card {
    min-height: 0;
  }

  .empty-visual {
    height: 108px;
    border-radius: 16px;
  }

  .not-found {
    min-height: 0;
    gap: var(--space-element);
  }

  .not-found--links {
    grid-template-columns: 1fr;
  }

  .error-code {
    font-size: 64px;
  }

  .not-found h1 {
    font-size: 28px;
  }

  .not-found-visual {
    min-height: 210px;
  }

  .lost-card {
    width: 150px;
    height: 104px;
    border-radius: 18px;
  }

  .lost-card--one {
    top: 18px;
    right: 24px;
  }

  .lost-card--two {
    top: 82px;
    right: 116px;
  }

  .lost-lens {
    right: 24px;
    bottom: 20px;
    width: 86px;
    height: 86px;
    border-width: 13px;
  }

  .not-found-links {
    margin-top: var(--space-element);
  }

  .not-found-menu {
    gap: var(--space-element);
  }

  .not-found-menu a {
    min-height: 76px;
    padding: 12px;
    border-radius: 14px;
  }

  .not-found-menu b {
    font-size: 12px;
  }

  .home-page {
    width: 100%;
    padding-bottom: var(--space-block);
    --home-card-width: 176px;
  }

  .home-hero {
    width: min(370px, calc(100vw - 14px));
    min-height: 429px;
    padding: 0 14px 1px;
    border-radius: 22px 22px 0 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 52%, #eef4fb 73%, #eef4fb 100%),
      url("./home-assets/hero-mobile.webp") center top / 100% auto no-repeat;
  }

  .home-hero-copy {
    width: 100%;
    gap: 12px;
    padding-top: 238px;
  }

  .home-hero-title {
    width: 100%;
    max-width: none;
    font-size: 21px;
    line-height: 1.08;
    text-align: center;
  }

  .home-hero-title .desktop-only {
    display: none;
  }

  .desktop-inline {
    display: none;
  }

  .home-hero-title > span.home-subtitle {
    display: block;
    margin-top: 4px;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.12;
    white-space: normal;
  }

  .home-stats {
    gap: var(--space-element);
    max-width: none;
  }

  .home-stat {
    min-height: 60px;
    padding: 8px;
    border-radius: 14px;
  }

  .home-stat b {
    font-size: 18px;
    white-space: nowrap;
  }

  .home-stat span {
    margin-top: var(--space-part);
    font-size: 7.5px;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: var(--space-element);
    max-width: none;
  }

  .home-hero-actions .button {
    --button-dot-size: 18px;
    min-height: 46px;
    padding: 0 12px 0 16px;
    font-size: 14px;
  }

  .home-section {
    margin-top: var(--space-block);
  }

  .home-section-title {
    font-size: 26px;
    text-align: center;
  }

  .home-carousel {
    margin-top: var(--space-element);
  }

  .home-service-strip {
    width: 100vw;
    gap: var(--space-element);
    overflow-x: auto;
    padding: 0 max(8px, calc((100vw - 370px) / 2 + 2px)) var(--space-element);
    scroll-padding-left: max(8px, calc((100vw - 370px) / 2 + 2px));
    scroll-snap-type: x mandatory;
  }

  .home-service-card {
    grid-template-rows: 84px minmax(0, 1fr);
    width: 176px;
    min-height: 154px;
    flex: 0 0 176px;
    border-radius: 12px;
    scroll-snap-align: start;
  }

  .home-service-card img {
    height: 84px;
  }

  .home-service-copy {
    gap: 3px;
    padding: 4px 5px 5px;
  }

  .home-card-meta,
  .home-card-meta strong {
    font-size: 7px;
  }

  .home-service-card h3 {
    font-size: 8.5px;
    line-height: 1.1;
  }

  .home-service-card p {
    display: none;
  }

  .home-card-actions {
    grid-template-columns: minmax(0, 1fr) 19px 19px;
    gap: var(--space-part);
  }

  .home-card-actions .button {
    --button-border: 1px;
    --button-dot-size: 6px;
    min-height: 19px;
    padding: 0 5px 0 7px;
    font-size: 8px;
  }

  .home-icon-button {
    width: 19px;
    height: 19px;
    font-size: 10px;
  }

  .home-carousel-arrow {
    display: none;
  }

  .home-services-more {
    margin-top: var(--space-element);
  }

  .home-services-more .button {
    min-width: min(310px, calc(100vw - 32px));
    min-height: 44px;
    font-size: 15px;
  }

  .home-narrow {
    width: min(370px, calc(100vw - 14px));
  }

  .home-benefits-layout {
    display: block;
    min-height: 390px;
    margin-top: var(--space-element);
    padding-right: 112px;
  }

  .home-benefits-logo {
    position: absolute;
    top: 4px;
    right: 0;
    width: 103px;
    min-height: 358px;
    background-image: url("./home-assets/logo-column-mobile.webp");
  }

  .home-benefit-column {
    gap: var(--space-part);
  }

  .home-benefit-column + .home-benefit-column {
    margin-top: var(--space-element);
  }

  .home-benefit-card,
  .home-benefit-card--right {
    grid-template-columns: 70px minmax(0, 1fr);
    min-height: 70px;
    border-radius: 14px;
  }

  .home-benefit-card--right img {
    order: 0;
  }

  .home-benefit-card img {
    width: 70px;
    height: 70px;
  }

  .home-benefit-text {
    padding: 8px;
  }

  .home-benefit-text h3 {
    font-size: 12px;
  }

  .home-benefit-text p {
    margin-top: var(--space-part);
    font-size: 9px;
    line-height: 1.18;
  }

  .home-benefit-column:last-child .home-benefit-card:nth-child(n + 2) {
    display: none;
  }

  .home-work-grid {
    grid-template-columns: 1fr;
    gap: var(--space-element);
    margin-top: var(--space-element);
  }

  .home-work-card {
    grid-template-columns: minmax(0, 1fr) 155px;
    min-height: 88px;
    border-radius: 16px;
  }

  .home-work-text {
    padding: 10px;
  }

  .home-work-card h3 {
    font-size: 14px;
  }

  .home-work-card p {
    margin-top: var(--space-part);
    font-size: 9px;
    line-height: 1.22;
  }

  .home-cta {
    min-height: 83px;
    margin-top: var(--space-block);
    padding: 10px;
    border-radius: 15px;
  }

  .home-cta-copy {
    gap: var(--space-part);
    max-width: 220px;
    padding: 0;
  }

  .home-cta h2 {
    font-size: 14px;
  }

  .home-cta .button {
    min-width: 0;
    width: 178px;
    min-height: 28px;
    padding-left: 10px;
    font-size: 10px;
  }
}
