/**
 * Әдемісің — homepage sections built from live store data.
 */

/* ------------------------------------------------------------------
 * Shared section header
 * ---------------------------------------------------------------- */
.epure-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 24px;
}

.epure-section-head h2 {
	margin: 0;
}

.epure-btn.epure-btn-sm {
	height: 38px;
	padding: 0 18px;
	font-size: 13px;
}

/* ------------------------------------------------------------------
 * Hero
 * ---------------------------------------------------------------- */
.epure-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 24px;
	align-items: stretch;
	margin-bottom: 24px;
}

.epure-hero-left,
.epure-hero-right {
	display: flex;
	min-width: 0;
}

.epure-hero-left > .epure-window,
.epure-hero-right > .epure-window {
	width: 100%;
	box-sizing: border-box;
}

.epure-hero-copy {
	padding: clamp(2rem, 4vw, 3.5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.epure-hero-title {
	margin: 0 0 1.25rem !important;
}

.epure-hero-lead {
	font-size: 16px;
	line-height: 1.6;
	max-width: 50ch;
	margin: 0 0 2rem;
}

.epure-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.epure-hero-stage {
	position: relative;
	padding: 14px;
	display: flex;
	flex-direction: column;
	min-height: 420px;
}

.epure-hero-badge {
	position: absolute !important;
	top: 26px;
	left: 26px;
	z-index: 3;
}

.epure-hero-photo {
	flex: 1;
	display: block;
	border-radius: 14px;
	overflow: hidden;
	background: #FFFFFF;
	min-height: 0;
}

.epure-hero-photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 520px;
	object-fit: contain;
	padding: 28px;
	box-sizing: border-box;
}

.epure-hero-minis {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 10px;
}

.epure-hero-mini {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 1px 2px rgba(14, 17, 22, 0.04), 0 6px 16px rgba(14, 17, 22, 0.06);
	text-decoration: none;
	color: var(--epure-text);
	min-width: 0;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.epure-hero-mini:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(14, 17, 22, 0.1);
}

.epure-hero-mini img {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 10px;
	object-fit: contain;
	background: #FFFFFF;
}

.epure-hero-mini-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.epure-hero-mini-name {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.epure-hero-mini-price {
	font-size: 13px;
	font-weight: 700;
	color: var(--epure-accent);
	margin-top: 2px;
}

.epure-hero-empty {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	gap: 10px 18px;
	padding: 40px 24px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--epure-muted);
}

.epure-hero-props {
	padding: 20px 28px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px 24px;
}

.epure-hero-prop {
	display: flex;
	align-items: center;
	gap: 14px;
}

.epure-hero-prop-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--epure-text);
}

.epure-hero-prop-text {
	font-size: 13px;
	color: var(--epure-muted);
}

/* ------------------------------------------------------------------
 * Category bento
 * ---------------------------------------------------------------- */
.epure-bento-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 24px;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.78);
}

.epure-bento-copy {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.epure-bento-icon {
	width: 40px !important;
	height: 40px !important;
	margin-bottom: 4px;
}

.epure-bento-title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--epure-text);
	line-height: 1.2;
}

.epure-bento-card-3 .epure-bento-title {
	font-size: 17px;
}

.epure-bento-text {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.45;
	max-width: 32ch;
}

.epure-bento-count {
	margin-top: 6px;
}

.epure-bento-visual {
	width: 130px;
	height: 160px;
	flex-shrink: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #FFFFFF;
	box-shadow: 0 6px 20px rgba(14, 17, 22, 0.06);
}

.epure-bento-card-3 .epure-bento-visual {
	width: 96px;
	height: 120px;
}

.epure-bento-visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
	box-sizing: border-box;
}

/* ------------------------------------------------------------------
 * "Что ищете?" and "Почему Әдемісің"
 * ---------------------------------------------------------------- */
.epure-needs-grid,
.epure-values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.epure-need {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.epure-need-num {
	font-size: 13px;
	font-weight: 700;
	color: var(--epure-accent);
}

.epure-need h3,
.epure-value h3 {
	margin: 0 !important;
	font-size: 19px !important;
}

.epure-need p,
.epure-value p {
	margin: 0;
	font-size: 14px;
}

.epure-need-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
}

.epure-need-links .epure-filter-chip {
	font-size: 13px;
	padding: 6px 12px;
	gap: 6px;
}

.epure-need-links .epure-chip-count {
	font-size: 11px;
	font-weight: 600;
	padding: 1px 7px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.06);
}

.epure-value {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* ------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------- */
.epure-footer-cta {
	padding: clamp(2rem, 4vw, 3rem);
	margin-bottom: 2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
}

.epure-footer-cta h2 {
	margin: 0 0 0.6rem !important;
}

.epure-footer-cta p {
	margin: 0;
	max-width: 52ch;
}

.epure-footer-nav {
	padding: clamp(2rem, 4vw, 3rem);
	margin-bottom: 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem 2.5rem;
}

.epure-footer-nav p {
	font-size: 14px;
	line-height: 1.7;
	margin: 0.5rem 0 0;
}

.epure-footer-nav ul {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 0;
	line-height: 2.1;
	font-size: 14px;
}

.epure-footer-nav a {
	color: var(--epure-text);
	text-decoration: none;
}

.epure-footer-nav a:hover {
	color: var(--epure-accent);
}

.epure-footer-bottom {
	padding: 0 1rem;
	font-size: 12px;
	color: var(--epure-muted);
}

/* ------------------------------------------------------------------
 * Mobile
 * ---------------------------------------------------------------- */
@media (max-width: 900px) {
	.epure-hero-grid {
		grid-template-columns: 1fr;
	}

	.epure-hero-stage {
		min-height: 0;
	}

	.epure-hero-photo img {
		max-height: 340px;
	}
}

@media (max-width: 680px) {
	/* On phones the headline comes first; one photo is enough. */
	.epure-hero-minis {
		display: none;
	}

	.epure-hero-photo img {
		max-height: 260px;
		padding: 16px;
	}

	.epure-bento-visual {
		width: 96px;
		height: 120px;
	}

	.epure-bento-card {
		padding: 16px 18px;
	}
}

/* Chips for categories with no products in the showcase stay hidden. */
.epure-live-chip[hidden] {
	display: none !important;
}
