/* ==================================================
   PHOTOSUN
   Luxury Royal Green Website
================================================== */


/* فونت */

@font-face {
    font-family: "BNazanin";
    src: url("./font/BNazanin.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "BTitr";
    src: url("./font/BTitrBold.woff") format("woff");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}


/* متغیرها */

:root {
    --green-950: #03130d;
    --green-900: #061f16;
    --green-850: #08291d;
    --green-800: #0b3828;
    --green-700: #12523b;
    --green-600: #1b7454;

    --gold-600: #8b681f;
    --gold-500: #c7a04a;
    --gold-400: #ddbd72;
    --gold-300: #ead49f;
    --gold-200: #f5e5b8;

    --cream: #f7f4ec;
    --white: #ffffff;

    --text-dark: #16251e;
    --text-soft: #68736d;

    --border: rgba(6, 31, 22, 0.14);

    --shadow-sm: 0 8px 25px rgba(4, 28, 19, 0.09);
    --shadow-md: 0 18px 48px rgba(4, 28, 19, 0.16);

    --radius-sm: 11px;
    --radius-md: 19px;
    --radius-lg: 28px;

    --container: 1240px;
}


/* پایه */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    text-align: right;
    font-family: "BNazanin", Tahoma, Arial, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.9;
}

body,
a,
p,
span,
div,
section,
article,
header,
footer,
nav,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "BNazanin", Tahoma, Arial, sans-serif;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}

section {
    scroll-margin-top: 120px;
}


/* ==================================================
   Header
================================================== */

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

    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(221, 189, 114, 0.11),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-850) 45%,
            var(--green-700)
        );

    border-bottom: 2px solid var(--gold-500);

    box-shadow:
        0 9px 28px rgba(0, 0, 0, 0.34),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.header-box {
    min-height: 98px;

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

    gap: 20px;
}


/* لوگوی سه‌بعدی */

.logo {
    flex-shrink: 0;

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

    padding: 10px 18px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f0f0f0
        );

    border: 1px solid #ffffff;
    border-radius: 16px;

    box-shadow:
        0 6px 0 #c6c6c6,
        0 13px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 #ffffff;

    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease;
}

.logo img {
    width: 125px;
    height: auto;
    object-fit: contain;
}

.logo:hover {
    transform: translateY(-3px);

    box-shadow:
        0 9px 0 #c6c6c6,
        0 18px 30px rgba(0, 0, 0, 0.34);
}

.logo:active {
    transform: translateY(5px);

    box-shadow:
        0 1px 0 #c6c6c6,
        0 4px 8px rgba(0, 0, 0, 0.28),
        inset 0 3px 6px rgba(0, 0, 0, 0.1);
}


/* منو */

.main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 9px;
}

.main-menu a {
    position: relative;

    min-height: 46px;

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

    padding: 9px 14px;

    color: #f8f4e7;

    font-size: 18px;
    white-space: nowrap;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.13),
            rgba(255, 255, 255, 0.04)
        );

    border: 1px solid rgba(221, 189, 114, 0.27);
    border-radius: 11px;

    text-shadow:
        0 1px 0 var(--green-950),
        0 2px 0 rgba(0, 0, 0, 0.55),
        0 3px 7px rgba(0, 0, 0, 0.4);

    box-shadow:
        0 5px 0 #020b07,
        0 9px 17px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);

    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.main-menu a:hover {
    color: var(--gold-200);

    background:
        linear-gradient(
            180deg,
            rgba(199, 160, 74, 0.23),
            rgba(255, 255, 255, 0.06)
        );

    transform: translateY(-3px);

    box-shadow:
        0 8px 0 #020b07,
        0 15px 24px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.main-menu a:active {
    transform: translateY(5px);

    box-shadow:
        0 1px 0 #020b07,
        0 3px 7px rgba(0, 0, 0, 0.32),
        inset 0 4px 9px rgba(0, 0, 0, 0.36);
}

.main-menu a.active {
    color: var(--green-950);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    border-color: var(--gold-200);

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7);

    box-shadow:
        0 3px 0 var(--gold-600),
        0 8px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);

    transform: translateY(2px);
}


/* دکمه سولارسنج در منو */

.solar-tool-link {
    color: var(--green-1000) !important;

    font-size: 60px !important;
    font-weight: 1000 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;

    position: relative !important;
    overflow: hidden !important;

    background:
        linear-gradient(
            180deg,
            #fff5cf 0%,
            var(--gold-200) 22%,
            var(--gold-400) 58%,
            var(--gold-500) 100%
        ) !important;

    border: 3px solid #ffe8a1 !important;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 4px rgba(16, 51, 39, 0.18) !important;

    box-shadow:
        0 5px 0 var(--gold-600),
        0 10px 22px rgba(0, 0, 0, 0.38),
        0 0 18px rgba(232, 202, 123, 0.70),
        0 0 34px rgba(232, 202, 123, 0.38),
        inset 0 2px 0 rgba(255, 255, 255, 0.88),
        inset 0 -2px 0 rgba(126, 93, 25, 0.16) !important;

    transform: translateY(-1px) scale(1.02);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease !important;

    animation: solarToolPulse 2.4s ease-in-out infinite;
}

.solar-tool-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -140%;
    width: 65%;
    height: 100%;

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(255, 255, 255, 0.52),
            transparent
        );

    transform: skewX(-20deg);
    animation: solarToolShine 3.6s ease-in-out infinite;
    pointer-events: none;
}

.solar-tool-link:hover {
    color: var(--green-950) !important;

    background:
        linear-gradient(
            180deg,
            #fff8dc,
            #f3d98f,
            #d9ae4f
        ) !important;

    transform: translateY(-3px) scale(1.055);

    filter: saturate(1.08) brightness(1.04);

    box-shadow:
        0 7px 0 var(--gold-600),
        0 14px 28px rgba(0, 0, 0, 0.42),
        0 0 24px rgba(255, 218, 110, 0.90),
        0 0 48px rgba(255, 218, 110, 0.50),
        inset 0 2px 0 rgba(255, 255, 255, 0.95) !important;
}

@keyframes solarToolPulse {
    0%,
    100% {
        box-shadow:
            0 5px 0 var(--gold-600),
            0 10px 22px rgba(0, 0, 0, 0.38),
            0 0 16px rgba(232, 202, 123, 0.55),
            0 0 30px rgba(232, 202, 123, 0.26),
            inset 0 2px 0 rgba(255, 255, 255, 0.88);
    }

    50% {
        box-shadow:
            0 5px 0 var(--gold-600),
            0 12px 26px rgba(0, 0, 0, 0.40),
            0 0 24px rgba(255, 218, 110, 0.90),
            0 0 44px rgba(255, 218, 110, 0.42),
            inset 0 2px 0 rgba(255, 255, 255, 0.92);
    }
}

@keyframes solarToolShine {
    0%,
    62% {
        left: -140%;
    }

    82%,
    100% {
        left: 150%;
    }
}

/* ==================================================
   Main Cover
================================================== */

.home-cover {
    width: 100%;
    height: 620px;

    background-image: url("images/backg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    border-bottom: 3px solid var(--gold-500);

    box-shadow:
        0 16px 34px rgba(3, 19, 13, 0.17);
}


/* ==================================================
   General Titles and Buttons
================================================== */

.section-label {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--gold-500);

    font-size: 19px;
}

.section-heading {
    max-width: 790px;

    margin-bottom: 44px;
}

.section-heading h2,
.home-intro h1,
.contact-cta h2 {
    margin-bottom: 15px;

    color: var(--green-900);

    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.4;
}

.section-heading h2::after,
.home-intro h1::after {
    content: "";

    display: block;

    width: 74px;
    height: 4px;

    margin-top: 14px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--green-700),
            var(--gold-500)
        );
}

.section-heading p {
    color: var(--text-soft);
    font-size: 19px;
}

.light-heading h2,
.light-heading p {
    color: var(--white);
}

.light-heading h2::after {
    background: var(--gold-500);
}


/* دکمه عمومی */

.btn {
    min-height: 52px;

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

    padding: 12px 29px;

    color: var(--green-950);

    font-size: 19px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    border: 1px solid var(--gold-200);
    border-radius: 11px;

    box-shadow:
        0 5px 0 var(--gold-600),
        0 12px 24px rgba(0, 0, 0, 0.2);

    transition:
        transform 0.13s ease,
        box-shadow 0.13s ease;
}

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

    box-shadow:
        0 8px 0 var(--gold-600),
        0 17px 29px rgba(0, 0, 0, 0.25);
}

.btn:active {
    transform: translateY(5px);

    box-shadow:
        0 1px 0 var(--gold-600),
        0 3px 7px rgba(0, 0, 0, 0.24),
        inset 0 3px 7px rgba(80, 58, 13, 0.25);
}

.btn-outline {
    color: var(--green-800);

    background: transparent;

    border-color: var(--green-700);

    box-shadow:
        0 5px 0 var(--green-900),
        0 12px 24px rgba(0, 0, 0, 0.13);
}

.btn-outline:hover {
    color: var(--white);
    background: var(--green-700);
}


/* ==================================================
   Introduction
================================================== */

.home-intro {
    padding-block: 100px;

    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 55px;
}

.intro-content > p {
    max-width: 720px;

    margin-bottom: 28px;

    color: var(--text-soft);

    font-size: 20px;
}

.intro-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

.intro-cards {
    display: grid;

    gap: 18px;
}

.intro-card {
    position: relative;

    padding: 24px 28px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f1e8
        );

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.intro-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 5px;
    height: 100%;

    background:
        linear-gradient(
            var(--green-700),
            var(--gold-500)
        );
}

.intro-card:hover {
    transform: translateX(-8px);

    box-shadow: var(--shadow-md);
}

.intro-number {
    position: absolute;

    left: 20px;
    top: 11px;

    color: rgba(199, 160, 74, 0.25);

    font-size: 52px;
}

.intro-card h3 {
    margin-bottom: 6px;

    color: var(--green-800);

    font-size: 25px;
    font-weight: 400;
}

.intro-card p {
    color: var(--text-soft);
    font-size: 18px;
}


/* ==================================================
   Products
================================================== */

.products-section {
    padding-block: 100px;

    color: var(--white);

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(199, 160, 74, 0.14),
            transparent 29%
        ),
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.product-card {
    position: relative;

    min-height: 310px;

    padding: 32px 27px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.11),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-9px);

    border-color: rgba(221, 189, 114, 0.65);

    box-shadow:
        0 27px 54px rgba(0, 0, 0, 0.3);
}

.product-icon {
    width: 62px;
    height: 62px;

    margin-bottom: 25px;

    display: grid;
    place-items: center;

    color: var(--green-950);

    font-size: 27px;

    border-radius: 15px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600),
        0 11px 19px rgba(0, 0, 0, 0.25);
}

.product-card h3 {
    margin-bottom: 10px;

    color: var(--gold-300);

    font-size: 27px;
    font-weight: 400;
}

.product-card p {
    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 18px;
}

.product-card a {
    margin-top: auto;

    color: var(--gold-300);

    font-size: 18px;
}

.product-card a:hover {
    color: var(--white);
}


/* ==================================================
   Solutions
================================================== */

.solutions-section {
    padding-block: 100px;

    background: var(--white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.solution-card {
    min-height: 250px;

    padding: 30px 25px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4f1e8
        );

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-md);
}

.solution-card > span {
    display: block;

    margin-bottom: 20px;

    color: rgba(199, 160, 74, 0.35);

    font-size: 54px;
    line-height: 1;
}

.solution-card h3 {
    margin-bottom: 12px;

    color: var(--green-800);

    font-size: 25px;
    font-weight: 400;
}

.solution-card p {
    color: var(--text-soft);

    font-size: 18px;
}


/* ==================================================
   SolarSanj
================================================== */

.solarsanj-section {
    padding-block: 90px;

    color: var(--white);

    background:
        linear-gradient(
            rgba(3, 19, 13, 0.93),
            rgba(6, 31, 22, 0.93)
        ),
        url("images/backg.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.solarsanj-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;
}

.light-label {
    color: var(--gold-300);
}

.solarsanj-box h2 {
    margin-bottom: 12px;

    color: var(--white);

    font-size: clamp(34px, 4vw, 50px);
    font-weight: 400;
}

.solarsanj-box p {
    max-width: 750px;

    color: rgba(255, 255, 255, 0.77);

    font-size: 19px;
}

.solarsanj-main-btn {
    flex-shrink: 0;

    min-height: 55px;

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

    padding: 12px 28px;

    color: var(--green-950);

    font-size: 19px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    border: 1px solid var(--gold-200);
    border-radius: 11px;

    box-shadow:
        0 6px 0 var(--gold-600),
        0 15px 25px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.13s ease,
        box-shadow 0.13s ease;
}

.solarsanj-main-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 9px 0 var(--gold-600),
        0 20px 31px rgba(0, 0, 0, 0.36);
}

.solarsanj-main-btn:active {
    transform: translateY(5px);

    box-shadow:
        0 1px 0 var(--gold-600),
        0 3px 7px rgba(0, 0, 0, 0.3);
}


/* ==================================================
   Projects
================================================== */

.projects-section {
    padding-block: 100px;

    background: var(--cream);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.project-card {
    position: relative;

    min-height: 300px;

    padding: 30px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    border-radius: var(--radius-md);

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-md);
}

.project-card h3 {
    position: relative;
    z-index: 2;

    color: var(--white);

    font-size: 27px;
    font-weight: 400;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.75);
}

/* پروژه اول */

.project-image-1 {
    background-image:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.93),
            rgba(6, 31, 22, 0.12)
        ),
        url("images/p1.png");
}


/* پروژه دوم */

.project-image-2 {
    background-image:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.93),
            rgba(6, 31, 22, 0.12)
        ),
        url("images/p2.png");
}


/* پروژه سوم */

.project-image-3 {
    background-image:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.93),
            rgba(6, 31, 22, 0.12)
        ),
        url("images/p3.png");
}


/* ==================================================
   Articles
================================================== */

.articles-section {
    padding-block: 100px;

    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.article-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7f4ec
        );

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}

.article-tag {
    display: inline-block;

    margin-bottom: 17px;
    padding: 5px 13px;

    color: var(--green-800);

    border-radius: 20px;

    background: rgba(199, 160, 74, 0.2);
}

.article-card h3 {
    margin-bottom: 12px;

    color: var(--green-800);

    font-size: 25px;
    font-weight: 400;
}

.article-card p {
    margin-bottom: 22px;

    color: var(--text-soft);

    font-size: 18px;
}

.article-card a {
    color: var(--gold-600);

    font-size: 18px;
}


/* ==================================================
   Contact CTA
================================================== */

.contact-cta {
    padding-block: 90px;

    background: var(--cream);
}

.contact-cta-box {
    padding: 45px;

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

    gap: 35px;

    border: 1px solid rgba(199, 160, 74, 0.4);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f2ede1
        );

    box-shadow: var(--shadow-md);
}

.contact-cta p {
    color: var(--text-soft);

    font-size: 18px;
}


/* ==================================================
   Footer
================================================== */

.site-footer {
    position: relative;

    overflow: hidden;

    color: rgba(255, 255, 255, 0.78);

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(199, 160, 74, 0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 90%,
            rgba(27, 116, 84, 0.28),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #020d09,
            var(--green-900),
            var(--green-800)
        );

    border-top: 3px solid var(--gold-500);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;

    gap: 42px;
}

.footer-column h3 {
    position: relative;

    margin-bottom: 27px;
    padding-bottom: 12px;

    color: var(--gold-300);

    font-size: 25px;
    font-weight: 400;
}

.footer-column h3::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 48px;
    height: 3px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--gold-500),
            transparent
        );
}


/* لوگوی فوتر */

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 23px;
    padding: 11px 20px;

    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #efefef
        );

    box-shadow:
        0 6px 0 #bfbfbf,
        0 14px 26px rgba(0, 0, 0, 0.34);
}

.footer-logo img {
    width: 135px;
}

.footer-description {
    max-width: 390px;

    margin-bottom: 25px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 18px;
}

.footer-solarsanj {
    min-height: 48px;

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

    padding: 10px 21px;

    color: var(--green-950);

    font-size: 18px;

    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600),
        0 11px 20px rgba(0, 0, 0, 0.28);
}


/* منوی فوتر */

.footer-menu {
    display: grid;

    gap: 12px;
}

.footer-menu a {
    position: relative;

    padding-right: 18px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 18px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-menu a::before {
    content: "";

    position: absolute;

    right: 0;
    top: 50%;

    width: 7px;
    height: 7px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: var(--gold-500);
}

.footer-menu a:hover {
    color: var(--gold-300);

    transform: translateX(-5px);
}


/* تماس فوتر */

.contact-item {
    margin-bottom: 17px;
    padding: 13px;

    display: flex;
    align-items: center;

    gap: 13px;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;

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

.contact-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--green-950);

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    color: var(--gold-300);

    font-size: 17px;
    font-weight: 400;
}

.contact-item a {
    direction: ltr;

    color: rgba(255, 255, 255, 0.72);
}


/* نوار پایین فوتر */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    min-height: 82px;

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

    gap: 24px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.58);
}

.footer-bottom strong {
    color: var(--gold-300);
    font-weight: 400;
}

.footer-brand {
    direction: ltr;

    display: flex;
    align-items: center;

    gap: 12px;

    color: var(--gold-300) !important;

    font-size: 20px;
    letter-spacing: 2px;
}

.footer-brand span {
    color: rgba(255, 255, 255, 0.48);

    font-size: 14px;
    letter-spacing: 0;
}


/* ==================================================
   Responsive
================================================== */

@media (max-width: 1150px) {

    .header-box {
        padding-block: 15px;
        flex-wrap: wrap;
    }

    .main-menu {
        order: 3;

        width: 100%;

        padding-top: 14px;

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

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


@media (max-width: 950px) {

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

    .solarsanj-box,
    .contact-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }

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


@media (max-width: 850px) {

    .home-cover {
        height: 470px;
    }

    .projects-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .solarsanj-section {
        background-attachment: scroll;
    }
}


@media (max-width: 650px) {

    .header-box {
        justify-content: center;
    }

    .logo img {
        width: 108px;
    }

    .main-menu {
        gap: 8px;
    }

    .main-menu a {
        padding: 8px 10px;

        font-size: 15px;

        box-shadow:
            0 4px 0 #020b07,
            0 7px 11px rgba(0, 0, 0, 0.26);
    }
.home-cover {
        height: 320px;
    }

    .home-intro,
    .products-section,
    .solutions-section,
    .projects-section,
    .articles-section,
    .contact-cta {
        padding-block: 70px;
    }

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

    .intro-content,
    .section-heading {
        text-align: center;
    }

    .home-intro h1::after,
    .section-heading h2::after {
        margin-inline: auto;
    }

    .intro-buttons {
        justify-content: center;
    }

    .btn,
    .solarsanj-main-btn {
        width: 100%;
    }

    .contact-cta-box {
        padding: 30px 22px;

        text-align: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h3::after {
        right: 50%;

        transform: translateX(50%);
    }

    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-menu a {
        padding-right: 0;
    }

    .footer-menu a::before {
        display: none;
    }

    .footer-bottom-content {
        padding-block: 22px;

        flex-direction: column;
        justify-content: center;

        text-align: center;
    }

    .footer-brand {
        flex-direction: column;

        gap: 3px;
    }
}

/* ==================================================
   Contact Modal
================================================== */

.modal-open {
    overflow: hidden;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;

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

    padding: 20px;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.contact-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.contact-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(2, 13, 9, 0.76);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-modal-box {
    position: relative;
    z-index: 2;

    width: min(92%, 520px);

    padding: 40px 34px 34px;

    color: var(--text-dark);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4f0e6
        );

    border: 1px solid rgba(199, 160, 74, 0.52);
    border-radius: 24px;

    box-shadow:
        0 10px 0 var(--green-950),
        0 30px 70px rgba(0, 0, 0, 0.42);

    transform:
        translateY(28px)
        scale(0.94);

    transition:
        transform 0.28s ease;
}

.contact-modal.is-open .contact-modal-box {
    transform:
        translateY(0)
        scale(1);
}

.contact-modal-close {
    position: absolute;

    top: 16px;
    left: 16px;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: var(--white);

    font-size: 30px;
    line-height: 1;

    border: 0;
    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            var(--green-700),
            var(--green-900)
        );

    box-shadow:
        0 4px 0 var(--green-950),
        0 8px 14px rgba(0, 0, 0, 0.2);

    cursor: pointer;

    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease;
}

.contact-modal-close:active {
    transform: translateY(4px);

    box-shadow:
        0 1px 0 var(--green-950),
        0 3px 6px rgba(0, 0, 0, 0.18);
}

.contact-modal-label {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--gold-600);

    font-size: 18px;
}

.contact-modal-box h2 {
    margin-bottom: 25px;

    color: var(--green-900);

    font-size: 38px;
    font-weight: 400;
}

.contact-modal-list {
    display: grid;
    gap: 14px;
}

.contact-modal-item {
    min-height: 78px;

    display: flex;
    align-items: center;

    gap: 16px;

    padding: 14px 16px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7f3e9
        );

    box-shadow:
        0 5px 0 rgba(6, 31, 22, 0.15),
        0 11px 22px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.2s ease;
}

.contact-modal-item:hover {
    transform: translateY(-3px);

    border-color: rgba(199, 160, 74, 0.62);

    box-shadow:
        0 8px 0 rgba(6, 31, 22, 0.15),
        0 17px 28px rgba(0, 0, 0, 0.12);
}

.contact-modal-item:active {
    transform: translateY(4px);

    box-shadow:
        0 1px 0 rgba(6, 31, 22, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.08);
}

.contact-modal-icon {
    min-width: 68px;
    height: 48px;

    display: grid;
    place-items: center;

    padding-inline: 8px;

    color: var(--green-950);

    font-size: 16px;

    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 4px 0 var(--gold-600),
        0 8px 14px rgba(0, 0, 0, 0.15);
}

.contact-modal-item > span:last-child {
    display: flex;
    flex-direction: column;
}

.contact-modal-item strong {
    color: var(--green-800);

    font-size: 20px;
    font-weight: 400;
}

.contact-modal-item small {
    direction: ltr;

    color: var(--text-soft);

    font-size: 17px;
}

@media (max-width: 650px) {

    .contact-modal-box {
        padding:
            65px
            20px
            25px;
    }

    .contact-modal-box h2 {
        font-size: 32px;
    }

    .contact-modal-item {
        min-height: 72px;
    }

    .contact-modal-icon {
        min-width: 61px;
    }
}

/* ==================================================
   About Page
================================================== */

/* بخش عنوان صفحه */

.about-page-hero {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);

    background:
        linear-gradient(
            90deg,
            rgba(3, 19, 13, 0.96),
            rgba(6, 31, 22, 0.77),
            rgba(6, 31, 22, 0.28)
        ),
        url("images/backg.png");

    background-size: cover;
    background-position: center;
}

.about-page-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 78% 28%,
            rgba(221, 189, 114, 0.19),
            transparent 33%
        );
}

.about-page-hero-content {
    position: relative;
    z-index: 2;
}

.about-page-hero h1 {
    margin-bottom: 16px;

    color: var(--white);

    font-size: clamp(45px, 6vw, 75px);
    font-weight: 400;
    line-height: 1.3;

    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.55),
        0 8px 30px rgba(0, 0, 0, 0.4);
}

.about-page-hero p {
    max-width: 720px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 22px;
}


/* معرفی اصلی */

.about-main-section {
    padding-block: 105px;

    background: var(--cream);
}

.about-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;

    gap: 60px;
}

.about-main-content h2,
.about-why-content h2 {
    margin-bottom: 22px;

    color: var(--green-900);

    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.4;
}

.about-main-content h2::after,
.about-why-content h2::after {
    content: "";

    display: block;

    width: 74px;
    height: 4px;

    margin-top: 14px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--green-700),
            var(--gold-500)
        );
}

.about-main-content > p {
    margin-bottom: 18px;

    color: var(--text-soft);

    font-size: 20px;
}

.about-main-buttons {
    margin-top: 30px;

    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}


/* کارت تصویری */

.about-visual-card {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: flex-end;

    padding: 30px;

    overflow: hidden;

    border: 1px solid rgba(199, 160, 74, 0.5);
    border-radius: 26px;

    background:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.94),
            rgba(3, 19, 13, 0.08)
        ),
        url("images/about.png");

    background-size: cover;
    background-position: center;

    box-shadow:
        0 11px 0 var(--green-950),
        0 28px 55px rgba(3, 19, 13, 0.26);
}

.about-visual-content {
    width: 100%;

    padding: 24px;

    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 18px;

    background: rgba(3, 19, 13, 0.75);

    backdrop-filter: blur(12px);
}

.about-visual-content > span {
    display: block;

    margin-bottom: 4px;

    color: var(--gold-300);

    font-size: 26px;
    letter-spacing: 3px;
}

.about-visual-content h3 {
    margin-bottom: 7px;

    color: var(--white);

    font-size: 30px;
    font-weight: 400;
}

.about-visual-content p {
    color: rgba(255, 255, 255, 0.75);

    font-size: 18px;
}


/* مأموریت و ارزش‌ها */

.about-values-section {
    padding-block: 105px;

    background: var(--white);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.about-value-card {
    position: relative;

    min-height: 310px;

    padding: 35px 29px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f1e8
        );

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.about-value-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--green-700),
            var(--gold-500)
        );
}

.about-value-card:hover {
    transform: translateY(-8px);

    border-color: rgba(199, 160, 74, 0.55);

    box-shadow: var(--shadow-md);
}

.about-value-number {
    display: block;

    margin-bottom: 23px;

    color: rgba(199, 160, 74, 0.35);

    font-size: 58px;
    line-height: 1;
}

.about-value-card h3 {
    margin-bottom: 13px;

    color: var(--green-800);

    font-size: 27px;
    font-weight: 400;
}

.about-value-card p {
    color: var(--text-soft);

    font-size: 18px;
}


/* خدمات */

.about-services-section {
    padding-block: 105px;

    color: var(--white);

    background:
        radial-gradient(
            circle at 16% 20%,
            rgba(199, 160, 74, 0.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 23px;
}

.about-service-card {
    min-height: 270px;

    padding: 30px 27px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.11),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.about-service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(221, 189, 114, 0.65);

    box-shadow:
        0 26px 52px rgba(0, 0, 0, 0.3);
}

.about-service-icon {
    width: 61px;
    height: 61px;

    margin-bottom: 23px;

    display: grid;
    place-items: center;

    color: var(--green-950);

    font-size: 26px;

    border-radius: 15px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600),
        0 11px 19px rgba(0, 0, 0, 0.25);
}

.about-service-card h3 {
    margin-bottom: 10px;

    color: var(--gold-300);

    font-size: 26px;
    font-weight: 400;
}

.about-service-card p {
    color: rgba(255, 255, 255, 0.72);

    font-size: 18px;
}


/* چرا فوتوسان */

.about-why-section {
    padding-block: 105px;

    background: var(--cream);
}

.about-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 60px;
}

.about-why-content p {
    margin-bottom: 17px;

    color: var(--text-soft);

    font-size: 20px;
}

.about-why-list {
    display: grid;

    gap: 15px;
}

.about-why-item {
    min-height: 72px;

    padding: 16px 18px;

    display: flex;
    align-items: center;

    gap: 15px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f1e8
        );

    box-shadow:
        0 5px 0 rgba(6, 31, 22, 0.13),
        0 12px 23px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-why-item:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 0 rgba(6, 31, 22, 0.13),
        0 18px 28px rgba(0, 0, 0, 0.1);
}

.about-why-item span {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--green-950);

    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 4px 0 var(--gold-600);
}

.about-why-item p {
    margin: 0;

    color: var(--green-800);

    font-size: 19px;
}


/* سولارسنج در صفحه درباره ما */

.about-solarsanj-section {
    padding-block: 90px;

    color: var(--white);

    background:
        linear-gradient(
            rgba(3, 19, 13, 0.93),
            rgba(6, 31, 22, 0.93)
        ),
        url("images/backg.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-solarsanj-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;
}

.about-solarsanj-box h2 {
    margin-bottom: 12px;

    color: var(--white);

    font-size: clamp(34px, 4vw, 50px);
    font-weight: 400;
}

.about-solarsanj-box p {
    max-width: 750px;

    color: rgba(255, 255, 255, 0.77);

    font-size: 19px;
}


/* واکنش‌گرایی */

@media (max-width: 1000px) {

    .about-main-grid,
    .about-why-grid {
        grid-template-columns: 1fr;
    }

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

    .about-solarsanj-box {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 650px) {

    .about-page-hero {
        min-height: 350px;

        text-align: center;
    }

    .about-page-hero p {
        font-size: 18px;
    }

    .about-main-section,
    .about-values-section,
    .about-services-section,
    .about-why-section {
        padding-block: 70px;
    }

    .about-values-grid,
    .about-services-grid {
        grid-template-columns: 1fr;
    }

    .about-main-content,
    .about-why-content,
    .section-heading {
        text-align: center;
    }

    .about-main-content h2::after,
    .about-why-content h2::after,
    .section-heading h2::after {
        margin-inline: auto;
    }

    .about-main-buttons {
        justify-content: center;
    }

    .about-main-buttons .btn {
        width: 100%;
    }

    .about-visual-card {
        min-height: 370px;
    }

    .about-solarsanj-section {
        background-attachment: scroll;
    }
}


/* ==================================================
   Contact Page
================================================== */

.contact-page-hero {
    min-height: 390px;

    display: flex;
    align-items: center;

    color: var(--white);

    background:
        
        url("images/contact.png");

    background-size: cover;
    background-position: center;
}

.contact-page-hero-content h1 {
    margin-bottom: 15px;

    color: var(--white);

    font-size: clamp(44px, 6vw, 72px);
    font-weight: 400;

    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.5),
        0 8px 28px rgba(0, 0, 0, 0.4);
}

.contact-page-hero-content p {
    max-width: 720px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 21px;
}


/* نتیجه ارسال */

.form-message-section {
    padding-top: 35px;

    background: var(--cream);
}

.form-result-message {
    padding: 19px 22px;

    font-size: 18px;

    border: 1px solid;
    border-radius: 14px;

    box-shadow: var(--shadow-sm);
}

.form-result-message.is-success {
    color: #0b5138;

    border-color: rgba(11, 81, 56, 0.35);

    background: #e5f5ed;
}

.form-result-message.is-error {
    color: #7c281f;

    border-color: rgba(124, 40, 31, 0.32);

    background: #fae9e6;
}


/* محتوای صفحه */

.contact-page-section {
    padding-block: 100px;

    background: var(--cream);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;

    gap: 40px;
}


/* پنل اطلاعات تماس */

.contact-info-panel,
.contact-form-panel {
    padding: 38px;

    border: 1px solid var(--border);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f1e8
        );

    box-shadow: var(--shadow-md);
}

.contact-info-panel h2,
.contact-form-panel h2 {
    margin-bottom: 12px;

    color: var(--green-900);

    font-size: 38px;
    font-weight: 400;
}

.contact-info-description,
.contact-form-panel > p {
    margin-bottom: 28px;

    color: var(--text-soft);

    font-size: 18px;
}

.contact-info-list {
    display: grid;

    gap: 15px;
}

.contact-info-card {
    min-height: 80px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 14px 16px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background: var(--white);

    box-shadow:
        0 5px 0 rgba(6, 31, 22, 0.13),
        0 12px 22px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.2s ease;
}

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

    border-color: rgba(199, 160, 74, 0.55);

    box-shadow:
        0 8px 0 rgba(6, 31, 22, 0.13),
        0 18px 28px rgba(0, 0, 0, 0.11);
}

.contact-info-icon {
    min-width: 60px;
    height: 50px;

    display: grid;
    place-items: center;

    padding-inline: 7px;

    color: var(--green-950);

    border-radius: 13px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 4px 0 var(--gold-600);
}

.contact-text-icon {
    font-size: 14px;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
}

.contact-info-text strong {
    color: var(--green-800);

    font-size: 20px;
    font-weight: 400;
}

.contact-info-text small {
    direction: ltr;

    color: var(--text-soft);

    font-size: 16px;
}

.contact-working-hours {
    margin-top: 30px;
    padding: 23px;

    color: rgba(255, 255, 255, 0.78);

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );
}

.contact-working-hours h3 {
    margin-bottom: 12px;

    color: var(--gold-300);

    font-size: 23px;
    font-weight: 400;
}

.contact-working-hours ul {
    display: grid;

    gap: 8px;
}

.contact-working-hours li::before {
    content: "✓";

    margin-left: 9px;

    color: var(--gold-400);
}


/* فرم */

.contact-form {
    margin-top: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 21px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--green-800);

    font-size: 18px;
}

.form-group label > span {
    color: #a52f25;
}

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

    color: var(--text-dark);

    font-size: 17px;

    border: 1px solid rgba(6, 31, 22, 0.2);
    border-radius: 12px;

    outline: none;

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

    box-shadow:
        inset 0 2px 5px rgba(0, 0, 0, 0.045);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group input,
.form-group select {
    min-height: 52px;

    padding: 9px 13px;
}

.form-group textarea {
    min-height: 165px;

    padding: 13px;

    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);

    background: var(--white);

    box-shadow:
        0 0 0 4px rgba(199, 160, 74, 0.14),
        inset 0 2px 5px rgba(0, 0, 0, 0.035);
}

.form-consent label {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: var(--text-soft);

    cursor: pointer;
}

.form-consent input {
    width: 18px;
    height: 18px;

    margin-top: 7px;

    flex-shrink: 0;

    accent-color: var(--green-700);
}

.contact-submit-button {
    min-width: 190px;
    min-height: 54px;

    padding: 11px 30px;

    color: var(--green-950);

    font-size: 19px;

    border: 1px solid var(--gold-200);
    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 6px 0 var(--gold-600),
        0 14px 25px rgba(0, 0, 0, 0.17);

    cursor: pointer;

    transition:
        transform 0.13s ease,
        box-shadow 0.13s ease;
}

.contact-submit-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 9px 0 var(--gold-600),
        0 19px 31px rgba(0, 0, 0, 0.22);
}

.contact-submit-button:active {
    transform: translateY(5px);

    box-shadow:
        0 1px 0 var(--gold-600),
        0 3px 7px rgba(0, 0, 0, 0.18);
}


/* فیلد ضدربات */

.website-field {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;

    clip-path: inset(50%) !important;
}


/* واکنش‌گرایی */

@media (max-width: 950px) {

    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 650px) {

    .contact-page-hero {
        min-height: 340px;

        text-align: center;
    }

    .contact-page-hero-content p {
        font-size: 18px;
    }

    .contact-page-section {
        padding-block: 70px;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 28px 20px;
    }

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

    .form-group-full {
        grid-column: auto;
    }

    .contact-submit-button {
        width: 100%;
    }
}

.contact-address {
    direction: rtl !important;
    text-align: right;
}


.footer-address {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.8;
}


/* ==================================================
   Articles Page
================================================== */

.articles-page-hero {
    min-height: 420px;

    display: flex;
    align-items: center;

    color: var(--white);

    background:
      
        url("images/article.png");

    background-size: cover;
    background-position: center;
}

.articles-page-hero-content h1 {
    margin-bottom: 15px;

    color: var(--white);

    font-size: clamp(45px, 6vw, 74px);
    font-weight: 400;

    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.5),
        0 8px 28px rgba(0, 0, 0, 0.4);
}

.articles-page-hero-content p {
    max-width: 760px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 21px;
}


/* ابزار جست‌وجو */

.articles-tools-section {
    padding-block: 45px;

    background: var(--cream);
}

.articles-tools-box {
    padding: 28px;

    display: grid;
    gap: 24px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f1e8
        );

    box-shadow: var(--shadow-sm);
}

.articles-search-box label {
    display: block;

    margin-bottom: 8px;

    color: var(--green-800);

    font-size: 19px;
}

.articles-search-row {
    display: flex;

    gap: 12px;
}

.articles-search-row input {
    min-height: 52px;

    flex: 1;

    padding: 10px 15px;

    color: var(--text-dark);

    font-size: 17px;

    border: 1px solid var(--border);
    border-radius: 12px;

    outline: none;

    background: var(--white);
}

.articles-search-row input:focus {
    border-color: var(--gold-500);

    box-shadow:
        0 0 0 4px rgba(199, 160, 74, 0.14);
}

.articles-search-row button {
    min-width: 115px;

    padding-inline: 24px;

    color: var(--green-950);

    font-size: 18px;

    border: 1px solid var(--gold-200);
    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600);

    cursor: pointer;
}

.articles-search-row button:active {
    transform: translateY(4px);

    box-shadow:
        0 1px 0 var(--gold-600);
}


/* فیلترها */

.articles-filter-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.articles-filter-box > span {
    color: var(--green-800);

    font-size: 18px;
}

.article-filter {
    min-height: 42px;

    padding: 7px 17px;

    color: var(--green-800);

    font-size: 17px;

    border: 1px solid rgba(6, 31, 22, 0.17);
    border-radius: 30px;

    background: var(--white);

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.article-filter:hover {
    transform: translateY(-2px);

    border-color: var(--gold-500);
}

.article-filter.active {
    color: var(--green-950);

    border-color: var(--gold-300);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}


/* مقاله ویژه */

.featured-article-section {
    padding-block: 70px 90px;

    background: var(--cream);
}

.featured-article-card {
    display: grid;
    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    border: 1px solid rgba(199, 160, 74, 0.42);
    border-radius: 25px;

    background: var(--white);

    box-shadow: var(--shadow-md);
}

.featured-article-image {
    position: relative;

    min-height: 450px;

    background:
     
        url("images/1a.png");

    background-size: cover;
    background-position: center;
}

.featured-badge {
    position: absolute;

    top: 24px;
    right: 24px;

    padding: 7px 16px;

    color: var(--green-950);

    font-size: 17px;

    border-radius: 30px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600);
}

.featured-article-content {
    padding: 50px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

    width: fit-content;

    margin-bottom: 13px;
    padding: 5px 14px;

    color: var(--green-800);

    border-radius: 25px;

    background: rgba(199, 160, 74, 0.2);
}

.featured-article-content h2 {
    margin-bottom: 17px;

    color: var(--green-900);

    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.4;
}

.featured-article-content > p {
    margin-bottom: 22px;

    color: var(--text-soft);

    font-size: 19px;
}

.article-meta {
    margin-bottom: 23px;

    display: flex;
    flex-wrap: wrap;

    gap: 15px;

    color: #7c857f;

    font-size: 15px;
}

.article-main-button {
    width: fit-content;

    min-height: 51px;

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

    padding: 11px 28px;

    color: var(--green-950);

    font-size: 18px;

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600);
}


/* فهرست مقالات */

.articles-list-section {
    padding-block: 100px;

    background: var(--white);
}

.articles-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.articles-page-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7f4ec
        );

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.articles-page-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-md);
}

.article-card-image {
    position: relative;

    height: 230px;


    background-size: cover;
    background-position: center;
}

.article-card-category {
    position: absolute;

    right: 18px;
    bottom: 18px;

    padding: 5px 13px;

    color: var(--green-950);

    border-radius: 25px;

    background: var(--gold-300);
}

.article-card-content {
    padding: 27px;
}

.article-card-content h3 {
    margin-bottom: 11px;

    color: var(--green-800);

    font-size: 25px;
    font-weight: 400;
    line-height: 1.55;
}

.article-card-content > p {
    margin-bottom: 20px;

    color: var(--text-soft);

    font-size: 17px;
}

.article-card-content a {
    color: var(--gold-600);

    font-size: 18px;
}

.articles-empty-message {
    margin-top: 30px;
    padding: 20px;

    text-align: center;

    color: var(--green-800);

    font-size: 19px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--cream);
}


/* سولارسنج */

.articles-solarsanj-section {
    padding-block: 90px;

    color: var(--white);

    background:
        linear-gradient(
            rgba(3, 19, 13, 0.93),
            rgba(6, 31, 22, 0.93)
        ),
        url("images/backg.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.articles-solarsanj-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.articles-solarsanj-box h2 {
    margin-bottom: 10px;

    color: var(--white);

    font-size: clamp(34px, 4vw, 50px);
    font-weight: 400;
}

.articles-solarsanj-box p {
    max-width: 720px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 19px;
}


/* فوتر نشانی */

.footer-address {
    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;
    line-height: 1.8;
}


/* واکنش‌گرایی */

@media (max-width: 1000px) {

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

    .featured-article-image {
        min-height: 360px;
    }

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

    .articles-solarsanj-box {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 650px) {

    .articles-page-hero {
        min-height: 350px;

        text-align: center;
    }

    .articles-page-hero-content p {
        font-size: 18px;
    }

    .articles-search-row {
        flex-direction: column;
    }

    .articles-search-row button {
        min-height: 50px;
        width: 100%;
    }

    .articles-filter-box {
        justify-content: center;
    }

    .featured-article-content {
        padding: 30px 22px;
    }

    .articles-page-grid {
        grid-template-columns: 1fr;
    }

    .articles-list-section {
        padding-block: 70px;
    }

    .article-card-image {
        height: 210px;
    }

    .articles-solarsanj-section {
        background-attachment: scroll;
    }

    .articles-solarsanj-box {
        text-align: center;
    }
}

/* ==================================================
   Single Article Page
================================================== */

html {
    scroll-behavior: smooth;
}


/* مسیر صفحه */

.article-breadcrumb-section {
    padding-block: 20px;

    border-bottom: 1px solid var(--border);

    background: var(--cream);
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    color: var(--text-soft);

    font-size: 16px;
}

.article-breadcrumb a {
    color: var(--green-700);
}

.article-breadcrumb a:hover {
    color: var(--gold-600);
}


/* سربرگ مقاله */

.single-article-header {
    padding-block: 80px 125px;

    color: var(--white);

    text-align: center;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(199, 160, 74, 0.17),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );
}

.single-article-header-content {
    max-width: 1000px;
}

.article-top-category {
    display: inline-flex;

    margin-bottom: 22px;
    padding: 7px 18px;

    color: var(--green-950);

    border-radius: 30px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600);
}

.single-article-header h1 {
    margin-bottom: 20px;

    color: var(--white);

    font-size: clamp(42px, 6vw, 70px);
    font-weight: 400;
    line-height: 1.4;

    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.4),
        0 11px 30px rgba(0, 0, 0, 0.3);
}

.single-article-lead {
    max-width: 850px;

    margin-inline: auto;
    margin-bottom: 26px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 21px;
    line-height: 2;
}

.single-article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px 27px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 16px;
}


/* تصویر اصلی */

.single-article-cover-section {
    position: relative;

    margin-top: -75px;

    background:
        linear-gradient(
            to bottom,
            transparent 75px,
            var(--cream) 75px
        );
}

.single-article-cover {
    max-width: 1050px;

    margin-inline: auto;

    overflow: hidden;

    border: 1px solid rgba(199, 160, 74, 0.55);
    border-radius: 28px;

    background: var(--white);

    box-shadow:
        0 12px 0 var(--green-950),
        0 35px 70px rgba(3, 19, 13, 0.25);
}

.single-article-cover img {
    width: 100%;
    max-height: 760px;

    display: block;

    object-fit: cover;
}

.single-article-cover figcaption {
    padding: 14px 20px;

    color: var(--text-soft);

    text-align: center;

    background: var(--white);
}


/* ساختار محتوا */

.single-article-section {
    padding-block: 100px;

    background: var(--cream);
}

.single-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;

    gap: 40px;
}

.single-article-content {
    min-width: 0;
}

.single-article-content > p,
.article-content-section > p {
    margin-bottom: 20px;

    color: var(--text-soft);

    font-size: 20px;
    line-height: 2.15;
}


/* مقدمه */

.article-introduction-box {
    margin-bottom: 45px;
    padding: 34px;

    border: 1px solid rgba(199, 160, 74, 0.45);
    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f3eee2
        );

    box-shadow: var(--shadow-sm);
}

.article-introduction-box h2 {
    margin-bottom: 15px;

    color: var(--green-900);

    font-size: 34px;
    font-weight: 400;
}

.article-introduction-box p {
    margin-bottom: 14px;

    color: var(--text-soft);

    font-size: 20px;
    line-height: 2.1;
}


/* بخش‌های مقاله */

.article-content-section {
    position: relative;

    margin-bottom: 40px;
    padding: 38px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: var(--white);

    box-shadow: var(--shadow-sm);

    scroll-margin-top: 120px;
}

.article-section-number {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    margin-bottom: 17px;

    color: var(--green-950);

    font-size: 25px;

    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600);
}

.article-content-section > h2 {
    margin-bottom: 18px;

    color: var(--green-900);

    font-size: clamp(30px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.5;
}

.article-content-section > h2::after {
    content: "";

    display: block;

    width: 72px;
    height: 4px;

    margin-top: 12px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--green-700),
            var(--gold-500)
        );
}

.article-content-section h3 {
    margin-block: 29px 14px;

    color: var(--green-800);

    font-size: 27px;
    font-weight: 400;
}


/* مقایسه */

.article-comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-top: 28px;
}

.article-comparison-card {
    padding: 24px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f1e8
        );
}

.article-comparison-card h3 {
    margin: 0 0 12px;

    color: var(--green-800);

    font-size: 24px;
}

.article-comparison-card p {
    margin-bottom: 15px;

    color: var(--text-soft);

    line-height: 1.9;
}

.article-comparison-card ul {
    display: grid;

    gap: 8px;
}

.article-comparison-card li {
    color: var(--text-soft);
}

.article-comparison-card li::before {
    content: "✓";

    margin-left: 7px;

    color: var(--gold-600);
}


/* فرمول‌ها */

.article-formula-box {
    margin-block: 25px;
    padding: 25px;

    direction: rtl;

    border: 1px solid rgba(199, 160, 74, 0.46);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #fbf8ef,
            #f1ead9
        );
}

.formula-title {
    display: block;

    margin-bottom: 13px;

    color: var(--green-800);

    font-size: 20px;
}

.formula-ltr {
    direction: ltr;

    margin-block: 10px;

    color: var(--green-950);

    text-align: center;

    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: bold;
    line-height: 1.8;
}

.article-formula-box p {
    margin: 13px 0 0;

    color: var(--text-soft);

    line-height: 1.9;
}


/* محاسبات */

.article-calculation-box {
    margin-block: 25px;
    padding: 27px;

    color: rgba(255, 255, 255, 0.8);

    border: 1px solid rgba(221, 189, 114, 0.3);
    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );

    box-shadow:
        0 9px 25px rgba(3, 19, 13, 0.2);
}

.article-calculation-box h3 {
    margin: 0 0 18px;

    color: var(--gold-300);
}

.article-calculation-box .formula-ltr {
    color: var(--gold-300);
}

.calculation-line {
    padding-block: 8px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.11);

    font-size: 18px;
}

.article-calculation-box strong {
    display: block;

    margin-top: 20px;
    padding: 15px;

    color: var(--green-950);

    font-size: 20px;
    font-weight: 400;

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.article-calculation-box p {
    margin-top: 17px;

    line-height: 1.9;
}


/* جدول */

.article-table-wrapper {
    width: 100%;

    margin-block: 24px;

    overflow-x: auto;

    border: 1px solid var(--border);
    border-radius: 15px;
}

.article-table {
    width: 100%;
    min-width: 660px;

    border-collapse: collapse;

    background: var(--white);
}

.article-table th,
.article-table td {
    padding: 15px 14px;

    text-align: center;

    border-bottom: 1px solid var(--border);
}

.article-table th {
    color: var(--gold-300);

    font-size: 18px;
    font-weight: 400;

    background: var(--green-900);
}

.article-table td {
    color: var(--text-soft);
}

.article-table tbody tr:nth-child(even) {
    background: #f7f4ec;
}

.article-table-total td {
    color: var(--green-900);

    font-weight: bold;

    background: rgba(199, 160, 74, 0.2);
}


/* نکات و هشدارها */

.article-note-box,
.article-warning-box {
    margin-block: 25px;
    padding: 22px;

    border-radius: 15px;
}

.article-note-box {
    border-right: 5px solid var(--green-700);

    background: #e9f3ee;
}

.article-warning-box {
    border-right: 5px solid #b97922;

    background: #fff2dc;
}

.article-note-box strong,
.article-warning-box strong {
    display: block;

    margin-bottom: 8px;

    color: var(--green-900);

    font-size: 20px;
}

.article-note-box p,
.article-warning-box p {
    margin: 0;

    color: var(--text-soft);

    line-height: 1.9;
}


/* چک‌لیست */

.article-check-list {
    display: grid;

    gap: 12px;

    margin-block: 22px;
}

.article-check-list li {
    position: relative;

    padding: 13px 50px 13px 15px;

    color: var(--green-800);

    border: 1px solid var(--border);
    border-radius: 12px;

    background: #f8f5ed;
}

.article-check-list li::before {
    content: "✓";

    position: absolute;

    top: 11px;
    right: 14px;

    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    color: var(--green-950);

    border-radius: 50%;

    background: var(--gold-400);
}


/* نتایج طراحی */

.complete-design-card {
    margin-block: 24px;
    padding: 27px;

    border: 1px solid var(--border);
    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f1e8
        );
}

.complete-design-card h3 {
    margin: 0 0 20px;

    color: var(--green-900);
}

.design-result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 13px;
}

.design-result-grid > div {
    padding: 17px;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--white);
}

.design-result-grid span {
    color: var(--text-soft);

    font-size: 15px;
}

.design-result-grid strong {
    margin-top: 5px;

    color: var(--green-800);

    font-size: 19px;
}

.article-final-result {
    margin-block: 30px;
    padding: 33px;

    color: var(--white);

    text-align: center;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(199, 160, 74, 0.25),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );
}

.article-final-result > span {
    color: var(--gold-300);
}

.article-final-result h3 {
    margin-block: 13px;

    color: var(--white);

    font-size: 29px;
}

.article-final-result p {
    color: rgba(255, 255, 255, 0.74);

    line-height: 1.9;
}


/* اشتباهات */

.article-mistakes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}

.article-mistakes-grid > div {
    padding: 22px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: #f8f5ed;
}

.article-mistakes-grid strong {
    display: block;

    margin-bottom: 8px;

    color: var(--green-800);

    font-size: 20px;
}

.article-mistakes-grid p {
    margin: 0;

    color: var(--text-soft);

    line-height: 1.8;
}


/* جمع‌بندی */

.article-conclusion-box {
    padding: 40px;

    border: 1px solid rgba(199, 160, 74, 0.45);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f1eadb
        );

    box-shadow: var(--shadow-md);
}

.article-conclusion-box h2 {
    margin-bottom: 15px;

    color: var(--green-900);

    font-size: 37px;
    font-weight: 400;
}

.article-conclusion-box p {
    margin-bottom: 14px;

    color: var(--text-soft);

    font-size: 19px;
    line-height: 2;
}

.article-conclusion-buttons {
    margin-top: 28px;

    display: flex;
    flex-wrap: wrap;

    gap: 13px;
}

.article-primary-button,
.article-secondary-button {
    min-height: 52px;

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

    padding: 10px 25px;

    border-radius: 11px;
}

.article-primary-button {
    color: var(--green-950);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600);
}

.article-secondary-button {
    color: var(--green-800);

    border: 1px solid var(--green-700);

    background: var(--white);

    box-shadow:
        0 5px 0 var(--green-900);
}


/* اشتراک‌گذاری */

.article-share-box {
    margin-top: 30px;
    padding: 24px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--white);
}

.article-share-box strong {
    display: block;

    margin-bottom: 14px;

    color: var(--green-800);

    font-size: 20px;
}

.article-share-box > div {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;
}

.article-share-box a,
.article-share-box button {
    padding: 8px 17px;

    color: var(--green-800);

    font-family: inherit;
    font-size: 16px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background: var(--cream);

    cursor: pointer;
}

.copy-message {
    display: block;

    margin-top: 13px;

    color: var(--green-700);
}


/* سایدبار */

.single-article-sidebar {
    position: sticky;
    top: 110px;

    display: grid;

    gap: 22px;
}

.article-sidebar-card {
    padding: 25px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.article-sidebar-card h2 {
    margin-bottom: 15px;

    color: var(--green-900);

    font-size: 25px;
    font-weight: 400;
}

.article-toc {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.article-toc a {
    padding: 9px 12px;

    color: var(--text-soft);

    border-bottom: 1px solid var(--border);
}

.article-toc a:hover {
    color: var(--gold-600);

    background: var(--cream);
}

.article-sidebar-contact {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );
}

.article-sidebar-contact > span,
.article-sidebar-tool > span {
    color: var(--gold-300);
}

.article-sidebar-contact h2 {
    margin-block: 8px;

    color: var(--white);
}

.article-sidebar-contact p {
    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.73);

    line-height: 1.8;
}

.article-sidebar-contact a,
.article-sidebar-tool a {
    min-height: 47px;

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

    color: var(--green-950);

    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600);
}

.article-sidebar-tool {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f1eadb
        );
}

.article-sidebar-tool h2 {
    margin-block: 8px;
}

.article-sidebar-tool p {
    margin-bottom: 18px;

    color: var(--text-soft);

    line-height: 1.8;
}


/* فهرست موبایل */

.article-mobile-toc {
    display: none;
}


/* مقالات مرتبط */

.related-articles-section {
    padding-block: 95px;

    background: var(--white);
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.related-articles-grid article {
    padding: 27px;

    border: 1px solid var(--border);
    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f6f2e9
        );

    box-shadow: var(--shadow-sm);
}

.related-articles-grid h3 {
    margin-bottom: 11px;

    color: var(--green-800);

    font-size: 24px;
    font-weight: 400;
}

.related-articles-grid p {
    margin-bottom: 16px;

    color: var(--text-soft);

    line-height: 1.8;
}

.related-articles-grid a {
    color: var(--gold-600);

    font-size: 18px;
}


/* نشانی فوتر */

.footer-address {
    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;
    line-height: 1.8;
}


/* واکنش‌گرایی */

@media (max-width: 1050px) {

    .single-article-layout {
        grid-template-columns: 1fr;
    }

    .single-article-sidebar {
        position: static;

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

    .article-toc {
        display: none;
    }

    .article-mobile-toc {
        display: flex;
        flex-direction: column;

        margin-bottom: 35px;
        padding: 27px;

        border: 1px solid var(--border);
        border-radius: 18px;

        background: var(--white);
    }

    .article-mobile-toc h2 {
        margin-bottom: 12px;

        color: var(--green-900);

        font-size: 28px;
        font-weight: 400;
    }

    .article-mobile-toc a {
        padding: 9px;

        color: var(--text-soft);

        border-bottom: 1px solid var(--border);
    }
}


@media (max-width: 850px) {

    .article-comparison-grid,
    .design-result-grid,
    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .article-mistakes-grid {
        grid-template-columns: 1fr;
    }

    .single-article-sidebar {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 650px) {

    .single-article-header {
        padding-block: 60px 110px;
    }

    .single-article-lead {
        font-size: 18px;
    }

    .single-article-meta {
        flex-direction: column;

        gap: 5px;
    }

    .single-article-cover-section {
        padding-inline: 10px;
    }

    .single-article-cover {
        border-radius: 19px;

        box-shadow:
            0 8px 0 var(--green-950),
            0 22px 40px rgba(3, 19, 13, 0.22);
    }

    .single-article-cover img {
        min-height: 310px;

        object-fit: cover;
    }

    .single-article-section {
        padding-block: 70px;
    }

    .article-content-section,
    .article-introduction-box,
    .article-conclusion-box {
        padding: 25px 19px;
    }

    .article-content-section > p,
    .article-introduction-box p,
    .article-conclusion-box p {
        font-size: 18px;
    }

    .formula-ltr {
        overflow-x: auto;

        font-size: 19px;
    }

    .article-conclusion-buttons {
        flex-direction: column;
    }

    .article-primary-button,
    .article-secondary-button {
        width: 100%;
    }

    .article-share-box > div {
        flex-direction: column;
    }

    .article-share-box a,
    .article-share-box button {
        width: 100%;

        text-align: center;
    }
}


/* مقاله راهنمای انتخاب سیستم خورشیدی */

.article-image-guide {
    background-image:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.5),
            rgba(3, 19, 13, 0.03)
        ),
        url("images/1a.png");
}


/* مقاله انتخاب پنل خورشیدی */

.article-image-panel {
    background-image:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.5),
            rgba(3, 19, 13, 0.03)
        ),
        url("images/2a.png");
}


/* مقاله انواع اینورتر */

.article-image-inverter {
    background-image:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.5),
            rgba(3, 19, 13, 0.03)
        ),
        url("images/3a.png");
}


/* مقاله باتری خورشیدی */

.article-image-battery {
    background-image:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.5),
            rgba(3, 19, 13, 0.03)
        ),
        url("images/4a.png");
}


/* مقاله محاسبه سیستم خانگی */

.article-image-design {
    background-image:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.5),
            rgba(3, 19, 13, 0.03)
        ),
        url("images/5a.png");
}


/* مقاله پنل مونو و پلی */

.article-image-panel-two {
    background-image:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.5),
            rgba(3, 19, 13, 0.03)
        ),
        url("images/6a.png");
}


/* مقاله سیستم آفگرید */

.article-image-offgrid {
    background-image:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.5),
            rgba(3, 19, 13, 0.03)
        ),
        url("images/7a.png");
}







/* ==================================================
   Products Page
================================================== */

.products-page-hero {
    position: relative;

    padding: 105px 0 115px;

    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(221, 189, 114, 0.18),
            transparent 27%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(27, 116, 84, 0.3),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #020d09,
            var(--green-900),
            var(--green-700)
        );

    border-bottom: 3px solid var(--gold-500);
}

.products-page-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -180px;
    bottom: -230px;

    border: 1px solid rgba(221, 189, 114, 0.22);
    border-radius: 50%;
}

.products-page-hero::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    left: -90px;
    bottom: -140px;

    border: 1px solid rgba(221, 189, 114, 0.16);
    border-radius: 50%;
}

.products-page-hero-content {
    position: relative;
    z-index: 2;
}

.products-breadcrumb {
    margin-bottom: 45px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 17px;
}

.products-breadcrumb a {
    transition: color 0.25s ease;
}

.products-breadcrumb a:hover {
    color: var(--gold-300);
}

.products-breadcrumb span:last-child {
    color: var(--gold-300);
}

.products-page-label {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--gold-300);

    font-size: 18px;
    letter-spacing: 2px;
}

.products-page-hero h1 {
    max-width: 850px;

    margin-bottom: 18px;

    color: var(--white);

    font-size: clamp(43px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.35;
}

.products-page-hero h1::after {
    content: "";

    display: block;

    width: 100px;
    height: 4px;

    margin-top: 18px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--gold-500),
            transparent
        );
}

.products-page-hero p {
    max-width: 800px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 21px;
}

.products-hero-actions {
    margin-top: 35px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 15px;
}

.products-main-button,
.products-outline-button {
    min-height: 54px;

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

    padding: 12px 27px;

    border-radius: 11px;

    font-size: 18px;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.25s ease;
}

.products-main-button {
    color: var(--green-950);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    border: 1px solid var(--gold-200);

    box-shadow:
        0 5px 0 var(--gold-600),
        0 13px 25px rgba(0, 0, 0, 0.28);
}

.products-main-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 0 var(--gold-600),
        0 18px 31px rgba(0, 0, 0, 0.33);
}

.products-main-button:active {
    transform: translateY(4px);

    box-shadow:
        0 1px 0 var(--gold-600),
        0 4px 8px rgba(0, 0, 0, 0.25);
}

.products-outline-button {
    color: var(--gold-300);

    border: 1px solid rgba(221, 189, 114, 0.65);

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

.products-outline-button:hover {
    color: var(--green-950);

    background: var(--gold-300);

    transform: translateY(-3px);
}


/* دسته‌بندی محصولات */

.product-categories-section {
    padding: 105px 0;

    background:
        linear-gradient(
            180deg,
            var(--cream),
            #ffffff
        );
}

.products-page-heading {
    max-width: 800px;

    margin-bottom: 55px;
}

.products-page-heading h2 {
    margin-bottom: 13px;

    color: var(--green-900);

    font-size: clamp(35px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.4;
}

.products-page-heading h2::after {
    content: "";

    display: block;

    width: 80px;
    height: 4px;

    margin-top: 14px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--green-700),
            var(--gold-500)
        );
}

.products-page-heading p {
    color: var(--text-soft);

    font-size: 19px;
}

.products-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 27px;
}

.products-category-card {
    position: relative;

    min-height: 445px;

    padding: 36px 34px;

    display: grid;
    grid-template-columns: 86px 1fr;

    gap: 25px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f3efe5
        );

    border: 1px solid rgba(6, 31, 22, 0.13);
    border-radius: 24px;

    box-shadow:
        0 15px 38px rgba(4, 28, 19, 0.11);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.products-category-card::before {
    content: "";

    position: absolute;

    right: 0;
    top: 0;

    width: 6px;
    height: 100%;

    background:
        linear-gradient(
            var(--green-700),
            var(--gold-500)
        );
}

.products-category-card:hover {
    transform: translateY(-9px);

    border-color: rgba(199, 160, 74, 0.52);

    box-shadow:
        0 25px 56px rgba(4, 28, 19, 0.18);
}

.products-package-card {
    grid-column: 1 / -1;

    width: min(100%, 780px);

    margin-inline: auto;
}

.products-category-number {
    position: absolute;

    left: 22px;
    top: 11px;

    color: rgba(199, 160, 74, 0.15);

    font-size: 72px;
    line-height: 1;
}

.products-category-icon {
    width: 78px;
    height: 78px;

    display: grid;
    place-items: center;

    color: var(--green-950);

    font-size: 33px;

    border-radius: 19px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 6px 0 var(--gold-600),
        0 13px 23px rgba(0, 0, 0, 0.2);
}

.products-category-content {
    position: relative;
    z-index: 2;
}

.products-category-en {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--gold-600);

    font-size: 14px;
    letter-spacing: 1.5px;
}

.products-category-content h2 {
    margin-bottom: 12px;

    color: var(--green-800);

    font-size: 34px;
    font-weight: 400;
}

.products-category-content > p {
    margin-bottom: 20px;

    color: var(--text-soft);

    font-size: 18px;
}

.products-category-content ul {
    margin-bottom: 28px;

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

    gap: 10px 17px;
}

.products-category-content li {
    position: relative;

    padding-right: 17px;

    color: #46534c;

    font-size: 17px;
}

.products-category-content li::before {
    content: "";

    position: absolute;

    right: 0;
    top: 13px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold-500);
}

.products-category-link {
    min-height: 49px;

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

    gap: 13px;

    padding: 10px 21px;

    color: var(--white);

    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            var(--green-700),
            var(--green-900)
        );

    box-shadow:
        0 5px 0 var(--green-950),
        0 10px 20px rgba(0, 0, 0, 0.19);

    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        color 0.25s ease;
}

.products-category-link span {
    color: var(--gold-300);

    font-size: 24px;
}

.products-category-link:hover {
    color: var(--gold-300);

    transform: translateY(-3px);

    box-shadow:
        0 8px 0 var(--green-950),
        0 15px 26px rgba(0, 0, 0, 0.25);
}


/* راهنمای انتخاب */

.products-guide-section {
    padding: 100px 0;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(199, 160, 74, 0.15),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );
}

.products-guide-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;

    gap: 60px;
}

.products-guide-content h2 {
    margin-bottom: 15px;

    color: var(--white);

    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.45;
}

.products-guide-content p {
    max-width: 700px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 19px;
}

.products-guide-buttons {
    margin-top: 30px;

    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

.products-dark-outline {
    color: var(--gold-300);
}

.products-guide-steps {
    display: grid;

    gap: 17px;
}

.products-guide-steps > div {
    position: relative;

    padding: 22px 75px 22px 22px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 17px;

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

    box-shadow:
        0 14px 29px rgba(0, 0, 0, 0.16);
}

.products-guide-steps span {
    position: absolute;

    right: 17px;
    top: 20px;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: var(--green-950);

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.products-guide-steps h3 {
    color: var(--gold-300);

    font-size: 23px;
    font-weight: 400;
}

.products-guide-steps p {
    color: rgba(255, 255, 255, 0.66);

    font-size: 17px;
}


/* مزیت‌ها */

.products-benefits-section {
    padding: 100px 0;

    background: var(--white);
}

.products-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 21px;
}

.products-benefit-card {
    min-height: 235px;

    padding: 29px 25px;

    border: 1px solid var(--border);
    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f1e7
        );

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.products-benefit-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}

.products-benefit-card > span {
    display: block;

    margin-bottom: 17px;

    color: rgba(199, 160, 74, 0.37);

    font-size: 48px;
    line-height: 1;
}

.products-benefit-card h3 {
    margin-bottom: 9px;

    color: var(--green-800);

    font-size: 25px;
    font-weight: 400;
}

.products-benefit-card p {
    color: var(--text-soft);

    font-size: 17px;
}


/* تماس */

.products-contact-section {
    padding: 40px 0 100px;

    background: var(--white);
}

.products-contact-box {
    padding: 42px 45px;

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

    gap: 35px;

    border: 1px solid rgba(199, 160, 74, 0.42);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(199, 160, 74, 0.12),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #f8f5ec,
            #ffffff
        );

    box-shadow: var(--shadow-md);
}

.products-contact-box > div > span {
    color: var(--gold-600);

    font-size: 18px;
}

.products-contact-box h2 {
    margin: 5px 0 8px;

    color: var(--green-900);

    font-size: clamp(31px, 4vw, 44px);
    font-weight: 400;
}

.products-contact-box p {
    max-width: 760px;

    color: var(--text-soft);

    font-size: 18px;
}


/* واکنش‌گرا */

@media (max-width: 1050px) {

    .products-category-grid {
        grid-template-columns: 1fr;
    }

    .products-package-card {
        grid-column: auto;

        width: 100%;
    }

    .products-guide-box {
        grid-template-columns: 1fr;
    }

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


@media (max-width: 750px) {

    .products-page-hero {
        padding: 75px 0 85px;
    }

    .products-page-hero-content {
        text-align: center;
    }

    .products-page-hero h1::after {
        margin-inline: auto;
    }

    .products-page-hero p {
        margin-inline: auto;
    }

    .products-breadcrumb,
    .products-hero-actions {
        justify-content: center;
    }

    .products-page-heading {
        text-align: center;
    }

    .products-page-heading h2::after {
        margin-inline: auto;
    }

    .products-category-card {
        grid-template-columns: 1fr;

        padding: 31px 24px;

        text-align: center;
    }

    .products-category-icon {
        margin-inline: auto;
    }

    .products-category-content ul {
        grid-template-columns: 1fr;

        text-align: right;
    }

    .products-category-number {
        left: 16px;

        font-size: 58px;
    }

    .products-guide-content {
        text-align: center;
    }

    .products-guide-buttons {
        justify-content: center;
    }

    .products-benefits-grid {
        grid-template-columns: 1fr;
    }

    .products-benefit-card {
        text-align: center;
    }

    .products-contact-box {
        padding: 34px 24px;

        flex-direction: column;

        text-align: center;
    }
}


@media (max-width: 500px) {

    .products-main-button,
    .products-outline-button {
        width: 100%;
    }

    .products-category-content h2 {
        font-size: 29px;
    }

    .products-category-link {
        width: 100%;
    }

    .products-guide-steps > div {
        padding: 70px 20px 22px;

        text-align: center;
    }

    .products-guide-steps span {
        right: 50%;
        top: 17px;

        transform: translateX(50%);
    }
}




/* ==================================================
   Products Hero On Image
================================================== */

.products-page-hero {
    position: relative;

    width: 100%;
    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 3px solid var(--gold-500);

    box-shadow:
        0 16px 38px rgba(3, 19, 13, 0.2);
}

.products-hero-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 1;
}

.products-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2, 13, 9, 0.82) 0%,
            rgba(2, 13, 9, 0.60) 38%,
            rgba(2, 13, 9, 0.18) 70%,
            rgba(2, 13, 9, 0.04) 100%
        );

    z-index: 2;
}

.products-page-hero-content {
    position: relative;
    z-index: 3;

    width: 100%;

    padding: 90px 0;
}

.products-breadcrumb {
    margin-bottom: 30px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 17px;
}

.products-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);

    transition: color 0.25s ease;
}

.products-breadcrumb a:hover {
    color: var(--gold-300);
}

.products-page-label {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--gold-300);

    font-size: 18px;
    letter-spacing: 2px;
}

.products-page-hero h1 {
    max-width: 760px;

    margin-bottom: 18px;

    color: var(--white);

    font-size: clamp(40px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.45;

    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.products-page-hero h1::after {
    content: "";

    display: block;

    width: 95px;
    height: 4px;

    margin-top: 18px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--gold-500),
            transparent
        );
}

.products-page-hero p {
    max-width: 720px;

    color: rgba(255, 255, 255, 0.86);

    font-size: 21px;
    line-height: 2;

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.products-hero-actions {
    margin-top: 35px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 15px;
}


/* دکمه طلایی */

.products-main-button {
    min-height: 54px;

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

    padding: 12px 27px;

    color: var(--green-950);

    border: 1px solid var(--gold-200);
    border-radius: 11px;

    font-size: 18px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600),
        0 13px 25px rgba(0, 0, 0, 0.28);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.25s ease;
}

.products-main-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 0 var(--gold-600),
        0 18px 31px rgba(0, 0, 0, 0.33);
}

.products-main-button:active {
    transform: translateY(4px);

    box-shadow:
        0 1px 0 var(--gold-600),
        0 4px 8px rgba(0, 0, 0, 0.25);
}


/* دکمه حاشیه‌دار */

.products-outline-button {
    min-height: 54px;

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

    padding: 12px 27px;

    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 11px;

    font-size: 18px;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(3px);

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

.products-outline-button:hover {
    color: var(--green-950);

    border-color: var(--gold-300);

    background: var(--gold-300);

    transform: translateY(-3px);
}


/* تبلت */

@media (max-width: 900px) {

    .products-page-hero {
        min-height: 560px;
    }

    .products-page-hero-content {
        padding: 70px 0;
    }

    .products-page-hero p {
        font-size: 19px;
    }

}


/* موبایل */

@media (max-width: 650px) {

    .products-page-hero {
        min-height: 500px;
    }

    .products-hero-bg {
        object-position: 30% center;
    }

    .products-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(2, 13, 9, 0.82) 0%,
                rgba(2, 13, 9, 0.62) 45%,
                rgba(2, 13, 9, 0.35) 100%
            );
    }

    .products-page-hero-content {
        text-align: center;
    }

    .products-breadcrumb,
    .products-hero-actions {
        justify-content: center;
    }

    .products-page-hero h1::after {
        margin-inline: auto;
    }

    .products-page-hero p {
        margin-inline: auto;
        font-size: 18px;
    }

    .products-main-button,
    .products-outline-button {
        width: 100%;
    }

}


/* ==================================================
   Inverters Page
================================================== */

.inverters-hero {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);

    background:
        url("images/inv.png");

    background-size: cover;
    background-position: left center;

    border-bottom: 3px solid var(--gold-500);
}

.inverters-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 19, 13, 0.18) 0%,
            rgba(3, 19, 13, 0.46) 42%,
            rgba(3, 19, 13, 0.94) 100%
        );
}

.inverters-hero-content {
    position: relative;
    z-index: 2;

    padding: 80px 0;
}

.inverters-breadcrumb {
    margin-bottom: 34px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    color: rgba(255, 255, 255, 0.66);

    font-size: 17px;
}

.inverters-breadcrumb a:hover {
    color: var(--gold-300);
}

.inverters-breadcrumb span:last-child {
    color: var(--gold-300);
}

.inverters-hero-label {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--gold-300);

    font-size: 17px;
    letter-spacing: 2px;
}

.inverters-hero h1 {
    max-width: 800px;

    margin-bottom: 16px;

    color: var(--white);

    font-size: clamp(45px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.4;

    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.35);
}

.inverters-hero h1::after {
    content: "";

    display: block;

    width: 95px;
    height: 4px;

    margin-top: 17px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--gold-500),
            transparent
        );
}

.inverters-hero p {
    max-width: 720px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 20px;
}

.inverters-hero-actions {
    margin-top: 31px;

    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}


/* دکمه‌ها */

.inverters-primary-button,
.inverters-outline-button {
    min-height: 53px;

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

    padding: 11px 27px;

    border-radius: 11px;

    font-size: 18px;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        color 0.25s ease,
        background 0.25s ease;
}

.inverters-primary-button {
    color: var(--green-950);

    border: 1px solid var(--gold-200);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600),
        0 13px 24px rgba(0, 0, 0, 0.28);
}

.inverters-primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 0 var(--gold-600),
        0 18px 30px rgba(0, 0, 0, 0.34);
}

.inverters-primary-button:active {
    transform: translateY(4px);

    box-shadow:
        0 1px 0 var(--gold-600),
        0 4px 8px rgba(0, 0, 0, 0.25);
}

.inverters-outline-button {
    color: var(--white);

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

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

.inverters-outline-button:hover {
    color: var(--green-950);

    border-color: var(--gold-300);

    background: var(--gold-300);

    transform: translateY(-3px);
}


/* معرفی */

.inverters-intro-section {
    padding: 100px 0;

    background: var(--cream);
}

.inverters-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;

    gap: 60px;
}

.inverters-intro-content h2 {
    margin-bottom: 17px;

    color: var(--green-900);

    font-size: clamp(35px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.45;
}

.inverters-intro-content h2::after {
    content: "";

    display: block;

    width: 77px;
    height: 4px;

    margin-top: 14px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--green-700),
            var(--gold-500)
        );
}

.inverters-intro-content p {
    margin-bottom: 14px;

    color: var(--text-soft);

    font-size: 19px;
}

.inverters-intro-features {
    display: grid;

    gap: 17px;
}

.inverters-intro-features > div {
    position: relative;

    min-height: 120px;

    padding: 21px 82px 21px 23px;

    border: 1px solid var(--border);
    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4efe4
        );

    box-shadow: var(--shadow-sm);
}

.inverters-intro-features span {
    position: absolute;

    right: 19px;
    top: 23px;

    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    color: var(--green-950);

    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.inverters-intro-features h3 {
    color: var(--green-800);

    font-size: 23px;
    font-weight: 400;
}

.inverters-intro-features p {
    color: var(--text-soft);

    font-size: 17px;
}


/* عنوان بخش */

.inverters-section-heading {
    max-width: 820px;

    margin-bottom: 54px;
}

.inverters-section-heading h2 {
    margin-bottom: 13px;

    color: var(--green-900);

    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.45;
}

.inverters-section-heading h2::after {
    content: "";

    display: block;

    width: 80px;
    height: 4px;

    margin-top: 14px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--green-700),
            var(--gold-500)
        );
}

.inverters-section-heading p {
    color: var(--text-soft);

    font-size: 19px;
}


/* کارت‌های دسته‌بندی */

.inverter-categories-section {
    padding: 105px 0;

    background: var(--white);
}

.inverter-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.inverter-category-card {
    position: relative;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4f0e6
        );

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.inverter-category-card:hover {
    transform: translateY(-9px);

    border-color: rgba(199, 160, 74, 0.52);

    box-shadow: var(--shadow-md);
}

.inverter-category-image {
    position: relative;

    height: 270px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--green-950),
            var(--green-700)
        );
}

.inverter-category-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 19, 13, 0.72),
            rgba(3, 19, 13, 0.02) 65%
        );
}

.inverter-category-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.55s ease;
}

.inverter-category-card:hover .inverter-category-image img {
    transform: scale(1.06);
}

.inverter-category-number {
    position: absolute;
    z-index: 2;

    left: 18px;
    top: 10px;

    color: rgba(255, 255, 255, 0.25);

    font-size: 61px;
    line-height: 1;
}

.inverter-category-badge {
    position: absolute;
    z-index: 3;

    right: 18px;
    bottom: 17px;

    padding: 6px 13px;

    color: var(--green-950);

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    font-size: 13px;
    letter-spacing: 1px;
}

.inverter-category-content {
    padding: 29px 27px 30px;

    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.inverter-category-content h2 {
    margin-bottom: 10px;

    color: var(--green-800);

    font-size: 31px;
    font-weight: 400;
}

.inverter-category-content > p {
    margin-bottom: 20px;

    color: var(--text-soft);

    font-size: 17px;
}

.inverter-category-content ul {
    margin-bottom: 27px;

    display: grid;

    gap: 8px;
}

.inverter-category-content li {
    position: relative;

    padding-right: 17px;

    color: #46534c;

    font-size: 16px;
}

.inverter-category-content li::before {
    content: "";

    position: absolute;

    right: 0;
    top: 13px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold-500);
}

.inverter-category-link {
    min-height: 49px;

    margin-top: auto;

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

    gap: 12px;

    padding: 10px 18px;

    color: var(--white);

    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            var(--green-700),
            var(--green-900)
        );

    box-shadow:
        0 5px 0 var(--green-950),
        0 10px 19px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        color 0.25s ease;
}

.inverter-category-link span {
    color: var(--gold-300);

    font-size: 23px;
}

.inverter-category-link:hover {
    color: var(--gold-300);

    transform: translateY(-3px);

    box-shadow:
        0 8px 0 var(--green-950),
        0 15px 25px rgba(0, 0, 0, 0.24);
}


/* جدول مقایسه */

.inverters-comparison-section {
    padding: 100px 0;

    color: var(--white);

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(199, 160, 74, 0.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );
}

.light-inverter-heading h2,
.light-inverter-heading p {
    color: var(--white);
}

.light-inverter-heading h2::after {
    background:
        linear-gradient(
            90deg,
            var(--gold-500),
            transparent
        );
}

.inverters-table-wrapper {
    overflow-x: auto;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 19px;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.22);
}

.inverters-comparison-table {
    width: 100%;

    min-width: 760px;

    border-collapse: collapse;

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

.inverters-comparison-table th,
.inverters-comparison-table td {
    padding: 18px 19px;

    text-align: center;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.inverters-comparison-table th {
    color: var(--green-950);

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

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.inverters-comparison-table td {
    color: rgba(255, 255, 255, 0.78);

    font-size: 17px;
}

.inverters-comparison-table td:first-child {
    color: var(--gold-300);
}


/* راهنمای انتخاب */

.inverter-selection-section {
    padding: 100px 0;

    background: var(--cream);
}

.inverter-selection-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;

    gap: 60px;
}

.inverter-selection-content h2 {
    margin-bottom: 14px;

    color: var(--green-900);

    font-size: clamp(35px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.45;
}

.inverter-selection-content p {
    margin-bottom: 28px;

    color: var(--text-soft);

    font-size: 19px;
}

.inverter-selection-list {
    display: grid;

    gap: 14px;
}

.inverter-selection-list > div {
    padding: 18px 20px;

    display: flex;
    align-items: flex-start;

    gap: 16px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.inverter-selection-list > div > span {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--green-950);

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.inverter-selection-list h3 {
    color: var(--green-800);

    font-size: 22px;
    font-weight: 400;
}

.inverter-selection-list p {
    color: var(--text-soft);

    font-size: 16px;
}


/* سولارسنج */

.inverters-solarsanj-section {
    padding: 80px 0;

    color: var(--white);

    background:
        linear-gradient(
            rgba(3, 19, 13, 0.91),
            rgba(6, 31, 22, 0.91)
        ),
        url("images/backg.png");

    background-size: cover;
    background-position: center;
}

.inverters-solarsanj-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.inverters-solarsanj-box span {
    color: var(--gold-300);

    font-size: 17px;
    letter-spacing: 2px;
}

.inverters-solarsanj-box h2 {
    margin: 5px 0 8px;

    color: var(--white);

    font-size: clamp(33px, 4vw, 47px);
    font-weight: 400;
}

.inverters-solarsanj-box p {
    max-width: 760px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 18px;
}


/* تماس */

.inverters-contact-section {
    padding: 90px 0;

    background: var(--white);
}

.inverters-contact-box {
    padding: 42px 44px;

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

    gap: 35px;

    border: 1px solid rgba(199, 160, 74, 0.43);
    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f3efe5
        );

    box-shadow: var(--shadow-md);
}

.inverters-contact-box > div > span {
    color: var(--gold-600);

    font-size: 18px;
}

.inverters-contact-box h2 {
    margin: 4px 0 8px;

    color: var(--green-900);

    font-size: clamp(31px, 4vw, 43px);
    font-weight: 400;
}

.inverters-contact-box p {
    max-width: 730px;

    color: var(--text-soft);

    font-size: 18px;
}


/* واکنش‌گرا */

@media (max-width: 1050px) {

    .inverter-category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .inverter-hybrid-card {
        grid-column: 1 / -1;

        width: min(100%, 600px);

        margin-inline: auto;
    }

    .inverters-intro-grid,
    .inverter-selection-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 850px) {

    .inverters-hero {
        min-height: 510px;

        background-position: 30% center;
    }

    .inverters-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 19, 13, 0.55),
                rgba(3, 19, 13, 0.9)
            );
    }

    .inverters-solarsanj-box,
    .inverters-contact-box {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 700px) {

    .inverters-hero-content,
    .inverters-section-heading,
    .inverters-intro-content,
    .inverter-selection-content {
        text-align: center;
    }

    .inverters-breadcrumb,
    .inverters-hero-actions {
        justify-content: center;
    }

    .inverters-hero h1::after,
    .inverters-section-heading h2::after,
    .inverters-intro-content h2::after {
        margin-inline: auto;
    }

    .inverter-category-grid {
        grid-template-columns: 1fr;
    }

    .inverter-hybrid-card {
        grid-column: auto;

        width: 100%;
    }

    .inverters-intro-features > div {
        padding: 75px 22px 22px;

        text-align: center;
    }

    .inverters-intro-features span {
        right: 50%;
        top: 17px;

        transform: translateX(50%);
    }

    .inverters-solarsanj-box,
    .inverters-contact-box {
        text-align: center;
    }

    .inverters-solarsanj-box .inverters-primary-button,
    .inverters-contact-box .inverters-primary-button {
        width: 100%;
    }
}


@media (max-width: 500px) {

    .inverters-hero {
        min-height: 540px;
    }

    .inverters-primary-button,
    .inverters-outline-button {
        width: 100%;
    }

    .inverter-category-image {
        height: 235px;
    }

    .inverter-category-content {
        padding: 25px 21px 27px;
    }

    .inverter-category-content h2 {
        font-size: 28px;
    }

    .inverter-category-link {
        width: 100%;
    }
}









/* جابه‌جایی محتوای بخش محصولات به سمت چپ */

.products-page-hero-content {
    width: 100%;

    padding: 90px 0;

    padding-right: 7%;
    padding-left: 3%;
}


/* محدودکردن عرض متن برای خوانایی بهتر */

.products-page-hero h1,
.products-page-hero p {
    max-width: 760px;
}


/* دکمه‌ها */

.products-hero-actions {
    margin-top: 38px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;
}


/* دکمه اصلی مشاهده محصولات */

.products-hero-actions .products-main-button {
    min-width: 245px;
    min-height: 66px;

    padding: 15px 36px;

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

    color: var(--green-950);

    border: 2px solid var(--gold-200);
    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            #fff1bd,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 7px 0 var(--gold-600),
        0 18px 34px rgba(0, 0, 0, 0.35);

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.25s ease;
}

.products-hero-actions .products-main-button:hover {
    background:
        linear-gradient(
            180deg,
            #fff7d8,
            #e8ca7b,
            #cfa64a
        );

    transform: translateY(-4px);

    box-shadow:
        0 11px 0 var(--gold-600),
        0 24px 40px rgba(0, 0, 0, 0.4);
}

.products-hero-actions .products-main-button:active {
    transform: translateY(5px);

    box-shadow:
        0 1px 0 var(--gold-600),
        0 5px 10px rgba(0, 0, 0, 0.28);
}


/* دکمه مشاوره کمی کوچک‌تر از دکمه اصلی */

.products-hero-actions .products-outline-button {
    min-width: 210px;
    min-height: 60px;

    padding: 13px 30px;

    font-size: 20px;
    font-weight: 600;
}



@media (max-width: 650px) {

    .products-page-hero-content {
        padding: 65px 5%;
    }

    .products-hero-actions .products-main-button,
    .products-hero-actions .products-outline-button {
        width: 100%;
        min-width: 0;
    }

    .products-hero-actions .products-main-button {
        min-height: 62px;
        font-size: 21px;
    }

}

/* ==================================================
   Products Dropdown Navigation
================================================== */

.header,
.header-box,
.main-menu {
    overflow: visible;
}

.main-menu {
    position: relative;
}


/* ساختار اصلی محصولات */

.nav-dropdown {
    position: relative;

    display: inline-flex;
    align-items: center;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: stretch;

    overflow: hidden;

    border: 2px solid rgba(214, 186, 113, 0.38);
    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(65, 83, 68, 0.88),
            rgba(25, 48, 34, 0.95)
        );

    box-shadow:
        0 8px 0 rgba(1, 13, 8, 0.95),
        0 14px 25px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.25s ease;
}

.nav-dropdown-trigger:hover {
    border-color: rgba(221, 189, 114, 0.68);

    transform: translateY(-3px);

    box-shadow:
        0 11px 0 rgba(1, 13, 8, 0.95),
        0 19px 30px rgba(0, 0, 0, 0.27);
}


/* متن محصولات؛ با کلیک وارد صفحه می‌شود */

.main-menu .nav-dropdown-main-link {
    min-height: 100%;

    padding: 17px 20px 17px 13px;

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

    color: #ffffff;

    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;

    white-space: nowrap;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;

    transition:
        color 0.22s ease,
        background 0.22s ease;
}

.main-menu .nav-dropdown-main-link:hover {
    color: var(--gold-300);

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

    transform: none;

    box-shadow: none;
}


/* فلش محصولات؛ فقط منو را باز می‌کند */

.nav-dropdown-arrow {
    width: 43px;
    min-height: 100%;

    padding: 0;

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

    color: var(--gold-300);

    font-family: inherit;
    font-size: 14px;
    line-height: 1;

    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);

    background: rgba(0, 0, 0, 0.08);

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        color 0.22s ease,
        background 0.22s ease;
}

.nav-dropdown-arrow:hover {
    color: var(--green-950);

    background: var(--gold-300);
}

.nav-dropdown-arrow span {
    display: inline-block;

    transition: transform 0.25s ease;
}

.nav-dropdown.open .nav-dropdown-arrow span {
    transform: rotate(180deg);
}

.nav-dropdown-arrow:focus-visible,
.nav-submenu-arrow:focus-visible {
    outline: 2px solid var(--gold-300);
    outline-offset: -3px;
}


/* منوی اصلی محصولات */

.nav-dropdown-menu {
    position: absolute;

    top: calc(100% + 17px);
    right: 0;

    z-index: 9999;

    width: 285px;

    padding: 13px;

    display: flex;
    flex-direction: column;

    gap: 8px;

    border: 1px solid rgba(214, 186, 113, 0.45);
    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(9, 35, 24, 0.99),
            rgba(3, 18, 11, 0.99)
        );

    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.38);

    opacity: 0;
    visibility: hidden;

    transform: translateY(12px);

    pointer-events: none;

    transition:
        opacity 0.24s ease,
        visibility 0.24s ease,
        transform 0.24s ease;
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}


/* فاصله نامرئی میان دکمه و منو */

.nav-dropdown-menu::before {
    content: "";

    position: absolute;

    top: -18px;
    right: 0;

    width: 100%;
    height: 18px;
}


/* لینک‌های منوی محصولات */

.nav-dropdown-menu > a,
.nav-submenu-main-link {
    min-height: 50px;

    padding: 11px 16px;

    display: flex;
    align-items: center;

    color: rgba(255, 255, 255, 0.93);

    font-family: inherit;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;

    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 12px;

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

    box-shadow: none;

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

.nav-dropdown-menu > a:hover {
    color: var(--green-950);

    border-color: rgba(255, 255, 255, 0.16);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    transform: translateX(-4px);

    box-shadow: none;
}


/* لینک همه محصولات */

.nav-dropdown-menu .dropdown-highlight-link {
    color: var(--green-950);

    font-weight: 700;

    background:
        linear-gradient(
            180deg,
            #f3dda3,
            #d4ae57
        );

    border-color: rgba(255, 255, 255, 0.22);
}

.nav-dropdown-menu .dropdown-highlight-link:hover {
    color: var(--green-950);

    background:
        linear-gradient(
            180deg,
            #fff0bd,
            #dfbb65
        );
}


/* ==================================================
   Inverter Side Submenu
================================================== */

/* ==================================================
   Inverter Side Submenu - Open On Left
================================================== */

.nav-submenu {
    position: relative;
}


/* ردیف اینورتر */

.nav-submenu-trigger {
    display: flex;
    align-items: stretch;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 12px;

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

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

.nav-submenu-trigger:hover {
    border-color: rgba(255, 255, 255, 0.16);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}


/* لینک اصلی اینورتر */

.nav-submenu-main-link {
    min-width: 0;
    flex: 1;

    padding: 11px 16px;

    display: flex;
    align-items: center;

    color: rgba(255, 255, 255, 0.93);

    font-family: inherit;
    font-size: 19px;
    font-weight: 400;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;
}

.nav-submenu-trigger:hover .nav-submenu-main-link {
    color: var(--green-950);
}


/* فلش اینورتر */

.nav-submenu-arrow {
    width: 52px;
    flex-shrink: 0;

    padding: 0;

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

    color: var(--gold-300);

    font-family: inherit;
    font-size: 18px;
    line-height: 1;

    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);

    background: rgba(0, 0, 0, 0.08);

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        color 0.22s ease,
        background 0.22s ease;
}

.nav-submenu-trigger:hover .nav-submenu-arrow {
    color: var(--green-950);
}

.nav-submenu-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
}


/* فلش به سمت چپ */

.nav-submenu-arrow span {
    display: inline-block;

    transform: rotate(0deg);

    transition: transform 0.25s ease;
}

.nav-submenu.open .nav-submenu-arrow span {
    transform: rotate(180deg);
}


/* پنل زیرمنوی اینورتر؛ سمت چپ منوی اصلی */

.nav-submenu-panel {
    position: absolute;

    top: 0;

    /* بازشدن از سمت چپ */
    right: calc(100% + 18px);
    left: auto;

    z-index: 10000;

    width: 270px;

    padding: 12px;

    display: flex;
    flex-direction: column;

    gap: 8px;

    border: 1px solid rgba(214, 186, 113, 0.45);
    border-radius: 17px;

    background:
        linear-gradient(
            180deg,
            rgba(9, 35, 24, 0.99),
            rgba(3, 18, 11, 0.99)
        );

    box-shadow:
        0 20px 42px rgba(0, 0, 0, 0.35);

    opacity: 0;
    visibility: hidden;

    transform: translateX(14px);

    pointer-events: none;

    transition:
        opacity 0.28s ease,
        visibility 0.28s ease,
        transform 0.28s ease;
}


/* پل نامرئی بین منوی محصولات و زیرمنوی اینورتر */

.nav-submenu-panel::before {
    content: "";

    position: absolute;

    top: -10px;
    bottom: -10px;

    right: -24px;

    width: 25px;
}


/* حالت باز با کلیک */

.nav-submenu.open .nav-submenu-panel {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);

    pointer-events: auto;
}


/* لینک‌های زیرمنو */

.nav-submenu-panel a {
    min-height: 50px;

    padding: 11px 15px;

    display: flex;
    align-items: center;

    color: rgba(255, 255, 255, 0.93);

    font-size: 18px;
    font-weight: 400;

    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 11px;

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

    box-shadow: none;

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

.nav-submenu-panel a:hover {
    color: var(--green-950);

    border-color: rgba(255, 255, 255, 0.16);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    transform: translateX(-4px);
}


/* لینک همه اینورترها */

.nav-submenu-panel .submenu-highlight-link {
    color: var(--green-950);

    font-weight: 700;

    background:
        linear-gradient(
            180deg,
            #f3dda3,
            #d4ae57
        );
}


/* دسکتاپ */

@media (min-width: 901px) {

    .nav-submenu:hover .nav-submenu-panel,
    .nav-submenu-panel:hover {
        opacity: 1;
        visibility: visible;

        transform: translateX(0);

        pointer-events: auto;
    }

}


/* موبایل و تبلت */

@media (max-width: 900px) {

    .nav-submenu-panel {
        position: static;

        width: calc(100% - 16px);

        margin-top: 9px;
        margin-right: 16px;

        display: none;

        opacity: 1;
        visibility: visible;

        transform: none;

        pointer-events: auto;

        box-shadow:
            0 10px 24px rgba(0, 0, 0, 0.22);
    }

    .nav-submenu.open .nav-submenu-panel {
        display: flex;
    }

    .nav-submenu-panel::before {
        display: none;
    }

}


/* ==================================================
   Desktop Hover
================================================== */

@media (min-width: 901px) {

    /*
    با حرکت موس روی کل بخش محصولات نیز منو باز می‌شود.
    کلیک روی متن محصولات همچنان وارد products.html می‌شود.
    */

    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;
    }

    .nav-submenu:hover .nav-submenu-panel {
        opacity: 1;
        visibility: visible;

        transform: translateX(0);

        pointer-events: auto;
    }

}


/* ==================================================
   Tablet
================================================== */

@media (max-width: 900px) {

    .main-menu .nav-dropdown-main-link {
        padding: 14px 16px 14px 10px;
    }

    .nav-dropdown-arrow {
        width: 40px;
    }

    .nav-dropdown-menu {
        width: 255px;
    }

    .nav-dropdown-menu > a,
    .nav-submenu-main-link {
        min-height: 46px;

        font-size: 17px;
    }

    .nav-submenu-panel a {
        font-size: 17px;
    }

}


/* ==================================================
   Mobile
================================================== */

@media (max-width: 650px) {

    .nav-dropdown {
        width: 100%;

        display: block;
    }

    .nav-dropdown-trigger {
        width: 100%;

        border-radius: 15px;
    }

    .main-menu .nav-dropdown-main-link {
        flex: 1;

        padding: 13px 15px;

        justify-content: center;
    }

    .nav-dropdown-arrow {
        width: 48px;
    }


    /* منوی محصولات زیر دکمه باز می‌شود */

    .nav-dropdown-menu {
        position: static;

        width: 100%;

        margin-top: 12px;

        display: none;

        opacity: 1;
        visibility: visible;

        transform: none;

        pointer-events: auto;

        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.25);
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: flex;
    }

    .nav-dropdown-menu::before {
        display: none;
    }


    /* زیرمنوی اینورتر نیز زیر همان گزینه باز می‌شود */

    .nav-submenu-panel {
        position: static;

        width: calc(100% - 16px);

        margin-top: 9px;
        margin-right: 16px;

        display: none;

        opacity: 1;
        visibility: visible;

        transform: none;

        pointer-events: auto;

        box-shadow:
            0 10px 24px rgba(0, 0, 0, 0.22);
    }

    .nav-submenu.open .nav-submenu-panel {
        display: flex;
    }

    .nav-submenu-panel::before {
        display: none;
    }

    .nav-submenu-arrow span {
        transform: rotate(-90deg);
    }

    .nav-submenu.open .nav-submenu-arrow span {
        transform: rotate(90deg);
    }

}


/* ==================================================
   Single Phase Inverters Page
================================================== */

.single-phase-page-hero {
    position: relative;

    min-height: 530px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;

    background:
        url("images/inverter-single-phase.png");

    background-size: cover;
    background-position: left center;

    border-bottom: 3px solid var(--gold-500);
}

.single-phase-page-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 19, 13, 0.15),
            rgba(3, 19, 13, 0.55) 45%,
            rgba(3, 19, 13, 0.96) 100%
        );
}

.single-phase-page-hero-content {
    position: relative;
    z-index: 2;

    padding: 75px 0;
}

.single-phase-breadcrumb {
    margin-bottom: 32px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 17px;
}

.single-phase-breadcrumb a:hover {
    color: var(--gold-300);
}

.single-phase-breadcrumb span:last-child {
    color: var(--gold-300);
}

.single-phase-page-label {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--gold-300);

    font-size: 17px;
    letter-spacing: 2px;
}

.single-phase-page-hero h1 {
    max-width: 800px;

    margin-bottom: 15px;

    color: #ffffff;

    font-size: clamp(42px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.4;

    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.35);
}

.single-phase-page-hero h1::after {
    content: "";

    display: block;

    width: 95px;
    height: 4px;

    margin-top: 17px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--gold-500),
            transparent
        );
}

.single-phase-page-hero p {
    max-width: 720px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 20px;
}

.single-phase-hero-actions {
    margin-top: 30px;

    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}


/* دکمه‌ها */

.single-phase-primary-button,
.single-phase-outline-button {
    min-height: 53px;

    padding: 11px 27px;

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

    border-radius: 11px;

    font-size: 18px;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.22s ease;
}

.single-phase-primary-button {
    color: var(--green-950);

    border: 1px solid var(--gold-200);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600),
        0 13px 24px rgba(0, 0, 0, 0.28);
}

.single-phase-primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 0 var(--gold-600),
        0 18px 30px rgba(0, 0, 0, 0.34);
}

.single-phase-outline-button {
    color: #ffffff;

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

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

.single-phase-outline-button:hover {
    color: var(--green-950);

    border-color: var(--gold-300);

    background: var(--gold-300);

    transform: translateY(-3px);
}


/* معرفی */

.single-phase-intro-section {
    padding: 95px 0;

    background: var(--cream);
}

.single-phase-intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;

    gap: 60px;
}

.single-phase-intro-grid h2 {
    margin: 7px 0 15px;

    color: var(--green-900);

    font-size: clamp(35px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.45;
}

.single-phase-intro-grid p {
    margin-bottom: 13px;

    color: var(--text-soft);

    font-size: 18px;
}

.single-phase-intro-features {
    display: grid;

    gap: 15px;
}

.single-phase-intro-features > div {
    position: relative;

    min-height: 115px;

    padding: 21px 80px 21px 22px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4efe4
        );

    box-shadow: var(--shadow-sm);
}

.single-phase-intro-features > div > span {
    position: absolute;

    right: 18px;
    top: 22px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    color: var(--green-950);

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.single-phase-intro-features h3 {
    color: var(--green-800);

    font-size: 22px;
    font-weight: 400;
}

.single-phase-intro-features p {
    color: var(--text-soft);

    font-size: 16px;
}


/* محصولات */

.single-inverter-products {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            var(--cream)
        );
}

.inverter-products-heading {
    max-width: 780px;

    margin-bottom: 48px;
}

.inverter-products-heading h2 {
    margin: 7px 0 10px;

    color: var(--green-900);

    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
}

.inverter-products-heading p {
    color: var(--text-soft);

    font-size: 19px;
}

.single-inverter-grid {
    display: grid;

    gap: 30px;
}

.single-inverter-product-card {
    display: grid;
    grid-template-columns:
        minmax(340px, 0.82fr)
        minmax(480px, 1.18fr);

    overflow: hidden;

    border: 1px solid rgba(199, 160, 74, 0.4);
    border-radius: 26px;

    background: #ffffff;

    box-shadow:
        0 22px 50px rgba(3, 28, 18, 0.15);
}


/* تصویر محصول */

.single-inverter-product-image {
    position: relative;

    min-height: 700px;

    padding: 65px 35px;

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

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(221, 189, 114, 0.22),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            var(--green-950),
            var(--green-700)
        );
}

.single-inverter-product-image::after {
    content: "";

    position: absolute;
    inset: 18px;

    border: 1px solid rgba(221, 189, 114, 0.25);
    border-radius: 20px;

    pointer-events: none;
}

.single-inverter-product-image img {
    position: relative;
    z-index: 2;

    width: min(100%, 430px);
    max-height: 500px;

    object-fit: contain;

    filter:
        drop-shadow(0 25px 30px rgba(0, 0, 0, 0.35));

    transition: transform 0.4s ease;
}

.single-inverter-product-card:hover
.single-inverter-product-image img {
    transform: scale(1.04);
}

.single-inverter-brand,
.single-inverter-status {
    position: absolute;
    z-index: 3;

    top: 25px;

    padding: 7px 15px;

    border-radius: 20px;

    font-size: 14px;
}

.single-inverter-brand {
    right: 25px;

    color: var(--green-950);

    font-weight: 700;
    letter-spacing: 1px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.single-inverter-status {
    left: 25px;

    color: #ffffff;

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

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


/* محتوای محصول */

.single-inverter-product-content {
    padding: 43px 40px;
}

.single-inverter-product-top {
    margin-bottom: 11px;

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

    gap: 15px;
}

.single-inverter-product-top span {
    color: var(--gold-600);

    font-size: 14px;
    letter-spacing: 1.3px;
}

.single-inverter-product-top strong {
    padding: 6px 14px;

    color: var(--green-950);

    border-radius: 20px;

    background: var(--gold-300);

    font-size: 17px;
}

.single-inverter-product-content h2 {
    margin-bottom: 4px;

    color: var(--green-900);

    font-size: clamp(30px, 3vw, 41px);
    font-weight: 400;
    line-height: 1.5;
}

.single-inverter-product-content h3 {
    margin-bottom: 17px;

    color: var(--gold-600);

    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 600;

    direction: ltr;
    text-align: right;
}

.single-inverter-description {
    margin-bottom: 24px;

    color: var(--text-soft);

    font-size: 17px;
}


/* مشخصات سریع */

.single-inverter-features {
    margin-bottom: 24px;

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

    gap: 10px;
}

.single-inverter-features > div {
    min-height: 88px;

    padding: 12px 9px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4efe5
        );
}

.single-inverter-features span {
    margin-bottom: 3px;

    color: var(--text-soft);

    font-size: 13px;
}

.single-inverter-features strong {
    color: var(--green-800);

    font-size: 17px;
}


/* فهرست ویژگی‌ها */

.single-inverter-points {
    margin-bottom: 24px;

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

    gap: 8px 18px;
}

.single-inverter-points li {
    position: relative;

    padding-right: 17px;

    color: #44524a;

    font-size: 15px;
}

.single-inverter-points li::before {
    content: "";

    position: absolute;

    right: 0;
    top: 12px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold-500);
}


/* هشدار */

.single-inverter-warning {
    margin-bottom: 23px;

    padding: 15px 17px;

    border-right: 4px solid var(--gold-500);
    border-radius: 11px;

    background: rgba(221, 189, 114, 0.13);
}

.single-inverter-warning strong {
    color: var(--green-900);
}

.single-inverter-warning p {
    color: var(--text-soft);

    font-size: 14px;
}


/* ابعاد */

.single-inverter-dimensions {
    margin-bottom: 25px;

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

    gap: 10px;
}

.single-inverter-dimensions > div {
    padding: 13px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    border: 1px solid rgba(199, 160, 74, 0.25);
    border-radius: 11px;

    background: rgba(221, 189, 114, 0.09);
}

.single-inverter-dimensions span {
    color: var(--text-soft);

    font-size: 13px;
}

.single-inverter-dimensions strong {
    color: var(--green-800);

    font-size: 15px;
}


/* دکمه‌های محصول */

.single-inverter-product-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;
}

.single-inverter-datasheet-button,
.single-inverter-contact-button {
    min-height: 52px;

    padding: 11px 23px;

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

    border-radius: 10px;

    font-size: 17px;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.single-inverter-datasheet-button {
    color: var(--green-950);

    border: 1px solid var(--gold-200);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600);
}

.single-inverter-contact-button {
    color: #ffffff;

    border: 1px solid var(--green-700);

    background:
        linear-gradient(
            180deg,
            var(--green-700),
            var(--green-900)
        );

    box-shadow:
        0 5px 0 var(--green-950);
}

.single-inverter-datasheet-button:hover,
.single-inverter-contact-button:hover {
    transform: translateY(-3px);
}


/* راهنمای انتخاب */

.single-phase-selection-section {
    padding: 100px 0;

    background: var(--cream);
}

.single-phase-selection-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;

    gap: 60px;
}

.single-phase-selection-grid h2 {
    margin: 7px 0 14px;

    color: var(--green-900);

    font-size: clamp(34px, 4vw, 49px);
    font-weight: 400;
    line-height: 1.45;
}

.single-phase-selection-grid p {
    margin-bottom: 25px;

    color: var(--text-soft);

    font-size: 18px;
}

.single-phase-selection-list {
    display: grid;

    gap: 13px;
}

.single-phase-selection-list > div {
    padding: 17px 19px;

    display: flex;
    align-items: flex-start;

    gap: 15px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background: #ffffff;

    box-shadow: var(--shadow-sm);
}

.single-phase-selection-list > div > span {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--green-950);

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.single-phase-selection-list h3 {
    color: var(--green-800);

    font-size: 21px;
    font-weight: 400;
}

.single-phase-selection-list p {
    margin: 0;

    color: var(--text-soft);

    font-size: 15px;
}


/* سولارسنج */

.single-phase-solarsanj-section {
    padding: 80px 0;

    color: #ffffff;

    background:
        linear-gradient(
            rgba(3, 19, 13, 0.91),
            rgba(6, 31, 22, 0.91)
        ),
        url("images/backg.png");

    background-size: cover;
    background-position: center;
}

.single-phase-solarsanj-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.single-phase-solarsanj-box span {
    color: var(--gold-300);

    font-size: 17px;
    letter-spacing: 2px;
}

.single-phase-solarsanj-box h2 {
    margin: 5px 0 8px;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 46px);
    font-weight: 400;
}

.single-phase-solarsanj-box p {
    max-width: 740px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 18px;
}


/* واکنش‌گرا */

@media (max-width: 1050px) {

    .single-phase-intro-grid,
    .single-phase-selection-grid {
        grid-template-columns: 1fr;
    }

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

    .single-inverter-product-image {
        min-height: 500px;
    }

}


@media (max-width: 750px) {

    .single-phase-page-hero-content,
    .inverter-products-heading,
    .single-phase-intro-grid > div:first-child,
    .single-phase-selection-grid > div:first-child {
        text-align: center;
    }

    .single-phase-breadcrumb,
    .single-phase-hero-actions {
        justify-content: center;
    }

    .single-phase-page-hero h1::after {
        margin-inline: auto;
    }

    .single-phase-intro-features > div {
        padding: 72px 21px 21px;

        text-align: center;
    }

    .single-phase-intro-features > div > span {
        right: 50%;
        top: 15px;

        transform: translateX(50%);
    }

    .single-inverter-product-image {
        min-height: 410px;

        padding: 55px 25px 35px;
    }

    .single-inverter-product-content {
        padding: 31px 22px;
    }

    .single-inverter-product-top {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .single-inverter-points {
        grid-template-columns: 1fr;
    }

    .single-inverter-dimensions {
        grid-template-columns: 1fr;
    }

    .single-phase-solarsanj-box {
        flex-direction: column;

        text-align: center;
    }

}


@media (max-width: 500px) {

    .single-phase-page-hero {
        min-height: 540px;

        background-position: 30% center;
    }

    .single-phase-primary-button,
    .single-phase-outline-button,
    .single-inverter-datasheet-button,
    .single-inverter-contact-button {
        width: 100%;
    }

    .single-inverter-product-actions {
        flex-direction: column;
    }

    .single-inverter-features {
        grid-template-columns: 1fr;
    }

}


/* ==================================================
   All Products Page
================================================== */

.all-products-hero {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;

    background:
        url("images/product.png") center / cover no-repeat;

    border-bottom: 3px solid var(--gold-500);
}

.all-products-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 19, 13, 0.18),
            rgba(3, 19, 13, 0.63) 47%,
            rgba(3, 19, 13, 0.96) 100%
        );
}

.all-products-hero-content {
    position: relative;
    z-index: 2;

    padding: 75px 0;
}

.all-products-breadcrumb {
    margin-bottom: 30px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    color: rgba(255, 255, 255, 0.67);

    font-size: 17px;
}

.all-products-breadcrumb a:hover {
    color: var(--gold-300);
}

.all-products-breadcrumb span:last-child {
    color: var(--gold-300);
}

.all-products-hero-label {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--gold-300);

    font-size: 17px;
    letter-spacing: 2px;
}

.all-products-hero h1 {
    max-width: 780px;

    margin-bottom: 15px;

    color: #ffffff;

    font-size: clamp(44px, 6vw, 70px);
    font-weight: 400;
    line-height: 1.4;

    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.4);
}

.all-products-hero h1::after {
    content: "";

    display: block;

    width: 100px;
    height: 4px;

    margin-top: 17px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--gold-500),
            transparent
        );
}

.all-products-hero p {
    max-width: 720px;

    color: rgba(255, 255, 255, 0.83);

    font-size: 20px;
}

.all-products-hero-button {
    min-height: 54px;

    margin-top: 28px;
    padding: 11px 28px;

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

    color: var(--green-950);

    border: 1px solid var(--gold-200);
    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600),
        0 15px 25px rgba(0, 0, 0, 0.28);

    font-size: 18px;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.all-products-hero-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 0 var(--gold-600),
        0 19px 30px rgba(0, 0, 0, 0.34);
}


/* دسته‌بندی‌ها */

.all-products-categories {
    padding: 95px 0;

    background: var(--cream);
}

.all-products-section-heading {
    max-width: 780px;

    margin: 0 auto 48px;

    text-align: center;
}

.all-products-section-heading > span {
    color: var(--gold-600);

    font-size: 17px;
}

.all-products-section-heading h2 {
    margin: 7px 0 10px;

    color: var(--green-900);

    font-size: clamp(35px, 4vw, 51px);
    font-weight: 400;
}

.all-products-section-heading p {
    color: var(--text-soft);

    font-size: 18px;
}

.all-products-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 16px;
}

.all-products-category-card {
    position: relative;

    min-height: 250px;

    padding: 26px 21px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    color: #ffffff;

    border: 1px solid rgba(221, 189, 114, 0.35);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            var(--green-950),
            var(--green-700)
        );

    box-shadow:
        0 16px 30px rgba(3, 28, 18, 0.16);

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

.all-products-category-card::before {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    left: -55px;
    bottom: -55px;

    border-radius: 50%;

    background:
        rgba(221, 189, 114, 0.12);
}

.all-products-category-card:hover {
    transform: translateY(-8px);

    border-color: var(--gold-300);

    box-shadow:
        0 24px 43px rgba(3, 28, 18, 0.23);
}

.category-number {
    width: 44px;
    height: 44px;

    margin-bottom: 26px;

    display: grid;
    place-items: center;

    color: var(--green-950);

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.all-products-category-card h3 {
    margin-bottom: 7px;

    color: #ffffff;

    font-size: 24px;
    font-weight: 400;
}

.all-products-category-card p {
    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 15px;
}

.all-products-category-card strong {
    margin-top: auto;

    color: var(--gold-300);

    font-size: 15px;
}


/* لیست محصولات */

.all-products-section {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            var(--cream)
        );
}

.all-products-list-header {
    margin-bottom: 45px;

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

    gap: 30px;
}

.all-products-list-header > div:first-child {
    max-width: 780px;
}

.all-products-list-label {
    color: var(--gold-600);

    font-size: 16px;
    letter-spacing: 2px;
}

.all-products-list-header h2 {
    margin: 5px 0 8px;

    color: var(--green-900);

    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
}

.all-products-list-header p {
    color: var(--text-soft);

    font-size: 18px;
}

.all-products-count {
    width: 105px;
    height: 105px;

    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: var(--green-950);

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 10px 25px rgba(179, 134, 40, 0.25);
}

.all-products-count strong {
    font-size: 31px;
    line-height: 1;
}

.all-products-count span {
    font-size: 14px;
}


/* گرید محصولات */

/* نمایش محصولات کنار هم */

.all-products-grid {
    width: 100%;

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

    align-items: stretch;

    gap: 28px;
}

.all-product-card {
    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.all-product-image {
    width: 100%;
    height: 330px;
}

.all-product-content {
    flex: 1;
}


/* تبلت و موبایل */

@media (max-width: 900px) {

    .all-products-grid {
        grid-template-columns: 1fr;
    }

}

.all-product-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(199, 160, 74, 0.35);
    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f1e8
        );

    box-shadow:
        0 16px 38px rgba(3, 28, 18, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.all-product-card:hover {
    transform: translateY(-8px);

    border-color: rgba(199, 160, 74, 0.65);

    box-shadow:
        0 25px 52px rgba(3, 28, 18, 0.19);
}


/* تصویر محصول */

.all-product-image {
    position: relative;

    height: 335px;

    padding: 58px 28px 30px;

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

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(221, 189, 114, 0.2),
            transparent 40%
        ),
        linear-gradient(
            145deg,
            var(--green-950),
            var(--green-700)
        );
}

.all-product-image::after {
    content: "";

    position: absolute;
    inset: 15px;

    border: 1px solid rgba(221, 189, 114, 0.2);
    border-radius: 17px;

    pointer-events: none;
}

.all-product-image > a {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

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

.all-product-image img {
    width: min(100%, 270px);
    max-height: 245px;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(0 20px 24px rgba(0, 0, 0, 0.35));

    transition: transform 0.4s ease;
}

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

.all-product-labels {
    position: absolute;
    z-index: 4;

    top: 20px;
    right: 20px;
    left: 20px;

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

    gap: 10px;
}

.all-product-brand,
.all-product-category {
    padding: 6px 13px;

    border-radius: 20px;

    font-size: 13px;
}

.all-product-brand {
    color: var(--green-950);

    font-weight: 700;
    letter-spacing: 1px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.all-product-category {
    color: rgba(255, 255, 255, 0.92);

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

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

.all-product-power {
    position: absolute;
    z-index: 4;

    left: 20px;
    bottom: 18px;

    padding: 6px 14px;

    color: var(--green-950);

    border-radius: 20px;

    background: var(--gold-300);

    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
}


/* محتوای محصول */

.all-product-content {
    padding: 27px 25px 29px;

    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.all-product-type {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--gold-600);

    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 1.2px;
}

.all-product-content h2 {
    margin-bottom: 3px;

    color: var(--green-900);

    font-size: 27px;
    font-weight: 400;
    line-height: 1.55;
}

.all-product-content h2 a {
    color: inherit;
}

.all-product-content h2 a:hover {
    color: var(--gold-600);
}

.all-product-content h3 {
    margin-bottom: 14px;

    color: var(--gold-600);

    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;

    direction: ltr;
    text-align: right;
}

.all-product-content > p {
    margin-bottom: 20px;

    color: var(--text-soft);

    font-size: 16px;
}


/* مشخصات */

.all-product-specs {
    margin-bottom: 20px;

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

    gap: 9px;
}

.all-product-specs > div {
    min-height: 72px;

    padding: 10px 8px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: 11px;

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

.all-product-specs span {
    margin-bottom: 2px;

    color: var(--text-soft);

    font-size: 12px;
}

.all-product-specs strong {
    color: var(--green-800);

    font-size: 15px;
}


/* ویژگی‌ها */

.all-product-points {
    margin-bottom: 23px;

    display: grid;

    gap: 7px;
}

.all-product-points li {
    position: relative;

    padding-right: 17px;

    color: #46534c;

    font-size: 14px;
}

.all-product-points li::before {
    content: "";

    position: absolute;

    right: 0;
    top: 11px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold-500);
}


/* دکمه‌ها */

.all-product-actions {
    margin-top: auto;

    display: grid;
    grid-template-columns: 1fr 0.72fr;

    gap: 11px;
}

.all-product-details-button,
.all-product-datasheet-button,
.all-product-contact-button {
    min-height: 48px;

    padding: 9px 14px;

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

    text-align: center;

    border-radius: 10px;

    font-size: 15px;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.22s ease;
}

.all-product-details-button {
    color: #ffffff;

    background:
        linear-gradient(
            180deg,
            var(--green-700),
            var(--green-900)
        );

    box-shadow:
        0 5px 0 var(--green-950);
}

.all-product-datasheet-button {
    color: var(--green-950);

    border: 1px solid var(--gold-300);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600);
}

.all-product-contact-button {
    grid-column: 1 / -1;

    color: var(--green-900);

    border: 1px solid rgba(6, 72, 49, 0.4);

    background: transparent;
}

.all-product-details-button:hover,
.all-product-datasheet-button:hover,
.all-product-contact-button:hover {
    transform: translateY(-3px);
}

.all-product-contact-button:hover {
    color: #ffffff;

    background: var(--green-800);
}


/* مشاوره */

.all-products-consultation {
    padding: 80px 0;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );
}

.all-products-consultation-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;
}

.all-products-consultation-box > div:first-child {
    max-width: 750px;
}

.all-products-consultation-box span {
    color: var(--gold-300);

    font-size: 17px;
}

.all-products-consultation-box h2 {
    margin: 5px 0 8px;

    color: #ffffff;

    font-size: clamp(31px, 4vw, 45px);
    font-weight: 400;
}

.all-products-consultation-box p {
    color: rgba(255, 255, 255, 0.72);

    font-size: 18px;
}

.all-products-consultation-actions {
    min-width: 230px;

    display: grid;

    gap: 13px;
}

.all-products-consultation-actions a {
    min-height: 51px;

    padding: 10px 22px;

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

    text-align: center;

    border-radius: 10px;

    font-size: 17px;
}

.all-products-consultation-actions a:first-child {
    color: var(--green-950);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.all-products-consultation-actions a:last-child {
    color: #ffffff;

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

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


/* واکنش‌گرا */

@media (max-width: 1150px) {

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

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

}


@media (max-width: 800px) {

    .all-products-list-header,
    .all-products-consultation-box {
        flex-direction: column;
        align-items: center;

        text-align: center;
    }

    .all-products-count {
        width: 90px;
        height: 90px;
    }

    .all-products-consultation-actions {
        width: 100%;
        min-width: 0;
    }

}


@media (max-width: 700px) {

    .all-products-hero-content {
        text-align: center;
    }

    .all-products-breadcrumb {
        justify-content: center;
    }

    .all-products-hero h1::after {
        margin-inline: auto;
    }

    .all-products-category-grid,
    .all-products-grid {
        grid-template-columns: 1fr;
    }

    .all-products-category-card {
        min-height: 220px;
    }

    .all-product-image {
        height: 310px;
    }

}


@media (max-width: 450px) {

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

    .all-product-contact-button {
        grid-column: auto;
    }

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

}


/* ==================================================
   Three-Phase Inverters Page
================================================== */

.three-phase-page-hero {
    position: relative;

    min-height: 530px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;

    background:
        url("images/inverter-three-phase.png")
        left center / cover no-repeat;

    border-bottom: 3px solid var(--gold-500);
}

.three-phase-page-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 19, 13, 0.12),
            rgba(3, 19, 13, 0.57) 48%,
            rgba(3, 19, 13, 0.97) 100%
        );
}

.three-phase-page-content {
    position: relative;
    z-index: 2;

    padding: 75px 0;
}

.three-phase-breadcrumb {
    margin-bottom: 30px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    color: rgba(255, 255, 255, 0.67);

    font-size: 17px;
}

.three-phase-breadcrumb a:hover {
    color: var(--gold-300);
}

.three-phase-breadcrumb span:last-child {
    color: var(--gold-300);
}

.three-phase-hero-label {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--gold-300);

    font-size: 17px;
    letter-spacing: 2px;
}

.three-phase-page-hero h1 {
    max-width: 790px;

    margin-bottom: 15px;

    color: #ffffff;

    font-size: clamp(43px, 6vw, 69px);
    font-weight: 400;
    line-height: 1.4;

    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.4);
}

.three-phase-page-hero h1::after {
    content: "";

    display: block;

    width: 100px;
    height: 4px;

    margin-top: 17px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--gold-500),
            transparent
        );
}

.three-phase-page-hero p {
    max-width: 720px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 20px;
}

.three-phase-hero-actions {
    margin-top: 29px;

    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}


/* دکمه‌ها */

.three-phase-primary-button,
.three-phase-outline-button {
    min-height: 53px;

    padding: 11px 27px;

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

    border-radius: 11px;

    font-size: 18px;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.22s ease;
}

.three-phase-primary-button {
    color: var(--green-950);

    border: 1px solid var(--gold-200);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600),
        0 14px 25px rgba(0, 0, 0, 0.25);
}

.three-phase-primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 0 var(--gold-600),
        0 19px 30px rgba(0, 0, 0, 0.32);
}

.three-phase-outline-button {
    color: #ffffff;

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

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

.three-phase-outline-button:hover {
    color: var(--green-950);

    border-color: var(--gold-300);

    background: var(--gold-300);

    transform: translateY(-3px);
}


/* معرفی */

.three-phase-intro {
    padding: 95px 0;

    background: var(--cream);
}

.three-phase-intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;

    gap: 60px;
}

.three-phase-intro-content h2 {
    margin: 7px 0 15px;

    color: var(--green-900);

    font-size: clamp(35px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.45;
}

.three-phase-intro-content p {
    margin-bottom: 13px;

    color: var(--text-soft);

    font-size: 18px;
}

.three-phase-intro-cards {
    display: grid;

    gap: 14px;
}

.three-phase-intro-cards article {
    position: relative;

    min-height: 115px;

    padding: 21px 80px 21px 22px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4efe4
        );

    box-shadow: var(--shadow-sm);
}

.three-phase-intro-cards article > span {
    position: absolute;

    top: 22px;
    right: 18px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    color: var(--green-950);

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.three-phase-intro-cards h3 {
    color: var(--green-800);

    font-size: 22px;
    font-weight: 400;
}

.three-phase-intro-cards p {
    color: var(--text-soft);

    font-size: 16px;
}


/* بخش محصول */

.three-phase-products {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            var(--cream)
        );
}

.three-phase-products-heading {
    max-width: 780px;

    margin-bottom: 48px;
}

.three-phase-products-heading h2 {
    margin: 7px 0 10px;

    color: var(--green-900);

    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
}

.three-phase-products-heading p {
    color: var(--text-soft);

    font-size: 19px;
}

.three-phase-products-grid {
    display: grid;

    gap: 30px;
}

.three-phase-product-card {
    display: grid;
    grid-template-columns:
        minmax(340px, 0.82fr)
        minmax(490px, 1.18fr);

    overflow: hidden;

    border: 1px solid rgba(199, 160, 74, 0.4);
    border-radius: 26px;

    background: #ffffff;

    box-shadow:
        0 22px 50px rgba(3, 28, 18, 0.15);
}


/* تصویر محصول */

.three-phase-product-image {
    position: relative;

    min-height: 750px;

    padding: 70px 35px;

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

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(221, 189, 114, 0.22),
            transparent 39%
        ),
        linear-gradient(
            145deg,
            var(--green-950),
            var(--green-700)
        );
}

.three-phase-product-image::after {
    content: "";

    position: absolute;
    inset: 18px;

    border: 1px solid rgba(221, 189, 114, 0.25);
    border-radius: 20px;

    pointer-events: none;
}

.three-phase-product-image img {
    position: relative;
    z-index: 2;

    width: min(100%, 440px);
    max-height: 520px;

    object-fit: contain;

    filter:
        drop-shadow(0 25px 30px rgba(0, 0, 0, 0.36));

    transition: transform 0.4s ease;
}

.three-phase-product-card:hover
.three-phase-product-image img {
    transform: scale(1.045);
}

.three-phase-product-badges {
    position: absolute;
    z-index: 3;

    top: 25px;
    right: 25px;
    left: 25px;

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

    gap: 12px;
}

.three-phase-product-brand,
.three-phase-product-status,
.three-phase-product-power {
    padding: 7px 15px;

    border-radius: 20px;

    font-size: 14px;
}

.three-phase-product-brand {
    color: var(--green-950);

    font-weight: 700;
    letter-spacing: 1px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.three-phase-product-status {
    color: #ffffff;

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

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

.three-phase-product-power {
    position: absolute;
    z-index: 3;

    left: 25px;
    bottom: 25px;

    color: var(--green-950);

    background: var(--gold-300);

    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
}


/* محتوای محصول */

.three-phase-product-content {
    padding: 43px 40px;
}

.three-phase-product-top {
    margin-bottom: 11px;

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

    gap: 15px;
}

.three-phase-product-top span {
    color: var(--gold-600);

    font-size: 14px;
    letter-spacing: 1.2px;
}

.three-phase-product-top strong {
    padding: 6px 14px;

    color: var(--green-950);

    border-radius: 20px;

    background: var(--gold-300);

    font-size: 17px;
}

.three-phase-product-content h2 {
    margin-bottom: 4px;

    color: var(--green-900);

    font-size: clamp(30px, 3vw, 41px);
    font-weight: 400;
    line-height: 1.5;
}

.three-phase-product-content h3 {
    margin-bottom: 17px;

    color: var(--gold-600);

    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 600;

    direction: ltr;
    text-align: right;
}

.three-phase-product-description {
    margin-bottom: 24px;

    color: var(--text-soft);

    font-size: 17px;
}


/* مشخصات فنی */

.three-phase-product-specs {
    margin-bottom: 24px;

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

    gap: 10px;
}

.three-phase-product-specs > div {
    min-height: 88px;

    padding: 12px 9px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4efe5
        );
}

.three-phase-product-specs span {
    margin-bottom: 3px;

    color: var(--text-soft);

    font-size: 13px;
}

.three-phase-product-specs strong {
    color: var(--green-800);

    font-size: 17px;
}


/* فهرست ویژگی‌ها */

.three-phase-product-features {
    margin-bottom: 24px;

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

    gap: 8px 18px;
}

.three-phase-product-features li {
    position: relative;

    padding-right: 17px;

    color: #44524a;

    font-size: 15px;
}

.three-phase-product-features li::before {
    content: "";

    position: absolute;

    right: 0;
    top: 12px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold-500);
}


/* هشدار */

.three-phase-product-notice {
    margin-bottom: 23px;

    padding: 15px 17px;

    border-right: 4px solid var(--gold-500);
    border-radius: 11px;

    background: rgba(221, 189, 114, 0.13);
}

.three-phase-product-notice strong {
    color: var(--green-900);
}

.three-phase-product-notice p {
    color: var(--text-soft);

    font-size: 14px;
}


/* مشخصات فیزیکی */

.three-phase-product-physical {
    margin-bottom: 25px;

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

    gap: 10px;
}

.three-phase-product-physical > div {
    padding: 13px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    border: 1px solid rgba(199, 160, 74, 0.25);
    border-radius: 11px;

    background: rgba(221, 189, 114, 0.09);
}

.three-phase-product-physical span {
    color: var(--text-soft);

    font-size: 13px;
}

.three-phase-product-physical strong {
    color: var(--green-800);

    font-size: 15px;
}


/* دکمه‌های محصول */

.three-phase-product-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;
}

.three-phase-datasheet-button,
.three-phase-contact-button {
    min-height: 52px;

    padding: 11px 23px;

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

    border-radius: 10px;

    font-size: 17px;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.three-phase-datasheet-button {
    color: var(--green-950);

    border: 1px solid var(--gold-200);

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );

    box-shadow:
        0 5px 0 var(--gold-600);
}

.three-phase-contact-button {
    color: #ffffff;

    border: 1px solid var(--green-700);

    background:
        linear-gradient(
            180deg,
            var(--green-700),
            var(--green-900)
        );

    box-shadow:
        0 5px 0 var(--green-950);
}

.three-phase-datasheet-button:hover,
.three-phase-contact-button:hover {
    transform: translateY(-3px);
}


/* راهنمای طراحی */

.three-phase-design-guide {
    padding: 100px 0;

    background: var(--cream);
}

.three-phase-design-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;

    gap: 60px;
}

.three-phase-design-grid h2 {
    margin: 7px 0 14px;

    color: var(--green-900);

    font-size: clamp(34px, 4vw, 49px);
    font-weight: 400;
    line-height: 1.45;
}

.three-phase-design-grid p {
    margin-bottom: 15px;

    color: var(--text-soft);

    font-size: 18px;
}

.three-phase-design-grid
.three-phase-primary-button {
    margin-top: 12px;
}

.three-phase-design-list {
    display: grid;

    gap: 13px;
}

.three-phase-design-list article {
    padding: 17px 19px;

    display: flex;
    align-items: flex-start;

    gap: 15px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background: #ffffff;

    box-shadow: var(--shadow-sm);
}

.three-phase-design-list article > span {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--green-950);

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
}

.three-phase-design-list h3 {
    color: var(--green-800);

    font-size: 21px;
    font-weight: 400;
}

.three-phase-design-list p {
    margin: 0;

    color: var(--text-soft);

    font-size: 15px;
}


/* تماس */

.three-phase-cta {
    padding: 80px 0;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );
}

.three-phase-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.three-phase-cta-box span {
    color: var(--gold-300);

    font-size: 17px;
}

.three-phase-cta-box h2 {
    margin: 5px 0 8px;

    color: #ffffff;

    font-size: clamp(31px, 4vw, 45px);
    font-weight: 400;
}

.three-phase-cta-box p {
    color: rgba(255, 255, 255, 0.72);

    font-size: 18px;
}


/* واکنش‌گرا */

@media (max-width: 1050px) {

    .three-phase-intro-grid,
    .three-phase-design-grid {
        grid-template-columns: 1fr;
    }

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

    .three-phase-product-image {
        min-height: 510px;
    }

}


@media (max-width: 750px) {

    .three-phase-page-content,
    .three-phase-products-heading,
    .three-phase-intro-content,
    .three-phase-design-grid > div:first-child {
        text-align: center;
    }

    .three-phase-breadcrumb,
    .three-phase-hero-actions {
        justify-content: center;
    }

    .three-phase-page-hero h1::after {
        margin-inline: auto;
    }

    .three-phase-intro-cards article {
        padding: 72px 21px 21px;

        text-align: center;
    }

    .three-phase-intro-cards article > span {
        top: 15px;
        right: 50%;

        transform: translateX(50%);
    }

    .three-phase-product-image {
        min-height: 420px;

        padding: 60px 25px 40px;
    }

    .three-phase-product-content {
        padding: 31px 22px;
    }

    .three-phase-product-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .three-phase-product-specs {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .three-phase-cta-box {
        flex-direction: column;

        text-align: center;
    }

}


@media (max-width: 500px) {

    .three-phase-page-hero {
        min-height: 550px;
    }

    .three-phase-primary-button,
    .three-phase-outline-button,
    .three-phase-datasheet-button,
    .three-phase-contact-button {
        width: 100%;
    }

    .three-phase-product-actions {
        flex-direction: column;
    }

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

}

/* دو محصول سه‌فاز با فاصله مناسب */

.three-phase-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 45px;
}

.three-phase-product-card {
    width: 100%;
    min-width: 0;
}












/* ==================================================
   All Products Grid — 6 Products Per Row
================================================== */

.all-products-section .container {
    width: min(96%, 1920px);
    max-width: 1920px;
}

.all-products-grid {
    width: 100%;

    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;

    align-items: stretch;
    gap: 18px;
}

.all-product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    display: flex;
    flex-direction: column;
}

.all-product-image {
    width: 100%;
    height: 230px;

    padding: 48px 15px 25px;
}

.all-product-image img {
    width: min(100%, 175px);
    max-height: 165px;
}

.all-product-labels {
    top: 14px;
    right: 12px;
    left: 12px;

    gap: 5px;
}

.all-product-brand,
.all-product-category {
    padding: 5px 8px;

    font-size: 10px;
}

.all-product-power {
    left: 12px;
    bottom: 12px;

    padding: 5px 9px;

    font-size: 13px;
}

.all-product-content {
    padding: 18px 14px 20px;
}

.all-product-type {
    font-size: 9px;
    letter-spacing: 0.5px;
}

.all-product-content h2 {
    font-size: 19px;
    line-height: 1.55;
}

.all-product-content h3 {
    margin-bottom: 10px;

    font-size: 13px;
}

.all-product-content > p {
    margin-bottom: 14px;

    font-size: 13px;
    line-height: 1.8;
}

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

    gap: 6px;
}

.all-product-specs > div {
    min-height: 62px;

    padding: 7px 5px;
}

.all-product-specs span {
    font-size: 10px;
}

.all-product-specs strong {
    font-size: 12px;
}

.all-product-points {
    gap: 5px;
}

.all-product-points li {
    padding-right: 13px;

    font-size: 11px;
}

.all-product-points li::before {
    top: 9px;

    width: 5px;
    height: 5px;
}

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

    gap: 8px;
}

.all-product-details-button,
.all-product-datasheet-button,
.all-product-contact-button {
    width: 100%;
    min-height: 42px;

    padding: 7px 8px;

    font-size: 12px;
}

.all-product-contact-button {
    grid-column: auto;
}


/* نمایش واکنش‌گرا */

@media (max-width: 1500px) {

    .all-products-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

}

@media (max-width: 1250px) {

    .all-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

}

@media (max-width: 1000px) {

    .all-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

}

@media (max-width: 750px) {

    .all-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

@media (max-width: 480px) {

    .all-products-grid {
        grid-template-columns: 1fr !important;
    }

}



/* ==================================================
   Floating Product Tree
================================================== */

.product-tree-guide {
    position: fixed;
    right: 22px;
    bottom: 22px;

    z-index: 9999;

    direction: rtl;
}


/* دکمه اصلی */

.product-tree-toggle {
    min-width: 185px;
    height: 52px;

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

    gap: 9px;

    padding: 0 17px;

    border: 1px solid rgba(218, 181, 86, 0.65);
    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #0c392d,
            #061f19
        );

    color: #f2d679;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 15px 38px rgba(0, 0, 0, 0.34);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-tree-toggle:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.42),
        0 0 20px rgba(218, 181, 86, 0.13);
}

.product-tree-toggle-icon {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(242, 214, 121, 0.3);
    border-radius: 8px;
}


/* پنل اصلی */

.product-tree-panel {
    position: absolute;
    right: 0;
    bottom: 66px;

    width: 350px;
    max-height: min(680px, calc(100vh - 110px));

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(218, 181, 86, 0.38);
    border-radius: 21px;

    background:
        radial-gradient(
            circle at top right,
            rgba(38, 111, 83, 0.33),
            transparent 40%
        ),
        linear-gradient(
            155deg,
            rgba(7, 43, 33, 0.99),
            rgba(3, 22, 17, 0.99)
        );

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.52);

    opacity: 0;
    visibility: hidden;

    overflow: hidden;

    transform:
        translateY(18px)
        scale(0.96);

    transform-origin: bottom right;

    transition:
        opacity 0.28s ease,
        visibility 0.28s ease,
        transform 0.28s ease;
}

.product-tree-guide.open .product-tree-panel {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


/* هدر پنل */

.product-tree-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    padding: 20px 20px 16px;

    border-bottom: 1px solid rgba(218, 181, 86, 0.16);
}

.product-tree-label {
    display: block;

    margin-bottom: 3px;

    color: #d9b65c;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.product-tree-header h2 {
    margin: 0 0 3px;

    color: #ffffff;

    font-size: 21px;
}

.product-tree-header p {
    margin: 0;

    color: rgba(255, 255, 255, 0.5);

    font-size: 12px;
}

.product-tree-close {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    border: 1px solid rgba(218, 181, 86, 0.23);
    border-radius: 10px;

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

    color: #f0d477;

    font-family: Arial, sans-serif;
    font-size: 24px;

    cursor: pointer;
}


/* بدنه درختواره */

.product-tree-nav {
    padding: 13px;

    overflow-y: auto;
}

.product-tree-list,
.product-tree-children {
    margin: 0;
    padding: 0;

    list-style: none;
}

.product-tree-list > li {
    margin-bottom: 5px;
}


/* ردیف هر دسته */

.product-tree-row {
    display: flex;
    align-items: center;

    gap: 6px;
}

.product-tree-row > a,
.product-tree-direct-item > a {
    min-height: 47px;

    flex: 1;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 9px 11px;

    border: 1px solid transparent;
    border-radius: 11px;

    color: rgba(255, 255, 255, 0.84);

    text-decoration: none;

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

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.product-tree-row > a:hover,
.product-tree-direct-item > a:hover {
    color: #f3d77d;

    background: rgba(218, 181, 86, 0.08);
    border-color: rgba(218, 181, 86, 0.2);
}


/* آیکن */

.product-tree-icon {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(218, 181, 86, 0.25);
    border-radius: 8px;

    color: #d9b65c;

    font-size: 13px;
}


/* دکمه باز و بسته شدن شاخه */

.product-tree-branch-button {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(218, 181, 86, 0.23);
    border-radius: 9px;

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

    color: #d9b65c;

    font-family: Arial, sans-serif;
    font-size: 18px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.product-tree-branch-button:hover {
    background: rgba(218, 181, 86, 0.12);
}

.product-tree-branch.open > .product-tree-row
.product-tree-branch-button {
    transform: rotate(180deg);
}


/* زیرشاخه‌ها */

.product-tree-children {
    max-height: 0;

    margin-right: 25px;
    padding-right: 14px;

    border-right: 1px solid rgba(218, 181, 86, 0.22);

    opacity: 0;
    overflow: hidden;

    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        margin 0.35s ease;
}

.product-tree-branch.open > .product-tree-children {
    max-height: 400px;

    margin-top: 4px;
    margin-bottom: 8px;

    opacity: 1;
}

.product-tree-children li {
    position: relative;
}

.product-tree-children li::before {
    content: "";

    position: absolute;
    right: -14px;
    top: 19px;

    width: 10px;
    height: 1px;

    background: rgba(218, 181, 86, 0.25);
}

.product-tree-children a {
    min-height: 38px;

    display: flex;
    align-items: center;

    padding: 6px 10px;

    border-radius: 9px;

    color: rgba(255, 255, 255, 0.67);

    text-decoration: none;

    font-size: 12px;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.product-tree-children a:hover {
    color: #f1d679;

    background: rgba(218, 181, 86, 0.07);
}


/* پایین پنل */

.product-tree-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8px;

    padding: 14px 16px 17px;

    border-top: 1px solid rgba(218, 181, 86, 0.16);
}

.product-tree-footer a {
    min-height: 41px;

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

    padding: 7px;

    border: 1px solid rgba(218, 181, 86, 0.22);
    border-radius: 10px;

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

    color: #e6c96e;

    text-align: center;
    text-decoration: none;

    font-size: 11px;
}


/* موبایل */

@media (max-width: 650px) {

    .product-tree-guide {
        right: 13px;
        bottom: 13px;
    }

    .product-tree-toggle {
        width: 54px;
        min-width: 54px;

        padding: 0;

        border-radius: 50%;
    }

    .product-tree-toggle-text {
        display: none;
    }

    .product-tree-toggle-icon {
        border: 0;
    }

    .product-tree-panel {
        position: fixed;

        right: 10px;
        left: 10px;
        bottom: 78px;

        width: auto;
        max-height: calc(100vh - 100px);

        transform-origin: bottom center;
    }

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

}



.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin: 0 18px;

    color: #ffffff;
    text-decoration: none;
}

.header-phone-icon {
    color: #e6c067;
    font-size: 22px;
}

.header-phone-info small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
}

.header-phone-info strong {
    color: #ffd86b !important;

    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1.2px;
    line-height: 1.3;

    text-shadow:
        0 0 4px rgba(255, 216, 107, 0.95),
        0 0 10px rgba(255, 190, 50, 0.75),
        0 0 18px rgba(255, 170, 0, 0.45);

    filter: drop-shadow(
        0 0 5px rgba(255, 200, 70, 0.45)
    );

    transition:
        text-shadow 0.25s ease,
        transform 0.25s ease;
}

.header-phone:hover .header-phone-info strong {
    transform: scale(1.03);

    text-shadow:
        0 0 5px rgba(255, 230, 140, 1),
        0 0 13px rgba(255, 195, 55, 0.9),
        0 0 24px rgba(255, 166, 0, 0.65);
}


/* =========================================
   قابلیت جابه‌جایی درختواره شناور
========================================= */

.product-tree-guide {
    position: fixed !important;

    right: 22px;
    bottom: 22px;

    left: auto;
    top: auto;

    z-index: 9999;

    touch-action: none;
}

.product-tree-guide.is-dragging {
    transition: none !important;

    user-select: none;
    cursor: grabbing;
}

.product-tree-toggle {
    cursor: grab;
}

.product-tree-guide.is-dragging .product-tree-toggle {
    cursor: grabbing;
}


/* هدر پنل، دستگیره جابه‌جایی در حالت باز */

.product-tree-header {
    cursor: grab;
    user-select: none;
}

.product-tree-guide.is-dragging .product-tree-header {
    cursor: grabbing;
}


/* هنگام درگ، انتخاب متن و تصویر غیرفعال شود */

.product-tree-guide.is-dragging,
.product-tree-guide.is-dragging * {
    user-select: none !important;
    -webkit-user-select: none !important;
}


/* در موبایل کمی فاصله از لبه‌ها */

@media (max-width: 600px) {

    .product-tree-guide {
        right: 12px;
        bottom: 12px;
    }

}



/* ==================================================
   درختواره شناور قابل جابه‌جایی
================================================== */

.product-tree-guide {
    position: fixed !important;

    right: 24px;
    bottom: 24px;

    left: auto;
    top: auto;

    z-index: 99999 !important;

    margin: 0 !important;

    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}


/* دکمه در حالت بسته */

.product-tree-toggle {
    cursor: grab !important;

    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}


/* هدر پنل در حالت باز */

.product-tree-header {
    cursor: grab !important;

    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}


/* هنگام جابه‌جایی */

.product-tree-guide.product-tree-dragging {
    transition: none !important;

    cursor: grabbing !important;
}

.product-tree-guide.product-tree-dragging *,
.product-tree-guide.product-tree-dragging .product-tree-toggle,
.product-tree-guide.product-tree-dragging .product-tree-header {
    cursor: grabbing !important;

    transition: none !important;

    user-select: none !important;
    -webkit-user-select: none !important;
}


/* جلوگیری از کشیده‌شدن تصویرها و لینک‌ها */

.product-tree-guide img,
.product-tree-guide a {
    -webkit-user-drag: none;
}


/* موبایل */

@media (max-width: 600px) {

    .product-tree-guide {
        right: 12px;
        bottom: 12px;
    }

}


.product-tree-panel {
    display: none;
}

.product-tree-guide.open .product-tree-panel {
    display: block;
}

.product-tree-children {
    display: none;
}

.product-tree-branch.open .product-tree-children {
    display: block;
}


/* =========================================
   سؤالات متداول مقاله
========================================= */

.article-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.article-faq-item {
    overflow: hidden;
    border: 1px solid rgba(8, 73, 49, 0.13);
    border-radius: 15px;
    background: #ffffff;
}


.article-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 18px 20px;

    border: 0;

    background: #f5f9f7;
    color: #144d37;

    font: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.8;

    text-align: right;
    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.article-faq-question:hover {
    background: #edf5f1;
}


.article-faq-question span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 31px;
    height: 31px;

    border-radius: 50%;

    background: #0a563b;
    color: #ffffff;

    font-size: 21px;
    line-height: 1;
}


.article-faq-answer {
    padding: 0 20px 20px;
    background: #ffffff;
}


.article-faq-answer[hidden] {
    display: none !important;
}


.article-faq-answer p {
    margin: 18px 0 0;
    color: #5f6e65;
    font-size: 15px;
    line-height: 2;
}


.article-faq-item.open
.article-faq-question {
    background: #0b543a;
    color: #ffffff;
}


.article-faq-item.open
.article-faq-question span {
    background: #d3aa4e;
    color: #173226;
}

/* =========================================
   کارت مقالات ـ ۶ عدد در هر ردیف
   این بخش به‌عنوان مبنای نهایی استایل مقالات است.
========================================= */

.articles-page-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 14px !important;
}

.articles-page-grid .articles-page-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 330px !important;
    overflow: hidden !important;
    border: 1px solid rgba(8, 72, 48, 0.12) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(8, 57, 38, 0.08) !important;
}

.articles-page-grid .articles-page-card:hover {
    transform: translateY(-7px) !important;
    box-shadow: 0 16px 34px rgba(8, 57, 38, 0.14) !important;
}

.articles-page-grid .articles-page-card .article-card-image {
    position: relative !important;
    display: block !important;
    flex: 0 0 145px !important;
    width: 100% !important;
    height: 145px !important;
    min-height: 145px !important;
    max-height: 145px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #e8eeea !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    aspect-ratio: auto !important;
}

.articles-page-grid .articles-page-card .article-card-image img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 145px !important;
    min-height: 145px !important;
    max-height: 145px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    aspect-ratio: auto !important;
}

.articles-page-grid .articles-page-card .article-image-panel,
.articles-page-grid .articles-page-card .article-image-inverter,
.articles-page-grid .articles-page-card .article-image-battery,
.articles-page-grid .articles-page-card .article-image-design,
.articles-page-grid .articles-page-card .article-image-panel-two,
.articles-page-grid .articles-page-card .article-image-offgrid {
    flex: 0 0 145px !important;
    width: 100% !important;
    height: 145px !important;
    min-height: 145px !important;
    max-height: 145px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.articles-page-grid .article-card-category {
    position: absolute !important;
    right: 9px !important;
    bottom: 9px !important;
    top: auto !important;
    left: auto !important;
    z-index: 3 !important;
    min-height: 24px !important;
    padding: 3px 9px !important;
    color: #173326 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.7 !important;
    border-radius: 30px !important;
    background: rgba(234, 207, 139, 0.95) !important;
}

.articles-page-grid .articles-page-card .article-card-content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: 185px !important;
    padding: 13px !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #ffffff !important;
}

.articles-page-grid .article-card-meta,
.articles-page-grid .article-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin: 0 0 7px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.articles-page-grid .article-card-meta span,
.articles-page-grid .article-meta span {
    color: #9a7527 !important;
    font-size: 9px !important;
    line-height: 1.5 !important;
}

.articles-page-grid .articles-page-card h2,
.articles-page-grid .articles-page-card h3 {
    display: -webkit-box !important;
    min-height: 46px !important;
    max-height: 46px !important;
    margin: 0 0 7px !important;
    overflow: hidden !important;
    color: #0a4933 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.75 !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.articles-page-grid .articles-page-card h2 a,
.articles-page-grid .articles-page-card h3 a {
    display: block !important;
    color: inherit !important;
    text-decoration: none !important;
}

.articles-page-grid .articles-page-card .article-card-content > p {
    display: -webkit-box !important;
    min-height: 54px !important;
    max-height: 54px !important;
    margin: 0 0 9px !important;
    overflow: hidden !important;
    color: #65736a !important;
    font-size: 10px !important;
    line-height: 1.8 !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.articles-page-grid .article-card-link,
.articles-page-grid .article-card-content > a:last-child {
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    gap: 4px !important;
    margin-top: auto !important;
    color: #0a563b !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* شش کارت در دسکتاپ و لپ‌تاپ‌های معمولی */
@media (max-width: 1100px) {
    .articles-page-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 850px) {
    .articles-page-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 650px) {
    .articles-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 420px) {
    .articles-page-grid {
        grid-template-columns: 1fr !important;
    }

    .articles-page-grid .articles-page-card .article-card-image,
    .articles-page-grid .articles-page-card .article-card-image img {
        height: 190px !important;
        min-height: 190px !important;
        max-height: 190px !important;
        flex-basis: 190px !important;
    }
}

/* ==================================================
   Final Article Title Fix
   عنوان کامل و کوچک‌تر کارت‌های مقاله
================================================== */

.articles-page-grid .articles-page-card .article-card-content h2,
.articles-page-grid .articles-page-card .article-card-content h3,
.articles-page-grid .articles-page-card .article-card-content h2 a,
.articles-page-grid .articles-page-card .article-card-content h3 a {
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 10px !important;
    overflow: visible !important;
    color: #0a4933 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.65 !important;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: unset !important;
}

@media (max-width: 850px) {
    .articles-page-grid .articles-page-card .article-card-content h2,
    .articles-page-grid .articles-page-card .article-card-content h3,
    .articles-page-grid .articles-page-card .article-card-content h2 a,
    .articles-page-grid .articles-page-card .article-card-content h3 a {
        font-size: 17px !important;
    }
}

@media (max-width: 650px) {
    .articles-page-grid .articles-page-card .article-card-content h2,
    .articles-page-grid .articles-page-card .article-card-content h3,
    .articles-page-grid .articles-page-card .article-card-content h2 a,
    .articles-page-grid .articles-page-card .article-card-content h3 a {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }
}


/* ==================================================
   PHOTOSUN - MOBILE HEADER
   نسخه نهایی، یکپارچه و بدون کد تکراری
================================================== */

@media screen and (max-width: 768px) {

    /* ---------- هدر ---------- */

    .header {
        min-height: 0 !important;
        padding: 0 !important;
    }

    .header .header-box {
        width: min(96%, 1240px) !important;
        min-height: 0 !important;

        display: grid !important;
        grid-template-columns: auto 1fr !important;
        grid-template-areas:
            "logo phone"
            "menu menu" !important;

        align-items: center !important;
        gap: 4px 8px !important;

        padding: 5px 0 4px !important;
    }


    /* ---------- لوگو ---------- */

    .header .logo {
        grid-area: logo !important;

        width: auto !important;
        margin: 0 !important;
        padding: 4px 8px !important;

        border-radius: 8px !important;

        box-shadow:
            0 3px 0 #c6c6c6,
            0 6px 10px rgba(0, 0, 0, 0.22) !important;
    }

    .header .logo img {
        width: 76px !important;
        height: auto !important;
        max-width: 76px !important;
    }


    /* ---------- شماره تماس ---------- */

    .header .header-phone {
        grid-area: phone !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        gap: 4px !important;

        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 3px !important;

        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;

        white-space: nowrap !important;
    }

    .header .header-phone-icon {
        width: auto !important;
        height: auto !important;

        padding: 0 !important;

        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;

        color: #e9c65f !important;
        font-size: 12px !important;
        line-height: 1 !important;
    }

    .header .header-phone-content,
    .header .header-phone-info {
        min-width: 0 !important;
    }

    .header .header-phone-content small,
    .header .header-phone-info small {
        display: none !important;
    }

    .header .header-phone-content strong,
    .header .header-phone-info strong {
        display: block !important;

        color: #ffd65c !important;

        font-family: Arial, sans-serif !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        line-height: 1 !important;

        white-space: nowrap !important;

        text-shadow:
            0 0 4px rgba(255, 214, 92, 0.75),
            0 0 8px rgba(255, 179, 25, 0.35) !important;

        animation: none !important;
    }


    /* ---------- منوی افقی ---------- */

    .header .main-menu {
        grid-area: menu !important;

        position: static !important;

        width: 100% !important;
        max-width: 100% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        gap: 4px !important;

        margin: 0 !important;
        padding: 4px 0 2px !important;

        overflow-x: auto !important;
        overflow-y: visible !important;

        border-top:
            1px solid rgba(255, 255, 255, 0.08) !important;

        background: transparent !important;

        white-space: nowrap !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
    }

    .header .main-menu::-webkit-scrollbar {
        display: none !important;
    }


    /* ---------- لینک‌های منو ---------- */

    .header .main-menu > a,
    .header .nav-dropdown {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
    }

    .header .main-menu > a {
        min-height: 26px !important;

        padding: 3px 7px !important;

        color: #f8f4e7 !important;

        font-size: 9px !important;
        line-height: 1.2 !important;

        border: 1px solid rgba(221, 189, 114, 0.20) !important;
        border-radius: 6px !important;

        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.10),
                rgba(255, 255, 255, 0.025)
            ) !important;

        box-shadow:
            0 2px 0 #020b07,
            0 4px 6px rgba(0, 0, 0, 0.20) !important;

        white-space: nowrap !important;
    }


    /* ---------- منوی محصولات ---------- */

    .header .nav-dropdown-trigger {
        min-height: 26px !important;

        border-radius: 6px !important;

        box-shadow:
            0 2px 0 rgba(1, 13, 8, 0.95),
            0 4px 6px rgba(0, 0, 0, 0.20) !important;
    }

    .header .nav-dropdown-main-link {
        min-height: 26px !important;
        padding: 3px 6px !important;

        font-size: 9px !important;
        line-height: 1.2 !important;
    }

    .header .nav-dropdown-arrow {
        width: 20px !important;
        min-width: 20px !important;
        min-height: 26px !important;

        font-size: 7px !important;
    }

    .header .nav-dropdown-menu {
        position: fixed !important;

        top: 78px !important;
        right: 8px !important;
        left: 8px !important;

        width: auto !important;
        max-height: calc(100vh - 92px) !important;

        overflow-y: auto !important;

        margin: 0 !important;
        padding: 7px !important;

        border-radius: 10px !important;

        z-index: 10000 !important;
    }

    .header .nav-dropdown-menu > a,
    .header .nav-submenu-trigger {
        min-height: 34px !important;
        padding: 6px 9px !important;
        font-size: 10px !important;
    }

    .header .nav-submenu-main-link {
        font-size: 10px !important;
    }

    .header .nav-submenu-arrow {
        width: 24px !important;
        height: 24px !important;
        font-size: 8px !important;
    }

    .header .nav-submenu-panel {
        position: static !important;

        width: 100% !important;

        margin-top: 3px !important;
        padding: 4px !important;

        border-radius: 8px !important;
        box-shadow: none !important;
    }

    .header .nav-submenu-panel a {
        min-height: 30px !important;
        padding: 5px 8px !important;
        font-size: 9px !important;
    }


    /* ==================================================
       دکمه طلایی و درخشان محاسبه آنلاین سیستم خورشیدی
    ================================================== */

    .header .main-menu > a.solar-tool-link,
    .header .main-menu > a.solar-tool-link:link,
    .header .main-menu > a.solar-tool-link:visited {
        position: relative !important;
        isolation: isolate !important;

        min-height: 30px !important;
        padding: 4px 11px !important;

        color: #09261e !important;
        -webkit-text-fill-color: #09261e !important;

        font-size: 9.5px !important;
        font-weight: 900 !important;

        border: 1px solid #fff0b5 !important;
        border-radius: 7px !important;

        background:
            linear-gradient(
                135deg,
                #fff6c9 0%,
                #efd77d 28%,
                #ddaF3e 58%,
                #b97d18 100%
            ) !important;

        text-shadow:
            0 1px 0 rgba(255, 255, 255, 0.90) !important;

        box-shadow:
            0 3px 0 #7f5812,
            0 0 9px rgba(255, 226, 133, 0.82),
            0 0 19px rgba(218, 171, 48, 0.62),
            inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;

        overflow: hidden !important;

        animation:
            photosunGoldPulse 1.25s ease-in-out infinite alternate !important;
    }


    /* برق سفید عبوری روی دکمه */

    .header .main-menu > a.solar-tool-link::before {
        content: "" !important;

        position: absolute !important;
        z-index: 0 !important;

        top: -75% !important;
        left: -60% !important;

        width: 34% !important;
        height: 250% !important;

        background:
            linear-gradient(
                90deg,
                transparent 0%,
                rgba(255, 255, 255, 0.12) 25%,
                rgba(255, 255, 255, 0.98) 50%,
                rgba(255, 255, 255, 0.12) 75%,
                transparent 100%
            ) !important;

        transform: rotate(18deg) !important;

        pointer-events: none !important;

        animation:
            photosunGoldShine 2.25s ease-in-out infinite !important;
    }


    .header .main-menu > a.solar-tool-link:hover,
    .header .main-menu > a.solar-tool-link:focus,
    .header .main-menu > a.solar-tool-link:active {
        color: #09261e !important;
        -webkit-text-fill-color: #09261e !important;

        background:
            linear-gradient(
                135deg,
                #fffbe6 0%,
                #f5df8b 36%,
                #dfb346 70%,
                #bd821a 100%
            ) !important;
    }


    @keyframes photosunGoldPulse {

        from {
            box-shadow:
                0 3px 0 #7f5812,
                0 0 6px rgba(255, 226, 133, 0.55),
                0 0 13px rgba(218, 171, 48, 0.38),
                inset 0 1px 0 rgba(255, 255, 255, 0.90);
        }

        to {
            box-shadow:
                0 3px 0 #7f5812,
                0 0 15px rgba(255, 239, 174, 1),
                0 0 31px rgba(218, 171, 48, 0.82),
                inset 0 1px 0 rgba(255, 255, 255, 1);
        }

    }


    @keyframes photosunGoldShine {

        0%,
        43% {
            left: -60%;
        }

        69% {
            left: 125%;
        }

        100% {
            left: 125%;
        }

    }

}


/* موبایل خیلی کوچک */

@media screen and (max-width: 420px) {

    .header .main-menu > a,
    .header .nav-dropdown-main-link {
        font-size: 8.5px !important;
    }

    .header .main-menu > a.solar-tool-link {
        font-size: 9px !important;
    }

}

/* ==================================================
   PHOTOSUN UNIFIED HEADER - FINAL OVERRIDE
   مرجع نهایی هدر سایت
================================================== */

.header {
    overflow: visible !important;
}

.header .header-box,
.header .main-menu {
    overflow: visible !important;
}

.header-search {
    position: relative;
    flex: 0 0 auto;
}

@media (min-width: 1100px) {
    .header .container.header-box {
        width: calc(100% - 28px) !important;
        max-width: none !important;
        min-height: 98px !important;
        margin-inline: auto !important;

        display: grid !important;
        grid-template-columns: max-content minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 24px !important;
    }

    .header .header-brand-area {
        min-width: max-content !important;
        flex-shrink: 0 !important;

        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .header .main-menu {
        width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;

        gap: 8px !important;
        white-space: nowrap !important;
    }

    .header .main-menu > a,
    .header .nav-dropdown-main-link,
    .header .header-search-toggle {
        min-height: 60px !important;

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

        flex: 0 0 auto !important;

        padding: 0 22px !important;

        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .header .nav-dropdown,
    .header .header-search {
        flex: 0 0 auto !important;
    }

    .header .nav-dropdown-trigger {
        white-space: nowrap !important;
    }

    .header .header-phone {
        display: inline-flex !important;
        align-items: center !important;
        gap: 9px !important;
        white-space: nowrap !important;
    }

    .header .header-phone-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .header .header-phone-content small {
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
    }

    .header .header-phone-content strong {
        display: block !important;
        margin-top: 2px !important;

        font-size: 19px !important;
        font-weight: 900 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.2px !important;
    }

    .header .header-phone-icon {
        font-size: 25px !important;
        line-height: 1 !important;
    }
}


/* =========================================
   دکمه سولارسنج
========================================= */

.header .solar-tool-link {
    position: relative !important;
    overflow: hidden !important;

    min-width: 450px !important;

    color: var(--green-950) !important;
    font-family: "BTitr" !important;
    font-size: 50px !important;
    font-weight: 1000 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;

    background:
        linear-gradient(
            180deg,
            #fff5cf 0%,
            var(--gold-200) 22%,
            var(--gold-400) 58%,
            var(--gold-500) 100%
        ) !important;

    border: 3px solid #ffe8a1 !important;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 4px rgba(16, 51, 39, 0.18) !important;

    box-shadow:
        0 5px 0 var(--gold-600),
        0 10px 22px rgba(0, 0, 0, 0.38),
        0 0 18px rgba(232, 202, 123, 0.70),
        0 0 34px rgba(232, 202, 123, 0.38),
        inset 0 2px 0 rgba(255, 255, 255, 0.88),
        inset 0 -2px 0 rgba(126, 93, 25, 0.16) !important;

    transform: none !important;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease !important;

    animation: none !important;
}

.header .solar-tool-link::before {
    content: "";

    position: absolute;
    top: 0;
    left: -140%;

    width: 65%;
    height: 100%;

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(255, 255, 255, 0.52),
            transparent
        );

    transform: skewX(-20deg);

    animation: photosunSolarToolShine 3.6s ease-in-out infinite;
    pointer-events: none;
}

.header .solar-tool-link:hover {
    color: var(--green-950) !important;

    background:
        linear-gradient(
            180deg,
            #fff8dc,
            #f3d98f,
            #d9ae4f
        ) !important;

    transform: translateY(-2px) !important;

    filter:
        saturate(1.06)
        brightness(1.03);

    box-shadow:
        0 7px 0 var(--gold-600),
        0 14px 28px rgba(0, 0, 0, 0.42),
        0 0 24px rgba(255, 218, 110, 0.90),
        0 0 48px rgba(255, 218, 110, 0.50),
        inset 0 2px 0 rgba(255, 255, 255, 0.95) !important;
}

@keyframes photosunSolarToolShine {
    0%,
    62% {
        left: -140%;
    }

    82%,
    100% {
        left: 150%;
    }
}


/* =========================================
   جست‌وجوی هدر
========================================= */

.header .header-search-toggle {
    gap: 8px;

    border: 1px solid rgba(214, 177, 90, 0.34) !important;
    border-radius: 15px !important;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.04)
        ) !important;

    color: #ffffff !important;

    font-family: inherit !important;
    font-weight: 800 !important;

    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 7px 0 rgba(0, 0, 0, 0.28) !important;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease !important;
}

.header .header-search-toggle:hover,
.header .header-search-toggle[aria-expanded="true"] {
    border-color: rgba(231, 196, 110, 0.78) !important;

    background:
        linear-gradient(
            180deg,
            rgba(225, 185, 91, 0.24),
            rgba(255, 255, 255, 0.06)
        ) !important;

    transform: translateY(-1px);
}

.header-search-icon {
    font-size: 22px;
    line-height: 1;
}

.header-search-panel {
    position: absolute;

    left: 0;
    top: calc(100% + 14px);

    z-index: 10000;

    width: min(470px, calc(100vw - 28px));
    padding: 14px;

    border: 1px solid rgba(197, 155, 59, 0.4);
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.22);
}

.header-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.header-search-input {
    width: 100%;
    min-width: 0;
    height: 48px;

    padding: 0 14px;

    border: 1px solid rgba(12, 81, 55, 0.22);
    border-radius: 11px;

    background: #ffffff;
    color: #153f31;

    font: inherit;
    font-size: 14px;

    outline: none;
}

.header-search-input:focus {
    border-color: #b98d30;

    box-shadow:
        0 0 0 3px rgba(185, 141, 48, 0.14);
}

.header-search-submit {
    min-width: 88px;
    height: 48px;

    padding: 0 16px;

    border: 0;
    border-radius: 11px;

    background: #0a563b;
    color: #ffffff;

    font: inherit;
    font-weight: 800;

    cursor: pointer;
}

.header-search-page-note {
    margin: 9px 2px 0;

    color: #66766f;

    font-size: 11px;
    line-height: 1.8;
}

.visually-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* =========================================
   دسکتاپ متوسط
========================================= */

@media (min-width: 1100px) and (max-width: 1550px) {
    .header .container.header-box {
        width: calc(100% - 20px) !important;
        gap: 16px !important;
    }

    .header .main-menu {
        gap: 6px !important;
    }

    .header .main-menu > a,
    .header .nav-dropdown-main-link,
    .header .header-search-toggle {
        min-height: 56px !important;
        padding-inline: 16px !important;
        font-size: 14px !important;
    }

    .header .solar-tool-link {
        min-width: 360px !important;
        padding-inline: 20px !important;
        font-size: 20px !important;
    }

    .header .header-phone-content strong {
        font-size: 17px !important;
    }
}


/* =========================================
   دسکتاپ کوچک
========================================= */

@media (min-width: 1100px) and (max-width: 1280px) {
    .header .container.header-box {
        gap: 10px !important;
    }

    .header .main-menu {
        gap: 5px !important;
    }

    .header .main-menu > a,
    .header .nav-dropdown-main-link,
    .header .header-search-toggle {
        min-height: 52px !important;
        padding-inline: 12px !important;
        font-size: 13px !important;
    }

    .header .solar-tool-link {
        min-width: 280px !important;
        padding-inline: 14px !important;
        font-size: 17px !important;
    }

    .header .header-phone-content strong {
        font-size: 16px !important;
    }
}


/* =========================================
   موبایل و تبلت
========================================= */

@media (max-width: 1099px) {
    .header .solar-tool-link {
        min-width: 0 !important;
        max-width: 100% !important;
        font-size: 20px !important;
        white-space: normal !important;
    }

    .header-search {
        width: auto;
    }

    .header-search-panel {
        position: fixed;
        top: 110px;
        left: 16px;
        right: 16px;

        width: auto;
        max-width: none;
    }
}

@media (max-width: 650px) {
    .header .solar-tool-link {
        width: 100% !important;
        font-size: 18px !important;
    }

    .header-search {
        width: 100%;
    }

    .header .header-search-toggle {
        width: 100%;
        min-height: 48px !important;
    }

    .header-search-form {
        grid-template-columns: 1fr;
    }

    .header-search-submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header .solar-tool-link::before {
        animation: none !important;
    }
}

/* ==================================================
   PHOTOSUN HEADER LAYOUT FIX - SINGLE ROW
================================================== */

@media (min-width: 1100px) {
    .header .container.header-box {
        width: calc(100% - 28px) !important;
        max-width: none !important;
        margin-inline: auto !important;

        display: grid !important;
        grid-template-columns: max-content minmax(0, 1fr) !important;
        align-items: center !important;

        gap: 24px !important;
    }

    .header .header-brand-area {
        min-width: max-content !important;
        flex: 0 0 auto !important;
    }

    .header .main-menu {
        width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;

        gap: 8px !important;
        white-space: nowrap !important;
    }

    .header .main-menu > a,
    .header .nav-dropdown,
    .header .header-search {
        flex: 0 0 auto !important;
    }

    .header .main-menu > a,
    .header .nav-dropdown-main-link,
    .header .header-search-toggle {
        min-height: 60px !important;

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

        padding: 0 22px !important;

        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .header .solar-tool-link {
        min-width: 390px !important;
        max-width: none !important;

        padding-inline: 28px !important;

        font-size: 18px !important;
        font-weight: 950 !important;
        line-height: 1.35 !important;

        white-space: nowrap !important;

        border-width: 2px !important;
    }

    .header .header-search {
        width: auto !important;
    }

    .header .header-search-toggle {
        width: auto !important;
        min-width: 0 !important;
    }
}


/* =========================================
   دسکتاپ متوسط
========================================= */

@media (min-width: 1100px) and (max-width: 1550px) {
    .header .container.header-box {
        width: calc(100% - 20px) !important;
        gap: 16px !important;
    }

    .header .main-menu {
        gap: 6px !important;
    }

    .header .main-menu > a,
    .header .nav-dropdown-main-link,
    .header .header-search-toggle {
        min-height: 56px !important;
        padding-inline: 16px !important;
        font-size: 14px !important;
    }

    .header .solar-tool-link {
        min-width: 320px !important;
        padding-inline: 20px !important;
        font-size: 16px !important;
        font-weight: 950 !important;
    }

    .header .header-phone-content strong {
        font-size: 17px !important;
    }
}


/* =========================================
   دسکتاپ کوچک
========================================= */

@media (min-width: 1100px) and (max-width: 1280px) {
    .header .container.header-box {
        gap: 10px !important;
    }

    .header .main-menu {
        gap: 5px !important;
    }

    .header .main-menu > a,
    .header .nav-dropdown-main-link,
    .header .header-search-toggle {
        min-height: 52px !important;
        padding-inline: 12px !important;
        font-size: 13px !important;
    }

    .header .solar-tool-link {
        min-width: 255px !important;
        padding-inline: 14px !important;
        font-size: 13px !important;
        font-weight: 950 !important;
    }

    .header .header-phone-content strong {
        font-size: 16px !important;
    }
}


/* =========================================
   تبلت و موبایل
========================================= */

@media (max-width: 1099px) {
    .header .main-menu {
        flex-wrap: wrap !important;
    }

    .header .solar-tool-link {
        min-width: 0 !important;
        max-width: 100% !important;
        width: auto !important;

        font-size: 16px !important;
        font-weight: 950 !important;

        white-space: normal !important;
    }
}

/* ==================================================
   SAHEL BLACK - SOLAR TOOL CTA
================================================== */


.header .solar-tool-link {
    font-family: "BTitr" !important;
    font-weight: 1000 !important;
}

.site-search-page {
    background: #f5f8f6;
}

.site-search-hero {
    padding: 62px 0 48px;
    background: linear-gradient(135deg, #073d2b, #0a5b3f);
    color: #fff;
}

.site-search-hero h1 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
}

.site-search-hero p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.9;
}

.site-search-main-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 850px;
}

.site-search-main-form input,
.site-search-main-form button {
    height: 58px;
    border-radius: 14px;
    font: inherit;
}

.site-search-main-form input {
    width: 100%;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #fff;
    color: #163d30;
    outline: none;
}

.site-search-main-form input:focus {
    border-color: #d3aa4e;
    box-shadow: 0 0 0 4px rgba(211, 170, 78, 0.18);
}

.site-search-main-form button {
    min-width: 120px;
    padding: 0 24px;
    border: 0;
    background: #d3aa4e;
    color: #173d30;
    font-weight: 900;
    cursor: pointer;
}

.site-search-results-section {
    min-height: 540px;
    padding: 42px 0 80px;
}

.site-search-summary,
.site-search-group-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.site-search-summary {
    margin-bottom: 22px;
}

.site-search-summary span,
.site-search-group-heading span {
    color: #9a7427;
    font-size: 12px;
    font-weight: 900;
}

.site-search-summary h2,
.site-search-group-heading h3 {
    margin: 5px 0 0;
    color: #154a38;
}

.site-search-summary h2 {
    font-size: 25px;
}

.site-search-summary strong,
.site-search-group-heading strong {
    color: #718079;
    font-size: 12px;
}

.site-search-tabs,
.site-search-category-counts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.site-search-tabs {
    margin: 0 0 28px;
}

.site-search-tabs button {
    padding: 9px 16px;
    border: 1px solid rgba(12, 82, 55, 0.15);
    border-radius: 999px;
    background: #fff;
    color: #315d4e;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.site-search-tabs button.active {
    border-color: #b98d30;
    background: #0a563b;
    color: #fff;
}

.site-search-category-counts {
    gap: 10px;
    margin: -4px 0 28px;
}

.site-search-count-separator {
    display: none;
}

.site-search-category-counts button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 15px;
    border: 1px solid rgba(177, 133, 36, 0.42);
    border-radius: 999px;
    background: linear-gradient(135deg, #fff9e8, #f2ddb0);
    color: #315d4e;
    font: inherit;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 7px 18px rgba(92, 70, 23, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-search-category-counts button:hover {
    transform: translateY(-2px);
}

.site-search-category-counts button strong {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0a5b3f, #073d2b);
    color: #f5d985;
    font-size: 16px;
    font-weight: 950;
}

.site-search-category-counts button span {
    color: #295544;
    font-size: 13px;
    font-weight: 900;
}

.site-search-category-counts button.is-active-count {
    border-color: #0a563b;
    background: linear-gradient(135deg, #0c6446, #073f2d);
}

.site-search-category-counts button.is-active-count span {
    color: #fff;
}

.site-search-category-counts button.is-active-count strong {
    background: linear-gradient(135deg, #f1d57b, #c6972f);
    color: #173d30;
}

.site-search-loading,
.site-search-empty {
    margin-top: 18px;
    padding: 25px;
    border-radius: 16px;
    background: #fff;
    color: #65776f;
    text-align: center;
}

.site-search-group {
    margin-top: 38px;
}

.site-search-group + .site-search-group {
    padding-top: 34px;
    border-top: 1px solid rgba(15, 83, 57, 0.10);
}

.site-search-group-heading {
    margin-bottom: 18px;
}

.site-search-group-heading h3 {
    font-size: 23px;
}

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

.site-search-card {
    display: flex;
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
    padding: 0;
    border: 1px solid rgba(12, 82, 55, 0.10);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(13, 68, 49, 0.06);
}

.site-search-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef3f0;
}

.site-search-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

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

.site-search-card-content {
    display: flex;
    min-height: 205px;
    flex-direction: column;
    padding: 18px 20px 20px;
}

.site-search-card-type {
    align-self: flex-start;
    margin: 0 0 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f3ead4;
    color: #8c6820;
    font-size: 11px;
    font-weight: 900;
}

.site-search-card h3 {
    margin: 0 0 8px;
    color: #164c39;
    font-size: 17px;
    line-height: 1.8;
}

.site-search-card h3 a {
    color: inherit;
    text-decoration: none;
}

.site-search-card p {
    display: -webkit-box;
    margin: 0 0 16px;
    overflow: hidden;
    color: #63736c;
    font-size: 13px;
    line-height: 2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.site-search-card-link {
    margin-top: auto;
    color: #9b711f;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

/* Product tree */
.product-tree-guide {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999999;
    direction: rtl;
    user-select: none;
    touch-action: none;
}

.product-tree-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    min-height: 50px;
    padding: 10px 19px;
    border: 1px solid rgba(220, 183, 91, 0.55);
    border-radius: 50px;
    background: linear-gradient(135deg, #0a563b, #063b29);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: grab;
    box-shadow: 0 13px 35px rgba(4, 45, 30, 0.28);
}

.product-tree-toggle-icon,
.product-tree-close {
    display: grid;
    place-items: center;
}

.product-tree-toggle-icon {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #e8ca7d;
    font-size: 18px;
}

.product-tree-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 13px);
    width: min(370px, calc(100vw - 30px));
    max-height: min(650px, calc(100vh - 110px));
    overflow: hidden;
    border: 1px solid rgba(12, 79, 53, 0.15);
    border-radius: 23px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(0.97);
    transform-origin: bottom right;
    box-shadow: 0 25px 75px rgba(4, 44, 29, 0.25);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.product-tree-guide.open .product-tree-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.product-tree-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 22px;
    background: linear-gradient(135deg, #09573b, #063a28);
    color: #fff;
    cursor: grab;
    touch-action: none;
}

.product-tree-label {
    display: block;
    margin-bottom: 5px;
    color: #dfbd69;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.product-tree-header h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 21px;
}

.product-tree-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    font-size: 12px;
}

.product-tree-close {
    width: 35px;
    height: 35px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    font: inherit;
    font-size: 24px;
    cursor: pointer;
}

.product-tree-nav {
    max-height: 420px;
    overflow-y: auto;
}

.product-tree-list,
.product-tree-children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-tree-list {
    padding: 12px;
}

.product-tree-direct-item,
.product-tree-branch {
    margin-bottom: 7px;
    overflow: hidden;
    border: 1px solid rgba(9, 77, 51, 0.08);
    border-radius: 14px;
    background: #f7faf8;
}

.product-tree-direct-item > a,
.product-tree-row > a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 49px;
    padding: 10px 13px;
    color: #164d38;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.product-tree-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(11, 84, 57, 0.09);
    color: #0a583d;
}

.product-tree-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
}

.product-tree-branch-button {
    width: 31px;
    height: 31px;
    margin-left: 8px;
    padding: 0;
    border: 1px solid rgba(8, 78, 52, 0.16);
    border-radius: 9px;
    background: #fff;
    color: #0a543a;
    font: inherit;
    font-size: 20px;
    cursor: pointer;
}

.product-tree-branch.open .product-tree-branch-button {
    border-color: #b98d30;
    background: #b98d30;
    color: #fff;
}

.product-tree-children {
    display: none;
    padding: 2px 47px 10px 12px;
}

.product-tree-branch.open > .product-tree-children {
    display: block;
}

.product-tree-children a {
    display: block;
    padding: 7px 0;
    color: #627067;
    font-size: 13px;
    text-decoration: none;
}

.product-tree-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 13px;
    border-top: 1px solid rgba(7, 73, 48, 0.09);
    background: #f6f9f7;
}

.product-tree-footer a {
    display: grid;
    place-items: center;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 11px;
    background: #0a563b;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.product-tree-footer a:last-child {
    background: #b68a2e;
}

body.product-tree-dragging {
    cursor: grabbing !important;
    user-select: none !important;
}

@media (max-width: 980px) {
    .site-search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .site-search-main-form,
    .site-search-results-grid {
        grid-template-columns: 1fr;
    }

    .site-search-main-form button {
        width: 100%;
    }

    .site-search-summary,
    .site-search-group-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .product-tree-guide {
        right: 12px;
        bottom: 12px;
    }

    .product-tree-toggle {
        min-width: auto;
        min-height: 48px;
        padding: 9px 14px;
    }

    .product-tree-toggle-text {
        display: none;
    }

    .product-tree-panel {
        width: min(350px, calc(100vw - 20px));
        max-height: calc(100vh - 85px);
    }

    .product-tree-nav {
        max-height: calc(100vh - 270px);
    }

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

/* ==================================================
   News Page
================================================== */

.news-page {
    background: var(--cream);
}

.news-page-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(
            90deg,
            rgba(3, 19, 13, 0.96),
            rgba(6, 31, 22, 0.78),
            rgba(6, 31, 22, 0.30)
        ),
        url("images/news.png");
    background-size: cover;
    background-position: center;
}

.news-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 78% 28%,
            rgba(221, 189, 114, 0.18),
            transparent 34%
        );
    pointer-events: none;
}

.news-page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.news-page-hero h1 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.35;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.48),
        0 8px 28px rgba(0, 0, 0, 0.38);
}

.news-page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 21px;
    line-height: 2;
}

.news-tools-section {
    padding: 42px 0 0;
}

.news-tools-box {
    display: grid;
    gap: 22px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f1e8
        );
    box-shadow: var(--shadow-sm);
}

.news-search-box label {
    display: block;
    margin-bottom: 8px;
    color: var(--green-800);
    font-size: 19px;
}

.news-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.news-search-row input {
    width: 100%;
    min-height: 52px;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 17px;
    outline: none;
}

.news-search-row input:focus {
    border-color: var(--gold-500);
    box-shadow:
        0 0 0 4px rgba(199, 160, 74, 0.14);
}

.news-search-row button {
    min-width: 115px;
    padding-inline: 24px;
    border: 1px solid var(--gold-200);
    border-radius: 11px;
    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
    color: var(--green-950);
    font-size: 18px;
    cursor: pointer;
    box-shadow:
        0 5px 0 var(--gold-600);
}

.news-filter-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.news-filter-box > span {
    color: var(--green-800);
    font-size: 18px;
}

.news-filter {
    min-height: 42px;
    padding: 7px 17px;
    border: 1px solid rgba(6, 31, 22, 0.17);
    border-radius: 30px;
    background: var(--white);
    color: var(--green-800);
    font: inherit;
    font-size: 17px;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.news-filter:hover {
    transform: translateY(-2px);
    border-color: var(--gold-500);
}

.news-filter.active {
    border-color: var(--gold-300);
    background:
        linear-gradient(
            180deg,
            var(--gold-300),
            var(--gold-500)
        );
    color: var(--green-950);
}

.news-list-section {
    min-height: 520px;
    padding: 58px 0 100px;
}

.news-list-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.news-list-heading h2 {
    margin: 5px 0 0;
    color: var(--green-900);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 400;
}

.news-list-heading p {
    max-width: 620px;
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 18px;
}

.news-count {
    flex-shrink: 0;
    color: var(--gold-600);
    font-size: 15px;
    font-weight: 700;
}

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

.news-empty-state {
    grid-column: 1 / -1;
    min-height: 260px;
    display: grid;
    place-items: center;
    padding: 34px 20px;
    border: 1px dashed rgba(10, 86, 59, 0.24);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f6f3eb
        );
    color: var(--text-soft);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.news-empty-state strong {
    display: block;
    margin-bottom: 7px;
    color: var(--green-800);
    font-size: 22px;
    font-weight: 400;
}

.news-empty-state span {
    font-size: 16px;
}

.news-subscribe-section {
    padding: 0 0 100px;
}

.news-subscribe-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px 42px;
    border: 1px solid rgba(199, 160, 74, 0.4);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-700)
        );
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.news-subscribe-box h2 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 30px;
    font-weight: 400;
}

.news-subscribe-box p {
    max-width: 690px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
}

.news-subscribe-box .btn {
    flex-shrink: 0;
}

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

    .news-subscribe-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .news-page-hero {
        min-height: 350px;
        text-align: center;
    }

    .news-page-hero p {
        font-size: 18px;
    }

    .news-search-row,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-search-row button {
        width: 100%;
        min-height: 50px;
    }

    .news-list-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-tools-box,
    .news-subscribe-box {
        padding: 24px 20px;
    }

    .news-list-section {
        padding-bottom: 70px;
    }

    .news-subscribe-section {
        padding-bottom: 70px;
    }
}



/* News Live Electricity Card */
.news-card-live {
    grid-column: 1 / -1;
    overflow: hidden;
    border: 1px solid rgba(18, 92, 55, 0.16);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(248, 252, 249, 0.98), #fff);
    box-shadow: 0 18px 42px rgba(25, 66, 45, 0.09);
}

.news-live-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(18, 92, 55, 0.12);
    background: rgba(18, 92, 55, 0.045);
}

.news-live-top > div {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.news-live-badge,
.news-live-source,
.news-live-updated {
    font-size: 13px;
    font-weight: 800;
}

.news-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f6a3e;
}

.news-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(15, 106, 62, 0.12);
}

.news-live-source,
.news-live-updated {
    color: #66756d;
}

.news-live-content {
    padding: 24px;
}

.news-live-heading {
    margin-bottom: 22px;
}

.news-card-category {
    display: inline-flex;
    margin-bottom: 9px;
    color: #946f00;
    font-size: 13px;
    font-weight: 900;
}

.news-live-heading h3 {
    margin: 0 0 10px;
    color: #163a2a;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.55;
}

.news-live-heading p {
    max-width: 900px;
    margin: 0;
    color: #5a6a62;
    font-size: 15px;
    line-height: 2;
}

.news-live-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.news-live-stat {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border: 1px solid rgba(18, 92, 55, 0.11);
    border-radius: 18px;
    background: #fff;
}

.news-live-stat-primary {
    border-color: rgba(184, 139, 0, 0.25);
    background: linear-gradient(145deg, #fffdf4, #fff);
}

.news-live-stat > span {
    margin-bottom: 8px;
    color: #68776f;
    font-size: 13px;
    font-weight: 800;
}

.news-live-stat > strong {
    color: #173d2b;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 900;
    line-height: 1.5;
}

.news-live-stat strong small {
    margin-right: 5px;
    color: #6b776f;
    font-size: 12px;
    font-weight: 800;
}

.news-live-stat > small {
    margin-top: 6px;
    color: #7b8781;
    font-size: 11px;
    line-height: 1.7;
}

.news-live-status {
    color: #0f6a3e !important;
    font-size: 19px !important;
}

.news-live-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(18, 92, 55, 0.1);
}

.news-live-trade-status {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #69766f;
    font-size: 13px;
}

.news-live-trade-status strong {
    color: #9a6414;
}

.news-live-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 13px;
    background: #165c38;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-live-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(22, 92, 56, 0.18);
}

@media (max-width: 980px) {
    .news-live-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .news-live-top,
    .news-live-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-live-content {
        padding: 18px;
    }

    .news-live-stats {
        grid-template-columns: 1fr;
    }

    .news-live-stat {
        min-height: 110px;
    }

    .news-live-link {
        width: 100%;
    }
}


/* Pinned News Card */
.news-card-pinned {
    order: -1000;
    grid-column: 1 / -1;
    position: relative;
}



@media (max-width: 680px) {
    .news-card-pinned::before {
        top: 12px;
        left: 12px;
    }
}



/* SATBA Industrial Tariff News */
.satba-tariff-summary {
    border-color: rgba(185, 139, 0, 0.22);
}

.satba-tariff-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(145deg, #fffaf0, #fff);
    border: 1px solid rgba(185, 139, 0, 0.2);
}

.satba-tariff-highlight > span {
    color: #6f735f;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.9;
}

.satba-tariff-highlight > strong {
    color: #8c6800;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    white-space: nowrap;
}

.satba-tariff-highlight small {
    font-size: 13px;
    color: #746b50;
}

.satba-tariff-current td {
    background: #fff9e8;
    color: #775b08;
    font-weight: 900;
}

@media (max-width: 680px) {
    .satba-tariff-highlight {
        align-items: flex-start;
        flex-direction: column;
    }

    .satba-tariff-highlight > strong {
        white-space: normal;
    }
}


/* SATBA News Premium Presentation */
.satba-tariff-page .news-detail-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 15%, rgba(209, 163, 23, 0.14), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(20, 91, 55, 0.11), transparent 33%),
        linear-gradient(145deg, #fbfdfb, #edf6f1);
}

.satba-hero-layout {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: center;
    gap: 38px;
}

.satba-hero-copy {
    min-width: 0;
}

.satba-hero-tags {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 13px;
}

.satba-hero-tags .news-detail-category {
    margin-bottom: 0;
}

.satba-hero-law {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding-inline: 12px;
    border: 1px solid rgba(21, 92, 56, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #496257;
    font-size: 11px;
    font-weight: 900;
}

.satba-hero-price {
    position: relative;
    overflow: hidden;
    padding: 27px 24px;
    border: 1px solid rgba(189, 143, 0, 0.22);
    border-radius: 25px;
    background:
        radial-gradient(circle at 0 0, rgba(214, 169, 31, 0.18), transparent 42%),
        rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 55px rgba(40, 69, 53, 0.12);
}

.satba-hero-price::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    left: -38px;
    bottom: -58px;
    border-radius: 50%;
    background: rgba(21, 92, 56, 0.055);
}

.satba-hero-price__label {
    display: block;
    color: #786f53;
    font-size: 13px;
    font-weight: 900;
}

.satba-hero-price strong {
    display: block;
    margin-top: 7px;
    color: #8d6900;
    font-size: clamp(38px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.2;
}

.satba-hero-price small {
    display: block;
    margin-top: 2px;
    color: #746d58;
    font-size: 13px;
    font-weight: 800;
}

.satba-hero-price__divider {
    height: 1px;
    margin: 18px 0 14px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(141, 105, 0, 0.22),
        transparent
    );
}

.satba-hero-price__caption {
    display: block;
    color: #5e6d65;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.9;
}

.satba-tariff-summary--premium {
    border: 1px solid rgba(21, 92, 56, 0.13);
    background:
        radial-gradient(circle at 100% 0, rgba(21, 92, 56, 0.055), transparent 30%),
        #fff;
}

.satba-tariff-summary--premium .satba-tariff-highlight {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.satba-tariff-page .news-detail-section {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.satba-tariff-page .news-detail-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(28, 70, 48, 0.07);
}

.satba-tariff-page .news-detail-section h2 {
    position: relative;
    padding-right: 17px;
}

.satba-tariff-page .news-detail-section h2::before {
    content: "";
    position: absolute;
    top: 0.55em;
    right: 0;
    width: 5px;
    height: 1.1em;
    border-radius: 999px;
    background: linear-gradient(#c69b14, #165c38);
}

.satba-tariff-table {
    border: 1px solid rgba(21, 92, 56, 0.09);
    border-radius: 16px;
}

.satba-tariff-table tbody tr {
    transition: background 0.18s ease;
}

.satba-tariff-table tbody tr:hover td {
    background: #f8fbf9;
}

.satba-tariff-current td {
    background: linear-gradient(90deg, #fff8e3, #fffdf8) !important;
}

.satba-tariff-current td:first-child {
    box-shadow: inset -4px 0 0 #c89b12;
}

.satba-tariff-page .news-detail-note {
    position: relative;
    padding-right: 50px;
    border: 1px solid rgba(193, 146, 0, 0.14);
    background: linear-gradient(145deg, #fffaf0, #fffdf8);
}

.satba-tariff-page .news-detail-note::before {
    content: "!";
    position: absolute;
    top: 17px;
    right: 17px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #c69a12;
    color: #fff;
    font-weight: 900;
}

.satba-tariff-page .news-detail-source-button {
    min-height: 50px;
    padding-inline: 22px;
    box-shadow: 0 10px 24px rgba(22, 92, 56, 0.16);
}

@media (max-width: 900px) {
    .satba-hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .satba-hero-price {
        max-width: 440px;
    }
}

@media (max-width: 680px) {
    .satba-hero-price {
        max-width: none;
        padding: 22px 19px;
    }

    .satba-hero-price strong {
        font-size: 40px;
    }

    .satba-tariff-page .news-detail-note {
        padding-right: 18px;
        padding-top: 54px;
    }

    .satba-tariff-page .news-detail-note::before {
        top: 17px;
        right: 18px;
    }
}

.satba-tariff-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(21, 92, 56, 0.14);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 0 0,
            rgba(202, 155, 17, 0.11),
            transparent 34%
        ),
        linear-gradient(145deg, #ffffff, #f8fcfa);
    box-shadow: 0 16px 42px rgba(25, 69, 47, 0.09);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.satba-tariff-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        #b88b00,
        #d8b33d,
        #165c38
    );
}

.satba-tariff-card:hover {
    transform: translateY(-4px);
    border-color: rgba(21, 92, 56, 0.24);
    box-shadow: 0 24px 54px rgba(25, 69, 47, 0.14);
}

.satba-tariff-card__link {
    display: block;
    height: 100%;
    padding: 24px;
    color: inherit;
    text-decoration: none;
}

.satba-tariff-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.satba-tariff-card__badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.satba-tariff-card__badge {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 11px;
    border-radius: 999px;
    background: #eef5f1;
    color: #3c6450;
    font-size: 11px;
    font-weight: 900;
}

.satba-tariff-card__badge--source {
    background: #165c38;
    color: #ffffff;
}

.satba-tariff-card__date {
    color: #78847d;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.satba-tariff-card__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 235px;
    align-items: stretch;
    gap: 22px;
}

.satba-tariff-card__text {
    min-width: 0;
}

.satba-tariff-card__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #967106;
    font-size: 12px;
    font-weight: 900;
}

.satba-tariff-card h3 {
    margin: 0;
    color: #163b29;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 900;
    line-height: 1.75;
}

.satba-tariff-card p {
    max-width: 720px;
    margin: 10px 0 0;
    color: #5b6d63;
    font-size: 14px;
    line-height: 2;
}

.satba-tariff-card__price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    border: 1px solid rgba(185, 139, 0, 0.19);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            #fff8df,
            #fffdf6
        );
}

.satba-tariff-card__price > span {
    color: #756d52;
    font-size: 12px;
    font-weight: 800;
}

.satba-tariff-card__price strong {
    margin-top: 4px;
    color: #8c6800;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.35;
}

.satba-tariff-card__price small {
    color: #786f58;
    font-size: 11px;
    font-weight: 800;
}

.satba-tariff-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid rgba(21, 92, 56, 0.09);
}

.satba-tariff-card__audience {
    color: #75817a;
    font-size: 12px;
    font-weight: 700;
}

.satba-tariff-card__button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-inline: 15px;
    border-radius: 12px;
    background: #165c38;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.satba-tariff-card:hover .satba-tariff-card__button {
    transform: translateX(-2px);
    box-shadow: 0 8px 18px rgba(22, 92, 56, 0.18);
}

@media (max-width: 760px) {
    .satba-tariff-card__content {
        grid-template-columns: 1fr;
    }

    .satba-tariff-card__price {
        min-height: 120px;
    }

    .satba-tariff-card__bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .satba-tariff-card__button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .satba-tariff-card__link {
        padding: 19px;
    }

    .satba-tariff-card__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .satba-tariff-card__price strong {
        font-size: 30px;
    }
}

/* SATBA Tariff Article — Premium Layout */
.satba-tariff-page {
    background:
        linear-gradient(180deg, #f7faf8 0, #fbfdfc 100%);
}

.satba-tariff-page .news-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 54px;
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(201, 153, 17, 0.13),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 90%,
            rgba(22, 92, 56, 0.12),
            transparent 32%
        ),
        linear-gradient(145deg, #fbfdfb, #edf6f1);
}

.satba-tariff-page .news-detail-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -180px;
    bottom: -250px;
    border-radius: 50%;
    border: 1px solid rgba(22, 92, 56, 0.08);
    box-shadow:
        0 0 0 42px rgba(22, 92, 56, 0.025),
        0 0 0 84px rgba(22, 92, 56, 0.018);
    pointer-events: none;
}

.satba-hero {
    position: relative;
    z-index: 1;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 42px;
}

.satba-hero__content {
    min-width: 0;
}

.satba-hero__badges {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.satba-hero__badges .news-detail-category {
    margin-bottom: 0;
}

.satba-hero__law {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding-inline: 12px;
    border: 1px solid rgba(22, 92, 56, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #4d665a;
    font-size: 11px;
    font-weight: 900;
}

.satba-hero h1 {
    max-width: 880px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.5;
}

.satba-hero .news-detail-lead {
    max-width: 900px;
    font-size: 16px;
    line-height: 2.15;
}

.satba-hero__meta-item,
.satba-hero__source {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding-inline: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.satba-hero__source {
    border: 1px solid rgba(22, 92, 56, 0.12);
}

.satba-hero__price {
    position: relative;
    overflow: hidden;
    padding: 28px 24px;
    border: 1px solid rgba(187, 140, 0, 0.22);
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 0 0,
            rgba(215, 170, 35, 0.18),
            transparent 40%
        ),
        rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 60px rgba(32, 69, 49, 0.13);
}

.satba-hero__price::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    left: -42px;
    bottom: -62px;
    border-radius: 50%;
    background: rgba(22, 92, 56, 0.055);
}

.satba-hero__price > span {
    display: block;
    color: #766e54;
    font-size: 13px;
    font-weight: 900;
}

.satba-hero__price > strong {
    display: block;
    margin-top: 7px;
    color: #8d6900;
    font-size: clamp(40px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.2;
}

.satba-hero__price > small {
    display: block;
    margin-top: 3px;
    color: #766f59;
    font-size: 13px;
    font-weight: 800;
}

.satba-hero__divider {
    height: 1px;
    margin: 19px 0 14px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(141, 105, 0, 0.24),
            transparent
        );
}

.satba-hero__price p {
    margin: 0;
    color: #5d6d64;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.9;
}

.satba-tariff-summary--elevated {
    position: relative;
    overflow: hidden;
    border-color: rgba(22, 92, 56, 0.14);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(22, 92, 56, 0.055),
            transparent 30%
        ),
        #fff;
    box-shadow: 0 20px 50px rgba(24, 68, 46, 0.09);
}

.satba-tariff-summary--elevated::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            #b98b00,
            #d5af39,
            #165c38
        );
}

.satba-tariff-highlight {
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.satba-tariff-highlight::after {
    content: "مرداد ۱۴۰۵";
    position: absolute;
    left: 18px;
    bottom: 12px;
    color: rgba(141, 105, 0, 0.16);
    font-size: 34px;
    font-weight: 900;
    pointer-events: none;
}

.satba-content-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(22, 92, 56, 0.10);
    box-shadow: 0 10px 30px rgba(24, 68, 46, 0.045);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.satba-content-card:hover {
    transform: translateY(-2px);
    border-color: rgba(22, 92, 56, 0.16);
    box-shadow: 0 18px 40px rgba(24, 68, 46, 0.075);
}

.satba-content-card h2 {
    position: relative;
    padding-right: 18px;
}

.satba-content-card h2::before {
    content: "";
    position: absolute;
    top: 0.52em;
    right: 0;
    width: 5px;
    height: 1.15em;
    border-radius: 999px;
    background:
        linear-gradient(
            180deg,
            #c79a12,
            #165c38
        );
}

.satba-tariff-table {
    border: 1px solid rgba(22, 92, 56, 0.09);
    border-radius: 17px;
}

.satba-tariff-table thead th {
    background:
        linear-gradient(
            180deg,
            #edf6f0,
            #e7f1eb
        );
}

.satba-tariff-table tbody tr {
    transition: background 0.18s ease;
}

.satba-tariff-table tbody tr:hover td {
    background: #f8fbf9;
}

.satba-tariff-current td {
    background:
        linear-gradient(
            90deg,
            #fff7dc,
            #fffdf7
        ) !important;
    color: #735800;
}

.satba-tariff-current td:first-child {
    box-shadow: inset -4px 0 0 #c89b12;
}

.satba-tariff-page .news-detail-note {
    position: relative;
    padding: 18px 52px 18px 18px;
    border: 1px solid rgba(193, 146, 0, 0.15);
    background:
        linear-gradient(
            145deg,
            #fff9e9,
            #fffdf7
        );
}

.satba-tariff-page .news-detail-note::before {
    content: "!";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #c69a12;
    color: #fff;
    font-weight: 900;
}

.satba-source-mark {
    position: absolute;
    top: 18px;
    left: 20px;
    color: rgba(22, 92, 56, 0.08);
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 2px;
    pointer-events: none;
}

.satba-tariff-page .news-detail-source-button {
    min-height: 50px;
    padding-inline: 22px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(22, 92, 56, 0.16);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.satba-tariff-page .news-detail-source-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(22, 92, 56, 0.22);
}

@media (max-width: 920px) {
    .satba-hero {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .satba-hero__price {
        max-width: 460px;
    }
}

@media (max-width: 680px) {
    .satba-tariff-page .news-detail-hero {
        padding: 42px 0 34px;
    }

    .satba-hero h1 {
        font-size: 30px;
    }

    .satba-hero__price {
        max-width: none;
        padding: 22px 19px;
    }

    .satba-hero__price > strong {
        font-size: 40px;
    }

    .satba-tariff-highlight::after {
        display: none;
    }

    .satba-tariff-page .news-detail-note {
        padding: 54px 18px 18px;
    }

    .satba-source-mark {
        font-size: 30px;
    }
}


/* SATBA article layout cleanup */

/* کل محتوای خبر کمی باریک‌تر و متمایل‌تر به وسط/چپ */
.satba-tariff-page .news-detail-article,
.satba-tariff-page .news-detail-hero-content {
    max-width: 1180px;
    margin-inline: auto;
}

/* متن اصلی کمی از سمت راست فاصله بگیره */
.satba-tariff-page .news-detail-section,
.satba-tariff-page .satba-tariff-summary--elevated {
    padding-right: 42px;
    padding-left: 42px;
}

/* تیترهای بخش‌ها بزرگ‌تر */
.satba-tariff-page .news-detail-section h2 {
    font-size: 30px;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* متن خبر بزرگ‌تر و خواناتر */
.satba-tariff-page .news-detail-section p {
    font-size: 19px;
    line-height: 2.15;
}

/* لید بالای خبر */
.satba-tariff-page .news-detail-lead {
    font-size: 19px;
    line-height: 2.15;
}

/* تیتر اصلی */
.satba-tariff-page .satba-hero h1 {
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.5;
}

/* جدول بزرگ‌تر */
.satba-tariff-page .news-detail-table th {
    font-size: 17px;
    padding: 17px 20px;
}

.satba-tariff-page .news-detail-table td {
    font-size: 17px;
    padding: 17px 20px;
}

/* عدد تعرفه */
.satba-tariff-page .satba-hero__price > strong,
.satba-tariff-page .satba-tariff-highlight > strong {
    font-size: 48px;
}

/* کادرهای زیاد رو کم‌رنگ و ساده کن */
.satba-tariff-page .news-detail-section {
    margin-top: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* فقط چند بخش مهم کادر داشته باشن */
.satba-tariff-page .satba-tariff-summary--elevated,
.satba-tariff-page .news-detail-table-wrap,
.satba-tariff-page .news-detail-note {
    border-radius: 18px;
}

/* hover کادرها حذف */
.satba-tariff-page .satba-content-card:hover {
    transform: none;
    box-shadow: none;
}

/* متن‌ها کمی به سمت چپ‌تر داخل صفحه */
.satba-tariff-page .news-detail-section > p,
.satba-tariff-page .news-detail-section > h2,
.satba-tariff-page .news-detail-table-wrap,
.satba-tariff-page .news-detail-note {
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
}

/* موبایل */
@media (max-width: 680px) {
    .satba-tariff-page .news-detail-section,
    .satba-tariff-page .satba-tariff-summary--elevated {
        padding-right: 18px;
        padding-left: 18px;
    }

    .satba-tariff-page .news-detail-section h2 {
        font-size: 24px;
    }

    .satba-tariff-page .news-detail-section p,
    .satba-tariff-page .news-detail-lead {
        font-size: 16px;
    }

    .satba-tariff-page .news-detail-table th,
    .satba-tariff-page .news-detail-table td {
        font-size: 14px;
    }
}

.electricity-instruction-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(22, 92, 56, 0.14);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 0 0,
            rgba(189, 143, 0, 0.1),
            transparent 32%
        ),
        linear-gradient(145deg, #ffffff, #f8fcfa);
    box-shadow: 0 16px 42px rgba(24, 69, 46, 0.08);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.electricity-instruction-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        #b98b00,
        #d3ad35,
        #165c38
    );
}

.electricity-instruction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(24, 69, 46, 0.13);
}

.electricity-instruction-card__link {
    display: block;
    height: 100%;
    padding: 24px;
    color: inherit;
    text-decoration: none;
}

.electricity-instruction-card__top,
.electricity-instruction-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.electricity-instruction-card__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.electricity-instruction-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding-inline: 11px;
    border-radius: 999px;
    background: #eef5f1;
    color: #406550;
    font-size: 11px;
    font-weight: 900;
}

.electricity-instruction-card__badge--main {
    background: #165c38;
    color: #fff;
}

.electricity-instruction-card__type {
    color: #7b867f;
    font-size: 12px;
    font-weight: 800;
}

.electricity-instruction-card__content {
    margin-top: 21px;
}

.electricity-instruction-card__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #967106;
    font-size: 12px;
    font-weight: 900;
}

.electricity-instruction-card h3 {
    margin: 0;
    color: #173c2b;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.75;
}

.electricity-instruction-card p {
    margin: 11px 0 0;
    color: #5a6c62;
    font-size: 14px;
    line-height: 2;
}

.electricity-instruction-card__features {
    display: flex;
    gap: 8px 18px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 15px 17px;
    border-radius: 14px;
    background: #f2f7f4;
}

.electricity-instruction-card__features span {
    color: #476154;
    font-size: 12px;
    font-weight: 800;
}

.electricity-instruction-card__bottom {
    margin-top: 19px;
    padding-top: 17px;
    border-top: 1px solid rgba(22, 92, 56, 0.09);
}

.electricity-instruction-card__document {
    color: #78837d;
    font-size: 12px;
    font-weight: 700;
}

.electricity-instruction-card__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 39px;
    padding-inline: 15px;
    border-radius: 12px;
    background: #165c38;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 680px) {
    .electricity-instruction-card__top,
    .electricity-instruction-card__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .electricity-instruction-card__button {
        width: 100%;
        justify-content: center;
    }
}


/* Horizontal news cards */
.news-grid .satba-tariff-card {
    grid-column: 1 / -1;
    width: 100%;
    min-height: auto;
}

.satba-tariff-card__link {
    padding: 26px 30px;
}

.satba-tariff-card__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: center;
    gap: 30px;
}

.satba-tariff-card__text {
    min-width: 0;
}

.satba-tariff-card h3 {
    max-width: 760px;
    font-size: clamp(22px, 2vw, 29px);
    line-height: 1.75;
}

.satba-tariff-card p {
    max-width: 780px;
    font-size: 15px;
    line-height: 2;
}

.satba-tariff-card__price {
    min-height: 175px;
    align-self: center;
    justify-content: center;
    padding: 22px;
}

.satba-tariff-card__price strong {
    font-size: 36px;
}

.satba-tariff-card__bottom {
    margin-top: 22px;
}

/* جلوگیری از کشیده‌شدن عمودی کارت */
.satba-tariff-card,
.satba-tariff-card__link {
    height: auto;
}

/* تبلت */
@media (max-width: 900px) {
    .satba-tariff-card__content {
        grid-template-columns: minmax(0, 1fr) 210px;
        gap: 20px;
    }

    .satba-tariff-card__price {
        min-height: 150px;
    }

    .satba-tariff-card__price strong {
        font-size: 31px;
    }
}

/* موبایل */
@media (max-width: 680px) {
    .satba-tariff-card__link {
        padding: 20px;
    }

    .satba-tariff-card__content {
        grid-template-columns: 1fr;
    }

    .satba-tariff-card__price {
        min-height: 120px;
    }

    .satba-tariff-card h3 {
        font-size: 21px;
    }
}


/* Instruction Article Card Layout */
.instruction-body {
    background:
        linear-gradient(180deg, #fbfdfc 0%, #f7faf8 100%);
}

.instruction-article {
    max-width: 1120px;
}

.instruction-card,
.instruction-summary-card {
    position: relative;
    margin-top: 26px;
    padding: 28px 30px;
    border: 1px solid rgba(22, 92, 56, 0.10);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(25, 68, 46, 0.055);
}

.instruction-card::before,
.instruction-summary-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(
        90deg,
        rgba(185, 139, 0, 0.75),
        rgba(22, 92, 56, 0.85)
    );
}

.instruction-card h2,
.instruction-summary-card h2 {
    position: relative;
    padding-right: 18px;
}

.instruction-card h2::before,
.instruction-summary-card h2::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.55em;
    width: 5px;
    height: 1.15em;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        #c69811,
        #165c38
    );
}

.instruction-card p:last-child {
    margin-bottom: 0;
}

.instruction-summary-card {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 0 0,
            rgba(195, 148, 15, 0.08),
            transparent 30%
        ),
        #ffffff;
}

.instruction-summary-card__head > span {
    display: inline-flex;
    margin-bottom: 6px;
    color: #92700a;
    font-size: 12px;
    font-weight: 900;
}

.instruction-summary-card__head h2 {
    margin-bottom: 20px;
}

.instruction-summary-card__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.instruction-summary-card__grid > div {
    min-height: 132px;
    padding: 18px;
    border: 1px solid rgba(22, 92, 56, 0.09);
    border-radius: 16px;
    background: #f9fcfa;
}

.instruction-summary-card__grid strong {
    display: block;
    margin-bottom: 7px;
    color: #18452f;
    font-size: 16px;
    font-weight: 900;
}

.instruction-summary-card__grid span {
    color: #607067;
    font-size: 13px;
    line-height: 1.9;
}

.instruction-card--simple {
    background:
        linear-gradient(145deg, #f3f8f5, #ffffff);
}

.instruction-simple-grid {
    gap: 16px;
}

.instruction-simple-grid > div {
    min-height: 160px;
    padding: 20px 62px 20px 20px;
    border: 1px solid rgba(22, 92, 56, 0.08);
    border-radius: 16px;
    background: #ffffff;
}

.instruction-simple-number {
    top: 20px;
    right: 18px;
    width: 36px;
    height: 36px;
    box-shadow: 0 6px 16px rgba(22, 92, 56, 0.16);
}

.instruction-card h3 {
    color: #214d37;
}

.instruction-steps {
    counter-reset: instruction-step;
    list-style: none;
    padding: 0;
}

.instruction-steps li {
    position: relative;
    margin-bottom: 12px;
    padding: 16px 62px 16px 18px;
    border-radius: 14px;
    background: #f8fbf9;
}

.instruction-steps li::before {
    counter-increment: instruction-step;
    content: counter(instruction-step);
    position: absolute;
    top: 16px;
    right: 17px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #165c38;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.instruction-card--highlight {
    border-right: 0;
    background:
        linear-gradient(145deg, #fff9e8, #fffdf7);
}

.instruction-card--highlight::after {
    content: "تجدیدپذیر";
    position: absolute;
    left: 24px;
    bottom: 12px;
    color: rgba(151, 113, 5, 0.08);
    font-size: 44px;
    font-weight: 900;
    pointer-events: none;
}

.instruction-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.instruction-checklist li {
    margin: 0;
    padding: 13px 42px 13px 14px;
    border-radius: 12px;
    background: #f8fbf9;
}

.instruction-checklist li::before {
    top: 12px;
    right: 15px;
}

.instruction-card--warning {
    border: 1px solid rgba(187, 140, 0, 0.16);
    border-right: 5px solid #b88300;
    background: linear-gradient(145deg, #fff8e6, #fffdf8);
    box-shadow: none;
}

.instruction-card--pdf {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(22, 92, 56, 0.05),
            transparent 28%
        ),
        #ffffff;
}

.instruction-pdf-section__head {
    margin-bottom: 22px;
}

.instruction-pdf-download {
    min-height: 50px;
    padding-inline: 22px;
    border-radius: 13px;
    box-shadow: 0 10px 24px rgba(22, 92, 56, 0.16);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.instruction-pdf-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(22, 92, 56, 0.22);
}

.instruction-pdf-viewer {
    height: 880px;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(22, 92, 56, 0.04);
}

@media (max-width: 980px) {
    .instruction-summary-card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .instruction-card,
    .instruction-summary-card {
        padding: 22px 18px;
        border-radius: 17px;
    }

    .instruction-card::before,
    .instruction-summary-card::before {
        right: 18px;
        left: 18px;
    }

    .instruction-summary-card__grid,
    .instruction-checklist {
        grid-template-columns: 1fr;
    }

    .instruction-simple-grid > div {
        min-height: auto;
        padding: 18px 56px 18px 16px;
    }

    .instruction-simple-number {
        top: 18px;
        right: 15px;
    }

    .instruction-steps li {
        padding: 15px 56px 15px 14px;
    }

    .instruction-steps li::before {
        top: 15px;
        right: 15px;
    }

    .instruction-card--highlight::after {
        display: none;
    }

    .instruction-pdf-viewer {
        height: 560px;
    }
}



/* =========================================
   Cleaner Instruction Article Layout
   Add at the END of:
   style-news-electricity-market-development-instruction-carded.css
   ========================================= */

/* عرض مناسب برای مطالعه */
.instruction-news-page .instruction-article {
    max-width: 1040px;
    margin-inline: auto;
}

/* متن اصلی خواناتر */
.instruction-news-page .instruction-article p,
.instruction-news-page .instruction-steps li,
.instruction-news-page .instruction-checklist li {
    font-size: 17px;
    line-height: 2.05;
}

/* تیتر اصلی بخش‌ها */
.instruction-news-page .instruction-article h2 {
    margin-bottom: 17px;
    color: #173d2b;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.65;
}

/* زیرتیترها */
.instruction-news-page .instruction-article h3 {
    margin: 24px 0 8px;
    color: #24503a;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.7;
}


/* -----------------------------------------
   کادرهای معمولی را حذف کن
   ----------------------------------------- */

.instruction-news-page .instruction-section.instruction-card {
    margin-top: 0;
    padding: 34px 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* جداکننده ظریف بین بخش‌های مقاله */
.instruction-news-page .instruction-section.instruction-card
    + .instruction-section.instruction-card {
    border-top: 1px solid rgba(22, 92, 56, 0.11);
}

/* خط طلایی بالای تمام کارت‌ها حذف شود */
.instruction-news-page .instruction-section.instruction-card::before {
    display: none;
}

/* افکت hover اضافی نداشته باشند */
.instruction-news-page .instruction-section.instruction-card:hover {
    transform: none;
    box-shadow: none;
}


/* -----------------------------------------
   تیتر بخش‌های عادی
   ----------------------------------------- */

.instruction-news-page
.instruction-section.instruction-card > h2 {
    padding-right: 20px;
}

.instruction-news-page
.instruction-section.instruction-card > h2::before {
    top: 0.5em;
    width: 5px;
    height: 1.25em;
}


/* -----------------------------------------
   مقدمه
   ----------------------------------------- */

.instruction-news-page .instruction-intro {
    max-width: 920px;
    margin: 0 auto 36px;
}

.instruction-news-page .instruction-intro p {
    font-size: 18px;
    line-height: 2.15;
}


/* -----------------------------------------
   فقط خلاصه سریع کارت باقی بماند
   ----------------------------------------- */

.instruction-news-page .instruction-summary-card {
    margin: 32px 0 42px;
    padding: 28px;
    border: 1px solid rgba(22, 92, 56, 0.11);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 0 0,
            rgba(190, 143, 0, 0.08),
            transparent 30%
        ),
        #ffffff;
    box-shadow: 0 14px 34px rgba(25, 68, 46, 0.06);
}

.instruction-news-page .instruction-summary-card__grid {
    gap: 10px;
}

.instruction-news-page .instruction-summary-card__grid > div {
    min-height: 115px;
    padding: 16px;
    border: 0;
    border-radius: 13px;
    background: #f5f9f7;
}


/* -----------------------------------------
   مثال ساده: یک کارت مهم
   ----------------------------------------- */

.instruction-news-page .instruction-card--simple {
    margin: 38px 0;
    padding: 28px;
    border: 1px solid rgba(22, 92, 56, 0.10);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            #f2f8f4,
            #fbfdfc
        );
    box-shadow: none;
}

.instruction-news-page .instruction-card--simple::before {
    display: none;
}

/* چهار مرحله داخلش سبک‌تر شوند */
.instruction-news-page .instruction-simple-grid > div {
    min-height: auto;
    padding: 18px 60px 18px 18px;
    border: 0;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.72);
}


/* -----------------------------------------
   مراحل معامله
   ----------------------------------------- */

.instruction-news-page .instruction-steps {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.instruction-news-page .instruction-steps li {
    margin: 0;
    padding: 15px 58px 15px 18px;
    border: 0;
    border-radius: 12px;
    background: #f6f9f7;
}


/* -----------------------------------------
   چک‌لیست
   ----------------------------------------- */

.instruction-news-page .instruction-checklist {
    gap: 8px 14px;
    margin-top: 20px;
}

.instruction-news-page .instruction-checklist li {
    padding: 11px 38px 11px 12px;
    border-radius: 10px;
    background: #f7faf8;
}


/* -----------------------------------------
   بخش تجدیدپذیر باید برجسته بماند
   ----------------------------------------- */

.instruction-news-page .instruction-card--highlight {
    margin: 36px 0;
    padding: 26px 28px;
    border: 1px solid rgba(190, 143, 0, 0.16);
    border-right: 5px solid #c2940b;
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            #fff8e6,
            #fffdf8
        );
    box-shadow: none;
}

.instruction-news-page .instruction-card--highlight::before {
    display: none;
}


/* -----------------------------------------
   هشدار نهایی
   ----------------------------------------- */

.instruction-news-page .instruction-card--warning {
    margin-top: 36px;
    padding: 20px 24px;
    border: 0;
    border-right: 5px solid #b88300;
    border-radius: 12px;
    background: #fff8e4;
    box-shadow: none;
    font-size: 15px;
    line-height: 2;
}

.instruction-news-page .instruction-card--warning::before {
    display: none;
}


/* -----------------------------------------
   بخش PDF
   ----------------------------------------- */

.instruction-news-page .instruction-card--pdf {
    margin-top: 40px;
    padding: 27px 30px;
    border: 1px solid rgba(22, 92, 56, 0.13);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            #f7fbf8,
            #ffffff
        );
    box-shadow: 0 12px 30px rgba(25, 68, 46, 0.055);
}

.instruction-news-page .instruction-card--pdf::before {
    display: none;
}


/* -----------------------------------------
   فاصله پاراگراف‌ها
   ----------------------------------------- */

.instruction-news-page .instruction-section p {
    max-width: 940px;
    margin: 0 0 14px;
}

.instruction-news-page .instruction-section p:last-child {
    margin-bottom: 0;
}


/* -----------------------------------------
   Hero کمی جمع‌وجورتر
   ----------------------------------------- */

.instruction-news-page .instruction-hero {
    padding-block: 46px 40px;
}

.instruction-news-page .instruction-hero h1 {
    max-width: 850px;
    font-size: clamp(31px, 3.6vw, 46px);
}

.instruction-news-page .instruction-hero__copy > p {
    max-width: 850px;
    font-size: 16px;
}


/* -----------------------------------------
   موبایل
   ----------------------------------------- */

@media (max-width: 680px) {
    .instruction-news-page .instruction-body {
        padding-top: 28px;
    }

    .instruction-news-page .instruction-article p,
    .instruction-news-page .instruction-steps li,
    .instruction-news-page .instruction-checklist li {
        font-size: 15px;
    }

    .instruction-news-page .instruction-article h2 {
        font-size: 23px;
    }

    .instruction-news-page .instruction-article h3 {
        font-size: 18px;
    }

    .instruction-news-page .instruction-section.instruction-card {
        padding: 27px 0;
    }

    .instruction-news-page .instruction-summary-card,
    .instruction-news-page .instruction-card--simple,
    .instruction-news-page .instruction-card--highlight,
    .instruction-news-page .instruction-card--pdf {
        padding: 20px 18px;
        border-radius: 15px;
    }

    .instruction-news-page .instruction-summary-card__grid {
        grid-template-columns: 1fr;
    }

    .instruction-news-page .instruction-checklist {
        grid-template-columns: 1fr;
    }
}


.instruction-flow-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f3f8f5;
    color: #486154;
    font-size: 13px;
    font-weight: 800;
}

.instruction-flow-summary strong {
    color: #17452f;
}

.instruction-flow-summary span:not([aria-hidden]) {
    padding: 6px 10px;
    border-radius: 9px;
    background: #ffffff;
}

.instruction-flow-summary span[aria-hidden] {
    color: #9b7608;
    font-weight: 900;
}

@media (max-width: 680px) {
    .instruction-flow-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .instruction-flow-summary span[aria-hidden] {
        transform: rotate(-90deg);
        align-self: center;
    }
}

/* =========================================
   News Cards
   First card = horizontal / unchanged
   Other cards = compact square
   ========================================= */

/* گرید اصلی */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}


/* =========================================
   خبر اول: افقی و تمام عرض
   ========================================= */

.news-grid > .news-card:first-child {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: initial !important;
    aspect-ratio: auto !important;
}


/* =========================================
   فقط کارت‌های بعد از خبر اول
   ========================================= */

.news-grid > .news-card:not(:first-child) {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
}


/* لینک کارت‌های معمولی */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__link {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100% !important;
    min-height: 0 !important;

    padding: 19px !important;
}


/* بالای کارت */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__top {
    flex: 0 0 auto;
    gap: 8px;
}


/* بج‌ها */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__badge {
    min-height: 26px;
    padding-inline: 9px;
    font-size: 10px;
}


/* تاریخ */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__date {
    font-size: 10px;
    white-space: nowrap;
}


/* محتوای کارت */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__content {
    flex: 1 1 auto;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    gap: 12px !important;
    margin-top: 15px;
}


/* متن */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__text {
    flex: 1 1 auto;
    min-width: 0;
}


/* نوشته طلایی */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__eyebrow {
    margin-bottom: 5px;
    font-size: 10px;
}


/* تیتر */
.news-grid > .satba-tariff-card:not(:first-child) h3 {
    max-width: none !important;
    margin: 0;

    font-size: clamp(17px, 1.3vw, 21px) !important;
    line-height: 1.7 !important;

    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}


/* توضیح */
.news-grid > .satba-tariff-card:not(:first-child) p {
    margin: 8px 0 0;

    font-size: 12px !important;
    line-height: 1.85 !important;

    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/* باکس عدد / سند / برق سبز */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__price {
    width: 100% !important;
    min-height: 74px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between !important;

    gap: 10px;

    padding: 12px 14px !important;
    border-radius: 13px;
}


/* نوشته اصلی باکس */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__price strong {
    margin: 0 !important;
    font-size: 21px !important;
    line-height: 1.35 !important;
}


/* نوشته کوچک باکس */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__price small {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.6;
}


/* پایین کارت */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__bottom {
    flex: 0 0 auto;

    margin-top: 12px !important;
    padding-top: 12px !important;

    gap: 10px;
}


/* توضیح پایین */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__audience {
    max-width: 62%;

    font-size: 10px;
    line-height: 1.65;

    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* دکمه مشاهده */
.news-grid > .satba-tariff-card:not(:first-child)
.satba-tariff-card__button {
    min-height: 34px;
    padding-inline: 12px;

    border-radius: 9px;

    font-size: 10px;
}


/* =========================================
   تبلت
   ========================================= */

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

    .news-grid > .news-card:first-child {
        grid-column: 1 / -1 !important;
    }
}


/* =========================================
   موبایل
   ========================================= */

@media (max-width: 680px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* خبر اول همچنان استایل خودش */
    .news-grid > .news-card:first-child {
        grid-column: 1 / -1 !important;
        aspect-ratio: auto !important;
    }

    /* بقیه در موبایل دیگر مجبور به مربع بودن نیستند */
    .news-grid > .news-card:not(:first-child) {
        aspect-ratio: auto;
        min-height: 360px !important;
    }

    .news-grid > .satba-tariff-card:not(:first-child)
    .satba-tariff-card__link {
        padding: 17px !important;
    }
}
/* file: green-market-news.css */

.news-grid > .news-card:first-child {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: initial !important;
    aspect-ratio: auto !important;
}

.news-grid > .news-card:not(:first-child) {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
}

.news-card-live {
    --gm-green-900: #123f2a;
    --gm-green-800: #165c38;
    --gm-green-700: #247447;
    --gm-green-100: #eaf6ef;
    --gm-red-700: #a63b3b;
    --gm-red-100: #fff0f0;
    --gm-gold-500: #d5a72d;
    --gm-text: #1f2b25;
    --gm-muted: #66756d;
    --gm-border: #dce7e0;
    --gm-surface: #ffffff;
    --gm-page: #f6faf7;

    padding: 24px;
    border: 1px solid var(--gm-border);
    background:
        radial-gradient(
            circle at top left,
            rgba(213, 167, 45, 0.1),
            transparent 34%
        ),
        var(--gm-surface);
    color: var(--gm-text);
    box-shadow: 0 16px 45px rgba(18, 63, 42, 0.09);
}

.news-card-live *,
.news-card-live *::before,
.news-card-live *::after {
    box-sizing: border-box;
}

.news-live-top,
.news-live-meta,
.news-live-actions,
.green-market-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.news-live-meta,
.news-live-actions {
    justify-content: flex-start;
}

.news-live-badge,
.news-live-refresh {
    min-height: 42px;
    border-radius: 999px;
    font: inherit;
    font-weight: 900;
}

.news-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    background: #eef2ef;
    color: var(--gm-muted);
}

.news-live-badge[data-state="live"] {
    background: var(--gm-green-100);
    color: var(--gm-green-800);
}

.news-live-badge[data-state="cached"] {
    background: #fff7d9;
    color: #73590e;
}

.news-live-badge[data-state="error"] {
    background: var(--gm-red-100);
    color: var(--gm-red-700);
}

.news-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.news-live-refresh {
    border: 0;
    padding: 0 16px;
    background: var(--gm-green-800);
    color: #fff;
    cursor: pointer;
}

.news-live-refresh:disabled {
    cursor: wait;
    opacity: 0.65;
}

.news-live-updated {
    color: var(--gm-muted);
    font-size: 13px;
    font-weight: 800;
}

.news-live-heading {
    margin-top: 22px;
}

.news-live-heading h3 {
    margin: 8px 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.4;
}

.news-live-heading p {
    margin: 0;
    color: var(--gm-muted);
    line-height: 1.9;
}

.news-live-stats-expanded {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.news-live-stat {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--gm-border);
    border-radius: 18px;
    background: var(--gm-page);
}

.news-live-stat > span {
    display: block;
    min-height: 42px;
    color: var(--gm-muted);
    font-size: 13px;
    font-weight: 800;
}

.news-live-stat strong {
    display: block;
    margin-top: 8px;
    color: var(--gm-green-900);
    font-size: 18px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.green-market-panel {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--gm-border);
    border-radius: 20px;
    background: var(--gm-surface);
}

.green-market-panel-buy {
    border-top: 5px solid var(--gm-green-700);
}

.green-market-panel-sell {
    border-top: 5px solid var(--gm-red-700);
}

.green-market-panel-heading h4,
.green-market-panel-heading p {
    margin: 0;
}

.green-market-panel-heading h4 {
    font-size: 18px;
}

.green-market-panel-heading p {
    margin-top: 4px;
    color: var(--gm-muted);
    font-size: 13px;
}

.green-market-auction {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.green-market-auction-title {
    grid-column: 1 / -1;
    margin: 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--gm-page);
    font-weight: 900;
    line-height: 1.8;
}

.green-market-auction-item {
    padding: 14px;
    border: 1px solid var(--gm-border);
    border-radius: 14px;
}

.green-market-auction-item span,
.green-market-auction-item strong {
    display: block;
}

.green-market-auction-item span {
    color: var(--gm-muted);
    font-size: 12px;
    font-weight: 800;
}

.green-market-auction-item strong {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.7;
}

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

.green-market-table-wrap {
    margin-top: 14px;
    overflow-x: auto;
}

.green-market-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.green-market-table th,
.green-market-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--gm-border);
    text-align: right;
    font-size: 13px;
}

.green-market-table th {
    color: var(--gm-muted);
    font-weight: 900;
}

.green-market-table tbody tr:last-child td {
    border-bottom: 0;
}

.green-market-empty {
    margin: 0;
    color: var(--gm-muted);
    text-align: center !important;
}

.green-market-spread-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.green-market-spread-item {
    padding: 14px;
    border: 1px solid var(--gm-border);
    border-radius: 14px;
    background: var(--gm-page);
}

.green-market-spread-item strong,
.green-market-spread-item span {
    display: block;
}

.green-market-spread-item span {
    margin-top: 7px;
    color: var(--gm-muted);
    font-size: 13px;
    line-height: 1.8;
}

.news-live-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gm-border);
}

.news-live-trade-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gm-muted);
}

.news-live-source {
    color: #66756d;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.news-live-source:hover {
    color: #165c38;
    text-decoration: underline;
}

@media (max-width: 1180px) {
    .news-live-stats-expanded {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 820px) {
    .news-card-live {
        padding: 18px;
    }

    .news-live-top,
    .news-live-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .green-market-orderbooks {
        grid-template-columns: 1fr;
    }

    .green-market-spread-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .news-live-stats-expanded,
    .green-market-auction {
        grid-template-columns: 1fr;
    }

    .news-live-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-live-refresh {
        width: 100%;
    }
}


 .renewable-process-page {
            background: #f5f9f6;
            color: #1f2b25;
        }

        .renewable-process-hero {
            position: relative;
            overflow: hidden;
            padding: 78px 0 82px;
            background:
                radial-gradient(
                    circle at 12% 20%,
                    rgba(213, 167, 45, 0.25),
                    transparent 32%
                ),
                linear-gradient(
                    135deg,
                    #0e3b27 0%,
                    #165c38 55%,
                    #247447 100%
                );
            color: #ffffff;
        }

        .renewable-process-hero::after {
            position: absolute;
            inset: auto -100px -180px auto;
            width: 430px;
            height: 430px;
            border: 70px solid rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            content: "";
        }

        .renewable-process-hero__content {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 36px;
        }

        .renewable-process-hero__label {
            display: inline-flex;
            align-items: center;
            min-height: 36px;
            margin-bottom: 16px;
            padding: 0 15px;
            border: 1px solid rgba(255, 255, 255, 0.28);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
            color: #f5dc91;
            font-size: 13px;
            font-weight: 900;
        }

        .renewable-process-hero h1 {
            max-width: 860px;
            margin: 0;
            font-size: clamp(31px, 5vw, 54px);
            line-height: 1.45;
        }

        .renewable-process-hero p {
            max-width: 830px;
            margin: 20px 0 0;
            color: rgba(255, 255, 255, 0.84);
            font-size: 17px;
            line-height: 2;
        }

        .renewable-process-hero__badge {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 160px;
            height: 160px;
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 50%;
            background:
                linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.14),
                    rgba(255, 255, 255, 0.04)
                );
            box-shadow:
                inset 0 0 0 12px rgba(255, 255, 255, 0.04),
                0 18px 40px rgba(0, 0, 0, 0.16);
            text-align: center;
        }

        .renewable-process-hero__badge strong,
        .renewable-process-hero__badge span {
            display: block;
        }

        .renewable-process-hero__badge strong {
            color: #f5dc91;
            font-size: 46px;
            line-height: 1;
        }

        .renewable-process-hero__badge span {
            margin-top: 10px;
            color: #ffffff;
            font-size: 14px;
            font-weight: 900;
        }

        .renewable-process-breadcrumb {
            padding: 16px 0;
            border-bottom: 1px solid #dfe9e3;
            background: #ffffff;
        }

        .renewable-process-breadcrumb__inner {
            display: flex;
            align-items: center;
            gap: 9px;
            color: #66756d;
            font-size: 13px;
            font-weight: 800;
        }

        .renewable-process-breadcrumb a {
            color: #165c38;
            text-decoration: none;
        }

        .renewable-process-breadcrumb a:hover {
            text-decoration: underline;
        }

        .renewable-process-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 310px;
            align-items: start;
            gap: 28px;
            padding-top: 42px;
            padding-bottom: 72px;
        }

        .renewable-process-article {
            min-width: 0;
        }

        .renewable-process-summary {
            padding: 24px;
            border: 1px solid #dce7e0;
            border-radius: 22px;
            background: #ffffff;
            box-shadow: 0 12px 35px rgba(18, 63, 42, 0.06);
        }

        .renewable-process-summary__label {
            display: inline-block;
            margin-bottom: 10px;
            color: #247447;
            font-size: 13px;
            font-weight: 900;
        }

        .renewable-process-summary h2 {
            margin: 0 0 12px;
            font-size: 24px;
            line-height: 1.6;
        }

        .renewable-process-summary p {
            margin: 0;
            color: #596860;
            line-height: 2.05;
        }

        .renewable-process-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
            margin-top: 26px;
        }

        .renewable-process-step {
            position: relative;
            overflow: hidden;
            min-height: 245px;
            padding: 24px;
            border: 1px solid #dce7e0;
            border-radius: 22px;
            background: #ffffff;
            box-shadow: 0 12px 35px rgba(18, 63, 42, 0.055);
        }

        .renewable-process-step::after {
            position: absolute;
            top: -40px;
            left: -40px;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: rgba(36, 116, 71, 0.045);
            content: "";
        }

        .renewable-process-step__top {
            display: flex;
            align-items: center;
            gap: 13px;
            margin-bottom: 16px;
        }

        .renewable-process-step__number {
            display: inline-flex;
            flex: 0 0 auto;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 15px;
            background: #e8f5ed;
            color: #165c38;
            font-size: 20px;
            font-weight: 900;
            box-shadow: inset 0 0 0 1px rgba(22, 92, 56, 0.08);
        }

        .renewable-process-step__type {
            color: #247447;
            font-size: 12px;
            font-weight: 900;
        }

        .renewable-process-step h2 {
            margin: 0 0 10px;
            font-size: 19px;
            line-height: 1.7;
        }

        .renewable-process-step p {
            margin: 0;
            color: #66756d;
            line-height: 1.95;
        }

        .renewable-process-download {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            margin-top: 26px;
            padding: 25px;
            border-radius: 22px;
            background:
                linear-gradient(
                    135deg,
                    #123f2a,
                    #165c38
                );
            color: #ffffff;
            box-shadow: 0 16px 40px rgba(18, 63, 42, 0.16);
        }

        .renewable-process-download h2 {
            margin: 0 0 8px;
            font-size: 22px;
        }

        .renewable-process-download p {
            margin: 0;
            color: rgba(255, 255, 255, 0.78);
            line-height: 1.9;
        }

        .renewable-process-download__button {
            display: inline-flex;
            flex: 0 0 auto;
            align-items: center;
            justify-content: center;
            min-height: 54px;
            padding: 0 24px;
            border-radius: 14px;
            background: #d5a72d;
            color: #17241d;
            font-size: 14px;
            font-weight: 900;
            text-decoration: none;
            box-shadow:
                0 8px 0 #987213,
                0 12px 24px rgba(0, 0, 0, 0.16);
            transition:
                transform 0.2s ease,
                box-shadow 0.2s ease;
        }

        .renewable-process-download__button:hover {
            transform: translateY(2px);
            box-shadow:
                0 5px 0 #987213,
                0 9px 18px rgba(0, 0, 0, 0.14);
        }

        .renewable-process-note {
            margin-top: 26px;
            padding: 22px;
            border-right: 5px solid #d5a72d;
            border-radius: 18px;
            background: #fffaf0;
        }

        .renewable-process-note strong {
            display: block;
            margin-bottom: 8px;
            color: #73590e;
        }

        .renewable-process-note p {
            margin: 0;
            color: #6c6249;
            line-height: 2;
        }

        .renewable-process-sidebar {
            position: sticky;
            top: 24px;
        }

        .renewable-process-sidebar__box {
            padding: 22px;
            border: 1px solid #dce7e0;
            border-radius: 22px;
            background: #ffffff;
            box-shadow: 0 12px 35px rgba(18, 63, 42, 0.06);
        }

        .renewable-process-sidebar__box + .renewable-process-sidebar__box {
            margin-top: 18px;
        }

        .renewable-process-sidebar h2 {
            margin: 0 0 14px;
            font-size: 18px;
        }

        .renewable-process-sidebar ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .renewable-process-sidebar li + li {
            margin-top: 9px;
        }

        .renewable-process-sidebar a {
            display: block;
            padding: 10px 12px;
            border-radius: 10px;
            color: #526158;
            font-size: 13px;
            font-weight: 800;
            line-height: 1.7;
            text-decoration: none;
        }

        .renewable-process-sidebar a:hover {
            background: #eaf6ef;
            color: #165c38;
        }

        .renewable-process-sidebar__source {
            margin: 0;
            color: #66756d;
            font-size: 13px;
            line-height: 1.95;
        }

        .renewable-process-related {
            padding: 54px 0 66px;
            border-top: 1px solid #dfe9e3;
            background: #ffffff;
        }

        .renewable-process-related__heading {
            margin-bottom: 22px;
        }

        .renewable-process-related__heading span {
            color: #247447;
            font-size: 13px;
            font-weight: 900;
        }

        .renewable-process-related__heading h2 {
            margin: 7px 0 0;
            font-size: 28px;
        }

        .renewable-process-related__grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .renewable-process-related__card {
            display: block;
            padding: 22px;
            border: 1px solid #dce7e0;
            border-radius: 20px;
            background: #f8fbf9;
            color: #1f2b25;
            text-decoration: none;
            transition:
                transform 0.2s ease,
                border-color 0.2s ease;
        }

        .renewable-process-related__card:hover {
            transform: translateY(-3px);
            border-color: #9fc5ad;
        }

        .renewable-process-related__card span {
            color: #247447;
            font-size: 12px;
            font-weight: 900;
        }

        .renewable-process-related__card h3 {
            margin: 9px 0 8px;
            font-size: 18px;
            line-height: 1.7;
        }

        .renewable-process-related__card p {
            margin: 0;
            color: #66756d;
            font-size: 14px;
            line-height: 1.9;
        }

        @media (max-width: 1050px) {
            .renewable-process-hero__content {
                grid-template-columns: 1fr;
            }

            .renewable-process-hero__badge {
                display: none;
            }

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

            .renewable-process-sidebar {
                position: static;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 18px;
            }

            .renewable-process-sidebar__box + .renewable-process-sidebar__box {
                margin-top: 0;
            }
        }

        @media (max-width: 720px) {
            .renewable-process-hero {
                padding: 56px 0;
            }

            .renewable-process-grid,
            .renewable-process-related__grid,
            .renewable-process-sidebar {
                grid-template-columns: 1fr;
            }

            .renewable-process-download {
                align-items: stretch;
                flex-direction: column;
            }

            .renewable-process-download__button {
                width: 100%;
            }

            .renewable-process-step {
                min-height: initial;
            }
        }
        
        
        .news-filter-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 22px;
    margin: 24px 0 30px;
    padding: 18px 20px;
    border: 1px solid rgba(18, 92, 55, 0.13);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(18, 63, 42, 0.06);
}

.news-filter-panel__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-filter-panel__label {
    color: #294437;
    font-size: 12px;
    font-weight: 900;
}


/* ایران / بین‌الملل */

.news-region-filter {
    display: flex;
    align-items: center;
    gap: 7px;
}

.news-region-filter__button {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid #d7e3dc;
    border-radius: 12px;
    background: #f7faf8;
    color: #315243;
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.news-region-filter__button:hover {
    border-color: #247447;
    transform: translateY(-1px);
}

.news-region-filter__button.is-active {
    border-color: #165c38;
    background: #165c38;
    color: #ffffff;
}


/* تاریخ */

.news-date-filter {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.news-date-filter__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-date-filter__field label {
    color: #66756d;
    font-size: 11px;
    font-weight: 800;
}

.news-date-filter__input {
    width: 145px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d7e3dc;
    border-radius: 12px;
    outline: none;
    background: #f7faf8;
    color: #173d2b;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    direction: ltr;
}

.news-date-filter__input:focus {
    border-color: #247447;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(36, 116, 71, 0.10);
}

.news-date-filter__input.is-invalid {
    border-color: #b83e3e;
}


/* پاک کردن */

.news-filter-reset {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #f2cf55;
    color: #173d2b;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
}

.news-filter-reset:hover {
    background: #e8c347;
}


/* تعداد */

.news-filter-status {
    min-height: 44px;
    display: flex;
    align-items: center;
    margin-inline-start: auto;
    color: #66756d;
    font-size: 12px;
    font-weight: 800;
}

.news-filter-status strong {
    margin-right: 4px;
    color: #165c38;
    font-size: 16px;
}


/* فیلتر شده */

.news-card[hidden] {
    display: none !important;
}


@media (max-width: 950px) {
    .news-filter-panel {
        align-items: stretch;
    }

    .news-filter-panel__group {
        width: 100%;
    }

    .news-filter-status {
        width: 100%;
        margin-inline-start: 0;
    }
}


@media (max-width: 650px) {
    .news-filter-panel {
        gap: 16px;
        padding: 15px;
    }

    .news-region-filter {
        display: grid;
        grid-template-columns: 1fr;
    }

    .news-region-filter__button {
        width: 100%;
    }

    .news-date-filter {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .news-date-filter__field,
    .news-date-filter__input {
        width: 100%;
    }

    .news-filter-reset {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* ==================================================
   PHOTOSUN NEWS — PREMIUM MOBILE
   افزودن در انتهای style.css
================================================== */

@media (max-width: 680px) {

    /* =========================================
       تنظیمات کلی صفحه
    ========================================== */

    .news-page {
        overflow-x: hidden;
        background:
            linear-gradient(
                180deg,
                #f4f8f5 0%,
                #ffffff 38%,
                #f5f8f6 100%
            );
    }

    .news-page .container {
        width: calc(100% - 28px);
    }


    /* =========================================
       هیرو اخبار
    ========================================== */

    .news-page-hero {
        min-height: 310px;
        align-items: flex-end;
        padding: 42px 0 38px;
        text-align: right;
        background-position: 58% center;
    }

    .news-page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(
                180deg,
                rgba(3, 25, 17, 0.30),
                rgba(3, 25, 17, 0.91)
            );
        pointer-events: none;
    }

    .news-page-hero-content {
        width: 100%;
        max-width: none;
    }

    .news-page-hero .section-label {
        margin-bottom: 8px;
        color: #f0d589;
        font-size: 13px;
        font-weight: 900;
    }

    .news-page-hero h1 {
        margin-bottom: 10px;
        font-size: clamp(32px, 10vw, 43px);
        line-height: 1.45;
    }

    .news-page-hero p {
        max-width: 100%;
        font-size: 15px;
        line-height: 2;
    }


    /* =========================================
       جعبه جست‌وجو و فیلتر
    ========================================== */

    .news-tools-section {
        padding-top: 18px;
    }

    .news-tools-box,
    .news-tools-pro {
        gap: 17px;
        margin: 0;
        padding: 16px;
        border-radius: 20px;
        background: #ffffff;
        box-shadow:
            0 12px 35px rgba(15, 66, 43, 0.08);
    }

    .news-search-box label,
    .news-tools-pro__search label,
    .news-tools-pro__label {
        margin-bottom: 7px;
        font-size: 13px;
        font-weight: 900;
    }

    .news-search-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .news-search-row input {
        min-height: 48px;
        padding-inline: 14px;
        border-radius: 13px;
        font-size: 14px;
    }

    .news-search-row button {
        width: 100%;
        min-height: 47px;
        padding: 8px 15px;
        border-radius: 13px;
        font-size: 14px;
        box-shadow:
            0 4px 0 var(--gold-600);
    }


    /* فیلترهای دسته‌بندی */

    .news-filter-box,
    .news-category-filter {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 2px 0 8px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .news-filter-box::-webkit-scrollbar,
    .news-category-filter::-webkit-scrollbar {
        display: none;
    }

    .news-filter-box > span {
        display: none;
    }

    .news-filter {
        min-width: max-content;
        min-height: 40px;
        flex: 0 0 auto;
        padding: 6px 15px;
        border-radius: 999px;
        font-size: 13px;
        scroll-snap-align: start;
    }


    /* فیلتر ایران و بین‌الملل */

    .news-region-filter {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .news-region-filter__button {
        width: 100%;
        min-height: 43px;
        border-radius: 12px;
        font-size: 13px;
    }


    /* فیلتر تاریخ */

    .news-date-filter {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .news-date-filter__field,
    .news-date-filter__input {
        width: 100%;
    }

    .news-date-filter__input {
        min-height: 44px;
        border-radius: 12px;
        font-size: 12px;
    }

    .news-filter-reset {
        width: 100%;
        min-height: 45px;
        border-radius: 12px;
    }


    /* =========================================
       عنوان لیست اخبار
    ========================================== */

    .news-list-section {
        min-height: 0;
        padding: 32px 0 62px;
    }

    .news-list-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: end;
        gap: 12px;
        margin-bottom: 20px;
    }

    .news-list-heading .section-label {
        margin-bottom: 3px;
        font-size: 13px;
    }

    .news-list-heading h2 {
        margin: 0;
        font-size: 28px;
        line-height: 1.45;
    }

    .news-list-heading p {
        grid-column: 1 / -1;
        margin-top: 4px;
        font-size: 14px;
        line-height: 1.9;
    }

    .news-count {
        align-self: center;
        padding: 5px 10px;
        border: 1px solid rgba(199, 160, 74, 0.22);
        border-radius: 999px;
        background: #fffaf0;
        font-size: 12px;
        white-space: nowrap;
    }


    /* =========================================
       گرید و کارت‌بندی اخبار
    ========================================== */

    .news-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .news-grid > .news-card,
    .news-grid > .satba-tariff-card {
        width: 100%;
        min-width: 0;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        overflow: hidden;
        border-radius: 20px;
        background: #ffffff;
        box-shadow:
            0 11px 30px rgba(16, 67, 44, 0.08);
    }

    .news-grid > .news-card:hover,
    .news-grid > .satba-tariff-card:hover {
        transform: none;
    }


    /* =========================================
       کارت‌های معمولی SATBA
    ========================================== */

    .satba-tariff-card__link {
        display: block;
        height: auto;
        padding: 17px;
    }

    .satba-tariff-card__top {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 15px;
    }

    .satba-tariff-card__badges {
        gap: 6px;
    }

    .satba-tariff-card__badge {
        min-height: 26px;
        padding-inline: 9px;
        font-size: 10px;
    }

    .satba-tariff-card__date {
        flex: 0 0 auto;
        padding-top: 4px;
        font-size: 11px;
    }

    .satba-tariff-card__content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .satba-tariff-card__eyebrow {
        margin-bottom: 5px;
        font-size: 11px;
    }

    .satba-tariff-card h3 {
        font-size: 20px;
        line-height: 1.75;
    }

    .satba-tariff-card p {
        display: -webkit-box;
        margin-top: 8px;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.95;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .satba-tariff-card__price {
        min-height: 0;
        padding: 15px 16px;
        border-radius: 15px;
    }

    .satba-tariff-card__price > span {
        font-size: 11px;
    }

    .satba-tariff-card__price strong {
        margin-top: 2px;
        font-size: 28px;
    }

    .satba-tariff-card__price small {
        font-size: 10px;
    }

    .satba-tariff-card__bottom {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 15px;
        padding-top: 14px;
    }

    .satba-tariff-card__audience {
        font-size: 11px;
        line-height: 1.8;
    }

    .satba-tariff-card__button {
        width: 100%;
        min-height: 42px;
        border-radius: 12px;
        font-size: 12px;
    }


    /* =========================================
       کارت زنده بازار برق
    ========================================== */

    .news-card-live,
    .news-card-pinned {
        grid-column: 1 !important;
        width: 100%;
        border-radius: 20px;
    }

    .news-live-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 16px;
    }

    .news-live-top > div {
        gap: 9px;
    }

    .news-live-badge,
    .news-live-source,
    .news-live-updated {
        font-size: 11px;
    }

    .news-live-content {
        padding: 17px;
    }

    .news-live-heading {
        margin-bottom: 16px;
    }

    .news-live-heading h3 {
        margin-bottom: 8px;
        font-size: 21px;
        line-height: 1.65;
    }

    .news-live-heading p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.9;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .news-live-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .news-live-stat {
        min-height: 108px;
        padding: 13px;
        border-radius: 15px;
    }

    .news-live-stat > span {
        margin-bottom: 5px;
        font-size: 10px;
    }

    .news-live-stat > strong {
        font-size: 18px;
        line-height: 1.45;
    }

    .news-live-stat > small {
        font-size: 9px;
    }

    .news-live-status {
        font-size: 16px !important;
    }

    .news-live-footer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 13px;
        margin-top: 15px;
        padding-top: 15px;
    }

    .news-live-trade-status {
        font-size: 11px;
        line-height: 1.8;
    }

    .news-live-link {
        width: 100%;
        min-height: 43px;
        border-radius: 12px;
    }


    /* =========================================
       حالت بدون نتیجه
    ========================================== */

    .news-empty-state,
    .news-filter-empty {
        min-height: 180px;
        padding: 25px 17px;
        border-radius: 18px;
        font-size: 13px;
    }


    /* =========================================
       بخش انتهایی تماس
    ========================================== */

    .news-subscribe-section {
        padding-bottom: 58px;
    }

    .news-subscribe-box {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 19px;
        border-radius: 20px;
    }

    .news-subscribe-box h2 {
        font-size: 24px;
        line-height: 1.6;
    }

    .news-subscribe-box p {
        font-size: 14px;
        line-height: 1.9;
    }

    .news-subscribe-box .btn {
        width: 100%;
        min-height: 47px;
    }
}


@media (max-width: 420px) {

    .news-page .container {
        width: calc(100% - 22px);
    }

    .news-page-hero {
        min-height: 290px;
    }

    .news-page-hero h1 {
        font-size: 31px;
    }

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

    .news-count {
        width: max-content;
    }

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

    .news-live-stats {
        grid-template-columns: 1fr;
    }

    .satba-tariff-card__top {
        flex-direction: column;
    }

    .satba-tariff-card__date {
        padding-top: 0;
    }
}

.news-card {
    overflow: hidden;

    border: 1px solid rgba(8, 71, 48, 0.10);
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 15px 45px rgba(8, 55, 37, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 22px 55px rgba(8, 55, 37, 0.12);
}


.news-card-image {
    position: relative;

    display: block;

    width: 100%;
    height: 230px;

    overflow: hidden;
}


.news-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.news-card:hover .news-card-image img {
    transform: scale(1.05);
}


.news-card-category {
    position: absolute;

    right: 16px;
    bottom: 15px;

    padding: 6px 13px;

    border-radius: 999px;

    background: #0a563b;
    color: #ffffff;

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


.news-card-content {
    padding: 21px;
}


.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 10px;

    color: #8a968f;

    font-size: 12px;
}


.news-card-content h3 {
    margin: 0 0 11px;

    color: #0b4c35;

    font-size: 20px;
    line-height: 1.8;
}


.news-card-content h3 a {
    color: inherit;
    text-decoration: none;
}


.news-card-content p {
    margin: 0 0 17px;

    color: #68756d;

    font-size: 14px;
    line-height: 1.95;
}


.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding-top: 14px;

    border-top:
        1px solid rgba(8, 71, 48, 0.08);
}


.news-card-footer > span {
    color: #919d96;

    font-size: 11px;
}


.news-card-link {
    color: #0b573c;

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

    text-decoration: none;
}


@media (max-width: 650px) {

    .news-card-image {
        height: 205px;
    }

    .news-card-content {
        padding: 18px;
    }

    .news-card-content h3 {
        font-size: 19px;
    }

}