.elab-product {
	color: #222;
}

/* eForm hides native checkboxes and expects its own generated label markup.
 * Keep our opt-in a visible native control without changing eForm's fields. */
.elab-order-checkout input[type="checkbox"][data-elab-supporter] {
	appearance: auto !important;
	-webkit-appearance: checkbox !important;
	display: inline-block !important;
	position: static !important;
	opacity: 1 !important;
	visibility: visible !important;
	clip: auto !important;
	clip-path: none !important;
	width: 20px !important;
	height: 20px !important;
	margin: -4px 8px 0 0 !important;
	vertical-align: middle;
	pointer-events: auto !important;
	accent-color: #006e72;
}

.elab-order-checkout input[data-elab-supporter]:focus-visible {
	outline: 2px solid #006e72;
	outline-offset: 3px;
}

.elab-product__media {
	margin: 0 0 30px;
	border-radius: var(--elab-radius-lg, 12px);
	overflow: hidden;
	background: var(--elab-bg-soft2, #f5f5f5);
	box-shadow: var(--elab-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
}

.elab-commerce .elab-product__image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.elab-product__photos {
	margin-bottom: 30px;
}

.elab-product__photos .elab-product__media {
	margin-bottom: 0;
}

.elab-product__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 12px;
}

.elab-product__lightbox {
	display: block;
	min-width: 0;
	cursor: zoom-in;
}

.elab-product__gallery .elab-product__lightbox {
	border: 1px solid var(--elab-border, #e5e7eb);
	border-radius: var(--elab-radius-lg, 12px);
	overflow: hidden;
	background: var(--elab-bg-soft2, #f5f5f5);
}

.elab-product .elab-product__gallery-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	margin: 0;
}

.elab-product__lightbox:focus-visible {
	outline: 3px solid #006e72;
	outline-offset: 3px;
}

@media (max-width: 480px) {
	.elab-product__gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
}

.elab-product__intro .elab-commerce-notice { 
	margin: 0 0 -5px 0; 
}

.elab-order-checkout .elab-commerce-notice.elab-toetaja { 
	padding: 10px;
    background: var(--elab-green);
    color: #fff;
	margin: 0;
	line-height: 2;
    font-size: 16px;
}

.elab-order-checkout .elab-commerce-notice.elab-toetaja small { 
	font-size: 75%;
}

.elab-product .elab-product__intro h2,
.elab-product .elab-product__order > h2 {
	margin-bottom: 14px;
}

.elab-product .elab-product__order > h2 {
	margin-top: 0;
}

.elab-product__price {
	margin: 18px 0 8px;
	color: var(--elab-green-dark);
	font-size: clamp(1.6rem, 3vw, 2.15rem);
	font-weight: 750;
	line-height: 1.1;
	font-family: var(--elab-font-display,"Fraunces",serif);
}

.elab-product__order {
	padding-top: 32px;
	border-top: 1px solid #d7d7d7;
}

.elab-product__order.elab-box {
	padding: var(--elab-space-6,24px);
}

.elab-product-sidebar .widget-area {
	display: grid;
	gap: 18px;
	font-size: 13px;
}

.product-facts,
.elab-product-attributes,
.elab-product-legal {
	margin: 0;
}

.elab-product-attributes,
.elab-product-legal {
	padding: 18px 20px;
}

.product-facts dl,
.elab-product-attributes dl,
.elab-checkout-summary dl {
	margin: 0;
}

.product-facts dl > div,
.elab-product-attributes dl > div,
.elab-checkout-summary dl > div {
	display: grid;
	grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.2fr);
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--elab-border-soft, #f0f0f0);
}

.product-facts dl > div {
	border-bottom-color: rgba(255, 255, 255, 0.16);
}

.product-facts dl > div:first-child,
.elab-product-attributes dl > div:first-child,
.elab-checkout-summary dl > div:first-child {
	padding-top: 0;
}

.product-facts dl > div:last-child,
.elab-product-attributes dl > div:last-child,
.elab-checkout-summary dl > div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.product-facts dt,
.elab-product-attributes dt,
.elab-checkout-summary dt {
	font-weight: 700;
}

.product-facts dt {
	color: rgba(255, 255, 255, 0.72);
}

.elab-product-attributes dt {
	color: var(--elab-text-muted, #6b7280);
	font-weight: 500;
}

.product-facts dd,
.elab-product-attributes dd,
.elab-checkout-summary dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.product-facts dd {
	color: #fff;
}

.elab-product-attributes dd {
	font-weight: 600;
}

.elab-product-legal {
	display: grid;
	gap: 9px;
}

.elab-product-legal a,
.product-facts a,
.elab-checkout-summary a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.product-facts a {
	color: var(--elab-light-blue, #4db4ea);
}

.product-facts a:hover {
	color: #fff;
}

.elab-order-checkout {
	margin-top: 26px;
}

.elab-checkout-summary {
	margin: 30px 0 18px;
	padding: clamp(18px, 4vw, 28px);
	border: 2px solid #006e72;
	border-radius: 10px;
	background: #f3fbfb;
}

.elab-checkout-summary h3 {
	margin: 0 0 20px;
	font-size: 1.3rem;
}

.elab-checkout-summary__total {
	font-size: 1.13rem;
}

.elab-page__content p.elab-checkout-summary__delivery {
	margin-top: 18px;
	padding: 10px;
	background-color: var(--elab-bg-soft,#f1f3f4);
}

.elab-page__content p.elab-checkout-summary__privacy {
	margin: 18px 0 0;
	font-size: 0.94rem;
}

.elab-order-checkout .ipt_fsqm_terms_wrap {
	margin: 0 0 18px;
	border: 1px solid #c8c8c8 !important;
	border-radius: 8px;
	background: #fff !important;
}

.elab-order-checkout .ipt_fsqm_terms_wrap label {
	font-weight: 600;
}

.elab-order-checkout button[type="submit"],
.elab-order-checkout input[type="submit"] {
	min-height: 50px;
	white-space: normal;
	font-size: 1rem;
	font-weight: 750;
}

.elab-order-checkout [aria-busy="true"] {
	pointer-events: none;
	opacity: 0.72;
}

.elab-commerce-notice,
.elab-order-success {
	margin: 22px 0;
	padding: 18px 20px;
	border-left: 5px solid #ecb900;
	background: #fff8dc;
}

.elab-order-success {
	border-color: #006e72;
	background: #eefafa;
}

.elab-product a:focus-visible,
.elab-product-sidebar a:focus-visible,
.elab-order-checkout button:focus-visible,
.elab-order-checkout input:focus-visible,
.elab-order-checkout select:focus-visible {
	outline: 3px solid #ecb900;
	outline-offset: 3px;
}

.elab-commerce .elab-main-card.sections_group, .elab-commerce .elab-main-card {
	padding: 0;
}

.elab-commerce .elab-page-body {
	padding-top: 0;
}

@media (max-width: 960px) {
	.elab-product-sidebar {
		margin-top: 24px;
	}
}

@media (max-width: 560px) {
	.product-facts dl > div,
	.elab-product-attributes dl > div,
	.elab-checkout-summary dl > div {
		grid-template-columns: 1fr;
		gap: 3px;
	}

	.elab-product__order {
		padding-top: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.elab-order-checkout * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
.elab-product__regular-price { font-size: .8em; display: block; font-weight: 400; text-decoration: line-through; }

.elab-page-body .elab-product__regular-price { font-size: .575em; color: var(--elab-green-darker); }

.elab-product .ipt-uif-custom-material-custom .ipt-eform-content { background-color: none; box-shadow: none; } 

.elab-product__order .ipt-uif-custom-material-custom.eform-override-element-boxy input[type="number"] { max-width: 40px; text-align: left; padding: 0 15px  }