/*
 * Front-end promotion cards. Kept deliberately light so Elementor style
 * controls and the theme's typography take over.
 */
.lmtf-promos {
	--lmtf-brown: #402416;
	--lmtf-orange: #ff9900;
	--lmtf-cream: #ffe7c2;
	display: grid;
	gap: 24px;
}
.lmtf-promos--grid { grid-template-columns: repeat(var(--lmtf-cols, 3), minmax(0, 1fr)); }
.lmtf-promos--list, .lmtf-promos--banner { grid-template-columns: minmax(0, 1fr); }

.lmtf-card {
	display: flex; flex-direction: column;
	background: #fff; border-radius: 12px; overflow: hidden;
	box-shadow: 0 4px 18px rgba(64, 36, 22, .08);
	transition: transform .2s, box-shadow .2s;
}
.lmtf-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(64, 36, 22, .14); }
.lmtf-card.is-featured { outline: 3px solid var(--lmtf-orange); outline-offset: -3px; }

.lmtf-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lmtf-cream); }
.lmtf-card__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lmtf-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--lmtf-cream), #f7c98a); }

.lmtf-card__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 20px; }
.lmtf-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.lmtf-badge {
	display: inline-block; padding: 3px 10px; border-radius: 999px;
	background: var(--lmtf-cream); color: var(--lmtf-brown);
	font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.lmtf-badge--featured { background: var(--lmtf-orange); color: #fff; }

.lmtf-card__title { margin: 0; font-size: 1.25em; line-height: 1.25; }
.lmtf-card__title a { color: var(--lmtf-brown); text-decoration: none; }
.lmtf-card__title a:hover { text-decoration: underline; }

.lmtf-card__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9em; color: #6b5a50; }
.lmtf-meta::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--lmtf-orange); vertical-align: middle; }

.lmtf-card__excerpt { margin: 0; color: #444; }

.lmtf-card__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.lmtf-card__price { font-weight: 700; color: var(--lmtf-brown); }

.lmtf-button {
	display: inline-block; padding: 10px 20px; border-radius: 999px;
	background: var(--lmtf-brown, #402416); color: #fff; font-weight: 600; text-decoration: none;
	transition: background .15s;
}
.lmtf-button:hover, .lmtf-button:focus { background: var(--lmtf-orange, #ff9900); color: #fff; }
.lmtf-button--large { padding: 14px 28px; font-size: 1.1em; }

/* List layout: image beside text */
.lmtf-promos--list .lmtf-card { flex-direction: row; }
.lmtf-promos--list .lmtf-card__media { flex: 0 0 34%; aspect-ratio: auto; min-height: 180px; }

/* Banner layout: a large hero-style card for a featured promotion */
.lmtf-promos--banner .lmtf-card { flex-direction: row; min-height: 340px; }
.lmtf-promos--banner .lmtf-card__media { flex: 0 0 55%; aspect-ratio: auto; }
.lmtf-promos--banner .lmtf-card__body { justify-content: center; padding: 40px; }
.lmtf-promos--banner .lmtf-card__title { font-size: 2em; }

.lmtf-promos-empty { padding: 24px; text-align: center; background: #faf7f3; border-radius: 12px; color: #6b5a50; }
.lmtf-promos-pagination { margin-top: 24px; text-align: center; }
.lmtf-promos-pagination .page-numbers { display: inline-block; padding: 6px 12px; margin: 0 2px; border-radius: 6px; }
.lmtf-promos-pagination .current { background: var(--lmtf-brown, #402416); color: #fff; }

@media (max-width: 1024px) {
	.lmtf-promos--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.lmtf-promos--grid { grid-template-columns: minmax(0, 1fr); }
	.lmtf-promos--list .lmtf-card, .lmtf-promos--banner .lmtf-card { flex-direction: column; }
	.lmtf-promos--list .lmtf-card__media, .lmtf-promos--banner .lmtf-card__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
	.lmtf-promos--banner .lmtf-card__body { padding: 24px; }
	.lmtf-promos--banner .lmtf-card__title { font-size: 1.5em; }
}

/* Single + archive templates */
.lmtf-single, .lmtf-archive { max-width: 1100px; margin: 0 auto; padding: 40px 16px; }
.lmtf-single__inner { max-width: 820px; margin: 0 auto; }
.lmtf-single__media img { width: 100%; height: auto; border-radius: 12px; display: block; }
.lmtf-single__header { margin: 24px 0 16px; }
.lmtf-single__title { margin: 10px 0 0; color: #402416; }
.lmtf-single__details { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 24px; padding: 16px; background: #faf7f3; border-radius: 12px; }
.lmtf-single__details dt { font-size: .8em; text-transform: uppercase; letter-spacing: .05em; color: #6b5a50; }
.lmtf-single__details dd { margin: 0; font-weight: 600; color: #402416; }
.lmtf-archive__header { margin-bottom: 28px; }
