/* Native single product — lower sections + layout helpers (hero styles in wc-single-product-parity.css). */

/* WC hides gallery until flexslider runs; avoid infinite “loading” if JS hiccups. */
.eyn-native-single-product .woocommerce-product-gallery {
	opacity: 1 !important;
}

/* Elementor grid shim — we dequeue elementor-frontend.css on native single product. */
body.eyn-native-single-product .eyn-sp-hero .elementor-container,
body.eyn-native-single-product .eyn-sp-hero .eyn-sp-card__row {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	box-sizing: border-box;
}

body.eyn-native-single-product .eyn-sp-hero .elementor-column {
	display: flex;
	flex-direction: column;
	min-height: 1px;
	box-sizing: border-box;
}

body.eyn-native-single-product .eyn-sp-hero .elementor-widget-wrap,
body.eyn-native-single-product .eyn-sp-hero .elementor-widget-container {
	width: 100%;
}

body.eyn-native-single-product .eyn-sp-hero .elementor-column > .elementor-widget-wrap {
	flex: 1 1 auto;
	min-width: 0;
}

@media (min-width: 768px) {
	body.eyn-native-single-product .elementor-element-eyn-197a42fc {
		flex: 0 0 76.725%;
		max-width: 76.725%;
	}

	body.eyn-native-single-product .elementor-element-eyn-72c2ad7 {
		flex: 0 0 23.154%;
		max-width: 23.154%;
	}

	body.eyn-native-single-product .elementor-element-eyn-25a71c1a {
		flex: 0 0 49.07%;
		max-width: 49.07%;
	}

	body.eyn-native-single-product .elementor-element-eyn-dcc5676 {
		flex: 0 0 calc(50.929% - 12px);
		max-width: calc(50.929% - 12px);
	}

	body.eyn-native-single-product .elementor-element-eyn-25a71c1a {
		flex-basis: calc(49.07% - 12px);
		max-width: calc(49.07% - 12px);
	}

	body.eyn-native-single-product .eyn-sp-hero .elementor-col-100 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	body.eyn-native-single-product .eyn-sp-hero .elementor-col-50 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* Product body — native WooCommerce implementation of the supplied
 * `.product-body > .product-top` reference.  The reference intentionally
 * leaves a gallery insertion point; the real WooCommerce gallery lives in
 * that spot so product images, thumbnails and zoom remain functional. */
body.eyn-native-single-product .eyn-sp-product-body {
	min-width: 0;
}

body.eyn-native-single-product .eyn-sp-product-top {
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

body.eyn-native-single-product .eyn-sp-product-top > .eyn-sp-product-heading {
	width: 100%;
	padding: 22px 28px 17px;
	border-bottom: 1px solid #f3f3f3;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-title {
	width: 100%;
	max-width: none;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-title .product_title {
	margin: 0;
	padding: 0;
	box-shadow: none;
	color: #34383a;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.7;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-title .product_title .sub_head {
	margin-top: 1px;
	color: #b2b4b6;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.55;
	text-align: right;
	text-transform: none;
}

body.eyn-native-single-product .eyn-sp-product-top > .eyn-sp-product-content {
	align-items: flex-start;
	gap: 28px;
	padding: 22px 28px 26px;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-product-media > .elementor-widget-wrap {
	display: block;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-product-purchase > .elementor-widget-wrap {
	padding-top: 0;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary {
	display: flex !important;
	gap: 9px 2%;
	padding-bottom: 0;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .lead_time,
body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .elementor-widget-container {
	min-width: 0;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-lead,
body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-stock {
	box-sizing: border-box;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-lead {
	flex: 0 0 49% !important;
	width: 49%;
	max-width: 49%;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-stock {
	flex: 0 0 49% !important;
	width: 49%;
	max-width: 49%;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-lead .lead_time,
body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-stock > .elementor-widget-container {
	display: flex;
	width: 100%;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #edf0f2;
	border-radius: 10px;
	background: #fff;
	color: #6c7373;
	font-size: 11px;
	line-height: 1.4;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-lead .lead_time svg {
	width: 19px;
	height: 19px;
	margin-inline-start: 0;
	margin-inline-end: 9px;
	stroke: #49c66e;
}

/* Legacy lead-time markup appends a clearing element after the badge.  Inside
 * the reference's two-column quick-attribute row that clear would force the
 * stock badge onto a second line. */
body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-lead .clear {
	display: none;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-stock .product_stock {
	display: flex;
	align-items: center;
	gap: 7px;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-stock .product_stock svg {
	width: 18px;
	height: 18px;
	stroke: #49c66e;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-stock .product_stock.no_avl,
body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-stock .product_stock.no_avl span {
	color: #f44336;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-stock .product_stock.no_avl svg {
	stroke: #f44336;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-stock:has(.product_stock.no_avl) > .elementor-widget-container {
	border-color: #ffcdd2;
	background: #ffefef;
	color: #f44336;
}

/* Next-purchase credit box is output by [next_purchase_discount]; hide on OOS as a safety net. */
body.eyn-native-single-product.eyn-product-outofstock .next-purchase-discount,
body.eyn-native-single-product .product.outofstock .next-purchase-discount {
	display: none !important;
}

/* Empty «آماده ارسال» slot when the product is out of stock. */
body.eyn-native-single-product.eyn-product-outofstock .eyn-sp-lead {
	display: none;
}

body.eyn-native-single-product.eyn-product-outofstock .eyn-sp-product-top .eyn-sp-stock {
	flex: 0 1 auto !important;
	width: auto;
	max-width: 100%;
}

/* Out-of-stock leftover add-to-cart / availability text — replaced by the notify form. */
body.eyn-native-single-product.eyn-product-outofstock .eyn-sp-addtocart,
body.eyn-native-single-product .product.outofstock .eyn-sp-addtocart {
	display: none !important;
}

/* Empty price plugin box on OOS (shortcode prints nothing useful). */
body.eyn-native-single-product.eyn-product-outofstock .eyn-sp-price-plugin {
	display: none !important;
}

/* [eynak_stock_notify] — brand red pill, overrides the plugin's gold card. */
body.eyn-native-single-product .eyn-sp-stock-notify {
	width: 100%;
	margin: 8px 0 0;
}

body.eyn-native-single-product .esn-notify-card {
	margin: 0;
	border: 0;
	border-radius: 15px;
	background: #900000;
	box-shadow: 0 1px 7px -3px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

body.eyn-native-single-product .esn-notify-card:hover,
body.eyn-native-single-product .esn-notify-card:active,
body.eyn-native-single-product .esn-notify-card:focus,
body.eyn-native-single-product .esn-notify-card.is-open,
body.eyn-native-single-product .esn-notify-card.is-success,
body.eyn-native-single-product .esn-notify-card.is-notice {
	background: #900000;
	border-color: transparent;
	box-shadow: 0 1px 7px -3px rgba(0, 0, 0, 0.12);
}

body.eyn-native-single-product .esn-notify-header {
	background: #900000 !important;
	color: #fff;
	padding: 12px 16px;
	gap: 10px;
	min-height: 50px;
}

body.eyn-native-single-product .esn-notify-header:hover,
body.eyn-native-single-product .esn-notify-header:focus,
body.eyn-native-single-product .esn-notify-header:focus-visible,
body.eyn-native-single-product .esn-notify-header:active {
	background: #7a0000 !important;
	color: #fff;
}

body.eyn-native-single-product .esn-notify-title {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

body.eyn-native-single-product .esn-notify-description {
	color: rgba(255, 255, 255, 0.82);
	font-size: 11px;
}

body.eyn-native-single-product .esn-notify-icon {
	width: 32px;
	height: 32px;
	flex-basis: 32px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

body.eyn-native-single-product .esn-notify-icon svg {
	stroke: #fff;
	color: #fff;
}

body.eyn-native-single-product .esn-notify-chevron,
body.eyn-native-single-product .esn-notify-card.is-open .esn-notify-chevron {
	color: #fff;
}

body.eyn-native-single-product .esn-notify-card.is-open .esn-notify-form {
	background: #fff;
	border-top: 1px solid rgba(144, 0, 0, 0.12);
}

body.eyn-native-single-product .esn-notify-form-inner,
body.eyn-native-single-product .esn-notify-card.is-open .esn-notify-form-inner {
	background: #fff;
}

body.eyn-native-single-product .esn-mobile-input:focus {
	border-color: #900000;
	box-shadow: 0 0 0 3px rgba(144, 0, 0, 0.12);
}

body.eyn-native-single-product .esn-submit {
	background: #900000;
	border-color: #900000;
	border-radius: 15px;
	color: #fff;
}

body.eyn-native-single-product .esn-submit:hover,
body.eyn-native-single-product .esn-submit:focus {
	background: #7a0000;
	border-color: #7a0000;
	color: #fff;
}

body.eyn-native-single-product .esn-success-icon {
	color: #900000;
}

body.eyn-native-single-product .esn-success,
body.eyn-native-single-product .esn-notice {
	border-color: rgba(144, 0, 0, 0.2);
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-price-plugin {
	margin-top: 1px;
	padding: 15px 18px;
	border: 1px solid #edf0f2;
	border-radius: 12px;
	background: #fff;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-price-plugin .price {
	margin: 0;
	color: #198ed0;
	font-size: 23px;
	font-weight: 800;
	line-height: 1.55;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-price-plugin del {
	color: #9ca1a3;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-price-plugin ins {
	background: transparent;
	color: inherit;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-addtocart {
	margin-top: 1px;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-installments,
body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-discount-plugin,
body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-meta {
	margin-top: 1px;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-meta {
	padding-top: 12px;
	border-top: 1px solid #f2f3f3;
	color: #7e8385;
	font-size: 11px;
	line-height: 1.85;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	border-radius: 10px;
	background: #f6f6f6;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery .flex-viewport {
	border-radius: 10px;
	background: #f6f6f6;
}

@media (min-width: 768px) {
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-product-media {
		flex: 0 0 calc(49% - 14px);
		max-width: calc(49% - 14px);
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-product-purchase {
		flex: 0 0 calc(51% - 14px);
		max-width: calc(51% - 14px);
	}
}

@media (max-width: 767px) {
	body.eyn-native-single-product .eyn-sp-product-top {
		border-radius: 14px;
	}

	body.eyn-native-single-product .eyn-sp-product-top > .eyn-sp-product-heading {
		padding: 16px 14px 13px;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-title .product_title {
		font-size: 15px;
		line-height: 1.75;
	}

	body.eyn-native-single-product .eyn-sp-product-top > .eyn-sp-product-content {
		gap: 16px;
		padding: 14px 12px 20px;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-product-media,
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-product-purchase {
		flex: 0 0 100%;
		max-width: 100%;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery .flex-viewport .woocommerce-product-gallery__image,
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery .flex-viewport .woocommerce-product-gallery__image a,
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery .flex-viewport .woocommerce-product-gallery__image img {
		aspect-ratio: 1 / 1;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-lead,
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-stock {
		flex: 0 0 calc(50% - 4px) !important;
		width: calc(50% - 4px);
		max-width: calc(50% - 4px);
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-lead .lead_time,
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-stock > .elementor-widget-container {
		min-height: 39px;
		padding: 7px 8px;
		font-size: 10px;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-price-plugin {
		padding: 13px;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-price-plugin .price {
		font-size: 20px;
	}
}

/* On phones, keep WooCommerce's real thumbnail controls in one touch-scroll
 * rail instead of wrapping the sixth image onto a second line. */
@media (max-width: 767px) {
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery ol.flex-control-thumbs {
		display: flex;
		flex-wrap: nowrap;
		gap: 8px;
		overflow-x: auto;
		overflow-y: hidden;
		margin-top: 10px;
		padding: 0 0 4px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery ol.flex-control-thumbs::-webkit-scrollbar {
		display: none;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery ol.flex-control-thumbs li {
		flex: 0 0 68px;
		max-width: 68px;
		scroll-snap-align: start;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery ol.flex-control-thumbs li img {
		display: block;
		width: 68px;
		height: 68px;
		object-fit: cover;
	}
}

.eyn-native-single-product form.variations_form .blockUI.blockOverlay {
	display: none !important;
}

@media (min-width: 1200px) {
	body.eyn-native-single-product .eyn-wc-single .eyn-container {
		max-width: 1606px;
	}
}

/* Layout hooks only — do not restyle plugin widgets (EIW, SnappPay, DigiPay, TorobPay). */
.eyn-sp-summary-col .entry-summary > .elementor-element:not(.eyn-sp-lead):not(.eyn-sp-stock):not(.eyn-sp-addtocart):not(.eyn-sp-meta) {
	width: 100%;
}

.eyn-sp-plugin-zone {
	display: block;
	width: 100%;
	max-width: 100%;
}

.eyn-sp-plugin-zone :where(.eiw-shell, .eiw-card, .digipay-widget, .torobpay-widget, .snapppay-widget) {
	box-sizing: border-box;
}

.eyn-sp-lower {
	margin-top: 8px;
}

/* Below-fold only: avoid restyling hero in this file. */
@media (max-width: 991px) {
	.eyn-sp-hero .eyn-sp-aside {
		display: none;
	}
}

/* --- Hero desktop parity (باکس ابتدایی) --- */
body.eyn-native-single-product .eyn-wc-single {
	background-color: var(--bgcolor, #f2f2f2);
	padding-bottom: 24px;
}

body.eyn-native-single-product .eyn-sp-card > .eyn-sp-card__row {
	padding: 12px 16px;
	gap: 24px;
}

body.eyn-native-single-product .eyn-sp-gallery-col > .elementor-widget-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

body.eyn-native-single-product .eyn-sp-title .product_title {
	margin: 5px 0 0;
	padding: 0 0 12px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	box-shadow: 0 16px 29px -31px rgba(0, 0, 0, 0.1);
}

body.eyn-native-single-product .eyn-sp-title .product_title .sub_head {
	display: block;
	margin-top: 3px;
	font-family: sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 1px;
	color: #a9a9a9;
	text-transform: capitalize;
}

body.eyn-native-single-product .eyn-sp-summary-col .entry-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: flex-start;
	padding-bottom: 30px;
}

body.eyn-native-single-product .eyn-sp-summary-col .entry-summary > .elementor-element-eyn-1d2344b4,
body.eyn-native-single-product .eyn-sp-summary-col .entry-summary > .elementor-element-eyn-a5c6ded {
	flex: 0 0 auto;
}

body.eyn-native-single-product .eyn-sp-summary-col .entry-summary > .eyn-sp-plugin-zone,
body.eyn-native-single-product .eyn-sp-summary-col .entry-summary > .elementor-element-eyn-c5a6cbc,
body.eyn-native-single-product .eyn-sp-summary-col .entry-summary > .elementor-element-eyn-851b772 {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
}

body.eyn-native-single-product .eyn-sp-summary-col .lead_time {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Keep the variation quantity and the real WooCommerce add-to-cart control on
 * one compact row.  WooCommerce's fallback button otherwise wraps Persian
 * text into three lines when Elementor's original layout stylesheet is absent. */
body.eyn-native-single-product .eyn-sp-addtocart .variations_button,
body.eyn-native-single-product .eyn-sp-addtocart form.cart:not(.variations_form) {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
}

body.eyn-native-single-product .eyn-sp-addtocart .quantity {
	display: flex;
	float: none;
	align-items: center;
	width: auto;
	height: 43px;
	margin: 0;
	border: 1px solid #e9ecec;
	border-radius: 9px;
	overflow: hidden;
}

body.eyn-native-single-product .eyn-sp-addtocart .quantity input.qty {
	width: 34px;
	height: 41px;
	padding: 0;
	border: 0;
	background: #fff;
	color: #505557;
	font: inherit;
	font-weight: 600;
	text-align: center;
	appearance: textfield;
}

body.eyn-native-single-product .eyn-sp-addtocart .quantity input.qty::-webkit-inner-spin-button,
body.eyn-native-single-product .eyn-sp-addtocart .quantity input.qty::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

body.eyn-native-single-product .eyn-sp-addtocart .quantity .plus-minus {
	display: flex;
	flex-direction: row;
	order: -1;
	height: 41px;
}

body.eyn-native-single-product .eyn-sp-addtocart .quantity .elm_qty {
	display: grid;
	width: 26px;
	height: 41px;
	place-items: center;
	border-inline-end: 1px solid #eff0f0;
	color: #969b9d;
	cursor: pointer;
}

body.eyn-native-single-product .eyn-sp-addtocart .quantity .elm_qty svg {
	width: 13px;
	height: 13px;
}

body.eyn-native-single-product .eyn-sp-addtocart .single_add_to_cart_button {
	display: inline-flex;
	float: none;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: auto;
	min-width: 150px;
	height: 43px;
	margin: 0;
	padding: 0 20px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

body.eyn-native-single-product .eyn-sp-addtocart .single_add_to_cart_button .elm_a2c_i {
	display: inline-flex;
}

body.eyn-native-single-product .eyn-sp-addtocart .single_add_to_cart_button svg {
	width: 18px;
	height: 18px;
}

body.eyn-native-single-product .eyn-sp-addtocart .woocommerce-variation-availability .stock {
	margin: 6px 0 8px;
	color: #718c39;
	font-size: 11px;
	font-weight: 600;
}

body.eyn-native-single-product .eyn-sp-trust-box > .elementor-widget-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 15px;
}

body.eyn-native-single-product .eyn-sp-trust-box .elementor-element {
	width: 100%;
}

body.eyn-native-single-product .eyn-sp-trust-box .elementor-alert {
	border: none;
	padding: 12px 14px;
	text-align: center;
}

body.eyn-native-single-product .eyn-sp-aside .elm_text_icon {
	display: flex;
	flex-direction: row;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

body.eyn-native-single-product .eyn-sp-aside .elm_row h5 {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--e-global-color-primary, #303f34);
}

body.eyn-native-single-product .eyn-sp-aside .elm_row span {
	display: block;
	font-size: 12px;
	color: #666;
}

/* WC gallery → main image + horizontal thumbs (نزدیک gallery_type_h) */
body.eyn-native-single-product .entry-img.gallery_type_h .woocommerce-product-gallery {
	width: 100%;
}

body.eyn-native-single-product .entry-img.gallery_type_h .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

body.eyn-native-single-product .entry-img.gallery_type_h .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image {
	flex: 0 0 100%;
	max-width: 100%;
	margin: 0;
}

body.eyn-native-single-product .entry-img.gallery_type_h .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image ~ .woocommerce-product-gallery__image {
	flex: 0 0 calc(20% - 7px);
	max-width: calc(20% - 7px);
}

body.eyn-native-single-product .entry-img.gallery_type_h .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid #eee;
	box-sizing: border-box;
}

body.eyn-native-single-product .entry-img.gallery_type_h .woocommerce-product-gallery__image ~ .woocommerce-product-gallery__image img {
	border-radius: 7px;
}

body.eyn-native-single-product .entry-img.gallery_type_h ol.flex-control-thumbs {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
	margin: 15px 0 0;
	padding: 0;
	list-style: none;
}

body.eyn-native-single-product .entry-img.gallery_type_h ol.flex-control-thumbs li {
	flex: 0 0 calc(20% - 7px);
	max-width: calc(20% - 7px);
	margin: 0;
}

body.eyn-native-single-product .entry-img.gallery_type_h ol.flex-control-thumbs li img {
	border: 1px solid #eee;
	border-radius: 7px;
	opacity: 1;
}

body.eyn-native-single-product .entry-img.gallery_type_h ol.flex-control-thumbs li.flex-active img {
	border-color: var(--maincolor, #303f34);
}

/* WooCommerce swaps the gallery wrapper for Flexslider after load.  The static
 * fallback above intentionally uses flex; applying that layout to Flexslider's
 * 1200%-wide track makes the first slide twelve times wider than its viewport. */
body.eyn-native-single-product .entry-img.gallery_type_h .flex-viewport .woocommerce-product-gallery__wrapper {
	display: block !important;
	gap: 0 !important;
}

body.eyn-native-single-product .entry-img.gallery_type_h .flex-viewport .woocommerce-product-gallery__image {
	flex: none !important;
	max-width: none !important;
}

body.eyn-native-single-product .entry-img.gallery_type_h .flex-viewport .woocommerce-product-gallery__image,
body.eyn-native-single-product .entry-img.gallery_type_h .flex-viewport .woocommerce-product-gallery__image a,
body.eyn-native-single-product .entry-img.gallery_type_h .flex-viewport .woocommerce-product-gallery__image img {
	aspect-ratio: 1 / 1;
}

body.eyn-native-single-product .entry-img.gallery_type_h .flex-viewport .woocommerce-product-gallery__image img {
	object-fit: cover;
}

/* --- Product-detail cards, FAQ and consultation --- */
body.eyn-native-single-product .eyn-sp-lower {
	width: 76.725%;
	margin-top: 12px;
	margin-left: auto;
}

body.eyn-native-single-product .eyn-wc-single__box-alert {
	margin: 0 0 16px;
	padding: 10px 18px;
	border: 0;
	border-radius: 0;
	background: #d9f1fb;
	color: #2582a5;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.65;
	text-align: center;
}

body.eyn-native-single-product .woocommerce-tabs {
	width: 100%;
	margin: 0;
}

body.eyn-native-single-product .woocommerce-tabs > .tabs {
	display: none;
}

body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel {
	display: block !important;
	margin: 0 0 12px;
	padding: 18px;
	border: 0;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 1px 7px -3px rgba(0, 0, 0, .12);
	color: #4c5052;
	font-size: 13px;
	line-height: 2.2;
}

body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel > :first-child {
	margin-top: 0;
}

body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel > :last-child {
	margin-bottom: 0;
}

body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel h2,
body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel h3,
body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel h4 {
	margin: 18px 0 8px;
	color: #34383a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.8;
}

body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel h2:first-child,
body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel h3:first-child,
body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel h4:first-child {
	margin-top: 0;
}

body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel p {
	margin: 0 0 12px;
}

body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel ul {
	margin: 0 0 12px;
	padding: 0 20px 0 0;
}

body.eyn-native-single-product .woocommerce-tabs .shop_attributes {
	width: 100%;
	margin: 12px 0 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 5px;
	font-size: 12px;
}

body.eyn-native-single-product .woocommerce-tabs .shop_attributes th,
body.eyn-native-single-product .woocommerce-tabs .shop_attributes td {
	padding: 8px 14px;
	border: 0;
	background: #fafafa;
	font-weight: 400;
}

body.eyn-native-single-product .woocommerce-tabs .shop_attributes th {
	width: 36%;
	border-radius: 0 10px 10px 0;
	color: #53585a;
	font-weight: 600;
}

body.eyn-native-single-product .woocommerce-tabs .shop_attributes td {
	border-radius: 10px 0 0 10px;
	color: #777;
}

/* Specifications card — premium table (clean card, zebra + dividers). */
body.eyn-native-single-product #tab-additional_information {
	padding: 24px 25px;
	border-radius: 16px;
}

body.eyn-native-single-product #tab-additional_information .eyn-sp-panel-heading__icon {
	border-color: #900000;
	background: #fff5f5;
	color: #900000;
}

body.eyn-native-single-product #tab-additional_information .eyn-sp-panel-heading__icon svg {
	stroke: #900000;
}

body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-more,
body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-toggle,
body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-group,
body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table > h2:first-child {
	display: none;
}

body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table {
	width: 100%;
	max-width: none;
	margin: 0;
	overflow: hidden;
	border: 1px solid #eef0f3;
	border-radius: 16px;
	background: #fff;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes,
body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table.is-full table.shop_attributes {
	display: table;
	width: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 13px;
	line-height: 1.7;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes tbody,
body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table.is-full .shop_attributes tbody {
	display: table-row-group;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes tr,
body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table.is-full .shop_attributes tr,
body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table.is-full .shop_attributes tbody > tr {
	display: table-row;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes th,
body.eyn-native-single-product #tab-additional_information .shop_attributes td {
	box-sizing: border-box;
	width: auto;
	min-width: 0;
	padding: 13px 18px;
	border: 0;
	border-bottom: 1px solid #eef0f3;
	border-radius: 0;
	background: #fff;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.7;
	text-align: right;
	vertical-align: top;
	overflow-wrap: anywhere;
	word-break: break-word;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes th {
	width: 34%;
	color: #6b7280;
	font-weight: 500;
	white-space: nowrap;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes td {
	color: #1f2937;
	font-weight: 600;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes td p {
	margin: 0;
	padding: 0;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes tr:nth-child(even) th,
body.eyn-native-single-product #tab-additional_information .shop_attributes tr:nth-child(even) td {
	background: #f8fafc;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes tr:last-child th,
body.eyn-native-single-product #tab-additional_information .shop_attributes tr:last-child td {
	border-bottom: 0;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes td a {
	color: #1f2937;
	text-decoration: none;
	border-bottom: 1px solid rgba(144, 0, 0, 0.28);
	transition: color 0.15s ease, border-color 0.15s ease;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes td a:hover,
body.eyn-native-single-product #tab-additional_information .shop_attributes td a:focus {
	color: #900000;
	border-bottom-color: #900000;
}

body.eyn-native-single-product #tab-additional_information .shop_attributes:not(.is-expanded) tr:nth-child(n + 6) {
	display: none;
}

body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table.is-full .shop_attributes:not(.is-expanded) tr:nth-child(n + 6) {
	display: table-row;
}

body.eyn-native-single-product .eyn-sp-specs-toggle {
	display: block;
	margin: 13px auto 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #7c8584;
	font: inherit;
	font-size: 11px;
	cursor: pointer;
}

body.eyn-native-single-product .eyn-sp-specs-toggle span {
	display: inline-block;
	margin-right: 3px;
	font-size: 16px;
	line-height: .5;
	vertical-align: -1px;
}

/* Reviews card — mirrors #reviews in the supplied responsive reference. */
body.eyn-native-single-product #tab-reviews {
	padding: 24px 25px;
	border-radius: 14px;
}

body.eyn-native-single-product .eyn-sp-reviews-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 230px;
	gap: 30px;
}

body.eyn-native-single-product .eyn-sp-reviews-main {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

body.eyn-native-single-product .eyn-sp-review-filter {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0 0 13px;
	color: #666;
	font-size: 12px;
}

body.eyn-native-single-product .eyn-sp-review-filter .is-active {
	padding-bottom: 5px;
	border-bottom: 2px solid #c39052;
	color: #c39052;
}

body.eyn-native-single-product .eyn-sp-reviews-title {
	color: #34383a;
	font-size: 13px;
	font-weight: 700;
}

body.eyn-native-single-product .eyn-sp-reviews-empty {
	padding: 10px 15px;
	border-radius: 13px;
	background: #f9f9f9;
	color: #777;
	font-size: 12px;
}

body.eyn-native-single-product .eyn-sp-reviews-content #comments > h2,
body.eyn-native-single-product .eyn-sp-reviews-content .woocommerce-noreviews,
body.eyn-native-single-product .eyn-sp-reviews-content .comment-reply-title,
body.eyn-native-single-product .eyn-sp-reviews-content .comment-notes {
	display: none;
}

body.eyn-native-single-product .eyn-sp-reviews-content #comments {
	margin: 0;
}

body.eyn-native-single-product .eyn-sp-reviews-content .commentlist {
	margin: 0;
	padding: 0;
}

body.eyn-native-single-product .eyn-sp-reviews-content #review_form_wrapper {
	display: none;
	margin-top: 8px;
}

body.eyn-native-single-product .eyn-sp-reviews-content #review_form_wrapper.is-open {
	display: block;
}

body.eyn-native-single-product .eyn-sp-reviews-help {
	margin-top: 23px;
	color: #89908c;
	font-size: 11px;
}

body.eyn-native-single-product .eyn-sp-review-add {
	align-self: flex-start;
	min-width: 185px;
	padding: 11px 19px;
	border: 0;
	border-radius: 11px;
	background: var(--maincolor, #303f34);
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

body.eyn-native-single-product .eyn-sp-review-add span {
	font-size: 15px;
	vertical-align: -1px;
}

body.eyn-native-single-product .eyn-sp-rating-stat {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 15px;
}

body.eyn-native-single-product .eyn-sp-rating-summary {
	min-width: 42px;
	text-align: center;
}

body.eyn-native-single-product .eyn-sp-rating-star {
	display: block;
	color: #d4dbe0;
	font-family: Arial, sans-serif;
	font-size: 31px;
	line-height: 1;
}

body.eyn-native-single-product .eyn-sp-rating-summary strong {
	display: block;
	color: #4e5556;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.5;
}

body.eyn-native-single-product .eyn-sp-rating-summary small {
	display: block;
	color: #949b9e;
	font-size: 10px;
}

body.eyn-native-single-product .eyn-sp-rating-bars {
	flex: 1;
}

body.eyn-native-single-product .eyn-sp-rating-bars > div {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	color: #6d7374;
	font-size: 10px;
}

body.eyn-native-single-product .eyn-sp-rating-bars i {
	display: block;
	height: 6px;
	flex: 1;
	border-radius: 10px;
	background: #eff1f1;
}

/* Questions card — mirrors #questions in the supplied responsive reference. */
body.eyn-native-single-product #tab-questions {
	padding: 24px 25px;
	border-radius: 14px;
}

body.eyn-native-single-product .eyn-sp-questions-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 230px;
	align-items: start;
	gap: 20px;
}

body.eyn-native-single-product .eyn-sp-questions-content {
	min-width: 0;
}

body.eyn-native-single-product .eyn-sp-questions-content .eyn-sp-question-empty p {
	margin: 0;
	padding: 10px 15px;
	border-radius: 13px;
	background: #f9f9f9;
	color: #777;
	font-size: 12px;
}

body.eyn-native-single-product .eyn-sp-questions-content .eyn-sp-question-empty .button {
	display: none;
}

body.eyn-native-single-product .eyn-sp-question-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	text-align: right;
}

body.eyn-native-single-product .eyn-sp-question-actions p {
	margin: 0;
	color: #6a7273;
	font-size: 12px;
}

body.eyn-native-single-product .eyn-sp-question-add {
	min-width: 180px;
	padding: 11px 14px;
	border: 1px solid #e7ecee;
	border-radius: 10px;
	background: #fff;
	color: #62666a;
	font-size: 12px;
	text-align: center;
	transition: background-color .15s ease;
}

body.eyn-native-single-product .eyn-sp-question-add:hover {
	background: #f9faf9;
}

body.eyn-native-single-product .eyn-sp-question-add span {
	font-size: 15px;
	vertical-align: -1px;
}

body.eyn-native-single-product .eyn-sp-panel-heading {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 11px;
	margin-bottom: 27px;
}

body.eyn-native-single-product .eyn-sp-panel-heading__icon {
	display: grid;
	width: 27px;
	height: 27px;
	place-items: center;
	border: 2px solid #d4dce3;
	border-radius: 7px;
	color: #c4ced7;
}

body.eyn-native-single-product .eyn-sp-panel-heading h2 {
	margin: 0;
	color: #34383a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
}

body.eyn-native-single-product .eyn-sp-panel-heading small {
	display: block;
	color: #b9bdc1;
	font-size: 10px;
	font-weight: 400;
}

body.eyn-native-single-product #tab-description {
	padding: 24px 25px;
	border-radius: 14px;
}

body.eyn-native-single-product #tab-description .eyn-sp-description-copy {
	max-height: 355px;
	overflow: hidden;
	color: #484d4c;
	font-size: 13px;
	line-height: 2.2;
	mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}

body.eyn-native-single-product #tab-description .eyn-sp-description-copy.is-expanded {
	max-height: none;
	mask-image: none;
	-webkit-mask-image: none;
}

/* WooCommerce adds this generic label before the actual product copy. */
body.eyn-native-single-product #tab-description .eyn-sp-description-copy > h2:first-child {
	display: none;
}

body.eyn-native-single-product #tab-description .eyn-sp-description-copy h3 {
	margin: 16px 0 4px;
	font-size: 14px;
	font-weight: 700;
}

body.eyn-native-single-product #tab-description .eyn-sp-description-copy p {
	margin-bottom: 15px;
}

body.eyn-native-single-product #tab-description .eyn-sp-description-copy ul {
	padding-right: 22px;
}

body.eyn-native-single-product .eyn-sp-description-toggle {
	display: block;
	margin: 10px auto 0;
	border: 0;
	background: transparent;
	color: #9b9b9b;
	font: inherit;
	font-size: 11px;
	cursor: pointer;
}

body.eyn-native-single-product .eyn-sp-description-toggle span {
	margin-right: 6px;
	padding: 2px 11px;
	border-radius: 12px;
	background: var(--maincolor, #303f34);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
}

body.eyn-native-single-product #tab-description > h2:first-of-type,
body.eyn-native-single-product #tab-additional_information > h2:first-of-type {
	display: none;
}

body.eyn-native-single-product .comment-respond,
body.eyn-native-single-product .woocommerce-Reviews-title,
body.eyn-native-single-product .woocommerce-noreviews {
	font-size: 13px;
}

body.eyn-native-single-product .comment-form-comment textarea,
body.eyn-native-single-product .comment-form input:not([type="submit"]) {
	width: 100%;
	border: 1px solid #ededed;
	border-radius: 10px;
	padding: 10px 12px;
	font: inherit;
}

body.eyn-native-single-product .button,
body.eyn-native-single-product button.button,
body.eyn-native-single-product input.button {
	border-radius: 10px;
}

body.eyn-native-single-product .eyn-sp-question-empty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 120px;
	padding: 18px;
	border-radius: 12px;
	background: #fafafa;
}

body.eyn-native-single-product .eyn-sp-question-empty p {
	margin: 0;
	color: #777;
}

body.eyn-native-single-product .eyn-sp-question-empty .button {
	padding: 9px 20px;
	background: #fff;
	border: 1px solid #e8e8e8;
	color: #444;
	font-size: 12px;
}

body.eyn-native-single-product .eyn-wc-single__policies {
	margin: 28px 0 18px;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	background: #fff;
}

body.eyn-native-single-product .eyn-wc-single__policies .elementor-accordion-item + .elementor-accordion-item {
	border-top: 1px solid #eee;
}

body.eyn-native-single-product .eyn-wc-single__policies .elementor-tab-title {
	padding: 13px 18px;
	color: #ba8141;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

body.eyn-native-single-product .eyn-wc-single__policies .elementor-tab-title::before {
	content: '+';
	margin-left: 8px;
	font-size: 17px;
	font-weight: 400;
}

body.eyn-native-single-product .eyn-wc-single__policies .elementor-tab-title.elementor-active::before {
	content: '−';
}

body.eyn-native-single-product .eyn-wc-single__policies .elementor-tab-content {
	padding: 0 18px 14px;
	color: #747779;
	font-size: 12px;
	line-height: 2;
}

body.eyn-native-single-product .eyn-wc-single__policies .elementor-tab-content p {
	margin: 0;
}

body.eyn-native-single-product .eyn-wc-single__consult {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	min-height: 86px;
	margin: 0 0 28px;
	padding: 16px 22px;
	border: 1px dashed #d5ab78;
	border-radius: 10px;
	background: #fffdfa;
}

body.eyn-native-single-product .eyn-wc-single__consult h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #242424;
}

body.eyn-native-single-product .eyn-wc-single__consult-actions {
	display: flex;
	gap: 10px;
}

body.eyn-native-single-product .eyn-wc-single__consult .elementor-button {
	min-width: 138px;
	padding: 9px 16px;
	border-radius: 0;
	background: #008477;
	color: #fff;
	font-size: 12px;
	text-align: center;
}

body.eyn-native-single-product .eyn-wc-single__consult .elementor-button + .elementor-button {
	background: #279cda;
}

body.eyn-native-single-product .eyn-sp-related {
	--borderradius: 15px;
	margin: 0 0 30px;
}

body.eyn-native-single-product .eyn-sp-related > h2 {
	margin: 0 0 16px;
	font-size: 17px;
	font-weight: 600;
	color: #242424;
}

body.eyn-native-single-product .eyn-sp-related-rail {
	position: relative;
}

body.eyn-native-single-product .eyn-sp-related-track {
	display: grid;
	grid-auto-columns: calc((100% - 48px) / 4);
	grid-auto-flow: column;
	gap: 16px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-snap-type: inline mandatory;
	scrollbar-width: none;
	padding: 2px;
}

body.eyn-native-single-product .eyn-sp-related-track::-webkit-scrollbar {
	display: none;
}

body.eyn-native-single-product .eyn-sp-related-slide {
	min-width: 0;
	scroll-snap-align: start;
}

body.eyn-native-single-product .eyn-sp-related-nav {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 12px;
}

body.eyn-native-single-product .eyn-sp-related-nav button {
	display: grid;
	width: 31px;
	height: 31px;
	place-items: center;
	border: 1px solid #e8e8e8;
	border-radius: 50%;
	background: #fff;
	color: #526058;
	font: 400 25px/1 Arial, sans-serif;
	cursor: pointer;
}

body.eyn-native-single-product .eyn-sp-related-nav button:hover {
	border-color: #c39052;
	color: #c39052;
}

body.eyn-native-single-product .eyn-sp-mobile-benefits {
	display: none;
}

body.eyn-native-single-product .add_to_cart_sticky {
	display: none;
}

@media (max-width: 767px) {
	body.eyn-native-single-product {
		padding-bottom: 68px;
	}

	body.eyn-native-single-product .add_to_cart_sticky {
		position: fixed;
		z-index: 60;
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		width: 100%;
		height: 57px;
		align-items: center;
		justify-content: center;
		gap: 9px;
		border: 8px solid #fff;
		border-radius: 0;
		background: #303f34;
		color: #fff;
		font: 600 13px var(--eyn-font);
		line-height: 1;
	}

	body.eyn-native-single-product .add_to_cart_sticky svg {
		width: 18px;
		height: 18px;
	}

	body.eyn-native-single-product .eyn-sp-hero .eyn-sp-aside {
		display: none;
	}

	body.eyn-native-single-product .eyn-sp-card > .eyn-sp-card__row {
		padding-inline: 12px;
	}

	body.eyn-native-single-product .eyn-sp-lower {
		width: 100%;
		margin-left: 0;
	}

	body.eyn-native-single-product .woocommerce-tabs .woocommerce-Tabs-panel {
		margin-bottom: 10px;
		padding: 14px;
		font-size: 12px;
		line-height: 2.05;
	}

	body.eyn-native-single-product .eyn-sp-question-empty,
	body.eyn-native-single-product .eyn-wc-single__consult {
		align-items: stretch;
		flex-direction: column;
		gap: 12px;
	}

	body.eyn-native-single-product .eyn-sp-question-empty .button,
	body.eyn-native-single-product .eyn-wc-single__consult .elementor-button {
		width: 100%;
	}

	body.eyn-native-single-product .eyn-wc-single__consult-actions {
		flex-direction: column;
	}

	body.eyn-native-single-product .eyn-sp-mobile-benefits {
		display: none;
	}

	body.eyn-native-single-product .eyn-sp-related-track {
		grid-auto-columns: calc((100% - 15px) / 2.5);
		gap: 10px;
		padding: 1px;
		-webkit-overflow-scrolling: touch;
	}

	body.eyn-native-single-product .eyn-sp-related-nav {
		display: none;
	}
}

/* Keep the reference's two quick attributes on a single row after all
 * WooCommerce responsive rules have loaded. */
body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start;
	align-content: flex-start;
	gap: 9px 2%;
}

body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary > .eyn-sp-lead,
body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary > .eyn-sp-stock {
	flex: 0 0 49% !important;
	width: 49%;
	max-width: 49%;
}

@media (max-width: 767px) {
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary > .eyn-sp-lead,
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary > .eyn-sp-stock {
		flex: 0 0 calc(50% - 4px) !important;
		width: calc(50% - 4px);
		max-width: calc(50% - 4px);
	}
}

/* WooCommerce's stock single-product stylesheet gives `.summary` a 48% width.
 * In this native card it is already one column, so it must fill the purchase
 * side before the quick-attribute grid can size itself correctly. */
body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary {
	float: none;
	width: 100% !important;
	max-width: none;
}

/* Native hook for the product breadcrumb.  The supplied responsive reference
 * uses a warm cream panel (#faf5ee), rather than the white Elementor token. */
body.eyn-native-single-product .eyn-wc-single__breadcrumb-row > .elementor-widget-container {
	min-height: 38px;
	background-color: #faf5ee;
	margin: 18px 0 14px;
	padding: 7px 18px;
	border-style: solid;
	border-width: 1px;
	border-color: #fff;
	border-radius: 12px;
}

/* This selector deliberately matches the exported production rule so that
 * its older white background cannot win in the cascade. */
body.eyn-native-single-product .elementor-element.elementor-element-eyn-42197b1f > .elementor-widget-container {
	background-color: #faf5ee;
	margin: 10px 0 18px;
}

body.eyn-native-single-product .eyn-wc-single__breadcrumb-row .woocommerce-breadcrumb {
	color: var(--e-global-color-3255c84);
	font-size: 11px;
}

body.eyn-native-single-product .eyn-wc-single__breadcrumb-row .woocommerce-breadcrumb a {
	color: #c39052 !important;
}

body.eyn-native-single-product .elementor-element.elementor-element-eyn-42197b1f .woocommerce-breadcrumb {
	color: var(--e-global-color-3255c84) !important;
}

/* Must follow the desktop thumbnail layout so the mobile rail wins the cascade. */
@media (max-width: 767px) {
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery ol.flex-control-thumbs {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		margin-top: 10px;
		padding: 0 0 4px;
		scroll-snap-type: x mandatory;
		touch-action: pan-x;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery ol.flex-control-thumbs li {
		flex: 0 0 60px;
		max-width: 60px;
		scroll-snap-align: start;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-gallery ol.flex-control-thumbs li img {
		width: 60px;
		height: 60px;
		object-fit: cover;
	}
}

/* Mobile purchase status: the first two real WooCommerce blocks always form
 * the reference's two-column row; every purchasing module begins below it. */
@media (max-width: 767px) {
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 8px;
		row-gap: 9px;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary > .eyn-sp-lead,
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary > .eyn-sp-stock {
		grid-column: auto;
		width: 100%;
		max-width: none;
	}

	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary > .eyn-sp-plugin-zone,
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary > .eyn-sp-addtocart,
	body.eyn-native-single-product .eyn-sp-product-top .eyn-sp-summary-col .entry-summary > .eyn-sp-meta {
		grid-column: 1 / -1;
	}
}

/* Product-description card from the supplied responsive reference. */
@media (max-width: 767px) {
	body.eyn-native-single-product .eyn-sp-panel-heading {
		margin-bottom: 22px;
	}

	body.eyn-native-single-product .eyn-sp-panel-heading h2 {
		font-size: 13px;
	}

	body.eyn-native-single-product #tab-description {
		padding: 18px 14px;
		border-radius: 14px;
	}

	body.eyn-native-single-product #tab-description .eyn-sp-description-copy {
		max-height: 335px;
		font-size: 12px;
		line-height: 2.2;
	}

	body.eyn-native-single-product #tab-description .eyn-sp-description-copy h3 {
		font-size: 13px;
	}

	body.eyn-native-single-product #tab-additional_information {
		padding: 18px 14px;
		border-radius: 16px;
	}

	body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table {
		max-width: none;
		border-radius: 14px;
	}

	body.eyn-native-single-product #tab-additional_information .shop_attributes,
	body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table.is-full table.shop_attributes {
		font-size: 12px;
	}

	body.eyn-native-single-product #tab-additional_information .shop_attributes th,
	body.eyn-native-single-product #tab-additional_information .shop_attributes td {
		padding: 11px 12px;
		font-size: 12px;
		line-height: 1.65;
	}

	body.eyn-native-single-product #tab-additional_information .shop_attributes,
	body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table.is-full table.shop_attributes {
		display: table !important;
		width: 100% !important;
	}

	body.eyn-native-single-product #tab-additional_information .shop_attributes tbody {
		display: table-row-group !important;
	}

	body.eyn-native-single-product #tab-additional_information .shop_attributes tr,
	body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table.is-full .shop_attributes tr,
	body.eyn-native-single-product #tab-additional_information .eyn-sp-specs-table.is-full .shop_attributes tbody > tr {
		display: table-row !important;
	}

	body.eyn-native-single-product #tab-additional_information .shop_attributes th,
	body.eyn-native-single-product #tab-additional_information .shop_attributes td {
		display: table-cell !important;
	}

	body.eyn-native-single-product #tab-additional_information .shop_attributes th {
		width: 36%;
		white-space: normal;
	}

	body.eyn-native-single-product #tab-reviews {
		padding: 18px 14px;
		border-radius: 14px;
	}

	body.eyn-native-single-product .eyn-sp-reviews-layout {
		display: flex;
		flex-direction: column;
		gap: 14px;
	}

	body.eyn-native-single-product .eyn-sp-review-filter {
		flex-wrap: wrap;
		gap: 10px;
		margin-top: 24px;
		font-size: 11px;
	}

	body.eyn-native-single-product .eyn-sp-rating-stat {
		justify-content: space-between;
	}

	body.eyn-native-single-product .eyn-sp-review-add {
		width: 100%;
	}

	body.eyn-native-single-product #tab-questions {
		padding: 18px 14px;
		border-radius: 14px;
	}

	body.eyn-native-single-product .eyn-sp-questions-layout {
		display: flex;
		flex-direction: column;
		gap: 18px;
	}

	body.eyn-native-single-product .eyn-sp-question-actions {
		width: 100%;
		align-items: center;
	}

	body.eyn-native-single-product .eyn-sp-question-actions p {
		text-align: center;
	}

	body.eyn-native-single-product .eyn-sp-question-add {
		width: 100%;
	}
}

/* Related products rail on mobile: slides are narrower than archive columns,
 * so drop the archive's fixed 196px image min-height and keep a square image. */
@media (max-width: 768px) {
	body.eyn-native-single-product .eyn-sp-related .eyn-sp-related-slide .item-area .product-image-area,
	body.eyn-native-single-product .eyn-sp-related .eyn-sp-related-slide .item-area.general_mobile .product-image-area,
	body.eyn-native-single-product .eyn-sp-related .eyn-sp-related-slide .item-area .product-image-area .product-image,
	body.eyn-native-single-product .eyn-sp-related .eyn-sp-related-slide .item-area.general_mobile .product-image-area .product-image {
		min-height: 0;
		height: auto;
	}

	body.eyn-native-single-product .eyn-sp-related .eyn-sp-related-slide .item-area .product-image-area .product-image {
		aspect-ratio: 1 / 1;
	}

	body.eyn-native-single-product .eyn-sp-related .eyn-sp-related-slide .item-area .product-image-area .product-image img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
}
