/* Sweet Reviews - Styling matching modern cream design */

.sweet-reviews-section {
	background-color: #FAF7F2;
	padding: 60px 40px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #2c2825;
	box-sizing: border-box;
	border-radius: 8px;
}

.sweet-reviews-section * {
	box-sizing: border-box;
}

.sweet-reviews-container {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 60px;
}

/* Left Column */
.sweet-reviews-left {
	flex: 0 0 35%;
	max-width: 35%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 220px;
}

.sweet-reviews-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 38px;
	font-weight: 500;
	line-height: 1.25;
	color: #24201d;
	margin: 0 0 35px 0;
	letter-spacing: -0.3px;
}

/* Navigation Arrows under title */
.sweet-reviews-nav {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
}

.sweet-nav-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #F2ECE4;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #524b45;
	transition: all 0.25s ease;
	outline: none;
}

.sweet-nav-btn:hover {
	background-color: #E6DCD0;
	color: #1a1816;
	transform: scale(1.06);
}

.sweet-nav-btn:active {
	transform: scale(0.96);
}

.sweet-nav-btn svg {
	width: 18px;
	height: 18px;
	stroke-width: 2.2;
}

/* Right Column */
.sweet-reviews-right {
	flex: 0 0 60%;
	max-width: 60%;
	display: flex;
	flex-direction: column;
}

.sweet-reviews-slider-wrapper {
	position: relative;
	min-height: 180px;
	overflow: hidden;
}

.sweet-reviews-slider {
	position: relative;
	width: 100%;
}

.sweet-review-slide {
	display: none;
	opacity: 0;
	transform: translateX(20px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.sweet-review-slide.sweet-slide-active {
	display: block;
	opacity: 1;
	transform: translateX(0);
}

/* Review Author Header */
.sweet-review-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.sweet-review-avatar {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
}

.sweet-review-avatar img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.sweet-avatar-fallback {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #8c7866;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 22px;
	font-weight: 600;
}

.sweet-review-author-meta {
	display: flex;
	flex-direction: column;
}

.sweet-author-name {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #2c2825;
	line-height: 1.3;
}

.sweet-review-date {
	font-size: 13px;
	color: #8f857c;
	margin-top: 3px;
}

/* Review Body Text */
.sweet-review-body {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 21px;
	line-height: 1.55;
	color: #38322e;
	margin-bottom: 30px;
}

.sweet-review-body p {
	margin: 0;
}

/* Action Share Button */
.sweet-reviews-action {
	margin-top: 10px;
}

.sweet-share-btn {
	display: inline-block;
	padding: 13px 26px;
	border: 1px solid #d4c5b5;
	background-color: transparent;
	color: #4a4238;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	border-radius: 2px;
	cursor: pointer;
	transition: all 0.3s ease;
	outline: none;
}

.sweet-share-btn:hover {
	background-color: #4a4238;
	color: #ffffff;
	border-color: #4a4238;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(74, 66, 56, 0.15);
}

.sweet-reviews-empty {
	padding: 20px 0;
	color: #777;
	font-style: italic;
}

/* Modal Popup Overlay */
.sweet-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(30, 26, 23, 0.45);
	backdrop-filter: blur(4px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sweet-modal-overlay.is-active {
	opacity: 1;
	visibility: visible;
}

.sweet-modal-container {
	background-color: #FAF7F2;
	width: 100%;
	max-width: 480px;
	padding: 36px;
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
	position: relative;
	transform: translateY(20px) scale(0.97);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	border: 1px solid #EFEAE3;
}

.sweet-modal-overlay.is-active .sweet-modal-container {
	transform: translateY(0) scale(1);
}

.sweet-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.sweet-modal-close:hover {
	background-color: #EAE3DA;
	color: #222;
}

.sweet-modal-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 28px;
	font-weight: 600;
	color: #2c2825;
	margin: 0 0 6px 0;
}

.sweet-modal-subtitle {
	font-size: 14px;
	color: #7a7067;
	margin: 0 0 24px 0;
}

/* Form Styles */
.sweet-review-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.sweet-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: left;
}

.sweet-form-group label {
	font-size: 13px;
	font-weight: 600;
	color: #4a4238;
}

.sweet-form-group label .required {
	color: #d9534f;
}

.sweet-form-group input[type="text"],
.sweet-form-group textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #DCD3C9;
	border-radius: 6px;
	background-color: #FFFFFF;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #2c2825;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sweet-form-group input[type="text"]:focus,
.sweet-form-group textarea:focus {
	border-color: #8c7866;
	box-shadow: 0 0 0 3px rgba(140, 120, 102, 0.15);
}

/* File Input Wrapper */
.sweet-file-input-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
}

.sweet-file-input-wrapper input[type="file"] {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.sweet-file-name {
	display: block;
	padding: 10px 14px;
	border: 1px dashed #C8BDB2;
	border-radius: 6px;
	background-color: #F7F3EE;
	font-size: 13px;
	color: #70665d;
	text-align: center;
	transition: background-color 0.2s ease;
}

.sweet-file-input-wrapper:hover .sweet-file-name {
	background-color: #EFE9E2;
}

/* Star Rating Control */
.sweet-star-rating {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 4px;
}

.sweet-star-rating input[type="radio"] {
	display: none;
}

.sweet-star-rating label {
	font-size: 26px;
	color: #D3C9BE;
	cursor: pointer;
	transition: color 0.15s ease;
}

.sweet-star-rating label:hover,
.sweet-star-rating label:hover ~ label,
.sweet-star-rating input[type="radio"]:checked ~ label {
	color: #f59e0b;
}

/* Response alert box */
.sweet-form-response {
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.4;
}

.sweet-form-response.success {
	background-color: #e6f4ea;
	color: #137333;
	border: 1px solid #ceead6;
}

.sweet-form-response.error {
	background-color: #fce8e6;
	color: #c5221f;
	border: 1px solid #fad2cf;
}

/* Submit Button */
.sweet-submit-btn {
	width: 100%;
	padding: 14px;
	background-color: #4a4238;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.25s ease;
}

.sweet-submit-btn:hover {
	background-color: #2c2825;
}

.sweet-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Responsive Styles */
@media (max-width: 768px) {
	.sweet-reviews-container {
		flex-direction: column;
		gap: 30px;
	}

	.sweet-reviews-left,
	.sweet-reviews-right {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.sweet-reviews-left {
		min-height: auto;
	}

	.sweet-reviews-title {
		font-size: 30px;
		margin-bottom: 20px;
	}

	.sweet-review-body {
		font-size: 18px;
	}

	.sweet-modal-container {
		padding: 24px 20px;
	}
}
