/* ==========================================================================
   Sejkan Woo Televizori — glavni CSS
   Header/nav portovan 1:1 iz televizori-custom-header plugina (tv-* klase).
   ========================================================================== */

/* --- Reset u okviru headera (kao original) --- */
.tv-custom-header *,
.tv-footer * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* --- Container --- */
.tv-container {
	width: 100%;
	max-width: 1350px;
	margin: 0 auto;
	padding: 0 15px;
}

/* --- Sister sites traka --- */
.tv-sister-sites {
	height: 35px;
	background-color: #f9fafa;
	border-bottom: 1px solid #e5e5e5;
	padding: 3px 0;
}

.tv-sister-links { display: flex; flex-wrap: wrap; }

.tv-sister-links a {
	color: #2b3b49;
	font-size: 12px;
	text-decoration: none;
	padding: 2px 10px 2px 0;
	display: inline-block;
}

.tv-sister-links a.active { font-weight: 600; }
.tv-sister-links a:hover { text-decoration: underline; }

/* --- Glavni header --- */
.tv-main-header {
	background-color: #fff;
	padding: 15px 0;
}

.tv-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.tv-logo { flex: 0 0 230px; max-width: 230px; }
.tv-logo img { max-width: 100%; height: auto; display: block; }

/* --- Pretraga (vizuelno kao FiboSearch) --- */
.tv-search-bar {
	flex: 1;
	padding: 0 20px;
	max-width: 500px;
}

.tv-search-form { position: relative; max-width: 600px; }

.tv-search-form input[type="search"] {
	width: 100%;
	height: 40px;
	background: #fff;
	color: #000;
	border: 1px solid #ddd;
	border-radius: 3px;
	padding: 10px 15px 10px 40px;
	font-size: 14px;
	appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tv-search-form input[type="search"]:focus {
	outline: none;
	border-color: #1e90ff;
	box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12);
}

.tv-search-form input[type="search"]::placeholder { color: #999; opacity: 1; }

.tv-search-icon {
	position: absolute;
	left: 13px;
	top: 20px;
	transform: translateY(-50%);
	color: #999;
	display: flex;
	pointer-events: none;
}

/* AJAX rezultati pretrage */
.tv-search-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	box-shadow: 0 18px 40px -12px rgba(20, 23, 26, 0.22);
	z-index: 400;
	overflow: hidden;
	max-height: min(430px, 70vh);
	overflow-y: auto;
}

.tv-search-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 12px;
	text-decoration: none;
	border-bottom: 1px solid #f4f5f9;
	transition: background-color 0.12s ease;
}

.tv-search-item:hover,
.tv-search-item.is-active { background: #f7fbfe; }

.tv-search-item img,
.tv-search-noimg {
	width: 44px;
	height: 44px;
	object-fit: contain;
	flex: 0 0 44px;
	background: #f9fafa;
	border-radius: 6px;
}

.tv-search-item__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.tv-search-item__title {
	color: #2b3b49;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.tv-search-item__price { color: #14171a; font-size: 13px; font-weight: 700; }
.tv-search-item__price del { color: #aab8c2; font-weight: 400; margin-right: 6px; }

.tv-search-more,
.tv-search-empty {
	display: block;
	padding: 11px 12px;
	text-align: center;
	font-size: 13px;
	color: #1e90ff;
	font-weight: 600;
	text-decoration: none;
}

.tv-search-more:hover { background: #f7fbfe; }
.tv-search-empty { color: #888; font-weight: 400; }

/* --- Desni dio headera --- */
.tv-header-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
}

.tv-phone { margin-right: 20px; }

.tv-phone a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #2b3b49;
}

.tv-phone-info { display: flex; flex-direction: column; }
.tv-phone-number { font-weight: 600; font-size: 16px; color: #2b3b49; }
.tv-phone-hours { font-size: 11px; color: #888; }

.tv-user-login { display: flex; align-items: center; margin-right: 20px; }

.tv-login-icon {
	width: 36px;
	height: 36px;
	background-color: #f5f5f5;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 8px;
	color: #2b3b49;
	flex: 0 0 36px;
}

.tv-phone .tv-login-icon {
	background-color: #2b3b49;
	color: #fff;
}

.tv-login-info { display: flex; flex-direction: column; font-size: 12px; }
.tv-login-title { color: #888; }
.tv-login-links { display: flex; }

.tv-login-link,
.tv-register-link,
.tv-account-link {
	color: #2b3b49;
	text-decoration: none;
	font-weight: 600;
}

.tv-login-link:hover,
.tv-register-link:hover,
.tv-account-link:hover { color: #3fb0bf; }

/* --- Korpa --- */
.tv-cart { position: relative; }

.tv-cart-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background-color: #f5f5f5;
	border-radius: 50%;
	color: #2b3b49;
	text-decoration: none;
	font-size: 15px;
	position: relative;
}

.tv-cart-link:hover { background-color: #e5e5e5; }

.tv-cart-count {
	position: absolute;
	top: -5px;
	right: -5px;
	background-color: #bb4340;
	color: #fff;
	font-size: 10px;
	font-weight: bold;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* --- Glavna navigacija (sticky) --- */
.tv-main-nav {
	background-color: #fff;
	position: sticky;
	top: 0;
	z-index: 300;
	border-bottom: 3px solid #1e90ff;
	transition: box-shadow 0.2s ease;
}

.tv-main-nav.is-stuck { box-shadow: 0 6px 18px -8px rgba(20, 23, 26, 0.2); }

.tv-navigation { position: relative; display: flex; }

.tv-menu {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
	width: 100%;
}

.tv-menu li { position: relative; margin-right: 20px; }

.tv-menu > li > a {
	color: #474747;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	padding: 15px;
	display: block;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.tv-menu > li:first-child > a { padding-left: 0; }
.tv-menu > li > a:hover { color: #000; }
.tv-menu li.current-menu-item > a { color: #474747; }

/* Aktivna stavka: plavi underline indikator */
.tv-menu > li > a { position: relative; }

.tv-menu > li > a::after {
	content: '';
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 0;
	height: 3px;
	background: #1e90ff;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.tv-menu > li:first-child > a::after { left: 0; }

.tv-menu > li:hover > a::after,
.tv-menu > li.current-menu-item > a::after,
.tv-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }

/* --- Mega meni panel --- */
.tv-menu li.has-mega--wide { position: static; }

.tv-mega-panel {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 200;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-top: 0;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 18px 40px -12px rgba(20, 23, 26, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	padding: 26px 30px 20px;
}

.has-mega--wide .tv-mega-panel { right: 0; }
.has-mega--compact .tv-mega-panel { min-width: 240px; }

.tv-menu li:hover > .tv-mega-panel,
.tv-menu li:focus-within > .tv-mega-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tv-mega-inner {
	display: flex;
	gap: 48px;
	max-width: 1320px;
	margin: 0 auto;
}

.tv-mega-group { min-width: 160px; }

.tv-mega-group h5 {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2b3b49;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid #1e90ff;
	display: inline-block;
}

.tv-mega-group ul { list-style: none; }

.tv-mega-group li { margin-bottom: 2px; }

.tv-mega-group a {
	display: block;
	padding: 7px 10px;
	margin-left: -10px;
	color: #474747;
	font-size: 14px;
	text-decoration: none;
	border-radius: 6px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.tv-mega-group a:hover { color: #1e90ff; background: #f7fbfe; }

.tv-mega-all {
	display: flex;
	align-items: flex-end;
	margin-left: auto;
}

.tv-mega-all a {
	color: #1e90ff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	padding: 7px 12px;
	border-radius: 6px;
	transition: background-color 0.15s ease;
}

.tv-mega-all a:hover { background: #f7fbfe; }

.has-mega--compact .tv-mega-all { display: none; }

/* Klasični fallback podmeni (ako stavka ima djecu bez mega configa) */
.tv-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 18px 40px -12px rgba(20, 23, 26, 0.18);
	list-style: none;
	padding: 6px 0;
	z-index: 200;
}

.tv-menu li:hover > .sub-menu,
.tv-menu li:focus-within > .sub-menu { display: block; }

.tv-menu .sub-menu li { margin: 0; }

.tv-menu .sub-menu a {
	display: block;
	padding: 9px 16px;
	color: #474747;
	font-size: 14px;
	text-decoration: none;
}

.tv-menu .sub-menu a:hover { color: #1e90ff; background: #f7fbfe; }

/* --- Mobilni toggle (u gornjem redu headera) --- */
.tv-mobile-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 0 8px;
	cursor: pointer;
	background: #f5f5f5;
	border: 0;
	border-radius: 50%;
	flex: 0 0 40px;
}

.tv-mobile-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	border-radius: 2px;
	background-color: #2b3b49;
	transition: all 0.3s ease;
}

.tv-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.tv-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.tv-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Drawer meni (mobilni) --- */
.tv-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 23, 26, 0.5);
	z-index: 500;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.tv-drawer-overlay.active { opacity: 1; }

.tv-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(320px, 86vw);
	background: #fff;
	z-index: 510;
	transform: translateX(-102%);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	display: flex;
	flex-direction: column;
	box-shadow: 12px 0 40px rgba(20, 23, 26, 0.18);
}

.tv-drawer.active { transform: translateX(0); }

.tv-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	border-bottom: 1px solid #e5e5e5;
}

.tv-drawer__head img { width: 150px; height: auto; }

.tv-drawer__close {
	background: #f5f5f5;
	border: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: #2b3b49;
	cursor: pointer;
}

.tv-drawer__nav { flex: 1; overflow-y: auto; padding: 8px 0; }

.tv-mobile-menu { list-style: none; margin: 0; padding: 0; }

.tv-mobile-menu > li { border-bottom: 1px solid #f4f5f9; }
.tv-mobile-menu > li:last-child { border-bottom: none; }

.tv-mobile-menu li a {
	color: #2b3b49;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	display: block;
	padding: 13px 18px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.tv-mobile-menu li a:active,
.tv-mobile-menu li a:hover { background: #f7fbfe; color: #1e90ff; }

.tv-mobile-menu .menu-item-has-children > a {
	position: relative;
	padding-right: 44px;
}

.tv-mobile-menu .menu-item-has-children > a::after {
	content: '';
	position: absolute;
	right: 20px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #aab8c2;
	border-bottom: 2px solid #aab8c2;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
}

.tv-mobile-menu .menu-item-has-children.submenu-open > a::after {
	transform: translateY(-30%) rotate(225deg);
}

.tv-mobile-menu .sub-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 4px 0 8px;
	background: #f9fafa;
}

.tv-mobile-menu .sub-menu.active { display: block; }

.tv-mobile-menu .sub-menu li a {
	color: #5b6370;
	font-size: 14px;
	font-weight: 400;
	padding: 10px 18px 10px 32px;
}

.tv-mobile-menu .menu-item-has-children.submenu-open > a { color: #1e90ff; }

.tv-drawer__foot {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 14px 16px;
	border-top: 1px solid #e5e5e5;
}

.tv-drawer__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 10px;
	border-radius: 8px;
	background: #f4f5f9;
	color: #2b3b49;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.tv-drawer__btn--phone { background: #1e90ff; color: #fff; }

/* ==========================================================================
   Kartica proizvoda (swt-card) + Woo grid
   ========================================================================== */

.swt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #e9e9ef;
	border-radius: 15px;
	padding: 15px;
	box-shadow: 0 2px 8px rgba(20, 23, 26, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.swt-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(20, 23, 26, 0.16);
}

.swt-card__labels {
	position: absolute;
	top: 10px;
	left: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.swt-label {
	display: inline-block;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	padding: 5px 8px;
	border-radius: 0 4px 4px 0;
}

.swt-label--blue { background: #1379d4; }
.swt-label--red { background: #f00; }
.swt-label--black { background: #000; }

.swt-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	margin: 6px auto 10px;
	width: 88%;
}

.swt-card__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.25s ease;
}

.swt-card:hover .swt-card__img { transform: scale(1.03); }

.swt-card__title {
	margin: 0 0 6px;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
	text-transform: uppercase;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}

.swt-card__title a { color: #14171a; text-decoration: none; }
.swt-card__title a:hover { color: #1379d4; }

.swt-card__desc {
	margin: 0;
	color: #666;
	font-size: 12.5px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.swt-card__spacer {
	flex: 1;
	border-bottom: 1px solid #e5e5e5;
	margin: 10px 0;
}

.swt-card__footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
}

.swt-card__prices { display: flex; flex-direction: column; }

.swt-card__price-old {
	color: #aab8c2;
	font-size: 13px;
	text-decoration: line-through;
}

.swt-card__price {
	color: #14171a;
	font-size: 16px;
	font-weight: 700;
}

.swt-card__price--sale { color: #f00; }

.swt-card__more {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	border: 2px solid #aab8c2;
	border-radius: 50%;
	color: #aab8c2;
	font-size: 16px;
	font-weight: 700;
	font-style: italic;
	font-family: Georgia, serif;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.swt-card__more:hover { color: #1379d4; border-color: #1379d4; }

/* Woo products grid override */
.woocommerce ul.products,
ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}

.woocommerce ul.products li.product,
ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Woo clearfix pseudo-elementi ne smiju postati grid ćelije */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after { content: none !important; display: none !important; }

@media (max-width: 1199px) {
	.woocommerce ul.products,
	ul.products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
	.woocommerce ul.products,
	ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }

	.swt-card { padding: 10px; border-radius: 12px; }
	.swt-card__title { font-size: 12.5px; }
	.swt-card__price { font-size: 15px; }
}

/* ==========================================================================
   Shop layout: breadcrumb, sidebar filteri, toolbar, paginacija
   ========================================================================== */

.swt-breadcrumb {
	font-size: 12px;
	color: #888;
	padding: 14px 0 4px;
}

.swt-breadcrumb a { color: #888; text-decoration: none; }
.swt-breadcrumb a:hover { color: #1e90ff; }
.swt-bc-sep { margin: 0 4px; color: #ccc; }

.swt-shop {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 30px;
	align-items: start;
	padding: 10px 0 40px;
}

.swt-shop__sidebar-head { display: none; }

.swt-shop__title {
	font-size: 26px;
	font-weight: 700;
	color: #14171a;
	margin: 0 0 4px;
}

.swt-shop__desc { color: #666; font-size: 14px; margin-bottom: 10px; max-width: 900px; }

.swt-shop__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 10px 0 18px;
	padding: 10px 14px;
	background: #f9fafa;
	border: 1px solid #eef0f4;
	border-radius: 10px;
}

.swt-shop__count { color: #888; font-size: 13px; margin: 0; flex: 1; }

.woocommerce-ordering { margin: 0; }

.woocommerce-ordering select,
select.orderby {
	appearance: none;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") no-repeat right 12px center;
	padding: 9px 32px 9px 12px;
	font-size: 13px;
	color: #474747;
	cursor: pointer;
}

.swt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 8px;
	background: #1e90ff;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 18px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.swt-btn:hover { background: #1379d4; }
.swt-btn:active { transform: scale(0.98); }
.swt-btn--small { padding: 8px 12px; font-size: 13px; }

.swt-btn--outline {
	background: #fff;
	color: #2b3b49;
	border: 1px solid #ddd;
}

.swt-btn--outline:hover { background: #f7fbfe; border-color: #1e90ff; color: #1e90ff; }

.swt-filters-toggle { display: none; }

/* Filteri */
.swt-filters__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 12px;
}

.swt-filters__head h3 {
	font-size: 17px;
	font-weight: 700;
	color: #14171a;
	margin: 0;
}

.swt-filters__reset { font-size: 12px; color: #f45d22; text-decoration: none; }
.swt-filters__reset:hover { text-decoration: underline; }

.swt-filter-group {
	border: 1px solid #eef0f4;
	border-radius: 10px;
	background: #fff;
	margin-bottom: 10px;
	overflow: hidden;
}

.swt-filter-group summary {
	list-style: none;
	cursor: pointer;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 700;
	color: #2b3b49;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	position: relative;
	user-select: none;
}

.swt-filter-group summary::-webkit-details-marker { display: none; }

.swt-filter-group summary::after {
	content: '';
	position: absolute;
	right: 16px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 2px solid #aab8c2;
	border-bottom: 2px solid #aab8c2;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
}

.swt-filter-group[open] summary::after { transform: translateY(-30%) rotate(225deg); }

.swt-filter-list {
	list-style: none;
	margin: 0;
	padding: 0 8px 10px;
}

.swt-filter-list--scroll { max-height: 240px; overflow-y: auto; }

.swt-filter-list label {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 6px 8px;
	border-radius: 6px;
	font-size: 13.5px;
	color: #474747;
	cursor: pointer;
}

.swt-filter-list label:hover { background: #f7fbfe; }

.swt-filter-list input[type="checkbox"] {
	appearance: none;
	width: 17px;
	height: 17px;
	border: 1.5px solid #c9d2d9;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	position: relative;
	flex: 0 0 17px;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.swt-filter-list input[type="checkbox"]:checked {
	background: #1e90ff;
	border-color: #1e90ff;
}

.swt-filter-list input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 1.5px;
	width: 4px;
	height: 8px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

.swt-filter-name { flex: 1; }

.swt-filter-count {
	font-size: 11.5px;
	color: #aab8c2;
	background: #f4f5f9;
	border-radius: 10px;
	padding: 1px 7px;
}

.swt-price-filter {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 14px 14px;
}

.swt-price-filter input {
	width: 100%;
	min-width: 0;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 13px;
}

.swt-price-filter input:focus { outline: none; border-color: #1e90ff; }
.swt-price-filter span { color: #aab8c2; }

/* Paginacija */
.swt-pagination .woocommerce-pagination { text-align: center; }

.swt-pagination ul.page-numbers {
	display: inline-flex;
	gap: 6px;
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	border: 0;
}

.swt-pagination .page-numbers li { border: 0; }

.swt-pagination a.page-numbers,
.swt-pagination span.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	background: #fff;
	color: #474747;
	font-size: 14px;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.swt-pagination a.page-numbers:hover { border-color: #1e90ff; color: #1e90ff; }

.swt-pagination span.page-numbers.current {
	background: #1e90ff;
	border-color: #1e90ff;
	color: #fff;
	font-weight: 700;
}

.swt-shop__empty { color: #666; padding: 30px 0; }

/* AJAX loading */
#swt-shop-main.is-loading { opacity: 0.45; pointer-events: none; transition: opacity 0.15s ease; }

/* ==========================================================================
   Stranica proizvoda
   ========================================================================== */

.swt-product { padding-bottom: 40px; }

.swt-product__top {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 40px;
	align-items: start;
	margin-top: 10px;
}

.swt-product__gallery .woocommerce-product-gallery {
	position: relative;
	width: 100% !important;
}

.swt-product__gallery .woocommerce-product-gallery__wrapper { margin: 0; }

.swt-product__gallery .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
}

.swt-product__gallery .woocommerce-product-gallery__image {
	border: 1px solid #eef0f4;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.swt-product__gallery .flex-control-thumbs {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	flex-wrap: wrap;
}

.swt-product__gallery .flex-control-thumbs li {
	width: 72px;
	cursor: pointer;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	transition: border-color 0.15s ease;
}

.swt-product__gallery .flex-control-thumbs li:hover,
.swt-product__gallery .flex-control-thumbs li img.flex-active { border-color: #1e90ff; }

.swt-product__title {
	font-size: 24px;
	font-weight: 700;
	color: #14171a;
	line-height: 1.3;
	margin: 0 0 14px;
}

.swt-product__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.swt-pbadge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f4f5f9;
	border: 1px solid #e9ecf2;
	border-radius: 6px;
	color: #2b3b49;
	font-size: 13px;
	padding: 6px 10px;
}

.swt-pbadge svg { color: #22a95e; }

.swt-product__quickspecs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	border-block: 1px solid #eef0f4;
	padding: 14px 0;
	margin-bottom: 20px;
}

.swt-qspec {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	padding: 4px;
	border-right: 1px solid #eef0f4;
}

.swt-qspec:last-child { border-right: 0; }
.swt-qspec__icon { color: #2b3b49; }
.swt-qspec__label { font-size: 11.5px; color: #888; }
.swt-qspec__value { font-size: 13px; font-weight: 700; color: #14171a; }

.swt-product__pricebox {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 20px;
	align-items: center;
	border: 1px solid #1e90ff;
	background: #f7fbfe;
	border-radius: 10px;
	padding: 16px 18px;
	margin-bottom: 20px;
}

.swt-product__price { display: flex; flex-direction: column; }
.swt-product__price del { color: #aab8c2; font-size: 14px; }
.swt-product__price strong { color: #f45d22; font-size: 26px; font-weight: 700; line-height: 1.2; }
.swt-product__price small { color: #888; font-size: 11.5px; margin-top: 2px; }

.swt-product__payinfo { font-size: 13px; color: #474747; border-left: 1px solid #d7e9fb; padding-left: 20px; }
.swt-product__payinfo p { margin: 2px 0 0; }
.swt-product__rata strong { color: #f45d22; }

.swt-product__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.swt-product__actions form.cart { margin: 0; }

.swt-btn--cart,
.swt-btn--quick {
	min-width: 210px;
	height: 48px;
	padding: 0 24px;
	font-size: 14px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.swt-btn--quick { background: #0b6bc2; }
.swt-btn--quick:hover { background: #095aa3; }

.swt-product__outofstock { color: #bb4340; font-weight: 600; }

/* Kontakt red */
.swt-product__contactrow {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 34px 0;
	padding: 18px;
	background: #f9fafa;
	border: 1px solid #eef0f4;
	border-radius: 12px;
}

.swt-contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #2b3b49;
	text-decoration: none;
}

.swt-contact-item svg { color: #1e90ff; flex: 0 0 auto; }
.swt-contact-item span { display: flex; flex-direction: column; }
.swt-contact-item strong { font-size: 14px; }
.swt-contact-item em { font-style: normal; font-size: 12px; color: #888; }

/* Spec tabela */
.swt-product__specs h2,
.swt-product__faq h2,
.swt-product__qa h2 {
	font-size: 22px;
	font-weight: 700;
	color: #14171a;
	margin: 0 0 16px;
}

.swt-spec-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #eef0f4;
	border-radius: 10px;
	overflow: hidden;
}

.swt-spec-table tr:nth-child(odd) { background: #f9fafa; }

.swt-spec-table th,
.swt-spec-table td {
	text-align: left;
	padding: 12px 16px;
	font-size: 13.5px;
	vertical-align: top;
	border-bottom: 1px solid #eef0f4;
}

.swt-spec-table th {
	width: 220px;
	color: #2b3b49;
	font-weight: 700;
	white-space: nowrap;
}

.swt-spec-icon { display: inline-flex; vertical-align: -3px; margin-right: 10px; color: #1e90ff; }

.swt-spec-table td { color: #474747; }

/* Accordioni */
.swt-product__accordions { margin: 30px 0; }
.swt-product__faq { margin: 30px 0; }

.swt-acc {
	border: 1px solid #eef0f4;
	border-radius: 10px;
	background: #fff;
	margin-bottom: 10px;
	overflow: hidden;
}

.swt-acc summary {
	list-style: none;
	cursor: pointer;
	padding: 15px 44px 15px 18px;
	font-size: 15px;
	font-weight: 600;
	color: #2b3b49;
	position: relative;
	user-select: none;
	transition: background-color 0.15s ease;
}

.swt-acc summary:hover { background: #f7fbfe; }
.swt-acc summary::-webkit-details-marker { display: none; }

.swt-acc summary::after {
	content: '+';
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 400;
	color: #1e90ff;
}

.swt-acc[open] summary::after { content: '–'; }

.swt-acc__body {
	padding: 4px 18px 18px;
	font-size: 14px;
	color: #474747;
	line-height: 1.7;
}

.swt-acc__body h4 { margin: 14px 0 4px; font-size: 14px; color: #14171a; }
.swt-acc__body ul { padding-left: 20px; }
.swt-acc__body li { margin-bottom: 6px; }

.swt-product__faqlink { font-size: 13px; color: #666; }
.swt-product__faqlink a { color: #1e90ff; font-weight: 700; text-decoration: none; }

/* Q&A forma */
.swt-product__qa {
	background: #f9fafa;
	border: 1px solid #eef0f4;
	border-radius: 12px;
	padding: 24px;
	margin: 30px 0;
}

.swt-product__qa > p { font-size: 13.5px; color: #666; }

.swt-qa-form { max-width: 640px; }
.swt-qa-form p { margin: 0 0 14px; }

.swt-qa-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #2b3b49;
	margin-bottom: 5px;
}

.swt-qa-form input[type="text"],
.swt-qa-form input[type="email"],
.swt-qa-form textarea {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.swt-qa-form input:focus,
.swt-qa-form textarea:focus {
	outline: none;
	border-color: #1e90ff;
	box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12);
}

.swt-hp { position: absolute !important; left: -9999px !important; }

.swt-notice {
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 14px;
	margin-bottom: 14px;
}

.swt-notice--success { background: #e8f7ee; color: #1c7c43; border: 1px solid #bfe8cf; }
.swt-notice--error { background: #fdecec; color: #b3372f; border: 1px solid #f5c6c3; }

/* Related */
.swt-product .related.products > h2,
.related.products > h2 {
	font-size: 22px;
	font-weight: 700;
	color: #14171a;
	margin: 10px 0 16px;
}

/* ==========================================================================
   Naslovnica: hero, sekcije, karuseli, brendovi, newsletter, kontakt traka
   ========================================================================== */

.swt-front { overflow-x: clip; }

/* Hero slider (translateX, autoplay, strelice, tačkice) */
.swt-hero-slider {
	position: relative;
	max-width: 1350px;
	margin: 18px auto 0;
	padding: 0 15px;
}

.swt-hero-slider--full {
	max-width: none;
	padding: 0;
}

.swt-hero-slider__viewport {
	overflow: hidden;
	border-radius: 14px;
}

.swt-hero-slider--full .swt-hero-slider__viewport { border-radius: 0; }

.swt-hero-slider__track {
	display: flex;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.swt-hero-slider__slide {
	flex: 0 0 100%;
	min-width: 0;
}

.swt-hero-slider__slide a { display: block; }

.swt-hero-slider__slide img,
.swt-hero-slider__slide picture {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1920 / 453;
	object-fit: cover;
}

/* Strelice */
.swt-hero-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: #14171a;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(20, 23, 26, 0.18);
	opacity: 0;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.swt-hero-slider:hover .swt-hero-slider__arrow { opacity: 1; }
.swt-hero-slider__arrow:hover { background: #fff; color: #1e90ff; }
.swt-hero-slider__arrow--prev { left: 24px; }
.swt-hero-slider__arrow--next { right: 24px; }

/* Tačkice */
.swt-hero-slider__dots {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 8px;
}

.swt-hero-slider__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: width 0.2s ease, background-color 0.2s ease;
}

.swt-hero-slider__dot.is-active {
	width: 24px;
	border-radius: 5px;
	background: #fff;
}

/* Mini baner */
.swt-mini-banner { text-align: left; margin: 18px 0 0; }
.swt-mini-banner img { border-radius: 10px; height: auto; }

/* Sekcija s karuselom */
.swt-sec { padding: 26px 0 4px; }

.swt-sec__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.swt-sec__title { font-size: 22px; font-weight: 700; color: #14171a; margin: 0; }
.swt-sec__sub { font-size: 12.5px; color: #888; margin: 2px 0 0; text-transform: uppercase; letter-spacing: 0.04em; }

.swt-sec__link {
	color: #1e90ff;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.swt-sec__link:hover { text-decoration: underline; }

/* Karusel */
.swt-carousel { position: relative; }

.swt-carousel__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	list-style: none;
	margin: 0;
	padding: 4px 2px 18px;
}

.swt-carousel__track::-webkit-scrollbar { display: none; }

.swt-carousel__item {
	flex: 0 0 240px;
	scroll-snap-align: start;
	display: flex;
}

.swt-carousel__item .swt-card { width: 100%; }

.swt-carousel__btn {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	z-index: 10;
	width: 42px;
	height: 42px;
	border: 1px solid #e5e5e5;
	border-radius: 50%;
	background: #fff;
	color: #2b3b49;
	font-size: 16px;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(20, 23, 26, 0.14);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.swt-carousel__btn:hover { color: #1e90ff; border-color: #1e90ff; }
.swt-carousel__btn--prev { left: -12px; }
.swt-carousel__btn--next { right: -12px; }

/* Philips sekcija (cover) */
.swt-philips-cover { border-radius: 0; }
.swt-philips-cover .swt-sec__title,
.swt-philips-cover .swt-sec__sub { color: #fff; }
.swt-philips-cover .swt-sec__link { color: #fff; text-decoration: underline; }

/* TOP TV brandovi */
.swt-brands { padding: 30px 0 10px; }
.swt-brands h2 { font-size: 22px; font-weight: 700; color: #14171a; margin: 0 0 4px; }
.swt-brands > p { color: #888; font-size: 13px; margin: 0 0 16px; }

.swt-brands__row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.swt-brands__row .wp-block-image {
	margin: 0;
	border: 1px solid #eef0f4;
	border-radius: 12px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px 16px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.swt-brands__row .wp-block-image:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20, 23, 26, 0.1); }
.swt-brands__row img { max-height: 34px; width: auto; filter: grayscale(1); opacity: 0.75; }

/* Newsletter + welcome */
.swt-bottom { padding: 34px 0 10px; }

.swt-newsletter {
	background: #f9fafa;
	border: 1px solid #eef0f4;
	border-radius: 14px;
	padding: 26px;
}

.swt-newsletter h3 { font-size: 18px; font-weight: 700; color: #14171a; margin: 0 0 8px; }
.swt-newsletter p { font-size: 13.5px; color: #666; margin: 0 0 14px; }

.swt-newsletter form { display: flex; gap: 10px; }

.swt-newsletter input[type="email"] {
	flex: 1;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	background: #fff;
}

.swt-newsletter input[type="email"]:focus { outline: none; border-color: #1e90ff; }

.swt-welcome h2 { font-size: 22px; margin: 0 0 10px; }
.swt-welcome h2 strong { color: #1e90ff; }
.swt-welcome { font-size: 14px; color: #474747; line-height: 1.7; }

/* Kontakt traka */
.swt-contactstrip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 30px auto;
	padding: 18px;
	background: #f9fafa;
	border: 1px solid #eef0f4;
	border-radius: 12px;
}

/* Naslovnica responsive */
@media (max-width: 991px) {
	.swt-brands__row { grid-template-columns: repeat(3, 1fr); }
	.swt-contactstrip { grid-template-columns: repeat(2, 1fr); }
	.swt-carousel__item { flex: 0 0 46vw; }
	.swt-carousel__btn { display: none; }
	.swt-sec__title { font-size: 18px; }
}

@media (max-width: 767px) {
	.swt-hero-slider { padding: 0 10px; }
	.swt-hero-slider__viewport { border-radius: 10px; }
	/* Mobilni slajd: uži omjer da baner bude čitljiviji (mobilna slika popunjava preko cover-a). */
	.swt-hero-slider__slide img,
	.swt-hero-slider__slide picture { aspect-ratio: 1080 / 620; }
	.swt-hero-slider__arrow { display: none; }
	.swt-hero-slider__dots { bottom: 10px; }
}

@media (max-width: 575px) {
	.swt-brands__row { grid-template-columns: repeat(2, 1fr); }
	.swt-newsletter form { flex-direction: column; }
}

/* ==========================================================================
   Woo forme: korpa, blagajna, moj račun
   ========================================================================== */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: #1e90ff;
	color: #fff;
	border: 0;
	border-radius: 8px;
	font-weight: 600;
	padding: 11px 20px;
	transition: background-color 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover { background: #1379d4; color: #fff; }

.woocommerce a.button.alt:disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] { background: #aab8c2; color: #fff; }

.woocommerce table.shop_table {
	border: 1px solid #eef0f4;
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
}

.woocommerce table.shop_table th { color: #2b3b49; }
.woocommerce table.shop_table td { border-top: 1px solid #eef0f4; }

.woocommerce-cart table.cart img { width: 64px; border-radius: 8px; }

.woocommerce .cart_totals h2,
.woocommerce-checkout h3 { font-size: 18px; color: #14171a; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	background: #fff;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
	outline: none;
	border-color: #1e90ff;
	box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12);
}

.woocommerce form .form-row label { font-size: 13px; font-weight: 600; color: #2b3b49; }

.woocommerce-checkout #payment {
	background: #f9fafa;
	border: 1px solid #eef0f4;
	border-radius: 10px;
}

.woocommerce-checkout #payment div.payment_box {
	background: #eef4fa;
	color: #474747;
}

.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #eef4fa; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: #1e90ff;
	background: #f7fbfe;
	border-radius: 0 0 10px 10px;
}

.woocommerce-message::before,
.woocommerce-info::before { color: #1e90ff; }

.woocommerce-error { border-top-color: #bb4340; background: #fdf3f2; }
.woocommerce-error::before { color: #bb4340; }

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	border: 1px solid #eef0f4;
	border-radius: 10px;
	overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid #f4f5f9; }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 16px;
	color: #2b3b49;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: #f7fbfe; color: #1e90ff; }

.woocommerce .quantity .qty {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 8px;
	width: 70px;
	text-align: center;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	background: #1e90ff;
	border-radius: 8px;
	font-size: 15px;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: #1379d4; }

/* Blog */
.swt-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.swt-blog-card {
	border: 1px solid #eef0f4;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.swt-blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20, 23, 26, 0.12); }

.swt-blog-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.swt-blog-card__media img { width: 100%; height: 100%; object-fit: cover; }

.swt-blog-card__body { padding: 16px; }
.swt-blog-card__body h2 { font-size: 16px; margin: 0 0 4px; line-height: 1.4; }
.swt-blog-card__body h2 a { color: #14171a; text-decoration: none; }
.swt-blog-card__body h2 a:hover { color: #1379d4; }
.swt-blog-card__body p { font-size: 13.5px; color: #666; margin: 0 0 8px; }
.swt-blog-card__meta { font-size: 12px !important; color: #aab8c2 !important; }

.swt-single-thumb img { width: 100%; height: auto; border-radius: 14px; margin-bottom: 20px; }
.swt-page--narrow { max-width: 860px; }

@media (max-width: 991px) {
	.swt-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.swt-blog-grid { grid-template-columns: 1fr; }
}

/* Generičke stranice */
.swt-page { padding: 10px 0 50px; }
.swt-page__title { font-size: 28px; font-weight: 700; color: #14171a; margin: 16px 0 20px; }
.swt-content { line-height: 1.75; font-size: 15px; }
.swt-content h2 { font-size: 22px; margin: 26px 0 10px; }
.swt-content h3 { font-size: 18px; margin: 22px 0 8px; }
.swt-content a { color: #1379d4; }
.swt-content img { max-width: 100%; height: auto; border-radius: 10px; }
.swt-content ul, .swt-content ol { padding-left: 24px; margin: 10px 0; }
.swt-content table { width: 100%; border-collapse: collapse; }
.swt-content table td, .swt-content table th { border: 1px solid #e5e5e5; padding: 8px 12px; }

/* Product page responsive */
@media (max-width: 991px) {
	.swt-product__top { grid-template-columns: 1fr; gap: 20px; }
	.swt-product__title { font-size: 19px; }
	.swt-product__pricebox { grid-template-columns: 1fr; gap: 12px; }
	.swt-product__payinfo { border-left: 0; padding-left: 0; border-top: 1px solid #d7e9fb; padding-top: 12px; }
	.swt-product__contactrow { grid-template-columns: 1fr; }
	.swt-product__actions { flex-direction: column; }
	.swt-btn--cart, .swt-btn--quick { width: 100%; }
	.swt-spec-table th { width: auto; white-space: normal; min-width: 130px; }
	.swt-product__qa { padding: 16px; }
}

/* Shop responsive */
@media (max-width: 991px) {
	.swt-shop { grid-template-columns: 1fr; gap: 0; }

	.swt-filters-toggle { display: inline-flex; }

	.swt-shop__sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(320px, 86vw);
		background: #fff;
		z-index: 510;
		transform: translateX(-102%);
		transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
		overflow-y: auto;
		padding: 0 14px 20px;
		box-shadow: 12px 0 40px rgba(20, 23, 26, 0.18);
	}

	.swt-shop__sidebar.active { transform: translateX(0); }

	.swt-shop__sidebar-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-size: 16px;
		font-weight: 700;
		color: #14171a;
		padding: 14px 2px;
		border-bottom: 1px solid #e5e5e5;
		margin-bottom: 12px;
	}

	.swt-shop__title { font-size: 20px; }

	.swt-shop__toolbar { flex-wrap: wrap; }
	.swt-shop__count { order: 3; flex-basis: 100%; }
}

/* ==========================================================================
   Footer — plavi gradijent, 5 kolona, plaćanja, copyright
   ========================================================================== */

.tv-footer {
	margin-top: 60px;
	background-image: linear-gradient(180deg, #4388d8 29%, #2967aa 100%);
	border-radius: 24px 24px 0 0;
	color: #fff;
	padding: 50px 0 0;
}

.tv-footer-cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr) auto 1.4fr;
	gap: 30px;
}

.tv-footer h4 {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 16px;
}

.tv-footer-col ul { list-style: none; }
.tv-footer-col li { margin-bottom: 10px; }

.tv-footer-col a,
.tv-footer-col--info a {
	color: #fff;
	font-size: 15px;
	text-decoration: none;
}

.tv-footer-col a:hover { text-decoration: underline; }

.tv-footer-col--info p {
	font-size: 15px;
	line-height: 1.9;
}

.tv-footer-social { display: flex; gap: 10px; }

.tv-footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #fff;
	border-radius: 6px;
	color: #2967aa;
}

.tv-footer-social a:hover { background: #f0f6ff; }

/* Načini plaćanja */
.tv-footer-payments { margin-top: 40px; }

.tv-payment-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.tv-payment-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 6px;
	padding: 6px 10px;
	min-height: 52px;
}

.tv-payment-icons img { display: block; max-height: 40px; width: auto; }

/* Copyright */
.tv-footer-copy {
	margin-top: 32px;
	padding: 16px 0;
	text-align: center;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Responsive (portovano iz televizori-header-responsive.css)
   ========================================================================== */

@media (max-width: 1199px) {
	.tv-container { max-width: 992px; }
	.tv-menu > li > a { padding: 15px 10px; }
	.tv-menu > li:first-child > a { padding-left: 0; }
}

@media (max-width: 991px) {
	.tv-container { max-width: 768px; }
	.tv-header-inner { flex-wrap: wrap; gap: 12px; }
	.tv-logo { flex: 0 0 170px; max-width: 170px; }

	.tv-search-bar {
		order: 3;
		flex: 0 0 100%;
		max-width: 100%;
		padding: 12px 0 0 0;
	}

	.tv-header-right { flex: 1; justify-content: flex-end; }

	.tv-mobile-toggle { display: flex; }

	/* Nav traka se krije; gornji red postaje sticky */
	.tv-main-nav { display: none; }

	.tv-main-header {
		position: sticky;
		top: 0;
		z-index: 300;
		border-bottom: 2px solid #1e90ff;
		transition: box-shadow 0.2s ease;
	}

	.tv-main-header.is-stuck { box-shadow: 0 6px 18px -8px rgba(20, 23, 26, 0.2); }

	.tv-footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.tv-container { max-width: 100%; padding: 0 10px; }
	.tv-sister-sites { display: none; }
	.tv-main-header { padding: 10px 0; }
	.tv-logo { flex: 0 0 150px; max-width: 150px; }
	.tv-phone-hours { display: none; }
	.tv-phone { margin-right: 10px; }
	.tv-user-login { margin-right: 10px; }

	.tv-login-icon,
	.tv-cart-link { width: 32px; height: 32px; flex-basis: 32px; }

	.tv-phone-number { font-size: 14px; }
	.tv-login-info { font-size: 11px; }
}

@media (max-width: 575px) {
	.tv-search-bar { padding-top: 10px; }
	.tv-phone-info { display: none; }
	.tv-login-info { display: none; }
	.tv-phone { margin-right: 8px; }
	.tv-user-login { margin-right: 8px; }

	.tv-login-icon,
	.tv-cart-link { width: 28px; height: 28px; flex-basis: 28px; }

	.tv-cart-count {
		width: 14px;
		height: 14px;
		font-size: 8px;
		top: -4px;
		right: -4px;
	}

	.tv-logo { max-width: 130px; }
	.tv-search-form input[type="search"] { height: 36px; }
}
