/* Catalog header, filters and reference-inspired product cards. */
.themeshop-catalog-page .woocommerce-products-header{display:none}
.themeshop-catalog-intro{display:flex;align-items:end;justify-content:space-between;gap:30px;padding:34px;margin:0 0 25px;border:1px solid var(--ts-color-border);border-radius:var(--ts-radius-lg);background:radial-gradient(circle at 90% 10%,rgba(91,75,224,.12),transparent 32%),var(--ts-color-surface-soft)}
.themeshop-catalog-intro h1{margin:5px 0 10px;font-size:clamp(2rem,4vw,3.1rem)}
.themeshop-kicker{margin:0;color:var(--ts-color-primary);font-size:.75rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.themeshop-catalog-description{max-width:650px;margin:0;color:var(--ts-color-muted)}
.themeshop-catalog-search{display:flex;gap:8px;width:min(100%,390px);flex-shrink:0}
.themeshop-catalog-search input{min-width:0}
.themeshop-catalog-search button{padding:0 18px;border:0;border-radius:var(--ts-radius-sm);background:var(--ts-color-primary);color:#fff;font-weight:750;cursor:pointer}
.themeshop-category-nav{display:flex;gap:9px;overflow-x:auto;padding:3px 0 20px;margin-bottom:8px;scrollbar-width:thin}
.themeshop-category-chip{flex:0 0 auto;padding:8px 14px;border:1px solid var(--ts-color-border);border-radius:999px;background:var(--ts-color-surface);color:var(--ts-color-text);font-size:.88rem;font-weight:650;text-decoration:none;transition:all var(--ts-transition)}
.themeshop-category-chip:hover,.themeshop-category-chip.is-active{border-color:var(--ts-color-primary);background:var(--ts-color-primary);color:#fff}
.themeshop-catalog-page .woocommerce-result-count{color:var(--ts-color-muted);font-size:.9rem}
.themeshop-catalog-page .woocommerce-ordering select{min-width:190px}

/* Card grid */
.woocommerce ul.products,
.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0!important;padding:0!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
	float:none!important;width:auto!important;clear:none!important;min-width:0;margin:0!important;padding:9px 9px 13px!important;
	display:flex;flex-direction:column;position:relative;overflow:hidden;
	border:1px solid #e1e7f0;border-radius:14px;background:#fff;
	box-shadow:0 2px 7px rgba(23,38,67,.08);transition:transform .2s ease,box-shadow .2s ease;
}
.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(23,38,67,.12)}
.woocommerce ul.products li.product a img{
	display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;
	margin:0 0 12px!important;border-radius:7px;background:#f1f4f8;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
	padding:0;margin:0 4px 5px;font-size:15px;line-height:1.35;font-weight:750;color:#17213a;
}
.themeshop-product-meta{display:flex;gap:4px;flex-wrap:wrap;margin:0 4px 10px;color:#7c879b;font-size:12px;line-height:1.35}
.themeshop-product-meta span+span:before{content:"·";margin-right:4px}
.woocommerce ul.products li.product .star-rating{display:none}
.woocommerce ul.products li.product .price{
	display:block;margin:0 4px 6px;color:#19335d;font-size:17px;font-weight:750;
}
.woocommerce ul.products li.product .price del{margin-right:5px;color:#8c929c;font-size:14px;font-weight:500;opacity:1}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.themeshop-product-badges{position:absolute;top:18px;left:18px;z-index:2;display:flex;gap:5px;flex-wrap:wrap}
.themeshop-badge{display:inline-flex;padding:5px 8px;border-radius:5px;background:#fff;color:#202638;font-size:11px;font-weight:800;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.themeshop-badge-featured{background:#27204f;color:#fff}
.themeshop-badge-sale{background:#0f9f83;color:#fff}
.themeshop-product-stats{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:23px;margin:0 4px 11px;color:#8290a7;font-size:12px}
.themeshop-product-rating{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.themeshop-product-rating .star-rating{display:inline-block!important;float:none!important;margin:0!important;font-size:13px}
.themeshop-product-rating .star-rating:before{color:#d9dee7}
.themeshop-product-rating .star-rating span:before{color:#ffad26}
.themeshop-product-rating.is-unrated>span{color:#d9dee7;letter-spacing:0}
.themeshop-product-rating small{font-size:11px;color:#667085}
.themeshop-product-actions{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px;margin-top:auto}
.themeshop-cart-action .add_to_cart_button,
.themeshop-cart-action a.button,
.themeshop-cart-action .product_type_variable,
.themeshop-cart-action .product_type_grouped{
	display:flex!important;align-items:center;justify-content:center;width:48px;height:42px;min-height:42px;margin:0!important;padding:0!important;
	border:1px solid #b9d5ff!important;border-radius:9px!important;background:#edf5ff!important;color:#2380ff!important;
	font-size:0!important;line-height:1!important;box-shadow:none!important;
}
.themeshop-cart-action .add_to_cart_button:before,
.themeshop-cart-action a.button:before{content:"🛒";font-size:17px}
.themeshop-cart-action .added_to_cart{display:none!important}
.themeshop-preview-link{
	display:flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:0 10px;
	border:1px solid #d8e1ef;border-radius:9px;background:#fff;color:#17213a;
	font-size:14px;font-weight:550;text-decoration:none;transition:all .2s ease;
}
.themeshop-preview-link:hover{border-color:#8bb8ff;background:#f7faff;color:#176fe5}
.themeshop-preview-link.is-unavailable{color:#a0a8b5;background:#f8fafc;cursor:not-allowed}
.woocommerce ul.products li.product .button.loading:after{top:12px;right:5px}
.themeshop-single-preview-wrap{margin:14px 0}
.themeshop-single-preview{border-color:var(--ts-color-primary)!important}
.themeshop-single-product div.product .woocommerce-product-gallery{border:1px solid var(--ts-color-border);border-radius:var(--ts-radius-lg);padding:12px;background:var(--ts-color-surface)}
.themeshop-single-product div.product .summary{padding:10px 0}
.themeshop-single-product .product_meta{padding-top:15px;border-top:1px solid var(--ts-color-border);color:var(--ts-color-muted)}
@media(max-width:1024px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:1fr!important;gap:14px}.themeshop-catalog-intro{align-items:stretch;flex-direction:column;padding:24px}.themeshop-catalog-search{width:100%}.themeshop-product-actions{grid-template-columns:42px minmax(0,1fr);gap:6px}.themeshop-cart-action .add_to_cart_button,.themeshop-cart-action a.button{width:42px}}
@media(max-width:420px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:1fr}.themeshop-catalog-search{flex-direction:column}.themeshop-catalog-search button{min-height:42px}}


/* v1.18.2 — Professional Shop / Product Archive visual system. */
body.themeshop-catalog-page {
	background:
		radial-gradient(ellipse at 12% 0%,rgba(86,88,232,.045),transparent 34%),
		var(--ts-color-surface-soft);
}
.themeshop-catalog-page .site-main,
.themeshop-catalog-page .woocommerce {
	--ts-catalog-ink:#202744;
	--ts-catalog-muted:#75809a;
}
.themeshop-catalog-page .woocommerce-notices-wrapper:empty { display:none; }
.themeshop-catalog-page .woocommerce .woocommerce-breadcrumb { margin:0 0 14px;color:#8490a8;font-size:12px; }
.themeshop-catalog-page .themeshop-catalog-intro {
	position:relative;
	isolation:isolate;
	display:grid;
	grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);
	align-items:center;
	gap:38px;
	min-height:190px;
	margin:0 0 20px;
	padding:34px 38px;
	overflow:hidden;
	border:1px solid rgba(111,119,225,.18);
	border-radius:20px;
	background:
		radial-gradient(circle at 88% 12%,rgba(123,117,255,.18),transparent 32%),
		radial-gradient(circle at 70% 100%,rgba(24,169,153,.08),transparent 38%),
		linear-gradient(115deg,#fff 0%,#f8f9ff 58%,#f0f1ff 100%);
	box-shadow:0 12px 34px rgba(40,48,100,.055);
}
.themeshop-catalog-page .themeshop-catalog-intro:after {
	content:"";
	position:absolute;
	z-index:-1;
	width:250px;height:250px;
	right:-105px;top:-150px;
	border:1px solid rgba(86,88,232,.12);
	border-radius:50%;
	box-shadow:0 0 0 28px rgba(86,88,232,.025),0 0 0 58px rgba(86,88,232,.02);
	pointer-events:none;
}
.themeshop-catalog-page .themeshop-catalog-intro > div { position:relative;z-index:1; }
.themeshop-catalog-page .themeshop-kicker {
	display:inline-flex;align-items:center;gap:8px;
	margin:0 0 10px;
	color:#5658e8;
	font-size:10px;font-weight:850;letter-spacing:1.5px;
}
.themeshop-catalog-page .themeshop-kicker:before {
	content:"";width:18px;height:2px;border-radius:3px;background:#18a999;
}
.themeshop-catalog-page .themeshop-catalog-intro h1 {
	margin:0 0 9px;
	color:#202744;
	font-size:clamp(30px,3.2vw,42px);
	font-weight:800;line-height:1.12;letter-spacing:-1px;
}
.themeshop-catalog-page .themeshop-catalog-description {
	max-width:590px;margin:0;color:#77819a;font-size:13px;line-height:1.75;
}
.themeshop-catalog-page .themeshop-catalog-search {
	position:relative;z-index:2;
	display:flex;align-items:center;gap:8px;
	width:100%;max-width:500px;justify-self:end;
	padding:7px;
	border:1px solid #e4e7f2;border-radius:13px;
	background:rgba(255,255,255,.96);
	box-shadow:0 12px 30px rgba(35,45,95,.09),inset 0 1px 0 #fff;
	transition:border-color .2s ease,box-shadow .2s ease;
}
.themeshop-catalog-page .themeshop-catalog-search:focus-within {
	border-color:rgba(86,88,232,.55);
	box-shadow:0 0 0 4px rgba(86,88,232,.09),0 14px 34px rgba(35,45,95,.11);
}
.themeshop-catalog-page .themeshop-catalog-search input[type="search"] {
	flex:1;min-width:0;height:52px;margin:0;padding:0 14px;
	border:0!important;outline:0!important;box-shadow:none!important;
	background:transparent!important;color:#202744;font-size:13px;
}
.themeshop-catalog-page .themeshop-catalog-search input::placeholder { color:#9aa3b6; }
.themeshop-catalog-page .themeshop-catalog-search button {
	display:inline-flex;align-items:center;justify-content:center;
	min-width:104px;min-height:52px;padding:0 18px;
	border:0;border-radius:9px;
	background:linear-gradient(135deg,#625cf2,#426eea);
	color:#fff;font-size:13px;font-weight:750;
	box-shadow:0 6px 15px rgba(86,88,232,.22);
	transition:transform .18s ease,box-shadow .18s ease;
}
.themeshop-catalog-page .themeshop-catalog-search button:hover {
	transform:translateY(-1px);box-shadow:0 9px 20px rgba(86,88,232,.3);
}
.themeshop-catalog-page .themeshop-category-nav {
	display:flex;align-items:center;gap:9px;
	margin:0 0 18px;padding:0 0 4px;
	overflow-x:auto;scrollbar-width:thin;
}
.themeshop-catalog-page .themeshop-category-chip {
	display:inline-flex;align-items:center;justify-content:center;
	min-height:36px;padding:0 15px;
	border:1px solid #e4e8f2;border-radius:999px;
	background:#fff;color:#59647d;
	font-size:11px;font-weight:750;white-space:nowrap;
	box-shadow:0 2px 6px rgba(30,42,85,.025);
}
.themeshop-catalog-page .themeshop-category-chip:hover,
.themeshop-catalog-page .themeshop-category-chip.is-active {
	border-color:#5658e8;
	background:linear-gradient(135deg,#625cf2,#426eea);
	color:#fff;box-shadow:0 5px 13px rgba(86,88,232,.18);
}
.themeshop-catalog-page .woocommerce-notices-wrapper:not(:empty) { margin:0 0 16px; }
.themeshop-catalog-page .woocommerce .woocommerce-result-count {
	margin:0;color:#7b859c;font-size:12px;line-height:40px;
}
.themeshop-catalog-page .woocommerce .woocommerce-ordering { margin:0 0 18px; }
.themeshop-catalog-page .woocommerce .woocommerce-ordering select {
	min-width:185px;height:40px;padding:0 34px 0 13px;
	border:1px solid #e2e6f0;border-radius:9px;
	background-color:#fff;color:#35405a;font-size:12px;
	box-shadow:0 2px 7px rgba(30,42,85,.035);
}
.themeshop-catalog-page .woocommerce .products {
	grid-template-columns:repeat(4,minmax(0,1fr))!important;
	gap:18px!important;
}
.themeshop-catalog-page .woocommerce ul.products li.product,
.themeshop-catalog-page .woocommerce-page ul.products li.product {
	padding:10px 10px 13px!important;
	border:1px solid #e5e9f3;
	border-radius:15px;
	box-shadow:0 3px 12px rgba(31,43,88,.055);
}
.themeshop-catalog-page .woocommerce ul.products li.product:hover {
	transform:translateY(-4px);
	border-color:rgba(86,88,232,.28);
	box-shadow:0 14px 30px rgba(31,43,88,.11);
}
.themeshop-catalog-page .woocommerce ul.products li.product a img {
	aspect-ratio:16/10;
	margin-bottom:13px!important;
	border-radius:9px;
	background:linear-gradient(145deg,#f3f5fb,#edf0f7);
}
.themeshop-catalog-page .woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin:0 4px 7px;color:#202744;font-size:14px;line-height:1.45;
}
.themeshop-catalog-page .themeshop-product-meta {
	margin:0 4px 10px;color:#8791a6;font-size:11px;
}
.themeshop-catalog-page .woocommerce ul.products li.product .price {
	margin:0 4px 7px;color:#27345a;font-size:16px;font-weight:800;
}
.themeshop-catalog-page .themeshop-product-stats {
	margin:0 4px 12px;color:#8b95aa;font-size:11px;
}
.themeshop-catalog-page .themeshop-product-actions {
	grid-template-columns:44px minmax(0,1fr);gap:8px;
}
.themeshop-catalog-page .themeshop-cart-action .add_to_cart_button,
.themeshop-catalog-page .themeshop-cart-action a.button {
	width:44px;height:40px;min-height:40px;
	border-radius:9px!important;
	background:#f0f3ff!important;color:#5658e8!important;
	border-color:#dce2ff!important;
}
.themeshop-catalog-page .themeshop-preview-link {
	min-height:40px;border-radius:9px;
	background:#f8f9ff;color:#5658e8;
	border-color:#e0e5fb;font-size:12px;font-weight:700;
}
.themeshop-catalog-page .themeshop-preview-link:hover {
	background:#5658e8;color:#fff;border-color:#5658e8;
}
.themeshop-catalog-page .woocommerce nav.woocommerce-pagination {
	margin:30px 0 8px;
}
.themeshop-catalog-page .woocommerce nav.woocommerce-pagination ul {
	display:flex;justify-content:center;gap:6px;
	border:0;
}
.themeshop-catalog-page .woocommerce nav.woocommerce-pagination ul li {
	border:0;
}
.themeshop-catalog-page .woocommerce nav.woocommerce-pagination ul li a,
.themeshop-catalog-page .woocommerce nav.woocommerce-pagination ul li span {
	display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;
	border:1px solid #e2e6f0;border-radius:8px;
	background:#fff;color:#66708a;font-size:12px;font-weight:700;
}
.themeshop-catalog-page .woocommerce nav.woocommerce-pagination ul li span.current,
.themeshop-catalog-page .woocommerce nav.woocommerce-pagination ul li a:hover {
	border-color:#5658e8;background:#5658e8;color:#fff;
}
@media(max-width:1050px) {
	.themeshop-catalog-page .woocommerce .products { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
}
@media(max-width:760px) {
	.themeshop-catalog-page .themeshop-catalog-intro {
		grid-template-columns:1fr;gap:20px;min-height:0;
		padding:25px 22px;border-radius:16px;
	}
	.themeshop-catalog-page .themeshop-catalog-intro h1 { font-size:32px; }
	.themeshop-catalog-page .themeshop-catalog-search { max-width:none; }
	.themeshop-catalog-page .woocommerce .products { grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important; }
	.themeshop-catalog-page .woocommerce ul.products li.product,
	.themeshop-catalog-page .woocommerce-page ul.products li.product { padding:7px 7px 10px!important;border-radius:12px; }
	.themeshop-catalog-page .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size:12px; }
	.themeshop-catalog-page .themeshop-product-actions { grid-template-columns:36px minmax(0,1fr);gap:5px; }
	.themeshop-catalog-page .themeshop-cart-action .add_to_cart_button,
	.themeshop-catalog-page .themeshop-cart-action a.button { width:36px;height:36px;min-height:36px; }
	.themeshop-catalog-page .themeshop-preview-link { min-height:36px;padding:0 5px;font-size:10px; }
	.themeshop-catalog-page .woocommerce .woocommerce-ordering { float:none;margin:0 0 14px; }
	.themeshop-catalog-page .woocommerce .woocommerce-ordering select { width:100%; }
}
@media(max-width:420px) {
	.themeshop-catalog-page .themeshop-catalog-search button { min-width:82px;padding:0 11px; }
	.themeshop-catalog-page .woocommerce .products { grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important; }
	.themeshop-catalog-page .woocommerce ul.products li.product .price { font-size:14px; }
}


/* v1.18.3 — Clear visual separation between the last product row and pagination. */
.themeshop-catalog-page .woocommerce ul.products,
.themeshop-catalog-page .woocommerce-page ul.products {
	margin-bottom:0!important;
}
.themeshop-catalog-page .woocommerce nav.woocommerce-pagination {
	clear:both;
	display:block;
	width:100%;
	margin:0!important;
	padding:30px 0 10px;
}
@media(max-width:760px) {
	.themeshop-catalog-page .woocommerce nav.woocommerce-pagination {
		padding-top:24px;
	}
}
