/* EK Autoteile / EK Reifen — shop-specific styles */

/* ---------- Search bar ---------- */
.ek-search-box {
	position: relative;
	background: var(--ek-surface);
	border: 1px solid var(--ek-border);
	border-radius: var(--ek-radius-lg);
	padding: clamp(1.6rem, 3vw, 2.4rem);
	box-shadow: 0 2px 8px rgba(15,23,42,.04), 0 24px 60px -28px rgba(15,23,42,.18);
	overflow: hidden;
}
.ek-search-box::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 80% at 0% 0%, var(--ek-accent-soft), transparent 60%);
	pointer-events: none;
}
.ek-search-box__inner { position: relative; }
.ek-search-box h3 {
	margin-bottom: .4rem;
	font-size: 1.2rem;
}
.ek-search-box p {
	margin-bottom: 1.4rem;
	color: var(--ek-text-dim);
	font-size: .92rem;
}
.ek-search-tabs {
	display: flex;
	gap: .4rem;
	margin-bottom: 1.4rem;
	padding: .3rem;
	background: var(--ek-bg);
	border-radius: 12px;
	border: 1px solid var(--ek-border);
	width: fit-content;
}
.ek-search-tab {
	padding: .55rem 1.1rem;
	border-radius: 8px;
	font-size: .85rem;
	font-weight: 600;
	color: var(--ek-text-dim);
	background: transparent;
	border: none;
	cursor: pointer;
	transition: all .2s;
}
.ek-search-tab.is-active {
	background: var(--ek-accent);
	color: #fff;
}
.ek-search-form {
	display: grid;
	gap: .8rem;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.ek-search-form__field input,
.ek-search-form__field select { width: 100%; }
.ek-search-form__actions {
	grid-column: 1 / -1;
	display: flex;
	gap: .8rem;
	margin-top: .4rem;
}
.ek-search-form__actions .ek-btn { flex: 1; justify-content: center; }
@media (min-width: 640px) {
	.ek-search-form__actions { justify-content: flex-start; }
	.ek-search-form__actions .ek-btn { flex: 0 0 auto; }
}

/* ---------- Category grid ---------- */
.ek-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
}
.ek-cat {
	display: block;
	padding: 1.6rem 1.4rem;
	background: var(--ek-surface);
	border: 1px solid var(--ek-border);
	border-radius: var(--ek-radius);
	text-align: left;
	box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 8px 18px -12px rgba(15,23,42,.08);
	transition: all .25s;
}
.ek-cat:hover {
	border-color: var(--ek-accent);
	transform: translateY(-3px);
	background: var(--ek-bg-elev);
	box-shadow: 0 2px 6px rgba(15,23,42,.06), 0 18px 34px -18px rgba(15,23,42,.16);
}
.ek-cat__icon {
	font-size: 2rem;
	margin-bottom: .8rem;
	display: block;
}
.ek-cat__title {
	font-weight: 700;
	color: var(--ek-white);
	font-size: 1rem;
	margin-bottom: .2rem;
}
.ek-cat__count {
	font-size: .8rem;
	color: var(--ek-muted);
}

/* ---------- Product card ---------- */
.ek-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.2rem;
}
.ek-product {
	background: var(--ek-surface);
	border: 1px solid var(--ek-border);
	border-radius: var(--ek-radius);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 8px 20px -12px rgba(15,23,42,.08);
	transition: all .25s;
	display: flex;
	flex-direction: column;
}
.ek-product:hover {
	border-color: var(--ek-accent);
	transform: translateY(-3px);
}
.ek-product__img {
	aspect-ratio: 4/3;
	background: var(--ek-bg-elev);
	border-bottom: 1px solid var(--ek-border);
	display: grid;
	place-items: center;
	font-size: 3rem;
	color: var(--ek-muted);
}
.ek-product__body {
	padding: 1.2rem 1.2rem 1.4rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.ek-product__brand {
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--ek-accent);
	margin-bottom: .4rem;
}
.ek-product__title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--ek-white);
	margin-bottom: .4rem;
	line-height: 1.35;
}
.ek-product__meta {
	font-size: .82rem;
	color: var(--ek-muted);
	margin-bottom: 1rem;
	flex: 1;
}
.ek-product__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.ek-product__price {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--ek-white);
}
.ek-product__price .suffix {
	font-size: .7rem;
	color: var(--ek-muted);
	font-weight: 500;
}

/* ---------- Info strip ---------- */
.ek-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	padding: 1.4rem;
	background: var(--ek-surface);
	border: 1px solid var(--ek-border);
	border-radius: var(--ek-radius);
	box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 8px 20px -14px rgba(15,23,42,.08);
}
.ek-strip__item {
	display: flex;
	align-items: center;
	gap: .9rem;
}
.ek-strip__icon {
	width: 38px; height: 38px;
	border-radius: 10px;
	background: var(--ek-accent-soft);
	color: var(--ek-accent);
	display: grid; place-items: center;
	font-size: 1.1rem;
	flex-shrink: 0;
}
.ek-strip__label {
	font-size: .82rem;
	color: var(--ek-text-dim);
	line-height: 1.3;
}
.ek-strip__label strong {
	display: block;
	color: var(--ek-white);
	font-size: .95rem;
	font-weight: 700;
}
