/* Shop / arhive / Akcija – mjere iz Elementor šablona 4873 i 4898. */

.sw-shop__header {
	padding: 0 10px;
	background-color: var(--e-global-color-6b0ce64);
}

.sw-shop__header-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
	max-width: var(--sw-container);
	min-height: 200px;
	margin: 0 auto;
	padding: 10px 0;
}

.sw-shop__title {
	margin: 0;
	padding: 10px;
	color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-primary-font-family, "Oswald"), sans-serif;
	font-size: var(--e-global-typography-c397194-font-size);
	font-weight: 600;
	line-height: 1.3em;
	text-align: center;
	text-transform: uppercase;
}

.sw-shop__description {
	margin-top: -10px;
	padding-bottom: 10px;
	width: 800px;
	max-width: calc(100% - 20px);
	text-align: center;
}

.sw-shop__body {
	padding: 0 10px;
}

.sw-shop__body {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	max-width: var(--sw-container);
	margin: 0 auto;
	padding: 10px;
}

.sw-shop__sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 24%;
	padding: 10px;
}

.sw-shop__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 74%;
	padding: 10px;
}

.sw-shop__chips {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 20px;
}

.sw-shop__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;
	gap: 30px;
}

.sw-shop__grid > .sw-card {
	height: 100%;
}

.sw-pagination {
	margin-top: 20px;
	color: #afafaf;
	font-family: var(--e-global-typography-4aceb21-font-family), sans-serif;
	font-size: var(--e-global-typography-4aceb21-font-size);
	font-weight: 600;
	line-height: var(--e-global-typography-4aceb21-line-height);
	text-align: center;
	text-transform: uppercase;
}

.sw-pagination .page-numbers {
	margin: 0 5px;
	color: #afafaf;
	text-decoration: none;
}

.sw-pagination .page-numbers:first-child {
	margin-left: 0;
}

.sw-pagination .page-numbers:last-child {
	margin-right: 0;
}

.sw-pagination .page-numbers.dots {
	color: inherit;
}

.sw-pagination a.page-numbers:hover,
.sw-pagination .page-numbers.current {
	color: var(--e-global-color-accent);
}

/* Filter: dugme za otvaranje (iz custom CSS-a šablona 4873). */
.wpc-filters-open-button-container {
	width: 100%;
	text-align: center;
}

.wpc-filters-open-button-container .wpc-open-close-filters-button {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
}

/* Akcija: prazna kolona 20 % + proizvodi 80 % (red ostaje i na tabletu). */
.sw-shop--no-filters .sw-shop__body {
	flex-wrap: nowrap;
}

.sw-shop--no-filters .sw-shop__sidebar {
	width: 20%;
}

.sw-shop--no-filters .sw-shop__content {
	width: 80%;
}

@media (max-width: 1024px) {
	.sw-shop__sidebar,
	.sw-shop__content {
		width: 100%;
	}

	.sw-shop__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.sw-shop--no-filters .sw-shop__sidebar {
		width: 20%;
	}

	.sw-shop--no-filters .sw-shop__content {
		width: 80%;
	}
}

@media (max-width: 767px) {
	.sw-shop--no-filters .sw-shop__body {
		flex-wrap: wrap;
	}

	.sw-shop--no-filters .sw-shop__sidebar,
	.sw-shop--no-filters .sw-shop__content {
		width: 100%;
	}
}
