/* HOTCUP catalog / shop archive */

.hc-catalog {
	padding: 28px 0 80px;
	background: #fff;
	color: var(--hc-text, #222);
	font-family: var(--hc-font, "Montserrat", system-ui, sans-serif);
}

.hc-catalog__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 22px;
	font-size: 13px;
	font-weight: 500;
	color: #999;
}
.hc-catalog__crumbs a {
	color: #666;
	text-decoration: none;
}
.hc-catalog__crumbs a:hover {
	color: var(--hc-orange, #ff3d00);
}

.hc-catalog__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
	margin-bottom: 28px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--hc-line, #e8e8e8);
}
.hc-catalog__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hc-orange, #ff3d00);
}
.hc-catalog__title {
	margin: 0 0 8px;
	font-size: clamp(1.55rem, 2.4vw, 2rem);
	font-weight: var(--hc-heading-weight, 700);
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: #111;
}
.hc-catalog__lead {
	margin: 0;
	max-width: 38rem;
	font-size: 14px;
	line-height: 1.55;
	color: #666;
	font-weight: 500;
}
.hc-catalog__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}
.hc-catalog__count {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #888;
}
.hc-catalog__sort select {
	appearance: none;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #222;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
	border: 1px solid #ddd;
	border-radius: 0;
	padding: 10px 36px 10px 12px;
	min-width: 200px;
	cursor: pointer;
}
.hc-catalog__sort select:focus {
	outline: 2px solid var(--hc-orange, #ff3d00);
	outline-offset: 1px;
}

/* Podkategorie — chip cloud (jak mygiftdna) */
.hc-catalog__subcats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 28px;
	padding: 0 0 22px;
	border-bottom: 1px solid var(--hc-line, #e8e8e8);
}
.hc-catalog__subcats-label {
	flex: 0 0 auto;
	padding-top: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #222;
	line-height: 1.25;
}
.hc-catalog__subcats-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 1 1 220px;
}
.hc-catalog__subcat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 14px;
	border: 1px solid #d8d8d8;
	border-radius: 0;
	background: #fff;
	color: #333;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.25;
	white-space: nowrap;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.hc-catalog__subcat:hover {
	border-color: #111;
	color: #111;
}
.hc-catalog__subcat.is-active {
	border-color: #111;
	background: #111;
	color: #fff;
}

.hc-catalog__filters-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 12px 14px;
	width: 100%;
	justify-content: center;
	border: 1px solid #111;
	background: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.hc-catalog__filters-badge {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--hc-orange, #ff3d00);
	color: #fff;
	font-size: 11px;
}

.hc-catalog__layout {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: 36px 40px;
	align-items: start;
}

.hc-catalog__sidebar {
	position: sticky;
	top: 96px;
}
.hc-catalog__sidebar-top {
	display: none;
}
.hc-catalog__active {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--hc-line, #e8e8e8);
}
.hc-catalog__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid #ddd;
	background: #fafafa;
	color: #333;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}
.hc-catalog__chip.is-active {
	border-color: #111;
	background: #fff;
}
.hc-catalog__chip:hover {
	border-color: var(--hc-orange, #ff3d00);
	color: var(--hc-orange, #ff3d00);
}
.hc-catalog__clear {
	align-self: center;
	font-size: 12px;
	font-weight: 600;
	color: #888;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.hc-catalog__clear:hover {
	color: var(--hc-orange, #ff3d00);
}

.hc-catalog__group {
	margin: 0 0 26px;
}
.hc-catalog__group-title {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #111;
}
.hc-catalog__options {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.hc-catalog__options > li {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}
.hc-catalog__option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 12px;
	min-height: 36px;
	color: #333;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	white-space: nowrap;
	border: 1px solid #d8d8d8;
	border-radius: 0;
	background: #fff;
	line-height: 1.25;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.hc-catalog__option em {
	font-style: normal;
	font-size: 11px;
	font-weight: 600;
	color: #aaa;
}
.hc-catalog__option:hover {
	border-color: #111;
	color: #111;
}
.hc-catalog__option.is-on {
	border-color: #111;
	background: #111;
	color: #fff;
	font-weight: 700;
}
.hc-catalog__option.is-on em {
	color: rgba(255, 255, 255, 0.75);
}

.hc-catalog__colors {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.hc-catalog__colors > li {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}
.hc-catalog__color {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px 7px 8px;
	min-height: 36px;
	color: #333;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	border: 1px solid #d8d8d8;
	background: #fff;
	line-height: 1.25;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.hc-catalog__color:hover {
	border-color: #111;
	color: #111;
}
.hc-catalog__color.is-on {
	border-color: #111;
	background: #111;
	color: #fff;
	font-weight: 700;
}
.hc-catalog__color em {
	font-style: normal;
	font-size: 11px;
	font-weight: 600;
	color: #aaa;
}
.hc-catalog__color.is-on em {
	color: rgba(255, 255, 255, 0.75);
}
.hc-catalog__color-dot {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #999;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #cfcfcf;
}
.hc-catalog__color-dot.is-light {
	box-shadow: 0 0 0 1px #bbb;
}
.hc-catalog__color.is-on .hc-catalog__color-dot {
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px #111;
}
.hc-catalog__color-label {
	min-width: 0;
}

.hc-catalog.is-loading {
	position: relative;
	pointer-events: none;
}
.hc-catalog.is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 5;
	background: rgba(255, 255, 255, 0.55);
}
.hc-catalog.is-loading .hc-catalog__main {
	opacity: 0.45;
}

.hc-catalog__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.hc-catalog__grid .hc-pcard {
	min-width: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(17, 17, 17, 0.05);
}
.hc-catalog__patterns-note {
	margin: 0 0 14px;
	font-size: 13px;
	color: #666;
	line-height: 1.45;
}
.hc-catalog__grid .hc-pcard__media {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	margin: 0;
	padding: 12px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	aspect-ratio: 1;
	text-decoration: none;
	box-sizing: border-box;
}
.hc-catalog__grid .hc-pcard__media > img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	padding: 0;
	box-sizing: border-box;
	object-fit: contain;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	mix-blend-mode: normal;
	background: transparent;
}
.hc-catalog__grid .hc-pcard__media .hc-mock {
	display: grid;
	place-items: center;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
	aspect-ratio: auto;
	box-sizing: border-box;
}
.hc-catalog__grid .hc-pcard__media .hc-mock__stage {
	position: relative;
	width: 100%;
	max-height: 100%;
}
.hc-catalog__grid .hc-pcard__media .hc-mock__mug,
.hc-catalog__grid .hc-pcard__media .hc-mock__full {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	padding: 0;
}
.hc-catalog__grid .hc-pcard__media .hc-mock__zone {
	position: absolute;
	left: var(--hc-l, 28%);
	top: var(--hc-t, 22%);
	width: var(--hc-w, 34%);
	height: var(--hc-h, 42%);
	display: grid;
	place-items: center;
	pointer-events: none;
	overflow: hidden;
	transform: translate(var(--hc-ox, 0%), var(--hc-oy, 0%));
	transform-origin: center center;
	-webkit-mask-image: none;
	mask-image: none;
}
.hc-catalog__grid .hc-pcard__media .hc-mock:not(.hc-mock--pillow) .hc-mock__zone:not(.hc-mock__zone--flat) {
	transform: translate(var(--hc-ox, 0%), var(--hc-oy, 0%)) perspective(520px) rotateY(-7deg);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.hc-catalog__grid .hc-pcard__media .hc-mock__zone--flat {
	transform: translate(var(--hc-ox, 0%), var(--hc-oy, 0%));
	-webkit-mask-image: none;
	mask-image: none;
}
.hc-catalog__grid .hc-pcard__media .hc-mock__art {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	transform: scale(var(--hc-scale, 1));
	transform-origin: center center;
	mix-blend-mode: multiply;
}
.hc-catalog__grid .hc-pcard__media .hc-mock--dark .hc-mock__art {
	mix-blend-mode: screen;
}
.hc-catalog__grid .hc-pcard__media .hc-mock__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.hc-catalog__grid .hc-pcard__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 14px 14px 16px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: #fff;
}
.hc-catalog__grid .hc-pcard__body h3 {
	margin: 0;
}
.hc-catalog__grid .hc-pcard__body h3 a {
	text-decoration: none;
	color: inherit;
}
.hc-catalog__grid .hc-pcard__price {
	margin: 0;
}
.hc-catalog__grid .hc-pcard__cta {
	margin-top: auto;
}

.hc-catalog__empty {
	padding: 48px 20px;
	text-align: center;
	border: 1px solid var(--hc-line, #e8e8e8);
}
.hc-catalog__empty p {
	margin: 0 0 18px;
	font-size: 15px;
	color: #666;
}

.hc-catalog__pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 36px;
}
/* UL from paginate_links( type=list ) */
.hc-catalog__pager ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: auto;
}
.hc-catalog__pager .page-numbers li {
	display: inline-flex;
	margin: 0;
}
/* Plain links/spans (type=plain) AND anchors inside list items.
   Never let .page-numbers become a full-width flex column. */
.hc-catalog__pager > a.page-numbers,
.hc-catalog__pager > span.page-numbers,
.hc-catalog__pager li .page-numbers,
.hc-catalog__pager a.page-numbers,
.hc-catalog__pager span.page-numbers {
	display: inline-grid;
	place-items: center;
	box-sizing: border-box;
	min-width: 40px;
	width: auto;
	height: 40px;
	padding: 0 10px;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	flex: 0 0 auto;
}
.hc-catalog__pager .current,
.hc-catalog__pager span.page-numbers.current {
	border-color: #111;
	background: #111;
	color: #fff;
}
.hc-catalog__pager a.page-numbers:hover {
	border-color: var(--hc-orange, #ff3d00);
	color: var(--hc-orange, #ff3d00);
}

.hc-catalog__scrim {
	display: none;
}

@media (max-width: 1200px) {
	.hc-catalog__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 900px) {
	.hc-catalog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.hc-catalog__filters-toggle {
		display: inline-flex;
	}
	.hc-catalog__layout {
		grid-template-columns: 1fr;
	}
	.hc-catalog__sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 1200;
		width: min(100% - 48px, 340px);
		max-width: 100%;
		overflow: auto;
		padding: 18px 18px 32px;
		background: #fff;
		transform: translateX(-105%);
		transition: transform 0.22s ease;
		box-shadow: 8px 0 28px rgba(0, 0, 0, 0.12);
	}
	.hc-catalog.is-filters-open .hc-catalog__sidebar {
		transform: translateX(0);
	}
	.hc-catalog__sidebar-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 16px;
		padding-bottom: 12px;
		border-bottom: 1px solid #eee;
		font-size: 15px;
	}
	.hc-catalog__filters-close {
		border: 0;
		background: transparent;
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
		color: #333;
	}
	.hc-catalog__scrim {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1190;
		background: rgba(0, 0, 0, 0.35);
	}
	.hc-catalog__scrim[hidden] {
		display: none !important;
	}
}

@media (max-width: 900px) {
	.hc-catalog__head {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}
	.hc-catalog__meta {
		width: 100%;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 10px;
	}
	.hc-catalog__subcats {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 10px 12px;
		margin-bottom: 20px;
		padding-bottom: 16px;
	}
	.hc-catalog__subcats-label {
		flex: 0 0 auto;
		padding-top: 0;
	}
	.hc-catalog__subcats-list {
		flex: 1 1 auto;
		flex-wrap: nowrap;
		align-items: center;
		gap: 8px;
		min-width: 0;
		width: auto;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 2px;
		margin-inline: 0;
	}
	.hc-catalog__subcats-list::-webkit-scrollbar { display: none; }
	.hc-catalog__subcat {
		flex: 0 0 auto;
		align-self: center;
		min-height: 36px;
		height: auto;
		white-space: nowrap;
	}
	.hc-catalog__options,
	.hc-catalog__colors {
		flex-wrap: wrap;
	}
	.hc-catalog__active {
		flex-wrap: wrap;
	}
}

@media (max-width: 560px) {
	.hc-catalog {
		padding: 16px 0 48px;
	}
	.hc-catalog__head {
		margin-bottom: 14px;
	}
	.hc-catalog__title {
		font-size: clamp(1.35rem, 6vw, 1.7rem);
	}
	.hc-catalog__lead {
		font-size: 13px;
	}
	.hc-catalog__grid {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}
	.hc-catalog__grid .hc-pcard__body {
		padding: 10px 8px 12px;
		gap: 6px;
	}
	.hc-catalog__grid .hc-pcard__body h3 {
		font-size: 12px;
	}
	.hc-catalog__grid .hc-pcard__price {
		font-size: 13px;
	}
	.hc-catalog__grid .hc-pcard__cta {
		font-size: 11.5px;
		min-height: 34px;
		padding: 0 8px;
	}
	.hc-catalog__grid .hc-pcard__media {
		aspect-ratio: 1;
	}
	.hc-catalog__grid .hc-pcard__media {
		padding: 8px;
	}
	.hc-catalog__sort select {
		min-width: 0;
		width: 100%;
	}
	.hc-catalog__meta {
		width: 100%;
	}
	.hc-catalog__filters-toggle {
		width: 100%;
		justify-content: center;
	}
	.hc-pattern-grid,
	.hc-pattern-grid--4 {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}
}

/* Block iOS focus zoom on catalog sort / filter fields. */
@media (max-width: 980px) {
	.hc-catalog__sort select,
	.hc-catalog input.input-text,
	.hc-catalog textarea,
	.hc-catalog select {
		font-size: 16px !important;
	}
}
