.woocommerce-breadcrumb,
.wc-block-breadcrumbs {
	color: var(--wp--preset--color--contrast-2);
}

.wc-block-breadcrumbs a {
	color: inherit;
}

.jkc-shop__intro .wp-block-query-title {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--10);
}

.jkc-shop__intro .wp-block-term-description {
	color: var(--wp--preset--color--contrast-2);
}

.jkc-shop__toolbar {
	padding-top: var(--wp--preset--spacing--10);
	border-top: 1px solid var(--wp--custom--line);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}

.jkc-shop__toolbar .woocommerce-result-count,
.jkc-shop__toolbar .woocommerce-ordering {
	margin: 0;
}

.jkc-shop__toolbar select {
	padding: 0.25rem 0.5rem;
}

.jkc-product-grid .wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--20);
}

@media (min-width: 782px) {
	.jkc-product-grid .wc-block-product-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: var(--wp--preset--spacing--30);
	}
}

@media (min-width: 1080px) {
	.jkc-product-grid .wc-block-product-template {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.jkc-product-grid .wc-block-product {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	text-align: left;
}

.jkc-product-grid .wc-block-components-product-image {
	margin-bottom: 0.5rem;
	padding: 1.5rem;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--base-2);
	transition: box-shadow var(--wp--custom--transition);
}

.jkc-product-grid .wc-block-components-product-image img {
	filter: drop-shadow(var(--wp--custom--drop-shadow--sm));
}

.jkc-product-grid .wc-block-components-product-image img[src*="placeholder-product"] {
	filter: none;
}

.jkc-product-grid .wc-block-product:hover .wc-block-components-product-image {
	box-shadow: 0 0 0 1px var(--wp--custom--line);
}

:is(.jkc-product-card__price, .jkc-product__price) {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}

.jkc-product-card__price {
	color: var(--wp--preset--color--contrast-2);
}

.jkc-product__media .woocommerce-product-gallery {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: var(--wp--preset--spacing--30);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--base-2);
}

.jkc-product__media .woocommerce-product-gallery__image img {
	width: auto;
	max-height: 70vh;
	margin-inline: auto;
	filter: drop-shadow(var(--wp--custom--drop-shadow--md));
}

.jkc-product__media .woocommerce-product-gallery__trigger {
	top: 1rem;
	right: 1rem;
}

.jkc-book-preview {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin: var(--wp--preset--spacing--20) auto 0;
	padding: calc(0.5rem - 1px) 1.25rem;
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: var(--wp--custom--radius--pill);
	background: transparent;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.5rem;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	transition: background-color var(--wp--custom--transition), color var(--wp--custom--transition);
}

.jkc-book-preview:hover,
.jkc-book-preview:focus-visible {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.jkc-book-preview__count {
	font-weight: 400;
	opacity: 0.7;
}

.jkc-product__summary .wp-block-post-title {
	margin-top: 0;
	line-height: 1.15;
}

.jkc-product__excerpt {
	font-size: var(--wp--preset--font-size--medium-large);
	color: var(--wp--preset--color--contrast-2);
}

.jkc-product__summary form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: stretch;
	margin: var(--wp--preset--spacing--10) 0;
}

.jkc-product__summary .quantity .qty {
	width: 4.5em;
	height: 100%;
	padding: 0.5rem;
	text-align: center;
}

.jkc-product__summary .wp-block-woocommerce-product-meta {
	padding-top: var(--wp--preset--spacing--10);
	border-top: 1px solid var(--wp--custom--line);
	color: var(--wp--preset--color--contrast-2);
}

.jkc-product__details {
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--custom--line);
}

.jkc-product__details .wp-block-heading {
	margin-top: 0;
}

.jkc-product__specs table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
}

.jkc-product__specs th,
.jkc-product__specs td {
	padding: 0.5rem 0;
	border: 0;
	border-bottom: 1px solid var(--wp--custom--line);
	text-align: left;
	vertical-align: top;
	background: none;
}

.jkc-product__specs th {
	width: 38%;
	padding-right: 1rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	color: var(--wp--preset--color--contrast-2);
}

.jkc-product__specs td p {
	margin: 0;
}

.jkc-price-notes {
	margin: -0.25rem 0 0;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.4;
	color: var(--wp--preset--color--contrast-2);
}

.jkc-price-notes a {
	color: inherit;
}

.jkc-product__summary .jkc-price-notes {
	margin-top: 0.25rem;
	font-size: var(--wp--preset--font-size--small);
}

.jkc-product__summary .jkc-price-notes + .jkc-price-notes {
	margin-top: 0;
}

.jkc-grid-tax-notice {
	margin-top: var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--contrast-2);
}
