:root {
  --c-bg-top:      #F0F5FB;
  --c-bg-bottom:   #EBF4FB;
  --c-primary:     #2988FC;
  --c-primary-2:   #2780EF;
  --c-tg:          #13A1FE;
  --c-ink:         #0A1A37;
  --c-ink-2:       #2F415E;
  --c-muted:       #90AAC1;
  --c-label:       #6C8096;
  --c-placeholder: #B4B9BF;
  --c-field-ph:    #61809C;
  --c-addr:        #475874;
  --c-time:        #858D9B;
  --c-border:      #D5E3EF;
  --c-divider:     #D8E3EF;
  --c-ink-soft:    #7C868E;
  --c-input:       #FEFEFE;
  --c-card:        #FFFFFF;
  --c-search:      #E5EEF7;
  --c-active:      rgba(216,227,239,.5);
  --c-danger:      #960002;
  --c-white:       #FEFEFE;

  --r-pill: 1.375rem;
  --r-btn:  .75rem;
  --r-card: 1.75rem;

  --gutter:  1rem;
  --w-outer: 82.5rem;
  --w-inner: 70.875rem;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --root-max: 18px;
}

html { font-size: clamp(16px, 1.1111vw, var(--root-max)); }

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--c-ink);
  background: linear-gradient(180deg, var(--c-bg-top), var(--c-bg-bottom));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--w-outer); margin-inline: auto; }
@media (max-width: 1360px) { .container { padding-inline: var(--gutter); } }

.shell { flex: 1; display: flex; flex-direction: column; width: 100%; position: relative; z-index: 1; }
.account-center { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; padding: 2rem 0; }

.ico-person, .ico-search, .ico-cart, .ico-tg, .ico-chev, .ico-back, .ico-reload { flex: none; }
.ico-search { width: 1rem; height: 1rem; }
.ico-cart   { width: 1.125rem; height: 1.125rem; }
.ico-tg     { width: 1.375rem; height: 1.25rem; }
.ico-chev   { width: .75rem; height: .5rem; }
.ico-back   { width: 1.125rem; height: .6875rem; }
.ico-reload { width: .9375rem; height: .9375rem; }

.site-header { padding-top: 2.125rem; position: relative; z-index: 2; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 3.5rem; }
.site-header__left  { display: flex; align-items: center; gap: 2.5rem; }
.logo img           { height: 2.875rem; width: auto; }

.topnav { display: flex; align-items: center; gap: 1.75rem; }
.topnav__btn { display: inline-flex; align-items: center; height: 3.0625rem; padding: 0 1.5rem; background: var(--c-primary); color: var(--c-white); border-radius: var(--r-pill); font-weight: 600; font-size: .875rem; border: 0; }
.topnav__link { color: var(--c-ink-2); font-weight: 600; font-size: .875rem; white-space: nowrap; }
.topnav__link.is-muted { opacity: .45; cursor: default; }

.site-header__right { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: flex-end; }

.search { display: flex; align-items: center; gap: 1.125rem; flex: 1; max-width: 23.25rem; height: 3.5rem; padding: 0 1.375rem; background: var(--c-search); border: 1px solid var(--c-border); border-radius: var(--r-pill); }
.search input { flex: 1; border: 0; background: transparent; outline: none; font: 500 .875rem/1 var(--font); color: var(--c-ink); }
.search input::placeholder { color: var(--c-muted); }

.header-actions { display: flex; align-items: center; gap: 1.125rem; }

.lang { display: flex; align-items: center; gap: .75rem; background: none; border: 0; padding: 0; }
.lang:disabled { opacity: .5; cursor: default; }
.site-header__right .lang, .site-header__right .icon-btn--tg, .site-header__right .header-divider { display: none; }
.lang__flag { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: .125rem solid var(--c-primary); background: var(--c-muted); overflow: hidden; }
.lang__flag img { width: 100%; height: 100%; object-fit: cover; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 3.75rem; height: 3.5rem; border-radius: 1.25rem; background: var(--c-card); border: 1px solid var(--c-border); color: var(--c-ink-2); }
.icon-btn--tg { width: 3.5rem; height: 3.3125rem; border-radius: 2.0625rem; background: var(--c-tg); border: 0; color: #fff; }

.header-divider { width: 1px; height: 1.25rem; background: var(--c-muted); }

.user { display: flex; align-items: center; gap: .75rem; background: none; border: 0; padding: 0; }
.user__avatar { width: 3.125rem; height: 3.125rem; border-radius: 50%; border: .125rem solid var(--c-primary-2); background: var(--c-muted); color: #ECF4FB; display: inline-flex; align-items: center; justify-content: center; }
.user__avatar .ico-person { width: 1.125rem; height: 1.125rem; }

.chev { color: var(--c-primary-2); }

.breadcrumb { display: flex; align-items: center; justify-content: space-between; margin-top: 3.125rem; font-size: 1rem; }
.breadcrumb__trail { display: flex; align-items: center; gap: .5rem; color: var(--c-muted); }
.breadcrumb__trail a { color: var(--c-muted); }
.breadcrumb__trail .is-active { color: var(--c-primary); font-weight: 600; }
.breadcrumb__sep { color: var(--c-muted); }
.breadcrumb__back { display: inline-flex; align-items: center; gap: .625rem; color: var(--c-primary); font-weight: 500; }

.account { width: 100%; display: grid; grid-template-columns: 30.625rem minmax(0, 1fr); align-items: start; gap: 1.6875rem; min-height: 41.375rem; max-width: var(--w-inner); margin: 0; }
@media (max-width: 1174px) { .account { padding-inline: var(--gutter); } }

.profile-head { display: flex; align-items: center; gap: 1.25rem; }
.profile-head__name { font-weight: 700; font-size: 1.625rem; color: var(--c-ink); }

.account-nav { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 3.125rem; }
.account-nav__item { display: flex; align-items: center; gap: 1rem; height: 3.875rem; padding: 0 1.25rem; border-radius: var(--r-btn); color: var(--c-ink); font-weight: 500; font-size: 1.125rem; }
.account-nav__item svg { width: 1.25rem; height: 1.25rem; flex: none; color: currentColor; }
.account-nav__item.is-active { background: var(--c-active); color: var(--c-primary); font-weight: 600; }
.account-nav__item.is-danger { color: var(--c-danger); }

.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--c-muted); color: #ECF4FB; border: .125rem solid var(--c-primary-2); flex: none; }
.avatar--md { width: 5.125rem; height: 5.125rem; }
.avatar--md .ico-person { width: 2.25rem; height: 2.25rem; }
.avatar--lg { width: 6.875rem; height: 6.875rem; }
.avatar--lg .ico-person { width: 3.25rem; height: 3.25rem; }

.profile-card { background: var(--c-card); border-radius: var(--r-card); padding: 1.875rem; display: flex; flex-direction: column; gap: 1.875rem; }
.profile-card__title { margin: 0; font-weight: 700; font-size: 1.75rem; color: var(--c-ink); }

.profile-form { display: flex; flex-direction: column; gap: 1.875rem; }
.field { display: grid; grid-template-columns: 5.625rem minmax(0, 1fr); align-items: center; gap: 1.25rem; padding-left: .625rem; }
.field__label { color: var(--c-label); font-weight: 500; font-size: 1rem; }

.control { position: relative; }
.input { width: 100%; height: 3.8125rem; padding: 0 1.25rem; background: var(--c-input); border: 1px solid var(--c-border); border-radius: var(--r-btn); font: 600 1rem/1 var(--font); color: var(--c-ink); outline: none; appearance: none; -webkit-appearance: none; }
.input::placeholder { color: var(--c-placeholder); font-weight: 600; }
.input:focus { border-color: var(--c-primary); }
.control--select .input { padding-right: 2.875rem; cursor: pointer; }
.control--select .chev { position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--c-label); pointer-events: none; }

.field--avatar { align-items: center; }
.avatar-row { display: flex; align-items: center; gap: 1.625rem; min-height: 10.375rem; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; height: 3.3125rem; padding: 0 1.875rem; border-radius: var(--r-btn); border: 1px solid var(--c-primary); color: var(--c-primary); font-weight: 700; font-size: 1rem; background: transparent; white-space: nowrap; }
.btn-primary { display: flex; align-items: center; justify-content: center; height: 3.875rem; width: 100%; border: 0; border-radius: var(--r-btn); background: var(--c-primary); color: #fff; font-weight: 600; font-size: 1.125rem; text-decoration: none; cursor: pointer; }

.order-list { display: flex; flex-direction: column; gap: 1.875rem; }
.order-item { display: flex; align-items: center; gap: 1rem; }
.order-item__thumb { width: 5.5625rem; height: 5.5625rem; border-radius: .5625rem; background: var(--c-muted); object-fit: cover; flex: none; }
.order-item__body { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; padding: .25rem 0; }
.order-item__top { display: flex; flex-direction: column; gap: .375rem; }
.order-item__row { display: flex; align-items: center; justify-content: space-between; gap: .625rem; }
.order-item__name { font-weight: 700; font-size: 1.125rem; color: var(--c-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-item__price { font-weight: 600; font-size: 1.125rem; color: var(--c-ink); white-space: nowrap; }
.order-item__addr { font-weight: 500; font-size: .75rem; color: var(--c-addr); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-item__meta { display: flex; align-items: center; justify-content: space-between; font-size: .875rem; }
.order-item__specs { display: flex; gap: .75rem; font-weight: 600; color: var(--c-ink); }
.order-item__when { display: flex; gap: .375rem; font-weight: 500; }
.order-item__when .t { color: var(--c-time); }
.order-item__when .d { color: var(--c-ink); }
.order-badge { display: inline-block; margin-left: .5rem; padding: .125rem .5rem; border-radius: 1rem; background: #FFF3E0; color: #E08600; font-size: .6875rem; font-weight: 600; vertical-align: middle; }
.order-item__actions { display: flex; gap: .5rem; margin-top: .75rem; }
.order-item__actions form { margin: 0; }
.order-btn { display: inline-flex; align-items: center; justify-content: center; height: 2.25rem; padding: 0 1rem; border: 0; border-radius: var(--r-btn); font-weight: 600; font-size: .8125rem; cursor: pointer; text-decoration: none; }
.order-btn--pay { background: var(--c-primary); color: #fff; }
.order-btn--cancel { background: #FBEAEA; color: #D94141; }
.order-btn--view { background: #EBF3FA; color: var(--c-primary); }

.pw-form { display: contents; }
.pw-group { display: flex; flex-direction: column; gap: .625rem; }
.pw-input { width: 100%; height: 3.8125rem; padding: 0 1.25rem; background: var(--c-input); border: 1px solid var(--c-border); border-radius: var(--r-btn); font: 400 1rem/1 var(--font); color: var(--c-ink); outline: none; }
.pw-input::placeholder { color: var(--c-field-ph); }
.pw-input:focus { border-color: var(--c-primary); }
.divider-h { height: .125rem; border-radius: .375rem; background: var(--c-divider); border: 0; margin: 0; }
.section-title { margin: 0; font-weight: 600; font-size: 1.375rem; color: var(--c-ink); }
.twofa-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-left: .625rem; }
.twofa-row__text { color: var(--c-label); font-weight: 500; font-size: 1rem; }

.screen { flex: 1; display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; }

.auth-card { width: 26.5rem; max-width: 100%; background: var(--c-card); border-radius: var(--r-card); padding: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.auth-card__head { display: flex; flex-direction: column; gap: .375rem; }
.auth-card__title { margin: 0; font-weight: 700; font-size: 1.75rem; color: var(--c-ink); }
.auth-card__sub { font-weight: 400; font-size: 1rem; color: var(--c-label); }

.auth-fields { display: flex; flex-direction: column; gap: .625rem; }
.auth-input { width: 100%; height: 2.9375rem; padding: 0 .875rem; background: var(--c-input); border: 1px solid var(--c-border); border-radius: var(--r-btn); font: 400 .875rem/1 var(--font); color: var(--c-ink); outline: none; appearance: none; -webkit-appearance: none; }
.auth-input::placeholder { color: var(--c-field-ph); }
.auth-input:focus { border-color: var(--c-primary); }
.auth-control { position: relative; }
.auth-control .auth-input { padding-right: 2.25rem; cursor: pointer; }
.auth-control .chev { position: absolute; right: .875rem; top: 50%; transform: translateY(-50%); color: var(--c-field-ph); pointer-events: none; }
.auth-hint { margin-top: .25rem; padding-left: .125rem; font-size: .75rem; color: var(--c-label); }

.captcha { display: flex; flex-direction: column; gap: .375rem; width: 15.75rem; }
.captcha__img { width: 12.3125rem; height: 4.5rem; border: 1px solid #101010; border-radius: .9375rem; object-fit: cover; background: #fff; }
.captcha__row { display: flex; gap: .375rem; }
.captcha__row .auth-input { flex: 1; }
.captcha__btn { width: 3.0625rem; height: 2.9375rem; flex: none; background: var(--c-primary); border: 0; border-radius: .6875rem; display: inline-flex; align-items: center; justify-content: center; color: #fff; }

.auth-submit { height: 2.9375rem; width: 100%; border: 0; border-radius: var(--r-btn); background: var(--c-primary); color: #fff; font-weight: 600; font-size: 1rem; }

.auth-foot { display: flex; flex-direction: column; align-items: center; gap: .625rem; font-size: .875rem; color: var(--c-label); }
.auth-foot__row { display: flex; gap: .375rem; }
.auth-foot a { color: var(--c-primary); font-weight: 500; }
.auth-foot .muted { color: var(--c-label); font-weight: 400; }
.auth-tg { display: flex; justify-content: center; min-height: 3rem; }
.auth-tg-btn { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; cursor: pointer; }
.auth-tg-btn .ico-tg-btn { width: 1.25rem; height: 1.25rem; flex: none; }
.auth-note { margin: 0; text-align: center; font-size: .875rem; line-height: 1.5; color: var(--c-label); }

.notfound { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; max-width: 37.375rem; }
.nf-visual { position: relative; width: 27.8125rem; max-width: 100%; height: 21.625rem; }
.nf-visual__digits { position: absolute; top: 0; left: 0; width: 100%; text-align: center; font-weight: 900; font-size: 12.5rem; line-height: 1.21; color: var(--c-ink); }
.nf-visual__img { position: absolute; left: 50%; bottom: 0; transform: translateX(-46%); width: 23rem; height: auto; }
.notfound__text { display: flex; flex-direction: column; gap: .375rem; }
.notfound__title { margin: 0; font-weight: 700; font-size: 3.625rem; line-height: 1.1; color: var(--c-ink); }
.notfound__lead { font-weight: 400; font-size: 1rem; color: var(--c-ink-soft); }
.notfound__btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 3.375rem; border: 0; border-radius: var(--r-btn); background: var(--c-primary); color: #fff; font-weight: 700; font-size: 1.125rem; }

.catalog { width: 100%; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.banners { display: flex; gap: 1.5rem; }
.banner { flex: 1; height: 20.375rem; border-radius: 1.25rem; overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner a { display: block; width: 100%; height: 100%; }

.catalog__row { display: grid; grid-template-columns: 19.875rem minmax(0, 1fr); gap: 1.0625rem; margin-top: 1.5rem; align-items: start; }

.filters { background: var(--c-card); border-radius: var(--r-card); padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 1.5rem; }
.filters__title { font-weight: 600; font-size: 1.125rem; color: var(--c-ink); }
.filter-list { display: flex; flex-direction: column; gap: .5rem; }
.filter-select { display: flex; align-items: center; justify-content: space-between; gap: .875rem; height: 2.6875rem; padding: 0 .875rem; background: var(--c-input); border: 1px solid var(--c-border); border-radius: var(--r-btn); cursor: pointer; }
.filter-select__l { display: flex; align-items: center; gap: .875rem; color: var(--c-field-ph); font-weight: 500; font-size: .875rem; }
.filter-ico { width: .875rem; height: .875rem; flex: none; }
.filter-group { display: flex; flex-direction: column; gap: .5rem; }
.filter-head { display: flex; align-items: center; gap: .375rem; font-weight: 600; font-size: .875rem; color: var(--c-ink); }
.range { display: flex; gap: .5rem; }
.range input { width: 100%; min-width: 0; height: 2.5rem; padding: 0 .875rem; background: var(--c-input); border: 1px solid var(--c-border); border-radius: var(--r-btn); font: 500 .75rem/1 var(--font); color: var(--c-ink); outline: none; }
.range input::placeholder { color: var(--c-field-ph); }
.range input:focus { border-color: var(--c-primary); }
.checks { display: flex; flex-direction: column; gap: .5rem; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .75rem; color: var(--c-ink); cursor: pointer; }
.check__box { width: 1.25rem; height: 1.25rem; border-radius: .125rem; background: #F0F5FB; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.check__box.on { background: var(--c-primary); }
.filters__form { display: contents; }
.filter-select { position: relative; }
.filter-select select { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 2.25rem 0 2.625rem; appearance: none; -webkit-appearance: none; background: transparent; border: 0; outline: none; font: 500 .875rem var(--font); color: var(--c-ink); cursor: pointer; }
.filter-select .filter-ico, .filter-select .chev { position: relative; z-index: 1; pointer-events: none; }
.filter-select .chev { margin-left: auto; }
.filter-select:focus-within { border-color: var(--c-primary); }
.check__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.check__box svg { opacity: 0; }
.check__input:checked + .check__box { background: var(--c-primary); }
.check__input:checked + .check__box svg { opacity: 1; }
.filter-actions { display: flex; flex-direction: column; gap: .5rem; }
.btn-apply { height: 2.75rem; border: 0; border-radius: var(--r-btn); background: var(--c-primary); color: #fff; font: 700 .9375rem var(--font); cursor: pointer; }
.btn-apply:hover { filter: brightness(1.05); }
.btn-reset { display: flex; align-items: center; justify-content: center; height: 2.75rem; border-radius: var(--r-btn); background: var(--c-input); color: var(--c-field-ph); font: 600 .875rem var(--font); text-decoration: none; }

.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.product-card { background: var(--c-card); border-radius: var(--r-card); padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.product-card__img { display: block; height: 11.75rem; background: var(--c-muted); border-radius: .875rem; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__info { display: flex; flex-direction: column; gap: 1rem; }
.product-card__head { display: flex; flex-direction: column; gap: .125rem; }
.product-card__name { font-weight: 600; font-size: 1rem; color: var(--c-ink); }
.product-card__type { font-weight: 500; font-size: .75rem; color: var(--c-ink); }
.product-card__price { font-size: 1rem; color: var(--c-ink); }
.product-card__price .from { font-weight: 500; }
.product-card__price .val { font-weight: 600; }
.product-card__actions { display: flex; gap: .5rem; }
.btn-buy { flex: 1; height: 2.5rem; border: 0; border-radius: var(--r-btn); background: var(--c-primary); color: #fff; font-weight: 600; font-size: .875rem; }
.btn-icon { width: 2.5rem; height: 2.5rem; flex: none; background: var(--c-input); border: 1px solid var(--c-border); border-radius: var(--r-btn); display: inline-flex; align-items: center; justify-content: center; color: var(--c-primary); }
.btn-icon svg { width: 1rem; height: 1rem; }

@media (max-width: 1120px) {
  .catalog__row { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .banners { flex-direction: column; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.product { width: 100%; padding-top: 2.5rem; }
.product__grid { display: grid; grid-template-columns: 31.375rem minmax(0, 1fr); gap: 2.5rem; align-items: start; margin-top: 1.5rem; }

.gallery { display: flex; flex-direction: column; gap: 1.25rem; }
.gallery__main { position: relative; height: 29.9375rem; background: var(--c-muted); border-radius: 1.5625rem; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 2.8125rem; height: 2.8125rem; border: 0; border-radius: 50%; background: #fff; color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(10, 26, 55, .12); cursor: pointer; }
.gallery__arrow.l { left: .75rem; }
.gallery__arrow.r { right: .75rem; }
.gallery__arrow svg { width: .8125rem; height: .8125rem; }
.gallery__thumbs { display: flex; gap: .875rem; }
.gallery__thumb { flex: 1; height: 5.5rem; border-radius: .6875rem; overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.pcard { height: 36.6875rem; border: 1px solid var(--c-border); border-radius: .75rem; background: var(--c-input); padding: 1.875rem 1rem 1.875rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.pcard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.pcard__title { margin: 0; font-weight: 700; font-size: 2.5rem; color: var(--c-ink); }
.pcard__rating { display: flex; align-items: center; gap: .5rem; color: var(--c-addr); font-weight: 500; font-size: 1.125rem; white-space: nowrap; }
.pcard__rating .star { width: 1.25rem; height: 1.2rem; color: var(--c-primary); }
.pcard__rating .dot { width: .3125rem; height: .3125rem; border-radius: 50%; background: var(--c-addr); flex: none; }
.pcard__filters { display: flex; gap: .625rem; }
.vselect { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: .625rem; height: 2.9375rem; padding: 0 1.25rem; background: var(--c-input); border: 1px solid var(--c-border); border-radius: .75rem; color: var(--c-field-ph); font-weight: 500; font-size: .875rem; cursor: pointer; }
.variants-area { position: relative; flex: 1; min-height: 0; }
.variants { height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; padding-right: .75rem; }
.variants-fade { position: absolute; left: 0; right: .75rem; bottom: 0; height: 4.25rem; background: linear-gradient(rgba(254, 254, 254, 0), #FEFEFE); pointer-events: none; }
.variant { display: flex; align-items: center; gap: 1.25rem; min-height: 4.8125rem; border-radius: .75rem; padding: 0 1.25rem; }
.variant.sel { background: rgba(216, 227, 239, .3); }
.variant__loc { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.variant__district { font-weight: 600; font-size: 1rem; color: var(--c-ink); }
.variant__city { font-weight: 400; font-size: .875rem; color: var(--c-field-ph); }
.variant__col { font-weight: 600; font-size: 1rem; color: var(--c-ink); text-align: center; white-space: nowrap; }
.variant__price { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 2.8125rem; padding: 0 1.875rem; border: 0; border-radius: .75rem; background: var(--c-primary); color: #fff; font-weight: 700; font-size: .875rem; text-decoration: none; cursor: pointer; }
.form-error { margin: 0; text-align: center; font-size: .875rem; color: #d94141; }
.variants-empty { margin: 0; padding: 1.75rem 0; text-align: center; color: var(--c-field-ph); font-weight: 500; }
.product-card__price .val--muted { color: var(--c-field-ph); font-weight: 500; }

.product-desc { display: flex; flex-direction: column; gap: 1.25rem; }
.product-desc__title, .reviews__title { margin: 0; font-weight: 700; font-size: 1.75rem; color: var(--c-ink); }
.product-desc__text { margin: 0; font-weight: 400; font-size: 1.125rem; line-height: 1.3; color: var(--c-ink); }

.reviews { display: flex; flex-direction: column; gap: 1.25rem; }
.reviews__head { display: flex; align-items: center; justify-content: space-between; }
.reviews__all { color: var(--c-primary); font-weight: 500; font-size: 1rem; }
.reviews__list { display: flex; flex-direction: column; gap: 1.25rem; }
.review { border: 1px solid var(--c-border); border-radius: .75rem; background: var(--c-input); padding: 1.875rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review__who { display: flex; align-items: baseline; gap: .5rem; min-width: 0; }
.review__name { font-weight: 600; font-size: 1rem; color: var(--c-ink); }
.review__loc { font-weight: 400; font-size: .875rem; color: var(--c-field-ph); }
.review__meta { display: flex; align-items: center; gap: .625rem; flex: none; }
.review__qd { font-weight: 400; font-size: .875rem; color: var(--c-field-ph); white-space: nowrap; }
.review__text { margin: 0; font-weight: 400; font-size: 1rem; line-height: 1.35; color: var(--c-ink); }

.stars { display: inline-flex; gap: .125rem; }
.star { width: 1.1rem; height: 1.05rem; color: var(--c-divider); flex: none; }
.star.on { color: var(--c-primary); }

@media (max-width: 960px) {
  .product__grid { grid-template-columns: 1fr; }
  .pcard { height: auto; }
  .variants { max-height: 28rem; }
}

.checkout-center { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; padding: 2rem 0; }
.checkout-inner { display: flex; flex-direction: column; gap: 2rem; }
.checkout__title { margin: 0; font-weight: 700; font-size: 3.9375rem; line-height: 1.1; color: var(--c-ink); }

.stepper { display: flex; align-items: center; gap: 1rem; }
.step { display: flex; align-items: center; gap: 1rem; flex: none; }
.step__dot { width: 3rem; height: 3rem; border-radius: 50%; background: var(--c-divider); color: var(--c-label); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.step__dot svg { width: 1.125rem; height: 1.125rem; }
.step__label { font-weight: 600; font-size: 1rem; color: var(--c-label); white-space: nowrap; }
.step.active .step__dot { background: var(--c-primary); color: #EDF4FB; }
.step.active .step__label { color: var(--c-ink); }
.step.done .step__dot { background: var(--c-primary); color: #EDF4FB; }
.step.done .step__label { color: var(--c-ink); }
.step__line { flex: 1; height: .25rem; border-radius: .375rem; background: var(--c-divider); }
.step__line.done { background: var(--c-primary); }

.order-card { width: 30.625rem; max-width: 100%; margin: 0 auto; background: var(--c-card); border-radius: var(--r-card); padding: 1.875rem; display: flex; flex-direction: column; gap: 1.5rem; }
.order-card__head { display: flex; align-items: center; justify-content: space-between; }
.order-card__title { margin: 0; font-weight: 700; font-size: 1.75rem; color: var(--c-ink); }
.order-card__clear { background: none; border: 0; padding: 0; color: var(--c-field-ph); display: inline-flex; cursor: pointer; }
.order-card__clear svg { width: .9375rem; height: .9375rem; }

.cart-item { display: flex; gap: 1rem; }
.cart-item__img { width: 6.5rem; height: 6.5rem; border-radius: .5625rem; background: var(--c-muted); overflow: hidden; flex: none; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: .875rem; }
.cart-item__top { display: flex; flex-direction: column; gap: .375rem; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: .625rem; }
.cart-item__name { font-weight: 600; font-size: 1.125rem; color: var(--c-ink); }
.cart-item__price { font-weight: 600; font-size: 1.125rem; color: var(--c-ink); white-space: nowrap; }
.cart-item__addr { font-weight: 400; font-size: .75rem; color: var(--c-addr); }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; gap: .625rem; }
.cart-item__specs { display: flex; gap: .75rem; font-weight: 600; font-size: .875rem; color: var(--c-ink); }
.cart-item__ctrl { display: flex; align-items: center; gap: .5rem; }
.qty { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--c-border); border-radius: .5rem; padding: .125rem; }
.qty button { width: 1.875rem; height: 1.75rem; border: 0; border-radius: .4375rem; background: #EBF1F7; color: var(--c-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.qty button svg { width: .625rem; height: .625rem; }
.qty span { min-width: 1rem; text-align: center; font-weight: 600; font-size: .875rem; color: var(--c-ink); }
.cart-item__del { width: 2.125rem; height: 2rem; border: 1px solid var(--c-border); border-radius: .5rem; background: var(--c-input); color: var(--c-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cart-item__del svg { width: .875rem; height: 1rem; }

.promo { display: flex; gap: .375rem; }
.promo input { flex: 1; min-width: 0; height: 3.375rem; padding: 0 1rem; background: var(--c-input); border: 1px solid var(--c-border); border-radius: var(--r-btn); font: 400 .875rem/1 var(--font); color: var(--c-ink); outline: none; }
.promo input::placeholder { color: var(--c-field-ph); }
.promo__apply { flex: none; width: 6.875rem; height: 3.375rem; border: 0; border-radius: .6875rem; background: #EBF3FA; color: var(--c-muted); font-weight: 500; font-size: .875rem; cursor: pointer; }

.sum { display: flex; flex-direction: column; gap: .875rem; }
.sum__row { display: flex; align-items: center; justify-content: space-between; font-size: 1rem; }
.sum__row .k { font-weight: 400; color: var(--c-addr); }
.sum__row .v { font-weight: 500; color: var(--c-ink); }
.order-total { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1.375rem; color: var(--c-ink); }
.order-card__submit { display: flex; align-items: center; justify-content: center; height: 3.375rem; border: 0; border-radius: var(--r-btn); background: var(--c-primary); color: #fff; font-weight: 700; font-size: 1.125rem; text-decoration: none; cursor: pointer; }

@media (max-width: 720px) {
  .checkout__title { font-size: 2.5rem; }
  .step__label { display: none; }
}

.pay-card { width: 36.25rem; max-width: 100%; margin: 0 auto; background: var(--c-card); border-radius: var(--r-card); padding: 1.875rem; display: flex; flex-direction: column; gap: 1.5rem; }
.pay-card__title { margin: 0; font-weight: 700; font-size: 1.75rem; color: var(--c-ink); }
.pay-list { display: flex; flex-direction: column; gap: .5rem; }
.pay-opt { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid transparent; border-radius: 1rem; cursor: pointer; }
.pay-radio { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt .radio { width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 2px solid var(--c-border); flex: none; display: inline-flex; align-items: center; justify-content: center; }
.pay-opt .radio::after { content: ""; width: .625rem; height: .625rem; border-radius: 50%; background: var(--c-primary); transform: scale(0); }
.pay-opt:has(.pay-radio:checked) { background: rgba(41, 136, 252, .08); border-color: rgba(41, 136, 252, .35); }
.pay-opt:has(.pay-radio:checked) .radio { border-color: var(--c-primary); }
.pay-opt:has(.pay-radio:checked) .radio::after { transform: scale(1); }
.coin-img { width: 2.25rem; height: 2.25rem; border-radius: 50%; flex: none; display: block; }
.pay-opt__name { font-weight: 600; font-size: 1.0625rem; color: var(--c-ink); }

.receipt { width: 100%; padding-top: 2.5rem; }
.receipt__head { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.receipt__title { margin: 0; font-weight: 700; font-size: 3.9375rem; line-height: 1.05; color: var(--c-ink); }
.receipt__sub { display: flex; align-items: center; gap: 1rem; }
.receipt__date { font-weight: 400; font-size: 1rem; color: var(--c-label); }
.badge-paid { display: inline-flex; align-items: center; height: 1.75rem; padding: 0 .875rem; border-radius: .5rem; background: rgba(58, 167, 88, .15); color: #2E9E54; font-weight: 500; font-size: .875rem; }
.receipt .stepper { margin-top: 2rem; }

.receipt-card { width: 51.25rem; max-width: 100%; margin: 2.5rem auto 0; background: var(--c-card); border-radius: var(--r-card); padding: 1.875rem; display: flex; flex-direction: column; gap: 1.5rem; }
.receipt-card__title { margin: 0; font-weight: 700; font-size: 1.75rem; color: var(--c-ink); }
.info-row { display: flex; align-items: center; gap: 1rem; }
.icon-circle { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-circle svg { width: 1.25rem; height: 1.25rem; }
.info-row__text { font-weight: 500; font-size: 1.0625rem; color: var(--c-ink); }

.gallery2 { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gallery2__img { aspect-ratio: 522 / 553; border-radius: 1rem; overflow: hidden; background: var(--c-muted); }
.gallery2__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery2__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 2.8125rem; height: 2.8125rem; border: 0; border-radius: 50%; background: #fff; color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(10, 26, 55, .12); cursor: pointer; }
.gallery2__arrow.l { left: -1.375rem; }
.gallery2__arrow.r { right: -1.375rem; }
.gallery2__arrow svg { width: .8125rem; height: .8125rem; }

.recv-desc { display: flex; flex-direction: column; gap: .5rem; }
.recv-desc__title { margin: 0; font-weight: 700; font-size: 1.25rem; color: var(--c-ink); }
.recv-desc__text { margin: 0; font-weight: 400; font-size: 1rem; line-height: 1.4; color: var(--c-ink); }

.crypto-card { width: 30.625rem; max-width: 100%; margin: 0 auto; background: var(--c-card); border-radius: var(--r-card); padding: 1.875rem; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.qr { position: relative; width: 17.5rem; height: 17.5rem; }
.qr__code { width: 100%; height: 100%; display: block; border-radius: .5rem; }
.qr__ball { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 4rem; height: 4rem; padding: .25rem; background: #fff; border-radius: 50%; }
.qr__ball svg { width: 100%; height: 100%; display: block; }
.crypto__amount-wrap, .crypto__addr-wrap { width: 100%; text-align: center; display: flex; flex-direction: column; gap: .25rem; }
.crypto__label { font-weight: 400; font-size: 1rem; color: var(--c-label); }
.crypto__amount { font-weight: 700; font-size: 1.75rem; color: var(--c-ink); word-break: break-all; }
.crypto__addr { font-weight: 500; font-size: 1.0625rem; color: var(--c-ink); word-break: break-all; }
.crypto__copy { width: 100%; height: 3.375rem; border: 0; border-radius: var(--r-btn); background: #EBF3FA; color: var(--c-primary); font-weight: 700; font-size: 1rem; cursor: pointer; }
.crypto__value-row { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; max-width: 100%; }
.copy-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; padding: 0; border: 0; border-radius: .5rem; background: transparent; color: var(--c-field-ph); cursor: pointer; transition: color .15s, background .15s; }
.copy-ico:hover { color: var(--c-primary); background: #EBF3FA; }
.copy-ico svg { width: 1.0625rem; height: 1.0625rem; }
.copy-ico__check { display: none; }
.copy-ico.is-copied { color: #1DA167; }
.copy-ico.is-copied .copy-ico__copy { display: none; }
.copy-ico.is-copied .copy-ico__check { display: block; }
.crypto__status { width: 100%; display: flex; align-items: center; justify-content: space-between; height: 3.375rem; padding: 0 1.25rem; border-radius: var(--r-btn); background: rgba(39, 165, 142, .12); color: #27A58E; font-weight: 500; font-size: 1rem; }

.modal-overlay { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(10, 26, 55, .45); }
.modal { position: relative; width: 39.6875rem; max-width: 100%; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 1.75rem; padding: 2.5rem; }
.modal__close { position: absolute; top: 1.875rem; right: 1.875rem; width: 1.75rem; height: 1.75rem; border: 0; background: none; padding: 0; color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.modal__close svg { width: 1.5rem; height: 1.5rem; }
.modal__title { margin: 0; font-weight: 700; font-size: 2rem; color: var(--c-ink); }

.rv-modal { display: flex; flex-direction: column; gap: 1.5rem; }
.rv-product { display: flex; gap: 1.25rem; align-items: flex-start; }
.rv-product__img { width: 7rem; height: 7rem; border-radius: 1rem; overflow: hidden; background: var(--c-muted); flex: none; }
.rv-product__img img { width: 100%; height: 100%; object-fit: cover; }
.rv-product__info { display: flex; flex-direction: column; gap: .375rem; padding-top: .25rem; }
.rv-product__name { font-weight: 700; font-size: 1.375rem; color: var(--c-ink); }
.rv-product__type { font-weight: 400; font-size: 1rem; color: var(--c-label); }
.rv-product__badge { align-self: flex-start; margin-top: .25rem; padding: .25rem .75rem; border-radius: .5rem; background: #EBF3FA; color: var(--c-ink); font-weight: 500; font-size: .875rem; }
.rv-loc { display: flex; align-items: center; gap: 1rem; }
.rv-loc__k { font-weight: 400; font-size: 1.0625rem; color: var(--c-label); }
.rv-loc__v { font-weight: 600; font-size: 1.0625rem; color: var(--c-ink); }
.rv-rate { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: .25rem 0; }
.rv-rate .stars { gap: .5rem; }
.rv-rate .star { width: 2.75rem; height: 2.625rem; }
.rv-rate__label { font-weight: 400; font-size: 1rem; color: var(--c-label); }
.rv-text textarea { width: 100%; min-height: 10rem; resize: vertical; padding: 1.125rem 1.25rem; background: var(--c-input); border: 1px solid var(--c-border); border-radius: 1rem; font: 400 1rem/1.4 var(--font); color: var(--c-ink); outline: none; }
.rv-text textarea::placeholder { color: var(--c-field-ph); }
.rv-text textarea:focus { border-color: var(--c-primary); }
.rv-text__count { display: block; text-align: right; margin-top: .5rem; font-size: .875rem; color: var(--c-field-ph); }

.rv-ok { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; padding: 2rem 1rem; }
.rv-ok__img { width: 18rem; max-width: 72%; height: auto; margin-bottom: 1rem; }
.rv-ok__title { margin: 0; font-weight: 700; font-size: 2rem; color: var(--c-ink); }
.rv-ok__text { margin: 0; font-weight: 400; font-size: 1.0625rem; color: var(--c-label); }

.hero { position: fixed; left: 0; right: 0; bottom: 0; height: clamp(220px, 22vw, 380px); background: url('../img/shop/hero-landscape.webp') center bottom / cover no-repeat; z-index: 0; pointer-events: none; }
body.is-scroll .hero { position: relative; height: clamp(240px, 24vw, 420px); margin-top: 1.5rem; }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 70%; background: linear-gradient(180deg, var(--c-bg-bottom), rgba(240,245,251,0)); }

@media (max-width: 920px) {
  .account { grid-template-columns: 1fr; align-items: stretch; gap: 2rem; }
  .account-nav { margin-top: 1.75rem; }
  .search { max-width: none; }
  .topnav__link { display: none; }
}
@media (max-width: 560px) {
  .site-header__inner { flex-wrap: wrap; gap: 1rem; }
  .site-header__right { order: 3; flex-basis: 100%; }
  .field { grid-template-columns: 1fr; gap: .5rem; padding-left: 0; }
  .order-item__addr { white-space: normal; }
}
