/* Account colours follow the server-selected browsing mode, not the user's role.
   Keep all overrides inside the account page; checkout also loads this file. */
.my-aren {
    --account-ink: var(--purple);
    --account-line: var(--grey-300);
    --account-surface: var(--grey-200);
    --account-muted: var(--grey-500);
    --account-accent: var(--pink);
    padding-bottom: 64px;
}
html.aren-client-b2b .my-aren {
    --account-ink: var(--green);
    --account-line: #d4e1e1;
    --account-surface: #eef7f7;
    --account-muted: #526969;
    --account-accent: var(--teal);
}
.my-aren .main-title { gap: 16px; flex-wrap: wrap; }
.my-aren .main-title h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.my-aren .main-title .current-company { margin-left: 0; overflow-wrap: anywhere; }
.my-aren .nav-wrap { margin-bottom: 32px; }
.my-aren .nav-wrap::after, .my-aren .nav-wrap li a::after { display: none; }
.my-aren .minu-konto-navigation { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.my-aren .nav-wrap li { flex: 1 1 0; width: auto; min-width: 0; }
.my-aren .nav-wrap li a { padding: 12px 10px; border-radius: 12px; color: var(--account-ink); text-decoration: none; line-height: 1.5; }
.my-aren .nav-wrap li a:hover { background: var(--account-surface); }
.my-aren .nav-wrap li a[aria-current="page"] { background: var(--account-ink); color: #fff; font-weight: 500; }
.my-aren .account-content > .title-wrap { margin-top: 0; gap: 16px; flex-wrap: wrap; }
.my-aren .account-content > .title-wrap .title { margin-right: auto; }
.my-aren .account-content > .title-wrap .latest-title { display: flex; }
.my-aren .account-content h2 { font-size: clamp(24px, 2.5vw, 30px); line-height: 1.3; }
.my-aren .account-content h3 { font-size: 20px; line-height: 1.4; margin-bottom: 24px; }
.my-aren .my-account .row { row-gap: 24px; }
.my-aren .my-account .wrap { background: #fff; border: 1px solid var(--account-line); border-radius: 20px; padding: 28px !important; }
.my-aren .my-account .user-data { overflow-wrap: anywhere; }
.my-aren .my-account .user-data > label { color: var(--account-muted); line-height: 1.5; }
.my-aren .my-account hr { margin: 28px 0; border-color: var(--account-line); }
.my-aren .my-account form label { line-height: 1.5; height: auto; font-weight: 500; margin-bottom: 6px; }
.my-aren .my-account form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.my-aren .my-account form select,
.my-aren .account-content > .title-wrap input[type="search"] {
    width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--account-line); border-radius: 12px; background: #fff; padding: 12px 16px; font: inherit; margin-bottom: 18px;
}
.my-aren .account-content > .title-wrap .search { flex: 0 1 280px; min-width: 180px; }
.my-aren .account-content > .title-wrap input[type="search"] { padding-right: 44px; margin-bottom: 0; }
.my-aren .my-account form :is(input[type="checkbox"], input[type="radio"]) { width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 8px 0 0; accent-color: var(--account-ink); }
.my-aren .my-account .default-role .options { gap: 12px 20px; }
.my-aren .my-account .default-role label { display: flex; align-items: flex-start; }
.my-aren .my-account fieldset { margin: 20px 0; padding: 0; border: 0; }
.my-aren .my-account fieldset legend { font-size: 16px; margin-bottom: 12px; }
.my-aren .my-account fieldset label { display: flex; align-items: flex-start; gap: 4px; }
.my-aren .my-account button, .my-aren .account-content > .title-wrap .button { min-height: 48px; border-radius: 999px; }
.my-aren .my-account .main svg path { fill: var(--account-accent); }
.my-aren .my-account .button-wrap { margin-top: 24px; }
.my-aren :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--account-ink); outline-offset: 3px; }
.my-aren .tabulator { border: 1px solid var(--account-line); border-radius: 16px; font-family: inherit; }
.my-aren .tabulator .tabulator-header { background: var(--account-surface); border-bottom: 1px solid var(--account-line); }
.my-aren .tabulator .tabulator-header .tabulator-col { background: transparent; }
.my-aren .tabulator .tabulator-header .tabulator-col-title { color: var(--account-muted); font-weight: 500; }
.my-aren .tabulator .tabulator-row { background: #fff; border-bottom: 1px solid var(--account-line); }
.my-aren .tabulator .tabulator-row .tabulator-cell { padding-top: 16px; padding-bottom: 16px; }
.my-aren .tabulator .tabulator-footer { border-top: 1px solid var(--account-line); background: #fff; }
.my-aren .tabulator .tabulator-placeholder .tabulator-placeholder-contents { color: var(--account-muted); font-size: 16px; font-weight: 400; }
@media (max-width: 767px) {
    .my-aren { padding-bottom: 40px; }
    .my-aren .container > .main-title.title-wrap { margin-top: 28px; margin-bottom: 20px; gap: 8px; flex-wrap: wrap; }
    .my-aren .main-title .current-company { width: 100%; padding-left: 0; border: 0; line-height: 1.5; }
    .my-aren .minu-konto-navigation { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .my-aren .nav-wrap li a { padding: 10px 8px; min-height: 44px; font-size: 14px; }
    .my-aren .my-account .row { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; }
    .my-aren .my-account .row > div { width: 100%; padding: 0; }
    .my-aren .my-account .wrap { padding: 20px !important; border-radius: 16px; }
    .my-aren .account-content > .title-wrap .title { flex-basis: 100%; }
    .my-aren .account-content > .title-wrap .search { flex-basis: 100%; }
    .my-aren .account-content > .title-wrap .button { margin-right: 0 !important; }
    .my-aren .my-account .button-wrap button { width: 100%; justify-content: center; }
}

.my-aren h1 {
	margin-bottom: 0;
}
.my-aren .container > .title-wrap {
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
}
.my-aren .title-wrap {
	margin-bottom: 1.5rem;
}
.my-aren .title-wrap h2 {
	margin-bottom: 0;
	line-height: normal;
}
.my-aren .current-company {
	margin-left: 1rem;
	padding-left: 1rem;
	color: var(--grey-500);
	border-left: 1px solid var(--grey-400);
	line-height: 2rem;
}
.my-aren table {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0px 0px 0px 1px var(--grey-300);
}
.my-aren table td {
	border-bottom: 1px solid var(--grey-300);
}
.my-aren table tr:last-child td {
	border-bottom: 0;
}
.my-aren .favorite-icon {
	width: 2rem;
	height: 2rem;
	position: relative;
	margin-left: 1rem;
}
.my-aren .qty-select {
	width: 100%;
	margin-bottom: 0;
}
.my-aren .qty-wrap {
	max-width: 5.5rem;
	padding: 0 0.5rem;
	margin-right: 0.5rem;
}
.my-aren .qty-wrap input {
	margin: 0 0.5rem;
}

.my-aren .custom-add-to-cart {
	background-color: var(--grey-300);
	width: 2rem;
	height: 2rem;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.my-aren .custom-add-to-cart:hover {
	background-color: var(--account-ink);
}
.my-aren .custom-add-to-cart:hover svg path {
	fill: var(--account-accent);
}
.my-aren .favorite-icon svg {
	width: 1rem;
	height: 1rem;
}
.nav-wrap {
	margin-bottom: 2.5rem;
}

.nav-wrap:after, .nav-wrap li a:after {
	content: '';
	height: 3px;
	width: 100%;
	position: absolute;
	background-color: var(--grey-200);
	bottom: 0;
	left: 0;
}
.nav-wrap ul {
	margin-bottom: 0;
}
.nav-wrap li {
	width: 16.66%;
	margin-bottom: 0;
}
.nav-wrap li a {
	padding-bottom: 0.5rem;
}
.nav-wrap li.active a:after {
	background-color: var(--purple);
	z-index: 2;
}
table tbody tr td {
	border: none;
}
.section-pending {
	margin-bottom: 2.5rem;
}
.confirm-button {
	background-color: var(--lgreen);
}
.confirm-button span {
	margin-left: 0.75rem;
	color: var(--black);
}
.confirm-button.confirmed {
	background-color: transparent;
	padding-left: 0;
}
.my-aren .order-detail .title-wrap {
	position: relative;
	margin-top: 0;
}
.close-order {
	background-color: transparent;
	padding: 0;
	width: 1.75rem;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 0.5rem;
}
.status {
	margin-top: 1rem;
	margin-bottom: 0;
}

.my-account form select {
	border-radius: 4px;
}

@media (max-width: 767px) {
	.my-account .row {
		gap: 1rem;
	}
	.my-account h3 {
		font-size: 1.25rem;
	}
}

/*--------------------------------------------------------------
# My account and tables
--------------------------------------------------------------*/

.table-wrapper table thead {
	background-color: var(--white);
}
table {
	border-collapse: collapse; /* Change from 'collapse' to 'separate' */
    border-spacing: 0; /* Remove extra space between cells */
	border: 0;
}
table thead {
	background-color: var(--grey-200);
}
table thead th {
	padding: 1rem;
	color: var(--grey-600);
	font-size: 0.875rem;
	font-weight: 400;
	text-align: left;
}
table tbody tr td, table thead tr td {
	padding: 1rem;
	border: 1px solid var(--grey-300);
}

.my-account .wrap {
	background-color: var(--grey-200);
	height: 100%;
}

.my-account .button-wrap {
	text-align: right;
}

.my-account .user-data label {
	font-size: 0.88rem;
	font-weight: 400;
	color: var(--grey-600);
	line-height: normal;
	height: auto;
	display: block;
}
.my-account .user-data.twofactor label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.my-account .user-data > span {
	color: var(--grey-700);
}
.my-account .user-data #totp-setup img {
	max-width: 100px;
}

.my-account .main svg path {
	fill: var(--pink);
}

.my-account #twofactorlogin-method p {
	margin-bottom: 0.5rem;
}
.my-account .default-role .options {
	gap: 1rem;
}
.my-account .default-role .options label {
	gap: 0.25rem;
}

.twofactor .toggle-switch {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.twofactor .toggle-label {
    margin-left: 10px;
    font-weight: bold;
}

/* Toggle Switch */
.my-account .twofactor label.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
}

.my-account .twofactor label.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.my-account .twofactor .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.my-account .twofactor .slider span{
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 0px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
	top:0;
	bottom:0;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	
}
.my-account .twofactor .slider span svg {
	opacity: 0;
	transition: opacity 0.3s;
}

.my-account .twofactor input:checked + .slider {
    background-color: var(--purple);
}

.my-account .twofactor input:checked + .slider span {
    transform: translateX(24px);
	left: 0px;
	
}
.my-account .twofactor input:checked + .slider span svg {
	opacity: 1;
}
.my-account .slider span svg path {
	fill: var(--purple);
}

/* Round Slider */
.my-account .twofactor .slider.round {
    border-radius: 34px;
}

.my-account .twofactor .slider.round span {
    border-radius: 50%;
	left: 4px;
}
.my-account .status {
	margin-top: 1rem;
}

.my-aren .tabulator-row.tabulator-row-even {
	background-color: #fff;
}
.my-aren .tabulator-row:last-of-type {
	border-bottom: 0;
}
.my-aren .tabulator-row .tabulator-cell, .my-aren .tabulator .tabulator-header .tabulator-col {
	border-right: 0;
	padding-left: 1rem;
}
.my-aren .tabulator-row .tabulator-cell[tabulator-field="total"] {
	font-weight: 600;
}
.my-aren .tabulator-row .tabulator-cell[tabulator-field="total"] .small-gray, .my-aren .tabulator-row .tabulator-cell[tabulator-field="price"] .small-gray {
	display: none;
}
.my-aren .col-price {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 0;
}
.my-aren .col-price ins, .my-aren .col-price del {
	font-size: 1rem;
}
.my-aren .col-price .custom-price-wrap {
	font-size: 1rem;
}

.my-aren .col-price.price .custom-price-wrap {
	display: flex;
	flex-direction: column;
}
.my-aren .col-price .single {
	display: flex;
	flex-direction: column;
	font-size: 1rem;
	align-items: flex-start;
}
.my-aren .tabulator-row .tabulator-cell {
	white-space: normal;
}
.my-aren .tabulator {

	border: none;
	background-color: #fff;

}
.my-aren .tabulator .tabulator-header {
	border: 1px solid var(--grey-300);
	border-bottom: 0;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
}
.my-aren .tabulator .tabulator-tableholder {
	border: 1px solid var(--grey-300);
	border-top: 0;
	border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
	overflow: hidden;
	height: auto !important;
}
.my-aren .tabulator .tabulator-footer {
	background-color: #fff;
	border-top: none;
}

.my-aren .tabulator-row .tabulator-cell {
	font-size: 1rem;
	display: inline-flex;
	align-items: center;
	min-height: 3.5rem;
	color: var(--grey-700);
}
.my-aren .tabulator-row .tabulator-cell a {
	text-decoration: underline;
	text-underline-offset: 2px;
}
.my-aren .orders-section .tabulator-row .tabulator-cell:last-of-type {
	justify-content: flex-end;
}
.my-aren .tabulator-row .tabulator-cell:first-of-type, .tabulator .tabulator-header .tabulator-col:first-of-type {
	padding-left: 1rem;
}

.my-aren .tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title {
	padding-top: 1rem;
	padding-bottom: 1rem;
	color: var(--grey-600);
	font-weight: 400;
	padding-right: 0;
}
.my-aren .tabulator .tabulator-header .tabulator-col[tabulator-field="action"] .tabulator-col-title {
	visibility: hidden;
}
.my-aren .tabulator-row .tabulator-cell[tabulator-field="action"] {
	justify-content: center;
	padding-left: 0rem;
	padding-right: 1rem;
}
.my-aren .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter {
	display: none;
}
.my-aren .tabulator .tabulator-header, .my-aren .tabulator .tabulator-header .tabulator-col {
	border-bottom: 0;
	background-color: var(--grey-200);
}
.my-aren .tabulator .tabulator-header .tabulator-col[tabulator-field="product-remove"] .tabulator-col-title {
	display: none;
}

.my-aren .tabulator-row.tabulator-selectable:hover {
	background-color: #efefef;
}
.my-aren .tabulator .tabulator-footer .tabulator-page-size {
	width: auto;
}
.my-aren .tabulator .tabulator-footer .tabulator-footer-contents {
	justify-content: space-between;
	padding: 2.5rem 0 0 0;
	
}
.my-aren .tabulator .tabulator-footer .tabulator-paginator {
	flex: 0;
	display: flex;
	align-items: center;
}
.my-aren .tabulator .tabulator-footer .tabulator-paginator > label, .my-aren .tabulator .tabulator-footer .tabulator-page-size {
	display: none;
}

.my-aren .xs {
	display: none;
}
.my-aren .product-stock .stock-light {
	font-size: 0;
}
.tabulator-responsive-collapse .xs {
	display: block;
	margin-right: 0.5rem;
}
.my-aren .tabulator-row .tabulator-responsive-collapse {
	border: none;
	padding: 0;
}
.my-aren .tabulator-responsive-collapse table, #order_review .tabulator-responsive-collapse table {
	border-radius: 0;
	border: none;
	box-shadow: none;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.product-item .tabulator-row .tabulator-responsive-collapse table tr td:first-of-type {
	display: none;
}
.product-item .tabulator-row .tabulator-responsive-collapse table {
	margin-top: 1rem;
}
.my-aren .tabulator-row .tabulator-responsive-collapse table tr {
	display: flex;
}


.my-aren .tabulator-row .tabulator-responsive-collapse table tr td {
	border: none !important;
	display: flex;
	padding: 0.5rem 1rem;
	white-space: normal;
}

.my-aren input[type="search" i]::-webkit-search-cancel-button {
    display: none;
}
.my-aren .search {
    margin-right: 1rem;
	margin-left: auto;
}
.my-aren .action .button {
    height: 2.5rem;
}
.my-aren .search input {
    border-radius: 36px;
    padding-left: 1.5rem;
    color: var(--grey-500);
    min-width: 18.75rem;
}

.my-aren .search svg {
    position: absolute;
    right: 1rem;
    top: 0;
    bottom: 0;
    margin: auto;
}

.tabulator .tabulator-footer .tabulator-page {
	min-width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--grey-300);
    border-radius: 6px;
    padding: 0 0.4rem;
	color: var(--black);
}
body .tabulator .tabulator-footer .tabulator-page.active {
	background-color: var(--purple);
    color: var(--white);
}
.my-aren .tabulator .tabulator-footer .tabulator-page[data-page="prev"] {
	font-size: 0;
	background-image: url(../img/arrow.svg) !important;
	background-size: 100% 1rem;
	background-repeat: no-repeat;
	background-position: center;
}
.my-aren .tabulator .tabulator-footer .tabulator-page[data-page="next"] {
	font-size: 0;
	transform: rotate(180deg);
	background-image: url(../img/arrow.svg) !important;
	background-size: 100% 1rem;
	background-repeat: no-repeat;
	background-position: center;
}
.my-aren .tabulator .tabulator-footer .tabulator-page:not(.disabled):hover {
	background-size: 100% 1rem;
	background-repeat: no-repeat;
	background-position: center;
	background-color: var(--grey-300);
	color: var(--black);
}
.page-size-controls button.active {
    text-decoration: underline;
    color: var(--grey-700);
}
.page-size-controls span {
	color: var(--black);
	font-weight: 400;
	font-size: 1rem;
}
.page-size-controls button {
    background-color: transparent;
    padding: 0 0.75rem;
    color: var(--grey-500);
	border-left: 1px solid var(--grey-400);
	border-radius: 0;
}
.page-size-controls button:first-of-type {
	border-left: 0;
}
.my-aren .tabulator .tabulator-footer .tabulator-page[data-page="first"],.my-aren .tabulator .tabulator-footer .tabulator-page[data-page="last"] {
	display: none;
}
.my-aren button.open-order {
	margin-right: 1rem;
	margin-left: auto;
}

.order-detail header {
	display: flex;
	flex-direction: column;
	row-gap: 1rem;
	background-color: var(--grey-200);
}
.order-detail header label {
	font-size: 0.88rem;
	color: var(--grey-600);
	margin-bottom: 0.5rem;
}
.order-detail .info {
	display: flex;
	flex-direction: column;
	text-align: left;
}
.order-detail .info label {
	font-weight: 400;
	line-height: 1.5rem;
}

section .button.main {
	color: #fff;
	text-decoration: none;
}

/* Modal */

#order-modal.modal-container {
	position: relative;
	background-color: #fff;
}
#order-modal .modal {
	width: 100%;
	height: 100%;
	max-width: 100%;
	box-shadow: none;
	padding: 0;
}


#order-modal .modal .actions {
	border-top: 0;
}

.confirm-button.confirmed {
	margin-right: 1rem;
	gap: 0.5rem;
	
}
.confirm-button.confirmed span {
	margin-left: 0;
}


.my-aren .tabulator-row .tabulator-cell.tabulator-row-header {
	border-right: 0;
}

#totals-container {
	display: flex;
	justify-content: flex-end;
	margin-top: 1.5rem;
	flex-direction: column;
	align-items: flex-end;
	margin-bottom: 1.5rem;
}
#totals-container table.order-total {
	width: auto;
    box-shadow: none;
	font-weight: normal;
}

#totals-container table.order-total tr td {
	border: none;
}
#totals-container table th {
	font-weight: normal;
	border: none;
}
#totals-container table .total-value {
	min-width: 7.8rem;
	text-align: right;
}
#totals-container .checkout-total{
	width: 100%;
	border-top: 1px solid var(--grey-300);
	
}
#totals-container table th {
	text-align: right;
}
#totals-container .checkout-total table {
	margin-right: 0;
	margin-left: auto;
}
.form-row.place-order {
	text-align: right;
}
#totals-container .checkout-total table th, #totals-container .checkout-total table td {
	font-weight: bold;
}

.cancelled-order {
	color: #CC1F2E;
	font-weight: 500;
	padding: 0.5rem 1rem;
	background-color: transparent;
}
.col-price .small-gray {
	display: none;
}


@media (max-width: 1280px) {
	.my-aren .tabulator .tabulator-cell {
		white-space: normal !important;
		word-break: break-word;
	}
	.nav-wrap {
		overflow: auto;
	}
	.confirm-button {
		height: 2rem;
		word-break: normal;
	}
}

@media (max-width: 1023px) {
	.my-aren .tabulator-row.tabulator-selectable:hover {
		background-color: transparent;
	}
	.my-aren .tabulator-row .tabulator-cell.tabulator-row-header {
		border-right: 0;
		padding-left: 0;
	}
	.tabular-xs .tabulator-row .tabulator-responsive-collapse table tr td:first-of-type {
		display: flex;
		background-color: var(--grey-200);
		font-weight: normal;
		min-width: 10rem;
		align-items: center;
	}
	.tabular-xs .tabulator-row {
		display: flex;
		flex-wrap: wrap;
	}
	.tabular-xs .tabulator-row .tabulator-responsive-collapse table tr td:first-of-type strong {
		font-weight: 400;
	}
	.tabular-xs  .tabulator-row .tabulator-responsive-collapse table tr {
		width: 100%;
	}
	.my-aren .nav-wrap li {
		flex-shrink: 0;
		width: auto;

	}
	.my-aren .nav-wrap li a {
		padding-right: 0.75rem;
		padding-left: 0.75rem;
	}
	.my-aren .tabulator-responsive-collapse .product-stock .stock-light {
	font-size: 1rem;
	}
	.my-aren .title-wrap h2 {
		font-size: 1.25rem;
	}
	.col-price .small-gray {
		display: none;
	}
	
}
@media (max-width: 767px) {
	
	.my-aren .col-price .single {
		font-size: unset;
	}
	.my-aren .tabulator-row .tabulator-cell {
		white-space: nowrap;
	}
	.my-aren .tabular-xs .tabulator-row .tabulator-responsive-collapse {
		border-top: 1px solid var(--grey-200);
	}
	.my-aren .orders-wrap .tabulator-responsive-collapse table tr:last-child td:first-child {
		display: none;
	}
	.my-aren .orders-wrap .tabulator-responsive-collapse table tr:last-child td:last-child {
		width: 100%;
		border-top: 1px solid var(--grey-200) !important;
	}
	.my-aren .orders-wrap .tabulator-responsive-collapse .confirm-button {
		width: 100%;
		justify-content: center;
		height: 2.5rem;
	}
	.my-aren .tabulator-responsive-collapse .amount {
		font-weight: 600;
		font-size: 1rem;
	}
	.my-aren .tabulator-responsive-collapse del .amount {
		font-size: 0.88rem;
		color: var(--grey-500);
		font-weight: 400;
	}
	.my-aren .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle {
		width: 2rem;
		height: 2rem;
		background-color: var(--grey-200);
		border-radius: 4px;
		position: relative;
	}
	#order-modal .order-detail header {
		margin-bottom: 0 !important;
	}
	#order-modal .modal .actions {
		display: flex;
		justify-content: space-between;
		padding-bottom: 1rem;
		margin-bottom: 1.25rem;
	}
	#order-modal .modal .actions .confirm {
		height: 2.5rem;
	}

	#order-modal.modal-container {
		padding-top: 0;
	}
	#order-modal .container {
		padding: 0;
	}
	.tabulator-responsive-collapse-toggle svg {
		display: none !important;
	}
	.tabulator-responsive-collapse-toggle:after {
		content: '';
		background-image: url(../img/arrow-down.svg) !important;
		background-repeat: no-repeat;
		background-size: contain;
		width: 12px;
		height: 7px;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
	}
	.tabulator-responsive-collapse-toggle.open:after {
		transform: rotate(180deg);
	}
	.cancelled-order {
		padding-left: 0;
	}
	.tabular-xs .tabulator-cell[tabulator-field="action"] {
		margin-right: 0;
		margin-left: auto;
	}
	.order-detail .info {
		margin-bottom: 1rem;
	}
	.my-aren h1 {
		line-height: normal;
	}
	.orders-section .title-wrap {
		flex-wrap: wrap;
		gap: 1rem;
	}
	.my-aren .users-title {
		flex-wrap: wrap;
		gap: 1rem
	}
	.my-aren .users-title .title {
		order: 1;
	}
	.my-aren .users-title .search {
		order: 3;
		width: 100%;
		margin-right: 0;
	}
	.my-aren .users-title .button {
		order: 2;
	}
	.my-aren .latest-title {
		display: none;
	}
	.my-aren .object-filter {
		width: 100%;
	}
	.my-aren .container > .title-wrap {
		flex-wrap: wrap;
		gap: 1.5rem;
	}
	.my-aren .container > .title-wrap .title {
		order: 1;
	}
	.my-aren .container > .title-wrap .button {
		order: 2;
	}
	.my-aren .title-wrap .search {
		order: 3;
		width: 100%;
		margin: 0;
		margin-bottom: 0.5rem;
	}
	.my-aren .tabulator .tabulator-footer .tabulator-paginator {
		order: 2;
		width: 100%;
	}
	.my-aren .page-size-controls {
		order: 1;
		width: 100%;
		margin-bottom: 1rem;
		text-align: center;
	}
	.my-aren .tabulator .tabulator-footer .tabulator-footer-contents {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}


	.product-item .amount {
		font-weight: bold;
	}
	
	.product-item .tabulator-row {
		border: none;
		border-bottom: 1px solid var(--grey-200);
		margin-bottom: 1rem;
		padding-bottom: 0.5rem;
	}

	.product-item.tabulator .tabulator-cell a, .product-item.tabulator .tabulator-cell[tabulator-field="product-name"] {
		padding-left: 1rem;
	}
	.product-item .tabulator-row .tabulator-cell a {
		text-decoration: none;
		font-weight: 500;
		padding-left: 0;
	}
	.product-item .tabulator-row .tabulator-cell:first-of-type, 
	.product-item .tabulator-header .tabulator-col:first-of-type, 
	.product-item .tabulator-row .tabulator-cell,
	.product-item .tabulator-row .tabulator-responsive-collapse table tr td {
		padding-left: 0;
		color: var(--black);
	}
	
	

	.product-item .tabulator-header {
		border: none !important;
	}
	.product-item .tabulator-header-contents {
		display: none;
	}
	.product-item.tabulator .tabulator-tableholder {
		border: none;
	}
	.product-item .tabulator-row.tabulator-selectable:hover {
		background-color: #fff;
	}
	.product-item .tabulator-responsive-collapse .xs {
		color: var(--grey-500);
		margin-right: 0;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table tr td {
		padding-top: 0;
		padding-bottom: 0;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding-right: 1rem;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table tr {
		margin-bottom: 1rem;
	}
	.product-item .tabulator-row:last-of-type {
		border-bottom: 1px solid var(--grey-200);
	}
	.my-aren .tabulator-responsive-collapse .product-stock .stock-light {
		font-size: 0.88rem;
	}

	.nav-wrap {
	padding-bottom: 0.25rem;
	}
	/* WISHLIST */
	.product-item .favorite-icon.active .is-favorite {
		width: 20px;
		height: 20px;
	}
	.my-aren .favorite-icon {
		height: 2.5rem;
	}

	
	.my-aren .custom-add-to-cart {
		width: 100%;
		height: 2.5rem;
		display: inline-flex;
		gap: 0.5rem;
		flex-shrink: 1;
	}
	.my-aren .col-price .custom-price-wrap {
		flex-direction: column;
		display: flex;
		gap: 0.25rem;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table {
		padding-left: 0;
		padding-right: 0;
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table > tbody {
		display: contents;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table tr {
		max-width: 50%;
		width: 50%;
		box-sizing: border-box;
	}
	
	.product-item .tabulator-row .tabulator-responsive-collapse table tr:nth-child(1),
	.product-item .tabulator-row .tabulator-responsive-collapse table tr:nth-child(3) {
		/* padding-right: 1rem; */
	}
	
	.product-item .tabulator-row .tabulator-responsive-collapse table tr:nth-child(2) {
		border-left: 1px solid var(--grey-300);
		padding-left: 1rem;
	}
	
	.product-item .tabulator-row .tabulator-responsive-collapse table tr:nth-child(5) {
		border-left: 1px solid var(--grey-300);
		padding-left: 1rem;
	}
	
	.product-item .tabulator-row .tabulator-responsive-collapse table tr:nth-child(5) td {
		padding-right: 0;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table tr:nth-child(3) {
		width: 100%;
		border-right: 0;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table tr:nth-child(2) td {
		padding-right: 0;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table tr:nth-child(4) .amount {
		font-size: 0.88rem;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table tr:nth-child(4) {
		border-right: 1px solid var(--grey-300);
		margin-right: 1rem;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table tr:nth-child(6) {
		width: 100%;
		align-items: center;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table tr:nth-child(6) td {
		width: 100%;
	}
	.product-item .tabulator-row .tabulator-responsive-collapse table .bulk-select {
		min-width: 102px;
	}
	.product-item .col-price ins {
		
	}

	/* ORDER (checkout step-2) */
	.product-item.shop_table .tabulator-row .tabulator-responsive-collapse table tr td {
		justify-content: flex-start;
		gap: 0.5rem;
	}
	.product-item.shop_table .tabulator-row .tabulator-responsive-collapse table tr:nth-child(3) {
		width: 100%;
		max-width: 100%;
	}
	.product-item.shop_table .tabulator-row .tabulator-responsive-collapse table tr:nth-child(3) .xs {
		display: none;
	}
	.product-item.shop_table .tabulator-row .tabulator-responsive-collapse table tr:nth-child(4) {
		width: 100%;
		max-width: 100%;
		margin-right: 0;
		border-right: 0;
		border-left: 0;
		padding-left: 0;
	}
	.product-item.shop_table .tabulator-responsive-collapse table tr:has(.no-variation) {
		display: none;
	}
	.product-item.shop_table .tabulator-row .tabulator-responsive-collapse table tr:nth-child(5) {
		border-left: 0;
		padding-left: 0;
		border-right: 0;
		margin-right: 0;
		padding-right: 1rem;
	}
	.product-item.shop_table .tabulator-row .tabulator-responsive-collapse table tr:nth-child(6) {
		width: 50%;
		max-width: 50%;
		border-left: 1px solid var(--grey-300);
		padding-left: 1rem;
	}

	/* LATEST ORDERS */
	.latest-title {
		display: none;
	}
	
	.title-wrap .d-flex.gap-3 {
		flex-direction: column;
		width: 100%;
		gap: 0.75rem !important;
	}
	
	.title-wrap .object-filter {
		width: 100%;
	}
	
	.title-wrap .object-filter select,
	.title-wrap .object-filter .custom-select {
		width: 100%;
	}
	
	.title-wrap .search {
		width: 100%;
		margin: 0;
	}
	
	.title-wrap .search input {
		width: 100%;
	}
	
	.object-select {
		flex-direction: column;
		width: 100%;
	}
	#latest-products-tabulator .single .amount {
		font-weight: normal;
		color: var(--grey-500);
	}
	#latest-products-tabulator .tabulator-row .tabulator-responsive-collapse table {
		padding-left: 0;
	}
	#latest-products-tabulator .tabulator-row .tabulator-responsive-collapse table tr:nth-child(5) .single .amount {
		font-size: 0.88rem;
	}
	
	#latest-products-tabulator .tabulator-row .tabulator-responsive-collapse table tr:nth-child(4) {
		border-right: 0;
		min-width: 150px;
		display: none;
	}
	#latest-products-tabulator .tabulator-row .tabulator-responsive-collapse table tr:nth-child(7) {
		width: 100%;
		max-width: 100%;
	}
	#latest-products-tabulator .tabulator-row .tabulator-responsive-collapse table tr:nth-child(7) td {
		width: 100%;
	} 

	/* Purchased products need a readable card when fixed Tabulator columns collapse. */
	.my-aren #latest-products-tabulator .tabulator-row {
		display: grid;
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px 16px;
		height: auto !important;
		padding: 20px 16px;
	}
	.my-aren #latest-products-tabulator .tabulator-row > .tabulator-cell {
		display: flex !important;
		width: auto !important;
		min-width: 0;
		min-height: 0;
		height: auto !important;
		padding: 0;
		border: 0;
		white-space: normal;
		align-items: center;
		gap: 6px;
		grid-column: 1 / -1;
	}
	.my-aren #latest-products-tabulator .tabulator-cell[tabulator-field="image"] {
		grid-column: 1;
		grid-row: 1 / 3;
	}
	.my-aren #latest-products-tabulator .tabulator-cell[tabulator-field="title"] {
		grid-column: 2;
		grid-row: 1;
		font-size: 1rem;
		line-height: 1.5;
	}
	.my-aren #latest-products-tabulator .tabulator-cell[tabulator-field="kood"] {
		grid-column: 2;
		grid-row: 2;
		color: var(--grey-500);
	}
	.my-aren #latest-products-tabulator .tabulator-cell .xs {
		display: inline;
	}
	.my-aren #latest-products-tabulator .tabulator-cell[tabulator-field="price"] .col-price,
	.my-aren #latest-products-tabulator .tabulator-cell[tabulator-field="price"] .single {
		display: inline-flex;
		font-size: 1rem;
		line-height: 1.5;
	}
	.my-aren #latest-products-tabulator .tabulator-cell[tabulator-field="add_to_cart"] a {
		min-width: 44px;
		min-height: 44px;
	}
	.my-aren #latest-products-tabulator .tabulator-responsive-collapse,
	.my-aren #latest-products-tabulator .tabulator-col-resize-handle {
		display: none !important;
	}

	/* USERS */

	.my-aren #users-tabulator .tabulator-row .tabulator-cell {
		font-size: 0.88rem;
	}
	
}


/* Purchase history: show the whole product at a predictable, readable size. */
.my-aren #latest-products-tabulator .tabulator-cell:is([tabulator-field="image"], [tabulator-field="kood"], [tabulator-field="title"]):focus-within {
    /* The compact mobile cells must not clip the link's keyboard focus ring. */
    overflow: visible;
}
.my-aren #latest-products-tabulator .tabulator-cell[tabulator-field="image"] {
    justify-content: center;
    padding-left: 12px;
    padding-right: 12px;
}
.my-aren #latest-products-tabulator .tabulator-cell[tabulator-field="image"] img {
    display: block;
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}
@media (max-width: 767px) {
    .my-aren #latest-products-tabulator .tabulator-cell[tabulator-field="image"] {
        padding: 0;
        align-self: start;
    }
    .my-aren #latest-products-tabulator .tabulator-cell[tabulator-field="image"] img {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }
}
.my-aren .aren-history-filters{display:flex;flex:0 1 620px;align-items:flex-end;flex-wrap:wrap;gap:16px;max-width:100%}
.my-aren .aren-history-toolbar .latest-title{order:0}
.my-aren .aren-history-toolbar .aren-history-filters{order:1}
.my-aren .aren-history-search{flex:1 1 320px;min-width:0}
.my-aren .aren-history-filters label{display:block;font-size:14px;line-height:1.5;margin-bottom:6px;color:var(--account-ink)}
.my-aren .aren-history-filters .search{width:100%;min-width:0;margin:0}
.my-aren .aren-history-filters input[type=search]{display:block;width:100%;min-width:0;min-height:48px;margin:0;padding:12px 44px 12px 16px;border:1px solid var(--account-line);border-radius:12px;background:#fff;font:inherit}
.my-aren .aren-history-filters .object-filter{flex:0 1 240px;min-width:0}
.my-aren .aren-history-filters select{display:block;appearance:auto;width:100%;min-height:48px;margin:0;padding:10px 14px;border:1px solid var(--account-line);border-radius:12px;background:#fff;color:var(--account-ink);font:inherit}
.my-aren .aren-history-filters :is(input,select):focus-visible{outline:3px solid var(--account-ink);outline-offset:3px}
@media(max-width:600px){.my-aren .aren-history-filters{width:100%}.my-aren .aren-history-filters :is(.aren-history-search,.object-filter){flex-basis:100%}}
