/* ShareLife My Account — only loads on the account pages while the new design is on.
   Colours: change the values below to restyle the whole account area.
   Fonts: "inherit" uses the theme's own fonts. */

body.slma-on {
	--slma-green: #1F6E5A;
	--slma-green-dark: #17584A;
	--slma-brand: #3FA58A;
	--slma-ink: #2B3A3A;
	--slma-muted: #5F6B6B;
	--slma-line: #E2E8EA;
	--slma-soft: #F4F8FA;
	--slma-field: #C8D1D3;
	--slma-radius: 12px;
	--slma-head: inherit;
	--slma-body: inherit;
}

body.slma-on .woocommerce,
body.slma-on .woocommerce * { box-sizing: border-box; }

body.slma-on .woocommerce { font-family: var(--slma-body); color: var(--slma-ink); }
body.slma-on .slma-content a, body.slma-on .slma-auth a { color: var(--slma-green); }
body.slma-on .slma-content a:hover, body.slma-on .slma-auth a:hover { color: var(--slma-green-dark); }

/* Building blocks */
body.slma-on .slma-stack { display: flex; flex-direction: column; gap: 20px; }
body.slma-on .slma-card {
	background: #fff;
	border: 1px solid var(--slma-line);
	border-radius: var(--slma-radius);
	padding: 24px;
}
body.slma-on .slma-card--flush { padding: 0; overflow: hidden; }
body.slma-on .slma-pad { padding: 20px 24px; }
body.slma-on .slma-h { font-family: var(--slma-head); font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--slma-ink); margin: 0; }
body.slma-on .slma-h--page { font-size: 30px; }
body.slma-on .slma-h--order { font-size: 26px; margin-top: 4px; }
body.slma-on .slma-h--order .slma-muted { font: 400 15px var(--slma-body); }
body.slma-on .slma-h--hero { font-size: 44px; line-height: 1.05; margin-bottom: 12px; }
body.slma-on .slma-muted { color: var(--slma-muted); font-size: 15px; line-height: 1.5; margin: 4px 0 0; }
body.slma-on .slma-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slma-muted); }
body.slma-on .slma-note { color: #8A4B00; font-size: 14px; margin: 6px 0 0; }
body.slma-on .slma-right { text-align: right; }
body.slma-on .slma-row-between { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
body.slma-on .slma-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
body.slma-on .slma-row-between .slma-actions { margin-top: 0; }
body.slma-on .slma-empty p { margin: 0 0 14px; }
body.slma-on .slma-foot { margin: 0; padding: 16px 24px; border-top: 1px solid var(--slma-line); font-size: 14px; color: var(--slma-muted); }
body.slma-on .slma-icon { width: 28px; height: 28px; color: var(--slma-green); flex: none; }

/* Buttons */
body.slma-on .slma-btn,
body.slma-on .slma-content .button,
body.slma-on .slma-content button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 8px;
	border: 1px solid var(--slma-green);
	background: var(--slma-green);
	color: #fff !important;
	font: 500 15px var(--slma-body);
	text-decoration: none;
	cursor: pointer;
	line-height: 1.2;
}
body.slma-on .slma-btn:hover,
body.slma-on .slma-content .button:hover,
body.slma-on .slma-content button[type="submit"]:hover { background: var(--slma-green-dark); border-color: var(--slma-green-dark); color: #fff !important; }
body.slma-on .slma-btn--sec { background: #fff; color: var(--slma-green) !important; }
body.slma-on .slma-btn--sec:hover { background: #F2F9F2; color: var(--slma-green-dark) !important; }
body.slma-on .slma-btn--wa { background: #1E7D4F; border-color: #1E7D4F; }
body.slma-on .slma-btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
body.slma-on .slma-btn--big { width: 100%; min-height: 52px; font: 700 18px var(--slma-head); letter-spacing: .02em; }
body.slma-on .slma-link { display: inline-flex; align-items: center; gap: 4px; font: 500 15px var(--slma-body); text-decoration: none; }
body.slma-on .slma-link .slma-icon { width: 18px; height: 18px; }
body.slma-on .slma-link--danger { color: #B3261E !important; }

/* Status chips */
body.slma-on .slma-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 13px; font-weight: 700; white-space: nowrap; }
body.slma-on .slma-chip--done { background: #E3F2EC; color: #1F6E5A; }
body.slma-on .slma-chip--prep { background: #E8F0FB; color: #1E4F8F; }
body.slma-on .slma-chip--wait { background: #FFF1DE; color: #8A4B00; }
body.slma-on .slma-chip--stop { background: #ECEFF0; color: var(--slma-ink); }

/* Progress bar (dashboard) */
body.slma-on .slma-bar { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
body.slma-on .slma-bar li { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--slma-muted); }
body.slma-on .slma-bar__fill { display: block; height: 8px; border-radius: 4px; background: #E2E8EA; }
body.slma-on .slma-bar .is-done .slma-bar__fill,
body.slma-on .slma-bar .is-current .slma-bar__fill { background: var(--slma-brand); }
body.slma-on .slma-bar .is-current { color: var(--slma-green); font-weight: 700; }

/* Steps (single order) */
body.slma-on .slma-steps { list-style: none; margin: 24px 0 0; padding: 0; }
body.slma-on .slma-steps li { position: relative; display: flex; gap: 16px; padding: 0 0 20px; margin: 0; }
body.slma-on .slma-steps li:not(:last-child)::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--slma-field); }
body.slma-on .slma-steps li.is-done:not(:last-child)::before { background: var(--slma-green); }
body.slma-on .slma-steps__dot { width: 28px; height: 28px; border-radius: 14px; flex: none; border: 2px solid var(--slma-field); background: #fff; display: flex; align-items: center; justify-content: center; }
body.slma-on .is-done .slma-steps__dot { background: var(--slma-green); border-color: var(--slma-green); }
body.slma-on .is-done .slma-steps__dot .slma-icon { width: 14px; height: 14px; color: #fff; stroke-width: 3; }
body.slma-on .is-current .slma-steps__dot { border-color: var(--slma-green); box-shadow: inset 0 0 0 5px #fff; background: var(--slma-green); }
body.slma-on .slma-steps__text { display: flex; flex-direction: column; }
body.slma-on .slma-steps__text .slma-muted { margin: 0; font-size: 14px; }
body.slma-on .is-todo .slma-steps__text strong { color: var(--slma-muted); }

/* Updates from ShareLife (customer notes) */
body.slma-on .slma-updates { margin-top: 8px; background: var(--slma-soft); border-radius: 10px; padding: 16px 18px; }
body.slma-on .slma-updates ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
body.slma-on .slma-updates li { margin: 0; font-size: 15px; line-height: 1.5; }
body.slma-on .slma-updates li p { margin: 2px 0 0; }

/* Dashboard tiles */
body.slma-on .slma-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
body.slma-on .slma-tile { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--slma-ink) !important; }
body.slma-on .slma-tile:hover { border-color: var(--slma-green); }
body.slma-on .slma-tile .slma-h { margin-top: 6px; }
body.slma-on .slma-help { background: #EEF6F3; border-color: #CFE4DC; }
body.slma-on .slma-help__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
body.slma-on .slma-help p { margin: 4px 0 0; }
body.slma-on .slma-help .slma-actions { margin-top: 0; }

/* Orders list */
body.slma-on .slma-pills { display: flex; gap: 8px; flex-wrap: wrap; }
body.slma-on .slma-pill { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 20px; border: 1px solid var(--slma-field); background: #fff; font: 500 15px var(--slma-body); color: var(--slma-ink) !important; text-decoration: none; }
body.slma-on .slma-pill.is-on { background: var(--slma-ink); border-color: var(--slma-ink); color: #fff !important; }
body.slma-on .slma-orders__head,
body.slma-on .slma-order {
	display: grid;
	grid-template-columns: 110px 120px minmax(150px, 1fr) 80px 110px auto;
	gap: 16px;
	align-items: center;
	padding: 16px 24px;
	border-top: 1px solid var(--slma-line);
}
body.slma-on .slma-orders__head { padding-top: 12px; padding-bottom: 12px; }
body.slma-on .slma-order__no a { font-weight: 700; color: var(--slma-ink); text-decoration: none; }
body.slma-on .slma-order__total { font-weight: 700; }
body.slma-on .slma-order__actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
body.slma-on .slma-pager { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--slma-line); }

@media (max-width: 900px) {
	body.slma-on .slma-orders__head { display: none; }
	body.slma-on .slma-order {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "no status" "meta total" "actions actions";
		gap: 6px 12px;
	}
	body.slma-on .slma-order__no { grid-area: no; }
	body.slma-on .slma-order__status { grid-area: status; }
	body.slma-on .slma-order__date { grid-area: meta; font-size: 14px; color: var(--slma-muted); }
	body.slma-on .slma-order__items { display: none; }
	body.slma-on .slma-order__total { grid-area: total; }
	body.slma-on .slma-order__actions { grid-area: actions; justify-content: flex-start; margin-top: 8px; }
	body.slma-on .slma-order__actions .slma-btn { flex: 1 1 0; }
}

/* WooCommerce's own blocks inside the new layout: order items, addresses, forms */
body.slma-on .woocommerce-order-details,
body.slma-on .woocommerce-customer-details,
body.slma-on .slma-content form.woocommerce-EditAccountForm,
body.slma-on .slma-content form.edit-address-form,
body.slma-on .slma-content > form,
body.slma-on .woocommerce-Address {
	background: #fff;
	border: 1px solid var(--slma-line);
	border-radius: var(--slma-radius);
	padding: 24px;
	margin: 0 0 20px;
}
body.slma-on .slma-order-details .woocommerce-order-details { margin-bottom: 20px; }
body.slma-on .woocommerce-order-details__title,
body.slma-on .woocommerce-column__title,
body.slma-on .woocommerce-Address-title h2,
body.slma-on .woocommerce-Address-title h3,
body.slma-on .slma-content > h2,
body.slma-on .slma-content legend { font-family: var(--slma-head); font-weight: 600; font-size: 24px; color: var(--slma-ink); margin: 0 0 12px; }
body.slma-on .woocommerce-table--order-details { width: 100%; border-collapse: collapse; border: 0; margin: 0; }
body.slma-on .woocommerce-table--order-details th,
body.slma-on .woocommerce-table--order-details td { padding: 12px 0; border: 0; border-top: 1px solid var(--slma-line); background: none; text-align: left; }
body.slma-on .woocommerce-table--order-details td:last-child,
body.slma-on .woocommerce-table--order-details th:last-child { text-align: right; }
body.slma-on .woocommerce-table--order-details tfoot tr:last-child th,
body.slma-on .woocommerce-table--order-details tfoot tr:last-child td { font-size: 18px; font-weight: 700; }
body.slma-on .woocommerce-customer-details .woocommerce-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body.slma-on .woocommerce-customer-details .woocommerce-column { float: none; width: auto; padding: 0; margin: 0; }
body.slma-on .woocommerce-customer-details address { border: 0; padding: 0; font-style: normal; line-height: 1.6; }

body.slma-on .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
body.slma-on .woocommerce-Addresses::before,
body.slma-on .woocommerce-Addresses::after { display: none; }
body.slma-on .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; margin: 0; }
body.slma-on .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
body.slma-on .woocommerce-Address-title .edit { float: none; font-weight: 500; }
body.slma-on .woocommerce-Address address { font-style: normal; line-height: 1.6; }
@media (max-width: 760px) {
	body.slma-on .woocommerce-Addresses,
	body.slma-on .woocommerce-customer-details .woocommerce-columns { grid-template-columns: minmax(0, 1fr); }
}

/* Form fields */
body.slma-on .woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
body.slma-on .woocommerce form .form-row label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--slma-ink); line-height: 1.4; }
body.slma-on .woocommerce form .form-row input.input-text,
body.slma-on .woocommerce form .form-row select,
body.slma-on .woocommerce form .form-row textarea,
body.slma-on .woocommerce form input.input-text {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--slma-field);
	border-radius: 8px;
	padding: 0 14px;
	font: 16px var(--slma-body);
	color: var(--slma-ink);
	background: #fff;
	box-shadow: none;
}
body.slma-on .woocommerce form .form-row input.input-text:focus { outline: 2px solid var(--slma-green); outline-offset: 1px; border-color: var(--slma-green); }
body.slma-on .woocommerce form .required { color: #B3261E; text-decoration: none; }
body.slma-on .woocommerce form fieldset { border: 0; padding: 0; margin: 24px 0 0; }
body.slma-on .slma-hint { display: block; margin-top: 6px; font-size: 13px; color: var(--slma-muted); }
body.slma-on .slma-optional { font-weight: 400; color: var(--slma-muted); }
body.slma-on .slma-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body.slma-on .slma-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
body.slma-on .slma-label-row a { font-size: 14px; }
body.slma-on .slma-check { display: flex !important; align-items: center; gap: 10px; font-size: 15px !important; font-weight: 400 !important; margin-bottom: 16px !important; }
body.slma-on .slma-check input { width: 20px; height: 20px; accent-color: var(--slma-green); margin: 0; }

/* Log in / Create account */
body.slma-on .slma-auth { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; max-width: 1040px; margin: 0 auto; padding: 16px 0 32px; }
body.slma-on .slma-auth__intro { flex: 1 1 340px; min-width: 0; padding-top: 12px; }
body.slma-on .slma-auth__intro .slma-muted { font-size: 17px; margin-bottom: 20px; }
body.slma-on .slma-auth__box { flex: 1 1 420px; min-width: 0; padding-top: 8px; }
body.slma-on .slma-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
body.slma-on .slma-ticks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
body.slma-on .slma-ticks .slma-icon { width: 22px; height: 22px; stroke-width: 2.4; }
body.slma-on .slma-tabs { display: flex; border-bottom: 1px solid var(--slma-line); margin: 0 -24px 24px; padding: 0 24px; }
body.slma-on .slma-tabs button {
	flex: 1 1 0;
	height: 52px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: none;
	font: 500 17px var(--slma-body);
	color: var(--slma-muted);
	cursor: pointer;
	border-radius: 0;
	padding: 0;
}
body.slma-on .slma-tabs button[aria-selected="true"] { color: var(--slma-green); border-bottom-color: var(--slma-green); font-weight: 700; }
body.slma-on .slma-auth.slma-js .slma-panel[hidden] { display: none; }
@media (max-width: 600px) {
	body.slma-on .slma-h--hero { font-size: 34px; }
	body.slma-on .slma-auth { gap: 24px; }
	body.slma-on .slma-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Small fixes */
body.slma-on .slma-auth form.login,
body.slma-on .slma-auth form.register { border: 0; padding: 0; margin: 0; border-radius: 0; background: none; }


/* Layout inside the theme's account page */
body.slma-on .woocommerce:has(> .slma-wrap) { display: block !important; padding: 0 !important; }
body.slma-on .slma-wrap { width: 100%; }

/* Latest order: date and total after the number */
body.slma-on .slma-order-meta::before { content: "· "; }
body.slma-on .slma-bar__now { display: none; }

/* Addresses */
body.slma-on .slma-addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
body.slma-on .slma-address { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin: 0; }
body.slma-on .slma-address address { font-style: normal; line-height: 1.6; margin: 0; border: 0; padding: 0; flex: 1; }
body.slma-on .slma-address .slma-btn { margin-top: 4px; }

/* Phones */
@media (max-width: 600px) {
	body.slma-on .entry-content:has(.slma-wrap) { padding-left: 0 !important; padding-right: 0 !important; }
	body.slma-on .slma-wrap .slma-content { padding: 16px 12px !important; }
	body.slma-on .slma-card { padding: 16px; }
	body.slma-on .slma-card--flush { padding: 0; }
	body.slma-on .slma-pad { padding: 16px; }
	body.slma-on .slma-stack { gap: 14px; }
	body.slma-on .slma-h--page { font-size: 26px; }
	body.slma-on .slma-order-meta { display: block; margin-top: 2px; }
	body.slma-on .slma-order-meta::before { content: none; }
	body.slma-on .slma-bar { gap: 6px; }
	body.slma-on .slma-bar__label { display: none; }
	body.slma-on .slma-bar__now { display: block; margin-top: 8px; }
	body.slma-on .slma-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	body.slma-on .slma-tile .slma-h { font-size: 19px; }
	body.slma-on .slma-tile .slma-muted { font-size: 14px; }
	body.slma-on .slma-help .slma-actions { width: 100%; }
	body.slma-on .slma-help .slma-btn { flex: 1 1 0; }
	body.slma-on .slma-row-between > .slma-actions { width: 100%; }
	body.slma-on .slma-row-between > .slma-btn { width: 100%; }
	body.slma-on .slma-addresses { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	body.slma-on .slma-address .slma-btn { width: 100%; }
	body.slma-on .slma-order { padding: 14px 16px; }
	body.slma-on .slma-foot { padding: 14px 16px; }
	body.slma-on .slma-pills { width: 100%; }
	body.slma-on .slma-pill { flex: 1 1 0; justify-content: center; padding: 0 10px; }
	body.slma-on .woocommerce:has(> .slma-wrap) { padding: 0 !important; }
	body.slma-on .slma-content form { padding: 16px !important; }
	body.slma-on .slma-content .form-row-first,
	body.slma-on .slma-content .form-row-last { float: none !important; width: 100% !important; }
	body.slma-on .slma-content .woocommerce-order-details,
	body.slma-on .slma-content .woocommerce-customer-details { padding: 16px; }
}


/* ---------------------------------------------------------------------------
   Page layout: name card and menu beside the content (desktop),
   slide-out menu with a top bar (tablet and phone)
   ------------------------------------------------------------------------ */
body.slma-on .slma-account-wrap {
	display: grid;
	grid-template-columns: 270px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding: 8px 0 40px;
	font-family: var(--slma-body);
	color: var(--slma-ink);
}
body.slma-on .slma-sidebar {
	position: sticky;
	top: 24px;
	background: #fff;
	border: 1px solid var(--slma-line);
	border-radius: var(--slma-radius);
	padding: 20px 14px;
}
body.slma-on .slma-profile { display: flex; align-items: center; gap: 12px; padding: 0 8px 18px; margin-bottom: 10px; border-bottom: 1px solid var(--slma-line); }
body.slma-on .slma-avatar,
body.slma-on .slma-mobile-avatar {
	width: 46px; height: 46px; flex: none;
	border-radius: 50%;
	background: var(--slma-green); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font: 700 17px var(--slma-head);
	letter-spacing: .02em;
}
body.slma-on .slma-mobile-avatar { width: 36px; height: 36px; font-size: 14px; }
body.slma-on .slma-profile-info { display: flex; flex-direction: column; min-width: 0; }
body.slma-on .slma-profile-name { font-weight: 700; font-size: 16px; line-height: 1.3; }
body.slma-on .slma-profile-email { font-size: 13px; color: var(--slma-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

body.slma-on .slma-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
body.slma-on .slma-nav li { margin: 0; padding: 0; border: 0; }
body.slma-on .slma-nav a {
	display: flex; align-items: center; gap: 12px;
	min-height: 44px; padding: 0 12px;
	border-radius: 8px;
	color: var(--slma-ink) !important;
	text-decoration: none !important;
	font-size: 15px; font-weight: 500;
}
body.slma-on .slma-nav a:hover { background: var(--slma-soft); color: var(--slma-green) !important; }
body.slma-on .slma-nav .active > a { background: #E3F2EC; color: var(--slma-green) !important; font-weight: 700; }
body.slma-on .slma-nav .slma-nav-logout { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--slma-line); }
body.slma-on .slma-nav .slma-nav-logout a { color: var(--slma-muted) !important; }
body.slma-on .slma-wrap .slma-nav__icon { width: 18px; height: 18px; color: currentColor; fill: none !important; stroke: currentColor; flex: none; }
body.slma-on .slma-badge {
	margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px;
	border-radius: 11px; background: var(--slma-green); color: #fff;
	font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}

body.slma-on .slma-content { min-width: 0; }
body.slma-on .slma-content > .woocommerce-notices-wrapper:empty { display: none; }

body.slma-on .slma-mobile-bar,
body.slma-on .slma-sidebar-close,
body.slma-on .slma-overlay { display: none; }

@media (max-width: 921px) {
	body.slma-on .slma-account-wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 0; }
	body.slma-on .slma-mobile-bar {
		display: flex; align-items: center; gap: 12px;
		background: #fff; border: 1px solid var(--slma-line); border-radius: var(--slma-radius);
		padding: 8px 12px;
	}
	body.slma-on .slma-hamburger,
	body.slma-on .slma-sidebar-close {
		width: 44px; height: 44px; padding: 0; margin: 0;
		display: inline-flex; align-items: center; justify-content: center;
		border: 0; border-radius: 8px; background: transparent !important;
		color: var(--slma-ink) !important; cursor: pointer; box-shadow: none;
	}
	body.slma-on .slma-hamburger:hover,
	body.slma-on .slma-sidebar-close:hover { background: var(--slma-soft) !important; }
	body.slma-on .slma-mobile-title { flex: 1; font: 700 18px var(--slma-head); }

	body.slma-on .slma-sidebar {
		position: fixed; top: 0; bottom: 0; left: 0; z-index: 100000;
		width: min(300px, 86vw);
		border-radius: 0 var(--slma-radius) var(--slma-radius) 0; border-left: 0;
		padding-top: 64px;
		overflow-y: auto;
		transform: translateX(-105%);
		transition: transform .25s ease;
		box-shadow: 0 10px 40px rgba(20, 40, 50, .2);
	}
	body.admin-bar.slma-on .slma-sidebar { top: 46px; }
	body.slma-on .slma-account-wrap.is-menu-open .slma-sidebar { transform: none; }
	body.slma-on .slma-sidebar-close { display: inline-flex; position: absolute; top: 10px; right: 10px; }
	body.slma-on .slma-overlay {
		display: block; position: fixed; inset: 0; z-index: 99999;
		background: rgba(20, 30, 35, .45);
		opacity: 0; pointer-events: none; transition: opacity .25s ease;
	}
	body.slma-on .slma-account-wrap.is-menu-open .slma-overlay { opacity: 1; pointer-events: auto; }
	body.slma-menu-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
	body.slma-on .slma-sidebar,
	body.slma-on .slma-overlay { transition: none; }
}
