/*
 * Homepage "Look do Dia" ([amless_look], see LookOfTheDay.php): the video card
 * first, then product cards, in the shared swipe row (swipe-row.css).
 * Phone: two cards visible, the third cut at the screen edge.
 */
.amless-look {
	--amless-look-gap: 12px;
}

@media (min-width: 768px) {
	.amless-look {
		--amless-look-gap: 20px;
	}
}

/* ---------- Heading ---------- */
.amless-look__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 20px;
}

.amless-look__title {
	margin: 0;
}

.amless-look__all {
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--mbf-color-primary, #1d1d1f);
}

/* ---------- Row ---------- */
.amless-look__row {
	--amless-arrow-top: 40%;
}

.amless-look__track {
	gap: var(--amless-look-gap);
	align-items: stretch;
	padding-bottom: 4px;
}

.amless-look__card {
	/* Two cards per phone screen, minus a bit so the next one peeks in. */
	flex: 0 0 calc((100% - var(--amless-look-gap)) / 2 - 18px);
	position: relative;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
}

@media (min-width: 576px) {
	.amless-look__card {
		flex-basis: 220px;
	}
}

@media (min-width: 1200px) {
	.amless-look__card {
		flex-basis: 250px;
	}
}

/* ---------- Video card ---------- */
.amless-look__card--video {
	overflow: hidden;
	border-radius: 12px;
	background: #111;
	color: #fff;
	min-height: 100%;
}

.amless-look__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.amless-look__video-overlay {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 12px;
	height: 100%;
	padding: 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%);
}

.amless-look__video-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.amless-look__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: #fff;
	color: var(--mbf-color-primary, #1d1d1f);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.amless-look__cta:hover,
.amless-look__cta:focus-visible {
	background: var(--mbf-palette-color-gray-50, #f1f1f1);
}

/* ---------- Product card ---------- */
.amless-look__image {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 12px;
	background: var(--mbf-palette-color-gray-50, #f1f1f1);
}

.amless-look__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.amless-look__card--product:hover .amless-look__image img {
	transform: scale(1.04);
}

.amless-look__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1;
	padding: 4px 8px;
	border-radius: 4px;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.amless-look__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.amless-look__price {
	margin-top: 4px;
	font-size: 14px;
}

.amless-look__price del {
	margin-left: 6px;
	opacity: 0.75;
}

.amless-look__price ins {
	text-decoration: none;
	color: var(--mbf-color-sale, #d0021b);
	font-weight: 700;
}

/* The theme sizes links up; keep the CTA on one line inside narrow cards. */
.amless-look .amless-look__cta {
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
}

/* ---------- [amless_featured_products]: best sellers on a dark photo ---------- */
.amless-featured {
	position: relative;
	padding: 36px 20px 28px;
	border-radius: 16px;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(180deg, rgba(20, 19, 24, 0.78) 0%, rgba(20, 19, 24, 0.9) 100%),
		var(--amless-featured-bg, none) center 30% / cover no-repeat,
		#1b1a20;
}

.amless-featured__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 24px;
}

.amless-featured__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #e7c9a9;
}

.amless-featured__title {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.1;
}

.amless-featured__text {
	max-width: 520px;
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.75);
}

.amless-featured__link,
.amless-featured__link:visited {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.amless-look--dark .amless-look__name,
.amless-look--dark .amless-look__price {
	color: #fff;
}

.amless-look--dark .amless-look__price ins {
	color: #ff8a80;
}

.amless-look--dark .amless-swipe-progress {
	background: rgba(255, 255, 255, 0.2);
}

.amless-look--dark .amless-swipe-thumb {
	background: #fff;
}

@media (min-width: 992px) {
	.amless-featured {
		padding: 56px 56px 40px;
	}
}
