/* profile styles start */
/* profile.php: Account Area */
.wt-lk {
  max-width: min(1380px, var(--wt-container-width));
  margin: 0 auto;
  padding: 40px var(--wt-page-padding) 64px;
}
.wt-lk__grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 88px;
  align-items: start;
}
.wt-lk__nav {
  padding-top: 0;
}
.wt-lk__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
  color: var(--wt-color-text);
  opacity: 0.72;
  transition: opacity 0.2s ease;
}
.wt-lk__link.is-active {
  opacity: 1;
}
.wt-lk__ico {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.wt-lk__link--orders .wt-lk__ico {
  background-image: url("/wp-content/uploads/2026/03/Vector-2.svg");
}
.wt-lk__link--profile .wt-lk__ico {
  background-image: url("/wp-content/uploads/2026/03/Profile.svg");
}
.wt-lk__link--favorites .wt-lk__ico {
  background-image: url("/wp-content/uploads/2026/03/Fav-1.svg");
}
.wt-lk__link--loyalty .wt-lk__ico {
  font-size: 18px;
  line-height: 24px;
  text-align: center;
}
.wt-lk__h1 {
  margin: 0 0 44px;
  font-size: 54px;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--wt-color-text);
}
.wt-lk__navTitle,
.wt-lk__h1 {
  display: none;
}
.page-header .entry-title {
  white-space: nowrap;
}
.wt-lk__status {
  margin: 0 0 14px;
  font-size: 12px;
  opacity: 0.9;
}
.wt-lk__status.is-ok {
  opacity: 1;
}
.wt-lk__status.is-err {
  opacity: 1;
}

.wt-orders {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wt-order {
  border-top: 1px solid var(--wt-color-accent-soft-18);
  border-bottom: 0;
}
.wt-order:last-child {
  border-bottom: 1px solid var(--wt-color-accent-soft-18);
}
.wt-order__head {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 32px 0 20px;
  border-bottom: 0;
}
.wt-order__cap {
  opacity: 1;
  margin-bottom: 18px;
  color: rgba(45, 42, 45, 0.82);
  font-size: 15px;
  line-height: 1.2;
}
.wt-order__val {
  color: var(--wt-color-text);
  font-size: 18px;
  line-height: 1.24;
}

.wt-order__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0 22px;
  background: transparent !important;
  border: 0 !important;
  border-top: 0;
  cursor: pointer;
  text-align: left;
  color: var(--wt-color-text) !important;
  font-family: var(--wt-font);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
}
.wt-order__toggle::after {
  content: "";
  width: 11px;
  height: 11px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
  opacity: 0.8;
}
.wt-order__toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.wt-order__items {
  border-top: 0;
}
.wt-order__item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 140px;
  gap: 34px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--wt-color-accent-soft-18);
}
.wt-order__item:last-child {
  border-bottom: 0;
  padding-bottom: 40px;
}
.wt-order__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.wt-order__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 6px;
}
.wt-order__name {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.28;
  color: var(--wt-color-text);
}
.wt-order__qty,
.wt-order__attr {
  opacity: 1;
  color: var(--wt-color-text-72);
  font-size: 15px;
  line-height: 1.25;
}
.wt-order__sum {
  white-space: nowrap;
  padding-top: 6px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.24;
  color: var(--wt-color-text);
  text-align: right;
}

.wt-profile {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 40px;
  align-items: start;
}
.wt-profile .wt-lf__row:nth-of-type(4) {
  grid-column: 1 / -1;
}

.wt-profile__title {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.12;
  color: var(--wt-color-text);
}
.wt-profile .wt-lf__row {
  margin-bottom: 0;
}

.wt-profile .wt-lf__actions {
  grid-column: 1 / -1;
}
.wt-profile .wt-lf__label {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(45, 42, 45, 0.82);
  font-size: 15px;
  line-height: 1.2;
  opacity: 1;
}
.wt-profile .wt-lf__input {
  padding: 0 0 18px;
  background: transparent;
  color: var(--wt-color-text);
  font-size: 18px;
  line-height: 1.2;
}
.wt-profile .wt-lf__actions {
  margin-top: 14px;
}
.wt-profile .wt-lf__actions .wt-btn,
.wt-profile__submit {
  min-width: 258px;
  min-height: 46px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.02em;
  border: 1px solid var(--wt-color-accent) !important;
  background: transparent !important;
  color: var(--wt-color-text) !important;
}
.wt-profile .wt-lf__actions .wt-btn:hover,
.wt-profile__submit:hover {
  background: var(--wt-color-accent-soft-18) !important;
  color: var(--wt-color-text) !important;
  border-color: var(--wt-color-accent) !important;
}

.wt-favs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.wt-fav__img img {
  width: 100%;
  height: auto;
  display: block;
}
.wt-fav__title {
  display: block;
  margin-top: 10px;
  text-decoration: none;
  color: inherit;
}
.wt-fav__price {
  margin-top: 6px;
}
.wt-fav__actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .wt-lk {
    padding: 24px;
  }

  .wt-lk__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wt-lk__navTitle,
  .wt-lk__h1 {
    font-size: 38px;
  }

  .wt-lk__nav {
    padding-top: 0;
  }

  .wt-order__head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 24px 0 18px;
  }

  .wt-order__item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
  }

  .wt-order__sum {
    grid-column: 2;
    text-align: left;
    padding-top: 0;
  }

  .wt-profile {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wt-profile__title,
  .wt-profile .wt-lf__actions {
    grid-column: auto;
  }

  .wt-profile .wt-lf__label {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .wt-profile .wt-lf__input {
    font-size: 18px;
  }

  .wt-profile .wt-lf__actions .wt-btn,
  .wt-profile__submit {
    min-width: 100%;
    min-height: 46px;
    font-size: 14px;
  }

  .wt-favs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wt-lk {
    padding: 16px;
  }

  .wt-order__head {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
  }

  .wt-order__toggle {
    padding: 14px 16px;
  }

  .wt-order__item {
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 14px 16px;
  }

  .wt-order__sum {
    grid-column: 1 / -1;
  }

  .wt-favs {
    grid-template-columns: 1fr;
  }

  .wt-profile__title {
    font-size: 22px;
  }
}

/* profile styles end */
