/* ============================================================
 * DRESSCODE Shop (archive) layout
 * Kartice reusaju .grv-card klase iz mu-plugina (nedavno gledano)
 * pa su 1:1 iste - ovdje samo grid, velike kartice, load more i scroll-top.
 * ============================================================ */

/* Wishlist srce - ISTO kao na single proizvodu (.gpi-wishlist).
 * Shortcode se zove sa is_single="yes" → plugin renderuje Custom SVG
 * (outline kad nije dodano → filled kad jeste). Stil prenesen 1:1 sa singla:
 * bijeli krug + 1px border, SVG 18px, stroke/fill tamni. */
/* Dugme - 36px krug sa 1px borderom (isto kao single, tek malo manje za karticu). */
/* SVG ikona - 22px (isto kao homepage). */
/* Boja srca ide IZ wlfmc SVG-a (outline #6E6E6E / filled #6E6E6E) - bez CSS override. */

/* Layout: 2 kolone (229px sidebar + 1166px sadržaj), gap 28px.
 * Grid 2x2: topbar gore u desnoj koloni, a sidebar + kartice u 2. redu →
 * sidebar POČINJE na nivou kartica (ne odozgo). */
.gsh-layout {
	display: grid;
	grid-template-columns: 229px minmax(0, 1166px);
	column-gap: 28px;
	width: min(1423px, calc(100% - 32px));   /* 229 + 28 + 1166 */
	margin: 0 auto;
	padding: 35px 0 80px;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
	box-sizing: border-box;
}
.gsh-layout *, .gsh-layout *::before, .gsh-layout *::after { box-sizing: border-box; }

.gsh-topbar-col  { grid-column: 2; grid-row: 1; min-width: 0; }
.gsh-sidebar     { grid-column: 1; grid-row: 2; }
.gsh-content-col { grid-column: 2; grid-row: 2; min-width: 0; }
/* Placeholder dok je sidebar sticky - mora zauzeti ISTU grid ćeliju,
 * inače grid auto-flow napravi novi red (beskonačan bijeli prostor). */
.gsh-sidebar-ph  { grid-column: 1; grid-row: 2; }

/* ── KATEGORIJE SIDEBAR ─────────────────────────────────── */
.gsh-cat-title {
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 13.5px;
	letter-spacing: 2.7px;
	text-transform: uppercase;
	color: #035751;
	margin: 0 0 28px;
	padding: 0;
}
.gsh-cat-nav { display: flex; flex-direction: column; }

.gsh-cat-head {
	display: flex;
	align-items: center;
	gap: 9px;                  /* strelica tik uz title */
	width: 100%;
	padding: 11px 0;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	text-decoration: none;
}
/* Glavni nivo (depth 0): Montserrat 15/22.5 #000C */
.gsh-cat-head-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 22.5px;
	color: rgba(0, 0, 0, 0.8);       /* #000000CC */
}
/* Ugniježdeni nivoi (depth 1+): 15px small-caps */
.gsh-cat-d1 > .gsh-cat-head .gsh-cat-head-text {
	font-size: 12px;
	line-height: 18px;
	letter-spacing: 1.05px;
	font-variant-caps: small-caps;
	color: #2B2B2B;
}
.gsh-cat-d1 > .gsh-cat-head { padding: 8px 0; }
.gsh-cat-head:hover .gsh-cat-head-text { color: #1A1A1A; }
.gsh-cat-head.is-active .gsh-cat-head-text { font-weight: 700; color: #000; }
.gsh-cat-d1 > .gsh-cat-head.is-active .gsh-cat-head-text { color: #111; }
.gsh-cat-d1 > .gsh-cat-head.is-active .gsh-cat-head-text::before { content: '- '; }

.gsh-cat-arrow {
	width: 7px;
	height: 12px;
	flex-shrink: 0;
	color: rgba(0, 0, 0, 0.55);
	transition: transform .2s ease;
}
.gsh-cat-group.is-open > .gsh-cat-head .gsh-cat-arrow { transform: rotate(90deg); }
/* chevron toggle (klik = otvori/zatvori, ne navigira) */
.gsh-cat-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 6px; margin: -6px 0; cursor: pointer; flex-shrink: 0; }

/* ukini Elementor pink na sidebar dugmiće */
.gsh-cat-head:hover, .gsh-cat-head:focus, .gsh-cat-head:focus-visible, .gsh-cat-head:active {
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
}

.gsh-cat-subs {
	display: flex;
	flex-direction: column;
	margin: 2px 0 6px;
	padding: 0;
}
.gsh-cat-group:not(.is-open) > .gsh-cat-subs { display: none; }
/* Podkategorije glavne (depth 0) grupe: uvučene desno + tanka lijeva "rail" linija → vidi se da pripadaju roditelju */
.gsh-cat-d0 > .gsh-cat-subs {
	margin: 4px 0 14px 9px;
	padding: 2px 0 2px 16px;
	border-left: 1px solid #D5D5D5;
}
/* uvlačenje svakog ugniježdenog nivoa */
.gsh-cat-d1 > .gsh-cat-subs { padding-left: 14px; }

/* ── BREADCRUMB - Jost 400 · 9.5/14.25 · ls 1.71 · lowercase ── */
.gsh-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 0 14px;
}
.gsh-bc-item,
.gsh-bc-sep {
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	font-size: 9.5px;
	line-height: 14.25px;
	letter-spacing: 1.71px;
	text-transform: lowercase;
	color: #0A0A0A;
	text-decoration: none;
}
a.gsh-bc-item:hover { text-decoration: underline; }
.gsh-bc-sep { margin: 0 14px; }
.gsh-bc-item.is-current { font-weight: 700; }

/* ── NASLOV KATEGORIJE - Montserrat 500 · 34/34 · uppercase ── */
.gsh-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 34px;
	line-height: 34px;
	text-transform: uppercase;
	color: #035751;
	margin: 0 0 22px;
	padding: 0;
}

/* ── FILTER BAR - jedan neprekidan bar, visina 42, bg #F0F0F0 ── */
/* Sticky se radi JS-om (position:fixed + placeholder) jer Elementor roditelj
 * sa overflow:hidden ruši position:sticky. */
.gsh-filterbar {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 42px;
	background: #F0F0F0;
	margin: 0 0 18px;
}
.gsh-filterbar, .gsh-filterbar * { box-sizing: border-box; }
.gsh-filterbar.is-stuck { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }
.gsh-filter,
.gsh-sort {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 100%;
	padding: 0 22px;
	background: transparent;
	border: 0;
	cursor: pointer;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 10.5px;
	line-height: 15.75px;
	letter-spacing: 1.26px;
	text-transform: uppercase;
	color: #0A0A0A;
	white-space: nowrap;
}
/* item wrapper (trigger + dropdown) */
.gsh-filter-item { position: relative; display: flex; align-items: stretch; }
.gsh-sort-item { margin-left: auto; }                   /* SORTIRAJ skroz desno */
/* divideri između itema + lijevo od SORTIRAJ (#0000001A) */
.gsh-filter-item + .gsh-filter-item > button { border-left: 1px solid rgba(0, 0, 0, 0.1); }
.gsh-sort { color: #717182; padding: 0 26px; }
.gsh-filter-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 16px; height: 16px; padding: 0 4px;
	background: #035751; color: #fff; border-radius: 999px;
	font-size: 9px; font-weight: 600; letter-spacing: 0;
}
.gsh-chev { width: 11px; height: 11px; flex-shrink: 0; }

/* ── Ukini Elementor pink/magenta na hover/focus (shop dugmići) ── */
.gsh-filter:hover, .gsh-filter:focus, .gsh-filter:focus-visible, .gsh-filter:active {
	background: rgba(0, 0, 0, 0.04) !important;
	color: #0A0A0A !important;
	box-shadow: none !important;
	outline: none !important;
}
.gsh-sort:hover, .gsh-sort:focus, .gsh-sort:focus-visible, .gsh-sort:active {
	background: rgba(0, 0, 0, 0.04) !important;
	color: #717182 !important;
	box-shadow: none !important;
	outline: none !important;
}
.gsh-filterbar button:focus,
.gsh-filterbar button:focus-visible { box-shadow: none !important; outline: none !important; }

/* ── FILTER DROPDOWN ───────────────────────────────────── */
.gsh-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 9999;
	width: 300px;
	max-width: 86vw;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	font-family: 'Montserrat', sans-serif;
	text-transform: none;
	letter-spacing: 0;
	display: flex;
	flex-direction: column;
	max-height: min(72vh, 460px);
}
.gsh-dropdown[hidden] { display: none; }
.gsh-sort-item .gsh-dropdown { left: auto; right: 0; }   /* sort dropdown desno poravnat */
.gsh-dropdown-body { padding: 22px 22px 6px; flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.gsh-dropdown-foot { display: flex; gap: 12px; padding: 14px 22px 18px; flex: 0 0 auto; background: #fff; border-top: 1px solid #f0f0f0; }

/* lista + custom checkbox */
.gsh-dd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.gsh-dd-check {
	display: flex; align-items: center; gap: 12px; cursor: pointer;
	position: relative; font-weight: 500; color: #171717; line-height: 1.2;
}
.gsh-dd-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.gsh-dd-box {
	flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px;
	border: 1.5px solid #D4D4D4; background: #fff; position: relative; transition: all .15s;
}
.gsh-dd-check input:checked + .gsh-dd-box { background: #035751; border-color: #035751; }
.gsh-dd-check input:checked + .gsh-dd-box::after {
	content: ''; position: absolute; inset: 0; margin: auto;
	width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0;
	transform: translateY(-1px) rotate(45deg);
}
.gsh-dd-label { font-size: 14px; }
.gsh-dd-empty { font-size: 14px; color: #777; margin: 4px 0 14px; }

/* boje - 2 kolone + kružić */
.gsh-dd-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
/* Desktop dropdown: BOJE širi + 3 kolone, MATERIJALI širi + 2 kolone (sve stane, bez scrolova). */
.gsh-filter-item[data-filter="boja"] .gsh-dropdown { width: 480px; }
.gsh-dropdown .gsh-dd-colors { grid-template-columns: repeat(3, 1fr); gap: 14px 14px; }
.gsh-filter-item[data-filter="materijal"] .gsh-dropdown { width: 380px; }
.gsh-dropdown .gsh-dd-materials { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.gsh-color-dot {
	flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.12);
}

/* veličine (dugmad) */
.gsh-size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.gsh-size-btn {
	height: 34px; padding: 0 4px; border: 1px solid #E0E0E0; background: #fff; border-radius: 6px;
	font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 12.5px; color: #171717;
	cursor: pointer; transition: all .15s; white-space: nowrap;
}
.gsh-size-btn.is-selected,
.gsh-size-btn:hover { border-color: #035751 !important; background: #EFEFEF !important; color: #171717 !important; }

/* cijena */
.gsh-price-row { display: flex; gap: 18px; }
.gsh-price-field { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.gsh-price-field > span { font-size: 12px; color: #6B6B6B; }
.gsh-price-input { display: flex; align-items: baseline; gap: 6px; border-bottom: 1.5px solid #D4D4D4; padding-bottom: 4px; }
.gsh-price-input input { border: 0; outline: none; width: 100%; font-size: 22px; font-weight: 500; color: #171717; background: transparent; -moz-appearance: textfield; }
.gsh-price-input input::-webkit-outer-spin-button,
.gsh-price-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gsh-price-input em { font-style: normal; font-size: 12px; color: #9A9A9A; }
.gsh-price-sale { margin-top: 18px; font-size: 14px; }

/* footer dugmad */
.gsh-dd-clear, .gsh-dd-apply, .gsh-dd-sort {
	flex: 1; height: 46px; border-radius: 8px; cursor: pointer;
	font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 13px;
	transition: background .15s; border: 0;
}
.gsh-dd-clear { background: #fff; border: 1.5px solid #E0E0E0; color: #171717; }
.gsh-dd-clear:hover, .gsh-dd-clear:focus { background: #F5F5F5 !important; color: #171717 !important; box-shadow: none !important; }
.gsh-dd-apply, .gsh-dd-sort { background: #035751; color: #fff; }
.gsh-dd-apply:hover, .gsh-dd-apply:focus,
.gsh-dd-sort:hover, .gsh-dd-sort:focus { background: #5E5E5E !important; color: #fff !important; box-shadow: none !important; }
.gsh-dropdown button:focus { outline: none !important; box-shadow: none !important; }

/* ── AKTIVNI ČIPOVI + RESETUJ ── */
.gsh-chips:empty { display: none; }
.gsh-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 18px;
}
.gsh-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #035751;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 10px;
	line-height: 15.75px;
	letter-spacing: 1.26px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 8px;
}
.gsh-chip-x { font-size: 13px; line-height: 1; }
.gsh-shop-back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 11px;
	line-height: 18px;
	letter-spacing: .7px;
	text-transform: uppercase;
	color: #035751;
	text-decoration: none;
	margin-right: 2px;
}
.gsh-shop-back-ico {
	width: 15px;
	height: 15px;
}
.gsh-reset {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 18px;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #AAAAAA;
	text-decoration: none;
	margin-left: 4px;
}
.gsh-reset-ico { width: 15px; height: 15px; }

/* ── BROJAČ - Jost 400 · 9/13.5 · ls 1.8 · uppercase ── */
.gsh-count {
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	font-size: 9px;
	line-height: 13.5px;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: #717182;
	margin: 0 0 28px;
}

/* ── GRID ───────────────────────────────────────────────── */
.gsh-results {
	display: flex;
	flex-direction: column;
	gap: 28px;
	transition: opacity .28s ease, transform .28s ease;
}
.gsh-results.is-loading { opacity: .35; pointer-events: none; }
.gsh-results.is-entering { opacity: 0; transform: translateY(8px); }

/* spinner (3 tačke) tokom AJAX filtriranja */
.gsh-content-col { position: relative; }
.gsh-spinner {
	position: absolute;
	top: 160px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 6;
	display: flex;
	gap: 8px;
	align-items: center;
}
.gsh-spinner[hidden] { display: none; }
.gsh-spinner span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #035751;
	animation: gshDot 1s infinite ease-in-out both;
}
.gsh-spinner span:nth-child(1) { animation-delay: -.32s; }
.gsh-spinner span:nth-child(2) { animation-delay: -.16s; }
@keyframes gshDot {
	0%, 80%, 100% { transform: scale(.35); opacity: .4; }
	40% { transform: scale(1); opacity: 1; }
}

.gsh-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 52px 24px;
	align-items: start;
}
.gsh-item { min-width: 0; }

/* DESKTOP pattern: svaka 9. i 10. (od 10) = velika → span 2 kolone (red od 2 velike) */
.gsh-grid > .gsh-item:nth-child(10n+9),
.gsh-grid > .gsh-item:nth-child(10n+10) { grid-column: span 2; }
.gsh-grid > .gsh-item:nth-child(10n+9) .grv-card-img-wrap,
.gsh-grid > .gsh-item:nth-child(10n+10) .grv-card-img-wrap {
	aspect-ratio: auto;
	height: 600px;
}
/* velike kartice UVUČENE (ne pune širine) - centriran 497px unutar span-2 ćelije */
.gsh-grid > .gsh-item:nth-child(10n+9) .grv-card,
.gsh-grid > .gsh-item:nth-child(10n+10) .grv-card {
	max-width: 497px;
	margin-inline: auto;
}

/* ── Okvir kartice + slika ──
 * grv mu-plugin stilizuje .grv-card / .grv-card-img-wrap SAMO unutar .grv-wrapper,
 * pa ovdje kopiramo iste vrijednosti (radius 16, cover, hover) za shop kontekst.
 * Wishlist / badge / add-to-cart / title / cijena su globalni u grv-u → naslijeđeni 1:1. */
.gsh-results .grv-card {
	width: 100%;
	background: #fff;
	border-radius: 16px;
	overflow: visible;
	display: flex;
	flex-direction: column;
	position: relative;
	border: 0;
	box-shadow: none !important;
	margin: 0;
	padding: 0;
}
.gsh-results .grv-card-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 497 / 746;
	border-radius: 16px;
	overflow: hidden;
	background: #F5F5F5;
	box-shadow: none !important;
}
.gsh-results .grv-card-link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}
/* SEO: jedan glavni link po kartici (prekriva cijelu karticu); wishlist/korpa iznad (z-index 3) */
.gsh-results .grv-card-stretch { position: absolute; inset: 0; z-index: 1; }
.gsh-results .grv-card-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease, opacity .35s ease;
}
.gsh-results .grv-card:hover .grv-card-img-wrap img { transform: scale(1.04); }

/* ── Skeleton shimmer dok se slika (AJAX ubačene kartice) ne učita ── */
.gsh-results .grv-card-img-wrap.grv-skel img { opacity: 0; }
.gsh-results .grv-card-img-wrap.grv-skel::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.65) 50%, rgba(255,255,255,0) 100%);
	transform: translateX(-100%);
	animation: grvShimmer 1.15s ease-in-out infinite;
	z-index: 1;
	pointer-events: none;
}
@keyframes grvShimmer { 100% { transform: translateX(100%); } }

/* ── NOVO badge (gornji lijevi) - nije u grv kartici, dodano za shop ── */
.gsh-badge-new {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 3;
	background: #171717;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.5px;
	padding: 7px 12px;
	border-radius: 6px;
	text-transform: uppercase;
}

/* ── UČITAJ VIŠE ────────────────────────────────────────── */
.gsh-more-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin-top: 48px;
}
.gsh-load-more {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: #fff;
	background: #035751;
	border: 0;
	border-radius: 10px;
	padding: 20px 64px;
	cursor: pointer;
	transition: background .2s ease, opacity .2s ease;
}
.gsh-load-more:hover,
.gsh-load-more:focus,
.gsh-load-more:active { background: #5E5E5E !important; color: #fff !important; box-shadow: none !important; }
.gsh-load-more.is-loading { opacity: .6; pointer-events: none; }
.gsh-chip:hover, .gsh-chip:focus { background: #035751 !important; color: #fff !important; }
.gsh-shop-back:hover, .gsh-shop-back:focus { color: #5E5E5E !important; }
.gsh-reset:hover, .gsh-reset:focus { color: #AAAAAA !important; }
.gsh-load-more[hidden] { display: none; }

.gsh-progress {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.6px;
	color: #8A8A8A;
}

/* ── SEO PAGINACIJA (crawlable <a href>) ─────────────────── */
.gsh-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 26px 0 8px;
	font-family: 'Montserrat', sans-serif;
}
.gsh-pg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #D5D5D5;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 600;
	color: #3F3F3F;
	text-decoration: none;
	background: #fff;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.gsh-pg:hover,
.gsh-pg:focus-visible { border-color: #035751; color: #035751; }
.gsh-pg.is-current {
	background: #035751;
	border-color: #035751;
	color: #fff;
	pointer-events: none;
}
.gsh-pg-arrow { font-size: 16px; font-weight: 700; }
.gsh-pg-next { gap: 4px; font-size: 13px; font-weight: 400; letter-spacing: .2px; }
.gsh-pg-dots { padding: 0 4px; color: #9B9B9B; font-weight: 600; user-select: none; }

/* ── SCROLL TO TOP ──────────────────────────────────────── */
.gsh-scrolltop {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%) translateY(0);
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	max-width: 40px !important;
	max-height: 40px !important;
	border-radius: 50%;
	background: #0A0A0A !important;
	border: 0 !important;
	color: #fff !important;
	padding: 0 !important;
	line-height: 1 !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9000;
	box-shadow: 0 4px 14px rgba(0,0,0,.22);
	opacity: 1;
	visibility: visible;
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.gsh-scrolltop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
.gsh-scrolltop:hover,
.gsh-scrolltop:focus,
.gsh-scrolltop:focus-visible,
.gsh-scrolltop:active {
	background: #0A0A0A !important;
	color: #fff !important;
	border-color: transparent !important;
	box-shadow: 0 4px 14px rgba(0,0,0,.22) !important;
	outline: none !important;
}
.gsh-scrolltop img {
	width: 16px !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	display: block;
	object-fit: contain;
}

/* ── Empty state ────────────────────────────────────────── */
.gsh-empty {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	color: #6B6B6B;
	padding: 40px 0;
	text-align: center;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
	.gsh-grid { gap: 44px 18px; }
}

/* mobilni filter bar (Svi filteri + Sortiraj) - skriven na desktopu */
.gsh-filterbar-mobile { display: none; }

@media (max-width: 768px) {
	/* Sidebar skriven na mobilnom (mobilni dizajn sidebara = kasnije) */
	.gsh-sidebar { display: none; }
	.gsh-layout { grid-template-columns: 1fr; column-gap: 0; padding: 24px 0 64px; }
	.gsh-topbar-col, .gsh-content-col { grid-column: 1; }

	.gsh-title { font-size: 28px; line-height: 30px; margin-bottom: 16px; }

	/* desktop dropdown bar skriven; prikazan mobilni "Svi filteri + Sortiraj" */
	.gsh-filterbar { display: none !important; }
	.gsh-filterbar-mobile {
		display: flex;
		width: 100%;
		height: 58px;
		background: #F0F0F0;
		border-radius: 12px;
		overflow: hidden;
		margin: 0 0 18px;
	}
	.gsh-mob-btn {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 7px;
		height: 100%;
		padding: 0 6px;
		background: transparent;
		border: 0;
		cursor: pointer;
		font-family: 'Montserrat', sans-serif;
		font-weight: 500;
		font-size: 14.5px;
		color: #1A1A1A;
		white-space: nowrap;
	}
	.gsh-mob-btn:hover, .gsh-mob-btn:focus, .gsh-mob-btn:active {
		background: rgba(0, 0, 0, 0.04) !important;
		color: #1A1A1A !important;
		box-shadow: none !important;
		outline: none !important;
	}
	.gsh-mob-cats, .gsh-mob-filters { border-right: 1px solid rgba(0, 0, 0, 0.12); }
	.gsh-mob-ico { width: 20px; height: 20px; flex-shrink: 0; }
	.gsh-mob-badge {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 24px;
		height: 24px;
		padding: 0 6px;
		border-radius: 999px;
		background: #3C3C3C;
		color: #fff;
		font-size: 12px;
		font-weight: 600;
	}
	.gsh-mob-badge[hidden] { display: none; }

	.gsh-results { gap: 22px; }
	.gsh-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 38px 16px;
	}
	/* Mobile pattern: 2×2 pa 1 velika (svaka 5. = puna širina), pa opet */
	/* poništi desktop velike (9./10.) na mobitelu */
	.gsh-grid > .gsh-item:nth-child(10n+9),
	.gsh-grid > .gsh-item:nth-child(10n+10) { grid-column: auto; }
	.gsh-grid > .gsh-item:nth-child(10n+9) .grv-card-img-wrap,
	.gsh-grid > .gsh-item:nth-child(10n+10) .grv-card-img-wrap { aspect-ratio: 497 / 746; height: auto; }
	/* svaka 5. kartica = veća (preko reda) ali UVUČENA, ne puna širina, slika 411px */
	.gsh-grid > .gsh-item:nth-child(5n) { grid-column: 1 / -1; }
	.gsh-grid > .gsh-item:nth-child(5n) .grv-card { max-width: 86%; margin-inline: auto; }
	.gsh-grid > .gsh-item:nth-child(5n) .grv-card-img-wrap { aspect-ratio: auto; height: 411px; }
	.gsh-load-more { padding: 22px 24px; width: 100%; max-width: none; }
	.gsh-scrolltop { bottom: 20px; }

	.gsh-drawer-panel {
		top: 0;
		left: 0;
		right: 0;
		bottom: auto;
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		border-radius: 0;
	}
}

/* ============================================================
 * MOBILNI FILTER DRAWER + SORTIRAJ SHEET
 * ============================================================ */
body.gsh-noscroll { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

.gsh-drawer, .gsh-sheet {
	position: fixed;
	inset: 0;
	z-index: 100000;
	font-family: 'Montserrat', sans-serif;
}
.gsh-drawer[hidden], .gsh-sheet[hidden] { display: none; }
.gsh-drawer-overlay, .gsh-sheet-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	animation: gshFade .25s ease;
}

/* ── DRAWER ── */
.gsh-drawer-panel {
	position: absolute;
	top: 2.5vh; left: 2.5vw; right: 2.5vw; bottom: 2.5vh;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	animation: gshDrawerIn .32s cubic-bezier(.16, 1, .3, 1);
}
@keyframes gshDrawerIn { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes gshFade { from { opacity: 0; } to { opacity: 1; } }

/* blagi stagger ulaz sekcija drawera */
.gsh-drawer-body > .gsh-acc, .gsh-drawer-body > .gsh-drawer-cats { animation: gshAccIn .3s ease backwards; }
.gsh-drawer-body > *:nth-child(1) { animation-delay: .04s; }
.gsh-drawer-body > *:nth-child(2) { animation-delay: .08s; }
.gsh-drawer-body > *:nth-child(3) { animation-delay: .12s; }
.gsh-drawer-body > *:nth-child(4) { animation-delay: .16s; }
.gsh-drawer-body > *:nth-child(5) { animation-delay: .20s; }
.gsh-drawer-body > *:nth-child(6) { animation-delay: .24s; }
.gsh-drawer-body > *:nth-child(7) { animation-delay: .28s; }
@keyframes gshAccIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* accordion body otvaranje */
.gsh-acc.is-open > .gsh-acc-body { animation: gshAccBody .25s ease; }
@keyframes gshAccBody { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.gsh-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 26px 24px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.gsh-drawer-title {
	font-weight: 700; font-size: 11px; line-height: 16.5px; letter-spacing: 2.75px;
	text-transform: uppercase; color: #035751; margin: 0;
}
/* Tabovi u drawer headu (Kategorije | Filteri) */
.gsh-drawer-tabs { display: flex; gap: 8px; }
.gsh-drawer-tab {
	background: none; border: 0; cursor: pointer; padding: 6px 2px 8px;
	font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px;
	letter-spacing: .2px; color: #9C9C9C; position: relative;
}
.gsh-drawer-tab + .gsh-drawer-tab { margin-left: 14px; }
.gsh-drawer-tab::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: #035751; transform: scaleX(0); transition: transform .18s ease;
}
.gsh-drawer--cats .gsh-drawer-tab[data-drawer-tab="cats"],
.gsh-drawer--filters .gsh-drawer-tab[data-drawer-tab="filters"] { color: #035751; }
.gsh-drawer--cats .gsh-drawer-tab[data-drawer-tab="cats"]::after,
.gsh-drawer--filters .gsh-drawer-tab[data-drawer-tab="filters"]::after { transform: scaleX(1); }
.gsh-drawer-x { background: none; border: 0; cursor: pointer; color: #1A1A1A; padding: 4px; }
.gsh-drawer-x svg { width: 22px; height: 22px; display: block; }

.gsh-drawer-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* ── Drawer modovi: „Kategorije" dugme = samo kategorije; „Filteri" = samo filteri ── */
.gsh-drawer--cats .gsh-acc[data-filter] { display: none; }          /* cats mod: sakrij filter accordione */
.gsh-drawer--cats .gsh-acc-cats > .gsh-acc-head { display: none; }  /* header redundantan sa naslovom */
.gsh-drawer--cats .gsh-acc-cats > .gsh-acc-body { display: block !important; }
.gsh-drawer--filters .gsh-acc-cats { display: none; }               /* filter mod: sakrij kategorije */

/* Footovi po modu (kategorije dobijaju svoja 2 dugmeta, kao filteri) */
.gsh-drawer-foot--cats { display: none; }
.gsh-drawer--cats .gsh-drawer-foot--filters { display: none; }
.gsh-drawer--cats .gsh-drawer-foot--cats { display: flex; }
.gsh-drawer--filters .gsh-drawer-foot--cats { display: none; }

/* Odabrana kategorija - bez pozadine: smeđi podebljani tekst + kvačica */
.gsh-drawer .gsh-cat-head--link.is-picked .gsh-cat-head-text { color: #035751; font-weight: 700; }
.gsh-drawer .gsh-cat-head--link.is-picked .gsh-cat-head-text::after {
	content: '✓'; display: inline-block; margin-left: 9px; font-weight: 700; font-size: .95em; color: #035751;
}
.gsh-cat-apply[disabled] { opacity: .38; pointer-events: none; }

.gsh-acc { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.gsh-acc-head {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	background: none; border: 0; cursor: pointer; padding: 22px 24px; text-align: left;
}
.gsh-acc-head:hover, .gsh-acc-head:focus { background: transparent !important; box-shadow: none !important; outline: none !important; }
.gsh-acc-title-row { display: inline-flex; align-items: center; gap: 8px; }
.gsh-acc-label {
	font-weight: 700; font-size: 9px; line-height: 13.5px; letter-spacing: 2.25px;
	text-transform: uppercase; color: #035751;
}
.gsh-acc-count {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 18px; height: 18px; padding: 0 5px;
	background: #035751; color: #fff; border-radius: 999px;
	font-size: 10px; font-weight: 600; letter-spacing: 0;
}
.gsh-acc-count[hidden] { display: none; }
/* označena trenutna/odabrana kategorija u draweru */
.gsh-drawer .gsh-cat-head--link.is-active .gsh-cat-head-text { font-weight: 700; color: #0A0A0A; }
.gsh-acc-arrow { width: 12px; height: 12px; flex-shrink: 0; color: rgba(0, 0, 0, 0.5); transition: transform .2s ease; }
.gsh-acc.is-open .gsh-acc-arrow { transform: rotate(180deg); }
.gsh-acc-body { padding: 2px 24px 24px; }
.gsh-acc:not(.is-open) .gsh-acc-body { display: none; }

/* pilule (brend / materijal / inspiracije) */
.gsh-pill-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.gsh-pill {
	padding: 0 18px; height: 44px; border: 1.5px solid #E0E0E0; border-radius: 8px;
	background: #fff; cursor: pointer;
	font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 14px; color: #171717;
	transition: all .15s ease;
}
/* selektovano u draweru = crno (kao Figma) - za pilule i kvadratiće */
.gsh-drawer .gsh-pill.is-selected,
.gsh-drawer .gsh-size-btn.is-selected {
	background: #0A0A0A !important; color: #fff !important; border-color: #0A0A0A !important;
}
.gsh-pill:hover, .gsh-pill:focus, .gsh-pill:focus-visible, .gsh-pill:active {
	border-color: #0A0A0A !important;
	background: #fff !important;
	color: #171717 !important;
	box-shadow: none !important;
	outline: none !important;
}
/* selektovano (crno) ostaje crno i na hover - i pilule i kvadratići */
.gsh-drawer .gsh-pill.is-selected,
.gsh-drawer .gsh-pill.is-selected:hover,
.gsh-drawer .gsh-pill.is-selected:focus,
.gsh-drawer .gsh-size-btn.is-selected,
.gsh-drawer .gsh-size-btn.is-selected:hover,
.gsh-drawer .gsh-size-btn.is-selected:focus {
	background: #0A0A0A !important;
	color: #fff !important;
	border-color: #0A0A0A !important;
}
/* size kvadratići u draweru: hover ne-selektovanih = svijetlo, tekst taman */
.gsh-drawer .gsh-size-btn:not(.is-selected):hover,
.gsh-drawer .gsh-size-btn:not(.is-selected):focus {
	background: #F0F0F0 !important;
	color: #171717 !important;
	border-color: #0A0A0A !important;
}

.gsh-drawer-foot {
	display: flex; gap: 14px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(0, 0, 0, 0.1); flex: none; background: #fff;
}
.gsh-drawer-clear, .gsh-drawer-apply {
	flex: 1; height: 46px; border-radius: 8px; cursor: pointer;
	font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 9.5px; line-height: 14.25px; letter-spacing: 1.9px;
	text-transform: uppercase; transition: background .15s ease;
}
.gsh-drawer-clear { background: #fff; border: 1.5px solid #DADADA; color: #0A0A0A; }
.gsh-drawer-apply { background: #0A0A0A; border: 0; color: #fff; }
.gsh-drawer-clear:hover, .gsh-drawer-clear:focus, .gsh-drawer-clear:active { background: #F5F5F5 !important; color: #0A0A0A !important; box-shadow: none !important; outline: none !important; }
.gsh-drawer-apply:hover, .gsh-drawer-apply:focus, .gsh-drawer-apply:active { background: #000 !important; color: #fff !important; box-shadow: none !important; outline: none !important; }
/* ukini Elementor pink na X i sve mobilne filter dugmiće */
.gsh-drawer-x:hover, .gsh-drawer-x:focus, .gsh-drawer-x:focus-visible, .gsh-drawer-x:active {
	background: transparent !important; color: #1A1A1A !important; box-shadow: none !important; outline: none !important;
}
.gsh-drawer button:focus, .gsh-drawer button:focus-visible,
.gsh-sheet button:focus, .gsh-sheet button:focus-visible,
.gsh-filterbar-mobile button:focus, .gsh-filterbar-mobile button:focus-visible {
	box-shadow: none !important; outline: none !important;
}

/* ── SORTIRAJ SHEET (bottom) ── */
.gsh-sheet-panel {
	position: absolute; left: 0; right: 0; bottom: 0;
	background: #fff;
	border-radius: 16px 16px 0 0;
	padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0px));
	display: flex; flex-direction: column; gap: 16px;
	animation: gshSheetIn .3s cubic-bezier(.16, 1, .3, 1);
}
@keyframes gshSheetIn { from { transform: translateY(100%); } to { transform: none; } }
.gsh-sheet .gsh-dd-list { gap: 4px; }
.gsh-sheet .gsh-sort-opt { padding: 13px 12px; border-radius: 8px; font-size: 14px; }
.gsh-sheet .gsh-sort-opt.is-sel { background: rgba(236, 236, 240, 0.5); }   /* #ECECF080 */
.gsh-sheet-apply {
	height: 50px; border: 0; border-radius: 8px; cursor: pointer;
	background: #035751; color: #fff;
	font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 12px; line-height: 18px; letter-spacing: 1.8px;
	text-transform: uppercase;
}
.gsh-sheet-apply:hover, .gsh-sheet-apply:focus, .gsh-sheet-apply:active { background: #5E5E5E !important; color: #fff !important; box-shadow: none !important; outline: none !important; }

/* kategorije (accordion) unutar drawera - u tonu sa filterima */
.gsh-drawer .gsh-cat-nav { padding: 0; }
.gsh-drawer .gsh-cat-head { padding: 10px 0; }
.gsh-drawer .gsh-cat-head-text,
.gsh-drawer .gsh-cat-d1 > .gsh-cat-head .gsh-cat-head-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0;
	font-variant-caps: normal;
	text-transform: none;
	color: #1A1A1A;
}
.gsh-drawer .gsh-cat-d1 > .gsh-cat-head { padding: 9px 0; }
.gsh-drawer .gsh-cat-d0 > .gsh-cat-subs { border-top: 0; border-bottom: 0; margin: 2px 0 8px 12px; padding: 2px 0 4px 16px; border-left: 1px solid #D5D5D5; }
.gsh-drawer .gsh-cat-arrow { color: rgba(0, 0, 0, 0.4); }
.gsh-drawer-cats .gsh-cat-arrow { color: rgba(0, 0, 0, 0.4); }

/* ── Badge preporučene veličine na kartici (samo ulogovani s mjerama) ── */
.gsh-size-badge {
	display: inline-flex; align-items: center; gap: 4px;
	width: fit-content;
	margin: 0 0 6px;
	padding: 4px 9px;
	background: #0A0A0A; color: #fff;
	font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 600;
	line-height: 1; letter-spacing: .4px;
	border-radius: 999px;
}
.gsh-size-badge__ic { flex: 0 0 auto; }
.gsh-size-badge--shoe { background: #035751; }

@media (max-width: 768px) {
	.gsh-drawer .gsh-acc-label {
		font-size: 11px;
		line-height: 15.5px;
	}

	.gsh-drawer {
		inset: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		height: 100dvh !important;
	}

	.gsh-drawer-panel {
		position: fixed !important;
		top: 0 !important;
		right: 0 !important;
		bottom: auto !important;
		left: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		height: 100dvh !important;
		min-height: 0 !important;
		border-radius: 0 !important;
	}

	.gsh-drawer .gsh-pill-grid {
		gap: 8px;
	}

	.gsh-drawer .gsh-pill {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 0;
		height: 31px;
		padding: 0 13px;
		border: 1px solid rgba(0, 0, 0, 0.1);
		border-radius: 6px;
		font-family: 'Montserrat', sans-serif;
		font-weight: 500;
		font-size: 12.5px;
		line-height: 17.25px;
		letter-spacing: 0.47px;
		color: #171717;
		text-align: center;
	}

	.gsh-drawer .gsh-size-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 8px 10px;
	}

	.gsh-drawer .gsh-size-btn {
		height: 31px;
		min-width: 0;
		border: 1px solid rgba(0, 0, 0, 0.1);
		border-radius: 6px;
		font-family: 'Montserrat', sans-serif;
		font-weight: 500;
		font-size: 12.5px;
		line-height: 17.25px;
		letter-spacing: 0.47px;
	}

	.gsh-drawer .gsh-pill-grid--material {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.gsh-drawer .gsh-pill--material {
		width: 100%;
		height: auto;
		min-height: 31px;
		padding: 6px 8px;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.gsh-drawer .gsh-pill--material.is-long {
		grid-column: 1 / -1;
	}
}
