/*!
 * Sentio for Elementor - wc-product-carousel widget styles
 * Extracted from frontend.css during WC Batch 1 sub-batch 3 mechanical extraction (2026-04-20).
 * Tier 3 mechanical extraction — verbatim from monolith.
 */

/* ── WC-02  Product Carousel ─────────────────────────────────────── */

/* Wrapper */
.sentio-wpc {
	position: relative;
	width: 100%;
}

/* Viewport — overflow hidden to clip slides */
.sentio-wpc__viewport {
	overflow: hidden;
	position: relative;
}

/* Track — flex row, translated via JS */
.sentio-wpc__track {
	display: flex;
	gap: 20px;
	transition-property: transform;
	transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}

/* Dragging state */
.sentio-wpc__track--dragging {
	transition-duration: 0s !important;
	cursor: grabbing;
	user-select: none;
}

.sentio-wpc__viewport:not(.sentio-wpc__track--dragging) {
	cursor: grab;
}

/* ── Slide Card ── */
.sentio-wpc__slide {
	flex: 0 0 auto;
	position: relative;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sentio-wpc--hover-lift .sentio-wpc__slide:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* ── Center Stage Mode ── */
.sentio-wpc--center_stage .sentio-wpc__slide {
	transition: transform 0.5s ease, opacity 0.5s ease;
	opacity: 0.6;
	transform: scale(0.88);
}

.sentio-wpc--center_stage .sentio-wpc__slide--active {
	opacity: 1;
	transform: scale(1);
}

/* ── Coverflow 3D Mode ── */
.sentio-wpc--coverflow .sentio-wpc__viewport {
	perspective: 1200px;
}

.sentio-wpc--coverflow .sentio-wpc__slide {
	transition: transform 0.6s ease, opacity 0.6s ease;
	opacity: 0.65;
	transform-style: preserve-3d;
	backface-visibility: hidden;
}

.sentio-wpc--coverflow .sentio-wpc__slide--active {
	opacity: 1;
	transform: rotateY(0deg) scale(1);
}

.sentio-wpc--coverflow .sentio-wpc__slide--before {
	transform: rotateY(35deg) scale(0.85) translateX(-30px);
}

.sentio-wpc--coverflow .sentio-wpc__slide--after {
	transform: rotateY(-35deg) scale(0.85) translateX(30px);
}

/* ── Fade Mode ── */
.sentio-wpc--fade .sentio-wpc__track {
	position: relative;
}

.sentio-wpc--fade .sentio-wpc__slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.sentio-wpc--fade .sentio-wpc__slide--active {
	position: relative;
	opacity: 1;
	pointer-events: auto;
}

/* ── Product Image ── */
.sentio-wpc__image {
	position: relative;
	height: 280px;
	overflow: hidden;
}

.sentio-wpc__image a {
	display: block;
	width: 100%;
	height: 100%;
}

.sentio-wpc__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease, filter 0.5s ease, opacity 0.5s ease;
}

/* Image hover: zoom */
.sentio-wpc__image--zoom:hover img {
	transform: scale(1.1);
}

/* Image hover: slide */
.sentio-wpc__image--slide:hover img {
	transform: translateY(-8%);
}

/* Image hover: swap */
.sentio-wpc__image--swap .sentio-wpc__img--secondary {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}

.sentio-wpc__image--swap:hover .sentio-wpc__img--primary {
	opacity: 0;
}

.sentio-wpc__image--swap:hover .sentio-wpc__img--secondary {
	opacity: 1;
}

/* Image hover: grayscale */
.sentio-wpc__image--grayscale img {
	filter: grayscale(100%);
}

.sentio-wpc__image--grayscale:hover img {
	filter: grayscale(0%);
}

/* Image hover: shine */
.sentio-wpc__shine {
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
	transform: skewX(-20deg);
	pointer-events: none;
	z-index: 3;
}

.sentio-wpc__image--shine:hover .sentio-wpc__shine {
	animation: sentio-wpc-shine 0.7s ease forwards;
}

@keyframes sentio-wpc-shine {
	to { left: 125%; }
}

/* Image hover: overlay */
.sentio-wpc__image--overlay::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.3);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
	z-index: 2;
}

.sentio-wpc__image--overlay:hover::after {
	opacity: 1;
}

/* ── Hover Actions ── */
.sentio-wpc__actions {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 8px;
	opacity: 0;
	transform: translateX(10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.sentio-wpc__slide:hover .sentio-wpc__actions {
	opacity: 1;
	transform: translateX(0);
}

.sentio-wpc__action {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.95);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	color: #374151;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	padding: 0;
}

.sentio-wpc__action:hover {
	background: #111827;
	color: #ffffff;
}

.sentio-wpc__wishlist--active {
	color: #ef4444;
	background: #fff;
}

.sentio-wpc__wishlist--active svg {
	fill: #ef4444;
}

/* ── Badges ── */
.sentio-wpc__badges {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 4;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sentio-wpc__badge {
	display: inline-block;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #ffffff;
	border-radius: 6px;
	line-height: 1.3;
	width: fit-content;
	animation: sentio-wpc-badgePop 0.4s ease;
}

@keyframes sentio-wpc-badgePop {
	0%   { transform: scale(0); opacity: 0; }
	60%  { transform: scale(1.15); }
	100% { transform: scale(1); opacity: 1; }
}

.sentio-wpc__badge--sale     { background: #dc2626; }
.sentio-wpc__badge--new      { background: #059669; }
.sentio-wpc__badge--featured { background: #7c3aed; }
.sentio-wpc__badge--oos      { background: #6b7280; }

/* ── Content Area ── */
.sentio-wpc__content {
	padding: 16px;
}

.sentio-wpc__cat {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #6b7280;
	margin-bottom: 6px;
}

.sentio-wpc__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 8px;
}

.sentio-wpc__title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.sentio-wpc__title a:hover {
	color: #7c3aed;
}

/* Stars */
.sentio-wpc__rating {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 8px;
}

.sentio-wpc__stars {
	display: flex;
	gap: 1px;
	color: #f59e0b;
}

.sentio-wpc__rating-count {
	font-size: 12px;
	color: #9ca3af;
}

/* Price */
.sentio-wpc__price {
	font-size: 16px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 12px;
}

.sentio-wpc__price del {
	color: #9ca3af;
	font-weight: 400;
	font-size: 13px;
	margin-right: 6px;
}

.sentio-wpc__price ins {
	text-decoration: none;
	color: #dc2626;
}

/* Excerpt */
.sentio-wpc__excerpt {
	font-size: 13px;
	color: #6b7280;
	line-height: 1.5;
	margin-bottom: 12px;
}

/* ── Add to Cart ── */
.sentio-wpc__atc-wrap {
	position: relative;
}

.sentio-wpc__atc {
	display: inline-block;
	width: 100%;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	color: #ffffff;
	background: #111827;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.25s ease;
	text-decoration: none;
	box-sizing: border-box;
}

.sentio-wpc__atc:hover {
	background: #374151;
	transform: translateY(-1px);
}

.sentio-wpc__atc.loading {
	opacity: 0.6;
	pointer-events: none;
}

.sentio-wpc__atc-feedback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #059669;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	border-radius: 8px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.sentio-wpc__atc-feedback--visible {
	opacity: 1;
}

/* Out of stock slide */
.sentio-wpc__slide--oos .sentio-wpc__image {
	opacity: 0.65;
}

/* ── Navigation Arrows ── */
.sentio-wpc__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255,0.95);
	color: #111827;
	cursor: pointer;
	transition: all 0.25s ease;
	box-shadow: 0 2px 12px rgba(0,0,0,0.12);
	padding: 0;
}

.sentio-wpc__arrow:hover {
	background: #111827;
	color: #ffffff;
}

.sentio-wpc__arrow--prev { left: -22px; }
.sentio-wpc__arrow--next { right: -22px; }

.sentio-wpc__arrow--disabled {
	opacity: 0.3;
	pointer-events: none;
}

/* ── Nav Container ── */
.sentio-wpc__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 20px;
}

/* ── Dots ── */
.sentio-wpc__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.sentio-wpc__dot {
	width: 10px;
	height: 10px;
	border: none;
	border-radius: 50%;
	background: #d1d5db;
	cursor: pointer;
	transition: all 0.25s ease;
	padding: 0;
}

.sentio-wpc__dot--active {
	background: #111827;
	transform: scale(1.3);
}

.sentio-wpc__dot:hover:not(.sentio-wpc__dot--active) {
	background: #9ca3af;
}

/* ── Fraction Counter ── */
.sentio-wpc__fraction {
	font-size: 14px;
	font-weight: 600;
	color: #111827;
}

.sentio-wpc__fraction-current {
	font-size: 20px;
}

.sentio-wpc__fraction-sep {
	margin: 0 4px;
	color: #d1d5db;
}

.sentio-wpc__fraction-total {
	color: #9ca3af;
}

/* ── Progress Bar ── */
.sentio-wpc__progress {
	width: 100%;
	height: 3px;
	background: #e5e7eb;
	border-radius: 2px;
	margin-top: 16px;
	overflow: hidden;
}

.sentio-wpc__progress-fill {
	width: 0%;
	height: 100%;
	background: #111827;
	border-radius: 2px;
	transition: width 0.1s linear;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.sentio-wpc__arrow--prev { left: 8px; }
	.sentio-wpc__arrow--next { right: 8px; }
}

@media (max-width: 767px) {
	.sentio-wpc__arrow {
		width: 36px;
		height: 36px;
	}

	.sentio-wpc__arrow--prev { left: 4px; }
	.sentio-wpc__arrow--next { right: 4px; }

	.sentio-wpc__arrow svg {
		width: 16px;
		height: 16px;
	}

	.sentio-wpc__actions {
		opacity: 1;
		transform: translateX(0);
	}

	.sentio-wpc__content {
		padding: 12px;
	}

	.sentio-wpc__title {
		font-size: 13px;
	}
}
