/* ===== ЛИЧНЫЙ КАБИНЕТ - ОБЩИЕ СТИЛИ ===== */
.account_header__user-name {
	font-weight: 700;
	font-size: 30px;
	line-height: 110%;
	color: var(--c-white);
	margin-bottom: 15px;
}
.account_header__user-score {
	font-weight: 500;
	font-size: 14px;
	line-height: 120%;
	color: var(--c-white);
}

@media (min-width: 991px) {
	.account_header {
		text-align: right;
	}
	.account_header__user {
		display: none;
	}
}
@media (max-width: 990px) {
	.account-content-nomobile {
		display: none;
	}
}
.account_header > a {
	color: var(--c-white);
	background-color: rgba(255,255,255,0.1);
	border-radius: 30px;
}

.account-layout {
  display: flex;
  gap: 40px;
  margin-bottom: 80px;
}

/* ===== SIDEBAR ===== */
.account-sidebar {
	flex-shrink: 0;
}
@media (min-width: 991px) {
	.account-sidebar {
		width: 300px;
		padding-right: 20px;
		border-right: 1px solid #EEEEEE;
	}
}

.account-sidebar__user {
  margin-bottom: 20px;
}

.account-sidebar__user-name {
  font-size: 25px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}

.account-sidebar__user-score {
	border-radius: 30px;
	padding: 9px 14px;
	background-color: rgba(255, 82, 23, 0.2);
	color: var(--c-accent);
	font-size: 14px;
	display: inline-block;
	font-weight: 500;
}

.account-sidebar__logout {
	padding: 15px 0;
	font-size: 16px;
	line-height: 120%;
	color: var(--c-accent);
	display: block;
}
@media (min-width: 991px) {
	.account-sidebar__nav {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}
	.account-sidebar__nav-link {
		flex: 1 1 auto;
		min-width: 150px;
		justify-content: center;
	}
	.account-sidebar__nav-link {
		border-radius: var(--r-pill);
		padding: 15px 20px;
		font-size: 19px;
		line-height: 120%;
	}
	.account-sidebar__nav-link.is-active {
		background-color: var(--c-surface);
	}
	.account-sidebar__logout {
		display: none;
	}
}
@media (max-width: 990px) {
	.account-sidebar__nav-link {
		padding: 15px 0;
		border-bottom: 1px solid #EEEEEE;
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-size: 16px;
		line-height: 120%;
	}
	.account-sidebar__nav-link::after {
		content: "";
		background-image: url('../assets/arrow_right.svg');
		background-repeat: no-repeat;
		background-size: cover;
		width: 20px;
		height: 20px;
	}
}


.account-sidebar__nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ===== CONTENT ===== */
.account-content {
  flex: 1;
  min-width: 0;
}

.account-content__header {
  margin-bottom: 40px;
}

.account-content__title {
  font-size: 45px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}

.account-content__subtitle {
  font-size: 18px;
  color: var(--c-muted);
}

/* ===== FAVORITES GRID ===== */
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.favorites-empty {
  padding: 80px 40px;
  text-align: center;
  background: var(--c-surface);
  border-radius: var(--r-md);
}

.favorites-empty__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  opacity: 0.3;
}

.favorites-empty__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
}

.favorites-empty__text {
  font-size: 16px;
  color: var(--c-muted);
  margin-bottom: 24px;
}

.favorites-empty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 500;
  color: var(--c-white);
  background: var(--c-primary);
  border: none;
  border-radius: var(--r-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.favorites-empty__btn:hover {
  opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .account-layout {
    flex-direction: column;
    gap: 30px;
  }

  .account-sidebar {
    width: 100%;
  }

}

@media (max-width: 768px) {
  .account-content__title {
    font-size: 32px;
  }

  .favorites-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
}

/* ===== ЛИЧНЫЙ КАБИНЕТ - ЗАКАЗЫ ===== */

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.order-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 30px;
  transition: all 0.2s ease;
}

.order-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.order-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
}

.order-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-card__number {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
}

.order-card__date {
  font-size: 16px;
  color: var(--c-muted);
}

.order-card__status {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-sm);
  white-space: nowrap;
}

.order-card__status--pending {
  background: #fff3cd;
  color: #856404;
}

.order-card__status--processing {
  background: #cfe2ff;
  color: #084298;
}

.order-card__status--shipped {
  background: #d1ecf1;
  color: #0c5460;
}

.order-card__status--delivered {
  background: #d4edda;
  color: #155724;
}

.order-card__status--cancelled {
  background: #f8d7da;
  color: #721c24;
}

.order-card__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.order-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.order-item__image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: var(--c-surface);
}

.order-item__details {
  flex: 1;
  min-width: 0;
}

.order-item__name {
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.order-item__meta {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 8px;
}

.order-item__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
}

.order-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
}

.order-card__total {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-card__total-label {
  font-size: 14px;
  color: var(--c-muted);
}

.order-card__total-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text);
}

.order-card__actions {
  display: flex;
  gap: 12px;
}

.order-card__btn {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.order-card__btn--primary {
  background: var(--c-primary);
  color: var(--c-white);
}

.order-card__btn--primary:hover {
  opacity: 0.9;
}

.order-card__btn--secondary {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}

.order-card__btn--secondary:hover {
  background: var(--c-surface);
}

.orders-empty {
  padding: 80px 40px;
  text-align: center;
  background: var(--c-surface);
  border-radius: var(--r-md);
}

.orders-empty__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  opacity: 0.3;
}

.orders-empty__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
}

.orders-empty__text {
  font-size: 16px;
  color: var(--c-muted);
  margin-bottom: 24px;
}

.orders-empty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 500;
  color: var(--c-white);
  background: var(--c-primary);
  border: none;
  border-radius: var(--r-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.orders-empty__btn:hover {
  opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .order-card {
    padding: 20px;
  }

  .order-card__header {
    flex-direction: column;
    gap: 16px;
  }

  .order-card__status {
    align-self: flex-start;
  }

  .order-item {
    gap: 12px;
  }

  .order-item__image {
    width: 60px;
    height: 60px;
  }

  .order-card__footer {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .order-card__actions {
    flex-direction: column;
  }

  .order-card__btn {
    width: 100%;
  }
}

/* ===== ЛИЧНЫЙ КАБИНЕТ - ПРОФИЛЬ ===== */

.profile-form {
  max-width: 800px;
}

.profile-form__section {
  margin-bottom: 40px;
}

.profile-form__section h3 {
	margin-top: 40px;
	margin-bottom: 20px;
}
.profile-form__section [type=submit] {
	margin-top: 30px;
}

.profile-form__section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 24px;
}

.profile-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.profile-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-form__field--full {
  grid-column: 1 / -1;
}

.profile-form__label {
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
}

.profile-form__label-required {
  color: var(--c-accent);
}

.profile-form__input {
  padding: 16px 20px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: all 0.2s ease;
}

.profile-form__input:hover {
  border-color: var(--c-muted2);
}

.profile-form__input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(127, 104, 255, 0.1);
}

.profile-form__input::placeholder {
  color: var(--c-muted2);
}

.profile-form__input:disabled {
  background: var(--c-surface);
  color: var(--c-muted);
  cursor: not-allowed;
}

.profile-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.profile-form__hint {
  font-size: 14px;
  color: var(--c-muted);
}

.profile-form__error {
  font-size: 14px;
  color: var(--c-accent);
}

.profile-form__input--error {
  border-color: var(--c-accent);
}

.profile-form__input--error:focus {
  box-shadow: 0 0 0 3px rgba(255, 82, 23, 0.1);
}

.profile-form__checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.profile-form__checkbox-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.profile-form__checkbox-label {
  font-size: 16px;
  color: var(--c-text);
  cursor: pointer;
  user-select: none;
}

.profile-form__actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--c-border);
}

.profile-form__btn {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 500;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-form__btn--primary {
  background: var(--c-primary);
  color: var(--c-white);
}

.profile-form__btn--primary:hover {
  opacity: 0.9;
}

.profile-form__btn--secondary {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}

.profile-form__btn--secondary:hover {
  background: var(--c-surface);
}

.profile-form__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== АВАТАР ===== */
.profile-avatar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.profile-avatar__image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-surface);
}

.profile-avatar__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-avatar__btn {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-avatar__btn--upload {
  background: var(--c-primary);
  color: var(--c-white);
}

.profile-avatar__btn--upload:hover {
  opacity: 0.9;
}

.profile-avatar__btn--remove {
  background: transparent;
  color: var(--c-accent);
}

.profile-avatar__btn--remove:hover {
  background: rgba(255, 82, 23, 0.1);
}

.profile-avatar__input {
  display: none;
}

/* ===== УДАЛЕНИЕ АККАУНТА ===== */
.profile-danger {
  margin-top: 60px;
  padding: 30px;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: var(--r-md);
}

.profile-danger__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.profile-danger__text {
  font-size: 16px;
  color: var(--c-text);
  margin-bottom: 20px;
}

.profile-danger__btn {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-white);
  background: var(--c-accent);
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-danger__btn:hover {
  opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .profile-form__grid {
    grid-template-columns: 1fr;
  }

  .profile-form__field--full {
    grid-column: 1;
  }

  .profile-form__actions {
    flex-direction: column;
  }

  .profile-form__btn {
    width: 100%;
  }

  .profile-avatar {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-avatar__actions {
    width: 100%;
  }

  .profile-avatar__btn {
    width: 100%;
  }
}

.account-wish_counter {
	font-size: 16px;
	line-height: 120%;
	opacity: 0.5;
}

.account-sidebar-back {
	display: flex;
	align-items: center;
	gap: 1em;
	align-items: center;
	font-size: 15px;
}
@media (min-width: 991px) {
	.account-sidebar-back {
		display: none;
	}
}
@media (max-width: 990px) {
	.account-sidebar__user,
	.header_logout,
	.account-sidebar-nomobile > .account-sidebar__nav {
		display: none;
	}
}

.account-content_order_statuses {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.account-content_order_statuses > a {
	border-radius: 30px;
	padding: 12px 20px;
	font-size: 16px;
	line-height: 120%;
}
.account-content_order_statuses > a.active {
	color: var(--c-accent);
	background-color: rgba(255, 82, 23, 0.2);
}
.account_orders {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.account_order_card {
	display: flex;
	gap: 15px;
	padding: 20px;
	border-radius: var(--r-pill);
	border: 1px solid var(--c-border);
}
@media (max-width: 990px) {
	.account_order_card {
		flex-direction: column;
	}
}
.account_order_card_main_top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}
.account_order_status {
	display: inline-block;
	border-radius: 20px;
	padding: 8px;
	color: var(--c-white);
	background-color: #7F68FF;
	font-weight: 700;
	font-size: 13px;
	line-height: 120%;
}
.account_order_status.red {
	background-color: #FB4B26;
}
.account_order_status.green {
	background-color: #6F9C03;
}
.account_order_card_main_top > a {
	font-weight: 700;
	font-size: 20px;
	line-height: 130%;
}

.account_order_card_products {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 16px;
	line-height: 120%;
}
.account_order_card_products > a {
	width: 90px;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	background-color: var(--c-surface);
	padding: 8px;
}
.account_order_card_products > a > img {
	max-width: 100%;
	max-height: 100%;
}

.account_order_card_last {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.account_order_card_last > strong {
	font-weight: 700;
	font-size: 25px;
	line-height: 120%;
}
@media (max-width: 990px) {
	.account_order_card_last > form {
		order: 2;
	}
}
@media (min-width: 991px) {
	.account_order_card_main {
		width: 350px;
	}
	.account_order_card_last {
		margin-left: auto;
		align-items: flex-end;
	}
}

.account_noorders {
	border-radius: var(--r-pill);
	border: 1px solid #E3E3E3;
	padding: 30px;
	display: flex;
	gap: 15px;
	align-items: flex-end;
	justify-content: space-between;
	font-size: 18px;
	line-height: 130%;
}
@media (max-width: 990px) {
	.account_noorders {
		flex-direction: column;
		align-items: flex-start;
	}
}
.account_noorders h2 {
	font-weight: 700;
	font-size: 25px;
	line-height: 130%;
	margin-bottom: 10px;
}

.account_featured {
	margin-top: 50px;
}
.account_featured .section-head__title {
	font-size: 40px;
}

.order_block {
	margin-bottom: 30px;
}
.order_block > h2 {
	font-weight: 700;
	font-size: 30px;
	line-height: 110%;
	margin-bottom: 20px;
}
.order_block > ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	font-size: 17px;
	line-height: 120%;
}
.order_block > ul > li {
	display: flex;
	gap: 5px;
	align-items: baseline;
	padding: 5px 0;
}
.order_block > ul > li > .dots {
	flex-grow: 1;
	flex-shrink: 1;
	border-bottom: 1px dotted var(--c-muted2);
	min-width: 50px;
}
.order_block > ul > li > span:last-child {
	max-width: 400px;
	text-align: right;
}
.order_block > ul > li > label {
	max-width: 250px;
}
.order_products_lines {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.order_product_line {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.order_product_line_image {
	width: 110px;
	height: 110px;
	border-radius: var(--r-pill);
	padding: 10px;
	background-color: var(--c-surface);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.order_product_line_main {
	flex-grow: 1;
	flex-shrink: 1;
	display: flex;
	justify-content: space-between;
	gap: 15px;
}
.order_product_line_main_name > span {
	font-size: 15px;
	line-height: 120%;
	display: block;
	margin-bottom: 15px;
}
.order_product_line_main_name > a {
	font-weight: 500;
	font-size: 18px;
	line-height: 120%;
	display: block;
}
.order_product_line_price {
	text-align: right;
	font-weight: 700;
	font-size: 22px;
	line-height: 120%;
	white-space: nowrap;
}

@media (max-width: 660px) {
	.order_product_line_main {
		flex-direction: column;
	}
	.order_product_line_price {
		text-align: left;
	}
}

.user_bonus_banner {
	max-width: 100%;
	overflow-y: auto;
}
.user_bonus_banner_inner {
	padding: 20px;
	box-shadow: 0px 0px 35px 0px rgba(58, 13, 0, 0.05);
	border-radius: 40px;
	display: flex;
	gap: 10px;
}
.user_bonus_banner_inner > div {
	text-align: center;
	padding: 40px;
	background-color: rgba(255, 82, 23, 0.1);
	color: var(--c-accent);
	flex-grow: 1;
	font-size: 20px;
	line-height: 130%;
	flex-shrink: 0;
	flex-basis: 33%;
}
.user_bonus_banner_inner > div:first-child {
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	background-color: var(--c-accent);
	color: var(--c-white);
}
.user_bonus_banner_inner > div:last-child {
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
}
.user_bonus_banner_inner > div > label {
	font-weight: 700;
	font-size: 45px;
	line-height: 110%;
	display: block;
	margin-bottom: 15px;
	white-space: nowrap;
	min-width: 270px;
}

.user_bonus_faq {
	margin-top: 50px;
}
.user_bonus_faq_item {
	margin-bottom: 30px;
}
.user_bonus_faq_item > label {
	cursor: pointer;
	--faq_button: var(--c-text);
	font-weight: 700;
	font-size: 35px;
	line-height: 110%;
	display: flex;
	gap: 15px;
	align-items: center;
}
.user_bonus_faq_item.active > label {
	--faq_button: var(--c-accent);
}
.user_bonus_faq_item.active > label svg > path:last-child {
	display: none;
}
.user_bonus_faq_text {
	padding-top: 30px;
	padding-bottom: 20px;
	font-size: 20px;
	line-height: 130%;
}
@media (min-width: 991px) {
	.user_bonus_faq_text {
		padding-left: 100px;
	}
}
@media (max-width: 990px) {
	.user_bonus_faq_item > label {
		font-size: 20px;
	}
	.user_bonus_faq_text {
		font-size: 14px;
	}
	.user_bonus_faq_item > label > .btn {
		padding: 9px 12px;
	}
}