/* 3D bestseller cards (js/card3d-gallery.js): each .card3d-tile gets a canvas the 3D card is drawn into. */
.card3d-tile__canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.card3d-tile {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 446 / 280;
}
/* Home page bestsellers slider: landscape cards (3 across on desktop, set in js/script.js) */
.custom-bestsellers .custom-bestsellers-list .custom-bestsellers-list__item {
	width: 320px;
	height: auto;
}
.custom-bestsellers .custom-bestsellers-list .custom-bestsellers-list__link {
	height: auto;
	aspect-ratio: 446 / 280;
	padding-top: 0;
	justify-content: center;
}
.card3d-tile__fallback {
	position: absolute;
	inset: 12%;
	width: 76%;
	height: 76%;
	object-fit: contain;
}
html.card3d-gallery-on .card3d-tile__fallback {
	visibility: hidden;
}

/* Bestsellers page */
.bestsellers3d {
	padding: 48px 0 96px;
	background: #191919;
}
.bestsellers3d__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin-bottom: 36px;
}
.bestsellers3d__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.bestsellers3d__cats button {
	padding: 8px 16px;
	border: 1px solid #4F4F4F;
	border-radius: 40px;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}
.bestsellers3d__cats button.-active {
	border-color: #FAD60E;
	background: #FAD60E;
	color: #141414;
}
.bestsellers3d__finishes {
	display: flex;
	align-items: center;
	gap: 8px;
}
.bestsellers3d__finish {
	width: 28px;
	height: 28px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #4F4F4F inset;
	cursor: pointer;
}
.bestsellers3d__finish.-active {
	border-color: #FAD60E;
}
.bestsellers3d__finish.-gold_mirror { background: linear-gradient(135deg, #fff2c4, #e0b44a 45%, #fbe7a0 70%, #b8862b); }
.bestsellers3d__finish.-silver_mirror { background: linear-gradient(135deg, #ffffff, #b9bdc4 45%, #f4f5f7 70%, #8c9098); }
.bestsellers3d__finish.-black_gold { background: linear-gradient(135deg, #111 0 55%, #e0b44a 55%); }
.bestsellers3d__finish.-black_silver { background: linear-gradient(135deg, #111 0 55%, #c9ccd1 55%); }
.bestsellers3d__finish.-iridescent { background: linear-gradient(135deg, #e8902a, #d04a7a, #6a36c0, #1a5fd0, #1fb070, #d09030); }
.bestsellers3d__finish.-brushed_gold { background: repeating-linear-gradient(0deg, #d6a84c 0 2px, #c99a3f 2px 3px); }
.bestsellers3d__finish.-brushed_silver { background: repeating-linear-gradient(0deg, #b8bbc1 0 2px, #a4a8ae 2px 3px); }
.bestsellers3d__finish-name {
	min-width: 110px;
	margin-left: 6px;
	color: #bdbdbd;
	font-size: 14px;
}
.bestsellers3d__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bestsellers3d__item[hidden] {
	display: none;
}
.bestsellers3d__link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 12px 16px;
	border-radius: 12px;
	background: #222;
	color: #fff;
	text-decoration: none;
	transition: background 0.2s;
}
.bestsellers3d__link:hover {
	background: #2a2a2a;
}
.bestsellers3d__name {
	padding: 0 4px;
	font-size: 16px;
}
.bestsellers3d__cta {
	padding: 0 4px;
	color: #FAD60E;
	font-size: 13px;
}
@media (max-width: 600px) {
	.bestsellers3d__grid {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}
	.bestsellers3d__link {
		padding: 6px 6px 10px;
	}
	.bestsellers3d__name {
		font-size: 13px;
	}
}

/* Home page overview: one big 3D card with the finish swatches */
.overview3d__card {
	max-width: 560px;
}
.overview3d__info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	max-width: 560px;
	margin-top: 24px;
}
.overview3d__finishes {
	display: flex;
	gap: 8px;
}
.overview3d__finish-name {
	width: 100%;
	margin: -6px 0 0;
	color: #8a8a8a;
	font-size: 14px;
	text-align: right;
}
.overview3d__info .colors__txt {
	margin: 0;
	font-size: 19px;
	line-height: 28px;
	letter-spacing: -0.4px;
	color: #767676;
}
.overview3d__info .colors__price {
	margin: 4px 0 0;
	font-size: 25px;
	font-weight: 500;
	line-height: 32px;
	letter-spacing: -0.34px;
	color: #fff;
}
@media (max-width: 767px) {
	.overview3d__info .colors__txt {
		font-size: 14px;
		line-height: 20px;
	}
	.overview3d__info .colors__price {
		font-size: 20px;
		line-height: 26px;
	}
}
