.page-title {
  margin: 0px 0 49px;
}

.r-my-profile {
  padding: 0 0 115px;
}

.woocommerce-MyAccount-navigation-link {
  position: relative;
  letter-spacing: 0.01rem;
  font-weight: 300;
  border-radius: var(--border-radius);
}

.account-sidebar .woocommerce-MyAccount-navigation-link a {
  padding: 16px 0.6667rem 15px 60px;
  display: block;
  color: #272626;
  font-weight: 500;
}

.r-navigation {
  padding: 0 0 87px;
}

.r-navigation .col-lg-3 {
  margin-bottom: 1.3333rem;
}

.woocommerce-MyAccount-content .woocommerce-MyAccount-navigation-link {
  text-align: center;
  background-color: #EFF1F4;
  padding: 33px 0 30px;
}

.woocommerce-MyAccount-navigation-link.is-active,
.woocommerce-MyAccount-navigation-link:hover {
  color: #fff;
  background-color: #272626;
  font-weight: 400;
}

.r-navigation .woocommerce-MyAccount-navigation-link:hover {
  color: #fff;
  background-color: var(--color-secondary);
}

.r-navigation .woocommerce-MyAccount-navigation-link:hover circle {
  fill: #fff;
}

.r-navigation .woocommerce-MyAccount-navigation-link:hover path {
  fill: var(--color-secondary);
}

.woocommerce-MyAccount-navigation-link.is-active a,
.woocommerce-MyAccount-navigation-link:hover a {
  color: #fff;
}

/* .woocommerce-MyAccount-navigation-link:not(.is-active):hover a {
  background-color: #e9ebea;
  border-radius: var(--border-radius);
} */

.account-sidebar .woocommerce-MyAccount-navigation-link svg {
  position: absolute;
  top: 50%;
  left: 1.3889rem;
  transform: translateY(-50%);
}

.woocommerce-MyAccount-navigation-link.is-active path,
.woocommerce-MyAccount-navigation-link:hover path {
  fill: #fff;
  stroke: #fff;
}
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address:hover path,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address.is-active path {
  stroke: var(--color-dark);
}
/* Content */

.woocommerce-MyAccount-content {
  margin-top: -2px;
}

.welcome-message {
  font-weight: 500;
  max-width: 920px;
  width: 100%;
  margin-bottom: 33px;
}

.welcome-message a {
  color: #272626;
  font-weight: 600;
}

.woocommerce-MyAccount-content .woocommerce-MyAccount-navigation-link > a {
  display: block;
}

.woocommerce-MyAccount-content .woocommerce-MyAccount-navigation-link svg {
  margin-bottom: 17px;
}

.woocommerce-MyAccount-content mark {
  background-color: #fff;
}

/* Edit account */

.edit-account legend {
  margin-bottom: 32px;
}

.woocommerce-EditAccountForm fieldset:not(.fieldset--last) {
  padding-bottom: 14px;
  border-bottom: 1px solid #E2E6EB;
  margin-bottom: 49px;
}

.fieldset--last {
  margin-bottom: 17px;
}

.remove-profile {
  color: var(--color-default);
  font-size: 12px;
  font-weight: 700;
}

/* Orders */

.woocommerce-orders-table__header {
  font-size: 14px;
  text-align: left;
  font-weight: 600;
  color: #606060;
  padding-bottom: 10px;
  border-bottom: 1px solid #E2E6EB;
}

.woocommerce-orders-table__cell {
  padding: 23px 0;
  border-bottom: 1px solid #E2E6EB;
}

.woocommerce-orders-table__cell-order-number,
.woocommerce-orders-table__cell-order-status {
  text-align: left;
  width: 18%;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-total {
  font-weight: 500;
}

.woocommerce-orders-table__cell-order-number a {
  color: #5F6163;
  font-weight: 500;
}

.woocommerce-orders-table__cell-order-status {
  font-weight: 600;
  text-transform: uppercase;
}

.woocommerce-orders-table__cell-order-date {
  color: #272626;
}

.woocommerce-orders-table__cell-order-total-no-tax,
.woocommerce-orders-table__cell-order-total {
  width: 17%;
}

.woocommerce-orders-table__cell-order-total p:first-child {
  color: #272626;
}

.order-total__price {
  font-weight: 400;
}

.order-total__count {
}

/* Order item */

.woocommerce-order-details {
  margin: 28px 0 57px;
}

.woocommerce-order-details__title {
  margin-bottom: 11px;
}

.woocommerce-order-details td {
  vertical-align: baseline;
}

.woocommerce-table__product-name,
.woocommerce-order-details th:first-child {
  text-align: left;
}

.woocommerce-table__product-table,
.woocommerce-order-details td:last-child {
  text-align: right;
}

.woocommerce-table__product-table,
.woocommerce-table__product-name {
  font-size: 14px;
  font-weight: 600;
}

.woocommerce-order-details thead th {
  padding: 0.8889rem 0;
}

.woocommerce-order-details .woocommerce-table__product-name {
}

.woocommerce-order-details tbody td {
  padding-top: 0;
  padding-bottom: 15px;
}

.woocommerce-order-details .woocommerce-table__product-name a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  display: block;
  margin-bottom: 11px;
}

.order-again {
  margin-top: 30px;
}

.order-again .button.invoice {
  margin-left: 22px;
}

.order-again .button.invoice svg {
  margin-left: 14px;
}

.woocommerce-customer-details .woocommerce-column__title {
  font-weight: 600;
}

.product-quantity {
  font-size: 15px;
}

.woocommerce-table__line-item td {
  padding: 23px 0 4px;
}

.woocommerce-order-details tfoot tr {
  color: var(--color-dark);
  border-bottom: 1px solid #e9ebea;
}

.woocommerce-order-details tfoot tr:not(:nth-child(4), :nth-child(5)) th,
.woocommerce-order-details tfoot tr:not(:nth-child(4), :nth-child(5)) td {
  font-weight: 500;
}

.woocommerce-customer-details {
  margin-top: 64px;
}

.woocommerce-column__title {
  margin-bottom: 25px;
}

.woocommerce-column__billing > p,
.woocommerce-column__shipping > p {
  display: flex;
  font-style: normal;
}

.woocommerce-column__billing > p:not(:last-child),
.woocommerce-column__shipping > p:not(:last-child) {
  margin-bottom: 11px;
}

.woocommerce-column__billing > p span,
.woocommerce-column__shipping > p span {
  display: block;
  color: #818887;
  max-width: 116px;
  width: 100%;
  margin-right: 48px;
}

/* Status types */

.staus-is__on-hold {
  color: #FF6B35;
}

.staus-is__processing {
  color: #0077B6;
}

.staus-is__completed {
  color: #17A150;
}

/* Addreses */

.woocommerce-address-fields {
  margin-top: 30px;
}

.block-heading {
  font-weight: 600;
  margin-bottom: 26px;
}

.block-heading a {
  font-size: 16px;
  color: var(--color-default);
}

.info-block .table td {
  padding-bottom: 12px;
}

.info-block .table td:first-child {
  width: 46.9%;
  color: #818887;
}

.col-billing-information .info-block .table td:first-child {
  width: 35%;
}

/* Buttons */

.btn.view {
  padding: 14px 23px;
}

.btn.invoice {
  display: none;
}

.invoice-download {
  display: inline-block;
  cursor: pointer;
}

.woocommerce-orders-table__cell svg {
  margin-left: 19px;
}

.wc-forward.button {
  color: var(--color-primary);
}

/* Popup */

.popup-remove-acc .popup-section__title,
.popup-remove-acc .popup-section__text {
  text-align: center;
  margin-bottom: 16px;
}

.popup-remove-acc.loading {
  pointer-events: none;
  cursor: wait;
}

.popup-remove-acc.loading > * {
  opacity: 0.5;
}

.wishlist-title-container {
  display: none;
}

.yith-wcwl-share {
  width: 100%;
}

/* Responsive */

@media (min-width: 1100px) {
  .account-sidebar {
    padding-right: 1.3333rem;
  }

  .woocommerce-MyAccount-navigation-link:not(:last-child) {
    margin-bottom: 9px;
  }

  .woocommerce-order-details thead th {
    border-bottom: 1px solid #e9ebea;
  }

  .woocommerce-order-details tbody tr:first-child td {
    padding-top: 23px;
  }
  
  .woocommerce-order-details tbody tr:last-child td {
    padding-bottom: 21px;
  }

  .woocommerce-order-details tfoot th,
  .woocommerce-order-details tfoot td {
    padding: 25px 0 23.5px;
    line-height: 26px;
  }

  .woocommerce-order-details tfoot th,
  .woocommerce-order-details tfoot td {
    border-top: 1px solid #e9ebea;
  }

  .woocommerce-MyAccount-content .addresses > .col-lg-7.col-billing-information:last-child {
    padding-left: 13px;
    padding-right: 40px;
  }

  /* Adreses */

  .woocommerce-MyAccount-content .addresses > .col-lg-6:first-child {
    padding-right: 72px;
  }
  
  .woocommerce-MyAccount-content .addresses > .col-lg-6:last-child {
    padding-left: 74px;
  }

  /* Edit profile */

  .woocommerce-EditAccountForm {
    max-width: 708px;
    width: 100%;
    margin-left: 122px;
  }

}

@media (max-width: 1099px) {
  .r-my-profile {
    padding-bottom: 16px;
  }

  .page-title {
    margin: 3px 0 15px;
  }

  .welcome-message {
    margin-bottom: 24px;
  }

  .account-sidebar {
    margin-bottom: 33px;
  }

  .account-sidebar .woocommerce-MyAccount-navigation-link a,
  .account-sidebar .woocommerce-MyAccount-navigation-link span {
    padding: 17px 19px 21px 60px;
  }

  .account-sidebar .woocommerce-MyAccount-navigation-link svg {
    left: 25px;
    max-width: 18px;
  }

  .account-sidebar .woocommerce-MyAccount-navigation-link span svg {
    left: auto;
    top: 22px;
    right: 26px;
    transform: rotate(90deg);
  }

  /* Dashboard menu */

  body.woocommerce-dashboard .woocommerce-notices-wrapper {
    display: none;
  }

  .r-navigation {
    padding: 0 0 0px;
  }

  .r-navigation .col-lg-3 {
    margin-bottom: 16px;
    min-height: 134px;
  }

  .woocommerce-MyAccount-content .woocommerce-MyAccount-navigation-link {
    padding: 17px 17px 23px;
    height: 100%;
  }

  .woocommerce-MyAccount-content .woocommerce-MyAccount-navigation-link svg {
    width: 50px;
    margin-bottom: 8px;
  }

  .woocommerce-MyAccount-content .woocommerce-MyAccount-navigation-link span {
    font-size: 14px;
  }

  /* Orders */

  .woocommerce-order-details {
    margin: 7px 0 -30px;
  }

  .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-orders-table tbody tr {
    display: block;
    padding-bottom: 7px;
    border-bottom: 1px solid #E2E6EB;
  }

  .woocommerce-orders-table tbody tr:not(:last-child) {
    margin-bottom: 13px;
  }

  .woocommerce-orders-table tbody .woocommerce-orders-table__cell {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    border: none;
    margin-bottom: 13px;
  }

  .woocommerce-orders-table__cell svg {
    width: 16px;
    height: 18px;
    margin-left: 8px;
  }

  .woocommerce-orders-table__cell:before {
    font-weight: 600;
    content: attr(data-title);
    font-size: 12px;
    color: #606060;
  }

  .btn.view {
    font-size: 12px;
    padding: 6px 16.5px;
  }

  .order-total__count {
    font-size: 12px;
    margin-left: 12px;
  }

  .woocommerce-table__product-name,
  .woocommerce-order-details th:first-child,
  .woocommerce-order-details
    .woocommerce-table__product-name
    .product-quantity {
    font-size: 12px;
    line-height: normal;
  }

  .woocommerce-table--order-details {
    display: block;
    margin-bottom: 24px;
  }

  .woocommerce-table--order-details thead,
  .woocommerce-table--order-details tbody {
    width: 100%;
    display: block;
  }

  .woocommerce-table--order-details thead tr {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #E2E6EB;
  }

  .woocommerce-table--order-details tbody {
    padding-top: 12px;
  }
  
  .woocommerce-table--order-details tbody tr {
    display: flex;
    justify-content: space-between;
  }

  .woocommerce-table--order-details tbody tr:not(:last-child) {
    margin-bottom: 12px;
  }

  .woocommerce-table--order-details thead tr th {
    font-size: 12px !important;
    line-height: normal !important;
    padding-bottom: 11px;
  }

  .woocommerce-order-details .woocommerce-table__product-name a {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 2px;
  }

  .woocommerce-table__line-item td {
    padding: 10px 0 4px;
  }

  .woocommerce-order-details tfoot {
    display: block;
    width: 100%;
    border-top: 1px solid #e9ebea;
    margin-top: 11px;
  }

  .woocommerce-order-details tfoot tr {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .woocommerce-order-details tbody td,
  .woocommerce-order-details tfoot th,
  .woocommerce-order-details tfoot td {
    font-size: 12px;
    line-height: normal;
    font-weight: 500;
    padding: 15px 0;
  }
  
  .woocommerce-order-details tfoot th,
  .woocommerce-order-details tfoot td {
    padding: 12px 0 10.5px !important;
  }

  .woocommerce-order-details tbody td,
  .woocommerce-order-details tfoot th {
    padding: 0;
  }

  .woocommerce-order-details tbody td:first-child {
    width: 100%;
  }

  .woocommerce-order-details tbody td:last-child {
    display: none;
  }

  .product-name__title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .woocommerce-order-details tfoot tr.h5 th,
  .woocommerce-order-details tfoot tr.h5 td {
    font-size: 16px;
    font-weight: 600;
  }

  .order-again {
    margin-top: 26px;
  }

  .order-again .btn {
    font-size: 12px;
    padding: 12px 32px;
  }

  .order-again .button.invoice {
    font-size: 12px;
  }

  .order-again .button.invoice svg {
    margin-left: 13px;
  }

  .woocommerce-customer-details {
    margin-top: 61px;
    margin-bottom: 12px;
  }

  .woocommerce-column__title {
    font-size: 16px;
    margin-bottom: 13px;
  }

  .woocommerce-column__billing > p:not(:last-child),
  .woocommerce-column__shipping > p:not(:last-child) {
    margin-bottom: 2px;
  }

  .woocommerce-column__billing > p, .woocommerce-column__shipping > p {
    font-size: 12px;
  }

  .woocommerce-column__billing > p span,
  .woocommerce-column__shipping > p span {
    max-width: 112px;
    margin-right: 0px;
  }

  .woocommerce-customer-details .woocommerce-column:not(:last-child) {
    margin-bottom: 22px;
  }

  /* Billing information */

  .block-heading {
    margin-bottom: 13px;
  }

  .block-heading a {
    font-size: 1rem;
  }

  .col-billing-information .info-block .table td:first-child {
    width: 39.9%;
  }

  .info-block .table td {
    padding-bottom: 9px;
  }

  /* Adreses */

  .woocommerce-MyAccount-content .addresses > .col-lg-6:first-child {
    margin-bottom: 22px;
  }

  .edit-account legend {
      margin-bottom: 23px;
  }

  .woocommerce-EditAccountForm fieldset {
    margin-bottom: 15px;
  }

  .woocommerce-EditAccountForm .btn {
    width: 100%;
    margin-top: -7px;
  }

  /* Edit profile */

  .remove-profile {
    font-size: 1rem;
    display: block;
    margin-top: 14px;
  }

}

/* Dropdown mobile menu */

@media (max-width: 1099px) {

  .myaccount-mobile-dropdown ul {
    position: absolute;
    top: 100%;
    z-index: 1;
  }

  .myaccount-mobile-dropdown:not(.opened) ul {
    display: none;
  }

}
