/*
 * Cvit & Co – UX fixes (critique, September 2026).
 * Loaded after the theme, plugin and Customizer CSS. Pastel brand colours stay
 * as backgrounds; text and buttons use the darker, readable versions below.
 */

:root {
	--cvit-ink: #1f2933;
	--cvit-muted: #5e6770;
	--cvit-blue: #486683;
	--cvit-blue-dark: #34506b;
	--cvit-rose: #ecb0b8;
	--cvit-rose-text: #a8475a;
	--cvit-coral-text: #a63e2a;
	--cvit-sage-text: #46704e;
	--cvit-cream: #fffaf7;
	--cvit-line: #e7dcd4;
}

/* ---- Global ---------------------------------------------------------- */

::selection { background: var(--cvit-rose); color: var(--cvit-ink); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--cvit-blue) !important;
	outline-offset: 3px;
}
/* Text fields: the 3 px offset ring was clipped left and right by full-width containers (owner 6. 11. 2026.),
   so fields get the ring on their own edge instead, all four sides visible. */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
select:focus,
textarea:focus {
	outline: 2px solid var(--cvit-blue);
	outline-offset: -2px;
	border-color: var(--cvit-blue);
	box-shadow: none;
}


/* Links were #ecb0b8 (1.8:1). */
body a { color: var(--cvit-rose-text); }
body a:hover { color: var(--cvit-blue); }

/* Header menu: coral #f1755c (2.8:1) → readable coral. */
.site-header-menu .primary-menu > li > a:hover,
.main-navigation li.current-menu-item > a,
.main-navigation li.current-menu-ancestor > a,
.main-navigation li.current_page_item > a {
	color: var(--cvit-coral-text) !important;
}

/* Header cart: always visible, with count. */
.wpmenucartli { display: list-item !important; }
.wpmenucartli a,
.wpmenucartli a i { color: var(--cvit-ink) !important; background: none !important; }
.wpmenucartli .cartcontents {
	display: inline-block;
	min-width: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: var(--cvit-blue);
	color: #fff;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
}
.cvit-mobile-cart {
	display: none;
	position: absolute;
	top: 50%;
	right: 64px;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	color: var(--cvit-ink) !important;
	font-size: 22px;
	text-decoration: none !important;
}
.cvit-mobile-cart .cvit-mobile-cart__count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--cvit-blue);
	color: #fff;
	font: 700 11px/18px Quicksand, sans-serif;
	text-align: center;
}
@media (max-width: 909px) {
	.cvit-mobile-cart { display: flex; }
}

/* Prices: coral text → readable coral; old price and hints readable grey. */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.price .amount,
.price ins .amount {
	color: var(--cvit-coral-text) !important;
}
.price del,
.price del .amount { color: var(--cvit-muted) !important; opacity: 1 !important; }
.price ins { background: none !important; text-decoration: none; font-weight: 700; }
.wapf-pricing-hint { color: var(--cvit-muted) !important; }

/* Anchor price line: quiet, not a second price. */
.sidrena-cijena-item,
.sidrena-cijena-item * {
	color: var(--cvit-muted) !important;
	font-family: Quicksand, sans-serif !important;
	font-size: 12px !important;
	font-weight: 500 !important;
}

/* Badges. */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
	background: var(--cvit-rose) !important;
	color: var(--cvit-ink) !important;
	font-weight: 700;
}
.cvit-soldout {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 9;
	padding: 4px 10px;
	background: var(--cvit-ink);
	color: #fff;
	font: 700 12px/1.4 Quicksand, sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.woocommerce div.product { position: relative; }
/* Sold out: dim the main photo only; the hover photo stays hidden until hover. */
ul.products li.product.outofstock img:not(.wp-post-image--secondary) { opacity: 0.72; }
ul.products li.product.outofstock img.wp-post-image--secondary { opacity: 0 !important; }
ul.products li.product.outofstock a.woocommerce-LoopProduct-link:hover img.wp-post-image--secondary { opacity: 0.72 !important; }
ul.products li.product.outofstock.pif-has-gallery a.woocommerce-LoopProduct-link:hover img:not(.wp-post-image--secondary) { opacity: 0; }

/* ---- Buttons --------------------------------------------------------- */

/* Primary actions: slate blue (6:1), same as the homepage hero. */
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
.woocommerce button.button.alt,
.cvit-btn-primary {
	background: var(--cvit-blue) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	min-height: 48px;
	padding: 14px 28px !important;
	font-size: 16px !important;
	opacity: 1 !important;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover,
.cvit-btn-primary:hover { background: var(--cvit-blue-dark) !important; color: #fff !important; }
.woocommerce #payment #place_order { width: 100%; }

/* Secondary buttons keep the brand pink, with dark text (8:1). */
.woocommerce button.button:not(.alt),
.woocommerce a.button:not(.checkout-button):not(.cvit-btn-primary),
.woocommerce input.button,
.widget button,
.elementor-widget-premium-addon-blog .premium-blog-pagination-container .page-numbers {
	background: var(--cvit-rose) !important;
	color: var(--cvit-ink) !important;
}
.elementor-widget-premium-addon-blog .premium-blog-pagination-container span.current {
	background: var(--cvit-blue) !important;
	color: #fff !important;
}

/* Product cards: the icon-only basket becomes a labelled button. */
body ul.products li.product .button.add_to_cart_button,
body ul.products li.product a.button.product_type_variable,
body ul.products li.product a.button.product_type_simple {
	font: 700 14px/1.2 Quicksand, sans-serif !important;
	letter-spacing: 0.02em;
	padding: 13px 8px !important;
	background: var(--cvit-rose) !important;
	color: var(--cvit-ink) !important;
}
body ul.products li.product .button.add_to_cart_button:before,
body ul.products li.product .button.product_type_variable:before { content: none !important; }
body .woocommerce ul.products li.product .button:hover,
body ul.products li.product .button.add_to_cart_button:hover {
	background: var(--cvit-blue) !important;
	color: #fff !important;
}
/* The grey hover-only duplicates (1.2:1) on shop cards. */
body ul.products li.product a.button:not(.add_to_cart_button):not(.product_type_variable):not(.product_type_simple):not(.compare):not(.yith-wcqv-button):not(.tinvwl_add_to_wishlist_button) {
	background: var(--cvit-rose) !important;
	color: var(--cvit-ink) !important;
}

.woocommerce-loop-product__title {
	font-family: Quicksand, sans-serif !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	line-height: 1.35 !important;
	color: var(--cvit-ink) !important;
}

/* ---- Shop and category pages ---------------------------------------- */

body .woocommerce-products-header h1.woocommerce-products-header__title.page-title,
.woocommerce-products-header__title.page-title {
	display: block !important;
	font-family: 'Gilda Display', serif;
	font-size: clamp(30px, 4vw, 42px) !important;
	line-height: 1.15 !important;
	font-weight: 400;
	color: var(--cvit-blue);
	text-transform: none;
	margin: 8px 0 12px;
}
.term-description { max-width: 68ch; font-size: 17px; line-height: 1.6; }

.cvit-shop-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}
.cvit-shop-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px dashed var(--cvit-blue);
	background: #fff;
	color: var(--cvit-blue) !important;
	font: 600 14px Quicksand, sans-serif;
	text-decoration: none !important;
}
.cvit-shop-chips a:hover,
.cvit-shop-chips a[aria-current="page"] { background: var(--cvit-blue); color: #fff !important; border-style: solid; }

.woocommerce-ordering select.orderby {
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid #8a99a8;
	border-radius: 0;
	background-color: #fff;
	color: var(--cvit-ink);
	font: 500 15px Quicksand, sans-serif;
}

.widget_product_categories a,
.widget_product_categories li { color: var(--cvit-ink) !important; }
.widget_product_categories a:hover { color: var(--cvit-rose-text) !important; }

@media (max-width: 767px) {
	body.woocommerce ul.products li.product,
	body.woocommerce-page ul.products li.product {
		width: 48.5% !important;
		margin: 0 3% 24px 0 !important;
		clear: none !important;
	}
	body.woocommerce ul.products li.product:nth-child(2n),
	body.woocommerce-page ul.products li.product:nth-child(2n) { margin-right: 0 !important; }
	body.woocommerce ul.products li.product:nth-child(2n+1),
	body.woocommerce-page ul.products li.product:nth-child(2n+1) { clear: left !important; }
	.woocommerce-loop-product__title { font-size: 14px !important; }
	body ul.products li.product .button.add_to_cart_button,
	body ul.products li.product a.button.product_type_variable,
	body ul.products li.product a.button.product_type_simple { font-size: 13px !important; }
}

/* ---- Product page ---------------------------------------------------- */

body.cvit-product-full .site-inner #content,
body.cvit-product-full #primary { width: 100% !important; float: none !important; }
body.cvit-product-full .site-inner .sidebar { display: none !important; }

.woocommerce div.product .product_title {
	font-size: clamp(28px, 3vw, 38px) !important;
	hyphens: none !important;
	-webkit-hyphens: none !important;
	margin-bottom: 12px !important;
	font-family: 'Gilda Display', serif !important;
	font-weight: 400 !important;
	color: var(--cvit-blue) !important;
	text-transform: none !important;
	line-height: 1.15 !important;
}

.cvit-delivery-note {
	margin: 18px 0 22px;
	padding: 14px 16px;
	border: 1px dashed var(--cvit-blue);
	background: var(--cvit-cream);
	font: 500 15px/1.55 Quicksand, sans-serif;
	color: var(--cvit-ink);
}
.cvit-delivery-note p { margin: 0 0 6px; }
.cvit-delivery-note p:last-child { margin: 0; }
.cvit-delivery-note a { color: var(--cvit-blue) !important; text-decoration: underline; }
.cvit-ward-howto { margin: 2px 0 10px; }
.cvit-ward-howto summary { cursor: pointer; color: var(--cvit-blue); text-decoration: underline; font-weight: 600; }
.cvit-ward-howto[open] summary { margin-bottom: 6px; }
.cvit-ward-howto ol { margin: 0 0 8px 20px; padding: 0; }
.cvit-ward-howto li { margin: 0 0 6px; }
.single-product .summary .cvit-short-description { margin: 4px 0 18px; }

.cvit-short-description,
.cvit-short-description p,
.woocommerce-Tabs-panel--description p,
.woocommerce-Tabs-panel--description li {
	font-family: Quicksand, sans-serif !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.65 !important;
	color: var(--cvit-ink);
	max-width: 70ch;
}
.cvit-short-description { margin-top: 24px; }

.wapf-field-label label,
.wapf-field-label span { font: 700 15px/1.4 Quicksand, sans-serif !important; color: var(--cvit-ink); }
.wapf-field-input input,
.wapf-field-input select {
	min-height: 44px;
	font-size: 16px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-size: 15px !important;
	padding: 12px 16px !important;
	min-height: 44px;
}

/* Wishlist and compare links under the button: readable, not buttons. */
.woocommerce div.product .tinvwl_add_to_wishlist_button,
.woocommerce div.product a.compare.button {
	background: none !important;
	color: var(--cvit-blue) !important;
	padding: 8px 0 !important;
	font: 600 14px Quicksand, sans-serif !important;
	text-transform: none !important;
}

@media (max-width: 767px) {
	.woocommerce div.product div.images,
	.wcgs-carousel,
	.wcgs-gallery-slider { margin-top: 0 !important; margin-bottom: 16px !important; }
	.woocommerce div.product .summary { padding: 0 16px !important; }
}

/* ---- Cart and checkout ----------------------------------------------- */

.woocommerce-cart table.cart img { width: 96px !important; height: auto; }
.woocommerce-cart table.cart th.product-thumbnail { font-size: 0; }
.woocommerce-cart table.cart td.product-name a { color: var(--cvit-ink) !important; font-weight: 700; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single {
	min-height: 48px;
	font-size: 16px !important;
	padding: 10px 12px;
	border: 1px solid #8a99a8;
	border-radius: 0;
	color: var(--cvit-ink);
}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 26px; }
.woocommerce form .form-row label { font: 600 15px/1.4 Quicksand, sans-serif; color: var(--cvit-ink); }
.woocommerce form .form-row textarea { min-height: 110px; }
.woocommerce form .form-row .description { color: var(--cvit-muted); font-size: 14px; }

.cvit-ward-field { display: none; }
.cvit-ward-active .cvit-ward-field { display: block; }
.cvit-ward-hint td {
	padding: 10px 12px !important;
	background: var(--cvit-cream);
	color: var(--cvit-ink);
	font: 500 14px/1.5 Quicksand, sans-serif;
}

.woocommerce-info,
.woocommerce-message {
	border-top-color: var(--cvit-blue) !important;
	background: var(--cvit-cream) !important;
	color: var(--cvit-ink) !important;
}
.woocommerce-info::before,
.woocommerce-message::before { color: var(--cvit-blue) !important; }

.cvit-empty-cart { margin: 24px 0 48px; }
.cvit-empty-cart h2 { font-family: 'Gilda Display', serif; color: var(--cvit-blue); font-size: 30px; font-weight: 400; }

/* Breadcrumbs. */
.cvit-breadcrumbs,
.cvit-breadcrumbs a,
.woocommerce-breadcrumb,
.woocommerce-breadcrumb a { color: var(--cvit-muted) !important; }
.cvit-breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover { color: var(--cvit-blue) !important; }

.product_meta .posted_in a,
a.page-numbers { color: var(--cvit-rose-text) !important; }

/* ---- Blog ------------------------------------------------------------ */

.single-post .entry-content,
.single-post .entry-content p,
.single-post .entry-content li {
	font-family: Quicksand, sans-serif !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 1.7 !important;
	color: var(--cvit-ink);
}
.single-post .entry-content { max-width: 68ch; }
.single-post .entry-content h2,
.single-post .entry-content h3 { margin-top: 1.8em !important; margin-bottom: 0.5em !important; line-height: 1.25; }

.premium-blog-meta-separator:has(+ .premium-blog-post-comments),
.premium-blog-post-comments { display: none !important; }
.premium-blog-meta-data,
.premium-blog-meta-data a,
.premium-blog-post-content { color: var(--cvit-muted) !important; }
.premium-blog-thumbnail-overlay,
.premium-blog-thumb-effect-wrapper::before { opacity: 0 !important; }

/* ---- Footer ---------------------------------------------------------- */

.main-footer a,
.site-footer a { color: var(--cvit-ink); }
.main-footer .custom-html-widget p,
.textwidget.custom-html-widget p { color: var(--cvit-rose-text) !important; }

/* ---- 404 ------------------------------------------------------------- */

.error404 .page-title {
	font-family: 'Gilda Display', serif;
	color: var(--cvit-blue);
	font-weight: 400;
	text-transform: none;
}
.error404 .search-submit,
.error404 button[type="submit"] { background: var(--cvit-blue) !important; color: #fff !important; }
.cvit-404-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}
.cvit-404-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px dashed var(--cvit-blue);
	color: var(--cvit-blue) !important;
	font: 600 15px Quicksand, sans-serif;
	text-decoration: none !important;
}

/* ---- Round 2 --------------------------------------------------------- */

/* Cards: the button sits at the bottom of the card instead of over the text. */
body ul.products li.product {
	display: flex !important;
	flex-direction: column;
}
body ul.products li.product > a.woocommerce-LoopProduct-link { flex: 1 1 auto; }
body ul.products li.product > a.button:not(.yith-wcqv-button):not(.compare),
body ul.products li.product .button.add_to_cart_button,
body ul.products li.product a.button.product_type_variable,
body ul.products li.product a.button.product_type_simple {
	position: static !important;
	display: block !important;
	width: 100% !important;
	margin: 12px 0 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	text-align: center;
	visibility: visible !important;
	opacity: 1 !important;
}
.sidrena-cijena-item { display: block; margin-top: 2px; }

@media (max-width: 767px) {
	.woocommerce ul.products li.product,
	.elementor-widget-shortcode .woocommerce ul.products li.product {
		width: 48.5% !important;
		margin: 0 3% 24px 0 !important;
		float: left !important;
		clear: none !important;
	}
	.woocommerce ul.products li.product:nth-child(2n) { margin-right: 0 !important; }
	.woocommerce ul.products li.product:nth-child(2n+1) { clear: left !important; }
	.woocommerce ul.products { display: flex; flex-wrap: wrap; }
}

/* Personalisation price summary: smaller than the product price. */
.wapf-product-totals,
.wapf-product-totals * { font-size: 15px !important; line-height: 1.5 !important; }
.wapf-product-totals .wapf-grand-total { font-weight: 700; }

.error404 .site-main { padding-top: 40px; }

/* Contact form button (was coral, 2.8:1). */
.wpforms-container button.wpforms-submit,
.wpforms-container .wpforms-submit {
	background: var(--cvit-blue) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	min-height: 48px;
	padding: 12px 28px !important;
	font: 700 15px Quicksand, sans-serif !important;
}

body.woocommerce-cart table.shop_table.cart td.product-thumbnail img,
body.woocommerce-cart table.shop_table.cart td.product-thumbnail a img { width: 96px !important; max-width: 96px !important; height: auto !important; }
body.woocommerce-cart table.shop_table.cart td.product-thumbnail { width: 112px; }
.cvit-ward-field select,
#cvit_hospital { width: 100% !important; min-height: 48px; font-size: 16px; }


/* Homepage product rows: two per row on phones (theme forces one). */
@media (max-width: 767px) {
	body.home .woocommerce ul.products li.product,
	body.home .elementor-widget-shortcode .woocommerce ul.products li.product {
		width: 48.5% !important;
		margin: 0 3% 24px 0 !important;
	}
	body.home .woocommerce ul.products li.product:nth-child(2n) { margin-right: 0 !important; }
	body.home .woocommerce-loop-product__title { font-size: 13px !important; }
}

/* ---- Round 3 --------------------------------------------------------- */

/* Hover image: same square crop as the main photo, so it never covers the title. */
ul.products li.pif-has-gallery .wp-post-image--secondary {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
/* Quick view and wishlist: on the photo, top right, on hover and on keyboard focus. */
body ul.products li.product a.button.yith-wcqv-button,
body ul.products li.product a.button.tinvwl_add_to_wishlist_button {
	position: absolute !important;
	top: 12px !important;
	bottom: auto !important;
	left: auto !important;
	right: 12px !important;
	margin: 0 !important;
	width: 40px !important;
	height: 40px !important;
	line-height: 40px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: var(--cvit-ink) !important;
	box-shadow: 0 2px 8px rgba(31, 41, 51, 0.18);
	z-index: 20 !important;
}
body ul.products li.product a.button.tinvwl_add_to_wishlist_button { top: 60px !important; }
body ul.products li.product .tinv-wraper { position: static !important; }
body ul.products li.product .tinvwl-tooltip { display: none !important; }
/* Heart only (the theme hides the text on shop pages but not under "Povezani proizvodi"); the button keeps its aria-label. */
body ul.products li.product .tinvwl_add_to_wishlist_button .tinvwl_add_to_wishlist-text { display: none !important; }
body ul.products li.product a.button.yith-wcqv-button:hover,
body ul.products li.product a.button.tinvwl_add_to_wishlist_button:hover {
	background: var(--cvit-blue) !important;
	color: #fff !important;
}
body ul.products li.product a.button.yith-wcqv-button:focus-visible,
body ul.products li.product a.button.tinvwl_add_to_wishlist_button:focus-visible {
	visibility: visible !important;
	opacity: 1 !important;
}
@media (hover: none) {
	body ul.products li.product a.button.yith-wcqv-button { display: none !important; }
	body ul.products li.product a.button.tinvwl_add_to_wishlist_button { visibility: visible !important; opacity: 1 !important; top: 12px !important; }
}

/* Anchor price on one line. */
.sidrena-cijena-item .sidrena-cijena__text,
.sidrena-cijena-item .sidrena-cijena__text > span { display: inline !important; }

/* Character counters. */
.cvit-counter {
	display: block;
	margin-top: 4px;
	color: var(--cvit-muted);
	font: 500 13px Quicksand, sans-serif;
	text-align: right;
}
.cvit-counter.is-full { color: var(--cvit-coral-text); font-weight: 700; }

/* Express option at checkout. */
.cvit-express {
	margin: 16px 0;
	padding: 14px 16px;
	border: 1px dashed var(--cvit-blue);
	background: var(--cvit-cream);
	font: 500 15px/1.5 Quicksand, sans-serif;
	color: var(--cvit-ink);
}
.cvit-express label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cvit-express input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.cvit-express p { margin: 6px 0 0 30px; color: var(--cvit-muted); font-size: 14px; }

/* Footer seller details. */
body .textwidget.custom-html-widget p.cvit-seller,
.cvit-seller {
	max-width: 70ch;
	margin: 0 auto 8px !important;
	color: var(--cvit-ink) !important;
	font: 500 13px/1.6 Quicksand, sans-serif !important;
	text-transform: none !important;
	text-align: center;
}
.cvit-seller a { color: var(--cvit-ink) !important; text-decoration: underline; }

.cvit-omnibus {
	display: block;
	margin-top: 2px;
	color: var(--cvit-muted);
	font: 500 12px/1.4 Quicksand, sans-serif;
}

.cvit-save-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 9;
	padding: 5px 10px;
	background: var(--cvit-rose);
	color: var(--cvit-ink);
	font: 700 12px/1.3 Quicksand, sans-serif;
}
.woocommerce div.product p.price .cvit-omnibus { font-size: 14px; }
/* Product page: the anchor price is a legal reference, not a sale price, so grey like the 30-day line (was price red). */
.woocommerce div.product p.price .sidrena-cijena__text,
.woocommerce div.product p.price .sidrena-cijena__text * {
	color: var(--cvit-muted) !important;
	font: 500 14px/1.4 Quicksand, sans-serif !important;
}

/* The theme hides "the second image" by position on category pages; our badges
   come first in the card, so keep the main photo visible by class instead. */
body.tax-product_cat ul.products li.product a img.attachment-woocommerce_thumbnail:not(.wp-post-image--secondary) { display: block !important; }
body.tax-product_cat ul.products li.product a img.wp-post-image--secondary { display: block !important; }

/* Header cart: icon and count only, so the menu stays on one line. */
.wpmenucartli .cartcontents { font-size: 0 !important; line-height: 0; padding: 0 !important; min-width: 0; background: none; }
.wpmenucartli .cartcontents[data-count]:not([data-count=""])::after {
	content: attr(data-count);
	display: inline-block;
	min-width: 20px;
	margin-left: 4px;
	padding: 0 6px;
	border-radius: 10px;
	background: var(--cvit-blue);
	color: #fff;
	font: 700 12px/20px Quicksand, sans-serif;
	text-align: center;
}
.wpmenucartli a { white-space: nowrap; }

/* Galerija: square photos in an even grid. */
.premium-gallery-container .premium-gallery-img-container img,
.premium-gallery-container .pa-gallery-img-container img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; }

/* Top bar: BOX NOW promo banner (BOX NOW co-branding during the promo period). */
.site-header::before {
	content: url("boxnow-logo.svg") "\00a0\00a0 Besplatna dostava na BOX NOW paketomat";
	display: block;
	padding: 5px 16px;   /* 34px tall, like before (the hero offset depends on it) */
	background: #72d04e; /* BOX NOW green */
	color: #2e046a;      /* BOX NOW purple */
	font: 700 13px/24px Quicksand, sans-serif;
	letter-spacing: 0.02em;
	text-align: center;
	white-space: nowrap;
}
/* Home: the header is fixed, so move the hero down by the bar's height. */
body.home #cvit-hero { margin-top: 124px !important; }
@media (max-width: 767px) {
	.site-header::before { font-size: 12px; padding: 4px 12px; }
	body.home #cvit-hero { margin-top: 104px !important; }
}

/* Checkout field help: plain text under the field, not WooCommerce's pop-up bubble. */
.woocommerce form .form-row .description,
.woocommerce-checkout .form-row .description {
	display: block !important;
	position: static !important;
	margin: 6px 0 0 !important;
	padding: 0 !important;
	background: none !important;
	color: var(--cvit-muted) !important;
	font: 500 14px/1.5 Quicksand, sans-serif !important;
	border-radius: 0 !important;
}
.woocommerce form .form-row .description::before { display: none !important; }
#billing_custom_message_field .woocommerce-input-wrapper { display: flex; flex-direction: column; }
#billing_custom_message_field .cvit-counter { order: 2; }
#billing_custom_message_field .description { order: 3; }

/* Express row inside the cart / checkout totals table. */
.cvit-express-row td { padding: 8px 0 !important; border: 0 !important; }
.cvit-express-row td::before { display: none !important; }
.cvit-express-row .cvit-express { margin: 0; text-align: left; }

/* Written complaint notice (ZZP čl. 10): clearly visible. */
.cvit-complaint-box {
	margin: 0 0 32px;
	padding: 20px 24px;
	border: 2px dashed var(--cvit-blue);
	background: var(--cvit-cream);
	scroll-margin-top: 140px;
}
.cvit-complaint-box h2 { margin-top: 0 !important; color: var(--cvit-blue); font-family: 'Gilda Display', serif; font-weight: 400; }
.cvit-complaint-box p { font-size: 16px; line-height: 1.6; color: var(--cvit-ink); }
#pisani-prigovor { scroll-margin-top: 140px; }

/* Withdrawal form (Opći uvjeti, točka 7). */
.cvit-withdrawal-form {
	margin: 24px 0 32px;
	padding: 24px 28px;
	border: 2px dashed var(--cvit-blue);
	background: #fff;
	max-width: 760px;
	font: 500 16px/1.6 Quicksand, sans-serif;
	color: var(--cvit-ink);
}
.cvit-withdrawal-form h3 { margin: 0 0 6px !important; font-family: 'Gilda Display', serif; font-weight: 400; font-size: 26px; color: var(--cvit-blue); }
.cvit-wf-note { color: var(--cvit-muted); font-size: 14px; }
.cvit-wf-to { padding: 12px 16px; background: var(--cvit-cream); }
.cvit-wf-fields { width: 100%; border-collapse: collapse; margin: 8px 0 12px; border: 0; }
.cvit-wf-fields th {
	width: 38%;
	padding: 14px 12px 6px 0;
	border: 0;
	border-bottom: 1px solid var(--cvit-line);
	text-align: left;
	vertical-align: bottom;
	font-weight: 600;
	font-size: 15px;
}
.cvit-wf-fields td { border: 0; border-bottom: 1px solid #8a99a8; height: 40px; }
.cvit-wf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.cvit-wf-actions a,
.cvit-wf-actions button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 20px;
	border: 0;
	background: var(--cvit-blue);
	color: #fff !important;
	font: 700 15px Quicksand, sans-serif;
	text-decoration: none !important;
	cursor: pointer;
}
.cvit-wf-actions .cvit-wf-mail { background: #fff; color: var(--cvit-blue) !important; border: 1px dashed var(--cvit-blue); }
@media (max-width: 600px) {
	.cvit-withdrawal-form { padding: 18px 16px; }
	.cvit-wf-fields th { display: block; width: auto; border-bottom: 0; padding-bottom: 0; }
	.cvit-wf-fields td { display: block; }
}
/* Print only the form. */
@media print {
	body.cvit-print-form * { visibility: hidden !important; }
	body.cvit-print-form .cvit-withdrawal-form,
	body.cvit-print-form .cvit-withdrawal-form * { visibility: visible !important; }
	body.cvit-print-form .cvit-withdrawal-form { position: absolute; left: 0; top: 0; width: 100%; max-width: none; border: 0; }
	body.cvit-print-form .cvit-wf-actions { display: none !important; }
}
.cvit-wf-actions .cvit-wf-print {
	border-radius: 0 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font: 700 15px Quicksand, sans-serif !important;
	padding: 0 20px !important;
}

/* Withdrawal web form. */
.cvit-withdrawal-form fieldset.cvit-wf-who { border: 0; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 16px; }
.cvit-withdrawal-form fieldset.cvit-wf-who legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.cvit-withdrawal-form .cvit-wf-who label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; }
.cvit-wf-row { margin: 0 0 14px !important; }
.cvit-wf-row label { display: block; margin-bottom: 6px; font: 700 15px/1.4 Quicksand, sans-serif; color: var(--cvit-ink); }
.cvit-wf-row input,
.cvit-wf-row textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #8a99a8;
	border-radius: 0;
	background: #fff;
	font: 500 16px Quicksand, sans-serif;
	color: var(--cvit-ink);
}
.cvit-wf-row textarea { min-height: 84px; }
.cvit-wf-row.has-error input,
.cvit-wf-row.has-error textarea { border-color: var(--cvit-coral-text); box-shadow: 0 0 0 1px var(--cvit-coral-text); }
.cvit-wf-req { color: var(--cvit-coral-text); }
.cvit-wf-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .cvit-wf-pair { grid-template-columns: 1fr; gap: 0; } }
.cvit-wf-hp { position: absolute !important; left: -9999px !important; }
.cvit-wf-actions .cvit-wf-send { background: #fff !important; color: var(--cvit-blue) !important; border: 1px dashed var(--cvit-blue) !important; border-radius: 0 !important; text-transform: none !important; font: 700 15px Quicksand, sans-serif !important; padding: 0 20px !important; }
.cvit-wf-actions button:disabled { opacity: 0.6; cursor: wait; }
.cvit-wf-status { margin: 12px 0 0; font-weight: 600; }
.cvit-wf-status.is-ok { color: var(--cvit-sage-text); }
.cvit-wf-status.is-error { color: var(--cvit-coral-text); }

/* Off-screen A4 sheet that becomes the PDF. */
.cvit-wf-sheet {
	position: fixed;
	left: -10000px;
	top: 0;
	width: 794px;
	padding: 56px 60px;
	background: #fff;
	color: #1f2933;
	font: 400 14px/1.5 Arial, sans-serif;
}
.cvit-wf-sheet h1 { margin: 0 0 6px; font: 400 26px 'Gilda Display', Georgia, serif; color: #486683; }
.cvit-wf-sheet .n { color: #5e6770; font-size: 12.5px; }
.cvit-wf-sheet .to { margin: 14px 0; padding: 12px 16px; border: 1px dashed #486683; background: #fffaf7; }
.cvit-wf-sheet table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; }
.cvit-wf-sheet th { width: 36%; padding: 10px 12px 4px 0; text-align: left; vertical-align: top; font-size: 13px; }
.cvit-wf-sheet td { padding: 10px 0 4px; border-bottom: 1px solid #8a99a8; vertical-align: top; font-size: 14px; }

/* ---- Checkout: home or maternity ward (October 2026) ------------------- */
.cvit-dest { margin: 0 0 28px; }
.cvit-dest__title { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--cvit-ink); }
.cvit-dest__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cvit-dest__opt {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px 16px 50px;
	position: relative;
	border: 2px solid var(--cvit-line, #e7dcd4) !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: var(--cvit-ink) !important;
	text-align: left;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.35;
	cursor: pointer;
	box-shadow: none !important;
}
.cvit-dest__opt::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 18px;
	width: 18px;
	height: 18px;
	border: 2px solid var(--cvit-muted, #5e6770);
	border-radius: 50%;
	background: #fff;
}
.cvit-dest__opt strong { font-size: 16px; }
.cvit-dest__opt span { font-size: 14px; color: var(--cvit-muted, #5e6770); }
.cvit-dest__opt.is-on { border-color: var(--cvit-blue) !important; background: #f5f8fb !important; }
.cvit-dest__opt.is-on::before { border-color: var(--cvit-blue); background: radial-gradient(circle, var(--cvit-blue) 0 45%, #fff 50%); }
.cvit-dest__opt:focus-visible { outline: 3px solid var(--cvit-blue); outline-offset: 2px; }
.cvit-ward-box { display: none; margin: 0 0 24px; padding: 20px 20px 8px; border: 2px solid var(--cvit-blue); border-radius: 12px; background: #f5f8fb; }
.cvit-ward-box h3 { margin: 0 0 4px; }
.cvit-ward-box__lead { margin: 0 0 14px; font-size: 14px; color: var(--cvit-muted, #5e6770); }
.cvit-ward-active .cvit-ward-box { display: block; }
.cvit-ward-active .woocommerce-shipping-fields { display: none; }
form.checkout .cvit-ward-box p.form-row { float: left; width: 48%; margin: 0 0 14px; padding: 0; }
form.checkout .cvit-ward-box p.form-row-last { float: right; }
form.checkout .cvit-ward-box p#cvit_hospital_field,
form.checkout .cvit-ward-box p#cvit_mother_phone_field { float: none; clear: both; width: 100%; }
form.checkout .cvit-ward-box .woocommerce-input-wrapper { display: block; width: 100%; }
form.checkout .cvit-ward-box .input-text,
form.checkout .cvit-ward-box select,
form.checkout .cvit-ward-box .select2-container { box-sizing: border-box; width: 100% !important; max-width: none; }
form.checkout .cvit-ward-box .select2-container .select2-selection--single { height: 48px; display: flex; align-items: center; }
.cvit-ward-active .cvit-ward-field > label::after { content: " *"; color: var(--cvit-coral-text, #a63e2a); font-weight: 700; }
.cvit-ward-box .description { display: block !important; margin-top: 4px; font-size: 13px; color: var(--cvit-muted, #5e6770); }
@media (max-width: 600px) {
	.cvit-dest__options { grid-template-columns: 1fr; }
	form.checkout .cvit-ward-box p.form-row { float: none; width: 100%; }
}

/* ---- Maternity-ward page (/dostava-u-rodilista/) ------------------------ */
.cvit-wp { max-width: 1100px; margin: 0 auto; }
.cvit-wp h1 { margin: 8px 0 14px; color: var(--cvit-blue); font-family: "Gilda Display", Georgia, serif; font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; text-wrap: balance; }
.cvit-wp h2 { margin: 48px 0 12px; }
.cvit-wp__lead { font-size: 19px; line-height: 1.6; max-width: 760px; }
.cvit-wp__lead { margin: 0 0 18px; }
.cvit-wp__cta { margin: 0; }
.cvit-wp__cta .button { display: inline-block; margin: 0 !important; padding: 14px 28px !important; font-size: 16px !important; }
.cvit-wp__facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cvit-wp__facts li { padding: 18px; border-radius: 12px; background: #f5f8fb; border: 1px solid #dde6ee; }
.cvit-wp__facts strong { display: block; margin-bottom: 4px; color: var(--cvit-blue); font-size: 17px; }
.cvit-wp__facts span { font-size: 14.5px; line-height: 1.5; color: var(--cvit-ink); }
.cvit-pk__sub { margin: -6px 0 8px; font-size: .9em; font-weight: 600; color: #4b6584; text-transform: uppercase; letter-spacing: .06em; }
.cvit-pk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 12px; }
.cvit-pk__card { position: relative; display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--cvit-line, #e7dcd4); border-radius: 14px; background: #fff; }
.cvit-pk__badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--cvit-blue); color: #fff; font-size: 12px; font-weight: 700; }
.cvit-pk__img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.cvit-pk__card h3 { margin: 12px 0 6px; font-size: 18px; }
.cvit-pk__card ul { margin: 0 0 12px; padding-left: 18px; font-size: 14px; line-height: 1.5; flex: 1; }
.cvit-pk__price { margin: 0; }
.cvit-pk__price strong { font-size: 22px; color: var(--cvit-coral-text, #a63e2a); }
.cvit-pk__price span { display: block; font-size: 13px; color: #2f6b3a; font-weight: 600; }
.cvit-pk__extra { margin: 4px 0 12px; font-size: 12.5px; color: var(--cvit-muted, #5e6770); }
.cvit-pk__buttons { display: flex; gap: 8px; margin: 0; }
.cvit-pk__buttons .button { flex: 1; text-align: center; padding: 10px 8px !important; }
.cvit-wp__more { font-size: 15px; }
.cvit-wp__note { margin: 0 0 8px; font-size: 15px; color: var(--cvit-muted); }
.cvit-wp > #paketi .cvit-pk { margin-top: 8px; }
/* Ward landing (ads land here) and its city pages: on phones the first package must show on the first screen. */
@media (max-width: 700px) {
	body.page-id-4320 .cvit-breadcrumbs,
	body.parent-pageid-4320 .cvit-breadcrumbs { display: none; }
	.cvit-wp h1 { font-size: 26px; margin: 14px 0 8px; }
	.cvit-wp > .cvit-wp__lead:first-of-type { font-size: 16px; line-height: 1.5; margin-bottom: 10px; }
}
.cvit-wp__steps { padding-left: 22px; line-height: 1.7; }
.cvit-wp__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 0; }
.cvit-wp__photos img { width: 100%; height: auto; border-radius: 12px; }
.cvit-wards { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 28px; font-size: 14.5px; line-height: 1.5; }
.cvit-wards li { break-inside: avoid; margin: 0 0 8px; }
.cvit-wards strong { display: block; }
.cvit-faq h3 { margin: 22px 0 6px; font-size: 17px; }
@media (max-width: 1100px) {
	.cvit-pk { grid-template-columns: repeat(3, 1fr); }
	.cvit-wp__facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
	.cvit-pk { grid-template-columns: 1fr 1fr; gap: 10px; }
	.cvit-pk__card { padding: 10px; }
	.cvit-pk__buttons { flex-direction: column; }
	.cvit-wards { columns: 2; }
	.cvit-wp__lead { font-size: 17px; }
}
@media (max-width: 600px) {
	/* Phones: each package is one short row (photo, name, price, button), so several fit on the first screen. */
	.cvit-pk { grid-template-columns: 1fr; gap: 10px; }
	.cvit-pk__card { display: grid; grid-template-columns: 118px 1fr; column-gap: 12px; align-items: start; padding: 10px; }
	.cvit-pk__card > * { grid-column: 2; }
	.cvit-pk__card > .cvit-pk__img { grid-column: 1; grid-row: 1 / span 8; }
	.cvit-pk__card > .cvit-pk__badge { grid-column: 1; grid-row: 1; top: 4px; left: 4px; padding: 2px 8px; font-size: 10.5px; }
	.cvit-pk__card h3 { margin: 2px 0 2px; font-size: 16.5px; line-height: 1.25; }
	.cvit-pk__sub { margin: 0 0 2px; font-size: 11px; }
	.cvit-pk__card ul { display: none; }
	.cvit-pk__price strong { font-size: 19px; }
	.cvit-pk__price span { font-size: 12px; }
	.cvit-pk__extra { margin: 2px 0 8px; font-size: 11.5px; line-height: 1.35; }
	.cvit-pk__buttons { flex-direction: row; }
	.cvit-pk__buttons .button { padding: 8px 6px !important; font-size: 14px !important; min-height: 0; }
}
@media (max-width: 420px) {
	.cvit-wp__facts { grid-template-columns: 1fr; }
	.cvit-wp__photos { grid-template-columns: 1fr; }
}

/* BOX NOW note under its shipping rate. */
.cvit-boxnow-note { display: block; margin: 4px 0 8px 24px; font-size: 13px; line-height: 1.45; color: var(--cvit-muted, #5e6770); }
.cvit-boxnow-note strong { color: #2f6b3a; }

/* Home: BOX NOW free delivery band (BOX NOW co-branding during the promo period). */
.cvit-bn { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 28px; max-width: 1200px; margin: 0 auto; padding: 28px 32px; background: #72d04e; border-radius: 16px; color: #2e046a; }
.cvit-bn__kicker { margin: 0 0 6px; font: 700 13px/1.4 Quicksand, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.cvit-bn h2 { margin: 0 0 10px; color: #2e046a; font: 700 30px/1.2 Quicksand, sans-serif; }
.cvit-bn p { margin: 0 0 16px; font: 500 16px/1.6 Quicksand, sans-serif; color: #2e046a; }
.cvit-bn__link { display: inline-block; padding: 10px 20px; border-radius: 999px; background: #2e046a; color: #fff !important; font: 700 15px/1.2 Quicksand, sans-serif; text-decoration: none; }
.cvit-bn__link:hover, .cvit-bn__link:focus { background: #44089f; }
.cvit-bn img { display: block; width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 767px) {
	.cvit-bn { grid-template-columns: 1fr; gap: 16px; padding: 22px 18px; margin: 0 16px; }
	.cvit-bn h2 { font-size: 24px; }
	.cvit-bn__img { order: -1; }
}

/* Ward delivery date (planned caesarean or induction). */
.cvit-ward-when .woocommerce-input-wrapper { display: grid !important; grid-template-columns: auto 1fr; gap: 10px 10px; align-items: start; margin-top: 4px; }
.cvit-ward-when input[type="radio"] { margin: 4px 0 0 !important; width: 18px; height: 18px; }
.cvit-ward-when label.radio { display: block !important; margin: 0 !important; font-weight: 500; line-height: 1.45; }
.cvit-ward-when .optional, .cvit-ward-date .optional { display: none !important; }
#cvit_ward_date { max-width: 260px; min-height: 44px; }

/* Phones: nothing may stick out on the right (hidden price tooltips, reCAPTCHA badge),
   otherwise iOS shrinks the whole page and shows an empty strip on the right. */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
.sidrena-cijena__tooltip { max-width: calc(100vw - 32px); }

/* Ward delivery city pages. */
.cvit-crumbs { margin: 0 0 8px; font-size: 14px; color: var(--cvit-muted, #5e6770); }
.cvit-crumbs a { color: inherit; }
.cvit-city__wards { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.cvit-city__wards li { padding: 14px 16px; border: 1px solid #eadfd6; border-radius: 10px; background: #fffaf7; }
.cvit-city__wards strong { display: block; }
.cvit-city__wards span { display: block; font-size: 15px; color: var(--cvit-muted, #5e6770); }
.cvit-city__links { line-height: 2; }

/* Main menu: one more top item ("Složi paket"), so a little less space between items on laptops. */
@media (min-width: 1025px) and (max-width: 1500px) {
	#site-navigation .primary-menu > li > a { padding-left: 7px; padding-right: 7px; }
	#site-navigation .primary-menu > li.menu-item-has-children > a { padding-right: 20px; }   /* room for the dropdown arrow */
}

/* Package cards: the title opens the product too. */
.cvit-pk__card h3 a { color: inherit; text-decoration: none; }
.cvit-pk__card h3 a:hover, .cvit-pk__card h3 a:focus { color: var(--cvit-blue); text-decoration: underline; }

/* BOX NOW banner across the whole width of the screen. */
.site-header::before { position: relative; left: 50%; width: 100vw; margin-left: -50vw; box-sizing: border-box; }

/* Conversion fixes (October 2026). */
.cvit-pills-select { position: absolute !important; opacity: 0; pointer-events: none; width: 1px !important; height: 1px; }
.cvit-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.cvit-pill { text-transform: none !important; letter-spacing: 0 !important; font-weight: 500; background: #fff; color: var(--cvit-ink); border: 1.5px solid var(--cvit-line); border-radius: 999px; padding: 9px 16px; font-size: 15px; line-height: 1.2; cursor: pointer; min-height: 44px; }
.cvit-pill.is-on { border-color: var(--cvit-blue); background: #eef3f8; color: var(--cvit-blue-dark); font-weight: 600; }
.cvit-pill:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
table.variations td.value .reset_variations { display: none !important; }

.cvit-sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--cvit-line); box-shadow: 0 -4px 14px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s; }
.cvit-sticky-atc.is-on { transform: none; }
.cvit-sticky-atc__price { font-weight: 700; color: var(--cvit-coral-text); font-size: 18px; }
.cvit-sticky-atc__btn { background: var(--cvit-blue); color: #fff; border: 0; border-radius: 6px; padding: 12px 18px; font-weight: 600; font-size: 15px; min-height: 46px; }

.cvit-trust { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--cvit-sage-text); }
.cvit-trust li { margin: 0 0 4px; padding-left: 22px; position: relative; }
.cvit-trust li::before { content: "✓"; position: absolute; left: 2px; font-weight: 700; }

.cvit-hub3 { border: 1px solid var(--cvit-line); background: var(--cvit-cream); border-radius: 8px; padding: 18px; margin: 0 0 24px; }
.cvit-hub3 h2 { font-size: 20px; margin: 0 0 8px; }
.cvit-hub3__code { display: block; max-width: 100%; height: auto; background: #fff; margin: 12px 0; }
.cvit-hub3__data { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 8px 0 0; }
.cvit-hub3__data dt { color: var(--cvit-muted); }
.cvit-hub3__data dd { margin: 0; font-weight: 600; word-break: break-all; }

@media (max-width: 767px) {
	.single-product .woocommerce-breadcrumb { display: none; }
	.single-product .woocommerce-product-gallery__image img { max-height: 70vh; object-fit: cover; }
	tr.cvit-ship-head th { border-bottom: 0 !important; padding-bottom: 0 !important; }
	tr.cvit-ship-row td { text-align: left; }
	#shipping_method li { border: 1px solid var(--cvit-line); border-radius: 8px; padding: 10px 12px; margin: 0 0 8px; background: #fff; }
	#shipping_method li label { font-weight: 600; }
}

/* Ward orders: only name, e-mail and phone of the buyer. */
.cvit-ward-active #billing_country_field,
.cvit-ward-active #billing_address_1_field,
.cvit-ward-active #billing_address_2_field,
.cvit-ward-active #billing_city_field,
.cvit-ward-active #billing_postcode_field,
.cvit-ward-active #billing_state_field { display: none !important; }

/* Phones: the theme stacks 50 px + 50 px above shop pages, so the product photo started a screen down. */
@media (max-width: 767px) {
	.woocommerce-page .site-content,
	.single-product .site-content { padding-top: 12px; }
	.single-product div.product { margin-top: 0; }
}
@media (max-width: 767px) {
	.woocommerce-cart .entry-content > .elementor > .elementor-top-section:first-child,
	.woocommerce-checkout .entry-content > .elementor > .elementor-top-section:first-child { margin-top: 0 !important; }
}
.cvit-pickup-note { border: 1px solid var(--cvit-line); background: var(--cvit-cream); border-radius: 8px; padding: 14px 16px; margin: 0 0 20px; }
.cvit-boxnow-hint { margin: 6px 0 8px; padding: 10px 12px; border-radius: 6px; background: #fdecee; color: var(--cvit-coral-text); font-weight: 600; font-size: 14px; }

/* Packages: saving next to the price */
.cvit-saving { display: inline-block; margin: 4px 0 0 6px; padding: 2px 9px; border-radius: 999px; background: #e9f5ea; color: #2f6b36; font-size: .82em; font-weight: 600; line-height: 1.6; vertical-align: middle; white-space: nowrap; }
.cvit-saving small { font-weight: 400; color: #4f7a54; font-size: .9em; }
li.product .cvit-saving { display: table; margin: 4px auto 0; }

/* Product descriptions: bullet lists with some air (owner 21. 10. 2026.) */
.single-product .woocommerce-product-details__short-description ul,
.single-product .woocommerce-Tabs-panel--description ul { margin: 10px 0 16px; padding-left: 22px; }
.single-product .woocommerce-product-details__short-description li,
.single-product .woocommerce-Tabs-panel--description li { margin: 0 0 10px; padding-left: 4px; line-height: 1.5; }

/* Wishlist heart on product cards: centred in its circle (the plugin's icon had a left margin and
   sat on the text baseline) */
html body .tinv-wishlist a.tinvwl_add_to_wishlist_button.tinvwl-icon-heart,
html body ul.products li.product a.tinvwl_add_to_wishlist_button.tinvwl-icon-heart { display: inline-flex !important; align-items: center !important; justify-content: center !important; }
html body .tinv-wishlist a.tinvwl_add_to_wishlist_button.tinvwl-icon-heart::before,
html body ul.products li.product a.tinvwl_add_to_wishlist_button.tinvwl-icon-heart::before { margin: 0 !important; vertical-align: middle !important; display: block !important; line-height: 1 !important; }

/* ---- "Javi mi kad stigne" (sold-out products and variations) ---------- */

.cvit-alert {
	margin: 14px 0 18px;
	padding: 14px 16px;
	border: 1px solid var(--cvit-line);
	border-radius: 6px;
	background: var(--cvit-cream);
	font: 500 15px/1.5 Quicksand, sans-serif;
	color: var(--cvit-ink);
}
.cvit-alert__lead { margin: 0; }
.cvit-alert.is-open .cvit-alert__lead { margin-bottom: 10px; }
.cvit-alert__toggle {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--cvit-blue) !important;
	font: inherit !important;
	font-weight: 700 !important;
	text-decoration: underline;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	min-height: 0 !important;
}
.cvit-alert__form { display: none; }
.cvit-alert.is-open .cvit-alert__form { display: block; }
.cvit-alert.is-open .cvit-alert__toggle { display: none; }
.cvit-alert__label { display: block; margin: 0 0 4px; font-weight: 700; font-size: 14px; }
.cvit-alert__form { margin: 0 !important; }
.cvit-alert > :last-child, .cvit-alert__form > :last-child { margin-bottom: 0 !important; }
.cvit-alert select {
	width: 100%;
	max-width: 100%;
	height: 46px;
	margin: 0 0 10px;
	padding: 0 12px;
	border: 1px solid #b9b0a8;
	border-radius: 4px;
	background-color: #fff;
	font-size: 16px;
	color: var(--cvit-ink);
}
.cvit-alert__row { display: flex; gap: 8px; }
.cvit-alert__row input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	padding: 0 12px;
	border: 1px solid #b9b0a8;
	border-radius: 4px;
	background: #fff;
	font-size: 16px; /* no zoom on iOS */
}
.cvit-alert__send {
	flex: 0 0 auto;
	height: 46px;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: var(--cvit-blue) !important;
	color: #fff !important;
	font: 700 15px/46px Quicksand, sans-serif !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}
.cvit-alert__send:hover { background: var(--cvit-blue-dark) !important; }
.cvit-alert__send[disabled] { opacity: .6; cursor: default; }
.cvit-alert__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cvit-alert__status { margin: 8px 0 0; font-weight: 700; }
.cvit-alert__status:empty { display: none; }
.cvit-alert__status.is-ok { color: var(--cvit-sage-text); }
.cvit-alert__status.is-error { color: var(--cvit-coral-text); }
.cvit-alert__privacy { margin: 8px 0 0; font-size: 13px; color: var(--cvit-muted); }
.cvit-alert.is-done .cvit-alert__row,
.cvit-alert.is-done select,
.cvit-alert.is-done .cvit-alert__label,
.cvit-alert.is-done .cvit-alert__privacy { display: none; }
@media (max-width: 400px) {
	.cvit-alert__row { flex-direction: column; }
	.cvit-alert__send { width: 100%; }
}

/* ---- Cookie consent ---------------------------------------------------- */

.cvit-cc {
	display: none;
	position: fixed;
	z-index: 100000;
	left: 16px;
	bottom: 16px;
	width: 420px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 18px 20px;
	border: 1px solid var(--cvit-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(31, 41, 51, 0.18);
	font: 500 14.5px/1.5 Quicksand, sans-serif;
	color: var(--cvit-ink);
}
.cvit-cc.is-open { display: block; }
.cvit-cc p { margin: 0 0 10px; }
.cvit-cc__title { font-weight: 700; font-size: 16px; }
.cvit-cc a { color: var(--cvit-blue) !important; text-decoration: underline; }
.cvit-cc__prefs { margin: 4px 0 12px; }
.cvit-cc__prefs[hidden] { display: none; }
.cvit-cc__opt { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.cvit-cc__opt input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--cvit-blue); }
.cvit-cc__opt strong { display: block; font-size: 14px; }
.cvit-cc__buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cvit-cc__btn {
	flex: 1 1 0;
	min-width: 120px;
	min-height: 44px;
	padding: 0 14px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: var(--cvit-blue) !important;
	color: #fff !important;
	font: 700 15px/44px Quicksand, sans-serif !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}
.cvit-cc__btn:hover { background: var(--cvit-blue-dark) !important; }
.cvit-cc__btn[hidden], .cvit-cc__link[hidden] { display: none !important; }
.cvit-cc__link {
	flex: 1 0 100%;
	padding: 4px 0 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--cvit-blue) !important;
	font: 600 14px/1.4 Quicksand, sans-serif !important;
	text-decoration: underline;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}
@media (max-width: 600px) {
	/* Phones: a low bar, so the first screen still shows the page (28. 10. 2026.: it covered half the ward page). */
	.cvit-cc { left: 0; right: 0; bottom: 0; width: auto; max-width: none; border-radius: 12px 12px 0 0; padding: 12px 14px 10px; font-size: 13.5px; line-height: 1.45; }
	.cvit-cc__title { display: none; }
	.cvit-cc p { margin-bottom: 8px; }
	.cvit-cc__btn { min-height: 40px; line-height: 40px !important; min-width: 0; }
	.cvit-cc__link { flex: 0 0 auto; padding: 0 4px !important; font-size: 13.5px !important; }
}
@media print { .cvit-cc { display: none !important; } }

/* ---- Shorter checkout (27. 10. 2026.) ---------------------------------- */

/* BOX NOW and local pickup: no street address (like the ward). */
.cvit-noaddr-active #billing_country_field,
.cvit-noaddr-active #billing_address_1_field,
.cvit-noaddr-active #billing_address_2_field,
.cvit-noaddr-active #billing_city_field,
.cvit-noaddr-active #billing_postcode_field,
.cvit-noaddr-active #billing_state_field,
.cvit-noaddr-active .woocommerce-shipping-fields { display: none !important; }
.cvit-addr-note { margin: 8px 0 0; padding: 8px 10px; border-radius: 6px; background: #fff6e5; font-size: 14px; line-height: 1.45; color: var(--cvit-ink); }
.cvit-addr-note a { color: var(--cvit-blue) !important; font-weight: 700; text-decoration: underline; }

.cvit-pay-line { margin: 0 0 18px; padding: 10px 12px; border-radius: 8px; background: #f5f8fb; border: 1px solid #dde6ee; font-size: 14.5px; line-height: 1.5; color: var(--cvit-ink); }

#vat_checkbox_field.cvit-r1 { margin-top: 6px; }
#company_name_field.hidden, #company_address_field.hidden, #vat_number_field.hidden { display: none !important; }
.cvit-more-hidden { display: none !important; }
.cvit-more-link { margin: 6px 0 18px; }
.cvit-more-link button {
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--cvit-blue) !important;
	font: 600 15px/1.4 Quicksand, sans-serif !important;
	text-decoration: underline;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}

/* Phone: total and "Potvrdi narudžbu" always at hand. */
.cvit-co-bar { display: none; }
@media (max-width: 700px) {
	.cvit-co-bar.is-on {
		display: flex;
		position: fixed;
		z-index: 9990;
		left: 0;
		right: 0;
		bottom: 0;
		gap: 12px;
		align-items: center;
		justify-content: space-between;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: #fff;
		box-shadow: 0 -4px 16px rgba(31, 41, 51, 0.12);
	}
	.cvit-co-bar__total { font: 500 14px/1.2 Quicksand, sans-serif; color: var(--cvit-muted); }
	.cvit-co-bar__total strong { display: block; font-size: 20px; color: var(--cvit-ink); }
	.cvit-co-bar__btn {
		flex: 0 0 auto;
		min-height: 48px;
		padding: 0 20px !important;
		border: 0 !important;
		border-radius: 6px !important;
		background: var(--cvit-blue) !important;
		color: #fff !important;
		font: 700 16px/48px Quicksand, sans-serif !important;
		text-transform: none !important;
		letter-spacing: 0 !important;
	}
	body.woocommerce-checkout { padding-bottom: 76px; }
}
.cvit-attention { outline: 3px solid #e2a03f; outline-offset: 4px; border-radius: 4px; transition: outline-color .3s; }

/* ---- Header on laptops: logo and menu in one row (27. 10. 2026.) ------- */
@media (min-width: 1200px) {
	.site-header-main { flex-wrap: nowrap !important; }
	.site-branding { flex: 0 0 auto; margin: 10px 28px 10px 0 !important; }
	.site-branding .custom-logo { width: 150px; height: auto; }
	/* Pushed right by its own margin, never by justify-content: a menu too wide for the row then runs off to the right instead of over the logo. */
	.site-header-menu { flex: 0 1 auto !important; min-width: 0; width: auto !important; margin: 0 0 0 auto !important; }
	.main-navigation { margin: 0 !important; }
	#site-navigation .primary-menu { display: flex; flex-wrap: nowrap; align-items: center; }
	#site-navigation .primary-menu > li { float: none; }
	#site-navigation .primary-menu > li > a {
		font-size: clamp(13px, 1vw, 15px) !important;
		letter-spacing: 0 !important;
		padding-left: clamp(5px, 0.55vw, 10px) !important;
		padding-right: clamp(5px, 0.55vw, 10px) !important;
	}
	#site-navigation .primary-menu > li.menu-item-has-children > a { padding-right: 20px !important; }
}

/* ---- Reviews: the logo, not a tiny favicon in an oval ------------------ */
.brtpmj_businessheader img {
	width: 190px !important;
	height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	object-fit: contain;
}

/* ---- Footer: four columns like most shops (27. 10. 2026.) -------------- */
.main-footer .container { padding: 64px 20px 40px; }
.main-footer h2 {
	margin: 0 0 14px;
	font: 700 15px/1.3 Quicksand, sans-serif;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--cvit-ink);
	text-align: left;
}
.main-footer .footer2 li,
.main-footer .footer4 li { display: block; margin: 0 0 8px; }
.main-footer .footer2 li a,
.main-footer .footer4 li a {
	display: inline;
	padding: 0 !important;
	font: 500 15px/1.5 Quicksand, sans-serif !important;
	text-transform: none !important;
	color: var(--cvit-ink) !important;
}
.main-footer .footer2 li a:hover,
.main-footer .footer4 li a:hover { color: var(--cvit-rose-text) !important; text-decoration: underline; }
.main-footer .footer2 #menu-bottom-menu li > a::before { display: none; }
.main-footer .footer2 #menu-bottom-menu li.current-menu-item > a { color: var(--cvit-ink) !important; }
.footer4 { display: block !important; padding: 0 !important; font-size: inherit; text-transform: none; }
.main-footer .footer1 img { width: 190px; height: auto; }
.main-footer .footer3 .shrewd_solution_icon { padding-top: 0; }
@media (min-width: 768px) {
	.main-footer .container {
		display: grid;
		grid-template-columns: 1.2fr 1fr 1fr;
		grid-template-areas: "brand shop info" "social shop info";
		grid-template-rows: auto 1fr;
		column-gap: 48px;
		max-width: 1100px;
		text-align: left;
	}
	.main-footer .columns { float: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; text-align: left !important; }
	.main-footer .footer1 { grid-area: brand; margin-bottom: 16px; }
	.main-footer .footer2 { grid-area: shop; }
	.main-footer .footer3 { grid-area: social; }
	.main-footer .footer4 { grid-area: info; }
}
@media (max-width: 767px) {
	.main-footer .container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-areas: "brand brand" "social social" "shop info";
		row-gap: 24px;
		column-gap: 20px;
		text-align: left;
	}
	.main-footer .columns { float: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; }
	.main-footer .footer1 { grid-area: brand; text-align: center !important; }
	.main-footer .footer3 { grid-area: social; text-align: center !important; }
	.main-footer .footer2 { grid-area: shop; text-align: left !important; }
	.main-footer .footer4 { grid-area: info; text-align: left !important; }
	.main-footer .footer2 li a, .main-footer .footer4 li a { font-size: 14px !important; }
}
.site-footer .site-info { border-top: 1px solid #e3d6cb; padding-top: 18px; }

/* Blog cards: every picture in the same 3:2 frame (the default photo for posts without one is square). */
.premium-blog-thumbnail-container img,
.premium-blog-thumb-effect-wrapper img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; }
/* … and the grey text box always reaches the bottom of the card, whether the title takes one line or two. */
.premium-blog-post-outer-container .premium-blog-post-container.premium-blog-skin-classic { display: flex; flex-direction: column; height: 100%; }
.premium-blog-post-outer-container .premium-blog-skin-classic .premium-blog-content-wrapper { flex: 1 1 auto; }
.premium-blog-post-outer-container.slick-slide { height: auto; }
.premium-blog-wrap.slick-initialized .slick-track { display: flex !important; }
.premium-blog-wrap.slick-initialized .slick-slide { height: auto !important; }
.premium-blog-wrap.slick-initialized .slick-slide > div { height: 100%; }

/* ---- 27. 10. 2026. (2): page titles, account, checkout, cart cards ----- */

/* Page titles: one look on every page. No breadcrumb bar on pages, the title centred in Gilda Display, brand blue
   (shop, categories and products keep their breadcrumbs). Pages with their own title (blog, landing pages) keep theirs. */
body.page .cvit-breadcrumbs { display: none; }
body.page:not(.home):not(.page-id-3279):not(:has(.cvit-wp h1)) header.entry-header { display: block !important; margin: 56px 0 26px !important; text-align: center; }
body.page header.entry-header .entry-title,
body.page.elementor-page h1.elementor-heading-title {
	font-family: "Gilda Display", Georgia, serif !important;
	font-weight: 400 !important;
	font-size: clamp(32px, 3.4vw, 42px) !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--cvit-blue) !important;
	text-align: center;
}

/* Moj račun: a tidy side menu instead of bullets and empty lines. */
.woocommerce-account .woocommerce-MyAccount-navigation br { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none !important; margin: 0 0 24px !important; padding: 0 !important; border: 1px solid var(--cvit-line); border-radius: 10px; overflow: hidden; background: #fff; }
.woocommerce-account .woocommerce-MyAccount-navigation li { list-style: none !important; margin: 0 !important; padding: 0 !important; border-bottom: 1px solid var(--cvit-line); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li::before { display: none !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; color: var(--cvit-ink) !important; font: 600 15px/1.4 Quicksand, sans-serif; text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--cvit-cream); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: #f5f8fb; color: var(--cvit-blue) !important; box-shadow: inset 3px 0 0 var(--cvit-blue); }
.woocommerce-account .woocommerce-MyAccount-content { font-size: 16px; line-height: 1.6; }
.woocommerce-account .woocommerce-MyAccount-content a { color: var(--cvit-blue); }
@media (min-width: 769px) {
	.woocommerce-account .woocommerce-MyAccount-navigation { width: 260px !important; float: left; margin-right: 40px; }
	.woocommerce-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; overflow: hidden; }
}

/* Checkout: the two columns line up with the two "Kamo šaljete paket?" cards above them. */
@media (min-width: 769px) {
	.woocommerce-checkout #customer_details.col2-set { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
	.woocommerce-checkout #customer_details.col2-set::before,
	.woocommerce-checkout #customer_details.col2-set::after { display: none; }
	.woocommerce-checkout #customer_details .col-1,
	.woocommerce-checkout #customer_details .col-2 { width: auto !important; max-width: none !important; float: none !important; margin: 0 !important; }
	/* Without the ward box beside them the buyer's details take the whole column. */
	.woocommerce-checkout form.checkout:not(.cvit-ward-active) #customer_details.col2-set { grid-template-columns: minmax(0, 1fr); }
}
.woocommerce-checkout #order_review_heading { margin-top: 20px !important; }

/* Delivery choices: each radio in its own column, wrapped text lines up under the text. */
#shipping_method li { display: grid !important; grid-template-columns: 22px 1fr; column-gap: 6px; align-items: start; margin: 0 0 10px !important; text-align: left; }
#shipping_method li > input { grid-column: 1; margin: 5px 0 0 !important; }
#shipping_method li > :not(input) { grid-column: 2; }

/* Product cards outside the shop grid (cart suggestions): no stray line breaks, anchor price on one quiet line. */
ul.products li.product br { display: none; }
ul.products li.product > p { margin: 0; }
ul.products li.product .sidrena-cijena { display: block; margin-top: 2px; }
ul.products li.product .sidrena-cijena__text br { display: none !important; }
ul.products li.product .sidrena-cijena__text,
ul.products li.product .sidrena-cijena__text *:not(br) { display: inline !important; color: var(--cvit-muted) !important; font: 500 12px/1.4 Quicksand, sans-serif !important; }
.cross-sells ul.products li.product .tinv-wraper { height: 0; margin: 0 !important; padding: 0 !important; }
.cross-sells ul.products li.product { padding-bottom: 0 !important; height: auto !important; }

/* Footer: air between the logo and the social icons (.main-footer .columns zeroes margins, hence padding). */
.main-footer .footer3 { padding-top: 22px !important; }

/* Galerija: intro, softer photo tiles, and a way on to the shop. */
.cvit-gal-intro { max-width: 640px; margin: 0 auto 8px; text-align: center; font: 500 17px/1.6 Quicksand, sans-serif; color: var(--cvit-ink); }
.page-id-577 .premium-gallery-item .pa-gallery-img-container { border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(31, 41, 51, 0.08); }
.page-id-577 .premium-gallery-item img { transition: transform .5s ease; }
.page-id-577 .premium-gallery-item:hover img { transform: scale(1.04); }
.cvit-gal-cta { margin: 36px auto 10px; padding: 28px 20px; max-width: 760px; text-align: center; border-radius: 14px; background: var(--cvit-cream); border: 1px solid var(--cvit-line); }
.cvit-gal-cta__title { margin: 0 0 14px; font: 400 30px/1.2 "Gilda Display", Georgia, serif; color: var(--cvit-blue); }
.cvit-gal-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 14px; }
.cvit-gal-cta__btns .button { margin: 0 !important; padding: 13px 22px !important; border-radius: 6px !important; font: 700 15px/1.2 Quicksand, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; }
.cvit-gal-cta__btns .cvit-btn-primary { background: var(--cvit-blue) !important; color: #fff !important; }
.cvit-gal-cta__second { background: #fff !important; color: var(--cvit-blue) !important; border: 1px solid var(--cvit-blue) !important; }
.cvit-gal-cta__ig { margin: 0; font-size: 15px; color: var(--cvit-muted); }
.cvit-gal-cta__ig a { color: var(--cvit-rose-text) !important; font-weight: 700; }

/* Space between the header and the page title, the same on every page: 56 px on computers, 32 px on phones. */
.cvit-wp > h1:first-child { margin-top: 56px !important; }
.page-id-89 h1.elementor-heading-title { padding-top: 46px !important; }     /* Kontakt: its section adds 10 px (padding: margins collapse there) */
.page-id-3279 h1.elementor-heading-title { padding-top: 30px !important; }   /* Blog: its section adds 26 px */
@media (max-width: 700px) {
	.cvit-wp > h1:first-child { margin-top: 32px !important; }
	body.page:not(.home):not(.page-id-3279):not(:has(.cvit-wp h1)) header.entry-header { margin-top: 32px !important; }
	.page-id-89 h1.elementor-heading-title { padding-top: 22px !important; }
	.page-id-3279 h1.elementor-heading-title { padding-top: 6px !important; }
	body.page.woocommerce-account:not(.home):not(.page-id-3279) header.entry-header.entry-header { margin-top: 20px !important; }   /* the account wrapper adds 12 px on phones */
}

/* ---- Phones: more of the product on the first screen (28. 10. 2026.) ---- */
@media (max-width: 909px) {
	/* The same compact header as on the home page (it was 242 px and stays on screen while scrolling). */
	body:not(.home) .site-header-main { align-items: center; }
	body:not(.home) .site-branding { flex: 0 0 auto; margin: 5px 0 5px 10px !important; }
	body:not(.home) .site-branding .custom-logo { width: 180px; max-width: 180px; height: auto; }
	body:not(.home) #menu-toggle { margin: 0 0 0 auto !important; }
	body.single-product .site-content { padding-top: 12px !important; }
	/* Gallery: photos from the top, not centred in the tallest one; small thumbnails. */
	.single-product .wcgs-carousel .wcgs-slider-image img { max-height: 56vh; width: auto !important; max-width: 100%; margin: 0 auto; display: block; }
	.single-product .gallery-navigation-carousel .spswiper-slide img { height: 64px !important; object-fit: cover; }
	.cvit-co-bar a.cvit-co-bar__btn { display: inline-flex; align-items: center; color: #fff !important; text-decoration: none !important; }
}
@media (max-width: 909px) {
	/* Category chips: one row that scrolls sideways (three rows pushed the products below the first screen). */
	.cvit-shop-chips { flex-wrap: nowrap !important; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px !important; margin-right: -16px !important; }
	.cvit-shop-chips::-webkit-scrollbar { display: none; }
	.cvit-shop-chips li { flex: 0 0 auto; }
	.cvit-shop-chips a { white-space: nowrap; }
	.tax-product_cat .site-content, .post-type-archive-product .site-content { padding-top: 12px !important; }
}

/* ---- Laptops: checkout and cart in two columns (28. 10. 2026.) ---------- */
/* Product photos start at the top of the gallery, not centred in the tallest photo (all screen sizes). */
.single-product .wcgs-carousel .spswiper-slide { margin-top: 0 !important; }
@media (min-width: 1000px) {
	/* Checkout: details on the left, the order with payment and "Potvrdi narudžbu" on the right.
	   The last row (1fr) takes the height of the long right column, so the left rows stay tight. */
	form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; grid-template-rows: repeat(6, auto) 1fr; column-gap: 40px; align-items: start; }
	form.woocommerce-checkout > * { grid-column: 1; min-width: 0; }
	form.woocommerce-checkout > #order_review_heading { grid-column: 2; grid-row: 1; margin-top: 0; }
	form.woocommerce-checkout > #order_review { grid-column: 2; grid-row: 2 / -1; }
	form.woocommerce-checkout #customer_details .col-1,
	form.woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
	/* Cart: products on the left, totals with "Kreni na plaćanje" on the right. */
	.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 40px; align-items: start; }
	.woocommerce-cart .woocommerce > * { grid-column: 1 / -1; }
	.woocommerce-cart .woocommerce > .woocommerce-cart-form { grid-column: 1; }
	.woocommerce-cart .woocommerce > .cart-collaterals { grid-column: 2; }
	.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; }
}
@media (min-width: 701px) {
	/* The same bottom bar on laptops, its content in line with the page. */
	.cvit-co-bar.is-on {
		display: flex; position: fixed; z-index: 9990; left: 0; right: 0; bottom: 0; gap: 24px;
		align-items: center; justify-content: flex-end;
		padding: 10px max(24px, calc(50% - 590px));
		background: #fff; box-shadow: 0 -4px 16px rgba(31, 41, 51, 0.12);
	}
	.cvit-co-bar__total { font: 500 14px/1.2 Quicksand, sans-serif; color: var(--cvit-muted); text-align: right; }
	.cvit-co-bar__total strong { display: block; font-size: 20px; color: var(--cvit-ink); }
	.cvit-co-bar__btn {
		display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px !important; border: 0 !important; border-radius: 6px !important;
		background: var(--cvit-blue) !important; color: #fff !important; font: 700 16px/48px Quicksand, sans-serif !important;
		text-transform: none !important; letter-spacing: 0 !important; text-decoration: none !important; cursor: pointer;
	}
	.cvit-co-bar__btn:hover { background: var(--cvit-blue-dark) !important; }
	body.woocommerce-checkout, body.woocommerce-cart { padding-bottom: 76px; }
}

/* Ward delivery paused (cvit_ux_ward_paused). */
.cvit-ward-paused {
	margin: 12px 0 20px;
	padding: 12px 16px;
	border-left: 4px solid #b03a3a;
	background: #fbeaea;
	color: var(--cvit-ink);
	font: 500 15px/1.5 Quicksand, sans-serif;
}

/* Main menu: the dropdown arrow sits after the word, on its line, not pinned high into the last letter. */
@media (min-width: 1025px) {
	#site-navigation .primary-menu > li.menu-item-has-children > a { padding-right: clamp(5px, 0.55vw, 10px) !important; }
	#site-navigation .primary-menu > li.menu-item-has-children > a::after {
		position: static; display: inline-block; margin-left: 5px; vertical-align: middle;
		font-size: 0.8em; line-height: 1; transform: translateY(-1px);
	}
}

/* Product cards: the button closes the card, no empty strip under it (the wishlist wrapper is 0 high). */
body ul.products li.product { padding-bottom: 0 !important; }

/* Product description: lists start inside the text column, their bullets in line with the paragraphs' indent. */
.woocommerce-Tabs-panel--description ul,
.woocommerce-Tabs-panel--description ol,
.cvit-short-description ul,
.cvit-short-description ol { margin-left: 0 !important; padding-left: 1.4em !important; list-style-position: outside; }

/* Cart table on laptops: the product column takes the room, the remove, quantity and price columns only what they need. */
@media (min-width: 769px) {
	body.woocommerce-cart table.shop_table.cart { table-layout: auto !important; }
	body.woocommerce-cart table.shop_table.cart th.product-remove,
	body.woocommerce-cart table.shop_table.cart td.product-remove { width: 44px !important; padding-left: 8px !important; padding-right: 8px !important; text-align: center; }
	body.woocommerce-cart table.shop_table.cart th.product-quantity,
	body.woocommerce-cart table.shop_table.cart td.product-quantity { width: 84px !important; }
	body.woocommerce-cart table.shop_table.cart td.product-quantity .quantity input.qty { width: 60px !important; }
	body.woocommerce-cart table.shop_table.cart th.product-price,
	body.woocommerce-cart table.shop_table.cart td.product-price,
	body.woocommerce-cart table.shop_table.cart th.product-subtotal,
	body.woocommerce-cart table.shop_table.cart td.product-subtotal { width: 96px !important; white-space: nowrap; }
	body.woocommerce-cart table.shop_table.cart td.product-name { width: auto !important; word-break: normal; overflow-wrap: normal; hyphens: manual; }
}

/* Card titles: room on both sides, at most two lines (a longer name ends in "…"; the full name is on the product page). */
ul.products li.product .woocommerce-loop-product__title {
	padding-left: 16px !important; padding-right: 16px !important;
	display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
	height: 2.7em; padding-top: 0 !important; padding-bottom: 0 !important; margin: 12px 0 8px !important;   /* two lines exactly (line-height 1.35), so the prices of a row line up and no third line peeks out */
}
@media (max-width: 767px) {
	ul.products li.product .woocommerce-loop-product__title { padding-left: 8px !important; padding-right: 8px !important; }
}

/* Home hero: the title starts on the same line as the text under it. */
#cvit-hero .cvit-hero-title, #cvit-hero .cvit-hero-title .elementor-heading-title { text-align: left !important; }

/* Saving pill on narrow cards: wraps inside the card instead of running past its edge. */
li.product .cvit-saving { max-width: calc(100% - 12px); white-space: normal; text-align: center; box-sizing: border-box; }
li.product .cvit-saving small { white-space: nowrap; }
li.product .cvit-saving__amount { white-space: nowrap; }
@media (max-width: 767px) {
	/* Narrow cards: "Uštedite 10,00 €" on one line, "zasebno 85,00 €" under it. */
	li.product .cvit-saving small { display: block; }
	li.product .cvit-saving__dot { display: none; }
}

/* Mobile menu: the theme's hover dot of submenu links sits on the first letter, so none there. */
@media (max-width: 1024px) {
	.main-navigation ul ul li a::before { display: none !important; }
}

/* Category pages: intro above the products, text for Google under them (3. 11. 2026.) */
.cvit-cat-intro p { max-width: 720px; margin: 0 0 1.2em; }
.cvit-cat-text { max-width: 720px; margin: 2.5em 0 1em; }
.cvit-cat-text h2 { font-size: 1.35em; margin: 0 0 .5em; }
.cvit-cat-text h3 { font-size: 1.1em; margin: 1.2em 0 .4em; }
.cvit-cat-text ol { margin: 0 0 1em 1.2em; }

/* Guides: the closing button (5. 11. 2026.) */
.single-post .entry-content .cvit-guide-cta { margin: 2em 0 1.6em !important; text-align: center; }
.single-post .entry-footer { margin-top: 1.2em; }
.cvit-guide-cta a { display: inline-block; padding: 14px 26px; background: #486683; color: #fff !important; border-radius: 4px; font-weight: 600; text-decoration: none; }
.cvit-guide-cta a:hover, .cvit-guide-cta a:focus { background: #3a556e; }

/* Single posts on desktop: author and date in one line under the text, aligned with it, no grey
   avatar column beside the button (owner 5. 11. 2026.). */
.single-post .entry-footer .avatar { display: none !important; }
@media screen and (min-width: 61.5625em) {
	body.single-post:not(.search-results) article:not(.type-page) .entry-footer {
		float: right;
		clear: both;
		width: 100%;
		max-width: 68ch;          /* the same box as the text: 68ch at its 18px */
		font-size: 18px;
		margin-top: 2.5em;
		padding-top: 1em;
		border-top: 1px solid #eadfd8;
		display: flex;
		flex-wrap: wrap;
		gap: 0.3em 1.4em;
	}
	body.single-post:not(.search-results) article:not(.type-page) .entry-footer > span { display: inline !important; margin: 0 !important; font-size: 14px; }
}

/* Single posts: "Prethodna/Sljedeća" in the same column as the text, thin lines in the shop colour
   instead of the theme's thick black bars that ran wider than the text (owner 5. 11. 2026.). */
.single-post .post-navigation { border-top: 1px solid #eadfd8; border-bottom: 1px solid #eadfd8; }
.single-post .post-navigation div + div { border-top: 1px solid #eadfd8; }
.single-post .post-navigation a { padding: 1.2em 0; }
.single-post .post-navigation .post-title { font-size: 18px; line-height: 1.35; }
.single-post .post-navigation a:hover .post-title,
.single-post .post-navigation a:focus .post-title { color: #486683; }
@media screen and (min-width: 61.5625em) {
	body.single-post .post-navigation {
		font-size: 18px;           /* so 68ch matches the text box */
		max-width: 68ch;
		margin-left: auto !important;
		margin-right: 0 !important;
		margin-top: 0;
		border-top: 0;             /* the meta line above already has its rule */
		margin-bottom: 3.5em !important;
	}
	body.single-post .post-navigation .post-title { font-size: 20px; }
	body.single-post:not(.search-results) article:not(.type-page) .entry-footer { margin-bottom: 0; padding-bottom: 1em; border-bottom: 1px solid #eadfd8; }
	body.single-post .site-main > article { margin-bottom: 0; }
}

/* Product page bar (phones only), see ux.js. */
@media (min-width: 701px) { .cvit-co-bar--product.is-on { display: none !important; } }
@media (max-width: 700px) {
	body.single-product.cvit-has-pbar { padding-bottom: 76px; }
	.cvit-co-bar--product .cvit-co-bar__btn { font-size: 15px !important; padding: 0 16px !important; }
}

/* Card error repeated next to the card box (ux.js, 5. 11. 2026.). */
.cvit-pay-error { margin: 0 0 12px; padding: 12px 14px; border-left: 4px solid #b3261e; background: #fdecea; color: #7a1712; font-size: 15px; line-height: 1.4; border-radius: 4px; }

/* Home page text for Google (cvit-ux.php, 5. 11. 2026.). */
.cvit-home-seo { max-width: 760px; margin: 3em auto 2em; padding: 0 16px; font-size: 16px; line-height: 1.65; }
.cvit-home-seo h2 { font-size: 1.5em; margin: 0 0 .6em; text-align: center; }
.cvit-home-seo h3 { font-size: 1.15em; margin: 1.4em 0 .5em; }
.cvit-home-seo ul { margin: 0 0 1em 1.2em; }
.cvit-home-seo li { margin: .25em 0; }

/* Shop filters: colour + price (owner 6. 11. 2026.) */
.cvit-filters { margin: -8px 0 20px; display: grid; gap: 8px; }
.cvit-filters__row { display: flex; align-items: center; gap: 10px; }
.cvit-filters__label { flex: 0 0 56px; font: 700 13px Quicksand, sans-serif; color: #555; text-transform: uppercase; letter-spacing: .04em; }
.cvit-filters ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; flex: 1 1 auto; min-width: 0; }
.cvit-filters__row { min-width: 0; }
.cvit-filters a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid #d7d2cc; border-radius: 17px; background: #fff; color: #333 !important; font: 600 13px Quicksand, sans-serif; text-decoration: none !important; white-space: nowrap; }
.cvit-filters a:hover { border-color: var(--cvit-blue); }
.cvit-filters a[aria-current="true"] { border-color: var(--cvit-blue); background: var(--cvit-blue); color: #fff !important; }
.cvit-filters__dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: 0 0 auto; }
.cvit-filters__none { margin: 8px 0 24px; }
@media (max-width: 909px) {
	.cvit-filters__row { align-items: flex-start; }
	.cvit-filters__label { padding-top: 9px; flex-basis: 52px; }
	.cvit-filters ul { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-right: -16px; padding-bottom: 2px; }
	.cvit-filters ul::-webkit-scrollbar { display: none; }
}

/* Dekice: short facts under the price (owner 6. 11. 2026.) */
.woocommerce-product-details__short-description ul.cvit-dek-facts { list-style: none; margin: 10px 0 14px; padding: 0; }
.woocommerce-product-details__short-description ul.cvit-dek-facts li { margin: 0 0 6px; padding: 0; line-height: 1.45; }

/* Customer feedback ("Povratne informacije"): Trustpilot reviews + messages after delivery, parcel photo beside (below on phones) */
.cvit-msgs { max-width: 1100px; margin: 48px auto; padding: 0 16px; clear: both; }
.cvit-msgs h2 { font-family: Quicksand, sans-serif; font-size: clamp(22px, 3vw, 28px); font-weight: 700; color: var(--cvit-ink); text-align: center; margin: 0 0 6px; text-transform: none; letter-spacing: 0; text-wrap: balance; }
.cvit-msgs-lead { text-align: center; color: var(--cvit-muted); margin: 0 0 12px; font-size: 15px; }
.cvit-fb-badge { display: flex; width: fit-content; margin: 0 auto 28px; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; color: var(--cvit-ink); text-decoration: none; font-size: 15px; }
.cvit-fb-badge strong { color: var(--cvit-coral-text); font-size: 17px; }
.cvit-fb-badge span:last-child { color: var(--cvit-muted); text-decoration: underline; text-underline-offset: 3px; }
.cvit-fb-stars { color: #e39aa5; letter-spacing: 1px; font-size: 17px; line-height: 1; white-space: nowrap; }
.cvit-fb-stars .off { color: var(--cvit-line); }
.cvit-msgs-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cvit-msg-photo { margin: 0; position: relative; min-height: 260px; }
.cvit-msg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; border-radius: 18px; }
.cvit-msg-photo.is-grid { grid-column: 3; grid-row: 1 / span 2; }
.cvit-msg-photo.is-below { display: none; }
.cvit-msgs .cvit-msg { margin: 0 !important; background: var(--cvit-cream); border: 1px solid var(--cvit-line); border-radius: 18px 18px 18px 4px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.cvit-msgs .cvit-msg figcaption { margin-top: auto; }
.cvit-msg.is-tp { background: #fff; border-radius: 18px; }
.cvit-msg-tag { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cvit-sage-text); }
.cvit-msgs .cvit-msg-img { display: block; width: 100%; height: 160px !important; object-fit: cover; object-position: 50% 25%; border-radius: 12px; }
.cvit-msg blockquote { margin: 0; padding: 0; border: 0; font-style: normal; font-size: 16px; line-height: 1.55; color: var(--cvit-ink); quotes: none; background: none; }
.cvit-msg blockquote::before, .cvit-msg blockquote::after { content: none; }
.cvit-msg figcaption { font-size: 14px; color: var(--cvit-muted); }
.cvit-msg figcaption strong { color: var(--cvit-rose-text); font-weight: 700; }
.cvit-msg figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
	.cvit-msgs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cvit-msg-photo.is-grid { display: none; }
	.cvit-msg-photo.is-below { display: block; margin-top: 16px; min-height: 0; }
	.cvit-msg-photo.is-below img { position: static; aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) {
	.cvit-msgs { margin: 36px auto; }
	.cvit-msgs-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.cvit-msgs-list::-webkit-scrollbar { display: none; }
	.cvit-msgs .cvit-msg { flex: 0 0 82%; scroll-snap-align: center; }
	.cvit-msgs .cvit-msg-img { display: none; }
}

/* "Spremi košaricu" on the cart page (owner 11. 11. 2026.) */
.cvit-savecart { margin: 22px 0; padding: 16px 18px; border: 1px dashed #c9b8a8; border-radius: 12px; background: #fffaf6; }
.cvit-savecart__title { margin: 0 0 4px; font-weight: 700; font-size: 16px; color: #46597b; }
.cvit-savecart__text { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.cvit-savecart__row { display: flex; gap: 8px; flex-wrap: wrap; }
.cvit-savecart__row input { flex: 1 1 200px; min-width: 0; min-height: 44px; padding: 0 12px; font-size: 16px; border: 1px solid #d6cbc0; border-radius: 6px; background: #fff; }
.cvit-savecart__row .button { flex: 0 0 auto; min-height: 44px; margin: 0 !important; }
.cvit-savecart__note { margin: 8px 0 0; font-size: 12.5px; color: #8a8079; }
.cvit-savecart__msg { margin: 8px 0 0; font-size: 14px; }
.cvit-savecart__msg:empty { display: none; }
.cvit-savecart__msg.is-ok { color: #2f6b3a; font-weight: 600; }
.cvit-savecart__msg.is-err { color: #b3261e; }
@media (max-width: 480px) { .cvit-savecart__row .button { flex: 1 1 100%; } }
