/* =========================================================================
   Orion Checkout – Shopify-style single product page (classic template,
   Hello Elementor theme). ".site-main" is in every selector so these rules
   outrank WooCommerce's ".woocommerce div.product …" styles.
   ========================================================================= */

body.single-product {
	--oc-ink: #181C28;
	--oc-muted: #5E6575;
	--oc-line: #D3D6DC;
	--oc-line-soft: #E3E5E8;
	--oc-panel: #F4F5F2;
	--oc-tint: #F1F8EF;
	--oc-radius: 5px;
	--oc-head: "IBM Plex Sans", Heebo, sans-serif;
	--oc-body: Heebo, "IBM Plex Sans", sans-serif;
}

/* ---------- Page frame: clear the overlay header ------------------------ */

/* Header overlap set in Elementor: -113px desktop, -120px tablet/mobile */
body.single-product .site-main {
	box-sizing: border-box;
	max-width: 1248px;
	margin-left: auto;
	margin-right: auto;
	padding: 120px 24px 0;
}

@media (min-width: 1025px) {
	body.single-product .site-main {
		padding-top: 113px;
	}
}

/* The header is 36% transparent (for the homepage hero); make it solid here */
body.single-product header.elementor > .e-con {
	background-color: #181C28 !important;
}

body.single-product .site-main .woocommerce-breadcrumb {
	margin: 28px 0 24px;
	font-size: 13px;
	color: var(--oc-muted);
}

body.single-product .site-main .woocommerce-breadcrumb a {
	color: var(--oc-muted);
	text-decoration: none;
}

body.single-product .site-main .woocommerce-breadcrumb a:hover {
	color: var(--oc-accent);
}

/* ---------- Two-column layout ------------------------------------------- */

body.single-product .site-main div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	column-gap: 64px;
	align-items: start;
	margin-bottom: 80px;
	font-family: var(--oc-body);
	color: var(--oc-ink);
}

body.single-product .site-main div.product > * {
	grid-column: 1 / -1;
}

body.single-product .site-main div.product > .onsale {
	display: none;
}

body.single-product .site-main div.product > div.images {
	grid-column: 1;
	grid-row: 1;
	position: relative;
	float: none;
	width: auto;
	margin: 0;
	padding: 40px;
	box-sizing: border-box;
	border-radius: 12px;
	background: var(--oc-panel);
}

body.single-product .site-main div.product > div.summary {
	grid-column: 2;
	grid-row: 1;
	float: none;
	width: auto;
	margin: 0;
	padding-top: 8px;
}

@media (max-width: 900px) {
	body.single-product .site-main div.product {
		grid-template-columns: minmax(0, 1fr);
	}

	body.single-product .site-main div.product > div.images,
	body.single-product .site-main div.product > div.summary {
		grid-column: 1;
		grid-row: auto;
	}

	body.single-product .site-main div.product > div.images {
		padding: 24px;
		margin-bottom: 28px;
	}
}

/* ---------- Gallery ----------------------------------------------------- */

body.single-product .site-main div.product div.images .woocommerce-product-gallery__image img {
	width: 100%;
	max-height: 540px;
	object-fit: contain;
	mix-blend-mode: multiply; /* white product photos sit on the grey panel */
}

body.single-product .site-main div.product div.images .woocommerce-product-gallery__trigger {
	top: 16px;
	right: 16px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(24, 28, 40, 0.12);
	text-indent: 0;
}

body.single-product .site-main div.product div.images .woocommerce-product-gallery__trigger img {
	width: 16px !important;
	height: 16px !important;
}

body.single-product .site-main div.product div.images .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 0;
}

body.single-product .site-main div.product div.images .flex-control-thumbs li {
	width: 72px;
	float: none;
	margin: 0;
}

body.single-product .site-main div.product div.images .flex-control-thumbs img {
	border: 1px solid var(--oc-line-soft);
	border-radius: 8px;
	background: #fff;
	opacity: 0.6;
}

body.single-product .site-main div.product div.images .flex-control-thumbs img.flex-active,
body.single-product .site-main div.product div.images .flex-control-thumbs img:hover {
	border-color: var(--oc-accent);
	opacity: 1;
}

/* ---------- Buy box ----------------------------------------------------- */

body.single-product .site-main .oc-eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--oc-accent);
}

body.single-product .site-main div.product .product_title {
	margin: 0 0 18px;
	font-family: var(--oc-head);
	font-size: 34px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--oc-ink);
}

body.single-product .site-main div.product .summary p.price {
	margin: 0;
	font-family: var(--oc-head);
	font-size: 28px;
	font-weight: 700;
	color: var(--oc-ink);
}

body.single-product .site-main div.product .summary p.price del {
	margin-right: 8px;
	font-size: 20px;
	font-weight: 400;
	color: var(--oc-muted);
	opacity: 1;
}

body.single-product .site-main div.product .summary p.price ins {
	text-decoration: none;
}

body.single-product .site-main .oc-price-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--oc-muted);
}

body.single-product .site-main .oc-stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	color: var(--oc-accent-dark);
}

body.single-product .site-main .oc-stock::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--oc-accent);
}

body.single-product .site-main .oc-stock.is-out {
	color: #B42318;
}

body.single-product .site-main .oc-stock.is-out::before {
	background: #B42318;
}

body.single-product .site-main .oc-stock.is-backorder {
	color: #9A5B00;
}

body.single-product .site-main .oc-stock.is-backorder::before {
	background: #D98E04;
}

body.single-product .site-main div.product .summary p.stock {
	display: none;
}

/* Short description as a check list */
body.single-product .site-main .woocommerce-product-details__short-description {
	margin: 24px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--oc-line-soft);
	font-size: 15px;
	line-height: 1.5;
	color: #3A4050;
}

body.single-product .site-main .woocommerce-product-details__short-description ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.single-product .site-main .woocommerce-product-details__short-description li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 28px;
}

body.single-product .site-main .woocommerce-product-details__short-description li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 18px;
	height: 18px;
	background: var(--oc-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Quantity + add to cart */
body.single-product .site-main div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 0;
}

body.single-product .site-main div.product form.cart::before,
body.single-product .site-main div.product form.cart::after {
	display: none;
}

body.single-product .site-main div.product form.cart div.quantity {
	display: inline-flex;
	align-items: stretch;
	float: none;
	height: 54px;
	margin: 0;
	border: 1px solid var(--oc-line);
	border-radius: var(--oc-radius);
	background: #fff;
	overflow: hidden;
}

body.single-product .site-main div.product form.cart div.quantity input.qty {
	width: 52px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-family: var(--oc-body);
	font-size: 16px;
	text-align: center;
	color: var(--oc-ink);
	box-shadow: none;
	-moz-appearance: textfield;
}

body.single-product .site-main div.product form.cart div.quantity input.qty::-webkit-outer-spin-button,
body.single-product .site-main div.product form.cart div.quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

body.single-product .site-main div.product form.cart .oc-qty-btn {
	width: 44px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--oc-ink);
	box-shadow: none;
	font-family: var(--oc-body);
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
}

body.single-product .site-main div.product form.cart .oc-qty-btn:hover {
	background: var(--oc-panel);
	color: var(--oc-ink);
}

body.single-product .site-main div.product form.cart .single_add_to_cart_button {
	flex: 1 1 200px;
	height: 54px;
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: var(--oc-radius);
	background: var(--oc-accent);
	color: #fff;
	box-shadow: none;
	font-family: var(--oc-head);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	transition: background-color 0.15s ease;
}

body.single-product .site-main div.product form.cart .single_add_to_cart_button:hover,
body.single-product .site-main div.product form.cart .single_add_to_cart_button:focus {
	background: var(--oc-accent-dark);
	color: #fff;
}

body.single-product .site-main div.product form.cart .single_add_to_cart_button:focus-visible {
	outline: 2px solid var(--oc-accent-dark);
	outline-offset: 2px;
}

body.single-product .site-main div.product form.cart .single_add_to_cart_button.disabled {
	opacity: 0.5;
}

/* "View cart" link WooCommerce adds after an ajax add */
body.single-product .site-main div.product form.cart .added_to_cart {
	flex-basis: 100%;
	font-size: 14px;
	color: var(--oc-accent);
}

/* Category moved to the eyebrow above the title */
body.single-product .site-main div.product .product_meta .posted_in {
	display: none;
}

body.single-product .site-main div.product .product_meta {
	margin-top: 16px;
	font-size: 13px;
	color: var(--oc-muted);
}

/* Trust list + consultation box */
body.single-product .site-main .oc-trust {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body.single-product .site-main .oc-trust li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 14px;
	color: #3A4050;
}

body.single-product .site-main .oc-trust svg {
	flex-shrink: 0;
	color: var(--oc-accent);
}

body.single-product .site-main .oc-help {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 24px 0 0;
	padding: 16px 18px;
	border: 1px solid var(--oc-line-soft);
	border-radius: 8px;
	background: #fff;
}

body.single-product .site-main .oc-help__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--oc-tint);
	color: var(--oc-accent);
}

body.single-product .site-main .oc-help__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 14px;
	line-height: 1.4;
	color: #3A4050;
}

body.single-product .site-main .oc-help__text strong {
	font-weight: 600;
	color: var(--oc-ink);
}

body.single-product .site-main .oc-help__text a {
	font-weight: 600;
	color: var(--oc-accent);
	text-decoration: none;
}

/* ---------- Description tabs -------------------------------------------- */

body.single-product .site-main div.product .woocommerce-tabs {
	margin: 80px 0 0;
}

body.single-product .site-main div.product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 32px;
	margin: 0 0 32px;
	padding: 0;
	border-bottom: 1px solid var(--oc-line-soft);
	overflow: visible;
}

body.single-product .site-main div.product .woocommerce-tabs ul.tabs::before,
body.single-product .site-main div.product .woocommerce-tabs ul.tabs li::before,
body.single-product .site-main div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

body.single-product .site-main div.product .woocommerce-tabs ul.tabs li {
	margin: 0 0 -1px;
	padding: 0;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
}

body.single-product .site-main div.product .woocommerce-tabs ul.tabs li a {
	padding: 0 0 14px;
	font-family: var(--oc-head);
	font-size: 18px;
	font-weight: 600;
	color: var(--oc-muted);
}

body.single-product .site-main div.product .woocommerce-tabs ul.tabs li.active {
	border-bottom-color: var(--oc-accent);
}

body.single-product .site-main div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--oc-ink);
}

body.single-product .site-main div.product .woocommerce-tabs .panel {
	max-width: 820px;
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: #3A4050;
}

/* The tab already says "Описание" – hide the repeated heading */
body.single-product .site-main div.product #tab-description > h2:first-child,
body.single-product .site-main div.product #tab-additional_information > h2:first-child {
	display: none;
}

body.single-product .site-main div.product .woocommerce-tabs .panel h2,
body.single-product .site-main div.product .woocommerce-tabs .panel h3 {
	font-family: var(--oc-head);
	font-weight: 600;
	color: var(--oc-ink);
}

body.single-product .site-main .woocommerce-product-attributes {
	border: 0;
	border-collapse: collapse;
}

body.single-product .site-main .woocommerce-product-attributes th,
body.single-product .site-main .woocommerce-product-attributes td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--oc-line-soft);
	background: transparent;
	font-size: 15px;
	font-style: normal;
	text-align: left;
}

body.single-product .site-main .woocommerce-product-attributes th {
	width: 40%;
	font-weight: 500;
	color: var(--oc-muted);
}

/* ---------- Related / upsell products ------------------------------------ */

body.single-product .site-main div.product .related,
body.single-product .site-main div.product .upsells {
	margin: 80px 0 0;
}

body.single-product .site-main div.product .related > h2,
body.single-product .site-main div.product .upsells > h2 {
	margin: 0 0 24px;
	font-family: var(--oc-head);
	font-size: 26px;
	font-weight: 600;
	color: var(--oc-ink);
}

body.single-product .site-main div.product ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
}

body.single-product .site-main div.product ul.products::before,
body.single-product .site-main div.product ul.products::after {
	display: none;
}

@media (max-width: 900px) {
	body.single-product .site-main div.product ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

body.single-product .site-main div.product ul.products li.product {
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

body.single-product .site-main div.product ul.products li.product a.woocommerce-loop-product__link {
	display: block;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='5' fill='%23F4F5F2'/%3E%3C/svg%3E") top center / 100% auto no-repeat;
}

body.single-product .site-main div.product ul.products li.product a img {
	aspect-ratio: 1;
	margin: 0 0 14px;
	padding: 20px;
	box-sizing: border-box;
	object-fit: contain;
	border-radius: 10px;
	background: transparent;
	mix-blend-mode: multiply;
}

body.single-product .site-main div.product ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	font-family: var(--oc-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--oc-ink);
}

body.single-product .site-main div.product ul.products li.product .price {
	margin: 6px 0 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--oc-ink);
}

body.single-product .site-main div.product ul.products li.product .button {
	margin-top: auto;
	padding: 12px 16px;
	border: 1px solid var(--oc-line);
	border-radius: var(--oc-radius);
	background: #fff;
	color: var(--oc-ink);
	box-shadow: none;
	font-family: var(--oc-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
}

body.single-product .site-main div.product ul.products li.product .button:hover {
	border-color: var(--oc-accent);
	background: var(--oc-tint);
	color: var(--oc-accent-dark);
}

/* ---------- Mobile ------------------------------------------------------- */

@media (max-width: 767px) {
	body.single-product .site-main {
		padding-left: 16px;
		padding-right: 16px;
	}

	body.single-product .site-main div.product .product_title {
		font-size: 26px;
	}

	body.single-product .site-main div.product .summary p.price {
		font-size: 24px;
	}

	/* Tabs scroll sideways inside their own row instead of widening the page */
	body.single-product .site-main div.product .woocommerce-tabs ul.tabs {
		gap: 24px;
		overflow-x: auto;
		overflow-y: hidden;
		flex-wrap: nowrap;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	body.single-product .site-main div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
		display: none;
	}

	body.single-product .site-main div.product .woocommerce-tabs ul.tabs li {
		flex: 0 0 auto;
	}

	body.single-product .site-main div.product .woocommerce-tabs ul.tabs li a {
		font-size: 16px;
		white-space: nowrap;
	}

	body.single-product .site-main div.product .woocommerce-tabs,
	body.single-product .site-main div.product .woocommerce-tabs .panel {
		max-width: 100%;
		min-width: 0;
	}

	body.single-product .site-main div.product .woocommerce-tabs .panel table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
	}

	body.single-product .site-main div.product .woocommerce-tabs,
	body.single-product .site-main div.product .related,
	body.single-product .site-main div.product .upsells {
		margin-top: 56px;
	}
}

/* =========================================================================
   "Поискай оферта"
   ========================================================================= */

body.single-product .site-main .oc-price-quote {
	font-size: 22px;
	font-weight: 600;
	color: var(--oc-ink);
}

body.single-product .site-main .oc-quote-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	margin: 12px 0 0;
	padding: 0 24px;
	border: 1px solid var(--oc-ink);
	border-radius: var(--oc-radius);
	background: #fff;
	color: var(--oc-ink);
	box-shadow: none;
	font-family: var(--oc-head);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

body.single-product .site-main .oc-quote-btn:hover {
	background: var(--oc-ink);
	color: #fff;
}

body.single-product .site-main .oc-quote-btn.is-primary {
	margin-top: 28px;
	border-color: var(--oc-accent);
	background: var(--oc-accent);
	color: #fff;
}

body.single-product .site-main .oc-quote-btn.is-primary:hover {
	border-color: var(--oc-accent-dark);
	background: var(--oc-accent-dark);
}

body.single-product .site-main .oc-quote-note {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--oc-muted);
}

dialog.oc-quote {
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(24, 28, 40, 0.25);
	font-family: Heebo, "IBM Plex Sans", sans-serif;
	color: #181C28;
}

dialog.oc-quote::backdrop {
	background: rgba(24, 28, 40, 0.55);
}

.oc-quote__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
}

.oc-quote__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

dialog.oc-quote .oc-quote__title {
	margin: 0;
	font-family: "IBM Plex Sans", Heebo, sans-serif;
	font-size: 22px;
	font-weight: 600;
	text-transform: none;
	color: #181C28;
}

dialog.oc-quote .oc-quote__close {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #F4F5F2;
	color: #181C28;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.oc-quote__product {
	margin: -6px 0 4px;
	font-size: 14px;
	color: #5E6575;
}

.oc-quote__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

@media (max-width: 520px) {
	.oc-quote__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.oc-quote__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #5E6575;
}

dialog.oc-quote .oc-quote__field input,
dialog.oc-quote .oc-quote__field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #D3D6DC;
	border-radius: 5px;
	background: #fff;
	color: #181C28;
	font-family: inherit;
	font-size: 15px;
}

dialog.oc-quote .oc-quote__field input:focus,
dialog.oc-quote .oc-quote__field textarea:focus {
	border-color: var(--oc-accent);
	box-shadow: 0 0 0 1px var(--oc-accent);
	outline: none;
}

.oc-quote__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

dialog.oc-quote .oc-quote__submit {
	min-height: 52px;
	margin-top: 4px;
	border: 0;
	border-radius: 5px;
	background: var(--oc-accent);
	color: #fff;
	font-family: "IBM Plex Sans", Heebo, sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-transform: none;
	cursor: pointer;
}

dialog.oc-quote .oc-quote__submit:hover {
	background: var(--oc-accent-dark);
}

dialog.oc-quote .oc-quote__submit:disabled {
	opacity: 0.6;
}

.oc-quote__msg {
	margin: 0;
	font-size: 14px;
	color: #5E6575;
}

.oc-quote__msg.is-ok {
	padding: 12px 14px;
	border-radius: 8px;
	background: #F1F8EF;
	color: var(--oc-accent-dark);
	font-weight: 500;
}

.oc-quote__msg.is-error {
	color: #B42318;
}

.oc-quote__form.is-sent > :not(.oc-quote__head):not(.oc-quote__msg) {
	display: none;
}

/* =========================================================================
   "Често купувани заедно"
   ========================================================================= */

body.single-product .site-main div.product > .oc-fbt {
	margin: 72px 0 0;
	padding: 28px;
	border: 1px solid var(--oc-line-soft);
	border-radius: 12px;
}

body.single-product .site-main .oc-fbt__title {
	margin: 0 0 22px;
	font-family: var(--oc-head);
	font-size: 22px;
	font-weight: 600;
	text-transform: none;
	color: var(--oc-ink);
}

body.single-product .site-main .oc-fbt__body {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
}

body.single-product .site-main .oc-fbt__images {
	display: flex;
	align-items: center;
	gap: 10px;
}

body.single-product .site-main .oc-fbt__img {
	flex: 1 1 0;
	max-width: 150px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='8' fill='%23F4F5F2'/%3E%3C/svg%3E") center / 100% auto no-repeat;
	transition: opacity 0.15s ease;
}

body.single-product .site-main .oc-fbt__img.is-off {
	opacity: 0.3;
}

body.single-product .site-main .oc-fbt__img img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	height: auto;
	padding: 12px;
	box-sizing: border-box;
	object-fit: contain;
	mix-blend-mode: multiply;
}

body.single-product .site-main .oc-fbt__plus {
	flex-shrink: 0;
	font-size: 22px;
	font-weight: 300;
	color: var(--oc-muted);
}

body.single-product .site-main .oc-fbt__list {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

body.single-product .site-main .oc-fbt__list li {
	margin: 0;
	padding: 0;
}

body.single-product .site-main .oc-fbt__list label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	font-size: 14px;
	line-height: 1.4;
	color: #3A4050;
	cursor: pointer;
}

body.single-product .site-main .oc-fbt__list input[type="checkbox"] {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--oc-accent);
}

body.single-product .site-main .oc-fbt__name {
	flex-grow: 1;
}

body.single-product .site-main .oc-fbt__name strong {
	color: var(--oc-ink);
}

body.single-product .site-main .oc-fbt__price {
	flex-shrink: 0;
	font-weight: 600;
	color: var(--oc-ink);
}

body.single-product .site-main .oc-fbt__total {
	margin: 0 0 14px;
	padding-top: 14px;
	border-top: 1px solid var(--oc-line-soft);
	font-size: 15px;
	color: #3A4050;
}

body.single-product .site-main .oc-fbt__total strong {
	font-family: var(--oc-head);
	font-size: 20px;
	color: var(--oc-ink);
}

body.single-product .site-main .oc-fbt__btn {
	width: 100%;
	min-height: 50px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--oc-radius);
	background: var(--oc-accent);
	color: #fff;
	box-shadow: none;
	font-family: var(--oc-head);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

body.single-product .site-main .oc-fbt__btn:hover {
	background: var(--oc-accent-dark);
}

body.single-product .site-main .oc-fbt__btn:disabled {
	opacity: 0.5;
	cursor: default;
}

body.single-product .site-main .oc-fbt__btn.is-loading {
	opacity: 0.7;
}

body.single-product .site-main .oc-fbt__msg {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--oc-accent-dark);
}

body.single-product .site-main .oc-fbt__msg a {
	font-weight: 600;
	color: var(--oc-accent);
}

@media (max-width: 900px) {
	body.single-product .site-main div.product > .oc-fbt {
		margin-top: 48px;
		padding: 20px;
	}

	body.single-product .site-main .oc-fbt__body {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}
}

/* =========================================================================
   Sticky add-to-cart bar (bottom of the screen)
   ========================================================================= */

.oc-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px max(16px, calc((100% - 1200px) / 2)) calc(10px + env(safe-area-inset-bottom));
	border-top: 1px solid #E3E5E8;
	background: #fff;
	box-shadow: 0 -6px 20px rgba(24, 28, 40, 0.08);
	font-family: Heebo, "IBM Plex Sans", sans-serif;
	transform: translateY(110%);
	transition: transform 0.25s ease;
}

.oc-sticky.is-visible {
	transform: translateY(0);
}

body.oc-has-sticky {
	padding-bottom: 80px;
}

.oc-sticky__img img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
	border-radius: 8px;
	background: #F4F5F2;
}

.oc-sticky__info {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}

.oc-sticky__name {
	overflow: hidden;
	font-size: 15px;
	color: #3A4050;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.oc-sticky__price {
	font-family: "IBM Plex Sans", Heebo, sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: #181C28;
}

.oc-sticky__price del {
	font-size: 13px;
	font-weight: 400;
	color: #5E6575;
}

.oc-sticky__price ins {
	text-decoration: none;
}

.oc-sticky .oc-sticky__btn {
	flex-shrink: 0;
	min-height: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: 5px;
	background: var(--oc-accent);
	color: #fff;
	box-shadow: none;
	font-family: "IBM Plex Sans", Heebo, sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
}

.oc-sticky .oc-sticky__btn:hover {
	background: var(--oc-accent-dark);
}

@media (max-width: 767px) {
	.oc-sticky {
		gap: 10px;
		padding-left: 12px;
		padding-right: 12px;
	}

	body.oc-has-sticky {
		padding-bottom: 76px;
	}

	.oc-sticky__img img {
		width: 44px;
		height: 44px;
	}

	.oc-sticky__name {
		font-size: 13px;
	}

	.oc-sticky__price {
		font-size: 15px;
	}

	.oc-sticky .oc-sticky__btn {
		min-height: 46px;
		padding: 0 16px;
		font-size: 14px;
	}
}

/* Slide the bar away while Elementor's side cart is open */
body:has(.elementor-menu-cart--shown) .oc-sticky {
	transform: translateY(110%);
	pointer-events: none;
}

/* Setting "phones only" */
@media (min-width: 768px) {
	.oc-sticky.oc-sticky--mobile-only {
		display: none;
	}

	body.oc-has-sticky:has(.oc-sticky--mobile-only) {
		padding-bottom: 0;
	}
}

/* =========================================================================
   "Документи" tab
   ========================================================================= */

body.single-product .site-main .oc-docs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 767px) {
	body.single-product .site-main .oc-docs {
		grid-template-columns: minmax(0, 1fr);
	}
}

body.single-product .site-main .oc-docs__item {
	margin: 0;
	padding: 0;
}

body.single-product .site-main .oc-docs__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--oc-line-soft);
	border-radius: 10px;
	background: #fff;
	color: var(--oc-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

body.single-product .site-main .oc-docs__link:hover,
body.single-product .site-main .oc-docs__link:focus-visible {
	border-color: var(--oc-accent);
	background: var(--oc-tint);
	color: var(--oc-ink);
}

body.single-product .site-main .oc-docs__icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 48px;
	border-radius: 8px;
	background: #FDECEC;
	color: #C0392B;
}

body.single-product .site-main .oc-docs__ext {
	position: absolute;
	bottom: 4px;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

body.single-product .site-main .oc-docs__icon svg {
	margin-top: -8px;
}

body.single-product .site-main .oc-docs__text {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	gap: 2px;
}

body.single-product .site-main .oc-docs__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--oc-ink);
}

body.single-product .site-main .oc-docs__meta {
	font-size: 12px;
	color: var(--oc-muted);
}

body.single-product .site-main .oc-docs__action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--oc-accent);
}

/* =========================================================================
   Notices on the product page
   The side cart opens by itself after "add to cart" and shows the product,
   so WooCommerce's "… е добавен във вашата количка" notice is redundant.
   Errors and other notices stay, restyled.
   ========================================================================= */

body.single-product .woocommerce-notices-wrapper .woocommerce-message:has(a.wc-forward) {
	display: none;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message,
body.single-product .woocommerce-notices-wrapper .woocommerce-info,
body.single-product .woocommerce-notices-wrapper .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 24px;
	padding: 14px 18px 14px 50px;
	border: 1px solid #CFE6CB;
	border-radius: 10px;
	background: #F1F8EF;
	color: #181C28;
	font-family: Heebo, "IBM Plex Sans", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	list-style: none;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message::before,
body.single-product .woocommerce-notices-wrapper .woocommerce-info::before,
body.single-product .woocommerce-notices-wrapper .woocommerce-error::before {
	top: 50%;
	left: 18px;
	transform: translateY(-50%);
	color: var(--oc-accent);
}

body.single-product .woocommerce-notices-wrapper .woocommerce-info {
	border-color: #E3E5E8;
	background: #F4F5F2;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-info::before {
	color: #5E6575;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-error {
	border-color: #F5C2C0;
	background: #FDECEC;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-error::before {
	color: #B42318;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-error li {
	margin: 0;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message .button,
body.single-product .woocommerce-notices-wrapper .woocommerce-info .button,
body.single-product .woocommerce-notices-wrapper .woocommerce-error .button {
	order: 2;
	margin-left: auto;
	padding: 8px 14px;
	border: 1px solid #D3D6DC;
	border-radius: 5px;
	background: #fff;
	color: #181C28;
	font-size: 13px;
	font-weight: 600;
	text-transform: none;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message .button:hover,
body.single-product .woocommerce-notices-wrapper .woocommerce-info .button:hover,
body.single-product .woocommerce-notices-wrapper .woocommerce-error .button:hover {
	border-color: var(--oc-accent);
	color: var(--oc-accent);
}

/* =========================================================================
   Panel calculator (product page + [orion_panel_calculator] shortcode)
   ========================================================================= */

.oc-calc {
	margin: 24px 0 0;
	padding: 20px;
	border: 1px solid #E3E5E8;
	border-radius: 12px;
	background: #F4F5F2;
	font-family: Heebo, "IBM Plex Sans", sans-serif;
	color: #181C28;
}

.oc-calc__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	margin: 0 0 14px;
}

.oc-calc__title {
	font-family: "IBM Plex Sans", Heebo, sans-serif;
	font-size: 17px;
	font-weight: 600;
}

.oc-calc__rate {
	font-size: 13px;
	color: #5E6575;
}

.oc-calc__field {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 14px;
	font-size: 14px;
	color: #3A4050;
}

.oc-calc__input {
	display: inline-flex;
	align-items: center;
	height: 48px;
	border: 1px solid #D3D6DC;
	border-radius: 5px;
	background: #fff;
	overflow: hidden;
}

.oc-calc .oc-calc__input input {
	width: 90px;
	height: 100%;
	padding: 0 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	text-align: right;
	color: #181C28;
	-moz-appearance: textfield;
}

.oc-calc .oc-calc__input input::-webkit-outer-spin-button,
.oc-calc .oc-calc__input input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.oc-calc__input > span {
	padding: 0 14px 0 4px;
	font-size: 14px;
	color: #5E6575;
}

.oc-calc__input:focus-within {
	border-color: var(--oc-accent);
	box-shadow: 0 0 0 1px var(--oc-accent);
}

.oc-calc__result {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 12px;
}

.oc-calc__result > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px;
	border-radius: 8px;
	background: #fff;
	text-align: center;
}

.oc-calc__result strong {
	font-family: "IBM Plex Sans", Heebo, sans-serif;
	font-size: 19px;
	font-weight: 700;
	color: #181C28;
	white-space: nowrap;
}

.oc-calc__result span {
	font-size: 12px;
	color: #5E6575;
}

.oc-calc__pallet {
	margin: 0 0 12px;
	font-size: 13px;
	color: #3A4050;
}

.oc-calc .oc-calc__apply {
	width: 100%;
	min-height: 46px;
	padding: 0 16px;
	border: 1px solid var(--oc-accent);
	border-radius: 5px;
	background: #fff;
	color: var(--oc-accent-dark);
	box-shadow: none;
	font-family: "IBM Plex Sans", Heebo, sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	cursor: pointer;
}

.oc-calc .oc-calc__apply:hover {
	background: var(--oc-accent);
	color: #fff;
}

.oc-calc .oc-calc__apply:disabled {
	opacity: 0.5;
	cursor: default;
}

.oc-calc__note {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #5E6575;
}

/* Compare list (shortcode) */
.oc-calc--compare {
	padding: 24px;
}

.oc-calc__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.oc-calc__row {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 16px;
	padding: 12px 16px 12px 12px;
	border-radius: 10px;
	background: #fff;
}

.oc-calc__img img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 8px;
	background: #F4F5F2;
	mix-blend-mode: multiply;
}

.oc-calc__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.oc-calc .oc-calc__name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #181C28;
	text-decoration: none;
}

.oc-calc__meta {
	font-size: 13px;
	color: #5E6575;
}

.oc-calc__sum {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	white-space: nowrap;
}

.oc-calc__sum strong {
	font-family: "IBM Plex Sans", Heebo, sans-serif;
	font-size: 18px;
	font-weight: 700;
}

.oc-calc__sum span {
	font-size: 12px;
	color: #5E6575;
}

.oc-calc .oc-calc__add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 5px;
	background: var(--oc-accent);
	color: #fff;
	font-family: "IBM Plex Sans", Heebo, sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.oc-calc .oc-calc__add:hover {
	background: var(--oc-accent-dark);
	color: #fff;
}

@media (max-width: 640px) {
	.oc-calc__row {
		grid-template-columns: 56px minmax(0, 1fr);
	}

	.oc-calc__img img {
		width: 56px;
		height: 56px;
	}

	.oc-calc__sum {
		grid-column: 1 / 2;
		align-items: flex-start;
	}

	.oc-calc .oc-calc__add {
		grid-column: 2 / 3;
	}

	.oc-calc__result strong {
		font-size: 16px;
	}
}

/* Panels: "от 96,72 € / панел", calculator as the main buy box */
body.single-product .site-main .oc-price-from,
.oc-price-from {
	font-size: 0.6em;
	font-weight: 500;
	color: var(--oc-muted, #5E6575);
	vertical-align: 0.15em;
}

.oc-price-unit {
	font-size: 0.6em;
	font-weight: 500;
	color: var(--oc-muted, #5E6575);
}

body.single-product .site-main .summary .oc-calc {
	margin: 20px 0 24px;
}

.oc-calc .oc-calc__apply:not(:disabled) {
	background: var(--oc-accent);
	color: #fff;
}

.oc-calc .oc-calc__apply:not(:disabled):hover {
	background: var(--oc-accent-dark);
}

.oc-calc .oc-calc__input input::placeholder {
	font-weight: 400;
	color: #A0A5B0;
}

body.oc-panel-product .site-main .summary form.cart {
	display: none !important;
}

body.single-product .site-main .woocommerce-product-gallery__image a {
	cursor: zoom-in;
}

/* Panel calculator: more panels than in stock (2.2.0) */
body.single-product .site-main .oc-calc__stock {
	margin: 10px 0 0;
	padding: 8px 12px;
	border-radius: 8px;
	background: #FFF4E0;
	color: #8A5200;
	font-size: 14px;
}

/* Out of stock: message + inquiry + call (2.3.0) */
body.single-product .site-main .oc-oos {
	margin: 16px 0 0;
	padding: 16px;
	border: 1px solid #F1D9A8;
	border-radius: 12px;
	background: #FFF8EA;
}
body.single-product .site-main .oc-oos[hidden] {
	display: none;
}
body.single-product .site-main .oc-oos__text {
	margin: 0 0 12px;
	color: #6B4300;
	font-weight: 500;
}
body.single-product .site-main .oc-oos__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
body.single-product .site-main .oc-oos__actions .oc-quote-btn {
	margin: 0;
	width: auto;
}
body.single-product .site-main .oc-oos__call {
	font-weight: 600;
	color: var(--oc-ink, #181C28);
	text-decoration: underline;
	text-underline-offset: 3px;
}
