.solar-vendor-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 16px 56px;
	background: #ffffff;
	color: #111827;
}

.solar-vendor-layout {
	display: grid;
	gap: 20px;
}

.sv-section {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
}

.sv-section h2 {
	margin: 0 0 16px;
	font-size: 1.45rem;
	line-height: 1.2;
	font-weight: 700;
}

.sv-hero-grid {
	display: grid;
	gap: 16px;
}

.sv-carousel {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: #f3f4f6;
	min-height: 260px;
}

.sv-carousel-track {
	position: relative;
	min-height: 260px;
}

.sv-carousel-slide {
	display: none;
	margin: 0;
}

.sv-carousel-slide.is-active {
	display: block;
}

.sv-carousel-slide img {
	display: block;
	width: 100%;
	height: 320px;
	object-fit: cover;
}

.sv-carousel-controls {
	position: absolute;
	left: 12px;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.sv-carousel-btn {
	pointer-events: auto;
	border: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(17, 24, 39, 0.75);
	color: #ffffff;
	font-size: 1.1rem;
	cursor: pointer;
}

.sv-carousel-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.sv-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.6);
	cursor: pointer;
}

.sv-dot.is-active {
	background: #ffffff;
}

.sv-summary-card {
	position: relative;
	background: #ffffff;
	border: 1px solid #dbe2ea;
	border-radius: 14px;
	padding: 18px;
}

.sv-title {
	margin: 0 0 8px;
	font-size: 1.8rem;
	line-height: 1.15;
	font-weight: 800;
}

.sv-rating-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 0.95rem;
}

.sv-stars {
	color: #f59e0b;
	letter-spacing: 1px;
}

.sv-summary-line {
	margin: 0 0 8px;
	color: #334155;
}

.sv-badges {
	margin: 14px 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sv-badge {
	font-size: 0.82rem;
	font-weight: 600;
	padding: 6px 10px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1e3a8a;
}

.sv-badge.is-positive {
	background: #ecfdf3;
	color: #166534;
}

.sv-summary-cta {
	display: grid;
	gap: 8px;
	margin: 14px 0 10px;
}

.sv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 14px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700;
	border: 1px solid transparent;
	cursor: pointer;
}

.sv-btn-primary {
	background: #0f766e;
	color: #ffffff;
}

.sv-btn-secondary {
	background: #ffffff;
	color: #0f172a;
	border-color: #cbd5e1;
}

.sv-btn[disabled] {
	opacity: 0.65;
	cursor: not-allowed;
}

.sv-contact-meta p {
	margin: 0 0 8px;
	font-size: 0.92rem;
	color: #475569;
}

.sv-contact-meta a {
	color: #0c4a6e;
}

.sv-rating-overview {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.sv-rating-score {
	padding: 16px;
	border-radius: 12px;
	background: #f8fafc;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 180px;
}

.sv-rating-value {
	font-size: 2.5rem;
	line-height: 1;
	font-weight: 800;
	color: #0f172a;
}

.sv-rating-max {
	font-size: 1.15rem;
	color: #64748b;
	margin-top: 4px;
}

.sv-rating-score p {
	margin: 8px 0 0;
	font-weight: 700;
	color: #0f766e;
}

.sv-rating-categories {
	display: grid;
	gap: 10px;
}

.sv-rating-item {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #ffffff;
}

.sv-rating-item span {
	color: #334155;
}

.sv-rating-item strong {
	color: #0f172a;
}

.sv-about-grid,
.sv-stats-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.sv-about-card,
.sv-stat-card {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 14px;
	background: #ffffff;
}

.sv-about-card h3,
.sv-stat-card h3 {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 700;
}

.sv-about-card p,
.sv-stat-card p {
	margin: 0;
	color: #475569;
}

.sv-about-content {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #e5e7eb;
}

.sv-service-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.sv-service-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border: 1px solid #dbe2ea;
	border-radius: 10px;
	background: #f8fafc;
}

.sv-service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #0f766e;
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 700;
}

.sv-check {
	color: #16a34a;
	font-weight: 700;
}

.sv-primary-city {
	display: inline-flex;
	padding: 8px 12px;
	border-radius: 999px;
	background: #ecfeff;
	border: 1px solid #bae6fd;
	font-weight: 700;
	color: #0f766e;
	margin-bottom: 12px;
}

.sv-area-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sv-area-link {
	display: inline-flex;
	align-items: center;
	padding: 7px 11px;
	border: 1px solid #dbe2ea;
	border-radius: 999px;
	text-decoration: none;
	background: #ffffff;
	color: #0f172a;
	font-size: 0.9rem;
}

.sv-area-link:hover {
	background: #eff6ff;
}

.sv-area-link.is-disabled {
	opacity: 0.75;
	cursor: default;
}

.sv-review-scroller {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 88%);
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 6px;
	scroll-snap-type: x mandatory;
}

.sv-review-card {
	scroll-snap-align: start;
	border: 1px solid #dbe2ea;
	border-radius: 12px;
	padding: 14px;
	background: #ffffff;
}

.sv-review-head {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: flex-start;
}

.sv-review-head h3 {
	margin: 0;
	font-size: 1rem;
}

.sv-verified-badge {
	padding: 4px 8px;
	border-radius: 999px;
	background: #ecfdf3;
	color: #166534;
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
}

.sv-review-meta,
.sv-review-rating {
	margin: 8px 0 0;
	color: #475569;
	font-size: 0.9rem;
}

.sv-review-rating {
	font-weight: 700;
	color: #0f172a;
}

.sv-review-card p:last-child {
	margin-top: 10px;
	color: #334155;
}

.sv-faq-list {
	display: grid;
	gap: 10px;
}

.sv-faq-item {
	border: 1px solid #dbe2ea;
	border-radius: 10px;
	padding: 0 12px;
	background: #ffffff;
}

.sv-faq-item summary {
	cursor: pointer;
	padding: 14px 0;
	font-weight: 700;
}

.sv-faq-answer p {
	margin: 0 0 14px;
	color: #475569;
}

.sv-final-cta {
	text-align: center;
	padding: 30px 20px;
	background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 100%);
	border-color: #cbe8ef;
}

.sv-final-cta h2 {
	margin-bottom: 10px;
}

.sv-final-cta p {
	margin: 0 auto 16px;
	max-width: 680px;
	color: #334155;
}

.sv-final-cta-actions {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

@media (min-width: 700px) {
	.solar-vendor-container {
		padding-top: 28px;
	}

	.sv-section {
		padding: 24px;
	}

	.sv-rating-overview {
		grid-template-columns: 260px 1fr;
		align-items: start;
	}

	.sv-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sv-about-grid,
	.sv-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sv-review-scroller {
		grid-auto-columns: minmax(280px, 44%);
	}
}

@media (min-width: 1024px) {
	.sv-hero-grid {
		grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
		align-items: start;
		gap: 20px;
	}

	.sv-carousel-slide img {
		height: 430px;
	}

	.sv-summary-card {
		position: sticky;
		top: 96px;
	}

	.sv-summary-cta {
		grid-template-columns: 1fr 1fr;
	}

	.sv-review-scroller {
		grid-auto-columns: minmax(300px, 32%);
	}
}

/* Hero-only redesign: scoped to avoid side effects on non-hero sections. */
.vendor-hero {
	padding: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
}

.vendor-hero .sv-hero-grid {
	grid-template-columns: 1fr;
	gap: 18px;
}

.vendor-hero .sv-carousel {
	min-height: 450px;
}

.vendor-hero .sv-carousel-track {
	min-height: 450px;
}

.vendor-hero .sv-carousel-slide img {
	height: 450px;
}

.vendor-hero .sv-carousel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.45) 100%);
	pointer-events: none;
}

.vendor-hero .sv-carousel-controls,
.vendor-hero .sv-carousel-dots {
	z-index: 2;
}

.vendor-hero .sv-summary-card {
	border: 1px solid #d1dbe7;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
	padding: 20px;
}

.vendor-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.vendor-hero__subtitle {
	margin: -4px 0 8px;
	color: #4b5563;
	font-size: 0.95rem;
}

.vendor-hero__rating-row {
	margin-bottom: 14px;
}

.vendor-hero__rating-value {
	font-size: 1.6rem;
	line-height: 1;
}

.vendor-hero__rating-count {
	color: #475569;
	font-weight: 600;
}

.vendor-hero__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 12px 0 16px;
}

.vendor-hero__stat-item {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
	padding: 10px;
	min-height: 72px;
}

.vendor-hero__stat-item span {
	display: block;
	color: #64748b;
	font-size: 0.8rem;
	margin: 0 0 5px;
}

.vendor-hero__stat-item strong {
	display: block;
	color: #0f172a;
	font-size: 0.95rem;
	line-height: 1.3;
}

.vendor-hero .sv-summary-cta {
	grid-template-columns: 1fr;
	margin: 10px 0 12px;
}

.vendor-hero .sv-btn-primary {
	background: linear-gradient(135deg, #0f766e 0%, #0c4a6e 100%);
}

.vendor-hero .sv-contact-meta {
	border-top: 1px solid #e2e8f0;
	padding-top: 10px;
}

@media (min-width: 1024px) {
	.vendor-hero .sv-hero-grid {
		grid-template-columns: minmax(0, 65%) minmax(0, 35%);
		align-items: start;
	}

	.vendor-hero .sv-summary-card {
		position: sticky;
		top: 96px;
	}
}

/* -------------------------------------------------------------------------
 * Internal links block (SolarCore\SEO\Internal_Links)
 * ---------------------------------------------------------------------- */
.sv-related-links {
	display: grid;
	gap: 28px;
}

.sv-related-links__title {
	margin: 0 0 16px;
	font-size: 1.25rem;
	line-height: 1.25;
	font-weight: 700;
	color: #0f172a;
}

.sv-related-links__vendors {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}

.sv-related-links__vendor a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	text-decoration: none;
	background: #f9fafb;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sv-related-links__vendor a:hover,
.sv-related-links__vendor a:focus {
	border-color: #0f766e;
	box-shadow: 0 1px 3px rgba(15, 118, 110, 0.18);
}

.sv-related-links__vendor-name {
	font-weight: 600;
	color: #0f172a;
	line-height: 1.3;
}

.sv-related-links__vendor-city {
	font-size: 0.85rem;
	color: #6b7280;
}

.sv-related-links__more {
	display: inline-block;
	margin-top: 16px;
	font-weight: 600;
	color: #0f766e;
	text-decoration: none;
}

.sv-related-links__more:hover,
.sv-related-links__more:focus {
	text-decoration: underline;
}

.sv-related-links__tools {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sv-related-links__tool a {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #ffffff;
	color: #0f766e;
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.sv-related-links__tool a:hover,
.sv-related-links__tool a:focus {
	background: #0f766e;
	border-color: #0f766e;
	color: #ffffff;
}

/* -------------------------------------------------------------------------
 * Review submission form (SolarCore\Reviews\Vendor_Reviews)
 * ---------------------------------------------------------------------- */
.sv-review-notice {
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 18px;
	font-weight: 500;
}

.sv-review-notice--success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.sv-review-notice--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

/* Solar-themed review form panel. */
.sv-review-form {
	position: relative;
	display: grid;
	gap: 18px;
	margin-top: 20px;
	padding: 26px 24px 24px;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background:
		radial-gradient(120% 120% at 100% 0%, rgba(245, 158, 11, 0.08), transparent 55%),
		linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
	box-shadow: 0 10px 30px -18px rgba(15, 118, 110, 0.35);
	overflow: hidden;
}

/* Animated solar accent bar across the top. */
.sv-review-form::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, #16a34a, #0f766e, #f59e0b, #16a34a);
	background-size: 300% 100%;
	animation: sv-solar-sweep 6s linear infinite;
}

@keyframes sv-solar-sweep {
	to { background-position: 300% 0; }
}

.sv-review-form__header {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* Glowing sun icon. */
.sv-review-form__sun {
	position: relative;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #fde68a, #fbbf24 45%, #f59e0b 100%);
	box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.12), 0 0 18px rgba(245, 158, 11, 0.55);
	animation: sv-sun-pulse 3.2s ease-in-out infinite;
}

@keyframes sv-sun-pulse {
	0%, 100% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.12), 0 0 16px rgba(245, 158, 11, 0.45); }
	50%      { box-shadow: 0 0 0 9px rgba(245, 158, 11, 0.05), 0 0 26px rgba(245, 158, 11, 0.75); }
}

.sv-review-form__title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	color: #0f172a;
}

.sv-review-form__note {
	margin: 2px 0 0;
	font-size: 0.9rem;
	color: #6b7280;
}

.sv-review-form__group {
	display: grid;
	gap: 8px;
}

.sv-review-form__label {
	font-weight: 600;
	font-size: 0.92rem;
	color: #0f172a;
}

.sv-review-form__req {
	color: #f59e0b;
}

/* Star rating: reverse-ordered radios so hover/checked fills leftward. */
.sv-review-form__rating {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 6px;
}

.sv-review-form__rating input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.sv-review-form__rating label {
	font-size: 2.1rem;
	line-height: 1;
	color: #d8dde4;
	cursor: pointer;
	transform-origin: center;
	transition: color 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}

.sv-review-form__rating label:hover,
.sv-review-form__rating label:hover ~ label,
.sv-review-form__rating input:checked ~ label {
	color: #f59e0b;
	filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.5));
}

.sv-review-form__rating label:hover,
.sv-review-form__rating label:hover ~ label:hover {
	transform: scale(1.18);
}

.sv-review-form__rating input:checked + label {
	animation: sv-star-pop 0.3s ease;
}

@keyframes sv-star-pop {
	0% { transform: scale(1); }
	45% { transform: scale(1.3); }
	100% { transform: scale(1); }
}

.sv-review-form__rating input:focus-visible + label {
	outline: 2px solid #0f766e;
	outline-offset: 3px;
	border-radius: 4px;
}

/* Name + email side by side on wider screens. */
.sv-review-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.sv-review-form__field {
	display: grid;
	gap: 6px;
	margin: 0;
}

.sv-review-form__field label {
	font-weight: 600;
	font-size: 0.92rem;
	color: #0f172a;
}

.sv-review-form__field input,
.sv-review-form__field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	font: inherit;
	color: #0f172a;
	background: #ffffff;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sv-review-form__field textarea {
	resize: vertical;
	min-height: 96px;
}

.sv-review-form__field input:focus,
.sv-review-form__field textarea:focus {
	border-color: #0f766e;
	outline: none;
	box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
	transform: translateY(-1px);
}

/* Solar gradient submit button with shimmer + lift. */
.sv-review-form__submit {
	position: relative;
	justify-self: start;
	overflow: hidden;
	padding: 13px 30px;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	color: #ffffff;
	cursor: pointer;
	background: linear-gradient(135deg, #16a34a 0%, #0f766e 60%, #0d9488 100%);
	box-shadow: 0 8px 20px -8px rgba(15, 118, 110, 0.7);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.sv-review-form__submit-label {
	position: relative;
	z-index: 1;
}

/* Shimmer sweep. */
.sv-review-form__submit::after {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	transform: skewX(-20deg);
}

.sv-review-form__submit:hover,
.sv-review-form__submit:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -10px rgba(15, 118, 110, 0.75);
	filter: saturate(1.1);
}

.sv-review-form__submit:hover::after,
.sv-review-form__submit:focus-visible::after {
	animation: sv-btn-shimmer 0.9s ease;
}

.sv-review-form__submit:active {
	transform: translateY(0);
}

@keyframes sv-btn-shimmer {
	to { left: 125%; }
}

/* Honeypot: hidden from humans, present for bots (inline style is the fallback). */
.sv-review-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 600px) {
	.sv-review-form__row {
		grid-template-columns: 1fr;
	}
}

/* Respect users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
	.sv-review-form::before,
	.sv-review-form__sun,
	.sv-review-form__rating input:checked + label,
	.sv-review-form__submit:hover::after {
		animation: none;
	}
	.sv-review-form__rating label,
	.sv-review-form__field input,
	.sv-review-form__field textarea,
	.sv-review-form__submit {
		transition: none;
	}
	.sv-review-form__rating label:hover,
	.sv-review-form__submit:hover {
		transform: none;
	}
}
