.wp-bookstore-catalog-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wp-bookstore-item {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.wp-bookstore-item__image img {
	width: 100%;
	height: auto;
	display: block;
}

.wp-bookstore-item__title {
	margin: 0.5em 0 0.2em;
}

.wp-bookstore-item__author {
	color: inherit;
	opacity: 0.7;
	font-size: 0.9em;
	margin: 0 0 0.4em;
}

.wp-bookstore-item__price {
	font-weight: 600;
	margin: 0 0 0.6em;
}

.wp-bookstore-by-author {
	color: inherit;
	opacity: 0.7;
	font-style: italic;
	margin: -0.5em 0 1em;
}

.wp-bookstore-meta {
	border-collapse: collapse;
	margin: 1em 0;
}

.wp-bookstore-meta th,
.wp-bookstore-meta td {
	text-align: left;
	padding: 4px 12px 4px 0;
	border-bottom: 1px solid rgba(127, 127, 127, 0.3);
}

.wp-bookstore-meta th {
	font-weight: 600;
	color: inherit;
	opacity: 0.8;
}

.wp-bookstore-single-book {
	max-width: 360px;
}

.wp-bookstore-single-book__image img {
	width: 100%;
	height: auto;
}

.wp-bookstore-single-book__price {
	font-weight: 600;
	font-size: 1.1em;
}

.wp-bookstore-item__actions,
.wp-bookstore-single-book__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin-top: 4px;
}

.wp-bookstore-item__actions .added_to_cart,
.wp-bookstore-single-book__actions .added_to_cart {
	font-size: 0.85em;
	text-decoration: underline;
	white-space: nowrap;
	opacity: 0.8;
}

.wp-bookstore-item__actions .added_to_cart:hover,
.wp-bookstore-single-book__actions .added_to_cart:hover {
	opacity: 1;
}

@media (max-width: 782px) {
	.wp-bookstore-catalog-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
