/* Drake's Live Lots: styled to sit alongside the "Previously Sold" carousel */
.dll {
	--dll-green: #096f3d;
	--dll-line: #bfd8cb;
	--dll-gap: 28px;
	--dll-serif: "Petrona", Georgia, "Times New Roman", serif;
	--dll-sans: "Public Sans", Arial, sans-serif;
	--dll-per-view: 4;
	/* Themify columns are grid/flex items: stop the long row of cards stretching the column. */
	width: 100%;
	max-width: 100%;
	min-width: 0;
	contain: inline-size;
	margin: 0 0 2em;
	color: var(--dll-green);
}

.dll-heading { margin: 0 0 28px; }
.dll-heading span {
	display: inline-block;
	padding: 10px 12px;
	border: 1px solid #000;
	font-family: var(--dll-sans);
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #000;
}

.dll-viewport { position: relative; }

.dll .dll-track {
	display: flex;
	gap: var(--dll-gap);
	margin: 0;
	padding: 0 0 4px;
	list-style: none;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.dll .dll-track::-webkit-scrollbar { display: none; }
.dll .dll-track:focus-visible { outline: 2px solid var(--dll-green); outline-offset: 4px; }

.dll .dll-card {
	flex: 0 0 calc((100% - (var(--dll-per-view) - 1) * var(--dll-gap)) / var(--dll-per-view));
	min-width: 0;
	margin: 0;
	padding: 0;
	scroll-snap-align: start;
	text-align: center;
	list-style: none;
	background: none;
}
.dll .dll-card::before { content: none; }

.dll .dll-img {
	display: block;
	aspect-ratio: 1 / 1;
	background: #fff;
	overflow: hidden;
}
.dll .dll-img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: contain;
	transition: transform .35s ease;
}
.dll .dll-card:hover .dll-img img { transform: scale(1.03); }

.dll .dll-body { padding: 16px 6px 0; }

.dll .dll-sale {
	margin: 0 0 6px;
	font-family: var(--dll-sans);
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #6b7d73;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dll .dll-title {
	margin: 0 0 10px;
	padding: 0;
	font-family: var(--dll-serif);
	font-size: 17px;
	font-weight: 500;
	text-align: center;
	line-height: 1.45;
	letter-spacing: -.01em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(17px * 1.45 * 2);
}
.dll .dll-title a {
	color: var(--dll-green);
	text-decoration: none;
	border-bottom: 1px dotted var(--dll-green);
	box-shadow: none;
}
.dll .dll-title a:hover,
.dll .dll-title a:focus { border-bottom-style: solid; }

.dll .dll-price {
	margin: 0 0 4px;
	font-family: var(--dll-serif);
	font-size: 24px;
	font-weight: 300;
	line-height: 1.35;
	letter-spacing: -.01em;
	color: var(--dll-green);
}

.dll .dll-meta {
	margin: 0 0 12px;
	font-family: var(--dll-sans);
	font-size: 13px;
	line-height: 1.5;
	color: #5f6b65;
}
.dll .dll-meta span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dll .dll-more {
	font-family: var(--dll-sans);
	font-size: 15px;
	line-height: 1.6;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--dll-green);
	border: 0;
	box-shadow: none;
}
.dll .dll-more:hover,
.dll .dll-more:focus { text-decoration: underline; }
.dll .dll-arrow { display: inline-block; margin-right: 6px; transition: transform .2s ease; }
.dll .dll-more:hover .dll-arrow { transform: translateX(3px); }

/* Arrows */
.dll .dll-nav {
	position: absolute;
	top: 0;
	z-index: 2;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--dll-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	color: var(--dll-green);
	font: 400 30px/1 var(--dll-serif);
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s ease, color .2s ease;
}
.dll .dll-nav[hidden] { display: none; }
.dll .dll-nav span { position: relative; top: -2px; }
.dll .dll-nav:hover,
.dll .dll-nav:focus-visible { background: var(--dll-green); color: #fff; outline: none; }
.dll .dll-prev { left: -14px; }
.dll .dll-next { right: -14px; }

.dll-editor-note {
	margin: 0 0 1em;
	padding: 10px 14px;
	border: 1px dashed #b8972e;
	background: #fffbea;
	font: 13px/1.5 Arial, sans-serif;
	color: #5c4a10;
}

@media (max-width: 1100px) { .dll { --dll-per-view: 3; } }
@media (max-width: 800px)  { .dll { --dll-per-view: 2; --dll-gap: 20px; } .dll .dll-prev { left: -6px; } .dll .dll-next { right: -6px; } }
@media (max-width: 520px)  {
	.dll { --dll-per-view: 1.35; --dll-gap: 16px; }
	.dll .dll-nav { display: none; }
	.dll .dll-title { font-size: 16px; min-height: calc(16px * 1.45 * 2); }
	.dll .dll-price { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.dll .dll-track { scroll-behavior: auto; }
	.dll .dll-img img, .dll .dll-arrow { transition: none; }
}
