section.my-account-section {
	overflow: visible;
	padding: 20px 0 80px;
}
/* Account Navigation - Start */
.myaccount-sidebar {
	border-right: 1px solid var(--border);
	padding-right: 20px;
	height: fit-content;
}
.account-navigation {
	display: flex;
	flex-direction: column;
	gap: var(--blocks-indent);
	padding: 0;
	position: sticky;
	top: calc(var(--header-height) + 20px);
}

.account-user-info {
	display: flex;
	align-items: center;
	gap: 15px;
	padding-bottom: var(--blocks-indent);
	border-bottom: 1px solid #e7e7e7;
}

.account-user-info .user-avatar {
	width: 40px;
	height: 40px;
	padding: 0;
	background: #f3f3f3;
	border-radius: var(--radius-max);
	overflow: hidden;
}

.account-user-info .user-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.account-user-info .user-name {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	line-height: 18px;
}

.account-menu {
	display: flex;
	flex-direction: column;
	gap: 5px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.account-menu .menu-item a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0px;
	border-radius: var(--radius-small);
	text-decoration: none;
	color: var(--black);
	transition: all 0.3s ease;
}
.account-menu .menu-item.is-active a {
	text-decoration: underline;
}
.account-menu .menu-icon {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Account Navigation - End */

/* ================================ */
/* Dashboard Content - Start */
/* ================================ */
.myaccount-content {
	position: relative;
	display: flex;
	width: 100%;
}
.dashboard-content-wrapper {
	display: flex;
	width: 100%;
}
.dashboard-content-left {
	display: flex;
	justify-content: space-evenly;
	gap: 10px;
	width: 100%;
}
.dashboard-content-right {
	display: flex;
	flex-direction: column;
	gap: var(--blocks-indent);
	width: 100%;
	max-width: 350px;
}
.edit-account-content,
.edit-password-content,
.logout-content {
	display: flex;
	flex-direction: column;
	gap: var(--blocks-indent);
	width: 100%;
}

.page-header {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.page-description {
	color: var(--gray);
}

/* Dashboard Stats */
.dashboard-stats-wrapper {
	display: flex;
	flex-direction: column;
}
.dashboard-stats {
	width: 350px;
}

.stat-card {
	display: flex;
	flex-direction: column;
}

.stat-card .stat-label {
	color: #7e7e7e;
}

.stat-card .stat-value {
	font-size: 52px;
	line-height: 60px;
	font-family: var(--font-family-1);
}

.stat-card .stat-pending,
.stat-card .stat-info {
	color: var(--dark-gray);
}

/* Bonus Progress */
.bonus-progress-block {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 350px;
	margin-top: 30px;
}
.progress-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.progress-current {
	font-size: 16px;
}

.progress-separator,
.progress-target {
	color: #7e7e7e;
}

.progress-bar {
	position: relative;
	width: 100%;
	height: 8px;
	background: #ebe5e5;
	border-radius: var(--radius-small);
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(to right, var(--primary), var(--accent));
	border-radius: var(--radius-small);
	transition: width 0.3s ease;
}

.progress-message {
	color: var(--dark-gray);
}

/* Dashboard Actions */
.dashboard-actions {
	margin-top: 30px;
}
.dashboard-actions .btn {
	padding: 0 45px;
}

/* Bonus Calendar */
.bonus-calendar-block {
	display: flex;
	flex-direction: column;
	gap: var(--blocks-indent);
	min-width: 400px;
}

.calendar-table {
	overflow-x: auto;
}

.calendar-table table {
	width: 100%;
	border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
	padding: 10px 5px;
	text-align: center;
	font-weight: 500;
	border-bottom: 1px solid var(--border);
}

.status-badge {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: var(--radius-small);
	background: #faf1e4;
	color: #f09a17;
}

.status-badge.pending {
	background: #fff3cd;
	color: #856404;
}

.status-badge.expiring {
	background: #f8d7da;
	color: #721c24;
}

/* Recent Orders */
.recent-orders-block {
	display: flex;
	flex-direction: column;
}

.order-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 20px 0px;
	border-top: 1px solid var(--border);
	transition: all 0.3s ease;
}

.order-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
}
.orders-header {
	padding-bottom: 20px;
}

.orders-footer {
	padding-top: 20px;
	border-top: 1px solid var(--border);
	color: #5e5e5e;
}
.order-total {
	margin-top: 2px;
}
.order-date {
	color: var(--gray);
}
.order-number {
	color: #7e7e7e;
}
.order-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
.order-products {
	display: flex;
	gap: 5px;
	width: fit-content;
}

.order-product-thumb {
	width: 32px;
	height: 32px;
	border: 4px solid #fff;
	border-radius: var(--radius-max);
	margin-left: -17px;
	overflow: hidden;
}
.order-product-thumb:first-child {
	margin-left: 0px;
}

.order-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.order-product-more {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dark-gray);
	margin-left: -5px;
	margin-top: -2px;
}

/* Dashboard Content - End */

/* ================================ */
/* Edit Account & Password - Start */
/* ================================ */
form.woocommerce-EditAccountForm.edit-account {
	padding: 10px 60px;
}
.edit-account-content,
.edit-password-content {
	padding: 10px 60px;
}
.col-100 {
	grid-column: span 12;
}
.shipping-methods-group {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	width: 100%;
}
.form-data-group.delivery-fields-group {
	max-width: 700px;
}
.form-data-group.delivery-fields-group .h3 {
	margin-bottom: 15px;
}
.form-data-group.delivery-fields-group .page-description {
	display: none;
}
.form-data-group label {
	min-width: max-content;
	width: calc(50% - 30px / 2);
	max-width: 330px;
}
.shipping-fields-block {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.shipping-fields-block label {
	display: none;
}
.shipping-fields-block .col-100 {
	width: calc(50% - 20px / 2);
}
.delivery-fields-group .col-100 > label {
	display: none;
}
.form-data-group .required {
	color: var(--primary);
}
.btn-save {
	margin-top: 30px;
}
.field-description {
	display: block;
	margin-top: 5px;
	color: var(--gray);
}

.form-actions {
	display: flex;
	gap: var(--blocks-indent);
}

.form-messages {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.form-messages .woocommerce-message,
.form-messages .woocommerce-error {
	padding: 15px;
	border-radius: var(--radius-small);
}

.form-messages .woocommerce-message {
	background: #d4edda;
	color: #155724;
}

.form-messages .woocommerce-error {
	background: #f8d7da;
	color: #721c24;
}

/* Edit Account & Password - End */

/* ================================ */
/* Logout Page - Start */
/* ================================ */

.logout-content {
	padding: 10px 60px;
	background: var(--white);
	border-radius: var(--radius-medium);
}

.logout-block {
	display: flex;
	flex-direction: column;
	gap: var(--blocks-indent);
}

.logout-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Logout Page - End */

/* ================================ */
/* Orders & View Order - Start */
/* ================================ */
.account-page-header h1 {
	margin-bottom: 20px;
	text-align: left;
}
.woocommerce-MyAccount-content {
	width: 100%;
}
.account-orders-table {
	width: 100%;
	border-spacing: 0 10px;
}
.account-orders-table thead {
	display: none;
}
.account-orders-table tr {
	position: relative;
	background: var(--white);
	border-radius: var(--radius-medium);
	transition: all 0.3s ease;
}
.account-orders-table th,
.account-orders-table td {
	font-weight: 400;
	text-align: center;
	padding: 30px 20px;
}
.account-orders-table td:first-child {
	border-radius: var(--radius-medium) 0 0 var(--radius-medium);
}
.account-orders-table td:last-child {
	border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
}
.account-orders-table th {
	font-family: var(--font-family-2);
}
.account-orders-table .woocommerce-orders-table__cell-order-number a {
	color: var(--primary);
}

.order-notes-section {
	margin-top: var(--blocks-indent);
	padding: 30px;
	background: var(--white);
	border-radius: var(--radius-medium);
}

/* Orders & View Order - End */

/* ================================ */
/* My Account Section - End */
/* ================================ */

/* ================================ */
/* View Order Page - Start */
/* ================================ */

/* Заголовок замовлення */
.order-view-header {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 0;
	padding-bottom: 20px;
	border-bottom: 0;
}
.order-view-header-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.order-view-wrapper {
	display: flex;
	flex-direction: row-reverse;
	width: 100%;
	gap: 20px;
}
.order-view-header-actions {
	position: absolute;
	top: 0;
	right: 0;
}
.order-view-content {
	width: calc(50% - 20px / 2);
}
.order-info-block.order-products-block {
	width: calc(50% - 20px / 2);
}
.order-view-content {
	display: flex;
	flex-direction: column;
}
.order-view-title {
	color: var(--primary);
	font-size: 32px;
	line-height: 40px;
	margin: 0;
}
button.btn.reorder-button {
	color: #5e5e5e;
}

.order-view-date {
	font-size: 16px;
}

.order-view-status {
	margin-top: 5px;
}

/* Блоки інформації */
.order-info-block {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
	padding: 20px;
	background: var(--white);
	border-radius: var(--radius-medium);
	border: 1px solid var(--border);
}

.order-info-block__title {
	font-size: 18px;
	line-height: 24px;
	margin: 0;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--border);
}

.order-info-block__content {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Ряди інформації */
.order-info-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	padding: 8px 0;
}

.order-info-label {
	font-weight: 500;
	min-width: 150px;
}

.order-info-value {
	text-align: right;
	flex: 1;
	word-break: break-word;
}

/* Статуси оплати */
.payment-status {
	display: inline-flex;
	padding: 4px 12px;
	border-radius: var(--radius-small);
	font-size: 14px;
	font-weight: 500;
}

.payment-status.paid {
	background: #d4edda;
	color: #155724;
}

.payment-status.unpaid {
	background: #fff3cd;
	color: #856404;
}

/* Блок товарів */
.order-products-block .cart-all-items {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* Readonly кількість */
.quantity-display-readonly {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 15px;
	background: #f3f3f3;
	border-radius: var(--radius-small);
	font-weight: 500;
	color: var(--black);
	min-width: max-content;
}

/* Підсумок замовлення */
.order-totals {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.order-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #f3f3f3;
}

.order-total-row:last-child {
	border-bottom: none;
}

.order-total-label {
	font-weight: 500;
	color: var(--black);
}

.order-total-value {
	font-size: 16px;
}

/* Фінальна сума */
.order-total-final {
	margin-top: 10px;
	padding-top: 20px;
	border-top: 2px solid var(--border);
}

.order-total-final .order-total-label {
	font-size: 18px;
}

.order-total-final .order-total-value {
	font-size: 18px;
	color: var(--primary);
}

/* Нотатки замовлення */
.order-notes-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.order-note-item {
	padding: 15px;
	background: #f9f9f9;
	border-radius: var(--radius-small);
	border-left: 3px solid var(--primary);
}

.order-note-date {
	font-size: 12px;
	color: var(--gray);
	margin-bottom: 8px;
}

.order-note-text {
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
}

.order-note-text p {
	margin: 0;
}

/* Статуси замовлення в бейджі */
.order-view-status .status-badge {
	display: inline-flex;
	padding: 8px 16px;
	font-size: 14px;
	font-family: var(--font-family-2);
	font-weight: 500;
	border-radius: var(--radius-small);
}

/* Різні статуси */
.status-badge.status-pending {
	background: #fff3cd;
	color: #856404;
}

.status-badge.status-processing {
	background: #cfe2ff;
	color: #084298;
}

.status-badge.status-on-hold {
	background: #e7e7e7;
	color: #5e5e5e;
}

.status-badge.status-completed {
	background: #d4edda;
	color: #155724;
}

.status-badge.status-cancelled {
	background: #f8d7da;
	color: #721c24;
}

.status-badge.status-refunded {
	background: #e2e3e5;
	color: #383d41;
}

.status-badge.status-failed {
	background: #f8d7da;
	color: #721c24;
}
#password-change-form {
	max-width: 350px;
}
#password-change-form .btn {
	margin-top: 20px;
}
.form-group {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-top: 20px;
	margin-bottom: 50px;
}
.woocommerce-EditAccountForm p.woocommerce-form-row {
	display: flex;
	width: calc(50% - var(--blocks-indent) / 2);
	max-width: 450px;
}
.product-item {
	border-bottom: 1px solid var(--border);
	border-radius: 0;
}
.product-item__total {
	height: 31px !important;
}
.product-item__name .h3 {
	font-size: 18px;
	line-height: 18px;
}
/* Адаптив */
@media (max-width: 1680px) {
	.container-sidebar[data-sidebar="300"] {
		--side-bar: 230px;
	}
	.dashboard-stats {
		width: 310px;
	}
	.bonus-progress-block {
		width: 310px;
	}
	.dashboard-actions .btn {
		padding: 0 25px;
	}
	.bonus-calendar-block {
		min-width: 350px;
	}
	.order-card {
		padding: 15px 0px;
	}
	.dashboard-content-right {
		max-width: 320px;
	}
}
@media (max-width: 1400px) {
	.dashboard-content-right {
		max-width: 280px;
	}
	.bonus-calendar-block {
		min-width: 300px;
	}
	.dashboard-actions .btn {
		padding: 0 15px;
		height: 40px;
	}
	form.woocommerce-EditAccountForm.edit-account {
		padding: 0;
	}
}
@media (max-width: 1279px) {
	.myaccount-sidebar {
		border-right: 0px solid var(--border);
		padding-right: 0;
		padding-bottom: 10px;
		border-bottom: 1px solid var(--border);
	}
	.myaccount-content {
		margin-top: 20px;
	}
	.dashboard-content-wrapper {
		flex-wrap: wrap;
	}
	.dashboard-content-left {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	.account-navigation {
		position: static;
		padding: 0;
	}
	.bonus-progress-block {
		padding: 0;
	}
	.dashboard-stats-wrapper {
		width: 100%;
	}
	.dashboard-stats {
		width: 100%;
	}
	.dashboard-actions {
		margin-top: 30px;
		flex-wrap: wrap;
	}
	.bonus-progress-block {
		width: 100%;
	}
	.my-account-section .container {
		gap: var(--blocks-indent);
	}
	.dashboard-actions .btn {
		height: var(--btn-height);
		width: 100%;
	}
	.stat-card {
		padding: 0px;
		min-width: auto;
	}

	.bonus-progress-block,
	.bonus-calendar-block,
	.recent-orders-block {
		padding: 0px;
	}
	.edit-account-content,
	.edit-password-content,
	.logout-content {
		padding: 0px;
	}
	.calendar-table th,
	.calendar-table td {
		padding: 10px;
	}
	.order-card {
		padding: 15px;
	}
	.order-view-title {
		font-size: 28px;
		line-height: 36px;
	}
	.order-info-block {
		padding: 15px;
		margin-bottom: 0;
	}
	.bonus-calendar-block {
		min-width: 100%;
	}
	.bonus-calendar-block {
		min-width: 100%;
		margin-top: 20px;
	}
	.dashboard-content-right {
		max-width: 100%;
		margin-top: 30px;
	}
	.order-products-block .product-item {
		grid-template-columns: 60px 1fr;
		gap: 10px;
	}

	.order-products-block .product-item__image {
		width: 60px;
		height: 60px;
	}

	.order-products-block .product-item__quantity,
	.order-products-block .product-item__total {
		grid-column: 1 / -1;
		text-align: left;
	}

	.quantity-display-readonly {
		justify-content: flex-start;
	}

	.order-info-row {
		flex-direction: column;
		gap: 5px;
	}

	.order-info-label {
		min-width: auto;
	}

	.order-info-value {
		text-align: left;
	}
	.orders-footer {
		display: flex;
		justify-content: center;
	}
	#password-change-form {
		max-width: 100%;
	}
	#password-change-form .btn {
		margin-top: 30px;
	}
	.account-orders-table th,
	.account-orders-table td {
		padding: 10px 5px;
		font-size: 12px;
		line-height: 16px;
	}
	.account-orders-table td.orders-table__cell-order-actions {
		padding: 0;
	}
	td.orders-table__cell-order-date {
		min-width: 80px;
	}
	td.orders-table__cell-order-status {
		min-width: 100px;
	}
	.form-group {
		gap: 10px;
		margin-top: 20px;
		margin-bottom: 40px;
	}
	.form-data-group label {
		width: 100%;
		max-width: 100%;
	}
	.shipping-methods-group {
		gap: 10px;
	}
	.woocommerce-EditAccountForm p.woocommerce-form-row {
		width: 100%;
	}
	.shipping-fields-block {
		gap: 10px;
	}
	.shipping-fields-block .col-100 {
		width: 100%;
	}
	.order-view-wrapper {
		display: flex;
		flex-direction: column;
		width: 100%;
		gap: 10px;
	}
	.order-view-content {
		width: 100%;
	}
	.order-info-block.order-products-block {
		width: 100%;
	}
	.order-view-header-actions {
		position: absolute;
		top: initial;
		bottom: 14px;
		right: 0;
	}
	.order-view-content {
		gap: 10px;
	}
}

/* View Order Page - End */
/* ================================ */
