/*
Theme Name: SolarPV Independent Site
Theme URI: https://example.com/solarpv-independent-site
Author: Codex
Author URI: https://openai.com
Description: A scene-based B2B WordPress theme for solar lighting, off-grid home kits, RV solar panels, backup power and wholesale inquiry flows.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solarpv-independent-site
Tags: custom-logo, featured-images, wide-blocks, block-styles, portfolio, e-commerce
*/

:root {
    --color-ink: #12201b;
    --color-muted: #5f6e68;
    --color-line: #dde6e1;
    --color-surface: #ffffff;
    --color-soft: #f3f7f5;
    --color-green: #075f45;
    --color-green-dark: #063f31;
    --color-amber: #f5b72f;
    --color-blue: #2c6f9f;
    --color-error: #b42318;
    --shadow-soft: 0 18px 45px rgba(13, 44, 34, 0.12);
    --shadow-card: 0 10px 30px rgba(18, 32, 27, 0.08);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-surface);
    font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-green);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    border-bottom: 1px solid rgba(221, 230, 225, 0.82);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(160%) blur(16px);
    transition: box-shadow 160ms ease, background 160ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 26px rgba(18, 32, 27, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.admin-bar .site-header {
    top: 32px;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand img {
    width: auto;
    max-height: 52px;
}

.brand-mark {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 2px solid var(--color-green);
    border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
    content: "";
    position: absolute;
    background: var(--color-green);
}

.brand-mark::before {
    width: 2px;
    height: 46px;
}

.brand-mark::after {
    width: 46px;
    height: 2px;
}

.brand-mark span {
    width: 13px;
    height: 13px;
    background: var(--color-amber);
    border-radius: 50%;
}

.brand-mark span::before {
    width: 18px;
    height: 2px;
    transform: rotate(45deg);
}

.brand-mark span::after {
    width: 18px;
    height: 2px;
    transform: rotate(-45deg);
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 1rem;
    color: var(--color-green-dark);
}

.brand-text em {
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-style: normal;
}

.primary-nav {
    margin-left: auto;
}

.menu,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav .menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.primary-nav a {
    color: var(--color-ink);
    font-size: 0.94rem;
    font-weight: 600;
}

.primary-nav a:hover {
    color: var(--color-green);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: var(--radius);
    color: #fff;
    background: var(--color-green);
    font-weight: 700;
}

.header-cta:hover {
    color: #fff;
    background: var(--color-green-dark);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
}

.nav-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-green-dark);
}

.hero-section {
    position: relative;
    min-height: min(700px, calc(100svh - 112px));
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 128px 0 82px;
    background: #dcecf5;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 44, 34, 0.82) 0%, rgba(6, 44, 34, 0.54) 38%, rgba(6, 44, 34, 0.06) 75%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container);
}

.hero-content > * {
    max-width: 570px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--color-amber);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.12;
}

h1 {
    color: #fff;
    font-size: 3.9rem;
    font-weight: 850;
}

h2 {
    font-size: 2.55rem;
    font-weight: 820;
}

h3 {
    font-size: 1.22rem;
}

.hero-copy {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--color-ink);
    background: var(--color-amber);
    box-shadow: 0 10px 24px rgba(245, 183, 47, 0.24);
}

.btn-primary:hover {
    color: var(--color-ink);
    background: #ffc948;
}

.btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.btn-ghost.dark {
    color: var(--color-green);
    border-color: var(--color-line);
    background: #fff;
}

.btn-ghost.dark:hover {
    color: var(--color-green-dark);
    border-color: var(--color-green);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    color: #fff;
    background: rgba(6, 63, 49, 0.4);
    font-size: 0.88rem;
    font-weight: 700;
}

.proof-strip {
    border-bottom: 1px solid var(--color-line);
    background: #fff;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--color-line);
}

.proof-grid > div {
    min-height: 136px;
    padding: 28px 30px;
    background: #fff;
}

.proof-icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: 50%;
    color: var(--color-green);
    background: var(--color-soft);
    font-size: 0.82rem;
    font-weight: 850;
}

.proof-grid strong {
    display: block;
    color: var(--color-green-dark);
    font-size: 1.04rem;
}

.proof-grid p {
    margin: 6px 0 0;
    color: var(--color-muted);
    font-size: 0.94rem;
}

.section {
    padding: 92px 0;
}

.section-heading {
    margin-bottom: 36px;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 50px;
    align-items: end;
}

.section-heading .eyebrow,
.solution-layout .eyebrow,
.quality-copy .eyebrow,
.contact-layout .eyebrow,
.compact-hero .eyebrow,
.archive-visual .eyebrow,
.product-detail-hero .eyebrow {
    color: var(--color-green);
}

.section-heading p,
.solution-layout > div > p,
.contact-layout > div > p,
.quality-copy p {
    color: var(--color-muted);
}

.center-heading {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.center-heading p:last-child {
    margin: 16px auto 0;
}

.product-section {
    background: var(--color-soft);
}

.product-showcase {
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.product-showcase img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    object-position: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.product-card,
.project-card,
.list-card {
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.product-card {
    min-width: 0;
}

.product-media {
    display: block;
    aspect-ratio: 1 / 0.86;
    overflow: hidden;
    background: #fff;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.product-card:hover .product-media img,
.project-card:hover .project-media img,
.list-card:hover .list-card-media img {
    transform: scale(1.04);
}

.product-crop-panel img {
    object-position: 5% center;
}

.product-crop-inverter img {
    object-position: 30% center;
}

.product-crop-battery img {
    object-position: 51% center;
}

.product-crop-mounting img {
    object-position: 72% center;
}

.product-crop-cabinet img {
    object-position: 95% center;
}

.card-body {
    padding: 20px;
}

.card-body h2,
.card-body h3 {
    margin-top: 8px;
    font-size: 1.08rem;
}

.card-body p {
    margin: 12px 0 0;
    color: var(--color-muted);
    font-size: 0.94rem;
}

.product-spec,
.project-card .card-body span,
.post-meta {
    color: var(--color-blue);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-params {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.product-params li {
    display: grid;
    gap: 3px;
    padding: 9px 10px;
    border: 1px solid rgba(221, 230, 225, 0.82);
    border-radius: var(--radius);
    background: var(--color-soft);
}

.product-params span {
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-params strong {
    color: var(--color-green-dark);
    font-size: 0.86rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--color-green);
    font-size: 0.92rem;
    font-weight: 850;
}

.text-link::after {
    content: "→";
    margin-left: 8px;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin-top: 18px;
}

.card-actions .text-link {
    margin-top: 0;
}

.quote-add {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(7, 95, 69, 0.24);
    border-radius: var(--radius);
    color: var(--color-green);
    background: var(--color-soft);
    font-size: 0.88rem;
    font-weight: 850;
}

.quote-add:hover,
.quote-add.is-added {
    color: #fff;
    border-color: var(--color-green);
    background: var(--color-green);
}

.technical-block {
    margin-top: 64px;
    padding: 34px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.technical-block .section-heading {
    margin-bottom: 24px;
}

.spec-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.spec-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    background: #fff;
}

.spec-table th,
.spec-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
    vertical-align: top;
}

.spec-table thead th {
    color: var(--color-green-dark);
    background: #eef6f2;
    font-size: 0.82rem;
    font-weight: 850;
}

.spec-table tbody th {
    color: var(--color-green-dark);
    font-size: 0.96rem;
}

.spec-table td {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: 0;
}

.solution-section {
    background: #fff;
}

.solution-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
    gap: 70px;
    align-items: center;
}

.solution-layout h2,
.quality-copy h2,
.contact-layout h2,
.compact-hero h1,
.archive-visual h1,
.product-detail-hero h1 {
    color: var(--color-ink);
}

.solution-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.solution-tabs button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    color: var(--color-ink);
    background: #fff;
    font-weight: 800;
}

.solution-tabs button.is-active {
    color: #fff;
    border-color: var(--color-green);
    background: var(--color-green);
}

.solution-panel {
    position: relative;
    min-height: 390px;
    padding: 42px;
    border-radius: var(--radius);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(6, 63, 49, 0.96), rgba(11, 98, 72, 0.9)),
        url("assets/images/site-products/visual-security-lighting.jpg") center / cover;
    box-shadow: var(--shadow-soft);
}

.solution-panel h3 {
    margin-top: 26px;
    font-size: 2rem;
}

.solution-panel p {
    color: rgba(255, 255, 255, 0.78);
}

.solution-panel ul {
    display: grid;
    gap: 12px;
    margin: 24px 0 30px;
    padding: 0;
    list-style: none;
}

.solution-panel li {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.solution-panel li::before,
.contact-points li::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--color-amber);
}

.solution-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: var(--radius);
    color: var(--color-ink);
    background: var(--color-amber);
    font-size: 0.78rem;
    font-weight: 850;
}

.package-section {
    background: #fff;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.package-card {
    display: grid;
    gap: 18px;
    padding: 26px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.package-range {
    width: max-content;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: var(--radius);
    color: var(--color-green-dark);
    background: #fff5d8;
    font-size: 0.78rem;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.package-card h3 {
    font-size: 1.42rem;
}

.package-card p {
    margin: 0;
    color: var(--color-muted);
}

.package-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.package-columns > div {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-soft);
}

.package-columns strong,
.document-strip > strong {
    display: block;
    color: var(--color-green-dark);
    font-size: 0.94rem;
}

.package-columns ul,
.document-strip ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.package-columns li,
.document-strip li {
    display: flex;
    gap: 8px;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.package-columns li::before,
.document-strip li::before {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--color-amber);
}

.package-card .quote-add {
    width: max-content;
}

.document-strip {
    margin-top: 26px;
    padding: 24px;
    border: 1px solid rgba(7, 95, 69, 0.22);
    border-radius: var(--radius);
    background: #eef6f2;
}

.document-strip ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-section {
    background: var(--color-soft);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.project-media,
.list-card-media {
    display: block;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
    background: var(--color-line);
}

.project-media img,
.list-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.quality-layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.quality-media {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.quality-media img {
    width: 100%;
    min-height: 440px;
    object-fit: cover;
}

.quality-list {
    display: grid;
    gap: 22px;
    margin-top: 30px;
}

.quality-list > div {
    padding: 0 0 22px 24px;
    border-bottom: 1px solid var(--color-line);
    border-left: 3px solid var(--color-amber);
}

.quality-list strong {
    color: var(--color-green-dark);
    font-size: 1.05rem;
}

.quality-list p {
    margin: 8px 0 0;
}

.contact-section {
    color: #fff;
    background: var(--color-green-dark);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
    gap: 70px;
    align-items: start;
}

.contact-layout h2,
.contact-layout .eyebrow {
    color: #fff;
}

.contact-layout > div > p,
.contact-points {
    color: rgba(255, 255, 255, 0.76);
}

.contact-points {
    display: grid;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.contact-points li {
    display: flex;
    gap: 10px;
}

.inquiry-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.inquiry-form label,
.inquiry-form .wide,
.form-status,
.inquiry-form button {
    grid-column: span 2;
}

.inquiry-form label:not(.wide) {
    grid-column: span 1;
}

.inquiry-form span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    font-weight: 700;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.inquiry-form input,
.inquiry-form select {
    min-height: 46px;
    padding: 0 14px;
}

.inquiry-form textarea {
    resize: vertical;
    padding: 12px 14px;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    border-color: var(--color-amber);
    box-shadow: 0 0 0 3px rgba(245, 183, 47, 0.18);
}

.inquiry-form ::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.inquiry-form option {
    color: var(--color-ink);
}

.form-status {
    margin: 0;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 700;
}

.form-status.success {
    color: #0f3b2f;
    background: #dff7ea;
}

.form-status.error {
    color: #fff;
    background: var(--color-error);
}

.quote-dock {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    color: var(--color-ink);
}

.quote-floating {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    padding: 0 16px 0 18px;
    border: 0;
    border-radius: var(--radius);
    color: #fff;
    background: var(--color-green);
    box-shadow: 0 18px 40px rgba(7, 95, 69, 0.26);
    font-weight: 850;
}

.quote-floating strong {
    display: inline-grid;
    min-width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    color: var(--color-ink);
    background: var(--color-amber);
    font-size: 0.86rem;
}

.quote-panel {
    position: absolute;
    right: 0;
    bottom: 66px;
    width: min(380px, calc(100vw - 32px));
    max-height: min(620px, calc(100svh - 110px));
    display: none;
    overflow: auto;
    padding: 22px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 70px rgba(18, 32, 27, 0.22);
}

.quote-panel.is-open {
    display: block;
}

.quote-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.quote-panel-header p {
    margin: 0 0 4px;
    color: var(--color-green);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.quote-panel-header h2 {
    font-size: 1.25rem;
}

.quote-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    color: var(--color-ink);
    background: #fff;
    font-size: 1.4rem;
    line-height: 1;
}

.quote-empty {
    margin: 0;
    padding: 16px;
    border: 1px dashed var(--color-line);
    border-radius: var(--radius);
    color: var(--color-muted);
    background: var(--color-soft);
}

.quote-empty.is-hidden {
    display: none;
}

.quote-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.quote-item {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
}

.quote-item-main {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.quote-item strong {
    display: block;
    color: var(--color-green-dark);
    line-height: 1.35;
}

.quote-item span {
    display: block;
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 0.86rem;
}

.quote-item-remove {
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    color: var(--color-muted);
    background: #fff;
    line-height: 1;
}

.quote-item-remove:hover {
    color: #fff;
    border-color: var(--color-error);
    background: var(--color-error);
}

.quote-qty {
    display: inline-flex;
    width: max-content;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.quote-qty button,
.quote-qty output {
    width: 34px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border: 0;
    background: #fff;
    color: var(--color-ink);
}

.quote-qty output {
    border-inline: 1px solid var(--color-line);
    font-weight: 850;
}

.quote-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 10px;
    margin-top: 18px;
}

.quote-clear {
    min-height: 48px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    color: var(--color-muted);
    background: #fff;
    font-weight: 800;
}

.quote-toast {
    position: fixed;
    right: 22px;
    bottom: 88px;
    z-index: 90;
    max-width: min(320px, calc(100vw - 44px));
    padding: 12px 14px;
    border-radius: var(--radius);
    color: #fff;
    background: var(--color-green-dark);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease;
    pointer-events: none;
}

.quote-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background: #071f19;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 42px;
    padding: 58px 0 40px;
}

.brand-footer {
    color: #fff;
}

.brand-footer .brand-text strong,
.brand-footer .brand-text em {
    color: #fff;
}

.footer-brand p {
    max-width: 360px;
    margin: 20px 0 0;
}

.site-footer h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 1rem;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--color-amber);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 84px;
}

.compact-hero {
    background: var(--color-soft);
}

.compact-hero p {
    max-width: 720px;
    color: var(--color-muted);
}

.archive-visual {
    min-height: 440px;
    display: flex;
    align-items: end;
    color: #fff;
    background: var(--color-green-dark);
}

.archive-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 31, 25, 0.86), rgba(6, 31, 25, 0.35));
}

.archive-visual > img,
.archive-visual > .wp-post-image,
.archive-visual > picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.archive-visual > picture img,
.archive-visual > img,
.archive-visual > .wp-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-visual .container {
    position: relative;
    z-index: 1;
}

.archive-visual h1,
.archive-visual p {
    max-width: 720px;
    color: #fff;
}

.archive-visual .eyebrow {
    color: var(--color-amber);
}

.product-detail-hero {
    padding: 150px 0 88px;
    background: var(--color-soft);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
    gap: 58px;
    align-items: center;
}

.product-detail-layout p {
    color: var(--color-muted);
}

.product-detail-media {
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.product-detail-media picture,
.product-detail-media img {
    width: 100%;
}

.product-detail-media picture {
    display: block;
}

.product-detail-media img {
    max-height: 520px;
    object-fit: cover;
}

.content-list {
    display: grid;
    gap: 20px;
}

.list-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: stretch;
}

.list-card > div {
    padding: 24px;
}

.list-card h2 {
    font-size: 1.55rem;
}

.prose {
    max-width: 820px;
}

.detail-specs {
    margin-bottom: 36px;
    padding: 26px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-soft);
}

.detail-specs h2 {
    font-size: 1.5rem;
}

.detail-specs dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0 0;
}

.detail-specs dl > div {
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
}

.detail-specs dt {
    color: var(--color-green);
    font-size: 0.8rem;
    font-weight: 850;
}

.detail-specs dd {
    margin: 6px 0 0;
    color: var(--color-ink);
}

.prose > *:first-child {
    margin-top: 0;
}

.prose p,
.prose li {
    color: var(--color-muted);
}

.prose a {
    color: var(--color-green);
    font-weight: 700;
}

.prose img,
.featured-figure {
    border-radius: var(--radius);
}

.featured-figure {
    overflow: hidden;
    margin: 0 0 36px;
}

.pagination,
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.page-numbers {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.page-numbers.current {
    color: #fff;
    border-color: var(--color-green);
    background: var(--color-green);
}

.product-grid .navigation,
.project-grid .navigation {
    grid-column: 1 / -1;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 1120px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .package-grid,
    .document-strip ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 920px) {
    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    .nav-toggle {
        display: inline-block;
    }

    .primary-nav {
        position: fixed;
        top: 72px;
        left: 16px;
        right: 16px;
        display: none;
        padding: 18px;
        border: 1px solid var(--color-line);
        border-radius: var(--radius);
        background: #fff;
        box-shadow: var(--shadow-soft);
    }

    .admin-bar .primary-nav {
        top: 104px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav .menu {
        display: grid;
        gap: 12px;
    }

    .header-cta {
        display: none;
    }

    .hero-section {
        min-height: min(600px, calc(100svh - 92px));
        padding: 112px 0 58px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(6, 44, 34, 0.86), rgba(6, 44, 34, 0.34));
    }

    h1 {
        font-size: 2.65rem;
    }

    h2 {
        font-size: 2rem;
    }

    .split-heading,
    .solution-layout,
    .quality-layout,
    .contact-layout,
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .proof-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .package-grid {
        grid-template-columns: 1fr;
    }

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

    .quality-media img {
        min-height: 320px;
    }

    .list-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .header-inner {
        min-height: 66px;
    }

    .brand-text strong {
        font-size: 0.95rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .primary-nav {
        top: 66px;
    }

    .hero-section {
        min-height: min(560px, calc(100svh - 86px));
        padding: 96px 0 48px;
    }

    .hero-image {
        object-position: 62% center;
    }

    .hero-overlay {
        background: rgba(6, 44, 34, 0.72);
    }

    h1 {
        font-size: 2.05rem;
    }

    h2 {
        font-size: 1.72rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-proof {
        display: none;
    }

    .proof-grid > div {
        min-height: 112px;
        padding: 22px;
    }

    .section {
        padding: 64px 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-media {
        aspect-ratio: 1.5 / 1;
    }

    .technical-block,
    .package-card,
    .document-strip {
        padding: 20px;
    }

    .package-columns,
    .document-strip ul,
    .detail-specs dl {
        grid-template-columns: 1fr;
    }

    .package-card .quote-add {
        width: 100%;
    }

    .solution-panel {
        min-height: auto;
        padding: 28px;
    }

    .solution-panel h3 {
        font-size: 1.55rem;
    }

    .inquiry-form,
    .inquiry-form label:not(.wide) {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }

    .inquiry-form label,
    .inquiry-form .wide,
    .form-status,
    .inquiry-form button {
        grid-column: span 1;
    }

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-bottom {
        display: grid;
    }

    .quote-dock {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .quote-floating {
        width: 100%;
        justify-content: center;
    }

    .quote-panel {
        right: 0;
        left: 0;
        width: auto;
        bottom: 64px;
        max-height: min(560px, calc(100svh - 96px));
    }

    .quote-actions {
        grid-template-columns: 1fr;
    }

    .page-hero,
    .product-detail-hero {
        padding: 118px 0 62px;
    }
}

/* Scene-based solar trade site overrides. */
.hero-section {
    min-height: min(760px, calc(100svh - 64px));
    background: #1f2824;
}

.hero-media,
.hero-media picture {
    position: absolute;
    inset: 0;
}

.hero-image {
    object-position: center;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(21, 29, 26, 0.94) 0%, rgba(21, 29, 26, 0.76) 42%, rgba(21, 29, 26, 0.12) 76%),
        linear-gradient(0deg, rgba(245, 183, 47, 0.1), rgba(245, 183, 47, 0));
}

.hero-content > * {
    max-width: 680px;
}

.hero-content h1 {
    letter-spacing: 0;
}

.proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scenario-section {
    background: #fff;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.scenario-card,
.market-card {
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.scenario-media {
    display: block;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    background: #1d2824;
}

.scenario-media picture,
.scenario-media img,
.product-media picture,
.product-media img,
.quality-media picture,
.quality-media img {
    width: 100%;
    height: 100%;
}

.scenario-media img,
.product-media img,
.quality-media img {
    object-fit: cover;
}

.scenario-body {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.scenario-body span,
.market-card span {
    color: var(--color-blue);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.scenario-body p,
.market-card p,
.profit-note {
    margin: 0;
    color: var(--color-muted);
}

.scenario-body strong {
    color: var(--color-green-dark);
    font-size: 0.92rem;
    line-height: 1.45;
}

.product-section {
    background: #f6f3eb;
}

.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    display: grid;
    grid-template-rows: auto 1fr;
}

.product-media {
    aspect-ratio: 1.2 / 1;
    background: #f8f6ef;
}

.card-body {
    display: flex;
    flex-direction: column;
}

.product-params {
    margin-top: 18px;
}

.profit-note {
    margin-top: 16px;
    padding: 12px 14px;
    border-left: 3px solid var(--color-amber);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: #fff8df;
    font-size: 0.9rem;
}

.card-actions {
    margin-top: auto;
    padding-top: 20px;
}

.market-section {
    background: #fff;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.market-card {
    min-height: 230px;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
        linear-gradient(135deg, rgba(245, 183, 47, 0.18), rgba(44, 111, 159, 0.12));
}

.market-card h3 {
    margin-top: 18px;
    font-size: 1.35rem;
}

.market-card p {
    margin-top: 14px;
}

.package-section {
    background: var(--color-soft);
}

.package-card {
    background: #fff;
}

.document-strip {
    background: #fff;
}

.quality-section {
    background: #fff;
}

.quality-media {
    border-radius: var(--radius);
    background: #1e2824;
}

.quality-media picture {
    display: block;
}

.quality-copy h2 {
    max-width: 780px;
}

.contact-section {
    background:
        linear-gradient(135deg, rgba(6, 63, 49, 0.98), rgba(22, 36, 32, 0.98)),
        url("assets/images/site-products/visual-flood-lighting.jpg") center / cover;
}

.inquiry-form {
    background: rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    color: var(--color-amber);
}

@media (max-width: 1100px) {
    .scenario-grid,
    .market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

@media (max-width: 640px) {
    .hero-section {
        min-height: 650px;
    }

    .hero-overlay {
        background: rgba(21, 29, 26, 0.78);
    }

    .scenario-grid,
    .market-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .scenario-media,
    .product-media {
        aspect-ratio: 1.35 / 1;
    }
}
