/* GROmagic Store Widgets */

.gmsw-rating,
.gmsw-reviews,
.gmsw-trust,
.gmsw-notice,
.gmsw-features,
.gmsw-faq,
.gmsw-atc,
.gmsw-vdemo,
.gmsw-promo,
.gmsw-deal,
.gmsw-badges,
.gmsw-grid {
	--gmsw-accent: #e94793;
	--gmsw-accent-ink: #fff;
	--gmsw-ink: #1f1a1d;
	--gmsw-title: #1f1a1d;
	--gmsw-muted: #6e6269;
	--gmsw-line: #eee4e9;
	--gmsw-card: #fff;
	--gmsw-panel: #fbf5f8;
	--gmsw-radius: 14px;
	--gmsw-star: #f5b301;
	--gmsw-star-empty: #e4dde1;
	--gmsw-star-size: 18px;
	--gmsw-good: #1e7f4f;
	--gmsw-good-bg: #e3f4ea;
	--gmsw-focus: 0 0 0 3px color-mix(in srgb, var(--gmsw-accent) 35%, transparent);
	box-sizing: border-box;
	color: var(--gmsw-ink);
}

.gmsw-rating *,
.gmsw-reviews *,
.gmsw-trust *,
.gmsw-notice *,
.gmsw-deal *,
.gmsw-badges *,
.gmsw-grid * {
	box-sizing: border-box;
}

:is(.gmsw-reviews, .gmsw-trust, .gmsw-deal, .gmsw-grid, .gmsw-rating) .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.gmsw-editor-note {
	padding: 10px 14px;
	border: 1px dashed #c9b8c1;
	border-radius: 8px;
	color: #6e6269;
	font-size: 13px;
	background: #fbf7f9;
}

/* ---------- Stars ---------- */

.gmsw-stars {
	position: relative;
	display: inline-flex;
	flex: none;
	width: max-content;
	justify-self: start;
	line-height: 0;
	vertical-align: middle;
}

.gmsw-stars__base,
.gmsw-stars__fill {
	display: inline-flex;
	gap: calc(var(--gmsw-star-size) * .08);
	white-space: nowrap;
}

.gmsw-stars__fill {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
}

.gmsw-stars svg {
	width: var(--gmsw-star-size);
	height: var(--gmsw-star-size);
	flex: none;
}

.gmsw-stars__base svg { fill: var(--gmsw-star-empty); }
.gmsw-stars__fill svg { fill: var(--gmsw-star); }

/* ---------- Shared buttons + selects ---------- */

.gmsw-button,
a.gmsw-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	border: 2px solid var(--gmsw-accent);
	border-radius: 999px;
	background: var(--gmsw-accent);
	color: var(--gmsw-accent-ink);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}

.gmsw-button:hover,
a.gmsw-button:hover {
	background: color-mix(in srgb, var(--gmsw-accent) 88%, #000);
	border-color: color-mix(in srgb, var(--gmsw-accent) 88%, #000);
	color: var(--gmsw-accent-ink);
}

.gmsw-button:focus-visible,
.gmsw-select select:focus-visible,
.gmsw-page:focus-visible,
.gmsw-bar:focus-visible,
.gmsw-filters-btn:focus-visible,
.gmsw-helpful:focus-visible,
.gmsw-filter-chip:focus-visible {
	outline: none;
	box-shadow: var(--gmsw-focus);
}

.gmsw-button--ghost,
a.gmsw-button--ghost {
	background: transparent;
	color: var(--gmsw-accent);
}

.gmsw-button--ghost:hover,
a.gmsw-button--ghost:hover {
	background: color-mix(in srgb, var(--gmsw-accent) 8%, transparent);
	color: var(--gmsw-accent);
}

.gmsw-button:disabled {
	opacity: .6;
	cursor: default;
}

.gmsw-button--done:disabled {
	opacity: 1;
	background: var(--gmsw-good-bg);
	border-color: var(--gmsw-good-bg);
	color: var(--gmsw-good);
}

.gmsw-button .gmsw-icon {
	width: 18px;
	height: 18px;
}

.gmsw-select {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.gmsw-select select {
	appearance: none;
	-webkit-appearance: none;
	min-height: 42px;
	margin: 0;
	padding: 8px 38px 8px 14px;
	border: 1px solid var(--gmsw-line);
	border-radius: 999px;
	background: var(--gmsw-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236e6269' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
	color: var(--gmsw-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

/* ---------- Pagination ---------- */

.gmsw-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gmsw-pagination li { margin: 0; }

.gmsw-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--gmsw-line);
	border-radius: 999px;
	background: var(--gmsw-card);
	color: var(--gmsw-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
	transition: border-color .15s, color .15s, background-color .15s;
}

.gmsw-page svg { width: 16px; height: 16px; }
.gmsw-page:hover:not(:disabled) { border-color: var(--gmsw-accent); color: var(--gmsw-accent); }
.gmsw-page.is-current,
.gmsw-page.is-current:hover { background: var(--gmsw-accent); border-color: var(--gmsw-accent); color: var(--gmsw-accent-ink); cursor: default; }
.gmsw-page:disabled:not(.is-current) { opacity: .4; cursor: default; }
.gmsw-page-gap { color: var(--gmsw-muted); padding: 0 2px; }

@media (max-width: 480px) {
	.gmsw-page__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.gmsw-page--nav { padding: 0; }
	.gmsw-page { min-width: 38px; height: 38px; }
}

/* ---------- Rating widget ---------- */

.gmsw-rating {
	--gmsw-star-size: 22px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 10px;
	row-gap: 4px;
	font-size: 15px;
	line-height: 1.3;
}

.gmsw-rating__avg { font-weight: 800; font-variant-numeric: tabular-nums; }

.gmsw-rating__store {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: inherit;
	gap: 4px 10px;
}

.gmsw-rating__store-text { font-weight: 700; }

/* On the no-reviews line, the "be the first" link sits on its own row. */
.gmsw-rating__store + .gmsw-rating__link { display: flex; flex-basis: 100%; justify-content: inherit; font-size: .92em; }

.gmsw-rating__link {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
	text-underline-offset: 3px;
	transition: color .15s, text-decoration-color .15s;
}

.gmsw-rating__link:hover,
.gmsw-rating__link:focus-visible {
	color: var(--gmsw-accent);
	text-decoration-color: currentColor;
}

/* ---------- Reviews ---------- */

.gmsw-reviews {
	--gmsw-star-size: 18px;
	display: grid;
	gap: 20px;
	scroll-margin-top: var(--gmsw-offset, 110px);
	font-size: 15px;
	line-height: 1.55;
}

.gmsw-reviews__title {
	margin: 0;
	color: var(--gmsw-ink);
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2;
	text-wrap: balance;
}

.gmsw-reviews__title-count { color: var(--gmsw-muted); font-weight: 600; }

.gmsw-reviews__top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 16px;
}

.gmsw-reviews__top.no-summary,
.gmsw-reviews__top.no-cta { grid-template-columns: minmax(0, 1fr); }

.gmsw-reviews__summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 16px 28px;
	align-items: center;
	padding: 22px 24px;
	border-radius: var(--gmsw-radius);
	background: var(--gmsw-panel);
}

.gmsw-reviews__score { display: flex; align-items: center; gap: 14px; }

.gmsw-reviews__avg {
	font-size: 52px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
}

.gmsw-reviews__score-meta { display: grid; gap: 6px; --gmsw-star-size: 20px; }
.gmsw-reviews__based { color: var(--gmsw-muted); font-size: 14px; }

.gmsw-reviews__bars { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.gmsw-reviews__bars li { margin: 0; }

.gmsw-bar {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 40px;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 4px 6px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--gmsw-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	transition: background-color .15s;
}

.gmsw-bar:hover:not(:disabled) { background: color-mix(in srgb, var(--gmsw-accent) 8%, transparent); }
.gmsw-bar:disabled { cursor: default; opacity: .55; }
.gmsw-bar[aria-pressed="true"] { background: color-mix(in srgb, var(--gmsw-accent) 14%, transparent); }

.gmsw-bar__label { display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.gmsw-bar__label svg { width: 13px; height: 13px; fill: var(--gmsw-star); }
.gmsw-bar__track { height: 8px; border-radius: 99px; background: var(--gmsw-line); overflow: hidden; }
.gmsw-bar__fill { display: block; height: 100%; border-radius: inherit; background: var(--gmsw-star); }
.gmsw-bar__pct { color: var(--gmsw-muted); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.gmsw-reviews__cta {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 6px;
	padding: 22px 24px;
	border: 1px solid var(--gmsw-line);
	border-radius: var(--gmsw-radius);
	background: var(--gmsw-card);
}

.gmsw-reviews__cta p { margin: 0; }
.gmsw-reviews__cta-title { font-size: 17px; font-weight: 800; }
.gmsw-reviews__cta-text { color: var(--gmsw-muted); font-size: 14px; }
.gmsw-reviews__cta .gmsw-button { margin-top: 8px; }

.gmsw-reviews__form {
	padding: 24px;
	border: 1px solid var(--gmsw-line);
	border-radius: var(--gmsw-radius);
	background: var(--gmsw-card);
	box-shadow: 0 10px 30px -18px rgba(60, 20, 40, .35);
}

.gmsw-form-gate { display: flex; gap: 16px; align-items: flex-start; }
.gmsw-form-gate p { margin: 0; }
.gmsw-form-gate__icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--gmsw-panel); color: var(--gmsw-accent); }
.gmsw-form-gate__title { font-size: 17px; font-weight: 800; }
.gmsw-form-gate__text { color: var(--gmsw-muted); margin-top: 4px !important; }
.gmsw-form-gate__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.gmsw-review-form { display: grid; gap: 18px; margin: 0; }
.gmsw-review-form__title { margin: 0; font-size: 19px; font-weight: 800; }

.gmsw-starpick { margin: 0; padding: 0; border: 0; min-width: 0; }
.gmsw-starpick legend,
.gmsw-field > label { display: block; margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 700; }
.gmsw-req { color: var(--gmsw-accent); }

.gmsw-starpick__row { display: flex; align-items: center; gap: 4px; }

.gmsw-starpick__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.gmsw-starpick__star { display: inline-flex; padding: 2px; border-radius: 6px; cursor: pointer; line-height: 0; }
.gmsw-starpick__star svg { width: 34px; height: 34px; fill: var(--gmsw-star-empty); transition: fill .12s, transform .12s; }
.gmsw-starpick__star.is-on svg { fill: var(--gmsw-star); }
.gmsw-starpick__star:hover svg { transform: scale(1.08); }
.gmsw-starpick__input:focus-visible + .gmsw-starpick__star { box-shadow: var(--gmsw-focus); }
.gmsw-starpick__label { margin-left: 10px; color: var(--gmsw-muted); font-size: 14px; font-weight: 700; }

.gmsw-field { display: grid; }

.gmsw-field textarea {
	width: 100%;
	min-height: 130px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--gmsw-line);
	border-radius: 10px;
	background: #fff;
	color: var(--gmsw-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.5;
	resize: vertical;
}

.gmsw-field textarea:focus { outline: none; border-color: var(--gmsw-accent); box-shadow: var(--gmsw-focus); }
.gmsw-field.has-error textarea { border-color: #c62828; }

.gmsw-field__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 6px; color: var(--gmsw-muted); font-size: 13px; }
.gmsw-field__hint.is-ok { color: var(--gmsw-good); }

.gmsw-field-error,
.gmsw-form-error { margin: 6px 0 0; color: #c62828; font-size: 13px; font-weight: 600; }
.gmsw-form-error { margin: 0; padding: 10px 12px; border-radius: 8px; background: #fdecea; }

.gmsw-review-form__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.gmsw-reviews__notice {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 14px 18px;
	border-radius: var(--gmsw-radius);
	background: var(--gmsw-good-bg);
	color: var(--gmsw-good);
	font-weight: 700;
}

.gmsw-reviews__notice[hidden] { display: none; }

.gmsw-reviews__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--gmsw-line);
}

.gmsw-reviews__status { margin: 0 auto 0 0; color: var(--gmsw-muted); font-size: 14px; font-variant-numeric: tabular-nums; }

.gmsw-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	padding: 4px 10px 4px 14px;
	border: 0;
	border-radius: 999px;
	background: color-mix(in srgb, var(--gmsw-accent) 12%, transparent);
	color: var(--gmsw-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.gmsw-filter-chip svg { width: 14px; height: 14px; }
.gmsw-filter-chip:hover { background: color-mix(in srgb, var(--gmsw-accent) 20%, transparent); }
.gmsw-filter-chip[hidden] { display: none; }

.gmsw-reviews__list { display: grid; gap: 14px; transition: opacity .15s; }
.gmsw-reviews.is-loading .gmsw-reviews__list { opacity: .45; pointer-events: none; }

.gmsw-review {
	display: grid;
	gap: 10px;
	padding: 20px 22px;
	border: 1px solid var(--gmsw-line);
	border-radius: var(--gmsw-radius);
	background: var(--gmsw-card);
}

.gmsw-review__head { display: flex; align-items: center; gap: 12px; }

.gmsw-review__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .02em;
}

.gmsw-hue-0 { background: #fde2ee; color: #a3245f; }
.gmsw-hue-1 { background: #e3effd; color: #1f5aa6; }
.gmsw-hue-2 { background: #e3f4ea; color: #1e7045; }
.gmsw-hue-3 { background: #fdf0d9; color: #94590b; }
.gmsw-hue-4 { background: #ede6fb; color: #5a38a3; }
.gmsw-hue-5 { background: #e0f4f4; color: #1c6d6d; }

.gmsw-review__who { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-width: 0; margin-right: auto; }
.gmsw-review__name { font-weight: 800; overflow-wrap: anywhere; }

.gmsw-review__verified { display: inline-flex; align-items: center; gap: 4px; color: var(--gmsw-good); font-size: 12.5px; font-weight: 700; }
.gmsw-review__verified-icon { width: 15px; height: 15px; }

.gmsw-review__date { flex: none; color: var(--gmsw-muted); font-size: 13px; }

.gmsw-review__text { color: var(--gmsw-ink); overflow-wrap: anywhere; }
.gmsw-review__text p { margin: 0 0 .6em; }
.gmsw-review__text p:last-child { margin-bottom: 0; }
.gmsw-review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

.gmsw-review__more {
	justify-self: start;
	padding: 0;
	border: 0;
	background: none;
	color: var(--gmsw-accent);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gmsw-review__more[hidden] { display: none; }

.gmsw-review__reply {
	margin-top: 4px;
	padding: 12px 16px;
	border-left: 3px solid var(--gmsw-accent);
	border-radius: 0 10px 10px 0;
	background: var(--gmsw-panel);
	font-size: 14px;
}

.gmsw-review__reply-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 4px; color: var(--gmsw-muted); font-size: 13px; }
.gmsw-review__reply-head strong { color: var(--gmsw-ink); }
.gmsw-review__reply-text p { margin: 0; }

.gmsw-review__foot { display: flex; align-items: center; gap: 10px; margin-top: 2px; color: var(--gmsw-muted); font-size: 13px; }

.gmsw-helpful {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 4px 12px;
	border: 1px solid var(--gmsw-line);
	border-radius: 999px;
	background: var(--gmsw-card);
	color: var(--gmsw-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .15s, color .15s, background-color .15s;
}

.gmsw-helpful svg { width: 15px; height: 15px; }
.gmsw-helpful:hover:not(:disabled) { border-color: var(--gmsw-accent); color: var(--gmsw-accent); }
.gmsw-helpful[aria-pressed="true"] { border-color: var(--gmsw-good-bg); background: var(--gmsw-good-bg); color: var(--gmsw-good); cursor: default; }
.gmsw-helpful__count[hidden] { display: none; }

.gmsw-reviews__empty {
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 36px 20px;
	border: 1px dashed var(--gmsw-line);
	border-radius: var(--gmsw-radius);
	color: var(--gmsw-muted);
	text-align: center;
}

.gmsw-reviews__empty p { margin: 0; }
.gmsw-reviews__empty-icon { width: 34px; height: 34px; color: var(--gmsw-accent); }
.gmsw-reviews__pages:empty { display: none; }

@media (max-width: 900px) {
	.gmsw-reviews__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
	.gmsw-reviews__summary { grid-template-columns: minmax(0, 1fr); padding: 18px; }
	.gmsw-reviews__avg { font-size: 44px; }
	.gmsw-reviews__cta,
	.gmsw-reviews__form { padding: 18px; }
	.gmsw-reviews__cta .gmsw-button { align-self: stretch; }
	.gmsw-review { padding: 16px; }
	.gmsw-review__head { flex-wrap: wrap; }
	.gmsw-review__who { flex: 1 1 0; }
	.gmsw-review__date { width: 100%; padding-left: 54px; margin-top: -8px; }
	.gmsw-review__avatar + .gmsw-review__who + .gmsw-review__date { padding-left: 54px; }
	.gmsw-review__who:first-child + .gmsw-review__date { padding-left: 0; }
	.gmsw-reviews__toolbar .gmsw-select { width: 100%; }
	.gmsw-reviews__toolbar .gmsw-select select { width: 100%; }
	.gmsw-starpick__star svg { width: 38px; height: 38px; }
	.gmsw-review-form__actions .gmsw-button { flex: 1 1 auto; }
}

/* ---------- Trust list ---------- */

.gmsw-trust {
	--gmsw-panel: #fff8fb;
	--gmsw-line: #f6d9e7;
	--gmsw-icon-bg: #fde7f1;
	--gmsw-link: #c22f74;
	--gmsw-icon-size: 36px;
	--gmsw-radius: 16px;
	padding: 18px 20px;
	border: 1px solid var(--gmsw-line);
	border-radius: var(--gmsw-radius);
	background: var(--gmsw-panel);
	font-size: 15px;
	line-height: 1.45;
	text-align: left;
}

.gmsw-trust__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--gmsw-line);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.gmsw-trust__title-icon { width: 18px; height: 18px; color: var(--gmsw-accent); }

.gmsw-trust__list {
	--gmsw-cols: 1;
	display: grid;
	grid-template-columns: repeat(var(--gmsw-cols), minmax(0, 1fr));
	gap: 12px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gmsw-trust__item { display: flex; align-items: center; gap: 12px; margin: 0; }

.gmsw-trust__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--gmsw-icon-size);
	height: var(--gmsw-icon-size);
	border-radius: 50%;
	background: var(--gmsw-icon-bg);
	color: var(--gmsw-accent);
}

.gmsw-trust__icon .gmsw-icon { width: 55%; height: 55%; }
.gmsw-trust__text { min-width: 0; }
.gmsw-trust__text strong { font-weight: 800; }

.gmsw-trust__link {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	color: var(--gmsw-link);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.gmsw-trust__link:hover,
.gmsw-trust__link:focus-visible { color: var(--gmsw-accent); }
.gmsw-trust__link svg { width: 14px; height: 14px; }
.gmsw-trust__pdf { font-weight: 600; opacity: .75; }

.gmsw-cards { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; }
.gmsw-card-mark { width: 34px; height: 22px; }

@media (max-width: 480px) {
	.gmsw-trust { padding: 16px; font-size: 14.5px; }
	.gmsw-cards { display: flex; margin: 6px 0 0; }
}

/* ---------- Bundle deal ---------- */

.gmsw-deal {
	--gmsw-panel: #fff8fb;
	--gmsw-line: #f2d6e4;
	--gmsw-radius: 16px;
	padding: 18px;
	border: 1px solid var(--gmsw-line);
	border-radius: var(--gmsw-radius);
	background: var(--gmsw-panel);
	text-align: left;
}

.gmsw-deal__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gmsw-deal__head p { margin: 0; }

.gmsw-deal__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--gmsw-accent);
	color: var(--gmsw-accent-ink);
}

.gmsw-deal__icon .gmsw-icon { width: 22px; height: 22px; }
.gmsw-deal__title { font-size: 17px; font-weight: 800; line-height: 1.25; }
.gmsw-deal__sub { color: var(--gmsw-muted); font-size: 14px; }

.gmsw-deal__tiles {
	--gmsw-cols: 2;
	display: grid;
	grid-template-columns: repeat(var(--gmsw-cols), minmax(0, 1fr));
	gap: 12px;
}

.gmsw-deal__tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 18px 16px 16px;
	border: 1.5px solid var(--gmsw-line);
	border-radius: calc(var(--gmsw-radius) - 4px);
	background: var(--gmsw-card);
	transition: border-color .15s, box-shadow .15s, transform .15s;
}

.gmsw-deal__tile:hover { border-color: var(--gmsw-accent); box-shadow: 0 10px 24px -16px rgba(120, 20, 70, .45); }
.gmsw-deal__tile.is-best { border-color: var(--gmsw-accent); }

.gmsw-deal__badge {
	position: absolute;
	top: -11px;
	left: 14px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--gmsw-accent);
	color: var(--gmsw-accent-ink);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.4;
}

.gmsw-deal__qty { color: var(--gmsw-ink); font-size: 16px; font-weight: 800; text-decoration: none; }
.gmsw-deal__qty:hover { color: var(--gmsw-accent); }
.gmsw-deal__note { color: var(--gmsw-muted); font-size: 12.5px; }

.gmsw-deal__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 6px 0 0; }
.gmsw-deal__now { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--gmsw-ink); }
.gmsw-deal__was { color: var(--gmsw-muted); font-size: 14px; }
.gmsw-deal__unit { margin: 0; color: var(--gmsw-muted); font-size: 13.5px; font-weight: 600; }

.gmsw-deal__save {
	margin-top: 4px;
	padding: 3px 9px;
	border-radius: 6px;
	background: var(--gmsw-good-bg);
	color: var(--gmsw-good);
	font-size: 12.5px;
	font-weight: 800;
}

.gmsw-deal .gmsw-deal__btn,
.gmsw-deal a.gmsw-deal__btn.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	min-height: 42px;
	margin-top: 12px;
	padding: 8px 14px;
	border: 2px solid var(--gmsw-accent);
	border-radius: 999px;
	background: var(--gmsw-accent);
	color: var(--gmsw-accent-ink);
	font-size: 14px;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	line-height: 1.2;
}

.gmsw-deal .gmsw-deal__btn:hover { background: color-mix(in srgb, var(--gmsw-accent) 88%, #000); color: var(--gmsw-accent-ink); }
.gmsw-deal .gmsw-deal__btn.gmsw-btn--ghost { background: transparent; color: var(--gmsw-accent); }
.gmsw-deal .gmsw-deal__btn.loading { opacity: .7; }
.gmsw-deal .gmsw-deal__btn.added::after { content: " ✓"; margin-left: 4px; }
.gmsw-deal__disclaimer {
	display: flex;
	gap: 6px;
	align-items: flex-start;
	margin: 12px 2px 0;
	color: var(--gmsw-muted);
	font-size: 13px;
	line-height: 1.4;
}

.gmsw-deal__disclaimer-icon { flex: none; width: 15px; height: 15px; margin-top: 1px; }

.gmsw-deal .added_to_cart { align-self: center; margin-top: 6px; color: var(--gmsw-accent); font-size: 13px; font-weight: 700; }

@media (max-width: 400px) {
	.gmsw-deal { padding: 14px; }
	.gmsw-deal__tile { padding: 16px 12px 12px; }
	.gmsw-deal__now { font-size: 22px; }
}

/* ---------- Badges ---------- */

.gmsw-badges {
	--gmsw-badge: 150px;
	--gmsw-badge-ink: #000;
	--gmsw-badge-paper: #fff;
	--gmsw-n: 3;
	display: grid;
	grid-template-columns: repeat(var(--gmsw-n), minmax(0, 1fr));
	column-gap: 16px;
	align-items: center;
}

.gmsw-badges__item { display: flex; justify-content: center; min-width: 0; }
.gmsw-badge { display: block; width: min(var(--gmsw-badge), 100%); height: auto; aspect-ratio: 1; overflow: visible; }
.gmsw-badge .gmsw-badge__text { font-family: Montserrat, "Arial Black", Arial, sans-serif; font-weight: 900; }
.gmsw-badge .gm-fi { fill: var(--gmsw-badge-ink); }
.gmsw-badge .gm-fp { fill: var(--gmsw-badge-paper); }
.gmsw-badge .gm-si { stroke: var(--gmsw-badge-ink); }
.gmsw-badge .gm-sp { stroke: var(--gmsw-badge-paper); }
.gmsw-badge circle.gm-si:not(.gm-fp),
.gmsw-badge circle.gm-sp { fill: none; }
.gmsw-badge svg.gm-si,
.gmsw-badge svg.gm-sp { fill: none; }

/* ---------- Product grid ---------- */

.gmsw-grid {
	--gmsw-cols: 4;
	--gmsw-gap: 24px;
	--gmsw-ratio: 1 / 1;
	--gmsw-fit: contain;
	--gmsw-title-lines: 2;
	--gmsw-align: center;
	--gmsw-justify: center;
	--gmsw-star-size: 15px;
	--gmsw-price: var(--gmsw-accent);
	--gmsw-media: #fff;
	--gmsw-chip-bg: #1e7f4f;
	--gmsw-chip-ink: #fff;
	position: relative;
}

.gmsw-grid__controls { display: grid; gap: 12px; margin: 0 0 20px; }

.gmsw-grid__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gmsw-grid__bar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.gmsw-search { position: relative; flex: 1 1 260px; max-width: 420px; }

.gmsw-search input[type="search"] {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 40px 10px 42px;
	border: 1px solid var(--gmsw-line);
	border-radius: 999px;
	background: var(--gmsw-card);
	color: var(--gmsw-ink);
	font: inherit;
	font-size: 15px;
	-webkit-appearance: none;
	appearance: none;
}

.gmsw-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.gmsw-search input[type="search"]:focus { outline: none; border-color: var(--gmsw-accent); box-shadow: var(--gmsw-focus); }
.gmsw-search__icon { position: absolute; top: 50%; left: 15px; width: 18px; height: 18px; color: var(--gmsw-muted); transform: translateY(-50%); pointer-events: none; }

.gmsw-search__clear {
	position: absolute;
	top: 50%;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--gmsw-muted);
	transform: translateY(-50%);
	cursor: pointer;
}

.gmsw-search__clear svg { width: 16px; height: 16px; }
.gmsw-search__clear:hover { background: var(--gmsw-panel); color: var(--gmsw-ink); }
.gmsw-search__clear[hidden] { display: none; }

.gmsw-filters-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 16px;
	border: 1px solid var(--gmsw-line);
	border-radius: 999px;
	background: var(--gmsw-card);
	color: var(--gmsw-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .15s;
}

.gmsw-filters-btn svg { width: 18px; height: 18px; }
.gmsw-filters-btn:hover,
.gmsw-filters-btn[aria-expanded="true"] { border-color: var(--gmsw-accent); }

.gmsw-filters-btn__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--gmsw-accent);
	color: var(--gmsw-accent-ink);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.gmsw-filters-btn__n[hidden] { display: none; }

.gmsw-sort { gap: 8px; }
.gmsw-sort__label { color: var(--gmsw-muted); font-size: 14px; font-weight: 600; }

/* Filter panel: inline drawer on desktop, bottom sheet on phones. */
.gmsw-panel[hidden] { display: none; }
.gmsw-panel__backdrop { display: none; }

.gmsw-panel__sheet {
	padding: 18px 20px;
	border: 1px solid var(--gmsw-line);
	border-radius: var(--gmsw-radius);
	background: var(--gmsw-card);
	box-shadow: 0 16px 40px -28px rgba(60, 20, 40, .5);
}

.gmsw-panel__head { display: none; }
.gmsw-panel__title { margin: 0; font-size: 18px; font-weight: 800; }

.gmsw-panel__x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--gmsw-panel);
	color: var(--gmsw-ink);
	cursor: pointer;
}

.gmsw-panel__x svg { width: 18px; height: 18px; }

.gmsw-panel__groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 18px 28px;
}

.gmsw-fgroup { display: grid; align-content: start; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.gmsw-fgroup legend { margin: 0 0 8px; padding: 0; color: var(--gmsw-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.gmsw-check,
.gmsw-radio {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 32px;
	margin: 0;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
}

.gmsw-check input,
.gmsw-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.gmsw-check__box,
.gmsw-radio__dot {
	flex: none;
	width: 20px;
	height: 20px;
	border: 2px solid #cdbfc6;
	border-radius: 6px;
	background: #fff;
	transition: background-color .12s, border-color .12s;
}

.gmsw-radio__dot { border-radius: 50%; }
.gmsw-check input:checked + .gmsw-check__box { border-color: var(--gmsw-accent); background: var(--gmsw-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.gmsw-radio input:checked + .gmsw-radio__dot { border-color: var(--gmsw-accent); box-shadow: inset 0 0 0 4px #fff; background: var(--gmsw-accent); }
.gmsw-check input:focus-visible + .gmsw-check__box,
.gmsw-radio input:focus-visible + .gmsw-radio__dot { box-shadow: var(--gmsw-focus); }
.gmsw-radio .gmsw-stars { --gmsw-star-size: 15px; }

.gmsw-price { display: flex; align-items: center; gap: 8px; }
.gmsw-price label { position: relative; flex: 1 1 0; min-width: 0; margin: 0; }
.gmsw-price__cur { position: absolute; top: 50%; left: 12px; color: var(--gmsw-muted); font-size: 14px; transform: translateY(-50%); pointer-events: none; }

.gmsw-price input {
	width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 8px 10px 8px 26px;
	border: 1px solid var(--gmsw-line);
	border-radius: 10px;
	background: #fff;
	color: var(--gmsw-ink);
	font: inherit;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
}

.gmsw-price input::-webkit-outer-spin-button,
.gmsw-price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gmsw-price input:focus { outline: none; border-color: var(--gmsw-accent); box-shadow: var(--gmsw-focus); }
.gmsw-price__to { color: var(--gmsw-muted); }

.gmsw-panel__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gmsw-line); }
.gmsw-panel__done { display: none; }

.gmsw-grid__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.gmsw-grid__meta:has(.gmsw-grid__count[hidden]):has(.gmsw-grid__active[hidden]) { display: none; }
.gmsw-grid__count { margin: 0; color: var(--gmsw-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.gmsw-grid__count[hidden] { display: none; }
.gmsw-grid__active { display: flex; flex-wrap: wrap; gap: 8px; }
.gmsw-grid__active[hidden] { display: none; }

.gmsw-clear-link {
	padding: 0 4px;
	border: 0;
	background: none;
	color: var(--gmsw-accent);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.gmsw-grid__items {
	display: grid;
	grid-template-columns: repeat(var(--gmsw-cols), minmax(0, 1fr));
	gap: var(--gmsw-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	transition: opacity .15s;
}

.gmsw-grid__items[hidden] { display: none; }

.gmsw-grid.is-loading .gmsw-grid__items { opacity: .45; pointer-events: none; }

.gmsw-grid.is-loading::after {
	content: "";
	position: absolute;
	top: 120px;
	left: 50%;
	width: 34px;
	height: 34px;
	margin-left: -17px;
	border: 3px solid color-mix(in srgb, var(--gmsw-accent) 25%, transparent);
	border-top-color: var(--gmsw-accent);
	border-radius: 50%;
	animation: gmsw-spin .7s linear infinite;
}

@keyframes gmsw-spin { to { transform: rotate(360deg); } }

.gmsw-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	border-radius: var(--gmsw-radius);
	background: var(--gmsw-card);
	text-align: var(--gmsw-align);
	overflow: hidden;
	transition: box-shadow .2s, transform .2s, border-color .2s;
}

.gmsw-cards-framed-yes .gmsw-card { border: 1px solid var(--gmsw-line); }
.gmsw-cards-framed-yes .gmsw-card:hover { border-color: color-mix(in srgb, var(--gmsw-accent) 40%, var(--gmsw-line)); box-shadow: 0 14px 32px -22px rgba(60, 20, 40, .55); transform: translateY(-2px); }

.gmsw-card__media { position: relative; aspect-ratio: var(--gmsw-ratio); background: var(--gmsw-media); }
.gmsw-card__imglink { display: block; width: 100%; height: 100%; }

.gmsw-card__img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: var(--gmsw-fit);
	transition: opacity .25s;
}

.gmsw-card__img--hover { position: absolute; inset: 0; opacity: 0; }
.gmsw-card:hover .gmsw-card__img--hover { opacity: 1; }

.gmsw-chip {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--gmsw-chip-bg);
	color: var(--gmsw-chip-ink);
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .01em;
	box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .35);
}

.gmsw-chip--muted { background: #4a4247; color: #fff; }
.gmsw-chip + .gmsw-chip--muted { top: 42px; }

.gmsw-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: var(--gmsw-justify);
	gap: 8px;
	padding: 14px 14px 16px;
}

.gmsw-card__title {
	display: -webkit-box;
	min-height: calc(1.3em * var(--gmsw-title-lines));
	margin: 0;
	overflow: hidden;
	color: var(--gmsw-title);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	-webkit-line-clamp: var(--gmsw-title-lines);
	-webkit-box-orient: vertical;
	text-align: var(--gmsw-align);
	width: 100%;
}

.gmsw-card__title a { color: inherit; text-decoration: none; }
.gmsw-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.gmsw-card__title a:hover { color: var(--gmsw-accent); }
.gmsw-card__title a:focus-visible { outline: 2px solid var(--gmsw-accent); outline-offset: 2px; }

.gmsw-card__rating {
	display: flex;
	align-items: center;
	justify-content: var(--gmsw-justify);
	gap: 6px;
	min-height: calc(var(--gmsw-star-size) + 4px);
	width: 100%;
	color: var(--gmsw-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.gmsw-card__norev {
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--gmsw-panel);
	color: var(--gmsw-muted);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.gmsw-card__price {
	display: flex;
	flex-direction: column;
	align-items: var(--gmsw-justify);
	gap: 2px;
	width: 100%;
	color: var(--gmsw-price);
}

.gmsw-card__amount { font-size: 19px; font-weight: 800; line-height: 1.2; }
.gmsw-card__amount del { color: var(--gmsw-muted); font-size: .8em; font-weight: 600; }
.gmsw-card__amount ins { text-decoration: none; }
.gmsw-card__unit { color: var(--gmsw-good, #1e7f4f); font-size: 13px; font-weight: 700; }

.gmsw-card__actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 100%; margin-top: auto; padding-top: 4px; }

.gmsw-card .gmsw-btn,
.gmsw-card a.gmsw-btn.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 8px 14px;
	border: 2px solid var(--gmsw-accent);
	border-radius: 999px;
	background: var(--gmsw-accent);
	color: var(--gmsw-accent-ink);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s, color .15s;
}

.gmsw-card .gmsw-btn:hover { background: color-mix(in srgb, var(--gmsw-accent) 88%, #000); color: var(--gmsw-accent-ink); }
.gmsw-card .gmsw-btn:not(.ajax_add_to_cart) { background: transparent; color: var(--gmsw-accent); }
.gmsw-card .gmsw-btn:not(.ajax_add_to_cart):hover { background: color-mix(in srgb, var(--gmsw-accent) 8%, transparent); }
.gmsw-card .gmsw-btn.loading { opacity: .7; }
.gmsw-card .gmsw-btn.added::after { content: " ✓"; margin-left: 4px; }
.gmsw-card .added_to_cart { color: var(--gmsw-accent); font-size: 13px; font-weight: 700; text-align: center; }

.gmsw-card.is-oos .gmsw-card__img { opacity: .55; }

.gmsw-grid__empty {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 48px 20px;
	border: 1px dashed var(--gmsw-line);
	border-radius: var(--gmsw-radius);
	color: var(--gmsw-muted);
	text-align: center;
}

.gmsw-grid__empty[hidden] { display: none; }
.gmsw-grid__empty p { margin: 0; }
.gmsw-grid__empty-title { color: var(--gmsw-ink); font-size: 17px; font-weight: 800; }
.gmsw-grid__empty-icon { width: 38px; height: 38px; color: var(--gmsw-accent); }
.gmsw-grid__empty .gmsw-button { margin-top: 10px; }

.gmsw-grid__pages { margin-top: 28px; }
.gmsw-grid__pages:empty { display: none; }

.gmsw-more { display: flex; justify-content: center; }

.gmsw-auto {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 64px;
}

.gmsw-spinner {
	display: block;
	width: 34px;
	height: 34px;
	border: 3px solid color-mix(in srgb, var(--gmsw-accent) 25%, transparent);
	border-top-color: var(--gmsw-accent);
	border-radius: 50%;
	opacity: 0;
	transition: opacity .15s;
}

.gmsw-grid.is-appending .gmsw-spinner { opacity: 1; animation: gmsw-spin .7s linear infinite; }
.gmsw-auto .gmsw-more__btn:not([hidden]) ~ .gmsw-spinner,
.gmsw-auto:has(.gmsw-more__btn:not([hidden])) .gmsw-spinner { display: none; }

.gmsw-end { margin: 0; color: var(--gmsw-muted); font-size: 14px; text-align: center; }

.gmsw-deal__section + .gmsw-deal__section {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px dashed var(--gmsw-line);
}

.gmsw-more__btn {
	min-height: 46px;
	padding: 10px 28px;
	border: 2px solid var(--gmsw-accent);
	border-radius: 999px;
	background: transparent;
	color: var(--gmsw-accent);
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}

.gmsw-more__btn:hover { background: color-mix(in srgb, var(--gmsw-accent) 8%, transparent); }
.gmsw-more__btn:focus-visible { outline: none; box-shadow: var(--gmsw-focus); }

@media (max-width: 767px) {
	.gmsw-grid__bar { gap: 8px; }
	.gmsw-search { flex: 1 1 100%; max-width: none; }
	.gmsw-grid__bar-right { width: 100%; margin-left: 0; }
	.gmsw-grid__bar-right > * { flex: 1 1 0; }
	.gmsw-filters-btn { justify-content: center; }
	.gmsw-sort select { width: 100%; }
	.gmsw-sort__label { display: none; }

	.gmsw-panel:not([hidden]) { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; justify-content: flex-end; }
	.gmsw-panel__backdrop { display: block; position: absolute; inset: 0; background: rgba(20, 10, 16, .45); }
	.gmsw-panel__sheet { position: relative; display: flex; flex-direction: column; max-height: 85vh; padding: 0; border: 0; border-radius: 20px 20px 0 0; animation: gmsw-up .22s ease-out; }
	.gmsw-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px 20px; border-bottom: 1px solid var(--gmsw-line); }
	.gmsw-panel__groups { grid-template-columns: minmax(0, 1fr); padding: 18px 20px; overflow-y: auto; overscroll-behavior: contain; }
	.gmsw-panel__foot { margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
	.gmsw-panel__foot .gmsw-button { flex: 1 1 0; }
	.gmsw-panel__done { display: inline-flex; }

	.gmsw-card__body { padding: 10px 10px 12px; gap: 6px; }
	.gmsw-card__title { font-size: 14.5px; }
	.gmsw-card__amount { font-size: 17px; }
	.gmsw-card__rating { flex-wrap: wrap; row-gap: 2px; }
	.gmsw-chip { top: 8px; left: 8px; padding: 4px 8px; font-size: 11.5px; }
	.gmsw-card .gmsw-btn { min-height: 40px; padding: 6px 8px; font-size: 13px; }
}

@keyframes gmsw-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

html.gmsw-lock,
html.gmsw-lock body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.gmsw-card,
	.gmsw-card__img,
	.gmsw-panel__sheet,
	.gmsw-grid.is-loading::after,
	.gmsw-grid.is-appending .gmsw-spinner { transition: none; animation: none; }
	.gmsw-cards-framed-yes .gmsw-card:hover { transform: none; }
}

/* ---------- Cart & checkout notice ---------- */

.gmsw-notice {
	--gmsw-panel: #fff8fb;
	--gmsw-line: #f6d9e7;
	--gmsw-icon-bg: #fde7f1;
	padding: 16px 18px;
	border: 1px solid var(--gmsw-line);
	border-radius: 14px;
	background: var(--gmsw-panel);
	font-size: 14.5px;
	line-height: 1.45;
	text-align: left;
}

.gmsw-notice__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.gmsw-notice__title-icon { width: 17px; height: 17px; color: var(--gmsw-accent); }
.gmsw-notice__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gmsw-notice__item { display: flex; align-items: flex-start; gap: 12px; margin: 0; }

.gmsw-notice__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--gmsw-icon-bg);
	color: var(--gmsw-accent);
}

.gmsw-notice__icon .gmsw-icon { width: 17px; height: 17px; }
.gmsw-notice__text { min-width: 0; padding-top: 6px; }
.gmsw-notice .gmsw-cards { display: flex; margin: 6px 0 0; }

.gmsw-notice__warn {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fdecea;
	color: #b3261e;
	font-weight: 700;
}

.gmsw-notice__warn[hidden] { display: none; }

/* ---------- Icon features ---------- */

.gmsw-features {
	--gmsw-cols: 3;
	--gmsw-feat-size: 64px;
	--gmsw-feat-ink: #000;
	--gmsw-feat-paper: #fff;
	--gmsw-feat-title: #000;
	--gmsw-feat-text: #3a3236;
	--gmsw-feat-align: center;
	display: grid;
	grid-template-columns: repeat(var(--gmsw-cols), minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gmsw-feature { display: flex; flex-direction: column; align-items: var(--gmsw-feat-align); gap: 10px; margin: 0; text-align: var(--gmsw-feat-align); min-width: 0; }
.gmsw-features--inline .gmsw-feature { flex-direction: row; align-items: center; text-align: left; gap: 18px; }
.gmsw-features--inline .gmsw-feature__body { align-items: flex-start; }
.gmsw-feature__icon { flex: none; width: var(--gmsw-feat-size); height: var(--gmsw-feat-size); }
.gmsw-feature__icon .gm-fi { fill: var(--gmsw-feat-ink); }
.gmsw-feature__icon .gm-sp { stroke: var(--gmsw-feat-paper); fill: none; }
.gmsw-feature__icon .gm-si { stroke: var(--gmsw-feat-ink); fill: none; }
.gmsw-feature__body { display: flex; flex-direction: column; align-items: inherit; gap: 2px; min-width: 0; }
.gmsw-feature__title { color: var(--gmsw-feat-title); font-size: 16px; font-weight: 800; line-height: 1.25; letter-spacing: .01em; }
.gmsw-feature__text { color: var(--gmsw-feat-text); font-size: 14px; line-height: 1.4; }

@media (max-width: 480px) {
	.gmsw-feature__title { font-size: 13.5px; }
	.gmsw-feature__text { font-size: 12.5px; }
}

/* ---------- FAQ ---------- */

.gmsw-faq { --gmsw-open-line: #f6d9e7; --gmsw-muted: #3a3236; display: grid; gap: 14px; }
.gmsw-faq__title { margin: 0; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; text-wrap: balance; }
.gmsw-faq__intro { margin: 0; color: var(--gmsw-muted); }
.gmsw-faq__list { display: grid; gap: 10px; }

.gmsw-faq__item {
	border: 1px solid var(--gmsw-line);
	border-radius: 10px;
	background: var(--gmsw-card);
	transition: background-color .15s, border-color .15s;
}

.gmsw-faq__item[open] { border-color: var(--gmsw-open-line); background: var(--gmsw-panel); }

.gmsw-faq__q {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	color: var(--gmsw-ink);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
}

.gmsw-faq__q::-webkit-details-marker { display: none; }
.gmsw-faq__q::marker { content: ""; }
.gmsw-faq__q:focus-visible { outline: none; box-shadow: var(--gmsw-focus); border-radius: 10px; }
.gmsw-faq__qtext { flex: 1; min-width: 0; }

.gmsw-faq__chev {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--gmsw-accent) 12%, transparent);
	color: var(--gmsw-accent);
	transition: transform .2s;
}

.gmsw-faq__chev svg { width: 13px; height: 13px; }
.gmsw-faq__item[open] .gmsw-faq__chev { transform: rotate(90deg); }
.gmsw-faq__pm { flex: none; display: inline-flex; color: var(--gmsw-accent); }
.gmsw-faq__pm svg { width: 18px; height: 18px; }
.gmsw-faq__item[open] .gmsw-faq__v { display: none; }

.gmsw-faq__a { padding: 0 18px 16px 50px; color: var(--gmsw-muted); font-size: 15px; line-height: 1.6; }
.gmsw-faq__a p { margin: 0 0 .6em; }
.gmsw-faq__a p:last-child { margin-bottom: 0; }
.gmsw-faq__a a { color: var(--gmsw-accent); }

@media (max-width: 480px) {
	.gmsw-faq__a { padding-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.gmsw-faq__chev { transition: none; }
}

/* ---------- Add to cart + price button ---------- */

.gmsw-atc { --gmsw-accent-hover: #c22f74; display: flex; flex-direction: column; align-items: center; gap: 8px; }

.gmsw-atc .gmsw-atc__btn,
.gmsw-atc a.gmsw-atc__btn.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin: 0;
	padding: 12px 32px;
	border: 0;
	border-radius: 999px;
	background: var(--gmsw-accent);
	color: var(--gmsw-accent-ink);
	font-size: 17px;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .15s, transform .15s;
}

.gmsw-atc a.gmsw-atc__btn:hover,
.gmsw-atc a.gmsw-atc__btn:focus-visible { background: var(--gmsw-accent-hover); color: var(--gmsw-accent-ink); }
.gmsw-atc a.gmsw-atc__btn:focus-visible { outline: none; box-shadow: var(--gmsw-focus); }
.gmsw-atc .gmsw-atc__btn.loading { opacity: .75; }
.gmsw-atc .gmsw-atc__btn.added::after { content: " ✓"; margin-left: 6px; }
.gmsw-atc .gmsw-atc__btn.is-disabled { background: #d9d0d4; color: #6e6269; cursor: not-allowed; }
.gmsw-atc .added_to_cart { color: var(--gmsw-accent); font-size: 14px; font-weight: 700; }
.gmsw-atc__note { margin: 0; color: var(--gmsw-muted); font-size: 13px; }

/* ---------- Video demo ---------- */

.gmsw-vdemo {
	--gmsw-panel: #fff8fb;
	--gmsw-line: #f6d9e7;
	--gmsw-vbtn: #000;
	--gmsw-vbtn-ink: #fff;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: center;
	gap: 32px;
	padding: 28px;
	border: 1px solid var(--gmsw-line);
	border-radius: 16px;
	background: var(--gmsw-panel);
}

.gmsw-vdemo--img-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.gmsw-vdemo--img-left .gmsw-vdemo__media { order: -1; }
.gmsw-vdemo__copy { display: grid; gap: 14px; justify-items: start; }
.gmsw-vdemo__title { margin: 0; color: var(--gmsw-ink); font-size: clamp(23px, 2.6vw, 28px); font-weight: 800; line-height: 1.2; text-wrap: balance; }
.gmsw-vdemo__text { margin: 0; color: var(--gmsw-ink); font-size: 17px; line-height: 1.55; }

.gmsw-vdemo__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 50px;
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--gmsw-vbtn);
	color: var(--gmsw-vbtn-ink);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .15s, transform .15s;
}

.gmsw-vdemo__btn:hover { opacity: .88; }
.gmsw-vdemo__btn:focus-visible { outline: none; box-shadow: var(--gmsw-focus); }
.gmsw-vdemo__btn-icon { width: 20px; height: 20px; }

.gmsw-vdemo__media { margin: 0; display: grid; gap: 8px; }

.gmsw-vdemo__thumb {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	cursor: pointer;
}

.gmsw-vdemo__thumb img { display: block; width: 100%; height: auto; transition: transform .35s; }
.gmsw-vdemo__thumb:hover img { transform: scale(1.025); }
.gmsw-vdemo__thumb:focus-visible { outline: none; box-shadow: var(--gmsw-focus); }

.gmsw-vdemo__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--gmsw-accent);
	color: #fff;
	box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
	transform: translate(-50%, -50%);
	transition: transform .2s;
}

.gmsw-vdemo__play svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.gmsw-vdemo__thumb:hover .gmsw-vdemo__play { transform: translate(-50%, -50%) scale(1.08); }
.gmsw-vdemo__caption { color: #5e5359; font-size: 13px; text-align: center; }

@media (max-width: 767px) {
	.gmsw-vdemo,
	.gmsw-vdemo--img-left { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
	.gmsw-vdemo--img-left .gmsw-vdemo__media { order: 0; }
	.gmsw-vdemo__play { width: 60px; height: 60px; }
}

.gmsw-vmodal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.gmsw-vmodal[hidden] { display: none; }
.gmsw-vmodal__backdrop { position: absolute; inset: 0; background: rgba(12, 6, 10, .82); }
.gmsw-vmodal__box { position: relative; width: min(1000px, 100%); animation: gmsw-up .2s ease-out; }
.gmsw-vmodal__frame { position: relative; border-radius: 12px; overflow: hidden; background: #000; }
.gmsw-vmodal__frame.is-iframe { aspect-ratio: 16 / 9; }
.gmsw-vmodal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gmsw-vmodal__frame video,
.gmsw-vmodal__frame img { display: block; width: 100%; max-height: 82vh; object-fit: contain; background: #000; }

.gmsw-vmodal__x {
	position: absolute;
	top: -48px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	cursor: pointer;
}

.gmsw-vmodal__x svg { width: 20px; height: 20px; }
.gmsw-vmodal__x:hover,
.gmsw-vmodal__x:focus-visible { background: rgba(255, 255, 255, .28); outline: none; }

/* ---------- Promo card ---------- */

.gmsw-promo {
	--gmsw-card: #fff;
	--gmsw-line: #f6d9e7;
	--gmsw-icon-bg: #fde7f1;
	--gmsw-muted: #5e5359;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 18px;
	border: 1px solid var(--gmsw-line);
	border-radius: 14px;
	background: var(--gmsw-card);
	text-align: left;
}

.gmsw-promo__media { flex: none; display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: #fff; }
.gmsw-promo__media img { width: 100%; height: 100%; object-fit: contain; }
.gmsw-promo__media.is-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gmsw-icon-bg); color: var(--gmsw-accent); }
.gmsw-promo__icon { width: 34px; height: 34px; }
.gmsw-promo__body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.gmsw-promo__eyebrow { color: var(--gmsw-accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gmsw-promo__title { margin: 0; color: var(--gmsw-ink); font-size: 17px; font-weight: 800; line-height: 1.3; }
.gmsw-promo__price { color: var(--gmsw-accent); white-space: nowrap; }
.gmsw-promo__text { margin: 0; color: var(--gmsw-muted); font-size: 14px; line-height: 1.45; }

.gmsw-promo__btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 2px solid var(--gmsw-accent);
	border-radius: 999px;
	color: var(--gmsw-accent);
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s, color .15s;
}

.gmsw-promo__btn svg { width: 18px; height: 18px; }
.gmsw-promo__btn:hover,
.gmsw-promo__btn:focus-visible { background: var(--gmsw-accent); color: #fff; outline: none; }

.gmsw-promo--compact { flex-wrap: wrap; gap: 12px 14px; padding: 14px; }
.gmsw-promo--compact .gmsw-promo__media { width: 64px; height: 64px; }
.gmsw-promo--compact .gmsw-promo__title { font-size: 15.5px; }
.gmsw-promo--compact .gmsw-promo__btn { flex: 1 1 100%; justify-content: center; }

@media (max-width: 600px) {
	.gmsw-promo { flex-wrap: wrap; }
	.gmsw-promo__btn { flex: 1 1 100%; justify-content: center; }
}
