/* Self-hosted reviews — frontend. Colours come from --jgm-primary and --jgm-star (Settings). */
.jgm-widget,
.jgm-badge {
	--jgm-primary: #339999;
	--jgm-star: #ffb800;
	--jgm-star-off: #d6d6d6;
	--jgm-border: #e5e5e5;
	--jgm-muted: #767676;
	--jgm-panel: #f6f6f6;
	--jgm-text: #222;
}

.jgm-widget {
	clear: both;
	margin: 2.5rem 0;
	color: var(--jgm-text);
	font-size: 15px;
	line-height: 1.55;
}
.jgm-widget *,
.jgm-widget *::before,
.jgm-widget *::after { box-sizing: border-box; }

.jgm-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Stars: one element, partial fill from --jgm-rating (0–5) ---------- */
.jgm-stars {
	--jgm-size: 16px;
	display: inline-block;
	font-size: var(--jgm-size);
	line-height: 1;
	letter-spacing: 1px;
	white-space: nowrap;
	vertical-align: middle;
}
.jgm-stars::before {
	content: "\2605\2605\2605\2605\2605";
	background: linear-gradient(90deg, var(--jgm-star) calc(var(--jgm-rating) / 5 * 100%), var(--jgm-star-off) 0);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.jgm-stars--sm { --jgm-size: 14px; }
.jgm-stars--md { --jgm-size: 19px; }
.jgm-stars--badge { --jgm-size: 21px; }
.jgm-stars--lg { --jgm-size: 26px; letter-spacing: 2px; }

/* ---------- Badge under the product title ---------- */
.jgm-badge {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	color: var(--jgm-text);
	text-decoration: none;
}
.jgm-badge--single { margin: 6px 0 12px; font-size: 15px; cursor: pointer; }
.jgm-badge--single .jgm-badge__avg { font-weight: 700; }
.jgm-badge--single .jgm-badge__count { text-decoration: underline; text-underline-offset: 3px; }
.jgm-badge--single:hover .jgm-badge__count,
.jgm-badge--single:focus-visible .jgm-badge__count { color: var(--jgm-primary); }
.jgm-badge--loop { margin: 4px 0 8px; font-size: 13px; color: var(--jgm-muted); }
.jgm-badge--loop .jgm-badge__avg { display: none; }

/* ---------- Buttons ---------- */
.jgm-widget .jgm-btn {
	display: inline-block;
	padding: 10px 22px;
	border: 1px solid var(--jgm-primary);
	border-radius: 3px;
	background: var(--jgm-primary);
	color: #fff;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
}
.jgm-widget .jgm-btn:hover { filter: brightness(0.92); }
.jgm-widget .jgm-btn--ghost { background: transparent; color: var(--jgm-primary); }
.jgm-widget .jgm-btn:disabled { opacity: 0.6; cursor: progress; }

/* ---------- Heading row ---------- */
.jgm-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.jgm-widget .jgm-head__title { margin: 0; font-size: 1.5em; }
.jgm-drawer .jgm-head { justify-content: flex-end; }

/* ---------- Summary + histogram ---------- */
.jgm-summary {
	display: grid;
	grid-template-columns: minmax(150px, 1fr) minmax(200px, 1.6fr);
	gap: 20px;
	align-items: center;
	padding: 20px;
	background: var(--jgm-panel);
}
@media (max-width: 420px) { .jgm-summary { grid-template-columns: 1fr; } }
.jgm-summary__score { padding-right: 20px; border-right: 1px solid #d8d8d8; text-align: center; }
@media (max-width: 420px) { .jgm-summary__score { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid #d8d8d8; } }
.jgm-summary__avg { font-size: 40px; font-weight: 600; line-height: 1.1; }
.jgm-summary__based { margin-top: 6px; font-size: 14px; }
.jgm-histogram { display: grid; gap: 6px; }
.jgm-widget .jgm-histogram__row {
	display: grid;
	grid-template-columns: 2.6em 1fr 3em;
	gap: 8px;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 2px 4px;
	border: 0;
	border-radius: 3px;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 14px;
	text-align: left;
	text-transform: none;
}
.jgm-widget button.jgm-histogram__row { cursor: pointer; }
.jgm-widget button.jgm-histogram__row:hover,
.jgm-widget button.jgm-histogram__row.is-active { background: rgba(0, 0, 0, 0.06); }
.jgm-star-icon { color: var(--jgm-star); }
.jgm-histogram__bar { height: 20px; border: 1px solid #cfcfcf; background: #fff; overflow: hidden; }
.jgm-histogram__bar > span { display: block; height: 100%; background: var(--jgm-star); }
.jgm-histogram__pct { font-size: 13px; }

/* ---------- Search + toolbar ---------- */
.jgm-search { display: flex; gap: 8px; margin: 20px 0 16px; }
.jgm-search__field { position: relative; flex: 1; margin: 0; }
.jgm-search__field::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 11px;
	width: 13px;
	height: 13px;
	border: 2px solid #444;
	border-radius: 50%;
	transform: translateY(-60%);
	pointer-events: none;
}
.jgm-search__field::after {
	content: "";
	position: absolute;
	top: 58%;
	left: 22px;
	width: 2px;
	height: 6px;
	background: #444;
	transform: rotate(-45deg);
	pointer-events: none;
}
.jgm-widget .jgm-search input[type="search"] {
	width: 100%;
	height: 38px;
	margin: 0;
	padding: 6px 10px 6px 34px;
	border: 1px solid #bdbdbd;
	border-radius: 3px;
	background: #fff;
	font: inherit;
	font-size: 14px;
}
.jgm-widget .jgm-search__btn {
	height: 38px;
	padding: 0 14px;
	border: 1px solid #bdbdbd;
	border-radius: 3px;
	background: #f2f2f2;
	color: var(--jgm-text);
	font: inherit;
	font-size: 14px;
	text-transform: none;
	cursor: pointer;
}
.jgm-widget .jgm-search__btn:hover { background: #e8e8e8; }
.jgm-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	padding: 12px 14px;
	background: var(--jgm-panel);
	font-size: 13px;
}
.jgm-range { margin-right: auto; }
.jgm-sort { margin: 0; }
.jgm-widget .jgm-toolbar select {
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 2px 4px;
	border: 0;
	background-color: transparent;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}
.jgm-widget .jgm-clear-filter { padding: 0; border: 0; background: none; color: var(--jgm-primary); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* ---------- Review item ---------- */
.jgm-list { transition: opacity 0.15s; }
.jgm-list.is-loading { opacity: 0.45; pointer-events: none; }
.jgm-review { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 20px; padding: 22px 0 0; }
.jgm-review__main { padding-bottom: 22px; border-bottom: 1px solid var(--jgm-border); }
.jgm-review__avatar {
	position: relative;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #e3e3e3;
	color: #555;
	font-size: 22px;
}
.jgm-review__check {
	position: absolute;
	right: -2px;
	bottom: -2px;
	width: 18px;
	height: 18px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--jgm-primary);
}
.jgm-review__check::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 5px;
	width: 4px;
	height: 7px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.jgm-review__top { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; }
.jgm-review__author { font-size: 16px; }
.jgm-review__date { color: var(--jgm-muted); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.jgm-review__top { align-items: flex-start; }
.jgm-review__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jgm-review__verified { color: var(--jgm-primary); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }

/* Badge rendered as a <button> when it opens the drawer: undo theme button styling. */
body button.jgm-badge {
	-webkit-appearance: none;
	appearance: none;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 6px 0 12px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: none !important;
	box-shadow: none !important;
	color: var(--jgm-text) !important;
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: normal;
	text-align: left;
	text-transform: none !important;
	cursor: pointer;
}
body button.jgm-badge:focus { outline: none; }
body button.jgm-badge:focus-visible { outline: 2px solid var(--jgm-primary); outline-offset: 3px; }
.jgm-review__rating-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 12px 0; }
/* Themes style links and paragraphs aggressively, hence !important on the text properties below. */
.jgm-widget .jgm-review__product {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	color: #666 !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none;
}
.jgm-widget .jgm-review__product span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: inherit !important;
	font: inherit !important;
	letter-spacing: inherit !important;
	text-transform: inherit !important;
}
.jgm-review__product:hover span { text-decoration: underline; }
.jgm-widget .jgm-review__product img { flex: 0 0 auto; width: 22px !important; height: 22px !important; object-fit: contain; }
.jgm-widget .jgm-card__product { font-size: 12px !important; line-height: 1.4 !important; }
.jgm-widget .jgm-review__title { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.jgm-widget .jgm-review__body,
.jgm-widget .jgm-review__body p {
	color: #222 !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
}
.jgm-widget .jgm-review__reply,
.jgm-widget .jgm-review__reply p { color: #222 !important; }
.jgm-review__body p { margin: 0 0 0.6em; }
.jgm-review__body p:last-child { margin-bottom: 0; }
.jgm-review__photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jgm-photo { display: block; width: 76px; height: 76px; overflow: hidden; border: 1px solid var(--jgm-border); }
.jgm-photo img { width: 100%; height: 100%; object-fit: cover; }
.jgm-review__reply { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--jgm-primary); background: var(--jgm-panel); font-size: 14px; }
.jgm-review__reply-label { display: block; margin-bottom: 4px; }
.jgm-review__reply p { margin: 0 0 0.5em; }
.jgm-empty { padding: 20px 0; color: var(--jgm-muted); }

/* ---------- Pagination ---------- */
.jgm-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 18px 0; }
.jgm-widget .jgm-page {
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid var(--jgm-border);
	border-radius: 3px;
	background: #fff;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
.jgm-widget .jgm-page.is-current { border-color: var(--jgm-text); background: var(--jgm-text); color: #fff; }
.jgm-page-gap { align-self: center; padding: 0 4px; }

/* ---------- Form ---------- */
.jgm-form { display: grid; gap: 14px; margin: 16px 0; padding: 20px; border: 1px solid var(--jgm-border); }
.jgm-form[hidden] { display: none; }
.jgm-form label { display: grid; gap: 4px; font-weight: 600; }
.jgm-form label[hidden] { display: none; }
.jgm-form small { font-weight: 400; color: var(--jgm-muted); }
.jgm-widget .jgm-form input[type="text"],
.jgm-widget .jgm-form input[type="email"],
.jgm-widget .jgm-form textarea { width: 100%; padding: 8px 10px; font: inherit; font-weight: 400; }
.jgm-form__row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.jgm-form fieldset { margin: 0; padding: 0; border: 0; }
.jgm-form fieldset[hidden] { display: none; }
.jgm-form legend { padding: 0; font-weight: 600; }
.jgm-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.jgm-rate input { position: absolute; opacity: 0; pointer-events: none; }
.jgm-widget .jgm-rate label { display: inline; padding: 0 2px; color: var(--jgm-star-off); font-size: 30px; line-height: 1; cursor: pointer; }
.jgm-rate label:hover,
.jgm-rate label:hover ~ label,
.jgm-rate input:checked ~ label { color: var(--jgm-star); }
.jgm-rate input:focus-visible + label { outline: 2px solid var(--jgm-primary); outline-offset: 2px; }
.jgm-form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.jgm-form__actions[hidden] { display: none; }
.jgm-form__message:empty { display: none; }
.jgm-form__message { padding: 10px 12px; background: var(--jgm-panel); }
.jgm-form__message.is-error { background: #fdecea; color: #8a1f11; }
.jgm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Side drawer ---------- */
.jgm-widget.jgm-drawer { position: fixed; inset: 0; z-index: 99990; margin: 0; }
.jgm-drawer[hidden] { display: none; }
.jgm-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 0.25s ease; }
.jgm-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(500px, 100vw);
	background: #fff;
	box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
	transform: translateX(100%);
	transition: transform 0.28s ease;
	outline: none;
}
.jgm-drawer.is-open .jgm-drawer__overlay { opacity: 1; }
.jgm-drawer.is-open .jgm-drawer__panel { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
	.jgm-drawer__overlay,
	.jgm-drawer__panel { transition: none; }
}
.jgm-drawer__head { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 20px; border-bottom: 1px solid var(--jgm-border); }
.jgm-widget .jgm-drawer__title { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.jgm-widget .jgm-drawer__close {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--jgm-text);
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
}
.jgm-drawer__body { flex: 1 1 auto; padding: 20px; overflow-y: auto; overscroll-behavior: contain; }
.jgm-drawer__loading { margin: 40px 0; color: var(--jgm-muted); text-align: center; }
body.jgm-drawer-open { overflow: hidden; }

/* ---------- Carousel ---------- */
.jgm-carousel__head { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.jgm-carousel__title { margin: 0; }
.jgm-carousel__total { display: inline-flex; gap: 8px; align-items: center; color: inherit; text-decoration: none; }
.jgm-carousel__total:hover { text-decoration: underline; }
.jgm-carousel__viewport { position: relative; }
.jgm-carousel__track {
	display: grid;
	grid-auto-columns: minmax(260px, calc((100% - 32px) / 3));
	grid-auto-flow: column;
	gap: 16px;
	padding: 2px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.jgm-carousel__track::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .jgm-carousel__track { grid-auto-columns: minmax(240px, calc((100% - 16px) / 2)); } }
@media (max-width: 560px) { .jgm-carousel__track { grid-auto-columns: 85%; } }
.jgm-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--jgm-border); scroll-snap-align: start; }
.jgm-widget .jgm-card__title { margin: 0; font-size: 1em; }
.jgm-card__body { flex: 1; margin: 0; }
.jgm-card__foot { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 13px; }
.jgm-card__author { font-weight: 600; }
.jgm-card__product { flex-basis: 100%; color: var(--jgm-primary); text-decoration: underline; }
.jgm-verified { display: inline-block; padding: 1px 6px; background: var(--jgm-primary); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.5; }
.jgm-widget .jgm-carousel__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--jgm-border);
	border-radius: 50%;
	background: #fff;
	color: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
}
.jgm-carousel__nav--prev { left: -12px; }
.jgm-carousel__nav--next { right: -12px; }
.jgm-carousel__nav[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.jgm-lightbox { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, 0.85); cursor: zoom-out; }
.jgm-lightbox img { max-width: 100%; max-height: 90vh; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); }

/* ---------- Theme-proofing ----------
 * Themes style every button inside post content (Moderno: ".entry-content button:not(...)" = specificity 0,5,1,
 * incl. direction:rtl and uppercase), and shortcodes sometimes sit in a Preformatted block (<pre>).
 * ":is(#jgm-guard, .jgm-widget)" still matches by class but carries ID-level specificity, so the rules below
 * win without !important. Only properties that themes set with !important repeat it here.
 */
:is(#jgm-guard, .jgm-widget)[hidden],
:is(#jgm-guard, .jgm-widget) [hidden] { display: none !important; }

pre:has(:is(#jgm-guard, .jgm-widget)) {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	overflow: visible;
	white-space: normal;
	font-family: var(--font-text, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	line-height: inherit;
}
pre :is(#jgm-guard, .jgm-widget) {
	white-space: normal;
	font-family: var(--font-text, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
}
:is(#jgm-guard, .jgm-widget) { direction: ltr; text-align: left; }

/* Shared button reset */
:is(#jgm-guard, .jgm-widget) button,
button:is(#jgm-guard, .jgm-badge) {
	flex: 0 0 auto; /* themes set flex: 1 1 auto, stretching buttons inside flex rows */
	direction: ltr;
	outline-offset: 2px;
	box-shadow: none;
	letter-spacing: normal;
	text-transform: none;
	transition: background-color 0.15s, filter 0.15s;
}

:is(#jgm-guard, .jgm-widget) .jgm-btn {
	display: inline-block;
	padding: 10px 22px;
	border: 1px solid var(--jgm-primary);
	border-radius: 3px;
	background-color: var(--jgm-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}
:is(#jgm-guard, .jgm-widget) .jgm-btn:hover { background-color: var(--jgm-primary); color: #fff; filter: brightness(0.92); }
:is(#jgm-guard, .jgm-widget) .jgm-btn--ghost,
:is(#jgm-guard, .jgm-widget) .jgm-btn--ghost:hover { background-color: transparent; color: var(--jgm-primary); }

:is(#jgm-guard, .jgm-widget) .jgm-histogram__row {
	display: grid;
	grid-template-columns: 2.6em 1fr 3em;
	gap: 8px;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 2px 4px;
	border: 0;
	border-radius: 3px;
	background-color: transparent;
	color: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
}
:is(#jgm-guard, .jgm-widget) button.jgm-histogram__row:hover,
:is(#jgm-guard, .jgm-widget) button.jgm-histogram__row.is-active { background-color: rgba(0, 0, 0, 0.06); color: inherit; }

:is(#jgm-guard, .jgm-widget) .jgm-search__btn {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 14px;
	border: 1px solid #bdbdbd;
	border-radius: 3px;
	background-color: #f2f2f2;
	color: var(--jgm-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
}
:is(#jgm-guard, .jgm-widget) .jgm-search__btn:hover { background-color: #e8e8e8; color: var(--jgm-text); }
:is(#jgm-guard, .jgm-widget) .jgm-search input[type="search"] {
	width: 100%;
	height: 38px !important;
	margin: 0;
	padding: 6px 10px 6px 34px;
	border: 1px solid #bdbdbd;
	border-radius: 3px;
	background-color: #fff;
	color: var(--jgm-text);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.4;
}

:is(#jgm-guard, .jgm-widget) .jgm-clear-filter {
	display: inline;
	padding: 0;
	border: 0;
	background-color: transparent;
	color: var(--jgm-primary);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: underline !important;
}
:is(#jgm-guard, .jgm-widget) .jgm-clear-filter:hover { background-color: transparent; color: var(--jgm-primary); }

:is(#jgm-guard, .jgm-widget) .jgm-toolbar select {
	width: auto;
	height: auto !important;
	min-height: 0;
	margin: 0;
	padding: 2px 22px 2px 4px;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	background-position: right 4px center;
	color: inherit;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.4;
}

:is(#jgm-guard, .jgm-widget) .jgm-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid var(--jgm-border);
	border-radius: 3px;
	background-color: #fff;
	color: var(--jgm-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
}
:is(#jgm-guard, .jgm-widget) .jgm-page:hover { background-color: #f2f2f2; color: var(--jgm-text); }
:is(#jgm-guard, .jgm-widget) .jgm-page.is-current,
:is(#jgm-guard, .jgm-widget) .jgm-page.is-current:hover { border-color: var(--jgm-text); background-color: var(--jgm-text); color: #fff; }

:is(#jgm-guard, .jgm-widget) .jgm-drawer__close,
:is(#jgm-guard, .jgm-widget) .jgm-drawer__close:hover {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background-color: transparent;
	color: var(--jgm-text);
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
}

:is(#jgm-guard, .jgm-widget) .jgm-carousel__nav,
:is(#jgm-guard, .jgm-widget) .jgm-carousel__nav:hover {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--jgm-border);
	border-radius: 50%;
	background-color: #fff;
	color: var(--jgm-text);
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
}

button:is(#jgm-guard, .jgm-badge),
button:is(#jgm-guard, .jgm-badge):hover {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background-color: transparent;
	color: var(--jgm-text);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
}
