/* ========================================
HERO & CUSTOMER INFO SECTION
======================================== */

.customer-greeting,
.section-title {
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-bottom: 20px;
}

.customer-greeting h1 {
	font: 600 36px Frank Ruhl Libre;
	line-height: 1;
	margin: 0;
}

.customer-greeting p {
	font: 400 18px Work Sans;
	line-height: 1.5;
	margin: 0;
}

.customer-hero {
	max-width: 480px;
	margin: 0 auto;
	padding-bottom: 40px;
}

.section-title h2 {
	font: 500 28px Work Sans;
	line-height: 1.2;
	text-transform: none;
	margin: 0;
}

.section-title p {
	font: 500 16px Work Sans;
	line-height: 1.5;
	margin: 0;
	font-style: italic;
}

.emph {
	text-decoration: underline;
	font-weight: 700 !important;
}

/* ========================================
CUSTOMER INFO FIELDS
======================================== */

.customer-info .field-group {
	width: 330px;
	margin: 0 auto;
	padding: 12px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.field-group-label {
	font: 600 18px Work Sans;
	line-height: 1.5;
	margin: 0;
	letter-spacing: 0.02em;
}

.field-group-label.recommend,
.field-group-label.upload {
	font: 500 16px Work Sans;
}

.label-star {
	color: red !important;
}

.field-group .checkbox-list {
	font: 400 16px Work Sans;
	letter-spacing: 0.02em;
	line-height: 1.5;
	margin: 0;
}

.field-group .checkbox-list label {
	margin-bottom: 2px;
}

#age_group {
	border: 1px solid #8c8c9d;
	border-radius: 8px;
}

/* ========================================
PRODUCT REVIEW GRID
======================================== */

.product-review-grid {
	padding: 40px 0;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	margin: 0 auto;
	padding-top: 12px;
}

.products-grid:has(.product-review-card:only-child) {
	grid-template-columns: 1fr;
	max-width: 500px;
}

@media (max-width: 960px) {
	.products-grid {
		grid-template-columns: 1fr;
	}
}

/* ========================================
PRODUCT REVIEW CARD
======================================== */

.product-review-card {
	border: 1px solid #8c8c9d;
	border-radius: 24px;
	padding: 16px;
	background-color: #fff;
	gap: 24px;
	display: flex;
	flex-direction: column;
	max-width: 100%;
	box-sizing: border-box;
	max-height: fit-content;
}

.card-counter {
	display: flex;
	align-items: baseline;
	gap: 2px;
	padding-bottom: 8px;
}

.card-counter .current {
	font: 600 24px Work Sans;
	line-height: 1;
}

.card-counter .sep,
.card-counter .total {
	font: 500 14px Work Sans;
	line-height: 1;
}

.review-product {
	display: flex;
	gap: 20px;
	border: 1px solid #8c8c9d;
	border-radius: 8px;
	overflow: hidden;
}

.review-product {
	position: relative;
	overflow: hidden;
}

.review-product img {
	display: block;
	width: 100%;
	transition: transform 0.3s ease;
}

.review-product::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0);
	/* initial transparent */
	pointer-events: none;
}

.review-product:hover::after {
	background: rgba(0, 0, 0, 0.05);
	/* dark overlay on hover */
}

.review-product:hover img {
	transform: scale(1.05);
	/* optional zoom effect */
}

.review-product img {
	height: 126px;
	width: 126px;
	min-width: 126px;
	object-fit: cover;
	border-radius: 8px 0 0 8px;
}

.review-product-title {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	justify-content: center;
	gap: 4px;
	padding: 8px 12px 8px 0;
}

.review-product-title span {
	font: 700 14px Work Sans;
	line-height: 1.2;
	letter-spacing: 0.05em;
	margin: 0;
	color: #404040;
}

.review-product h3 {
	font: 400 16px Work Sans;
	line-height: 1.2;
	letter-spacing: 0.02em;
	margin: 0;
}

@media (max-width: 480px) {
	.review-product {
		gap: 12px;
	}

	.review-product img {
		height: 100px;
		width: 100px;
		min-width: 100px;
	}

	.review-product-title {
		padding: 8px 8px 8px 0;
	}
}

/* ========================================
PRODUCT CARD FIELDS
======================================== */

.product-review-card .field-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.product-review-card .field-group input[type="text"],
.product-review-card .field-group textarea {
	border: 1px solid #8c8c9d;
	border-radius: 8px;
}

/* ========================================
STAR RATING
======================================== */

.star-rating-input {
	display: flex;
	gap: 8px;
	flex-direction: row-reverse;
	justify-content: flex-end;
}

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

.star-rating-input label {
	cursor: pointer;
	line-height: 0 !important;
}

.star-rating-input label svg {
	transition: fill 0.2s;
}

.star-rating-input label svg path {
	fill: none;
	stroke: #45455F;
	stroke-width: 0.9px;
}

.star-rating-input input[type="radio"]:checked~label svg path {
	fill: #45455F;
}

.star-rating-input label.hover-active svg path {
	fill: #45455F;
}

/* ========================================
IMAGE UPLOAD PREVIEW
======================================== */

.image-upload-preview {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.image-preview-item {
	position: relative;
	width: 100px;
	height: 100px;
}

.image-preview-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.image-preview-item button {
	position: absolute;
	top: 3px;
	right: 3px;
	transform: translate(50%, -50%);
	background: grey;
	color: white;
	font-weight: 400;
	border: none;
	border-radius: 50%;
	padding: 0;
	width: 28px !important;
	min-width: 28px !important;
	height: 28px !important;
	min-height: 28px !important;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
}

.image-preview-item:hover button {
	background: grey;
	color: white;
	font-weight: 400;
}

/* ========================================
SUBMIT BUTTON
======================================== */

.submit-review {
	width: fit-content;
	background-color: #48455f !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 14px 24px;
	font: 500 16px Work Sans;
	letter-spacing: 0.02em;
	line-height: 1;
}

/* ========================================
SUCCESS MESSAGE
======================================== */

.review-success-message {
	text-align: center;
	padding: 20px;
	font: 500 18px Work Sans;
	color: #2e7d32;
	background-color: #e8f5e9;
	border-radius: 8px;
	margin-top: 16px;
}




.review-completion-screen {
	display: none;
	max-width: 500px;
	margin: 0px auto;
	padding: 0 16px;
	text-align: center;
}

.review-completion-title h1 {
	font: 400 36px Work Sans;
	text-align: center;
	line-height: 1 !important;
	margin: 0 !important;

}

.review-completion-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.review-completion-screen {
	/* display:flex; */
	flex-direction: column;
	align-items: center;
	gap: 24px;
}


.completion-subtitle {
	margin: 0;
	font: 400 16px Work Sans;
	text-align: center;
}

.review-completion-screen .coupon-card {
	border: 1px solid #48455f;
	background-color: #d8d8dd;
	padding: 24px;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.review-completion-screen .coupon-card .coupon-label {
	text-align: center;
	font: 500 16px Work Sans;
	text-transform: uppercase;
	line-height: 1 !important;
	margin: 0 !important;
}

.review-completion-screen .coupon-card .coupon-code-display {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	background: white;
	border-radius: 8px;
	padding: 16px 32px;
	margin-bottom: 0px;
	flex-wrap: wrap;

}

.review-completion-screen .coupon-card .coupon-code-text {
	font: 600 24px Work Sans !important;
	letter-spacing: 0.02em !important;
	line-height: 1 !important
}

.copy-btn {
	background-color: #45455f !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 8px 16px !important;
	color: white !important;
	font-size: 16px !important;
	font-family: Work Sans !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	transition: background 0.2s !important;
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
}

.copy-btn svg {
	width: 16px;
	height: 16px;
}

.coupon-details {
	margin: 0 !important;
	line-height: 1 !important;
}

.shop-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-transform: uppercase;
	background: #f2635f;
	color: white;
	text-decoration: none;
	padding: 14px 32px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	transition: background 0.2s;
}

.shop-btn svg {
	width: 20px;
	height: 20px;
}











































.coupon-card {
	align-items: center;
}

.coupon-label {

	letter-spacing: 0.05em;

}




.copy-btn:hover {
	background-color: #363647 !important;
	color: #fff !important;
}

.copy-btn.copied {
	background-color: #4caf50;
}

.coupon-badge {
	background-color: #f2635f;
	border-radius: 20px;
	padding: 8px 20px;
}

.coupon-badge span {
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
}

.coupon-terms {
	font-size: 14px;
	color: #48455f;
	margin: 0 !important;
	line-height: 1.6;
}

.shop-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #f2635f;
	color: #ffffff;
	text-decoration: none;
	padding: 16px 36px;
	border-radius: 8px;
	font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1;
	transition: background-color 0.2s;
}

.shop-btn:hover {
	background-color: #e05450;
	color: #ffffff;
}

.shop-btn svg {
	width: 20px;
	height: 20px;
}

.checkout-notice {
	font-size: 13px;
	color: #7a7a8c;
	line-height: 1.5;
	margin: 0;

}

@media only screen and (max-width: 600px) {
	.review-completion-screen {
		padding: 24px 24px;
	}

	.completion-title {
		font-size: 32px;
	}

	.completion-subtitle {
		font-size: 15px;
	}

	.coupon-card {
		padding: 20px 16px;
	}

	.coupon-code-display {
		padding: 14px 24px;
	}

	.coupon-code-text {
		font-size: 20px;
	}

	.shop-btn {
		padding: 14px 28px;
		font-size: 15px;
	}
}

@media only screen and (max-width: 400px) {
	.review-completion-screen {
		padding: 24px 16px;
	}

	.completion-title {
		font-size: 28px;
	}

	.coupon-code-display {
		padding: 12px 20px;
		gap: 12px;
	}

	.coupon-code-text {
		font-size: 18px;
		letter-spacing: 0.01em;
	}

	.shop-btn {
		padding: 12px 24px;
		font-size: 14px;
	}
}