/**
 * Public styles for AuthorKit Books.
 *
 * @package AuthorKit
 */

/* Star Rating */
.authorkit-star-rating {
	display: inline-flex;
	gap: 2px;
	font-size: 16px;
	line-height: 1;
}

.authorkit-star-rating .star {
	display: inline-block;
}

.authorkit-star-rating .star-full {
	color: #ffa41c;
}

.authorkit-star-rating .star-half {
	color: #ffa41c;
	opacity: 0.5;
}

.authorkit-star-rating .star-empty {
	color: #ddd;
}

/* Book Page Styling - Will be expanded with template porting */
.authorkit-book-page {
	/* Placeholder for book page styles */
}

/* Book Grid/Archive - Will be expanded with template porting */
.authorkit-books-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 30px;
	margin: 30px 0;
}

.authorkit-book-card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.authorkit-book-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.authorkit-book-cover {
	width: 100%;
	aspect-ratio: 2/3;
	object-fit: cover;
}

.authorkit-book-info {
	padding: 15px;
}

.authorkit-book-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.authorkit-book-author {
	font-size: 14px;
	color: #666;
	margin-bottom: 8px;
}

.authorkit-book-price {
	font-size: 16px;
	font-weight: 600;
	color: #c45500;
	margin-top: 10px;
}

/* Coming Soon Badge */
.authorkit-coming-soon-badge {
	display: inline-block;
	background: #ff9900;
	color: white;
	padding: 4px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 8px;
}
