/**
 * Theme Name: Experts
 * Description: Theme for experts
 * Author: Exit-tech
 * Version: 1.0.0    
 * Text Domain: theme
 *
 * @format
 */

span.wpcf7-spinner {
  position: absolute;
}

form.wpcf7-form p,
.wpcf7 {
  width: 100%;
  text-align: center;
}

span.wpcf7-form-control.wpcf7-radio {
  display: flex;
  justify-content: space-around;
}

span.wpcf7-list-item {
  width: 100%;
  margin: 0;
}

fieldset.contact-us__fields p {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  font-size: 16px;
  justify-content: space-between;
}

span[data-name='message'] {
  width: 100%;
}

.contact-us__textarea {
  width: 100%;
}

.hidden,
#form_login_second {
  display: none;
}

div#form_login_second .woocommerce-privacy-policy-text {
  display: none;
}

/* filter */

.my-shop-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start !important;
  margin-top: 32px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.wrapper-filter-and-sort {
  display: flex;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  justify-content: space-evenly;
  flex: 2;
}

.wrapper-filter-and-sort .woocommerce-ordering::before {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  color: var(--color-gray);
  margin-left: 5px;
  white-space: nowrap;
  flex: 0 0 58px;
}

.wrapper-filter-and-sort .woocommerce-ordering select.orderby {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('./img/icons/arrow-top.svg');
  background-repeat: no-repeat;
  background-position: left 20px center;
  padding-left: 48px !important;
  outline: none !important;
}

.filter-togglers .my-shop-controls-after-filters p {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray);
}

.ms-options-wrap > button::after {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-top-color: transparent !important;
  background-image: url('./img/icons/arrow-top.svg');
  background-repeat: no-repeat;
  background-position: left 6px center;
  padding-left: 47px !important;
  transition: transform 0.2s ease;
  top: 43% !important;
}

.ms-options-wrap:has(.ms-options[style*='display: none']) button::after {
  background-image: url('./img/icons/arrow-top.svg');
}

.ms-options-wrap:has(.ms-options:not([style*='display: none'])) button::after {
  background-image: url('./img/icons/arrow-bottom.svg');
}

.filter-togglers {
  position: relative;
  padding-bottom: 3em;
}

.filter-togglers .my-shop-controls-after-filters {
  position: absolute;
  left: 0;
  bottom: 0;
  margin-top: 0;
  width: 100%;
  text-align: left;
  padding-inline: 5px;
}

.filter-togglers .my-shop-controls-after-filters p {
  margin: 0;
}

.wpfFilterWrapper[data-filter-type='wpfCategory']
  .wpfCheckboxHier
  input:checked {
  background-color: transparent !important;
}

.map-toggle-buttons {
  display: flex;
  position: relative;
  background: var(--body-bg);
  border-radius: 999px;
  border: 1px solid var(--color-border);
  width: auto;
}

.map-toggle-buttons .toggle-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 11.5px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  transition: color 0.25s ease;
}

.map-toggle-buttons .toggle-btn svg {
  flex: 0 0 16px;
}

.map-toggle-buttons .toggle-btn.active {
  color: var(--body-bg);
  display: flex;
  align-items: center;
}

.wpfMainWrapper {
  gap: 4px 0px;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.wpfMainWrapper .wpfFilterWrapper {
  width: auto !important;
  margin: 0px !important;
  min-width: 0px !important;
  padding: 0px 4px 4px 4px !important;
}

.wpfMainWrapper .wpfFilterWrapper .ms-options-wrap button,
.orderby,
.wpfStarsRating {
  width: auto !important;
  border: 1px solid var(--color-border) !important;
  padding: 12px 20px 12px 38px !important;
  border-radius: 100px !important;
  font-size: 14px !important;
  line-height: 100% !important;
  font-weight: 500 !important;
  color: var(--color-primary) !important;
  margin: 0px !important;
}

.wpfStarsRating {
  padding: 12px 20px !important;
}

.wpfRatingStar {
  stroke: var(--color-primary) !important;
}

.wpfLineStarsRating .wpfStarsRatingLine:hover,
.wpfStarInput:nth-of-type(1):checked ~ .active:nth-of-type(1),
.wpfStarInput:nth-of-type(2):checked ~ .active:nth-of-type(-n + 2),
.wpfStarInput:nth-of-type(3):checked ~ .active:nth-of-type(-n + 3),
.wpfStarInput:nth-of-type(4):checked ~ .active:nth-of-type(-n + 4),
.wpfStarInput:nth-of-type(5):checked ~ .active:nth-of-type(-n + 5) {
  color: var(--color-primary) !important;
}

.wpfStarsRatingLine {
  color: var(--body-bg) !important;
}

.wpfStarsRatingBlock {
  margin: 0px !important;
}

.ms-options-wrap > .ms-options {
  position: absolute;
  min-width: 184px;
  width: min-content !important;
  min-height: min-content !important;
  max-height: max-content !important;
  margin-top: 20px !important;
  background: var(--body-bg) !important;
  z-index: 2000;
  border: none !important;
  right: 0px !important;
  opacity: 1;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0px 10px 31px 0px #00000014;
}

.rtl .wpfFilterWrapper li {
  text-align: right !important;
  border-radius: 8px;
  padding: 9px 16px;
}

.rtl .wpfFilterWrapper li label {
  font-size: 14px !important;
  font-weight: 500 !important;
}

.rtl .wpfFilterWrapper li label:hover,
.rtl .wpfFilterWrapper li label:active {
  background-color: transparent !important;
}

.rtl .ms-options-wrap > .ms-options > ul label {
  margin: unset !important;
}

.ms-options-wrap .ms-options ul {
  column-count: unset !important;
  overflow: hidden;
  overflow-y: scroll;
  max-height: 185px;
  direction: ltr;
  padding-right: 6px;
}

.ms-options-wrap .ms-options ul::-webkit-scrollbar {
  height: 3px;
  width: 3px;
}

.ms-options-wrap .ms-options ul li {
  direction: rtl;
}

.ms-options-wrap .ms-options ul li label input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-right: 0px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 4px !important;
  border: 1px solid var(--color-primary) !important;
  vertical-align: middle !important;
  transition: all 0.2s ease !important;
  appearance: none !important;
}

.ms-options-wrap .ms-options ul li.selected label input[type='checkbox'] {
  background: var(--color-primary) !important;
  border: 1px solid var(--color-primary) !important;
}

.ms-options-wrap
  .ms-options
  ul
  li.selected
  label
  input[type='checkbox']::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ms-options > .ms-search {
  padding: 12px !important;
}

.wpfFilterWrapper
  .wpfFilterContent
  .ms-options-wrap
  > .ms-options
  > .ms-search
  input {
  width: 100% !important;
  outline: none !important;
  height: 43px !important;
  border-radius: 8px !important;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray);
  border: 1px solid var(--color-border) !important;
  padding-right: 40px;
  background-image: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.5 12.5L16 16" stroke="%23173852" stroke-width="1.5" stroke-linecap="round"/><circle cx="8" cy="8" r="5.25" stroke="%23173852" stroke-width="1.5"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px 18px;
}

.wpfFilterWrapper
  .wpfFilterContent
  .ms-options-wrap
  .ms-search:not(:placeholder-shown) {
  background-image: none;
}

.wpfFilterWrapper .wpfFilterContent .ms-options-wrap .ms-search:focus {
  background-image: none;
  padding-left: 16px;
}

.ms-options-wrap input.ms-search:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px var(--body-bg) inset;
}

.ms-options-wrap .ms-options > ul li.selected label {
  background-color: transparent !important;
}

.wpfSelectedParameters {
  flex: 0 0 100%;
}

.wpfCheckboxHier select option,
.orderby option {
  border-radius: 8px !important;
  padding: 12px 16px !important;
  background-color: var(--body-bg) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  color: var(--color-primary) !important;
}

.wpfSelectedParameter {
  display: inline-block;
  padding: 12.5px 24px !important;
  margin: 5px !important;
  background-color: #f4f4f4 !important;
  border-radius: 100px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 100%;
  color: var(--color-primary) !important;
  direction: ltr;
}

.map-product-avatar {
  border-radius: 50%;
  overflow: hidden;
}

.map-product-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-filter-toggler {
  display: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  opacity: 1;
  border-radius: 100px;
  border-width: 1px;
  border: 1px solid var(--color-border);
  padding: 13px;
}

.wrapper-filter-and-sort__header {
  display: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.wrapper-filter-and-sort__header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.wrapper-filter-and-sort__close {
  cursor: pointer;
}

.wpfFilterButtons {
  display: flex;
  align-items: center;
  gap: 4px;
  order: 100;
  flex-basis: 100%;
}

.wpfFilterButtons .wpfButton {
  display: inline-flex;
  align-items: center !important;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease 0s;
  border: 1px solid transparent;
  border-radius: 0;
  line-height: 1em;
  border-radius: 8px !important;
  min-width: 168px !important;
  min-height: 42px !important;
  padding: 0 24px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  margin: 0 !important;
  width: auto !important;
}

.wpfFilterButton {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-text-light) !important;
}

.wpfFilterButtons .wpfFilterButton:hover,
.wpfFilterButtons .wpfFilterButton:focus {
  border-color: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
}

.wpfFilterButtons .wpfClearButton {
  background-color: white !important;
  border: 1px solid var(--color-border) !important;
  color: var(--color-primary) !important;
}

.wpfFilterButtons .wpfClearButton:hover,
.wpfFilterButtons .wpfClearButton:focus {
  border-color: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
  color: var(--color-text-light) !important;
}

.rtl .ms-options-wrap > .ms-options > ul input[type='checkbox'] {
  right: 0 !important;
  position: relative;
  flex: 0 0 22px;
  padding: 0;
}

.rtl .ms-options-wrap > .ms-options > ul label {
  padding-right: 7px !important;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  align-items: stretch;
}

/*------ edit-account ------ */
.page-template-page-account .account {
  margin-bottom: 0px;
}

.page-template-page-account .woocommerce {
  display: flex;
}

.woocommerce-MyAccount-content {
  flex: 1 1 auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  flex: 0 0 320px;
  margin: 0 !important;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 68px;
  position: relative;
  min-height: calc(100vh - 73px);
}

.woocommerce-account .woocommerce-MyAccount-navigation::before {
  content: '';
  direction: rtl;
  position: absolute;
  top: 0;
  left: 320px;
  width: 50vw;
  height: 100%;
  background: #f5f5f5;
}

.woocommerce-MyAccount-navigation .person__photo {
  border-radius: 50%;
  overflow: hidden;
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
  flex: 0 0 48px;
  position: relative;
}

.user_person.is-online::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 7px;
  width: 14.63px;
  height: 14.63px;
  border-radius: 50%;
  border: 3px solid #f8f8f8;
  background: #50d894;
}

.user_person.is-online {
  position: relative;
  height: fit-content;
}

.woocommerce-MyAccount-navigation .account-user-info {
  gap: 2px;
}

.woocommerce-MyAccount-navigation .account-user-info .user-name {
  display: block;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  text-align: right;
  color: var(--color-primary);
}

.woocommerce-MyAccount-navigation .account-user-info .user-email {
  display: block;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-align: right;
  color: var(--color-gray);
  margin-top: 16px;
  margin-bottom: 45px;
}

.woocommerce-MyAccount-navigation ul li {
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.woocommerce-MyAccount-navigation ul li:nth-child(3) {
  color: var(--color-gray);
}

.woocommerce-MyAccount-navigation ul li:nth-child(1)::before,
.woocommerce-MyAccount-navigation ul li:nth-child(2)::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
}

.woocommerce-MyAccount-navigation ul li:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='5' r='3' stroke='%23173852' stroke-width='1.5'/%3E%3Cpath d='M2 14C2 11.5 4 9 8 9C12 9 14 11.5 14 14' stroke='%23173852' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation ul li:nth-child(2)::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6' stroke='%23173852' stroke-width='1.5'/%3E%3Cpath d='M8 4V8L10 10' stroke='%23173852' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* .woocommerce-MyAccount-navigation ul li:nth-child(3)::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M10 4L14 8L10 12' stroke='%23ACADAE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6 8H14' stroke='%23ACADAE' stroke-width='1.5'/%3E%3Cpath d='M2 3V13C2 13.5523 2.44772 14 3 14H9C9.55228 14 10 13.5523 10 13V3C10 2.44772 9.55228 2 9 2H3C2.44772 2 2 2.44772 2 3Z' stroke='%23ACADAE' stroke-width='1.5'/%3E%3C/svg%3E");
} */

.woocommerce-MyAccount-content {
  padding-top: 69px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 127px;
}

.page-template-page-expert-orders
  .page-template-page-account
  .container
  .custom-account-header {
  padding-top: 69px;
}

.page-template-page-expert-orders
  .page-template-page-account
  .container
  .custom-account-header
  .account-page-title,
.page-template-page-account .custom-account-header .account-page-title {
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  text-align: right;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.page-template-page-expert-orders
  .page-template-page-account
  .container
  .expert-orders-wrap {
  margin-top: 24px !important;
}

.page-template-page-account .custom-account-header p {
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-align: right;
  color: var(--color-primary);
}

.page-template-page-account .woocommerce-EditAccountForm label,
.page-template-page-account .woocommerce-EditAccountForm label span {
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  text-align: right;
  color: var(--color-gray) !important;
  margin-bottom: 8px;
}

.page-template-page-account .woocommerce-EditAccountForm p input {
  border-radius: 6px !important;
  height: 56px !important;
  border: 1px solid var(--color-border) !important;
  padding: 17px 16px !important;
  color: var(--color-primary) !important;
}

.page-template-page-account .woocommerce-EditAccountForm p input:active,
.page-template-page-account .woocommerce-EditAccountForm p input:focus {
  border: 1px solid var(--color-gray) !important;
}

.page-template-page-account .woocommerce-EditAccountForm button[type='submit'] {
  border-radius: 8px !important;
  padding: 17px 32px !important;
  height: 56px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 100%;
  transition: all 0.3s ease 0s;
  margin: 79px 0 64px 0 !important;
  border: none !important;
  background-color: var(--color-accent) !important;
  color: var(--color-text-light) !important;
}

.page-template-page-account
  .woocommerce-EditAccountForm
  button[type='submit']:hover,
.page-template-page-account
  .woocommerce-EditAccountForm
  button[type='submit']:focus {
  background-color: var(--color-primary) !important;
}

/* ----- Order history ---- */

.page-template-page-account .woocommerce-orders-wrapper {
  border: 1px solid var(--color-border) !important;
  border-radius: 24px !important;
  overflow: hidden;
}

.page-template-page-account .expert-orders-table,
.page-template-page-account .woocommerce table.shop_table {
  width: 100%;
  background: var(--body-bg) !important;
  border: none !important;
  overflow: hidden !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin: 0 !important;
}

.no-expert-orders-table {
  width: 100%;
  background: var(--body-bg) !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  border-radius: 24px !important;
  border: 1px solid var(--color-border) !important;
  overflow: hidden !important;
  height: 50vh;
}

.page-template-page-account .expert-orders-table thead,
.page-template-page-account .woocommerce-orders-table thead {
  background: var(--body-bg);
}

.page-template-page-account .no-expert-orders-table thead th,
.page-template-page-account .expert-orders-table thead th,
.page-template-page-account .woocommerce-orders-table thead th {
  padding: 25px 0 10px 0;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  color: #6b7c93;
}

.page-template-page-account .expert-orders-table td:first-child,
.page-template-page-account .no-expert-orders-table thead tr th:first-child,
.page-template-page-account .expert-orders-table thead tr th:first-child,
.page-template-page-account .woocommerce-orders-table thead tr th:first-child {
  padding-right: 24px;
}

.page-template-page-account .no-expert-orders-table thead tr th:last-child,
.page-template-page-account .expert-orders-table thead tr th:last-child,
.page-template-page-account .woocommerce-orders-table thead tr th:last-child {
  text-align: center;
}

.page-template-page-account .expert-orders-table tbody tr:nth-child(odd),
.woocommerce-orders-table tbody tr:nth-child(odd) {
  background: #f5f5f5;
}

.page-template-page-account .no-expert-orders-table tbody tr:nth-child(odd) {
  background: var(--body-bg);
}

.page-template-page-account .expert-orders-table tbody tr,
.woocommerce-orders-table tbody tr {
  padding: 16px 0;
}

.page-template-page-account .woocommerce-orders-table tr,
.page-template-page-account .woocommerce-orders-table td,
.page-template-page-account .woocommerce-orders-table tbody tr {
  border: none !important;
  padding: 16px 2px !important;
}

.page-template-page-account .woocommerce-orders-table td:first-child {
  padding-right: 24px !important;
}

.page-template-page-account .woocommerce-orders-table td:last-child {
  padding-left: 24px !important;
}

.woocommerce-orders-table td::before,
.woocommerce-orders-table td::after,
.woocommerce-orders-table th::before,
.woocommerce-orders-table th::after {
  display: none !important;
}

.page-template-page-account .expert-orders-table td,
.page-template-page-account .woocommerce-orders-table td {
  padding: 16px 10px;
  vertical-align: top;
  text-align: right;
}

.page-template-page-account .expert-orders-table .person,
.page-template-page-account .woocommerce-orders-table .person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-template-page-account .expert-orders-table .person__photo,
.page-template-page-account .woocommerce-orders-table .person__photo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-template-page-account .expert-orders-table .person__info .person__name,
.page-template-page-account .expert-orders-table .contact-phone,
.page-template-page-account .expert-orders-table .contact-email,
.page-template-page-account .expert-orders-table .order-date,
.page-template-page-account .woocommerce-orders-table .person__name,
.page-template-page-account .woocommerce-orders-table .contact-phone,
.page-template-page-account .woocommerce-orders-table .order-date,
.page-template-page-account
  .woocommerce-orders-table
  .woocommerce-Price-amount {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.page-template-page-account .expert-orders-table .order-time,
.page-template-page-account .woocommerce-orders-table .person__title,
.page-template-page-account .woocommerce-orders-table .contact-email,
.page-template-page-account .woocommerce-orders-table .order-time,
.page-template-page-account .woocommerce-orders-table .access-note {
  font-size: 12px;
  font-weight: 400;
  color: #8a97a6;
}

.expert-table-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  border: 1px solid var(--color-border) !important;
  border-radius: 24px;
  border-bottom: 53px;
  overflow: hidden;
}

.woocommerce-MyAccount-content {
  margin-bottom: 30px;
}

.expert-orders-wrap .order-status-badge,
.woocommerce-MyAccount-content .order-status-badge {
  display: inline-block !important;
  padding: 7px 25px !important;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: #eff2f5;
  color: var(--color-primary);
  gap: 8px;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* Цвета статусов  */
.woocommerce-MyAccount-content .status-completed .order-status-badge {
  background-color: #c0ffba;
}

.woocommerce-MyAccount-content .status-pending .order-status-badge {
  background-color: #f26c05;
}

.woocommerce-MyAccount-content .status-processing .order-status-badge {
  background-color: #ffd5b5;
}

.woocommerce-MyAccount-content .status-on-hold .order-status-badge {
  background-color: #d462b07d;
}

.woocommerce-MyAccount-content .status-cancelled .order-status-badge {
  background-color: #d462627d;
}

/* user */
.expert-orders-wrap .status-expired .order-status-badge {
  background-color: #d462627d !important;
}

.expert-orders-wrap .status-active .order-status-badge {
  background-color: #c0ffba !important;
}

.expert-orders-wrap .order-status-badge::before,
.woocommerce-MyAccount-content .order-status-badge::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  color: var(--color-primary);
  position: relative;
  top: -1px;
}

.woocommerce-MyAccount-content .status-completed .order-status-badge::before {
  width: 9.6px;
  height: 6.6px;
  border-left: 1.2px solid var(--color-primary);
  border-bottom: 1.2px solid var(--color-primary);
  transform: rotate(-45deg);
}

.woocommerce-MyAccount-content .status-cancelled .order-status-badge::before {
  content: '✕';
  font-size: 16px;
  line-height: 1;
}

.woocommerce-MyAccount-content .status-processing .order-status-badge::before {
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6' stroke='%23173852' stroke-width='1.5'/%3E%3Cpath d='M8 4V8L10 10' stroke='%23173852' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: contain;
}

.woocommerce-MyAccount-content .status-pending .order-status-badge::before {
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6' stroke='%23173852' stroke-width='1.5'/%3E%3Cpath d='M8 4V8L10 10' stroke='%23173852' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: contain;
}

.woocommerce-MyAccount-content .status-on-hold .order-status-badge::before {
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6' stroke='%23173852' stroke-width='1.5'/%3E%3Cpath d='M8 4V8L10 10' stroke='%23173852' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: contain;
}

.expert-orders-wrap .status-expired .order-status-badge::before {
  content: '✕';
  font-size: 16px;
  line-height: 1;
}

.expert-orders-wrap .status-active .order-status-badge::before {
  width: 9.6px;
  height: 6.6px;
  border-left: 1.2px solid var(--color-primary);
  border-bottom: 1.2px solid var(--color-primary);
  transform: rotate(-45deg);
}

/* ----- pagination  ---- */

.expert-orders-pagination-wrapper,
.woocommerce-MyAccount-content .orders-pagination-wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
  padding: 15.5px 24px;
}

.expert-orders-pagination-wrapper .orders-summary,
.woocommerce-MyAccount-content .orders-summary {
  margin-top: 0px !important;
  font-weight: 500 !important;
  font-size: 12px;
}

.expert-orders-pagination-wrapper .woocommerce-pagination,
.woocommerce-MyAccount-content .woocommerce-pagination {
  display: flex;
  gap: 3px;
  align-items: center;
}

.expert-orders-pagination-wrapper .woocommerce-pagination .pagination,
.woocommerce-MyAccount-content .woocommerce-pagination .pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--body-bg);
  padding: 20px 28px;
  border-radius: 6px;
  width: fit-content;
  font-family: sans-serif;
}

.expert-orders-pagination-wrapper .woocommerce-pagination .page,
.woocommerce-MyAccount-content .woocommerce-pagination .page {
  text-decoration: none;
  color: #1e3a4c;
  font-size: 14px;
  font-weight: 500;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease 0s;
}

.expert-orders-pagination-wrapper .woocommerce-pagination .page:hover,
.woocommerce-MyAccount-content .woocommerce-pagination .page:hover {
  background: #1729521c;
}

.expert-orders-pagination-wrapper .woocommerce-pagination .page.active,
.woocommerce-MyAccount-content .woocommerce-pagination .page.active {
  background: var(--color-primary);
  color: white;
}

.expert-orders-pagination-wrapper .woocommerce-pagination.dots,
.woocommerce-MyAccount-content .woocommerce-pagination.dots {
  font-size: 14px;
  color: var(--color-primary);
  padding: 0 4px;
}

.expert-orders-pagination-wrapper .woocommerce-button--next,
.expert-orders-pagination-wrapper .woocommerce-button--previous,
.woocommerce-MyAccount-content
  .orders-pagination-wrapper
  .woocommerce-button--next,
.woocommerce-MyAccount-content
  .orders-pagination-wrapper
  .woocommerce-button--previous {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  font-size: 0 !important;
  width: 32px;
  height: 32px;
  border-radius: 100px !important;
  transition: transform 0.2s ease;
}

.expert-orders-pagination-wrapper .woocommerce-button--next::before,
.expert-orders-pagination-wrapper .woocommerce-button--previous::before,
.woocommerce-MyAccount-content
  .orders-pagination-wrapper
  .woocommerce-button--next::before,
.woocommerce-MyAccount-content
  .orders-pagination-wrapper
  .woocommerce-button--previous::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('./img/icons/arrow-left.svg');
  background-size: contain;
}

.expert-orders-pagination-wrapper .woocommerce-button--previous::before,
.woocommerce-MyAccount-content
  .orders-pagination-wrapper
  .woocommerce-button--previous::before {
  transform: rotate(180deg);
}

.expert-orders-pagination-wrapper .woocommerce-button--next:hover,
.expert-orders-pagination-wrapper .woocommerce-button--previous:hover,
.woocommerce-MyAccount-content
  .orders-pagination-wrapper
  .woocommerce-button--next:hover,
.woocommerce-MyAccount-content
  .orders-pagination-wrapper
  .woocommerce-button--previous:hover {
  background-color: var(--color-primary) 5d;
}

.woocommerce-orders-table__cell--no-orders .no-orders-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
}

.woocommerce-orders-table__cell--no-orders .no-orders-message::before {
  content: '';
  display: inline-block;
  width: 52px;
  height: 52px;
  background: url('./img/icons/no-orders-message.svg') no-repeat center;
  background-size: contain;
}

.no-orders-wrapper .woocommerce-orders-table__cell--no-orders {
  height: 57vh !important;
}

.no-orders-wrapper tbody tr:nth-child(odd) {
  background: transparent !important;
}

/* -----  product-template-default  -----*/

.product-template-default .comment-reply-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  text-align: right;
  color: var(--color-primary);
  display: block;
  margin-bottom: 31px;
}

.product-template-default .comment-form .comment-form-rating {
  display: flex;
  margin-bottom: 8px;
}

.product-template-default .comment-form .comment-form-rating label {
  flex: 0 180px;
  font-size: 16px;
  font-weight: 500;
  color: #acadae;
}

.product-template-default .comment-form-comment {
  margin: 40px 0 28px 0 !important;
}

.product-template-default .comment-form-comment label {
  display: block;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  text-align: right;
  margin-bottom: 8px;
  color: #acadae;
}

.product-template-default #review_form #respond textarea {
  height: 132px;
  width: 100%;
  border: 1px solid var(--color-border);
  padding: 17px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-dark);
  resize: vertical;
  justify-content: space-between;
  opacity: 1;
  border-radius: 6px;
  resize: none;
}

.product-template-default .comment-form .submit {
  height: 56px !important;
  width: 150px !important;
  text-align: center !important;
  border-radius: 6px !important;
  padding: 17px 32px !important;
  width: auto;
  background-color: #f18432 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  transition: transform 0.2s ease;
  margin-bottom: 32px !important;
}

.product-template-default .form-submit .submit:hover {
  background-color: var(--color-primary) !important;
}

.product-template-default p.stars span {
  display: flex;
  gap: 12px;
}

/*  -------------- starts --------------*/

.product-template-default .stars {
  direction: rtl;
}

.product-template-default .stars a {
  color: #acadae;
  text-decoration: none;
  display: inline-block;
  font-size: 21px;
}

.product-template-default .stars a[aria-checked='true'] {
  color: #f18432;
}

.product-template-default .stars a[aria-checked='true'] ~ a {
  color: #acadae;
}

.product-template-default p.stars.selected a.active ~ a::before {
  color: #acadae;
}

.product-template-default p.stars.selected a:not(.active)::before {
  color: #f18432;
}

.person__photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- checkout -----  */

.woocommerce-checkout .checkout_container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-bottom: 32px;
}

.woocommerce-checkout .col-right .head {
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.woocommerce-checkout .col-right .subtitle {
  font-weight: 500;
  font-size: 16px;
  line-height: 106%;
  text-align: right;
  color: var(--color-primary);
  margin-bottom: 21px;
}

.woocommerce-checkout .col-right .info_title {
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--color-primary);
  margin-bottom: 17px;
}

.woocommerce-checkout .col-right .info_wrapper {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.woocommerce-checkout .col-right .info_wrapper .checkcard {
  width: 20px;
  height: 20px;
  border-radius: 60px;
  background: #f18432;
  position: relative;
  flex: 0 0 20px;
}

.woocommerce-checkout .col-right .info_wrapper .checkcard::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6.6px;
  height: 9.6px;
  border: solid #fff;
  border-width: 0 1.2px 1.2px 0;
  transform: rotate(45deg);
}

.woocommerce-checkout .col-right .info_wrapper p {
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: var(--color-primary);
}

.woocommerce-checkout .col-right .checkout_btn {
  margin-top: 18px !important;
  width: 443px !important;
}

.woocommerce-checkout .col-right .checkout_btn.is-disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.woocommerce-checkout .col-right .checkout_btn span {
  margin-right: 10px;
}

.woocommerce-checkout .checkout_terms_acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 443px;
  margin-top: 18px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.woocommerce-checkout .checkout_terms_acceptance input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  border: 1px solid var(--color-accent);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.woocommerce-checkout .checkout_terms_acceptance input:checked {
  background: var(--color-accent);
}

.woocommerce-checkout .checkout_terms_acceptance input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.woocommerce-checkout .checkout_terms_acceptance a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.woocommerce-checkout .checkout_terms_acceptance.is-shaking {
  animation: checkoutTermsShake 0.36s ease-in-out;
}

@keyframes checkoutTermsShake {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(-7px);
  }
  40%, 80% {
    transform: translateX(7px);
  }
}

.woocommerce-checkout .col-left .card_wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 10px;
  border-radius: 16px;
  background: #f5f5f5;
}

.woocommerce-checkout .col-left .card_head_wrapper {
  padding: 24px;
  border-radius: 16px;
  background-color: #fff;
  gap: 14px;
  display: flex;
  align-items: center;
  position: relative;
}

.woocommerce-checkout .col-left .person__photo {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border: 5px solid #f8f8f8;
}

.woocommerce-checkout .col-left .text_wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
}

.woocommerce-checkout .col-left .text_wrapper {
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #656565;
}

.woocommerce-checkout .col-left .text_wrapper .card_user_name {
  display: flex;
  gap: 8px;
}

.woocommerce-checkout .col-left .text_wrapper .card_user_name p {
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  color: var(--color-primary);
}

.woocommerce-checkout .col-left .time_wrapper {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #f184321f;
  padding: 2.5px 5px;
  border-radius: 30px;
  display: flex;
  gap: 2px;
}

.woocommerce-checkout .col-left .time_wrapper p {
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  color: #f18432;
}

.woocommerce-checkout .col-left .card_footer_wrapper {
  padding: 24px;
  border-top: 1px solid #0000001f;
  display: flex;
  gap: 94px;
}

.woocommerce-checkout .col-left .card_footer_wrapper p {
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  color: var(--color-primary);
}

.woocommerce-checkout .col-left .card_footer_wrapper span {
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: var(--color-primary);
}

.woocommerce-checkout .woocommerce-notices-wrapper {
  display: none;
}

/* -----  scrollbar ----- */

::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c1c9d1;
}

::-webkit-scrollbar-button {
  display: none;
}

@media (max-width: 1140px) {
  /*------ edit-account ------ */
  .page-template-page-account .woocommerce-MyAccount-content {
    padding-right: 7vw;
  }
}

@media (max-width: 1100px) {
  /*------ edit-account ------ */

  .page-template-page-account .woocommerce-EditAccountForm {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
  }

  .page-template-page-account .woocommerce-EditAccountForm p {
    width: 100%;
  }

  .page-template-page-account .woocommerce-EditAccountForm p input {
    height: 48px !important;
    padding: 13px 16px !important;
  }

  .page-template-page-account
    .woocommerce-EditAccountForm
    button[type='submit'] {
    margin: 20px 0 64px 0 !important;
    height: 48px !important;
    padding: 15px 16px !important;
  }
}

@media (max-width: 1065px) {
  /*------ edit-account ------ */
  .page-template-page-account .woocommerce-MyAccount-content {
    padding-right: 2vw;
  }

  /*------ checkout ------ */

  .woocommerce-checkout .checkout_container {
    flex-direction: column;
    gap: 24px;
  }

  .woocommerce-checkout .col-left .card_footer_wrapper {
    justify-content: space-between;
    gap: 5px;
  }

  .woocommerce-checkout .col-right .checkout_btn {
    width: 100% !important;
  }

  .woocommerce-checkout .checkout_terms_acceptance {
    width: 100%;
  }
}

@media (max-width: 998px) {
  .woocommerce-MyAccount-navigation .person__photo {
    width: 48px;
    height: 48px;
    margin: 0;
  }

  /* filter */
  .wrapper-filter-and-sort {
    flex-direction: column;
    position: fixed;
    z-index: 1001;
    background: var(--body-bg);
    width: 100vw;
    right: 0;
    bottom: 0;
    justify-content: flex-start;
    transform: translateY(100%);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transition: all 0.4s ease 0s;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 24px;
  }

  .my-filter-panel {
    width: 100%;
    order: 3;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .wpfMainWrapper {
    gap: 4px;
    position: relative;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    flex: 1 1 auto;
  }

  .wrapper-filter-and-sort .woocommerce-ordering {
    width: 100% !important;
    height: auto !important;
    padding-right: 22px;
    order: 2;
    padding-left: 10px;
  }

  .ms-options-wrap {
    width: 100% !important;
  }

  .ms-options-wrap > .ms-options {
    position: relative !important;
    width: 100% !important;
  }

  .wpfMainWrapper .wpfFilterWrapper .ms-options-wrap button,
  .orderby,
  .wpfStarsRating {
    width: 100% !important;
    border: none !important;
  }

  .mobile-filter-toggler {
    display: block;
  }

  .filter-togglers {
    flex-wrap: nowrap;
    justify-content: space-between !important;
    width: 100%;
  }

  .wrapper-filter-and-sort__header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    width: 100%;
    padding: 24px 16px;
  }

  .wrapper-filter-and-sort .woocommerce-ordering select.orderby {
    padding-left: 4px !important;
  }

  .wrapper-filter-and-sort .woocommerce-ordering select.orderby {
    background-position: left 7px center !important;
  }

  .wrapper-filter-and-sort .woocommerce-ordering::before {
    flex: 0 0 57px;
  }

  .wpfSelectedParameters {
    display: none !important;
  }

  .wpfFilterButtons {
    justify-content: space-between;
    padding: 0 16px;
    gap: 12px;
    flex: 1 1 auto;
    align-items: end;
  }

  .wpfFilterButtons .wpfButton {
    width: 50% !important;
  }

  /*------ edit-account ------ */
}

@media (max-width: 930px) {
  /* ----  order --- */
  .woocommerce-MyAccount-content .orders-pagination-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .woocommerce-MyAccount-content .orders-pagination-wrapper .orders-summary,
  .page-template-page-account .woocommerce-orders-table thead {
    display: none;
  }

  .page-template-page-account .woocommerce-orders-table td {
    padding: 0 !important;
  }

  .page-template-page-account .woocommerce-orders-table tbody tr {
    padding: 16px !important;
  }

  .page-template-page-account .woocommerce-orders-table td:first-child {
    padding-right: 0 !important;
  }

  .page-template-page-account .woocommerce-orders-table td:last-child {
    padding-left: 0 !important;
  }

  .woocommerce-orders-table tbody tr {
    padding: 16px !important;
  }

  .woocommerce-MyAccount-orders .woocommerce-orders-wrapper table,
  .woocommerce-MyAccount-orders .woocommerce-orders-wrapper tbody,
  .woocommerce-MyAccount-orders .woocommerce-orders-wrapper td {
    display: block;
  }

  .woocommerce-MyAccount-orders td::before {
    display: none;
  }

  .woocommerce-MyAccount-orders tr {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      'expert-cell expert-cell status-cell'
      'contact-cell total-cell date-cell';
    gap: 32px 10px;
  }

  .no-orders-wrapper .woocommerce-MyAccount-orders tr {
    display: block;
  }

  .page-template-page-account .no-orders-wrapper td {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
  }

  .woocommerce-MyAccount-orders td {
    word-break: break-all;
  }

  .woocommerce-MyAccount-content .woocommerce-orders-table .expert-cell,
  .woocommerce-MyAccount-content .status-cell,
  .woocommerce-MyAccount-content .woocommerce-orders-table .date-cell,
  .page-template-page-account .woocommerce-orders-table .total-cell,
  .page-template-page-account .woocommerce-orders-table .contact-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .woocommerce-MyAccount-content .woocommerce-orders-table .expert-cell {
    grid-area: expert-cell;
  }

  .woocommerce-MyAccount-content .status-cell {
    grid-area: status-cell;
  }

  .woocommerce-MyAccount-content .woocommerce-orders-table .date-cell {
    grid-area: date-cell;
    max-width: 84px;
    margin-right: auto;
  }

  .page-template-page-account .woocommerce-orders-table .total-cell {
    grid-area: total-cell;
  }

  .page-template-page-account .woocommerce-orders-table .contact-cell {
    grid-area: contact-cell;
  }

  .woocommerce-MyAccount-content .order-status-badge {
    padding: 7px 12px !important;
    height: 28px;
    font-size: 10px;
    margin-right: auto;
  }

  .page-template-page-account .woocommerce-orders-table .person__photo {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
  }
}

@media (max-width: 760px) {
  /*------ edit-account ------ */
  .page-template-page-account .woocommerce-MyAccount-navigation {
    flex: 0 0 290px;
  }

  /* ----  orders  -----*/

  .expert-orders-pagination-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .no-expert-orders-table thead,
  .expert-orders-pagination-wrapper .orders-summary {
    display: none;
  }

  .page-template-page-account .no-expert-orders-table tr {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .page-template-page-account .custom-account-header .account-page-title {
    font-size: 32px !important;
    margin-bottom: 8px;
  }

  .page-template-page-account .expert-orders-table td,
  .page-template-page-account
    .expert-orders-table
    .woocommerce-orders-table
    td {
    padding: 0 !important;
  }

  .page-template-page-account .expert-orders-table tbody tr {
    padding: 16px !important;
  }

  .page-template-page-account .expert-orders-table td,
  .expert-orders-wrap .expert-orders-table table,
  .expert-orders-wrap .expert-orders-table tbody,
  .expert-orders-wrap .expert-orders-table td {
    display: block;
  }

  .expert-orders-wrap tr {
    display: grid;
  }

  .expert-orders-wrap .expert-orders-table thead,
  .expert-orders-wrap .expert-orders-table td::before {
    display: none;
  }

  .expert-orders-wrap .expert-orders-table tr {
    padding: 0s;
    display: grid;
    grid-template-columns: auto auto 120px;
    grid-template-rows: auto auto;
    grid-template-areas:
      'expert-cell expert-cell status-cell'
      'contact-phone-cell contact-email-cell date-cell ';
    gap: 5px 10px;
  }

  .expert-orders-wrap .expert-orders-table td {
    word-break: break-all;
  }

  .expert-orders-wrap .expert-cell,
  .expert-orders-wrap .contact-email-cell,
  .expert-orders-wrap .contact-phone-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .expert-orders-wrap .status-cell,
  .expert-orders-wrap .date-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
  }

  .expert-orders-wrap .expert-cell {
    grid-area: expert-cell;
  }

  .expert-orders-wrap .status-cell {
    grid-area: status-cell;
  }

  .expert-orders-wrap .contact-email-cell {
    grid-area: contact-email-cell;
  }

  .expert-orders-wrap .date-cell {
    grid-area: date-cell;
  }

  .expert-orders-wrap .contact-phone-cell {
    grid-area: contact-phone-cell;
  }

  .expert-orders-wrap .order-status-badge {
    padding: 7px 12px !important;
    height: 28px;
    font-size: 10px;
  }

  .expert-orders-wrap .expert-cell .person__photo {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
  }
}

@media (max-width: 680px) {
  /*------ edit-account ------ */
  .page-template-page-account
    .woocommerce-EditAccountForm
    button[type='submit'] {
    width: 100%;
  }

  .page-template-page-account .woocommerce {
    display: flex;
    flex-direction: column;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 16px;
    width: 100vw;
    margin-right: -16px !important;
    min-height: auto;
    max-height: max-content;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation::before {
    content: '';
    direction: rtl;
    position: absolute;
    top: 0;
    left: 320px;
    width: 0;
    height: 0;
    background: #f5f5f5;
  }

  .page-template-page-expert-orders
    .page-template-page-account
    .container
    .custom-account-header {
    padding-top: 20px;
  }

  .page-template-page-account .account-user-info {
    margin-bottom: 0;
  }

  .page-template-page-account .account-user-info {
    gap: 2px;
    margin-bottom: 45px;
  }

  .page-template-page-account .account-user-info {
    display: grid;
    grid-template-columns: 68px 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      'photo name'
      'photo email '
      'menu menu';
    column-gap: 20px;
    row-gap: 30px;
    background: #f5f5f5;
    margin: 0;
    gap: unset;
  }

  .page-template-page-account .account-user-info > .person__photo {
    grid-area: photo;
    width: 48px;
    height: 48px;
    margin-left: 20px !important;
  }

  .woocommerce-MyAccount-navigation .img-cover::after {
    right: 2px;
  }

  .page-template-page-account .account-user-info > .user-name {
    grid-area: name;
    font-size: 16px !important;
  }

  .page-template-page-account .account-user-info > .user-email {
    grid-area: email;
    font-size: 12px !important;
    margin-top: 9px !important;
    margin-bottom: 32px !important;
  }

  .page-template-page-account .account-user-info > ul {
    grid-area: menu;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 37px;
    padding: 0;
    list-style: none;
  }

  .page-template-page-account .account-user-info > ul li {
    margin-bottom: 0;
  }

  .page-template-page-account .expert-orders-wrap,
  .page-template-page-account .woocommerce-MyAccount-content {
    width: 100%;
    padding: 24px 0 0;
    gap: 12px;
  }

  .page-template-page-account .custom-account-header .custom-account-header {
    font-size: 32px;
    margin-bottom: 8px;
  }

  /* -----orders ------ */

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

  .no-orders-wrapper .woocommerce-orders-table__cell--no-orders {
    height: 50vh;
  }
}

/* //////////////////// */

/*.wpcf7-form-control-wrap {
    display: contents;
}*/

/* :root {
	--bg: #000;
	--panel: #171717;
	--muted: #bdb8bf;
	--accent1: #525bdb;
	--accent2: #525bdb;
	--glass: rgba(255, 255, 255, 0.03);
	--card-radius: 16px;
	--container-max: 1196px;
}

* {
	box-sizing: border-box;
}


.text-center {
	text-align: center;
}

.pt20 {
	padding-top: 20px;
}

.mt50 {
	margin-top: 50px;
}

.m40 {
	margin: 40px;
}

a {
	color: inherit;
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	transform: translateY(-1px);
}

img {
	display: block;
	max-width: 100%;
}

.page {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: stretch;
}

.wrap {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 30px 20px;
}



.nav-column {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	max-width: var(--container-max);
	margin: 0 auto;
	position: relative;
}

.brand {
	font-weight: 700;
	font-size: 18px;
	order: 1;
	z-index: 1002;
}

.nav-menu {
	order: 2;
	flex: 1;
	display: flex;
	justify-content: center;
}

.nav-cta {
	order: 3;
}

.nav-basket {
	order: 4;
}

.mobile-menu-toggle {
	order: 4;
	z-index: 1002;
}

.mobile-cta {
	display: none;
	margin-top: 20px;
	text-align: center;
}

.mobile-cta .cta {
	width: 100%;
	max-width: 280px;
	margin: 0 auto;
}

.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(20px);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
}

.current-lang a {
	color: #b5b5b5;
}

.mobile-menu-overlay.active {
	opacity: 1;
	visibility: visible;
}

@media (max-width:900px) {

	.nav-cta {
		display: none;
	}

	.mobile-cta {
		display: block;
	}
} */


body.logged-in .footer #menu-item-525 {
	display: none;
}
