/* Designers Carousel — Styles */

.dsc-wrapper {
	--dsc-cols: 5;
	--dsc-gap: 24px;
	--dsc-transition-duration: 600ms;
	width: 100%;
}

.dsc-header {
	text-align: center;
	margin-bottom: 40px;
}

.dsc-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 40px;
	font-weight: 400;
	color: #1a1a1a;
	margin: 0 0 14px 0;
}

.dsc-subtitle {
	font-size: 15px;
	line-height: 1.6;
	color: #8a7a63;
	max-width: 560px;
	margin: 0 auto;
}

/* Row with arrows either side */
.dsc-row {
	display: flex;
	align-items: center;
	gap: 16px;
}

.dsc-arrow {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid #c19a6b;
	background-color: transparent;
	color: #c19a6b;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease, color 0.3s ease;
	flex-shrink: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}

.dsc-arrow:focus,
.dsc-arrow:active,
.dsc-arrow:focus-visible {
	outline: none;
	box-shadow: none;
}

.dsc-arrow:hover {
	background-color: #c19a6b;
	color: #ffffff;
}

.dsc-arrow.dsc-disabled {
	opacity: 0.35;
	pointer-events: none;
}

/* Viewport / track */
.dsc-viewport {
	overflow: hidden;
	width: 100%;
	flex: 1;
}

.dsc-track {
	display: flex;
	gap: var(--dsc-gap);
	transition: transform var(--dsc-transition-duration) cubic-bezier(0.22, 1, 0.36, 1);
	cursor: grab;
	user-select: none;
}

.dsc-track.dsc-dragging {
	cursor: grabbing;
	transition: none;
}

.dsc-card {
	flex: 0 0 calc((100% - (var(--dsc-cols) - 1) * var(--dsc-gap)) / var(--dsc-cols));
}

.dsc-card-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	border: 1px solid #ece5d8;
	border-radius: 4px;
	padding: 20px;
	aspect-ratio: 1/1;
	box-sizing: border-box;
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.5s ease, background-color 0.5s ease;
}

/* Soft tint that fades in behind the logo on hover, for depth. */
.dsc-card-inner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 40%, rgba(193, 154, 107, 0.08), transparent 70%);
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.dsc-card:hover .dsc-card-inner,
.dsc-card-inner:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 26px 50px -16px rgba(193, 154, 107, 0.32);
	border-color: #c19a6b;
}

.dsc-card-inner:hover::before {
	opacity: 1;
}

.dsc-logo {
	position: relative;
	z-index: 1;
	width: 82%;
	max-width: 100%;
	max-height: 96px;
	object-fit: contain;
	margin-bottom: 18px;
	transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.dsc-wrapper.dsc-grayscale .dsc-logo {
	filter: grayscale(100%);
	opacity: 0.7;
}

.dsc-card-inner:hover .dsc-logo {
	filter: grayscale(0%);
	opacity: 1;
	transform: scale(1.08);
}

.dsc-logo-placeholder {
	position: relative;
	z-index: 1;
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 15px;
	color: #b8ab95;
	margin-bottom: 16px;
	text-align: center;
}

.dsc-name {
	position: relative;
	z-index: 1;
	font-size: 13px;
	letter-spacing: 1px;
	font-weight: 600;
	color: #1a1a1a;
	text-align: center;
	transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.dsc-card-inner:hover .dsc-name {
	opacity: 0;
	transform: translateY(10px) scale(0.96);
	position: absolute;
}

.dsc-shop-btn {
	position: absolute;
	z-index: 1;
	bottom: 22px;
	left: 50%;
	background-color: #1a1a1a;
	color: #ffffff;
	font-size: 11px;
	letter-spacing: 1.5px;
	font-weight: 700;
	padding: 11px 22px;
	border-radius: 2px;
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, 14px) scale(0.92);
	transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
	pointer-events: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}

.dsc-card-inner:hover .dsc-shop-btn {
	opacity: 1;
	transform: translate(-50%, 0) scale(1);
	pointer-events: auto;
}

.dsc-shop-btn:hover,
.dsc-shop-btn:focus {
	background-color: #c19a6b;
	outline: none;
	box-shadow: none;
}

/* View more button */
.dsc-view-more-row {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

.dsc-view-more {
	display: inline-block;
	background-color: transparent;
	color: #1a1a1a;
	border: 1px solid #1a1a1a;
	padding: 16px 40px;
	font-size: 12px;
	letter-spacing: 2px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.dsc-view-more:hover {
	background-color: #1a1a1a;
	color: #ffffff;
}

/* Entrance animation */
.dsc-wrapper[data-entrance="true"] .dsc-card {
	opacity: 0;
}

.dsc-wrapper[data-entrance="true"] .dsc-card.dsc-in-view {
	animation-name: dscFadeUp;
	animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
	animation-fill-mode: forwards;
}

@keyframes dscFadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 991px) {
	.dsc-wrapper { --dsc-cols: 3; }
	.dsc-title { font-size: 30px; }
}

@media (max-width: 600px) {
	.dsc-wrapper { --dsc-cols: 2; }
	.dsc-arrow { display: none; }
	.dsc-card-inner { padding: 18px; }
	.dsc-logo { max-height: 56px; }
}
