:root {
    --ink: #11251d;
    --ink-soft: #33483f;
    --muted: #6c7c74;
    --line: #dfe8e2;
    --line-strong: #cedbd3;
    --green: #2f9b4b;
    --green-dark: #176532;
    --green-deep: #102d21;
    --lime: #c9ef61;
    --cream: #f6f8f4;
    --surface: #ffffff;
    --warning: #a46d13;
    --danger: #b5443f;
    --shadow-sm: 0 8px 24px rgba(24, 59, 39, .07);
    --shadow-md: 0 20px 55px rgba(18, 54, 34, .12);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --sidebar-width: 270px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.admin-menu-open {
    overflow: hidden;
}

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

img {
    max-width: 100%;
}

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

.site-main {
    min-height: 55vh;
}

.alerts-wrap {
    padding-top: 1rem;
}

.top-strip {
    background: #0d2b1e;
    color: #dceae2;
    font-size: .76rem;
    font-weight: 700;
}

.top-strip-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.top-strip span,
.top-strip a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.top-strip a:hover {
    color: var(--lime);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(206, 219, 211, .9);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 22px rgba(16, 45, 33, .04);
}

.site-header-inner {
    min-height: 82px;
    padding-inline: clamp(1rem, 4vw, 4.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    flex-shrink: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px 5px 14px 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(145deg, #7ed43e, #218b45);
    box-shadow: 0 8px 18px rgba(47, 155, 75, .24);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy b {
    font-size: 1.35rem;
    letter-spacing: -.035em;
}

.brand-copy small {
    margin-top: .35rem;
    color: #73827a;
    font-size: .49rem;
    font-weight: 800;
    letter-spacing: .24em;
}

.desktop-nav {
    align-items: center;
    gap: clamp(1.2rem, 2.5vw, 2rem);
    margin-left: auto;
}

.desktop-nav a {
    position: relative;
    padding: .7rem 0;
    color: #2f4038;
    font-size: .88rem;
    font-weight: 700;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: .35rem;
    left: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

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

.desktop-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.icon-button,
.cart-button,
.admin-link {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .65rem .9rem;
    font-size: .78rem;
    font-weight: 800;
    transition: all .18s ease;
}

.icon-button {
    width: 42px;
    padding: 0;
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 1.25rem;
}

.cart-button {
    background: #eaf5e9;
    color: var(--green-dark);
}

.admin-link {
    background: var(--green-deep);
    color: #fff;
}

.icon-button:hover,
.cart-button:hover,
.admin-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.admin-link:hover {
    color: #fff;
    background: #194331;
}

.cart-count {
    min-width: 21px;
    height: 21px;
    border-radius: 999px;
    padding-inline: .35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    font-size: .68rem;
}

.mobile-navigation {
    width: min(88vw, 360px) !important;
}

.mobile-navigation .offcanvas-header {
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.2rem;
}

.mobile-navigation .offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 1.2rem;
}

.mobile-nav-links {
    display: grid;
    gap: .35rem;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .85rem .9rem;
    border-radius: 11px;
    color: var(--ink-soft);
    font-weight: 750;
}

.mobile-nav-links a i {
    width: 23px;
    color: var(--green);
    font-size: 1.05rem;
}

.mobile-nav-links a:hover {
    background: #eef5ef;
    color: var(--green-dark);
}

.mobile-contact-card {
    margin-top: auto;
    padding: 1rem;
    border-radius: 16px;
    display: grid;
    gap: .45rem;
    background: #eff7ef;
}

.mobile-contact-card small {
    color: var(--muted);
}

.hero {
    position: relative;
    min-height: min(720px, calc(100vh - 118px));
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(5, 34, 21, .98) 0%, rgba(5, 34, 21, .88) 37%, rgba(5, 34, 21, .42) 70%, rgba(5, 34, 21, .16) 100%),
        url('/images/solar-hero.png') center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -42%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(201, 239, 97, .25);
    box-shadow: 0 0 0 80px rgba(201, 239, 97, .04), 0 0 0 160px rgba(201, 239, 97, .025);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--green);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--lime);
}

.hero h1 {
    max-width: 760px;
    margin: 1.35rem 0 1.25rem;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: .97;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.hero h1 em {
    color: var(--lime);
    font-style: normal;
}

.hero p {
    max-width: 650px;
    margin: 0;
    color: #dbe8df;
    font-size: clamp(1rem, 1.6vw, 1.17rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.7rem;
}

.btn-solar,
.btn-outline-solar {
    min-height: 50px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.25rem;
    font-size: .9rem;
    font-weight: 800;
    transition: all .2s ease;
}

.btn-solar {
    background: var(--green);
    color: #fff;
    box-shadow: 0 12px 24px rgba(47, 155, 75, .24);
}

.btn-outline-solar {
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    backdrop-filter: blur(8px);
}

.btn-solar:hover,
.btn-outline-solar:hover {
    transform: translateY(-2px);
    color: #fff;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.8rem;
    margin-top: 2rem;
    color: #d5e4da;
    font-size: .78rem;
    font-weight: 700;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
}

.hero-trust i {
    color: var(--lime);
}

.trust-strip {
    position: relative;
    z-index: 2;
    margin-top: -38px;
}

.trust-strip-card {
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(223, 232, 226, .95);
    border-radius: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow-md);
}

.trust-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .35rem .6rem;
}

.trust-item + .trust-item {
    border-left: 1px solid var(--line);
}

.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf7ec;
    color: var(--green);
    font-size: 1.2rem;
}

.trust-item strong,
.trust-item small {
    display: block;
}

.trust-item strong {
    font-size: .86rem;
}

.trust-item small {
    margin-top: .18rem;
    color: var(--muted);
    font-size: .7rem;
}

.section {
    padding: clamp(4.25rem, 7vw, 6.25rem) 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-title {
    margin: .5rem 0 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.section-copy {
    max-width: 620px;
    color: var(--muted);
    line-height: 1.75;
}

.category-card {
    position: relative;
    min-height: 190px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: all .2s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -45px;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(201, 239, 97, .28), rgba(47, 155, 75, .1));
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: #bad4c1;
    box-shadow: var(--shadow-md);
}

.category-card i {
    position: relative;
    z-index: 1;
    color: var(--green);
    font-size: 1.8rem;
}

.category-card h3 {
    position: relative;
    z-index: 1;
    margin: 2rem 0 .35rem;
    font-size: 1.15rem;
}

.category-card small {
    position: relative;
    z-index: 1;
    color: var(--muted);
}

.product-card {
    height: 100%;
    border: 1px solid #e0e9e3;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 7px 22px rgba(20, 55, 35, .045);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #bdd4c2;
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    height: 255px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f4f8f4, #eaf1ec);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.035);
}

.badge-float,
.stock-badge {
    position: absolute;
    top: 14px;
    border-radius: 999px;
    padding: .42rem .65rem;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .04em;
    box-shadow: 0 5px 16px rgba(17, 37, 29, .1);
}

.badge-float {
    left: 14px;
    background: #fff;
    color: var(--green-dark);
}

.stock-badge {
    right: 14px;
    background: rgba(16, 45, 33, .9);
    color: #fff;
}

.stock-badge.out {
    background: rgba(181, 68, 63, .94);
}

.product-info {
    flex: 1;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    color: var(--muted);
    font-size: .72rem;
}

.product-info h3 {
    margin: .65rem 0 .85rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.product-info h3 a:hover {
    color: var(--green-dark);
}

.product-price-row {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: .55rem;
}

.price {
    color: var(--ink);
    font-size: 1.32rem;
    font-weight: 900;
    letter-spacing: -.02em;
}

.old-price {
    color: #98a59e;
    font-size: .78rem;
    text-decoration: line-through;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .55rem;
    margin-top: 1rem;
}

.product-actions .btn {
    min-height: 42px;
}

.product-detail-image {
    height: min(560px, 70vh);
    min-height: 380px;
    border-radius: 24px;
}

.product-detail-card {
    padding: clamp(1.2rem, 3vw, 2rem);
}

.product-spec-list {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .7rem;
}

.product-spec-list li {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--ink-soft);
    font-size: .9rem;
}

.product-spec-list i {
    color: var(--green);
}

.catalogue-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.catalogue-filter {
    width: min(100%, 650px);
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(150px, 1fr) auto;
    gap: .6rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.empty-catalogue {
    padding: 4rem 1rem;
    border: 1px dashed var(--line-strong);
    border-radius: 20px;
    text-align: center;
    background: #fff;
}

.empty-catalogue i {
    color: var(--green);
    font-size: 2.2rem;
}

.calculator-band {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
    background: radial-gradient(circle at 85% 15%, rgba(201, 239, 97, .16), transparent 27%), #123626;
    color: #fff;
}

.calculator-band::before {
    content: "";
    position: absolute;
    left: -150px;
    bottom: -250px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .015);
}

.calculator-card {
    position: relative;
    z-index: 1;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 22px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .2);
}

.calculator-result {
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8faf7;
}

.calculator-result small {
    color: var(--muted);
}

.calculator-result h3 {
    margin: .45rem 0 0;
    font-size: 1.35rem;
}

.solution-cta {
    padding: clamp(2rem, 5vw, 3.2rem);
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: #fff;
    background: linear-gradient(115deg, #173d2c, #245d40);
    box-shadow: var(--shadow-md);
}

.solution-cta h2 {
    margin: 0 0 .5rem;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    letter-spacing: -.045em;
}

.solution-cta p {
    margin: 0;
    color: #c8d9cf;
}

.panel,
.metric-card,
.plan-card {
    border: 1px solid #e0e8e3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18, 54, 34, .045);
}

.panel {
    padding: clamp(1rem, 2.5vw, 1.4rem);
}

.panel-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.checkout-shell {
    align-items: start;
}

.checkout-summary {
    position: sticky;
    top: 110px;
}

.form-label {
    margin-bottom: .38rem;
    color: #34483e;
    font-size: .75rem;
    font-weight: 800;
}

.form-control,
.form-select,
.input-group-text {
    min-height: 44px;
    border-color: #d8e3dc;
    border-radius: 10px;
    font-size: .86rem;
}

textarea.form-control {
    min-height: 110px;
}

.form-control:focus,
.form-select:focus {
    border-color: #70bd7d;
    box-shadow: 0 0 0 .2rem rgba(47, 155, 75, .12);
}

.btn {
    border-radius: 10px;
    font-weight: 750;
}

.btn-success {
    border-color: var(--green);
    background: var(--green);
}

.btn-success:hover,
.btn-success:focus {
    border-color: #278540;
    background: #278540;
}

.btn-outline-success {
    border-color: #6eae7a;
    color: var(--green-dark);
}

.btn-outline-success:hover {
    border-color: var(--green);
    background: var(--green);
}

.site-footer {
    padding: 4.2rem 0 1.4rem;
    background: #0d281d;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.55fr repeat(3, 1fr);
    gap: 2rem;
}

.brand-dark .brand-copy b {
    color: #fff;
}

.brand-dark .brand-copy small {
    color: #91aa9c;
}

.footer-description {
    max-width: 430px;
    margin: 1.25rem 0 0;
    color: #a8bbb0;
    font-size: .86rem;
    line-height: 1.75;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
}

.footer-grid h6 {
    margin-bottom: .45rem;
    color: #ddecdf;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-grid a,
.footer-grid span,
.footer-grid strong {
    color: #9fb3a7;
    font-size: .78rem;
}

.footer-grid a:hover {
    color: var(--lime);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #849b8d;
    font-size: .7rem;
}

.cart-canvas {
    width: min(94vw, 440px) !important;
}

.cart-canvas .offcanvas-header {
    border-bottom: 1px solid var(--line);
}

.cart-lines {
    display: grid;
    gap: .35rem;
}

.cart-line {
    padding: .75rem 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: .75rem;
}

.cart-line img {
    width: 64px;
    height: 58px;
    border-radius: 10px;
    object-fit: cover;
    background: #edf2ee;
}

.cart-line b {
    display: block;
    font-size: .82rem;
    line-height: 1.3;
}

.cart-line small {
    color: var(--muted);
    font-size: .7rem;
}

.cart-line-actions {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.cart-line-actions button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--ink);
}

.cart-quantity {
    min-width: 24px;
    text-align: center;
    font-size: .75rem;
    font-weight: 800;
}

.cart-summary {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .92rem;
}

.cart-summary b {
    font-size: 1.25rem;
}

.cart-note {
    display: flex;
    gap: .45rem;
    color: var(--muted);
    font-size: .72rem;
}

.empty-state {
    margin: 0;
    padding: 2.5rem 1rem;
    color: var(--muted);
    text-align: center;
}

.order-success-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f7e8;
    color: var(--green);
    font-size: 2.2rem;
}

.login-shell {
    min-height: calc(100vh - 118px);
    display: flex;
    align-items: center;
}

.login-card {
    max-width: 460px;
    margin-inline: auto;
    padding: clamp(1.4rem, 4vw, 2.2rem);
}

/* Admin */
.admin-body {
    background: #f3f6f3;
}

.admin-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    width: var(--sidebar-width);
    padding: 1.5rem 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    background: #10281f;
    color: #fff;
    box-shadow: 12px 0 35px rgba(15, 45, 30, .08);
}

.admin-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    padding: 0 .25rem;
}

.admin-sidebar-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.admin-nav {
    min-height: 0;
    margin-top: 1.5rem;
    padding-right: .2rem;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .25rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #355545 transparent;
}

.admin-nav span {
    margin: 1.1rem .75rem .35rem;
    color: #708c7d;
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .17em;
}

.admin-nav a {
    position: relative;
    min-height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: .72rem;
    padding: .65rem .75rem;
    color: #bfd0c6;
    font-size: .76rem;
    font-weight: 700;
    transition: all .16s ease;
}

.admin-nav a i {
    width: 20px;
    color: #8fb59f;
    font-size: 1rem;
}

.admin-nav a:hover {
    background: #1b3b2d;
    color: #fff;
}

.admin-nav a:hover i {
    color: var(--lime);
}

.admin-nav a.locked {
    opacity: .55;
}

.admin-nav a.locked::after {
    content: "LOCKED";
    margin-left: auto;
    color: var(--lime);
    font-size: .48rem;
    letter-spacing: .06em;
}

.sidebar-bottom {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: grid;
    gap: .45rem;
}

.sidebar-bottom a,
.sidebar-bottom button {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .75rem;
    background: rgba(255, 255, 255, .055);
    color: #b9cbc1;
    font-size: .73rem;
    font-weight: 700;
}

.sidebar-bottom a:hover,
.sidebar-bottom button:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.admin-main {
    min-height: 100vh;
    margin-left: var(--sidebar-width);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    min-height: 86px;
    padding: .85rem clamp(1rem, 3vw, 2.2rem);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
}

.admin-title-wrap {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .8rem;
}

.admin-title-wrap > div {
    min-width: 0;
}

.admin-topbar small {
    display: block;
    color: #7b8b83;
    font-size: .54rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.admin-topbar h1 {
    margin: .18rem 0 0;
    overflow: hidden;
    font-size: clamp(1.15rem, 2.1vw, 1.55rem);
    font-weight: 850;
    letter-spacing: -.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--ink);
    font-size: 1.3rem;
}

.user-chip {
    min-width: 0;
    padding: .45rem .7rem;
    border: 1px solid #d9e7dc;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #eef7ed;
}

.user-chip small {
    color: #6c8074;
    font-size: .5rem;
    letter-spacing: .04em;
}

.user-chip b {
    display: block;
    max-width: 180px;
    overflow: hidden;
    color: var(--green-dark);
    font-size: .68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d8ecd8;
    color: var(--green-dark);
}

.admin-content {
    width: min(100%, 1500px);
    margin-inline: auto;
    padding: clamp(1rem, 2.6vw, 2rem) clamp(.8rem, 2.6vw, 2rem) 4rem;
}

.metric-card {
    height: 100%;
    padding: 1.25rem;
}

.metric-card small {
    color: var(--muted);
    font-size: .72rem;
}

.metric-card h3 {
    margin: .5rem 0 0;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -.035em;
}

.metric-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef7ed;
    color: var(--green);
    font-size: 1.15rem;
}

.table-responsive {
    border-radius: 10px;
}

.table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: .77rem;
}

.table > :not(caption) > * > * {
    padding: .85rem .75rem;
    border-bottom-color: #e9efeb;
    vertical-align: middle;
}

.table th {
    color: #76877e;
    font-size: .59rem;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
    white-space: nowrap;
}

.table td {
    min-width: 90px;
}

.table td small {
    color: var(--muted);
}

.status {
    max-width: 160px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .36rem .62rem;
    background: #e8f5e7;
    color: #2d7d39;
    font-size: .62rem;
    font-weight: 800;
    white-space: nowrap;
}

.status.pending {
    background: #fff3d8;
    color: var(--warning);
}

.status.danger {
    background: #fde9e7;
    color: var(--danger);
}

.plan-card {
    height: 100%;
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
}

.plan-card.recommended {
    border: 2px solid #d7a935;
    box-shadow: 0 14px 35px rgba(188, 138, 24, .12);
}

.plan-card ul {
    margin: 1rem 0;
    padding: 0;
    flex: 1;
    list-style: none;
}

.plan-card li {
    margin: .55rem 0;
    color: #5e7166;
    font-size: .72rem;
}

.plan-card li::before {
    content: "✓";
    margin-right: .45rem;
    color: var(--green);
    font-weight: 900;
}

.admin-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    visibility: hidden;
    background: rgba(5, 20, 12, .46);
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
}

.admin-overlay.show {
    visibility: visible;
    opacity: 1;
}

.print-sheet {
    width: min(100% - 2rem, 900px);
    margin: 1.5rem auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    background: #fff;
    box-shadow: var(--shadow-md);
}

@media (max-width: 1199.98px) {
    .admin-sidebar {
        transform: translateX(-105%);
        transition: transform .22s ease;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .site-header-inner {
        min-height: 72px;
    }

    .trust-strip {
        margin-top: -25px;
    }

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

    .trust-item + .trust-item {
        border-left: 0;
    }

    .trust-item:nth-child(even) {
        border-left: 1px solid var(--line);
    }

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

    .checkout-summary {
        position: static;
    }

    .catalogue-head {
        align-items: stretch;
        flex-direction: column;
    }

    .catalogue-filter {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .top-strip-inner {
        justify-content: space-between;
    }

    .hero {
        min-height: 610px;
        background-position: 62% center;
    }

    .hero::after {
        display: none;
    }

    .hero-inner {
        padding: 4rem 0 5rem;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.3rem);
    }

    .hero-actions > * {
        width: 100%;
    }

    .trust-strip-card {
        grid-template-columns: 1fr;
        padding: .65rem;
    }

    .trust-item,
    .trust-item:nth-child(even) {
        border-left: 0;
    }

    .trust-item + .trust-item {
        border-top: 1px solid var(--line);
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalogue-filter {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 230px;
    }

    .product-detail-image {
        height: 390px;
        min-height: 0;
    }

    .solution-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .solution-cta .btn {
        width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
    }

    .admin-topbar {
        min-height: 74px;
    }

    .admin-content {
        padding-inline: .75rem;
    }

    .panel {
        padding: .95rem;
    }

    .table > :not(caption) > * > * {
        padding: .75rem .6rem;
    }
}

@media (max-width: 575.98px) {
    .site-header-inner {
        padding-inline: .75rem;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px 4px;
        font-size: 1.38rem;
    }

    .brand-copy b {
        font-size: 1.1rem;
    }

    .header-actions {
        gap: .35rem;
    }

    .icon-button,
    .cart-button {
        min-height: 39px;
        padding: .55rem .65rem;
    }

    .hero {
        min-height: 570px;
    }

    .section {
        padding: 3.7rem 0;
    }

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

    .cart-line {
        grid-template-columns: 54px 1fr;
    }

    .cart-line img {
        width: 54px;
        height: 52px;
    }

    .cart-line-actions {
        grid-column: 2;
        justify-content: flex-end;
    }

    .admin-sidebar {
        width: min(88vw, 300px);
    }

    .user-chip {
        padding: .35rem;
    }
}

@media print {
    body {
        background: #fff;
    }

    .print-sheet {
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }

    .print-hide,
    button {
        display: none !important;
    }
}

/* Responsive administration refinements */
.page-heading {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.page-heading .panel-title {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.current-plan-card {
    display: flex;
    flex-direction: column;
}

.review-form {
    min-width: 220px;
    display: grid;
    gap: .5rem;
}

.inline-update-form {
    min-width: 330px;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) auto;
    align-items: center;
    gap: .45rem;
}

.inline-update-form.compact {
    min-width: 280px;
    grid-template-columns: minmax(120px, 1fr) auto;
}

.inline-update-form.compact:has(input) {
    grid-template-columns: minmax(115px, 1fr) minmax(130px, 1fr) auto;
}

.form-section {
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfdfb;
}

.form-section h3,
.quotation-terms h3 {
    margin: 0 0 1rem;
    font-size: .9rem;
    font-weight: 850;
}

.form-actions {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
}

.report-filter {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(160px, 220px) auto;
    align-items: end;
    gap: .65rem;
}

.sticky-form {
    position: sticky;
    top: 105px;
}

.project-card {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfdfb;
}

.project-card + .project-card {
    margin-top: .85rem;
}

.quotation-sheet {
    color: var(--ink);
}

.quotation-header,
.quotation-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.quotation-header > div:first-child {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .8rem;
    align-items: center;
}

.quotation-header h1,
.quotation-header p {
    grid-column: 2;
    margin: 0;
}

.quotation-header h1 {
    font-size: 1.55rem;
    font-weight: 900;
}

.quotation-header p,
.quotation-footer p {
    color: var(--muted);
    font-size: .8rem;
}

.quotation-meta {
    margin-top: 2rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.quotation-meta small {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.quotation-meta h3 {
    margin: .3rem 0;
    font-size: 1.1rem;
}

.quotation-terms {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 12px;
    background: #f4f8f4;
}

.quotation-footer {
    margin-top: 3.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}

@media (max-width: 767.98px) {
    .page-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .page-heading > .btn,
    .page-heading > .btn-group,
    .page-heading > .status {
        align-self: flex-start;
    }

    .report-filter {
        grid-template-columns: 1fr;
    }

    .sticky-form {
        position: static;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
    }

    .quotation-header,
    .quotation-footer {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .admin-data-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .admin-data-table,
    .admin-data-table tbody,
    .admin-data-table tr,
    .admin-data-table td {
        display: block;
        width: 100%;
    }

    .admin-data-table tbody tr {
        padding: .75rem 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-data-table tbody tr:last-child {
        border-bottom: 0;
    }

    .admin-data-table td {
        min-width: 0;
        padding: .45rem .15rem !important;
        border: 0;
        text-align: left !important;
    }

    .admin-data-table td[data-label]::before {
        content: attr(data-label);
        width: 42%;
        padding-right: .75rem;
        display: inline-block;
        color: var(--muted);
        font-size: .58rem;
        font-weight: 900;
        letter-spacing: .06em;
        text-transform: uppercase;
        vertical-align: top;
    }

    .admin-data-table td[data-label] > :first-child:not(form) {
        vertical-align: top;
    }

    .admin-data-table .inline-update-form,
    .admin-data-table .review-form {
        width: 100%;
        min-width: 0;
        margin-top: .5rem;
    }

    .inline-update-form,
    .inline-update-form.compact,
    .inline-update-form.compact:has(input) {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .inline-update-form .btn {
        width: 100%;
    }
}

/* Completion patch: responsive portals, comparison, media and operations */
.brand-logo-image{width:44px;height:44px;object-fit:contain;border-radius:12px;background:#fff;padding:4px}.mobile-logout-form button{width:100%;border:0;background:transparent;text-align:left;padding:.8rem 0;color:inherit;font-weight:700}.catalogue-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.product-quick-tools,.product-detail-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin:1rem 0}.compare-check,.quick-tool-button{display:inline-flex;align-items:center;gap:.4rem;border:0;background:transparent;color:var(--muted);font-size:.82rem;font-weight:700;text-decoration:none;padding:0}.quick-tool-button:hover{color:var(--primary)}.product-gallery-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:.75rem;margin-top:1rem}.product-thumb{border:1px solid var(--line);border-radius:12px;background:#fff;padding:.3rem;aspect-ratio:1}.product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px}.product-thumb.active,.product-thumb:hover{border-color:var(--primary);box-shadow:0 0 0 3px rgba(29,139,83,.12)}.public-page-heading{margin-bottom:2rem}.comparison-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:18px;background:#fff}.comparison-table{min-width:850px;margin:0}.comparison-table th:first-child{position:sticky;left:0;z-index:2;background:#f7faf8;min-width:150px}.comparison-table thead th{min-width:200px;text-align:center;padding:1rem}.comparison-table thead img{width:120px;height:95px;object-fit:contain;display:block;margin:0 auto .7rem}.comparison-table thead a{display:block;color:var(--ink);text-decoration:none}.credential-card{border:1px solid var(--line);border-radius:14px;background:#f7faf8;padding:1rem}.credential-card div{margin-top:.35rem}.profile-list{display:grid;grid-template-columns:95px 1fr;gap:.65rem 1rem;margin:1rem 0 0}.profile-list dt{color:var(--muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.04em}.profile-list dd{margin:0;overflow-wrap:anywhere}.gallery-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem}.gallery-admin-grid img{aspect-ratio:4/3;object-fit:cover}.quotation-line-list{display:grid;gap:.55rem}.quotation-line-editor{display:grid;grid-template-columns:minmax(0,1fr) 72px 105px 34px;gap:.4rem}.quotation-line-remove{border:0;border-radius:8px;background:#fff0f0;color:#b42318}.crm-update-form{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:.45rem;min-width:360px}.crm-update-form .btn{grid-column:span 2}.activity-details summary{cursor:pointer;color:var(--primary);font-weight:700}.activity-details small{display:block;margin-top:.4rem;color:var(--muted)}.project-card-grid,.ticket-card-grid,.tenant-card-grid{display:grid;gap:1rem}.project-metrics,.tenant-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-top:1.2rem}.project-metrics>div,.tenant-info-grid>div{border:1px solid var(--line);border-radius:12px;padding:.75rem;background:#f9fbfa}.project-metrics small,.tenant-info-grid small{display:block;color:var(--muted);font-size:.68rem;text-transform:uppercase;font-weight:800}.project-metrics strong,.tenant-info-grid strong{display:block;margin:.2rem 0}.tenant-info-grid{grid-template-columns:repeat(2,1fr)}.tenant-info-grid span{display:block;color:var(--muted);font-size:.8rem;overflow-wrap:anywhere}.project-task-form{display:grid;grid-template-columns:1.2fr .8fr 1fr auto;gap:.45rem}.activity-feed{border-left:2px solid #dcebe2;padding-left:1rem}.activity-feed>div{position:relative;margin-bottom:.8rem}.activity-feed>div>span{position:absolute;width:9px;height:9px;border-radius:50%;background:var(--primary);left:-1.35rem;top:.25rem}.activity-feed small{color:var(--muted)}.activity-feed p{margin:.1rem 0 0;font-size:.85rem}.claim-form{display:grid;gap:.4rem;min-width:260px}.ticket-description{margin:1rem 0;padding:1rem;border-radius:12px;background:#f7faf8}.ticket-meta{display:flex;flex-wrap:wrap;gap:1rem;color:var(--muted);font-size:.82rem}.ticket-update-form{display:grid;grid-template-columns:1fr 1fr auto;gap:.5rem;margin-top:1rem}.ticket-comment-form,.reset-password-form{display:grid;grid-template-columns:1fr auto;gap:.5rem}.tenant-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.dealer-hero{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding:2rem;border-radius:24px;background:linear-gradient(135deg,#10281f,#1b5a3e);color:#fff;margin-bottom:2rem}.dealer-hero p{color:rgba(255,255,255,.72);margin:0}.dealer-summary{text-align:right}.dealer-summary small,.dealer-summary span{display:block;color:rgba(255,255,255,.7)}.dealer-summary strong{display:block;font-size:1.5rem}.dealer-product-grid{display:grid;gap:.8rem}.dealer-product-card{display:grid;grid-template-columns:85px minmax(0,1fr) auto;align-items:center;gap:1rem;border:1px solid var(--line);border-radius:16px;padding:.8rem}.dealer-product-card img{width:85px;height:70px;object-fit:contain}.dealer-product-card h3{font-size:1rem;margin:.2rem 0}.dealer-product-card small{color:var(--muted)}.dealer-price{display:flex;gap:.6rem;align-items:center}.dealer-price span{font-weight:900;color:var(--primary)}.dealer-price del{color:var(--muted);font-size:.8rem}.dealer-qty{display:flex;align-items:center;gap:.4rem}.dealer-qty input{width:64px;border:1px solid var(--line);border-radius:8px;padding:.35rem}.dealer-cart-lines{display:grid;gap:.6rem;margin:1rem 0}.dealer-cart-line{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding-bottom:.6rem}.dealer-cart-line small{display:block;color:var(--muted)}.dealer-cart-line button{border:0;background:transparent;color:#b42318}.dealer-cart-total{display:flex;justify-content:space-between;border-top:2px solid var(--line);padding:1rem 0;font-size:1.1rem}.advanced-result-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.advanced-result-card{border:1px solid var(--line);border-radius:18px;padding:1.25rem;background:#fff}.advanced-result-card>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eaf6ef;color:var(--primary);font-size:1.2rem}.advanced-result-card small{display:block;color:var(--muted);margin-top:1rem}.advanced-result-card strong{display:block;font-size:1.35rem;margin-top:.2rem}.advanced-result-card.highlight{background:#10281f;color:#fff}.advanced-result-card.highlight small{color:rgba(255,255,255,.65)}.quotation-customer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin:2rem 0}.quotation-customer-grid>div{border:1px solid var(--line);border-radius:12px;padding:1rem}.quotation-customer-grid small,.quotation-customer-grid strong,.quotation-customer-grid span{display:block}.quotation-print-actions{display:flex;justify-content:center;gap:.75rem;margin-top:2rem}
@media(max-width:991.98px){.dealer-hero{align-items:flex-start;flex-direction:column}.dealer-summary{text-align:left}.project-metrics{grid-template-columns:1fr 1fr}.project-task-form{grid-template-columns:1fr 1fr}.project-task-form .btn{grid-column:span 2}.dealer-product-card{grid-template-columns:70px minmax(0,1fr)}.dealer-qty{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:767.98px){.catalogue-toolbar{align-items:flex-start;flex-direction:column}.quotation-line-editor{grid-template-columns:minmax(0,1fr) 65px 90px 32px}.crm-update-form{min-width:0;grid-template-columns:1fr}.crm-update-form .btn{grid-column:auto}.project-metrics,.tenant-info-grid,.advanced-result-grid,.quotation-customer-grid{grid-template-columns:1fr}.ticket-update-form,.ticket-comment-form,.reset-password-form{grid-template-columns:1fr}.dealer-product-card{grid-template-columns:60px minmax(0,1fr)}.dealer-product-card img{width:60px;height:55px}}
@media print{.quotation-print-actions{display:none!important}.quotation-print-body{background:#fff}.quotation-sheet{box-shadow:none;margin:0;max-width:none}}

/* Tenant public website feature management */
.website-feature-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    min-height: 138px;
    height: 100%;
    padding: 1.1rem;
    border: 1px solid var(--vz-border-color, #dbe7df);
    border-radius: 16px;
    background: #fff;
}
.website-feature-card.is-locked {
    background: #f7f9f8;
    opacity: .78;
}
.website-feature-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eaf7ee;
    color: #1e8f4d;
    font-size: 1.25rem;
}
.website-feature-copy { min-width: 0; }
.website-feature-switch {
    min-width: 86px;
    text-align: center;
}
.website-feature-switch .form-check-input {
    float: none;
    margin: 0 auto .35rem;
    width: 2.75rem;
    height: 1.45rem;
}
.website-feature-switch .form-check-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
}
@media (max-width: 575.98px) {
    .website-feature-card {
        grid-template-columns: auto 1fr;
    }
    .website-feature-switch {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: .6rem;
        min-width: 0;
        text-align: left;
        padding-left: 0;
    }
    .website-feature-switch .form-check-input { margin: 0; }
    .website-feature-switch .form-check-label { display: inline; }
}
