/*
 * Dokan screens: single store (and its terms tab), store listing, vendor dashboard and vendor
 * registration. They render through header.php / footer.php (inc/classic-template-compat.php).
 * The dashboard is kept close to Dokan's own layout, only brought onto the theme's colours.
 */

/* Dokan reads these with purple fallbacks; defining them recolours all of its screens. */
:root {
	--dokan-button-background-color: var(--wp--preset--color--gold);
	--dokan-button-border-color: var(--wp--preset--color--gold);
	--dokan-button-text-color: var(--wp--preset--color--ink);
	--dokan-button-hover-background-color: var(--wp--preset--color--ink);
	--dokan-button-hover-border-color: var(--wp--preset--color--ink);
	--dokan-button-hover-color: var(--wp--preset--color--on-dark);
	--dokan-button-secondary-text-color: var(--wp--preset--color--ink);
	--dokan-sidebar-background-color: var(--wp--preset--color--surface);
	--dokan-sidebar-hover-background-color: var(--wp--preset--color--paper-deep);
	--dokan-sidebar-text-color: var(--wp--preset--color--ink-soft);
	--dokan-sidebar-hover-text-color: var(--wp--preset--color--ink);
	--dokan-link-color: var(--wp--preset--color--ink);
	--dokan-link-hover-color: var(--wp--preset--color--brass);
	--dokan-toggle-active-color: var(--wp--preset--color--gold);
	--dokan-toggle-color: var(--wp--preset--color--ink);
}

/* .dokan-btn-theme has its purple hard-coded rather than through the variables above. */
:is(input[type="submit"], a, button, span).dokan-btn-theme,
.dokan-btn-theme {
	border-color: var(--wp--preset--color--gold);
	background-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--ink);
}
:is(input[type="submit"], a, button, span).dokan-btn-theme:is(:hover, :focus, :active),
.dokan-btn-theme:is(:hover, :focus, :active) {
	border-color: var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}

.elecadi-classic-main #breadcrumbs {
	margin: 0 0 24px;
	color: var(--wp--preset--color--ink-muted);
	font-size: 13px;
}
.elecadi-classic-main #breadcrumbs a {
	color: inherit;
	text-decoration: none;
}
.elecadi-classic-main #breadcrumbs a:hover {
	color: var(--wp--preset--color--ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ───────────── Single store ───────────── */

/* Dokan's notices on a store page (e.g. "no products for this vendor") were a bright blue box with an "i" tab;
   match the theme's other notices: paper background, gold edge. */
body.dokan-store .elecadi-classic-main :is(.dokan-info, .dokan-message, .dokan-error) {
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid var(--wp--preset--color--hairline);
	border-inline-start: 3px solid var(--wp--preset--color--gold);
	border-radius: var(--wp--preset--border-radius--sm);
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
	text-shadow: none;
}
body.dokan-store .elecadi-classic-main .dokan-error {
	border-inline-start-color: var(--wp--preset--color--danger);
}
body.dokan-store .elecadi-classic-main :is(.dokan-info, .dokan-message, .dokan-error)::before {
	content: none;
}

/* No store sidebar (production shows none); the products take the full width. */
.dokan-store #dokan-secondary.dokan-store-sidebar {
	display: none;
}
.dokan-store .dokan-store-wrap #dokan-primary.dokan-single-store {
	float: none;
	width: 100%;
	max-width: none;
}
.dokan-store .dokan-store-wrap::after {
	content: "";
	display: table;
	clear: both;
}

.dokan-store .profile-frame {
	overflow: hidden;
	border-radius: var(--wp--preset--border-radius--md);
	background-color: var(--wp--preset--color--night);
}
.dokan-store .profile-frame .profile-info-box .profile-info-img {
	opacity: 0.55;
}
.dokan-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery {
	background: linear-gradient(to left, rgb(34 29 24 / 0.92), rgb(34 29 24 / 0.6));
	color: var(--wp--preset--color--on-dark);
}
.dokan-store .profile-info-summery .store-name {
	color: var(--wp--preset--color--on-dark);
	font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
	font-weight: 600;
}
.dokan-store .profile-info-summery .dokan-store-info li {
	color: rgb(247 245 241 / 0.8);
	font-size: 14px;
	line-height: 1.8;
}
.dokan-store .profile-info-summery :is(i, .fas, .far) {
	color: var(--wp--preset--color--gold);
}
.dokan-store .profile-info-summery .profile-img img {
	border: 3px solid var(--wp--preset--color--gold);
	background: var(--wp--preset--color--surface);
}
.dokan-store .dokan-profile-frame-wrapper {
	margin-bottom: 0;
	border: 0;
	box-shadow: none;
}
.dokan-store .dokan-store-tabs {
	margin: 0 0 24px;
	padding: 0;
	border: 0 !important;
	border-bottom: 1px solid var(--wp--preset--color--hairline) !important;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.dokan-store #dokan-primary .dokan-store-tabs ul.dokan-modules-button:not(:has(li)) {
	display: none;
}
.dokan-store #dokan-primary .dokan-store-tabs ul.dokan-list-inline {
	display: flex;
	justify-content: flex-start;
	gap: 24px;
	margin: 0;
	padding: 0;
	border: 0;
}
.dokan-store #dokan-primary .dokan-store-tabs ul.dokan-list-inline li {
	flex: none;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
}
.dokan-store #dokan-primary .dokan-store-tabs ul.dokan-list-inline li a {
	display: inline-flex;
	width: auto;
	align-items: center;
	min-height: 52px;
	margin: 0 0 -1px;
	padding: 0;
	border: 0;
	border-bottom: 2px solid var(--wp--preset--color--gold);
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

/* Search and sort row */
.dokan-store .dokan-store-products-filter-area {
	margin: 0 0 24px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.dokan-store .dokan-store-products-ordeby {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.dokan-store .dokan-store-products-ordeby .product-name-search {
	flex: 1 1 240px;
	max-width: 360px;
	margin: 0;
}
.dokan-store .dokan-store-products-ordeby .orderby {
	margin-inline-start: auto;
	float: none;
}
.dokan-store .dokan-store-products-ordeby .search-store-products {
	min-height: 44px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: var(--wp--preset--border-radius--sm);
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* Pagination (store page and store listing) */
.elecadi-classic-main :is(.pagination-wrap ul.pagination, nav.woocommerce-pagination ul) {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}
.elecadi-classic-main :is(.pagination-wrap ul.pagination, nav.woocommerce-pagination ul) li {
	margin: 0;
	border: 0;
}
.elecadi-classic-main :is(.pagination-wrap ul.pagination, nav.woocommerce-pagination ul) .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--sm);
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-size: 14px;
	text-decoration: none;
	box-sizing: border-box;
}
.elecadi-classic-main :is(.pagination-wrap ul.pagination, nav.woocommerce-pagination ul) .page-numbers.current {
	border-color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}
.elecadi-classic-main :is(.pagination-wrap ul.pagination, nav.woocommerce-pagination ul) a.page-numbers:hover {
	border-color: var(--wp--preset--color--ink);
}

/* The store page's own pagination markup */
.dokan-store .dokan-pagination-container {
	max-width: 100%;
	text-align: center;
}
.dokan-store ul.dokan-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
}
.dokan-store ul.dokan-pagination > li {
	float: none;
	margin: 0;
}
.dokan-store ul.dokan-pagination > li > :is(a, span) {
	display: inline-grid;
	place-items: center;
	float: none;
	min-width: 44px;
	height: 44px;
	margin: 0 !important;
	padding: 0 12px;
	border: 1px solid var(--wp--preset--color--hairline) !important;
	border-radius: var(--wp--preset--border-radius--sm) !important;
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	box-sizing: border-box;
}
.dokan-store ul.dokan-pagination > li.active > :is(a, span) {
	border-color: var(--wp--preset--color--ink) !important;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}
.dokan-store ul.dokan-pagination > li.disabled > :is(a, span) {
	color: var(--wp--preset--color--ink-muted);
	opacity: 0.6;
}
@media (max-width: 640px) {
	/* Phones: keep previous, the current page and next (the last item jumps to the last page). */
	.dokan-store ul.dokan-pagination > li:not(:first-child, :nth-last-child(2), .active) {
		display: none;
	}
}

/* ───────────── Store listing ───────────── */
#dokan-seller-listing-wrap ul.dokan-seller-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 24px;
	margin: 0 0 40px;
	padding: 0;
}
#dokan-seller-listing-wrap ul.dokan-seller-wrap::before,
#dokan-seller-listing-wrap ul.dokan-seller-wrap::after {
	display: none;
}
#dokan-seller-listing-wrap ul.dokan-seller-wrap li.dokan-single-seller {
	float: none;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}
#dokan-seller-listing-wrap .store-wrapper {
	overflow: hidden;
	margin: 0 !important;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--surface);
	box-shadow: none !important;
	transition: border-color var(--elecadi-fast) var(--elecadi-ease);
}
#dokan-seller-listing-wrap .store-wrapper:hover {
	border-color: var(--wp--preset--color--hairline-strong);
}
#dokan-seller-listing-wrap .store-content {
	background: linear-gradient(to top, rgb(34 29 24 / 0.85), rgb(34 29 24 / 0.35)) !important;
}
#dokan-seller-listing-wrap .store-data h2 a {
	color: var(--wp--preset--color--on-dark);
	font-size: 20px;
	font-weight: 600;
	text-decoration: none;
}
#dokan-seller-listing-wrap .store-data p {
	color: rgb(247 245 241 / 0.85);
	font-size: 13px;
}
#dokan-seller-listing-wrap .store-footer {
	background: var(--wp--preset--color--surface) !important;
}
#dokan-seller-listing-wrap .store-footer .seller-avatar img {
	border: 3px solid var(--wp--preset--color--surface);
}
#dokan-seller-listing-wrap .store-footer .dokan-btn-round {
	display: grid !important;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
	font-size: 0;
}
#dokan-seller-listing-wrap .store-footer .dokan-btn-round::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--elecadi-icon-arrow-left) center / contain no-repeat;
	mask: var(--elecadi-icon-arrow-left) center / contain no-repeat;
}
#dokan-seller-listing-wrap .store-footer .dokan-btn-round:hover {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--ink);
}
/* Filter bar above the list */
#dokan-store-listing-filter-wrap {
	margin: 0 0 24px !important;
	padding: 16px 20px !important;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--surface);
	box-shadow: none !important;
}
#dokan-store-listing-filter-wrap .dokan-btn-theme,
#dokan-store-listing-filter-form-wrap .dokan-btn-theme {
	border-radius: var(--wp--preset--border-radius--sm);
}

/* ───────────── Vendor dashboard ───────────── */
/* ───────────── Vendor dashboard: sidebar ─────────────
   A store card (the theme prints it), then the menu as quiet rows with line icons, counts as badges,
   one soft-gold active row, Settings' pages listed under it, and "edit account" / "log out" as rows.
   Dokan's own selectors are repeated so these win by loading later; its Font Awesome glyphs are swapped
   for the theme's Lucide line icons through CSS masks on the same <i> elements. */
.dokan-dashboard .dokan-dash-sidebar {
	--elecadi-nav-dashboard: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%227%22 height=%229%22 rx=%221%22/%3E%3Crect x=%2214%22 y=%223%22 width=%227%22 height=%225%22 rx=%221%22/%3E%3Crect x=%2214%22 y=%2212%22 width=%227%22 height=%229%22 rx=%221%22/%3E%3Crect x=%223%22 y=%2216%22 width=%227%22 height=%225%22 rx=%221%22/%3E%3C/svg%3E");
	--elecadi-nav-products: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z%22/%3E%3Cpath d=%22M12 22V12%22/%3E%3Cpath d=%22m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7%22/%3E%3Cpath d=%22m7.5 4.27 9 5.15%22/%3E%3C/svg%3E");
	--elecadi-nav-orders: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z%22/%3E%3Cpath d=%22M3 6h18%22/%3E%3Cpath d=%22M16 10a4 4 0 0 1-8 0%22/%3E%3C/svg%3E");
	--elecadi-nav-quotes: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z%22/%3E%3Cpath d=%22M14 2v4a2 2 0 0 0 2 2h4%22/%3E%3Cpath d=%22M10 9H8%22/%3E%3Cpath d=%22M16 13H8%22/%3E%3Cpath d=%22M16 17H8%22/%3E%3C/svg%3E");
	--elecadi-nav-withdraw: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1%22/%3E%3Cpath d=%22M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4%22/%3E%3C/svg%3E");
	--elecadi-nav-settings: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3C/svg%3E");
	--elecadi-nav-account: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%225%22/%3E%3Cpath d=%22M20 21a8 8 0 0 0-16 0%22/%3E%3C/svg%3E");
	--elecadi-nav-logout: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m16 17 5-5-5-5%22/%3E%3Cpath d=%22M21 12H9%22/%3E%3Cpath d=%22M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4%22/%3E%3C/svg%3E");
	--elecadi-nav-chevron: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E");
	--elecadi-nav-external: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M15 3h6v6%22/%3E%3Cpath d=%22M10 14 21 3%22/%3E%3Cpath d=%22M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6%22/%3E%3C/svg%3E");
	box-sizing: border-box;
	padding: 12px;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--surface);
}
.dokan-dashboard .dokan-dashboard-wrap > .dokan-dash-sidebar {
	align-self: flex-start;
}

/* Store card */
.elecadi-dash-store {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 10px;
	padding: 4px 4px 14px;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}
.elecadi-dash-store__logo {
	display: grid;
	flex: none;
	place-items: center;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--gold-soft);
	color: var(--wp--preset--color--brass);
	font-size: 17px;
	font-weight: 700;
	object-fit: cover;
}
.elecadi-dash-store__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
/* dir="auto" on the name: a Latin store name runs left to right, so it's cut at its end ("Claude Staging Te…"),
   not its start; text-align keeps it on the card's right edge like Arabic names. */
.elecadi-dash-store__name {
	overflow: hidden;
	text-align: right;
	color: var(--wp--preset--color--ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.elecadi-dash-store__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	align-self: flex-start;
	color: var(--wp--preset--color--ink-muted);
	font-size: 13px;
	line-height: 1.3;
	text-decoration: none;
}
.elecadi-dash-store__link::after {
	content: "";
	width: 12px;
	height: 12px;
	background-color: currentColor;
	-webkit-mask: var(--elecadi-nav-external) center / contain no-repeat;
	mask: var(--elecadi-nav-external) center / contain no-repeat;
	transform: scaleX(-1); /* points into the page in RTL */
}
.elecadi-dash-store__link:is(:hover, :focus-visible) {
	color: var(--wp--preset--color--brass);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Menu */
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu {
	margin: 0;
	padding: 0;
	background: none;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li {
	position: relative;
	float: none;
	width: auto;
	margin: 0 0 2px;
	border: 0;
	border-radius: var(--wp--preset--border-radius--md);
	background: none !important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li::after,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li.active::after,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li:hover:not(.active).has-submenu::after {
	content: none !important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li > a {
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	min-height: 40px;
	padding: 8px 12px !important;
	border-radius: var(--wp--preset--border-radius--md);
	color: var(--wp--preset--color--ink-soft) !important;
	font-size: 14px;
	font-weight: 500 !important;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color var(--wp--custom--duration--fast, .15s) ease, color var(--wp--custom--duration--fast, .15s) ease;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a i {
	padding: 0 !important;
}
/* Line icons in place of the Font Awesome glyphs. */
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu :is(li.dashboard, li.products, li.orders, li.quotes, li.withdraw, li.settings, li.elecadi-nav-account, li.elecadi-nav-logout) > a > i:first-child {
	flex: none;
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	margin: 0;
	background-color: var(--wp--preset--color--ink-muted);
	font-size: 0;
	-webkit-mask: var(--elecadi-nav-icon) center / contain no-repeat;
	mask: var(--elecadi-nav-icon) center / contain no-repeat;
	transition: background-color var(--wp--custom--duration--fast, .15s) ease;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu :is(li.dashboard, li.products, li.orders, li.quotes, li.withdraw, li.settings, li.elecadi-nav-account, li.elecadi-nav-logout) > a > i:first-child::before {
	content: none;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dashboard { --elecadi-nav-icon: var(--elecadi-nav-dashboard); }
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.products { --elecadi-nav-icon: var(--elecadi-nav-products); }
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.orders { --elecadi-nav-icon: var(--elecadi-nav-orders); }
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.quotes { --elecadi-nav-icon: var(--elecadi-nav-quotes); }
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.withdraw { --elecadi-nav-icon: var(--elecadi-nav-withdraw); }
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.settings { --elecadi-nav-icon: var(--elecadi-nav-settings); }
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.elecadi-nav-account { --elecadi-nav-icon: var(--elecadi-nav-account); }
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.elecadi-nav-logout { --elecadi-nav-icon: var(--elecadi-nav-logout); }
.dokan-dashboard .dokan-dash-sidebar .elecadi-nav-label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.dokan-dashboard .dokan-dash-sidebar .elecadi-nav-count {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 22px;
	height: 20px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--wp--preset--color--stone);
	color: var(--wp--preset--color--ink-soft);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
/* Hover */
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li:not(.active) > a:hover {
	background: var(--wp--preset--color--paper-deep);
	color: var(--wp--preset--color--ink) !important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li:not(.active) > a:hover > i:first-child {
	background-color: var(--wp--preset--color--ink-soft);
}
/* Active: one soft-gold row */
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li.active > a {
	background: var(--wp--preset--color--gold-soft);
	color: var(--wp--preset--color--ink) !important;
	font-weight: 700 !important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li.active > a > i:first-child {
	background-color: var(--wp--preset--color--brass);
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li.active .elecadi-nav-count {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--brass);
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li > a:focus-visible {
	outline: 2px solid var(--wp--preset--color--ink);
	outline-offset: -2px;
}
/* Settings: a chevron, its pages listed underneath while it is open (no hover fly-out). */
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li > a i.menu-dropdown {
	display: block !important;
	flex: none;
	width: 14px;
	height: 14px;
	margin: 0;
	background-color: var(--wp--preset--color--ink-muted);
	font-size: 0;
	-webkit-mask: var(--elecadi-nav-chevron) center / contain no-repeat;
	mask: var(--elecadi-nav-chevron) center / contain no-repeat;
	transform: none;
	transition: transform var(--wp--custom--duration--fast, .15s) ease;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li > a i.menu-dropdown::before {
	content: none;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li.active > a i.menu-dropdown {
	background-color: var(--wp--preset--color--brass);
	transform: rotate(180deg);
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li:not(.active) ul.navigation-submenu,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover:not(.active) ul.navigation-submenu {
	display: none !important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active ul.navigation-submenu {
	position: relative;
	inset: auto;
	min-width: 0;
	margin: 2px 0 4px;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active ul.navigation-submenu::before {
	content: "";
	position: absolute;
	top: 4px;
	bottom: 4px;
	inset-inline-start: 20px;
	width: 1px;
	background: var(--wp--preset--color--hairline);
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li {
	padding: 0 !important;
	background: none;
	line-height: 1.3;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li::before {
	content: none !important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li a {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 36px;
	padding: 6px 12px;
	padding-inline-start: 42px;
	border-radius: var(--wp--preset--border-radius--md);
	color: var(--wp--preset--color--ink-muted);
	font-size: 13.5px;
	font-weight: 500 !important;
	text-decoration: none;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li a i {
	display: none;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li a:hover {
	background: var(--wp--preset--color--paper-deep);
	color: var(--wp--preset--color--ink);
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li.current a {
	color: var(--wp--preset--color--ink);
	font-weight: 700 !important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li.current a::before {
	content: "";
	position: absolute;
	inset-inline-start: 18px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--wp--preset--color--gold);
}
/* Account rows, set apart by a rule; log out turns red on hover. */
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li.elecadi-nav-account {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--wp--preset--color--hairline);
	border-radius: 0;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li.elecadi-nav-logout > a:hover {
	background: rgb(196 18 11 / 0.06);
	color: var(--wp--preset--color--danger) !important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li.elecadi-nav-logout > a:hover > i:first-child {
	background-color: var(--wp--preset--color--danger);
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li.elecadi-nav-logout > a > i:first-child {
	transform: scaleX(-1); /* the arrow leaves towards the page edge in RTL */
}
/* Tablets (451–767px): Dokan lays the items out inline with dark separators; wrap them as tiles. */
@media (min-width: 451px) and (max-width: 767px) {
	.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
	}
	.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li {
		display: block;
		flex: 1 1 calc(33% - 4px);
		margin: 0;
		border: 0 !important;
	}
	.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li.elecadi-nav-account {
		margin-top: 6px;
		padding-top: 0;
		border-top: 0 !important;
	}
}
/* Phones (450px and below): Dokan's ☰ button opens the list. */
@media (max-width: 450px) {
	.dokan-dashboard .dokan-dash-sidebar #dokan-navigation #mobile-menu-icon {
		display: flex !important;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 100%;
		height: 40px;
		border: 1px solid var(--wp--preset--color--hairline);
		border-radius: var(--wp--preset--border-radius--md);
		color: var(--wp--preset--color--ink);
		font-size: 18px;
		cursor: pointer;
		position: static !important;
	}
	.dokan-dashboard .dokan-dash-sidebar #dokan-navigation {
		height: auto !important;
	}
	.dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu {
		padding-top: 8px !important;
		background: none !important;
	}
	.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li {
		display: block;
		float: none;
		width: 100%;
		border: 0 !important;
	}
	.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu > li.elecadi-nav-account {
		border-top: 1px solid var(--wp--preset--color--hairline) !important;
	}
}

.dokan-dashboard .dokan-dashboard-content .dokan-panel,
.dokan-dashboard .dokan-dashboard-content .dashboard-widget {
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--md);
	box-shadow: none;
}
.dokan-dashboard .dokan-dashboard-content :is(h1, h2, h3).entry-title,
.dokan-dashboard .dokan-dashboard-header .entry-title {
	color: var(--wp--preset--color--ink);
	font-size: 20px;
	font-weight: 600;
}
.dokan-dashboard .dokan-table {
	width: 100%;
	border-collapse: collapse;
}
.dokan-dashboard .dokan-table thead th {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink-soft);
	font-size: 13px;
	font-weight: 600;
}
.dokan-dashboard .dokan-btn,
.elecadi-classic-main .dokan-btn {
	border-radius: var(--wp--preset--border-radius--sm);
	font-family: inherit;
}
.dokan-dashboard :is(.dokan-btn-theme, .dokan-btn-default):focus-visible {
	outline: 2px solid var(--wp--preset--color--ink);
	outline-offset: 2px;
}

/* ───────────── Vendor registration ───────────── */
form.register.dokan-vendor-register {
	max-width: 720px;
	margin: 0;
	padding: 28px;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--surface);
	box-sizing: border-box;
}
form.dokan-vendor-register .split-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}
@media (max-width: 640px) {
	form.dokan-vendor-register .split-row {
		grid-template-columns: minmax(0, 1fr);
	}
}
form.dokan-vendor-register .form-row {
	float: none;
	width: auto;
	margin: 0 0 16px;
	padding: 0;
}
form.dokan-vendor-register label {
	display: block;
	float: none !important;
	margin-bottom: 6px;
	color: var(--wp--preset--color--ink-soft);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
}
form.dokan-vendor-register .required {
	color: var(--wp--preset--color--danger);
}
form.dokan-vendor-register :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea) {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--wp--preset--color--hairline-strong);
	border-radius: var(--wp--preset--border-radius--sm);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font: inherit;
	font-size: 15px;
	box-sizing: border-box;
}
form.dokan-vendor-register :is(input, select, textarea):focus {
	border-color: var(--wp--preset--color--ink);
	outline: none;
	box-shadow: 0 0 0 3px rgb(24 21 18 / 0.1);
}
/* Store URL preview: "https://…/store/<slug>" above the field */
form.dokan-vendor-register #url-alart-mgs {
	float: none !important;
	display: block;
	margin-bottom: 6px;
	color: var(--wp--preset--color--ink-muted);
	font-size: 12px;
	font-weight: 400;
	direction: ltr;
	text-align: end;
}
form.dokan-vendor-register #seller-url + small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
}
form.dokan-vendor-register .cf-turnstile {
	margin: 8px 0 16px;
}
form.dokan-vendor-register .cf-turnstile-br {
	display: none;
}
form.dokan-vendor-register input[name="register"] {
	width: 100%;
	min-height: 52px;
	border: 0;
	border-radius: var(--wp--preset--border-radius--sm);
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--ink);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}
form.dokan-vendor-register input[name="register"]:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}

/* ── Vendor dashboard: Dokan's analytics screens reuse WooCommerce Admin components ── */
/* Their page header ("Overview", "Balance") has z-index 1001; scrolled under our sticky site header
   (z-index 50) it painted over it. */
body.dokan-dashboard .woocommerce-layout__header {
	z-index: 10;
}
/* The page title ("نظرة عامة") was squeezed to 80px and broke onto two lines. */
body.dokan-dashboard .woocommerce-layout__header :is(h1, h3, .entry-title, .woocommerce-layout__header-heading) {
	flex-shrink: 0;
	width: auto;
	white-space: nowrap;
}
/* The date-range picker's calendar is a fixed 319px wide, but the pop-up left it 287px (320px minus
   padding and its scrollbar), so on RTL pages the first column was cut off on the left. */
body.dokan-dashboard .woocommerce-filters-date__content .components-popover__content {
	width: 372px;
	max-width: calc(100vw - 32px);
	overflow-x: hidden;
}

/* Dokan's React screens (Orders, Withdraw) use left/right paddings that aren't flipped for right-to-left. */
body.dokan-dashboard .dataviews-view-table tr > :is(td, th):first-child {
	padding-left: 12px;
	padding-right: 20px;
}
body.dokan-dashboard .dataviews-view-table tr > :is(td, th):last-child {
	padding-left: 20px;
	padding-right: 12px;
}
body.dokan-dashboard [data-slot="input-group-addon"][data-align="inline-start"] {
	padding-left: 0;
	padding-right: 10px;
}
body.dokan-dashboard [data-slot="input-group-addon"][data-align="inline-end"] {
	padding-left: 10px;
	padding-right: 0;
}

/* Store settings: the title and the top "update settings" button were floats glued together; lay them
   out as one row with the button at the far end. */
body.dokan-dashboard .dokan-settings-area > .dokan-dashboard-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
}
/* Its clearfix ::before/::after would count as flex items and pull the button towards the middle. */
body.dokan-dashboard .dokan-settings-area > .dokan-dashboard-header::before,
body.dokan-dashboard .dokan-settings-area > .dokan-dashboard-header::after {
	content: none;
}
body.dokan-dashboard .dokan-settings-area > .dokan-dashboard-header > * {
	float: none;
	width: auto;
}
body.dokan-dashboard .dokan-store-settign-header-wrap .entry-title {
	padding-bottom: 0;
}
body.dokan-dashboard .dokan-store-settign-header-wrap .entry-title small {
	margin-inline-start: 8px;
}
body.dokan-dashboard .dokan-update-setting-top-button {
	float: none;
	padding: 10px 24px;
}
/* Banner upload: the cloud icon touched a narrow button. */
body.dokan-dashboard .dokan-banner .button-area:not(.dokan-hide) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
body.dokan-dashboard .dokan-banner .button-area .fa-cloud-upload-alt {
	font-size: 22px;
	color: var(--wp--preset--color--ink-muted);
}
body.dokan-dashboard .dokan-banner .button-area .dokan-banner-drag {
	min-width: 160px;
	padding: 10px 24px;
}
body.dokan-dashboard .dokan-banner .button-area .help-block {
	flex-basis: 100%;
}

/* Orders: the "Export" dropdown is pinned to the button's right edge and 160px wide, so in RTL it grew
   past the content's left edge and was cut off. Anchor it to the left edge, items right-aligned. */
body.dokan-dashboard .dokan-header-actions .relative > .absolute.top-full {
	left: 0 !important; /* Dokan's Tailwind is scoped to an ID, so it outranks a class selector */
	right: auto !important;
	min-width: max(100%, 180px) !important;
}
body.dokan-dashboard .dokan-header-actions .relative > .absolute.top-full > * {
	text-align: start !important;
}
/* Column headings were aligned to the left while the cells start on the right, so in RTL no heading
   sat over its column. The actions column keeps both at the far (left) end. */
body.dokan-dashboard .dataviews-view-table thead th {
	text-align: start !important;
}
body.dokan-dashboard .dataviews-view-table tr > :is(td, th):last-child {
	text-align: end !important;
}

/* ── Vendor dashboard: a single quote (/dashboard/quotes/?quote_id=…) ──
   From xtnd-vendor-quote-offers-for-dokan (templates/single-quote.php): bare tables. Laid out as a
   summary strip, the items in a card, and totals + actions in a side column. */
body.dokan-dashboard .addify-quote-details {
	--quote-card-border: 1px solid var(--wp--preset--color--hairline);
	margin: 0;
	font-size: 14px;
}
body.dokan-dashboard .addify-quote-details > form {
	display: grid;
	gap: 24px;
}
body.dokan-dashboard .addify-quote-details :is(h2, h5) {
	margin: 0 0 12px;
	color: var(--wp--preset--color--ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}
body.dokan-dashboard .addify-quote-details :is(input[type="number"], select) {
	box-sizing: border-box;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--wp--preset--color--hairline-strong);
	border-radius: var(--wp--preset--border-radius--sm);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font: inherit;
}
body.dokan-dashboard .addify-quote-details :is(input[type="number"], select):focus {
	border-color: var(--wp--preset--color--ink);
	outline: none;
}

/* Summary strip: quote number, date, status. */
body.dokan-dashboard .addify-quote-details table.quote_details {
	display: block;
	width: 100%;
	margin: 0;
	padding: 20px 24px;
	border: var(--quote-card-border);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--surface);
	box-sizing: border-box;
}
body.dokan-dashboard .addify-quote-details table.quote_details tbody {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px 32px;
}
body.dokan-dashboard .addify-quote-details table.quote_details tr {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
body.dokan-dashboard .addify-quote-details table.quote_details :is(th, td) {
	padding: 0;
	border: 0;
	background: none;
	text-align: start;
}
body.dokan-dashboard .addify-quote-details table.quote_details th {
	color: var(--wp--preset--color--ink-muted);
	font-size: 13px;
	font-weight: 500;
}
body.dokan-dashboard .addify-quote-details table.quote_details td {
	color: var(--wp--preset--color--ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 40px; /* level with the status select */
}
body.dokan-dashboard .addify-quote-details table.quote_details select {
	width: 100%;
	max-width: 240px;
	font-size: 14px;
	font-weight: 500;
}

/* Items and totals: the wrapper around the items is flattened so its parts join one grid. */
body.dokan-dashboard .addify-quote-details .vendor-quote-details-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
body.dokan-dashboard .addify-quote-details .vendor-quote-details-layout-table {
	display: contents;
}
body.dokan-dashboard .addify-quote-details .vendor-quote-details-layout-table > h2 {
	margin-bottom: -12px;
}
body.dokan-dashboard .addify-quote-details table.addify-quote-form__contents {
	width: 100%;
	margin: 0;
	border: var(--quote-card-border);
	border-radius: var(--wp--preset--border-radius--md);
	border-collapse: separate;
	border-spacing: 0;
	background: var(--wp--preset--color--surface);
	overflow: hidden;
}
body.dokan-dashboard .addify-quote-details table.addify-quote-form__contents :is(th, td) {
	padding: 14px 12px;
	border: 0;
	border-bottom: var(--quote-card-border);
	background: none;
	text-align: start;
	vertical-align: middle;
}
body.dokan-dashboard .addify-quote-details table.addify-quote-form__contents tbody tr:last-child td {
	border-bottom: 0;
}
body.dokan-dashboard .addify-quote-details table.addify-quote-form__contents thead th {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink-muted);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}
body.dokan-dashboard .addify-quote-details table.addify-quote-form__contents :is(th, td):first-child {
	padding-inline-start: 20px;
}
body.dokan-dashboard .addify-quote-details table.addify-quote-form__contents :is(th, td):last-child {
	padding-inline-end: 20px;
}
body.dokan-dashboard .addify-quote-details td.product-thumbnail {
	width: 64px;
}
body.dokan-dashboard .addify-quote-details td.product-thumbnail img {
	display: block;
	width: 64px !important;
	height: 64px;
	padding: 6px;
	border-radius: var(--wp--preset--border-radius--sm);
	background: var(--wp--preset--color--paper);
	object-fit: contain;
	mix-blend-mode: multiply;
	box-sizing: border-box;
}
body.dokan-dashboard .addify-quote-details td.product-name {
	color: var(--wp--preset--color--ink-muted);
	font-size: 13px;
	line-height: 1.7;
}
body.dokan-dashboard .addify-quote-details td.product-name > a {
	color: var(--wp--preset--color--ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
body.dokan-dashboard .addify-quote-details td.product-name > br {
	display: none;
}
body.dokan-dashboard .addify-quote-details td:is(.product-price, .product-subtotal) {
	white-space: nowrap;
}
body.dokan-dashboard .addify-quote-details td.product-subtotal:last-child {
	color: var(--wp--preset--color--ink);
	font-weight: 700;
}
body.dokan-dashboard .addify-quote-details td.offered-price input {
	width: 110px;
}
body.dokan-dashboard .addify-quote-details td.product-quantity .quantity {
	margin: 0;
}
body.dokan-dashboard .addify-quote-details td.product-quantity input.qty {
	width: 76px;
	text-align: center;
}

/* Side cards: totals, then the note, "notify customer" and the buttons. */
body.dokan-dashboard .addify-quote-details :is(.cart-collaterals, .actions) {
	float: none;
	width: auto;
	margin: 0;
	padding: 20px 24px;
	border: var(--quote-card-border);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--surface);
}
body.dokan-dashboard .addify-quote-details .cart-collaterals .cart_totals {
	float: none;
	width: auto;
}
body.dokan-dashboard .addify-quote-details table.addify_quote_items_total {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}
body.dokan-dashboard .addify-quote-details table.addify_quote_items_total :is(th, td) {
	padding: 10px 0;
	border: 0;
	border-bottom: 1px dashed var(--wp--preset--color--hairline);
	background: none;
	vertical-align: middle;
}
body.dokan-dashboard .addify-quote-details table.addify_quote_items_total td:first-child {
	color: var(--wp--preset--color--ink-muted);
	text-align: start;
}
body.dokan-dashboard .addify-quote-details table.addify_quote_items_total :is(th, td):last-child {
	color: var(--wp--preset--color--ink);
	font-weight: 700;
	text-align: end;
	white-space: nowrap;
}
body.dokan-dashboard .addify-quote-details table.addify_quote_items_total tr:last-child :is(th, td) {
	padding-top: 14px;
	border-bottom: 0;
	font-size: 16px;
}
body.dokan-dashboard .addify-quote-details .afrfq_shipping_cost input {
	width: 120px;
	text-align: end;
}
body.dokan-dashboard .addify-quote-details .actions > div {
	display: grid;
	gap: 16px;
}
body.dokan-dashboard .addify-quote-details .actions p {
	margin: 0;
	padding: 10px 12px;
	border-radius: var(--wp--preset--border-radius--sm);
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink-muted);
	font-size: 13px;
	line-height: 1.7;
}
body.dokan-dashboard .addify-quote-details .afrfq_notify_customer {
	display: grid;
	gap: 6px;
}
body.dokan-dashboard .addify-quote-details .afrfq_notify_customer h5 {
	margin: 0;
	color: var(--wp--preset--color--ink-muted);
	font-size: 13px;
	font-weight: 500;
}
body.dokan-dashboard .addify-quote-details .afrfq_notify_customer select {
	width: 100%;
}
body.dokan-dashboard .addify-quote-details .action-buttons {
	display: grid;
	gap: 10px;
}
/* The plugin prints its button colours (from its settings) with !important; these win by specificity. */
body.dokan-dashboard .addify-quote-details .action-buttons .button {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 20px;
	border: 1px solid var(--wp--preset--color--ink) !important;
	border-radius: var(--wp--preset--border-radius--sm);
	background: transparent !important;
	color: var(--wp--preset--color--ink) !important;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color var(--elecadi-fast) var(--elecadi-ease), color var(--elecadi-fast) var(--elecadi-ease);
}
body.dokan-dashboard .addify-quote-details .action-buttons .button.afrfq_update_quote_btn_vendor {
	border-color: var(--wp--preset--color--gold) !important;
	background: var(--wp--preset--color--gold) !important;
}
body.dokan-dashboard .addify-quote-details .action-buttons .button:is(:hover, :focus-visible) {
	border-color: var(--wp--preset--color--ink) !important;
	background: var(--wp--preset--color--ink) !important;
	color: var(--wp--preset--color--on-dark) !important;
}
body.dokan-dashboard .addify-quote-details .right-buttons {
	text-align: start !important;
}

/* Mid widths: items across the full width, totals and actions side by side underneath. */
@media (min-width: 782px) and (max-width: 1439px) {
	body.dokan-dashboard .addify-quote-details .vendor-quote-details-layout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	body.dokan-dashboard .addify-quote-details .vendor-quote-details-layout-table > :is(h2, table) {
		grid-column: 1 / -1;
	}
}
/* Wide screens: totals and actions in a side column. */
@media (min-width: 1440px) {
	body.dokan-dashboard .addify-quote-details .vendor-quote-details-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
	body.dokan-dashboard .addify-quote-details .vendor-quote-details-layout-table > h2 {
		grid-column: 1;
		grid-row: 1;
	}
	body.dokan-dashboard .addify-quote-details table.addify-quote-form__contents {
		grid-column: 1;
		grid-row: 2 / span 2;
	}
	body.dokan-dashboard .addify-quote-details .cart-collaterals {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
	body.dokan-dashboard .addify-quote-details .actions {
		grid-column: 2;
		grid-row: 3;
	}
}

/* Phones: the items table scrolls sideways instead of squeezing the inputs. */
@media (max-width: 781px) {
	body.dokan-dashboard .addify-quote-details table.addify-quote-form__contents {
		display: block;
		overflow-x: auto;
	}
}

/* React screens (Orders, Withdraw): Tailwind's focus ring sits 2px off the button with a white gap, which
   next to the button's own border read as a double frame. One ring, and only for keyboard focus. */
body.dokan-dashboard #dokan-vendor-dashboard-root :is(button, a):focus:not(:focus-visible) {
	--tw-ring-shadow: 0 0 #0000 !important;
	--tw-ring-offset-shadow: 0 0 #0000 !important;
}
body.dokan-dashboard #dokan-vendor-dashboard-root :is(button, a):focus-visible {
	--tw-ring-offset-width: 0px !important;
	--tw-ring-color: var(--wp--preset--color--ink) !important;
}

/* ── Vendor dashboard: an order (/dashboard/orders/?order_id=…) ── */
/* Downloadable products: the search field and "grant access" on one row. */
.dokan-dashboard .order_download_permissions .toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.dokan-dashboard .order_download_permissions .toolbar::before,
.dokan-dashboard .order_download_permissions .toolbar::after {
	content: none;
}
.dokan-dashboard .order_download_permissions .toolbar > div {
	float: none;
	width: auto;
	margin: 0 !important;
	padding: 0;
}
.dokan-dashboard .order_download_permissions .toolbar > .dokan-w12 {
	flex: 1 1 260px;
	min-width: 0;
}
.dokan-dashboard .order_download_permissions .dokan-btn.dokan-btn-success.grant_access {
	min-height: 44px;
	padding: 8px 20px;
	border: 0;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
	font-weight: 700;
}
.dokan-dashboard .order_download_permissions .dokan-btn.dokan-btn-success.grant_access:hover {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--ink);
}

/* ── Vendor dashboard: quotes list (/dashboard/quotes/) ── */
.dokan-dashboard .xvqo-quotes-list :is(.dokan-quote-search-form, .dokan-quote-actions-form) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
}
.dokan-dashboard .xvqo-quotes-list :is(.dokan-form-group, label) {
	float: none;
	margin: 0;
}
.dokan-dashboard .xvqo-quotes-list .dokan-quote-search-form input.dokan-form-control {
	width: 280px;
	max-width: 100%;
}
.dokan-dashboard .xvqo-quotes-list select.dokan-form-control {
	min-width: 200px;
	height: 44px;
}
.dokan-dashboard .xvqo-quotes-list :is(input.dokan-form-control, select.dokan-form-control) {
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--wp--preset--color--hairline-strong);
	border-radius: var(--wp--preset--border-radius--sm);
	box-shadow: none;
	font-size: 14px;
}
.dokan-dashboard .xvqo-quotes-list .dokan-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.dokan-dashboard .xvqo-quotes-list .dokan-btn:not(.dokan-btn-theme) {
	border: 1px solid var(--wp--preset--color--hairline-strong);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink-soft);
}
.dokan-dashboard .xvqo-quotes-list .dokan-btn:not(.dokan-btn-theme):hover {
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
}
/* The table: a bordered card like the orders list. */
.dokan-dashboard .xvqo-quotes-list table.my_account_quotes {
	width: 100%;
	margin: 4px 0 0;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--md);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--wp--preset--color--surface);
}
.dokan-dashboard .xvqo-quotes-list table.my_account_quotes :is(th, td) {
	padding: 14px 16px;
	border: 0;
	background: none;
	text-align: start;
	vertical-align: middle;
	font-size: 14px;
}
.dokan-dashboard .xvqo-quotes-list table.my_account_quotes thead th {
	background: var(--wp--preset--color--paper);
	border-bottom: 1px solid var(--wp--preset--color--hairline);
	color: var(--wp--preset--color--ink-muted);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
.dokan-dashboard .xvqo-quotes-list table.my_account_quotes tbody tr + tr td {
	border-top: 1px solid var(--wp--preset--color--hairline);
}
.dokan-dashboard .xvqo-quotes-list table.my_account_quotes tbody tr:hover td {
	background: var(--wp--preset--color--paper);
}
.dokan-dashboard .xvqo-quotes-list table.my_account_quotes .check-column {
	width: 20px;
	padding-inline-end: 0;
}
.dokan-dashboard .xvqo-quotes-list table.my_account_quotes tr > :last-child {
	text-align: end;
	white-space: nowrap;
}
.dokan-dashboard .xvqo-quotes-list .xvqo-quote-number {
	color: var(--wp--preset--color--ink);
	font-weight: 700;
	text-decoration: none;
}
.dokan-dashboard .xvqo-quotes-list .xvqo-quote-number:hover {
	color: var(--wp--preset--color--brass);
}
.dokan-dashboard .xvqo-quotes-list td.xvqo-quotes-empty {
	padding: 40px 16px;
	color: var(--wp--preset--color--ink-muted);
	text-align: center !important;
}
/* Status pill */
.dokan-dashboard .xvqo-quote-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--wp--preset--color--stone);
	color: var(--wp--preset--color--ink-soft);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.dokan-dashboard .xvqo-quote-status:is(.is-pending, .is-in_process) {
	background: var(--wp--preset--color--gold-soft);
	color: var(--wp--preset--color--brass);
}
.dokan-dashboard .xvqo-quote-status:is(.is-accepted, .is-converted) {
	background: rgb(26 101 59 / 0.1);
	color: var(--wp--preset--color--stock);
}
.dokan-dashboard .xvqo-quote-status:is(.is-declined, .is-cancelled) {
	background: rgb(196 18 11 / 0.08);
	color: var(--wp--preset--color--danger);
}
/* Row actions: "view" and the PDF icon as small outline buttons. */
.dokan-dashboard .xvqo-quotes-list td[data-title="Action"] :is(a.button, button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 36px;
	min-height: 36px;
	margin: 0;
	padding: 6px 14px;
	border: 1px solid var(--wp--preset--color--hairline-strong);
	border-radius: var(--wp--preset--border-radius--sm);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	vertical-align: middle;
	cursor: pointer;
}
.dokan-dashboard .xvqo-quotes-list td[data-title="Action"] button.fa-file-pdf {
	padding: 6px 10px;
	font-size: 15px;
	margin-inline-start: 6px;
}
.dokan-dashboard .xvqo-quotes-list td[data-title="Action"] :is(a.button, button):hover {
	border-color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}
@media (max-width: 781px) {
	.dokan-dashboard .xvqo-quotes-list .dokan-quote-search-form input.dokan-form-control {
		width: 100%;
	}
	.dokan-dashboard .xvqo-quotes-list .dokan-quote-search-form .dokan-form-group {
		flex: 1 1 100%;
	}
}


/* Dashboard drop-downs: Dokan strips the native arrow and draws none of its own. */
.dokan-dashboard .dokan-dashboard-content select:not([multiple]):not(.select2-hidden-accessible) {
	appearance: none;
	padding-inline-end: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2367635d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}
[dir="rtl"] .dokan-dashboard .dokan-dashboard-content select:not([multiple]):not(.select2-hidden-accessible),
.dokan-dashboard[dir="rtl"] .dokan-dashboard-content select:not([multiple]):not(.select2-hidden-accessible),
.rtl.dokan-dashboard .dokan-dashboard-content select:not([multiple]):not(.select2-hidden-accessible) {
	background-position: left 12px center;
}

/* Orders: the date-range pop-up was capped to the space left below it and scrolled inside itself, with a
   gold focus frame around the whole pop-up. It now opens at full height; the page scrolls instead. */
body.dokan-dashboard .components-popover.dokan-layout .components-popover__content {
	max-height: none !important;
	overflow: visible !important;
	outline: none;
}
body.dokan-dashboard .components-popover.dokan-layout:focus,
body.dokan-dashboard .components-popover.dokan-layout .components-popover__content:focus {
	outline: none;
	box-shadow: none;
}

/* Quotes list on small screens: the table scrolls sideways instead of pushing past the page. */
@media (max-width: 781px) {
	.dokan-dashboard .xvqo-quotes-list table.my_account_quotes {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* ── Vendor dashboard: payment settings (/dashboard/settings/payment/) ──
   Dokan's defaults: a grey bar, a grey link with a ▼, and a hover list with a black frame that cut its
   labels short. The selectors carry three IDs to outrank Dokan's two. */
#dokan-payment-methods-listing-wrapper.payment-methods-listing-header {
	gap: 12px;
	margin: 16px 0 0;
	padding: 12px 16px;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--md) var(--wp--preset--border-radius--md) 0 0;
	background: var(--wp--preset--color--paper);
}
#dokan-payment-methods-listing-wrapper.payment-methods-listing-header > h2 {
	margin: 0;
	color: var(--wp--preset--color--ink);
	font-size: 17px;
	font-weight: 700;
}
#dokan-payment-methods-listing-wrapper.payment-methods-listing-header > div {
	flex-grow: 0;
	text-align: end;
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown {
	position: relative;
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #toggle-vendor-payment-method-drop-down {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	box-sizing: border-box;
	padding: 8px 16px;
	border: 1px solid var(--wp--preset--color--ink);
	border-radius: var(--wp--preset--border-radius--sm);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #toggle-vendor-payment-method-drop-down::before {
	content: "+";
	font-size: 18px;
	line-height: 1;
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #toggle-vendor-payment-method-drop-down::after {
	position: static;
	content: "";
	width: 7px;
	height: 7px;
	margin: -4px 4px 0 0;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown:is(:hover, :focus-within) #toggle-vendor-payment-method-drop-down {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--on-dark);
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown:is(:hover, :focus-within) #toggle-vendor-payment-method-drop-down::after {
	margin-top: 4px;
	transform: rotate(225deg);
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #vendor-payment-method-drop-down-wrapper {
	position: absolute;
	top: 100%;
	inset-inline-end: 0;
	left: auto;
	z-index: 20;
	padding-top: 6px; /* keeps the hover alive between the button and the list */
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #vendor-payment-method-drop-down {
	position: static;
	min-width: 260px;
	max-height: none;
	padding: 6px;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--surface);
	box-shadow: 0 8px 24px rgb(24 21 18 / 0.12);
	text-align: start;
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown:is(:hover, :focus-within) #vendor-payment-method-drop-down {
	display: block;
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #vendor-payment-method-drop-down ul {
	max-height: none;
	overflow: visible;
	padding: 0;
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #vendor-payment-method-drop-down ul li {
	border: 0;
	border-radius: var(--wp--preset--border-radius--sm);
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #vendor-payment-method-drop-down ul li:hover {
	background: var(--wp--preset--color--paper-deep);
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #vendor-payment-method-drop-down ul li a {
	display: block;
	text-decoration: none;
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #vendor-payment-method-drop-down ul li div {
	gap: 12px;
	padding: 10px 12px;
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #vendor-payment-method-drop-down ul li div img {
	flex: none;
	width: 36px;
	height: 36px;
	box-sizing: border-box;
	padding: 3px;
	border: 1px solid var(--wp--preset--color--hairline);
	background: var(--wp--preset--color--paper);
}
#dokan-payment-methods-listing-wrapper #vendor-dashboard-payment-settings-toggle-dropdown #vendor-payment-method-drop-down ul li div span {
	margin: 0;
	padding: 0;
	color: var(--wp--preset--color--ink);
	font-size: 14px;
	font-weight: 600;
}
/* The list of added methods (or the empty note) as the card's body. */
body.dokan-dashboard .dokan-dashboard-content article.dokan-settings-area .dokan-payment-settings-summary > :is(ul, .no-content) {
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--wp--preset--color--hairline);
	border-top: 0;
	border-radius: 0 0 var(--wp--preset--border-radius--md) var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--surface);
}
body.dokan-dashboard .dokan-dashboard-content article.dokan-settings-area .dokan-payment-settings-summary > .no-content {
	padding: 40px 16px;
	color: var(--wp--preset--color--ink-muted);
	text-align: center;
}
body.dokan-dashboard .dokan-dashboard-content article.dokan-settings-area .dokan-payment-settings-summary > ul li > div {
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}
body.dokan-dashboard .dokan-dashboard-content article.dokan-settings-area .dokan-payment-settings-summary > ul li:last-child > div {
	border-bottom: 0;
}
body.dokan-dashboard .dokan-dashboard-content article.dokan-settings-area .dokan-payment-settings-summary > ul li > div > div {
	gap: 12px;
}
body.dokan-dashboard .dokan-dashboard-content article.dokan-settings-area .dokan-payment-settings-summary > ul li > div > div img {
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	padding: 4px;
	border: 1px solid var(--wp--preset--color--hairline);
	background: var(--wp--preset--color--paper);
}
body.dokan-dashboard .dokan-dashboard-content article.dokan-settings-area .dokan-payment-settings-summary > ul li > div > div span {
	margin: 0;
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}
/* The intro line above the card. */
.dokan-dashboard .dokan-settings-area .dokan-page-help {
	color: var(--wp--preset--color--ink-muted);
	font-size: 14px;
	line-height: 1.7;
}

/* Dashboard buttons are 44px tall but Dokan makes them inline blocks (blocks when floated), so the label and
   icon sat at the top. As flex boxes they centre both ways. */
.dokan-dashboard .dokan-dashboard-content :is(a, button, span).dokan-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.dokan-dashboard .dokan-dashboard-content :is(a, button, span).dokan-btn > i {
	margin: 0;
}

/* ── Vendor dashboard: products list toolbar (one form: search + filters, the theme template) ── */
.dokan-dashboard .elecadi-product-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0 0 16px;
	padding: 12px;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--paper);
}
.dokan-dashboard .elecadi-product-filters::before,
.dokan-dashboard .elecadi-product-filters::after {
	content: none;
}
.dokan-dashboard .elecadi-product-filters > .dokan-form-group {
	float: none;
	margin: 0;
	padding: 0;
}
.dokan-dashboard .elecadi-product-filters .elecadi-product-filters__search {
	flex: 1 1 240px;
	min-width: 200px;
}
.dokan-dashboard .elecadi-product-filters :is(input.dokan-form-control, select.dokan-form-control) {
	width: 100%;
	min-height: 44px;
	height: 44px;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--hairline-strong);
	border-radius: var(--wp--preset--border-radius--sm);
	background-color: var(--wp--preset--color--surface);
	box-shadow: none;
	font-size: 14px;
}
.dokan-dashboard .elecadi-product-filters .elecadi-product-filters__search input {
	padding-inline-start: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2367635d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}
.dokan-dashboard .elecadi-product-filters > .dokan-form-group:not(.elecadi-product-filters__search):not(.elecadi-product-filters__actions) {
	flex: 0 1 190px;
	min-width: 150px;
}
.dokan-dashboard .elecadi-product-filters .elecadi-product-filters__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.dokan-dashboard .elecadi-product-filters__actions .dokan-btn {
	min-height: 44px;
	padding: 8px 22px;
	font-size: 14px;
	font-weight: 700;
}
.dokan-dashboard .elecadi-product-filters__clear {
	color: var(--wp--preset--color--ink-muted);
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}
.dokan-dashboard .elecadi-product-filters__clear:hover {
	color: var(--wp--preset--color--danger);
}
@media (max-width: 781px) {
	.dokan-dashboard .elecadi-product-filters > .dokan-form-group:not(.elecadi-product-filters__actions) {
		flex: 1 1 100%;
	}
}

/* Products list: status tabs and "add new product" share one row, the button flush with the end edge
   (it floated with a gap), and the bulk-action drop-down matches its 44px "apply" button. */
.dokan-dashboard .product-listing-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.dokan-dashboard .product-listing-top::before,
.dokan-dashboard .product-listing-top::after {
	content: none;
}
.dokan-dashboard .product-listing-top > * {
	float: none !important;
	margin: 0;
}
.dokan-dashboard .product-listing-top .dokan-add-product-link {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-inline-start: auto;
}
.dokan-dashboard form#product-filter > .dokan-form-group {
	margin: 0 8px 16px 0; /* Dokan floats both left, so the gap sits on their right */
}
.dokan-dashboard form#product-filter select.dokan-form-control {
	min-width: 200px;
	height: 44px;
	min-height: 44px;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--hairline-strong);
	border-radius: var(--wp--preset--border-radius--sm);
	box-shadow: none;
	font-size: 14px;
}
.dokan-dashboard form#product-filter #bulk-product-action {
	min-height: 44px;
	padding: 8px 20px;
	font-weight: 700;
}

/* Dokan's React screens use Tailwind's physical ml-*/mr-* margins and load no right-to-left copy, so in
   Arabic a gap meant to sit between two words landed on the far side ("تحويل بنكيلا توجد معلومات.").
   Mirror the small ones. */
body.rtl #dokan-vendor-dashboard-root .ml-1 { margin-left: 0 !important; margin-right: calc(0.25rem * 1) !important; }
body.rtl #dokan-vendor-dashboard-root .mr-1 { margin-right: 0 !important; margin-left: calc(0.25rem * 1) !important; }
body.rtl #dokan-vendor-dashboard-root .ml-2 { margin-left: 0 !important; margin-right: calc(0.25rem * 2) !important; }
body.rtl #dokan-vendor-dashboard-root .mr-2 { margin-right: 0 !important; margin-left: calc(0.25rem * 2) !important; }
body.rtl #dokan-vendor-dashboard-root .ml-3 { margin-left: 0 !important; margin-right: calc(0.25rem * 3) !important; }
body.rtl #dokan-vendor-dashboard-root .mr-3 { margin-right: 0 !important; margin-left: calc(0.25rem * 3) !important; }
body.rtl #dokan-vendor-dashboard-root .ml-4 { margin-left: 0 !important; margin-right: calc(0.25rem * 4) !important; }
body.rtl #dokan-vendor-dashboard-root .mr-4 { margin-right: 0 !important; margin-left: calc(0.25rem * 4) !important; }
body.rtl #dokan-vendor-dashboard-root .ml-5 { margin-left: 0 !important; margin-right: calc(0.25rem * 5) !important; }
body.rtl #dokan-vendor-dashboard-root .mr-5 { margin-right: 0 !important; margin-left: calc(0.25rem * 5) !important; }
body.rtl #dokan-vendor-dashboard-root .ml-6 { margin-left: 0 !important; margin-right: calc(0.25rem * 6) !important; }
body.rtl #dokan-vendor-dashboard-root .mr-6 { margin-right: 0 !important; margin-left: calc(0.25rem * 6) !important; }

/* ── Vendor dashboard: store settings (/dashboard/settings/store/) ──
   Dokan's form is floats with 25%/41% columns, 30px inputs and a banner pinned to one side. Here: one card,
   the banner across its full width, then label | field rows split by rules, fields up to 560px wide. */
.dokan-dashboard #store-form.dokan-form-horizontal {
	box-sizing: border-box;
	padding: 24px;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--surface);
}
/* Banner: full width, the store's 625×300 ratio, a dashed drop zone while empty. */
.dokan-dashboard #store-form .dokan-banner {
	position: relative;
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	aspect-ratio: 625 / 300;
	max-height: 320px;
	margin: 0 0 8px;
	overflow: hidden;
	border: 1px dashed var(--wp--preset--color--hairline-strong);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--paper);
}
.dokan-dashboard #store-form .dokan-banner .image-wrap,
.dokan-dashboard #store-form .dokan-banner .image-wrap img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.dokan-dashboard #store-form .dokan-banner .button-area:not(.dokan-hide) {
	position: absolute;
	inset: 0;
	flex-direction: column;
	justify-content: center;
	padding: 24px;
	text-align: center;
}
.dokan-dashboard #store-form .dokan-banner .dokan-remove-banner-image {
	position: absolute;
	left: auto;
	right: auto;
	top: 12px;
	inset-inline-end: 12px;
	box-sizing: border-box;
	padding: 0;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgb(24 21 18 / 0.7);
	color: var(--wp--preset--color--on-dark);
	font-size: 20px;
	line-height: 1;
	opacity: 0;
	text-decoration: none;
	cursor: pointer;
	transition: opacity var(--wp--custom--duration--fast, .15s) ease;
}
/* The remove button shows on hover, and never over Dokan's placeholder banner. */
.dokan-dashboard #store-form .dokan-banner:is(:hover, :focus-within) .dokan-remove-banner-image {
	opacity: 1;
}
/* With only Dokan's placeholder in place, its upload button stayed hidden until you found the "×".
   Show the drop zone with the upload button instead (the scripts swap the image src on upload/remove). */
.dokan-dashboard #store-form .dokan-banner:has(img[src*="default-store-banner"]) .image-wrap {
	display: none !important;
}
.dokan-dashboard #store-form .dokan-banner:has(img[src*="default-store-banner"]) .button-area {
	position: absolute;
	inset: 0;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px;
	text-align: center;
}
.dokan-dashboard #store-form .dokan-gravatar:has(img[src*="mystery-person"]) .gravatar-wrap .dokan-remove-gravatar-image {
	display: none;
}
.dokan-dashboard #store-form .dokan-gravatar:has(img[src*="mystery-person"]) .gravatar-button-area {
	display: block !important;
}
/* Rows */
.dokan-dashboard #store-form > .dokan-form-group {
	display: grid;
	grid-template-columns: 200px minmax(0, 560px);
	column-gap: 32px;
	align-items: start;
	margin: 0;
	padding: 20px 0;
	border-top: 1px solid var(--wp--preset--color--hairline);
}
.dokan-dashboard #store-form > .dokan-form-group::before,
.dokan-dashboard #store-form > .dokan-form-group::after {
	content: none;
}
.dokan-dashboard #store-form > .dokan-form-group > * {
	float: none;
	width: auto !important;
	max-width: none;
	margin: 0 !important;
	padding: 0;
	text-align: start;
}
.dokan-dashboard #store-form > .dokan-form-group > label.dokan-control-label,
.dokan-dashboard #store-form > .dokan-form-group > label.control-label {
	padding-top: 11px;
	color: var(--wp--preset--color--ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}
/* A row without a label (the save button) starts in the field column. */
.dokan-dashboard #store-form > .dokan-form-group > .ajax_prev {
	grid-column: 2;
}
.dokan-dashboard #store-form :is(input.dokan-form-control, select.dokan-form-control, textarea.dokan-form-control) {
	width: 100%;
	min-height: 44px;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid var(--wp--preset--color--hairline-strong);
	border-radius: var(--wp--preset--border-radius--sm);
	background-color: var(--wp--preset--color--surface);
	box-shadow: none;
	color: var(--wp--preset--color--ink);
	font-size: 14px;
}
.dokan-dashboard #store-form select.dokan-form-control {
	height: 44px;
	padding-block: 0;
}
.dokan-dashboard #store-form :is(input.dokan-form-control, select.dokan-form-control, textarea.dokan-form-control):focus {
	border-color: var(--wp--preset--color--ink);
	box-shadow: 0 0 0 3px rgb(24 21 18 / 0.08);
	outline: none;
}
/* Profile picture */
.dokan-dashboard #store-form .dokan-gravatar {
	display: flex;
	align-items: center;
	gap: 16px;
}
.dokan-dashboard #store-form .dokan-gravatar .gravatar-wrap {
	position: relative;
	float: none;
}
.dokan-dashboard #store-form .dokan-gravatar img {
	width: 88px;
	height: 88px;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 50%;
	object-fit: cover;
}
/* Address: sub-labels small and muted, city and postcode side by side. */
.dokan-dashboard #store-form .dokan-address-fields {
	display: grid;
	gap: 14px;
}
.dokan-dashboard #store-form .dokan-address-fields .dokan-form-group {
	float: none;
	width: auto;
	margin: 0;
}
.dokan-dashboard #store-form .dokan-address-fields .control-label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	color: var(--wp--preset--color--ink-muted);
	font-size: 13px;
	font-weight: 500;
	text-align: start;
}
.dokan-dashboard #store-form .dokan-address-fields .dokan-from-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.dokan-dashboard #store-form .dokan-address-fields .dokan-from-group > .dokan-form-group {
	width: auto !important;
	margin: 0 !important;
}
.dokan-dashboard #store-form .dokan-address-fields .dokan-from-group > .dokan-clearfix {
	display: none;
}
.dokan-dashboard #store-form .required {
	color: var(--wp--preset--color--danger);
}
/* Checkboxes (store schedule and the like) */
.dokan-dashboard #store-form .checkbox label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-top: 11px;
	color: var(--wp--preset--color--ink-soft);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}
.dokan-dashboard #store-form .checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--wp--preset--color--ink);
}
/* Save */
.dokan-dashboard #store-form .ajax_prev .dokan-btn {
	min-height: 44px;
	padding: 10px 28px;
	font-size: 14px;
	font-weight: 700;
}
@media (max-width: 781px) {
	.dokan-dashboard #store-form.dokan-form-horizontal {
		padding: 16px;
	}
	.dokan-dashboard #store-form > .dokan-form-group {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 8px;
	}
	.dokan-dashboard #store-form > .dokan-form-group > label.dokan-control-label {
		padding-top: 0;
	}
	.dokan-dashboard #store-form > .dokan-form-group > .ajax_prev {
		grid-column: 1;
	}
}

/* Store schedule (after ticking "store has opening and closing times"): each day is a row of
   day | open/closed | opens | closes. Dokan's 60px status box let the drop-down arrow cover "مغلق". */
.dokan-dashboard #store-form .dokan-store-times {
	margin: 0;
}
.dokan-dashboard #store-form .dokan-store-times > .dokan-form-group {
	display: grid;
	grid-template-columns: 90px 150px 120px 120px;
	align-items: center;
	gap: 12px;
	float: none;
	margin: 0;
	padding: 6px 0;
}
.dokan-dashboard #store-form .dokan-store-times > .dokan-form-group::before,
.dokan-dashboard #store-form .dokan-store-times > .dokan-form-group::after {
	content: none;
}
.dokan-dashboard #store-form .dokan-store-times label {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}
.dokan-dashboard #store-form .dokan-store-times label.day {
	color: var(--wp--preset--color--ink);
	font-size: 14px;
	font-weight: 600;
	text-align: start;
}
.dokan-dashboard #store-form .dokan-store-times :is(select, input).dokan-form-control {
	width: 100% !important;
	min-width: 0;
}
@media (max-width: 781px) {
	.dokan-dashboard #store-form .dokan-store-times > .dokan-form-group {
		grid-template-columns: 1fr 1fr;
		padding: 10px 0;
		border-bottom: 1px solid var(--wp--preset--color--hairline);
	}
}

/* Product editor: Dokan's half-width fields float left with their gap on the right, which in Arabic put
   the first field (SKU, stock, prices…) on the far side of the form. */
body.rtl .content-half-part {
	float: right;
}
body.rtl .content-half-part:first-child {
	padding-right: 0;
	padding-left: 10px;
}
