
:root {
	--ztwpp-theme-accent: var(--wd-primary-color, var(--wp--preset--color--primary, var(--woocommerce, #d4a017)));
	--ztwpp-gold-bright: #ffe08a;
	--ztwpp-gold-soft: #fff8df;
	--ztwpp-accent-soft: var(--ztwpp-gold-soft);
	--ztwpp-ink: #201504;
	--ztwpp-font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
	--ztwpp-font-family: inherit;
}
.zarintar-wholesale-section,
.zarintar-wholesale-product-card,
.zarintar-wholesale-login-prompt,
.zarintar-wholesale-ribbon,
.zarintar-wholesale-products-grid,
.zarintar-wholesale-carousel,
.zarintar-wholesale-categories,
.zarintar-wholesale-table-wrap {
	font-family: var(--ztwpp-font-family, inherit);
}

.zarintar-wholesale-section {
	--ztwpp-section-bg: color-mix(in srgb, currentColor 6%, transparent);
	--ztwpp-section-text: inherit;
	--ztwpp-section-border: color-mix(in srgb, currentColor 18%, transparent);
	--ztwpp-section-accent: currentColor;
	--ztwpp-section-active-bg: var(--ztwpp-section-bg);
	--ztwpp-section-active-border: currentColor;
	border: 1px solid var(--ztwpp-section-border);
	border-radius: 14px;
	padding: 1rem;
	margin-block: 0.75rem 1rem;
	background: var(--ztwpp-section-bg);
	color: var(--ztwpp-section-text);
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.zarintar-wholesale-section--inactive {
	border-style: dashed;
}

.zarintar-wholesale-section--active {
	border-color: var(--ztwpp-section-active-border);
	border-width: 2px;
	background: var(--ztwpp-section-active-bg);
	transform: translateY(-1px);
}

.zarintar-wholesale-section__header {
	display: flex;
	justify-content: space-between;
	gap: .75rem;
	align-items: baseline;
	flex-wrap: wrap;
}

.zarintar-wholesale-section__label {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-weight: 700;
	letter-spacing: .01em;
}

.zarintar-wholesale-section__label::before {
	content: "";
	inline-size: .65em;
	block-size: .65em;
	border-radius: 999px;
	background: var(--ztwpp-section-accent);
}

.zarintar-wholesale-section__price {
	font-size: 1.2em;
	font-weight: 700;
	color: inherit;
}

.zarintar-wholesale-section__min,
.zarintar-wholesale-section__helper,
.zarintar-wholesale-helper {
	margin-block: .45rem 0;
	font-size: .925em;
}

.product.zarintar-wholesale-active .summary .price,
.single-product .summary.zarintar-wholesale-active .price {
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

.zarintar-wholesale-login-prompt {
	--ztwpp-login-bg: linear-gradient(135deg, #fff8df, color-mix(in srgb, var(--ztwpp-theme-accent) 10%, white));
	--ztwpp-login-text: var(--ztwpp-ink);
	--ztwpp-login-border: color-mix(in srgb, var(--ztwpp-theme-accent) 42%, #ffffff);
	--ztwpp-login-button-bg: var(--ztwpp-theme-accent);
	--ztwpp-login-button-text: #ffffff;
	--ztwpp-login-button-hover-bg: color-mix(in srgb, var(--ztwpp-theme-accent) 82%, #000000);
	--ztwpp-login-button-hover-text: #ffffff;
	margin-block: .75rem 1rem;
	padding: 1rem;
	border: 1px solid var(--ztwpp-login-border);
	border-radius: 16px;
	background: var(--ztwpp-login-bg);
	box-shadow: 0 10px 24px rgba(75, 48, 0, .09);
	color: var(--ztwpp-login-text);
}

.zarintar-wholesale-login-prompt__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	min-height: 44px;
	background: var(--ztwpp-login-button-bg) !important;
	color: var(--ztwpp-login-button-text) !important;
	border-color: var(--ztwpp-login-button-bg) !important;
	border-radius: var(--ztwpp-login-button-radius) !important;
}

.woocommerce .zarintar-wholesale-login-prompt a.button.zarintar-wholesale-login-prompt__button,
.elementor .zarintar-wholesale-login-prompt a.button.zarintar-wholesale-login-prompt__button,
.wd-theme-woodmart .zarintar-wholesale-login-prompt a.button.zarintar-wholesale-login-prompt__button {
	border-radius: var(--ztwpp-login-button-radius) !important;
	overflow: hidden;
}

.zarintar-wholesale-login-prompt__button:hover,
.zarintar-wholesale-login-prompt__button:focus {
	background: var(--ztwpp-login-button-hover-bg) !important;
	color: var(--ztwpp-login-button-hover-text) !important;
	border-color: var(--ztwpp-login-button-hover-bg) !important;
}

.zarintar-wholesale-login-prompt__button:focus-visible,
.zarintar-wholesale-product-card a:focus-visible,
.zarintar-wholesale-ribbon:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.zarintar-wholesale-login-prompt__description {
	margin-block: .6rem 0;
}

.zarintar-wholesale-ribbon {
	--zarintar-wholesale-ribbon-bg: color-mix(in srgb, var(--ztwpp-theme-accent) 58%, var(--ztwpp-gold-bright));
	--zarintar-wholesale-ribbon-text: #1d1303;
	--zarintar-wholesale-ribbon-accent: #fff0ad;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .35em;
	max-inline-size: max-content;
	padding: .42em .78em;
	font-size: .8rem;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: .02em;
	color: var(--zarintar-wholesale-ribbon-text);
	background: linear-gradient(135deg, #ffe89a, var(--zarintar-wholesale-ribbon-bg) 56%, color-mix(in srgb, var(--zarintar-wholesale-ribbon-bg) 76%, #9a5c00));
	border: 1px solid var(--zarintar-wholesale-ribbon-accent);
	box-shadow: 0 10px 24px rgba(95, 55, 0, .22), inset 0 1px 0 rgba(255,255,255,.5);
	z-index: 12;
	text-align: center;
}


.product-grid-item,
.wd-product,
.wd-product .product-wrapper,
.wd-product .product-element-top,
.elementor-widget-woocommerce-products .product,
.elementor-widget-wc-archive-products .product {
	position: relative;
}

.woocommerce-loop-product__link .zarintar-wholesale-ribbon,
.product .zarintar-wholesale-ribbon--loop,
.product .zarintar-wholesale-ribbon--loop-fallback,
.product-grid-item .zarintar-wholesale-ribbon--loop-fallback,
.wd-product .zarintar-wholesale-ribbon--loop-fallback,
.wd-product .product-element-top .zarintar-wholesale-ribbon--loop-fallback {
	position: absolute;
}

.products .product,
.woocommerce ul.products li.product,
.zarintar-wholesale-product-card {
	position: relative;
}

.zarintar-wholesale-ribbon--top-left { inset-block-start: .75rem; inset-inline-start: .75rem; }
.zarintar-wholesale-ribbon--top-right { inset-block-start: .75rem; inset-inline-end: .75rem; }
.zarintar-wholesale-ribbon--bottom-left { inset-block-end: .75rem; inset-inline-start: .75rem; }
.zarintar-wholesale-ribbon--bottom-right { inset-block-end: .75rem; inset-inline-end: .75rem; }
.zarintar-wholesale-ribbon--above-price,
.zarintar-wholesale-ribbon--near-product-title { position: static; margin-block-end: .5rem; }

.zarintar-wholesale-ribbon--classic-ribbon { border-radius: 0; }
.zarintar-wholesale-ribbon--rounded-badge { border-radius: 999px; }
.zarintar-wholesale-ribbon--corner-ribbon { border-radius: 4px; transform: rotate(-3deg); }
[dir="rtl"] .zarintar-wholesale-ribbon--corner-ribbon { transform: rotate(3deg); }
.zarintar-wholesale-ribbon--minimal-pill { border-radius: 999px; box-shadow: none; padding-inline: .8em; }
.zarintar-wholesale-ribbon--premium-label { border-radius: 10px 2px 10px 2px; }

.zarintar-wholesale-products-grid {
	display: grid;
	grid-template-columns: repeat(var(--ztwpp-cols, 4), minmax(0, 1fr));
	gap: 1.25rem;
}
.zarintar-wholesale-products-grid--cols-1 { --ztwpp-cols: 1; }
.zarintar-wholesale-products-grid--cols-2 { --ztwpp-cols: 2; }
.zarintar-wholesale-products-grid--cols-3 { --ztwpp-cols: 3; }
.zarintar-wholesale-products-grid--cols-4 { --ztwpp-cols: 4; }
.zarintar-wholesale-products-grid--cols-5 { --ztwpp-cols: 5; }
.zarintar-wholesale-products-grid--cols-6 { --ztwpp-cols: 6; }

.zarintar-wholesale-products-grid,
.zarintar-wholesale-carousel,
.zarintar-wholesale-categories,
.zarintar-wholesale-table-wrap {
	--ztwpp-widget-card-bg: Canvas;
	--ztwpp-widget-card-text: inherit;
	--ztwpp-widget-card-border: color-mix(in srgb, currentColor 12%, transparent);
	--ztwpp-widget-card-shadow: #000000;
	--ztwpp-widget-button-bg: var(--ztwpp-theme-accent);
	--ztwpp-widget-button-text: #ffffff;
	--ztwpp-widget-chip-bg: linear-gradient(135deg, #fff8df, color-mix(in srgb, var(--ztwpp-theme-accent) 12%, white));
	--ztwpp-widget-chip-text: var(--ztwpp-ink);
	--ztwpp-widget-chip-border: color-mix(in srgb, var(--ztwpp-theme-accent) 36%, white);
	--ztwpp-widget-category-bg: var(--ztwpp-widget-card-bg);
	--ztwpp-widget-category-text: var(--ztwpp-widget-card-text);
	--ztwpp-widget-table-header-bg: color-mix(in srgb, currentColor 6%, transparent);
	--ztwpp-widget-table-header-text: inherit;
}

.zarintar-wholesale-product-card {
	border: 1px solid var(--ztwpp-widget-card-border);
	border-radius: 18px;
	padding: 1rem;
	background: var(--ztwpp-widget-card-bg);
	color: var(--ztwpp-widget-card-text);
	box-shadow: 0 10px 26px color-mix(in srgb, var(--ztwpp-widget-card-shadow) 8%, transparent);
	transition: transform .18s ease, box-shadow .18s ease;
}

.zarintar-wholesale-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px color-mix(in srgb, var(--ztwpp-widget-card-shadow) 12%, transparent);
}

.zarintar-wholesale-product-card__image img {
	inline-size: 100%;
	height: auto;
	border-radius: 14px;
}

.zarintar-wholesale-product-card__title {
	font-size: 1rem;
	margin-block: .85rem .35rem;
}

.zarintar-wholesale-product-card__wholesale {
	margin-block: .55rem;
	font-size: .92rem;
	padding: .62rem .75rem;
	border-radius: 12px;
	background: var(--ztwpp-widget-chip-bg);
	border: 1px solid var(--ztwpp-widget-chip-border);
	color: var(--ztwpp-widget-chip-text);
}

.zarintar-wholesale-product-card__wholesale small {
	display: block;
}

.zarintar-wholesale-product-card .button,
.zarintar-wholesale-add-to-cart-table .button {
	background: var(--ztwpp-widget-button-bg) !important;
	color: var(--ztwpp-widget-button-text) !important;
	border-color: var(--ztwpp-widget-button-bg) !important;
	border-radius: var(--ztwpp-widget-button-radius) !important;
}

.woocommerce .zarintar-wholesale-product-card .button,
.elementor .zarintar-wholesale-product-card .button,
.wd-theme-woodmart .zarintar-wholesale-product-card .button,
.woocommerce .zarintar-wholesale-add-to-cart-table .button,
.elementor .zarintar-wholesale-add-to-cart-table .button,
.wd-theme-woodmart .zarintar-wholesale-add-to-cart-table .button {
	border-radius: var(--ztwpp-widget-button-radius) !important;
	overflow: hidden;
}

.zarintar-wholesale-pagination {
	margin-block-start: 1.5rem;
}

.zarintar-wholesale-carousel .zarintar-wholesale-products-grid {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: inline mandatory;
	padding-block-end: .5rem;
}
.zarintar-wholesale-carousel .zarintar-wholesale-product-card {
	min-inline-size: min(85vw, 300px);
	scroll-snap-align: start;
}

.zarintar-wholesale-categories {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.zarintar-wholesale-categories a {
	display: inline-flex;
	align-items: center;
	padding: .55rem .8rem;
	border-radius: 999px;
	background: var(--ztwpp-widget-category-bg);
	color: var(--ztwpp-widget-category-text);
	border: 1px solid var(--ztwpp-widget-card-border);
	text-decoration: none;
}

.zarintar-wholesale-table-wrap {
	overflow-x: auto;
}
.zarintar-wholesale-add-to-cart-table {
	inline-size: 100%;
	border-collapse: collapse;
}
.zarintar-wholesale-add-to-cart-table th,
.zarintar-wholesale-add-to-cart-table td {
	padding: .75rem;
	border-block-end: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	text-align: start;
}
.zarintar-wholesale-add-to-cart-table th {
	background: var(--ztwpp-widget-table-header-bg);
	color: var(--ztwpp-widget-table-header-text);
}

@media (max-width: 1024px) {
	.zarintar-wholesale-products-grid { --ztwpp-cols: min(3, var(--ztwpp-cols)); }
}
@media (max-width: 768px) {
	.zarintar-wholesale-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.zarintar-wholesale-products-grid { grid-template-columns: 1fr; }
	.zarintar-wholesale-section__header { display: block; }
}

/* ZarinTar Pro theme-aware display layer. Kept late in the stylesheet so it can polish every theme consistently. */
:root {
	--ztwpp-theme-accent: var(--datis-primary-color, var(--datis-secondary-color, var(--wd-primary-color, var(--woodmart-primary-color, var(--wp--preset--color--primary, var(--wp--preset--color--accent, var(--woocommerce, #b98722))))));
	--ztwpp-on-accent: #fff;
	--ztwpp-surface: var(--datis-body-bg-color, var(--wp--preset--color--base, Canvas));
	--ztwpp-text: var(--datis-body-text-color, var(--wp--preset--color--contrast, CanvasText));
	--ztwpp-muted: color-mix(in srgb, var(--ztwpp-text) 62%, transparent);
	--ztwpp-border: color-mix(in srgb, var(--ztwpp-text) 14%, transparent);
	--ztwpp-accent-soft: color-mix(in srgb, var(--ztwpp-theme-accent) 12%, var(--ztwpp-surface));
	--ztwpp-box-radius: 18px;
	--ztwpp-box-shadow: 0 18px 46px rgba(15, 23, 42, .10);
	--ztwpp-login-button-radius: 999px;
	--ztwpp-widget-button-radius: 999px;
}

.zarintar-wholesale-section,
.zarintar-wholesale-login-prompt {
	box-sizing: border-box;
	max-inline-size: 100%;
	border-radius: var(--ztwpp-box-radius);
	box-shadow: var(--ztwpp-box-shadow);
	isolation: isolate;
}

.zarintar-wholesale-section {
	--ztwpp-section-bg: linear-gradient(135deg, var(--ztwpp-accent-soft), color-mix(in srgb, var(--ztwpp-surface) 92%, var(--ztwpp-theme-accent)));
	--ztwpp-section-text: var(--ztwpp-text);
	--ztwpp-section-border: color-mix(in srgb, var(--ztwpp-theme-accent) 32%, var(--ztwpp-border));
	--ztwpp-section-accent: var(--ztwpp-theme-accent);
	--ztwpp-section-active-bg: linear-gradient(135deg, var(--ztwpp-surface), color-mix(in srgb, var(--ztwpp-theme-accent) 10%, var(--ztwpp-surface)));
	--ztwpp-section-active-border: var(--ztwpp-theme-accent);
	position: relative;
	overflow: hidden;
	padding: clamp(1rem, 2.5vw, 1.25rem);
	border: 1px solid var(--ztwpp-section-border);
	background: var(--ztwpp-section-bg);
	color: var(--ztwpp-section-text);
}

.zarintar-wholesale-section::before,
.zarintar-wholesale-login-prompt::before {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	inline-size: 5px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--ztwpp-theme-accent) 72%, #fff), var(--ztwpp-theme-accent));
	z-index: 0;
}

.zarintar-wholesale-section > *,
.zarintar-wholesale-login-prompt > * { position: relative; z-index: 1; }

.zarintar-wholesale-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .85rem;
	flex-wrap: wrap;
}

.zarintar-wholesale-section__label {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	font-weight: 800;
	font-size: .94rem;
	color: var(--ztwpp-section-text);
}

.zarintar-wholesale-section__label::before { content: none; }

.zarintar-wholesale-section__icon,
.zarintar-wholesale-login-prompt__icon {
	display: inline-grid;
	place-items: center;
	inline-size: 2.1em;
	block-size: 2.1em;
	border-radius: 999px;
	background: var(--ztwpp-theme-accent);
	color: var(--ztwpp-on-accent);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 18px color-mix(in srgb, var(--ztwpp-theme-accent) 30%, transparent);
	font-weight: 900;
	line-height: 1;
}

.zarintar-wholesale-section__price {
	font-size: clamp(1.16rem, 2.5vw, 1.55rem);
	font-weight: 900;
	line-height: 1.15;
	color: var(--ztwpp-section-text);
}

.zarintar-wholesale-section__meta {
	display: flex;
	gap: .5rem;
	flex-wrap: wrap;
	margin-block-start: .85rem;
}

.zarintar-wholesale-section__min {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	margin: 0;
	padding: .38rem .7rem;
	border: 1px solid color-mix(in srgb, var(--ztwpp-theme-accent) 28%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--ztwpp-theme-accent) 9%, var(--ztwpp-surface));
	color: var(--ztwpp-section-text);
	font-size: .88rem;
	font-weight: 700;
}

.zarintar-wholesale-section__helper,
.zarintar-wholesale-helper {
	margin-block: .8rem 0;
	color: var(--ztwpp-muted);
	font-size: .92rem;
	line-height: 1.7;
}

.zarintar-wholesale-section--active {
	border-color: var(--ztwpp-section-active-border);
	background: var(--ztwpp-section-active-bg);
	transform: translateY(-1px);
}

.zarintar-wholesale-section--preset-minimal,
.zarintar-wholesale-login-prompt--preset-minimal {
	box-shadow: none;
	background: transparent;
	border-style: solid;
}

.zarintar-wholesale-section--preset-soft,
.zarintar-wholesale-login-prompt--preset-soft {
	backdrop-filter: blur(12px);
	background: color-mix(in srgb, var(--ztwpp-surface) 76%, transparent);
}

.zarintar-wholesale-login-prompt {
	--ztwpp-login-bg: linear-gradient(135deg, var(--ztwpp-accent-soft), color-mix(in srgb, var(--ztwpp-surface) 90%, var(--ztwpp-theme-accent)));
	--ztwpp-login-text: var(--ztwpp-text);
	--ztwpp-login-border: color-mix(in srgb, var(--ztwpp-theme-accent) 30%, var(--ztwpp-border));
	--ztwpp-login-button-bg: var(--ztwpp-theme-accent);
	--ztwpp-login-button-text: var(--ztwpp-on-accent);
	--ztwpp-login-button-hover-bg: color-mix(in srgb, var(--ztwpp-theme-accent) 84%, #000);
	--ztwpp-login-button-hover-text: var(--ztwpp-on-accent);
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 1rem;
	position: relative;
	overflow: hidden;
	padding: clamp(1rem, 2.5vw, 1.2rem);
	border: 1px solid var(--ztwpp-login-border);
	background: var(--ztwpp-login-bg);
	color: var(--ztwpp-login-text);
}

.zarintar-wholesale-login-prompt__content {
	display: flex;
	align-items: center;
	gap: .85rem;
}

.zarintar-wholesale-login-prompt__title {
	display: block;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.35;
	color: var(--ztwpp-login-text);
}

.zarintar-wholesale-login-prompt__description {
	margin-block: .25rem 0;
	line-height: 1.65;
	color: color-mix(in srgb, var(--ztwpp-login-text) 76%, transparent);
}

.zarintar-wholesale-login-prompt__button {
	min-inline-size: max-content;
	padding-inline: 1.15rem !important;
	font-weight: 800 !important;
	box-shadow: 0 10px 22px color-mix(in srgb, var(--ztwpp-login-button-bg) 24%, transparent);
	text-decoration: none !important;
}

.zarintar-wholesale-ribbon {
	--zarintar-wholesale-ribbon-bg: var(--ztwpp-theme-accent);
	--zarintar-wholesale-ribbon-text: var(--ztwpp-on-accent);
	--zarintar-wholesale-ribbon-accent: color-mix(in srgb, var(--ztwpp-theme-accent) 48%, #fff);
	background: linear-gradient(135deg, color-mix(in srgb, var(--zarintar-wholesale-ribbon-bg) 70%, #fff), var(--zarintar-wholesale-ribbon-bg));
	color: var(--zarintar-wholesale-ribbon-text);
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
	:root {
		--ztwpp-muted: #667085;
		--ztwpp-border: #e5e7eb;
		--ztwpp-accent-soft: #fff8df;
	}
	.zarintar-wholesale-section,
	.zarintar-wholesale-login-prompt { background: #fff8df; }
}

@media (max-width: 640px) {
	.zarintar-wholesale-login-prompt { grid-template-columns: 1fr; }
	.zarintar-wholesale-login-prompt__button { inline-size: 100%; }
	.zarintar-wholesale-section__header { align-items: flex-start; }
}

/* v1.0.12 designer pass: theme-native product-page integration.
   The goal is to make the wholesale UI feel like a native pricing row, not a pasted widget. */
.zarintar-wholesale-section--inactive {
	border-style: solid;
}

/* When a custom theme injects the box inside the add-to-cart form, make it a full-width pricing row. */
form.cart > .zarintar-wholesale-section,
form.cart > .zarintar-wholesale-login-prompt,
.variations_form.cart .zarintar-wholesale-section,
.variations_form.cart .zarintar-wholesale-login-prompt {
	flex: 0 0 100%;
	inline-size: 100%;
	max-inline-size: 100%;
	order: -20;
	margin-block: 0 .85rem;
}

@supports selector(form:has(> .zarintar-wholesale-section)) {
	form.cart:has(> .zarintar-wholesale-section),
	form.cart:has(> .zarintar-wholesale-login-prompt) {
		flex-wrap: wrap;
		row-gap: .85rem;
	}
}

/* Datis theme: blend into the purchase panel and match its product-price language. */
.product-layout .product-layout-purchase form.cart,
.product-layout .product-layout-purchase .variations_form.cart,
.product-layout .product-layout-purchase .cart.add-to-cart-row {
	flex-wrap: wrap;
	row-gap: 14px;
}

.product-layout .product-layout-purchase .cart > .zarintar-wholesale-section,
.product-layout .product-layout-purchase .cart > .zarintar-wholesale-login-prompt,
.product-layout .product-layout-purchase .variations_form .zarintar-wholesale-section,
.product-layout .product-layout-purchase .variations_form .zarintar-wholesale-login-prompt,
.product-layout .product-layout-purchase .cart.add-to-cart-row .zarintar-wholesale-section,
.product-layout .product-layout-purchase .cart.add-to-cart-row .zarintar-wholesale-login-prompt {
	--ztwpp-theme-accent: var(--datis-secondary-color, var(--datis-partially-color, var(--datis-primary-color, #e63946)));
	--ztwpp-on-accent: #ffffff;
	--ztwpp-section-bg: rgba(255,255,255,.72);
	--ztwpp-section-text: var(--datis-body-text-color, #04142f);
	--ztwpp-section-border: rgba(11,61,145,.10);
	--ztwpp-section-active-bg: #ffffff;
	--ztwpp-section-active-border: color-mix(in srgb, var(--ztwpp-theme-accent) 36%, rgba(11,61,145,.14));
	--ztwpp-login-bg: rgba(255,255,255,.72);
	--ztwpp-login-text: var(--datis-body-text-color, #04142f);
	--ztwpp-login-border: rgba(11,61,145,.10);
	--ztwpp-login-button-bg: var(--ztwpp-theme-accent);
	--ztwpp-login-button-text: #ffffff;
	--ztwpp-login-button-hover-bg: #ffffff;
	--ztwpp-login-button-hover-text: var(--ztwpp-theme-accent);
	position: relative;
	order: -20;
	flex: 0 0 100%;
	inline-size: 100%;
	margin: 0 0 10px;
	padding: 14px 16px;
	border: 1px solid var(--ztwpp-section-border);
	border-radius: 16px;
	background: var(--ztwpp-section-bg);
	box-shadow: none;
	transform: none;
	backdrop-filter: none;
}

.product-layout .product-layout-purchase .cart > .zarintar-wholesale-login-prompt,
.product-layout .product-layout-purchase .variations_form .zarintar-wholesale-login-prompt,
.product-layout .product-layout-purchase .cart.add-to-cart-row .zarintar-wholesale-login-prompt {
	border-color: var(--ztwpp-login-border);
	background: var(--ztwpp-login-bg);
}

.product-layout .product-layout-purchase .zarintar-wholesale-section::before,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt::before {
	display: none;
}

.product-layout .product-layout-purchase .zarintar-wholesale-section__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	inline-size: 100%;
}

.product-layout .product-layout-purchase .zarintar-wholesale-section__label {
	font-weight: 400;
	font-size: 14px;
	line-height: 180%;
	color: rgba(11,61,145,.60);
	gap: 0;
	letter-spacing: 0;
}

.product-layout .product-layout-purchase .zarintar-wholesale-section__icon,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__icon {
	display: none;
}

.product-layout .product-layout-purchase .zarintar-wholesale-section__price {
	font-weight: 700;
	font-size: 18px;
	line-height: 34px;
	text-align: end;
	color: var(--datis-body-text-color, #04142f);
	white-space: nowrap;
}

.product-layout .product-layout-purchase .zarintar-wholesale-section__price .woocommerce-Price-currencySymbol {
	font-weight: 400;
	font-size: 12px;
	line-height: 34px;
	color: rgba(11,61,145,.60);
}

.product-layout .product-layout-purchase .zarintar-wholesale-section__meta {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-block-start: 8px;
}

.product-layout .product-layout-purchase .zarintar-wholesale-section__min {
	margin: 0;
	padding: 5px 9px;
	border: 0;
	border-radius: 10px;
	background: rgba(11,61,145,.06);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(11,61,145,.68);
}

.product-layout .product-layout-purchase .zarintar-wholesale-section__helper,
.product-layout .product-layout-purchase .zarintar-wholesale-helper {
	margin-block: 8px 0;
	font-weight: 400;
	font-size: 12.5px;
	line-height: 1.7;
	color: rgba(11,61,145,.60);
}

.product-layout .product-layout-purchase .zarintar-wholesale-section--active {
	border-color: var(--ztwpp-section-active-border);
	background: var(--ztwpp-section-active-bg);
	transform: none;
}

.product-layout .product-layout-purchase .zarintar-wholesale-section--active .zarintar-wholesale-section__min,
.product-layout .product-layout-purchase .zarintar-wholesale-section--active .zarintar-wholesale-section__helper {
	color: var(--ztwpp-theme-accent);
}

.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__content {
	display: block;
}

.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__title {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.8;
	color: var(--datis-body-text-color, #04142f);
}

.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__description {
	margin-block: 4px 0;
	font-weight: 400;
	font-size: 12.5px;
	line-height: 1.7;
	color: rgba(11,61,145,.60);
}

.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__button {
	justify-self: stretch;
	min-height: 48px;
	border-radius: 14px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	box-shadow: none;
}

.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__button:hover,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__button:focus {
	border-color: var(--ztwpp-theme-accent) !important;
}

/* Business demo uses the yellow/partial CTA token; match that rather than forcing the shop red. */
.business-demo .product-layout .product-layout-purchase .cart > .zarintar-wholesale-section,
.business-demo .product-layout .product-layout-purchase .cart > .zarintar-wholesale-login-prompt,
.business-demo .product-layout .product-layout-purchase .variations_form .zarintar-wholesale-section,
.business-demo .product-layout .product-layout-purchase .variations_form .zarintar-wholesale-login-prompt {
	--ztwpp-theme-accent: var(--datis-partially-color, var(--datis-primary-color, #f2b84b));
}

@media (max-width: 520px) {
	.product-layout .product-layout-purchase .zarintar-wholesale-section__header {
		display: grid;
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.product-layout .product-layout-purchase .zarintar-wholesale-section__price {
		text-align: start;
	}
}

/* v1.0.13 smart universal placement fallback.
   These rules cover boxes moved outside fragile WooCommerce hooks and keep the UI native to product panels. */
.zarintar-wholesale-smart-template[hidden] {
	display: none !important;
}

.zarintar-wholesale-section--smart-placed,
.zarintar-wholesale-login-prompt.zarintar-wholesale-section--smart-placed {
	inline-size: 100%;
	max-inline-size: 100%;
}

.summary > .zarintar-wholesale-section--smart-placed,
.entry-summary > .zarintar-wholesale-section--smart-placed,
.summary > .zarintar-wholesale-login-prompt.zarintar-wholesale-section--smart-placed,
.entry-summary > .zarintar-wholesale-login-prompt.zarintar-wholesale-section--smart-placed {
	margin-block: 14px;
}

/* Datis: when the JS fallback places the UI before the form, make it look like a native price row inside the purchase panel. */
.product-layout .product-layout-purchase > .zarintar-wholesale-section,
.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis {
	--ztwpp-theme-accent: var(--datis-secondary-color, var(--datis-partially-color, var(--datis-primary-color, #e63946)));
	--ztwpp-on-accent: #ffffff;
	--ztwpp-section-bg: transparent;
	--ztwpp-section-text: var(--datis-body-text-color, #04142f);
	--ztwpp-section-border: rgba(11,61,145,.10);
	--ztwpp-section-active-bg: rgba(255,255,255,.55);
	--ztwpp-section-active-border: color-mix(in srgb, var(--ztwpp-theme-accent) 36%, rgba(11,61,145,.14));
	--ztwpp-login-bg: transparent;
	--ztwpp-login-text: var(--datis-body-text-color, #04142f);
	--ztwpp-login-border: rgba(11,61,145,.10);
	--ztwpp-login-button-bg: var(--ztwpp-theme-accent);
	--ztwpp-login-button-text: #ffffff;
	--ztwpp-login-button-hover-bg: #ffffff;
	--ztwpp-login-button-hover-text: var(--ztwpp-theme-accent);
	position: relative;
	inline-size: 100%;
	margin: 0 0 14px;
	padding: 0 0 14px;
	border: 0;
	border-bottom: 1px solid var(--ztwpp-section-border);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transform: none;
	backdrop-filter: none;
}

.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis {
	border-bottom-color: var(--ztwpp-login-border);
}

.product-layout .product-layout-purchase > .zarintar-wholesale-section::before,
.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt::before,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis::before,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis::before {
	display: none;
}

.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__header,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	inline-size: 100%;
}

.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__label,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__label {
	font-weight: 400;
	font-size: 14px;
	line-height: 180%;
	color: rgba(11,61,145,.60);
	gap: 0;
	letter-spacing: 0;
}

.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__icon,
.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt .zarintar-wholesale-login-prompt__icon,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__icon,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis .zarintar-wholesale-login-prompt__icon {
	display: none;
}

.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__price,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__price {
	font-weight: 700;
	font-size: 18px;
	line-height: 34px;
	text-align: end;
	color: var(--datis-body-text-color, #04142f);
	white-space: nowrap;
}

.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__price .woocommerce-Price-currencySymbol,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__price .woocommerce-Price-currencySymbol {
	font-weight: 400;
	font-size: 12px;
	line-height: 34px;
	color: rgba(11,61,145,.60);
}

.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__meta,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__meta {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-block-start: 8px;
}

.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__min,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__min {
	margin: 0;
	padding: 5px 9px;
	border: 0;
	border-radius: 10px;
	background: rgba(11,61,145,.06);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(11,61,145,.68);
}

.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__helper,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__helper,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-helper {
	margin-block: 8px 0;
	font-weight: 400;
	font-size: 12.5px;
	line-height: 1.7;
	color: rgba(11,61,145,.60);
}

.product-layout .product-layout-purchase > .zarintar-wholesale-section.zarintar-wholesale-section--active,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis.zarintar-wholesale-section--active {
	border-bottom-color: var(--ztwpp-section-active-border);
	background: transparent;
}

.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt .zarintar-wholesale-login-prompt__content,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis .zarintar-wholesale-login-prompt__content {
	display: block;
}

.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt .zarintar-wholesale-login-prompt__title,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis .zarintar-wholesale-login-prompt__title {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.8;
	color: var(--datis-body-text-color, #04142f);
}

.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt .zarintar-wholesale-login-prompt__description,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis .zarintar-wholesale-login-prompt__description {
	margin-block: 4px 0;
	font-weight: 400;
	font-size: 12.5px;
	line-height: 1.7;
	color: rgba(11,61,145,.60);
}

.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt .zarintar-wholesale-login-prompt__button,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis .zarintar-wholesale-login-prompt__button {
	justify-self: stretch;
	min-height: 48px;
	border-radius: 14px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	box-shadow: none;
}


/* v1.0.15 precision design controls.
   These are intentionally loaded last and driven by settings CSS variables. */
:root {
	--ztwpp-pricebox-margin-top: 0px;
	--ztwpp-pricebox-margin-bottom: 12px;
	--ztwpp-pricebox-padding-top: 0px;
	--ztwpp-pricebox-padding-bottom: 12px;
	--ztwpp-pricebox-padding-x: 0px;
	--ztwpp-pricebox-header-gap: 10px;
	--ztwpp-pricebox-meta-gap: 8px;
	--ztwpp-pricebox-label-font-size: 13.5px;
	--ztwpp-pricebox-label-font-weight: 500;
	--ztwpp-pricebox-label-line-height: 1.55;
	--ztwpp-pricebox-price-font-size: 19px;
	--ztwpp-pricebox-price-font-weight: 800;
	--ztwpp-pricebox-price-line-height: 1.3;
	--ztwpp-pricebox-currency-font-size: 12px;
	--ztwpp-pricebox-currency-font-weight: 400;
	--ztwpp-pricebox-meta-font-size: 11.5px;
	--ztwpp-pricebox-meta-font-weight: 500;
	--ztwpp-pricebox-meta-line-height: 1.45;
	--ztwpp-pricebox-meta-padding-y: 5px;
	--ztwpp-pricebox-meta-padding-x: 9px;
	--ztwpp-pricebox-meta-radius: 10px;
	--ztwpp-pricebox-helper-font-size: 11.8px;
	--ztwpp-pricebox-helper-font-weight: 400;
	--ztwpp-pricebox-helper-line-height: 1.55;
	--ztwpp-pricebox-helper-margin-top: 8px;
	--ztwpp-pricebox-icon-size: 24px;
	--ztwpp-pricebox-icon-font-size: 11px;
	--ztwpp-pricebox-divider-width: 1px;
	--ztwpp-login-margin-top: 10px;
	--ztwpp-login-margin-bottom: 12px;
	--ztwpp-login-padding-top: 16px;
	--ztwpp-login-padding-bottom: 16px;
	--ztwpp-login-padding-x: 18px;
	--ztwpp-login-gap: 14px;
	--ztwpp-login-title-font-size: 13.5px;
	--ztwpp-login-title-font-weight: 700;
	--ztwpp-login-title-line-height: 1.45;
	--ztwpp-login-description-font-size: 12px;
	--ztwpp-login-description-font-weight: 400;
	--ztwpp-login-description-line-height: 1.65;
	--ztwpp-login-description-margin-top: 3px;
	--ztwpp-login-button-font-size: 13.5px;
	--ztwpp-login-button-font-weight: 700;
	--ztwpp-login-button-line-height: 1.2;
	--ztwpp-login-button-min-height: 44px;
	--ztwpp-login-button-padding-x: 20px;
}

.zarintar-wholesale-section {
	margin-block: var(--ztwpp-pricebox-margin-top) var(--ztwpp-pricebox-margin-bottom) !important;
	padding-block: var(--ztwpp-pricebox-padding-top) var(--ztwpp-pricebox-padding-bottom) !important;
	padding-inline: var(--ztwpp-pricebox-padding-x) !important;
	border-width: var(--ztwpp-pricebox-divider-width) !important;
}

.zarintar-wholesale-section__header { gap: var(--ztwpp-pricebox-header-gap) !important; }

.zarintar-wholesale-section__label,
.product-layout .product-layout-purchase .zarintar-wholesale-section__label,
.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__label,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__label {
	font-size: var(--ztwpp-pricebox-label-font-size) !important;
	font-weight: var(--ztwpp-pricebox-label-font-weight) !important;
	line-height: var(--ztwpp-pricebox-label-line-height) !important;
}

.zarintar-wholesale-section__price,
.product-layout .product-layout-purchase .zarintar-wholesale-section__price,
.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__price,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__price {
	font-size: var(--ztwpp-pricebox-price-font-size) !important;
	font-weight: var(--ztwpp-pricebox-price-font-weight) !important;
	line-height: var(--ztwpp-pricebox-price-line-height) !important;
}

.zarintar-wholesale-section__price .woocommerce-Price-currencySymbol,
.product-layout .product-layout-purchase .zarintar-wholesale-section__price .woocommerce-Price-currencySymbol,
.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__price .woocommerce-Price-currencySymbol,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__price .woocommerce-Price-currencySymbol {
	font-size: var(--ztwpp-pricebox-currency-font-size) !important;
	font-weight: var(--ztwpp-pricebox-currency-font-weight) !important;
	line-height: inherit !important;
}

.zarintar-wholesale-section__meta,
.product-layout .product-layout-purchase .zarintar-wholesale-section__meta,
.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__meta,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__meta {
	gap: var(--ztwpp-pricebox-meta-gap) !important;
	margin-block-start: var(--ztwpp-pricebox-meta-gap) !important;
}

.zarintar-wholesale-section__min,
.product-layout .product-layout-purchase .zarintar-wholesale-section__min,
.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__min,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__min {
	padding-block: var(--ztwpp-pricebox-meta-padding-y) !important;
	padding-inline: var(--ztwpp-pricebox-meta-padding-x) !important;
	border-radius: var(--ztwpp-pricebox-meta-radius) !important;
	font-size: var(--ztwpp-pricebox-meta-font-size) !important;
	font-weight: var(--ztwpp-pricebox-meta-font-weight) !important;
	line-height: var(--ztwpp-pricebox-meta-line-height) !important;
}

.zarintar-wholesale-section__helper,
.zarintar-wholesale-helper,
.product-layout .product-layout-purchase .zarintar-wholesale-section__helper,
.product-layout .product-layout-purchase .zarintar-wholesale-helper,
.product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__helper,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__helper,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-helper {
	margin-block: var(--ztwpp-pricebox-helper-margin-top) 0 !important;
	font-size: var(--ztwpp-pricebox-helper-font-size) !important;
	font-weight: var(--ztwpp-pricebox-helper-font-weight) !important;
	line-height: var(--ztwpp-pricebox-helper-line-height) !important;
}

.zarintar-wholesale-section__icon,
.zarintar-wholesale-login-prompt__icon,
.product-layout .product-layout-purchase .zarintar-wholesale-section__icon,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__icon {
	inline-size: var(--ztwpp-pricebox-icon-size) !important;
	block-size: var(--ztwpp-pricebox-icon-size) !important;
	font-size: var(--ztwpp-pricebox-icon-font-size) !important;
}

.zarintar-wholesale-section--style-native_row,
.product-layout .product-layout-purchase > .zarintar-wholesale-section--style-native_row,
.product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis.zarintar-wholesale-section--style-native_row {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	border-bottom: var(--ztwpp-pricebox-divider-width) solid var(--ztwpp-section-border, var(--ztwpp-border)) !important;
	border-radius: 0 !important;
}

.zarintar-wholesale-section--style-clean_card {
	background: color-mix(in srgb, var(--ztwpp-surface) 88%, var(--ztwpp-theme-accent)) !important;
	border: var(--ztwpp-pricebox-divider-width) solid var(--ztwpp-section-border, var(--ztwpp-border)) !important;
	border-radius: var(--ztwpp-box-radius) !important;
	box-shadow: none !important;
}

.zarintar-wholesale-section--style-compact {
	padding-block: max(6px, calc(var(--ztwpp-pricebox-padding-top) * .65)) max(6px, calc(var(--ztwpp-pricebox-padding-bottom) * .65)) !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}
.zarintar-wholesale-section--style-compact .zarintar-wholesale-section__meta,
.zarintar-wholesale-section--style-compact .zarintar-wholesale-section__helper { display: none !important; }

.zarintar-wholesale-section--style-premium_card {
	background: var(--ztwpp-section-bg) !important;
	border: var(--ztwpp-pricebox-divider-width) solid var(--ztwpp-section-border, var(--ztwpp-border)) !important;
	border-radius: var(--ztwpp-box-radius) !important;
	box-shadow: var(--ztwpp-box-shadow) !important;
}

.zarintar-wholesale-login-prompt {
	margin-block: var(--ztwpp-login-margin-top) var(--ztwpp-login-margin-bottom) !important;
	padding-block: var(--ztwpp-login-padding-top) var(--ztwpp-login-padding-bottom) !important;
	padding-inline: var(--ztwpp-login-padding-x) !important;
	gap: var(--ztwpp-login-gap) !important;
}
.zarintar-wholesale-login-prompt__content { gap: var(--ztwpp-login-gap) !important; }

.zarintar-wholesale-login-prompt__title,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__title,
.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt .zarintar-wholesale-login-prompt__title,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis .zarintar-wholesale-login-prompt__title {
	font-size: var(--ztwpp-login-title-font-size) !important;
	font-weight: var(--ztwpp-login-title-font-weight) !important;
	line-height: var(--ztwpp-login-title-line-height) !important;
}

.zarintar-wholesale-login-prompt__description,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__description,
.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt .zarintar-wholesale-login-prompt__description,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis .zarintar-wholesale-login-prompt__description {
	margin-block: var(--ztwpp-login-description-margin-top) 0 !important;
	font-size: var(--ztwpp-login-description-font-size) !important;
	font-weight: var(--ztwpp-login-description-font-weight) !important;
	line-height: var(--ztwpp-login-description-line-height) !important;
}

.zarintar-wholesale-login-prompt__button,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__button,
.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt .zarintar-wholesale-login-prompt__button,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis .zarintar-wholesale-login-prompt__button {
	min-height: var(--ztwpp-login-button-min-height) !important;
	padding-inline: var(--ztwpp-login-button-padding-x) !important;
	font-size: var(--ztwpp-login-button-font-size) !important;
	font-weight: var(--ztwpp-login-button-font-weight) !important;
}

.zarintar-wholesale-login-prompt--style-native_row,
.product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt--style-native_row,
.product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis.zarintar-wholesale-login-prompt--style-native_row {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	border-bottom: var(--ztwpp-pricebox-divider-width) solid var(--ztwpp-login-border, var(--ztwpp-border)) !important;
	border-radius: 0 !important;
}

.zarintar-wholesale-login-prompt--style-clean_card {
	background: color-mix(in srgb, var(--ztwpp-surface) 88%, var(--ztwpp-theme-accent)) !important;
	border: var(--ztwpp-pricebox-divider-width) solid var(--ztwpp-login-border, var(--ztwpp-border)) !important;
	border-radius: var(--ztwpp-box-radius) !important;
	box-shadow: none !important;
}

.zarintar-wholesale-login-prompt--style-compact {
	grid-template-columns: 1fr auto !important;
	align-items: center !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}
.zarintar-wholesale-login-prompt--style-compact .zarintar-wholesale-login-prompt__description { display: none !important; }

.zarintar-wholesale-login-prompt--style-premium_card {
	background: var(--ztwpp-login-bg) !important;
	border: var(--ztwpp-pricebox-divider-width) solid var(--ztwpp-login-border, var(--ztwpp-border)) !important;
	border-radius: var(--ztwpp-box-radius) !important;
	box-shadow: var(--ztwpp-box-shadow) !important;
}

/* v1.0.15 guaranteed design-control layer.
   Keep this at the very end: every size, line-height, margin, padding and gap is driven by settings vars. */
.zarintar-wholesale-section,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis,
body .product-layout .product-layout-purchase .cart > .zarintar-wholesale-section,
body .product-layout .product-layout-purchase .variations_form .zarintar-wholesale-section {
	margin-block-start: var(--ztwpp-pricebox-margin-top) !important;
	margin-block-end: var(--ztwpp-pricebox-margin-bottom) !important;
	padding-block-start: var(--ztwpp-pricebox-padding-top) !important;
	padding-block-end: var(--ztwpp-pricebox-padding-bottom) !important;
	padding-inline: var(--ztwpp-pricebox-padding-x) !important;
}

.zarintar-wholesale-section__header,
body .product-layout .product-layout-purchase .zarintar-wholesale-section__header,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__header,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__header {
	gap: var(--ztwpp-pricebox-header-gap) !important;
}

.zarintar-wholesale-section__label,
.zarintar-wholesale-section__label-text,
body .product-layout .product-layout-purchase .zarintar-wholesale-section__label,
body .product-layout .product-layout-purchase .zarintar-wholesale-section__label-text,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__label,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__label {
	font-size: var(--ztwpp-pricebox-label-font-size) !important;
	font-weight: var(--ztwpp-pricebox-label-font-weight) !important;
	line-height: var(--ztwpp-pricebox-label-line-height) !important;
}

.zarintar-wholesale-section__price,
.zarintar-wholesale-section__price .woocommerce-Price-amount,
.zarintar-wholesale-section__price bdi,
body .product-layout .product-layout-purchase .zarintar-wholesale-section__price,
body .product-layout .product-layout-purchase .zarintar-wholesale-section__price .woocommerce-Price-amount,
body .product-layout .product-layout-purchase .zarintar-wholesale-section__price bdi,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__price,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__price {
	font-size: var(--ztwpp-pricebox-price-font-size) !important;
	font-weight: var(--ztwpp-pricebox-price-font-weight) !important;
	line-height: var(--ztwpp-pricebox-price-line-height) !important;
}

.zarintar-wholesale-section__price .woocommerce-Price-currencySymbol,
body .product-layout .product-layout-purchase .zarintar-wholesale-section__price .woocommerce-Price-currencySymbol,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__price .woocommerce-Price-currencySymbol,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__price .woocommerce-Price-currencySymbol {
	font-size: var(--ztwpp-pricebox-currency-font-size) !important;
	font-weight: var(--ztwpp-pricebox-currency-font-weight) !important;
	line-height: inherit !important;
}

.zarintar-wholesale-section__meta,
body .product-layout .product-layout-purchase .zarintar-wholesale-section__meta,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__meta,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__meta {
	gap: var(--ztwpp-pricebox-meta-gap) !important;
	margin-block-start: var(--ztwpp-pricebox-meta-gap) !important;
}

.zarintar-wholesale-section__min,
body .product-layout .product-layout-purchase .zarintar-wholesale-section__min,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__min,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__min {
	padding-block: var(--ztwpp-pricebox-meta-padding-y) !important;
	padding-inline: var(--ztwpp-pricebox-meta-padding-x) !important;
	border-radius: var(--ztwpp-pricebox-meta-radius) !important;
	font-size: var(--ztwpp-pricebox-meta-font-size) !important;
	font-weight: var(--ztwpp-pricebox-meta-font-weight) !important;
	line-height: var(--ztwpp-pricebox-meta-line-height) !important;
}

.zarintar-wholesale-section__helper,
.zarintar-wholesale-helper,
body .product-layout .product-layout-purchase .zarintar-wholesale-section__helper,
body .product-layout .product-layout-purchase .zarintar-wholesale-helper,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section .zarintar-wholesale-section__helper,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-section__helper,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis .zarintar-wholesale-helper {
	margin-block-start: var(--ztwpp-pricebox-helper-margin-top) !important;
	margin-block-end: 0 !important;
	font-size: var(--ztwpp-pricebox-helper-font-size) !important;
	font-weight: var(--ztwpp-pricebox-helper-font-weight) !important;
	line-height: var(--ztwpp-pricebox-helper-line-height) !important;
}

.zarintar-wholesale-section:not(.zarintar-wholesale-section--no-icon) .zarintar-wholesale-section__icon,
.zarintar-wholesale-login-prompt:not(.zarintar-wholesale-login-prompt--no-icon) .zarintar-wholesale-login-prompt__icon,
body .product-layout .product-layout-purchase .zarintar-wholesale-section:not(.zarintar-wholesale-section--no-icon) .zarintar-wholesale-section__icon,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt:not(.zarintar-wholesale-login-prompt--no-icon) .zarintar-wholesale-login-prompt__icon {
	display: inline-grid !important;
	inline-size: var(--ztwpp-pricebox-icon-size) !important;
	block-size: var(--ztwpp-pricebox-icon-size) !important;
	font-size: var(--ztwpp-pricebox-icon-font-size) !important;
}

.zarintar-wholesale-section--no-icon .zarintar-wholesale-section__icon,
.zarintar-wholesale-login-prompt--no-icon .zarintar-wholesale-login-prompt__icon {
	display: none !important;
}

.zarintar-wholesale-login-prompt,
body .product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis {
	margin-block-start: var(--ztwpp-login-margin-top) !important;
	margin-block-end: var(--ztwpp-login-margin-bottom) !important;
	padding-block-start: var(--ztwpp-login-padding-top) !important;
	padding-block-end: var(--ztwpp-login-padding-bottom) !important;
	padding-inline: var(--ztwpp-login-padding-x) !important;
	gap: var(--ztwpp-login-gap) !important;
}

/* v1.0.16 conflict resolution: final style rules with Datis/theme-safe specificity. */
body .zarintar-wholesale-section.zarintar-wholesale-section--style-native_row,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section.zarintar-wholesale-section--style-native_row,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis.zarintar-wholesale-section--style-native_row {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	border-bottom: var(--ztwpp-pricebox-divider-width) solid var(--ztwpp-section-border, var(--ztwpp-border, rgba(2, 6, 23, .12))) !important;
	border-radius: 0 !important;
}
body .zarintar-wholesale-section.zarintar-wholesale-section--style-clean_card,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section.zarintar-wholesale-section--style-clean_card,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis.zarintar-wholesale-section--style-clean_card {
	background: var(--ztwpp-section-bg, var(--ztwpp-surface, #fff)) !important;
	border: var(--ztwpp-pricebox-divider-width) solid var(--ztwpp-section-border, var(--ztwpp-border, rgba(2, 6, 23, .12))) !important;
	border-radius: var(--ztwpp-box-radius, 18px) !important;
	box-shadow: none !important;
}
body .zarintar-wholesale-section.zarintar-wholesale-section--style-premium_card,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section.zarintar-wholesale-section--style-premium_card,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis.zarintar-wholesale-section--style-premium_card {
	background: var(--ztwpp-section-bg, var(--ztwpp-surface, #fff)) !important;
	border: max(1px, var(--ztwpp-pricebox-divider-width)) solid var(--ztwpp-section-active-border, var(--ztwpp-theme-accent, #d4a017)) !important;
	border-radius: var(--ztwpp-box-radius, 18px) !important;
	box-shadow: var(--ztwpp-box-shadow, 0 18px 45px rgba(15, 23, 42, .10)) !important;
}
body .zarintar-wholesale-login-prompt.zarintar-wholesale-login-prompt--style-native_row,
body .product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt.zarintar-wholesale-login-prompt--style-native_row,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis.zarintar-wholesale-login-prompt--style-native_row {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	border-bottom: var(--ztwpp-pricebox-divider-width) solid var(--ztwpp-login-border, var(--ztwpp-border, rgba(2, 6, 23, .12))) !important;
	border-radius: 0 !important;
}
body .zarintar-wholesale-login-prompt.zarintar-wholesale-login-prompt--style-clean_card,
body .product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt.zarintar-wholesale-login-prompt--style-clean_card,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis.zarintar-wholesale-login-prompt--style-clean_card {
	background: var(--ztwpp-login-bg, var(--ztwpp-surface, #fff)) !important;
	border: var(--ztwpp-pricebox-divider-width) solid var(--ztwpp-login-border, var(--ztwpp-border, rgba(2, 6, 23, .12))) !important;
	border-radius: var(--ztwpp-box-radius, 18px) !important;
	box-shadow: none !important;
}
body .zarintar-wholesale-login-prompt.zarintar-wholesale-login-prompt--style-premium_card,
body .product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt.zarintar-wholesale-login-prompt--style-premium_card,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis.zarintar-wholesale-login-prompt--style-premium_card {
	background: var(--ztwpp-login-bg, var(--ztwpp-surface, #fff)) !important;
	border: max(1px, var(--ztwpp-pricebox-divider-width)) solid var(--ztwpp-login-border, var(--ztwpp-theme-accent, #d4a017)) !important;
	border-radius: var(--ztwpp-box-radius, 18px) !important;
	box-shadow: var(--ztwpp-box-shadow, 0 18px 45px rgba(15, 23, 42, .10)) !important;
}

/* ZTWPP v1.0.17 universal ribbon and cart fallbacks. */
.datis-product-card .product-thumb,
.datis-product-card .product-wrapper,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-loop-product__link,
.products .product .product-thumb,
.products .product .product-image,
.products .product .thumbnail,
.products .product .image,
.product-grid-item .product-element-top,
.wd-product .product-element-top,
.wd-product .product-wrapper {
	position: relative;
}
.datis-product-card .product-thumb .zarintar-wholesale-ribbon,
.woocommerce-loop-product__link .zarintar-wholesale-ribbon,
.products .product .product-thumb .zarintar-wholesale-ribbon,
.products .product .product-image .zarintar-wholesale-ribbon,
.products .product .thumbnail .zarintar-wholesale-ribbon,
.products .product .image .zarintar-wholesale-ribbon,
.product-grid-item .product-element-top .zarintar-wholesale-ribbon,
.wd-product .product-element-top .zarintar-wholesale-ribbon {
	position: absolute;
}
body .zarintar-wholesale-section.zarintar-wholesale-section--preset-premium.zarintar-wholesale-section--style-premium_card,
body .zarintar-wholesale-section.zarintar-wholesale-section--style-premium_card {
	background: linear-gradient(135deg, #fffdf7 0%, var(--ztwpp-accent-soft, #fff6cf) 58%, #fff 100%) !important;
}
body .zarintar-wholesale-section.zarintar-wholesale-section--preset-premium.zarintar-wholesale-section--style-premium_card .zarintar-wholesale-section__price,
body .zarintar-wholesale-section.zarintar-wholesale-section--style-premium_card .zarintar-wholesale-section__price {
	color: var(--ztwpp-theme-accent, #d4a017) !important;
}
.zarintar-wholesale-cart-status {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	max-inline-size: max-content;
	margin-block-start: .45rem;
	padding: .35rem .65rem;
	border: 1px solid color-mix(in srgb, var(--ztwpp-theme-accent, #d4a017) 34%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--ztwpp-theme-accent, #d4a017) 10%, white);
	color: var(--ztwpp-ink, #201504);
	font-size: .78rem;
	font-weight: 600;
	line-height: 1.35;
}
.zarintar-wholesale-cart-status__label::after {
	content: ":";
}
[dir="rtl"] .zarintar-wholesale-cart-status__label::after {
	content: ":";
}
.datis-product-card .product-thumb { overflow: hidden; }

/* ZTWPP v1.0.18 image-ribbon, premium, and cart-status hardening. */
.zarintar-wholesale-ribbon-anchor,
.datis-product-card .product-thumb,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-loop-product__link,
.products .product .product-thumb,
.products .product .product-image,
.products .product .product-thumbnail,
.products .product .thumbnail,
.products .product .image,
.product-grid-item .product-element-top,
.wd-product .product-element-top,
.wd-product .product-wrapper {
	position: relative !important;
}
.zarintar-wholesale-ribbon-anchor > .zarintar-wholesale-ribbon,
.datis-product-card .product-thumb > .zarintar-wholesale-ribbon,
.woocommerce-loop-product__link > .zarintar-wholesale-ribbon,
.products .product .product-thumb > .zarintar-wholesale-ribbon,
.products .product .product-image > .zarintar-wholesale-ribbon,
.products .product .product-thumbnail > .zarintar-wholesale-ribbon,
.products .product .thumbnail > .zarintar-wholesale-ribbon,
.products .product .image > .zarintar-wholesale-ribbon,
.product-grid-item .product-element-top > .zarintar-wholesale-ribbon,
.wd-product .product-element-top > .zarintar-wholesale-ribbon {
	position: absolute !important;
	z-index: 5 !important;
}
.datis-product-card .product-thumb > .zarintar-wholesale-ribbon--top-left,
.zarintar-wholesale-ribbon-anchor > .zarintar-wholesale-ribbon--top-left { inset-block-start: 10px !important; inset-inline-start: 10px !important; }
.datis-product-card .product-thumb > .zarintar-wholesale-ribbon--top-right,
.zarintar-wholesale-ribbon-anchor > .zarintar-wholesale-ribbon--top-right { inset-block-start: 10px !important; inset-inline-end: 10px !important; }
.datis-product-card .product-thumb > .zarintar-wholesale-ribbon--bottom-left,
.zarintar-wholesale-ribbon-anchor > .zarintar-wholesale-ribbon--bottom-left { inset-block-end: 10px !important; inset-inline-start: 10px !important; }
.datis-product-card .product-thumb > .zarintar-wholesale-ribbon--bottom-right,
.zarintar-wholesale-ribbon-anchor > .zarintar-wholesale-ribbon--bottom-right { inset-block-end: 10px !important; inset-inline-end: 10px !important; }
body .zarintar-wholesale-section.zarintar-wholesale-section--style-premium_card::before,
body .product-layout .product-layout-purchase > .zarintar-wholesale-section.zarintar-wholesale-section--style-premium_card::before,
body .product-layout .product-layout-purchase .zarintar-wholesale-section--theme-datis.zarintar-wholesale-section--style-premium_card::before {
	content: none !important;
	display: none !important;
}
body .zarintar-wholesale-section.zarintar-wholesale-section--style-premium_card {
	background: linear-gradient(135deg, #fffdf7 0%, var(--ztwpp-accent-soft, #fff6cf) 58%, #ffffff 100%) !important;
}
.zarintar-wholesale-cart-status--inline,
.zarintar-wholesale-cart-status {
	vertical-align: middle;
}
.products-title + .zarintar-wholesale-cart-status,
td.product-name + .zarintar-wholesale-cart-status,
.product-name + .zarintar-wholesale-cart-status {
	display: inline-flex;
}
#datis-cart-root .cart-item .zarintar-wholesale-cart-status {
	margin-block-start: 6px;
}


/* ZTWPP v1.0.19: keep product-card ribbons on real product featured images only. */
body .mini-cart .zarintar-wholesale-ribbon,
body .widget_shopping_cart .zarintar-wholesale-ribbon,
body #datis-cart-root .products-img .zarintar-wholesale-ribbon,
body .woocommerce-cart-form .product-thumbnail .zarintar-wholesale-ribbon,
body .cart .product-thumbnail .zarintar-wholesale-ribbon {
	display: none !important;
}
body .datis-product-card .product-thumb > .zarintar-wholesale-ribbon,
body .products .product .product-thumb > .zarintar-wholesale-ribbon,
body .products .product .product-image > .zarintar-wholesale-ribbon,
body .products .product .product-thumbnail > .zarintar-wholesale-ribbon,
body .woocommerce-loop-product__link > .zarintar-wholesale-ribbon,
body .product-grid-item .product-element-top > .zarintar-wholesale-ribbon,
body .wd-product .product-element-top > .zarintar-wholesale-ribbon,
body .zarintar-wholesale-ribbon-anchor > .zarintar-wholesale-ribbon {
	display: inline-flex !important;
}
#datis-cart-root .cart-item .products-title + .zarintar-wholesale-cart-status,
#datis-cart-root .cart-item .zarintar-wholesale-cart-status {
	display: inline-flex !important;
	align-self: flex-start;
	margin-block-start: 8px;
}


/* ZTWPP v1.0.20: single featured-image ribbon and editable cart status typography. */
.product-layout .product-layout-gallery .gallery-main .gallery-swiper.zarintar-wholesale-single-ribbon-anchor,
.woocommerce-product-gallery.zarintar-wholesale-single-ribbon-anchor,
.woocommerce-product-gallery__wrapper.zarintar-wholesale-single-ribbon-anchor,
.woocommerce-product-gallery__image.zarintar-wholesale-single-ribbon-anchor,
.product .images.zarintar-wholesale-single-ribbon-anchor,
.product-gallery.zarintar-wholesale-single-ribbon-anchor,
.product-images.zarintar-wholesale-single-ribbon-anchor {
	position: relative !important;
	overflow: hidden;
}
.product-layout .product-layout-gallery .gallery-main .gallery-swiper > .zarintar-wholesale-ribbon,
.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon {
	position: absolute !important;
	z-index: 12 !important;
}
.product-layout .product-layout-gallery .gallery-main .gallery-swiper > .zarintar-wholesale-ribbon--top-left,
.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--top-left {
	inset-block-start: 14px !important;
	inset-inline-start: 14px !important;
}
.product-layout .product-layout-gallery .gallery-main .gallery-swiper > .zarintar-wholesale-ribbon--top-right,
.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--top-right {
	inset-block-start: 14px !important;
	inset-inline-end: 14px !important;
}
.product-layout .product-layout-gallery .gallery-main .gallery-swiper > .zarintar-wholesale-ribbon--bottom-left,
.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--bottom-left {
	inset-block-end: 14px !important;
	inset-inline-start: 14px !important;
}
.product-layout .product-layout-gallery .gallery-main .gallery-swiper > .zarintar-wholesale-ribbon--bottom-right,
.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--bottom-right {
	inset-block-end: 14px !important;
	inset-inline-end: 14px !important;
}
body .zarintar-wholesale-cart-status,
body .zarintar-wholesale-cart-status--inline,
body #datis-cart-root .cart-item .zarintar-wholesale-cart-status {
	font-size: var(--ztwpp-cart-status-font-size, 12px) !important;
	font-weight: var(--ztwpp-cart-status-font-weight, 600) !important;
	line-height: var(--ztwpp-cart-status-line-height, 1.6) !important;
	gap: var(--ztwpp-cart-status-gap, 6px) !important;
	margin-block-start: var(--ztwpp-cart-status-margin-top, 8px) !important;
	padding-block: var(--ztwpp-cart-status-padding-y, 5px) !important;
	padding-inline: var(--ztwpp-cart-status-padding-x, 10px) !important;
	border-radius: var(--ztwpp-cart-status-radius, 999px) !important;
}
body .zarintar-wholesale-cart-status__label {
	font-weight: var(--ztwpp-cart-status-label-weight, 600) !important;
}
body .zarintar-wholesale-cart-status__value {
	font-weight: var(--ztwpp-cart-status-value-weight, 700) !important;
}


/* ZTWPP v1.0.21: physical ribbon placement and Datis featured-gallery safe inset.
   Admin labels such as "bottom right" now mean the visual bottom-right corner even on RTL sites.
   Opposite edges are explicitly unset so old top/right rules cannot keep winning. */
.zarintar-wholesale-ribbon--top-left,
.zarintar-wholesale-ribbon--top-right,
.zarintar-wholesale-ribbon--bottom-left,
.zarintar-wholesale-ribbon--bottom-right {
	inset: auto !important;
	inset-block-start: auto !important;
	inset-block-end: auto !important;
	inset-inline-start: auto !important;
	inset-inline-end: auto !important;
}
.zarintar-wholesale-ribbon--top-left {
	top: var(--ztwpp-ribbon-edge-offset, 14px) !important;
	left: var(--ztwpp-ribbon-edge-offset, 14px) !important;
	right: auto !important;
	bottom: auto !important;
}
.zarintar-wholesale-ribbon--top-right {
	top: var(--ztwpp-ribbon-edge-offset, 14px) !important;
	right: var(--ztwpp-ribbon-edge-offset, 14px) !important;
	left: auto !important;
	bottom: auto !important;
}
.zarintar-wholesale-ribbon--bottom-left {
	bottom: var(--ztwpp-ribbon-edge-offset, 14px) !important;
	left: var(--ztwpp-ribbon-edge-offset, 14px) !important;
	right: auto !important;
	top: auto !important;
}
.zarintar-wholesale-ribbon--bottom-right {
	bottom: var(--ztwpp-ribbon-edge-offset, 14px) !important;
	right: var(--ztwpp-ribbon-edge-offset, 14px) !important;
	left: auto !important;
	top: auto !important;
}
body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor {
	position: relative !important;
	overflow: visible !important;
}
body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon {
	position: absolute !important;
	z-index: 120 !important;
	pointer-events: none;
}
body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--top-left {
	top: var(--ztwpp-single-ribbon-top, 94px) !important;
	left: var(--ztwpp-single-ribbon-x, 59px) !important;
	right: auto !important;
	bottom: auto !important;
}
body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--top-right {
	top: var(--ztwpp-single-ribbon-top, 94px) !important;
	right: var(--ztwpp-single-ribbon-x, 59px) !important;
	left: auto !important;
	bottom: auto !important;
}
body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--bottom-left {
	bottom: var(--ztwpp-single-ribbon-bottom, 34px) !important;
	left: var(--ztwpp-single-ribbon-x, 59px) !important;
	right: auto !important;
	top: auto !important;
}
body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--bottom-right {
	bottom: var(--ztwpp-single-ribbon-bottom, 34px) !important;
	right: var(--ztwpp-single-ribbon-x, 59px) !important;
	left: auto !important;
	top: auto !important;
}
body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--corner-ribbon.zarintar-wholesale-ribbon--bottom-left,
body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--corner-ribbon.zarintar-wholesale-ribbon--bottom-right {
	transform: none !important;
}
@media screen and (max-width: 768px) {
	body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--top-left,
	body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--top-right {
		top: calc(var(--ztwpp-single-ribbon-top, 94px) - 10px) !important;
	}
	body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--top-left,
	body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--bottom-left {
		left: max(16px, calc(var(--ztwpp-single-ribbon-x, 59px) - 20px)) !important;
	}
	body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--top-right,
	body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon--bottom-right {
		right: max(16px, calc(var(--ztwpp-single-ribbon-x, 59px) - 20px)) !important;
	}
}


/* ZTWPP v1.0.22: featured-image-only single ribbon layer.
   The ribbon is attached to the actual image surface, not the padded Datis gallery wrapper. */
body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor {
	position: relative !important;
	overflow: visible !important;
}
body .product-layout .product-layout-gallery .gallery-main.zarintar-wholesale-single-ribbon-anchor > .zarintar-wholesale-ribbon {
	display: none !important;
}
.zarintar-wholesale-single-ribbon-anchor {
	position: relative !important;
}
.product-layout .product-layout-gallery .gallery-main .gallery-swiper.zarintar-wholesale-single-ribbon-anchor,
.zarintar-wholesale-single-ribbon-anchor--datis {
	position: relative !important;
	overflow: hidden !important;
	isolation: isolate;
}
.zarintar-wholesale-featured-ribbon-layer {
	position: absolute !important;
	inset: 0 !important;
	z-index: 80 !important;
	pointer-events: none !important;
	overflow: visible !important;
	border-radius: inherit !important;
}
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon {
	position: absolute !important;
	z-index: 130 !important;
	pointer-events: none !important;
	inset: auto !important;
	inset-block-start: auto !important;
	inset-block-end: auto !important;
	inset-inline-start: auto !important;
	inset-inline-end: auto !important;
}
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--top-left {
	top: var(--ztwpp-single-ribbon-top, 18px) !important;
	left: var(--ztwpp-single-ribbon-x, 18px) !important;
	right: auto !important;
	bottom: auto !important;
}
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--top-right {
	top: var(--ztwpp-single-ribbon-top, 18px) !important;
	right: var(--ztwpp-single-ribbon-x, 18px) !important;
	left: auto !important;
	bottom: auto !important;
}
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--bottom-left {
	bottom: var(--ztwpp-single-ribbon-bottom, 18px) !important;
	left: var(--ztwpp-single-ribbon-x, 18px) !important;
	right: auto !important;
	top: auto !important;
}
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--bottom-right {
	bottom: var(--ztwpp-single-ribbon-bottom, 18px) !important;
	right: var(--ztwpp-single-ribbon-x, 18px) !important;
	left: auto !important;
	top: auto !important;
}
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--corner-ribbon.zarintar-wholesale-ribbon--bottom-left,
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--corner-ribbon.zarintar-wholesale-ribbon--bottom-right {
	transform: none !important;
}
@media screen and (max-width: 768px) {
	.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--top-left,
	.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--top-right {
		top: max(12px, calc(var(--ztwpp-single-ribbon-top, 18px) - 4px)) !important;
	}
	.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--bottom-left,
	.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--bottom-right {
		bottom: max(12px, calc(var(--ztwpp-single-ribbon-bottom, 18px) - 4px)) !important;
	}
	.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--top-left,
	.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--bottom-left {
		left: max(12px, calc(var(--ztwpp-single-ribbon-x, 18px) - 4px)) !important;
	}
	.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--top-right,
	.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon--bottom-right {
		right: max(12px, calc(var(--ztwpp-single-ribbon-x, 18px) - 4px)) !important;
	}
}


/* ZTWPP v1.0.23: final physical single-image ribbon position layer.
   JS also writes these as inline !important values; these rules keep the
   correct position before/while JS runs and prevent RTL/logical-side conflicts. */
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon[data-ztwpp-current-position="top-left"],
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon[data-ztwpp-ribbon-position="top-left"] {
	top: var(--ztwpp-single-ribbon-top, 18px) !important;
	left: var(--ztwpp-single-ribbon-x, 18px) !important;
	right: auto !important;
	bottom: auto !important;
}
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon[data-ztwpp-current-position="top-right"],
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon[data-ztwpp-ribbon-position="top-right"] {
	top: var(--ztwpp-single-ribbon-top, 18px) !important;
	right: var(--ztwpp-single-ribbon-x, 18px) !important;
	left: auto !important;
	bottom: auto !important;
}
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon[data-ztwpp-current-position="bottom-left"],
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon[data-ztwpp-ribbon-position="bottom-left"] {
	bottom: var(--ztwpp-single-ribbon-bottom, 18px) !important;
	left: var(--ztwpp-single-ribbon-x, 18px) !important;
	right: auto !important;
	top: auto !important;
}
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon[data-ztwpp-current-position="bottom-right"],
.zarintar-wholesale-featured-ribbon-layer > .zarintar-wholesale-ribbon[data-ztwpp-ribbon-position="bottom-right"] {
	bottom: var(--ztwpp-single-ribbon-bottom, 18px) !important;
	right: var(--ztwpp-single-ribbon-x, 18px) !important;
	left: auto !important;
	top: auto !important;
}


/* ZTWPP v1.0.24: login-only prompt polish.
   Keeps other modules untouched while removing the old percent icon and making
   login CTA text truly centered across Datis/WooCommerce button styles. */
body .zarintar-wholesale-section--no-icon .zarintar-wholesale-section__icon,
body .zarintar-wholesale-login-prompt--no-icon .zarintar-wholesale-login-prompt__icon,
body .zarintar-wholesale-section__icon:empty,
body .zarintar-wholesale-login-prompt__icon:empty {
	display: none !important;
}
body .zarintar-wholesale-login-prompt__button,
body .woocommerce .zarintar-wholesale-login-prompt a.button.zarintar-wholesale-login-prompt__button,
body .elementor .zarintar-wholesale-login-prompt a.button.zarintar-wholesale-login-prompt__button,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__button,
body .product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt .zarintar-wholesale-login-prompt__button,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis .zarintar-wholesale-login-prompt__button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	vertical-align: middle !important;
	box-sizing: border-box !important;
	min-height: var(--ztwpp-login-button-min-height, 44px) !important;
	padding-block: 0 !important;
	padding-inline: var(--ztwpp-login-button-padding-x, 20px) !important;
	font-size: var(--ztwpp-login-button-font-size, 13.5px) !important;
	font-weight: var(--ztwpp-login-button-font-weight, 700) !important;
	line-height: var(--ztwpp-login-button-line-height, 1.2) !important;
	white-space: normal !important;
}
body .zarintar-wholesale-login-prompt,
body .product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis {
	margin-block-start: var(--ztwpp-login-margin-top, 10px) !important;
	margin-block-end: var(--ztwpp-login-margin-bottom, 12px) !important;
	padding-block-start: var(--ztwpp-login-padding-top, 16px) !important;
	padding-block-end: var(--ztwpp-login-padding-bottom, 16px) !important;
	padding-inline: var(--ztwpp-login-padding-x, 18px) !important;
	gap: var(--ztwpp-login-gap, 14px) !important;
}
body .zarintar-wholesale-login-prompt__content,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__content {
	gap: var(--ztwpp-login-gap, 14px) !important;
	align-items: center !important;
}

/* ZTWPP v1.0.25: login-requirement simple spacing and button color controls.
   Targets only the logged-out login prompt UI. */
:root {
	--ztwpp-login-text-gap: 8px;
	--ztwpp-login-button-gap: 16px;
	--ztwpp-login-button-bg: #b98722;
	--ztwpp-login-button-hover-bg: color-mix(in srgb, var(--ztwpp-login-button-bg) 86%, #000000);
}
body .zarintar-wholesale-login-prompt,
body .product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis {
	gap: var(--ztwpp-login-button-gap, 16px) !important;
}
body .zarintar-wholesale-login-prompt:not(.zarintar-wholesale-login-prompt--style-compact),
body .product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt:not(.zarintar-wholesale-login-prompt--style-compact),
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis:not(.zarintar-wholesale-login-prompt--style-compact) {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}
body .zarintar-wholesale-login-prompt__content,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__content {
	display: flex !important;
	align-items: flex-start !important;
	gap: var(--ztwpp-login-gap, 16px) !important;
}
body .zarintar-wholesale-login-prompt__text,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__text {
	display: flex !important;
	flex-direction: column !important;
	gap: var(--ztwpp-login-text-gap, 8px) !important;
	min-inline-size: 0 !important;
}
body .zarintar-wholesale-login-prompt__title,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__title {
	margin: 0 !important;
}
body .zarintar-wholesale-login-prompt__description,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__description {
	margin: 0 !important;
}
body .zarintar-wholesale-login-prompt__button,
body .woocommerce .zarintar-wholesale-login-prompt a.button.zarintar-wholesale-login-prompt__button,
body .elementor .zarintar-wholesale-login-prompt a.button.zarintar-wholesale-login-prompt__button,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__button,
body .product-layout .product-layout-purchase > .zarintar-wholesale-login-prompt .zarintar-wholesale-login-prompt__button,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt.zarintar-wholesale-section--theme-datis .zarintar-wholesale-login-prompt__button {
	background: var(--ztwpp-login-button-bg, #b98722) !important;
	border-color: var(--ztwpp-login-button-bg, #b98722) !important;
	color: var(--ztwpp-login-button-text, #ffffff) !important;
}
body .zarintar-wholesale-login-prompt__button:hover,
body .zarintar-wholesale-login-prompt__button:focus,
body .woocommerce .zarintar-wholesale-login-prompt a.button.zarintar-wholesale-login-prompt__button:hover,
body .woocommerce .zarintar-wholesale-login-prompt a.button.zarintar-wholesale-login-prompt__button:focus,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__button:hover,
body .product-layout .product-layout-purchase .zarintar-wholesale-login-prompt__button:focus {
	background: var(--ztwpp-login-button-hover-bg, color-mix(in srgb, var(--ztwpp-login-button-bg, #b98722) 86%, #000000)) !important;
	border-color: var(--ztwpp-login-button-hover-bg, color-mix(in srgb, var(--ztwpp-login-button-bg, #b98722) 86%, #000000)) !important;
	color: var(--ztwpp-login-button-hover-text, var(--ztwpp-login-button-text, #ffffff)) !important;
}
