/* LuxMed Products Widget v1.0 — featured products & categories grid */

.lmp-wrap {
	--lmp-primary: #1a3e8f;
	--lmp-accent: #2eaa4a;
	--lmp-text: #5a6a7e;
}

/* ---------- Section header ---------- */

.lmp-header {
	text-align: center;
	margin-bottom: 34px;
}

.lmp-kicker {
	display: block;
	color: var(--lmp-accent);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.lmp-heading {
	margin: 0;
	color: var(--lmp-primary);
	font-size: clamp(1.4rem, 2.6vw, 1.85rem);
	font-weight: 800;
	line-height: 1.25;
}

/* ---------- Grid ---------- */

.lmp-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

/* ---------- Card ---------- */

.lmp-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border: 1px solid #e6edf6;
	border-radius: 12px;
	padding: 20px 16px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.lmp-has-shadow-yes .lmp-card {
	box-shadow: 0 4px 16px rgba(26, 62, 143, 0.06);
}

.lmp-has-shadow-yes .lmp-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(26, 62, 143, 0.12);
	border-color: rgba(26, 62, 143, 0.2);
}

.lmp-card__media {
	width: 100%;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.lmp-card__media img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.lmp-card__cat {
	display: block;
	color: var(--lmp-accent);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.lmp-card__title {
	margin: 0 0 8px;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.3;
}

.lmp-card__title a {
	color: var(--lmp-primary);
	text-decoration: none;
	transition: color 0.15s ease;
}

.lmp-card__title a:hover {
	color: var(--lmp-accent);
}

.lmp-card__desc {
	margin: 0 0 14px;
	color: var(--lmp-text);
	font-size: 0.76rem;
	line-height: 1.55;
}

.lmp-card__price {
	display: block;
	color: var(--lmp-accent);
	font-size: 0.88rem;
	font-weight: 800;
	margin-bottom: 12px;
}

.lmp-card__price del {
	color: var(--lmp-text);
	font-weight: 500;
	opacity: 0.7;
	margin-right: 6px;
}

.lmp-card__price ins {
	text-decoration: none;
}

.lmp-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--lmp-primary);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
	transition: gap 0.15s ease, color 0.15s ease;
}

.lmp-card__link:hover {
	color: var(--lmp-accent);
	gap: 10px;
}

.lmp-card__link:focus-visible {
	outline: 3px solid var(--lmp-accent);
	outline-offset: 2px;
}

.lmp-card__arrow { flex-shrink: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.lmp-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
	.lmp-grid { grid-template-columns: repeat(2, 1fr); }
	.lmp-header { margin-bottom: 24px; }
}

@media (max-width: 480px) {
	.lmp-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.lmp-card,
	.lmp-card__link { transition: none; }
	.lmp-has-shadow-yes .lmp-card:hover { transform: none; }
}
