.swhw-carousel {
	--swhw-cols: var(--swhw-cols-desktop, 4);
	--swhw-gap: var(--swhw-gap-desktop, 24px);
	--swhw-arrow-size: 44px;
	--swhw-nav-padding: 56px;
	position: relative;
	width: 100%;
	min-width: 0;
	color: inherit;
	font-family: inherit;
}

.swhw-carousel,
.swhw-carousel * {
	box-sizing: border-box;
}

.swhw-carousel [hidden] {
	display: none !important;
}

.swhw-carousel__panel {
	position: relative;
	width: 100%;
	min-width: 0;
}

.swhw-carousel__panel--has-arrows {
	--swhw-nav-gutter: max(var(--swhw-nav-padding), var(--swhw-arrow-size));
	padding-inline: var(--swhw-nav-gutter);
}

.swhw-carousel__mask {
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.swhw-carousel__track {
	display: flex;
	align-items: stretch;
	gap: var(--swhw-gap);
	width: 100%;
	transform: translate3d(0, 0, 0);
	transition-property: transform;
	transition-duration: 320ms;
	transition-timing-function: ease;
	will-change: transform;
}

.swhw-carousel__arrow {
	position: absolute;
	top: 42%;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--swhw-arrow-size);
	height: var(--swhw-arrow-size);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--e-global-color-primary, #171717);
	box-shadow: 0 8px 24px rgba(20, 20, 20, 0.12);
	cursor: pointer;
	transform: translateY(-50%);
	transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.swhw-carousel__arrow:hover,
.swhw-carousel__arrow:focus-visible {
	transform: translateY(-50%) scale(1.04);
}

.swhw-carousel__arrow:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.swhw-carousel__arrow:disabled {
	opacity: 0;
	pointer-events: none;
}

.swhw-carousel__arrow svg {
	width: 24px;
	height: 24px;
}

.swhw-carousel__arrow--prev {
	left: calc((var(--swhw-nav-gutter, var(--swhw-arrow-size)) - var(--swhw-arrow-size)) / 2);
}

.swhw-carousel__arrow--next {
	right: calc((var(--swhw-nav-gutter, var(--swhw-arrow-size)) - var(--swhw-arrow-size)) / 2);
}

.swhw-carousel__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 12px;
	margin-top: 22px;
}

.swhw-carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c9ccca;
	cursor: pointer;
	transition: width 180ms ease, background-color 180ms ease;
}

.swhw-carousel__dot.is-active {
	width: 24px;
	border-radius: 999px;
	background: var(--e-global-color-primary, #171717);
}

.swhw-carousel__dot:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.swhw-editor-empty {
	padding: 20px;
	border: 1px dashed #9ca3af;
	background: #f8fafc;
	color: #475569;
	font-size: 14px;
	text-align: center;
}

/* Product tabs carousel */
.swhw-products__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	margin-bottom: 36px;
}

.swhw-products__bar--query {
	justify-content: flex-end;
}

.swhw-products__tabs {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: calc(100% - 130px);
	padding: 8px;
	overflow-x: auto;
	border-radius: 999px;
	background: #f2f3f2;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.swhw-products__tabs::-webkit-scrollbar {
	display: none;
}

.swhw-products__tab {
	flex: 0 0 auto;
	min-height: 42px;
	padding: 10px 20px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease;
}

.swhw-products__tab.is-active {
	background: var(--e-global-color-primary, #1f2937);
	color: #fff;
}

.swhw-products__tab:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.swhw-products__all {
	flex: 0 0 auto;
	color: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: underline;
	text-underline-offset: 4px;
	white-space: nowrap;
}

.swhw-product-card {
	display: flex;
	flex: 0 0 calc((100% - (var(--swhw-cols) - 1) * var(--swhw-gap)) / var(--swhw-cols));
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	background: transparent;
	color: inherit;
}

.swhw-product-card__image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 0;
	background: transparent;
	text-decoration: none;
}

.swhw-product-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	transition: transform 260ms ease;
}

.swhw-product-card__image:hover img {
	transform: scale(1.03);
}

.swhw-product-card__badges {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.swhw-product-card__badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 5px 10px;
	border-radius: 999px;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.swhw-product-card__badge--sale {
	background: #c81e3a;
}

.swhw-product-card__badge--best {
	background: #39745a;
}

.swhw-product-card__body {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	flex-direction: column;
	padding-top: 16px;
}

.swhw-products--equal-height .swhw-product-card__body {
	height: auto;
}

.swhw-product-card__title {
	margin: 0 0 10px;
	color: inherit;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.swhw-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.swhw-product-card__rating {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0 0 10px;
}

.swhw-product-card__rating .star-rating {
	float: none;
	margin: 0;
}

.swhw-rating-placeholder__label {
	color: var(--e-global-color-text, #5d6461);
	font-size: 0.75em;
	font-weight: 600;
	line-height: 1.2;
}

.swhw-product-card__meta,
.swhw-product-card__description {
	margin: 0 0 12px;
	color: var(--e-global-color-text, #5d6461);
	font-size: 14px;
	line-height: 1.5;
}

.swhw-product-card__price {
	margin: 0 0 14px;
	color: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
}

.swhw-product-card__price ins {
	background: transparent;
	color: #d4202f;
	text-decoration: none;
}

.swhw-product-card__price del {
	margin-inline-start: 6px;
	color: #8a918d;
	opacity: 1;
}

.swhw-product-card__price--regular {
	color: #272626;
}

.swhw-product-card .swhw-product-card__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	min-height: 48px;
	padding: 12px 20px;
	border: 0;
	border-radius: 8px;
	background: var(--e-global-color-primary, #1f2937);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

/* WooCommerce themes often declare `a.button` after plugin styles. The card
 * button must remain flex so its text and arrow share one vertical center. */
.swhw-product-card a.swhw-product-card__button {
	display: flex !important;
}

.swhw-product-card__button:hover,
.swhw-product-card__button:focus-visible {
	color: #fff;
	filter: brightness(0.92);
	transform: translateY(-1px);
}

.swhw-product-card__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.swhw-product-card__button svg {
	display: block;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	align-self: center;
	transform: translateY(0);
}

/* Product review carousel */
.swhw-review-summary {
	display: inline-grid;
	max-width: 100%;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 6px 16px;
	margin: 0 0 24px;
	padding: 20px;
	border: 1px solid #dce5e1;
	border-radius: 10px;
	background: #e6f2e8;
	font-family: Poppins, "Trebuchet MS", sans-serif;
}

.swhw-review-summary__score {
	grid-row: 1 / span 2;
	color: #334155;
	font-family: Bantayog-Regular, "Trebuchet MS", sans-serif;
	font-size: clamp(44px, 6vw, 58px);
	font-weight: 600;
	line-height: 1;
}

.swhw-review-summary__meta {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.swhw-review-summary .star-rating {
	float: none;
	margin: 0;
	color: #018b5a;
}

.swhw-review-summary__count {
	color: #272626;
	font-size: 14px;
	line-height: 1.35;
}

.swhw-review-summary__button {
	display: inline-flex;
	min-height: 46px;
	grid-column: 1 / -1;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	padding: 11px 24px;
	border: 1px solid #018b5a;
	border-radius: 3px;
	background: #018b5a;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.swhw-review-summary__button:hover,
.swhw-review-summary__button:focus-visible {
	background: #fff;
	color: #018b5a;
	text-decoration: none;
}

.swhw-review-summary__button:focus-visible {
	outline: 2px solid #334155;
	outline-offset: 3px;
}

.swhw-product-reviews #review_form_wrapper {
	margin-top: 32px;
}

.swhw-product-reviews #review_form_wrapper,
.swhw-product-reviews #review_form {
	scroll-margin-top: 96px;
}

.swhw-product-reviews {
	scroll-margin-top: 96px;
}

.swhw-review-card {
	display: flex;
	flex: 0 0 calc((100% - (var(--swhw-cols) - 1) * var(--swhw-gap)) / var(--swhw-cols));
	min-width: 0;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border: 1px solid var(--swhw-review-card-border, #e7e9e8);
	border-radius: 8px;
	background: var(--swhw-review-card-bg, #fff);
	color: inherit;
}

.swhw-reviews--equal-height .swhw-carousel__track {
	align-items: stretch;
}

.swhw-reviews--equal-height .swhw-review-card {
	height: auto;
	align-self: stretch;
}

.swhw-reviews:not(.swhw-reviews--equal-height) .swhw-carousel__track {
	align-items: flex-start;
}

.swhw-reviews:not(.swhw-reviews--equal-height) .swhw-review-card {
	height: auto;
	align-self: flex-start;
}

.swhw-review-card__stars {
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 18px;
	line-height: 1;
	letter-spacing: 0;
}

.swhw-review-card__star--filled {
	color: var(--swhw-review-star, #c38c22);
}

.swhw-review-card__star--empty {
	color: var(--swhw-review-star-empty, #d7dad8);
}

.swhw-review-card__text {
	margin: 0;
	color: var(--swhw-review-text, var(--e-global-color-text, #4b5350));
	font-size: 14px;
	line-height: 1.55;
}

.swhw-review-card__product {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 0;
}

.swhw-review-card__product p {
	margin: 0;
	color: var(--e-global-color-text, #5d6461);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.swhw-review-card__product-label {
	margin-inline-end: 4px;
}

.swhw-review-card__product a {
	color: var(--e-global-color-primary, #1f2937);
	text-decoration: none;
}

.swhw-review-card__product a:hover,
.swhw-review-card__product a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.swhw-review-card__product-image {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 4px;
	background: transparent;
}

.swhw-review-card__product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.swhw-review-card__footer {
	display: flex;
	align-items: center;
	gap: 10px;
}

.swhw-review-card__avatar {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.swhw-review-card__reviewer {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}

.swhw-review-card__reviewer-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.swhw-review-card__author {
	color: var(--swhw-reviewer-color, inherit);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: capitalize;
}

.swhw-review-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
	font-family: Poppins, "Trebuchet MS", sans-serif;
}

.swhw-review-pagination__summary {
	color: #334155;
	font-size: 13px;
}

.swhw-review-pagination__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

.swhw-review-pagination .page-numbers {
	display: inline-flex;
	min-width: 36px;
	min-height: 36px;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border: 1px solid #dce5e1;
	border-radius: 8px;
	background: #fff;
	color: #334155;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.swhw-review-pagination a.page-numbers:hover,
.swhw-review-pagination a.page-numbers:focus-visible,
.swhw-review-pagination .page-numbers.current {
	border-color: #018b5a;
	background: #018b5a;
	color: #fff;
}

@media (max-width: 767px) {
	.swhw-review-pagination {
		align-items: flex-start;
		flex-direction: column;
	}
	.swhw-review-pagination__links {
		justify-content: flex-start;
	}
}

.swhw-review-card__verified {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 22px;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--swhw-review-verified-bg, #edf5ef);
	color: var(--swhw-review-verified-text, #39745a);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.swhw-review-card__verified svg {
	width: 12px;
	height: 12px;
}

.swhw-review-card__date {
	color: var(--swhw-review-meta, #737a77);
	font-size: 12px;
	line-height: 1.25;
}

/* Masonry review wall */
.swhw-reviews--masonry {
	--swhw-wall-cols: var(--swhw-wall-cols-desktop, 3);
}

.swhw-reviews--masonry .swhw-carousel__mask {
	overflow: visible;
}

.swhw-reviews--masonry .swhw-carousel__panel--has-arrows {
	padding-inline: 0;
}

.swhw-reviews--masonry .swhw-review-wall {
	display: block;
	width: 100%;
	column-count: var(--swhw-wall-cols);
	column-gap: var(--swhw-gap);
	transform: none !important;
	transition: none;
	will-change: auto;
}

.swhw-reviews--masonry .swhw-review-card {
	display: inline-flex;
	width: 100%;
	margin: 0 0 var(--swhw-gap);
	break-inside: avoid;
	page-break-inside: avoid;
}

.swhw-reviews--masonry .swhw-carousel__arrow,
.swhw-reviews--masonry .swhw-carousel__dots {
	display: none;
}

/* Review ticket ticker */
.swhw-review-ticker {
	--swhw-ticker-gap: var(--swhw-gap-desktop, 20px);
	display: flex;
	width: 100%;
	flex-direction: column;
	gap: var(--swhw-ticker-gap);
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.swhw-review-ticker__row {
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.swhw-review-ticker__track {
	display: flex;
	width: max-content;
	min-width: 100%;
	animation: swhw-review-ticker-left var(--swhw-ticker-duration, 45s) linear infinite;
	will-change: transform;
}

.swhw-review-ticker__row.is-reverse .swhw-review-ticker__track {
	animation-name: swhw-review-ticker-right;
}

/* Web Animations supplies a compositor-only motion path when site-wide
 * reduced-motion CSS collapses animation durations in Chromium browsers. */
.swhw-review-ticker--js-motion .swhw-review-ticker__track {
	animation: none !important;
}

.swhw-review-ticker--pause:hover .swhw-review-ticker__track,
.swhw-review-ticker--pause:focus-within .swhw-review-ticker__track {
	animation-play-state: paused;
}

.swhw-review-ticker__group {
	display: flex;
	flex: 0 0 auto;
	align-items: stretch;
	gap: var(--swhw-ticker-gap);
	padding-inline-end: var(--swhw-ticker-gap);
}

.swhw-review-card--ticket {
	display: flex;
	width: clamp(300px, 36vw, 520px);
	min-height: 142px;
	flex: 0 0 auto;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	padding: 20px;
	border-color: #dce5e1;
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(1, 139, 90, 0.07);
}

.swhw-review-card--ticket .swhw-review-card__avatar {
	width: 48px;
	height: 48px;
	border-radius: 10px;
}

.swhw-review-card__ticket-content {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
}

.swhw-review-card__ticket-heading {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.swhw-review-card--ticket .swhw-review-card__stars {
	font-size: 14px;
}

.swhw-review-card--ticket .swhw-review-card__text {
	display: -webkit-box;
	overflow: hidden;
	color: #334155;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.swhw-review-card__ticket-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin-top: auto;
}

.swhw-review-card__ticket-product {
	max-width: 210px;
	overflow: hidden;
	color: #018b5a;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.swhw-review-card__ticket-product:hover,
.swhw-review-card__ticket-product:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

@keyframes swhw-review-ticker-left {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@keyframes swhw-review-ticker-right {
	from {
		transform: translate3d(-50%, 0, 0);
	}
	to {
		transform: translate3d(0, 0, 0);
	}
}

@media (max-width: 1024px) {
	.swhw-carousel {
		--swhw-cols: var(--swhw-cols-tablet, 2);
		--swhw-gap: var(--swhw-gap-tablet, var(--swhw-gap-desktop, 24px));
	}

	.swhw-reviews--masonry {
		--swhw-wall-cols: var(--swhw-wall-cols-tablet, 2);
	}

	.swhw-review-card--ticket {
		width: clamp(300px, 58vw, 480px);
	}
}

@media (max-width: 767px) {
	.swhw-carousel {
		--swhw-cols: var(--swhw-cols-mobile, 1);
		--swhw-gap: var(--swhw-gap-mobile, 16px);
		--swhw-arrow-size: 40px;
		--swhw-nav-padding: 48px;
	}

	.swhw-products__bar {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
		margin-bottom: 26px;
	}

	.swhw-products__tabs {
		max-width: 100%;
	}

	.swhw-products__all {
		align-self: flex-end;
	}

	.swhw-reviews--masonry {
		--swhw-wall-cols: var(--swhw-wall-cols-mobile, 1);
	}

	.swhw-reviews--masonry[data-swhw-mobile-carousel="1"] .swhw-carousel__mask {
		overflow: hidden;
	}

	.swhw-reviews--masonry[data-swhw-mobile-carousel="1"] .swhw-carousel__panel--has-arrows {
		--swhw-nav-gutter: max(var(--swhw-nav-padding), var(--swhw-arrow-size));
		padding-inline: var(--swhw-nav-gutter);
	}

	.swhw-reviews--masonry[data-swhw-mobile-carousel="1"] .swhw-review-wall {
		display: flex;
		align-items: stretch;
		column-count: auto;
		column-gap: 0;
		gap: var(--swhw-gap);
		transition-property: transform;
		transition-duration: 320ms;
		transition-timing-function: ease;
		will-change: transform;
	}

	.swhw-reviews--masonry[data-swhw-mobile-carousel="1"] .swhw-review-card {
		flex: 0 0 calc((100% - (var(--swhw-cols) - 1) * var(--swhw-gap)) / var(--swhw-cols));
		width: auto;
		margin: 0;
	}

	.swhw-reviews--masonry[data-swhw-mobile-carousel="1"] .swhw-carousel__arrow {
		display: inline-flex;
	}

	.swhw-reviews--masonry[data-swhw-mobile-carousel="1"] .swhw-carousel__dots {
		display: flex;
	}

	.swhw-review-ticker {
		--swhw-ticker-gap: var(--swhw-gap-mobile, 14px);
		mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
	}

	.swhw-review-card--ticket {
		width: min(86vw, 390px);
		min-height: 132px;
		padding: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swhw-carousel__track,
	.swhw-carousel__arrow,
	.swhw-carousel__dot,
	.swhw-product-card__image img,
	.swhw-product-card__button {
		transition-duration: 0.01ms !important;
	}

	/* Tickers remain functional when the visitor explicitly chose this layout.
	 * They use a slower, constant transform and expose pause-on-hover/focus. */
	.swhw-review-ticker__track {
		animation-duration: calc(var(--swhw-ticker-duration, 45s) * 1.5) !important;
	}
}
