/**
 * Gift feelings — arch media (bg container), in-card full-width CTA, 1280 row.
 * Title / button colors & fonts / section padding: Elementor owns.
 */

.lobje-gift-feelings-wrap,
.elementor-element.lobje-gift-feelings-wrap {
	--lobje-feel-gold: #997c4f;
	--lobje-feel-gold-deep: #a6814c;
	--lobje-feel-cream: #f7f3eb;
}

.lobje-gift-feelings__row.e-con,
.lobje-gift-feelings__row > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	justify-content: center !important;
	gap: 1.25rem !important;
	width: 100% !important;
	max-width: var(--lobje-content-max, 1280px);
	margin-inline: auto;
	box-sizing: border-box;
	padding-inline: var(--lobje-gutter, clamp(1rem, 2.5vw, 1.75rem));
}

.lobje-gift-card.e-con {
	position: relative !important;
	flex: 1 1 0 !important;
	width: auto !important;
	max-width: 230px;
	min-width: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

/* Background-image container with top round (arch) mask + padding for CTA */
.lobje-gift-feelings__media.e-con,
.lobje-gift-feelings-wrap .lobje-gift-feelings__media {
	width: 100% !important;
	max-width: 100%;
	aspect-ratio: 3 / 4.15;
	min-height: 280px !important;
	margin: 0 !important;
	overflow: hidden;
	/* Arch mask: fully rounded top, soft corners at base */
	border-radius: 999px 999px 0.85rem 0.85rem;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	box-sizing: border-box;
}

.lobje-gift-feelings__media.e-con > .e-con-inner {
	min-height: 100% !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-end !important;
	align-items: stretch !important;
	box-sizing: border-box;
}

/* Button sits inside media — normal full-width */
.lobje-gift-feelings-wrap .lobje-gift-feelings__button {
	position: static !important;
	left: auto !important;
	bottom: auto !important;
	transform: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	z-index: 2;
}

.lobje-gift-feelings-wrap .lobje-gift-feelings__button .elementor-button {
	display: flex !important;
	width: 100% !important;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	box-sizing: border-box;
	background-color: #fdfdfc !important;
	color: var(--lobje-feel-gold-deep, #a6814c) !important;
	fill: var(--lobje-feel-gold-deep, #a6814c) !important;
	border: 0;
}

.lobje-gift-feelings-wrap .lobje-gift-feelings__button .elementor-button:hover,
.lobje-gift-feelings-wrap .lobje-gift-feelings__button .elementor-button:focus {
	background-color: var(--lobje-feel-gold-deep, #a6814c) !important;
	color: #fdfdfc !important;
	fill: #fdfdfc !important;
}

.lobje-gift-feelings-wrap .elementor-button-content-wrapper {
	justify-content: center;
	width: 100%;
}

@media (max-width: 767px) {
	.lobje-gift-feelings__row.e-con,
	.lobje-gift-feelings__row > .e-con-inner {
		justify-content: flex-start !important;
		gap: 0.85rem !important;
		max-width: none;
		padding-left: 20px !important;
		padding-right: 0 !important;
		padding-bottom: 0.35rem !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		cursor: grab;
	}

	.lobje-gift-feelings__row > .e-con-inner > .lobje-gift-card.e-con:last-child {
		margin-right: 20px;
	}

	.lobje-gift-feelings__row > .e-con-inner.is-dragging {
		cursor: grabbing;
		scroll-snap-type: none;
	}

	.lobje-gift-feelings__row > .e-con-inner::-webkit-scrollbar {
		display: none;
	}

	.lobje-gift-card.e-con {
		flex: 0 0 auto !important;
		width: 46vw !important;
		max-width: 13rem;
		min-width: 10.5rem;
		scroll-snap-align: start;
	}

	.lobje-gift-feelings__media.e-con,
	.lobje-gift-feelings-wrap .lobje-gift-feelings__media {
		min-height: 240px !important;
	}
}
