/* =========================================================
   VIMAKS ENGINEERING
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #172017;
    background: #ffffff;
    line-height: 1.5;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

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


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e7eee3;

    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 52px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.navigation a {
    color: #4d584c;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: #6fa04e;
}

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0 20px;

    border-radius: 10px;

    background: #a9d77d;
    color: #182315;

    font-size: 14px;
    font-weight: 800;

    transition: all 0.2s ease;
}

.header-button:hover {
    background: #93c768;
    transform: translateY(-2px);
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    min-height: 54px;
    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 15px;
    font-weight: 800;

    border: 1px solid transparent;

    transition: all 0.2s ease;
}

.button-primary {
    background: #a9d77d;
    color: #172414;
}

.button-primary:hover {
    background: #93c768;
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(100, 145, 70, 0.18);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding: 100px 0 110px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(169, 215, 125, 0.18),
            transparent 30%
        ),
        #f7faf5;
}

.hero-inner {
    display: grid;

    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 70px;
}

.hero-content {
    min-width: 0;
}

.hero-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #729c55;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 24px;

    max-width: 650px;

    color: #172017;

    font-size: clamp(46px, 5vw, 72px);

    line-height: 1.02;

    letter-spacing: -2.5px;
}

.hero h1 span {
    display: block;
    color: #719c53;
}

.hero-content > p {
    max-width: 610px;

    margin: 0 0 32px;

    color: #667064;

    font-size: 17px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}

.hero-image {
    min-height: 470px;

    overflow: hidden;

    display: flex;
    align-items: stretch;
    justify-content: stretch;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #dcebd3 0%,
            #b8d59f 45%,
            #739b55 100%
        );

    box-shadow:
        0 25px 70px rgba(67, 91, 55, 0.18);
}

.hero-image img {
    width: 100%;
    height: 100%;
    min-height: 470px;

    display: block;

    object-fit: cover;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

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

.section-heading > span,
.section-label {
    display: block;

    margin-bottom: 12px;

    color: #79a35b;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2px;
}

.section-heading h2,
.calculator-content h2,
.about-heading h2,
.contacts-content h2 {
    max-width: 720px;

    margin: 0;

    color: #172017;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.08;

    letter-spacing: -1.5px;
}

.section-heading h2 strong,
.calculator-content h2 strong,
.about-heading h2 strong,
.contacts-content h2 strong {
    color: #739e55;
}


/* =========================================================
   CALCULATOR
========================================================= */

.calculator-section {
    padding: 105px 0 110px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(169, 215, 125, 0.20),
            transparent 45%
        ),
        #f3f8ef;
}

.calculator-inner {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 330px;
}

.calculator-content {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}

.calculator-content .section-label {
    margin-bottom: 15px;
}

.calculator-content h2 {
    max-width: 800px;
}

.calculator-content > p {
    max-width: 700px;

    margin: 24px auto 32px;

    color: #697469;

    font-size: 16px;

    line-height: 1.7;
}

.calculator-action {
    display: flex;

    justify-content: center;
    align-items: center;

    width: 100%;
}

.calculator-main-button {
    min-width: 300px;
    min-height: 68px;

    padding: 0 42px;

    border: none;

    font-size: 17px;
}


/* =========================================================
   РќРђРЁР† РџР РћР„РљРўР
========================================================= */

.solutions {
    padding: 100px 0;

    background: #ffffff;
}

.solutions-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.solution-photo {
    height: 330px;

    overflow: hidden;

    border-radius: 22px;

    background: #dcebd3;

    box-shadow:
        0 15px 40px rgba(71, 100, 58, 0.08);
}

.solution-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease,
        filter 0.3s ease;
}

.solution-photo:hover img {
    transform: scale(1.04);
    filter: brightness(1.04);
}


/* =========================================================
   WORK PROCESS
========================================================= */

.about {
    padding: 100px 0;

    background: #172017;
}

.about-heading {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;

    align-items: end;
}

.about-heading > span {
    grid-column: 1 / -1;

    margin-bottom: -25px;

    color: #a9d77d;
}

.about-heading h2 {
    color: #ffffff;
}

.about-heading p {
    max-width: 520px;

    margin: 0;

    color: #b5c0b2;

    font-size: 16px;

    line-height: 1.7;
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.process-card {
    min-height: 285px;

    position: relative;

    padding: 28px;

    border: 1px solid rgba(169, 215, 125, 0.16);

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.035);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.process-card:hover {
    transform: translateY(-4px);

    border-color: rgba(169, 215, 125, 0.35);

    background: rgba(255, 255, 255, 0.055);
}

.process-number {
    position: absolute;

    top: 25px;
    right: 27px;

    color: rgba(169, 215, 125, 0.5);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1px;
}

.process-icon {
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border-radius: 15px;

    background: rgba(169, 215, 125, 0.11);

    font-size: 25px;
}

.process-card h3 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 19px;
}

.process-card p {
    margin: 0;

    color: #9eaa9b;

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   CONTACTS
========================================================= */

.contacts {
    padding: 100px 0;

    background: #f6faf3;
}

.contacts-inner {
    display: grid;

    grid-template-columns: 1fr 0.8fr;

    gap: 70px;

    align-items: center;
}

.contacts-content > p {
    max-width: 570px;

    margin: 24px 0 30px;

    color: #6f786e;

    font-size: 16px;

    line-height: 1.7;
}

.contact-phone {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.contact-phone span {
    color: #7d877b;

    font-size: 12px;
    font-weight: 700;
}

.contact-phone a {
    width: fit-content;

    color: #253025;

    font-size: 22px;
    font-weight: 800;

    transition: color 0.2s ease;
}

.contact-phone a:hover {
    color: #6d984d;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 14px;

    padding: 34px;

    border: 1px solid #dfe9db;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 20px 50px rgba(65, 90, 55, 0.07);
}

.form-title {
    margin-bottom: 8px;
}

.form-title h3 {
    margin: 0 0 7px;

    color: #1d271d;

    font-size: 23px;
}

.form-title p {
    margin: 0;

    color: #7a8378;

    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    border: 1px solid #d7e3d1;

    border-radius: 12px;

    outline: none;

    background: #fbfdf9;

    color: #202920;

    padding: 16px 17px;

    font-size: 15px;

    transition: all 0.2s ease;
}

.contact-form input {
    min-height: 55px;
}

.contact-form textarea {
    min-height: 115px;

    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #9bc875;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(155, 200, 117, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9aa39a;
}

.contact-form .button {
    width: 100%;

    border: none;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 30px 0;

    background: #111811;

    color: #9ca89a;
}

.footer-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}

.footer-left {
    display: flex;

    align-items: center;

    gap: 25px;
}

.footer-logo {
    color: #ffffff;

    font-size: 15px;
    font-weight: 800;
}

.footer p {
    margin: 0;

    font-size: 13px;
}

.socials {
    display: flex;

    align-items: center;

    gap: 10px;
}

.social-link {
    padding: 9px 13px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 8px;

    color: #d5ddd2;

    font-size: 12px;
    font-weight: 700;

    transition: all 0.2s ease;
}

.social-link:hover {
    border-color: #a9d77d;

    color: #a9d77d;
}


/* =========================================================
   CALCULATOR MODAL
========================================================= */

.calculator-modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 9999;
}

.calculator-modal.active {
    display: flex;

    align-items: center;
    justify-content: center;
}

.calculator-modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(20, 28, 20, 0.58);

    backdrop-filter: blur(7px);
}

.calculator-modal-window {
    position: relative;

    z-index: 2;

    width: min(900px, calc(100% - 32px));

    max-height: 90vh;

    overflow-y: auto;

    padding: 48px;

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.22);
}

.calculator-close {
    position: absolute;

    top: 20px;
    right: 22px;

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #dce8d5;

    border-radius: 50%;

    background: #f3f8ef;

    color: #52664a;

    font-size: 28px;
    font-weight: 300;

    cursor: pointer;

    transition: all 0.2s ease;
}

.calculator-close:hover {
    background: #e4f1dc;

    transform: rotate(90deg);
}

.calculator-modal-header {
    margin-bottom: 34px;

    padding-right: 55px;
}

.calculator-modal-header > span {
    display: block;

    margin-bottom: 12px;

    color: #7ca65b;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.calculator-modal-header h2 {
    margin: 0 0 12px;

    color: #182018;

    font-size: 38px;

    line-height: 1.1;
}

.calculator-modal-header p {
    max-width: 650px;

    margin: 0;

    color: #707970;

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   CALCULATOR OPTIONS
========================================================= */

.calculator-options {
    display: flex;

    flex-direction: column;

    gap: 14px;
}

.calculator-option {
    width: 100%;

    min-height: 96px;

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 20px 24px;

    border: 1px solid #dfe9d9;

    border-radius: 17px;

    background: #f8fbf6;

    text-align: left;

    cursor: pointer;

    transition: all 0.25s ease;
}

.calculator-option:hover {
    background: #f0f8eb;

    border-color: #b8d69e;

    transform: translateX(4px);

    box-shadow:
        0 10px 30px rgba(90, 125, 65, 0.08);
}

.calculator-option-number {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #e2f0d9;

    font-size: 30px;

    line-height: 1;
}

.calculator-option-text {
    flex: 1;
}

.calculator-option h3 {
    margin: 0 0 5px;

    color: #1c251c;

    font-size: 18px;
}

.calculator-option p {
    margin: 0;

    color: #778076;

    font-size: 14px;
}

.calculator-option-arrow {
    color: #78a355;

    font-size: 27px;

    transition: transform 0.2s ease;
}

.calculator-option:hover .calculator-option-arrow {
    transform: translateX(5px);
}


/* =========================================================
   EXISTING CALCULATOR COMPONENTS
========================================================= */

.products-list {
    display: flex;

    flex-direction: column;

    gap: 14px;
}

.product-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 25px;

    border: 1px solid #dfe8da;

    border-radius: 18px;

    background: #ffffff;

    transition: all 0.25s ease;
}

.product-card:hover {
    border-color: #b8d59f;

    box-shadow:
        0 12px 35px rgba(80, 110, 60, 0.10);

    transform: translateY(-2px);
}

.product-card-main {
    flex: 1;

    min-width: 0;
}

.product-category-label {
    display: inline-block;

    margin-bottom: 9px;

    padding: 5px 10px;

    border-radius: 6px;

    background: #edf7e7;

    color: #70974f;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.product-card-main h3 {
    margin: 0 0 7px;

    color: #192119;

    font-size: 20px;
}

.product-card-main p {
    margin: 0 0 5px;

    color: #697269;

    font-size: 15px;
}

.product-card-main small {
    color: #929a91;

    font-size: 13px;
}

.product-card-right {
    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.product-price {
    min-width: 105px;

    color: #192119;

    font-size: 19px;
    font-weight: 800;

    text-align: right;
}

.quantity-control {
    width: 140px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    overflow: hidden;

    border: 1px solid #d3e1cc;

    border-radius: 12px;

    background: #f7faf5;
}

.quantity-control button {
    width: 45px;
    height: 100%;

    border: none;

    background: transparent;

    color: #557744;

    font-size: 25px;

    cursor: pointer;
}

.quantity-control button:hover {
    background: #e5f2dc;
}

.quantity-control span {
    min-width: 35px;

    color: #202a20;

    font-size: 17px;
    font-weight: 800;

    text-align: center;
}

.product-select {
    min-width: 145px;
    height: 54px;

    padding: 0 23px;

    border: none;

    border-radius: 12px;

    background: #a9d77d;

    color: #1b2816;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition: all 0.2s ease;
}

.product-select:hover {
    background: #93c768;

    box-shadow:
        0 8px 20px rgba(100, 145, 70, 0.20);

    transform: translateY(-2px);
}

.calculator-back {
    width: 100%;

    min-height: 58px;

    margin-top: 24px;

    padding: 0 22px;

    border: 1px solid #cbdcc3;

    border-radius: 13px;

    background: #f3f8ef;

    color: #59754c;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition: all 0.2s ease;
}

.calculator-back:hover {
    background: #e7f2e0;

    border-color: #bad6ad;

    color: #456239;

    transform: translateY(-1px);
}

.selected-product {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 28px;

    padding: 24px;

    border: 1px solid #dcead5;

    border-radius: 17px;

    background: #f2f8ed;
}

.selected-product span {
    color: #78a153;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.selected-product h3 {
    margin: 7px 0;

    color: #1a241a;

    font-size: 19px;
}

.selected-product p {
    margin: 0;

    color: #727b71;

    font-size: 13px;
}

.selected-product-price {
    flex-shrink: 0;

    text-align: right;
}

.selected-product-price small {
    display: block;

    margin-bottom: 5px;

    color: #7c8579;

    font-size: 13px;
}

.selected-product-price strong {
    color: #1b2819;

    font-size: 24px;
}

.calculator-form {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.form-field {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.form-field label {
    color: #283228;

    font-size: 14px;
    font-weight: 800;
}

.form-field input,
.form-field textarea {
    width: 100%;

    min-height: 58px;

    padding: 0 18px;

    border: 1px solid #d5e2cf;

    border-radius: 13px;

    outline: none;

    background: #fbfdf9;

    color: #1d261d;

    font-size: 16px;
}

.form-field textarea {
    min-height: 120px;

    padding-top: 16px;

    resize: vertical;
}

.form-submit {
    width: 100%;

    min-height: 62px;

    margin-top: 5px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 13px;

    background: #a9d77d;

    color: #1b2816;

    font-size: 16px;
    font-weight: 800;
}

.power-options {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}

.power-options button {
    min-height: 125px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 4px;

    border: 1px solid #dce8d6;

    border-radius: 17px;

    background: #f7faf5;

    color: #263126;

    cursor: pointer;
}

.power-options strong {
    font-size: 32px;
}

.power-options span {
    color: #71806d;

    font-size: 14px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .navigation {
        gap: 15px;
    }

    .navigation a {
        font-size: 13px;
    }

    .hero-inner,
    .contacts-inner {
        grid-template-columns: 1fr;
    }

    .hero-image,
    .hero-image img {
        min-height: 360px;
    }

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

    .solution-photo {
        height: 300px;
    }

    .about-heading {
        grid-template-columns: 1fr;
    }

    .about-heading > span {
        margin-bottom: 0;
    }

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


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(100% - 28px, 1180px);
    }


    /* HEADER */

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

    .navigation {
        display: none;
    }

    .header-button {
        min-height: 42px;

        padding: 0 14px;

        font-size: 12px;
    }

    .logo img {
        max-width: 145px;
    }


    /* HERO */

    .hero {
        padding: 70px 0 75px;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -1.8px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-image {
        min-height: 280px;

        border-radius: 22px;
    }

    .hero-image img {
        min-height: 280px;
    }


    /* SECTIONS */

    .calculator-section,
    .solutions,
    .about,
    .contacts {
        padding: 75px 0;
    }


    /* CALCULATOR */

    .calculator-inner {
        min-height: 300px;
    }

    .calculator-content h2 {
        font-size: 36px;
    }

    .calculator-content > p {
        font-size: 15px;
    }

    .calculator-main-button {
        width: 100%;

        min-width: 0;

        min-height: 64px;

        font-size: 16px;
    }


    /* PROJECTS */

    .solutions-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .solution-photo {
        height: 270px;

        border-radius: 18px;
    }


    /* PROCESS */

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

    .process-card {
        min-height: auto;
    }


    /* CONTACTS */

    .contact-form {
        padding: 25px 20px;
    }


    /* FOOTER */

    .footer-inner,
    .footer-left {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-left {
        gap: 8px;
    }


    /* CALCULATOR MODAL */

    .calculator-modal-window {
        width: calc(100% - 18px);

        max-height: 94vh;

        padding: 30px 18px;

        border-radius: 22px;
    }

    .calculator-modal-header h2 {
        font-size: 30px;
    }

    .calculator-option {
        min-height: 88px;

        padding: 16px;
    }

    .calculator-option-number {
        width: 46px;
        height: 46px;

        border-radius: 13px;

        font-size: 24px;
    }

    .calculator-option h3 {
        font-size: 16px;
    }

    .calculator-option p {
        font-size: 13px;
    }


    /* PRODUCTS */

    .product-card {
        flex-direction: column;

        align-items: stretch;

        gap: 20px;
    }

    .product-card-right {
        display: grid;

        grid-template-columns: 1fr 1fr;

        width: 100%;
    }

    .product-price {
        min-width: auto;

        text-align: left;
    }

    .quantity-control {
        width: 100%;
    }

    .product-select {
        grid-column: 1 / -1;

        width: 100%;
    }

    .selected-product {
        flex-direction: column;

        align-items: flex-start;
    }

    .selected-product-price {
        text-align: left;
    }

    .power-options {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   CALCULATOR FILTERS — DROPDOWNS
========================================================= */

.product-filters {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid #dfe9d9;
    border-radius: 17px;
    background: #f8fbf6;
}

.product-filters.has-voltage-filter {
    grid-template-columns:
        minmax(150px, 1fr)
        minmax(150px, 1fr)
        minmax(110px, 0.65fr)
        auto;
}

.product-filter-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.product-filter-field label {
    color: #465345;
    font-size: 12px;
    font-weight: 800;
}

.product-filter-field select {
    width: 100%;
    min-height: 48px;
    padding: 0 38px 0 14px;
    border: 1px solid #d3e1cc;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    color: #263126;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-filter-field select:hover {
    border-color: #b8d69e;
}

.product-filter-field select:focus {
    border-color: #9bc875;
    box-shadow: 0 0 0 4px rgba(155, 200, 117, 0.12);
}

.product-filter-reset {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid #cbdcc3;
    border-radius: 11px;
    background: #ffffff;
    color: #59754c;
    font-size: 13px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.product-filter-reset:hover {
    background: #edf7e7;
    border-color: #b8d69e;
    color: #456239;
}


/* =========================================================
   TOP BACK BUTTON
========================================================= */

.calculator-back-top {
    position: sticky;
    top: 0;
    z-index: 25;
    width: fit-content;
    min-height: 44px;
    margin: -18px 0 22px;
    padding: 0 16px;
    border: 1px solid #cbdcc3;
    border-radius: 12px;
    background: rgba(243, 248, 239, 0.96);
    color: #59754c;
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(80, 110, 60, 0.08);
    transition: all 0.2s ease;
}

.calculator-back-top:hover {
    background: #e7f2e0;
    border-color: #bad6ad;
    color: #456239;
    transform: translateY(-1px);
}

@media (max-width: 950px) {
    .product-filters,
    .product-filters.has-voltage-filter {
        grid-template-columns: 1fr 1fr;
    }

    .product-filter-reset {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .product-filters,
    .product-filters.has-voltage-filter {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .product-filter-reset {
        width: 100%;
    }

    .calculator-back-top {
        min-height: 42px;
        margin: -8px 0 18px;
        padding: 0 14px;
        font-size: 14px;
    }
}

/* =========================================================
   INVERTER PHASE FILTER + SHARED COMPONENT CART
========================================================= */

.product-filters.has-phase-filter {
    grid-template-columns:
        minmax(135px, 1fr)
        minmax(135px, 1fr)
        minmax(95px, 0.65fr)
        minmax(120px, 0.75fr)
        auto;
}

.cart-add-more {
    width: 100%;
    margin-top: 18px;
    border: 1px solid #cbdcc3;
    background: #f3f8ef;
    color: #59754c;
}

.cart-add-more:hover {
    background: #e7f2e0;
    border-color: #bad6ad;
    color: #456239;
}

.cart-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #e5ece1;
}

.cart-summary-item:last-child {
    border-bottom: none;
}

.cart-summary-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.cart-summary-info strong {
    color: #1d271d;
    font-size: 15px;
}

.cart-summary-info small {
    color: #7f897d;
    font-size: 12px;
}

.cart-summary-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cart-quantity-control {
    width: 124px;
    height: 46px;
}

.cart-line-price {
    min-width: 92px;
    text-align: right;
    color: #1d271d;
    font-size: 15px;
}

.cart-remove {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0d5d2;
    border-radius: 10px;
    background: #fffafa;
    color: #9a5d51;
    font-size: 22px;
    line-height: 1;
    transition: all 0.2s ease;
}

.cart-remove:hover {
    background: #f8ece8;
    border-color: #dcbcb4;
}

@media (max-width: 950px) {
    .product-filters.has-phase-filter {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .product-filters.has-phase-filter {
        grid-template-columns: 1fr;
    }

    .cart-summary-item {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cart-summary-actions {
        display: grid;
        grid-template-columns: 1fr auto auto;
        width: 100%;
    }

    .cart-quantity-control {
        width: 100%;
    }

    .cart-line-price {
        min-width: 0;
    }
}
