.pitico-category-carousel {
	--pcc-blue: #5B6FB2;
	--pcc-purple: #C980B3;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	font-family: IRANSans, IRANSansX, Tahoma, Arial, sans-serif;
	direction: rtl;
	overflow: hidden;
}
.pitico-category-carousel *, .pitico-category-carousel *::before, .pitico-category-carousel *::after { box-sizing: border-box; }
.pitico-category-carousel .pcc-grid { display:none; grid-template-columns:repeat(var(--pcc-cols-d), minmax(0,1fr)); gap:var(--pcc-gap-d); align-items:start; }
.pitico-category-carousel .pcc-slider-shell { display:none; position:relative; width:100%; }
.pitico-category-carousel .pcc-swiper { width:100%; overflow:hidden; touch-action:pan-y pinch-zoom; cursor:auto; overscroll-behavior-y:auto; }
.pitico-category-carousel .pcc-swiper .swiper-wrapper { display:flex; align-items:stretch; }
.pitico-category-carousel .pcc-swiper .swiper-slide { flex-shrink:0; height:auto; }
.pitico-category-carousel .pcc-item { display:flex; flex-direction:column; align-items:center; width:100%; min-width:0; text-decoration:none !important; color:inherit; -webkit-tap-highlight-color:transparent; user-select:none; }
.pitico-category-carousel .pcc-image-box { display:flex; align-items:center; justify-content:center; width:100%; aspect-ratio:1 / 1; border:1px solid #EBEEF7; background:#fff; overflow:hidden; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pitico-category-carousel .pcc-image-box img { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.pitico-category-carousel .pcc-item-title { display:block; width:100%; margin-top:14px; text-align:center; color:var(--pcc-blue); line-height:1.75; white-space:normal; }
.pitico-category-carousel .pcc-item-dot { display:block; width:7px; height:7px; margin-top:10px; border-radius:50%; background:var(--pcc-purple); }
.pitico-category-carousel.pcc-hover-enabled .pcc-item:hover .pcc-image-box { transform:translateY(-5px); border-color:rgba(91,111,178,.28); box-shadow:0 12px 30px rgba(91,111,178,.10); }
.pitico-category-carousel .pcc-arrow { position:absolute; z-index:5; top:42%; width:38px; height:38px; display:flex; align-items:center; justify-content:center; padding:0; border:1px solid rgba(91,111,178,.18); border-radius:50%; background:#fff; color:var(--pcc-blue); box-shadow:0 7px 20px rgba(54,67,112,.12); cursor:pointer; transform:translateY(-50%); }
.pitico-category-carousel .pcc-arrow span { font-size:28px; line-height:1; margin-top:-2px; }
.pitico-category-carousel .pcc-arrow-prev { right:4px; }
.pitico-category-carousel .pcc-arrow-next { left:4px; }
.pitico-category-carousel .pcc-arrow.swiper-button-disabled { opacity:.3; cursor:default; }
.pitico-category-carousel .pcc-pagination { position:relative !important; inset:auto !important; display:flex; justify-content:center; gap:7px; margin-top:22px; }
.pitico-category-carousel .pcc-pagination .swiper-pagination-bullet { width:7px; height:7px; margin:0 !important; background:var(--pcc-purple); opacity:.3; }
.pitico-category-carousel .pcc-pagination .swiper-pagination-bullet-active { opacity:1; }
.pitico-category-carousel .pcc-swiper.pcc-native-fallback { overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.pitico-category-carousel .pcc-swiper.pcc-native-fallback::-webkit-scrollbar { display:none; }
.pitico-category-carousel .pcc-swiper.pcc-native-fallback .swiper-wrapper { width:max-content; gap:var(--pcc-gap-m); }
.pitico-category-carousel .pcc-swiper.pcc-native-fallback .swiper-slide { width:min(42vw,190px); scroll-snap-align:start; }

@media (min-width:1025px) {
	.pitico-category-carousel.pcc-desktop-static .pcc-grid { display:grid; grid-template-columns:repeat(var(--pcc-cols-d), minmax(0,1fr)); gap:var(--pcc-gap-d); }
	.pitico-category-carousel.pcc-desktop-slider .pcc-slider-shell { display:block; }
}
@media (min-width:768px) and (max-width:1024px) {
		.pitico-category-carousel.pcc-tablet-static .pcc-grid { display:grid; grid-template-columns:repeat(var(--pcc-cols-t), minmax(0,1fr)); gap:var(--pcc-gap-t); }
	.pitico-category-carousel.pcc-tablet-slider .pcc-slider-shell { display:block; }
}
@media (max-width:767px) {
	.pitico-category-carousel { overflow:hidden; }
				.pitico-category-carousel.pcc-mobile-static .pcc-grid { display:grid; grid-template-columns:repeat(var(--pcc-cols-m), minmax(0,1fr)); gap:var(--pcc-gap-m); }
	.pitico-category-carousel.pcc-mobile-slider .pcc-slider-shell { display:block; overflow:visible; }
	.pitico-category-carousel.pcc-mobile-slider .pcc-swiper { overflow:hidden; padding-inline:1px; }
	.pitico-category-carousel .pcc-item-title { margin-top:10px; line-height:1.65; }
	.pitico-category-carousel .pcc-item-dot { width:6px; height:6px; margin-top:7px; }
	.pitico-category-carousel .pcc-arrow { width:34px; height:34px; top:40%; }
	.pitico-category-carousel .pcc-arrow-prev { right:0; }
	.pitico-category-carousel .pcc-arrow-next { left:0; }
}

/* Desktop pointers must never be captured by the carousel. */
@media (hover:hover) and (pointer:fine) {
	.pitico-category-carousel .pcc-swiper,
	.pitico-category-carousel .pcc-swiper * { cursor:auto !important; }
}
