/* Isolated account chrome + guest auth. */

html,
body.ma-page {
	overflow-x: clip;
}
html,
body.ma-page,
body.ma-page #page,
body.ma-page #main,
body.ma-page .page-content,
body.ma-page .main-content {
	margin: 0;
	padding: 0;
	max-width: none;
	width: 100%;
	background: #f7f7f7 !important;
	color: #111;
}
body.ma-page {
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}
body.ma-page *,
body.ma-page *::before,
body.ma-page *::after { box-sizing: border-box; }

body.ma-page .mobile-menu,
body.ma-page .popup-screen,
body.ma-page .campaign-popup,
body.ma-page .cookie-bar,
body.ma-page .quickview,
body.ma-page .mfp-hide,
body.ma-page .drawer,
body.ma-page .categories-drawer,
body.ma-page .search-drawer,
body.ma-page .menu-drawer,
body.ma-page #masthead,
body.ma-page .site-header:not(.msh),
body.ma-page .ferrano-header,
body.ma-page .product-sticky-cart,
body.ma-page .pswp,
body.ma-page #gloria-compare-popup,
body.ma-page #gloria-wishlist-popup,
body.ma-page .back-to-top,
body.ma-page [id="01"],
body.ma-page #mastore-live-chat,
body.ma-page .mlc,
body.ma-page .mlc-fab,
body.ma-page .site-footer:not(.msf),
body.ma-page .footer-row,
body.ma-page .announce-bar,
body.ma-page .top-bar,
body.ma-page .header-banner,
body.ma-page .xs-header,
body.ma-page .dock-bar:not(.msc) {
	display: none !important;
}

.ma-frame {
	width: min(1080px, calc(100% - 32px));
	margin: 0 auto;
}

main.ma-profile--guest {
	display: flex;
	align-items: center;
	min-height: calc(100vh - 220px);
	padding: 32px 0 72px;
	background: transparent;
}
.ma-guest {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
	overflow: hidden;
	border: 1px solid #111;
	border-radius: 28px;
	background: #fff;
	color: #111;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}
.ma-guest__copy {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 16px;
	padding: clamp(28px, 5vw, 48px);
	background: #111;
	color: #fff;
}
.ma-guest__copy .ma-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #a1a1aa;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ma-guest__copy .ma-eyebrow::before {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: #fff;
	content: "";
}
.ma-guest__copy h1 {
	margin: 0;
	font-family: Oswald, Inter, sans-serif;
	font-size: clamp(34px, 5.4vw, 56px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 0.96;
	text-transform: uppercase;
	color: #fff;
}
.ma-guest__copy p {
	max-width: 28em;
	margin: 0;
	color: #d4d4d8;
	font-size: 15px;
	line-height: 1.55;
}
.ma-guest__points {
	display: grid;
	gap: 8px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	color: #e4e4e7;
	font-size: 13px;
}
.ma-guest__points li {
	display: flex;
	align-items: center;
	gap: 10px;
}
.ma-guest__points li::before {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #fff;
	content: "";
}
.ma-guest__form {
	padding: clamp(24px, 4vw, 40px);
	background: #fff;
	color: #111;
}

.ma-auth { display: grid; gap: 20px; }
.ma-auth__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	border-radius: 16px;
	background: #f4f4f5;
}
.ma-auth__tab {
	min-height: 48px;
	padding: 0 12px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #52525b;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}
.ma-auth__tab.is-on {
	background: #111;
	color: #fff;
}
.ma-auth__tab:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}
.ma-auth__panel[hidden] { display: none !important; }
.ma-auth__form { display: grid; gap: 14px; margin: 0; }
.ma-auth__row,
.ma-auth .form-row { display: grid; gap: 6px; margin: 0; }
.ma-auth .form-row label {
	color: #111;
	font-size: 12px;
	font-weight: 700;
}
.ma-auth__row label {
	color: #111;
	font-size: 12px;
	font-weight: 700;
}
.ma-auth__form input.input-text,
.ma-auth__form input[type="email"],
.ma-auth__form input[type="password"],
.ma-auth__form input[type="text"] {
	width: 100%;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid #d4d4d8;
	border-radius: 14px;
	background: #fff;
	color: #111;
	font-size: 15px;
	box-shadow: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.ma-auth__form input.input-text:hover { border-color: #a1a1aa; }
.ma-auth__form input.input-text:focus {
	border-color: #111;
	outline: 2px solid #111;
	outline-offset: 2px;
}
.ma-auth__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.ma-auth__check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: #3f3f46;
	font-size: 13px;
	cursor: pointer;
}
.ma-auth__check input { width: 16px; height: 16px; accent-color: #111; }
.ma-auth__lost {
	color: #111;
	font-size: 13px;
	font-weight: 700;
	text-underline-offset: 3px;
}
.ma-auth__submit,
.ma-auth__form button.button,
.ma-auth__form button[type="submit"] {
	display: flex;
	width: 100%;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	margin: 4px 0 0;
	padding: 0 16px;
	border: 1px solid #111;
	border-radius: 14px;
	background: #111;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.18s ease, background 0.18s ease;
}
.ma-auth__submit:hover,
.ma-auth__form button.button:hover { background: #000; transform: translateY(-1px); }
.ma-auth__hint,
.ma-auth .woocommerce-privacy-policy-text {
	margin: 0;
	color: #71717a;
	font-size: 12px;
	line-height: 1.5;
}
.ma-auth .woocommerce-password-strength,
.ma-auth .woocommerce-password-hint,
.ma-auth .ms-reg-password-hint:empty,
.ma-auth wc-order-attribution-inputs,
.ma-auth .xs-login,
.ma-auth [id^="xs-"] { display: none !important; }
.ma-auth a,
.ma-auth .woocommerce-privacy-policy-text a {
	color: #111 !important;
	text-decoration-color: #a1a1aa;
	text-underline-offset: 3px;
}

.ma-auth .fcsl-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 0 0 4px;
}
.ma-auth .fcsl-btn {
	display: flex !important;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 12px !important;
	border: 1px solid #d4d4d8 !important;
	border-radius: 14px !important;
	background: #fff !important;
	color: #111 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.ma-auth .fcsl-btn:hover { border-color: #111 !important; background: #111 !important; color: #fff !important; }
.ma-auth .fcsl-divider { display: none; }
.ma-auth__or {
	display: none;
	align-items: center;
	gap: 12px;
	margin: 2px 0 2px;
	color: #71717a;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ma-auth:has(.fcsl-buttons) .ma-auth__or { display: flex; }
.ma-auth__or::before,
.ma-auth__or::after {
	flex: 1;
	height: 1px;
	background: #e4e4e7;
	content: "";
}

.ma-guest .woocommerce-notices-wrapper:empty { display: none; }
.ma-guest .woocommerce-error,
.ma-guest .woocommerce-message,
.ma-guest .woocommerce-info {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid #111;
	border-radius: 14px;
	background: #fff;
	color: #111;
	list-style: none;
}

@media (min-width: 900px) {
	.ma-guest {
		grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
		min-height: 580px;
	}
}
@media (max-width: 699px) {
	.ma-frame { width: calc(100% - 24px); }
	main.ma-profile--guest { min-height: 0; padding: 16px 0 40px; align-items: stretch; }
	.ma-guest { border-radius: 22px; }
	.ma-auth .fcsl-buttons { grid-template-columns: 1fr; }
	.ma-auth__meta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.ma-auth__tab,
	.ma-auth__submit,
	.ma-auth .fcsl-btn,
	.ma-auth__form input.input-text { transition: none !important; }
	.ma-auth__submit:hover { transform: none; }
}

/* Logged-in dashboard */
body.ma-page .ma-profile:not(.ma-profile--guest) {
	--mp-ink: #111;
	--mp-muted: #52525b;
	--mp-soft: #fff;
	--mp-card: #fff;
	--mp-border: #e4e4e7;
	--mp-accent: #111;
	--mp-accent-soft: #f4f4f5;
	--mp-gold: #111;
	--mp-radius: 20px;
	background: #fff;
	padding: 24px 0 72px;
}
body.ma-page .ma-profile__shell { max-width: 1440px; width: min(1440px, calc(100% - 32px)); }
body.ma-page .ma-profile-nav__item { border-radius: 14px !important; }
body.ma-page .ma-status,
body.ma-page .ma-profile-nav__count { border-radius: 999px !important; }
body.ma-page .ma-select,
body.ma-page .ma-form input { border-radius: 12px !important; }
body.ma-page .ma-sheet__panel,
body.ma-page .ma-logout-dialog__panel { border-radius: 24px 24px 0 0 !important; }
body.ma-page .ma-sheet__close,
body.ma-page .ma-icon-button { border-radius: 14px !important; }
body.ma-page .ma-progress__line { border-radius: 999px !important; }
body.ma-page .ma-stat,
body.ma-page .ma-action,
body.ma-page .ma-order-card,
body.ma-page .ma-order-row,
body.ma-page .ma-address,
body.ma-page .ma-faq details,
body.ma-page .ma-empty,
body.ma-page .ma-form,
body.ma-page .ma-product {
	border-color: #e4e4e7 !important;
	border-radius: 18px !important;
	box-shadow: none !important;
}
body.ma-page .ma-hero,
body.ma-page .ma-profile-nav__item.is-active { border-radius: 20px !important; }
body.ma-page .ma-link,
body.ma-page .ma-profile-nav__count,
body.ma-page .ma-status--accent {
	color: #111 !important;
	background: #f4f4f5 !important;
}
body.ma-page .ma-progress__line span,
body.ma-page .ma-order-row__progress i { background: #111 !important; }
body.ma-page .ma-action > span,
body.ma-page .ma-stat__icon {
	background: #111 !important;
	color: #fff !important;
	border-radius: 12px !important;
}
body.ma-page .ma-button { border-radius: 999px !important; }
body.ma-page .ma-profile__avatar { border-radius: 50% !important; }


/* ==========================================================================
   MASTORE CUSTOM SCROLLBAR (Black & White Luxe Edition)
   ========================================================================== */

/* Universal Scrollbar for Account / Profile / Sheets */
.ma-sheet__panel,
.ma-orders-list,
.ma-product-grid,
.ma-address-grid,
.ma-action-grid,
.ma-faq,
.ma-logout-dialog__panel,
.ma-dialog,
.fcfs-card,
.fcfs-timeline,
[data-sheet-panel],
.ma-frame,
body.ma-page,
#page {
  scrollbar-width: thin !important;
  scrollbar-color: #111111 transparent !important;
}

/* WebKit / Safari / Chrome / Edge Custom Scrollbars */
.ma-sheet__panel::-webkit-scrollbar,
.ma-orders-list::-webkit-scrollbar,
.ma-product-grid::-webkit-scrollbar,
.ma-logout-dialog__panel::-webkit-scrollbar,
.ma-faq::-webkit-scrollbar,
.fcfs-card::-webkit-scrollbar,
.fcfs-timeline::-webkit-scrollbar,
body.ma-page::-webkit-scrollbar,
#page::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}

.ma-sheet__panel::-webkit-scrollbar-track,
.ma-orders-list::-webkit-scrollbar-track,
.ma-product-grid::-webkit-scrollbar-track,
.ma-logout-dialog__panel::-webkit-scrollbar-track,
.ma-faq::-webkit-scrollbar-track,
.fcfs-card::-webkit-scrollbar-track,
.fcfs-timeline::-webkit-scrollbar-track,
body.ma-page::-webkit-scrollbar-track,
#page::-webkit-scrollbar-track {
  background: transparent !important;
  border-radius: 99px !important;
  margin: 6px 0 !important;
}

.ma-sheet__panel::-webkit-scrollbar-thumb,
.ma-orders-list::-webkit-scrollbar-thumb,
.ma-product-grid::-webkit-scrollbar-thumb,
.ma-logout-dialog__panel::-webkit-scrollbar-thumb,
.ma-faq::-webkit-scrollbar-thumb,
.fcfs-card::-webkit-scrollbar-thumb,
.fcfs-timeline::-webkit-scrollbar-thumb,
body.ma-page::-webkit-scrollbar-thumb,
#page::-webkit-scrollbar-thumb {
  background: #111111 !important;
  border-radius: 99px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  transition: background 0.2s ease !important;
}

.ma-sheet__panel::-webkit-scrollbar-thumb:hover,
.ma-orders-list::-webkit-scrollbar-thumb:hover,
.ma-product-grid::-webkit-scrollbar-thumb:hover,
.ma-logout-dialog__panel::-webkit-scrollbar-thumb:hover,
body.ma-page::-webkit-scrollbar-thumb:hover,
#page::-webkit-scrollbar-thumb:hover {
  background: #444444 !important;
}

.ma-sheet__panel::-webkit-scrollbar-thumb:active,
body.ma-page::-webkit-scrollbar-thumb:active,
#page::-webkit-scrollbar-thumb:active {
  background: #000000 !important;
}

.ma-sheet__panel {
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: contain !important;
  scrollbar-gutter: stable !important;
}