/* =====================================
   Petro Artavil Lian
   Responsive Design
===================================== */


/* =========================
   Large Tablet
========================= */

@media (max-width:1200px){


.container{
    width:92%;
}



.products-list{

    grid-template-columns:repeat(3,1fr);

}


.hero-content h1{

    font-size:40px;

}


}



/* =========================
   Tablet
========================= */

@media (max-width:992px){



.container{

    width:90%;

}



/* Header */


.header .container{

    flex-wrap:wrap;

}


nav{

    gap:15px;

}


nav a{

    font-size:14px;

}



/* Hero */


.hero-slider{

    height:520px;

}


.hero-content{

    width:80%;

}


.hero-content h1{

    font-size:35px;

}


.hero-content h2{

    font-size:22px;

}





/* Search */


.search-card{

    padding:30px;

}


.search-wrapper{

    flex-direction:column;

}


.search-wrapper input,
.search-wrapper button{

    width:100%;

}



/* Products */


.products-list{

    grid-template-columns:repeat(2,1fr);

}



/* Product Detail */


.product-detail-box{

    flex-direction:column;

}


.product-big-image,
.product-info{

    width:100%;

}



/* Footer */


.footer-container{

    grid-template-columns:repeat(2,1fr);

}


}





/* =========================
   Mobile
========================= */

@media (max-width:600px){



body{

    overflow-x:hidden;

}


/* =========================
   Header Mobile
========================= */


.header{

    padding:15px 0;

}


.header .container{

    display:flex;

    flex-direction:row;

    justify-content:space-between;

    align-items:center;

}


.logo img{

    width:42px;

    height:42px;

}


.logo span{

    font-size:15px;

}


nav{

    display:none;

}


.language-btn{

    width:42px;

    height:42px;

}





/* =========================
   Hero Mobile
========================= */


.hero-slider{

    height:360px;

}


.slide{

    background-position:center;

}


.hero-content{

    width:100%;

    padding:20px;

    text-align:center;

}


.hero-content h1{

    font-size:24px;

    line-height:1.5;

}


.hero-content h2{

    font-size:17px;

}


.hero-content p{

    display:none;

}



.hero-buttons{

    display:flex;

    flex-direction:column;

    gap:10px;

}


.hero-buttons a{

    width:100%;

    padding:12px;

}





/* =========================
   Search
========================= */


.search-section{

    margin-top:-35px;

    padding-bottom:40px;

}



.search-card{

    border-radius:25px;

    padding:20px;

}


.search-card h2{

    font-size:20px;

}


.search-wrapper{

    flex-direction:column;

}


.search-wrapper input{

    height:55px;

}


.search-wrapper button{

    height:55px;

}



/* Search Result */


#search-result{

    position:relative;

    width:100%;

}


.search-item{

    display:flex;

    align-items:center;

}





/* =========================
   Products
========================= */


.products-list{

    grid-template-columns:1fr;

}


.shop-product{

    width:100%;

}


.product-image img{

    width:100%;

}





/* =========================
   Special Discount
========================= */


.discount-box{

    padding:15px;

}


.discount-header{

    flex-direction:column;

    gap:15px;

}


.timer{

    transform:scale(.85);

}





/* =========================
   Product Page
========================= */


.product-detail{

    padding:30px 0;

}


.product-info h1{

    font-size:23px;

}


.product-price strong{

    font-size:22px;

}


.buy-btn{

    width:100%;

}





/* =========================
   Footer
========================= */


.footer-container{

    grid-template-columns:1fr;

    text-align:center;

}



}

/* =========================
   Footer Responsive Fix
========================= */


footer{

    margin-top:50px;

}


.footer-container{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    padding:40px 0;

}



.footer-container h3{

    font-size:20px;

    margin-bottom:15px;

}


.footer-container p{

    line-height:2;

}



.copyright{

    text-align:center;

    padding:20px;

    font-size:14px;

}



/* Tablet */

@media(max-width:992px){


.footer-container{

    grid-template-columns:repeat(2,1fr);

}



}



/* Mobile */

@media(max-width:600px){


footer{

    margin-top:30px;

}


.footer-container{

    display:flex;

    flex-direction:column;

    gap:25px;

    text-align:center;

    padding:30px 0;

}


.footer-container h3{

    font-size:18px;

}


.footer-container p{

    font-size:14px;

}



.copyright{

    font-size:13px;

    padding:15px;

}



}

/* =========================
   Products Page Mobile
========================= */


.products-page .products-list{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}



@media(max-width:992px){


.products-page .products-list{

    grid-template-columns:repeat(2,1fr);

}


}



@media(max-width:600px){


.products-page .products-list{

    grid-template-columns:1fr;

}



.product-card,
.shop-product{

    width:100%;

}



.product-card img,
.shop-product img{

    max-width:100%;

    height:auto;

}



}

/* =========================
   Product Detail Mobile
========================= */


.product-detail-box{

    display:flex;

    gap:40px;

    align-items:flex-start;

}



.product-big-image{

    flex:1;

}



.product-info{

    flex:1;

}



.product-big-image img{

    max-width:100%;

    height:auto;

    border-radius:25px;

}



.buy-message{

    margin-top:20px;

}





@media(max-width:768px){



.product-detail{

    padding:30px 0;

}



.product-detail-box{

    flex-direction:column;

    gap:25px;

}



.product-big-image,
.product-info{

    width:100%;

}



.product-info h1{

    font-size:24px;

    line-height:1.7;

}



.product-status{

    display:inline-block;

    margin:10px 0;

}



.product-price{

    margin:15px 0;

}



.product-price strong{

    font-size:22px;

}



.product-info p{

    font-size:15px;

    line-height:2;

}



.product-info ul{

    padding-right:20px;

}



.buy-btn{

    width:100%;

    height:55px;

    border-radius:30px;

    font-size:16px;

}



.buy-message{

    text-align:center;

    padding:20px;

}



}

/* =========================
   Contact Page Responsive
========================= */


/* Desktop */

.contact-wrapper{

    display:flex;
    gap:40px;
    align-items:flex-start;

}


.contact-info,
.contact-form{

    flex:1;

}



/* Tablet */

@media(max-width:992px){


.contact-wrapper{

    gap:25px;

}


.contact-title h1{

    font-size:32px;

}



}




/* Mobile */

@media(max-width:600px){



.contact-page{

    padding:30px 0;

}



.contact-title{

    text-align:center;

}



.contact-title h1{

    font-size:26px;

}



.contact-title p{

    font-size:14px;

    line-height:2;

}



/* ستون ها زیر هم */

.contact-wrapper{

    flex-direction:column;

    gap:25px;

}



/* اطلاعات تماس */

.contact-info,
.contact-form{

    width:100%;

}



.contact-info h2,
.contact-form h2,
.working-hours h2{

    font-size:21px;

}



.contact-item{

    display:flex;

    align-items:center;

    gap:12px;

}



.contact-item p{

    font-size:14px;

    word-break:break-word;

}



/* فرم */


.contact-form form{

    width:100%;

}



.contact-form input,
.contact-form textarea{

    width:100%;

    box-sizing:border-box;

    font-size:15px;

}



.contact-form textarea{

    min-height:140px;

}



.send-btn{

    width:100%;

    height:55px;

    border-radius:30px;

}



/* ساعات کاری */


.working-hours{

    text-align:center;

    margin-top:30px;

}



.working-hours p{

    font-size:15px;

}



}

/* =========================
   About Page Responsive
========================= */


/* Desktop */

.about-header{

    text-align:center;

}


.about-box{

    text-align:center;

}


.about-features{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}



/* Tablet */

@media(max-width:992px){


.about-header h1{

    font-size:32px;

}


.about-features{

    gap:20px;

}



}



/* Mobile */

@media(max-width:600px){


.about-page{

    padding:30px 0;

}



.about-header h1{

    font-size:25px;

    line-height:1.7;

}



.about-header p{

    font-size:14px;

}



.about-box{

    padding:20px;

    margin-top:25px;

}



.about-box h2{

    font-size:21px;

}



.about-box p{

    font-size:15px;

    line-height:2.2;

    text-align:justify;

}



/* ویژگی ها */

.about-features{

    display:flex;

    flex-direction:column;

    gap:15px;

    margin-top:25px;

}



.about-features div{

    width:100%;

    padding:20px;

}



.about-features h3{

    font-size:30px;

}



.about-features p{

    font-size:15px;

}



}

@media(max-width:600px){

.header .container{

    flex-direction:column;
    gap:15px;

}


@media(max-width:600px){

nav{

    width:100%;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:8px;

}


nav a{

    text-align:center;

    font-size:13px;

    padding:10px 5px;

    background:#f5f5f5;

    border-radius:10px;

}


}


nav a{

    font-size:13px;

    padding:6px 10px;

}


}

/* =========================================================
   FINAL MOBILE FIX - PETRO ARTAVIL LIAN HOMEPAGE
   این بخش باید آخر responsive.css باشد
========================================================= */

@media (max-width: 600px) {

    /* ---------- GLOBAL ---------- */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    * {
        max-width: 100%;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }


    /* =====================================================
       HEADER
    ===================================================== */

    .header {
        width: 100% !important;
        right: 0 !important;
        left: 0 !important;
        padding: 0 !important;
    }

    .header .container {
        width: 100% !important;
        height: 70px !important;

        display: flex !important;
        flex-direction: row !important;

        align-items: center !important;
        justify-content: space-between !important;

        padding: 0 15px !important;
        gap: 0 !important;
    }

    .logo {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        gap: 8px !important;

        min-width: 0 !important;
        max-width: 75% !important;
    }

    .logo img {
        width: 42px !important;
        height: 42px !important;

        flex-shrink: 0 !important;
    }

    .logo span {
        display: block !important;

        font-size: 14px !important;
        line-height: 1.4 !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .header nav {
        display: none !important;
    }

    .header-actions {
        display: flex !important;
        align-items: center !important;

        flex-shrink: 0 !important;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .hero-slider {
        width: 100% !important;
        height: 430px !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;
    }

    .slide {
        width: 100% !important;
        height: 430px !important;

        background-position: center center !important;
        background-size: cover !important;
    }

    .hero-overlay {
        width: 100% !important;
        height: 100% !important;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;

        padding: 90px 25px 30px !important;

        margin: 0 !important;

        text-align: center !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-content h1 {
        width: 100% !important;

        font-size: 27px !important;
        line-height: 1.6 !important;

        margin: 0 0 8px !important;
    }

    .hero-content h2 {
        width: 100% !important;

        font-size: 17px !important;
        line-height: 1.8 !important;

        margin: 0 0 10px !important;
    }

    .hero-content p {
        width: 100% !important;

        font-size: 13px !important;
        line-height: 2 !important;

        margin: 0 !important;
    }

    .hero-buttons {
        width: 100% !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: center !important;

        gap: 10px !important;

        margin-top: 20px !important;
    }

    .hero-buttons a {
        width: 90% !important;
        max-width: 300px !important;

        padding: 12px 20px !important;

        text-align: center !important;
    }


    /* ---------- SLIDER BUTTONS ---------- */

    .hero-slider > .slider-btn {
        width: 42px !important;
        height: 42px !important;

        top: 50% !important;

        z-index: 99999 !important;
    }

    .hero-slider > .slider-btn.prev {
        right: 10px !important;
    }

    .hero-slider > .slider-btn.next {
        left: 10px !important;
    }

    .hero-slider > .slider-btn svg {
        width: 20px !important;
        height: 20px !important;
    }


    /* =====================================================
       SEARCH
    ===================================================== */

    .search-section {
        width: 100% !important;

        margin-top: -30px !important;

        padding: 0 0 45px !important;
    }

    .search-section .container {
        padding: 0 12px !important;
    }

    .search-card,
    .search-box {
        width: 100% !important;

        padding: 22px 15px !important;

        border-radius: 22px !important;
    }

    .search-card h2,
    .search-box h2 {
        font-size: 19px !important;
        line-height: 1.7 !important;
    }

    .search-card p,
    .search-box p {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

    .search-wrapper,
    .search-input {
        width: 100% !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 10px !important;
    }

    .search-wrapper input,
    .search-input input,
    .search-input select,
    .search-wrapper button,
    .search-input button {
        width: 100% !important;

        height: 52px !important;

        box-sizing: border-box !important;
    }

    #search-result {
        width: 100% !important;

        right: 0 !important;
        left: 0 !important;

        max-height: 300px !important;
    }


    /* =====================================================
       PRODUCTS
    ===================================================== */

    .home-products {
        width: 100% !important;

        padding: 55px 0 !important;
    }

    .section-title {
        width: 100% !important;

        margin-bottom: 28px !important;
    }

    .section-title h2 {
        font-size: 25px !important;
        line-height: 1.7 !important;
    }

    .section-title p {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

    .products-list {
        width: 100% !important;

        display: grid !important;

        grid-template-columns: 1fr !important;

        gap: 18px !important;
    }

    .shop-product {
        width: 100% !important;

        min-width: 0 !important;

        padding: 12px !important;

        border-radius: 20px !important;
    }

    .product-image {
        width: 100% !important;
        height: 210px !important;

        border-radius: 15px !important;
    }

    .product-image img {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
    }

    .shop-product h3 {
        font-size: 17px !important;

        margin: 15px 0 8px !important;

        line-height: 1.7 !important;
    }

    .product-price {
        margin: 15px 0 !important;
    }

    .product-price strong {
        font-size: 21px !important;
    }

    .shop-product a {
        width: 100% !important;

        padding: 11px !important;
    }


    /* =====================================================
       SPECIAL PRODUCTS
    ===================================================== */

    .discount-products {
        width: 100% !important;

        padding: 50px 0 !important;
    }

    .discount-box {
        width: 100% !important;

        padding: 15px !important;

        border-radius: 22px !important;
    }

    .discount-header {
        width: 100% !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: center !important;

        gap: 15px !important;

        margin-bottom: 20px !important;
    }

    .discount-header h3 {
        font-size: 20px !important;
        text-align: center !important;
    }

    .timer {
        width: 100% !important;

        display: flex !important;

        justify-content: center !important;

        gap: 6px !important;
    }

    .timer span {
        width: 65px !important;
        height: 60px !important;

        padding: 8px !important;

        font-size: 18px !important;

        border-radius: 12px !important;
    }

    .timer small {
        font-size: 9px !important;
    }


    /* =====================================================
       FEATURES
    ===================================================== */

    .features-section {
        width: 100% !important;

        padding: 55px 0 !important;
    }

    .features {
        width: 100% !important;

        display: grid !important;

        grid-template-columns: 1fr 1fr !important;

        gap: 12px !important;
    }

    .feature {
        width: 100% !important;

        padding: 22px 10px !important;

        border-radius: 20px !important;
    }

    .feature h3 {
        width: 55px !important;
        height: 55px !important;

        font-size: 25px !important;

        margin-bottom: 12px !important;
    }

    .feature p {
        font-size: 13px !important;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    footer {
        width: 100% !important;

        margin: 0 !important;

        padding: 40px 0 15px !important;
    }

    .footer-container {
        width: 100% !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 25px !important;

        padding: 0 15px !important;

        text-align: center !important;
    }

    .footer-social {
        justify-content: center !important;
    }

    .footer-social a {
        width: 100% !important;
    }

    .copyright {
        font-size: 11px !important;

        padding: 15px !important;

        margin-top: 25px !important;
    }

}
@media (max-width:600px){

    footer,
    .footer-container,
    .copyright{
        position:relative !important;
        right:0 !important;
        left:0 !important;
        transform:none !important;
    }

}

@media (max-width:600px){

    .header{
        position:fixed !important;
        top:0 !important;
        right:0 !important;
        left:0 !important;
        width:100% !important;
        height:auto !important;
    }

    .header .container{
        height:auto !important;
        min-height:70px !important;

        display:flex !important;
        flex-wrap:wrap !important;

        padding:10px 15px !important;
    }

    /* لوگو */
    .logo{
        width:auto !important;
        max-width:70% !important;
    }

    /* منوی موبایل */
    .header nav{
        width:100% !important;

        display:grid !important;
        grid-template-columns:repeat(4,1fr) !important;

        gap:6px !important;

        padding:8px 0 3px !important;
    }

    .header nav a{
        display:flex !important;

        align-items:center !important;
        justify-content:center !important;

        min-height:38px !important;

        padding:7px 3px !important;

        background:#f3fbfa !important;

        border-radius:10px !important;

        color:#222 !important;

        font-size:12px !important;
        font-weight:600 !important;

        text-decoration:none !important;

        white-space:nowrap !important;
    }

    .header nav a:hover{
        background:#00a896 !important;
        color:#fff !important;
    }

    /* چون هدر دو ردیفه شد، هرو کمی پایین‌تر شروع شود */
    .hero-slider{
        margin-top:118px !important;
    }

}


/* =====================================================
   FINAL MOBILE HEADER MENU
===================================================== */

@media screen and (max-width:600px){

    html,
    body{
        width:100% !important;
        overflow-x:hidden !important;
    }

    .header{
        position:fixed !important;
        display:block !important;
        width:100% !important;
        height:auto !important;
        top:0 !important;
        right:0 !important;
        left:0 !important;
        z-index:99999 !important;
    }

    .header .container{
        width:100% !important;
        max-width:none !important;

        height:auto !important;
        min-height:0 !important;

        display:flex !important;
        flex-direction:row !important;
        flex-wrap:wrap !important;

        align-items:center !important;
        justify-content:space-between !important;

        padding:10px 15px !important;
    }


    /* لوگو */

    .header .logo{
        display:flex !important;
        width:auto !important;
        max-width:70% !important;

        flex-direction:row !important;
        align-items:center !important;

        gap:8px !important;
    }

    .header .logo img{
        width:42px !important;
        height:42px !important;
        flex-shrink:0 !important;
    }

    .header .logo span{
        display:block !important;
        font-size:14px !important;
        white-space:nowrap !important;
    }


    /* منو */

    .header nav{
        display:flex !important;

        width:100% !important;
        height:auto !important;

        flex-direction:row !important;
        flex-wrap:nowrap !important;

        align-items:center !important;
        justify-content:space-between !important;

        gap:5px !important;

        margin:8px 0 0 !important;
        padding:0 0 5px !important;

        visibility:visible !important;
        opacity:1 !important;
    }

    .header nav a{
        display:flex !important;

        width:25% !important;
        min-width:0 !important;

        height:38px !important;

        align-items:center !important;
        justify-content:center !important;

        padding:5px 2px !important;
        margin:0 !important;

        background:#f3fbfa !important;
        color:#222 !important;

        border-radius:9px !important;

        font-size:11px !important;
        font-weight:600 !important;

        text-decoration:none !important;

        white-space:nowrap !important;

        visibility:visible !important;
        opacity:1 !important;
    }

    .header nav a:hover{
        background:#00a896 !important;
        color:#fff !important;
    }


    /* هدر حالا دو ردیفه است */

    .hero-slider{
        margin-top:115px !important;
    }

}

@media screen and (max-width:600px){

    .header .container{
        width:100% !important;
        max-width:100% !important;
        margin:0 !important;

        padding-left:12px !important;
        padding-right:12px !important;
    }

    .header nav{
        width:100% !important;
        margin-left:0 !important;
        margin-right:0 !important;

        padding-left:0 !important;
        padding-right:0 !important;
    }

    .header nav a{
        box-sizing:border-box !important;
    }

}

@media screen and (max-width:600px){

    footer{
        width:100vw !important;
        max-width:100vw !important;

        margin:0 !important;
        padding-left:0 !important;
        padding-right:0 !important;

        position:relative !important;
        left:0 !important;
        right:0 !important;

        overflow:hidden !important;
        box-sizing:border-box !important;
    }

    .footer-container{
        width:100% !important;
        max-width:100% !important;

        margin:0 auto !important;

        padding-left:15px !important;
        padding-right:15px !important;

        box-sizing:border-box !important;

        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;

        text-align:center !important;
    }

    .footer-container > *{
        width:100% !important;
        max-width:100% !important;

        margin-left:auto !important;
        margin-right:auto !important;
    }

    .footer-social{
        width:100% !important;

        display:flex !important;
        justify-content:center !important;
        align-items:center !important;

        margin-left:0 !important;
        margin-right:0 !important;
    }

    .copyright{
        width:100% !important;

        margin-left:0 !important;
        margin-right:0 !important;

        padding-left:15px !important;
        padding-right:15px !important;

        box-sizing:border-box !important;

        text-align:center !important;
    }

}

.shop-product{
    overflow:hidden !important;
}

.shop-product p{
    width:100% !important;
    max-width:100% !important;

    overflow:hidden !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;

    line-height:1.8 !important;
    min-height:45px !important;
    max-height:82px !important;

    box-sizing:border-box !important;
}

@media(max-width:600px){

    .shop-product p{
        max-height:75px !important;
        overflow:hidden !important;
        overflow-wrap:anywhere !important;
        word-break:break-word !important;
    }

}

.shop-product{
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
    overflow:hidden !important;
}

.shop-product .product-image{
    flex-shrink:0 !important;
}

.shop-product h3{
    flex-shrink:0 !important;
}

.shop-product p{
    width:100% !important;
    max-width:100% !important;

    overflow:hidden !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;

    line-height:1.8 !important;
    min-height:45px !important;
}

.shop-product .product-price{
    flex-shrink:0 !important;
}

.shop-product > a{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:100% !important;
    min-height:48px !important;

    margin-top:auto !important;
    padding:12px !important;

    box-sizing:border-box !important;

    flex-shrink:0 !important;

    text-decoration:none !important;
}

.product-info{
    min-width:0 !important;
    max-width:100% !important;
    overflow:hidden !important;
}

.product-info p,
.product-info .description,
.product-description{
    width:100% !important;
    max-width:100% !important;

    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;

    line-height:2 !important;
    box-sizing:border-box !important;
}

@media(max-width:768px){

    .product-detail-box{
        width:100% !important;
        max-width:100% !important;
        overflow:hidden !important;
    }

    .product-info{
        width:100% !important;
        min-width:0 !important;
        overflow:hidden !important;
    }

    .product-info p,
    .product-info .description,
    .product-description{
        width:100% !important;
        max-width:100% !important;
        overflow-wrap:anywhere !important;
        word-break:break-word !important;
        white-space:normal !important;
    }

}

/* =========================================================
   FINAL MOBILE SIDE MENU
   Petro Artavil Lian
========================================================= */

/* دکمه همبرگری در دسکتاپ مخفی */
.mobile-menu-btn {
    display: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 768px) {

    /* ---------- HEADER ---------- */

    .header {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;

        width: 100% !important;

        z-index: 99999 !important;

        background: #fff;
    }

    .header .container {
        width: 100% !important;
        max-width: 100% !important;

        min-height: 70px !important;

        display: flex !important;
        flex-direction: row !important;

        align-items: center !important;
        justify-content: space-between !important;

        padding: 10px 15px !important;

        box-sizing: border-box !important;
    }


    /* ---------- LOGO ---------- */

    .header .logo {
        display: flex !important;

        align-items: center !important;

        gap: 8px !important;

        width: auto !important;
        max-width: 75% !important;
    }

    .header .logo img {
        width: 42px !important;
        height: 42px !important;

        flex-shrink: 0 !important;
    }

    .header .logo span {
        font-size: 14px !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;
    }


    /* =====================================================
       HAMBURGER
    ===================================================== */

    .mobile-menu-btn {
        display: flex !important;

        width: 46px !important;
        height: 46px !important;

        padding: 0 !important;
        margin: 0 !important;


        border: none !important;

        background: transparent !important;

        cursor: pointer !important;

        align-items: center !important;
        justify-content: center !important;

        flex-direction: column !important;

        gap: 6px !important;

        flex-shrink: 0 !important;

        z-index: 100001 !important;
    }

    .mobile-menu-btn span {
        display: block !important;

        width: 28px !important;
        height: 3px !important;

        background: #0f9d8a !important;

        border-radius: 10px !important;

        transition: all .3s ease !important;
    }


    /* =====================================================
       NAVIGATION
    ===================================================== */

    .header .main-nav {

        position: fixed !important;

        top: 0 !important;

        right: 0 !important;

        left: auto !important;

        width: 78% !important;

        max-width: 330px !important;

        height: 100vh !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        justify-content: flex-start !important;

        gap: 5px !important;

        padding: 100px 20px 30px !important;

        box-sizing: border-box !important;

        background: #fff !important;

        box-shadow: -10px 0 35px rgba(0,0,0,.18) !important;

        overflow-y: auto !important;

        z-index: 100000 !important;

        /* حالت بسته */

        visibility: hidden !important;

        opacity: 0 !important;

        transform: translateX(100%) !important;

        transition:
            transform .35s ease,
            opacity .3s ease,
            visibility .35s ease !important;
    }


    /* ---------- OPEN ---------- */

    .header .main-nav.active {

        visibility: visible !important;

        opacity: 1 !important;

        transform: translateX(0) !important;
    }


    /* ---------- LINKS ---------- */

    .header .main-nav a {

        display: flex !important;

        align-items: center !important;

        justify-content: flex-start !important;

        width: 100% !important;

        min-height: 52px !important;

        padding: 0 18px !important;

        margin: 3px 0 !important;

        box-sizing: border-box !important;

        border-radius: 14px !important;

        background: #f3fbfa !important;

        color: #222 !important;

        text-decoration: none !important;

        font-size: 16px !important;

        font-weight: 600 !important;

        transition:
            background .25s ease,
            color .25s ease,
            transform .25s ease !important;
    }


    .header .main-nav a:hover {

        background: #0f9d8a !important;

        color: #fff !important;

        transform: translateX(-4px) !important;
    }


    /* =====================================================
       HAMBURGER → X
    ===================================================== */

    .mobile-menu-btn.active span:nth-child(1) {

        transform:
            translateY(9px)
            rotate(45deg) !important;
    }

    .mobile-menu-btn.active span:nth-child(2) {

        opacity: 0 !important;

        transform: scale(0) !important;
    }

    .mobile-menu-btn.active span:nth-child(3) {

        transform:
            translateY(-9px)
            rotate(-45deg) !important;
    }


    /* =====================================================
       PAGE SPACE FOR FIXED HEADER
    ===================================================== */

    .hero-slider {

        margin-top: 70px !important;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media screen and (max-width: 400px) {

    .header .main-nav {

        width: 84% !important;

        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .header .main-nav a {

        font-size: 15px !important;

        min-height: 50px !important;
    }

    .header .logo span {

        font-size: 13px !important;
    }

}

/* =========================================================
   PETRO ARTAVIL LIAN
   FINAL MOBILE MENU
========================================================= */


/* =========================================================
   MOBILE MENU - DESKTOP HIDDEN
========================================================= */

.mobile-menu-btn,
.mobile-menu-header,
.mobile-menu-contact,
.mobile-menu-social {
    display: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 768px) {


    /* =========================
       HEADER
    ========================= */

    .header {
        position: fixed !important;

        top: 0 !important;
        right: 0 !important;
        left: 0 !important;

        width: 100% !important;

        height: 64px !important;

        background: #ffffff !important;

        z-index: 99999 !important;

        box-shadow:
            0 2px 15px rgba(0,0,0,.08) !important;
    }


    .header .container {

        width: 100% !important;

        height: 64px !important;

        padding:
            0 14px !important;

        margin: 0 !important;

        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;

        justify-content: space-between !important;

        box-sizing: border-box !important;
    }


    /* =========================
       LOGO
    ========================= */

    .header .logo {

        display: flex !important;

        align-items: center !important;

        gap: 7px !important;

        max-width: calc(100% - 55px) !important;

        width: auto !important;
    }


    .header .logo img {

        width: 38px !important;

        height: 38px !important;

        object-fit: contain !important;

        flex-shrink: 0 !important;
    }


    .header .logo span {

        font-size: 13px !important;

        font-weight: 700 !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;
    }


    /* =========================
       HAMBURGER
    ========================= */

    .mobile-menu-btn {

        display: flex !important;

        width: 36px !important;

        height: 36px !important;

        padding: 0 !important;

margin: 0 !important;
position: relative !important;
right: 100px !important;

        border: 0 !important;

        border-radius: 10px !important;

        background: #f1faf8 !important;

        align-items: center !important;

        justify-content: center !important;

        flex-direction: column !important;

        gap: 4px !important;

        cursor: pointer !important;

        flex-shrink: 0 !important;

        z-index: 100002 !important;

        transition: .25s ease !important;
    }


    .mobile-menu-btn:hover {

        background: #e1f5f1 !important;
    }


    .mobile-menu-btn span {

        display: block !important;

        width: 20px !important;

        height: 2px !important;

        border-radius: 10px !important;

        background: #0f9d8a !important;

        transition:
            transform .3s ease,
            opacity .2s ease !important;
    }


    /* =========================
       SIDE MENU
    ========================= */

    .header .main-nav {

        position: fixed !important;

        top: 0 !important;

        right: 0 !important;

        left: auto !important;

        width: 285px !important;

        max-width: 82vw !important;

        height: 100vh !important;

        padding: 0 !important;

        margin: 0 !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        justify-content: flex-start !important;

        gap: 0 !important;

        background: #ffffff !important;

        box-shadow:
            -12px 0 40px rgba(0,0,0,.18) !important;

        overflow-y: auto !important;

        z-index: 100001 !important;


        visibility: hidden !important;

        opacity: 0 !important;

        transform: translateX(105%) !important;


        transition:
            transform .35s cubic-bezier(.4,0,.2,1),
            opacity .3s ease,
            visibility .35s ease !important;
    }


    .header .main-nav.active {

        visibility: visible !important;

        opacity: 1 !important;

        transform: translateX(0) !important;
    }


    /* =========================
       MENU HEADER
    ========================= */

    .mobile-menu-header {

        display: flex !important;

        align-items: center !important;

        gap: 12px !important;

        padding: 25px 20px 22px !important;

        background:
            linear-gradient(
                135deg,
                #f1faf8,
                #ffffff
            ) !important;

        border-bottom:
            1px solid #e8f2f0 !important;
    }


    .mobile-menu-header img {

        width: 52px !important;

        height: 52px !important;

        object-fit: contain !important;

        flex-shrink: 0 !important;

        border-radius: 14px !important;
    }


    .mobile-menu-header strong {

        display: block !important;

        color: #222 !important;

        font-size: 15px !important;

        margin-bottom: 4px !important;
    }


    .mobile-menu-header small {

        display: block !important;

        color: #777 !important;

        font-size: 11px !important;
    }


    /* =========================
       MENU LINKS
    ========================= */

    .header .main-nav > a {

        display: flex !important;

        align-items: center !important;

        justify-content: flex-start !important;

        width: auto !important;

        min-height: 52px !important;

        margin:
            4px 14px !important;

        padding:
            0 15px !important;

        border-radius: 13px !important;

        background: transparent !important;

        color: #222 !important;

        text-decoration: none !important;

        font-size: 15px !important;

        font-weight: 600 !important;

        gap: 12px !important;

        transition:
            background .2s ease,
            color .2s ease,
            transform .2s ease !important;
    }


    .header .main-nav > a span {

        width: 32px !important;

        height: 32px !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        border-radius: 10px !important;

        background: #f1faf8 !important;

        color: #0f9d8a !important;

        font-size: 17px !important;

        flex-shrink: 0 !important;
    }


    .header .main-nav > a:hover,
    .header .main-nav > a:active {

        background: #f1faf8 !important;

        color: #0f9d8a !important;

        transform: translateX(-3px) !important;
    }


    /* =========================
       CONTACT BOX
    ========================= */

    .mobile-menu-contact {

        display: block !important;

        margin:
            15px 18px 10px !important;

        padding:
            15px !important;

        border-radius: 16px !important;

        background:
            linear-gradient(
                135deg,
                #0f9d8a,
                #087f72
            ) !important;

        color: #ffffff !important;
    }


    .mobile-menu-contact small {

        display: block !important;

        font-size: 11px !important;

        opacity: .85 !important;

        margin-bottom: 5px !important;
    }


    .mobile-menu-contact strong {

        font-size: 15px !important;
    }


    /* =========================
       SOCIAL
    ========================= */

    .mobile-menu-social {

        display: flex !important;

        justify-content: center !important;

        align-items: center !important;

        gap: 10px !important;

        padding:
            15px 20px 30px !important;

        margin-top: auto !important;
    }


    .mobile-menu-social a {

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        width: 42px !important;

        height: 42px !important;

        border-radius: 13px !important;

        background: #f1faf8 !important;

        color: #0f9d8a !important;

        text-decoration: none !important;

        font-size: 20px !important;

        transition: .2s ease !important;
    }


    .mobile-menu-social a:hover {

        background: #0f9d8a !important;

        color: #ffffff !important;

        transform: translateY(-2px) !important;
    }


    /* =========================
       HAMBURGER → X
    ========================= */

    .mobile-menu-btn.active span:nth-child(1) {

        transform:
            translateY(6px)
            rotate(45deg) !important;
    }


    .mobile-menu-btn.active span:nth-child(2) {

        opacity: 0 !important;
    }


    .mobile-menu-btn.active span:nth-child(3) {

        transform:
            translateY(-6px)
            rotate(-45deg) !important;
    }


    /* =========================
       HERO POSITION
    ========================= */

    .hero-slider {

        margin-top: 64px !important;
    }


    /* =========================
       BODY LOCK
    ========================= */

    body.menu-open {

        overflow: hidden !important;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media screen and (max-width: 380px) {

    .header .logo img {

        width: 36px !important;

        height: 36px !important;
    }


    .header .logo span {

        font-size: 12px !important;
    }


    .mobile-menu-btn {

        width: 34px !important;

        height: 34px !important;
    }


    .mobile-menu-btn span {

        width: 18px !important;
    }


    .header .main-nav {

        width: 270px !important;

        max-width: 84vw !important;
    }

}

