/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Version: 1.31.0
 * Text Domain: blocksy
 */

.ct-sticky-container {
	z-index: 1000;
}

.ct-header {
	z-index: 1000;
}


@media (max-width: 767px) {
	.jdgm-carousel-item__product-image {
		width: 100px;
		height: 100px;
	}
}

.jdgm-carousel-item__product-image {
	width: 100px;
	height: 100px;
}

.jdgm-carousel-item {
	width: 33.33%;
}

/* Responsive Visibility Classes */

/* Hide on Mobile (< 768px) */
@media (max-width: 767px) {
	.hide-on-mobile {
		display: none !important;
	}

	.jdgm-carousel-item {
		width: 100% !important;
	}
}

/* Show only on Mobile (< 768px) */
.show-on-mobile {
	display: none !important;
}

@media (max-width: 767px) {
	.show-on-mobile {
		display: block !important;
	}
}

/* Hide on Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
	.hide-on-tablet {
		display: none !important;
	}
}

/* Show only on Tablet (768px - 1023px) */
.show-on-tablet {
	display: none !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
	.show-on-tablet {
		display: block !important;
	}
}

/* Hide on Desktop (≥ 1024px) */
@media (min-width: 1024px) {
	.hide-on-desktop {
		display: none !important;
	}
}

/* Show only on Desktop (≥ 1024px) */
.show-on-desktop {
	display: none !important;
}

@media (min-width: 1024px) {
	.show-on-desktop {
		display: block !important;
	}
}

/* For inline elements */
.show-on-mobile.inline,
.show-on-tablet.inline,
.show-on-desktop.inline {
	display: none !important;
}

@media (max-width: 767px) {
	.show-on-mobile.inline {
		display: inline !important;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.show-on-tablet.inline {
		display: inline !important;
	}
}

@media (min-width: 1024px) {
	.show-on-desktop.inline {
		display: inline !important;
	}
}

/* Judge.me Carousel Customization */
.jdgm-carousel-wrapper {
	max-width: 1200px !important;
	margin: 0 auto !important;
	padding: 0 20px !important;
}

.jdgm-carousel {
	display: flex !important;
	gap: 20px !important;
}

.jdgm-carousel__item-container {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 20px !important;
	width: 100% !important;
}

.jdgm-carousel-item {
	flex: 0 0 33.33% !important;
	max-width: 33.33% !important;
	min-width: 0 !important;
}

/* Hide all items beyond the first 3 in each view */
.jdgm-carousel-item:nth-child(n+4) {
	display: none !important;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
	.jdgm-carousel-item {
		flex: 0 0 50% !important;
		max-width: 50% !important;
	}

	/* Show only 2 on tablet */
	.jdgm-carousel-item:nth-child(n+3) {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.jdgm-carousel-item {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	/* Show only 1 on mobile */
	.jdgm-carousel-item:nth-child(n+2) {
		display: none !important;
	}
}



.jdgm-carousel-item__product {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

@media (max-width: 767px) {
	.jdgm-carousel-item__product-image {
		width: 100px !important;
		height: 100px !important;
	}
}