@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/b6461f1a0213_92zPtBhPNqw79Ij1E865zBUv7myjJTVBNIg.woff2") format("woff2");
}

@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/8eb1cce15ab8_92zPtBhPNqw79Ij1E865zBUv7myRJTVBNIg.woff2") format("woff2");
}

@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/jost-600.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }

html { scrollbar-width: thin; scrollbar-color: #0c1430 transparent; }
*::-webkit-scrollbar { width: 3px; height: 3px; }
*::-webkit-scrollbar-thumb { background: #0c1430; border-radius: 99px; }

body {
  margin: 0;
  background: #f6f3ee;
  color: #1c1a17;
  font-family: Outfit, sans-serif;
}

button, input, a { font-family: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid #efeae3;
}

.sf-top img { width: 142px; height: auto; display: block; }

.sf-tools { display: flex; align-items: center; gap: 14px; }

.sf-tools a {
  color: #1c1a17;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.sf-bag { position: relative; display: grid; place-items: center; width: 32px; height: 32px; }

.sf-bag span {
  position: absolute;
  top: -2px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #1c1a17;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.sf-page {
  width: min(980px, calc(100% - 24px));
  margin: 18px auto 40px;
}

.sf-layout {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.sf-nav {
  display: grid;
  gap: 4px;
  position: sticky;
  top: 12px;
}

.sf-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: #5c564f;
  text-decoration: none;
  font-size: 14px;
}

.sf-nav a.is-on {
  background: #fff;
  color: #1c1a17;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #ece7e0;
}

.sf-phase {
  margin: 12px 0 2px;
  padding: 0 12px;
  color: #8a847c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-nav .sf-phase:first-child { margin-top: 0; }

.sf-phase-title {
  margin: 14px 0 0;
  color: #8a847c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-phase-title:first-child { margin-top: 0; }

.sf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.sf-hit {
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.sf-hit img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: #f6f3ee;
}

.sf-hit strong { font-size: 13px; font-weight: 500; line-height: 1.3; }
.sf-hit em { font-style: normal; font-size: 13px; font-weight: 600; }

.sf-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }

.sf-points li {
  padding: 10px 12px;
  border: 1px solid #efeae3;
  border-radius: 10px;
  font-size: 14px;
}

.sf-points strong { display: block; margin-bottom: 2px; }
.sf-points span { color: #6f6a64; }

.sf-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.sf-table th, .sf-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid #f3efe9; }
.sf-table th { color: #8a847c; font-size: 12px; font-weight: 600; }

.sf-faq { border-top: 1px solid #f3efe9; }
.sf-faq summary { cursor: pointer; padding: 10px 0; font-size: 14px; font-weight: 500; }
.sf-faq p { margin: 0 0 10px; color: #5c564f; font-size: 14px; line-height: 1.45; }

.sf-card, .sf-panel {
  background: #fff;
  border: 1px solid #ece7e0;
  border-radius: 2px;
}

.sf-card { padding: 16px 16px 14px; }

.sf-kicker {
  margin: 0 0 4px;
  color: #8a847c;
  font-family: Jost, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sf-card h1, .sf-solo h1 {
  margin: 0 0 4px;
  color: #1c1a17;
  font-family: Jost, sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
}

.sf-lead {
  margin: 0 0 12px;
  color: #6f6a64;
  font-family: Outfit, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.sf-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.sf-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 96px;
  padding: 14px 8px 12px;
  border: 1px solid #efeae3;
  border-radius: 12px;
  background: #fff;
  font-family: Jost, sans-serif;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.sf-stat:hover {
  border-color: #e4ddd4;
  background: #fbfaf8;
}

.sf-stat > .sf-stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 0 8px;
  border-radius: 50%;
  background: #f6f3ee;
  color: #1c1a17;
  line-height: 0;
}

.sf-stat__icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

.sf-stat strong {
  display: block;
  font-family: Jost, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.sf-stat > span {
  margin-top: 4px;
  color: #6f6a64;
  font-family: Jost, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

body[data-shop="account"] .sf-page,
body[data-shop="addresses"] .sf-page,
body[data-shop="returns"] .sf-page {
  width: min(440px, calc(100% - 28px));
  margin: 20px auto 48px;
}

body[data-shop="orders"] .sf-page {
  width: min(1360px, calc(100% - 48px));
  margin: 28px auto 72px;
}

body[data-shop="search"] .sf-page {
  width: min(1280px, calc(100% - 48px));
  margin: 40px auto 72px;
}

.sf-search h1 {
  margin: 0;
  font-family: Jost, sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0;
}

.sf-search .sf-kicker { margin-bottom: 8px; }

.sf-search .sf-lead {
  margin: 22px 0 0;
  font-size: 15px;
}

.sf-search__form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  max-width: 640px;
  margin-top: 22px;
}

.sf-search__form .sf-field { flex: 1; min-width: 0; }

.sf-search__form input {
  height: 36px;
  border: 0;
  border-bottom: 1px solid #e4dfd8;
  border-radius: 0;
  padding: 0;
  font-family: Outfit, sans-serif;
  font-size: 14px;
  color: #1c1a17;
  background: transparent;
  width: 100%;
}

.sf-search__form input:focus {
  outline: 0;
  border-bottom-color: #1c1a17;
}

.sf-search__form .sf-btn {
  height: 36px;
  padding: 0 16px;
  flex: 0 0 auto;
}

.sf-search__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  align-items: stretch;
}

.sf-search__grid .al-card {
  display: flex;
  flex-direction: column;
  flex: none;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.sf-search__grid .al-card__body { margin-top: auto; }

.sf-search .sf-empty { margin-top: 18px; }

.sf-profile__main { display: contents; }
.sf-profile__head { margin: 0; }
.sf-pair { display: grid; gap: 12px; }
.sf-side__who, .sf-links a.sf-only-desk, .sf-side__out, .sf-ico, .sf-desk { display: none; }

.sf-account { margin-top: 8px; }

.sf-links { display: grid; }

.sf-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #f3efe9;
  color: #1c1a17;
  text-decoration: none;
}

.sf-links strong { font-size: 15px; font-weight: 500; }
.sf-links span { color: #8a847c; font-size: 13px; text-align: right; }

.sf-flow { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }

.sf-flow li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #f3efe9;
  font-size: 14px;
}

.sf-flow li:first-child { border-top: 0; }

.sf-flow i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f3efe9;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
}

.sf-flow a { color: #1c1a17; text-decoration: none; }
.sf-flow em { font-style: normal; color: #8a847c; font-size: 12px; }

.sf-form { display: grid; gap: 12px; }

.sf-form label, .sf-field {
  display: grid;
  gap: 6px;
  color: #8a847c;
  font-family: Jost, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sf-form input, .sf-form select, .sf-field input {
  height: 36px;
  border: 0;
  border-bottom: 1px solid #e4dfd8;
  border-radius: 0;
  padding: 0 0 2px;
  background: transparent;
  color: #1c1a17;
  font-family: Outfit, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  width: 100%;
}

.sf-form input::placeholder, .sf-field input::placeholder { color: #b7b1a9; }

.sf-form input:focus, .sf-form select:focus, .sf-field input:focus {
  outline: 0;
  border-bottom-color: #1c1a17;
}

.sf-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }

.sf-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.sf-btn, .sf-ghost, .sf-link {
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Jost, sans-serif;
  font-size: 11px;
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sf-btn { border: 1px solid #1c1a17; background: #1c1a17; color: #f6f1ea; }
.sf-btn:hover { background: transparent; color: #1c1a17; }
.sf-ghost { border: 1px solid #1c1a17; background: transparent; color: #1c1a17; }
.sf-ghost:hover { background: #1c1a17; color: #f6f1ea; }
.sf-link {
  border: 0;
  background: none;
  padding: 0 4px;
  color: #6f6a64;
}
.sf-link:hover { color: #1c1a17; }

.sf-error { margin: 0; color: #a33b32; font-size: 13px; }
.sf-ok { margin: 0; color: #2f7d4a; font-size: 13px; }
.sf-quiet { margin: 0; color: #8a847c; font-size: 12px; }

.sf-tabs { display: flex; gap: 6px; margin-bottom: 14px; }

.sf-tabs button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid #e4dfd8;
  border-radius: 99px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}

.sf-tabs button.is-on { background: #1c1a17; color: #fff; border-color: #1c1a17; }

.sf-solo {
  max-width: 440px;
  margin: 28px auto;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid #ece7e0;
  border-radius: 14px;
}

.sf-wide { max-width: 640px; }

.sf-orders {
  padding: 28px 0 0;
}

.sf-orders__head {
  padding: 0 28px;
}

.sf-orders__head .sf-lead {
  margin-bottom: 18px;
}

.sf-orders .sf-empty,
.sf-orders .sf-btn {
  margin-left: 28px;
  margin-bottom: 22px;
}

.sf-orders__table {
  width: 100%;
  overflow-x: auto;
}

.sf-orders table {
  width: 100%;
  border-collapse: collapse;
  font-family: Outfit, sans-serif;
}

.sf-orders th,
.sf-orders td {
  padding: 16px 14px;
  border-bottom: 1px solid #f0ebe4;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
  color: #1c1a17;
}

.sf-orders th:first-child,
.sf-orders td:first-child {
  padding-left: 28px;
}

.sf-orders th:last-child,
.sf-orders td:last-child {
  padding-right: 28px;
  text-align: right;
}

.sf-orders th {
  color: #8a847c;
  font-family: Jost, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sf-orders th.is-num,
.sf-orders td.is-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sf-orders tbody tr:hover td {
  background: #fbfaf8;
}

.sf-orders td a {
  color: #1c1a17;
  font-weight: 500;
  text-decoration: none;
}

.sf-orders__view {
  color: #6f6a64;
  font-family: Jost, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sf-orders tbody tr:hover .sf-orders__view {
  color: #1c1a17;
}

.sf-orders .sf-pill {
  justify-self: start;
}

.sf-orders__list {
  display: none;
  padding: 4px 28px 12px;
}

.sf-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 28px;
  padding: 16px 0;
  border-top: 1px solid #f3efe9;
  text-decoration: none;
  color: inherit;
}

.sf-order:first-child { border-top: 0; }

.sf-order > div:first-child {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.sf-order strong {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.sf-order span {
  color: #6f6a64;
  font-size: 13px;
}

.sf-order > div:last-child {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.sf-order em {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sf-pill {
  justify-self: end;
  height: 22px;
  padding: 0 8px;
  border-radius: 99px;
  background: #f3efe9;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}

.sf-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #f3efe9;
  font-size: 14px;
}

.sf-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #f6f3ee;
}

.sf-item strong { display: block; font-weight: 500; }
.sf-item span { color: #6f6a64; font-size: 13px; }
.sf-item em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }

.sf-lines { display: grid; gap: 6px; margin: 12px 0 0; }
.sf-lines p { display: flex; justify-content: space-between; margin: 0; font-size: 14px; }
.sf-lines .is-total { padding-top: 8px; border-top: 1px solid #efeae3; font-weight: 600; }

.sf-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.sf-track li {
  text-align: center;
  font-size: 11px;
  color: #8a847c;
}

.sf-track li::before {
  content: "";
  display: block;
  height: 3px;
  margin-bottom: 6px;
  border-radius: 99px;
  background: #ece7e0;
}

.sf-track li.is-on { color: #1c1a17; font-weight: 600; }
.sf-track li.is-on::before { background: #1c1a17; }

.sf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }

.sf-box {
  padding: 12px;
  border: 1px solid #efeae3;
  border-radius: 10px;
}

.sf-box h2 { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.sf-box p { margin: 0; color: #5c564f; font-size: 13px; line-height: 1.45; }

.sf-addr {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #f3efe9;
}

.sf-addr:first-of-type { border-top: 0; }
.sf-addr p { margin: 0; font-size: 14px; }
.sf-addr span { color: #6f6a64; font-size: 13px; }

.sf-mark {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border: 1px solid #e4dfd8;
  border-radius: 0;
  background: transparent;
  color: #6f6a64;
  font-family: Jost, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.sf-check {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #1c1a17;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.sf-center { text-align: center; }

.sf-empty { padding: 8px 0 4px; color: #6f6a64; font-size: 14px; }

@media (max-width: 980px) {
  .sf-search__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .sf-layout { grid-template-columns: 1fr; }
  .sf-nav {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin: -6px 0 12px;
    padding: 8px 0;
    background: #f6f3ee;
  }
  .sf-nav a { flex: none; background: #fff; box-shadow: inset 0 0 0 1px #ece7e0; }
  .sf-phase { display: none; }
  .sf-split, .sf-row { grid-template-columns: 1fr; }
  .sf-stats { gap: 8px; }
  .sf-stat { min-height: 104px; padding: 14px 6px 12px; }
  .sf-stat strong { font-size: 20px; }
  .sf-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sf-card h1, .sf-solo h1 { font-size: 20px; }
  .sf-top { padding: 12px 14px; }
  .sf-top img { width: 120px; }

  body[data-shop="search"] .sf-page {
    width: min(100% - 20px, 1280px);
    margin: 24px auto 88px;
  }

  body[data-shop="orders"] .sf-page {
    width: min(100% - 20px, 1360px);
    margin: 16px auto 88px;
  }

  .sf-orders {
    padding-top: 18px;
  }

  .sf-orders__head,
  .sf-orders__list {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sf-orders .sf-empty,
  .sf-orders .sf-btn {
    margin-left: 16px;
  }

  .sf-orders__table {
    display: none;
  }

  .sf-orders__list {
    display: block;
  }

  .sf-search h1 { font-size: 26px; }

  .sf-search__form { margin-top: 16px; gap: 8px; }

  .sf-search .sf-lead { margin-top: 16px; }

  .sf-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    margin-top: 18px;
  }
}

@media (max-width: 420px) {
  .sf-order { grid-template-columns: 1fr auto; }
  .sf-item { grid-template-columns: 44px minmax(0, 1fr); }
  .sf-item em { grid-column: 2; }
  .sf-addr { flex-direction: column; }
}

body[data-shop="order"] .sf-page {
  width: min(640px, calc(100% - 32px));
  margin: 32px auto 80px;
}

body[data-shop="order"] .sf-card {
  padding: 22px 20px 20px;
}

.sf-order-head h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.sf-order-head .sf-lead { margin: 0; }

body[data-shop="order"] .sf-track { margin: 22px 0 0; }

body[data-shop="order"] .sf-split {
  margin: 22px 0 0;
  gap: 12px;
}

.sf-order-pieces { margin-top: 28px; }

.sf-order-pieces > .sf-kicker { margin-bottom: 2px; }

body[data-shop="order"] .sf-item {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
}

body[data-shop="order"] .sf-item img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
}

body[data-shop="order"] .sf-item > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body[data-shop="order"] .sf-item strong {
  line-height: 1.35;
}

body[data-shop="order"] .sf-item em {
  grid-column: auto;
  font-size: 14px;
}

body[data-shop="order"] .sf-lines {
  margin-top: 8px;
}

body[data-shop="order"] .sf-lines .is-total {
  margin-top: 4px;
  padding-top: 16px;
}

.sf-order-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.sf-order-actions .sf-btn,
.sf-order-actions .sf-ghost {
  width: 100%;
}

@media (max-width: 520px) {
  body[data-shop="order"] .sf-page {
    width: min(100% - 20px, 640px);
    margin: 22px auto 88px;
  }

  .sf-order-head h1 { font-size: 24px; }

  body[data-shop="order"] .sf-split { grid-template-columns: 1fr; }

  body[data-shop="order"] .sf-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
  }

  body[data-shop="order"] .sf-item em { grid-column: auto; }

  .sf-order-actions { grid-template-columns: 1fr; }
}

body[data-shop="thanks"] .sf-page {
  width: min(640px, calc(100% - 32px));
  margin: 36px auto 80px;
}

body[data-shop="thanks"] .sf-solo {
  padding: 32px 28px 26px;
}

body[data-shop="thanks"] .sf-check {
  margin: 0 auto 14px;
}

body[data-shop="thanks"] .sf-center .sf-kicker {
  margin: 0 0 8px;
}

body[data-shop="thanks"] .sf-center h1 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

body[data-shop="thanks"] .sf-center .sf-lead {
  margin: 0;
}

body[data-shop="thanks"] .sf-track {
  margin: 22px 0 4px;
  gap: 8px;
}

body[data-shop="thanks"] .sf-track li {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
}

body[data-shop="thanks"] .sf-track li::before {
  margin-bottom: 8px;
}

body[data-shop="thanks"] .sf-item {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
}

body[data-shop="thanks"] .sf-item img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
}

body[data-shop="thanks"] .sf-item > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  align-content: center;
}

body[data-shop="thanks"] .sf-item strong {
  line-height: 1.35;
}

body[data-shop="thanks"] .sf-item span {
  line-height: 1.3;
}

body[data-shop="thanks"] .sf-item em {
  align-self: center;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

body[data-shop="thanks"] .sf-box {
  margin-top: 4px;
  padding: 14px 16px;
}

body[data-shop="thanks"] .sf-box h2 {
  margin: 0 0 8px;
  line-height: 1.3;
}

body[data-shop="thanks"] .sf-box p {
  line-height: 1.5;
}

body[data-shop="thanks"] .sf-lines {
  margin: 18px 0 0;
}

body[data-shop="thanks"] .sf-lines p {
  align-items: baseline;
  line-height: 1.3;
}

body[data-shop="thanks"] .sf-lines .is-total {
  margin: 0;
  padding-top: 16px;
}

body[data-shop="thanks"] .sf-thanks-foot {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: 14px;
}

body[data-shop="thanks"] .sf-thanks-foot .sf-quiet {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

body[data-shop="thanks"] .sf-thanks-foot .sf-actions {
  margin: 0;
  gap: 10px;
}

@media (max-width: 520px) {
  body[data-shop="thanks"] .sf-page {
    width: min(100% - 20px, 640px);
    margin: 22px auto 88px;
  }

  body[data-shop="thanks"] .sf-solo {
    padding: 26px 16px 20px;
  }

  body[data-shop="thanks"] .sf-center h1 {
    font-size: 24px;
  }

  body[data-shop="thanks"] .sf-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
  }

  body[data-shop="thanks"] .sf-item img {
    width: 56px;
    height: 56px;
  }

  body[data-shop="thanks"] .sf-item em {
    grid-column: auto;
  }
}

@media (min-width: 801px) {
  body[data-shop="account"] .sf-page {
    width: min(960px, calc(100% - 48px));
    margin: 36px auto 72px;
  }

  body[data-shop="account"] .sf-profile {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 0;
    background: transparent;
    border: 0;
  }

  body[data-shop="account"] .sf-profile__main {
    display: grid;
    gap: 14px;
    grid-column: 2;
  }

  body[data-shop="account"] .sf-profile__head { display: none; }

  body[data-shop="account"] .sf-desk {
    display: block;
    margin-bottom: 2px;
  }

  body[data-shop="account"] .sf-profile .sf-form,
  body[data-shop="account"] .sf-profile .sf-account {
    background: #fff;
    border: 1px solid #ece7e0;
    border-radius: 16px;
  }

  body[data-shop="account"] .sf-profile .sf-form {
    padding: 18px 20px 16px;
  }

  body[data-shop="account"] .sf-profile .sf-stats { margin: 0; }

  body[data-shop="account"] .sf-profile .sf-stat {
    min-height: 92px;
    border-radius: 16px;
  }

  body[data-shop="account"] .sf-profile .sf-pair {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  body[data-shop="account"] .sf-profile .sf-account {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    padding: 18px 12px 12px;
    position: sticky;
    top: 18px;
  }

  body[data-shop="account"] .sf-profile .sf-account > .sf-kicker { display: none; }

  body[data-shop="account"] .sf-side__who {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 6px 10px;
    padding: 0 2px 14px;
    border-bottom: 1px solid #f3efe9;
  }

  body[data-shop="account"] .sf-side__mark {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1c1a17;
    color: #fff;
    font-family: Jost, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
  }

  body[data-shop="account"] .sf-side__who div { min-width: 0; }

  body[data-shop="account"] .sf-side__who strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
  }

  body[data-shop="account"] .sf-side__who > div span {
    display: block;
    margin-top: 2px;
    color: #8a847c;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  body[data-shop="account"] .sf-profile .sf-links a {
    justify-content: flex-start;
    gap: 10px;
    padding: 7px 8px;
    border: 0;
    border-radius: 10px;
  }

  body[data-shop="account"] .sf-profile .sf-links a:hover { background: #fbfaf8; }

  body[data-shop="account"] .sf-profile .sf-links a.is-on { background: #f6f3ee; }

  body[data-shop="account"] .sf-profile .sf-note { display: none; }

  body[data-shop="account"] .sf-profile .sf-ico {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #f6f3ee;
    color: #1c1a17;
  }

  body[data-shop="account"] .sf-profile .sf-links a.is-on .sf-ico {
    background: #1c1a17;
    color: #fff;
  }

  body[data-shop="account"] .sf-profile .sf-ico svg {
    display: block;
    width: 16px;
    height: 16px;
  }

  body[data-shop="account"] .sf-only-desk { display: flex; }

  body[data-shop="account"] .sf-signout { display: none; }

  body[data-shop="account"] .sf-side__out {
    display: flex;
    align-items: center;
    width: calc(100% - 12px);
    height: 36px;
    margin: 8px 6px 0;
    padding: 0 8px;
    border: 0;
    border-top: 1px solid #f3efe9;
    border-radius: 0;
    background: transparent;
    color: #6f6a64;
    font-family: Jost, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
  }

  body[data-shop="account"] .sf-side__out:hover { color: #1c1a17; }
}
