.hmw-collection,
.hmw-collection *,
.hmw-collection *::before,
.hmw-collection *::after {
	box-sizing: border-box;
}

/* Slider indicators: inactive items stay circular; the active item becomes a pill. */
.elementor-widget-hermes-card-collection .hmw-collection__pagination-dot,
.elementor-widget-hermes-utility-boxes .hmw-collection__pagination-dot,
.elementor-widget-hermes-special-thumbnail-boxes .hmw-collection__pagination-dot{aspect-ratio:1/1;border-radius:50%!important}
.elementor-widget-hermes-card-collection .hmw-collection__pagination-dot.is-active,
.elementor-widget-hermes-utility-boxes .hmw-collection__pagination-dot.is-active,
.elementor-widget-hermes-special-thumbnail-boxes .hmw-collection__pagination-dot.is-active{aspect-ratio:auto;border-radius:999px!important}

.hmw-collection {
	--hmw-columns: 4;
	--hmw-collection-gap: 22px;
	--hmw-collection-item-width: 100%;
	--hmw-title-decor-primary: #5120d4;
	--hmw-title-decor-secondary: #c9b9ff;
	--hmw-title-decor-dot: #ffb323;
	--hmw-scene-color: #ded8ff;
	--hmw-scene-accent: #ffb323;
	position: relative;
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
	direction: rtl;
	isolation: isolate;
}

.hmw-collection__panel {
	position: relative;
	width: 100%;
	min-width: 0;
	padding: 58px 54px 60px;
	overflow: hidden;
	border: 1px solid rgba(206, 199, 241, 0.54);
	border-radius: 34px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 24px 70px rgba(49, 31, 123, 0.07);
}

.hmw-collection__header {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	margin: 0 auto 44px;
	text-align: center;
}

.hmw-collection__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 42px;
	margin: 0 0 24px;
	padding: 9px 20px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(242, 239, 255, 0.96), rgba(249, 247, 255, 0.86));
	color: #3518b0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

.hmw-collection__badge-dot {
	display: block;
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ffb323;
	box-shadow: 0 4px 12px rgba(255, 179, 35, 0.34);
}

.hmw-collection__title {
	display: block;
	max-width: 100%;
	margin: 0;
	padding: 0;
	color: #111a3a;
	font-family: inherit;
	font-size: clamp(32px, 4vw, 60px);
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.hmw-collection__title > span {
	display: inline;
}

.hmw-collection__title-highlight {
	color: #5120d4;
}

.hmw-collection__title-decoration {
	display: block;
	width: 86px;
	height: 14px;
	margin-top: 12px;
	line-height: 0;
}

.hmw-collection__title-decoration svg,
.hmw-collection__title-decoration img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}

.hmw-collection__description {
	display: block;
	width: 100%;
	max-width: 1000px;
	margin: 20px 0 0;
	padding: 0;
	color: #656b85;
	font-family: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 2;
	text-align: inherit;
}

.hmw-collection__viewport {
	position: relative;
	z-index: 2;
	width: 100%;
	min-width: 0;
}

.hmw-collection__grid {
	display: grid;
	grid-template-columns: repeat(var(--hmw-columns), minmax(0, 1fr));
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	column-gap: var(--hmw-collection-gap);
	row-gap: 24px;
}

.hmw-collection__item {
	min-width: 0;
	margin: 0;
	list-style: none;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.hmw-collection__navigation {
	position: relative;
	z-index: 3;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}

.hmw-collection__pagination {
	position: relative;
	z-index: 3;
	display: none;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 18px 0 0;
	padding: 0;
	gap: 8px;
	direction: rtl;
}

.hmw-collection__pagination[hidden] {
	display: none !important;
}

.hmw-collection__pagination-dot {
	display: block;
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #dad5ed;
	box-shadow: none;
	cursor: pointer;
	opacity: 0.76;
	transform: scale(1);
	transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.hmw-collection__pagination-dot.is-active {
	width: 24px;
	background: #5120d4;
	opacity: 1;
	transform: none;
}

.hmw-collection__pagination-dot:focus-visible {
	outline: 2px solid #5120d4;
	outline-offset: 3px;
}

.hmw-collection__nav-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid #dcd5ff;
	border-radius: 50%;
	background: #f1eeff;
	color: #3e21c8;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.hmw-collection__nav-button:hover,
.hmw-collection__nav-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(62, 33, 200, 0.17);
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.hmw-collection__nav-button:disabled {
	opacity: 0.35;
	cursor: default;
	transform: none;
	box-shadow: none;
}

.hmw-collection__nav-button svg {
	display: block;
	width: 22px;
	height: 22px;
}

.hmw-collection__scene {
	position: absolute;
	z-index: 0;
	display: block;
	pointer-events: none;
}

.hmw-collection__scene svg,
.hmw-collection__scene img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}

.hmw-collection__scene--grid {
	top: 22px;
	left: 24px;
	width: 110px;
	height: 100px;
}

.hmw-collection__scene--rings {
	top: -120px;
	right: -92px;
	width: 300px;
	height: 300px;
}

.hmw-collection__scene--corner {
	bottom: -70px;
	left: -35px;
	width: 260px;
	height: 260px;
}

.hmw-collection__scene--custom {
	inset: 0;
	width: 100%;
	height: 100%;
}

.hmw-collection__scene--custom img {
	object-fit: cover;
}

@media (min-width: 768px) and (max-width: 1024px) {
	.hmw-collection__panel {
		padding: 44px 30px;
	}

	.hmw-collection__header {
		margin-bottom: 36px;
	}

	.hmw-collection__title {
		font-size: clamp(28px, 5vw, 46px);
	}

	.hmw-collection__description {
		font-size: 18px;
		line-height: 1.9;
	}

	.hmw-collection--tablet-scroll .hmw-collection__grid,
	.hmw-collection--tablet-slider .hmw-collection__grid {
		display: flex;
		grid-template-columns: none;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 8px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.hmw-collection--tablet-scroll .hmw-collection__grid::-webkit-scrollbar,
	.hmw-collection--tablet-slider .hmw-collection__grid::-webkit-scrollbar {
		display: none;
	}

	.hmw-collection--tablet-scroll .hmw-collection__item,
	.hmw-collection--tablet-slider .hmw-collection__item {
		flex: 0 0 var(--hmw-collection-item-width, 46%);
		width: var(--hmw-collection-item-width, 46%);
	}

	.hmw-collection--tablet-slider .hmw-collection__navigation {
		display: flex;
	}

	.hmw-collection--tablet-scroll .hmw-collection__pagination,
	.hmw-collection--tablet-slider .hmw-collection__pagination {
		display: flex;
	}
}

@media (max-width: 767px) {
	.hmw-collection__panel {
		padding: 36px 18px 38px;
		border-radius: 28px;
	}

	.hmw-collection__header {
		margin-bottom: 28px;
	}

	.hmw-collection__badge {
		min-height: 38px;
		margin-bottom: 18px;
		padding: 8px 16px;
		font-size: 14px;
	}

	.hmw-collection__title {
		font-size: clamp(25px, 8vw, 38px);
		line-height: 1.42;
	}

	.hmw-collection__description {
		margin-top: 15px;
		font-size: 16px;
		line-height: 1.9;
	}

	.hmw-collection--mobile-grid.hmw-collection--mobile-flow-columns .hmw-collection__grid {
		grid-auto-flow: row;
		grid-template-columns: 1fr;
		grid-template-rows: repeat(var(--hmw-columns), minmax(0, auto));
	}

	.hmw-collection__scene--grid {
		top: 12px;
		left: 10px;
		width: 72px;
		height: 66px;
		opacity: 0.58;
	}

	.hmw-collection__scene--rings {
		top: -84px;
		right: -80px;
		width: 210px;
		height: 210px;
	}

	.hmw-collection__scene--corner {
		bottom: -75px;
		left: -58px;
		width: 210px;
		height: 210px;
	}

	.hmw-collection--mobile-scroll .hmw-collection__grid,
	.hmw-collection--mobile-slider .hmw-collection__grid {
		display: flex;
		grid-template-columns: none;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0 0 8px;
		scroll-padding-inline: 0;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.hmw-collection--mobile-scroll .hmw-collection__grid::-webkit-scrollbar,
	.hmw-collection--mobile-slider .hmw-collection__grid::-webkit-scrollbar {
		display: none;
	}

	.hmw-collection--mobile-scroll .hmw-collection__item,
	.hmw-collection--mobile-slider .hmw-collection__item {
		flex: 0 0 var(--hmw-collection-item-width, 82%);
		width: var(--hmw-collection-item-width, 82%);
	}

	.hmw-collection--mobile-slider .hmw-collection__navigation {
		display: flex;
	}

	.hmw-collection--mobile-scroll .hmw-collection__pagination,
	.hmw-collection--mobile-slider .hmw-collection__pagination {
		display: flex;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hmw-collection__grid {
		scroll-behavior: auto !important;
	}

	.hmw-collection__nav-button {
		transition: none;
	}

	.hmw-collection__pagination-dot {
		transition: none;
	}
}
