.shop-rating-section {
	width: min(1100px, 100%);
	max-width: 100%;
	overflow-x: clip;
}

.shop-rating-section,
.shop-rating-section * {
	box-sizing: border-box;
}

.rating-step-section {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0%;
	width: 100%;
	max-width: 100%;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(255, 179, 71, 0.22);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	overflow-x: hidden;
}

.rating-step-section.rating-dir-row {
	flex-direction: row;
}

.rating-step-section.rating-dir-column {
	flex-direction: column;
}

.rating-step-section > .rating-step-one,
.rating-step-section > .rating-step-two,
.rating-step-section > .rating-step-three,
.rating-step-section > .rating-step-placeholder {
	flex: 1 1 0;
	width: 100%;
	min-width: 0;
}

.rating-step-placeholder {
	width: min(380px, 100%);
	min-height: 64px;
	border-radius: 10px;
	border: 1px solid #ffe3a1;
}

@media (max-width: 668px) {
	.rating-step-section {
		width: 100%;
		gap: 2px;
		flex-direction: column !important;
	}

	.rating-step-placeholder {
		width: 100%;
	}

	.rating-step-section > .rating-step-one,
	.rating-step-section > .rating-step-two,
	.rating-step-section > .rating-step-three,
	.rating-step-section > .rating-step-placeholder {
		flex: 1 1 auto;
		width: 100%;
	}
}

/* ═══════════════════════════════════════════════════════════════
	 STEP 1 — Évaluation et avis (layout demandé)
═══════════════════════════════════════════════════════════════ */
.rs1-root {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	/* padding: 4px 8px; */
	gap: 4px;
}

/* Row center space-between : titre + bouton */
.rs1-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 4px;
}

.rs1-title {
	color: #ffb800;
	font-size: clamp(0.85rem, .65rem, 0.72rem);
	font-weight: bold;
	letter-spacing: 0.2px;
}

/* Bouton Voir plus + icon ArrowForwardiOS */
.rs1-see-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	background: blueviolet;
	color: #fff;
	border: 1px solid rgba(138, 43, 226, 0.35);
	border-radius: 8px;
	padding: 4px 6px;
	font-size: 0.56rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.rs1-see-more-btn svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rs1-see-more-btn:hover {
	background: #ffb800;
	transform: translateY(-1px);
}

/* Row center center, flex 50% 50% */
.rs1-main {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 4px;
}

.rs1-left {
	flex: 1 1 30%;
}
.rs1-list {
	flex: 1 1 70%;
}

/* Colonne note */
.rs1-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

/* Row note + /5 */
.rs1-note-row {
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.rs1-note {
	font-size: 2.7rem;
	font-weight: 700;
	line-height: 1;
	color: #ffb800;
}

.rs1-note-out-of {
	font-size: 0.65rem;
	color: #9f9f9f;
	padding-top: 4px;
}

.rs1-review-count {
	font-size: 0.75rem;
	color: blueviolet;
	text-align: center;
	white-space: nowrap;
}

/* Liste en colonne center start */
.rs1-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 4px;
}

/* item row start center */
.rs1-item-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 2px;
}

.rs1-item-icon,
.rs1-item-int {
	color: #ffb800;
	font-size: 0.86rem;
	font-weight: 700;
}

.rs1-item-icon {
	width: 14px;
	text-align: center;
}

.rs1-item-int {
	width: 14px;
}

/* Barre simulée active/inactive */
.rs1-bar-track {
	flex: 1;
	height: 8px;
	background: #ececec;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(255, 184, 0, 0.2);
}

.rs1-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #ffb800, #ff8a00);
	border-radius: 8px;
	box-shadow: 0 0 8px rgba(255, 184, 0, 0.35);
	transition: width 0.25s ease;
}

.rs1-item-count {
	color: blueviolet;
	font-size: 0.76rem;
	min-width: 26px;
	text-align: right;
}

/* ═══════════════════════════════════════════════════════════════
	 STEP 2 — Distribution des étoiles
═══════════════════════════════════════════════════════════════ */
.rating-step-two {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 4px 8px;
	min-width: 0;
	flex: 1 1 0;
}

.s2-root {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.s2-star-list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: center;
	gap: 4px;
	width: 100%;
}

.s2-star-list.s2-star-list-hidden {
	display: none;
}

.s2-star-btn {
	width: 100%;
	border: none;
	background: transparent;
	color: #8a8a8a;
	border-radius: 8px;
	padding: 2px 0;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease;
}

.s2-star-btn i {
	font-size: 2.05rem;
}

.s2-star-btn:focus-visible,
.s2-star-btn.active {
	color: #8a8a8a;
	box-shadow: none;
	outline: none;
}

.s2-star-btn.is-solid {
	color: #ffb800;
	text-shadow: 0 0 10px rgba(255, 184, 0, 0.35);
}

.s2-star-btn.s2-star-pop {
	animation: s2StarPop 260ms ease;
}

@keyframes s2StarPop {
	0%   { transform: scale(0.92); }
	55%  { transform: scale(1.16); }
	100% { transform: scale(1); }
}

.s2-help-text {
	color: #169b45;
	font-size: 0.78rem;
	line-height: 1.35;
	text-align: center;
	max-width: 95%;
}

.s2-input-stack {
	position: relative;
	width: 100%;
}

.s2-inline-media-list {
	position: absolute;
	top: -30px;
	left: 4px;
	right: 4px;
	display: none;
	align-items: center;
	justify-content: flex-start;
	gap: 2px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	z-index: 299;
}

.s2-inline-media-list::-webkit-scrollbar {
	display: none;
}

.s2-inline-media-list.has-items {
	display: flex;
}

.s2-inline-media-item {
	position: relative;
	width: 34px;
	height: 34px;
	min-width: 34px;
	border-radius: 8px;
	aspect-ratio: 1 / 1;
	overflow: visible;
	border: 1px solid rgba(138, 43, 226, 0.24);
	background: #ffffff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
	padding: 1px;
	cursor: pointer;
	transition: transform 0.18s ease;
}

.s2-inline-media-item:hover {
	transform: scale(1.08);
}

.s2-inline-media-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 6px;
	display: block;
	background: #f4f4f4;
	overflow: hidden;
}

.s2-inline-media-remove {
	position: absolute;
	top: -5px;
	right: -5px;
	z-index: 3;
	width: 15px;
	height: 15px;
	border: none;
	border-radius: 50%;
	background: rgba(18, 18, 18, 0.85);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	transition: background 0.18s ease, transform 0.18s ease;
}

.s2-inline-media-remove i {
	font-size: 0.5rem;
}

.s2-inline-media-remove:hover,
.s2-inline-media-remove:focus-visible {
	background: #d92d20;
	transform: scale(1.15);
	outline: none;
}

.s2-input-loading-cover {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #ff8a00;
	color: #ffffff;
	border-radius: 10px;
	padding: 6px 8px;
	font-size: 0.82rem;
	font-weight: 600;
	min-height: 42px;
}

.s2-input-loading-cover.is-visible {
	display: flex;
}

.s2-input-loading-cover.is-success {
	background: #169b45;
}

.s2-send-spinner {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	animation: s2BtnSpin 0.7s linear infinite;
	flex-shrink: 0;
}

.s2-input-error-msg {
	display: none;
	color: #c62828;
	font-size: 0.72rem;
	padding: 2px 4px;
}

.s2-input-error-msg.is-visible {
	display: block;
}

.s2-input-row {
	width: 100%;
	max-width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: 1px solid #c9c9c9;
	border-radius: 10px;
	padding: 6px 8px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.s2-input-row:focus-within {
	border-color: #ffb800;
	box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.16);
}

.s2-prefix,
.s2-prefix-btn {
	color: #8f8f8f;
	font-size: 0.92rem;
	flex-shrink: 0;
}

.s2-prefix-btn {
	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
}

.s2-prefix-btn:hover,
.s2-prefix-btn:focus-visible {
	color: #ffb800;
	outline: none;
}

.s2-input {
	border: none;
	outline: none;
	background: transparent;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	font-size: 0.78rem;
	color: #ff8a00;
}

.s2-input::placeholder {
	color: #8f8f8f;
}

.s2-suffix {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-shrink: 0;
}

.s2-icon-btn {
	border: 1px solid blueviolet;
	background: #fff;
	color: blueviolet;
	border-radius: 8px;
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.s2-icon-btn:hover,
.s2-icon-btn:focus-visible,
.s2-icon-btn.active {
	border-color: #ffb800;
	color: #ffb800;
	box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.16);
	outline: none;
}

.s2-float-toast {
	position: fixed;
	left: 50%;
	bottom: 50%;
	transform: translateX(-50%);
	z-index: 999999;
	background: linear-gradient(90deg, #ffd56a 0%, #fff7dc 50%, #ffb347 100%);
	color: #8a4b00;
	padding: 8px 12px;
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(255, 165, 0, 0.3);
	font-size: 0.82rem;
	font-weight: 600;
	text-align: center;
	max-width: min(92vw, 760px);
	animation: s2ToastIn 220ms ease;
	opacity: 1;
	transition: opacity 260ms ease, transform 260ms ease;
}

.s2-float-toast.hide {
	opacity: 0;
	transform: translateX(-50%) translateY(10px);
}

.s2-post-rate-wrap {
	position: fixed;
	inset: 0;
	z-index: 1000001;
	background: rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
}

.s2-post-rate-card {
	width: min(420px, 95vw);
	background: linear-gradient(145deg, #fff7e8 0%, #ffb347 100%);
	border-radius: 22px;
	box-shadow: 0 18px 38px rgba(255, 138, 0, 0.35);
	padding: 16px 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.s2-post-rate-text {
	margin: 0;
	font-size: 1.08rem;
	font-weight: 700;
	text-align: center;
	color: #8a4b00;
}

.s2-post-rate-row {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.s2-post-rate-btn {
	flex: 1 1 0;
	min-width: 0;
	border: 1px solid rgba(138, 75, 0, 0.25);
	background: none;
	color: #9c9c9c;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.s2-post-rate-btn i {
	font-size: 2rem;
}

.s2-post-rate-btn:hover,
.s2-post-rate-btn:focus-visible {
	color: #ff8a00;
	border-color: #ff8a00;
	transform: translateY(-1px);
	outline: none;
}

@keyframes s2ToastIn {
	0% {
		opacity: 0;
		transform: translateX(-50%) translateY(10px);
	}
	100% {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

/* ═══════════════════════════════════════════════════════════════
	 REVIEW MODAL — Avis complet
═══════════════════════════════════════════════════════════════ */
.s2-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.46);
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: s2ModalOverlayIn 220ms ease forwards;
}

.s2-modal-overlay.s2-modal-overlay--hide {
	animation: s2ModalOverlayOut 280ms ease forwards;
}

@keyframes s2ModalOverlayIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes s2ModalOverlayOut {
	from { opacity: 1; }
	to   { opacity: 0; }
}

.s2-modal {
	background: #ffffff;
	border-radius: 16px;
	padding: 18px 20px;
	width: min(460px, 92vw);
	min-height: 100%;
    height: 100%;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
	animation: s2ModalIn 280ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.s2-modal-overlay.s2-modal-overlay--hide .s2-modal {
	animation: s2ModalOut 280ms ease forwards;
}

@keyframes s2ModalIn {
	from { opacity: 0; transform: translateY(24px) scale(0.95); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes s2ModalOut {
	from { opacity: 1; transform: translateY(0) scale(1); }
	to   { opacity: 0; transform: translateY(24px) scale(0.95); }
}

.s2-modal-header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.s2-modal-skip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: none;
	color: #e03030;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	padding: 3px 6px;
	border-radius: 6px;
	transition: opacity 0.18s ease;
}

.s2-modal-skip:hover {
	opacity: 0.72;
}

.s2-modal-stars-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.s2-modal-star {
	font-size: 1.65rem;
	color: #d0d0d0;
}

.s2-modal-star.s2-modal-star--solid {
	color: #ffb800;
}

.s2-modal-msg {
	font-size: 0.9rem;
	color: #111111;
	text-align: center;
	margin: 0;
	font-weight: 500;
	line-height: 1.45;
}

.s2-modal-textarea-wrap {
	width: 100%;
	position: relative;
}

.s2-modal-textarea {
	width: 100%;
	min-height: 82px;
	resize: vertical;
	border: 1px solid #d0d0d0;
	border-radius: 10px;
	padding: 10px 12px 26px 12px;
	font-size: 0.82rem;
	color: #333333;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	font-family: inherit;
	box-sizing: border-box;
}

.s2-modal-textarea:focus {
	border-color: #ffb800;
	box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.16);
}

.s2-modal-char {
	position: absolute;
	right: 10px;
	bottom: 8px;
	font-size: 0.68rem;
	color: #aaaaaa;
	pointer-events: none;
}

.s2-modal-media-card {
	width: 100%;
	aspect-ratio: 5 / 1;
	border: 2px dashed #ffb800;
	border-radius: 12px;
	color: #ffb800;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	font-size: 0.78rem;
	text-align: center;
	padding: 4px 8px;
	transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
	animation: s2MediaPulse 2.6s ease-in-out infinite;
	box-sizing: border-box;
}

.s2-modal-media-card:hover,
.s2-modal-media-card:focus-visible {
	background: rgba(255, 184, 0, 0.08);
	box-shadow: 0 0 16px rgba(255, 184, 0, 0.34);
	transform: scale(1.01);
	outline: none;
}

.s2-modal-media-card.is-dragging {
	background: rgba(255, 184, 0, 0.14);
	box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.25);
	transform: scale(1.01);
}

.s2-modal-media-card.has-media {
	animation: none;
}

.s2-modal-media-card.s2-modal-media-card--hidden {
	display: none;
}

.s2-modal-media-card i {
	font-size: 1.25rem;
	flex-shrink: 0;
}

.s2-modal-media-addrow {
	display: none;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	align-self: flex-end;
	border: 1px solid #ffb800;
	background: #e6e6e6;
	color: #ffb800;
	border-radius: 12px;
	padding: 5px 10px;
	font-size: 0.76rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.s2-modal-media-addrow.s2-modal-media-addrow--visible {
	display: inline-flex;
}

.s2-modal-media-addrow:hover,
.s2-modal-media-addrow:focus-visible,
.s2-modal-media-addrow.is-dragging {
	background: #ffb800;
	color: #ffffff;
	box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.24);
	outline: none;
}

.s2-modal-media-meta {
	width: 100%;
	text-align: left;
	font-size: 0.72rem;
	color: #a56a00;
}

.s2-modal-media-preview {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 4px;
	overflow-x: auto;
	overflow-y: visible;
	padding-bottom: 8px;
	scrollbar-width: thin;
}

.s2-modal-media-preview.has-items {
	min-height: 85px;
}

.s2-modal-error {
	width: 100%;
	min-height: 0;
	display: none;
	font-size: 0.74rem;
	line-height: 1.35;
	color: #c62828;
	background: #fff3f3;
	border: 1px solid #f4b3b3;
	border-radius: 10px;
	padding: 8px 10px;
}

.s2-modal-error.is-visible {
	display: block;
}

.s2-modal-media-item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	border: 1px solid #ffd89a;
	border-radius: 10px;
    aspect-ratio: 4 / 5;
	padding: 2px;
	background: #fffdf6;
	flex: 0 0 70px;
	min-width: 70px;
	width: 70px;
	min-height: 90px;
	cursor: pointer;
}

.s2-modal-media-thumb {
	width: 100%;
	object-fit: cover;
	border-radius: 8px;
	background: #f8f8f8;
    aspect-ratio: 1 / 1;
}

.s2-modal-media-remove {
	position: absolute;
	top: 2px;
	right: 2px;
	z-index: 2;
	width: 20px;
	height: 20px;
	border: none;
	border-radius: 50%;
	background: rgba(25, 25, 25, 0.75);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.s2-modal-media-remove:hover,
.s2-modal-media-remove:focus-visible {
	background: #d92d20;
	transform: scale(1.05);
	outline: none;
}

.s2-modal-media-name {
	font-size: 0.68rem;
	color: #5f5f5f;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@keyframes s2MediaPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0); border-color: #ffb800; }
	50%       { box-shadow: 0 0 12px 4px rgba(255, 184, 0, 0.22); border-color: #ff9800; }
}

.s2-modal-anon-row {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	color: #111111;
	font-size: 0.82rem;
}

.s2-modal-anon-row > i {
	font-size: 1rem;
	color: #111111;
	flex-shrink: 0;
}

.s2-modal-anon-label {
	flex: 1;
	min-width: 0;
}

.s2-modal-anon-check {
	accent-color: blueviolet;
	width: 16px;
	height: 16px;
	cursor: pointer;
	flex-shrink: 0;
}

.s2-modal-anon-confirm {
	width: 100%;
	display: none;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	color: #888888;
	font-size: 0.78rem;
}

.s2-modal-anon-confirm.s2-modal-anon-confirm--visible {
	display: flex;
}

.s2-modal-anon-confirm i {
	font-size: 0.9rem;
	flex-shrink: 0;
}

.s2-modal-send {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: linear-gradient(90deg, #ffb800 0%, #ff7c00 100%);
	color: #ffffff;
	border: none;
	border-radius: 10px;
	padding: 11px 24px;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.18s ease;
	font-family: inherit;
}

.s2-modal-send:disabled {
	opacity: 0.92;
	cursor: wait;
	transform: none;
}

.s2-modal-send.is-loading:hover {
	background: linear-gradient(90deg, #ffb800 0%, #ff7c00 100%);
	box-shadow: none;
	transform: none;
}

.s2-btn-spinner {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	animation: s2BtnSpin 0.8s linear infinite;
	flex-shrink: 0;
}

@keyframes s2BtnSpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.s2-modal-send:hover {
	background: linear-gradient(90deg, #3b3dff 0%, #5521b5 100%);
	box-shadow: 0 4px 16px rgba(59, 61, 255, 0.28);
	transform: translateY(-1px);
}

.srt-empty {
	font-size: 0.82rem;
	color: #aaa;
	text-align: center;
	padding: 4px 0;
}

/* Ligne d'une étoile (label + barre + compteur) */
.srt-row {
	display: flex;
	align-items: center;
	gap: 2px;
}

/* Ex: "5★" */
.srt-label {
	font-size: 0.78rem;
	color: #555;
	width: 26px;
	text-align: right;
	flex-shrink: 0;
	white-space: nowrap;
}
.srt-icon { color: #ffb800; }

/* Barre de progression */
.srt-bar {
	flex: 1;
	height: 7px;
	background: #f0f0f0;
	border-radius: 4px;
	overflow: hidden;
}
.srt-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #ffb800, #ff8c00);
	border-radius: 4px;
	transition: width 0.35s ease;
}

/* Compteur à droite */
.srt-count {
	font-size: 0.74rem;
	color: #888;
	width: 26px;
	text-align: left;
	flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
	 STEP 3 — Liste des avis
═══════════════════════════════════════════════════════════════ */
.rating-step-three {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	max-width: none;
	flex: 1 1 0;
    gap: 4px;
}

.rev-loading,
.rev-empty {
	font-size: 0.62rem;
	color: #aaa;
	text-align: center;
	padding: 4px 0;
}

.rev-top-title-wrap {
	display: inline-flex;
	align-items: flex-start;
	justify-content: center;
	gap: 4px;
	min-width: 0;
}

.rev-top-title {
	font-size: 0.8rem;
	font-weight: 700;
	color: #111111;
}

.rev-top-count {
	font-size: 0.68rem;
	font-weight: 700;
	color: #ff8a00;
}

.rev-list {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.rev-card {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	padding: 2px;
	border: 1px solid #f0ece4;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.rev-head {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 4px;
}

.rev-avatar {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffb800;
	background: #fff7e8;
}
.rev-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rev-avatar-initial {
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.rev-head-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	flex: 1;
	min-width: 0;
}
.rev-author {
	font-size: 0.82rem;
	font-weight: 600;
	color: #111111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rev-rating-date {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	flex-wrap: wrap;
	min-width: 0;
}

.rev-rating-stars {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 2px;
	white-space: nowrap;
}

.rev-date {
	font-size: 0.72rem;
	color: #bbb;
	white-space: nowrap;
}

.rev-rating-star {
	font-size: 0.84rem;
	color: #cfcfcf;
}

.rev-rating-star.is-on {
	color: #ffb800;
}

.rev-comment-row {
	width: 100%;
	position: relative;
}

.rev-comment-clamp {
	margin: 0;
	font-size: 0.72rem;
	color: #111111;
	line-height: 1.5;
	max-height: calc(1.5em * 2);
	overflow: hidden;
	overflow-wrap: anywhere;
	padding-right: 5.5em;
}

.rev-see-more {
	position: absolute;
	right: 0;
	bottom: 0;
	font-size: 0.74rem;
	font-weight: 700;
	color: blueviolet;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
	cursor: pointer;
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, #ffffff 35%);
	padding-left: 2.2em;
	transition: color 0.18s ease;
}

.rev-see-more:hover,
.rev-see-more:focus-visible {
	color: #ff8a00;
	text-decoration: underline;
	outline: none;
}

.rev-media-row {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 2px;
	overflow-x: auto;
	overflow-y: hidden;
}

.rev-media-thumb-wrap {
	border: 1px solid #ffe0b2;
	background: #fff8ee;
	border-radius: 12px;
	padding: 2px;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	cursor: pointer;
}

.rev-media-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	display: block;
	background: #f3f3f3;
}

.rev-actions {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
}

.rev-action-btn {
	border: 1px solid #ece3d2;
	background: #ffffff;
	border-radius: 999px;
	padding: 7px 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.rev-action-btn i,
.rev-action-btn span {
	pointer-events: none;
}

.rev-action-btn:hover,
.rev-action-btn:focus-visible {
	transform: translateY(-1px);
	outline: none;
}

.rev-action-btn.is-like {
	color: #1f8f45;
}

.rev-action-btn.is-like.active,
.rev-action-btn.is-like:hover,
.rev-action-btn.is-like:focus-visible {
	border-color: rgba(31, 143, 69, 0.35);
	background: rgba(31, 143, 69, 0.08);
}

.rev-action-btn.is-dislike {
	color: #d92d20;
}

.rev-action-btn.is-dislike.active,
.rev-action-btn.is-dislike:hover,
.rev-action-btn.is-dislike:focus-visible {
	border-color: rgba(217, 45, 32, 0.35);
	background: rgba(217, 45, 32, 0.08);
}

.rev-action-btn.is-share {
	color: #111111;
}

.rev-action-btn.is-share:hover,
.rev-action-btn.is-share:focus-visible {
	border-color: rgba(17, 17, 17, 0.2);
	background: rgba(17, 17, 17, 0.05);
}

.rev-author,
.rev-date,
.rev-comment-clamp,
.rs1-review-count,
.s2-help-text {
	max-width: 100%;
}

@media (max-width: 768px) {
	.rating-step-one  { padding: 12px 16px; }
	.rating-step-two  { padding: 10px 12px; min-width: 140px; }
	.rating-step-three { padding: 8px 10px; max-width: 100%; }
	.rev-card { padding: 10px; }
	.rev-rating-date { gap: 4px; }
	.rev-action-btn { padding: 7px 9px; }
}
