/**
 * Store page (page-store.html): a plain (non-full-bleed) header,
 * matching Services rather than The City's photo-cover treatment —
 * confirmed via the artifact, not assumed (§2c never said either way).
 *
 * Real design gap found, same class of issue as Services/The City:
 * only 1 of 6 products (Kumbakonam Degree Coffee) has a real photo in
 * the source artifact — inspected each product card's DOM directly,
 * the other 5 render the artifact's own diagonal-stripe "no image"
 * placeholder (same visual language as The City's neighbourhood gaps),
 * not a fabricated stock photo. Flag to the owner (see PLAN.md §9).
 */

.chennai-world-store-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.chennai-world-store-filter {
	padding: 0.5rem 1.25rem;
	border: 1px solid var(--wp--preset--color--text-secondary);
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--text-secondary);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chennai-world-store-filter:hover {
	color: var(--wp--preset--color--text-primary);
	border-color: var(--wp--preset--color--text-primary);
}

.chennai-world-store-filter.is-active {
	border-color: var(--wp--preset--color--accent-gold);
	background-color: var(--wp--preset--color--accent-gold);
	color: #1c1b18;
}

.chennai-world-store-card[hidden] {
	display: none;
}

.chennai-world-store-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--30);
}

.chennai-world-store-card {
	display: flex;
	flex-direction: column;
	border-radius: 1.25rem;
	overflow: hidden;
	background-color: var(--wp--preset--color--surface);
	box-shadow: rgba(0, 0, 0, 0.35) 0 30px 80px 0;
}

.chennai-world-store-card-photo {
	height: 14rem;
	background-size: cover;
	background-position: center;
}

.chennai-world-store-card-photo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: repeating-linear-gradient(135deg, var(--wp--preset--color--surface), var(--wp--preset--color--surface) 10px, var(--wp--preset--color--background-secondary) 10px, var(--wp--preset--color--background-secondary) 20px);
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.05em;
}

.chennai-world-store-card-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: var(--wp--preset--spacing--30);
}

.chennai-world-store-card-category {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--accent-gold);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.chennai-world-store-card-text h2 {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.625rem;
	font-weight: 600;
	color: var(--wp--preset--color--text-primary);
}

.chennai-world-store-card-text p {
	margin: 0;
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--medium);
}

/*
 * Children reset to margin:0: these are wp:group blocks ("flow" layout
 * in the editor) rendered as flex rows below — core's block-gap global
 * styles still add margin-block-start to every child after the first,
 * which pushed it out of the row (same root cause as the shared
 * .chennai-world-eyebrow fix in patterns.css).
 */
.chennai-world-store-card-footer > *,
.chennai-world-store-note > * {
	margin: 0;
}

.chennai-world-store-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--30);
}

.chennai-world-store-card-price {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.625rem;
	font-weight: 600;
	color: var(--wp--preset--color--text-primary);
}

.chennai-world-store-note {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border-radius: 1rem;
	background-color: var(--wp--preset--color--background-secondary);
}

.chennai-world-store-note p {
	margin: 0;
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--medium);
}

.chennai-world-store-note .chennai-world-cta-button--text {
	color: var(--wp--preset--color--accent-gold);
	flex-shrink: 0;
}

@media (max-width: 900px) {

	.chennai-world-store-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.chennai-world-store-note {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 560px) {

	.chennai-world-store-grid {
		grid-template-columns: 1fr;
	}
}
