/**
 * Shop Zen Pro Addons — Product Carousel Widget
 *
 */

.szpa-pc {
	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 40px 0;
	background-color: #FCFCFB;
	background-size: 16px 16px;
	border-top: 1px solid #F0EFEA;
	border-bottom: 1px solid #F0EFEA;
}
.szpa-pc *,
.szpa-pc *::before,
.szpa-pc *::after { box-sizing: border-box; }


/* ── Head ─────────────────────────────────────────────────────── */
.szpa-pc-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	max-width: 1280px;
	margin: 0 auto 20px;
	padding: 0 16px;
	gap: 14px;
	flex-wrap: wrap;
}
.szpa-pc-title {
	font-family: Outfit, sans-serif;
	font-size: 34px;
	font-weight: 800;
	margin: 0;
	color: #1A202C;
	line-height: 1.1em;
	letter-spacing: -0.5px;
}
.szpa-pc-viewall {
	font-family: Inter, sans-serif;
	font-weight: 700;
	color: #3A5F3F;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	border: 1px solid #E5E7EB;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	text-transform: uppercase;
	letter-spacing: 0.3px;
	text-decoration: none;
	transition: 0.2s;
}
.szpa-pc-viewall:hover {
	color: #1E3F2A;
	transform: translateX(2px);
}


/* ── Carousel shell ───────────────────────────────────────────── */
.szpa-pc-carousel { position: relative; width: 100%; }
.szpa-pc-carousel-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
}


/* ── Swiper base ──────────────────────────────────────────────── */
.szpa-pc-element { width: 100%; position: relative; }

.szpa-pc-element .swiper.szpa-pc-swiper {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	overflow: hidden;
	list-style: none;
	padding: 4px 16px 8px;
	z-index: 1;
}

.szpa-pc-element .swiper-wrapper {
	position: relative;
	width: 100%;
	z-index: 1;
	display: flex;
	transition-property: transform;
	box-sizing: content-box;
}

.szpa-pc-element .swiper-slide {
	flex-shrink: 0;
	width: auto;
	height: 100%;
	position: relative;
	transition-property: transform;
}


/* ── Product card ─────────────────────────────────────────────── */
.szpa-pc-product {
	display: block;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #E5E7EB;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	width: 100%;
	height: 100%;
}
.szpa-pc-product:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}


/* ── Image wrapper ────────────────────────────────────────────── */
.szpa-pc-img {
	position: relative;
	background: #F8F8F6;
	aspect-ratio: 1;
	overflow: hidden;
}
.szpa-pc-img-el {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
.szpa-pc-product:hover .szpa-pc-img .szpa-pc-img-el {
	transform: scale(1.06);
}


/* ── In stock tag ─────────────────────────────────────────────── */
.szpa-pc-instock {
	position: absolute;
	bottom: 6px;
	left: 6px;
	background: #fff;
	color: #065F46;
	font-family: Inter, sans-serif;
	font-size: 9px;
	font-weight: 800;
	padding: 3px 6px;
	border-radius: 4px;
	border: 1px solid #D1FAE5;
	letter-spacing: 0.4px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
	z-index: 2;
	pointer-events: none;
	line-height: 1;
	display: inline-block;
}


/* ── Badge ────────────────────────────────────────────────────── */
.szpa-pc-badge {
	position: absolute;
	top: 7px;
	left: 7px;
	background: #1E3F2A;
	color: #fff;
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 800;
	padding: 4px 7px;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	letter-spacing: 0.3px;
	text-transform: uppercase;
	z-index: 3;
	line-height: 1;
}
.szpa-pc-badge.new {
	background: #3A5F3F;
}


/* ── Action icons (wishlist / compare / quick view) ───────────── */
.szpa-pc-actions {
	position: absolute;
	top: 7px;
	right: 7px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 3;
}
.szpa-pc-wishlist,
.szpa-pc-compare,
.szpa-pc-quickview {
	width: 28px;
	height: 28px;
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 50%;
	display: grid;
	place-items: center;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
	color: #6B7280;
	transition: 0.2s;
	cursor: pointer;
	padding: 0;
}
.szpa-pc-wishlist:hover,
.szpa-pc-compare:hover,
.szpa-pc-quickview:hover {
	transform: scale(1.05);
}
.szpa-pc-wishlist:hover,
.szpa-pc-wishlist.active {
	color: #E11D48;
}
.szpa-pc-wishlist.active svg {
	fill: #E11D48;
}
.szpa-pc-compare:hover,
.szpa-pc-compare.active,
.szpa-pc-quickview:hover {
	color: #2563EB;
}


/* ── Product info ─────────────────────────────────────────────── */
.szpa-pc-info {
	padding: 10px 11px 13px;
	font-family: Inter, sans-serif;
}
.szpa-pc-ptitle {
	font-weight: 700;
	font-size: 13px;
	margin: 0 0 4px;
	color: #111827;
	line-height: 1.3;
	text-decoration: none;
	display: block;
	font-family: Inter, sans-serif;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.szpa-pc-ptitle:hover {
	color: #3A5F3F;
}
.szpa-pc-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: #6B7280;
	margin-bottom: 6px;
	font-weight: 600;
}
.szpa-pc-stars {
	color: #F59E0B;
	display: flex;
	gap: 1px;
	letter-spacing: 1px;
}
.szpa-pc-reviews {
	color: #6B7280;
}
.szpa-pc-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
}
.szpa-pc-price-now {
	font-weight: 800;
	font-size: 15px;
	color: #1E3F2A;
	font-family: Inter, sans-serif;
	text-decoration: none;
}
/* Remove any WC/theme underline from the current price (keeps old price strike-through). */
.szpa-pc-price-now ins,
.szpa-pc-price-now .amount,
.szpa-pc-price del {
	text-decoration: none;
}
.szpa-pc-price-old {
	text-decoration: line-through;
	color: #9CA3AF;
	font-size: 11px;
	font-weight: 600;
	font-family: Inter, sans-serif;
}


/* ── Navigation: arrows ───────────────────────────────────────── */
.szpa-pc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 11;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #E5E7EB;
	cursor: pointer;
	background: #fff;
	color: #1E3F2A;
	border-radius: 999px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	transition: transform .25s ease, background .2s ease, color .2s ease, opacity .2s ease;
	padding: 0;
}
.szpa-pc-arrow:hover { background: #1E3F2A; color: #fff; }
.szpa-pc-arrow svg { width: 18px; height: 18px; }

.szpa-pc-prev { left: 4px; }
.szpa-pc-next { right: 4px; }

.szpa-pc-prev:hover { transform: translateY(-50%) scale(1.06); }
.szpa-pc-next:hover { transform: translateY(-50%) scale(1.06); }

.szpa-pc-arrow.swiper-button-disabled { opacity: 0.4; cursor: default; }


/* ── Navigation: pagination dots ──────────────────────────────── */
.szpa-pc-pagination.swiper-pagination {
	position: relative;
	z-index: 10;
	margin-top: 18px;
	bottom: auto !important;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.szpa-pc-swiper .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	display: inline-block;
	border-radius: 999px;
	background: #D1D5DB;
	opacity: 1;
	transition: width .3s ease, background .2s ease;
	cursor: pointer;
	margin: 0;
}

.szpa-pc-swiper .swiper-pagination-bullet-active {
	width: 28px;
	background: #1E3F2A;
}


/* ── RTL ──────────────────────────────────────────────────────── */
body.rtl .szpa-pc-arrow svg { transform: scaleX(-1); }


/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
	.szpa-pc-title { font-size: 28px; }
	.szpa-pc-head { flex-direction: column; align-items: flex-start; }
	.szpa-pc-arrow { width: 38px; height: 38px; }
	.szpa-pc-arrow svg { width: 16px; height: 16px; }
}

@media (max-width: 390px) {
	.szpa-pc-title { font-size: 24px; }
}
