.csc-catalog {
	--csc-accent: #111;
	--csc-border: #e5e5e5;
	--csc-muted: #777;
	margin: 0 0 2rem;
}

.csc-catalog__heading {
	position: relative;
	margin: 0 0 1rem;
	padding-bottom: .55rem;
	color: #111;
	font-size: clamp(1.3rem, 2.2vw, 1.7rem);
	font-weight: 750;
	line-height: 1.3;
}

.csc-catalog__heading::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin-top: .45rem;
	border-radius: 99px;
	background: linear-gradient(90deg, #111, #111, #111);
}

.csc-catalog__filters {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
	grid-template-rows: auto auto;
	gap: .6rem .7rem;
	align-items: center;
	margin: 0 0 .9rem !important;
	padding: .65rem;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-radius: 9px;
}

.csc-catalog__search-wrap,
.csc-catalog__search-wrap .searchform,
.csc-catalog__search-wrap .searchform-wrapper,
.csc-catalog__search-wrap .searchform .flex-row {
	width: 100%;
	min-width: 0;
	margin: 0 !important;
}

.csc-catalog__search-wrap {
	grid-column: 1;
	grid-row: 1;
	position: relative;
	z-index: 5;
}

/* Category selection is provided by the chip row below the search field. */
.csc-catalog__search-wrap .search_categories,
.csc-catalog__search-wrap .search-form-categories {
	display: none !important;
}

.csc-catalog__search-wrap .searchform > .flex-row {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
}

.csc-catalog__search-wrap .searchform > .flex-row > .flex-col.flex-grow {
	flex: 1 1 auto;
	min-width: 0;
}

.csc-catalog__search-wrap .live-search-results {
	z-index: 40;
	max-height: min(60vh, 420px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.csc-catalog__search-wrap .ux-search-submit,
.csc-catalog__search-wrap .searchform .submit-button,
.csc-catalog__search-wrap .searchform .button[type="submit"] {
	min-width: 42px;
	min-height: 42px;
	margin: 0 !important;
	border-color: #111 !important;
	background: #111 !important;
	color: #fff !important;
}

.csc-catalog__search-wrap .ux-search-submit:hover,
.csc-catalog__search-wrap .searchform .submit-button:hover,
.csc-catalog__search-wrap .searchform .button[type="submit"]:hover {
	border-color: #111 !important;
	background: #111 !important;
	color: #fff !important;
}

.csc-catalog__search-wrap .search-field,
.csc-catalog__search,
.csc-catalog__sort {
	width: 100%;
	min-height: 42px;
	margin: 0 !important;
	padding: .55rem .75rem !important;
	border: 1px solid #e5e5e5 !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: #111 !important;
	font-size: .9rem !important;
	box-shadow: none !important;
}

.csc-catalog__sort {
	grid-column: 2;
	grid-row: 1;
	max-width: 280px;
}

.csc-catalog__categories {
	grid-column: 1 / -1;
	grid-row: 2;
	display: flex;
	align-items: center;
	gap: .45rem;
	width: 100%;
	padding: .1rem 0 .35rem;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	touch-action: pan-x;
}

.csc-catalog__category {
	flex: 0 0 auto;
	min-height: 40px;
	margin: 0 !important;
	padding: .45rem .85rem !important;
	border: 1px solid #e5e5e5 !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #777 !important;
	font: inherit;
	font-size: .84rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	touch-action: manipulation;
	transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

.csc-catalog__category:hover,
.csc-catalog__category:focus-visible,
.csc-catalog__category.is-active {
	border-color: #111 !important;
	background: #111 !important;
	color: #fff !important;
}

.csc-catalog__search:focus,
.csc-catalog__search-wrap .search-field:focus,
.csc-catalog__sort:focus {
	border-color: #111 !important;
	outline: 2px solid rgba(0, 0, 0, .12);
	outline-offset: 1px;
}

.csc-catalog__filter-button {
	min-height: 42px;
	margin: 0 !important;
	padding: .55rem 1rem !important;
	border: 1px solid #111 !important;
	border-radius: 6px !important;
	background: #111 !important;
	color: #fff !important;
	font-size: .86rem !important;
	font-weight: 700 !important;
	white-space: nowrap;
	cursor: pointer;
}

.csc-catalog__filter-button:hover,
.csc-catalog__filter-button:focus {
	background: #111 !important;
	border-color: #111 !important;
	color: #fff !important;
}

.csc-catalog__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: .55rem;
}

.csc-catalog__item {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	list-style: none !important;
	margin: 0 !important;
	padding: .65rem .75rem !important;
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr) auto;
	align-items: center;
	gap: .8rem;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .045);
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
	touch-action: manipulation;
}

.csc-catalog__item::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: .65rem;
	bottom: .65rem;
	left: 0;
	width: 3px;
	border-radius: 0 4px 4px 0;
	background: linear-gradient(180deg, #111, #111 70%, #111);
	opacity: .26;
	transform: scaleY(.35);
	transform-origin: center;
	transition: opacity .22s ease, transform .22s ease;
}

.csc-catalog__image {
	display: block;
	width: 68px;
	height: 68px;
	overflow: hidden;
	border-radius: 7px;
	background: #fafafa;
}

.csc-catalog__image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover;
	transition: transform .28s ease;
}

.csc-catalog__details {
	min-width: 0;
}

.csc-catalog__title-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .4rem;
}

.csc-catalog__title {
	color: #111;
	font-size: 1.1rem;
	font-weight: 720;
	line-height: 1.35;
	text-decoration: none;
	transition: color .16s ease;
}

.csc-catalog__title:hover {
	color: #111;
}

.csc-catalog__hot {
	flex: 0 0 auto;
	padding: .14rem .38rem;
	border-radius: 4px;
	background: var(--csc-accent);
	color: #fff;
	font-size: .62rem;
	font-weight: 800;
	letter-spacing: .045em;
	line-height: 1.25;
}

.csc-catalog__summary {
	margin: .18rem 0 0 !important;
	color: #777;
	font-size: .82rem;
	line-height: 1.4;
}

.csc-catalog__price {
	margin-top: .22rem;
	color: var(--csc-accent);
	font-size: .9rem;
	font-weight: 700;
}

.csc-catalog__price del {
	color: #777;
	font-size: .82em;
	font-weight: 400;
}

.csc-catalog__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: .48rem .72rem;
	border-radius: 6px;
	background: linear-gradient(135deg, #111, #111);
	color: #fff !important;
	font-size: .78rem;
	font-weight: 650;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 3px 9px rgba(0, 0, 0, .2);
	transition: background .16s ease, box-shadow .16s ease;
}

.csc-catalog__contact:hover,
.csc-catalog__contact:focus {
	background: linear-gradient(135deg, #fafafa, #fff);
	box-shadow: 0 5px 14px rgba(0, 0, 0, .25);
	color: #111 !important;
}

/* Match Flatsome's single header contact CTA to the catalog's wine-red palette. */
.header-wrapper .header-button .button {
	background: #111;
	border-color: #111;
	color: #fff;
}

.header-wrapper .header-button .button:hover {
	background: #111;
	border-color: #111;
	color: #fff;
}

/* Keep desktop rows quiet; reveal the contact action for the item under the pointer. */
@media (hover: hover) and (pointer: fine) {
	.csc-catalog__contact {
		opacity: 0;
		pointer-events: none;
		transform: translateY(4px);
		transition: opacity .16s ease, transform .16s ease, background-color .15s ease;
	}

	.csc-catalog__item:hover,
	.csc-catalog__item:focus-within {
		border-color: #111;
		background: #111;
		box-shadow: 0 9px 24px rgba(0, 0, 0, .17);
		transform: translateY(-2px);
	}

	.csc-catalog__item:hover::before,
	.csc-catalog__item:focus-within::before {
		opacity: 1;
		transform: scaleY(1);
	}

	.csc-catalog__item:hover .csc-catalog__image img,
	.csc-catalog__item:focus-within .csc-catalog__image img {
		transform: scale(1.055);
	}

	.csc-catalog__item:hover .csc-catalog__title,
	.csc-catalog__item:focus-within .csc-catalog__title {
		color: #fff;
	}

	.csc-catalog__item:hover .csc-catalog__summary,
	.csc-catalog__item:focus-within .csc-catalog__summary {
		color: #ddd;
	}

	.csc-catalog__item:hover .csc-catalog__price,
	.csc-catalog__item:focus-within .csc-catalog__price,
	.csc-catalog__item:hover .csc-catalog__price *,
	.csc-catalog__item:focus-within .csc-catalog__price * {
		color: #fff !important;
	}

	.csc-catalog__item:hover .csc-catalog__price del,
	.csc-catalog__item:focus-within .csc-catalog__price del {
		color: #bbb !important;
	}

	.csc-catalog__item:hover .csc-catalog__contact,
	.csc-catalog__item:focus-within .csc-catalog__contact {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
		background: #fff;
		color: #111 !important;
		box-shadow: 0 4px 13px rgba(0, 0, 0, .28);
	}

	.csc-catalog__item:hover .csc-catalog__contact:hover,
	.csc-catalog__item:focus-within .csc-catalog__contact:focus {
		background: #fafafa;
		color: #111 !important;
	}
}

.csc-catalog__results.is-loading {
	opacity: .55;
	transition: opacity .15s ease;
	pointer-events: none;
}

.csc-catalog__results.is-error {
	opacity: 1;
}

.csc-catalog__status:empty {
	display: none;
}

.csc-catalog__status:not(:empty) {
	margin: 0 0 .7rem !important;
	color: #111;
	font-size: .85rem;
}

.csc-catalog__pagination ul {
	display: flex;
	justify-content: center;
	gap: .35rem;
	margin: 1rem 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.csc-catalog__pagination li {
	margin: 0 !important;
}

.csc-catalog__pagination a,
.csc-catalog__pagination span {
	display: inline-flex;
	min-width: 34px;
	min-height: 34px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--csc-border);
	border-radius: 5px;
	padding: .25rem .5rem;
}

@media (max-width: 600px) {
	.csc-catalog__filters {
		grid-template-columns: minmax(0, 1fr) minmax(126px, .72fr);
		gap: .5rem;
		padding: .55rem;
	}

	.csc-catalog__sort {
		max-width: none;
		min-width: 0;
		min-height: 48px;
		padding: .5rem .45rem !important;
		font-size: 14px !important;
	}

	.csc-catalog__search-wrap .search-field,
	.csc-catalog__search {
		min-height: 48px;
		font-size: 16px !important;
	}

	.csc-catalog__search-wrap .ux-search-submit,
	.csc-catalog__search-wrap .searchform .submit-button,
	.csc-catalog__search-wrap .searchform .button[type="submit"] {
		min-width: 42px;
		min-height: 48px;
	}

	.csc-catalog__category {
		min-height: 42px;
		padding-right: .9rem !important;
		padding-left: .9rem !important;
	}

	.csc-catalog__item {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: .55rem .7rem;
		padding: .55rem !important;
	}

	.csc-catalog__image {
		width: 56px;
		height: 56px;
	}

	.csc-catalog__title {
		font-size: 1rem;
	}

	.csc-catalog__summary {
		display: none;
	}

	.csc-catalog__contact {
		grid-column: 2;
		justify-self: start;
		min-height: 44px;
		padding: .4rem .62rem;
		font-size: .75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.csc-catalog__item,
	.csc-catalog__item::before,
	.csc-catalog__image img,
	.csc-catalog__title,
	.csc-catalog__contact {
		transition: none !important;
	}
}

/* A selected touch row mirrors the desktop hover state. */
.csc-catalog__item.is-open { background:#111; border-color:#111; }
.csc-catalog__item.is-open .csc-catalog__title,
.csc-catalog__item.is-open .csc-catalog__price,
.csc-catalog__item.is-open .csc-catalog__price * { color:#fff !important; }
.csc-catalog__item.is-open .csc-catalog__summary { color:#ddd !important; }
.csc-catalog__item.is-open .csc-catalog__contact { background:#fff; color:#111 !important; opacity:1; pointer-events:auto; transform:none; }
.csc-catalog__hot { position:relative; display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; padding:0; border-radius:7px; background:#111; color:#fff; overflow:hidden; animation:csc-spark 3s ease-in-out infinite; }
.csc-catalog__hot::after { content:""; position:absolute; inset:-50%; background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.45) 50%,transparent 60%); transform:translateX(-100%); animation:csc-shine 4s ease-in-out infinite; }
.csc-catalog__item.is-open .csc-catalog__hot { background:#fff; color:#111; }
@keyframes csc-spark { 0%,80%,100% { transform:scale(1); } 86% { transform:scale(1.1) rotate(-7deg); } 92% { transform:scale(1.05) rotate(5deg); } }
@keyframes csc-shine { 0%,70% { transform:translateX(-100%); } 90%,100% { transform:translateX(100%); } }
@media (hover:none), (pointer:coarse), (max-width:768px) {
 .csc-catalog__contact { display:none; }
 .csc-catalog__item.is-open .csc-catalog__contact { display:inline-flex; min-height:44px; }
 .csc-catalog__item:not(.is-open) { background:#fff; }
 .csc-catalog__item:not(.is-open) .csc-catalog__title { color:#111; }
}
.header-wrapper .header-button .button { background:#111 !important; border-color:#111 !important; color:#fff !important; }
@media (prefers-reduced-motion:reduce) { .csc-catalog__hot,.csc-catalog__hot::after { animation:none !important; } }
@media (hover:hover) and (pointer:fine) {
 .csc-catalog__item:hover .csc-catalog__hot, .csc-catalog__item:focus-within .csc-catalog__hot { background:#fff; color:#111; }
}

/* Single product details only; catalog thumbnails remain visible. */
.csc-single-catalog .product-main .product-gallery,
.csc-single-catalog .product-main .woocommerce-product-gallery,
.csc-single-catalog .product-main .product-thumbnails,
.csc-single-catalog .product-main form.cart,
.csc-single-catalog .product-main .single_add_to_cart_button { display:none !important; }
.csc-single-catalog .product-main .product-info { flex-basis:100% !important; max-width:100% !important; width:100% !important; }
/* On-demand product preview, with fixed header/footer and independently scrolling content. */
body.csc-preview-open { overflow:hidden; }
.csc-preview { width:min(720px,calc(100vw - 32px)); max-width:720px; max-height:85vh; max-height:85dvh; padding:0; border:1px solid #e5e5e5; border-radius:20px; background:#fff; color:#111; box-shadow:0 30px 100px rgba(0,0,0,.28); }
.csc-preview[open] { display:flex; flex-direction:column; animation:csc-preview-in .2s ease-out; }
.csc-preview::backdrop { background:rgba(0,0,0,.58); backdrop-filter:blur(4px); }
.csc-preview__header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding:26px 28px 20px; border-bottom:1px solid #eee; flex:0 0 auto; }
.csc-preview__eyebrow { display:block; margin-bottom:8px; color:#777; font-size:10px; font-weight:700; letter-spacing:.14em; }
.csc-preview #csc-preview-title { margin:0; color:#111; font-size:clamp(20px,3vw,28px); line-height:1.25; overflow-wrap:anywhere; }
.csc-preview__close { display:flex; flex:0 0 36px; align-items:center; justify-content:center; width:36px; height:36px; margin:0; padding:0; border:1px solid #ddd; border-radius:50%; background:#f7f7f7; color:#111; font-size:25px; line-height:1; cursor:pointer; }
.csc-preview__body { min-height:0; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; padding:24px 28px; }
.csc-preview__price { margin-bottom:20px; color:#111; font-size:22px; font-weight:700; }
.csc-preview__price:empty { display:none; }
.csc-preview__price * { color:inherit !important; }
.csc-preview__price del { color:#888 !important; font-size:16px; font-weight:400; }
.csc-preview__description { color:#444; font-size:15px; line-height:1.75; overflow-wrap:anywhere; }
.csc-preview__description img,.csc-preview__description video,.csc-preview__description iframe { max-width:100%; }
.csc-preview__description table { display:block; overflow-x:auto; }
.csc-preview__footer { flex:0 0 auto; display:flex; justify-content:flex-end; gap:10px; padding:18px 28px; border-top:1px solid #eee; background:#fafafa; }
.csc-preview__footer a { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 18px; border:1px solid #111; border-radius:9px; font-size:14px; font-weight:650; text-decoration:none; }
.csc-preview__telegram { color:#111 !important; background:#fff; }
.csc-preview__detail { color:#fff !important; background:#111; }
.csc-preview__footer a:hover { box-shadow:0 3px 12px rgba(0,0,0,.15); }
@keyframes csc-preview-in { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:600px) {
 .csc-preview { width:calc(100vw - 20px); max-height:88vh; max-height:88dvh; border-radius:16px; }
 .csc-preview__header { padding:20px 18px 16px; }
 .csc-preview__body { padding:20px 18px; }
 .csc-preview__footer { padding:14px 18px; }
 .csc-preview__footer a { flex:1; padding:10px 8px; font-size:13px; }
}
@media(prefers-reduced-motion:reduce) { .csc-preview[open] { animation:none; } }
