#content.cmsp-main {
	--cmsp-navy: #102e48;
	--cmsp-ink: #18334a;
	--cmsp-muted: #566677;
	--cmsp-soft: #f2f6f9;
	--cmsp-border: #d8e3eb;
	--cmsp-orange: #f4a13c;
	--cmsp-orange-hover: #ee9531;
	--cmsp-radius: 10px;
	color: var(--cmsp-ink);
	background: #fff;
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

#content.cmsp-main :where(.cmsp-container, .cmsp-container *) {
	box-sizing: border-box;
}

#content.cmsp-main .cmsp-container {
	width: min(100% - 40px, 1160px);
	margin-inline: auto;
	padding-block: 20px 56px;
}

#content.cmsp-main .cmsp-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 3px 8px;
	margin: 0 0 20px;
	font-size: .8rem;
	line-height: 1.45;
	color: var(--cmsp-muted);
}

#content.cmsp-main .cmsp-breadcrumb a {
	color: #324f67;
	text-decoration: underline;
	text-underline-offset: .16em;
}

#content.cmsp-main .cmsp-breadcrumb-separator {
	color: #62788b;
}

#content.cmsp-main .cmsp-overview {
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
	gap: clamp(22px, 4vw, 54px);
	align-items: start;
}

#content.cmsp-main .cmsp-gallery {
	position: relative;
	min-width: 0;
}

#content.cmsp-main .cmsp-product .cmsp-gallery .woocommerce-product-gallery {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
}

#content.cmsp-main .cmsp-gallery .woocommerce-product-gallery__wrapper,
#content.cmsp-main .cmsp-gallery .flex-viewport {
	margin: 0;
	border-radius: var(--cmsp-radius);
	background: var(--cmsp-soft);
}

#content.cmsp-main .cmsp-gallery .woocommerce-product-gallery__image a {
	display: block;
}

#content.cmsp-main .cmsp-gallery .woocommerce-product-gallery__image img:not(.zoomImg) {
	display: block;
	width: 100%;
	aspect-ratio: 1.23;
	object-fit: contain;
	background: #fff;
}

#content.cmsp-main .cmsp-gallery .woocommerce-product-gallery__image--placeholder img {
	width: 100%;
	aspect-ratio: 1.23;
	object-fit: contain;
	background: var(--cmsp-soft);
}

#content.cmsp-main .cmsp-product .cmsp-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
	gap: 8px;
	margin-top: 10px;
}

#content.cmsp-main .cmsp-product .cmsp-gallery .flex-control-thumbs li {
	width: auto;
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

#content.cmsp-main .cmsp-gallery .flex-control-thumbs img {
	width: 100%;
	aspect-ratio: 1.22;
	object-fit: contain;
	border: 1px solid var(--cmsp-border);
	border-radius: 7px;
	background: #fff;
	padding: 3px;
	opacity: .8;
}

#content.cmsp-main .cmsp-gallery .flex-control-thumbs img.flex-active {
	border-color: #416682;
	opacity: 1;
}

#content.cmsp-main .cmsp-product .cmsp-gallery span.onsale {
	position: absolute;
	inset: 10px auto auto 10px;
	z-index: 2;
	min-height: 0;
	min-width: 0;
	margin: 0;
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--cmsp-orange);
	color: var(--cmsp-navy);
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.25;
}

#content.cmsp-main .cmsp-product .cmsp-summary.summary {
	width: auto;
	min-width: 0;
	float: none;
	margin: 0;
	padding-top: 2px;
}

#content.cmsp-main .cmsp-summary .cmsp-brand {
	margin: 0 0 7px;
	color: #3f5d74;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

#content.cmsp-main .cmsp-summary .product_title {
	margin: 0 0 12px;
	color: var(--cmsp-navy);
	font-size: clamp(1.75rem, 2.9vw, 2.6rem);
	font-weight: 760;
	letter-spacing: -.035em;
	line-height: 1.12;
	overflow-wrap: anywhere;
}

#content.cmsp-main .cmsp-product .cmsp-summary > .price,
#content.cmsp-main .cmsp-product .cmsp-summary .woocommerce-variation-price .price {
	display: block;
	margin: 0 0 12px;
	color: var(--cmsp-navy);
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	font-weight: 730;
	line-height: 1.22;
}

#content.cmsp-main .cmsp-product .cmsp-summary .price ins {
	color: inherit;
	text-decoration: none;
}

#content.cmsp-main .cmsp-product .cmsp-summary .price del {
	color: var(--cmsp-muted);
	opacity: 1;
	font-size: .7em;
}

#content.cmsp-main .cmsp-product .cmsp-summary .cms-bazna-cijena {
	display: block;
	margin-top: 4px;
	color: var(--cmsp-muted);
	font-size: .74rem;
	font-weight: 400;
	line-height: 1.5;
}

#content.cmsp-main .cmsp-summary .woocommerce-product-details__short-description {
	margin-bottom: 18px;
	font-size: .95rem;
	line-height: 1.6;
}

#content.cmsp-main .cmsp-summary .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

#content.cmsp-main .cmsp-product .cmsp-summary .stock {
	margin: 10px 0;
	color: var(--cmsp-muted);
	font-size: .85rem;
	font-weight: 650;
}

#content.cmsp-main .cmsp-product .cmsp-summary .stock.in-stock {
	color: #286148;
}

#content.cmsp-main .cmsp-product .cmsp-summary .stock.out-of-stock {
	color: #8d3627;
}

#content.cmsp-main .cmsp-product .cmsp-summary .stock.available-on-backorder {
	color: #765220;
}

#content.cmsp-main .cmsp-product .cmsp-summary form.cart {
	margin: 0 0 12px;
}

#content.cmsp-main .cmsp-summary form.cart:not(.variations_form),
#content.cmsp-main .cmsp-summary .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 9px;
}

#content.cmsp-main .cmsp-product .cmsp-summary form.variations_form .variations {
	margin: 0 0 13px;
	border: 0;
}

#content.cmsp-main .cmsp-product .cmsp-summary form.variations_form .variations :is(tbody, tr, th, td) {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: start;
}

#content.cmsp-main .cmsp-summary form.variations_form .variations tr + tr {
	margin-top: 10px;
}

#content.cmsp-main .cmsp-summary form.variations_form .variations label {
	display: inline-block;
	margin-bottom: 6px;
	color: var(--cmsp-navy);
	font-size: .9rem;
	font-weight: 710;
}

#content.cmsp-main .cmsp-summary form.variations_form .single_variation {
	margin-bottom: 8px;
}

#content.cmsp-main .cmsp-summary form.cart :is(.quantity, .single_add_to_cart_button) {
	float: none;
	margin: 0;
}

#content.cmsp-main .cmsp-summary form.cart .quantity {
	flex: 0 0 auto;
	align-self: center;
}

#content.cmsp-main .cmsp-summary form.cart .quantity .qty {
	width: 68px;
	min-height: 46px;
	padding: 6px 8px;
	border: 1px solid var(--cmsp-border);
	border-radius: 7px;
	background: #fff;
	color: var(--cmsp-navy);
	font-size: 1rem;
	text-align: center;
}

#content.cmsp-main .cmsp-product .cmsp-summary form.cart .single_add_to_cart_button {
	flex: 1 1 180px;
	min-height: 46px;
	padding: 10px 16px;
	border: 1px solid transparent;
	border-radius: 7px;
	background: var(--cmsp-orange);
	color: var(--cmsp-navy);
	font-weight: 750;
	line-height: 1.3;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
}

#content.cmsp-main .cmsp-product .cmsp-summary form.cart .single_add_to_cart_button:hover:not(.disabled):not(:disabled) {
	background: var(--cmsp-orange-hover);
	color: var(--cmsp-navy);
}

#content.cmsp-main .cmsp-product .cmsp-summary form.cart .single_add_to_cart_button.disabled,
#content.cmsp-main .cmsp-product .cmsp-summary form.cart .single_add_to_cart_button:disabled {
	background: #e3e9ee;
	color: #42596c;
	opacity: 1;
}

#content.cmsp-main .cmsp-summary form.cart :is(
	#wc-stripe-express-checkout-element,
	#wc-stripe-express-checkout-button-separator,
	#wc-stripe-payment-request-wrapper,
	#wc-stripe-payment-request-button-separator,
	#wcpay-payment-request-wrapper,
	#wcpay-payment-request-button-separator,
	.wc-stripe-product-checkout-container,
	.wc-stripe-product-checkout
) {
	order: 2;
	flex-basis: 100%;
	max-width: 100%;
}

#content.cmsp-main .cmsp-summary .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 15px;
	margin: 13px 0;
	padding: 10px 0 0;
	border-top: 1px solid var(--cmsp-border);
	color: var(--cmsp-muted);
	font-size: .79rem;
}

#content.cmsp-main .cmsp-summary .product_meta a {
	color: #385670;
}

#content.cmsp-main .cmsp-help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
	padding: 12px 15px;
	border-radius: var(--cmsp-radius);
	background: var(--cmsp-soft);
}

#content.cmsp-main .cmsp-help strong,
#content.cmsp-main .cmsp-help span {
	display: block;
}

#content.cmsp-main .cmsp-help strong {
	color: var(--cmsp-navy);
	font-size: .9rem;
}

#content.cmsp-main .cmsp-help span {
	color: var(--cmsp-muted);
	font-size: .8rem;
}

#content.cmsp-main .cmsp-help a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 5px 11px;
	border: 1px solid #b5c7d6;
	border-radius: 6px;
	background: #fff;
	color: var(--cmsp-navy);
	font-size: .82rem;
	font-weight: 700;
	text-decoration: none;
}

#content.cmsp-main .cmsp-details {
	margin-top: clamp(24px, 4.2vw, 48px);
}

#content.cmsp-main .cmsp-detail-nav {
	padding-bottom: 5px;
	border-bottom: 1px solid var(--cmsp-border);
}

#content.cmsp-main .cmsp-detail-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#content.cmsp-main .cmsp-detail-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	color: var(--cmsp-navy);
	font-size: .88rem;
	font-weight: 710;
	text-decoration: underline;
	text-underline-offset: .35em;
	text-decoration-color: #9db0c1;
}

#content.cmsp-main .cmsp-detail-panel {
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--cmsp-border);
	scroll-margin-top: 100px;
}

#content.cmsp-main .cmsp-detail-content {
	margin-top: 12px;
	scroll-margin-top: 100px;
}

#content.cmsp-main .cmsp-detail-panel summary {
	color: var(--cmsp-navy);
	font-size: 1rem;
	font-weight: 720;
}

#content.cmsp-main .cmsp-description-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr);
	gap: clamp(14px, 3vw, 36px);
	align-items: start;
}

#content.cmsp-main .cmsp-description-grid:not(.cmsp-description-grid--photo) {
	grid-template-columns: minmax(0, 1fr);
}

#content.cmsp-main .cmsp-detail-photo {
	margin: 0;
}

#content.cmsp-main .cmsp-detail-photo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 330px;
	object-fit: contain;
	border: 1px solid var(--cmsp-border);
	border-radius: var(--cmsp-radius);
	background: #fff;
}

#content.cmsp-main .cmsp-spec-list {
	display: grid;
	gap: 0;
	margin-block: 8px 0;
}

#content.cmsp-main .cmsp-spec-list div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px solid var(--cmsp-border);
}

#content.cmsp-main .cmsp-spec-list dd {
	margin: 0;
	color: var(--cmsp-navy);
	font-weight: 650;
	overflow-wrap: anywhere;
}

#content.cmsp-main .cmsp-policy-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
	gap: 10px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

#content.cmsp-main .cmsp-policy-links a {
	display: flex;
	align-items: center;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid var(--cmsp-border);
	border-radius: 7px;
	background: var(--cmsp-soft);
	color: var(--cmsp-navy);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: .18em;
}

#content.cmsp-main .cmsp-product :is(.related, .upsells) {
	clear: both;
	margin-top: clamp(26px, 4vw, 42px);
}

#content.cmsp-main :where(a, input, button, summary):focus-visible {
	outline: 2px solid #2c648b;
	outline-offset: 3px;
}

@media (max-width: 740px) {
	#content.cmsp-main .cmsp-container {
		width: min(100% - 28px, 1160px);
		padding-block: 13px 35px;
	}

	#content.cmsp-main .cmsp-breadcrumb {
		margin-bottom: 13px;
	}

	#content.cmsp-main .cmsp-overview,
	#content.cmsp-main .cmsp-description-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	#content.cmsp-main .cmsp-gallery .woocommerce-product-gallery__image img:not(.zoomImg) {
		aspect-ratio: 1.4;
		max-height: 440px;
	}

	#content.cmsp-main .cmsp-product .cmsp-gallery .flex-control-thumbs {
		grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
		gap: 6px;
	}
}
