﻿:root {
    --red: #d71920;
    --red-dark: #a70f18;
    --purple: #7b168c;
    --purple-dark: #4b145d;
    --gold: #d29b2e;
    --dark: #27232b;
    --text: #27232b; /* کمی تیره تر از قبل */
    --muted: #5e5a63; /* از خاکستری روشن به خاکستری دودی تغییر کرد */
    --light: #faf8fb;
    --border: #ece8ee;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(46, 24, 55, 0.11);
    --radius: 22px;
    --container: 1180px;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


body {
    font-family: "Vazirmatn", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.9;
    overflow-x: hidden;
}


    body.modal-open {
        overflow: hidden;
    }


img {
    display: block;
    width: 100%;
    object-fit: cover;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font-family: inherit;
}


.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}


.section {
    padding: 110px 0;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(236, 232, 238, 0.8);
    backdrop-filter: blur(16px);
    transition: 0.35s ease;
}


    .site-header.scrolled {
        box-shadow: 0 8px 25px rgba(54, 26, 61, 0.08);
    }


.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--purple-dark);
    font-weight: 800;
    white-space: nowrap;
}


    .brand img {
        width: 53px;
        height: 53px;
        object-fit: contain;
    }


.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-right: auto;
}


    .main-nav a {
        position: relative;
        color: #514b55;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.25s ease;
    }


        .main-nav a::after {
            content: "";
            position: absolute;
            bottom: -9px;
            right: 0;
            width: 0;
            height: 2px;
            background: var(--red);
            transition: width 0.25s ease;
        }


        .main-nav a:hover {
            color: var(--red);
        }


            .main-nav a:hover::after {
                width: 100%;
            }


.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.header-cta {
    padding: 11px 18px;
    color: var(--white);
    background: var(--red);
}


    .header-cta:hover,
    .btn:hover {
        transform: scale(1.05) translateY(-3px); /* ترکیب زوم و بالا رفتن */
        box-shadow: 0 12px 25px rgba(215, 25, 32, 0.3);
    }


.mobile-menu-btn {
    display: none;
    width: 43px;
    height: 43px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
}


    .mobile-menu-btn span {
        display: block;
        width: 20px;
        height: 2px;
        margin: 4px auto;
        background: var(--purple-dark);
        transition: 0.25s ease;
    }


    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }


    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }


    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }


/* =========================
   HERO
========================= */

.hero-section {
    position: relative;
    min-height: 720px;
    padding: 170px 0 105px;
    overflow: hidden;
    background: radial-gradient( circle at 10% 30%, rgba(123, 22, 140, 0.09), transparent 30% ), linear-gradient( 135deg, #fff 0%, #faf5fb 100% );
}


.hero-pattern {
    position: absolute;
    left: -120px;
    bottom: -150px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(123, 22, 140, 0.12);
    border-radius: 50%;
}


    .hero-pattern::after {
        content: "";
        position: absolute;
        inset: 45px;
        border: 1px solid rgba(215, 25, 32, 0.13);
        border-radius: 50%;
    }


.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 75px;
}


.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
}


    .eyebrow::before,
    .section-label::before {
        content: "";
        width: 26px;
        height: 3px;
        border-radius: 5px;
        background: var(--red);
    }


.hero-content h1 {
    max-width: 650px;
    margin: 22px 0 20px;
    color: var(--purple-dark);
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.25;
    font-weight: 900;
}


    .hero-content h1 strong {
        display: block;
        color: var(--red);
    }


.hero-content p {
    max-width: 590px;
    margin-bottom: 27px;
    color: var(--muted);
    font-size: 17px;
    line-height: 2.1;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}


.btn {
    min-height: 49px;
    padding: 0 23px;
}


.btn-primary {
    color: var(--white);
    background: var(--red);
}


.btn-outline {
    color: var(--purple-dark);
    background: var(--white);
    border: 1px solid var(--purple);
}


.btn-white {
    color: var(--purple-dark);
    background: var(--white);
}


.hero-note {
    margin-top: 21px;
    color: #8a808e;
    font-size: 12px;
}


.hero-visual {
    position: relative;
}


.hero-image-frame {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(1deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(1deg);
    }
}



    .hero-image-frame:hover {
        transform: rotate(0deg) translateY(-5px);
    }


    .hero-image-frame img {
        height: 100%;
        min-height: 465px;
        object-fit: cover;
    }


.image-glow {
    position: absolute;
    z-index: 1;
    right: -80px;
    bottom: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(215, 25, 32, 0.28);
    filter: blur(45px);
}


.hero-label {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    color: var(--white);
    background: rgba(28, 19, 32, 0.68);
    backdrop-filter: blur(10px);
    font-size: 12px;
}


.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #65d26e;
    box-shadow: 0 0 0 5px rgba(101, 210, 110, 0.16);
}


/* =========================
   FEATURES
========================= */

.features-strip {
    padding: 28px 0;
    background: var(--purple-dark);
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}


.feature-icon {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
    font-size: 23px;
}


.feature-item h3 {
    font-size: 15px;
}


.feature-item p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 85px;
}


.image-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}


    .image-card img {
        height: 520px;
    }


    .image-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(34, 18, 42, 0.5), transparent 48% );
    }


.image-card-caption {
    position: absolute;
    right: 24px;
    bottom: 22px;
    z-index: 1;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}


.about-content h2,
.section-heading h2,
.video-content h2,
.contact-info h2 {
    margin: 17px 0 20px;
    color: var(--purple-dark);
    font-size: clamp(30px, 4vw, 47px);
    line-height: 1.45;
    font-weight: 900;
}


    .about-content h2 span,
    .video-content h2 span {
        color: var(--red);
    }


.about-content p,
.video-content p,
.contact-info p {
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 15px;
}


.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--red);
    font-weight: 800;
}


    .text-link span {
        transition: transform 0.25s ease;
    }


    .text-link:hover span {
        transform: translateX(-5px);
    }


/* =========================
   MACHINES
========================= */

.machines-section {
    background: var(--light);
}


.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 40px;
}


    .section-heading h2 {
        margin-bottom: 0;
    }


    .section-heading > p {
        max-width: 370px;
        color: var(--muted);
        font-size: 14px;
    }


.centered {
    display: block;
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}


    .centered .section-label {
        justify-content: center;
    }


        .centered .section-label::before {
            display: none;
        }


    .centered h2 {
        margin-top: 12px;
    }


    .centered p {
        max-width: 590px;
        margin: 0 auto;
        color: var(--muted);
    }


.machines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}


.machine-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 9px 24px rgba(51, 24, 60, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


    .machine-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow);
    }


.machine-image {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #f0eaf2;
}


    .machine-image img {
        height: 100%;
        transition: transform 0.45s ease;
    }


.machine-card:hover .machine-image img {
    transform: scale(1.05);
}


.machine-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 11px;
    border-radius: 8px;
    color: var(--white);
    background: var(--red);
    font-size: 11px;
    font-weight: 700;
}


.machine-body {
    padding: 24px;
}


    .machine-body h3 {
        margin-bottom: 9px;
        color: var(--purple-dark);
        font-size: 20px;
    }


    .machine-body p {
        min-height: 78px;
        color: var(--muted);
        font-size: 13px;
    }


.machine-meta {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    margin-top: 13px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}


    .machine-meta b {
        color: var(--red);
    }


.machine-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    border: 0;
    color: var(--purple-dark);
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}


    .machine-link span {
        color: var(--red);
        transition: transform 0.25s ease;
    }


    .machine-link:hover span {
        transform: translateX(-5px);
    }


.machine-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    color: var(--purple);
    background: linear-gradient( 135deg, rgba(123, 22, 140, 0.08), rgba(215, 25, 32, 0.08) );
}


.placeholder-icon {
    display: grid;
    width: 55px;
    height: 55px;
    place-items: center;
    border: 1px dashed var(--purple);
    border-radius: 50%;
    font-size: 30px;
}


/* =========================
   PROCESS
========================= */

.process-section {
    background: var(--white);
}


.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}


.process-item {
    position: relative;
    padding: 25px;
    border-radius: 18px;
    background: var(--light);
    transition: 0.3s ease;
}


    .process-item:hover {
        background: #f6edf8;
        transform: translateY(-5px);
    }


.process-number {
    color: var(--red);
    font-size: 37px;
    font-weight: 900;
}


.process-line {
    width: 45px;
    height: 3px;
    margin: 16px 0;
    border-radius: 5px;
    background: var(--purple);
}


.process-item h3 {
    margin-bottom: 8px;
    color: var(--purple-dark);
    font-size: 18px;
}


.process-item p {
    color: var(--muted);
    font-size: 13px;
}


/* =========================
   GALLERY
========================= */

.saffron-gallery {
    background: var(--light);
}


.gallery-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 18px;
}


.gallery-item {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: var(--white);
    cursor: pointer;
}


.gallery-large {
    grid-row: span 2;
    min-height: 520px;
}


.gallery-item img {
    height: 100%;
    transition: transform 0.5s ease;
}


.gallery-item:hover img {
    transform: scale(1.07);
}


.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(35, 17, 42, 0.62), transparent 55% );
}


.gallery-caption {
    position: absolute;
    right: 20px;
    bottom: 18px;
    z-index: 1;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}


/* =========================
   VIDEO
========================= */

.video-section {
    background: var(--white);
}


.video-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 75px;
}


.video-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: #211824;
    box-shadow: var(--shadow);
}


    .video-wrapper video {
        display: block;
        width: 100%;
        min-height: 390px;
        object-fit: cover;
    }


.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--white);
    background: linear-gradient( 135deg, rgba(64, 16, 76, 0.82), rgba(194, 21, 29, 0.5) );
    text-align: center;
}


    .video-placeholder.hidden {
        display: none;
    }


    .video-placeholder small {
        color: rgba(255, 255, 255, 0.72);
        font-size: 11px;
    }


.play-button {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    padding-right: 4px;
    border: 0;
    border-radius: 50%;
    color: var(--red);
    background: var(--white);
    cursor: pointer;
    font-size: 25px;
    transition: 0.3s ease;
}


    .play-button:hover {
        transform: scale(1.1);
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.13);
    }


.check-list {
    display: grid;
    gap: 13px;
    margin-top: 25px;
    list-style: none;
}


    .check-list li {
        position: relative;
        padding-right: 28px;
        color: var(--muted);
        font-size: 14px;
    }


        .check-list li::before {
            content: "✓";
            position: absolute;
            right: 0;
            color: var(--red);
            font-weight: 900;
        }


/* =========================
   TESTIMONIALS
========================= */

.testimonials-section {
    background: var(--light);
}


.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 45px;
}


.testimonial-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: 0.3s ease;
}


    .testimonial-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
    }


.testimonial-top {
    display: flex;
    align-items: center;
    gap: 13px;
}


    .testimonial-top img {
        width: 54px;
        height: 54px;
        border-radius: 50%;
    }


    .testimonial-top h3 {
        color: var(--purple-dark);
        font-size: 15px;
    }


    .testimonial-top span {
        color: var(--muted);
        font-size: 11px;
    }


.stars {
    margin: 18px 0 10px;
    color: var(--gold);
    letter-spacing: 3px;
}


.testimonial-card p {
    color: var(--muted);
    font-size: 13px;
}


/* =========================
   CONSULTATION
========================= */

.consultation-banner {
    padding: 70px 0;
    color: var(--white);
    background: radial-gradient( circle at 85% 20%, rgba(255, 255, 255, 0.13), transparent 25% ), linear-gradient( 120deg, var(--purple-dark), var(--purple) );
}


.consultation-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


.light-label {
    color: #f3bfd8;
}


.consultation-inner h2 {
    max-width: 650px;
    margin: 12px 0 10px;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.5;
}


.consultation-inner p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}


/* =========================
   CONTACT
========================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}


.contact-info h2 {
    font-size: clamp(30px, 4vw, 45px);
}


.contact-details {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}


.contact-detail {
    padding: 15px 18px;
    border-right: 3px solid var(--red);
    border-radius: 10px;
    background: var(--light);
}


    .contact-detail span {
        display: block;
        margin-bottom: 4px;
        color: var(--muted);
        font-size: 11px;
    }


    .contact-detail strong {
        color: var(--purple-dark);
        font-size: 14px;
    }


.contact-form {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--light);
}


.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}


.contact-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--purple-dark);
    font-size: 13px;
    font-weight: 700;
}


.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    color: var(--text);
    background: var(--white);
    font-size: 13px;
    resize: vertical;
    transition: 0.25s ease;
}


    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        border-color: var(--purple);
        box-shadow: 0 0 0 4px rgba(123, 22, 140, 0.08);
    }


.form-submit {
    width: 100%;
}


.form-message {
    display: none;
    padding: 14px;
    margin-top: 15px;
    border-radius: 10px;
    color: #247237;
    background: #e7f6e8;
    font-size: 12px;
    line-height: 1.8;
}


    .form-message.show {
        display: block;
    }


/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 55px 0 25px;
    color: rgba(255, 255, 255, 0.72);
    background: #281d2c;
}


.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr;
    gap: 55px;
    padding-bottom: 40px;
}


.footer-brand img {
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
    object-fit: contain;
}


.footer-brand p {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 2;
}


.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


    .footer-column h3 {
        margin-bottom: 8px;
        color: var(--white);
        font-size: 16px;
    }


    .footer-column a,
    .footer-column span {
        color: rgba(255, 255, 255, 0.62);
        font-size: 13px;
        transition: 0.25s ease;
    }


        .footer-column a:hover {
            color: var(--white);
            transform: translateX(-4px);
        }


.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
}


/* =========================
   LIGHTBOX
========================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(20, 10, 24, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}


    .lightbox.show {
        opacity: 1;
        visibility: visible;
    }


    .lightbox img {
        width: auto;
        max-width: min(1100px, 95vw);
        max-height: 88vh;
        border-radius: 18px;
        object-fit: contain;
        box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
    }


.lightbox-close,
.modal-close {
    position: absolute;
    border: 0;
    color: var(--white);
    background: transparent;
    cursor: pointer;
    font-size: 40px;
    line-height: 1;
}


.lightbox-close {
    top: 20px;
    left: 25px;
}


/* =========================
   MACHINE MODAL
========================= */

.machine-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 10, 24, 0.72);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}


    .machine-modal.show {
        opacity: 1;
        visibility: visible;
    }


.machine-modal-content {
    position: relative;
    width: min(600px, 100%);
    padding: 45px;
    border-radius: 25px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(20px);
    transition: 0.3s ease;
}


.machine-modal.show .machine-modal-content {
    transform: translateY(0);
}


.machine-modal-content h2 {
    margin: 15px 0;
    color: var(--purple-dark);
    font-size: 30px;
}


.machine-modal-content p {
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 14px;
}


.modal-close {
    top: 18px;
    left: 20px;
    color: var(--purple-dark);
    font-size: 34px;
}


/* =========================
   REVEAL
========================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}


    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }


.reveal-delay-1 {
    transition-delay: 0.1s;
}


.reveal-delay-2 {
    transition-delay: 0.2s;
}


.reveal-delay-3 {
    transition-delay: 0.3s;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {

    .hero-grid {
        gap: 45px;
    }


    .about-grid {
        gap: 50px;
    }


    .video-grid {
        gap: 45px;
    }


    .contact-grid {
        gap: 45px;
    }
}


@media (max-width: 900px) {

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: var(--white);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.25s ease;
    }


        .main-nav.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }


        .main-nav a {
            padding: 12px 15px;
        }


            .main-nav a::after {
                display: none;
            }


    .mobile-menu-btn {
        display: block;
    }


    .header-cta {
        display: none;
    }


    .hero-grid {
        grid-template-columns: 1fr;
    }


    .hero-content {
        text-align: center;
    }


    .eyebrow {
        justify-content: center;
    }


    .hero-content p {
        margin-right: auto;
        margin-left: auto;
    }


    .hero-actions {
        justify-content: center;
    }


    .hero-note {
        text-align: center;
    }


    .features-grid {
        grid-template-columns: 1fr;
    }


    .about-grid {
        grid-template-columns: 1fr;
    }


    .machines-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .video-grid {
        grid-template-columns: 1fr;
    }


    .testimonials-grid {
        grid-template-columns: 1fr;
    }


    .contact-grid {
        grid-template-columns: 1fr;
    }


    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 650px) {

    .container {
        width: min( var(--container), calc(100% - 28px) );
    }


    .section {
        padding: 75px 0;
    }


    .header-inner {
        min-height: 70px;
    }


    .brand span {
        font-size: 13px;
    }


    .brand img {
        width: 45px;
        height: 45px;
    }


    .hero-section {
        min-height: auto;
        padding: 130px 0 70px;
    }


    .hero-content h1 {
        font-size: 39px;
    }


    .hero-content p {
        font-size: 14px;
    }


    .hero-image-frame {
        min-height: 350px;
        border-width: 7px;
        border-radius: 22px;
    }


        .hero-image-frame img {
            min-height: 350px;
        }


    .section-heading {
        display: block;
    }


        .section-heading > p {
            margin-top: 15px;
        }


    .machines-grid {
        grid-template-columns: 1fr;
    }


    .process-grid {
        grid-template-columns: 1fr;
    }


    .gallery-grid {
        grid-template-columns: 1fr;
    }


    .gallery-large {
        grid-row: auto;
        min-height: 350px;
    }


    .gallery-item {
        min-height: 250px;
    }


    .consultation-inner {
        flex-direction: column;
        align-items: flex-start;
    }


    .contact-form {
        padding: 22px;
    }


    .form-row {
        grid-template-columns: 1fr;
    }


    .footer-grid {
        grid-template-columns: 1fr;
    }


    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }


    .machine-modal-content {
        padding: 35px 22px;
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Product Carousel Section */
/*.product-slider-section {
    padding: 80px 0;
    background: #fff;
}

.product-slider-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.product-slide {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    background: var(--white);
    text-align: center;
    transition: 0.4s ease;
}*/

    .product-slide:hover {
        border-color: var(--red);
        box-shadow: var(--shadow);
    }

    .product-slide img {
        border-radius: 15px;
        height: 200px;
        margin-bottom: 15px;
    }

    .product-slide h4 {
        color: var(--purple-dark);
        font-size: 16px;
        margin-bottom: 5px;
    }
/*.showcase-gallery {
    padding: 60px 0;
    background: #fdfdfd;
}

.showcase-swiper {
    width: 100%;
    padding: 50px 0;
}

    .showcase-swiper .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 300px;
        height: 300px;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

        .showcase-swiper .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--purple));
    z-index: 9999;
}
.showcase-swiper .swiper-slide {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 6px 6px rgba(0,0,0,0.05);
}*/

/* =========================================================
   SHOWCASE GALLERY
========================================================= */

.showcase-gallery {
    padding: 60px 0;
    background: #fdfdfd;
}

.showcase-swiper {
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
}

    .showcase-swiper .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 300px;
        /* فقط ارتفاع را بیشتر کردیم */
        height: 390px;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    .showcase-swiper .swiper-slide-active {
        transform: scale(1.06);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    }

    .showcase-swiper .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }


/* موبایل */

@media (max-width: 700px) {

    .showcase-swiper {
        padding: 45px 0;
    }

        .showcase-swiper .swiper-slide {
            width: 280px;
            height: 350px;
        }
}

/* Glassmorphism Effect */
.machine-card,
.testimonial-card,
.process-item {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(236, 232, 238, 0.6) !important;
}
.petal-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* این خط حیاتی است: اجازه می‌دهد کلیک‌ها از روی گلبرگ‌ها عبور کنند */
    pointer-events: none;
    overflow: hidden;
    z-index: 0; /* پشت همه چیز باشد */
}

/* در موبایل، اگر گلبرگ‌ها خیلی شلوغ هستند، کمی شفافیت‌شان را کم کنید */
@media (max-width: 991px) {
    .petal-layer {
        opacity: 0.6; /* کمی محوتر شوند تا خوانایی متن بیشتر شود */
    }
}


/* تنظیم عمومی برای هر دو لایه */
.petal-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain; /* یا cover بسته به ابعاد تصویر */
    background-position: center;
}

    /* لایه پشتی (دور) */
    .petal-layer:nth-child(1) {
        background-image: url('/images/petals-back.png');
    }

    /* لایه جلویی (نزدیک) */
    .petal-layer:nth-child(2) {
        background-image: url('/images/petals-front.png');
    }


/* در موبایل حرکت خودکار (وول خوردن) */
@media (max-width: 991px) {
    .petal-layer {
        animation: floatAnimation 10s ease-in-out infinite;
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(15px, -15px) rotate(5deg);
    }
}
/* تنظیم کانتینر اصلی اسلایدر */
.showcase-swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* ظاهر هر اسلاید */
.showcase-swiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px; /* عرض اسلاید */
    height: 300px; /* ارتفاع اسلاید */
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.5s;
    filter: grayscale(20%); /* کمی حالت هنری */
}

/* وقتی اسلاید در مرکز قرار می‌گیرد (در دسکتاپ) */
.showcase-swiper .swiper-slide-active {
    filter: grayscale(0%);
    transform: scale(1.1); /* کمی بزرگتر شدن اسلاید وسط */
}

/* جلوگیری از بیرون زدن تصاویر */
.showcase-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}









/* =========================================================
   TOOS PRODUCT TABS
   نسخه اختصاصی محصولات
========================================================= */

.products-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 10% 15%, rgba(123, 22, 140, 0.055), transparent 28% ), radial-gradient( circle at 90% 85%, rgba(215, 25, 32, 0.045), transparent 28% ), var(--light);
}


/* =========================
   HEADING
========================= */

.products-heading {
    position: relative;
    z-index: 2;
}

    .products-heading h2 {
        margin-top: 12px;
    }

.products-heading-accent {
    color: var(--red);
}


/* =========================
   TABS WRAPPER
========================= */

.product-tabs-wrapper {
    position: relative;
    margin-bottom: 42px;
}


/* =========================
   TABS
========================= */

.product-tabs {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    padding: 9px;
    border: 1px solid rgba(123, 22, 140, 0.10);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 50px rgba(65, 28, 76, 0.07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =========================
   TAB BUTTON
========================= */

.product-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 58px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 17px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}


    .product-tab:hover {
        color: var(--purple-dark);
        background: rgba(123, 22, 140, 0.055);
        transform: translateY(-2px);
    }


    .product-tab.active {
        color: var(--white);
        background: linear-gradient( 135deg, var(--purple-dark), var(--purple) );
        border-color: rgba(255, 255, 255, 0.14);
        box-shadow: 0 12px 28px rgba(75, 20, 93, 0.24);
        transform: translateY(-2px);
    }


/* =========================
   TAB ICON
========================= */

.product-tab-icon {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 10px;
    color: var(--purple-dark);
    background: rgba(123, 22, 140, 0.08);
    font-size: 15px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}


.product-tab:hover .product-tab-icon {
    transform: rotate(8deg) scale(1.05);
}


.product-tab.active .product-tab-icon {
    color: var(--purple-dark);
    background: rgba(255, 255, 255, 0.92);
}


/* =========================
   TAB COUNTER
========================= */

.product-tab b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 50px;
    color: var(--purple-dark);
    background: rgba(123, 22, 140, 0.09);
    font-size: 10px;
    font-weight: 900;
    transition: background 0.3s ease, color 0.3s ease;
}


.product-tab.active b {
    color: var(--purple-dark);
    background: rgba(255, 255, 255, 0.94);
}


/* =========================
   TAB LINE
========================= */

.product-tabs-line {
    position: relative;
    height: 2px;
    margin: 0 20px;
    background: rgba(123, 22, 140, 0.07);
}


    .product-tabs-line span {
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 2px;
        border-radius: 10px;
        background: linear-gradient( 90deg, var(--red), var(--purple) );
        transition: right 0.45s cubic-bezier( 0.175, 0.885, 0.32, 1.275 ), width 0.45s cubic-bezier( 0.175, 0.885, 0.32, 1.275 );
    }


/* =========================
   PRODUCTS STAGE
========================= */

.products-stage {
    position: relative;
    min-height: 580px;
}


/* =========================
   PRODUCTS GRID
========================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}


    .products-grid.is-changing {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }


/* =========================
   PRODUCT CARD
========================= */

.toos-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 505px;
    border: 1px solid rgba(123, 22, 140, 0.10);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 35px rgba(51, 24, 60, 0.065);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(0);
    transition: transform 0.45s cubic-bezier( 0.175, 0.885, 0.32, 1.275 ), box-shadow 0.45s ease, border-color 0.35s ease;
}


    .toos-product-card:hover {
        transform: translateY(-11px);
        border-color: rgba(123, 22, 140, 0.20);
        box-shadow: 0 25px 55px rgba(60, 25, 70, 0.13);
    }


    /* =========================
   PRODUCT CARD TOP GLOW
========================= */

    .toos-product-card::before {
        content: "";
        position: absolute;
        top: -90px;
        left: -90px;
        width: 190px;
        height: 190px;
        border-radius: 50%;
        background: rgba(123, 22, 140, 0.08);
        filter: blur(20px);
        pointer-events: none;
        transition: transform 0.5s ease, opacity 0.5s ease;
    }


    .toos-product-card:hover::before {
        transform: scale(1.25);
        opacity: 0.85;
    }


/* =========================
   PRODUCT IMAGE
========================= */

.toos-product-image {
    position: relative;
    height: 265px;
    overflow: hidden;
    background: linear-gradient( 145deg, #f7f1f8, #eee5f0 );
}


    .toos-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s cubic-bezier( 0.175, 0.885, 0.32, 1.275 );
    }


.toos-product-card:hover
.toos-product-image img {
    transform: scale(1.075);
}


/* =========================
   IMAGE OVERLAY
========================= */

.toos-product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(31, 16, 38, 0.35), transparent 48% );
    pointer-events: none;
}


/* =========================
   CATEGORY BADGE
========================= */

.toos-product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: var(--white);
    background: rgba(55, 22, 65, 0.76);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 10px;
    font-weight: 800;
}


.toos-product-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #65d26e;
    box-shadow: 0 0 0 4px rgba(101, 210, 110, 0.13);
}


/* =========================
   PRODUCT NUMBER
========================= */

.toos-product-number {
    position: absolute;
    bottom: 14px;
    left: 16px;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    color: var(--white);
    background: rgba(30, 15, 35, 0.68);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 900;
}


/* =========================
   PRODUCT BODY
========================= */

.toos-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px 23px 21px;
}


.toos-product-category {
    margin-bottom: 6px;
    color: var(--red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2px;
}


.toos-product-title {
    margin-bottom: 10px;
    color: var(--purple-dark);
    font-size: 21px;
    line-height: 1.55;
    font-weight: 900;
}


.toos-product-description {
    min-height: 55px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 2;
    margin-bottom: 15px;
}


/* =========================
   PRODUCT META
========================= */

.toos-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid rgba(123, 22, 140, 0.08);
}


.toos-product-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}


    .toos-product-meta-item span {
        color: var(--muted);
        font-size: 9px;
    }


    .toos-product-meta-item strong {
        color: var(--purple-dark);
        font-size: 12px;
        font-weight: 900;
    }


/* =========================
   PRODUCT ACTION
========================= */

.toos-product-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 15px;
    padding: 11px 14px;
    border: 1px solid rgba(123, 22, 140, 0.10);
    border-radius: 13px;
    color: var(--purple-dark);
    background: rgba(123, 22, 140, 0.045);
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}


    .toos-product-action span:last-child {
        color: var(--red);
        font-size: 17px;
        transition: transform 0.3s ease;
    }


    .toos-product-action:hover {
        color: var(--white);
        border-color: transparent;
        background: linear-gradient( 135deg, var(--purple-dark), var(--purple) );
        transform: translateY(-2px);
    }


        .toos-product-action:hover span:last-child {
            color: var(--white);
            transform: translateX(-5px);
        }


/* =========================
   ACCESSORY DIFFERENTIATION
========================= */

.toos-product-card[data-category="accessory"]
.toos-product-badge {
    background: rgba(164, 116, 32, 0.88);
}


.toos-product-card[data-category="inverter"]
.toos-product-badge {
    background: rgba(75, 20, 93, 0.90);
}


/* =========================
   EMPTY STATE
========================= */

.products-empty {
    grid-column: 1 / -1;
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    border: 1px dashed rgba(123, 22, 140, 0.20);
    border-radius: 25px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.55);
}


    .products-empty strong {
        color: var(--purple-dark);
        font-size: 18px;
    }


/* =========================
   FOOTER
========================= */

.products-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 27px;
}


.products-counter {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}


.products-counter-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #65d26e;
    box-shadow: 0 0 0 5px rgba(101, 210, 110, 0.11);
}


.products-consultation {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    transition: transform 0.3s ease;
}


    .products-consultation strong {
        font-size: 17px;
        transition: transform 0.3s ease;
    }


    .products-consultation:hover {
        transform: translateX(-3px);
    }


        .products-consultation:hover strong {
            transform: translateX(-5px);
        }


/* =========================
   PRODUCT CARD ENTRY ANIMATION
========================= */

.product-card-enter {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
}


.product-card-enter-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier( 0.175, 0.885, 0.32, 1.275 );
}


/* =========================
   PRODUCT MODAL
========================= */

.product-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 2800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(24, 10, 29, 0.78);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


    .product-detail-modal.show {
        opacity: 1;
        visibility: visible;
    }


.product-detail-modal-content {
    position: relative;
    width: min(850px, 100%);
    max-height: min(720px, 92vh);
    overflow-y: auto;
    border: 1px solid rgba(123, 22, 140, 0.14);
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 35px 100px rgba(20, 8, 25, 0.35);
    transform: translateY(25px) scale(0.97);
    transition: transform 0.4s cubic-bezier( 0.175, 0.885, 0.32, 1.275 );
}


.product-detail-modal.show
.product-detail-modal-content {
    transform: translateY(0) scale(1);
}


.product-detail-modal-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
}


.product-detail-modal-image {
    min-height: 430px;
    overflow: hidden;
    border-radius: 30px 0 0 30px;
    background: #f3edf4;
}


    .product-detail-modal-image img {
        width: 100%;
        height: 100%;
        min-height: 430px;
        object-fit: cover;
    }


.product-detail-modal-body {
    padding: 45px 38px;
}


    .product-detail-modal-body .section-label {
        margin-bottom: 10px;
    }


    .product-detail-modal-body h2 {
        margin: 8px 0 16px;
        color: var(--purple-dark);
        font-size: clamp(25px, 4vw, 38px);
        line-height: 1.45;
    }


    .product-detail-modal-body p {
        color: var(--muted);
        font-size: 14px;
        line-height: 2.1;
    }


.product-detail-modal-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 25px 0;
}


.product-detail-info-box {
    padding: 14px;
    border: 1px solid rgba(123, 22, 140, 0.09);
    border-radius: 14px;
    background: rgba(123, 22, 140, 0.035);
}


    .product-detail-info-box span {
        display: block;
        margin-bottom: 4px;
        color: var(--muted);
        font-size: 10px;
    }


    .product-detail-info-box strong {
        color: var(--purple-dark);
        font-size: 13px;
    }


.product-detail-modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(123, 22, 140, 0.10);
    border-radius: 13px;
    color: var(--purple-dark);
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    font-size: 26px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}


    .product-detail-modal-close:hover {
        color: var(--white);
        background: var(--red);
        transform: rotate(90deg);
    }


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .product-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }


    .product-tab {
        width: 100%;
    }


    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .product-detail-modal-grid {
        grid-template-columns: 1fr;
    }


    .product-detail-modal-image {
        min-height: 300px;
        max-height: 330px;
        border-radius: 30px 30px 0 0;
    }


        .product-detail-modal-image img {
            min-height: 300px;
        }
}


@media (max-width: 650px) {

    .product-tabs-wrapper {
        margin-bottom: 30px;
    }


    .product-tabs {
        grid-template-columns: 1fr;
        padding: 7px;
        border-radius: 20px;
    }


    .product-tab {
        justify-content: flex-start;
        padding: 0 15px;
        min-height: 53px;
    }


    .product-tabs-line {
        display: none;
    }


    .products-stage {
        min-height: 0;
    }


    .products-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .toos-product-card {
        min-height: 0;
        border-radius: 23px;
    }


    .toos-product-image {
        height: 235px;
    }


    .toos-product-body {
        padding: 20px 18px 18px;
    }


    .toos-product-title {
        font-size: 19px;
    }


    .products-footer {
        flex-direction: column;
        align-items: flex-start;
    }


    .product-detail-modal {
        padding: 12px;
    }


    .product-detail-modal-content {
        border-radius: 23px;
        max-height: 94vh;
    }


    .product-detail-modal-image {
        min-height: 230px;
        max-height: 250px;
        border-radius: 23px 23px 0 0;
    }


        .product-detail-modal-image img {
            min-height: 230px;
        }


    .product-detail-modal-body {
        padding: 32px 20px 25px;
    }


    .product-detail-modal-info {
        grid-template-columns: 1fr 1fr;
    }
}


@media (prefers-reduced-motion: reduce) {

    .product-tab,
    .toos-product-card,
    .toos-product-image img,
    .product-detail-modal,
    .product-detail-modal-content {
        transition: none !important;
    }
}
/* کارت محصول مدرن */
.toos-product-card {
    background: #ffffff; /* زمینه کارت را سفید ملایم می‌کنیم برای خوانایی بیشتر */
    border-radius: 20px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .toos-product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    }

/* دکمه فانتزی و جذاب */
.btn-toos-custom {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); /* رنگ بنفش-آبی مدرن */
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    transition: 0.3s;
    border: none;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
}

    .btn-toos-custom:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(106, 17, 203, 0.5);
        color: white;
    }

/* بهبود خوانایی قیمت */
.price-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
}

.price-value {
    color: #4a148c; /* بنفش تیره */
    font-size: 18px;
    font-weight: 800;
}
