/**
 * Sumasho Réalisations — front styles.
 * Structure only: colors and typography inherit from the active theme.
 * Mobile-first (tested at 375 px).
 */

.smsr-scope {
	--smsr-star: #cf9f3f;
	--smsr-border: rgba(0, 0, 0, 0.12);
	--smsr-muted: rgba(0, 0, 0, 0.55);
	--smsr-bg-soft: rgba(0, 0, 0, 0.03);
	font-family: inherit;
	color: inherit;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-x: clip;
}

.smsr-scope *,
.smsr-scope *::before,
.smsr-scope *::after {
	box-sizing: border-box;
}

.smsr-scope [hidden] {
	display: none !important;
}

.smsr-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	/* Let labels receive taps; absolute radios must not steal clicks. */
	pointer-events: none;
}

/* ---------- Generic bits ---------- */

.smsr-h2 {
	margin: 1.5em 0 0.6em;
}

.smsr-req {
	color: #b32d2e;
}

.smsr-help {
	font-size: 0.85em;
	color: var(--smsr-muted);
	margin: 0.25em 0 0;
}

.smsr-error {
	color: #b32d2e;
	font-size: 0.85em;
	margin: 0.25em 0 0;
}

.smsr-notice {
	padding: 0.9em 1em;
	border: 1px solid var(--smsr-border);
	border-radius: 6px;
	background: var(--smsr-bg-soft);
	margin: 0 0 1.2em;
}

.smsr-notice-warning {
	border-color: #dba617;
	background: rgba(219, 166, 23, 0.08);
}

.smsr-link-plain {
	text-decoration: underline;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: inherit;
	font: inherit;
}

.smsr-btn,
.smsr-btn-secondary,
.smsr-btn-danger {
	cursor: pointer;
}

.smsr-btn-danger {
	border-color: #b32d2e !important;
	color: #b32d2e !important;
	background: transparent;
}

/* Busy state: disabled + spinner */
.smsr-btn.is-busy,
.smsr-btn-secondary.is-busy {
	opacity: 0.7;
	pointer-events: none;
	position: relative;
	padding-right: 2.2em !important;
}

.smsr-btn.is-busy::after,
.smsr-btn-secondary.is-busy::after {
	content: "";
	position: absolute;
	right: 0.7em;
	top: 50%;
	width: 1em;
	height: 1em;
	margin-top: -0.5em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: smsr-spin 0.7s linear infinite;
}

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

/* ---------- Badges & stars ---------- */

.smsr-badge {
	display: inline-block;
	font-size: 0.75em;
	line-height: 1;
	padding: 0.35em 0.6em;
	border-radius: 999px;
	border: 1px solid var(--smsr-border);
	background: var(--smsr-bg-soft);
	vertical-align: middle;
}

.smsr-badge-verified {
	border-color: #2e7d32;
	color: #2e7d32;
	background: rgba(46, 125, 50, 0.08);
}

.smsr-badge-status-publish {
	border-color: #2e7d32;
	color: #2e7d32;
}

.smsr-badge-status-pending {
	border-color: #dba617;
	color: #8a6d00;
}

.smsr-badge-status-smsr_refused {
	border-color: #b32d2e;
	color: #b32d2e;
}

.smsr-stars {
	color: var(--smsr-star);
	letter-spacing: 0.1em;
	white-space: nowrap;
}

/* ---------- Cards & grids ---------- */

.smsr-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin: 0 0 1em;
}

@media (min-width: 600px) {
	.smsr-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}
}

@media (min-width: 960px) {
	.smsr-grid-gallery {
		grid-template-columns: repeat(4, 1fr);
	}
}

.smsr-grid-product {
	grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 960px) {
	.smsr-grid-product {
		grid-template-columns: repeat(4, 1fr);
	}
}

.smsr-card {
	border: 1px solid var(--smsr-border);
	border-radius: 8px;
	overflow: hidden;
	background: inherit;
	display: flex;
	flex-direction: column;
}

.smsr-card-media {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--smsr-bg-soft);
}

.smsr-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.smsr-card-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: var(--smsr-bg-soft);
}

.smsr-card-body {
	padding: 0.7em 0.8em 0.9em;
	display: flex;
	flex-direction: column;
	gap: 0.3em;
}

.smsr-card-title {
	font-size: 0.95em;
	margin: 0;
	line-height: 1.3;
}

.smsr-card-title a {
	text-decoration: none;
	color: inherit;
}

.smsr-card-excerpt {
	font-size: 0.83em;
	color: var(--smsr-muted);
	margin: 0;
}

.smsr-card-footer {
	margin: auto 0 0;
	font-size: 0.8em;
	display: flex;
	align-items: center;
	gap: 0.5em;
	flex-wrap: wrap;
}

.smsr-card-author {
	color: var(--smsr-muted);
}

/* ---------- Product page block ---------- */

.smsr-product-block {
	clear: both;
	margin: 2em 0;
}

.smsr-product-row .smsr-grid-product {
	margin-bottom: 0;
}

.smsr-scope .smsr-product-more {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	text-decoration: none !important;
	font: inherit !important;
	font-weight: 600 !important;
	font-size: 0.88em !important;
	line-height: 1.35 !important;
	padding: 0.65em 0.85em !important;
	min-height: 0 !important;
	height: auto !important;
	border: 1px solid var(--smsr-border) !important;
	border-left: 4px solid var(--smsr-star) !important;
	border-radius: 8px !important;
	background: rgba(207, 159, 63, 0.1) !important;
	color: inherit !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.smsr-scope .smsr-product-more:hover,
.smsr-scope .smsr-product-more:focus-visible {
	background: rgba(207, 159, 63, 0.18) !important;
	border-color: var(--smsr-star) !important;
	color: inherit !important;
	outline: none;
}

@media (min-width: 960px) {
	.smsr-product-row--has-more-desktop {
		display: flex;
		align-items: center;
		gap: 16px;
	}

	.smsr-product-row--has-more-desktop .smsr-grid-product {
		flex: 1 1 auto;
		min-width: 0;
	}

	.smsr-product-row--has-more-desktop .smsr-product-more {
		flex: 0 0 auto;
		aspect-ratio: 1 / 1;
		min-width: 4.5rem;
		padding: 0.5em !important;
	}

	.smsr-product-row:not(.smsr-product-row--has-more-desktop) .smsr-product-more {
		display: none !important;
	}
}

@media (max-width: 959px) {
	.smsr-grid-product .smsr-card:nth-child(n + 3) {
		display: none;
	}

	.smsr-product-row--has-more-mobile {
		display: grid;
		grid-template-columns: 1fr 1fr auto;
		gap: 12px;
		align-items: center;
	}

	.smsr-product-row--has-more-mobile .smsr-grid-product {
		display: contents;
	}

	.smsr-product-row--has-more-mobile .smsr-product-more {
		grid-column: 3;
		grid-row: 1;
		align-self: center;
	}
}

.smsr-product-block-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85em;
	margin-top: 1.2em;
	text-align: center;
}

.smsr-product-block-links .smsr-share-product {
	display: inline-block;
	text-align: center;
	text-decoration: none;
}

/* ---------- Progress bar ---------- */

.smsr-progress {
	list-style: none;
	display: flex;
	margin: 0 0 1.5em;
	padding: 0;
	gap: 4px;
	max-width: 100%;
	min-width: 0;
}

.smsr-progress li {
	flex: 1;
	margin: 0;
	min-width: 0;
}

.smsr-scope .smsr-progress-step {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 3px solid var(--smsr-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0.5em 0.2em !important;
	cursor: pointer;
	color: var(--smsr-muted) !important;
	font: inherit !important;
	font-size: 0.85em !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25em;
	min-height: 0;
}

.smsr-scope .smsr-progress-step:hover,
.smsr-scope .smsr-progress-step:focus-visible {
	background: var(--smsr-bg-soft) !important;
	color: rgba(0, 0, 0, 0.82) !important;
	outline: none;
}

.smsr-scope .smsr-progress-step:focus-visible {
	box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25) !important;
}

.smsr-scope .smsr-progress-step:disabled {
	cursor: default;
	opacity: 0.6;
	background: transparent !important;
	color: var(--smsr-muted) !important;
}

.smsr-scope .smsr-progress-step:disabled:hover,
.smsr-scope .smsr-progress-step:disabled:focus-visible {
	background: transparent !important;
	color: var(--smsr-muted) !important;
	box-shadow: none !important;
}

.smsr-scope .smsr-progress-step.is-current {
	border-bottom-color: #1c1c28 !important;
	color: #1c1c28 !important;
	font-weight: 600 !important;
	background: transparent !important;
}

.smsr-scope .smsr-progress-step.is-current:hover,
.smsr-scope .smsr-progress-step.is-current:focus-visible {
	background: var(--smsr-bg-soft) !important;
	color: #1c1c28 !important;
}

.smsr-scope .smsr-progress-step.is-done {
	color: #1c1c28 !important;
	opacity: 1;
	cursor: pointer;
	background: transparent !important;
}

.smsr-scope .smsr-progress-step.is-done:hover,
.smsr-scope .smsr-progress-step.is-done:focus-visible {
	background: var(--smsr-bg-soft) !important;
	color: #1c1c28 !important;
}

.smsr-progress-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.7em;
	height: 1.7em;
	border-radius: 50%;
	border: 1px solid currentColor;
	font-size: 0.9em;
}

.smsr-progress-step.is-done .smsr-progress-num::before {
	content: "✓";
}

.smsr-progress-step.is-done .smsr-progress-num {
	font-size: 0;
}

.smsr-progress-step.is-done .smsr-progress-num::before {
	font-size: 14px;
}

.smsr-progress-label {
	text-align: center;
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
	max-width: 100%;
}

@media (max-width: 480px) {
	.smsr-progress-label {
		font-size: 0.85em;
	}
}

/* ---------- Form ---------- */

.smsr-form-wrap {
	max-width: min(680px, 100%);
	width: 100%;
	margin: 0 auto;
	min-width: 0;
	overflow-x: hidden;
	box-sizing: border-box;
}

#smsr-form,
.smsr-step {
	max-width: 100%;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

/* Prevent fieldset min-content from widening the page (Chrome). */
#smsr-form fieldset {
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

/* Shared width guards — all 4 steps */
#smsr-form .smsr-progress,
#smsr-form .smsr-progress li,
#smsr-form .smsr-field,
#smsr-form .smsr-consent,
#smsr-form .smsr-product-picker,
#smsr-form .smsr-picker-panel,
#smsr-form .smsr-upload,
#smsr-form .smsr-dropzone,
#smsr-form .smsr-step-nav,
#smsr-form input,
#smsr-form select,
#smsr-form textarea,
#smsr-form button,
#smsr-form .button {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

#smsr-form legend,
#smsr-form .smsr-label {
	overflow-wrap: anywhere;
	max-width: 100%;
}

.smsr-field-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 1em;
	max-width: 100%;
	min-width: 0;
}

@media (min-width: 600px) {
	.smsr-field-row {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.smsr-laize-custom {
	margin-top: 0.5em;
}

.smsr-step-title {
	margin: 0 0 0.8em;
	overflow-wrap: anywhere;
}

.smsr-field {
	margin: 0 0 1.2em;
	border: 0;
	padding: 0;
	max-width: 100%;
	min-width: 0;
}

.smsr-field label,
.smsr-label,
.smsr-help,
.smsr-consent label span {
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
}

.smsr-field label,
.smsr-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3em;
}

.smsr-field input[type="text"],
.smsr-field input[type="search"],
.smsr-field select,
.smsr-field textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-width: 0;
}

/* ≥16px avoids iOS Safari auto-zoom on focus (which causes H-scroll). */
#smsr-form input[type="text"],
#smsr-form input[type="search"],
#smsr-form select,
#smsr-form textarea {
	font-size: 16px;
}

.smsr-field.has-error input,
.smsr-field.has-error textarea,
.smsr-field.has-error select {
	border-color: #b32d2e;
}

.smsr-step-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	gap: 0.75em;
	margin-top: 1.6em;
	max-width: 100%;
	min-width: 0;
}

.smsr-scope .smsr-step-nav .button {
	min-width: 0 !important;
	max-width: 100%;
	white-space: normal !important;
	text-align: center;
	box-sizing: border-box;
}

.smsr-step-nav .smsr-next,
.smsr-step-nav .smsr-submit {
	margin-left: auto;
}

@media (max-width: 599px) {
	.smsr-step-nav {
		flex-direction: column;
	}

	.smsr-scope .smsr-step-nav .button {
		width: 100%;
	}

	.smsr-step-nav .smsr-next,
	.smsr-step-nav .smsr-submit {
		margin-left: 0;
	}
}

.smsr-upload,
.smsr-dropzone,
.smsr-rating,
.smsr-rating-stars {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.smsr-savenote {
	font-size: 0.8em;
	color: var(--smsr-muted);
	min-height: 1.2em;
	margin: 0.6em 0 0;
	overflow-wrap: anywhere;
}

/* Product picker */

.smsr-product-picker {
	max-width: 100%;
	box-sizing: border-box;
}

.smsr-selected-product {
	display: flex;
	align-items: center;
	gap: 1em;
	flex-wrap: nowrap;
	padding: 0.8em;
	border: 1px solid var(--smsr-border);
	border-radius: 8px;
	margin-bottom: 1em;
	box-sizing: border-box;
	max-width: 100%;
}

.smsr-selected-product-card {
	flex: 1 1 auto;
	min-width: 0;
}

.smsr-scope .smsr-selected-product .smsr-change-product {
	flex: 0 0 auto;
	align-self: center;
	margin: 0;
	text-decoration: none !important;
	text-transform: none;
	white-space: nowrap;
	background: transparent !important;
	color: inherit !important;
	border: 1px solid var(--smsr-border) !important;
	border-radius: 6px;
	box-shadow: none !important;
	padding: 0.55em 1em;
	line-height: 1.3;
	font-weight: 600;
}

.smsr-scope .smsr-selected-product .smsr-change-product:hover,
.smsr-scope .smsr-selected-product .smsr-change-product:focus-visible {
	background: var(--smsr-bg-soft) !important;
	border-color: currentColor !important;
}

.smsr-product-card {
	display: flex;
	align-items: center;
	gap: 0.8em;
	min-width: 0;
}

.smsr-product-card-img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 6px;
	flex: none;
}

.smsr-product-card-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.smsr-product-card-text strong,
.smsr-product-card-text .smsr-product-card-name {
	overflow-wrap: anywhere;
}

.smsr-product-card-brand {
	font-size: 0.8em;
	color: var(--smsr-muted);
}

.smsr-search-results {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 0.5em;
}

.smsr-scope .smsr-result,
.smsr-scope .smsr-brand-product {
	display: flex;
	align-items: center;
	gap: 0.8em;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	text-align: left;
	appearance: none;
	-webkit-appearance: none;
	background: #fff !important;
	border: 1px solid var(--smsr-border) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	padding: 0.5em 0.7em !important;
	margin: 0 !important;
	cursor: pointer;
	font: inherit !important;
	font-weight: 500 !important;
	font-size: inherit !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	color: #1c1c28 !important;
	/* Theme forces button { height: ~18px } — unlock natural row height. */
	height: auto !important;
	max-height: none !important;
	min-height: 64px !important;
	line-height: 1.35 !important;
	overflow: visible !important;
}

.smsr-scope .smsr-result:hover,
.smsr-scope .smsr-result:focus-visible,
.smsr-scope .smsr-brand-product:hover,
.smsr-scope .smsr-brand-product:focus-visible {
	background: var(--smsr-bg-soft) !important;
	color: #1c1c28 !important;
	border-color: rgba(0, 0, 0, 0.22) !important;
	outline: none;
}

.smsr-scope .smsr-result:focus-visible,
.smsr-scope .smsr-brand-product:focus-visible {
	box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25) !important;
}

.smsr-scope .smsr-result img,
.smsr-scope .smsr-brand-product img {
	flex: 0 0 48px !important;
	width: 48px !important;
	height: 48px !important;
	min-width: 48px !important;
	max-width: 48px !important;
	object-fit: cover !important;
	border-radius: 4px;
	align-self: center;
}

.smsr-scope .smsr-result > .smsr-result-text,
.smsr-scope .smsr-brand-product > .smsr-result-text {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.smsr-scope .smsr-result-brand {
	display: block;
	font-size: 0.8em;
	color: var(--smsr-muted) !important;
}

.smsr-search-note {
	font-size: 0.85em;
	color: var(--smsr-muted);
	margin: 0.4em 0 0;
}

.smsr-picker-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin: 0 0 1em;
	border: 1px solid var(--smsr-border);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.smsr-scope .smsr-picker-tab {
	appearance: none;
	-webkit-appearance: none;
	background: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0.75em 0.6em !important;
	font: inherit !important;
	font-size: 0.92em !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	color: rgba(0, 0, 0, 0.72) !important;
	cursor: pointer;
	text-align: center;
	min-height: 0;
}

.smsr-scope .smsr-picker-tab + .smsr-picker-tab {
	border-left: 1px solid var(--smsr-border) !important;
}

.smsr-scope .smsr-picker-tab:hover,
.smsr-scope .smsr-picker-tab:focus-visible {
	background: var(--smsr-bg-soft) !important;
	color: #111 !important;
	outline: none;
}

.smsr-scope .smsr-picker-tab:focus-visible {
	box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35) !important;
	z-index: 1;
}

.smsr-scope .smsr-picker-tab.is-active,
.smsr-scope .smsr-picker-tab[aria-selected="true"] {
	background: #1c1c28 !important;
	color: #fff !important;
	font-weight: 600 !important;
}

.smsr-scope .smsr-picker-tab.is-active:hover,
.smsr-scope .smsr-picker-tab.is-active:focus-visible,
.smsr-scope .smsr-picker-tab[aria-selected="true"]:hover,
.smsr-scope .smsr-picker-tab[aria-selected="true"]:focus-visible {
	background: #2a2a38 !important;
	color: #fff !important;
}

.smsr-picker-panel {
	margin: 0 0 0.4em;
	max-width: 100%;
}

.smsr-brands {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0.2em 0 0.6em;
	max-width: 100%;
}

.smsr-scope .smsr-brand-pill {
	border: 1px solid var(--smsr-border) !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: none !important;
	padding: 0.35em 0.9em !important;
	cursor: pointer;
	font: inherit !important;
	font-size: 0.88em !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	color: inherit !important;
	max-width: 100%;
	box-sizing: border-box;
}

.smsr-scope .smsr-brand-pill.is-active {
	border-color: currentColor !important;
	font-weight: 600 !important;
	background: var(--smsr-bg-soft) !important;
}

.smsr-brand-products {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 0.6em;
	max-height: 320px;
	overflow: auto;
	max-width: 100%;
}

@media (max-width: 599px) {
	.smsr-picker-tabs {
		grid-template-columns: 1fr;
	}

	.smsr-scope .smsr-picker-tab + .smsr-picker-tab {
		border-left: 0 !important;
		border-top: 1px solid var(--smsr-border) !important;
	}

	.smsr-scope .smsr-picker-tab {
		font-size: 0.88em !important;
		padding: 0.7em 0.75em !important;
	}

	.smsr-selected-product {
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
	}

	.smsr-scope .smsr-selected-product .smsr-change-product {
		width: 100%;
		white-space: normal;
		text-align: center;
	}

	.smsr-product-card-img {
		width: 56px;
		height: 56px;
	}
}

/* Upload */

.smsr-dropzone {
	border: 2px dashed var(--smsr-border);
	border-radius: 8px;
	padding: 1.2em 1em;
	text-align: center;
	cursor: pointer;
}

.smsr-dropzone.is-dragover {
	border-color: currentColor;
	background: var(--smsr-bg-soft);
}

.smsr-dropzone-text {
	margin: 0 0 0.3em;
}

.smsr-dropzone .smsr-link {
	text-decoration: underline;
}

.smsr-photo-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0.8em 0 0;
	padding: 0;
}

.smsr-photo-item {
	position: relative;
	width: 84px;
	height: 84px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--smsr-border);
	margin: 0;
}

.smsr-photo-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.smsr-photo-item.is-uploading::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.6);
}

.smsr-photo-item.is-uploading::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(0, 0, 0, 0.6);
	border-right-color: transparent;
	border-radius: 50%;
	animation: smsr-spin 0.7s linear infinite;
}

.smsr-photo-remove {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 0;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.smsr-photo-count {
	font-size: 0.8em;
	color: var(--smsr-muted);
	margin: 0.4em 0 0;
}

/* Rating stars */

.smsr-rating-stars {
	display: inline-flex;
	gap: 0.15em;
}

.smsr-star-label {
	font-size: 1.9em;
	line-height: 1;
	cursor: pointer;
	color: var(--smsr-border);
	transition: color 0.1s ease-in-out;
}

.smsr-star-label.is-filled {
	color: var(--smsr-star);
}

.smsr-rating input:focus-visible + .smsr-star-label {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 4px;
}

/* Consent */

.smsr-consent label {
	display: flex;
	gap: 0.6em;
	align-items: flex-start;
	font-weight: 400;
}

.smsr-consent input {
	margin-top: 0.3em;
	flex: none;
}

/* Confirmation */

.smsr-confirmation {
	text-align: center;
	padding: 2.5em 1em;
	border: 1px solid var(--smsr-border);
	border-radius: 8px;
	background: var(--smsr-bg-soft);
}

.smsr-confirmation p:last-child {
	display: flex;
	gap: 1.2em;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

/* ---------- Single realisation ---------- */

.smsr-single-meta {
	display: flex;
	align-items: center;
	gap: 0.7em;
	flex-wrap: wrap;
	margin: 1em 0;
}

.smsr-single-byline {
	color: var(--smsr-muted);
	font-size: 0.9em;
}

/* Front single page — theme + plugin layout (scoped). */

.single-smsr_realisation .entry-header {
	margin-bottom: 0;
}

.single-smsr_realisation .entry-title,
.single-smsr_realisation .post-title,
.single-smsr_realisation h1.entry-title {
	text-align: center;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1.25;
	margin-bottom: 0.35em;
}

.single-smsr_realisation .entry-meta,
.single-smsr_realisation .post-meta,
.single-smsr_realisation .byline,
.single-smsr_realisation .posted-on,
.single-smsr_realisation .author.vcard {
	display: none !important;
}

.smsr-single {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 0.5rem;
}

.entry-content > .smsr-scope.smsr-single > .smsr-single-hero:first-child {
	margin-top: 0;
}

.smsr-single-hero {
	text-align: center;
	margin: 0 0 0.85em;
}

.smsr-single-rating {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35em;
	margin-bottom: 0.2em;
}

.smsr-single-patron {
	margin: 0;
	font-size: 0.92em;
	color: var(--smsr-muted);
}

.smsr-single-patron a {
	color: inherit;
	text-decoration: none;
}

.smsr-single-patron a:hover,
.smsr-single-patron a:focus {
	text-decoration: underline;
}

.smsr-single-gallery {
	display: flex;
	justify-content: center;
	margin: 0 0 1.5em;
}

.smsr-single-aside {
	min-width: 0;
}

.smsr-single-main {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.smsr-review-quote {
	position: relative;
	margin: 0 0 1.25em;
	padding: 1.25em 1.35em 1.15em 1.25em;
	background: var(--smsr-bg-soft);
	border: 0;
	border-radius: 8px;
	font-style: italic;
	line-height: 1.65;
}

.smsr-review-quote::before {
	content: "\201C";
	position: absolute;
	top: 0.45rem;
	left: 0.65rem;
	font-size: 2.75em;
	line-height: 1;
	font-style: normal;
	color: var(--smsr-muted);
	opacity: 0.28;
	pointer-events: none;
	z-index: 0;
}

.smsr-review-quote p {
	position: relative;
	z-index: 1;
	padding-left: 2.25rem;
	margin: 0;
	font-size: 1.02em;
}

.smsr-single .smsr-h2 {
	margin: 1.1em 0 0.55em;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.3;
}

.smsr-single-details .smsr-h2:first-child {
	margin-top: 0;
}

.smsr-single .smsr-gallery-view {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
	max-width: 100%;
}

.smsr-single .smsr-photo-main {
	flex: 0 0 auto;
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

.smsr-single .smsr-photo-thumbs {
	flex: 0 0 auto;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 8px 0 0;
	gap: 8px;
}

@media (min-width: 480px) {
	.smsr-single .smsr-photo-main {
		max-width: 100%;
	}
}

@media (min-width: 600px) and (max-width: 959px) {
	.smsr-single .smsr-photo-main {
		max-width: 100%;
	}
}

@media (min-width: 960px) {
	.smsr-single {
		max-width: 1140px;
		padding: 0 1.5rem;
	}

	.smsr-single-main {
		gap: 2.5rem;
	}

	.smsr-single-row-top {
		display: grid;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		gap: 2.5rem 3rem;
		align-items: start;
	}

	.smsr-single-gallery {
		margin: 0;
		justify-content: flex-start;
		position: sticky;
		top: 1.5rem;
	}

	.smsr-single .smsr-gallery-view {
		justify-content: flex-start;
	}

	.smsr-single-row-bottom {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.smsr-single-row-bottom .smsr-tips {
		grid-template-columns: repeat(3, 1fr);
	}

	.smsr-single-recommends {
		text-align: center;
		margin: 0;
	}

	.smsr-single .smsr-product-cta {
		text-align: left;
		margin-top: 0;
	}
}

.smsr-single-row-bottom {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.smsr-single-recommends {
	text-align: center;
	margin: 0;
}

.smsr-single .smsr-photo-thumb.is-active {
	border-color: var(--smsr-star);
}

.smsr-single .smsr-product-cta {
	text-align: center;
	margin: 0;
}

.smsr-photo-main {
	position: relative;
}

.smsr-photo {
	display: none;
	margin: 0;
}

.smsr-photo.is-active {
	display: block;
}

.smsr-photo img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.smsr-photo-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.smsr-photo-thumb {
	width: 64px;
	height: 64px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	background: none;
}

.smsr-photo-thumb.is-active {
	border-color: currentColor;
}

.smsr-photo-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.smsr-review-text {
	margin: 1.2em 0;
}

.smsr-details {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92em;
}

.smsr-details th,
.smsr-details td {
	text-align: left;
	padding: 0.55em 0.8em;
	border-bottom: 1px solid var(--smsr-border);
	vertical-align: top;
}

.smsr-details th {
	width: 44%;
	font-weight: 600;
}

.smsr-tips {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.smsr-tips {
		grid-template-columns: repeat(3, 1fr);
	}

	.smsr-single .smsr-tips {
		grid-template-columns: 1fr;
	}
}

.smsr-tip {
	border: 1px solid var(--smsr-border);
	border-left-width: 4px;
	border-radius: 8px;
	padding: 0.8em 1em;
}

.smsr-tip-plus {
	border-left-color: #2e7d32;
}

.smsr-tip-minus {
	border-left-color: #b32d2e;
}

.smsr-tip-wish {
	border-left-color: #dba617;
}

.smsr-tip-title {
	margin: 0 0 0.4em;
	font-size: 0.95em;
}

.smsr-tip p {
	margin: 0;
	font-size: 0.92em;
}

.smsr-recommends {
	font-weight: 600;
	margin: 0;
}

.smsr-tips .smsr-recommends {
	grid-column: 1 / -1;
}

.smsr-recommends-yes {
	color: #2e7d32;
}

.smsr-recommends-no {
	color: var(--smsr-muted);
}

.smsr-product-cta {
	margin: 1.6em 0;
}

/* Report */

.smsr-report {
	margin-top: 2.5em;
	padding-top: 1em;
	border-top: 1px solid var(--smsr-border);
}

.smsr-report-toggle {
	background: none;
	border: 0;
	padding: 0;
	font-size: 0.82em;
	color: var(--smsr-muted);
	text-decoration: underline;
	cursor: pointer;
}

.smsr-report-form {
	margin-top: 0.8em;
	max-width: 480px;
}

.smsr-report-form textarea {
	width: 100%;
	box-sizing: border-box;
	margin: 0.3em 0 0.6em;
}

.smsr-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.smsr-report-thanks {
	font-size: 0.9em;
	color: var(--smsr-muted);
}

/* ---------- Gallery ---------- */

.smsr-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	padding: 0.9em;
	border: 1px solid var(--smsr-border);
	border-radius: 8px;
	background: var(--smsr-bg-soft);
	margin: 0 0 1.4em;
}

.smsr-filter {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
	font-size: 0.88em;
	flex: 1 1 140px;
	min-width: 130px;
}

.smsr-filter-check {
	flex-direction: row;
	align-items: center;
	gap: 0.5em;
	flex: none;
	padding-bottom: 0.4em;
}

.smsr-pagination ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0;
	margin: 1.4em 0;
	justify-content: center;
}

.smsr-pagination .page-numbers {
	display: inline-block;
	padding: 0.4em 0.8em;
	border: 1px solid var(--smsr-border);
	border-radius: 6px;
	text-decoration: none;
	color: inherit;
}

.smsr-pagination .page-numbers.current {
	border-color: currentColor;
	font-weight: 600;
}

/* ---------- Empty states ---------- */

.smsr-empty {
	text-align: center;
	padding: 2.5em 1em;
	border: 1px dashed var(--smsr-border);
	border-radius: 8px;
	margin: 1em 0;
}

/* ---------- My Account ---------- */

.smsr-account-cta {
	margin-bottom: 1.2em;
}

.smsr-account-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.smsr-account-item {
	display: flex;
	gap: 14px;
	border: 1px solid var(--smsr-border);
	border-radius: 8px;
	padding: 0.9em;
	margin: 0;
}

.smsr-account-thumb {
	width: 84px;
	flex: none;
}

.smsr-account-thumb img,
.smsr-account-thumb .smsr-card-placeholder {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 6px;
}

.smsr-account-body {
	flex: 1;
	min-width: 0;
}

.smsr-account-title {
	margin: 0 0 0.2em;
}

.smsr-account-product {
	margin: 0 0 0.4em;
	font-size: 0.88em;
	color: var(--smsr-muted);
}

.smsr-account-status {
	margin: 0 0 0.6em;
	display: flex;
	align-items: center;
	gap: 0.6em;
	flex-wrap: wrap;
}

.smsr-account-date {
	font-size: 0.82em;
	color: var(--smsr-muted);
}

.smsr-refusal-reason {
	margin: 0.6em 0;
	padding: 0.5em 0.9em;
	border-left: 3px solid #b32d2e;
	background: var(--smsr-bg-soft);
	font-size: 0.9em;
}

.smsr-account-actions {
	display: flex;
	gap: 0.8em;
	align-items: center;
	flex-wrap: wrap;
	margin: 0;
}

.smsr-inline-form {
	display: inline-block;
	margin: 0;
}

@media (max-width: 480px) {
	.smsr-account-item {
		flex-direction: column;
	}
}
