.so2de-example-widget__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
}

/* Parent Categories Widget */
.so2de-parent-categories {
	position: relative;
	width: 100%;
}

.so2de-parent-categories--empty {
	padding: 1.5rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

.so2de-parent-categories__swiper {
	overflow: hidden;
	width: 100%;
	cursor: grab;
	user-select: none;
}

.so2de-parent-categories__swiper:active {
	cursor: grabbing;
}

.so2de-parent-categories__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
	min-width: 120px; /* Prevent ultra-narrow slides on mobile */
}

.so2de-parent-categories__visual {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	height: 180px;
}

.so2de-parent-categories__frame {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX( -50% );
	width: 85%;
	height: 153px;
	color: #2c2c2c;
	z-index: 1;
}

.so2de-parent-categories__frame-svg {
	display: block;
	width: 100%;
	height: 100%;
}

.so2de-parent-categories__frame--mask {
	background-color: #2c2c2c;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.so2de-parent-categories__image {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	height: 100%;
	--so2de-image-offset-x: 0px;
	--so2de-image-offset-y: -20px;
	transform: translate( var( --so2de-image-offset-x ), var( --so2de-image-offset-y ) );
}

.so2de-parent-categories__image img {
	display: block;
	width: auto;
	height: auto;
	max-width: 75%;
	max-height: 160px;
	object-fit: contain;
}

.so2de-parent-categories__placeholder {
	display: block;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: rgba( 0, 0, 0, 0.08 );
}

.so2de-parent-categories__title {
	margin: 0;
	width: 100%;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}

.so2de-parent-categories__arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: #fff;
	color: #1a1a1a;
	box-shadow: 0 2px 12px rgba( 0, 0, 0, 0.12 );
	cursor: pointer;
	transform: translateY( -50% );
	transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.so2de-parent-categories__arrow:hover {
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.18 );
}

.so2de-parent-categories__arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.so2de-parent-categories__arrow--prev {
	inset-inline-start: -12px;
}

.so2de-parent-categories__arrow--next {
	inset-inline-end: -12px;
}

.so2de-parent-categories__arrow i {
	display: block;
	line-height: 1;
}

@media (max-width: 480px) {
	.so2de-parent-categories__card {
		min-width: 140px;
	}
}

/* Mobile grid mode (2 columns) */
@media (max-width: 767px) {
	.so2de-parent-categories__arrow {
		display: none;
	}

	/* Turn Swiper markup into a real grid when Swiper is disabled */
	.so2de-parent-categories__swiper {
		overflow: visible;
	}

	.so2de-parent-categories__swiper .swiper-wrapper {
		display: grid !important;
		grid-template-columns: repeat( 2, minmax(0, 1fr) );
		gap: 16px;
	}

	.so2de-parent-categories__swiper .swiper-slide {
		width: auto !important;
		margin-left: 0 !important;
	}

	.so2de-parent-categories__card {
		min-width: 0 !important;
		width: 100% !important;
	}
}

/* Latest Posts Widget */
.so2de-latest-posts {
	position: relative;
	width: 100%;
}

.so2de-latest-posts--empty {
	padding: 1.5rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

.so2de-latest-posts__swiper {
	overflow: hidden;
	width: 100%;
}

.so2de-latest-posts__swiper .swiper-slide {
	height: auto;
}

.so2de-latest-posts__card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	padding: 16px;
	overflow: hidden;
	background-color: #fff;
	border-radius: 16px;
}

.so2de-latest-posts__image {
	display: block;
	flex-shrink: 0;
	width: 100%;
	height: 180px;
	margin-bottom: 16px;
	overflow: hidden;
	border-radius: 12px;
	text-decoration: none;
}

.so2de-latest-posts__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.so2de-latest-posts__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba( 0, 0, 0, 0.06 );
}

.so2de-latest-posts__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: stretch;
	min-height: 0;
}

.so2de-latest-posts__title {
	margin: 0 0 12px;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.6;
	text-align: right;
}

.so2de-latest-posts__title a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.so2de-latest-posts__title a:hover {
	opacity: 0.75;
}

.so2de-latest-posts__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	margin: 0 0 16px;
	font-size: 0.875rem;
	line-height: 1.8;
	color: #666;
	text-align: right;
	text-overflow: ellipsis;
}

.so2de-latest-posts__button {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	margin-top: auto;
	padding: 14px 20px;
	border: none;
	border-radius: 10px;
	background-color: #c62828;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.so2de-latest-posts__button-inner {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.so2de-latest-posts__button--icon-right .so2de-latest-posts__button-inner {
	direction: ltr;
}

.so2de-latest-posts__button--icon-left .so2de-latest-posts__button-inner {
	flex-direction: row-reverse;
	direction: ltr;
}


.so2de-latest-posts__button-text {
	unicode-bidi: plaintext;
}

.so2de-latest-posts__button-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	line-height: 1;
}

.so2de-latest-posts__button-icon svg {
	width: 1em;
	height: 1em;
}

.so2de-latest-posts__arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: #fff;
	color: #1a1a1a;
	box-shadow: 0 2px 12px rgba( 0, 0, 0, 0.12 );
	cursor: pointer;
	transform: translateY( -50% );
	transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.so2de-latest-posts__arrow:hover {
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.18 );
}

.so2de-latest-posts__arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.so2de-latest-posts__arrow--prev {
	inset-inline-start: -12px;
}

.so2de-latest-posts__arrow--next {
	inset-inline-end: -12px;
}

.so2de-latest-posts__arrow i {
	display: block;
	line-height: 1;
}

.so2de-latest-posts__grid {
	display: grid;
	width: 100%;
}

.so2de-latest-posts-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 40px;
	margin-bottom: 20px;
}

.so2de-latest-posts-pagination .page-numbers {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	font-size: 16px;
	font-weight: 500;
	color: #111111;
	text-decoration: none;
	background-color: #ffffff;
	border: 1px solid #f2d5d8;
	border-radius: 12px;
	transition: all 0.25s ease-in-out;
	box-sizing: border-box;
}

.so2de-latest-posts-pagination .page-numbers.current {
	color: #ffffff;
	background-color: #9c0715;
	border-color: #9c0715;
	box-shadow: 0 4px 10px rgba(156, 7, 21, 0.2);
}

.so2de-latest-posts-pagination .page-numbers:not(.current):hover {
	background-color: #fcf5f5;
	border-color: #e0b3b7;
	color: #9c0715;
}

.so2de-latest-posts-pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
	cursor: default;
}

/* Portfolio Carousel Widget */
.so2de-portfolio-carousel {
	position: relative;
	width: 100%;
}

.so2de-portfolio-carousel--empty {
	padding: 1.5rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

.so2de-portfolio-carousel__swiper {
	overflow: hidden;
	width: 100%;
}

.so2de-portfolio-carousel__swiper .swiper-slide {
	height: auto;
}

.so2de-portfolio-carousel__card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	overflow: hidden;
	background-color: #fff;
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s ease;
}

.so2de-portfolio-carousel__card:hover {
	opacity: 0.85;
}

.so2de-portfolio-carousel__image {
	display: block;
	flex-shrink: 0;
	width: 100%;
	height: 200px;
	margin-bottom: 12px;
	overflow: hidden;
	border-radius: 12px;
}

.so2de-portfolio-carousel__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.so2de-portfolio-carousel__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba( 0, 0, 0, 0.06 );
}

.so2de-portfolio-carousel__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.so2de-portfolio-carousel__title {
	margin: 0 0 4px;
	padding: 0 12px;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.6;
	text-align: right;
	color: #1a1a1a;
}

.so2de-portfolio-carousel__meta {
	margin: 0;
	padding: 0 12px;
	font-size: 0.8125rem;
	line-height: 1.6;
	color: #888;
	text-align: right;
}

.so2de-portfolio-carousel__meta-prefix {
	font-weight: 600;
}

.so2de-portfolio-carousel__arrow {
	position: absolute;
	top: 40%;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: #fff;
	color: #1a1a1a;
	font-size: 16px;
	box-shadow: 0 2px 12px rgba( 0, 0, 0, 0.12 );
	cursor: pointer;
	transform: translateY( -50% );
	transition: opacity 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.so2de-portfolio-carousel__arrow:hover {
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.18 );
}

.so2de-portfolio-carousel__arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.so2de-portfolio-carousel__arrow--prev {
	inset-inline-start: -12px;
}

.so2de-portfolio-carousel__arrow--next {
	inset-inline-end: -12px;
}

.so2de-portfolio-carousel__arrow i {
	display: block;
	line-height: 1;
}

/* Mega Menu Widget */
.so2de-mega-menu {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	min-height: 420px;
	direction: rtl;
	background-color: #fff;
}

.so2de-mega-menu--empty {
	padding: 1.5rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

.so2de-mega-menu__sidebar {
	flex: 0 0 280px;
	width: 280px;
	box-sizing: border-box;
	border-inline-end: 1px solid #eee;
}

.so2de-mega-menu__parents {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.so2de-mega-menu__parent {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	padding: 12px 16px;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: #1a1a1a;
	text-align: right;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.so2de-mega-menu__parent:hover,
.so2de-mega-menu__parent.is-active,
.so2de-mega-menu__parent:focus-visible {
	outline: none;
}

.so2de-mega-menu__parent-title {
	flex: 1;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.5;
}

.so2de-mega-menu__parent-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
}

.so2de-mega-menu__parent-icon img {
	display: block;
	width: auto;
	height: auto;
	max-width: 48px;
	max-height: 48px;
	object-fit: contain;
}

.so2de-mega-menu__parent-placeholder,
.so2de-mega-menu__item-placeholder {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba( 0, 0, 0, 0.08 );
}

.so2de-mega-menu__content {
	position: relative;
	flex: 1;
	min-width: 0;
	padding: 32px 40px;
	box-sizing: border-box;
}

.so2de-mega-menu__panels {
	position: relative;
	width: 100%;
	min-height: 100%;
}

.so2de-mega-menu__panel {
	width: 100%;
}

.so2de-mega-menu__panel-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: right;
}

.so2de-mega-menu__grid {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 32px;
}

.so2de-mega-menu__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s ease;
}

.so2de-mega-menu__item:hover {
	opacity: 0.85;
}

.so2de-mega-menu__item-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 120px;
}

.so2de-mega-menu__item-image img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100px;
	max-height: 100%;
	object-fit: contain;
}

.so2de-mega-menu__item-title {
	margin: 12px 0 0;
	width: 100%;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}

.so2de-mega-menu__empty {
	padding: 2rem 1rem;
	text-align: center;
	color: #666;
	font-size: 0.95rem;
}

.so2de-mega-menu__loading {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba( 255, 255, 255, 0.85 );
}

.so2de-mega-menu__loading[hidden] {
	display: none !important;
}

.so2de-mega-menu__loading-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.so2de-mega-menu__spinner {
	display: block;
	width: 36px;
	height: 36px;
	border: 3px solid rgba( 0, 0, 0, 0.1 );
	border-top-color: #1a1a1a;
	border-radius: 50%;
	animation: so2de-mega-menu-spin 0.8s linear infinite;
}

.so2de-mega-menu__loading-text {
	font-size: 0.875rem;
	color: #666;
}

@keyframes so2de-mega-menu-spin {
	to {
		transform: rotate( 360deg );
	}
}

@media ( max-width: 1024px ) {
	.so2de-mega-menu__grid {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 767px ) {
	.so2de-mega-menu {
		flex-direction: column;
		min-height: 0;
	}

	.so2de-mega-menu__sidebar {
		flex: none;
		width: 100%;
		padding: 0 !important;
		margin: 0;
		border: none !important;
	}

	.so2de-mega-menu__parents {
		display: grid;
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 12px 20px;
		padding: 0;
		margin: 0;
	}

	.so2de-mega-menu__parent,
	.so2de-mega-menu__parent:hover,
	.so2de-mega-menu__parent.is-active,
	.so2de-mega-menu__parent:focus-visible {
		display: block;
		width: 100%;
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		font-weight: inherit;
		text-align: right;
	}

	.so2de-mega-menu__parent-icon {
		display: none !important;
	}

	.so2de-mega-menu__parent-title {
		display: inline;
		flex: none;
		font-size: 0.9rem;
		font-weight: inherit;
		line-height: 1.8;
	}

	.so2de-mega-menu__parent-title::before {
		content: '>\00a0';
		color: #d12026;
		font-weight: 400;
	}

	.so2de-mega-menu__content {
		padding: 20px 16px 24px;
	}

	.so2de-mega-menu--hide-mobile-title .so2de-mega-menu__panel-title {
		display: none;
	}

	.so2de-mega-menu__grid {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
		gap: 16px;
	}

	.so2de-mega-menu__item-image {
		height: 80px;
	}

	.so2de-mega-menu__item-image img {
		max-width: 72px;
	}

	.so2de-mega-menu__item-title {
		margin-top: 8px;
		font-size: 0.8rem;
	}
}

/* Portfolio Grid Widget */
.so2de-portfolio-grid {
	position: relative;
	width: 100%;
}

.so2de-portfolio-grid--empty {
	padding: 1.5rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

.so2de-portfolio-grid__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	margin-bottom: 32px;
}

.so2de-portfolio-grid__filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 20px;
	border: none;
	border-radius: 8px;
	background-color: #f5f5f5;
	color: #1a1a1a;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.so2de-portfolio-grid__filter.is-active {
	background-color: #c62828;
	color: #fff;
}

.so2de-portfolio-grid__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.so2de-portfolio-grid__card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	padding: 16px;
	overflow: hidden;
	background-color: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.so2de-portfolio-grid__card:hover {
	transform: translateY(-4px);
}

.so2de-portfolio-grid__image-wrap {
	flex-shrink: 0;
}

.so2de-portfolio-grid__image {
	position: relative;
	display: block;
	width: 100%;
	height: 200px;
	margin-bottom: 16px;
	overflow: hidden;
	border-radius: 12px;
	text-decoration: none;
}

.so2de-portfolio-grid__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.so2de-portfolio-grid__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.06);
}

.so2de-portfolio-grid__badge {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	z-index: 2;
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	background-color: #c62828;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.so2de-portfolio-grid__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: stretch;
	min-height: 0;
}

.so2de-portfolio-grid__title {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.6;
	text-align: right;
}

.so2de-portfolio-grid__title a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.so2de-portfolio-grid__title a:hover {
	opacity: 0.75;
}

.so2de-portfolio-grid__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	margin: 0 0 16px;
	font-size: 0.875rem;
	line-height: 1.8;
	color: #666;
	text-align: right;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.so2de-portfolio-grid__button {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	margin-top: auto;
	padding: 14px 20px;
	border: none;
	border-radius: 10px;
	background-color: #c62828;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.so2de-portfolio-grid__button-inner {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.so2de-portfolio-grid__button--icon-right .so2de-portfolio-grid__button-inner {
	direction: ltr;
}

.so2de-portfolio-grid__button--icon-left .so2de-portfolio-grid__button-inner {
	flex-direction: row-reverse;
	direction: ltr;
}

.so2de-portfolio-grid__button-text {
	unicode-bidi: plaintext;
}

.so2de-portfolio-grid__button-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	line-height: 1;
}

.so2de-portfolio-grid__button-icon svg {
	width: 1em;
	height: 1em;
}

@media (max-width: 1024px) {
	.so2de-portfolio-grid__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 767px) {
	.so2de-portfolio-grid__grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		gap: 16px;
	}
}

/* Latest Products Grid Widget */
/* Latest Products Grid Widget with AJAX filtering */
.so2de-latest-products-wrapper {
	position: relative;
	width: 100%;
	direction: rtl;
}

/* Product Filters */
.so2de-product-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 32px;
	width: 100%;
}

.so2de-product-filters__container {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.so2de-product-filter-dropdown {
	position: relative;
}

.so2de-product-filters__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background-color: #F5F5F5;
	color: #333333;
	border: 1px solid #EAEAEA;
	border-radius: 100px;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.so2de-product-filters__btn:hover {
	background-color: #EAEAEA;
}

.so2de-product-filters__btn.is-active {
	background-color: #9E0616;
	color: #FFFFFF;
	border-color: #9E0616;
}

.so2de-product-filters__btn-icon {
	font-size: 0.8rem;
	transition: transform 0.3s ease;
}

.so2de-product-filter-dropdown.is-open .so2de-product-filters__btn-icon {
	transform: rotate(180deg);
}

.so2de-product-filters__dropdown-content {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 100;
	min-width: 220px;
	margin-top: 8px;
	background-color: #FFFFFF;
	border: 1px solid #EAEAEA;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	padding: 12px;
	max-height: 280px;
	overflow-y: auto;
}

.so2de-product-filter-dropdown.is-open .so2de-product-filters__dropdown-content {
	display: block;
}

.so2de-filter-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	font-size: 0.85rem;
	color: #444444;
}

.so2de-filter-option:hover {
	background-color: #F9F9F9;
}

.so2de-filter-option.is-active {
	background-color: #FFF0F1;
	color: #9E0616;
	font-weight: 700;
}

.so2de-filter-option input[type="radio"] {
	margin: 0;
	accent-color: #9E0616;
}

/* Price Filter Dropdown Content */
.so2de-product-filters__dropdown-content--price {
	min-width: 280px;
	padding: 16px;
}

.so2de-price-range-inputs {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 16px;
}

.so2de-price-input-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.so2de-price-input-group label {
	font-size: 0.8rem;
	color: #666666;
}

.so2de-price-input-group input {
	padding: 8px 12px;
	border: 1px solid #EAEAEA;
	border-radius: 8px;
	font-size: 0.9rem;
	outline: none;
	width: 100%;
	box-sizing: border-box;
}

.so2de-price-input-group input:focus {
	border-color: #9E0616;
}

.so2de-price-apply-btn {
	width: 100%;
	padding: 10px;
	background-color: #9E0616;
	color: #FFFFFF;
	border: none;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.so2de-price-apply-btn:hover {
	background-color: #800512;
}

/* Products Grid */
.so2de-latest-products {
	position: relative;
	width: 100%;
	transition: opacity 0.3s ease;
}

.so2de-latest-products.is-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	border: 3px solid rgba(158, 6, 22, 0.1);
	border-top-color: #9E0616;
	border-radius: 50%;
	animation: so2de-spin 0.8s infinite linear;
	z-index: 10;
}

@keyframes so2de-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.so2de-latest-products--empty,
.so2de-latest-products__no-results {
	padding: 3rem 1.5rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 12px;
	width: 100%;
	font-size: 1rem;
	grid-column: 1 / -1;
}

.so2de-latest-products__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.so2de-latest-products__card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	background-color: #FFFFFF;
	border: 1px solid #EAEAEA;
	border-radius: 16px;
	padding: 16px;
	transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
}

.so2de-latest-products__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.so2de-latest-products__card-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.so2de-latest-products__image-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 200px;
	background-color: #FFFFFF;
	border-radius: 12px;
	padding: 12px;
	box-sizing: border-box;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
	margin-bottom: 12px;
	overflow: hidden;
	position: relative;
}

.so2de-latest-products__image-wrapper img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 12px;
}

/* Badges */
.so2de-latest-products__badges {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 5;
}

.so2de-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 700;
	color: #FFFFFF;
}

.so2de-badge--instock {
	background-color: #9E0616; /* Red badge as in screenshot */
}

.so2de-badge--outofstock {
	background-color: #999999;
}

.so2de-badge--featured {
	background-color: #0066CC; /* Blue badge as in screenshot */
}

.so2de-latest-products__title {
	margin: 0 0 8px 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: right;
	color: #1A1A1A;
	transition: color 0.3s ease;
}

.so2de-latest-products__excerpt {
	margin: 0 0 16px 0;
	font-size: 0.85rem;
	line-height: 1.6;
	color: #777777;
	text-align: right;
}

/* Card Footer: Wishlist and Price */
.so2de-latest-products__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #F5F5F5;
	margin-bottom: 16px;
}

.so2de-latest-products__wishlist {
	display: flex;
	align-items: center;
}

.so2de-wishlist-btn {
	background: none;
	border: none;
	padding: 4px;
	color: #999999;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.so2de-wishlist-btn:hover {
	color: #9E0616;
	transform: scale(1.1);
}

.so2de-latest-products__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
	font-weight: 700;
}

.so2de-price-amount {
	font-size: 1.2rem;
	color: #9E0616;
}

.so2de-price-currency {
	font-size: 0.8rem;
	color: #9E0616;
}

.so2de-price-free {
	font-size: 0.9rem;
	color: #666666;
}

/* Action Button */
.so2de-latest-products__action {
	width: 100%;
}

.so2de-order-btn {
	display: block;
	width: 100%;
	padding: 12px;
	background-color: #9E0616;
	color: #FFFFFF;
	text-align: center;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 8px;
	box-sizing: border-box;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.so2de-order-btn:hover {
	background-color: #800512;
	box-shadow: 0 4px 12px rgba(158, 6, 22, 0.2);
}

/* Pagination */
.so2de-latest-products__pagination {
	margin-top: 40px;
	width: 100%;
}

.so2de-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	direction: ltr; /* Ensure pages order correctly with arrows */
}

.so2de-pagination__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #EAEAEA;
	background-color: #FFFFFF;
	color: #444444;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.so2de-pagination__btn:hover {
	border-color: #9E0616;
	color: #9E0616;
}

.so2de-pagination__btn.is-active {
	background-color: #9E0616;
	border-color: #9E0616;
	color: #FFFFFF;
}

/* Responsive Grid Columns Fallbacks (if not overridden by Elementor selectors) */
@media (max-width: 1024px) {
	.so2de-latest-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.so2de-latest-products__grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		gap: 16px;
	}
	.so2de-product-filters__container {
		width: 100%;
	}
	.so2de-product-filter-dropdown {
		width: 100%;
	}
	.so2de-product-filters__btn {
		width: 100%;
		justify-content: space-between;
	}
	.so2de-product-filters__dropdown-content {
		width: 100%;
		box-sizing: border-box;
	}
}

/* Off-Canvas Menu Widget */
.so2de-off-canvas-menu {
	width: 100%;
}

.so2de-off-canvas-menu--empty {
	padding: 1.5rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

.so2de-off-canvas-menu__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.so2de-off-canvas-menu__trigger,
.so2de-off-canvas-menu__link {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	border: none;
	background: transparent;
	color: #3d2c2c;
	text-align: right;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.so2de-off-canvas-menu__trigger:focus-visible,
.so2de-off-canvas-menu__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.so2de-off-canvas-menu__title {
	flex: 1;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.5;
}

.so2de-off-canvas-menu__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 1;
}

.so2de-off-canvas-menu__icon svg {
	display: block;
	width: 1em;
	height: 1em;
}

.so2de-off-canvas-menu__panel {
	padding: 16px 0;
}

.so2de-off-canvas-menu__panel[hidden] {
	display: none;
}

.so2de-off-canvas-menu__panel-empty {
	padding: 1rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

/* Our Clients Widget */
.so2de-our-clients {
	position: relative;
	width: 100%;
}

.so2de-our-clients--empty {
	padding: 1.5rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

.so2de-our-clients__swiper {
	overflow: hidden;
	width: 100%;
}

.so2de-our-clients__swiper .swiper-slide {
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.so2de-our-clients__card {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	text-decoration: none;
	background-color: transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.so2de-our-clients__img {
	display: block;
	max-width: 100%;
	height: 60px;
	object-fit: contain;
}

/* For continuous smooth marquee scroll */
.so2de-our-clients--smooth .swiper-wrapper {
	transition-timing-function: linear !important;
	-webkit-transition-timing-function: linear !important;
}

/* Sign Types Filter Widget */
.so2de-sign-types-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
}

.so2de-sign-types-filter__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.3s ease;
	white-space: nowrap;
	border-style: solid;
	border-width: 0px;
}

.so2de-sign-types-filter--empty {
	padding: 1rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

.elementor-widget-so2de_page_search .so2de-page-search__input {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.elementor-widget-so2de_page_search .so2de-page-search__submit,
.elementor-widget-so2de_page_search .so2de-page-search__submit:hover,
.elementor-widget-so2de_page_search .so2de-page-search__submit:focus,
.elementor-widget-so2de_page_search .so2de-page-search__submit:focus-visible {
	border: none !important;
	border-radius: 0 !important;
	background: none !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

/* Page Search Widget */
.so2de-page-search {
	width: 100%;
}

.so2de-page-search__field {
	display: flex;
	align-items: center;
	flex-direction: row;
	direction: rtl;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	padding: 8px 16px;
	border: 1px solid #d4b5b5;
	border-radius: 100px;
	background-color: #ffffff;
}

.so2de-page-search__input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	border: none !important;
	background: transparent !important;
	outline: none;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
	direction: rtl;
	text-align: right;
}

.so2de-page-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.so2de-page-search__submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: none !important;
	border-radius: 0 !important;
	background: none !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: #b89898;
	cursor: pointer;
	line-height: 1;
	appearance: none;
	-webkit-appearance: none;
}

.so2de-page-search__submit:hover,
.so2de-page-search__submit:focus,
.so2de-page-search__submit:focus-visible {
	background: none !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none;
}

.so2de-page-search__submit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}

.so2de-page-search__submit-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.so2de-page-search__submit-text {
	line-height: 1.2;
}

/* Product Search & Filter Widget */
.so2de-product-search-filter {
	width: 100%;
}

.so2de-product-search-filter--empty {
	padding: 1rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

.so2de-product-search-filter__search-field {
	display: flex;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 16px;
	border: 1px solid #d4b5b5;
	border-radius: 100px;
	background-color: #ffffff;
}

.so2de-product-search-filter__search-input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	border: none !important;
	background: transparent !important;
	outline: none;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
	direction: rtl;
	text-align: right;
}

.so2de-product-search-filter__search-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.so2de-product-search-filter__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px;
	direction: rtl;
}

.so2de-product-search-filter__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 160px;
	flex: 1 1 160px;
}

.so2de-product-search-filter__field--price {
	flex: 1 1 240px;
}

.so2de-product-search-filter__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #333333;
}

.so2de-product-search-filter__select,
.so2de-product-search-filter__price-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background-color: #f5f5f5;
	color: #333333;
	font-size: 0.9375rem;
	direction: rtl;
}

.so2de-product-search-filter__price-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.so2de-product-search-filter__price-input {
	flex: 1 1 0;
	min-width: 0;
}

.so2de-product-search-filter__price-sep {
	flex-shrink: 0;
	color: #666666;
	font-size: 0.875rem;
}

.so2de-product-search-filter__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.so2de-product-search-filter__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border: none;
	border-radius: 8px;
	background-color: #9e0616;
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.so2de-product-search-filter__submit:hover {
	opacity: 0.9;
}

.so2de-product-search-filter__reset {
	color: #666666;
	text-decoration: none;
	font-size: 0.875rem;
	white-space: nowrap;
}

.so2de-product-search-filter__reset:hover {
	color: #9e0616;
}

.so2de-product-search-filter__count {
	margin: 0 0 16px;
	font-size: 0.9375rem;
	color: #666666;
	text-align: right;
	direction: rtl;
}

.so2de-product-search-filter__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
	direction: rtl;
}

.so2de-product-search-filter__pagination .so2de-pagination__btn {
	text-decoration: none;
}

@media (max-width: 767px) {
	.so2de-product-search-filter__filters {
		flex-direction: column;
		align-items: stretch;
	}

	.so2de-product-search-filter__field {
		min-width: 100%;
		flex: 1 1 100%;
	}

	.so2de-product-search-filter__actions {
		width: 100%;
		justify-content: stretch;
	}

	.so2de-product-search-filter__submit {
		flex: 1 1 auto;
	}
}

/* Product Page Widgets */
.so2de-product-price {
	direction: rtl;
	line-height: 1.4;
}

/* Product variations selector */
.so2de-product-variations {
	direction: rtl;
	text-align: right;
}

.so2de-product-variations__row:not(:last-child) {
	margin-bottom: 20px;
}

.so2de-product-variations__label {
	display: block;
	margin: 0 0 10px;
	color: #1a1a1a;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}

.so2de-product-variations__options {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
}

/*
 * Beat Elementor Site Settings → Theme Style → Buttons
 * (`.elementor-kit-X button` is more specific than a single class).
 */
[class*="elementor-kit-"] button.so2de-product-variations__option,
.so2de-product-variations__option {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 22px;
	border: 1px solid #ced4da;
	border-radius: 12px;
	background-color: #fff;
	box-shadow: none;
	color: #212529;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.3;
	cursor: pointer;
	outline: none;
	user-select: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.so2de-product-variations__option:hover:not(.is-disabled) {
	border-color: #212529;
}

.so2de-product-variations__option.is-selected {
	border-color: #212529;
	border-width: 2px;
	padding: 9px 21px;
}

.so2de-product-variations__option.is-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Hide WC native variation dropdowns; swatches control them */
.so2de-product-add-to-cart__variations-bridge {
	position: absolute !important;
	inset-inline-start: 0 !important;
	top: 0 !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.so2de-product-add-to-cart .woocommerce-variation-price,
.so2de-product-add-to-cart .woocommerce-variation-description,
.so2de-product-add-to-cart .woocommerce-variation-availability {
	display: none !important;
}

.so2de-product-price del {
	opacity: 0.85;
	text-decoration: line-through;
}

.so2de-product-price ins {
	text-decoration: none;
}

.so2de-product-sale-badge-wrap {
	display: flex;
	direction: rtl;
}

.so2de-product-sale-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	background-color: #9e0616;
	border-radius: 8px;
}

.so2de-product-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
	direction: rtl;
}

.so2de-product-add-to-cart__form,
.so2de-product-add-to-cart form.cart {
	display: block;
	position: relative;
	width: 100%;
	margin: 0;
}

.so2de-product-add-to-cart .single_variation_wrap {
	width: 100%;
}

.so2de-product-add-to-cart__actions,
.so2de-product-add-to-cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
}

.so2de-product-add-to-cart__qty {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
}

.so2de-product-add-to-cart__qty-label {
	color: #212529;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
}

.so2de-product-add-to-cart .quantity,
.so2de-product-add-to-cart .so2de-qty {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	margin: 0;
}

[class*="elementor-kit-"] button.so2de-qty__btn,
.so2de-qty__btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 10px;
	box-shadow: none;
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

[class*="elementor-kit-"] button.so2de-qty__btn--plus,
.so2de-qty__btn--plus {
	background-color: #9e0616;
	color: #fff;
}

.so2de-qty__btn--plus:hover:not(:disabled):not(.is-disabled) {
	opacity: 0.9;
}

[class*="elementor-kit-"] button.so2de-qty__btn--minus,
.so2de-qty__btn--minus {
	background-color: #e9ecef;
	color: #495057;
}

.so2de-qty__btn--minus:hover:not(:disabled):not(.is-disabled) {
	background-color: #dee2e6;
}

.so2de-qty__btn:disabled,
.so2de-qty__btn.is-disabled {
	cursor: not-allowed;
	pointer-events: none;
	box-shadow: none;
}

.so2de-product-add-to-cart .quantity .qty,
.so2de-product-add-to-cart .so2de-qty .qty {
	width: 40px;
	min-height: 40px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: #212529;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	box-sizing: border-box;
	pointer-events: none;
	appearance: textfield;
	-moz-appearance: textfield;
}

.so2de-product-add-to-cart .quantity .qty::-webkit-outer-spin-button,
.so2de-product-add-to-cart .quantity .qty::-webkit-inner-spin-button {
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
}

.so2de-product-add-to-cart .single_add_to_cart_button,
[class*="elementor-kit-"] button.so2de-product-add-to-cart__button,
[class*="elementor-kit-"] .elementor-button.so2de-product-add-to-cart__button,
.so2de-product-add-to-cart__button,
.so2de-product-add-to-cart .elementor-button.so2de-product-add-to-cart__button {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 14px 28px;
	border: none;
	border-radius: 8px;
	background-color: #9e0616;
	background-image: none;
	box-shadow: none;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.so2de-product-add-to-cart .single_add_to_cart_button:hover,
.so2de-product-add-to-cart__button:hover,
.so2de-product-add-to-cart .elementor-button.so2de-product-add-to-cart__button:hover {
	background-image: none;
	box-shadow: none;
	color: #fff;
	opacity: 0.92;
}

.so2de-product-add-to-cart .single_add_to_cart_button.disabled,
.so2de-product-add-to-cart .single_add_to_cart_button:disabled,
.so2de-product-add-to-cart__button.disabled,
.so2de-product-add-to-cart__button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.so2de-product-add-to-cart__button-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.so2de-product-add-to-cart__button-inner--left {
	flex-direction: row-reverse;
}

.so2de-product-add-to-cart__icon {
	display: inline-flex;
	line-height: 1;
}

.so2de-product-add-to-cart__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.so2de-product-add-to-cart__outofstock {
	margin: 0;
	color: #9e0616;
}

.so2de-product-add-to-cart--no-qty .quantity,
.so2de-product-add-to-cart--no-qty .so2de-product-add-to-cart__qty {
	display: none !important;
}

.so2de-product-gallery {
	width: 100%;
	direction: rtl;
}

.so2de-product-gallery--empty,
.so2de-product-image--empty,
.so2de-product-price--empty,
.so2de-product-add-to-cart--empty {
	padding: 1rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

.so2de-product-gallery--thumbs {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.so2de-product-gallery__main {
	margin: 0;
	overflow: hidden;
	width: 100%;
}

.so2de-product-gallery__main img,
.so2de-product-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
}

.so2de-product-gallery__main-link {
	display: block;
}

.so2de-product-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(4, max-content);
	justify-content: start;
	gap: 12px;
}

[class*="elementor-kit-"] button.so2de-product-gallery__thumb,
.so2de-product-gallery__thumb {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: 80px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 8px;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: 0;
	cursor: pointer;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

[class*="elementor-kit-"] button.so2de-product-gallery__thumb img,
.so2de-product-gallery__thumb img {
	display: block;
	width: 100%;
	height: 80px;
	object-fit: cover;
}

.so2de-product-gallery__thumb.is-active {
	border-color: #9e0616;
	opacity: 1;
}

.so2de-product-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.so2de-product-gallery__item {
	margin: 0;
	overflow: hidden;
}

.so2de-product-gallery__item a {
	display: block;
}

.so2de-product-gallery--slider {
	position: relative;
}

.so2de-product-gallery__swiper {
	width: 100%;
	overflow: hidden;
}

.so2de-product-gallery__slide {
	margin: 0;
	overflow: hidden;
}

.so2de-product-gallery__slide a {
	display: block;
}

.so2de-product-gallery__slide img {
	display: block;
	width: 100%;
	height: auto;
}

.so2de-product-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: #222;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.so2de-product-gallery__arrow:hover {
	background: #fff;
}

.so2de-product-gallery__arrow--prev {
	right: 12px;
}

.so2de-product-gallery__arrow--next {
	left: 12px;
}

.so2de-product-gallery__lightbox-sources {
	display: none !important;
}

@media (max-width: 767px) {
	.so2de-product-gallery__thumbs {
		grid-template-columns: repeat(3, max-content);
	}

	.so2de-product-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.so2de-product-add-to-cart__actions,
	.so2de-product-add-to-cart .woocommerce-variation-add-to-cart {
		flex-direction: column;
		align-items: stretch;
	}

	.so2de-product-add-to-cart__qty {
		justify-content: flex-start;
		width: 100%;
	}

	.so2de-product-add-to-cart .single_add_to_cart_button,
	.so2de-product-add-to-cart__button {
		width: 100%;
		flex: 0 0 auto;
	}
}

/* Project Page Widgets */
.so2de-project-image--empty,
.so2de-project-gallery--empty,
.so2de-project-materials--empty {
	padding: 1rem;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 4px;
}

.so2de-project-gallery {
	width: 100%;
	direction: rtl;
}

.so2de-project-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 15px;
	width: 100%;
}

.so2de-project-gallery__item {
	margin: 0;
	overflow: hidden;
}

.so2de-project-gallery__item a {
	display: block;
}

.so2de-project-gallery__item img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.so2de-project-materials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	direction: rtl;
}

.so2de-project-materials__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: none;
	border-radius: 999px;
	background-color: #f3f3f3;
	color: #333;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.so2de-project-materials__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}

.so2de-project-materials__icon img {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
	border-radius: 50%;
}

.so2de-project-materials__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.so2de-project-materials__label {
	display: inline-block;
}

@media (max-width: 1024px) {
	.so2de-project-gallery__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.so2de-project-gallery__grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

/* Product attributes chips */
.so2de-product-attributes {
	direction: rtl;
	text-align: right;
}

.so2de-product-attributes__title {
	display: block;
	margin: 0 0 12px;
	color: #1a1a1a;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}

.so2de-product-attributes__list {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.so2de-product-attributes__chip {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	box-sizing: border-box;
	max-width: 100%;
	padding: 12px 18px;
	border: none;
	border-radius: 14px;
	background-color: #f5f6f8;
	text-align: right;
	line-height: 1.35;
}

.so2de-product-attributes__label {
	display: block;
	margin: 0 0 4px;
	color: #9a9ea6;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.3;
}

.so2de-product-attributes__value {
	display: block;
	color: #1a1c20;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	word-break: break-word;
}

/* Product materials chips */
.so2de-product-materials {
	direction: rtl;
	text-align: right;
}

.so2de-product-materials__title {
	display: block;
	margin: 0 0 12px;
	color: #1a1a1a;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}

.so2de-product-materials__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.so2de-product-materials__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	max-width: 100%;
	padding: 12px 18px;
	border: none;
	border-radius: 999px;
	background-color: #f5f6f8;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.so2de-product-materials__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}

.so2de-product-materials__icon img {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
	border-radius: 50%;
}

.so2de-product-materials__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.so2de-product-materials__label {
	display: inline-block;
	color: #1a1c20;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	word-break: break-word;
}

/* Product sign types (انواع تابلو) chips */
.so2de-product-sign-types {
	direction: rtl;
	text-align: right;
}

.so2de-product-sign-types__title {
	display: block;
	margin: 0 0 12px;
	color: #1a1a1a;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}

.so2de-product-sign-types__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.so2de-product-sign-types__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	max-width: 100%;
	padding: 12px 18px;
	border: none;
	border-radius: 999px;
	background-color: #f5f6f8;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.so2de-product-sign-types__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}

.so2de-product-sign-types__icon img {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
	border-radius: 50%;
}

.so2de-product-sign-types__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.so2de-product-sign-types__label {
	display: inline-block;
	color: #1a1c20;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	word-break: break-word;
}

