.account-ui__top.category-page__top {
  filter: none;
}

.account-ui__content {
  padding: 76px 0 60px;
}

.account-ui__grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.account-ui__sidebar {
  position: sticky;
  top: 20px;
}

.account-nav {
  padding: 18px;
  border: 1px solid rgba(36, 36, 36, 0.08);
  border-radius: 24px;
  background: #fff;
}

.account-nav__item {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #242424;
  font: 500 16px/1.2 "Inter", sans-serif;
  transition: all 0.2s ease;
}

.account-nav__item + .account-nav__item {
  margin-top: 8px;
}

.account-nav__item:hover,
.account-nav__item.is-active {
  background: #5d00a4;
  color: #fff;
}

.account-nav__item--logout {
  color: #c0392b;
}

.account-nav__item--logout:hover {
  background: #c0392b;
  color: #fff;
}

.account-panel {
  padding: 32px;
  border: 1px solid rgba(36, 36, 36, 0.08);
  border-radius: 24px;
  background: #fff;
}

.account-panel__title {
  margin: 0 0 16px;
  font: 600 32px/1.15 "Inter", sans-serif;
  color: #242424;
}

.account-panel__subtitle {
  margin: 0 0 24px;
  font: 400 16px/1.7 "Inter", sans-serif;
  color: #666;
}

.account-panel__section + .account-panel__section {
  margin-top: 28px;
}

.account-panel__section-title {
  margin: 0 0 16px;
  font: 600 24px/1.2 "Inter", sans-serif;
  color: #242424;
}

.account-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.account-kpi {
  padding: 22px;
  border: 1px solid rgba(36, 36, 36, 0.08);
  border-radius: 20px;
  background: #fff;
}

.account-kpi__value {
  font: 600 32px/1 "Inter", sans-serif;
  color: #5d00a4;
  margin-bottom: 8px;
}

.account-kpi__label {
  font: 500 15px/1.4 "Inter", sans-serif;
  color: #242424;
}

.account-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-quick-link {
  display: block;
  padding: 18px 20px;
  border: 1px solid rgba(36, 36, 36, 0.08);
  border-radius: 18px;
  text-decoration: none;
  color: #242424;
  font: 500 16px/1.4 "Inter", sans-serif;
  transition: all 0.2s ease;
}

.account-quick-link:hover {
  background: #5d00a4;
  color: #fff;
  border-color: #5d00a4;
}

.account-note {
  margin-top: 20px;
  font: 400 15px/1.7 "Inter", sans-serif;
  color: #666;
}

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

.account-field--full {
  grid-column: 1 / -1;
}

.account-field label {
  display: block;
  margin-bottom: 10px;
  font: 500 16px/1.2 "Inter", sans-serif;
  color: #242424;
}

.account-field input,
.account-field select,
.account-field textarea {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(36, 36, 36, 0.1);
  border-radius: 16px;
  background: #fff;
  box-sizing: border-box;
  font: 400 15px/1.2 "Inter", sans-serif;
  color: #242424;
}

.account-field textarea {
  height: 140px;
  padding-top: 16px;
  resize: vertical;
}

.account-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 20px;
}

.account-checkbox input {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
}

.account-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.account-actions--between {
  justify-content: space-between;
}

.account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4px;
  padding: 16px 30px;
  border: none;
  border-radius: 999px;
  background: #5d00a4;
  color: #fff;
  font: 600 15px/1 "Inter", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.account-btn:hover {
  opacity: 0.92;
  color: #fff;
}

.account-btn--ghost {
  background: #fff;
  color: #5d00a4;
  border: 1px solid #5d00a4;
}

.account-btn--ghost:hover {
  background: #5d00a4;
  color: #fff;
}

.account-btn--danger {
  background: #fff;
  color: #c0392b;
  border: 1px solid #c0392b;
}

.account-btn--danger:hover {
  background: #c0392b;
  color: #fff;
}

.account-btn--sm {
  min-height: 20px;
  padding: 10px 18px;
  font-size: 14px;
}

.account-empty {
  padding: 28px;
  border: 1px dashed rgba(36, 36, 36, 0.14);
  border-radius: 20px;
  text-align: center;
  font: 400 16px/1.6 "Inter", sans-serif;
  color: #484848;
  background: #fcfcfc;
}

.account-alert {
  margin-bottom: 20px;
  padding: 16px 20px;
  border: 1px solid #ead8ff;
  border-radius: 16px;
  background: #faf5ff;
  color: #5d00a4;
  font: 500 15px/1.5 "Inter", sans-serif;
}

.account-table {
  border: 1px solid rgba(36, 36, 36, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

.account-table--scroll {
  overflow-x: auto;
}

.account-table__head,
.account-table__row {
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
}

.account-table__head {
  background: #fe90e7;
  font: 600 14px/1.3 "Inter", sans-serif;
  color: #242424;
}

.account-table__row {
  border-top: 1px solid rgba(36, 36, 36, 0.08);
  font: 400 15px/1.5 "Inter", sans-serif;
  color: #242424;
}

.account-table__row a {
  color: #FFFFFF;
  text-decoration: none;
}

.account-table__row--total {
  background: #faf7fd;
}

.account-product {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.account-product__image img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
  display: block;
}

.account-product__content {
  min-width: 0;
}

.account-product__name {
  display: block;
  font-weight: 600;
  font-size: 18px;
  color: #242424;
  text-decoration: none;
}

.account-product__meta {
  margin-top: 4px;
  color: #777;
  font-size: 14px;
}

.account-status {
  color: #2ebb77;
  font-weight: 500;
}

.account-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.account-meta__item {
  padding: 20px;
  border: 1px solid rgba(36, 36, 36, 0.08);
  border-radius: 18px;
  background: #fff;
}

.account-meta__label {
  margin-bottom: 8px;
  font: 500 14px/1.3 "Inter", sans-serif;
  color: #777;
}

.account-meta__value {
  font: 600 18px/1.4 "Inter", sans-serif;
  color: #242424;
}

.account-history {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-history__item {
  padding: 20px;
  border: 1px solid rgba(36, 36, 36, 0.1);
  border-radius: 16px;
  background: #fff;
}

.account-history__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font: 500 15px/1.4 "Inter", sans-serif;
  color: #242424;
}

.account-history__comment {
  margin-top: 10px;
  font: 400 15px/1.6 "Inter", sans-serif;
  color: #484848;
}

.wishlist-link-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.wishlist-link-row__label {
  font: 500 15px/1.3 "Inter", sans-serif;
  color: #242424;
}

.wishlist-link-row__box {
  display: flex;
  gap: 12px;
  flex: 1 1 520px;
}

.wishlist-link-row__box input {
  flex: 1 1 auto;
  height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(36, 36, 36, 0.1);
  border-radius: 999px;
  font: 400 15px/1.2 "Inter", sans-serif;
}

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

.address-card {
  padding: 28px;
  border: 1px solid rgba(36, 36, 36, 0.1);
  border-radius: 24px;
  background: #fff;
}

.address-card__text {
  min-height: 110px;
  font: 400 16px/1.7 "Inter", sans-serif;
  color: #242424;
}

.address-card__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .account-kpis,
  .account-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .account-ui__grid {
    grid-template-columns: 1fr;
  }

  .account-ui__sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .account-ui__content {
    padding: 50px 0 36px;
  }

  .account-panel {
    padding: 22px;
  }

  .account-panel__title {
    font-size: 24px;
  }

  .account-grid,
  .account-links-grid,
  .account-kpis,
  .account-meta,
  .address-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .account-actions,
  .address-card__actions {
    flex-direction: column;
  }

  .account-btn,
  .account-btn--ghost,
  .account-btn--danger {
    width: 100%;
  }

  .wishlist-link-row__box {
    flex-direction: column;
    width: 100%;
  }

  .wishlist-link-row__box input {
    width: 100%;
  }

  .account-history__top {
    flex-direction: column;
  }
}