/* Colours and shapes match the ProgressiveKids home page: blue hero, white cards, orange pill buttons. */
.pkbs-store {
	--pkbs-navy: #275372;
	--pkbs-sky: #00a1ff;
	--pkbs-orange: #ff8c00;
	--pkbs-text: #33475b;
	--pkbs-soft: #f0f4f8;
	margin: 0 0 48px;
	color: var(--pkbs-text);
	font-family: inherit;
}

/* Banner */
.pkbs-store .pkbs-hero {
	margin: 0 0 32px;
	padding: 36px 32px 34px;
	border-radius: 20px;
	background: linear-gradient(135deg, rgb(0, 120, 220) 0%, rgb(0, 161, 255) 50%, rgb(0, 120, 200) 100%);
	color: #fff;
	text-align: center;
}

.pkbs-store .pkbs-eyebrow {
	margin: 0 0 12px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}

.pkbs-store .pkbs-heading {
	margin: 0 0 10px;
	color: #fff;
	font-size: clamp(26px, 3.6vw, 36px);
	font-weight: 900;
	line-height: 1.15;
}

.pkbs-store .pkbs-intro {
	max-width: 640px;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.9);
	font-size: 17px;
	line-height: 1.6;
}

.pkbs-store .pkbs-intro p {
	margin: 0 0 8px;
	color: inherit;
}

.pkbs-store .pkbs-intro p:last-child {
	margin-bottom: 0;
}

/* Book cards */
.pkbs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
	gap: 28px;
}

.pkbs-store .pkbs-book {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid #e3eaf1;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pkbs-store .pkbs-book:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(39, 83, 114, 0.12);
}

.pkbs-store .pkbs-cover {
	padding: 22px 22px 0;
	background: var(--pkbs-soft);
}

.pkbs-store .pkbs-cover img,
.pkbs-store .pkbs-cover-placeholder {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	margin: 0;
	aspect-ratio: 17 / 22;
	object-fit: cover;
	border-radius: 6px 6px 0 0;
	box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.12);
}

.pkbs-store .pkbs-cover-placeholder {
	background: #dfe7ef;
	box-shadow: none;
}

.pkbs-store .pkbs-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 20px 22px 24px;
}

.pkbs-store .pkbs-title {
	margin: 0 0 6px;
	color: var(--pkbs-navy);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
}

.pkbs-store .pkbs-details {
	margin: 0 0 12px;
	color: var(--pkbs-sky);
	font-size: 13px;
	font-weight: 700;
}

.pkbs-store .pkbs-description {
	margin: 0 0 20px;
	color: var(--pkbs-text);
	font-size: 15px;
	line-height: 1.6;
}

.pkbs-store .pkbs-description p {
	margin: 0 0 10px;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.pkbs-store .pkbs-description p:last-child {
	margin-bottom: 0;
}

.pkbs-full,
.pkbs-description.is-open .pkbs-excerpt {
	display: none;
}

.pkbs-description.is-open .pkbs-full {
	display: block;
}

.pkbs-store .pkbs-more {
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pkbs-sky);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.pkbs-store .pkbs-more:hover {
	text-decoration: underline;
}

/* Buttons */
.pkbs-store .pkbs-button,
.pkbs-store .pkbs-coming-soon {
	display: inline-block;
	margin-top: auto;
	padding: 12px 26px;
	border-radius: 28px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.pkbs-store a.pkbs-button,
.pkbs-store a.pkbs-button:visited {
	background: var(--pkbs-orange);
	box-shadow: 0 4px 16px rgba(255, 140, 0, 0.4);
	color: #fff;
}

.pkbs-store a.pkbs-button:hover,
.pkbs-store a.pkbs-button:focus {
	background: #f07f00;
	color: #fff;
}

.pkbs-store .pkbs-coming-soon {
	border: 1px dashed #b9c8d6;
	background: var(--pkbs-soft);
	color: var(--pkbs-navy);
}

.pkbs-store .pkbs-empty {
	color: var(--pkbs-navy);
	font-size: 18px;
	text-align: center;
}

@media (max-width: 600px) {
	.pkbs-store .pkbs-hero {
		padding: 28px 18px 26px;
		border-radius: 14px;
	}

	.pkbs-store .pkbs-intro {
		font-size: 16px;
	}
}
