/*
 * Shop polish (inc/shop-polish.php): product grids on phones, product page
 * trust row + add-to-cart row, search heading, empty results, 404.
 * Loaded after shop-layout.css / custom-product-card.css /
 * single-product-styles.css.
 */

/* ---------------------------------------------------------------- Shared buttons */

.msj-empty-actions .button,
.msj-404-actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border: 2px solid #f37a1f;
	border-radius: 999px;
	background: #f37a1f;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.msj-empty-actions .button:hover,
.msj-404-actions .button:hover {
	border-color: #d9650f;
	background: #d9650f;
	color: #fff;
}

.msj-empty-actions .button.msj-btn-ghost,
.msj-404-actions .button.msj-btn-ghost {
	border-color: #e5e7eb;
	background: #fff;
	color: #18202e;
}

.msj-empty-actions .button.msj-btn-ghost:hover,
.msj-404-actions .button.msj-btn-ghost:hover {
	border-color: #18202e;
	background: #fff;
	color: #18202e;
}

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

.msj-product-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 22px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid #eceef1;
	list-style: none;
}

.msj-product-trust li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: #6b7280;
	font-size: 13px;
	line-height: 1.4;
}

.msj-product-trust svg {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	padding: 8px;
	border-radius: 10px;
	background: #fff4ea;
	color: #f37a1f;
}

.msj-product-trust strong {
	display: block;
	color: #18202e;
	font-size: 13px;
	font-weight: 700;
}

.msj-product-trust a {
	color: #f37a1f;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 767px) {
	/* Quantity and "Dodaj u korpu" side by side, full width. */
	.single-product div.product .product-add-to-cart .cart {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 10px;
	}

	.single-product div.product .product-add-to-cart .quantity {
		flex: 0 0 auto;
		max-width: none;
		margin: 0;
	}

	.single-product div.product .product-add-to-cart .single_add_to_cart_button {
		flex: 1 1 auto;
		width: auto;
		margin: 0;
		padding: 12px 16px;
		white-space: nowrap;
	}

	.single-product div.product .product-add-to-cart .quantity input.qty {
		width: 44px;
	}

	.msj-product-trust {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		text-align: left;
	}

	.msj-product-trust li {
		align-items: center;
	}
}

/* ---------------------------------------------------------------- Product grids on phones: one per row */

@media (max-width: 767px) {
	body .site-main ul.products:not(.slick-slider) {
		gap: 12px;
	}

	body .site-main ul.products:not(.slick-slider).columns-1 li.product,
	body .site-main ul.products:not(.slick-slider).columns-2 li.product,
	body .site-main ul.products:not(.slick-slider).columns-3 li.product,
	body .site-main ul.products:not(.slick-slider).columns-4 li.product,
	body .site-main ul.products:not(.slick-slider).columns-5 li.product {
		width: 100% !important;
		margin-right: 0 !important;
	}

	body .site-main ul.products .custom-product-card {
		padding: 10px;
		border-radius: 14px;
		box-shadow: 0 2px 12px rgba(24, 32, 46, 0.07);
	}

	/* A full-width card: fixed-height image box instead of a full-width
	   square (the images inside are absolute, object-fit: contain). */
	body .site-main ul.products .custom-product-images {
		height: 220px;
		margin-bottom: 10px;
		aspect-ratio: auto;
	}

	body .site-main ul.products .custom-product-title {
		margin-bottom: 6px;
		font-size: 15px;
		line-height: 1.35;
	}

	body .site-main ul.products .custom-product-brand {
		margin-bottom: 8px;
		font-size: 12px;
	}

	body .site-main ul.products .custom-product-price {
		margin-bottom: 10px;
		font-size: 18px;
	}

	body .site-main ul.products .custom-product-price del {
		font-size: 13px;
	}

	body .site-main ul.products .custom-add-to-cart {
		margin-bottom: 8px;
	}

	body .site-main ul.products .custom-add-to-cart .button,
	body .site-main ul.products .custom-add-to-cart .added_to_cart {
		padding: 11px 8px;
		font-size: 13px;
		letter-spacing: 0.2px;
	}

	body .site-main ul.products .custom-product-card .custom-product-sku {
		font-size: 12px;
	}

	body .site-main ul.products .custom-product-card .onsale {
		top: 8px;
		left: 8px;
		padding: 3px 9px;
		font-size: 10px;
	}
}

/* ---------------------------------------------------------------- Layout shift (CLS) */

/* FacetWP fills the "Vrsta Marka Model" bar and inc/facetwp.php wraps it in a
   dark box only after page load, which pushed the product grid ~90px down.
   Reserve the same box while the facet is still empty. */
header.woocommerce-products-header ~ .facetwp-facet-vrsta_marka_model:empty {
	min-height: 136px;
	border-radius: 10px;
	background: #18202e;
}

@media (min-width: 768px) {
	header.woocommerce-products-header ~ .facetwp-facet-vrsta_marka_model:empty {
		min-height: 96px;
	}
}

@media (min-width: 1025px) {
	header.woocommerce-products-header ~ .facetwp-facet-vrsta_marka_model:empty {
		min-height: 91px;
	}
}

/* ---------------------------------------------------------------- Search results */

/* The category banner (title + description at the bottom of the grid) has
   nothing to show on search — the heading above the grid replaces it. */
body.search .site-main header.woocommerce-products-header {
	display: none;
}

.msj-search-head {
	margin: 0 0 16px;
}

.msj-search-head h1 {
	margin: 0;
	color: #18202e;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.3;
}

.msj-search-head h1 span {
	color: #c2410c; /* brand orange darkened for AA contrast on the light page. */
}

.msj-search-head p {
	margin: 4px 0 0;
	color: #6b7280;
	font-size: 14px;
}

@media (max-width: 767px) {
	.msj-search-head {
		margin-top: 12px;
		text-align: center;
	}

	.msj-search-head h1 {
		font-size: 21px;
	}
}

/* ---------------------------------------------------------------- Empty results */

.msj-empty-results {
	margin: 10px 0 30px;
	padding: 32px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(24, 32, 46, 0.05), 0 8px 24px rgba(24, 32, 46, 0.07);
	color: #18202e;
}

.msj-empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: #fff4ea;
	color: #f37a1f;
}

.msj-empty-results h2 {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
}

.msj-empty-results ul {
	margin: 0 0 20px 18px;
	color: #6b7280;
	font-size: 15px;
}

.msj-empty-results li {
	margin-bottom: 4px;
}

.msj-empty-actions,
.msj-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.msj-empty-help,
.msj-404-help {
	margin: 18px 0 0;
	color: #6b7280;
	font-size: 14px;
}

.msj-empty-help a,
.msj-404-help a {
	color: #18202e;
	font-weight: 700;
	text-decoration: none;
}

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

body.error404 #primary.msj-404 {
	float: none;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 32px 0 48px;
}

.msj-404 .site-main {
	width: 100%;
}

.msj-404-hero {
	padding: 44px 40px;
	border-radius: 20px;
	background: #18202e;
	color: #c8ccd4;
	text-align: center;
}

.msj-404-hero .msj-404-code {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	text-align: center;
	color: #f37a1f;
	font-size: 96px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -2px;
}

.msj-404-hero h1 {
	margin: 10px 0 8px;
	color: #fff;
	font-size: 30px;
	font-weight: 700;
}

.msj-404-hero > p {
	max-width: 520px;
	margin: 0 auto 22px;
	font-size: 16px;
}

.msj-404-search {
	max-width: 560px;
	margin: 0 auto 22px;
}

.msj-404-actions {
	justify-content: center;
}

.msj-404-actions .button.msj-btn-ghost {
	border-color: rgba(255, 255, 255, 0.25);
	background: transparent;
	color: #fff;
}

.msj-404-actions .button.msj-btn-ghost:hover {
	border-color: #fff;
	background: transparent;
	color: #fff;
}

.msj-404-cats {
	margin-top: 28px;
}

.msj-404-cats h2 {
	margin: 0 0 14px;
	color: #18202e;
	font-size: 20px;
	font-weight: 700;
}

.msj-404-cats ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.msj-404-cats li {
	margin: 0;
}

.msj-404-cats a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	height: 100%;
	padding: 14px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	color: #18202e;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}

.msj-404-cats a:hover {
	border-color: #f37a1f;
	color: #f37a1f;
}

.msj-404-cats small {
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f6f7f9;
	color: #6b7280;
	font-size: 12px;
}

.msj-404-help {
	text-align: center;
}

@media (max-width: 767px) {
	body.error404 #primary.msj-404 {
		padding: 16px 0 32px;
	}

	.msj-404-hero {
		padding: 30px 20px;
	}

	.msj-404-hero .msj-404-code {
		font-size: 72px;
	}

	.msj-404-hero h1 {
		font-size: 24px;
	}

	.msj-404-cats ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.msj-empty-results {
		padding: 22px;
	}
}

/* ---------------------------------------------------------------- Enquiry form honeypot (inc/ajax-handlers.php) */

.msj-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------------------------------------------------------------- Product grid: minimum card width */

/* Shop / category / brand / search lists (the FacetWP loop). Cards never get
   narrower than 250px: when four don't fit, the grid drops to three, then
   two. The column switcher (1–4) still sets the maximum. Phones keep the
   one-per-row rules above. */
@media (min-width: 768px) {
	body .site-main ul.products.facetwp-template {
		--msj-card-min: 250px;
		--msj-gap: 20px;
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(max(var(--msj-card-min), calc((100% - 3 * var(--msj-gap)) / 4)), 1fr));
		gap: var(--msj-gap);
	}

	body .site-main ul.products.facetwp-template.columns-3 {
		grid-template-columns: repeat(auto-fill, minmax(max(var(--msj-card-min), calc((100% - 2 * var(--msj-gap)) / 3)), 1fr));
	}

	body .site-main ul.products.facetwp-template.columns-2 {
		grid-template-columns: repeat(auto-fill, minmax(max(var(--msj-card-min), calc((100% - var(--msj-gap)) / 2)), 1fr));
	}

	body .site-main ul.products.facetwp-template.columns-1 {
		grid-template-columns: minmax(0, 1fr);
	}

	body .site-main ul.products.facetwp-template.columns-1 li.product,
	body .site-main ul.products.facetwp-template.columns-2 li.product,
	body .site-main ul.products.facetwp-template.columns-3 li.product,
	body .site-main ul.products.facetwp-template.columns-4 li.product,
	body .site-main ul.products.facetwp-template.columns-5 li.product {
		width: auto !important;
		min-width: 0;
		margin: 0 !important;
		float: none;
	}

	/* Clearfix pseudo-elements would take grid cells. */
	body .site-main ul.products.facetwp-template::before,
	body .site-main ul.products.facetwp-template::after {
		display: none;
	}
}

/* Column switcher: options that don't fit at this width (assets/js/shop-layout.js). */
.shop-column-switcher button.is-unavailable,
.shop-column-switcher button:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* ---------------------------------------------------------------- Vrsta / Marka / Model bar on phones: compact */

@media (max-width: 767px) {
	header.woocommerce-products-header ~ .facet-wrap {
		gap: 10px;
		padding: 20px;
		border-radius: 12px;
	}

	header.woocommerce-products-header ~ .facet-wrap h3.facet-label {
		width: 100%;
		margin: 0;
		font-size: 15px;
		font-weight: 600;
	}

	/* Vrsta, Marka and Model one below the other. */
	header.woocommerce-products-header ~ .facet-wrap .facetwp-facet.facetwp-facet-vrsta_marka_model {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		width: 100%;
		margin: 0;
	}

	/* 16px font keeps iPhone from zooming in when a field is tapped. */
	body.archive header.woocommerce-products-header ~ .facet-wrap .facetwp-facet-vrsta_marka_model select,
	header.woocommerce-products-header ~ .facet-wrap .facetwp-facet-vrsta_marka_model select {
		width: 100%;
		min-width: 0;
		height: 40px;
		padding: 0 28px 0 12px;
		border-radius: 999px;
		font-size: 16px;
		line-height: 40px;
	}

	/* Space kept while FacetWP builds the bar (no layout shift). */
	header.woocommerce-products-header ~ .facetwp-facet-vrsta_marka_model:empty {
		min-height: 214px;
	}
}

/* ---------------------------------------------------------------- Product page: summary */

.single-product .product-info-column .product-title {
	margin: 6px 0 12px;
	color: #18202e;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
}

.msj-product-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
}

.msj-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 12px;
	border-radius: 999px;
	background: #f1f3f6;
	color: #5b6472;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}

.msj-badge strong {
	color: #18202e;
	font-weight: 700;
}

a.msj-badge--brand {
	border: 1px solid #f37a1f;
	background: #fff;
	color: #d9650f;
	font-weight: 700;
	text-transform: uppercase;
}

a.msj-badge--brand:hover {
	background: #fff4ea;
	color: #d9650f;
}

.msj-badge--in,
.msj-badge--out,
.msj-badge--backorder {
	gap: 6px;
	font-weight: 600;
}

.msj-badge--in::before,
.msj-badge--out::before,
.msj-badge--backorder::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.msj-badge--in {
	background: #ecfdf3;
	color: #15803d;
}

.msj-badge--out {
	background: #fef2f2;
	color: #b91c1c;
}

.msj-badge--backorder {
	background: #fefce8;
	color: #a16207;
}

/* Price with the note under it. */
.single-product .product-info-column .product-price {
	margin: 0 0 20px;
	padding: 14px 18px;
	border-radius: 14px;
	background: #f6f7f9;
}

.single-product .product-info-column .product-price .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 0;
	color: #f37a1f;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.single-product .product-info-column .product-price .price del {
	color: #9aa3b2;
	font-size: 16px;
	font-weight: 500;
}

.single-product .product-info-column .product-price .price ins,
.single-product .product-info-column .product-price .price ins .amount,
.single-product .product-info-column .product-price .price > .amount {
	font-weight: 700;
	text-decoration: none;
}

.single-product .product-info-column .product-price .woocommerce-price-suffix {
	color: #6b7280;
	font-size: 14px;
	font-weight: 500;
}

body.single-product div.product .product-price p.msj-price-note {
	margin: 6px 0 0;
	color: #6b7280;
	font-size: 13px;
}

/* Quantity + add to cart: one tall row. */
.single-product div.product .product-add-to-cart .cart {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 12px;
}

.single-product div.product .product-add-to-cart .quantity {
	flex: 0 0 auto;
	height: 52px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #fff;
}

.single-product div.product .product-add-to-cart .quantity .qty-btn {
	width: 44px;
	height: 100%;
	border: 0;
	background: none;
	color: #18202e;
	font-size: 20px;
	font-weight: 600;
}

.single-product div.product .product-add-to-cart .quantity .qty-btn:hover {
	background: #f6f7f9;
}

.single-product div.product .product-add-to-cart .quantity input.qty {
	width: 48px;
	height: 100%;
	border: 0;
	background: none;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
}

.single-product div.product .product-add-to-cart .single_add_to_cart_button {
	flex: 1 1 auto;
	height: 52px;
	margin: 0;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
}

/* "Imate pitanje o ovom proizvodu? Pošaljite upit" */
.msj-enquiry-line {
	margin: 14px 0 0;
	color: #6b7280;
	font-size: 14px;
}

body.single-product button#open-enquiry-popup {
	display: inline;
	max-width: none;
	margin: 0 0 0 2px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: #d9650f;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

body.single-product button#open-enquiry-popup:hover {
	background: none;
	color: #18202e;
}

/* ---------------------------------------------------------------- Product page: tabs (desktop) */

/* The tab button already names the section ("Odgovara za" keeps its heading). */
.custom-product-tabs .tab-content:not(#odgovara-za) > h3:first-child {
	display: none;
}

@media (min-width: 768px) {
	.custom-product-tabs .tabs-navigation {
		display: flex;
		justify-content: flex-start;
		gap: 4px;
		margin: 0 0 20px;
		padding: 0;
		border-bottom: 1px solid #e5e7eb;
	}

	.custom-product-tabs .tabs-navigation .tab-button {
		flex: 0 0 auto;
		width: auto;
		margin: 0 0 -1px;
		padding: 12px 18px;
		border: 0;
		border-bottom: 2px solid transparent;
		border-radius: 0;
		background: none;
		color: #6b7280;
		font-size: 15px;
		font-weight: 600;
		box-shadow: none;
	}

	.custom-product-tabs .tabs-navigation .tab-button:hover {
		background: none;
		color: #18202e;
	}

	.custom-product-tabs .tabs-navigation .tab-button.active {
		border-bottom-color: #f37a1f;
		background: none;
		color: #18202e;
	}
}

.custom-product-tabs .tab-content {
	color: #3c4450;
	font-size: 15px;
	line-height: 1.65;
}

/* Specification table. */
.custom-product-tabs table.shop_attributes {
	width: 100%;
	max-width: 820px;
	border: 1px solid #eef0f3;
	border-collapse: separate;
	border-radius: 12px;
	overflow: hidden;
}

.custom-product-tabs table.shop_attributes th,
.custom-product-tabs table.shop_attributes td {
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid #eef0f3;
	background: #fff;
	font-size: 14px;
	font-style: normal;
	text-align: left;
}

.custom-product-tabs table.shop_attributes tr:nth-child(even) th,
.custom-product-tabs table.shop_attributes tr:nth-child(even) td {
	background: #f9fafb;
}

.custom-product-tabs table.shop_attributes th {
	width: 40%;
	color: #6b7280;
	font-weight: 500;
}

.custom-product-tabs table.shop_attributes td {
	color: #18202e;
	font-weight: 600;
}

.custom-product-tabs table.shop_attributes td p {
	margin: 0;
}

.custom-product-tabs table.shop_attributes tr:last-child th,
.custom-product-tabs table.shop_attributes tr:last-child td {
	border-bottom: 0;
}

@media (max-width: 767px) {
	.single-product .product-info-column .product-title {
		font-size: 22px;
	}

	.single-product .product-info-column .product-price .price {
		font-size: 22px;
	}

	.single-product div.product .product-add-to-cart .quantity,
	.single-product div.product .product-add-to-cart .single_add_to_cart_button {
		height: 48px;
	}

	.single-product div.product .product-add-to-cart .quantity .qty-btn {
		width: 36px;
	}

	.single-product div.product .product-add-to-cart .quantity input.qty {
		width: 36px;
	}

	.single-product div.product .product-add-to-cart .single_add_to_cart_button {
		min-width: 0;
		padding: 0 14px;
		font-size: 15px;
	}
}

/* ---------------------------------------------------------------- Product card: brand · name · price · button · code */

/* The name takes the free space, so price, button and code line up at the
   bottom of every card in a row. */
body .custom-product-card .custom-product-images {
	margin-bottom: 14px;
}

body .custom-product-card .custom-product-brand {
	flex: 0 0 auto;
	margin: 0 0 8px;
}

body .custom-product-card .custom-product-title {
	flex: 1 0 auto;
	margin: 0 0 10px;
}

body .custom-product-card .custom-product-price {
	margin: 0 0 14px;
}

body .custom-product-card .custom-add-to-cart {
	margin: 0;
}

body .custom-product-card .custom-product-sku {
	flex: 0 0 auto;
	margin: 8px 0 0;
	padding: 0;
	border-radius: 0;
	background: none;
	color: #8b93a1;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.4;
	text-align: center;
	overflow-wrap: anywhere;
}

body .custom-product-card .custom-product-sku strong {
	color: #5b6472;
	font-weight: 600;
	letter-spacing: 0;
}

/* ---------------------------------------------------------------- Product page: "Odgovara za" (same layout, refined) */

/* Tabs bar: no scrollbar showing next to the tabs. */
.custom-product-tabs .tabs-navigation {
	scrollbar-width: none;
}

.custom-product-tabs .tabs-navigation::-webkit-scrollbar {
	display: none;
}

.custom-product-tabs #odgovara-za > h3 {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 600;
}

.custom-product-tabs .odg-vrsta {
	margin: 0 0 8px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.15s;
}

.custom-product-tabs .odg-vrsta.open {
	border-color: #f7c9a3;
}

.custom-product-tabs .odg-vrsta-toggle {
	margin: 0;
	padding: 12px 44px 12px 16px;
	border-radius: 0;
	background: #f6f7f9;
	color: #18202e;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.3;
}

.custom-product-tabs .odg-vrsta-toggle:hover {
	background: #eef0f3;
}

.custom-product-tabs .odg-vrsta.open .odg-vrsta-toggle {
	border-radius: 0;
	background: #fff4ea;
	color: #b4530f;
}

.custom-product-tabs .odg-vrsta-toggle .toggle-icon {
	right: 16px;
	color: #8b93a1;
	font-size: 10px;
}

.custom-product-tabs .odg-vrsta.open .toggle-icon {
	color: #d9650f;
}

.custom-product-tabs .odg-vrsta-content {
	padding: 4px 16px 14px;
}

/* Brand name, then its models as small chips. */
.custom-product-tabs .odg-vrsta-content h4 {
	margin: 12px 0 6px;
	color: #18202e;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.custom-product-tabs .odg-vrsta-content .odg-model {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 4px;
	padding: 0;
}

.custom-product-tabs .odg-vrsta-content .odg-model:empty {
	display: none;
}

.custom-product-tabs .odg-vrsta-content .odg-marka {
	margin: 0;
	padding: 4px 10px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #f9fafb;
	color: #3c4450;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
}

.custom-product-tabs .odg-vrsta-content .odg-marka a {
	color: inherit;
	text-decoration: none;
}

.custom-product-tabs .odg-vrsta-content .odg-marka:hover {
	border-color: #f37a1f;
	color: #d9650f;
}
