:root {
	--asm-bg: #f6f3ed;
	--asm-surface: #ffffff;
	--asm-ink: #18222d;
	--asm-muted: #647081;
	--asm-line: #d7d1c7;
	--asm-accent: #c96c2a;
	--asm-accent-dark: #8c3f12;
	--asm-navy: #123147;
	--asm-ok: #dff3e5;
	--asm-error: #fde6e1;
	--asm-radius: 22px;
	--asm-shadow: 0 18px 40px rgba(18, 49, 71, 0.12);
}

.asm-page {
	color: var(--asm-ink);
	font-family: Georgia, "Times New Roman", serif;
	width: auto;
	max-width: none !important;
	margin-left: 10px;
	margin-right: 10px;
	box-sizing: border-box;
}

.asm-home,
.asm-services,
.asm-auth-page,
.asm-profile-page,
.asm-shop-page {
	background:
		radial-gradient(circle at top left, rgba(201, 108, 42, 0.12), transparent 28%),
		linear-gradient(180deg, #fbfaf7, var(--asm-bg));
	padding: 32px 0 64px;
}

.asm-hero,
.asm-section,
.asm-auth-shell,
.asm-profile-page,
.asm-shop-page,
.asm-services {
	max-width: none !important;
	margin: 0;
	padding: 0 10px;
}

.asm-nav,
.asm-hero-grid,
.asm-two-columns,
.asm-order-head,
.asm-card-actions,
.asm-section-heading,
.asm-anchor-nav,
.asm-filter-form,
.asm-tab-nav {
	display: flex;
	gap: 16px;
}

.asm-nav,
.asm-order-head,
.asm-card-actions,
.asm-section-heading,
.asm-anchor-nav,
.asm-filter-form,
.asm-tab-nav {
	align-items: center;
}

.asm-nav {
	justify-content: space-between;
	margin-bottom: 42px;
}

.asm-brand {
	font-size: 0.95rem;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.asm-nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.asm-nav-links a,
.asm-anchor-nav a,
.asm-text-link {
	color: var(--asm-navy);
	text-decoration: none;
}

.asm-kicker {
	color: var(--asm-accent-dark);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.asm-hero-grid,
.asm-two-columns {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	display: grid;
	align-items: stretch;
}

.asm-hero-copy,
.asm-slider,
.asm-panel,
.asm-card,
.asm-order-card {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(18, 49, 71, 0.08);
	border-radius: var(--asm-radius);
	box-shadow: var(--asm-shadow);
}

.asm-hero-copy,
.asm-slider,
.asm-panel {
	padding: 28px;
}

.asm-hero-copy h1,
.asm-section-heading h1,
.asm-section-heading h2,
.asm-auth-copy h1 {
	line-height: 1.05;
	margin: 0 0 14px;
}

.asm-hero-copy h1,
.asm-auth-copy h1 {
	font-size: clamp(2rem, 5vw, 4rem);
}

.asm-section-heading {
	flex-direction: column;
	align-items: flex-start;
	margin: 0 0 24px;
}

.asm-hero-actions,
.asm-card-grid,
.asm-order-list {
	display: grid;
	gap: 18px;
}

.asm-hero-actions {
	grid-template-columns: repeat(2, minmax(0, max-content));
	margin-top: 24px;
}

.asm-card-grid {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.asm-card,
.asm-order-card {
	padding: 22px;
}

.asm-slider {
	min-height: 280px;
	position: relative;
	overflow: hidden;
}

.asm-slide {
	display: none;
	height: 100%;
	background: linear-gradient(135deg, var(--asm-navy), #215574);
	color: #fffaf2;
	padding: 24px;
	border-radius: 18px;
}

.asm-slide.is-active {
	display: block;
	animation: asmFadeIn 0.5s ease;
}

.asm-slide span {
	display: inline-block;
	margin-bottom: 18px;
	font-size: 0.85rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 250, 242, 0.7);
}

.asm-primary-button,
.asm-secondary-button,
.asm-tab-nav button,
.asm-filter-form button,
.asm-panel button,
.asm-page input,
.asm-page textarea,
.asm-page select {
	border-radius: 999px;
	font-size: 0.98rem;
}

.asm-primary-button,
.asm-secondary-button,
.asm-tab-nav button,
.asm-filter-form button,
.asm-panel button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 12px 20px;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.asm-primary-button {
	background: var(--asm-accent);
	color: #fff;
}

.asm-secondary-button {
	background: rgba(18, 49, 71, 0.08);
	color: var(--asm-navy);
}

.asm-primary-button:hover,
.asm-secondary-button:hover,
.asm-tab-nav button:hover {
	transform: translateY(-1px);
}

.asm-anchor-nav,
.asm-filter-form {
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.asm-inline-summary,
.asm-order-actions,
.asm-inline-form {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

.asm-inline-summary {
	margin-bottom: 20px;
}

.asm-anchor-nav a {
	background: rgba(18, 49, 71, 0.06);
	padding: 10px 16px;
	border-radius: 999px;
}

.asm-page input,
.asm-page textarea,
.asm-page select {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--asm-line);
	background: var(--asm-surface);
	margin-bottom: 12px;
}

.asm-check {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0 16px;
}

.asm-check input {
	width: auto;
	margin: 0;
}

.asm-inline-form input[type="number"],
.asm-inline-form select {
	width: auto;
	min-width: 88px;
	margin: 0;
}

.asm-auth-shell {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 22px;
	align-items: start;
}

.asm-auth-copy {
	padding: 20px;
}

.asm-auth-panels {
	display: grid;
	gap: 16px;
}

.asm-panel,
.asm-tab-nav {
	background: rgba(255, 255, 255, 0.92);
}

.asm-tab-nav {
	padding: 10px;
	border-radius: 999px;
}

.asm-tab-nav button {
	background: transparent;
	color: var(--asm-muted);
}

.asm-tab-nav button.is-active {
	background: var(--asm-navy);
	color: #fff;
}

[data-asm-tab-panel] {
	display: none;
}

[data-asm-tab-panel].is-active {
	display: block;
}

.asm-badge {
	display: inline-flex;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(18, 49, 71, 0.08);
	color: var(--asm-navy);
	font-size: 0.9rem;
}

.asm-notice {
	padding: 14px 18px;
	border-radius: 16px;
}

.asm-notice-success {
	background: var(--asm-ok);
}

.asm-notice-error {
	background: var(--asm-error);
}

.asm-empty {
	margin: 0;
	color: var(--asm-muted);
}

.asm-order-list {
	margin-top: 18px;
}

.asm-order-head {
	justify-content: space-between;
}

.asm-compact-list p {
	margin: 6px 0;
	color: var(--asm-muted);
}

.asm-checkout-panel {
	margin-top: 18px;
}

@keyframes asmFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 900px) {
	.asm-hero-grid,
	.asm-two-columns,
	.asm-auth-shell {
		grid-template-columns: 1fr;
	}

	.asm-nav {
		flex-direction: column;
		align-items: flex-start;
	}

	.asm-hero-actions {
		grid-template-columns: 1fr;
	}
}


.asm-profile-actions {
	display: flex;
	justify-content: flex-end;
	margin: -8px 0 18px;
}

.asm-danger-button {
	background: #f7d7d0;
	color: #8c2f1f;
}

.asm-product-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 18px;
	background: #f1eee8;
	margin-bottom: 16px;
}

.asm-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Bootstrap integration and visual polish. */
body.asm-has-plugin-page .entry-title,
body.asm-has-plugin-page .page-title,
body.asm-has-plugin-page .wp-block-post-title,
body.asm-has-plugin-page header.entry-header,
body.asm-has-plugin-page .ast-single-post .entry-title,
body.asm-has-plugin-page .elementor-page-title {
	display: none !important;
}

.asm-page {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.asm-section-heading h1,
.asm-section-heading h2,
.asm-hero-copy h1,
.asm-auth-copy h1 {
	font-weight: 800;
	letter-spacing: -0.04em;
}

.asm-panel,
.asm-card,
.asm-order-card {
	border: 0;
	box-shadow: 0 18px 45px rgba(18, 49, 71, 0.12);
}

.asm-panel h2,
.asm-card h3,
.asm-order-card h3 {
	font-weight: 750;
}

.asm-page input,
.asm-page textarea,
.asm-page select {
	border-radius: 14px;
	font-family: inherit;
}

.asm-page input:focus,
.asm-page textarea:focus,
.asm-page select:focus {
	border-color: var(--asm-accent);
	box-shadow: 0 0 0 0.2rem rgba(201, 108, 42, 0.15);
	outline: 0;
}

.asm-primary-button,
.asm-secondary-button,
.asm-panel button,
.asm-filter-form button,
.asm-tab-nav button {
	font-weight: 700;
}

.asm-account-topbar {
	position: sticky;
	top: 12px;
	z-index: 20;
}

.asm-avatar-button {
	border-radius: 999px !important;
	border: 1px solid rgba(18, 49, 71, 0.08) !important;
	padding: 8px 14px 8px 8px !important;
}

.asm-avatar-circle {
	align-items: center;
	background: linear-gradient(135deg, var(--asm-accent), var(--asm-navy));
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-weight: 800;
	height: 44px;
	justify-content: center;
	letter-spacing: 0.04em;
	width: 44px;
}

.asm-avatar-dropdown {
	border: 0;
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(18, 49, 71, 0.18);
	min-width: 280px;
}

.asm-profile-actions {
	display: none;
}

/* Hide page titles from WordPress themes immediately, before JS runs. */
body:has(.asm-page) .entry-title,
body:has(.asm-page) .page-title,
body:has(.asm-page) .wp-block-post-title,
body:has(.asm-page) header.entry-header,
body.asm-has-plugin-page .entry-title,
body.asm-has-plugin-page .page-title,
body.asm-has-plugin-page .wp-block-post-title,
body.asm-has-plugin-page header.entry-header {
	display: none !important;
}

body:has(.asm-page) .site,
body:has(.asm-page) .site-main,
body:has(.asm-page) .content-area,
body:has(.asm-page) .entry-content,
body:has(.asm-page) .wp-site-blocks,
body:has(.asm-page) .wp-block-post-content,
body:has(.asm-page) .is-layout-constrained,
body.asm-has-plugin-page .site,
body.asm-has-plugin-page .site-main,
body.asm-has-plugin-page .content-area,
body.asm-has-plugin-page .entry-content,
body.asm-has-plugin-page .wp-site-blocks,
body.asm-has-plugin-page .wp-block-post-content,
body.asm-has-plugin-page .is-layout-constrained,
body.asm-has-plugin-page .asm-full-width-host {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100% !important;
}

.asm-avatar-dropdown p {
	font-size: 0.95rem;
}

.asm-avatar-dropdown .dropdown-divider {
	margin: 0.75rem 0;
}

.asm-profile-dropdown {
	max-height: min(82vh, 720px);
	overflow-y: auto;
	width: min(92vw, 420px);
}

.asm-dropdown-profile-form input,
.asm-dropdown-profile-form textarea {
	font-size: 0.92rem;
}

.asm-profile-summary-panel {
	max-width: none !important;
	margin-left: 0;
	margin-right: 0;
}

/* ==========================================================
   Bootstrap-style complete redesign for all marketplace pages
   ========================================================== */
.asm-page {
	--bs-body-color: #212529;
	--bs-body-bg: #f8f9fa;
	--bs-primary: #0d6efd;
	--bs-primary-rgb: 13, 110, 253;
	--bs-secondary: #6c757d;
	--bs-success: #198754;
	--bs-danger: #dc3545;
	--bs-warning: #ffc107;
	--bs-info: #0dcaf0;
	--bs-light: #f8f9fa;
	--bs-dark: #212529;
	--bs-border-color: #dee2e6;
	--bs-border-radius: .75rem;
	--bs-border-radius-lg: 1rem;
	--bs-box-shadow: 0 .75rem 1.75rem rgba(33, 37, 41, .08);
	--bs-box-shadow-sm: 0 .25rem .75rem rgba(33, 37, 41, .075);
	background: linear-gradient(180deg, #f8f9fa 0%, #eef2f7 100%) !important;
	color: var(--bs-body-color);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.55;
	width: 100vw;
	max-width: none !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	min-height: 70vh;
}

.asm-home,
.asm-services,
.asm-auth-page,
.asm-profile-page,
.asm-shop-page {
	background: linear-gradient(180deg, #f8f9fa 0%, #eef2f7 100%) !important;
	padding-top: 2rem;
	padding-left: 0;
	padding-right: 0;
}

.asm-hero,
.asm-section,
.asm-auth-shell,
.asm-profile-page,
.asm-shop-page,
.asm-services {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

.asm-nav {
	background: #ffffff;
	border: 1px solid var(--bs-border-color);
	border-radius: 1rem;
	box-shadow: var(--bs-box-shadow-sm);
	margin-left: 0;
	margin-right: 0;
	padding: 1rem 1.25rem;
}

.asm-brand {
	color: var(--bs-dark);
	font-size: 0.9rem;
	line-height: 1.1;
	font-weight: 800;
}

.asm-nav-links a,
.asm-anchor-nav a,
.asm-text-link {
	border-radius: 999px;
	color: var(--bs-primary) !important;
	font-weight: 700;
	padding: .45rem .75rem;
	text-decoration: none !important;
}

.asm-nav-links a:hover,
.asm-anchor-nav a:hover,
.asm-text-link:hover {
	background: rgba(var(--bs-primary-rgb), .08);
	color: #0a58ca !important;
}

.asm-section-heading,
.asm-auth-copy {
	background: #ffffff;
	border: 1px solid var(--bs-border-color);
	border-radius: var(--bs-border-radius-lg);
	box-shadow: var(--bs-box-shadow-sm);
	padding: 1.25rem;
}

.asm-section-heading h1,
.asm-section-heading h2,
.asm-hero-copy h1,
.asm-auth-copy h1,
.asm-panel h2,
.asm-card h3,
.asm-order-card h3 {
	color: #1f2937;
	font-weight: 800;
	letter-spacing: -.025em;
}

.asm-kicker,
.asm-card-meta {
	color: var(--bs-primary) !important;
	font-family: inherit;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.asm-hero-copy,
.asm-slider,
.asm-panel,
.asm-card,
.asm-order-card {
	background: #ffffff !important;
	border: 1px solid var(--bs-border-color) !important;
	border-radius: var(--bs-border-radius-lg) !important;
	box-shadow: var(--bs-box-shadow) !important;
}

.asm-hero-copy,
.asm-slider,
.asm-panel {
	padding: 1.5rem;
}

.asm-card,
.asm-order-card {
	padding: 1.25rem;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.asm-card:hover,
.asm-order-card:hover {
	border-color: rgba(var(--bs-primary-rgb), .35) !important;
	box-shadow: 0 1rem 2rem rgba(13, 110, 253, .12) !important;
	transform: translateY(-2px);
}

.asm-card-grid {
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.asm-two-columns,
.asm-auth-shell,
.asm-hero-grid {
	gap: 1.25rem;
}

.asm-primary-button,
.asm-secondary-button,
.asm-danger-button,
.asm-tab-nav button,
.asm-filter-form button,
.asm-panel button,
.asm-card button,
.asm-order-card button,
.asm-page input[type="submit"] {
	align-items: center;
	border-radius: .7rem !important;
	box-shadow: var(--bs-box-shadow-sm);
	display: inline-flex;
	font-family: inherit;
	font-weight: 700;
	gap: .45rem;
	justify-content: center;
	line-height: 1.4;
	min-height: 42px;
	padding: .62rem 1rem !important;
	text-decoration: none !important;
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.asm-primary-button,
.asm-filter-form button,
.asm-panel button[type="submit"]:not(.asm-secondary-button):not(.asm-danger-button) {
	background: var(--bs-primary) !important;
	border: 1px solid var(--bs-primary) !important;
	color: #ffffff !important;
}

.asm-primary-button:hover,
.asm-filter-form button:hover,
.asm-panel button[type="submit"]:not(.asm-secondary-button):not(.asm-danger-button):hover {
	background: #0b5ed7 !important;
	border-color: #0a58ca !important;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.asm-secondary-button,
.asm-tab-nav button,
.asm-anchor-nav a {
	background: #ffffff !important;
	border: 1px solid var(--bs-border-color) !important;
	color: #495057 !important;
}

.asm-secondary-button:hover,
.asm-tab-nav button:hover,
.asm-anchor-nav a:hover {
	background: #f1f5f9 !important;
	color: #212529 !important;
}

.asm-danger-button,
button.asm-danger-button {
	background: var(--bs-danger) !important;
	border: 1px solid var(--bs-danger) !important;
	color: #ffffff !important;
}

.asm-danger-button:hover,
button.asm-danger-button:hover {
	background: #bb2d3b !important;
	border-color: #b02a37 !important;
	color: #ffffff !important;
}

.asm-tab-nav {
	background: #e9ecef !important;
	border: 1px solid var(--bs-border-color);
	border-radius: .85rem;
	padding: .35rem;
}

.asm-tab-nav button.is-active {
	background: var(--bs-primary) !important;
	border-color: var(--bs-primary) !important;
	color: #ffffff !important;
}

.asm-page form {
	margin-bottom: 0;
}

.asm-page label {
	color: #344054;
	display: inline-block;
	font-weight: 700;
	margin-bottom: .35rem;
}

.asm-page input,
.asm-page textarea,
.asm-page select {
	background-color: #ffffff !important;
	border: 1px solid var(--bs-border-color) !important;
	border-radius: .7rem !important;
	box-shadow: none;
	color: #212529;
	font-family: inherit;
	font-size: .98rem;
	line-height: 1.5;
	margin-bottom: .85rem;
	padding: .7rem .9rem !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.asm-page input[type="file"] {
	padding: .55rem .75rem !important;
}

.asm-page input:focus,
.asm-page textarea:focus,
.asm-page select:focus {
	border-color: #86b7fe !important;
	box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .18) !important;
	outline: 0;
}

.asm-filter-form,
.asm-inline-summary,
.asm-card-actions,
.asm-order-actions,
.asm-inline-form {
	align-items: center;
	gap: .75rem;
}

.asm-filter-form {
	background: #ffffff;
	border: 1px solid var(--bs-border-color);
	border-radius: var(--bs-border-radius-lg);
	box-shadow: var(--bs-box-shadow-sm);
	padding: 1rem;
}

.asm-filter-form input,
.asm-filter-form select,
.asm-filter-form button,
.asm-inline-form input,
.asm-inline-form select,
.asm-inline-form button {
	margin-bottom: 0 !important;
}

.asm-notice {
	border: 1px solid transparent;
	border-radius: .9rem;
	box-shadow: var(--bs-box-shadow-sm);
	font-weight: 700;
	margin: 1rem 0;
	padding: .9rem 1rem;
}

.asm-notice-success {
	background: #d1e7dd !important;
	border-color: #badbcc;
	color: #0f5132;
}

.asm-notice-error {
	background: #f8d7da !important;
	border-color: #f5c2c7;
	color: #842029;
}

.asm-notice-info {
	background: #cff4fc !important;
	border-color: #b6effb;
	color: #055160;
}

.asm-badge,
.badge {
	border-radius: 999px !important;
	font-weight: 800 !important;
	letter-spacing: .01em;
}

.asm-badge {
	background: #e7f1ff !important;
	color: #084298 !important;
}

.asm-product-image {
	border: 1px solid var(--bs-border-color);
	border-radius: .9rem;
	box-shadow: var(--bs-box-shadow-sm);
}

#asm-dashboard .asm-card,
#asm-vendor-dashboard .asm-card,
.asm-profile-summary-panel .asm-card {
	background: linear-gradient(135deg, #ffffff, #f3f8ff) !important;
	min-height: 120px;
}

#asm-dashboard .asm-card h3,
#asm-vendor-dashboard .asm-card h3,
.asm-profile-summary-panel .asm-card h3 {
	color: var(--bs-primary);
	font-size: clamp(1.8rem, 4vw, 2.45rem);
	margin-bottom: 0;
}

.asm-order-head {
	border-bottom: 1px solid var(--bs-border-color);
	margin-bottom: 1rem;
	padding-bottom: .75rem;
}

.asm-checkout-panel {
	background: #f8f9fa;
	border: 1px dashed var(--bs-border-color);
	border-radius: var(--bs-border-radius-lg);
	padding: 1rem;
}

.asm-avatar-button {
	background: #ffffff !important;
	border: 1px solid var(--bs-border-color) !important;
	box-shadow: var(--bs-box-shadow) !important;
}

.asm-avatar-circle {
	background: linear-gradient(135deg, var(--bs-primary), #6610f2) !important;
}

.asm-avatar-dropdown,
.dropdown-menu {
	border: 1px solid var(--bs-border-color) !important;
	border-radius: var(--bs-border-radius-lg) !important;
	box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.asm-account-topbar {
	pointer-events: none;
}

.asm-account-topbar .dropdown {
	pointer-events: auto;
}

.asm-slider {
	background: #ffffff !important;
}

.asm-slide {
	background: linear-gradient(135deg, #0d6efd, #6610f2) !important;
	border-radius: .9rem;
}

.asm-empty {
	background: #f8f9fa;
	border: 1px dashed var(--bs-border-color);
	border-radius: .85rem;
	color: #6c757d;
	padding: 1rem;
}

@media (max-width: 700px) {
	.asm-page {
		padding-left: 0;
		padding-right: 0;
	}

	.asm-filter-form,
	.asm-inline-summary,
	.asm-card-actions,
	.asm-order-actions,
	.asm-inline-form {
		align-items: stretch;
		flex-direction: column;
	}

	.asm-filter-form input,
	.asm-filter-form select,
	.asm-filter-form button,
	.asm-inline-summary a,
	.asm-inline-summary button,
	.asm-inline-form input,
	.asm-inline-form select,
	.asm-inline-form button {
		width: 100% !important;
	}

	.asm-account-topbar {
		position: relative;
		top: auto;
	}
}

/* Marketplace product cards inspired by modern marketplace grids. */
.asm-shop-page .asm-section-heading {
	margin-bottom: 1rem;
}

.asm-shop-filter {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(130px, 1fr));
	margin: 1.25rem 0 2rem;
}

.asm-shop-heading-inline {
	align-items: center !important;
	flex-direction: row !important;
	justify-content: space-between;
}

.asm-product-market-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
}

.asm-market-product-card {
	background: #ffffff;
	border: 1px solid #edf0f3;
	border-radius: 12px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.asm-market-product-card:hover {
	border-color: rgba(13, 110, 253, .25);
	box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
	transform: translateY(-3px);
}

.asm-market-product-image {
	background: #f1f3f5;
	display: block;
	height: 180px;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.asm-market-product-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
	width: 100%;
}

.asm-market-product-card:hover .asm-market-product-image img {
	transform: scale(1.035);
}

.asm-image-quick-icon {
	align-items: center;
	background: rgba(255,255,255,.95);
	border-radius: 999px;
	bottom: 14px;
	box-shadow: 0 8px 16px rgba(15,23,42,.14);
	color: #111827;
	display: inline-flex;
	font-size: 1.05rem;
	height: 36px;
	justify-content: center;
	left: 14px;
	position: absolute;
	width: 36px;
}

.asm-product-placeholder {
	align-items: center;
	color: #6b7280;
	display: flex;
	height: 100%;
	justify-content: center;
	font-weight: 700;
}

.asm-market-product-body {
	padding: .7rem .75rem .85rem;
}

.asm-product-store,
.asm-product-meta-line,
.asm-product-excerpt,
.asm-small-note {
	color: #6b7280;
	font-size: .88rem;
	line-height: 1.35;
	margin: 0 0 .35rem;
}

.asm-market-product-body h3 {
	font-size: .92rem !important;
	font-weight: 500 !important;
	letter-spacing: normal !important;
	line-height: 1.32;
	margin: 0 0 .45rem;
	min-height: 2.55em;
}

.asm-market-product-body h3 a {
	color: #1f2937;
	text-decoration: none;
}

.asm-market-product-body h3 a:hover {
	color: var(--bs-primary);
}

.asm-market-price {
	color: #111827;
	font-size: 1rem;
	font-weight: 900;
	letter-spacing: -.025em;
	margin: 0 0 .15rem;
}

.asm-clickable-card {
	cursor: pointer;
}

.asm-product-gallery {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
}

.asm-product-gallery-main,
.asm-product-gallery-grid img {
	border-radius: 1rem;
	box-shadow: var(--bs-box-shadow-sm);
}

.asm-product-gallery-main img,
.asm-product-gallery-grid img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.asm-product-gallery-main {
	background: #f8f9fa;
	min-height: 320px;
	overflow: hidden;
}

.asm-product-gallery-grid {
	display: grid;
	gap: .75rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asm-product-gallery-grid a {
	display: block;
	min-height: 150px;
}

.asm-product-summary {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
	margin-top: 1.5rem;
}

.asm-product-price-box {
	display: grid;
	gap: .75rem;
}

.asm-market-actions,
.asm-market-cart-form {
	display: flex;
	gap: .45rem;
	margin-top: .65rem;
}

.asm-market-actions .asm-secondary-button,
.asm-market-cart-form .asm-primary-button,
.asm-full-button {
	border-radius: .55rem !important;
	font-size: .86rem;
	min-height: 36px;
	padding: .45rem .65rem !important;
}

.asm-market-cart-form input[type="number"] {
	border-radius: .55rem !important;
	font-size: .86rem;
	margin: 0 !important;
	max-width: 68px;
	padding: .45rem .55rem !important;
}

.asm-market-cart-form .asm-primary-button {
	flex: 1;
}

.asm-full-button {
	margin-top: .65rem;
	width: 100%;
}

.asm-login-home-link {
	margin-bottom: 1rem;
}

.asm-cart-pill {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--bs-border-color);
	border-radius: 999px;
	box-shadow: var(--bs-box-shadow-sm);
	color: #1f2937;
	display: inline-flex;
	gap: .45rem;
	margin-right: .75rem;
	padding: .6rem .9rem;
	text-decoration: none;
}

.asm-cart-pill:hover {
	background: #f8fbff;
	color: var(--bs-primary);
}

.asm-cart-pill-icon {
	font-size: 1rem;
	line-height: 1;
}

.asm-cart-pill-label {
	font-weight: 700;
}

.asm-cart-pill-count {
	background: var(--bs-primary);
	border-radius: 999px;
	color: #fff;
	font-size: .78rem;
	font-weight: 800;
	line-height: 1;
	min-width: 24px;
	padding: .35rem .45rem;
	text-align: center;
}

@media (max-width: 1000px) {
	.asm-shop-filter {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.asm-shop-filter,
	.asm-product-market-grid {
		grid-template-columns: 1fr;
	}

	.asm-market-product-image {
		height: 260px;
	}

	.asm-shop-heading-inline {
		align-items: flex-start !important;
		flex-direction: column !important;
	}
}

@media (max-width: 900px) {
	.asm-product-gallery,
	.asm-product-summary {
		grid-template-columns: 1fr;
	}
}

/* Amazon-like product detail page */
.asm-product-detail-amz {
	padding-left: 10px !important;
	padding-right: 10px !important;
}

.asm-amz-product-layout {
	align-items: flex-start;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(380px, 39%) minmax(320px, 1fr) minmax(245px, 300px);
	max-width: 1480px;
	margin: 0 auto;
}

.asm-amz-media {
	display: grid;
	gap: 12px;
	grid-template-columns: 58px minmax(0, 1fr);
	position: sticky;
	top: 16px;
}

.asm-amz-thumbs {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.asm-amz-thumb {
	align-items: center;
	background: #fff;
	border: 1px solid #d5d9d9;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	height: 52px;
	justify-content: center;
	padding: 3px;
	width: 52px;
}

.asm-amz-thumb.is-active,
.asm-amz-thumb:hover {
	border-color: #007185;
	box-shadow: 0 0 0 2px rgba(0, 113, 133, .18);
}

.asm-amz-thumb img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.asm-amz-main-image {
	align-items: center;
	background: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 520px;
	padding: 8px;
}

.asm-amz-main-image img {
	height: auto;
	max-height: 500px;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.asm-amz-full-view {
	color: #007185;
	font-size: 14px;
	margin-top: 14px;
	text-decoration: none;
}

.asm-amz-title {
	color: #0f1111;
	font-size: clamp(22px, 2.1vw, 30px);
	font-weight: 500;
	line-height: 1.25;
	margin: 0 0 6px;
}

.asm-amz-store,
.asm-amz-muted,
.asm-amz-tax-note,
.asm-amz-shortdesc {
	color: #565959;
	font-size: 14px;
}

.asm-amz-store {
	color: #007185;
	margin: 0 0 6px;
}

.asm-amz-rating {
	align-items: center;
	display: flex;
	gap: 6px;
	font-size: 14px;
	margin-bottom: 8px;
}

.asm-amz-stars {
	color: #ffa41c;
	letter-spacing: -1px;
}

.asm-amz-info hr {
	border: 0;
	border-top: 1px solid #e7e7e7;
	margin: 12px 0 16px;
}

.asm-amz-price {
	color: #0f1111;
	font-size: 30px;
	font-weight: 500;
	margin-bottom: 8px;
}

.asm-amz-bullets {
	color: #0f1111;
	font-size: 15px;
	line-height: 1.45;
	margin-top: 16px;
}

.asm-amz-bullets ul,
.asm-amz-bullets ol {
	padding-left: 20px;
}

.asm-amz-buybox {
	background: #fff;
	border: 1px solid #d5d9d9;
	border-radius: 8px;
	padding: 18px;
	position: sticky;
	top: 16px;
}

.asm-amz-buy-price {
	font-size: 28px;
	font-weight: 500;
	margin-bottom: 10px;
}

.asm-amz-return,
.asm-amz-delivery {
	color: #0f1111;
	font-size: 14px;
	margin: 8px 0;
}

.asm-amz-stock {
	color: #007600;
	font-size: 20px;
	margin: 14px 0;
}

.asm-amz-cart-form {
	display: grid;
	gap: 10px;
	margin-top: 0;
}

.asm-amz-cart-form label {
	align-items: center;
	border: 1px solid #d5d9d9;
	border-radius: 8px;
	display: flex;
	font-size: 14px;
	gap: 8px;
	justify-content: space-between;
	padding: 6px 10px;
}

.asm-amz-cart-form input[type="number"] {
	border: 0;
	max-width: 70px;
	outline: 0;
}

.asm-amz-cart-button,
.asm-amz-buy-button,
.asm-amz-login-button {
	border: 0;
	border-radius: 999px;
	color: #111;
	display: block;
	font-size: 14px;
	font-weight: 500;
	padding: 9px 14px;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

.asm-amz-cart-button {
	background: #ffd814;
}

.asm-amz-buy-button {
	background: #ffa41c;
}

.asm-amz-seller-lines {
	border-top: 1px solid #eee;
	display: grid;
	gap: 8px;
	font-size: 13px;
	margin-top: 16px;
	padding-top: 14px;
}

.asm-amz-seller-lines div {
	display: grid;
	gap: 8px;
	grid-template-columns: 88px 1fr;
}

.asm-amz-seller-lines span {
	color: #565959;
}

.asm-amz-seller-lines strong {
	color: #007185;
	font-weight: 500;
}

@media (max-width: 1100px) {
	.asm-amz-product-layout {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	}
	.asm-amz-info {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

@media (max-width: 760px) {
	.asm-amz-product-layout {
		grid-template-columns: 1fr;
	}
	.asm-amz-media,
	.asm-amz-buybox {
		position: static;
	}
	.asm-amz-media {
		grid-template-columns: 1fr;
	}
	.asm-amz-thumbs {
		flex-direction: row;
		order: 2;
		overflow-x: auto;
	}
	.asm-amz-main-image {
		min-height: 320px;
	}
	.asm-amz-main-image img {
		max-height: 340px;
	}
}


/* v0.5.8: force the single product page to use the plugin layout, not the theme article layout. */
body.single-asm_service .asm-single-product-host,
body.single-asm_service .asm-page,
.asm-single-product-host .asm-page {
	box-sizing: border-box;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: none !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
	width: 100% !important;
}

body.single-asm_service .site-main,
body.single-asm_service .content-area,
body.single-asm_service .entry-content,
body.single-asm_service .wp-site-blocks,
body.single-asm_service main {
	max-width: none !important;
	width: 100% !important;
}

body.single-asm_service .entry-header,
body.single-asm_service .entry-title,
body.single-asm_service .post-thumbnail,
body.single-asm_service .featured-image,
body.single-asm_service .wp-post-image:not(.asm-amz-main-image img):not(.asm-amz-thumb img) {
	display: none !important;
}


/* v0.6.0: accueil slider + bande produits */
.asm-hero-slider-only {
	display: block !important;
}
.asm-hero-copy {
	display: none !important;
}
.asm-home-slider.asm-slider {
	min-height: 430px;
	padding: 0;
	border-radius: 18px;
	background: #102033;
}
.asm-home-slider .asm-slide {
	min-height: 430px;
	display: none;
	background-size: cover;
	background-position: center;
	padding: 44px;
	align-items: center;
}
.asm-home-slider .asm-slide.is-active {
	display: flex;
}
.asm-slide-content {
	max-width: 760px;
	color: #fff;
}
.asm-slide-content h1 {
	font-size: clamp(2.1rem, 5vw, 4.4rem);
	line-height: 1.02;
	margin: 0 0 14px;
}
.asm-slide-content p {
	font-size: 1rem;
	max-width: 760px;
}
.asm-home-slider .asm-secondary-button {
	background: rgba(255,255,255,.92);
	color: var(--asm-ink);
}
.asm-product-ticker {
	overflow: hidden;
	width: 100%;
	padding: 6px 0 10px;
}
.asm-product-track {
	display: flex;
	gap: 14px;
	width: max-content;
	animation: asmProductTicker 28s linear infinite;
}
.asm-product-ticker:hover .asm-product-track {
	animation-play-state: paused;
}
.asm-mini-product-card {
	width: 175px;
	min-width: 175px;
	padding: 10px;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(18,49,71,.10);
}
.asm-mini-product-card .asm-product-image {
	height: 110px;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}
.asm-mini-product-card .asm-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.asm-mini-product-card h3 {
	font-size: .92rem;
	line-height: 1.2;
	margin: 8px 0;
}
.asm-mini-product-card p {
	display: none;
}
@keyframes asmProductTicker {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
@media (max-width: 720px) {
	.asm-home-slider.asm-slider,
	.asm-home-slider .asm-slide { min-height: 360px; }
	.asm-home-slider .asm-slide { padding: 24px; }
	.asm-hero-actions { grid-template-columns: 1fr; }
	.asm-mini-product-card { width: 150px; min-width: 150px; }
}


/* v0.6.1: stronger Amazon-style product page + reliable slider fallback */
body.single-asm_service.asm-force-product-template .entry-header,
body.single-asm_service.asm-force-product-template .wp-block-post-title,
body.single-asm_service.asm-force-product-template .post-thumbnail,
body.single-asm_service.asm-force-product-template .featured-image {
	display: none !important;
}
.asm-product-detail-amz {
	background: #fff;
	padding-left: 10px !important;
	padding-right: 10px !important;
}
.asm-amz-product-layout {
	display: grid !important;
	grid-template-columns: minmax(360px, 40%) minmax(320px, 1fr) 245px;
	gap: 24px;
	align-items: start;
	max-width: 1500px;
	margin: 0 auto;
}
.asm-amz-media {
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 14px;
	position: sticky;
	top: 14px;
}
.asm-amz-thumbs {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.asm-amz-thumb {
	width: 48px;
	height: 58px;
	border: 1px solid #d5d9d9;
	border-radius: 8px;
	background: #fff;
	padding: 2px;
	cursor: pointer;
}
.asm-amz-thumb.is-active { border: 2px solid #007185; }
.asm-amz-thumb img { width: 100%; height: 100%; object-fit: contain; }
.asm-amz-main-image { text-align: center; }
.asm-amz-main-image img { width: 100%; max-height: 560px; object-fit: contain; }
.asm-amz-full-view { display: inline-block; margin-top: 10px; color: #007185; text-decoration: none; }
.asm-amz-title { font-size: 1.65rem; line-height: 1.25; margin: 0 0 6px; font-weight: 500; }
.asm-amz-store, .asm-amz-muted, .asm-amz-tax-note { color: #007185; font-size: .92rem; }
.asm-amz-rating { display: flex; gap: 6px; align-items: center; font-size: .9rem; }
.asm-amz-stars { color: #ffa41c; letter-spacing: -1px; }
.asm-amz-price { font-size: 1.9rem; margin: 16px 0 10px; }
.asm-amz-bullets ul { padding-left: 20px; }
.asm-amz-bullets li { margin-bottom: 8px; }
.asm-amz-buybox { border: 1px solid #d5d9d9; border-radius: 8px; padding: 16px; background: #fff; }
.asm-amz-buy-price { font-size: 1.65rem; margin-bottom: 10px; }
.asm-amz-return { color: #007185; }
.asm-amz-stock { color: #007600; font-size: 0.9rem;
	line-height: 1.1; }
.asm-amz-cart-form label { display: block; margin-bottom: 12px; }
.asm-amz-cart-form input[type=number] { width: 100%; border: 1px solid #d5d9d9; border-radius: 7px; padding: 7px; }
.asm-amz-cart-button, .asm-amz-buy-button { display: block; width: 100%; border: 0; border-radius: 999px; padding: 10px 16px; margin: 8px 0; text-align: center; cursor: pointer; }
.asm-amz-cart-button { background: #ffd814; color: #111; }
.asm-amz-buy-button { background: #ffa41c; color: #111; }
.asm-amz-seller-lines { margin-top: 16px; display: grid; gap: 10px; font-size: .85rem; }
.asm-amz-seller-lines div { display: grid; grid-template-columns: 82px 1fr; gap: 8px; }
.asm-amz-seller-lines span { color: #565959; }
.asm-home-slider .asm-slide { opacity: 0; visibility: hidden; }
.asm-home-slider .asm-slide.is-active { opacity: 1; visibility: visible; }
@media (max-width: 980px) {
	.asm-amz-product-layout { grid-template-columns: 1fr; }
	.asm-amz-media { position: static; }
	.asm-amz-buybox { max-width: none; }
}

/* v0.6.4 - Services single page + generated category pages */
.asm-services-single-page .asm-services-head,
.asm-category-page .asm-services-head {
	padding: 26px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(18, 49, 71, 0.10);
	border: 1px solid rgba(18, 49, 71, 0.08);
}

.asm-category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
}

.asm-category-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 260px;
	padding: 20px;
	border-radius: 22px;
	background: #fff;
	border: 1px solid rgba(18, 49, 71, 0.08);
	box-shadow: 0 14px 32px rgba(18, 49, 71, 0.10);
}

.asm-category-card h2 {
	margin: 0;
	font-size: clamp(1.4rem, 2vw, 2rem);
	line-height: 1.05;
}

.asm-category-card-top {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.asm-category-preview-row {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.asm-category-preview {
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	border-radius: 14px;
	border: 1px solid rgba(18, 49, 71, 0.12);
	background: #f7f7f7;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--asm-navy);
	font-weight: 700;
	overflow: hidden;
}

.asm-category-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.asm-empty-mini {
	padding: 14px;
	border-radius: 14px;
	background: rgba(18, 49, 71, 0.06);
	color: var(--asm-muted);
	font-size: 0.9rem;
}

.asm-category-filter {
	position: sticky;
	top: 12px;
	z-index: 5;
	background: rgba(255,255,255,.96);
	border: 1px solid rgba(18, 49, 71, 0.08);
	box-shadow: 0 12px 26px rgba(18, 49, 71, 0.10);
	margin: 18px 0;
}

.asm-category-filter input,
.asm-category-filter select {
	min-width: 190px;
	background: #fff;
}

.asm-category-products-grid {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.asm-category-product-card {
	padding: 14px;
	gap: 10px;
}

.asm-category-product-card h3 {
	font-size: 1rem;
	line-height: 1.25;
	margin: 8px 0;
}

.asm-category-product-card .asm-product-image {
	height: 130px;
	border-radius: 16px;
	background: #f7f7f7;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.asm-category-product-card .asm-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.asm-product-card-link {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 720px) {
	.asm-category-filter {
		position: static;
		flex-direction: column;
		align-items: stretch;
	}

	.asm-category-filter input,
	.asm-category-filter select,
	.asm-category-filter button,
	.asm-category-filter a {
		width: 100%;
	}
}


/* v0.6.5 - Nos services: only five category pills + filtered category pages */
.asm-services-pills-page .asm-services-head { display: none; }
.asm-services-pills-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	padding: 10px 0 18px;
}
.asm-service-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(18, 49, 71, 0.12);
	box-shadow: 0 4px 12px rgba(18, 49, 71, 0.08);
	color: var(--asm-navy);
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}
.asm-service-pill:hover,
.asm-service-pill:focus {
	border-color: rgba(0, 113, 133, 0.45);
	box-shadow: 0 6px 16px rgba(0, 113, 133, 0.16);
	transform: translateY(-1px);
}
.asm-services-strip {
	display: grid;
	gap: 18px;
}
.asm-service-strip-section {
	background: #fff;
	border: 1px solid rgba(18, 49, 71, 0.08);
	border-radius: 18px;
	padding: 14px;
	box-shadow: 0 8px 22px rgba(18, 49, 71, 0.08);
}
.asm-strip-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}
.asm-strip-heading h2 { margin: 0; font-size: 0.9rem;
	line-height: 1.1; }
.asm-category-preview-marquee { overflow-x: auto; padding-bottom: 8px; }
.asm-mini-product-card {
	flex: 0 0 110px;
	width: 110px;
	min-height: 138px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 8px;
	border-radius: 14px;
	background: #f7f9fb;
	border: 1px solid rgba(18, 49, 71, 0.08);
	color: var(--asm-navy);
	text-decoration: none;
	font-size: .78rem;
}
.asm-mini-product-card img {
	width: 100%;
	height: 72px;
	object-fit: contain;
	background: #fff;
	border-radius: 10px;
}
.asm-mini-product-card strong { line-height: 1.2; }
.asm-category-products-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.asm-category-product-card { padding: 10px; border-radius: 16px; }
.asm-category-product-card .asm-product-image { height: 105px; }
.asm-category-product-card h3 { font-size: .92rem; }
@media (max-width: 720px) {
	.asm-services-pills-wrap { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; }
	.asm-service-pill { flex: 0 0 auto; }
}

/* v0.6.6 - Nos services annonce strips + dedicated Boutique-Nos services */
.asm-services-shop-cta { margin: 0 0 16px; display: flex; justify-content: flex-start; }
.asm-service-annonce-section {
	background: linear-gradient(135deg, #ffffff, #f3f8fb);
	border-color: rgba(0, 113, 133, 0.16);
}
.asm-service-annonce-section .asm-category-preview-marquee {
	display: flex;
	gap: 12px;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
}
.asm-service-annonce-section .asm-mini-product-card {
	animation: asmServiceTicker 24s linear infinite;
	box-shadow: 0 5px 14px rgba(18,49,71,.08);
}
.asm-service-annonce-section .asm-category-preview-marquee:hover .asm-mini-product-card { animation-play-state: paused; }
@keyframes asmServiceTicker {
	0% { transform: translateX(0); }
	100% { transform: translateX(-220px); }
}
.asm-services-shop-page .asm-section-heading { margin-bottom: 16px; }
.asm-services-shop-filter {
	margin-bottom: 18px;
	background: #fff;
	border: 1px solid rgba(18,49,71,.08);
	border-radius: 16px;
	padding: 12px;
	box-shadow: 0 6px 18px rgba(18,49,71,.08);
}
.asm-services-shop-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.asm-services-shop-card { border-radius: 16px; min-height: auto; }
.asm-services-shop-card .asm-market-product-image { min-height: 118px; height: 118px; }
.asm-services-shop-card .asm-market-product-body { padding: 10px; }
.asm-services-shop-card h3 { font-size: .95rem; line-height: 1.25; }
.asm-service-product-admin-panel form input,
.asm-service-product-admin-panel form select,
.asm-service-product-admin-panel form textarea {
	width: 100%;
	margin-bottom: 10px;
}
@media (max-width: 720px) {
	.asm-service-annonce-section .asm-category-preview-marquee { overflow-x: auto; }
	.asm-service-annonce-section .asm-mini-product-card { animation: none; }
}


.asm-stock-summary {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 10px 0;
	font-size: 13px;
}
.asm-stock-summary span {
	background: #f3f6f8;
	border: 1px solid #dce4ea;
	border-radius: 999px;
	padding: 5px 10px;
}
.asm-stock-form {
	display: grid;
	grid-template-columns: minmax(80px, 1fr) auto;
	gap: 8px;
	align-items: center;
}
.asm-stock-form input[type=number] {
	width: 100%;
}

.asm-alert-panel .asm-notice-warning,.asm-service-stock-panel .asm-notice-warning{background:#fff8e1;border:1px solid #f5c542;color:#4a3510;border-radius:10px;padding:10px;margin:8px 0}.asm-inline-summary input[type=number]{max-width:120px}

.asm-file-button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px dashed #9fb3c8;border-radius:12px;padding:12px 14px;background:#f8fbff;color:#0b5cab;font-weight:800;cursor:pointer;text-align:center;margin:6px 0}.asm-file-button input[type=file]{display:none}.asm-file-button:hover{background:#eef7ff;border-color:#0b84d8}.asm-amz-attribute{margin:6px 0;color:#172033;font-size:14px}


.asm-brand img {
	max-height: 42px;
	width: auto;
	display: block;
}


/* Business Solution compact header logo */
.asm-brand,
.asm-brand-mark {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 0;
}

.asm-brand-mark img,
.asm-brand img {
	max-height: 32px;
	width: auto;
	display: block;
}

.asm-brand-mark span {
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.asm-nav {
	padding-top: 8px;
	padding-bottom: 8px;
}

/* Seller administration single-page layout */
.asm-profile-page .asm-admin-spa {
	display: grid;
	grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.asm-profile-page .asm-admin-sidebar {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	min-height: 420px;
	padding: 18px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 16px 45px rgba(15, 23, 42, .08);
}

.asm-profile-page .asm-admin-menu-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.asm-profile-page .asm-admin-menu-group + .asm-admin-menu-group {
	padding-top: 10px;
	border-top: 1px solid rgba(15, 23, 42, .08);
}

.asm-profile-page .asm-admin-sidebar button {
	width: 100%;
	border: 0;
	border-radius: 14px;
	padding: 13px 14px;
	background: transparent;
	color: #1f2937;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

.asm-profile-page .asm-admin-sidebar button.asm-admin-subitem {
	padding: 9px 12px 9px 24px;
	border-radius: 12px;
	color: #4b5563;
	font-size: .9rem;
	font-weight: 600;
	display: none;
}

.asm-profile-page .asm-admin-menu-group.is-open button.asm-admin-subitem {
	display: block;
}

.asm-profile-page .asm-admin-sidebar button:hover,
.asm-profile-page .asm-admin-sidebar button.is-active {
	background: #111827;
	color: #fff;
	transform: translateX(4px);
}

.asm-profile-page .asm-admin-content {
	min-width: 0;
}

.asm-profile-page .asm-admin-view {
	display: none;
}

.asm-profile-page .asm-admin-view.is-active {
	display: block;
}

@media (max-width: 900px) {
	.asm-profile-page .asm-admin-spa {
		grid-template-columns: 1fr;
	}

	.asm-profile-page .asm-admin-sidebar {
		position: static;
		min-height: auto;
	}
}

/* Supervisor administration SPA layout */
.asm-admin-portal-page .asm-supervisor-admin-spa {
	display: grid !important;
	grid-template-columns: minmax(210px, 260px) minmax(0, 1fr) !important;
	gap: 24px !important;
	align-items: start !important;
}

.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar {
	position: sticky !important;
	top: 24px !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: stretch !important;
	gap: 10px !important;
	min-height: 420px !important;
	padding: 18px !important;
	border-radius: 22px !important;
	background: #fff !important;
	box-shadow: 0 16px 45px rgba(15, 23, 42, .08) !important;
}

.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar .asm-admin-menu-group {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
}

.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar button {
	display: block !important;
	width: 100% !important;
	border: 0 !important;
	border-radius: 14px !important;
	padding: 13px 14px !important;
	background: transparent !important;
	color: #1f2937 !important;
	font-weight: 700 !important;
	text-align: left !important;
	cursor: pointer !important;
}

.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar button:hover,
.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar button.is-active {
	background: #111827 !important;
	color: #fff !important;
}

@media (max-width: 900px) {
	.asm-admin-portal-page .asm-supervisor-admin-spa {
		grid-template-columns: 1fr !important;
	}
	.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar {
		position: static !important;
		min-height: auto !important;
	}
}

/* Supervisor submenu behavior */
.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar button.asm-admin-subitem {
	display: none !important;
	padding: 9px 12px 9px 24px !important;
	border-radius: 12px !important;
	color: #4b5563 !important;
	font-size: .9rem !important;
	font-weight: 600 !important;
}

.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-menu-group.is-open button.asm-admin-subitem {
	display: block !important;
}

.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar button.asm-admin-subitem:hover,
.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar button.asm-admin-subitem.is-active {
	background: #111827 !important;
	color: #fff !important;
}

/* Supervisor SPA view visibility fix */
.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-view {
	display: none !important;
}

.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-view.is-active {
	display: block !important;
}


/* v0.8.6: force supervisor submenus to behave exactly like seller admin submenus. */
.asm-supervisor-admin-spa .asm-admin-sidebar .asm-admin-subitem {
	display: none !important;
}

.asm-supervisor-admin-spa .asm-admin-menu-group.is-open > .asm-admin-subitem {
	display: block !important;
}


/* v0.8.7: hard fix for supervisor submenu visibility.
   Closed groups must never show their submenu items. Only the clicked group opens. */
.asm-supervisor-admin-spa .asm-admin-menu-group:not(.is-open) > .asm-admin-subitem,
.asm-supervisor-admin-spa .asm-admin-menu-group:not(.is-open) > button.asm-admin-subitem {
	display: none !important;
	visibility: hidden !important;
	max-height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	overflow: hidden !important;
}

.asm-supervisor-admin-spa .asm-admin-menu-group.is-open > .asm-admin-subitem,
.asm-supervisor-admin-spa .asm-admin-menu-group.is-open > button.asm-admin-subitem {
	display: block !important;
	visibility: visible !important;
	max-height: none !important;
	padding: 9px 12px 9px 24px !important;
}


/* v0.8.8: prevent supervisor submenu labels from overflowing the left menu. */
.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar,
.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar * {
	box-sizing: border-box !important;
}

.asm-admin-portal-page .asm-supervisor-admin-spa {
	grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) !important;
}

.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar {
	width: 100% !important;
	max-width: 300px !important;
	overflow: hidden !important;
}

.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar button,
.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar button.asm-admin-subitem {
	max-width: 100% !important;
	white-space: normal !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
	line-height: 1.25 !important;
}

.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar button.asm-admin-subitem {
	font-size: .84rem !important;
	padding-left: 16px !important;
	padding-right: 10px !important;
}

@media (max-width: 900px) {
	.asm-admin-portal-page .asm-supervisor-admin-spa {
		grid-template-columns: 1fr !important;
	}
	.asm-admin-portal-page .asm-supervisor-admin-spa .asm-admin-sidebar {
		max-width: none !important;
	}
}


/* v0.8.9: dashboard design inspired by modern admin templates. */
.asm-modern-dashboard {
	display: grid;
	gap: 22px;
}
.asm-modern-dashboard-hero {
	position: relative;
	overflow: hidden;
	border-radius: 26px;
	padding: 28px;
	background: linear-gradient(135deg, #6d35f5 0%, #7c3aed 55%, #22c1dc 100%);
	color: #fff;
	box-shadow: 0 24px 60px rgba(76, 29, 149, .28);
}
.asm-modern-dashboard-hero:after {
	content: "";
	position: absolute;
	inset: auto -70px -90px auto;
	width: 240px;
	height: 240px;
	border-radius: 999px;
	background: rgba(255,255,255,.16);
}
.asm-modern-dashboard-hero h2,
.asm-modern-dashboard-hero h3,
.asm-modern-dashboard-hero p { color: #fff; }
.asm-modern-dashboard-hero h2,
.asm-modern-dashboard-hero h3 {
	margin: 0 0 10px;
	font-size: clamp(1.55rem, 2.5vw, 2.4rem);
	font-weight: 900;
}
.asm-modern-dashboard-hero p { margin: 0; max-width: 760px; opacity: .94; }
.asm-modern-dashboard-hero-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	position: relative;
	z-index: 1;
}
.asm-modern-dashboard-avatar {
	width: 72px;
	height: 72px;
	border-radius: 22px;
	display: grid;
	place-items: center;
	background: rgba(255,255,255,.2);
	border: 3px solid rgba(255,255,255,.45);
	font-weight: 900;
	font-size: 1.2rem;
	box-shadow: 0 14px 35px rgba(15, 23, 42, .18);
	flex: 0 0 auto;
}
.asm-modern-dashboard-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
	position: relative;
	z-index: 1;
}
.asm-modern-dashboard-pill {
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255,255,255,.18);
	border: 1px solid rgba(255,255,255,.24);
	font-size: .88rem;
	font-weight: 800;
}
.asm-modern-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}
.asm-modern-stat-card {
	position: relative;
	overflow: hidden;
	border: 0;
	border-radius: 22px;
	padding: 22px;
	background: #fff;
	box-shadow: 0 18px 46px rgba(15, 23, 42, .09);
	min-height: 140px;
}
.asm-modern-stat-card:nth-child(1) { background: linear-gradient(135deg, #ec4899, #d946ef); color: #fff; }
.asm-modern-stat-card:nth-child(2) { background: linear-gradient(135deg, #8b5cf6, #a855f7); color: #fff; }
.asm-modern-stat-card:nth-child(3) { background: linear-gradient(135deg, #3b82f6, #06b6d4); color: #fff; }
.asm-modern-stat-card:nth-child(4) { background: linear-gradient(135deg, #14b8a6, #06b6d4); color: #fff; }
.asm-modern-stat-card:after {
	content: attr(data-icon);
	position: absolute;
	right: 16px;
	top: 16px;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255,255,255,.2);
	font-size: 1.2rem;
}
.asm-modern-stat-number {
	display: block;
	font-size: clamp(1.8rem, 3vw, 2.55rem);
	font-weight: 950;
	line-height: 1;
	margin-bottom: 8px;
}
.asm-modern-stat-label { font-weight: 800; opacity: .96; }
.asm-modern-stat-progress {
	margin-top: 24px;
	height: 6px;
	width: 64%;
	border-radius: 999px;
	background: rgba(255,255,255,.36);
	overflow: hidden;
}
.asm-modern-stat-progress span { display:block; height:100%; width:72%; border-radius:inherit; background:#fff; opacity:.92; }
.asm-modern-chart-panel {
	border: 0;
	border-radius: 24px;
	padding: 24px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}
.asm-modern-chart-panel h3 { margin: 0 0 18px; color: #111827; font-weight: 900; }
.asm-modern-chart {
	display: flex;
	align-items: end;
	gap: 14px;
	height: 190px;
	padding: 18px 8px 6px;
	border-bottom: 1px solid #e5e7eb;
	background: linear-gradient(180deg, rgba(124,58,237,.05), rgba(255,255,255,0));
}
.asm-modern-bar {
	flex: 1;
	min-width: 14px;
	border-radius: 14px 14px 0 0;
	background: linear-gradient(180deg, #60a5fa, #2563eb);
	box-shadow: 0 8px 18px rgba(37,99,235,.18);
}
.asm-modern-bar:nth-child(even) { background: linear-gradient(180deg, #c084fc, #9333ea); }
.asm-modern-bar:nth-child(3n) { background: linear-gradient(180deg, #2dd4bf, #0891b2); }
.asm-modern-dashboard .asm-card-grid,
#asm-supervisor-dashboard-summary .asm-card-grid,
#asm-section-dashboard .asm-card-grid { display: none !important; }
.asm-profile-summary-panel { display: none !important; }
@media (max-width: 1100px) {
	.asm-modern-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.asm-modern-dashboard-hero-row { align-items: flex-start; flex-direction: column; }
	.asm-modern-stat-grid { grid-template-columns: 1fr; }
	.asm-modern-chart { gap: 7px; height: 150px; }
}

/* v0.9.1: make dashboard section occupy the full row in all account/admin views. */
.asm-admin-view > .asm-two-columns > .asm-modern-dashboard,
.asm-admin-view > .asm-two-columns > #asm-supervisor-dashboard-summary,
.asm-admin-view > .asm-two-columns > #asm-section-dashboard,
.asm-profile-page .asm-modern-dashboard,
.asm-admin-portal-page .asm-modern-dashboard,
.asm-supervisor-admin-spa .asm-modern-dashboard {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	max-width: none !important;
}

.asm-supervisor-admin-spa .asm-admin-content,
.asm-profile-page .asm-admin-content {
	width: 100% !important;
	max-width: none !important;
}
