/**
 * Aaru Copper Flagship Interactive Product Showcase Styles
 * Inspired by La Copperra Overlapping 3D Carousel Architecture
 * Strictly scoped under .aaru-showcase
 * 
 * Expanded desktop width with balanced visual scale across all products,
 * ensuring the Combo product matches the exact height and baseline of the bottles.
 */

:root {
	--sc-bg-ivory: #F7EFE8;
	--sc-bg-peach: #FFF0E8;
	--sc-copper: #B76F35;
	--sc-copper-hover: #9E5822;
	--sc-deep-espresso: #392B25;
	--sc-muted-text: #75645C;
	--sc-border-subtle: #EADBD2;
	--sc-font-serif: 'Playfair Display', Georgia, serif;
	--sc-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Master Section Wrapper */
.aaru-showcase {
	position: relative;
	width: 100%;
	background: radial-gradient(circle at 50% 25%, #FFFDFB 0%, #F7EFE8 75%);
	padding: 22px 0 18px 0;
	overflow: hidden;
	box-sizing: border-box;
	font-family: var(--sc-font-sans);
	color: var(--sc-deep-espresso);
}

.aaru-showcase *,
.aaru-showcase *::before,
.aaru-showcase *::after {
	box-sizing: border-box;
}

/* Header Section - Sleek & Compact */
.aaru-showcase__header {
	text-align: center;
	max-width: 840px;
	margin: 0 auto 8px auto;
	padding: 0 20px;
}

.aaru-showcase__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: var(--sc-bg-peach);
	border: 1px solid rgba(183, 111, 53, 0.25);
	padding: 3px 12px;
	border-radius: 40px;
	margin-bottom: 5px;
}

.aaru-showcase__badge-icon {
	color: var(--sc-copper);
	flex-shrink: 0;
}

.aaru-showcase__badge-text {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sc-copper);
}

.aaru-showcase__heading {
	font-family: var(--sc-font-serif);
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--sc-deep-espresso);
	margin: 0 0 3px 0;
}

.aaru-showcase__instruction {
	margin: 0;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sc-muted-text);
	opacity: 0.85;
}

/* Stage Wrap & Positioning:
   Expanded to 1320px max-width matching the website's flagship layout */
.aaru-showcase__stage-wrap {
	position: relative;
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 48px);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Stage Viewport - Perfectly proportioned for tall bottles and wide combos */
.aaru-showcase__stage {
	position: relative;
	width: 100%;
	height: 395px;
	perspective: 1200px;
	perspective-origin: 50% 50%;
	transform-style: preserve-3d;
	outline: none;
	user-select: none;
	-webkit-user-select: none;
}

/* Individual Slides - Sized to allow all products (including combo) to render at identical visual height */
.aaru-showcase__slide {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 460px;
	max-width: 88vw;
	height: 385px;
	transform-origin: center center;
	transition: transform 750ms cubic-bezier(0.25, 1, 0.5, 1),
	            opacity 750ms cubic-bezier(0.25, 1, 0.5, 1),
	            filter 750ms cubic-bezier(0.25, 1, 0.5, 1);
	will-change: transform, opacity;
}

.aaru-showcase__slide-card {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aaru-showcase__slide-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	display: block;
}

/* La Copperra 3D Overlapping Depth Stack */

/* 1. Active Center Product - Prominent & Dominant */
.aaru-showcase__slide.is-active {
	transform: translate3d(-50%, -50%, 0) scale(1.02);
	opacity: 1;
	z-index: 10;
	filter: drop-shadow(0 20px 34px rgba(57, 43, 37, 0.18));
	pointer-events: auto;
	cursor: default;
}

/* 2. Previous Slide (Immediate Left) */
.aaru-showcase__slide.is-prev {
	transform: translate3d(calc(-50% - 310px), -50%, -75px) scale(0.74);
	opacity: 0.58;
	z-index: 5;
	filter: drop-shadow(0 12px 22px rgba(57, 43, 37, 0.12));
	pointer-events: auto;
	cursor: pointer;
}

.aaru-showcase__slide.is-prev:hover {
	opacity: 0.82;
	transform: translate3d(calc(-50% - 300px), -50%, -60px) scale(0.77);
}

/* 3. Next Slide (Immediate Right) */
.aaru-showcase__slide.is-next {
	transform: translate3d(calc(-50% + 310px), -50%, -75px) scale(0.74);
	opacity: 0.58;
	z-index: 5;
	filter: drop-shadow(0 12px 22px rgba(57, 43, 37, 0.12));
	pointer-events: auto;
	cursor: pointer;
}

.aaru-showcase__slide.is-next:hover {
	opacity: 0.82;
	transform: translate3d(calc(-50% + 300px), -50%, -60px) scale(0.77);
}

/* 4. Distant Hidden Slides */
.aaru-showcase__slide.is-hidden {
	transform: translate3d(-50%, -50%, -220px) scale(0.45);
	opacity: 0;
	z-index: 1;
	pointer-events: none;
}

/* Bespoke Sizing for Presentation Sets to Match Single Vessel Visual Weight */
#showcase-burgundy-gift-set.is-active,
#showcase-wooden-glass-set.is-active,
#showcase-wine-glass-set.is-active {
	transform: translate3d(-50%, -50%, 0) scale(1.10);
}
#showcase-burgundy-gift-set.is-prev,
#showcase-wooden-glass-set.is-prev,
#showcase-wine-glass-set.is-prev {
	transform: translate3d(calc(-50% - 310px), -50%, -75px) scale(0.79);
}
#showcase-burgundy-gift-set.is-next,
#showcase-wooden-glass-set.is-next,
#showcase-wine-glass-set.is-next {
	transform: translate3d(calc(-50% + 310px), -50%, -75px) scale(0.79);
}

/* Navigation Arrow Buttons:
   Flanking the carousel gracefully matching the hero layout */
.aaru-showcase__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 1px solid var(--sc-border-subtle);
	color: var(--sc-deep-espresso);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 20;
	box-shadow: 0 4px 16px rgba(57, 43, 37, 0.08);
	transition: all 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
	outline: none;
	padding: 0;
}

.aaru-showcase__arrow--prev {
	left: clamp(14px, 2.5vw, 36px);
}

.aaru-showcase__arrow--next {
	right: clamp(14px, 2.5vw, 36px);
}

.aaru-showcase__arrow:hover {
	background: var(--sc-deep-espresso);
	border-color: var(--sc-deep-espresso);
	color: #FFFFFF;
	transform: translateY(-50%) scale(1.08);
	box-shadow: 0 6px 18px rgba(57, 43, 37, 0.18);
}

.aaru-showcase__arrow:focus-visible {
	outline: 2px solid var(--sc-copper);
	outline-offset: 3px;
}

/* Pagination Dots */
.aaru-showcase__dots {
	position: relative;
	z-index: 25;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 8px 0 10px 0;
}

.aaru-showcase__dot {
	width: 6px;
	height: 6px;
	padding: 0;
	border-radius: 3px;
	background: transparent;
	border: 1.5px solid #C4AFA5;
	cursor: pointer;
	transition: all 260ms ease;
	outline: none;
}

.aaru-showcase__dot.is-active {
	width: 22px;
	background: var(--sc-copper);
	border-color: var(--sc-copper);
}

.aaru-showcase__dot:hover:not(.is-active) {
	border-color: var(--sc-copper);
	transform: scale(1.2);
}

.aaru-showcase__dot:focus-visible {
	outline: 2px solid var(--sc-copper);
	outline-offset: 2px;
}

/* Active Product Information Strip */
.aaru-showcase__info-wrap {
	position: relative;
	z-index: 25;
	max-width: 660px;
	min-height: 110px;
	margin: 0 auto;
	padding: 0 16px;
	text-align: center;
}

.aaru-showcase__info-item {
	position: absolute;
	top: 0;
	left: 16px;
	right: 16px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 380ms ease, transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 380ms;
	pointer-events: none;
}

.aaru-showcase__info-item.is-active {
	position: relative;
	left: 0;
	right: 0;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.aaru-showcase__info-badge {
	display: inline-block;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sc-copper);
	margin-bottom: 2px;
}

.aaru-showcase__info-title {
	font-family: var(--sc-font-serif);
	font-size: clamp(18px, 1.8vw, 22px);
	font-weight: 600;
	line-height: 1.25;
	color: var(--sc-deep-espresso);
	margin: 0 0 3px 0;
}

.aaru-showcase__info-desc {
	font-size: 12px;
	line-height: 1.45;
	color: var(--sc-muted-text);
	max-width: 520px;
	margin: 0 auto 6px auto;
}

.aaru-showcase__info-price {
	font-size: 15px;
	font-weight: 700;
	color: var(--sc-copper);
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.aaru-showcase__info-price del {
	font-weight: 400;
	font-size: 12px;
	color: #9C8980;
}

.aaru-showcase__info-price ins {
	text-decoration: none;
	color: var(--sc-copper);
}

.aaru-showcase__info-actions {
	display: flex;
	justify-content: center;
}

.aaru-showcase__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--sc-deep-espresso);
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 8px 24px;
	border-radius: 50px;
	box-shadow: 0 4px 14px rgba(57, 43, 37, 0.10);
	transition: all 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.aaru-showcase__cta-btn svg {
	transition: transform 240ms ease;
}

.aaru-showcase__cta-btn:hover {
	background: var(--sc-copper);
	color: #FFFFFF;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(183, 111, 53, 0.25);
}

.aaru-showcase__cta-btn:hover svg {
	transform: translateX(4px);
}

/* ==========================================================================
   Responsive Adaptations (Tablet & Mobile)
   ========================================================================== */

@media (max-width: 1024px) {
	.aaru-showcase {
		padding: 20px 0 16px 0;
	}

	.aaru-showcase__stage-wrap {
		padding: 0 20px;
	}

	.aaru-showcase__stage {
		height: 350px;
	}

	.aaru-showcase__slide {
		width: 320px;
		height: 340px;
	}

	.aaru-showcase__slide.is-prev {
		transform: translate3d(calc(-50% - 240px), -50%, -65px) scale(0.72);
	}

	.aaru-showcase__slide.is-next {
		transform: translate3d(calc(-50% + 240px), -50%, -65px) scale(0.72);
	}

	#showcase-burgundy-gift-set.is-active,
	#showcase-wooden-glass-set.is-active,
	#showcase-wine-glass-set.is-active {
		transform: translate3d(-50%, -50%, 0) scale(1.08);
	}
	#showcase-burgundy-gift-set.is-prev,
	#showcase-wooden-glass-set.is-prev,
	#showcase-wine-glass-set.is-prev {
		transform: translate3d(calc(-50% - 240px), -50%, -65px) scale(0.76);
	}
	#showcase-burgundy-gift-set.is-next,
	#showcase-wooden-glass-set.is-next,
	#showcase-wine-glass-set.is-next {
		transform: translate3d(calc(-50% + 240px), -50%, -65px) scale(0.76);
	}
}

@media (max-width: 768px) {
	.aaru-showcase {
		padding: 16px 0 14px 0;
	}

	.aaru-showcase__header {
		margin-bottom: 8px;
	}

	.aaru-showcase__stage-wrap {
		padding: 0 12px;
	}

	.aaru-showcase__stage {
		height: 290px;
	}

	.aaru-showcase__slide {
		width: 250px;
		height: 280px;
	}

	.aaru-showcase__slide.is-prev {
		transform: translate3d(calc(-50% - 120px), -50%, -75px) scale(0.68);
		opacity: 0.40;
	}

	.aaru-showcase__slide.is-next {
		transform: translate3d(calc(-50% + 120px), -50%, -75px) scale(0.68);
		opacity: 0.40;
	}

	#showcase-burgundy-gift-set.is-active,
	#showcase-wooden-glass-set.is-active,
	#showcase-wine-glass-set.is-active {
		transform: translate3d(-50%, -50%, 0) scale(1.05);
	}
	#showcase-burgundy-gift-set.is-prev,
	#showcase-wooden-glass-set.is-prev,
	#showcase-wine-glass-set.is-prev {
		transform: translate3d(calc(-50% - 120px), -50%, -75px) scale(0.70);
		opacity: 0.40;
	}
	#showcase-burgundy-gift-set.is-next,
	#showcase-wooden-glass-set.is-next,
	#showcase-wine-glass-set.is-next {
		transform: translate3d(calc(-50% + 120px), -50%, -75px) scale(0.70);
		opacity: 0.40;
	}

	.aaru-showcase__arrow {
		width: 34px;
		height: 34px;
	}

	.aaru-showcase__arrow--prev {
		left: 6px;
	}

	.aaru-showcase__arrow--next {
		right: 6px;
	}

	.aaru-showcase__info-desc {
		font-size: 11px;
	}

	.aaru-showcase__cta-btn {
		padding: 7px 18px;
		font-size: 10px;
	}
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
	.aaru-showcase__slide,
	.aaru-showcase__info-item,
	.aaru-showcase__dot,
	.aaru-showcase__arrow,
	.aaru-showcase__cta-btn {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
