/**
 * DigiCenter — single product visual polish (v7 / glass buy panel)
 * Layout inspired by modern glass sidebar demo; brand-aligned accents.
 */

/* --------------------------------------------------------------------------
   1) Product title hierarchy
   -------------------------------------------------------------------------- */
body.single-product .wd-single-title .product_title,
body.single-product h1.product_title.entry-title {
	font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem) !important;
	line-height: 1.45 !important;
	font-weight: 700 !important;
	color: #111111 !important;
	letter-spacing: -0.01em;
	margin-bottom: 0.35em;
}

/* --------------------------------------------------------------------------
   2) English name — flat accent, no gradient text
   -------------------------------------------------------------------------- */
body.single-product .en-name-block {
	margin-top: 4px;
	margin-bottom: 8px;
}

body.single-product .en-name-block::before {
	border-bottom-color: #e8e8e8;
}

body.single-product .en-name-text {
	color: #6b6b6b !important;
	background-image: none !important;
	-webkit-background-clip: initial !important;
	background-clip: initial !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   3) Key specs box — flatter, modern, no emoji
   -------------------------------------------------------------------------- */
body.single-product .wd-single-short-desc .woocommerce-product-details__short-description {
	background-color: #f6f7f8 !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 12px !important;
	padding: 14px 16px !important;
	font-size: 14px !important;
	line-height: 1.75 !important;
	color: #333333 !important;
	margin-bottom: 16px !important;
}

body.single-product .wd-single-short-desc .woocommerce-product-details__short-description::before {
	content: "مشخصات کلیدی" !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #555555 !important;
	margin-bottom: 8px !important;
	letter-spacing: 0;
}

body.single-product .wd-single-short-desc .woocommerce-product-details__short-description ul {
	margin: 0;
	padding-inline-start: 1.1em;
}

body.single-product .wd-single-short-desc .woocommerce-product-details__short-description li {
	margin-bottom: 6px !important;
}

/* --------------------------------------------------------------------------
   4) Buy card — glass panel (demo language)
   -------------------------------------------------------------------------- */
body.single-product .dc-buy-card {
	--dc-buy-gap: 14px;
	--dc-buy-pad: 18px;
	--dc-buy-line: rgba(226, 232, 240, 0.9);
	--dc-buy-muted: #64748b;
	--dc-buy-ink: #1e293b;
	--dc-buy-brand: #d4141f;
	--dc-buy-brand-deep: #b01018;
	--dc-buy-blue: #2563eb;
	--dc-buy-blue-deep: #1d4ed8;
	display: flex;
	flex-direction: column;
	gap: var(--dc-buy-gap);
	width: 100%;
	padding: var(--dc-buy-pad);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(226, 232, 240, 0.85);
	box-shadow: 0 20px 40px -18px rgba(15, 23, 42, 0.18);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-sizing: border-box;
	animation: dc-buy-card-in 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes dc-buy-card-in {
	from {
		opacity: 0;
		transform: translateY(14px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.single-product .dc-buy-card {
		animation: none;
	}
}

body.single-product .dc-buy-card > .wp-block-wd-container:empty,
body.single-product .dc-buy-card > .wp-block-wd-divider {
	display: none !important;
}

body.single-product .dc-buy-card .wd-single-price,
body.single-product .dc-buy-card .wd-single-add-cart,
body.single-product .dc-buy-card .wp-block-wd-popup {
	margin: 0 !important;
}

body.single-product .dc-buy-card .wp-block-wd-popup {
	width: auto !important;
}

/* Decision head: price | stock (demo row) */
body.single-product .dc-buy-head {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px 12px;
	margin: 0;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--dc-buy-line);
}

body.single-product .dc-buy-head .wd-single-price {
	flex: 1 1 auto;
	min-width: 0;
}

body.single-product .dc-price-label {
	display: block;
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 500;
	color: #94a3b8;
	letter-spacing: 0;
}

body.single-product .dc-buy-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 6px;
	margin: 0;
	flex: 0 0 auto;
}

body.single-product .dc-buy-hint {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0 !important;
	padding: 0;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--dc-buy-muted);
	text-align: end;
}

body.single-product .dc-buy-hint__icon {
	width: 12px;
	height: 12px;
	color: var(--dc-buy-brand);
	flex-shrink: 0;
	opacity: 0.75;
}

/* Cart flow: service → qty → CTA → total (demo order) */
body.single-product .dc-buy-card form.cart.dc-cart-flow {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin: 0;
	padding: 0;
}

body.single-product .dc-buy-card form.cart.dc-cart-flow .wcpa_form_outer,
body.single-product .dc-buy-card form.cart.dc-cart-flow .dc-upsell-after-cta {
	order: 1;
	margin: 0 !important;
}

body.single-product .dc-buy-card form.cart.dc-cart-flow .quantity,
body.single-product .dc-buy-card form.cart.dc-cart-flow .dc-qty {
	order: 2;
}

body.single-product .dc-buy-card form.cart.dc-cart-flow .single_add_to_cart_button {
	order: 3;
	margin: 0 !important;
}

body.single-product .dc-buy-card form.cart.dc-cart-flow .dc-buy-total {
	order: 4;
}

/* Quantity — slate bar + white stepper (demo) */
body.single-product .dc-buy-card form.cart.dc-has-qty .quantity.dc-qty {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin: 0 !important;
	padding: 6px 8px 6px 6px;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	box-sizing: border-box;
}

body.single-product .dc-buy-card form.cart.dc-has-qty .dc-qty__label {
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	min-width: 0;
	padding-inline-start: 8px;
}

body.single-product .dc-buy-card form.cart.dc-has-qty .dc-qty__controls {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 6px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #f1f5f9;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.single-product .dc-buy-card form.cart.dc-has-qty .quantity .minus,
body.single-product .dc-buy-card form.cart.dc-has-qty .quantity .plus {
	width: 32px;
	height: 32px;
	min-width: 32px;
	border-radius: 8px;
	border: none;
	background: transparent;
	color: #475569;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

body.single-product .dc-buy-card form.cart.dc-has-qty .quantity .minus:hover,
body.single-product .dc-buy-card form.cart.dc-has-qty .quantity .plus:hover {
	background: #eff6ff;
	color: var(--dc-buy-blue);
}

body.single-product .dc-buy-card form.cart.dc-has-qty .quantity .minus:active,
body.single-product .dc-buy-card form.cart.dc-has-qty .quantity .plus:active {
	transform: scale(0.92);
}

body.single-product .dc-buy-card form.cart.dc-has-qty .quantity input.qty {
	width: 28px;
	height: 32px;
	border-radius: 0;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: var(--dc-buy-ink);
	margin: 0;
	padding: 0;
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
}

body.single-product .dc-buy-card form.cart.dc-has-qty .quantity input.qty::-webkit-outer-spin-button,
body.single-product .dc-buy-card form.cart.dc-has-qty .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* DigiService — amber service card (demo) */
body.single-product .dc-buy-card .dc-upsell-after-cta .digiservice-custom,
body.single-product .dc-buy-card .dc-digiservice.wcpa_field_wrap {
	padding: 0 !important;
	border-radius: 16px !important;
	box-shadow: none !important;
	border: 1px solid rgba(245, 158, 11, 0.45) !important;
	background: rgba(255, 251, 235, 0.55) !important;
	margin: 0 !important;
	transition: border-color 0.2s ease, background-color 0.2s ease;
	overflow: hidden;
}

/* WCPA skeleton — keep amber card shape while addon loads */
body.single-product .dc-buy-card .wcpa_form_outer.dc-upsell-after-cta .wcpa_skeleton_loader_area {
	margin: 0 !important;
	padding: 12px !important;
	border-radius: 16px !important;
	border: 1px solid rgba(245, 158, 11, 0.4) !important;
	background: rgba(255, 251, 235, 0.5) !important;
	min-height: 0 !important;
}

body.single-product .dc-buy-card .wcpa_skeleton_loader {
	gap: 8px !important;
	min-height: 0 !important;
}

body.single-product .dc-buy-card .wcpa_skeleton_label,
body.single-product .dc-buy-card .wcpa_skeleton_field {
	background: rgba(245, 158, 11, 0.18) !important;
	border-radius: 8px !important;
}

body.single-product .dc-buy-card .wcpa_skeleton_label {
	height: 12px !important;
	width: 55% !important;
	margin-bottom: 8px !important;
}

body.single-product .dc-buy-card .wcpa_skeleton_field {
	height: 36px !important;
	width: 100% !important;
}

body.single-product .dc-buy-card .dc-digiservice.wcpa_field_wrap:hover {
	border-color: #f59e0b !important;
	background: #fffbeb !important;
}

body.single-product .dc-buy-card .dc-digiservice .wcpa_checkbox {
	padding: 10px 12px 8px !important;
	margin: 0 !important;
}

body.single-product .dc-buy-card .dc-digiservice .wcpa_checkbox label {
	display: grid !important;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 10px;
	row-gap: 4px;
	align-items: start;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	color: var(--dc-buy-ink) !important;
	line-height: 1.4 !important;
	cursor: pointer;
}

body.single-product .dc-buy-card .dc-digiservice .wcpa_checkbox label > input,
body.single-product .dc-buy-card .dc-digiservice .wcpa_checkbox label > .wcpa_checkbox_custom {
	grid-row: 1 / span 2;
	margin-top: 3px;
}

body.single-product .dc-buy-card .dc-digiservice__title-row {
	grid-column: 2;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	min-width: 0;
}

body.single-product .dc-buy-card .dc-digiservice .wcpa_option_price {
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #b45309 !important;
	margin: 0 !important;
	white-space: nowrap;
	flex: 0 0 auto;
}

body.single-product .dc-buy-card .dc-digiservice__value {
	grid-column: 2;
	display: block;
	margin: 0 !important;
	padding: 0;
	font-size: 11px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: #64748b !important;
}

body.single-product .dc-buy-card .dc-digiservice .wcpa_field_desc {
	margin: 0 !important;
	padding: 0 12px 8px !important;
	padding-inline-start: 36px !important;
	font-size: 11px !important;
}

body.single-product .dc-buy-card .dc-digiservice .wcpa_field_desc p {
	margin: 0 !important;
}

body.single-product .dc-buy-card .dc-digiservice .wcpa_field_desc a {
	color: #64748b !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.single-product .dc-buy-card .dc-digiservice .wcpa_field_bottom {
	display: none;
}

/* Live total — soft slate panel */
body.single-product .dc-buy-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 10px 14px;
	border-radius: 14px;
	background: #0f172a;
	color: #fff;
	box-sizing: border-box;
}

body.single-product .dc-buy-total[hidden] {
	display: none !important;
}

body.single-product .dc-buy-total__label {
	font-size: 12px;
	font-weight: 500;
	opacity: 0.75;
}

body.single-product .dc-buy-total__amount {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

/* Consult + corporate */
body.single-product .dc-consult-cta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 0;
	color: #64748b !important;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none !important;
	line-height: 1.3;
	transition: color 0.15s ease;
}

body.single-product .dc-consult-cta:hover,
body.single-product .dc-consult-cta:focus {
	color: var(--dc-buy-blue) !important;
	text-decoration: none !important;
}

body.single-product .dc-consult-cta svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	opacity: 0.85;
}

body.single-product .dc-buy-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 18px;
	width: 100%;
}

body.single-product .dc-buy-footer__meta .wp-block-wd-popup {
	width: 100%;
	text-align: center;
	padding-top: 10px;
	margin-top: 2px;
	border-top: 1px solid var(--dc-buy-line);
}

/* --------------------------------------------------------------------------
   5) Price + compact savings
   -------------------------------------------------------------------------- */
body.single-product .wd-single-price .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin-bottom: 0 !important;
}

body.single-product .wd-single-price .price .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.single-product .wd-single-price .price del {
	order: 2;
	display: inline !important;
	font-size: 0.78em;
	opacity: 0.45;
	color: #94a3b8;
}

body.single-product .wd-single-price .price ins {
	order: 1;
	display: inline !important;
	text-decoration: none;
	font-size: clamp(1.35rem, 1.2rem + 0.45vw, 1.65rem);
	font-weight: 800;
	color: var(--dc-buy-ink);
	letter-spacing: -0.02em;
	line-height: 1.15;
	width: 100%;
}

body.single-product .wd-single-price .price ins .woocommerce-Price-currencySymbol,
body.single-product .wd-single-price .price del .woocommerce-Price-currencySymbol {
	font-size: 0.55em;
	font-weight: 600;
	opacity: 0.65;
	margin-inline-start: 3px;
	color: #64748b;
}

body.single-product .wd-single-price .price .dc-price-saving {
	order: 3;
	display: inline-flex;
	align-items: center;
	align-self: center;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 2px 7px;
	border-radius: 999px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	font-size: 10.5px;
	font-weight: 500;
	color: #047857;
	line-height: 1.3;
	white-space: nowrap;
}

body.single-product .wd-single-price .price .dc-price-saving__label {
	color: #059669;
	font-weight: 600;
}

body.single-product .wd-single-price .price .dc-price-saving__amount .amount,
body.single-product .wd-single-price .price .dc-price-saving__amount bdi {
	color: #047857 !important;
	font-weight: 700;
}

body.single-product .wd-single-price .price .dc-price-saving__amount .woocommerce-Price-currencySymbol {
	font-size: 0.85em;
	font-weight: 500;
	opacity: 0.8;
}

body.single-product .product-labels .product-label.onsale.dc-sale-badge-soft {
	display: none !important;
}

/* --------------------------------------------------------------------------
   6) Stock chip — emerald (in stock) / amber (low)
   -------------------------------------------------------------------------- */
body.single-product p.stock.dc-stock-chip,
body.single-product p.stock.in-stock.dc-stock-chip {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	margin: 0 !important;
	padding: 5px 11px !important;
	border-radius: 999px !important;
	background: #ecfdf5 !important;
	border: 1px solid rgba(167, 243, 208, 0.85) !important;
	box-shadow: none !important;
	color: #047857 !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	white-space: nowrap;
}

body.single-product p.stock.dc-stock-chip.dc-stock-chip--low,
body.single-product p.stock.in-stock.dc-stock-chip.dc-stock-chip--low {
	background: #fffbeb !important;
	border-color: #fde68a !important;
	color: #b45309 !important;
}

body.single-product .dc-buy-meta > p.stock.dc-stock-chip,
body.single-product .dc-buy-card > p.stock.dc-stock-chip {
	margin: 0 !important;
	align-self: flex-end;
}

body.single-product p.stock.dc-stock-chip::before {
	content: "" !important;
	display: inline-block !important;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
	flex-shrink: 0;
	animation: dc-stock-pulse 2.4s ease-in-out infinite;
}

body.single-product p.stock.dc-stock-chip.dc-stock-chip--low::before {
	background: #f59e0b;
}

@keyframes dc-stock-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.45;
		transform: scale(0.85);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.single-product p.stock.dc-stock-chip::before {
		animation: none;
	}
}

body.single-product p.stock.dc-stock-chip span,
body.single-product p.stock.wd-style-with-bg.dc-stock-chip span {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
}

body.single-product p.stock.dc-stock-chip span::before,
body.single-product p.stock.wd-style-with-bg.dc-stock-chip span::before {
	content: none !important;
	display: none !important;
}

/* --------------------------------------------------------------------------
   7) CTA hierarchy — gradient primary / quiet secondary / whisper tertiary
   -------------------------------------------------------------------------- */
body.single-product .dc-buy-card .single_add_to_cart_button.button.alt {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 16px !important;
	min-height: 48px;
	padding: 11px 16px !important;
	font-weight: 700 !important;
	font-size: 13.5px !important;
	letter-spacing: 0;
	width: 100%;
	border: none !important;
	color: #fff !important;
	background: linear-gradient(135deg, var(--dc-buy-brand) 0%, var(--dc-buy-brand-deep) 100%) !important;
	box-shadow: 0 12px 28px -8px rgba(212, 20, 31, 0.45) !important;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, filter 0.2s ease !important;
}

body.single-product .dc-buy-card .single_add_to_cart_button.button.alt:hover,
body.single-product .dc-buy-card .single_add_to_cart_button.button.alt:focus {
	filter: brightness(1.03);
	transform: translateY(-2px);
	box-shadow: 0 16px 32px -8px rgba(212, 20, 31, 0.5) !important;
	color: #fff !important;
}

body.single-product .dc-buy-card .single_add_to_cart_button.button.alt:active {
	transform: translateY(0) scale(0.99);
}

body.single-product .dc-buy-card .single_add_to_cart_button .dc-cta-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* Outside buy-card — keep theme defaults usable */
body.single-product .single_add_to_cart_button.button.alt {
	border-radius: 12px !important;
	min-height: 46px;
	font-weight: 600 !important;
}

body.single-product a.wp-block-wd-button[href*="installment-purchase"],
body.single-product a.dc-cta-secondary {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	background-color: transparent !important;
	background-image: none !important;
	color: #475569 !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 14px !important;
	box-shadow: none !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 8px 14px !important;
	text-decoration: none !important;
	text-align: center;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.single-product a.wp-block-wd-button.wd-hide-lg.wd-hide-sm[href*="installment-purchase"],
body.single-product a.dc-cta-secondary.wd-hide-lg.wd-hide-sm {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	border: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

body.single-product a.wp-block-wd-button[href*="installment-purchase"]:hover,
body.single-product a.wp-block-wd-button[href*="installment-purchase"]:focus,
body.single-product a.dc-cta-secondary:hover,
body.single-product a.dc-cta-secondary:focus {
	background-color: #f8fafc !important;
	color: var(--dc-buy-ink) !important;
	border-color: #cbd5e1 !important;
	text-decoration: none !important;
}

body.single-product a.wp-block-wd-button.btn-style-default.btn-color-black,
body.single-product a.dc-cta-tertiary {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: auto;
	max-width: 100%;
	background-color: transparent !important;
	background-image: none !important;
	color: #94a3b8 !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-weight: 500 !important;
	font-size: 11px !important;
	min-height: 0;
	margin: 0 !important;
	padding: 2px 0 !important;
	text-decoration: none !important;
	opacity: 1;
	transition: color 0.15s ease;
}

body.single-product a.wp-block-wd-button.btn-style-default.btn-color-black:hover,
body.single-product a.wp-block-wd-button.btn-style-default.btn-color-black:focus,
body.single-product a.dc-cta-tertiary:hover,
body.single-product a.dc-cta-tertiary:focus {
	background-color: transparent !important;
	color: var(--dc-buy-blue) !important;
	text-decoration: none !important;
}

body.single-product a.dc-cta-tertiary .wd-svg-icon,
body.single-product a.wp-block-wd-button.btn-color-black .wd-svg-icon,
body.single-product .dc-buy-footer a.dc-cta-tertiary .wp-block-wd-icon {
	display: none !important;
}

body.single-product a.dc-cta-tertiary .dc-corp-chevron {
	width: 12px;
	height: 12px;
	opacity: 0.7;
}

body.single-product form.cart {
	margin-bottom: 0;
}

body.single-product .wd-single-add-cart .wd-divider,
body.single-product .dc-buy-card > .wp-block-wd-divider {
	display: none !important;
}

/* --------------------------------------------------------------------------
   8) Trust row — 3-col icon tiles (demo)
   -------------------------------------------------------------------------- */
body.single-product .dc-trust-chips {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	width: 100%;
	margin: 0;
	padding: 10px 0 0;
	border-top: 1px solid var(--dc-buy-line);
	text-align: center;
}

body.single-product .dc-trust-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	min-width: 0;
	text-align: center;
	padding: 4px 2px;
	border-radius: 0;
	background: transparent;
	color: #64748b;
	position: relative;
}

body.single-product .dc-trust-chip:not(:last-child)::after {
	content: none;
	display: none;
}

body.single-product .dc-trust-chip__icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	flex-shrink: 0;
}

body.single-product .dc-trust-chip--shield .dc-trust-chip__icon-wrap {
	background: #ecfdf5;
	color: #059669;
}

body.single-product .dc-trust-chip--truck .dc-trust-chip__icon-wrap {
	background: #eff6ff;
	color: #2563eb;
}

body.single-product .dc-trust-chip--return .dc-trust-chip__icon-wrap {
	background: #f5f3ff;
	color: #7c3aed;
}

body.single-product .dc-trust-chip__icon {
	display: block;
	width: 16px;
	height: 16px;
	color: inherit;
	flex-shrink: 0;
	opacity: 1;
}

body.single-product .dc-trust-chip__label {
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: #475569;
	white-space: normal;
}

/* --------------------------------------------------------------------------
   9) Footer — compare | consult, then corporate whisper
   -------------------------------------------------------------------------- */
body.single-product .dc-buy-footer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	width: 100%;
	margin: 0;
	padding-top: 4px;
	border-top: none;
}

body.single-product .dc-buy-footer .dc-buy-actions {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	order: -1;
	margin: 0 !important;
	padding: 2px 0 6px;
}

body.single-product .dc-buy-footer .dc-buy-footer__meta {
	order: 1;
}

body.single-product .dc-buy-footer .dc-buy-footer__meta .dc-consult-cta {
	order: 0;
}

body.single-product .dc-buy-actions .wd-single-action-btn {
	margin: 0 !important;
}

body.single-product .dc-buy-actions .wd-action-btn a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 8px;
	border-radius: 8px;
	color: #64748b !important;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none !important;
	transition: color 0.15s ease, background-color 0.15s ease;
}

body.single-product .dc-buy-actions .wd-action-btn a:hover,
body.single-product .dc-buy-actions .wd-action-btn a:focus {
	background: transparent;
	color: var(--dc-buy-blue) !important;
}

body.single-product .dc-buy-actions .wd-action-text {
	font-size: 12px !important;
}

body.single-product .dc-buy-actions .wd-single-compare-btn + .wd-single-action-btn::before,
body.single-product .dc-buy-footer .dc-buy-actions::after {
	content: none;
}

body.single-product .dc-actions-sep {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #cbd5e1;
	margin: 0 4px;
	flex-shrink: 0;
}

/* When consult sits next to actions visually via footer meta row */
body.single-product .dc-buy-footer.is-demo-footer {
	gap: 2px;
}

body.single-product .dc-buy-footer.is-demo-footer .dc-buy-footer__row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px 14px;
	flex-wrap: wrap;
	padding: 2px 0 8px;
}

body.single-product .dc-buy-footer.is-demo-footer .dc-buy-footer__corp {
	width: 100%;
	text-align: center;
	padding-top: 8px;
	border-top: 1px solid var(--dc-buy-line);
}

/* --------------------------------------------------------------------------
   10) Product labels — pill shape
   -------------------------------------------------------------------------- */
body.single-product .product-labels .product-label.wd-shape-round-sm {
	border-radius: 6px !important;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 4px 8px !important;
	font-size: 11px !important;
	line-height: 1.3 !important;
	font-weight: 600 !important;
}

body.single-product .product-labels.labels-rounded-sm {
	gap: 6px;
}

/* --------------------------------------------------------------------------
   11) Sticky buy bar — mobile
   -------------------------------------------------------------------------- */
.dc-sticky-buy {
	display: none;
}

@media (max-width: 768px) {
	body.single-product .wd-single-title .product_title,
	body.single-product h1.product_title.entry-title {
		font-size: 1.25rem !important;
		line-height: 1.5 !important;
	}

	body.single-product .dc-buy-card {
		--dc-buy-pad: 16px;
		--dc-buy-gap: 16px;
		padding: var(--dc-buy-pad);
		border-radius: 20px;
	}

	body.single-product .dc-buy-head {
		padding-bottom: 12px;
		gap: 8px;
	}

	body.single-product a.wp-block-wd-button.btn-style-default.btn-color-primary[href*="installment-purchase"],
	body.single-product a.dc-cta-secondary {
		margin: 0 !important;
		width: 100%;
		min-height: 40px !important;
	}

	body.single-product .dc-buy-card .single_add_to_cart_button.button.alt {
		width: 100%;
		margin-bottom: 0;
		min-height: 48px;
		border-radius: 14px !important;
	}

	body.single-product .en-name-text {
		font-size: 12px !important;
	}

	body.single-product .dc-trust-chips {
		margin: 0;
		padding-top: 12px;
		gap: 6px;
	}

	body.single-product .dc-trust-chip__label {
		font-size: 10.5px;
	}

	body.single-product .dc-trust-chip__icon-wrap {
		width: 32px;
		height: 32px;
		border-radius: 10px;
	}

	body.single-product .dc-buy-total__amount {
		font-size: 13px;
	}

	body.single-product .wd-single-price .price ins {
		font-size: 1.35rem;
	}

	body.single-product .wd-single-price .price .dc-price-saving {
		font-size: 10.5px;
		padding: 2px 7px;
	}

	body.single-product p.stock.dc-stock-chip,
	body.single-product p.stock.in-stock.dc-stock-chip {
		font-size: 10.5px !important;
	}

	.dc-sticky-buy {
		display: block;
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 360;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, 0.94);
		border-top: 1px solid #e2e8f0;
		box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.08);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		transform: translateY(110%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.22s ease, opacity 0.22s ease;
	}

	body:has(.wd-close-side-opened) .dc-sticky-buy,
	body:has(.cart-widget-side.wd-opened) .dc-sticky-buy,
	body:has(.wd-side-hidden.wd-opened) .dc-sticky-buy {
		z-index: 340;
		pointer-events: none;
	}

	.dc-sticky-buy.is-visible {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.dc-sticky-buy__inner {
		display: flex;
		align-items: center;
		gap: 12px;
		max-width: 720px;
		margin: 0 auto;
	}

	.dc-sticky-buy__price {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 14px;
		font-weight: 700;
		color: var(--dc-buy-ink, #1e293b);
		line-height: 1.35;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.dc-sticky-buy__cta {
		flex: 0 0 auto;
		appearance: none;
		border: none;
		border-radius: 14px;
		min-height: 44px;
		padding: 0 16px;
		background: linear-gradient(135deg, #d4141f 0%, #b01018 100%);
		color: #fff;
		font: inherit;
		font-size: 13px;
		font-weight: 700;
		cursor: pointer;
		box-shadow: 0 8px 20px -6px rgba(212, 20, 31, 0.45);
	}

	.dc-sticky-buy__cta:hover,
	.dc-sticky-buy__cta:focus {
		filter: brightness(1.04);
		outline: none;
	}

	body.single-product.dc-sticky-buy-open {
		padding-bottom: calc(78px + var(--dc-sticky-buy-offset, 0px));
	}

	body.wd-toolbar-on .dc-sticky-buy,
	body:has(.wd-toolbar) .dc-sticky-buy {
		bottom: var(--dc-sticky-buy-offset, 55px);
	}
}
