/* TVASHTAR 2026-05-23: restore Woo/YITH account page dark layout after CSS optimization. */
body.woocommerce-account sidebar {
  display: none !important;
}

/* TVASHTAR 2026-05-23: absolute final wrapper alignment against later theme rules. */
html body.woocommerce-account.woocommerce-orders div.page-container,
html body.woocommerce-account.woocommerce-woo-subscription div.page-container,
html body.woocommerce-account.woocommerce-view-order div.page-container {
  padding-top: 42px !important;
  background: transparent !important;
}

html body.woocommerce-account.woocommerce-orders .content-area,
html body.woocommerce-account.woocommerce-orders .site-content,
html body.woocommerce-account.woocommerce-orders .main__content,
html body.woocommerce-account.woocommerce-orders .content__block,
html body.woocommerce-account.woocommerce-woo-subscription .content-area,
html body.woocommerce-account.woocommerce-woo-subscription .site-content,
html body.woocommerce-account.woocommerce-woo-subscription .main__content,
html body.woocommerce-account.woocommerce-woo-subscription .content__block,
html body.woocommerce-account.woocommerce-view-order .content-area,
html body.woocommerce-account.woocommerce-view-order .site-content,
html body.woocommerce-account.woocommerce-view-order .main__content,
html body.woocommerce-account.woocommerce-view-order .content__block {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* TVASHTAR 2026-05-23: final account simplification override after all older account rules. */
body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap,
body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap,
body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap {
  display: none !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce,
body.woocommerce-account.woocommerce-woo-subscription .woocommerce,
body.woocommerce-account.woocommerce-view-order .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* TVASHTAR 2026-05-23: simplify account pages and add MemberLux-like mobile header. */
body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap,
body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap,
body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap {
  display: none !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce,
body.woocommerce-account.woocommerce-woo-subscription .woocommerce,
body.woocommerce-account.woocommerce-view-order .woocommerce {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 767px) {
  body.woocommerce-account.woocommerce-orders .head-container1,
  body.woocommerce-account.woocommerce-woo-subscription .head-container1,
  body.woocommerce-account.woocommerce-view-order .head-container1,
  body.woocommerce-account.woocommerce-orders .mobile-search-form,
  body.woocommerce-account.woocommerce-woo-subscription .mobile-search-form,
  body.woocommerce-account.woocommerce-view-order .mobile-search-form,
  body.woocommerce-account.woocommerce-orders .mobile-menu,
  body.woocommerce-account.woocommerce-woo-subscription .mobile-menu,
  body.woocommerce-account.woocommerce-view-order .mobile-menu,
  body.woocommerce-account.woocommerce-orders .mobile-menu-overlay,
  body.woocommerce-account.woocommerce-woo-subscription .mobile-menu-overlay,
  body.woocommerce-account.woocommerce-view-order .mobile-menu-overlay {
    display: none !important;
  }

  html body.woocommerce-account.woocommerce-orders div.page-container,
  html body.woocommerce-account.woocommerce-woo-subscription div.page-container,
  html body.woocommerce-account.woocommerce-view-order div.page-container {
    padding-top: 0 !important;
  }

  body.woocommerce-account.woocommerce-orders article,
  body.woocommerce-account.woocommerce-woo-subscription article,
  body.woocommerce-account.woocommerce-view-order article {
    margin-top: 0 !important;
    padding-top: 6px !important;
    border-radius: 0 !important;
    background: #0a0a0a !important;
    border-color: transparent !important;
  }

  body.woocommerce-account.woocommerce-orders article::before,
  body.woocommerce-account.woocommerce-woo-subscription article::before,
  body.woocommerce-account.woocommerce-view-order article::before {
    content: "" !important;
    display: block !important;
    width: calc(100vw - 20px) !important;
    max-width: 370px !important;
    aspect-ratio: 2520 / 560 !important;
    margin: 0 auto 20px !important;
    background-image: url("https://jantrish.com/wp-content/uploads/2026/01/probujdenie.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
  }

  body.woocommerce-account.woocommerce-orders .entry-content::before,
  body.woocommerce-account.woocommerce-woo-subscription .entry-content::before,
  body.woocommerce-account.woocommerce-view-order .entry-content::before {
    display: none !important;
    content: none !important;
  }

  body.woocommerce-account.woocommerce-orders .woocommerce::before,
  body.woocommerce-account.woocommerce-woo-subscription .woocommerce::before,
  body.woocommerce-account.woocommerce-view-order .woocommerce::before {
    box-sizing: border-box !important;
    width: calc(100vw - 50px) !important;
    max-width: 340px !important;
    margin: 0 auto 18px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid rgba(252, 12, 4, .28) !important;
    color: rgba(255,255,255,.92) !important;
    -webkit-text-fill-color: rgba(255,255,255,.92) !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    white-space: pre-line !important;
    text-shadow: none !important;
  }

  body.woocommerce-account.woocommerce-orders .woocommerce::before {
    content: "├──  Главная\A├──  Личный кабинет\A└──  Заказы" !important;
  }

  body.woocommerce-account.woocommerce-woo-subscription .woocommerce::before {
    content: "├──  Главная\A├──  Личный кабинет\A└──  Подписки" !important;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce::before {
    content: "├──  Главная\A├──  Личный кабинет\A└──  Заказ № 5778" !important;
  }

  body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
    margin-top: 0 !important;
  }
}

/* TVASHTAR 2026-05-23: final mobile account QA pass for orders/subscriptions/view-order. */
.jt-account-mobile-breadcrumbs {
  display: none;
}

@media (max-width: 767px) {
  html,
  html.wp-toolbar,
  html body,
  html body.admin-bar,
  html body.woocommerce-account.woocommerce-orders,
  html body.woocommerce-account.woocommerce-woo-subscription,
  html body.woocommerce-account.woocommerce-view-order {
    width: 100% !important;
    max-width: 100vw !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow-x: hidden !important;
    overscroll-behavior-x: none !important;
  }

  html body.woocommerce-account.woocommerce-orders #wpadminbar,
  html body.woocommerce-account.woocommerce-woo-subscription #wpadminbar,
  html body.woocommerce-account.woocommerce-view-order #wpadminbar,
  html body.woocommerce-account.woocommerce-orders #progressBar,
  html body.woocommerce-account.woocommerce-woo-subscription #progressBar,
  html body.woocommerce-account.woocommerce-view-order #progressBar,
  html body.woocommerce-account.woocommerce-orders .breadcrumbs,
  html body.woocommerce-account.woocommerce-woo-subscription .breadcrumbs,
  html body.woocommerce-account.woocommerce-view-order .breadcrumbs,
  html body.woocommerce-account.woocommerce-orders .search-title,
  html body.woocommerce-account.woocommerce-woo-subscription .search-title,
  html body.woocommerce-account.woocommerce-view-order .search-title {
    display: none !important;
  }

  html body.woocommerce-account.woocommerce-orders div.page-container,
  html body.woocommerce-account.woocommerce-woo-subscription div.page-container,
  html body.woocommerce-account.woocommerce-view-order div.page-container,
  html body.woocommerce-account.woocommerce-orders .page-container > .container,
  html body.woocommerce-account.woocommerce-woo-subscription .page-container > .container,
  html body.woocommerce-account.woocommerce-view-order .page-container > .container,
  html body.woocommerce-account.woocommerce-orders .sixteen.columns,
  html body.woocommerce-account.woocommerce-woo-subscription .sixteen.columns,
  html body.woocommerce-account.woocommerce-view-order .sixteen.columns,
  html body.woocommerce-account.woocommerce-orders .main__content,
  html body.woocommerce-account.woocommerce-woo-subscription .main__content,
  html body.woocommerce-account.woocommerce-view-order .main__content,
  html body.woocommerce-account.woocommerce-orders .content__block,
  html body.woocommerce-account.woocommerce-woo-subscription .content__block,
  html body.woocommerce-account.woocommerce-view-order .content__block,
  html body.woocommerce-account.woocommerce-orders article,
  html body.woocommerce-account.woocommerce-woo-subscription article,
  html body.woocommerce-account.woocommerce-view-order article {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  html body.woocommerce-account.woocommerce-orders article,
  html body.woocommerce-account.woocommerce-woo-subscription article,
  html body.woocommerce-account.woocommerce-view-order article {
    padding-top: 22px !important;
    padding-bottom: 96px !important;
  }

  html body.woocommerce-account.woocommerce-orders article::before,
  html body.woocommerce-account.woocommerce-woo-subscription article::before,
  html body.woocommerce-account.woocommerce-view-order article::before {
    width: calc(100vw - 40px) !important;
    max-width: 350px !important;
    margin-bottom: 22px !important;
  }

  html body.woocommerce-account.woocommerce-orders .woocommerce::before,
  html body.woocommerce-account.woocommerce-woo-subscription .woocommerce::before,
  html body.woocommerce-account.woocommerce-view-order .woocommerce::before {
    display: none !important;
    content: none !important;
  }

  html body.woocommerce-account .jt-account-mobile-breadcrumbs {
    box-sizing: border-box !important;
    display: grid !important;
    gap: 9px !important;
    width: calc(100vw - 50px) !important;
    max-width: 340px !important;
    margin: 0 auto 22px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid rgba(252, 12, 4, .30) !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 750 !important;
    letter-spacing: 0 !important;
  }

  html body.woocommerce-account .jt-account-mobile-breadcrumbs a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 25px !important;
    color: #fc0c04 !important;
    -webkit-text-fill-color: #fc0c04 !important;
    text-decoration: none !important;
    text-shadow: 0 0 14px rgba(252, 12, 4, .22) !important;
  }

  html body.woocommerce-account .jt-account-mobile-breadcrumbs a:focus-visible {
    outline: 2px solid rgba(252, 12, 4, .72) !important;
    outline-offset: 3px !important;
    border-radius: 4px !important;
  }

  html body.woocommerce-account .jt-account-mobile-breadcrumbs a::before {
    display: inline-block !important;
    width: 50px !important;
    flex: 0 0 50px !important;
    color: #fc0c04 !important;
    -webkit-text-fill-color: #fc0c04 !important;
  }

  html body.woocommerce-account .jt-account-mobile-breadcrumbs a:nth-child(1)::before,
  html body.woocommerce-account .jt-account-mobile-breadcrumbs a:nth-child(2)::before {
    content: "├──" !important;
  }

  html body.woocommerce-account .jt-account-mobile-breadcrumbs a:nth-child(3)::before {
    content: "└──" !important;
  }

  html body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  html body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  html body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
    box-sizing: border-box !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 auto !important;
    padding: 22px !important;
    overflow: hidden !important;
  }

  html body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content::before,
  html body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content::before,
  html body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content::before {
    margin-bottom: 20px !important;
    font-size: 20px !important;
    line-height: 1.22 !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
  html body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table thead {
    display: none !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table tbody,
  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tr,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table tr {
    display: block !important;
    width: 100% !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tr,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table tr {
    margin: 0 0 14px !important;
    padding: 16px 16px 14px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.034), rgba(255,255,255,.014)), #15161a !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.22) !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    color: rgba(255,255,255,.86) !important;
    text-align: right !important;
    overflow: visible !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td:last-child,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td:last-child {
    border-bottom: 0 !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td::before,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td::before {
    content: attr(data-title) !important;
    display: block !important;
    min-width: 0 !important;
    max-width: 46% !important;
    color: rgba(255,255,255,.55) !important;
    -webkit-text-fill-color: rgba(255,255,255,.55) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td > *,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td > * {
    min-width: 0 !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.order-actions,
  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.subscription-actions,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td.order-actions,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td.subscription-actions {
    display: block !important;
    text-align: left !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.order-actions::before,
  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.subscription-actions::before,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td.order-actions::before,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td.subscription-actions::before {
    margin-bottom: 10px !important;
    max-width: 100% !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.order-actions a.button,
  html body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.subscription-actions a.button,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td.order-actions a.button,
  html body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td.subscription-actions a.button {
    width: 100% !important;
    min-height: 46px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
  }

  html body.woocommerce-account .woocommerce-error,
  html body.woocommerce-account .woocommerce-info,
  html body.woocommerce-account .woocommerce-message {
    margin: 0 !important;
    padding: 18px 18px 18px 52px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
  }
}

/* TVASHTAR 2026-05-23: account mobile final overrides loaded after header styles. */
@media (max-width: 767px) {
  html body.woocommerce-account.woocommerce-orders .page-container,
  html body.woocommerce-account.woocommerce-woo-subscription .page-container,
  html body.woocommerce-account.woocommerce-view-order .page-container,
  html body.woocommerce-account.woocommerce-orders #page.page-container,
  html body.woocommerce-account.woocommerce-woo-subscription #page.page-container,
  html body.woocommerce-account.woocommerce-view-order #page.page-container,
  html body.woocommerce-account.woocommerce-orders div.page-container,
  html body.woocommerce-account.woocommerce-woo-subscription div.page-container,
  html body.woocommerce-account.woocommerce-view-order div.page-container {
    padding-top: 0 !important;
  }

  html body.woocommerce-account.woocommerce-orders .content__block,
  html body.woocommerce-account.woocommerce-woo-subscription .content__block,
  html body.woocommerce-account.woocommerce-view-order .content__block,
  html body.woocommerce-account.woocommerce-orders article,
  html body.woocommerce-account.woocommerce-woo-subscription article,
  html body.woocommerce-account.woocommerce-view-order article {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  html body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  html body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  html body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
    justify-self: center !important;
  }

  html body.woocommerce-account.woocommerce-woo-subscription .woocommerce-MyAccount-content .woocommerce_account_subscriptions,
  html body.woocommerce-account.woocommerce-woo-subscription .woocommerce-MyAccount-content table.my_account_subscriptions,
  html body.woocommerce-account.woocommerce-woo-subscription .woocommerce-MyAccount-content table.my_account_subscriptions tbody,
  html body.woocommerce-account.woocommerce-woo-subscription .woocommerce-MyAccount-content table.my_account_subscriptions tr,
  html body.woocommerce-account.woocommerce-woo-subscription .woocommerce-MyAccount-content table.my_account_subscriptions td,
  html body.woocommerce-account.woocommerce-woo-subscription .woocommerce-MyAccount-content table.my_account_subscriptions th {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body.woocommerce-account.woocommerce-woo-subscription .woocommerce-MyAccount-content table.my_account_subscriptions td {
    display: flex !important;
  }

  html body.woocommerce-account.woocommerce-woo-subscription .woocommerce-MyAccount-content table.my_account_subscriptions td.subscription-actions {
    display: block !important;
  }

  html body.woocommerce-account.woocommerce-woo-subscription .woocommerce-MyAccount-content table.my_account_subscriptions td.subscription-actions a.button {
    width: 100% !important;
  }

  html body.woocommerce-account.woocommerce-orders #support-project-btn,
  html body.woocommerce-account.woocommerce-woo-subscription #support-project-btn,
  html body.woocommerce-account.woocommerce-view-order #support-project-btn {
    display: none !important;
  }
}

/* TVASHTAR 2026-05-23: account wrapper normalization shared by YITH account endpoints. */
html body.woocommerce-account .page-container {
  padding-top: 42px !important;
}

html body.woocommerce-account .page-container > .container,
html body.woocommerce-account .sixteen.columns,
html body.woocommerce-account .main__content,
html body.woocommerce-account .content__block {
  box-sizing: border-box !important;
  width: min(1180px, calc(100vw - 64px)) !important;
  max-width: min(1180px, calc(100vw - 64px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 991px) {
  html body.woocommerce-account .page-container > .container,
  html body.woocommerce-account .sixteen.columns,
  html body.woocommerce-account .main__content,
  html body.woocommerce-account .content__block {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: min(100%, calc(100vw - 32px)) !important;
  }
}

body.woocommerce-account .page-container .container,
body.woocommerce-account .page-container article,
body.woocommerce-account .content-area,
body.woocommerce-account .site-content {
  background: #0a0a0a !important;
}

body.woocommerce-account .jt-subscribe-block {
  display: none !important;
}

body.woocommerce-account article {
  max-width: 1150px !important;
  margin: 60px auto !important;
  padding: 40px !important;
  border-radius: 22px !important;
  background: #1c1d1f !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  overflow: hidden !important;
}

body.woocommerce-account #my-account-menu.yith-wcmap {
  box-sizing: border-box !important;
  width: 28% !important;
  float: left !important;
  margin-right: 3% !important;
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 16px !important;
  padding: 24px 20px !important;
  overflow: hidden !important;
}

body.woocommerce-account #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
  box-sizing: border-box !important;
  width: 69% !important;
  float: right !important;
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 16px !important;
  padding: 28px 32px !important;
  color: #f5f5f5 !important;
  overflow: hidden !important;
}

body.woocommerce-account .yith-wcmap .user-profile {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 24px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

body.woocommerce-account .yith-wcmap .user-profile .user-avatar {
  margin: 0 0 14px !important;
}

body.woocommerce-account .yith-wcmap .user-profile .user-avatar img {
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid rgba(3,155,229,.35) !important;
  background: rgba(255,255,255,.06) !important;
}

body.woocommerce-account #my-account-menu .myaccount-menu,
body.woocommerce-account #my-account-menu .myaccount-submenu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-account #my-account-menu .myaccount-menu li a {
  color: #f5f5f5 !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  border: none !important;
  font-size: 14px !important;
}

body.woocommerce-account #my-account-menu .myaccount-menu li a:hover,
body.woocommerce-account #my-account-menu .myaccount-menu li.active a,
body.woocommerce-account #my-account-menu .myaccount-menu li.is-active a {
  color: #039be5 !important;
  background: rgba(3,155,229,.12) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions,
body.woocommerce-account .woocommerce-MyAccount-content table.subscription_details {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: rgba(255,255,255,.025) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  color: #f5f5f5 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tr {
  background: transparent !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
  background: rgba(255,255,255,.06) !important;
  color: rgba(245,245,245,.65) !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  padding: 14px 16px !important;
  text-align: left !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
  background: transparent !important;
  color: #f5f5f5 !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  padding: 14px 16px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table a {
  color: #4cc9ff !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions {
  table-layout: fixed !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions th:nth-child(1),
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions td:nth-child(1) {
  width: 20% !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions th:nth-child(2),
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions td:nth-child(2) {
  width: 14% !important;
  text-align: center !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions th:nth-child(3),
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions td:nth-child(3) {
  width: 18% !important;
  text-align: center !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions th:nth-child(4),
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions td:nth-child(4) {
  width: 15% !important;
  text-align: center !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions th:nth-child(5),
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions td:nth-child(5) {
  width: 33% !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
  background: rgba(213,40,23,.14) !important;
  border: 1px solid rgba(213,40,23,.35) !important;
  border-left: 4px solid #d52817 !important;
  border-radius: 10px !important;
  color: #f5f5f5 !important;
  padding: 16px 20px 16px 56px !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  body.woocommerce-account .page-container,
  body.woocommerce-account .page-container > .container,
  body.woocommerce-account .page .container,
  body.woocommerce-account .sixteen.columns,
  body.woocommerce-account .main__content,
  body.woocommerce-account .content__block,
  body.woocommerce-account .entry-content,
  body.woocommerce-account .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-account article {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    margin: 24px auto !important;
    padding: 8px !important;
    border-radius: 16px !important;
  }

  body.woocommerce-account #my-account-menu.yith-wcmap,
  body.woocommerce-account #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    padding: 18px !important;
  }
}

/* TVASHTAR 2026-05-23: account order/subscription money should match cart/checkout green */
html body.woocommerce-account :is(.amount, .woocommerce-Price-amount, .woocommerce-Price-currencySymbol, bdi),
html body.woocommerce-account :is(.amount, .woocommerce-Price-amount, .woocommerce-Price-currencySymbol, bdi) *,
html body.woocommerce-account :is(.woocommerce-orders-table__cell-order-total, .woocommerce-table__product-total, .woocommerce-table__line-item, .woocommerce-order-overview__total),
html body.woocommerce-account :is(.woocommerce-orders-table__cell-order-total, .woocommerce-table__product-total, .woocommerce-table__line-item, .woocommerce-order-overview__total) * {
  color: #2FC36B !important;
  -webkit-text-fill-color: #2FC36B !important;
  text-decoration-color: #2FC36B !important;
}

html body.woocommerce-account :is(.woocommerce-orders-table__cell-order-total .amount, .woocommerce-table__product-total .amount, .woocommerce-order-overview__total .amount) {
  text-shadow: 0 0 18px rgba(47,195,107,.24) !important;
}

/* TVASHTAR 2026-05-23: final cart/checkout-like rebuild for orders, subscriptions, and view-order pages. */
body.woocommerce-account.woocommerce-orders,
body.woocommerce-account.woocommerce-woo-subscription,
body.woocommerce-account.woocommerce-view-order {
  --jt-account-bg: #070809;
  --jt-account-panel: #101114;
  --jt-account-line: rgba(255,255,255,.08);
  --jt-account-muted: rgba(255,255,255,.58);
  --jt-account-text: #f4f4f5;
  --jt-account-red: #f01820;
  --jt-account-green: #2FC36B;
  background: radial-gradient(circle at 22% 0%, rgba(213,40,23,.10), transparent 34rem), radial-gradient(circle at 82% 16%, rgba(255,255,255,.045), transparent 28rem), var(--jt-account-bg) !important;
  color: var(--jt-account-text) !important;
}

body.woocommerce-account.woocommerce-orders .page-container,
body.woocommerce-account.woocommerce-woo-subscription .page-container,
body.woocommerce-account.woocommerce-view-order .page-container {
  padding-top: 42px !important;
  background: transparent !important;
}

body.woocommerce-account.woocommerce-orders .page-container > .container,
body.woocommerce-account.woocommerce-orders .sixteen.columns,
body.woocommerce-account.woocommerce-orders .main__content,
body.woocommerce-account.woocommerce-orders .content__block,
body.woocommerce-account.woocommerce-woo-subscription .page-container > .container,
body.woocommerce-account.woocommerce-woo-subscription .sixteen.columns,
body.woocommerce-account.woocommerce-woo-subscription .main__content,
body.woocommerce-account.woocommerce-woo-subscription .content__block,
body.woocommerce-account.woocommerce-view-order .page-container > .container,
body.woocommerce-account.woocommerce-view-order .sixteen.columns,
body.woocommerce-account.woocommerce-view-order .main__content,
body.woocommerce-account.woocommerce-view-order .content__block {
  box-sizing: border-box !important;
  width: min(1180px, calc(100vw - 64px)) !important;
  max-width: min(1180px, calc(100vw - 64px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.woocommerce-account.woocommerce-orders .page-container .container,
body.woocommerce-account.woocommerce-orders .page-container article,
body.woocommerce-account.woocommerce-orders .content-area,
body.woocommerce-account.woocommerce-orders .site-content,
body.woocommerce-account.woocommerce-orders .entry-content,
body.woocommerce-account.woocommerce-woo-subscription .page-container .container,
body.woocommerce-account.woocommerce-woo-subscription .page-container article,
body.woocommerce-account.woocommerce-woo-subscription .content-area,
body.woocommerce-account.woocommerce-woo-subscription .site-content,
body.woocommerce-account.woocommerce-woo-subscription .entry-content,
body.woocommerce-account.woocommerce-view-order .page-container .container,
body.woocommerce-account.woocommerce-view-order .page-container article,
body.woocommerce-account.woocommerce-view-order .content-area,
body.woocommerce-account.woocommerce-view-order .site-content,
body.woocommerce-account.woocommerce-view-order .entry-content {
  background: transparent !important;
}

body.woocommerce-account.woocommerce-orders article,
body.woocommerce-account.woocommerce-woo-subscription article,
body.woocommerce-account.woocommerce-view-order article {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 42px auto 0 !important;
  padding: 0 0 78px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

body.woocommerce-account.woocommerce-orders .entry-content,
body.woocommerce-account.woocommerce-woo-subscription .entry-content,
body.woocommerce-account.woocommerce-view-order .entry-content {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-account.woocommerce-orders .entry-header,
body.woocommerce-account.woocommerce-orders .breadcrumbs-row,
body.woocommerce-account.woocommerce-woo-subscription .entry-header,
body.woocommerce-account.woocommerce-woo-subscription .breadcrumbs-row,
body.woocommerce-account.woocommerce-view-order .entry-header,
body.woocommerce-account.woocommerce-view-order .breadcrumbs-row {
  display: none !important;
}

body.woocommerce-account.woocommerce-orders .entry-content::before,
body.woocommerce-account.woocommerce-woo-subscription .entry-content::before,
body.woocommerce-account.woocommerce-view-order .entry-content::before {
  display: block !important;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: 34px !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

body.woocommerce-account.woocommerce-orders .entry-content::before { content: "Мои заказы"; }
body.woocommerce-account.woocommerce-woo-subscription .entry-content::before { content: "Мои подписки"; }
body.woocommerce-account.woocommerce-view-order .entry-content::before { content: "Заказ № 5778"; }

body.woocommerce-account.woocommerce-orders .woocommerce,
body.woocommerce-account.woocommerce-woo-subscription .woocommerce,
body.woocommerce-account.woocommerce-view-order .woocommerce {
  display: grid !important;
  grid-template-columns: 270px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--jt-account-text) !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce::before,
body.woocommerce-account.woocommerce-woo-subscription .woocommerce::before,
body.woocommerce-account.woocommerce-view-order .woocommerce::before {
  grid-column: 1 / -1 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 0 26px !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  color: var(--jt-account-muted) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce::before { content: "Главная › Личный кабинет › Заказы"; }
body.woocommerce-account.woocommerce-woo-subscription .woocommerce::before { content: "Главная › Личный кабинет › Подписки"; }
body.woocommerce-account.woocommerce-view-order .woocommerce::before { content: "Главная › Личный кабинет › Заказ № 5778"; }

body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap,
body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap,
body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap {
  grid-column: 1 !important;
  float: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid var(--jt-account-line) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.012)), var(--jt-account-panel) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.22) !important;
}

body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
  grid-column: 2 !important;
  float: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 220px !important;
  margin: 0 !important;
  padding: 32px !important;
  border: 1px solid var(--jt-account-line) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.012)), var(--jt-account-panel) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.22) !important;
  color: var(--jt-account-text) !important;
  overflow: hidden !important;
}

body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content::before,
body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content::before,
body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content::before {
  display: block !important;
  margin: 0 0 22px !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content::before { content: "История заказов"; }
body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content::before { content: "Активные подписки"; }
body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content::before { content: "Состав заказа"; }

body.woocommerce-account #my-account-menu .myaccount-menu,
body.woocommerce-account #my-account-menu .myaccount-submenu {
  display: grid !important;
  gap: 8px !important;
}

body.woocommerce-account #my-account-menu .myaccount-menu li a {
  display: flex !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  background: transparent !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease !important;
}

body.woocommerce-account #my-account-menu .myaccount-menu li a:hover,
body.woocommerce-account #my-account-menu .myaccount-menu li.active a,
body.woocommerce-account #my-account-menu .myaccount-menu li.is-active a {
  color: #fff !important;
  border-color: rgba(240,24,32,.36) !important;
  background: linear-gradient(180deg, rgba(240,24,32,.16), rgba(240,24,32,.06)) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_subscriptions,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table,
body.woocommerce-account .woocommerce-order-overview {
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 8px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.024) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table th,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td {
  padding: 18px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  vertical-align: middle !important;
  background: transparent !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table th {
  color: rgba(255,255,255,.48) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tr:last-child td,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table tr:last-child td {
  border-bottom: 0 !important;
}

body.woocommerce-account .woocommerce-button,
body.woocommerce-account .button,
body.woocommerce-account a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.08) !important;
  color: #e8e8ea !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease !important;
}

body.woocommerce-account .woocommerce-button:hover,
body.woocommerce-account .button:hover,
body.woocommerce-account a.button:hover,
body.woocommerce-account .woocommerce-button:focus-visible,
body.woocommerce-account .button:focus-visible,
body.woocommerce-account a.button:focus-visible {
  transform: translateY(-1px) !important;
  border-color: rgba(47,195,107,.45) !important;
  background: linear-gradient(180deg, rgba(47,195,107,.22), rgba(47,195,107,.10)) !important;
  color: #fff !important;
}

body.woocommerce-account .amount,
body.woocommerce-account .amount *,
body.woocommerce-account .woocommerce-Price-amount,
body.woocommerce-account .woocommerce-Price-amount *,
body.woocommerce-account bdi,
body.woocommerce-account .woocommerce-orders-table__cell-order-total,
body.woocommerce-account .woocommerce-orders-table__cell-order-total *,
body.woocommerce-account .woocommerce-table__product-total,
body.woocommerce-account .woocommerce-table__product-total *,
body.woocommerce-account .woocommerce-table__line-item .amount,
body.woocommerce-account .woocommerce-order-overview__total,
body.woocommerce-account .woocommerce-order-overview__total * {
  color: var(--jt-account-green) !important;
  -webkit-text-fill-color: var(--jt-account-green) !important;
  text-shadow: 0 0 18px rgba(47,195,107,.24) !important;
}

body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-customer-details {
  margin: 24px 0 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.024) !important;
}

body.woocommerce-account .woocommerce-order-details h2,
body.woocommerce-account .woocommerce-customer-details h2 {
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

@media (max-width: 991px) {
  body.woocommerce-account.woocommerce-orders,
  body.woocommerce-account.woocommerce-woo-subscription,
  body.woocommerce-account.woocommerce-view-order {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body.woocommerce-account.woocommerce-orders article,
  body.woocommerce-account.woocommerce-woo-subscription article,
  body.woocommerce-account.woocommerce-view-order article {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 32px !important;
    padding-bottom: 48px !important;
  }

  body.woocommerce-account.woocommerce-orders .page-container > .container,
  body.woocommerce-account.woocommerce-orders .sixteen.columns,
  body.woocommerce-account.woocommerce-orders .main__content,
  body.woocommerce-account.woocommerce-orders .content__block,
  body.woocommerce-account.woocommerce-woo-subscription .page-container > .container,
  body.woocommerce-account.woocommerce-woo-subscription .sixteen.columns,
  body.woocommerce-account.woocommerce-woo-subscription .main__content,
  body.woocommerce-account.woocommerce-woo-subscription .content__block,
  body.woocommerce-account.woocommerce-view-order .page-container > .container,
  body.woocommerce-account.woocommerce-view-order .sixteen.columns,
  body.woocommerce-account.woocommerce-view-order .main__content,
  body.woocommerce-account.woocommerce-view-order .content__block {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: min(100%, calc(100vw - 32px)) !important;
  }

  body.woocommerce-account.woocommerce-orders .entry-content::before,
  body.woocommerce-account.woocommerce-woo-subscription .entry-content::before,
  body.woocommerce-account.woocommerce-view-order .entry-content::before {
    font-size: 30px !important;
    margin-bottom: 16px !important;
  }

  body.woocommerce-account.woocommerce-orders .woocommerce,
  body.woocommerce-account.woocommerce-woo-subscription .woocommerce,
  body.woocommerce-account.woocommerce-view-order .woocommerce {
    display: block !important;
  }

  body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap,
  body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap,
  body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap,
  body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
  }

  body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
    margin-top: 18px !important;
  }

  body.woocommerce-account #my-account-menu .myaccount-menu,
  body.woocommerce-account #my-account-menu .myaccount-submenu {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
    scrollbar-width: none !important;
  }

  body.woocommerce-account #my-account-menu .myaccount-menu::-webkit-scrollbar,
  body.woocommerce-account #my-account-menu .myaccount-submenu::-webkit-scrollbar {
    display: none !important;
  }

  body.woocommerce-account #my-account-menu .myaccount-menu li,
  body.woocommerce-account #my-account-menu .myaccount-submenu li {
    flex: 0 0 auto !important;
  }

  body.woocommerce-account #my-account-menu .myaccount-menu li a {
    min-height: 40px !important;
    white-space: nowrap !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table {
    display: block !important;
    overflow-x: auto !important;
    max-width: 100% !important;
  }
}

/* TVASHTAR 2026-05-23: absolute final wrapper alignment against later theme rules. */
html body.woocommerce-account.woocommerce-orders div.page-container,
html body.woocommerce-account.woocommerce-woo-subscription div.page-container,
html body.woocommerce-account.woocommerce-view-order div.page-container {
  padding-top: 42px !important;
  background: transparent !important;
}

html body.woocommerce-account.woocommerce-orders .content-area,
html body.woocommerce-account.woocommerce-orders .site-content,
html body.woocommerce-account.woocommerce-orders .main__content,
html body.woocommerce-account.woocommerce-orders .content__block,
html body.woocommerce-account.woocommerce-woo-subscription .content-area,
html body.woocommerce-account.woocommerce-woo-subscription .site-content,
html body.woocommerce-account.woocommerce-woo-subscription .main__content,
html body.woocommerce-account.woocommerce-woo-subscription .content__block,
html body.woocommerce-account.woocommerce-view-order .content-area,
html body.woocommerce-account.woocommerce-view-order .site-content,
html body.woocommerce-account.woocommerce-view-order .main__content,
html body.woocommerce-account.woocommerce-view-order .content__block {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* TVASHTAR 2026-05-23: final account simplification override after all older account rules. */
body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap,
body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap,
body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap {
  display: none !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce,
body.woocommerce-account.woocommerce-woo-subscription .woocommerce,
body.woocommerce-account.woocommerce-view-order .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  body.woocommerce-account.woocommerce-orders .head-container1,
  body.woocommerce-account.woocommerce-woo-subscription .head-container1,
  body.woocommerce-account.woocommerce-view-order .head-container1,
  body.woocommerce-account.woocommerce-orders .mobile-search-form,
  body.woocommerce-account.woocommerce-woo-subscription .mobile-search-form,
  body.woocommerce-account.woocommerce-view-order .mobile-search-form,
  body.woocommerce-account.woocommerce-orders .mobile-menu,
  body.woocommerce-account.woocommerce-woo-subscription .mobile-menu,
  body.woocommerce-account.woocommerce-view-order .mobile-menu,
  body.woocommerce-account.woocommerce-orders .mobile-menu-overlay,
  body.woocommerce-account.woocommerce-woo-subscription .mobile-menu-overlay,
  body.woocommerce-account.woocommerce-view-order .mobile-menu-overlay {
    display: none !important;
  }

  html body.woocommerce-account.woocommerce-orders div.page-container,
  html body.woocommerce-account.woocommerce-woo-subscription div.page-container,
  html body.woocommerce-account.woocommerce-view-order div.page-container {
    padding-top: 0 !important;
  }

  body.woocommerce-account.woocommerce-orders article,
  body.woocommerce-account.woocommerce-woo-subscription article,
  body.woocommerce-account.woocommerce-view-order article {
    margin-top: 0 !important;
    padding-top: 6px !important;
    border-radius: 0 !important;
    background: #0a0a0a !important;
    border-color: transparent !important;
  }

  body.woocommerce-account.woocommerce-orders article::before,
  body.woocommerce-account.woocommerce-woo-subscription article::before,
  body.woocommerce-account.woocommerce-view-order article::before {
    content: "" !important;
    display: block !important;
    width: calc(100vw - 20px) !important;
    max-width: 370px !important;
    aspect-ratio: 2520 / 560 !important;
    margin: 0 auto 20px !important;
    background-image: url("https://jantrish.com/wp-content/uploads/2026/01/probujdenie.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
  }

  body.woocommerce-account.woocommerce-orders .entry-content::before,
  body.woocommerce-account.woocommerce-woo-subscription .entry-content::before,
  body.woocommerce-account.woocommerce-view-order .entry-content::before {
    display: none !important;
    content: none !important;
  }

  body.woocommerce-account.woocommerce-orders .woocommerce::before,
  body.woocommerce-account.woocommerce-woo-subscription .woocommerce::before,
  body.woocommerce-account.woocommerce-view-order .woocommerce::before {
    box-sizing: border-box !important;
    width: calc(100vw - 50px) !important;
    max-width: 340px !important;
    margin: 0 auto 18px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid rgba(252, 12, 4, .28) !important;
    color: rgba(255,255,255,.92) !important;
    -webkit-text-fill-color: rgba(255,255,255,.92) !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    white-space: pre-line !important;
    text-shadow: none !important;
  }

  body.woocommerce-account.woocommerce-orders .woocommerce::before {
    content: "├──  Главная\A├──  Личный кабинет\A└──  Заказы" !important;
  }

  body.woocommerce-account.woocommerce-woo-subscription .woocommerce::before {
    content: "├──  Главная\A├──  Личный кабинет\A└──  Подписки" !important;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce::before {
    content: "├──  Главная\A├──  Личный кабинет\A└──  Заказ № 5778" !important;
  }

  body.woocommerce-account.woocommerce-orders #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  body.woocommerce-account.woocommerce-woo-subscription #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content,
  body.woocommerce-account.woocommerce-view-order #my-account-menu.yith-wcmap ~ .woocommerce-MyAccount-content {
    margin-top: 0 !important;
  }
}
