/* ==========================================================================
   Store Page — Lepapa Theme
   ========================================================================== */

.store-page {
	padding: 0;
	max-width: none;
}

/* Make entire page bg light grey on store page */
.page-template-page-store {
	background-color: var(--color-light-grey);
}

.page-template-page-store .site-header {
	background-color: var(--color-light-grey);
}

.store-layout {
	display: flex;
	background-color: var(--color-light-grey);
}

/* Left: Image — 73.19% of container (1054/1440)
   ========================================================================== */

.store-image {
	width: 73.19%;
	flex-shrink: 0;
}

.store-image img {
	width: 100%;
	height: 742px;
	object-fit: cover;
	display: block;
	filter: grayscale(100%);
}

/* Right: Store Info
   ========================================================================== */

.store-info {
	position: relative;
	flex: 1;
	padding: 80px 40px 48px 24px;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

/* Close button */
.store-close {
	position: absolute;
	top: 20px;
	right: 24px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	width: 24px;
	height: 24px;
}

.store-close:hover {
	opacity: 0.6;
}

/* Header block */
.store-info__header {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.store-info__title {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: var(--font-size-h2);
	line-height: 1.2;
	color: var(--color-black);
}

.store-info__subtitle {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.store-info__subtitle p {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--font-size-body2);
	line-height: 1.2;
	color: var(--color-black);
}

.store-tags {
	display: flex;
	gap: 8px;
}

.store-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 18px;
	padding: 0 10px;
	background-color: var(--color-light-blue);
	border-radius: 4.333px;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 8px;
	line-height: 1;
	color: var(--color-black);
	text-transform: capitalize;
}

/* Details block */
.store-info__details {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

/* Address */
.store-address {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.store-address__text {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: var(--font-size-h2);
	line-height: 1;
	color: var(--color-black);
}

.store-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	border: 1px solid var(--color-light-blue);
	border-radius: var(--radius-md);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--font-size-body2);
	line-height: 1;
	color: var(--color-black);
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color var(--transition-fast);
}

.store-btn:hover {
	background-color: var(--color-light-blue);
	color: var(--color-black);
}

/* Divider */
.store-divider {
	border: none;
	border-top: 1px solid var(--color-light-blue);
	margin: 0;
	width: 100%;
}

/* Hours */
.store-hours {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 228px;
}

.store-hours__label {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--font-size-body2);
	line-height: 1.2;
	color: var(--color-black);
}

.store-hours__table {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.store-hours__row {
	display: flex;
	justify-content: space-between;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--font-size-body2);
	line-height: 1.2;
	color: var(--color-black);
}

/* Contact */
.store-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 228px;
}

.store-contact__label {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--font-size-body2);
	line-height: 1.2;
	color: var(--color-black);
}

.store-contact__phone {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--font-size-body2);
	line-height: 1.2;
	color: var(--color-black);
}

/* Mobile (440px frame)
   ========================================================================== */

@media (max-width: 768px) {
	.store-layout {
		flex-direction: column;
	}

	.store-image {
		width: 100%;
	}

	.store-image img {
		height: 414px;
	}

	.store-info {
		padding: 40px 24px;
	}

	/* Hide close button on mobile — X is in the header */
	.store-close {
		display: none;
	}

	.store-hours {
		width: 100%;
	}

	.store-contact {
		width: 100%;
	}

	.store-hours__row span:first-child {
		text-transform: uppercase;
	}
}
