/*
 * Ecovenir single product experience.
 * The selectors stay below the product-page root so WooCommerce screens and
 * the reusable catalogue cards keep their own design contract.
 */

.ecovenir-product-page {
	--ecovenir-product-ink: var(--wp--preset--color--contrast, #14322b);
	--ecovenir-product-teal: var(--wp--preset--color--primary, #07564f);
	--ecovenir-product-teal-dark: var(--wp--preset--color--primary-dark, #003b37);
	--ecovenir-product-accent: var(--wp--preset--color--accent, #a49f34);
	--ecovenir-product-sand: var(--wp--preset--color--sand, #c99858);
	--ecovenir-product-surface: var(--wp--preset--color--surface, #f6f3e8);
	--ecovenir-product-border: var(--wp--preset--color--border, #d7e0da);
	--ecovenir-product-muted: var(--wp--preset--color--muted, #66756f);
	background: #fff;
	color: var(--ecovenir-product-ink);
	direction: rtl;
	font-family: var(--wp--preset--font-family--display, "Alexandria", sans-serif);
	margin-block-start: 0 !important;
	overflow: clip;
	text-align: start;
}

.ecovenir-product-page *,
.ecovenir-product-page *::before,
.ecovenir-product-page *::after {
	box-sizing: border-box;
}

.ecovenir-product-main {
	margin-block-start: 0 !important;
	padding: clamp(1rem, 2.4vw, 2.25rem) clamp(1rem, 3.4vw, 3rem) clamp(3.5rem, 7vw, 6.5rem);
}

.ecovenir-product-main__inner,
.ecovenir-related-products__inner {
	margin-inline: auto;
	max-width: 1340px;
	width: 100%;
}

.ecovenir-product-main__topline {
	margin: 0 0 clamp(1.25rem, 2.4vw, 2rem);
}

.ecovenir-product-breadcrumbs {
	color: var(--ecovenir-product-muted);
	font-family: var(--wp--preset--font-family--body, "Noto Sans Arabic", sans-serif);
	font-size: clamp(0.78rem, 0.9vw, 0.9rem);
	font-weight: 650;
	line-height: 1.7;
	margin: 0;
}

.ecovenir-product-breadcrumbs a {
	color: var(--ecovenir-product-teal);
	text-decoration-color: color-mix(in srgb, var(--ecovenir-product-teal) 32%, transparent);
	text-underline-offset: 0.28em;
}

.ecovenir-product-breadcrumbs a:hover {
	text-decoration-color: currentColor;
}

.ecovenir-product-notices:empty {
	display: none;
}

.ecovenir-product-notices .woocommerce-message,
.ecovenir-product-notices .woocommerce-error,
.ecovenir-product-notices .woocommerce-info {
	align-items: center;
	background: color-mix(in srgb, var(--ecovenir-product-surface) 76%, #fff);
	border: 1px solid var(--ecovenir-product-border);
	border-inline-start: 4px solid var(--ecovenir-product-accent);
	border-radius: 0.75rem;
	box-shadow: none;
	color: var(--ecovenir-product-ink);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.92rem;
	gap: 0.75rem;
	justify-content: space-between;
	line-height: 1.7;
	list-style: none;
	margin: 1rem 0 0;
	padding: 0.8rem 1rem;
}

.ecovenir-product-notices .button {
	background: transparent;
	border: 0;
	color: var(--ecovenir-product-teal);
	font-weight: 800;
	padding: 0;
}

.ecovenir-product-overview {
	align-items: start !important;
	direction: ltr;
	display: grid !important;
	gap: clamp(1.5rem, 4vw, 4.5rem);
	grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
	margin: 0;
}

.ecovenir-product-overview > .wp-block-column {
	direction: rtl;
	margin: 0;
	min-width: 0;
	width: auto;
}

/* Gallery */
.ecovenir-product-gallery-column,
.ecovenir-product-gallery,
.ecovenir-product-gallery .woocommerce-product-gallery {
	min-width: 0;
	width: 100% !important;
}

.ecovenir-product-gallery .woocommerce-product-gallery {
	direction: ltr;
	float: none !important;
	margin: 0 !important;
	position: relative;
}

.ecovenir-product-gallery .woocommerce-product-gallery__wrapper {
	background: var(--ecovenir-product-surface);
	border: 1px solid var(--ecovenir-product-border);
	border-radius: clamp(1rem, 2vw, 1.5rem);
	margin: 0 !important;
	overflow: hidden;
}

.ecovenir-product-gallery .woocommerce-product-gallery__image,
.ecovenir-product-gallery .woocommerce-product-gallery__image a {
	display: block;
	margin: 0;
	width: 100%;
}

.ecovenir-product-gallery .woocommerce-product-gallery__image img {
	aspect-ratio: 1 / 1;
	background: var(--ecovenir-product-surface);
	display: block;
	height: auto !important;
	margin: 0;
	object-fit: contain;
	width: 100% !important;
}

.ecovenir-product-gallery .woocommerce-product-gallery__trigger {
	align-items: center;
	background: rgb(255 255 255 / 94%) !important;
	border: 1px solid var(--ecovenir-product-border);
	border-radius: 999px;
	box-shadow: none !important;
	color: var(--ecovenir-product-teal-dark);
	display: inline-flex;
	height: 3rem;
	inset: 1rem auto auto 1rem !important;
	justify-content: center;
	margin: 0;
	min-height: 3rem;
	min-width: 3rem;
	padding: 0;
	position: absolute;
	width: 3rem;
	z-index: 4;
}

.ecovenir-product-gallery .woocommerce-product-gallery__trigger::before,
.ecovenir-product-gallery .woocommerce-product-gallery__trigger::after {
	box-sizing: content-box;
}

.ecovenir-product-gallery .flex-control-thumbs {
	direction: ltr;
	display: grid;
	gap: 0.65rem;
	grid-auto-columns: minmax(4.1rem, 5rem);
	grid-auto-flow: column;
	justify-content: start;
	list-style: none;
	margin: 0.85rem 0 0 !important;
	overflow-x: auto;
	padding: 0.1rem 0 0.5rem !important;
	scroll-snap-type: x proximity;
	scrollbar-color: var(--ecovenir-product-border) transparent;
	scrollbar-width: thin;
}

.ecovenir-product-gallery .flex-control-thumbs li {
	float: none !important;
	margin: 0 !important;
	scroll-snap-align: start;
	width: auto !important;
}

.ecovenir-product-gallery .flex-control-thumbs img {
	aspect-ratio: 1;
	background: var(--ecovenir-product-surface);
	border: 2px solid transparent;
	border-radius: 0.75rem;
	cursor: pointer;
	display: block;
	height: auto;
	object-fit: cover;
	opacity: 0.7;
	padding: 2px;
	transition: border-color 180ms ease, opacity 180ms ease;
	width: 100%;
}

.ecovenir-product-gallery .flex-control-thumbs img:hover,
.ecovenir-product-gallery .flex-control-thumbs img.flex-active {
	border-color: var(--ecovenir-product-teal);
	opacity: 1;
}

.ecovenir-product-gallery .onsale {
	background: var(--ecovenir-product-sand);
	border-radius: 999px;
	box-shadow: none;
	color: var(--ecovenir-product-teal-dark);
	font-size: 0.78rem;
	font-weight: 850;
	inset: 1rem 1rem auto auto;
	line-height: 1;
	margin: 0;
	min-height: auto;
	min-width: auto;
	padding: 0.62rem 0.8rem;
	position: absolute;
	z-index: 5;
}

/* Product summary and purchase controls */
.ecovenir-product-summary {
	background: #fff;
	border: 1px solid var(--ecovenir-product-border);
	border-radius: clamp(1rem, 2vw, 1.5rem);
	box-shadow: none !important;
	padding: clamp(1.25rem, 3vw, 2.35rem);
}

.ecovenir-product-summary > * {
	margin-block-start: 0;
}

.ecovenir-product-summary__category {
	color: var(--ecovenir-product-teal);
	font-size: clamp(0.75rem, 0.86vw, 0.86rem) !important;
	font-weight: 800;
	line-height: 1.65;
	margin: 0 0 0.5rem;
}

.ecovenir-product-summary__category a {
	color: inherit;
	text-decoration: none;
}

.ecovenir-product-summary__title {
	color: var(--ecovenir-product-teal-dark);
	font-family: var(--wp--preset--font-family--display, "Alexandria", sans-serif);
	font-size: clamp(1.8rem, 3vw, 2.65rem) !important;
	font-weight: 850;
	letter-spacing: -0.035em;
	line-height: 1.28;
	max-width: 13em;
}

.ecovenir-product-summary__rating-row {
	align-items: center;
	gap: 0.7rem;
	margin: 0.85rem 0 0;
	min-height: 1.5rem;
}

.ecovenir-product-summary__rating,
.ecovenir-product-summary__rating .wc-block-components-product-rating {
	margin: 0;
}

.ecovenir-product-summary .star-rating,
.ecovenir-product-details-shell .star-rating,
.ecovenir-related-products .star-rating {
	color: var(--ecovenir-product-accent);
	float: none;
	font-family: star;
	margin: 0;
}

.ecovenir-product-summary__review-link {
	font-family: var(--wp--preset--font-family--body, "Noto Sans Arabic", sans-serif);
	font-size: 0.85rem;
	font-weight: 700;
	margin: 0;
}

.ecovenir-product-summary__review-link a {
	color: var(--ecovenir-product-muted);
	text-decoration-color: color-mix(in srgb, var(--ecovenir-product-muted) 42%, transparent);
	text-underline-offset: 0.25em;
}

.ecovenir-product-summary__price {
	direction: ltr;
	display: inline-flex;
	font-size: clamp(1.45rem, 2.25vw, 1.9rem) !important;
	font-weight: 850;
	line-height: 1.3;
	margin: 1rem 0 0;
	text-align: start;
	unicode-bidi: isolate;
}

.ecovenir-product-summary__price del {
	color: var(--ecovenir-product-muted);
	font-size: 0.7em;
	font-weight: 600;
	opacity: 0.72;
}

.ecovenir-product-summary__price ins {
	color: var(--ecovenir-product-teal);
	text-decoration: none;
}

.ecovenir-product-summary__excerpt {
	color: var(--ecovenir-product-muted);
	font-family: var(--wp--preset--font-family--body, "Noto Sans Arabic", sans-serif);
	font-size: clamp(0.96rem, 1.15vw, 1.05rem);
	font-weight: 540;
	line-height: 1.9;
	margin: 1rem 0 0;
}

.ecovenir-product-summary__excerpt p {
	margin: 0;
}

.ecovenir-product-options-intro {
	border-block-start: 1px solid var(--ecovenir-product-border);
	margin-block-start: 1.25rem;
	padding-block-start: 1.1rem;
}

.ecovenir-product-options-intro strong {
	display: block;
	font-size: 0.95rem;
	font-weight: 850;
	margin-bottom: 0.2rem;
}

.ecovenir-product-options-intro span {
	color: var(--ecovenir-product-muted);
	font-family: var(--wp--preset--font-family--body, "Noto Sans Arabic", sans-serif);
	font-size: 0.85rem;
	line-height: 1.7;
}

.ecovenir-product-purchase {
	border-block-start: 1px solid var(--ecovenir-product-border);
	margin-block-start: 1.35rem;
	padding-block-start: 1.35rem;
}

.ecovenir-product-purchase form.cart,
.ecovenir-product-purchase .woocommerce-variation-add-to-cart {
	align-items: stretch;
	display: grid;
	gap: 0.8rem;
	grid-template-columns: minmax(7.25rem, 0.34fr) minmax(12rem, 1fr);
	margin: 0;
}

.ecovenir-product-purchase .quantity {
	grid-column: 1;
	margin: 0 !important;
	min-height: 3.25rem;
	width: 100%;
}

.ecovenir-product-purchase .wc-block-components-quantity-selector {
	align-items: center !important;
	background: #fff;
	block-size: 3.25rem;
	border: 1px solid var(--ecovenir-product-border);
	border-radius: 0.8rem;
	box-sizing: border-box;
	direction: ltr;
	display: flex !important;
	overflow: hidden;
}

.ecovenir-product-purchase .wc-block-components-quantity-selector__button,
.ecovenir-product-purchase .wc-block-components-quantity-selector__input,
.ecovenir-product-purchase input.qty {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--ecovenir-product-teal-dark);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 800;
	height: 3.2rem !important;
	margin: 0 !important;
	min-height: 3.2rem !important;
	padding: 0 !important;
	text-align: center;
}

.ecovenir-product-purchase .wc-block-components-quantity-selector__button {
	align-items: center;
	align-self: center;
	cursor: pointer;
	display: inline-flex !important;
	flex: 0 0 2.65rem !important;
	font-size: 1.2rem;
	justify-content: center;
	line-height: 1 !important;
	min-width: 2.65rem;
	width: 2.65rem !important;
}

.ecovenir-product-purchase .wc-block-components-quantity-selector__button--minus {
	order: 1;
}

.ecovenir-product-purchase .wc-block-components-quantity-selector__input,
.ecovenir-product-purchase input.qty.wc-block-components-quantity-selector__input {
	align-self: center;
	appearance: textfield;
	box-sizing: border-box !important;
	flex: 1 1 auto !important;
	line-height: 3.2rem !important;
	order: 2;
	width: auto !important;
}

.ecovenir-product-purchase .wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.ecovenir-product-purchase .wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
	appearance: none;
	margin: 0;
}

.ecovenir-product-purchase .wc-block-components-quantity-selector__button--plus {
	order: 3;
}

.ecovenir-product-purchase .wc-block-components-quantity-selector__button:hover {
	background: var(--ecovenir-product-surface) !important;
}

.ecovenir-product-purchase .wc-block-components-quantity-selector__button:focus-visible,
.ecovenir-product-purchase .wc-block-components-quantity-selector__input:focus-visible {
	outline: 2px solid var(--ecovenir-product-teal);
	outline-offset: -3px;
}

.ecovenir-product-purchase .single_add_to_cart_button,
.ecovenir-product-purchase button.single_add_to_cart_button {
	align-items: center;
	background: var(--ecovenir-product-teal) !important;
	border: 1px solid var(--ecovenir-product-teal) !important;
	border-radius: 0.8rem !important;
	box-shadow: none !important;
	color: #fff !important;
	display: inline-flex !important;
	font-family: inherit;
	font-size: clamp(0.92rem, 1.05vw, 1rem) !important;
	font-weight: 850 !important;
	grid-column: 2;
	justify-content: center;
	line-height: 1.35;
	margin: 0 !important;
	min-height: 3.25rem;
	padding: 0.8rem 1.2rem !important;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
	width: 100%;
}

.ecovenir-product-purchase .single_add_to_cart_button:hover {
	background: var(--ecovenir-product-teal-dark) !important;
	border-color: var(--ecovenir-product-teal-dark) !important;
}

.ecovenir-product-purchase .single_add_to_cart_button.disabled,
.ecovenir-product-purchase .single_add_to_cart_button:disabled {
	cursor: not-allowed;
	opacity: 0.52;
}

.ecovenir-live-total {
	align-items: center;
	background: color-mix(in srgb, var(--ecovenir-product-surface) 76%, #fff);
	border: 1px solid var(--ecovenir-product-border);
	border-radius: 0.8rem;
	display: flex;
	gap: 0.75rem;
	grid-column: 1 / -1;
	justify-content: space-between;
	margin: 0.1rem 0 0;
	min-height: 3.7rem;
	padding: 0.75rem 0.9rem;
}

.ecovenir-live-total__copy {
	display: grid;
	gap: 0.1rem;
}

.ecovenir-live-total__label {
	font-size: 0.86rem;
	font-weight: 850;
}

.ecovenir-live-total__hint {
	color: var(--ecovenir-product-muted);
	font-family: var(--wp--preset--font-family--body, "Noto Sans Arabic", sans-serif);
	font-size: 0.73rem;
	line-height: 1.5;
}

.ecovenir-live-total__amount {
	color: var(--ecovenir-product-teal);
	direction: ltr;
	font-size: clamp(1rem, 1.35vw, 1.22rem);
	font-weight: 900;
	unicode-bidi: isolate;
	white-space: nowrap;
}

.ecovenir-live-total.is-awaiting-selection .ecovenir-live-total__amount {
	color: var(--ecovenir-product-muted);
	direction: rtl;
	font-size: 0.82rem;
	white-space: normal;
}

.ecovenir-product-purchase table.variations {
	border: 0;
	border-collapse: collapse;
	display: block;
	grid-column: 1 / -1;
	margin: 0 0 1rem;
	width: 100%;
}

.ecovenir-product-purchase table.variations tbody {
	display: grid;
	gap: 0.9rem;
	width: 100%;
}

.ecovenir-product-purchase table.variations tr {
	display: grid;
	gap: 0.42rem;
	grid-template-columns: 1fr;
	width: 100%;
}

.ecovenir-product-purchase table.variations th,
.ecovenir-product-purchase table.variations td {
	background: transparent;
	border: 0;
	display: block;
	padding: 0;
	text-align: start;
	width: 100%;
}

.ecovenir-product-purchase table.variations label {
	color: var(--ecovenir-product-ink);
	font-size: 0.88rem;
	font-weight: 850;
}

.ecovenir-product-purchase table.variations select {
	appearance: auto;
	background-color: #fff;
	border: 1px solid var(--ecovenir-product-border);
	border-radius: 0.75rem;
	box-shadow: none;
	color: var(--ecovenir-product-ink);
	font-family: inherit;
	font-size: 0.9rem;
	height: 3.15rem;
	margin: 0;
	max-width: none;
	padding-inline: 0.9rem;
	width: 100%;
}

.ecovenir-product-purchase .reset_variations {
	color: var(--ecovenir-product-teal);
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 750;
	margin-block-start: 0.5rem;
	text-underline-offset: 0.22em;
}

.ecovenir-product-purchase .single_variation_wrap {
	display: grid;
	gap: 0.85rem;
	grid-column: 1 / -1;
	width: 100%;
}

.ecovenir-product-purchase .woocommerce-variation-description,
.ecovenir-product-purchase .woocommerce-variation-availability {
	color: var(--ecovenir-product-muted);
	font-family: var(--wp--preset--font-family--body, "Noto Sans Arabic", sans-serif);
	font-size: 0.86rem;
	line-height: 1.7;
}

.ecovenir-product-purchase .woocommerce-variation-price {
	direction: ltr;
	font-size: 1.15rem;
	font-weight: 850;
	text-align: right;
	unicode-bidi: isolate;
}

.ecovenir-product-purchase .stock {
	color: var(--ecovenir-product-teal);
	font-size: 0.84rem;
	font-weight: 800;
	margin: 0;
}

.ecovenir-product-purchase .out-of-stock {
	color: #9b3c32;
}

.ecovenir-product-assurances {
	border-block: 1px solid var(--ecovenir-product-border);
	gap: 0 !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	margin: 1.35rem 0 0;
	padding-block: 1rem;
}

.ecovenir-product-assurance {
	align-items: center;
	column-gap: 0.62rem;
	display: grid;
	grid-template-columns: 2.2rem minmax(0, 1fr);
	grid-template-rows: auto auto;
	margin: 0;
	min-height: 2.85rem;
	padding: 0.15rem 0.75rem;
	row-gap: 0.06rem;
}

.ecovenir-product-assurance::before {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	grid-column: 1;
	grid-row: 1 / 3;
	height: 2rem;
	justify-self: center;
	width: 2rem;
}

.ecovenir-product-assurance--quality::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='1' y='1' width='30' height='30' rx='9' fill='%23F1F6F3' stroke='%23C7D9D4'/%3E%3Cpath d='m16 7 8 4.2-8 4.2-8-4.2L16 7Zm-8 9 8 4.2 8-4.2M8 21l8 4 8-4' fill='none' stroke='%23075C54' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ecovenir-product-assurance--local::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='1' y='1' width='30' height='30' rx='9' fill='%23F1F6F3' stroke='%23C7D9D4'/%3E%3Cpath d='M23 14.5c0 5-7 10.5-7 10.5S9 19.5 9 14.5a7 7 0 1 1 14 0Z' fill='none' stroke='%23075C54' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='16' cy='14.5' r='2.4' fill='none' stroke='%23075C54' stroke-width='1.8'/%3E%3C/svg%3E");
}

.ecovenir-product-assurance--support::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='1' y='1' width='30' height='30' rx='9' fill='%23F1F6F3' stroke='%23C7D9D4'/%3E%3Cpath d='M9 17v-2a7 7 0 0 1 14 0v2M9 17H7.8A1.8 1.8 0 0 0 6 18.8v2.4A1.8 1.8 0 0 0 7.8 23H10v-6H9Zm14 0h1.2a1.8 1.8 0 0 1 1.8 1.8v2.4a1.8 1.8 0 0 1-1.8 1.8H22v-6h1Zm-1 6c-1 2-2.7 3-5 3h-1' fill='none' stroke='%23075C54' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ecovenir-product-assurance + .ecovenir-product-assurance {
	border-inline-start: 1px solid var(--ecovenir-product-border);
}

.ecovenir-product-assurance span {
	color: var(--ecovenir-product-teal-dark);
	font-size: 0.76rem;
	font-weight: 850;
	grid-column: 2;
	white-space: nowrap;
}

.ecovenir-product-assurance small {
	color: var(--ecovenir-product-muted);
	font-family: var(--wp--preset--font-family--body, "Noto Sans Arabic", sans-serif);
	font-size: 0.68rem;
	grid-column: 2;
	line-height: 1.55;
}

.ecovenir-product-meta {
	color: var(--ecovenir-product-muted);
	font-family: var(--wp--preset--font-family--body, "Noto Sans Arabic", sans-serif);
	font-size: 0.77rem;
	line-height: 1.75;
	margin: 0.9rem 0 0;
}

.ecovenir-product-meta > .wp-block-group {
	gap: 0.35rem 1rem;
}

.ecovenir-product-meta a {
	color: var(--ecovenir-product-teal);
	font-weight: 700;
	text-decoration: none;
}

.ecovenir-product-meta .sku,
.ecovenir-product-meta .wc-block-components-product-sku__value {
	direction: ltr;
	display: inline-block;
	unicode-bidi: isolate;
}

/* Product details and reviews */
.ecovenir-product-details-shell {
	border-block-start: 1px solid var(--ecovenir-product-border);
	margin: clamp(2.5rem, 6vw, 5.25rem) 0 0;
	padding-block-start: clamp(1.75rem, 3vw, 2.75rem);
}

.ecovenir-product-details,
.ecovenir-product-details .woocommerce-tabs,
.ecovenir-product-details .wc-tabs-wrapper {
	margin: 0;
	max-width: none;
	width: 100%;
}

.ecovenir-product-details .wc-tabs {
	border-block-end: 1px solid var(--ecovenir-product-border);
	display: flex;
	gap: clamp(1.1rem, 3vw, 2.5rem);
	list-style: none;
	margin: 0 0 1.75rem !important;
	overflow-x: auto;
	padding: 0 !important;
	scrollbar-width: none;
}

.ecovenir-product-details .wc-tabs::-webkit-scrollbar {
	display: none;
}

.ecovenir-product-details .wc-tabs li {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	white-space: nowrap;
}

.ecovenir-product-details .wc-tabs li::before,
.ecovenir-product-details .wc-tabs li::after {
	display: none !important;
}

.ecovenir-product-details .wc-tabs a {
	border-block-end: 3px solid transparent;
	color: var(--ecovenir-product-muted) !important;
	display: block;
	font-size: clamp(0.88rem, 1.1vw, 1rem);
	font-weight: 800 !important;
	padding: 0.85rem 0.1rem 0.75rem !important;
	text-decoration: none;
}

.ecovenir-product-details .wc-tabs li.active a,
.ecovenir-product-details .wc-tabs a:hover {
	border-block-end-color: var(--ecovenir-product-accent);
	color: var(--ecovenir-product-teal-dark) !important;
}

.ecovenir-product-details .woocommerce-Tabs-panel {
	color: var(--ecovenir-product-ink);
	font-family: var(--wp--preset--font-family--body, "Noto Sans Arabic", sans-serif);
	font-size: clamp(0.98rem, 1.15vw, 1.08rem);
	line-height: 2;
	margin: 0 !important;
	padding: 0;
	scroll-margin-top: 10rem;
}

.ecovenir-product-details .woocommerce-Tabs-panel > h2:first-child {
	color: var(--ecovenir-product-teal-dark);
	font-family: var(--wp--preset--font-family--display, "Alexandria", sans-serif);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 850;
	line-height: 1.45;
	margin: 0 0 1rem;
}

.ecovenir-product-details table.shop_attributes {
	border: 1px solid var(--ecovenir-product-border);
	border-collapse: separate;
	border-radius: 0.85rem;
	border-spacing: 0;
	overflow: hidden;
	width: 100%;
}

.ecovenir-product-details table.shop_attributes th,
.ecovenir-product-details table.shop_attributes td {
	background: transparent;
	border: 0;
	border-block-end: 1px solid var(--ecovenir-product-border);
	font-style: normal;
	padding: 0.8rem 1rem;
	text-align: start;
}

.ecovenir-product-details table.shop_attributes tr:last-child th,
.ecovenir-product-details table.shop_attributes tr:last-child td {
	border-block-end: 0;
}

.ecovenir-product-details table.shop_attributes th {
	background: color-mix(in srgb, var(--ecovenir-product-surface) 66%, #fff);
	font-family: var(--wp--preset--font-family--display, "Alexandria", sans-serif);
	font-weight: 800;
	width: min(34%, 15rem);
}

.ecovenir-product-details .wp-block-woocommerce-product-details__accordion-item,
.ecovenir-product-details .wp-block-woocommerce-product-details__accordion-panel,
.ecovenir-product-details .wp-block-woocommerce-product-details__accordion-header {
	box-shadow: none !important;
}

.ecovenir-product-details .wp-block-woocommerce-product-details__accordion-item {
	border-block-end: 1px solid var(--ecovenir-product-border);
}

.ecovenir-product-details .wp-block-woocommerce-product-details__accordion-header {
	font-size: clamp(1rem, 1.3vw, 1.12rem);
	font-weight: 850;
	padding-block: 1rem;
}

.ecovenir-product-details-shell #reviews {
	display: grid;
	gap: clamp(1.5rem, 4vw, 3.25rem);
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr);
}

.ecovenir-product-details-shell .woocommerce-Reviews-title,
.ecovenir-product-details-shell .comment-reply-title {
	color: var(--ecovenir-product-teal-dark);
	font-family: var(--wp--preset--font-family--display, "Alexandria", sans-serif);
	font-size: clamp(1.2rem, 1.8vw, 1.55rem);
	font-weight: 850;
	line-height: 1.5;
	margin: 0 0 1rem;
}

.ecovenir-product-details-shell .commentlist {
	display: grid;
	gap: 0.8rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ecovenir-product-details-shell .comment_container {
	border: 1px solid var(--ecovenir-product-border);
	border-radius: 0.85rem;
	display: grid;
	gap: 0.8rem;
	grid-template-columns: 3rem minmax(0, 1fr);
	padding: 1rem;
}

.ecovenir-product-details-shell .comment_container .avatar {
	border: 1px solid var(--ecovenir-product-border);
	border-radius: 999px;
	height: 3rem;
	margin: 0;
	width: 3rem;
}

.ecovenir-product-details-shell .comment-text {
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ecovenir-product-details-shell .woocommerce-review__published-date,
.ecovenir-product-details-shell .woocommerce-review__dash {
	color: var(--ecovenir-product-muted);
	font-size: 0.75rem;
}

.ecovenir-product-details-shell #review_form_wrapper {
	background: color-mix(in srgb, var(--ecovenir-product-surface) 72%, #fff);
	border: 1px solid var(--ecovenir-product-border);
	border-radius: 1rem;
	padding: clamp(1rem, 2vw, 1.5rem);
}

.ecovenir-product-details-shell .comment-form {
	display: grid;
	gap: 0.9rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecovenir-product-details-shell .comment-form > * {
	margin: 0;
}

.ecovenir-product-details-shell .comment-form-rating,
.ecovenir-product-details-shell .comment-form-comment,
.ecovenir-product-details-shell .comment-form-cookies-consent,
.ecovenir-product-details-shell .form-submit,
.ecovenir-product-details-shell .must-log-in {
	grid-column: 1 / -1;
}

.ecovenir-product-details-shell .comment-form label {
	display: block;
	font-family: var(--wp--preset--font-family--display, "Alexandria", sans-serif);
	font-size: 0.82rem;
	font-weight: 800;
	margin: 0 0 0.35rem;
}

.ecovenir-product-details-shell .comment-form input:not([type="checkbox"]),
.ecovenir-product-details-shell .comment-form textarea,
.ecovenir-product-details-shell .comment-form select {
	background: #fff;
	border: 1px solid var(--ecovenir-product-border);
	border-radius: 0.7rem;
	box-shadow: none;
	color: var(--ecovenir-product-ink);
	font-family: var(--wp--preset--font-family--body, "Noto Sans Arabic", sans-serif);
	font-size: 0.92rem;
	padding: 0.75rem 0.85rem;
	width: 100%;
}

.ecovenir-product-details-shell .comment-form textarea {
	min-height: 8rem;
	resize: vertical;
}

.ecovenir-product-details-shell .comment-form .submit {
	background: var(--ecovenir-product-teal);
	border: 1px solid var(--ecovenir-product-teal);
	border-radius: 0.72rem;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-weight: 850;
	min-height: 3rem;
	padding: 0.7rem 1.2rem;
}

.ecovenir-product-details-shell .comment-form .submit:hover {
	background: var(--ecovenir-product-teal-dark);
	border-color: var(--ecovenir-product-teal-dark);
}

.ecovenir-product-details-shell .comment-form-rating .stars {
	direction: ltr;
	display: inline-flex;
	font-size: 1.2rem;
	margin: 0;
}

.ecovenir-product-details-shell .comment-form-rating .stars a {
	color: var(--ecovenir-product-accent);
}

/* Related products */
.ecovenir-related-products {
	margin-block-start: 0 !important;
	padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 3.4vw, 3rem);
}

.ecovenir-related-products__heading {
	margin: 0 0 clamp(1.3rem, 2.8vw, 2.25rem);
	max-width: 44rem;
}

.ecovenir-related-products__eyebrow {
	color: var(--ecovenir-product-teal);
	font-size: 0.82rem;
	font-weight: 850;
	letter-spacing: 0.01em;
	margin: 0 0 0.35rem;
}

.ecovenir-related-products__title {
	color: var(--ecovenir-product-teal-dark);
	font-size: clamp(1.45rem, 2.8vw, 2.25rem) !important;
	font-weight: 850;
	letter-spacing: -0.025em;
	line-height: 1.4;
	margin: 0;
}

.ecovenir-related-products__collection {
	margin: 0 !important;
}

.ecovenir-related-products__grid {
	margin: 0 !important;
}

.ecovenir-related-products .ecovenir-shop-product-card__rating {
	min-height: 1.2rem;
}

/* Interactive states and restrained motion */
.ecovenir-product-page a:focus-visible,
.ecovenir-product-page button:focus-visible,
.ecovenir-product-page input:focus-visible,
.ecovenir-product-page select:focus-visible,
.ecovenir-product-page textarea:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--ecovenir-product-accent) 70%, #fff);
	outline-offset: 3px;
}

body.ecovenir-motion-enabled .ecovenir-product-gallery-column,
body.ecovenir-motion-enabled .ecovenir-product-summary {
	animation: ecovenir-product-reveal 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.ecovenir-motion-enabled .ecovenir-product-summary {
	animation-delay: 90ms;
}

@keyframes ecovenir-product-reveal {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 980px) {
	.ecovenir-product-overview {
		gap: 1.35rem;
		grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.9fr);
	}

	.ecovenir-product-summary {
		padding: 1.25rem;
	}

	.ecovenir-product-assurances {
		grid-template-columns: 1fr !important;
	}

	.ecovenir-product-assurance {
		padding: 0.55rem 0;
	}

	.ecovenir-product-assurance + .ecovenir-product-assurance {
		border-block-start: 1px solid var(--ecovenir-product-border);
		border-inline-start: 0;
	}
}

@media (max-width: 760px) {
	.ecovenir-product-main {
		padding-inline: clamp(0.85rem, 4vw, 1.25rem);
	}

	.ecovenir-product-overview {
		display: flex !important;
		flex-direction: column;
		gap: 1rem;
	}

	.ecovenir-product-gallery-column,
	.ecovenir-product-summary {
		width: 100%;
	}

	.ecovenir-product-summary {
		border-radius: 1rem;
	}

	.ecovenir-product-summary__title {
		font-size: clamp(1.65rem, 7vw, 2rem) !important;
		max-width: none;
	}

	.ecovenir-product-gallery .woocommerce-product-gallery__wrapper {
		border-radius: 1rem;
	}

	.ecovenir-product-gallery .woocommerce-product-gallery__trigger {
		height: 2.75rem;
		inset: 0.75rem auto auto 0.75rem !important;
		min-height: 2.75rem;
		min-width: 2.75rem;
		width: 2.75rem;
	}

	.ecovenir-product-details-shell {
		margin-block-start: 2.75rem;
	}

	.ecovenir-product-details-shell #reviews {
		grid-template-columns: 1fr;
	}

	.ecovenir-related-products {
		padding-inline: clamp(0.85rem, 4vw, 1.25rem);
	}
}

@media (max-width: 480px) {
	.ecovenir-product-main__topline {
		margin-bottom: 1rem;
	}

	.ecovenir-product-breadcrumbs {
		font-size: 0.74rem;
	}

	.ecovenir-product-summary {
		padding: 1rem;
	}

	.ecovenir-product-purchase form.cart,
	.ecovenir-product-purchase .woocommerce-variation-add-to-cart {
		grid-template-columns: minmax(6.75rem, 0.42fr) minmax(0, 1fr);
	}

	.ecovenir-product-purchase .single_add_to_cart_button,
	.ecovenir-product-purchase button.single_add_to_cart_button {
		font-size: 0.86rem !important;
		padding-inline: 0.65rem !important;
	}

	.ecovenir-live-total {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.4rem;
	}

	.ecovenir-product-assurances {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.ecovenir-product-assurance {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto;
		justify-items: center;
		padding: 0.3rem 0.25rem;
		row-gap: 0.28rem;
		text-align: center;
	}

	.ecovenir-product-assurance::before {
		grid-column: 1;
		grid-row: 1;
		height: 1.65rem;
		width: 1.65rem;
	}

	.ecovenir-product-assurance + .ecovenir-product-assurance {
		border-block-start: 0;
		border-inline-start: 1px solid var(--ecovenir-product-border);
	}

	.ecovenir-product-assurance span {
		font-size: 0.68rem;
		grid-column: 1;
		grid-row: 2;
		white-space: normal;
	}

	.ecovenir-product-assurance small {
		display: none;
	}

	.ecovenir-product-details-shell .comment-form {
		grid-template-columns: 1fr;
	}

	.ecovenir-product-details-shell .comment-form > * {
		grid-column: 1;
	}
}

@media (max-width: 340px) {
	.ecovenir-product-purchase form.cart,
	.ecovenir-product-purchase .woocommerce-variation-add-to-cart {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.ecovenir-product-purchase .quantity {
		grid-column: 1 !important;
		grid-row: 1 !important;
		justify-self: end;
		max-width: 10rem;
	}

	.ecovenir-product-purchase .single_add_to_cart_button,
	.ecovenir-product-purchase button.single_add_to_cart_button {
		grid-column: 1 !important;
		grid-row: 2 !important;
	}

	.ecovenir-live-total {
		grid-column: 1 !important;
		grid-row: 3 !important;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ecovenir-product-page *,
	.ecovenir-product-page *::before,
	.ecovenir-product-page *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
