/* Category chips on WooCommerce shop / category archives */

.lk-cat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.6rem;
	margin: 0 0 1.5rem;
	padding: 0 0 1rem;
	border-bottom: 1px solid rgba(17, 24, 28, 0.12);
}

.lk-cat-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(17, 24, 28, 0.18);
	border-radius: 6px;
	background: #f7f5f1;
	color: #1a2228;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lk-cat-chip:hover,
.lk-cat-chip:focus {
	background: #efeae2;
	border-color: rgba(17, 24, 28, 0.35);
	color: #111;
	text-decoration: none;
}

.lk-cat-chip.is-active {
	background: #1f4f5c;
	border-color: #1f4f5c;
	color: #fff;
}

.lk-cat-chip.is-active:hover,
.lk-cat-chip.is-active:focus {
	background: #173c46;
	border-color: #173c46;
	color: #fff;
}

.lk-cat-chip.is-locked:not(.is-active) {
	border-style: dashed;
}

.lk-cat-chip__lock {
	font-weight: 700;
	opacity: 0.7;
}

@media (max-width: 600px) {
	.lk-cat-chips {
		gap: 0.4rem;
	}

	.lk-cat-chip {
		padding: 0.4rem 0.7rem;
		font-size: 0.85rem;
	}
}

/* Catalog sorting (orderby) */
.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
	margin: 0 0 1.25rem;
	float: none;
}

.woocommerce .woocommerce-ordering select.orderby,
.woocommerce-page .woocommerce-ordering select.orderby,
.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
	appearance: none;
	-webkit-appearance: none;
	min-width: 12.5rem;
	max-width: 100%;
	padding: 0.5rem 2.25rem 0.5rem 0.85rem;
	border: 1px solid rgba(17, 24, 28, 0.18);
	border-radius: 6px;
	background-color: #f7f5f1;
	background-image: 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='%231a2228' d='M1.4 1.2L6 5.8l4.6-4.6 1.4 1.4L6 8.6.0 2.6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 12px 8px;
	color: #1a2228;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	box-shadow: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.woocommerce .woocommerce-ordering select.orderby:hover,
.woocommerce-page .woocommerce-ordering select.orderby:hover,
.woocommerce .woocommerce-ordering select:hover,
.woocommerce-page .woocommerce-ordering select:hover {
	background-color: #efeae2;
	border-color: rgba(17, 24, 28, 0.35);
}

.woocommerce .woocommerce-ordering select.orderby:focus,
.woocommerce-page .woocommerce-ordering select.orderby:focus,
.woocommerce .woocommerce-ordering select:focus,
.woocommerce-page .woocommerce-ordering select:focus {
	outline: none;
	border-color: #1f4f5c;
	box-shadow: 0 0 0 3px rgba(31, 79, 92, 0.18);
}

.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
	float: none;
	margin: 0 0 0.75rem;
	color: #4a5560;
	font-size: 0.9rem;
}

/* Shop / category product cards — denser than default, but readable */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.25rem 1.1rem;
	margin: 0 0 1.5rem;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
	display: none !important;
	content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	padding: 0;
}

.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.woocommerce-page ul.products li.product .woocommerce-loop-product__link img {
	width: 100%;
	height: auto;
	max-height: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.95rem;
	line-height: 1.35;
	margin: 0.5rem 0 0.3rem;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
	font-size: 0.92rem;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button {
	font-size: 0.85rem;
	padding: 0.45rem 0.75rem;
}

@media (max-width: 600px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 0.9rem 0.75rem;
	}
}
