/* ============================================================
   lakasg You May Also Like Widget
   ============================================================ */

.lakasg-ymal-wrap {
	box-sizing: border-box;
	font-family: inherit;
	width: 100%;
}

/* ── Section heading ───────────────────────────────────────── */
.lakasg-ymal-heading {
	font-size: 1.4rem;
	font-weight: 700;
	color: #111;
	margin: 0 0 24px;
	padding: 0;
	line-height: 1.3;
}

/* ── Grid mode ─────────────────────────────────────────────── */
.lakasg-ymal-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 24px;
	row-gap: 28px;
}

/* ── Slider mode ───────────────────────────────────────────── */
.lakasg-ymal-slider {
	position: relative;
}

.lakasg-ymal-viewport {
	overflow: hidden;
	width: 100%;
}

.lakasg-ymal-track {
	display: flex;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
	align-items: stretch;
}

.lakasg-ymal-slide {
	flex: 0 0 auto;
	/* Width & margin-right set by JS based on slidesPerView & gap */
	box-sizing: border-box;
}

.lakasg-ymal-slide .lakasg-grid-card {
	height: 100%;
}

/* ── Navigation arrows ─────────────────────────────────────── */
.lakasg-ymal-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 20px;
}

.lakasg-ymal-arr {
	width: 40px;
	height: 40px;
	border: 1px solid #e0e0e0;
	background: #ffffff;
	color: #111;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
	padding: 0;
	flex-shrink: 0;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.lakasg-ymal-arr svg {
	width: 55%;
	height: 55%;
	display: block;
}

.lakasg-ymal-arr:hover { background: #111; color: #fff; border-color: #111; }
.lakasg-ymal-arr:disabled { opacity: 0.3; pointer-events: none; }

/* ── Dots ──────────────────────────────────────────────────── */
.lakasg-ymal-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 18px;
}

.lakasg-ymal-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(0,0,0,0.25);
	cursor: pointer;
	padding: 0;
	transition: background 0.18s, transform 0.18s;
}

.lakasg-ymal-dot.is-active {
	background: #111;
	transform: scale(1.35);
}

/* ── Cards inside YMAL reuse .lakasg-grid-card from grid CSS ─ */

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.lakasg-ymal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.lakasg-ymal-grid { grid-template-columns: repeat(1, 1fr); }
	.lakasg-ymal-nav  { justify-content: center; }
}
