/* =======================================================================
   RE:VINYL · Личный кабинет клиента
   Спокойный Apple-ритм: крупный заголовок, мягкие карточки, один акцент.
   ======================================================================= */

body.rv-account-page .page-section > .section__head { display: none; }
body.rv-account-page .page-section--flow {
  padding-top: calc(var(--header-h) + clamp(16px, 2.6vw, 28px));
  padding-bottom: clamp(40px, 7vw, 90px);
}
body.rv-account-page .page-section--flow > .woocommerce { max-width: none; }

.rv-account {
  --acc-surface: rgba(var(--fg-rgb), 0.055);
  --acc-surface-2: rgba(var(--fg-rgb), 0.09);
  --acc-line: var(--line);
  --acc-text: var(--paper);
  --acc-muted: var(--paper-dim);
  --acc-radius: clamp(18px, 2vw, 24px);
  --acc-tap: 44px;
  width: min(1180px, calc(100% - clamp(24px, 4vw, 48px)));
  margin: 0 auto;
  color: var(--acc-text);
  font-family: var(--ff-body);
  overflow-wrap: break-word;
  text-wrap: pretty;
}
html[data-theme="light"] .rv-account {
  --acc-surface: rgba(255, 255, 255, 0.72);
  --acc-surface-2: rgba(255, 255, 255, 0.9);
  --acc-line: rgba(42, 26, 16, 0.14);
  --acc-text: #2a1a10;
  --acc-muted: #6b4e38;
}

.rv-account *,
.rv-account *::before,
.rv-account *::after { box-sizing: border-box; }

.rv-account :focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}
.rv-account p,
.rv-account li { orphans: 2; widows: 2; }
.rv-account img { max-width: 100%; height: auto; }
.rv-account input,
.rv-account select,
.rv-account textarea,
.rv-account button { max-width: 100%; }

.rv-acc-kicker {
  display: block;
  margin: 0 0 9px;
  color: var(--acc-muted);
  font-family: var(--ff-cond);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.rv-acc-lead,
.rv-acc-muted {
  color: var(--acc-muted);
  font-size: 14px;
  line-height: 1.65;
  text-wrap: pretty;
}
.rv-acc-lead { max-width: 68ch; }
.rv-acc-muted { font-size: 12.5px; }

.rv-acc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--acid);
  border-radius: 13px;
  background: linear-gradient(180deg, var(--acid), var(--acid-deep));
  color: var(--on-acid);
  font: 600 14px/1.25 var(--ff-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s, filter 0.18s, background 0.18s, border-color 0.18s;
}
.rv-acc-btn:hover { filter: brightness(1.05); }
.rv-acc-btn:active { transform: scale(0.985); }
.rv-acc-btn--ghost {
  background: transparent;
  border-color: var(--acc-line);
  color: var(--acc-text);
}
.rv-acc-btn--ghost:hover { background: var(--acc-surface-2); }
.rv-acc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--acc-tap);
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--acid-text);
  font: 600 12.5px/1.4 var(--ff-body);
  text-decoration: none;
  cursor: pointer;
}
.rv-acc-link::after {
  content: "→";
  font-size: 13px;
  line-height: 1;
  transition: transform 0.18s;
}
.rv-acc-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.rv-acc-link:hover::after { transform: translateX(2px); }
.rv-acc-link--center { justify-content: center; }
.rv-acc-link--center::after { content: none; }
.rv-acc-link--danger { color: var(--red); }
.rv-acc-back {
  display: inline-flex;
  align-items: center;
  min-height: var(--acc-tap);
  margin-bottom: 16px;
  padding: 0 4px;
  border-radius: 9px;
  color: var(--acc-muted);
  font-size: 12.5px;
  text-decoration: none;
}
.rv-acc-back:hover { color: var(--acc-text); }

/* ----------------------------- вход и регистрация ----------------------------- */
.rv-account--auth {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(24px, 4.5vw, 64px);
  align-items: center;
  padding: clamp(8px, 3vw, 34px) 0 clamp(20px, 5vw, 50px);
}
.rv-acc-hero h1 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.rv-acc-hero h1 em {
  color: var(--acid-text);
  font-style: normal;
}
.rv-acc-hero__lead {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--acc-muted);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.65;
  text-wrap: pretty;
}
.rv-acc-hero__list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--acc-muted);
  font-size: 13px;
}
.rv-acc-hero__list li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.rv-acc-hero__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(247, 148, 30, 0.12);
}

.rv-acc-auth {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--acc-line);
  border-radius: 28px;
  background: var(--acc-surface);
  box-shadow: 0 30px 80px -50px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
html[data-theme="light"] .rv-acc-auth { box-shadow: 0 26px 60px -42px rgba(74, 47, 30, 0.45); }
.rv-acc-auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--acc-line);
  border-radius: 999px;
  background: var(--acc-surface-2);
}
.rv-acc-auth__tab {
  display: grid;
  place-items: center;
  min-height: var(--acc-tap);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--acc-muted);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.rv-acc-auth__tab.is-active {
  background: var(--acid);
  color: var(--on-acid);
}

.rv-acc-form { display: grid; gap: 14px; }
.rv-acc-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.rv-acc-field { display: grid; gap: 6px; min-width: 0; }
.rv-acc-field > span {
  color: var(--acc-muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.rv-acc-field input,
.rv-acc-field select,
.rv-acc-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--acc-line);
  border-radius: 12px;
  background: var(--acc-surface-2);
  color: var(--acc-text);
  font: 14px/1.35 var(--ff-body);
  outline: 0;
  transition: border-color 0.18s, background 0.18s;
}
.rv-acc-field textarea { min-height: 112px; resize: vertical; }
.rv-acc-field select { appearance: auto; }
.rv-acc-field input:focus,
.rv-acc-field select:focus,
.rv-acc-field textarea:focus { border-color: var(--acid); background: var(--acc-surface); }
.rv-acc-field input::placeholder,
.rv-acc-field textarea::placeholder { color: var(--acc-muted); opacity: 0.75; }
.rv-acc-field input[readonly],
.rv-acc-field input:disabled { opacity: 0.62; cursor: default; }
.rv-acc-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: var(--acc-tap);
  color: var(--acc-muted);
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}
.rv-acc-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--acid); flex: none; }
.rv-acc-check a { color: var(--acid-text); text-decoration: underline; text-underline-offset: 2px; }
.rv-acc-form__note {
  margin: 2px 0 0;
  color: var(--acc-muted);
  font-size: 11.5px;
  line-height: 1.55;
}
.rv-acc-form__note a { color: var(--acid-text); }
.rv-acc-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rv-acc-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--acc-line);
  border-left: 3px solid var(--acid);
  border-radius: 12px;
  background: var(--acc-surface-2);
  color: var(--acc-text);
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.rv-acc-notice.is-ok { border-left-color: #3f9b6e; }
.rv-acc-notice.is-warn { border-left-color: var(--acid); }
.rv-acc-notice.is-error { border-left-color: var(--red); }

/* ----------------------------- кабинет ----------------------------- */
.rv-acc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 32px);
  margin-bottom: clamp(18px, 2.4vw, 26px);
}
.rv-acc-head h1 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.rv-acc-head__user {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--acc-line);
  border-radius: 999px;
  background: var(--acc-surface);
  min-width: 0;
}
.rv-acc-head__user > div { display: grid; gap: 1px; min-width: 0; }
.rv-acc-head__user b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-acc-head__user small { color: var(--acc-muted); font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-acc-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--acid), var(--acid-deep));
  color: var(--on-acid);
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.rv-acc-icon-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--acc-muted);
  text-decoration: none;
  flex: none;
}
.rv-acc-icon-link:hover { background: var(--acc-surface-2); color: var(--acc-text); }

.rv-acc-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 clamp(18px, 2.4vw, 26px);
}
.rv-acc-tabs__arrow {
  display: none;
  place-items: center;
  flex: none;
  width: 38px;
  height: var(--acc-tap);
  padding: 0;
  border: 1px solid var(--acc-line);
  border-radius: 13px;
  background: var(--acc-surface);
  color: var(--acc-text);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, opacity 0.18s;
}
.rv-acc-tabs__arrow:hover { background: var(--acc-surface-2); border-color: var(--line-strong); }
.rv-acc-tabs__arrow:disabled { opacity: 0.32; cursor: default; }
.rv-acc-tabs {
  display: flex;
  flex: 1 1 auto;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--acc-line);
  border-radius: 999px;
  background: var(--acc-surface);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.rv-acc-tabs::-webkit-scrollbar { display: none; }
.rv-acc-tab {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-height: var(--acc-tap);
  padding: 6px 16px;
  border-radius: 999px;
  scroll-snap-align: start;
  color: var(--acc-muted);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.rv-acc-tab:hover { color: var(--acc-text); }
.rv-acc-tab.is-active { background: var(--acid); color: var(--on-acid); }

.rv-acc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.rv-acc-stat {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: clamp(15px, 1.8vw, 20px);
  border: 1px solid var(--acc-line);
  border-radius: 20px;
  background: var(--acc-surface);
}
.rv-acc-stat > span { color: var(--acc-muted); font-size: 11.5px; }
.rv-acc-stat b {
  font-family: var(--ff-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.rv-acc-stat small { color: var(--acc-muted); font-size: 10.5px; }

.rv-acc-grid { display: grid; gap: 14px; margin-bottom: 14px; }
.rv-acc-grid--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.rv-acc-panel {
  min-width: 0;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--acc-line);
  border-radius: var(--acc-radius);
  background: var(--acc-surface);
}
.rv-acc-panel--center { display: grid; justify-items: center; max-width: 560px; margin: 30px auto; text-align: center; }
.rv-acc-panel--center h1 { margin: 0 0 12px; font-family: var(--ff-display); font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.04em; }
.rv-acc-panel--center p { margin: 0 0 10px; color: var(--acc-muted); line-height: 1.6; }
.rv-acc-panel__head { margin-bottom: 16px; }
.rv-acc-panel__head h2,
.rv-acc-section__head h2 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.rv-acc-visit {
  margin: 0 0 8px;
  font-family: var(--ff-cond);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--acid-text);
}
.rv-acc-panel .rv-acc-btn { margin-top: 14px; }

.rv-acc-section { margin-top: 8px; }
.rv-acc-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 14px;
}
.rv-acc-count {
  min-width: 30px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--acc-surface);
  color: var(--acc-muted);
  font-size: 11px;
  font-weight: 600;
}

/* ----------------------------- заказы ----------------------------- */
.rv-acc-orders { display: grid; gap: 12px; }
.rv-acc-order {
  min-width: 0;
  padding: clamp(14px, 1.8vw, 18px);
  border: 1px solid var(--acc-line);
  border-radius: 20px;
  background: var(--acc-surface);
}
.rv-acc-order__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.rv-acc-order__num {
  display: block;
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.rv-acc-order__date { display: block; margin-top: 2px; color: var(--acc-muted); font-size: 11px; }
.rv-acc-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--acc-line);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.rv-acc-status.is-confirmed { color: #3f9b6e; border-color: rgba(63, 155, 110, 0.35); background: rgba(63, 155, 110, 0.1); }
.rv-acc-status.is-done { color: var(--acc-muted); }
.rv-acc-status.is-canceled { color: var(--red); border-color: rgba(229, 72, 44, 0.32); background: rgba(229, 72, 44, 0.08); }
.rv-acc-status.is-pending { color: var(--acid-text); border-color: rgba(247, 148, 30, 0.32); background: rgba(247, 148, 30, 0.08); }

.rv-acc-order__items { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rv-acc-order__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.rv-acc-order__thumb {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--acc-surface-2);
}
.rv-acc-order__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rv-acc-order__name { display: grid; gap: 1px; min-width: 0; }
.rv-acc-order__name b { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-acc-order__name small { color: var(--acc-muted); font-size: 10.5px; overflow-wrap: anywhere; }
.rv-acc-order__sum { font-size: 12px; font-weight: 600; white-space: nowrap; }
.rv-acc-order__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--acc-line);
}
.rv-acc-order__total { font-size: 12px; color: var(--acc-muted); }
.rv-acc-order__total b { color: var(--acc-text); font-size: 14px; }
.rv-acc-order__pickup { color: var(--acc-muted); font-size: 11px; }
.rv-acc-order__foot .rv-acc-link { margin-left: auto; }

/* ----------------------------- товары ----------------------------- */
.rv-acc-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.rv-acc-product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--acc-line);
  border-radius: 18px;
  background: var(--acc-surface);
  transition: transform 0.22s, border-color 0.22s, background 0.22s;
}
.rv-acc-product:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.rv-acc-product__media {
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--acc-surface-2);
}
.rv-acc-product__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-acc-product__body { display: grid; gap: 3px; padding: 10px 2px 2px; min-width: 0; }
.rv-acc-product__artist { color: var(--acc-muted); font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-acc-product__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--acc-text);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}
.rv-acc-product__meta { color: var(--acc-muted); font-size: 10.5px; }
.rv-acc-product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}
.rv-acc-product__price { font-size: 13px; font-weight: 700; white-space: nowrap; }
.rv-acc-product__price del { color: var(--acc-muted); font-size: 10.5px; font-weight: 400; }
.rv-acc-product__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--acc-line);
  border-radius: 999px;
  color: var(--acc-text);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.rv-acc-product__add:hover { background: var(--acid); border-color: var(--acid); color: var(--on-acid); }
.rv-acc-product__fav {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(18, 12, 9, 0.58);
  color: #f3e8d4;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.18s, color 0.18s;
}
.rv-acc-product__fav.is-active { background: var(--acid); border-color: var(--acid); color: var(--on-acid); }
.rv-acc-product__fav:hover { background: var(--acid); color: var(--on-acid); }

.rv-acc-empty {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: clamp(34px, 6vw, 52px) 20px;
  border: 1px dashed var(--acc-line);
  border-radius: 22px;
  text-align: center;
}
.rv-acc-empty b { font-family: var(--ff-display); font-size: 20px; letter-spacing: -0.03em; text-wrap: balance; }
.rv-acc-empty p { max-width: 44ch; margin: 0; color: var(--acc-muted); font-size: 12.5px; line-height: 1.55; }
.rv-acc-empty .rv-acc-btn { margin-top: 6px; }

.rv-acc-links { display: grid; gap: 0; }
.rv-acc-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--acc-tap);
  padding: 6px 0;
  border-bottom: 1px solid var(--acc-line);
  color: var(--acc-text);
  font-size: 12.5px;
  text-decoration: none;
}
.rv-acc-links a::after {
  content: "›";
  margin-left: auto;
  color: var(--acc-muted);
  font-size: 19px;
  line-height: 1;
}
.rv-acc-links a:last-child { border-bottom: 0; }
.rv-acc-links a:hover { color: var(--acid-text); }
.rv-acc-links a:hover::after { color: var(--acid-text); }

/* ----------------------------- WooCommerce endpoints ----------------------------- */
.rv-account--endpoint .woocommerce { max-width: 900px; }
.rv-account--endpoint .woocommerce-MyAccount-navigation { margin-bottom: 22px; }
.rv-account--endpoint .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rv-account--endpoint .woocommerce-MyAccount-navigation li a {
  display: inline-flex;
  align-items: center;
  min-height: var(--acc-tap);
  padding: 6px 14px;
  border: 1px solid var(--acc-line);
  border-radius: 999px;
  color: var(--acc-muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.rv-account--endpoint .woocommerce-MyAccount-navigation li.is-active a,
.rv-account--endpoint .woocommerce-MyAccount-navigation li a:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--on-acid);
}
.rv-account--endpoint .woocommerce-MyAccount-content {
  min-width: 0;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--acc-line);
  border-radius: 22px;
  background: var(--acc-surface);
  color: var(--acc-text);
  overflow-wrap: anywhere;
}
.rv-account--endpoint .woocommerce-MyAccount-content h2,
.rv-account--endpoint .woocommerce-MyAccount-content h3 {
  font-family: var(--ff-display);
  letter-spacing: -0.03em;
}
.rv-account--endpoint .woocommerce-MyAccount-content a { color: var(--acid-text); }
.rv-account--endpoint .woocommerce-MyAccount-content .button,
.rv-account--endpoint .woocommerce-MyAccount-content button.button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 11px;
  background: var(--acid);
  color: var(--on-acid);
  font-weight: 600;
}
.rv-account--endpoint .woocommerce-MyAccount-content input.input-text,
.rv-account--endpoint .woocommerce-MyAccount-content select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--acc-line);
  border-radius: 10px;
  background: var(--acc-surface-2);
  color: var(--acc-text);
}
.rv-account--endpoint .woocommerce-MyAccount-content table.shop_table {
  border: 1px solid var(--acc-line);
  border-radius: 14px;
  overflow: hidden;
}
.rv-account--endpoint .woocommerce-MyAccount-content table.shop_table th,
.rv-account--endpoint .woocommerce-MyAccount-content table.shop_table td {
  border-color: var(--acc-line);
  color: var(--acc-text);
}
.rv-account--endpoint .woocommerce-MyAccount-content table.shop_table th { color: var(--acc-muted); }

/* ----------------------------- адаптив ----------------------------- */
@media (max-width: 1024px) {
  .rv-account--auth { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); gap: 32px; }
  .rv-acc-auth { justify-self: stretch; max-width: none; }
  .rv-acc-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rv-account--auth { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 8px; }
  .rv-acc-auth { max-width: 560px; justify-self: start; }
  .rv-acc-hero h1 { font-size: clamp(34px, 8vw, 52px); }
  .rv-acc-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .rv-acc-head__user { width: 100%; }
  .rv-acc-head__user > div { flex: 1; }
  .rv-acc-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .rv-acc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rv-acc-tabs__arrow { display: grid; }
}
@media (max-width: 700px) {
  .rv-account { width: min(100% - 24px, 1180px); }
  .rv-acc-tabs { border-radius: 18px; }
  .rv-acc-tab { padding: 6px 13px; }
  .rv-acc-auth__tabs { border-radius: 18px; }
  .rv-acc-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-acc-form__row { grid-template-columns: minmax(0, 1fr); }
  .rv-acc-field input,
  .rv-acc-field select,
  .rv-acc-field textarea { font-size: 16px; }
  .rv-acc-order__foot .rv-acc-link { margin-left: 0; }
  .rv-account--endpoint .woocommerce-MyAccount-content { padding: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .rv-account--endpoint .woocommerce-MyAccount-content table.shop_table { min-width: 540px; }
  .rv-account--endpoint .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions { white-space: normal; }
}
@media (max-width: 430px) {
  .rv-acc-stats { grid-template-columns: minmax(0, 1fr); }
  .rv-acc-head h1 { font-size: clamp(27px, 9vw, 34px); }
  .rv-acc-auth { padding: 16px; border-radius: 22px; }
  .rv-acc-panel { border-radius: 20px; }
  .rv-acc-products { grid-template-columns: minmax(0, 1fr); }
  .rv-acc-product { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; min-height: 104px; }
  .rv-acc-product__media { aspect-ratio: 1; }
  .rv-acc-product__body { padding: 0; align-self: center; }
  .rv-acc-product__fav { top: 10px; right: 10px; width: var(--acc-tap); height: var(--acc-tap); }
  .rv-acc-product__add { min-height: var(--acc-tap); padding: 8px 14px; }
  .rv-acc-hero__lead { font-size: 14px; }
  .rv-acc-empty { padding: 30px 16px; }
}
@media (max-width: 360px) {
  .rv-account { width: calc(100% - 20px); }
  .rv-acc-auth { padding: 14px; }
  .rv-acc-head__user { padding: 7px 8px; gap: 8px; }
  .rv-acc-avatar { width: 34px; height: 34px; }
  .rv-acc-order__item { grid-template-columns: 38px minmax(0, 1fr); }
  .rv-acc-order__item .rv-acc-order__sum { grid-column: 2; }
  .rv-acc-order__thumb { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv-account *, .rv-account *::before, .rv-account *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .rv-acc-product:hover { transform: none; }
}
