/* Personal account dashboard (/my/profile/) */

html.my body.pflame-inner,
html.is-order-page body.pflame-inner {
  background-color: var(--color-surface);
}

html.my .breadcrumbs {
  display: none;
}

html.my ul.menu-h {
  display: none;
}

/* Compact header on /my/ pages — single row like mockup */
html.my .header--my-account .header__fly,
html.my .header--my-account .header-desktop__menu {
  display: none !important;
}

@media (min-width: 1180px) {
  html.my .header--my-account .header__top,
  html.my .header--my-account .header__top.header__top--my-account {
    top: var(--space-16);
    background-color: #171717;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.24);
  }

  html.my .header--my-account .header__top .header-scrollable__icon {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    margin: auto;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
  }

  html.my .header--my-account .header__top .header-scrollable__icon svg.icon {
    opacity: 0.4;
    width: 17px;
    height: 19px;
  }

  html.my .header--my-account .header__top .header-desktop__icon-link .icon {
    width: 24px;
    height: 24px;
  }

  html.my .header--my-account .header__top .desktop-actions__links {
    margin-left: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  html.my .header--my-account .header__top .header__logo {
    width: 120px;
    flex: 0 0 120px;
  }

  html.my .header--my-account .header__top .header__desktop-actions .search {
    width: auto;
    flex: 0 0 auto;
  }

  html.my .header--my-account .header__top input.search-input {
    width: 196px;
  }

  html.my main.pflame-page {
    padding-top: calc(var(--space-16) + 78px + var(--space-16));
  }
}

@media (min-width: 1360px) {
  html.my .header--my-account .header__top .header-scrollable__icon {
    font-size: 14px;
    line-height: 17px;
  }

  html.my main.pflame-page {
    padding-top: calc(var(--space-16) + 78px + var(--space-16));
  }
}

main .pf-my-account {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: var(--container-fhd);
  margin: 0 auto;
}

.pf-my-account__card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 280px;
  height: 100%;
  padding: var(--space-24);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius-20);
  background: var(--color-white);
  box-shadow: 0 4px 24px rgba(23, 23, 23, 0.06);
}
@media(max-width: 768px) {
  .pf-my-account__card {
    padding: 16px 8px;
  }

  .pf-my-account__card--profile {
    padding: 28px 16px 24px;
  }
}

.pf-my-account__card--profile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 320px;
  padding: 28px 24px 32px;
  border: none;
  background: #D7DFF9;
}

.pf-my-account__card--profile::before {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: min(401px, 92%);
  height: min(459px, 88%);
  border-radius: 50%;
  background: #fff;
  filter: blur(80px);
  opacity: 0.95;
  pointer-events: none;
  transform: rotate(-84deg);
  z-index: 0;
}

.pf-my-account__card--profile > * {
  position: relative;
  z-index: 1;
}

.pf-my-account__card--guest-login {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: #D7DFF9;
}

.pf-my-account__card--guest-login::before {
  content: '';
  position: absolute;
  right: -48px;
  bottom: -72px;
  width: min(400px, 72%);
  height: min(460px, 85%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  filter: blur(52px);
  pointer-events: none;
  z-index: 0;
}

.pf-my-account__card--guest-login > * {
  position: relative;
  z-index: 1;
}

.pf-my-account__guest-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-16);
  margin-bottom: var(--space-24);
}

.pf-my-account__guest-title {
  margin: 0 0 var(--space-8);
  font-weight: var(--weight-600);
  font-size: var(--text-22);
  line-height: 1.2;
  color: var(--color-text);
}

.pf-my-account__guest-lead {
  margin: 0;
  font-size: var(--text-16);
  line-height: 1.35;
  color: var(--color-text-gray-2);
}

.pf-my-account__guest-icon {
  box-sizing: border-box;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 64px;
  border: 2px solid #B0B6F6;
  border-radius: var(--radius-20);
  background: #E0E0FD;
  color: #171717;
}

.pf-my-account__guest-icon .icon {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.pf-my-account__guest-form {
  margin-top: auto;
}

.pf-my-account__guest-form .pf-login-wrapper--profile {
  margin: 0;
}

.pf-my-account__guest-form .pf-login--profile {
  gap: var(--space-16);
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pf-my-account__guest-form .pf-login__label {
  display: block;
  margin-bottom: var(--space-8);
  font-size: var(--text-14);
  font-weight: var(--weight-600);
  color: var(--color-text);
}

.pf-my-account__guest-form .pf-login__phone-input .pf-login__input,
.pf-my-account__guest-form .pf-login__phone-input input {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-16);
  border: 0;
  border-radius: 10px;
  background: var(--color-white);
  font: inherit;
  font-size: var(--text-16);
  color: var(--color-text);
}

.pf-my-account__guest-form .pf-login__phone-input input:focus {
  outline: 2px solid rgba(239, 119, 61, 0.35);
  outline-offset: 0;
}

.pf-my-account__guest-form .pf-login__fields--profile {
  margin: 0;
}

.pf-my-account__guest-form .pf-login__submit {
  width: 100%;
  min-height: 48px;
  font-size: var(--text-14);
  line-height: 48px;
}

.pf-my-account__guest-form .pf-login__step--code .pf-login__consent {
  margin-top: var(--space-16);
}

.pf-my-account__help-btn--disabled {
  pointer-events: none;
  opacity: 0.55;
}

.pf-my-account--guest .pf-my-account__card--help {
  order: 4;
}

.pf-my-account__profile-title,
.pf-my-account__card-title {
  margin: 0 0 var(--space-16);
  font-family: var(--font-sans);
  font-weight: var(--weight-600);
  font-size: 20px;
  line-height: 1;
  color: var(--color-text);
}
.pf-my-account__profile-title {
  margin: 0;
}

.pf-my-account__card-count {
  font-weight: var(--weight-600);
  color: rgba(23, 23, 23, 0.4);
}

.pf-my-account__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: auto;
  overflow: visible;
  padding-bottom: 16px;
}

.pf-my-account__thumb {
  position: relative;
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 80px;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius-8);
  background: #F6F7FA;
  text-decoration: none;
}

.pf-my-account__thumb--has-more {
  z-index: 1;
  overflow: visible;
}

.pf-my-account__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-8) - 1px);
}

.pf-my-account__more-badge {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 10px;
  border-radius: 10px;
  /* Glass soft: почти белый корпус, серый только нижний край */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.88) 72%,
    rgba(242, 242, 242, 0.72) 100%
  );
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  border: 1px solid transparent;
  border-top-color: #ffffff;
  border-right-color: rgba(255, 255, 255, 0.65);
  border-bottom-color: rgba(180, 180, 180, 0.55);
  border-left-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  font-family: var(--font-sans);
  font-weight: var(--weight-600);
  font-size: 20px;
  line-height: normal;
  color: #171717;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(50%, -50%);
}

/* Figma 224:6318 — «кнопка со стрелкой» */
.pf-my-account__link.pf-my-account__link--all,
.pf-my-account__link.pf-my-account__link--more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  height: auto;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--radius-8);
  background: rgba(230, 230, 230, 0.2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: var(--shadow-xs);
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-700);
  line-height: normal;
  color: #171717;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.pf-my-account__link.pf-my-account__link--all:hover,
.pf-my-account__link.pf-my-account__link--more:hover {
  background: rgba(230, 230, 230, 0.35);
  box-shadow: var(--shadow-xs);
}

/* Edit profile: same Figma arrow-button as «Смотреть все / ещё» */
.pf-my-account__edit-link.pf-my-account__catalog-btn,
.btn.btn--soft.pf-my-account__edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  height: auto;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--radius-8);
  background: rgba(230, 230, 230, 0.2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: var(--shadow-xs);
  line-height: normal;
  font-size: var(--text-16);
  font-weight: var(--weight-700);
  color: #171717;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.pf-my-account__edit-link.pf-my-account__catalog-btn:hover,
.btn.btn--soft.pf-my-account__edit-link:hover {
  background: rgba(230, 230, 230, 0.35);
  box-shadow: var(--shadow-xs);
  filter: none;
}

.pf-my-account__card--wishlist .pf-my-account__link--all,
.pf-my-account__card--compare .pf-my-account__link--all {
  margin-top: auto;
}

.pf-my-account__profile-phone {
  margin: 0;
  font-weight: var(--weight-400);
  font-size: var(--text-16);
  line-height: normal;
  color: #171717;
}

.pf-my-account__profile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  margin-bottom: 28px;
}

.pf-my-account__profile-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pf-my-account__city-container {
  display: flex;
  justify-content: space-between;
  align-items: self-start;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}
.pf-my-account__profile-city {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  font-size: var(--text-16);
  color: #171717;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}
.pf-my-account__profile-city-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("../../../assets/icons/location.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.pf-my-account__logout {
  align-self: flex-start;
  box-sizing: border-box;
  width: fit-content;
  min-width: 111px;
  height: 44px;
  margin: 0;
  padding: 12px 20px;
  gap: 10px;
  border: 2px solid #171717;
  border-radius: var(--radius-8);
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-700);
  line-height: 1;
  color: #171717;
  text-decoration: none;
}

.pf-my-account__logout:hover {
  border-color: #171717;
  color: #171717;
  opacity: 0.7;
  filter: none;
}

.pf-my-account__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-16);
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--text-14);
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
}

.pf-my-account__link .icon {
  width: 16px;
  height: 16px;
  color: var(--color-text-gray);
}

.pf-my-account__link.pf-my-account__link--all .pf-my-account__link-arrow,
.pf-my-account__link.pf-my-account__link--more .pf-my-account__link-arrow {
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: 15px;
  color: #747474;
  opacity: 0.3;
}

.pf-my-account__divider {
  height: 1px;
  margin: var(--space-16) 0;
  background: rgba(23, 23, 23, 0.08);
}

.pf-my-account__empty {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: var(--weight-400);
  font-style: normal;
  line-height: normal;
  letter-spacing: 0;
  color: #171717;
}

.pf-my-account__card-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
}

.pf-my-account__card--wishlist .pf-my-account__card-empty .pf-my-account__catalog-btn,
.pf-my-account__card--compare .pf-my-account__card-empty .pf-my-account__catalog-btn {
  margin-top: auto;
  align-self: flex-start;
}

.pf-my-account__orders-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.pf-my-account__catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 10px;
  box-sizing: border-box;
  width: fit-content;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--radius-8);
  background: rgba(230, 230, 230, 0.2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: var(--shadow-xs);
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-700);
  line-height: normal;
  color: #171717;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.pf-my-account__catalog-btn:hover {
  background: rgba(230, 230, 230, 0.35);
  box-shadow: var(--shadow-xs);
}

.pf-my-account__catalog-btn .icon.pf-my-account__catalog-btn-arrow,
.pf-my-account__catalog-btn-arrow {
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: 15px;
  color: #747474;
  opacity: 0.3;
  vertical-align: middle;
}

.pf-my-account__card--orders .pf-my-account__orders-footer {
  width: 100%;
}

.pf-my-account__card--orders:not(:has(.pf-my-account__link--more)) .pf-my-account__orders-footer {
  margin-top: auto;
}

.pf-my-account__card--orders .pf-my-account__orders-footer .pf-my-account__divider {
  margin: 0;
}

.pf-my-account__card--orders .pf-my-account__link.pf-my-account__link--more {
  margin-top: var(--space-12);
  margin-bottom: var(--space-16);
}

.pf-my-account__card--orders .pf-my-account__link.pf-my-account__link--orders-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: var(--space-16);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: var(--weight-600);
  line-height: 1;
  color: var(--color-text);
}

.pf-my-account__card--orders .pf-my-account__link.pf-my-account__link--orders-all .icon,
.pf-my-account__orders-all-arrow {
  flex-shrink: 0;
  margin-left: auto;
  width: 28px;
  height: 15px;
  color: #747474;
  opacity: 0.3;
}

.pf-my-order {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
}

.pf-my-order__box {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--space-12);
  padding: var(--space-12);
  border-radius: var(--radius-16);
  background: #F6F7FA;
}

.pf-my-order__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-8);
  min-width: 0;
}

.pf-my-order__image {
  flex: 0 0 68px;
  width: 68px;
  height: 91px;
  align-self: flex-start;
  overflow: hidden;
  border-radius: 10px;
  background: var(--color-white);
  border: 1px solid rgba(23, 23, 23, 0.08);
  box-shadow: 0 2px 8px rgba(23, 23, 23, 0.1);
}

.pf-my-order__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pf-my-order__image--empty {
  background: var(--color-white);
}

.pf-my-order__title {
  font-weight: var(--weight-500);
  font-size: var(--text-14);
  line-height: 1.4;
  color: var(--color-text);
  text-decoration: none;
}

.pf-my-order__title:hover {
  color: var(--color-btn-main--default);
}

.pf-my-order__status {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: var(--text-12);
  line-height: 1.2;
  color: var(--color-text-gray-2);
  white-space: nowrap;
}

.pf-my-order__status--pay {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  max-width: 100%;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  font-size: var(--text-12);
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-btn-main--default);
  white-space: nowrap;
}

.pf-my-order__pay {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 202px;
  width: 100%;
  height: 44px;
  margin-top: auto;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: #EF773D;
  font-size: var(--text-14);
  font-weight: var(--weight-700);
  line-height: 1.2;
  text-align: center;
}

.pf-my-order__pay:hover,
.pf-my-order__pay:focus-visible {
  background: #EF773D;
  filter: brightness(1.05);
}

.pf-my-order__pay .ruble {
  font-weight: inherit;
}

.pf-my-account__help-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.pf-my-account__help-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 41px;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--radius-8);
  background: #F3F4F7;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-700);
  line-height: 1;
  color: #171717;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.pf-my-account__help-btn:hover {
  background: #E8ECF0;
}

/* Profile edit drawer */
body.pf-profile-drawer-open {
  overflow: hidden;
}

.pf-profile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2160;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  pointer-events: none;
}

.pf-profile-drawer[hidden] {
  display: none !important;
}

.pf-profile-drawer .pf-auth-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}

.pf-profile-drawer .pf-auth-drawer__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 480px);
  height: 100%;
  max-height: none;
  margin-left: auto;
  border: 0;
  border-left: 1px solid rgba(23, 23, 23, 0.06);
  border-radius: var(--radius-20) 0 0 var(--radius-20);
  background: var(--color-white);
  box-shadow: -10px 0 32px rgba(23, 23, 23, 0.12);
  pointer-events: auto;
  overflow: hidden;
}

.pf-profile-drawer .pf-auth-drawer__close {
  position: absolute;
  top: var(--space-16);
  right: var(--space-16);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-gray-2);
  cursor: pointer;
}

.pf-profile-drawer .pf-auth-drawer__close:hover {
  background: var(--color-surface);
}

.pf-profile-drawer .pf-auth-drawer__close .icon {
  width: 20px;
  height: 20px;
}

.pf-profile-drawer__panel {
  width: min(100%, 480px);
}

.pf-profile-drawer__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 56px 0 var(--space-24);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pf-profile-drawer__body::before,
.pf-profile-drawer__body::after {
  content: none;
}

.pf-profile-drawer__title {
  margin: 0 0 var(--space-24);
  padding: 0 var(--space-16);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: var(--weight-600);
  line-height: 1;
  color: var(--color-text);
}

.pf-profile-drawer__notice {
  margin: calc(-1 * var(--space-8)) 0 var(--space-16);
  padding: 0 var(--space-16);
  font-size: var(--text-14);
}

.pf-profile-drawer__notice--success {
  color: #1a9a2e;
}

#pf-profile-form.pf-profile-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  flex: 1 0 auto;
  box-sizing: border-box;
  width: 100%;
  padding: var(--space-16);
}

.pf-profile-form__section {
  padding: var(--space-16);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius-16);
  background: var(--color-white);
}

.pf-profile-form__section-title {
  margin: 0 0 var(--space-16);
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-text);
}

.pf-profile-form__grid {
  display: grid;
  gap: var(--space-12);
}

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

.pf-profile-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin: 0 0 var(--space-12);
}

.pf-profile-form__field:last-child {
  margin-bottom: 0;
}

.pf-profile-form__field--radios {
  padding: 0;
  border: 0;
}

.pf-profile-form__label {
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-500);
  line-height: 1.2;
  color: rgba(23, 23, 23, 0.55);
}

.pf-profile-form__label--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pf-profile-form__input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-10);
  background: #F3F4F7;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-400);
  line-height: 1.2;
  color: var(--color-text);
}

.pf-profile-form__input::placeholder {
  color: rgba(23, 23, 23, 0.45);
}

.pf-profile-form__input:focus {
  outline: 2px solid rgba(239, 119, 61, 0.35);
  outline-offset: 0;
}

.pf-profile-form__field--error .pf-profile-form__input {
  border-color: #e53935;
}

.pf-profile-form__hint {
  font-size: var(--text-12);
  line-height: 1.35;
  color: rgba(23, 23, 23, 0.45);
}

.pf-profile-form__error {
  font-size: var(--text-12);
  line-height: 1.35;
  color: #e53935;
}

.pf-profile-form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-24);
}

.pf-profile-form__radio {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-400);
  line-height: 1.2;
  color: var(--color-text);
  cursor: pointer;
}

.pf-profile-form__radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pf-profile-form__radio-icon {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  border: 1px solid #B9B9B9;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pf-profile-form__radio:hover .pf-profile-form__radio-icon {
  background: #E2E2E2;
  border-color: #B9B9B9;
}

.pf-profile-form__radio:hover input:checked + .pf-profile-form__radio-icon {
  background: transparent;
  border-color: #171717;
}

.pf-profile-form__radio input:checked + .pf-profile-form__radio-icon {
  border-color: #171717;
  background: transparent;
}

.pf-profile-form__radio input:checked + .pf-profile-form__radio-icon::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #171717;
}

.pf-profile-form__radio input:focus-visible + .pf-profile-form__radio-icon {
  outline: 2px solid rgba(239, 119, 61, 0.35);
  outline-offset: 2px;
}

.pf-profile-form__radio-text {
  user-select: none;
}

.pf-profile-form__section--manager {
  padding-bottom: var(--space-16);
}

.pf-profile-form__telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-8);
  background: #F3F4F7;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-700);
  line-height: 1;
  color: var(--color-text);
  text-decoration: none;
}

.pf-profile-form__telegram .icon {
  width: 19px;
  height: 16px;
  flex-shrink: 0;
  color: #747474;
  opacity: 0.3;
}

.pf-profile-form__logout {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-700);
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.pf-profile-form__delete {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 12px 20px;
  border-color: #FF0000;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-700);
  line-height: 1;
  color: #FF0000;
}

.pf-profile-form__delete-error {
  margin: calc(-1 * var(--space-8)) 0 0;
  text-align: center;
}

.pf-profile-delete {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16);
  border-radius: inherit;
}

.pf-profile-delete[hidden] {
  display: none;
}

.pf-profile-delete__backdrop {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(23, 23, 23, 0.35);
}

.pf-profile-delete__box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  box-sizing: border-box;
  width: 100%;
  padding: var(--space-24) var(--space-20) var(--space-20);
  border-radius: var(--radius-20);
  background: var(--color-white);
  box-shadow: 0 9px 34px rgba(0, 0, 0, 0.12);
}

.pf-profile-delete__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-text);
}

.pf-profile-delete__text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  line-height: 1.4;
  color: rgba(23, 23, 23, 0.6);
}

.pf-profile-delete__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.pf-profile-delete__confirm,
.pf-profile-delete__cancel {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-700);
  line-height: 1;
}

.pf-profile-delete__confirm {
  border: 0;
  background: #FF0000;
  color: var(--color-white);
}

.pf-profile-delete__handle {
  display: none;
}

@media (max-width: 767px) {
  .pf-profile-delete {
    position: fixed;
    z-index: 2200;
    align-items: flex-end;
    padding: 0;
    border-radius: 0;
  }

  .pf-profile-delete__backdrop {
    border-radius: 0;
  }

  .pf-profile-delete__box {
    position: relative;
    gap: 0;
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 20px 20px 0 0;
    box-shadow: -4px 0 34px rgba(0, 0, 0, 0.08);
  }

  .pf-profile-delete__handle {
    position: absolute;
    top: 8px;
    left: 50%;
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 2px;
    background: rgba(54, 54, 54, 0.3);
    transform: translateX(-50%);
  }

  .pf-profile-delete__title {
    margin: 0 0 16px;
    padding: 0 16px;
  }

  .pf-profile-delete__text {
    display: none;
  }

  .pf-profile-delete__actions {
    gap: 0;
  }

  .pf-profile-delete__cancel {
    order: -1;
  }

  .pf-profile-delete__confirm,
  .pf-profile-delete__cancel,
  .pf-profile-delete__confirm:hover,
  .pf-profile-delete__cancel:hover {
    height: auto;
    min-height: 0;
    padding: 16px;
    border: 0;
    border-top: 1px solid rgba(23, 23, 23, 0.1);
    border-radius: 0;
    background: transparent;
    font-size: var(--text-16);
    font-weight: var(--weight-600);
    line-height: 1.2;
    opacity: 1;
  }

  .pf-profile-delete__cancel {
    color: var(--color-text);
  }

  .pf-profile-delete__confirm {
    color: #FF0000;
  }
}

.pf-profile-form__submit {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-700);
  line-height: 1;
}

@media (max-width: 767px) {
  .pf-profile-drawer .pf-auth-drawer__close {
    top: 16px;
    right: 16px;
  }

  .pf-profile-drawer .pf-auth-drawer__close .icon {
    width: 16px;
    height: 16px;
  }

  .pf-profile-drawer__body {
    padding: 21px 0 0;
  }

  .pf-profile-drawer__title {
    margin-bottom: 18px;
    padding-right: 56px;
    line-height: 1.2;
  }

  #pf-profile-form.pf-profile-form {
    gap: 24px;
    padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .pf-profile-form__section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-color: #E9E9E9;
    border-radius: 20px;
  }

  .pf-profile-form__section + .pf-profile-form__section {
    margin-top: -16px;
  }

  .pf-profile-form__section-title {
    margin-bottom: 14px;
  }

  .pf-profile-form__section--manager {
    padding-bottom: 16px;
  }

  .pf-profile-form__section--manager .pf-profile-form__section-title {
    margin-bottom: 8px;
  }

  .pf-profile-form__grid {
    gap: 10px;
  }

  .pf-profile-form__field {
    gap: 10px;
    margin: 0;
  }

  .pf-profile-form__field--radios,
  .pf-profile-form__field--radios + .pf-profile-form__field {
    margin-top: 14px;
  }

  .pf-profile-form__radios {
    gap: 30px;
  }

  .pf-profile-form__radio {
    font-size: var(--text-14);
  }

  .pf-profile-form__submit {
    min-height: 54px;
  }
}

@media (max-width: 479px) {
  .pf-profile-form__grid--2 {
    grid-template-columns: 1fr;
  }

  .pf-profile-drawer .pf-auth-drawer__panel {
    width: 100%;
    border-radius: 0;
  }
}

.pf-my-account-edit {
  max-width: var(--container-fhd);
  margin: var(--space-24) auto 0;
  padding: var(--space-24);
  border-radius: var(--radius-20);
  background: var(--color-white);
}

.pf-my-account-edit__notice {
  margin: 0 0 var(--space-16);
  font-size: var(--text-14);
}

.pf-my-account-edit__notice--success {
  color: #1a9a2e;
}

.pf-my-account-edit__actions {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.pf-my-account-edit__cancel {
  font-size: var(--text-14);
  color: var(--color-text-gray-2);
}

.pf-my-account-edit .wa-form .wa-field .wa-name {
  font-size: var(--text-14);
  color: var(--color-text-gray-2);
}

.pf-my-account-edit .wa-form .wa-field .wa-value {
  font-size: var(--text-14);
}

@media (min-width: 768px) {
  main .pf-my-account {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: var(--space-16);
    align-items: stretch;
  }

  main .pf-my-account--guest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }

  .pf-my-account__card--profile,
  .pf-my-account__card--orders,
  .pf-my-account__card--guest-login {
    grid-column: span 1;
  }

  .pf-my-account--guest .pf-my-account__card--guest-login {
    grid-column: 1;
    grid-row: 1;
  }

  .pf-my-account--guest .pf-my-account__card--help {
    grid-column: 1;
    grid-row: 2;
    order: unset;
  }

  .pf-my-account--guest .pf-my-account__card--wishlist {
    grid-column: 2;
    grid-row: 1;
  }

  .pf-my-account--guest .pf-my-account__card--compare {
    grid-column: 2;
    grid-row: 2;
  }

  .pf-my-account:not(.pf-my-account--guest) .pf-my-account__card--wishlist {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  main .pf-my-account {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }

  main .pf-my-account--guest {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }

  .pf-my-account--guest .pf-my-account__card--guest-login {
    grid-column: 1;
    grid-row: 1;
  }

  .pf-my-account--guest .pf-my-account__card--help {
    grid-column: 1;
    grid-row: 2;
  }

  .pf-my-account--guest .pf-my-account__card--wishlist {
    grid-column: 2;
    grid-row: 1;
  }

  .pf-my-account--guest .pf-my-account__card--compare {
    grid-column: 3;
    grid-row: 1;
  }

  .pf-my-account:not(.pf-my-account--guest) .pf-my-account__card--profile,
  .pf-my-account:not(.pf-my-account--guest) .pf-my-account__card--orders,
  .pf-my-account:not(.pf-my-account--guest) .pf-my-account__card--wishlist,
  .pf-my-account:not(.pf-my-account--guest) .pf-my-account__card--compare,
  .pf-my-account:not(.pf-my-account--guest) .pf-my-account__card--help {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Minimal footer — all /my/ pages, and the /order/ page */
html.my body,
html.is-order-page body,
body.pf-my-account,
body.pf-my-account-guest {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  background-color: #F6F7FA;
}

html.my body main.pflame-page,
html.is-order-page body main.pflame-page,
body.pf-my-account main.pflame-page,
body.pf-my-account-guest main.pflame-page {
  flex: 1 0 auto;
}

html.my body footer.pf-footer-minimal,
html.is-order-page body footer.pf-footer-minimal,
body.pf-my-account footer.pf-footer-minimal,
body.pf-my-account-guest footer.pf-footer-minimal {
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: var(--space-20);
}

@media (min-width: 768px) {
  .pf-footer-minimal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Shared subpage layout (/my/wishlist/, /my/compare/, /my/orders/) */
.pf-wishlist {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
}

.pf-wishlist__asside {
  align-self: start;
  height: fit-content;
  border-radius: var(--radius-20);
  background: var(--color-white);
}

.pf-my-subpage__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-self: start;
  width: 210px;
  max-width: 100%;
  min-width: 0;
}

.pf-my-subpage__nav-card {
  box-sizing: border-box;
  width: 210px;
  max-width: 100%;
  min-height: 306px;
  padding: 20px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--color-white);
}

.pf-wishlist__products-container {
  box-sizing: border-box;
  min-width: 0;
  padding: 20px;
  border-radius: var(--radius-20);
  background: var(--color-white);
}

.pf-wishlist__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding: 20px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: var(--weight-600);
  line-height: 1;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.pf-wishlist__link-label {
  flex: 1 1 auto;
  min-width: 0;
}

.pf-wishlist__link-count,
.pf-wishlist__link span.pf-wishlist__link-count {
  flex-shrink: 0;
  margin-left: 0;
  color: rgba(23, 23, 23, 0.4);
  transition: color 0.15s ease;
}

.pf-wishlist__link span:not(.pf-wishlist__link-label):not(.pf-wishlist__link-count) {
  display: inline-block;
  margin-left: 6px;
  color: rgba(23, 23, 23, 0.4);
  transition: color 0.15s ease;
}

.pf-wishlist__link--active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 4px;
  height: 100%;
  background: #171717;
}

@media (hover: hover) {
  .pf-wishlist__link:hover,
  .pf-wishlist__link:hover .pf-wishlist__link-count,
  .pf-wishlist__link:hover span {
    color: #EF773D;
  }
}

.pf-my-subpage__profile {
  padding: 0 0 12px;
}

.pf-my-subpage__profile-title {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-text);
  text-decoration: none;
}

.pf-my-subpage__profile-title:hover {
  color: #ef773d;
}

.pf-my-subpage__profile-phone {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-400);
  line-height: 1.35;
  color: var(--color-text);
}

.pf-my-subpage__nav {
  margin: 0 -20px -20px;
  padding-bottom: 0;
}

.pf-my-subpage__nav .pf-wishlist__link {
  padding: 20px;
}

.pf-my-subpage__logout {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 210px;
  max-width: 100%;
  height: 44px;
  padding: 12px 20px;
  border: 2px solid #171717;
  border-radius: 8px;
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-text);
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.pf-my-subpage__logout:hover {
  opacity: 0.7;
}

.pf-wishlist__title,
.pf-my-orders__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: var(--weight-600);
  line-height: 1;
  color: var(--color-text);
}

/* Wishlist page (/my/wishlist/) */
.pf-wishlist-page__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.pf-wishlist-page__content .category-products {
  margin: 0;
}

/* Compare page (/my/compare/) */
.pf-compare__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pf-compare__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.pf-compare__head-title {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
}

.pf-compare__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pf-compare__action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #171717;
  text-decoration: none;
  white-space: nowrap;
}

a.pf-compare__action:hover {
  color: #171717;
  text-decoration: none;
}

.pf-compare__action .icon,
.pf-compare__action svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.3;
}

.pf-compare__action.is-copied {
  color: #1a9a2e;
}

.pf-compare__fuels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pf-compare__fuel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #f3f4f7;
  color: #171717;
  cursor: pointer;
}

.pf-compare__fuel.is-active {
  background: #fff;
  border-color: #171717;
}

.pf-compare__fuel-select,
.pf-compare__fuel-close {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.pf-compare__fuel-close {
  width: 8px;
  height: 8px;
  opacity: 0.4;
}

.pf-compare__fuel-close .icon,
.pf-compare__fuel-close svg {
  display: block;
  width: 8px;
  height: 8px;
}

.pf-compare__content .product-card.is-fuel-hidden {
  display: none;
}

.pf-compare__products {
  position: relative;
}

.pf-compare__products-swiper {
  overflow: hidden;
}

.pf-compare__products-swiper .swiper-wrapper {
  align-items: stretch;
  box-sizing: border-box;
}

.pf-compare__products-swiper .products-carousel__item {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 210px;
  min-width: 210px;
  max-width: 210px;
  height: auto;
}

.pf-compare__products-swiper .products-carousel__item.is-fuel-hidden {
  display: none;
}

/* Стрелки слайдера товаров (Figma 7546:28927) — видны при >4 товарах */
.pf-compare__products-arrow {
  top: var(--pf-compare-arrow-top, 105px);
  z-index: 4;
}
.pf-compare__products-arrow.pf-slider__arrow--prev {
  left: -8px;
}
.pf-compare__products-arrow.pf-slider__arrow--next {
  right: -8px;
}
.pf-compare__products-arrow.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

.pf-empty-msg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 420px;
  padding: var(--space-32) var(--space-16);
  text-align: center;
}

.pf-empty-msg__glow {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 286.845px;
  height: 328.248px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.55) 0%, rgba(147, 197, 253, 0) 72%);
  filter: blur(10px);
}

.pf-empty-msg__visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin-bottom: var(--space-8);
}

.pf-empty-msg__icon {
  width: 64px;
  height: 64px;
  color: var(--color-text);
}

.pf-empty-msg__title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: var(--weight-600);
  line-height: 1.1;
  color: var(--color-text);
}

.pf-empty-msg__text {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: var(--space-8) auto 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: rgba(23, 23, 23, 0.6);
}

.pf-empty-msg__catalog-link {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 290px;
  margin-top: var(--space-24);
}

@media (max-width: 1179px) {
  .pf-empty-msg__title {
    font-size: 24px;
  }

  .pf-empty-msg__text {
    font-size: 14px;
  }
}

@media (max-width: 1179px) {
  .pf-wishlist {
    grid-template-columns: 1fr;
  }

  .pf-my-subpage__sidebar,
  .pf-my-subpage__nav-card,
  .pf-my-subpage__logout {
    width: 100%;
  }

  .pf-compare__actions {
    width: auto;
    flex-wrap: nowrap;
  }
}

/* Orders list (/my/orders/) */
html.my .pflame-page,
html.my .app-footer {
  background-color: #F6F7FA;
}

.pf-my-orders__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pf-my-orders__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
}

.pf-my-orders__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 10px;
  height: 20px;
  color: #ADADAD;
  text-decoration: none;
}

.pf-my-orders__back-icon,
.pf-my-orders__back .icon {
  display: block;
  width: 10px;
  height: 20px;
  flex-shrink: 0;
}

.pf-my-orders__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: var(--weight-600);
  line-height: normal;
  color: #171717;
}

.pf-my-orders__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.pf-my-orders__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 12px 20px;
  border-radius: var(--radius-8);
  background: #F3F4F7;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-700);
  line-height: 1;
  color: #171717;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pf-my-orders__tab span {
  color: rgba(23, 23, 23, 0.4);
}

.pf-my-orders__tab--active {
  background: #171717;
  color: var(--color-white);
}

.pf-my-orders__tab--active span {
  color: rgba(255, 255, 255, 0.55);
}

.pf-my-orders__grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 8px;
  align-items: stretch;
}

.pf-my-orders__grid--products {
  grid-auto-rows: auto;
  align-items: start;
}

.pf-my-orders .product-card {
  width: 100%;
}

.pf-my-orders__product-status {
  margin: 0 0 var(--space-12);
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-500);
  line-height: 1.35;
  white-space: nowrap;
}

.pf-my-orders__product-status--success {
  color: #2dbe60;
}

.pf-my-orders__product-status--danger {
  color: #e53935;
}

.pf-my-orders__product-status--neutral {
  color: var(--color-text-gray-2);
}

.pf-my-orders__product-card .product-card__name {
  margin-bottom: var(--space-8);
}

.pf-my-orders__product-card .offers {
  margin-top: auto;
}

.pf-my-orders__card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  height: 100%;
  min-height: 280px;
  margin: 0;
  padding: 20px;
  border: 1px solid #e9e9e9;
  border-radius: 20px;
  box-shadow: none;
}

.pf-my-orders__card .pf-my-account__thumbs {
  position: relative;
  flex-wrap: nowrap;
  gap: 4px;
  margin-bottom: 10px;
  overflow: visible;
}

.pf-my-orders__card:has(.pf-my-orders__tracking) .pf-my-account__thumbs {
  margin-bottom: 20px;
}

.pf-my-orders__card .pf-my-account__thumb {
  flex: 0 0 68px;
  min-width: 68px;
  width: 68px;
  max-width: 68px;
  height: 91px;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  background: #f8fafb;
}

.pf-my-orders__card .pf-my-account__thumb--has-more {
  z-index: 1;
  overflow: visible;
}

/* Figma 2818:17787 / 2998:31002 — +N over right edge of last visible thumb */
.pf-my-orders__card .pf-my-account__more-badge {
  top: 50%;
  left: auto;
  right: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 10px;
  border-radius: 10px;
  transform: translate(50%, -50%);
}

.pf-my-orders__card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: var(--weight-600);
  line-height: 1.1;
  color: #171717;
  text-decoration: none;
  white-space: nowrap;
}

.pf-my-orders__card-status-arrow {
  display: block;
  width: 9px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  color: #ADADAD;
}

.pf-my-orders__card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.pf-my-orders__card-meta-line,
.pf-my-orders__card-meta p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: var(--weight-400);
  line-height: 1.25;
  color: #171717;
}

.pf-my-orders__card-meta-line--muted {
  color: rgba(23, 23, 23, 0.6);
}

.pf-my-orders__card-meta-line--strong {
  font-weight: var(--weight-600);
}

.pf-my-orders__card-thumbs {
  margin-bottom: 0;
}

.pf-my-orders__tracking {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-top: auto;
  margin-bottom: 8px;
  padding: 9px 6px;
  border-radius: 10px;
  background: #F3F4F7;
}

.pf-my-orders__tracking-label {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--weight-400);
  line-height: 1.2;
  color: rgba(23, 23, 23, 0.6);
}

.pf-my-orders__tracking-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.pf-my-orders__tracking-value {
  font-family: Montserrat;
  font-size: 20px;
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: #171717;
  word-break: break-all;
}

.pf-my-orders__tracking-copy-icon {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  color: #171717;
  opacity: 0.6;
}

.pf-my-orders__card-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  width: 100%;
}

.pf-my-orders__card:has(.pf-my-orders__tracking) .pf-my-orders__card-actions {
  gap: 8px;
  margin-top: 0;
}

.pf-my-orders__card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 14px 20px;
  border: 0;
  border-radius: var(--radius-8);
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-700);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.pf-my-orders__card-btn--primary {
  padding: 12px 20px;
  background: #EF773D;
  font-size: 16px;
  color: var(--color-white);
  box-shadow: none;
}

.pf-my-orders__card-btn--secondary {
  background: rgba(222, 229, 235, 0.3);
  color: #171717;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.pf-my-orders__card-btn:hover {
  opacity: 0.85;
}

.pf-my-orders__storage-hint {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: var(--weight-400);
  line-height: 1.25;
  color: rgba(23, 23, 23, 0.6);
  text-align: center;
}

body.pf-order-tracking-drawer-open {
  overflow: hidden;
}

.pf-order-tracking-drawer {
  position: fixed;
  inset: 0;
  z-index: 2160;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  pointer-events: none;
}

.pf-order-tracking-drawer[hidden] {
  display: none !important;
}

.pf-order-tracking-drawer .pf-auth-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}

.pf-order-tracking-drawer .pf-auth-drawer__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 480px);
  height: 100%;
  margin-left: auto;
  border: 0;
  border-left: 1px solid rgba(23, 23, 23, 0.06);
  border-radius: var(--radius-20) 0 0 var(--radius-20);
  background: var(--color-white);
  box-shadow: -10px 0 32px rgba(23, 23, 23, 0.12);
  pointer-events: auto;
  overflow: hidden;
}

.pf-order-tracking-drawer .pf-auth-drawer__close {
  position: absolute;
  top: var(--space-16);
  right: var(--space-16);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-gray-2);
  cursor: pointer;
}

.pf-order-tracking-drawer .pf-auth-drawer__close:hover {
  background: var(--color-surface);
}

.pf-order-tracking-drawer .pf-auth-drawer__close .icon {
  width: 20px;
  height: 20px;
}

.pf-order-tracking-drawer__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: var(--space-24) var(--space-24) var(--space-32);
  overflow: auto;
}

.pf-order-tracking-drawer__title {
  margin: 0 56px var(--space-24) 0;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: var(--weight-600);
  line-height: 1.15;
  color: var(--color-text);
}

.pf-order-tracking-drawer__loading,
.pf-order-tracking__error {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  line-height: 1.45;
  color: var(--color-text-gray-2);
}

.pf-order-tracking__eta {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-24);
  padding: var(--space-16);
  border-radius: var(--radius-12);
  background: #F3F4F7;
}

.pf-order-tracking__eta-label {
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-400);
  line-height: 1.35;
  color: var(--color-text-gray-2);
}

.pf-order-tracking__eta-value {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-text);
}

.pf-order-tracking__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pf-order-tracking__step {
  position: relative;
  padding: 0 0 var(--space-24) var(--space-24);
}

.pf-order-tracking__step[hidden] {
  display: none;
}

.pf-order-tracking__step::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text);
}

.pf-order-tracking__step::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 7px;
  width: 2px;
  height: calc(100% - 10px);
  background: var(--color-text);
}

.pf-order-tracking__step:last-child::after {
  display: none;
}

.pf-order-tracking__step--pending::before {
  background: #D1D5DB;
}

.pf-order-tracking__step--pending::after {
  background: repeating-linear-gradient(
    to bottom,
    #D1D5DB 0,
    #D1D5DB 4px,
    transparent 4px,
    transparent 8px
  );
}

.pf-order-tracking__step--pending .pf-order-tracking__step-title,
.pf-order-tracking__step--pending .pf-order-tracking__step-text,
.pf-order-tracking__step--pending .pf-order-tracking__step-date {
  color: rgba(23, 23, 23, 0.35);
}

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

.pf-order-tracking__step-main {
  min-width: 0;
}

.pf-order-tracking__step-title {
  display: block;
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-600);
  line-height: 1.25;
  color: var(--color-text);
}

.pf-order-tracking__step-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-400);
  line-height: 1.4;
  color: var(--color-text-gray-2);
}

.pf-order-tracking__step-date {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: var(--text-12);
  font-weight: var(--weight-400);
  line-height: 1.35;
  color: var(--color-text-gray-2);
  white-space: nowrap;
}

.pf-order-tracking__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-8);
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-400);
  line-height: 1.35;
  color: var(--color-text-gray-2);
  cursor: pointer;
}

.pf-order-tracking__step.is-expanded .pf-order-tracking__toggle-icon {
  transform: rotate(180deg);
}

.pf-order-tracking__toggle-icon {
  transition: transform 0.2s ease;
}

.pf-my-orders__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 420px;
  padding: var(--space-32) var(--space-16);
  text-align: center;
}

.pf-my-orders__empty-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin-bottom: var(--space-8);
}

.pf-my-orders__empty-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.55) 0%, rgba(147, 197, 253, 0) 72%);
  filter: blur(10px);
}

.pf-my-orders__empty-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  color: var(--color-text);
}

.pf-my-orders__empty-title {
  margin: 0 0 var(--space-8);
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: var(--weight-600);
  line-height: 1.1;
  color: var(--color-text);
}

.pf-my-orders__empty-text {
  max-width: 360px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-400);
  line-height: 1.4;
  color: var(--color-text-gray-2);
}

.pf-my-orders__empty-btn {
  margin-top: var(--space-16);
}

@media (min-width: 768px) {
  .pf-my-orders__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-my-orders__grid--products {
    gap: 48px 8px;
  }
}

@media (min-width: 1180px) {
  .pf-my-orders__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pf-my-orders__grid--products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .pf-my-subpage__sidebar {
    display: none;
  }

  .pf-my-orders__title {
    font-size: 24px;
  }

  .pf-my-subpage__profile {
    padding-left: 0;
    padding-right: 0;
  }

  .pf-wishlist__link {
    padding: 16px;
    font-size: var(--text-16);
  }

  .pf-my-account__empty {
    font-size: 16px;
  }

  .pf-my-account__help-btn {
    align-self: stretch;
    width: 100%;
  }

  .pf-my-orders__card {
    padding: 16px;
  }
}

/* Single order page (/my/order/:id/) — Figma 266:13784 */
.pf-my-order-page .pf-my-order__payment-status .ruble,
.pf-my-order-page .pf-my-order__payment-row .ruble,
.pf-my-order-page .pf-my-order__item-price .ruble,
.pf-my-order-page .pf-my-order__track-btn--primary .ruble {
  line-height: 1;
  font-size: 1em;
  font-weight: inherit;
  margin-left: -0.2em;
}

.pf-my-order__actions-card .pf-my-order__track-actions {
  margin-top: 0;
}

.pf-my-order__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.pf-my-order__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.pf-my-order__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  margin-bottom: 0;
}

.pf-my-order__track-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  min-width: 0;
  padding: var(--space-20);
  border: 1px solid #e9e9e9;
  border-radius: var(--radius-20);
  background: var(--color-white);
}

/* Figma 266:14055 — Ellipse 23 (#FFB895, blur 160), rotated ≈ -84° */
.pf-my-order__track-card-glow {
  position: absolute;
  left: -35px;
  top: 17px;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 497px;
  height: 446px;
  pointer-events: none;
  transform: rotate(-84.18deg);
  transform-origin: center center;
}

.pf-my-order__track-card-glow img {
  display: block;
  /* SVG viewBox includes blur padding (~70–80% beyond ellipse) */
  width: 260%;
  height: 240%;
  max-width: none;
  object-fit: fill;
}

.pf-my-order__track-card > *:not(.pf-my-order__track-card-glow) {
  position: relative;
  z-index: 1;
}

.pf-my-order__track-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 20px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: center;
}

.pf-my-order__track-label {
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-400);
  line-height: 1.2;
  color: rgba(23, 23, 23, 0.6);
}

.pf-my-order__track-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  max-width: 100%;
}

.pf-my-order__track-value {
  font-family: Montserrat;
  font-size: 28px;
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-text);
  word-break: break-all;
}

.pf-my-order__track-copy-icon {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  opacity: 0.6;
  color: var(--color-text);
}

.pf-my-order__track-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
  margin-top: 0;
}

/* Figma 266:14055 — translucent frost over peach glow, not opaque .btn--soft */
.pf-my-order__track-btn,
.pf-my-order__receipt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 14px 20px;
  border: 0;
  border-radius: var(--radius-8);
  background: rgba(222, 229, 235, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-700);
  line-height: 1.1;
  color: var(--color-text);
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.pf-my-order__track-btn--primary,
.pf-my-order__track-btn--ghost {
  color: var(--color-text);
}

.pf-my-order__track-btn:hover,
.pf-my-order__receipt-btn:hover {
  background: rgba(222, 229, 235, 0.45);
}

.pf-my-order__track-btn:has(.pf-my-order__track-btn-icon-wrap) {
  min-height: 40px;
  height: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.pf-my-order__track-btn-icon-wrap {
  display: inline-flex;
  flex-shrink: 0;
  opacity: 0.3;
}

.pf-my-order__track-btn-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.pf-my-order__delivery,
.pf-my-order__payment {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  padding: var(--space-20);
  border: 1px solid #e9e9e9;
  border-radius: var(--radius-20);
  background: var(--color-white);
}

.pf-my-order__delivery-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: var(--text-20);
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-text);
  white-space: nowrap;
}

.pf-my-order__delivery-status-arrow {
  flex-shrink: 0;
  width: 6px;
  height: 12px;
  color: rgba(23, 23, 23, 0.35);
}

.pf-my-order__delivery-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0;
}

.pf-my-order__delivery-line {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-400);
  line-height: 1.35;
  color: var(--color-text);
}

.pf-my-order__delivery-line--strong {
  font-weight: var(--weight-600);
}

.pf-my-order__delivery-line--muted {
  color: rgba(23, 23, 23, 0.6);
}

.pf-my-order__delivery-hours {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  padding-top: 10px;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-400);
  line-height: 1.35;
  color: rgba(23, 23, 23, 0.6);
  white-space: pre-line;
}

.pf-my-order__delivery-hours-label {
  margin: 0;
}

.pf-my-order__delivery-hours-value {
  margin: 0;
}

.pf-my-order__recipient {
  margin-top: var(--space-20);
}

.pf-my-order__recipient-label {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: var(--text-20);
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-text);
}

.pf-my-order__recipient-name,
.pf-my-order__recipient-phone {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: var(--weight-400);
  line-height: 1.35;
  color: var(--color-text);
}

.pf-my-order__payment {
  gap: 0;
}

.pf-my-order__payment-top {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: var(--space-20);
  min-height: 0;
  margin-bottom: 0;
}

.pf-my-order__payment-head {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pf-my-order__payment-status {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-20);
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-text);
}

.pf-my-order__payment-status span {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.pf-my-order__payment-method {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-400);
  line-height: 1.35;
  color: rgba(23, 23, 23, 0.6);
}

.pf-my-order__payment-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.pf-my-order__payment-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-12);
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: 1.35;
  color: var(--color-text);
}

.pf-my-order__payment-row dt {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-weight: var(--weight-400);
}

.pf-my-order__payment-row dd {
  margin: 0;
  flex-shrink: 0;
  font-weight: var(--weight-600);
  text-align: right;
}

.pf-my-order__payment-row--total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-12);
  margin-top: 0;
  padding-top: var(--space-20);
  border-top: 0;
  font-family: var(--font-sans);
  font-size: var(--text-20);
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-text);
  white-space: nowrap;
}

.pf-my-order__payment-row--total span:last-child {
  text-align: right;
}

.pf-my-order__receipt-btn {
  margin-top: var(--space-20);
}

.pf-my-order__payment-form {
  margin-top: var(--space-12);
}

.pf-my-order__items {
  box-sizing: border-box;
  max-width: 720px;
  padding: var(--space-20);
  border: 1px solid #e9e9e9;
  border-radius: var(--radius-20);
  background: var(--color-white);
}

.pf-my-order__items-title {
  margin: 0 0 var(--space-20);
  font-family: var(--font-sans);
  font-size: var(--text-20);
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-text);
}

.pf-my-order__items-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.pf-my-order__item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: var(--space-20);
  align-items: center;
  padding: 19px 20px;
  border-radius: var(--radius-20);
  background: #f6f7fa;
}

.pf-my-order__item-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 93px;
  border: 1px solid #e9e9e9;
  border-radius: var(--radius-8);
  overflow: hidden;
  background: #f8fafb;
  text-decoration: none;
}

.pf-my-order__item-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pf-my-order__item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pf-my-order__item-price {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-16);
  font-weight: var(--weight-600);
  line-height: 1.2;
  color: var(--color-text);
}

.pf-my-order__item-name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-600);
  line-height: 1.35;
  color: var(--color-text);
  opacity: 0.7;
  text-decoration: none;
}

a.pf-my-order__item-name:hover {
  color: #ef773d;
  opacity: 1;
}

.pf-my-order__tracking-plugin {
  margin-top: var(--space-16);
}

@media (min-width: 900px) {
  .pf-my-order__summary--has-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .pf-my-order__summary:not(.pf-my-order__summary--has-track) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

.pf-copy-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10000;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: calc(100% - (2 * var(--space-8)));
  max-width: 417px;
  padding: 20px 24px;
  border-radius: 20px;
  background: #171717;
  box-shadow: 0 9px 7px rgba(0, 0, 0, 0.09);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: var(--weight-400);
  line-height: normal;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.96);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.pf-copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.pf-copy-toast__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url("../../../assets/icons/icon-track-copied.svg") center / contain no-repeat;
}

.pf-copy-toast__text {
  font: inherit;
  color: inherit;
}

@media (min-width: 768px) and (max-width: 1179px) {
  .pf-copy-toast {
    width: calc(100% - (2 * var(--space-16)));
  }
}
