/* =============== ОСОБИСТИЙ КАБІНЕТ ================== */
.wrap-personal-office {
  display: flex;
  gap: 24px;
}

.sidebar-personal-office {
  border-radius: 16px;
  padding: 32px 16px;
  width: 301px;
  height: 472px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
}

.user-info {
  padding: 0;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-attributes {
  border-radius: 50%;
  padding: 5px;
  width: 40px;
  height: 40px;
  background: #264796;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.user-name {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.44444;
  color: #264796;
}

.sidebar-toggle {
  display: none;
}

.sidebar-nav {
  margin-top: 32px;
}

.sidebar-nav-item {
  padding-left: 7px;
  display: flex;
  position: relative;
}

.sidebar-nav-item a,
.sidebar-nav-item button {
  border-radius: 4px;
  padding: 12px 16px;
  width: 95%;
  height: 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  color: #010101;
}

.wrap-personal-office-content {
  width: 76.32%;
}

.personal-office-content-bg {
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  height: auto;
  background: #fff;
  box-sizing: border-box;
}

.title-office-content {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.44444;
  color: #264796;
  margin-bottom: 5px;
}

.text-office-content {
  font-weight: 400;
  font-size: 10px;
  line-height: 1.6;
  color: #808080;
}

.line-personal {
  width: 100%;
  height: 2px;
  background: #b3b3b3;
  margin: 16px 0px;
}

.wrap-form-group {
  display: flex;
  justify-content: space-between;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  width: 48%;
}

.form-group label {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  color: #b3b3b3;
}

.form-group input {
  border: 1px solid #b3b3b3;
  border-radius: 16px;
  padding: 12px 16px;
  width: 100%;
  height: 48px;
  background: #fff;
  box-sizing: border-box;
}

.form-group input.tel {
  background: url("/wp-content/themes/jv/assets/img/Phone.svg") no-repeat right 8px center;
  padding-right: 16px;
}

.form-group input.email {
  background: url("/wp-content/themes/jv/assets/img/Email.svg") no-repeat right 8px center;
  padding-right: 16px;
}

.password-input {
  position: relative;
}

.password-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  z-index: 5;
}

.form-group input::placeholder {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #b3b3b3;
}

.personal-info-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group input.active-input {
  background: #f1f1f1;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #264796;
}

.form-group .static-field {
  border: 1px solid #b3b3b3;
  border-radius: 16px;
  padding: 12px 16px;
  width: 100%;
  height: 48px;
  background: #f1f1f1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #264796;
}

.form-group .static-field.email {
  background: url("/wp-content/themes/jv/assets/img/Email.svg") no-repeat right 8px center #f1f1f1;
  padding-right: 16px;
}

.form-update-message.personal-office-content-bg {
  padding: 12px 32px;
}

.personal-office-content-bg.hide {
  display: none !important;
}

.form-update-message {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  color: #3a62c4;
  display: flex;
  justify-content: space-between;
}

.wrap-update-message {
  display: flex;
  align-items: center;
  gap: 7px;
}

.wrap-btn-personal-info {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
}

.personal-info-btn-edit {
  border-radius: 16px;
  padding: 12px 24px;
  width: 205px;
  height: 48px;
  background: #264796;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.personal-info-btn-edit:hover {
  background: #1e3c6e;
}

.personal-info-btn-save {
  border-radius: 16px;
  padding: 12px 24px;
  width: 205px;
  height: 48px;
  background: #808080;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.personal-info-btn-save:hover {
  background: #666666;
}

.hideBtn {
  opacity: 0.5;
  pointer-events: none;
}

.hide {
  display: none !important;
}

.form-update-message>svg {
  cursor: pointer;
}

.title-office-content.fin {
  margin-top: 32px;
}

.mfo-bank-iban .form-group {
  width: 32%;
}



.office-section.active {
  display: block;
}

.nav-item-link.active {
  background: #3a62c4;
  color: #f1f1f1;
}

.nav-item-line {
  border-radius: 0 4px 4px 0;
  width: 3px;
  height: 48px;
  background: #3a62c4;
  position: absolute;
  left: 0;
  display: none;
}

.sidebar-nav-item:has(.nav-item-link.active) .nav-item-line {
  display: flex;
}

.sidebar-nav-item:hover .nav-item-link {
  background-color: #264796;
  color: #f1f1f1;
}

.sidebar-nav-item:hover .nav-item-line {
  display: flex;
}

.sidebar-nav-item:hover .nav-item-link.personal-info img {
  content: url(/img/ОК-Персональна-інформ-актив.svg);
}

.sidebar-nav-item:hover .nav-item-link.contacts img {
  content: url(/img/ОК-Контакти-актив.svg);
}

.sidebar-nav-item:hover .nav-item-link.orders img {
  content: url(/img/ОК-Замовлення-актив.svg);
}

.sidebar-nav-item:hover .nav-item-link.documents img {
  content: url(/img/ОК-Документи-актив.svg);
}

.sidebar-nav-item:hover .nav-item-link.export img {
  content: url(/img/ОК-Експорт-товарів-актив.svg);
}

.sidebar-nav-item:hover .nav-item-link.messages img {
  content: url(/img/ОК-Повідомлення-актив.svg);
}

.sidebar-nav-item:hover .nav-item-link.logout img {
  content: url(/img/ОК-Вихід-актив.svg);
}

.nav-item-link.personal-info.active img {
  content: url(/img/ОК-Персональна-інформ-актив.svg);
}

.nav-item-link.contacts.active img {
  content: url(/img/ОК-Контакти-актив.svg);
}

.nav-item-link.orders.active img {
  content: url(/img/ОК-Замовлення-актив.svg);
}

.nav-item-link.documents.active img {
  content: url(/img/ОК-Документи-актив.svg);
}

.nav-item-link.export.active img {
  content: url(/img/ОК-Експорт-товарів-актив.svg);
}

.nav-item-link.messages.active img {
  content: url(/img/ОК-Повідомлення-актив.svg);
}

.nav-item-link.logout.active img {
  content: url(/img/ОК-Вихід-актив.svg);
}

.cart-contacts-personal-office {
  border-left: 4px solid #264796;
  border-radius: 4px;
  padding: 48px;
  /* width: 891px; */
  height: 239px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  margin-bottom: 16px;
  box-sizing: border-box;
}

.wrap-cart-contacts-personal-office {
  display: flex;
  justify-content: space-between;
}

.line-contacts-personal-office {
  background: #b3b3b3;
  width: 1px;
  height: 143px;
}

.wrap-cart-content-manager,
.wrap-cart-content-branch {
  width: 229px;
}

.wrap-cart-phones {
  display: flex;
  gap: 24px;
  height: 32px;
  align-items: center;
}

.text-office-content-cart {
  margin-bottom: 5px;
}

.text-office-content-cart.name-phones {
  width: 180px;
  margin: 0;
}

.text-office-content-cart.link {
  position: relative;
}

.text-office-content-cart.link.tel {
  padding-left: 25px;
  background: url("/wp-content/themes/jv/assets/img/Phone-Icon-Offise.svg") no-repeat left 0px center;
  background-size: 20px 20px;
}

.text-office-content-cart.link.email {
  padding-left: 25px;
  background: url("/wp-content/themes/jv/assets/img/Email-Icon-Offise.svg") no-repeat left 0px center;
  background-size: 20px 20px;
}

.text-office-content-cart.link.address {
  padding-left: 25px;
  position: relative;
  display: flex;
}

.text-office-content-cart.link.address::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  /* вирівнюємо по першому рядку */
  width: 20px;
  height: 20px;
  background: url("/wp-content/themes/jv/assets/img/Address-Icon-Offise.svg") no-repeat center;
  background-size: 20px 20px;
}

.text-office-content-cart span {
  font-weight: 400;
  font-size: 10px;
  line-height: 1.6;
  color: #808080;
  margin-left: 16px;
}

.text-office-content-cart {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  color: #010101;
}

.orders-table,
.order-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.orders-table th,
.orders-table td,
.order-table th,
.order-table td {
  border: none;
}

.orders-table {
  width: 100%;
  padding: 24px 0px;
}

.orders-table-header {
  padding: 8px 16px;
  height: 32px;
  background: #264796;
}

.orders-table-header-th {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #f1f1f1;
  border: none;
  width: 20%;
}

.order-row {
  height: 32px;
}

.orders-table-header-td {
  width: 20%;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #010101;
  text-align: center;
}

.order-row:nth-child(odd) {
  background: #fff;
}

.order-row:nth-child(even) {
  background: #d6dceb;
}

.orders-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.orders-info-box {
  border-left: 4px solid #264796;
  border-radius: 4px;
  padding: 16px;
  width: 300px;
  height: 90px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  box-sizing: border-box;
}

.orders-header-text {
  width: 60%;
}

.orders-info-box p {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #010101;
}

.orders-info-box p span {
  color: #2cbf67;
}

.status {
  border: 1px solid #264796;
  border-radius: 16px;
  padding: 2px 16px;
  width: auto;
  height: 20px;
  box-sizing: border-box;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
}

.status.status-new {
  color: #2cbf67;
}

.status.status-processing {
  color: #3a62c4;
}

.status.status-delivery {
  color: #010101;
}

.status.status-executed {
  color: #264796;
}

.status.status-cancelled {
  color: #e31e24;
}

.btn-generate {
  border-radius: 16px;
  width: 197px;
  height: 42px;
  background: #264796;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  text-align: center;
  color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-left: auto;
}

.order-text-info {
  font-weight: 400;
  font-size: 10px;
  line-height: 1.6;
  color: #010101;
  display: flex;
  justify-content: space-between;
  width: 188px;
  margin-bottom: 4px;
}

.order-summary p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.44444;
  color: #264796;
  display: flex;
  gap: 16px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.order-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-info-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.orders-table-header th {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #f1f1f1;
  padding: 8px 12px;
}

.order-quantity-offise {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.order-quantity-offise .qty-btn-min {
  border: 0.56px solid #b3b3b3;
  border-radius: 4px 0 0 4px;
  padding: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.order-quantity-offise .number {
  border-bottom: 0.56px solid #b3b3b3;
  border-top: 0.56px solid #b3b3b3;
  padding: 3px 12px;
  width: 27px;
  height: 20px;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 8px;
}

.order-quantity-offise .qty-btn-max {
  border: 0.56px solid #b3b3b3;
  border-radius: 0 4px 4px 0;
  padding: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.order-row-td-img img {
  max-height: 40px;
  object-fit: contain;
}

.order-row-td-name>a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #010101;
  width: 200px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  text-overflow: ellipsis;
  /* line-height: 1.2; */
  max-height: 60px;
  overflow: hidden !important;
  margin: 0 auto;
}

.order-row-td-mod {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #808080;
  /* line-height: 1.2; */
  max-height: 60px;
  overflow: hidden;
}

.order-row-td-price-partner {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #2cbf67;
  /* line-height: 1.2;  */
  max-height: 60px;
  overflow: hidden;
  text-align: center;
}

.order-row-td-price-regular {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #264796;
  max-height: 60px;
  overflow: hidden;
  text-align: center;
}

.order-row.details td {
  padding: 8px 12px;
}

.order-row td,
.order-row th {
  text-align: center;
  vertical-align: middle;
}

.order-row-td-checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
}

.orders-table-footer {
  background: #d6dceb;
  height: 60px;
}

.orders-table-footer-text-right {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #010101;
  padding-left: 7%;
}

.order-footer p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.44444;
  color: #264796;
}

.order-footer p span {
  margin-left: 8px;
}

.order-footer {
  display: flex;
  margin-left: auto;
  flex-direction: column;
  align-items: end;
}

.order-footer-actions {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 16px;
}

.order-footer-actions .btn-copy {
  border-radius: 16px;
  width: 238px;
  height: 48px;
  background: #264796;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-footer-actions .btn-delete {
  border: 1px solid #264796;
  border-radius: 16px;
  padding: 12px 24px;
  width: 238px;
  height: 48px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #010101;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ховаємо стандартний чекбокс */
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Контейнер */
.custom-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 14px;
  color: #010101;
  position: relative;
}

/* Стиль квадратика */
.custom-checkbox .checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #808080;
  border-radius: 4px;
  /* або 50% для кола */
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

/* При наведенні */
.custom-checkbox:hover .checkmark {
  border-color: #808080;
}

/* Коли чекбокс відмічений */
.custom-checkbox input:checked+.checkmark {
  background: inherit;
  border-color: #808080;
}

.custom-checkbox input:checked+.checkmark::after {
  content: "";
  width: 6px;
  height: 10px;
  border-right: 2px solid #264796;
  border-bottom: 2px solid #264796;
  transform: rotate(45deg);
}

.custom-checkbox.header-checkbox {
  background: #fff;
  border-radius: 4px;
}

.orders-table-footer-mobile {
  display: none;
}

.documents-personal-office {
  display: grid;
  gap: 8px;
}

.documents__header,
.documents__row {
  display: grid;
  grid-template-columns: 8.98% 22.84% 40.14% 16.84% 11.22%;
  align-items: center;
  background: #fff;
  padding: 4px;
  /* border-radius: 8px; */
}

.documents__header {
  font-weight: bold;
  background: #f0f2f7;
}

.documents__header {
  background: #264796;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #f1f1f1;
  text-align: center;
  padding: 10px;
}

.documents__row {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #010101;
  text-align: center;
}

.documents__type {
  color: #264796;
}

.documents__title {
  text-align: start;
}

.documents__actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

.documents__row:nth-child(even) {
  background: #fff;
}

.documents__row:nth-child(odd) {
  background: #d6dceb;
}

.documents__preview img {
  border-radius: 4px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.documents__header_mobile {
  display: none;
}

.text-office-content.export {
  width: 60%;
}

.text-office-content p {
  margin-bottom: 16px;
}

.export-offise-cart {
  border-left: 4px solid #264796;
  border-radius: 4px;
  padding: 24px 48px;
  height: auto;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  box-sizing: border-box;
}

.export-link {
  border: 1px solid #b3b3b3;
  border-radius: 16px;
  padding: 12px 16px;
  width: 324px;
  height: 48px;
  background: #f1f1f1;
  box-sizing: border-box;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #b3b3b3;
}

.btn-copy-link {
	border: 1px solid #264796;
	border-radius: 16px;
	min-width: 133px;
	height: 48px;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	color: #010101;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: auto;
	padding: 5px 10px;
}

.wrap-exsport-link {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.messages-wrapper {
  max-height: 530px;
  overflow-y: auto;
  overflow-x: hidden;
}

.messages-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 488px;
  margin-bottom: 16px;
}

.messages-item {
  border-left: 4px solid #264796;
  border-radius: 4px;
  padding: 12px 24px;
  width: 100%;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  box-sizing: border-box;
}

.messages-item-title {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #264796;
  margin-bottom: 4px;
}

.messages-item-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 10px;
  line-height: 1.6;
  color: #010101;
  margin-bottom: 4px;
}

.messages-item-time {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 10px;
  line-height: 1.6;
  text-align: right;
  color: #808080;
  display: flex;
  justify-content: end;
}

.massage-date {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  color: #010101;
  display: flex;
  justify-content: end;
  margin-bottom: 16px;
  width: 488px;
}

@media (max-width: 1439px) {
  .wrap-personal-office {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .sidebar-personal-office {
    width: 100%;
  }

  .wrap-personal-office-content {
    width: 100%;
  }

  .wrap-form-group {
    flex-direction: column;
  }

  .form-group {
    width: 100%;
  }

  .mfo-bank-iban .form-group {
    width: 100%;
  }

  .wrap-btn-personal-info {
    flex-direction: column;
    gap: 16px;
  }

  .personal-info-btn-edit,
  .personal-info-btn-save {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .personal-office-content-bg {
    padding: 24px 16px;
  }

  .form-update-message.personal-office-content-bg {
    padding: 12px 16px;
  }

  .personal-info-form {
    gap: 16px;
  }

  /*  */

  .cart-contacts-personal-office {
    height: auto;
    padding: 24px;
  }

  .wrap-cart-contacts-personal-office {
    flex-direction: column;
    gap: 16px;
  }

  .line-contacts-personal-office {
    width: 100%;
    height: 1px;
  }

  .wrap-cart-phones {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    height: auto;
  }

  .text-office-content-cart.name-phones {
    width: auto;
  }

  /*  */
  .orders-header {
    flex-direction: column;
    gap: 24px;
  }

  .orders-table-wrapper,
  .order-table-wrapper {
    width: 100%;
    overflow-x: auto;
  }

  .orders-table,
  .order-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 891px;
  }

  .orders-table-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    /* щоб не було вертикального */
    padding-bottom: 4px;
    /* додаємо відступ, щоб скрол "опустився" */
    scrollbar-gutter: stable;
    /* залишає місце під скрол (підтримка в Chrome/Firefox) */
  }

  .orders-table-wrapper::-webkit-scrollbar {
    height: 6px;
    /* товщина скролу */
  }

  .orders-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* фон під скролом */
    border-radius: 6px;
  }

  .orders-table-wrapper::-webkit-scrollbar-thumb {
    background: #999;
    /* сам повзунок */
    border-radius: 6px;
  }

  .orders-header-text {
    width: 100%;
  }

  /*  */
  .order-header {
    flex-direction: column;
    gap: 16px;
  }

  .btn-generate {
    width: 100%;
  }

  .order-footer-actions {
    flex-direction: column;
    gap: 16px;
  }

  .order-footer-actions .btn-copy,
  .order-footer-actions .btn-delete {
    width: 100%;
  }

  .order-footer-actions {
    width: 100%;
  }

  .orders-table-footer tr {
    display: flex;
    flex-direction: column;
    /* стовпчиком */
    align-items: flex-start;
    /* вирівнювання */
  }

  .orders-table-footer td {
    width: 100%;
    padding: 6px 0;
  }

  .documents__header,
  .documents__row {
    display: grid;
    align-items: center;
    background: #fff;
    padding: 10px;
  }

  .order-table-wrapper {
    width: 100%;
    overflow-x: auto;
  }

  .order-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 602px;
  }

  .order-row-td-img img {
    max-width: 49px;
  }

  td.order-row-td-name {
    max-width: 74px;
    max-height: 34px;
    text-align: left;
  }

  .order-row.details td {
    padding: 0;
  }

  .custom-checkbox .checkmark {
    width: 12px;
    height: 12px;
  }

  .custom-checkbox input:checked+.checkmark::after {
    width: 4px;
    height: 6px;
  }

  .orders-table-footer {
    display: none;
  }

  .orders-table-footer-mobile {
    display: flex;
    flex-direction: column;
    align-items: end;
    background: #d6dceb;
    height: 96px;
    padding: 8px;
    margin-top: 8px;
    gap: 14px;
    box-sizing: border-box;
  }

  .orders-info-box {
    width: 100%;
  }

  .orders-table-footer-mobile .order-row-td-price-partner,
  .orders-table-footer-mobile .order-row-td-price-regular {
    display: flex;
    gap: 10px;
    margin-left: auto;
  }

  .orders-table-footer-mobile .orders-table-footer-text {
    margin-left: auto;
  }

  .documents__row {
    display: grid;
    grid-template-columns: 27% 1fr;
    /* ліва = прев’ю, права = інфо */
    grid-template-rows: auto auto auto auto;
    /* 4 рядки для решти */
    gap: 8px 12px;
    padding: 12px;
    border-bottom: 1px solid #ddd;
    align-items: start;
    font-size: 10px;
  }

  .documents__header {
    display: none;
  }

  .documents__header_mobile {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.33333;
    letter-spacing: 0.02em;
    color: rgb(241, 241, 241);
    text-align: center;
    background: rgb(38, 71, 150);
    display: flex;
    height: 32px;
  }

  .documents__header_mobile_prev {
    width: 27%;
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
  }

  .documents__header_mobile_doc {
    width: 73%;
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
  }

  .documents__preview {
    grid-column: 1 / 2;
    /* ліва колонка */
    grid-row: 2 / 5;
    /* розтягнути на 4 рядки */
    justify-self: center;
    align-self: start;
  }

  .documents__date {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    text-align: left;
  }

  .documents__title {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .documents__type {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    text-align: left;
  }

  .documents__actions {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  .documents-personal-office {
    gap: 0px;
  }

  .export-offise-cart {
    height: auto;
  }

  .wrap-exsport-link {
    flex-direction: column;
    gap: 8px;
  }

  .export-link {
    width: 100%;
  }

  .btn-copy-link {
    width: 100%;
  }

  .text-office-content.export {
    width: 100%;
  }

  .export-offise-cart {
    padding: 24px 16px;
  }

  .messages-item {
    height: auto;
  }

  .messages-list,
  .massage-date {
    width: 100%;
    max-width: 488px;
  }

  .sidebar-personal-office {
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    height: auto;
  }

  .sidebar-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #264796;
    border-radius: 16px;
    padding: 10px 24px;
    width: 100%;
    height: 44px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.28571;
    color: #010101;
    margin-top: 16px;
  }

  .user-attributes {
    padding: 6px;
    width: 24px;
    height: 24px;
    font-size: 8px;
    min-width: 24px;
  }

  .sidebar-toggle .arrow {
    transition: transform 0.3s ease;
  }

  .sidebar-toggle[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
  }

  .sidebar-nav {
    display: none;
    margin-top: 12px;
  }

  .sidebar-nav.open {
    display: block;
  }
}

/* =========== Вхід ================== */
.wrap-modal-account-actions {
  border-radius: 16px;
  padding: 48px 72px;
  width: 742px;
  height: auto;
  background: #fff;
  box-sizing: border-box;
  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
}

.exit-section {
  position: relative;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.login-title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.16667;
  text-align: center;
  color: #264796;
  margin-bottom: 24px;
}

.login-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #010101;
}

.wrap-modal-account-actions label {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  color: #b3b3b3;
  margin-bottom: 4px;
}

.wrap-modal-account-actions input {
  border: 1px solid #b3b3b3;
  border-radius: 16px;
  padding: 12px 40px 12px 16px;
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: right 12px center;
  /* іконка справа по центру */
  background-size: 20px 20px;
}

.wrap-input-exit-section.email input {
  background-image: url("/wp-content/themes/jv/assets/img/Email.svg");
  /* тут твоя адреса */
}

.wrap-modal-account-actions input::placeholder {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #b3b3b3;
}

.form-login {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
  padding: 0 32px;
}

.wrap-input-exit-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wrap-input-exit-section.email {
  margin-bottom: 16px;
}

.wrap-info-account-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 172px;
}

.remember-me input {
  width: 18px;
  height: 18px;
}

.remember-me label {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  color: #010101;
}

.remember-me label span {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #b3b3b3;
}

.btn-exit-section {
  border-radius: 16px;
  padding: 12px 24px;
  width: 275px;
  height: 48px;
  background: #264796;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  margin-right: auto;
}

.modal-account-actions-line {
  display: flex;
  align-items: center;
  text-align: center;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  text-align: center;
  color: #b3b3b3;
}

.modal-account-actions-line::before,
.modal-account-actions-line::after {
  content: "";
  flex: 1;
  /* займає всю доступну ширину */
  border-bottom: 2px solid #b3b3b3;
}

.modal-account-actions-line::before {
  margin-right: 8px;
}

.modal-account-actions-line::after {
  margin-left: 8px;
}

.text-account-actions {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #010101;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.text-account-actions a {
  color: #264796;
}

.text-account-actions.register-link a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #264796;
}

.fancybox__slide .f-button[data-fancybox-close] {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.f-html {
  padding: 0;
}

@media (max-width: 1439px) {
  .wrap-modal-account-actions {
    padding: 48px 32px;
    width: 452px;
    height: 580px;
  }

  .login-title {
    font-size: 22px;
  }

  .login-text {
    font-size: 12px;
  }

  .form-login {
    padding: 0;
    gap: 16px;
  }

  .wrap-input-exit-section.email {
    margin-bottom: 8px;
  }

  .login-text {
    font-size: 12px;
  }

  .remember-me label {
    font-size: 12px;
  }

  .text-account-actions {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .wrap-modal-account-actions {
    padding: 32px 16px;
    width: 343px;
    height: 548px;
  }
}

/* ========= Форма реєстрації ============= */
.form-registration-block {
  display: none;
}

.form-registration-block.active {
  display: block;
}

.registration-section {
  padding: 0 32px;
}

.login-text.register {
  margin-bottom: 24px;
}

.login-text.register.info {
  margin-bottom: 24px;
  text-align: left;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #010101;
}

.wrap-modal-account-actions.register {
  height: auto;
}

.wrap-btn-registration {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #b3b3b3;
  margin-bottom: 24px;
}

.registration-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: #264796;
  margin-bottom: 12px;
}

.wrap-input-exit-section.email p,
.wrap-input-exit-section.password p {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #b3b3b3;
  margin-top: 4px;
}

.btn-form-registration {
  padding: 8px 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #b3b3b3;
  box-sizing: border-box;
  width: 267px;
}

.btn-form-registration.active {
  border-radius: 16px 16px 0 0;
  padding: 8px 16px;
  width: 267px;
  height: 40px;
  background: #d6dceb;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: #264796;
}

.wrap-input-partners-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.wrap-input-partners-info .wrap-input-exit-section {
  width: 48%;
  gap: 0;
}

.wrap-input-exit-section.password {
  width: 100%;
  gap: 0;
}

.wrap-input-exit-section.email {
  margin: 0;
}

.btn-exit-section.register {
  margin-left: auto;
  margin-right: 0;
  margin-top: 24px;
}

.wrap-input-exit-section.password.visitor {
  width: 48%;
}

.btn-exit-section.register.visitor {
  width: 288px;
}

.wrap-input-exit-section.tel input {
  background-image: url("/wp-content/themes/jv/assets/img/Phone.svg");
}

@media (max-width: 1439px) {
  .wrap-modal-account-actions.register {
    height: auto;
  }

  .registration-section {
    padding: 0;
  }

  .wrap-input-partners-info {
    flex-direction: column;
    gap: 16px;
  }

  .wrap-input-partners-info .wrap-input-exit-section {
    width: 100%;
  }

  .wrap-input-exit-section.password.visitor {
    width: 100%;
  }
}

@media (max-width: 767px) {

  .btn-form-registration,
  .btn-form-registration.active {
    padding: 8px 16px;
    width: 155px;
    height: 40px;
    text-wrap: nowrap;
  }

  .btn-exit-section.register,
  .btn-exit-section.register.visitor {
    width: 100%;
  }
}

/* ============ Заявка була подана ================ */
.exit-section.submitted-section {
  padding: 0 32px;
}

.submitted-subtitle {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.44444;
  text-align: center;
  color: #010101;
  margin-bottom: 24px;
}

.login-text.submitted {
  text-align: center;
  margin-bottom: 24px;
}

.bg-submitted-modal {
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  height: auto;
  background: #264796;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.bg-submitted-modal p {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.42857;
  color: #f1f1f1;
}

.bg-submitted-modal p:has(svg) {
  display: flex;
  align-items: center;
}

.bg-submitted-modal p svg {
  margin-right: 8px;
}

.submitted-footer-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.44444;
  text-align: center;
  color: #010101;
  margin-bottom: 24px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.submitted-footer-logo {
  width: 154px;
  height: 48px;
  display: flex;
  margin-left: auto;
}

.submitted-footer-logo img {
  object-fit: contain;
}

.wrap-modal-account-actions.submitted {
  height: auto;
}

/* ================= */
.registration-successful-footer-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #010101;
  margin-bottom: 8px;
  text-align: center;
}

.registration-successful-login-submit {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #264796;
  margin-bottom: 24px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1439px) {
  .exit-section.submitted-section {
    padding: 0;
  }

  .submitted-subtitle {
    font-size: 12px;
  }

  .bg-submitted-modal p {
    font-size: 12px;
  }

  .submitted-footer-text {
    font-size: 12px;
  }

  .registration-successful-footer-text {
    font-size: 12px;
  }

  .registration-successful-login-submit {
    font-size: 12px;
  }
}

/* ==========Корзина================= */
.cart-modal {
  margin-left: auto;
  width: 32%;
}

.fancybox__slide.has-html.has-close-btn.is-selected:has(.cart-modal) {
  padding: 0;
}

.cart-wrap {
  background: #f1f1f1;
  padding: 48px 32px;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-cart {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
  color: #264796;
}

.wrap-cart-no-prod {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 4px;
}

.text-cart-no-prod {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  text-align: center;
  color: #010101;
  width: 218px;
}

.cart-no-prod-bottom {
  padding: 16px;
  width: 100%;
  height: auto;
  background: #fff;
  box-sizing: border-box;
}

.cart-no-prod-bottom-text {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: #264796;
}

.cart-no-prod-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.cart-no-prod-item a {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  color: #010101;
}

.cart-no-prod-item:hover a {
  color: #3a62c4;
}

.cart-wrap {
  display: none;
}

.cart-wrap.active {
  display: block;
}

.cart-auth {
  display: block;
}

.cart-auth.hidden {
  display: none;
}

@media (max-width: 1439px) {
  .cart-modal {
    margin-left: auto;
    width: 50%;
  }
}

@media (max-width: 768px) {
  .cart-modal {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }

  .title-cart {
    font-size: 16px;
  }

  .cart-img {
    width: 120px;
    height: 120px;
  }
}

.cart-auth {
  border-left: 4px solid #264796;
  padding: 16px 32px;
  width: 100%;
  height: auto;
  background: #fff;
  box-sizing: border-box;
  position: relative;
}

.cart-auth-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
}

.cart-auth-close-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-auth-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  color: #264796;
  margin-bottom: 8px;
}

.cart-auth-subtext {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #010101;
  margin-bottom: 8px;
}

.cart-auth-btn {
  border: 1px solid #264796;
  border-radius: 16px;
  padding: 8px 16px;
  width: 162px;
  height: 40px;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  text-align: center;
  color: #264796;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cart-products-modal {
  max-height: 600px;
  /* висота, яку ти хочеш для списку */
  overflow-y: auto;
  padding-right: 5px;
  /* щоб скрол не налазив на текст */
  margin: 0;
  list-style: none;
}

.cart-item-modal.header {
  padding: 6px 12px;
  height: 32px;
  background: #264796;
  display: flex;
  align-items: center;
  justify-content: start;
  box-sizing: border-box;
}

.cart-item-modal {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-check {
  width: 12%;
  display: flex;
  justify-content: center;
}

.cart-item-img {
  border-radius: 4px;
  /* padding: 8px 16px; */
  width: 20.5%;
  height: 74px;
  box-sizing: border-box;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-info-modal {
  display: flex;
  flex-direction: column;
  width: 55%;
}

.cart-item-title-modal {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #010101;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  /* перенос довгих слів */
}

.cart-item-info-modal-bottom {
  display: flex;
  justify-content: space-between;
}

.cart-item-price-modal {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #264796;
}

.cart-item-qty-modal {
  display: flex;
  align-items: center;
}

.cart-qty-btn.min {
  border: 0.56px solid #b3b3b3;
  border-radius: 4px 0 0 4px;
  padding: 4px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-size: 8px;
}

.cart-number {
  border-bottom: 0.56px solid #b3b3b3;
  border-top: 0.56px solid #b3b3b3;
  padding: 3px 0;
  width: 27px;
  height: 20px;
  box-sizing: border-box;
  text-align: center;
  font-weight: 400;
  font-size: 8px;
  line-height: 20px;
  /* = висота інпуту → текст по центру вертикально */
  letter-spacing: 0.02em;
  color: #010101;
  border-left: none;
  border-right: none;
}

.cart-qty-btn.max {
  border: 0.56px solid #b3b3b3;
  border-radius: 0 4px 4px 0;
  padding: 4px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-size: 8px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #010101;
}

.cart-total-sum {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.44444;
  color: #010101;
}

.cart-btn.fast-buy {
  border-radius: 16px;
  padding: 12px 24px;
  width: 90%;
  height: 48px;
  background: #264796;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.cart-btn.add-order {
  border: 1px solid #264796;
  border-radius: 16px;
  padding: 12px 24px;
  width: 90%;
  height: 48px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #264796;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.cart-wrap.prod {
  justify-content: flex-start;
  /* gap: 16px; */
}

.cart-item-modal {
  background: #fff;
  padding: 8px 15px;
}

.cart-footer-modal {
  background: #fff;
  padding: 16px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.title-cart.prod {
  margin-bottom: 16px;
  text-align: left;
}

.cart-auth {
  margin-bottom: 16px;
}

.line-cart-modal {
  height: 1px;
  width: 100%;
  background: #b3b3b3;
}

.cart-btn.fast-buy:hover {
  background: #3a62c4;
}

.cart-btn.add-order:hover,
.cart-auth-btn:hover {
  border: 2px solid #3a62c4;
  color: #3a62c4;
}

.cart-item-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 18px;
  height: 18px;
  border: 2px solid #808080;
  /* синя рамка */
  border-radius: 2px;
  /* мінімальне заокруглення, майже квадрат */
  background: #fff;
  cursor: pointer;
  position: relative;
}

/* Галочка строгого типу */
.cart-item-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  width: 5px;
  height: 8px;
  border-right: 2px solid #264796;
  border-bottom: 2px solid #264796;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .cart-item-modal {
    padding: 0 12px;
  }

  .cart-btn.add-order,
  .cart-btn.fast-buy {
    width: 100%;
  }

  .cart-auth-btn {
    width: 100%;
    justify-content: space-between;
  }
}

/* Модальне вікно Додано до обраного */
.selected-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 412px;
  min-height: 82px;
  border-radius: 16px;
  padding: 32px;
  background: #fff;
  z-index: 9999;
  display: none;
  /* приховано за замовчуванням */
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.selected-modal.active {
  display: flex;
}

.modal-selected-title {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  color: #264796;
  margin-bottom: 8px;
}

.modal-selected-text {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.02em;
  color: #010101;
  margin-bottom: 8px;
}

/* Бекдроп */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: block;
  opacity: 1;
}

.selected-modal-auth {
  display: none;
}

.selected-modal-auth.active {
  display: block;
}

@media (max-width: 768px) {
  .selected-modal {
    padding: 16px;
    width: 335px;
    max-height: 138px;
  }

  .modal-selected-title {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .modal-selected-text {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

/* Особистий кабінет (улюблене) */
.nav-item-link.favorite img {
  filter: brightness(0) saturate(100%) invert(0%) sepia(88%) saturate(15%) hue-rotate(215deg) brightness(87%) contrast(99%);
}

.nav-item-link.favorite:hover img {
  filter: brightness(0) saturate(100%) invert(92%) sepia(100%) saturate(0%) hue-rotate(202deg) brightness(106%) contrast(106%);
}

.nav-item-link.favorite.active img {
  filter: brightness(0) saturate(100%) invert(92%) sepia(100%) saturate(0%) hue-rotate(202deg) brightness(106%) contrast(106%);
}

.sidebar-personal-office {
  height: 520px;
}

.favorite-personal-office.office-section.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.personal-office.section.container {
  padding-top: 30px;
  padding-bottom: 80px;
}

.user-attributes {
  box-sizing: border-box;
}

.custom-checkbox .checkmark {
  width: 14px;
  height: 14px;
}

.custom-checkbox input:checked+.checkmark::after {
  width: 4px;
  height: 8px;
}

@media (max-width: 1439px) {
  .sidebar-personal-office {
    height: auto;
  }
}