/* =========================================
   1. متغیرهای رنگی و تنظیمات پایه (Base)
   ========================================= */
   /* =========================================
   معرفی فونت متغیر (Variable Font) اختصاصی
   ========================================= */
@font-face {
    font-family: 'MyCustomFont';
    src: url('fonts/Pinar-VF[wght-KSHD-DSTY].woff2') format('woff2');
    font-weight: 100 900; /* این خط به مرورگر می‌فهماند که این فونت متغیر است و همه وزن‌ها را دارد */
    font-style: normal;
    font-display: swap;
}
:root {
    --primary-orange: #FF6A00;
    --dark-orange: #e65c00;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --bg-body: #f8f9fa;
    --border-light: #f0f0f0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'MyCustomFont', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.d-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* =========================================
   2. هدر سایت، جستجو و دکمه همبرگری
   ========================================= */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar a { color: var(--primary-orange); }
.m-right { margin-right: 20px; }

.navbar { padding: 15px 0; }
.logo h1 { margin: 0; font-size: 1.8rem; color: var(--text-dark); }
.logo h1 span { color: var(--primary-orange); }

.search-form {
    display: flex;
    background: #f1f2f6;
    border-radius: 50px;
    padding: 5px 15px;
    width: 300px;
}
.search-form input { border: none; background: transparent; outline: none; width: 100%; font-family: 'Vazirmatn'; }
.search-form button { background: none; border: none; color: var(--primary-orange); cursor: pointer; font-weight: bold; }

.btn-consultation {
    background: var(--primary-orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
}
.btn-consultation:hover { background: var(--dark-orange); }

.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0;
}

/* =========================================
   3. نوار منوی دسترسی (زیر هدر)
   ========================================= */
.header-bottom-menu {
    background: var(--text-dark);
    color: var(--white);
}

.header-bottom-menu .d-flex-between { align-items: center; }

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;
    color: var(--white);
    padding: 15px 5px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-menu li a:hover { color: var(--primary-orange); }

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-orange);
    transition: 0.3s;
}

.nav-menu li a:hover::after { width: 100%; }

.menu-contact { font-size: 0.9rem; }
.menu-contact a { color: var(--primary-orange); font-weight: bold; }
.menu-contact a { color: var(--primary-orange); font-weight: bold; }

/* مخفی کردن دکمه ضربدر منو در نسخه دسکتاپ */
.close-menu-btn {
    display: none;
}

/* =========================================
   4. بنر اصلی (Hero Section)
   ========================================= */
/* =========================================
   4. بنر اصلی (Hero Section)
   ========================================= */
.hero-section { 
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)), url('ban1111.png'); 
    background-size: cover; 
    background-position: center; 
    color: var(--primary-orange); 
    padding: 1px 0 110px 0; 
    text-align: center; 
}
.hero-content h1 { font-size: 5rem; margin-bottom: 30px; }
.hero-content p { font-size: 3rem; margin-bottom: 30px; }
.hero-content h2 { font-size: 2.5rem; margin-bottom: 30px; }
/* استایل دکمه روی بنر اصلی */
.btn-hero-call {
    display: inline-block;
    background: var(--primary-orange);
    color: var(--white);
    padding: 12px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.4); /* یک سایه نارنجی ملایم */
    transition: all 0.3s ease;
}

.btn-hero-call:hover {
    background: var(--white);
    color: var(--primary-orange);
    transform: translateY(-3px); /* در هاور کمی بالا می‌پرد */
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.6);
}

/* =========================================
   5. کارت‌های دسته‌بندی و مشتریان
   ========================================= */
.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.cat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: var(--text-dark);
    display: block;
}
.cat-card img { width: 90px; height: 90px; object-fit: contain; margin-bottom: 15px; transition: 0.3s;}
.cat-card h3 { margin: 0; font-size: 1.1rem; transition: 0.3s; }
.cat-card:hover { background: var(--primary-orange); transform: translateY(-10px); }
.cat-card:hover h3 { color: var(--white); }
.cat-card:hover img { transform: scale(1.1); filter: brightness(0) invert(1); }

.clients-section {
    background: var(--white);
    padding: 25px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    margin: 40px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.clients-section img { height: 45px; filter: grayscale(100%); transition: 0.3s; opacity: 0.6; }
.clients-section img:hover { filter: grayscale(0%); opacity: 1; }

/* =========================================
   6. شبکه محصولات (Product Grid)
   ========================================= */
.py-5 { padding: 50px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.8rem; color: var(--text-dark); margin-bottom: 10px; }
.section-title p { color: var(--text-muted); margin: 0; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    align-items: start;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.swiper { width: 100%; aspect-ratio: 1 / 1; background-color: var(--white); position: relative; overflow: hidden; }
.swiper-slide { display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; }
.swiper-slide img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }

/* =========================================
   تغییر دکمه‌های اسلایدر صفحه اصلی به دایره‌ای شیک
   ========================================= */
.swiper-button-next, .swiper-button-prev { 
    background: rgba(255, 255, 255, 0.9) !important; 
    color: #ff6a00 !important; /* رنگ نارنجی */
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important; /* تبدیل به دایره کامل */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    z-index: 10 !important; 
    display: flex !important; 
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important; /* حذف تغییر سایز قبلی */
    transition: all 0.3s ease !important;
}

/* هاور (تغییر رنگ وقتی ماوس روی آن می‌رود) */
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: #ff6a00 !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.4) !important;
}

/* تنظیم سایز فلش داخلی دکمه‌های صفحه اصلی */
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold !important;
}

/* کوچک‌تر شدن دایره‌ها در موبایل */
@media (max-width: 768px) {
    .swiper-button-next, .swiper-button-prev { 
        width: 35px !important;
        height: 35px !important;
    }
    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 16px !important;
    }
}

.product-info { padding: 15px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.product-title { font-size: 1.1rem; color: var(--text-dark); margin: 0 0 10px 0; font-weight: 600; }
.product-price { font-size: 1.15rem; color: var(--primary-orange); font-weight: bold; margin: 0 0 15px 0; }

/* =========================================
   7. صفحه تکی محصول (Single Product)
   ========================================= */
.single-product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
    align-items: start;
}

.product-gallery { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 15px; }
.product-details { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; }

.main-image img { width: 100%; height: 400px; object-fit: contain; border-radius: 12px; border: 1px solid var(--border-light); padding: 10px; }
.thumbnail-images { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; }
.thumbnail-images img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.thumbnail-images img:hover { border-color: var(--primary-orange); }

.product-details h1 { font-size: 2rem; margin-top: 0; margin-bottom: 15px; }
.product-details .price { font-size: 1.6rem; color: var(--primary-orange); font-weight: bold; margin-bottom: 25px; }

.btn-whatsapp { background: var(--primary-orange); color: var(--white); text-align: center; padding: 12px; border-radius: 50px; font-weight: bold; font-size: 1.1rem; margin-bottom: 25px; display: block;}
.btn-call-order { border: 2px solid var(--primary-orange); color: var(--primary-orange); text-align: center; padding: 12px; border-radius: 8px; font-weight: bold; font-size: 1.1rem; margin-bottom: 20px; display: block;}

.product-contents { list-style: none; padding: 0; margin: 0 0 20px 0; border-top: 1px solid var(--border-light); }
.product-contents li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed #e0e0e0; font-weight: 500; }
.product-contents li span { color: var(--text-muted); }

/* =========================================
   8. فوتر سایت
   ========================================= */
.main-footer { background: var(--text-dark); color: #b2bec3; padding: 50px 0 20px; margin-top: 50px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer-col h4 { color: var(--white); margin-bottom: 15px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #b2bec3; }
.copyright { text-align: center; border-top: 1px solid #444; margin-top: 30px; padding-top: 15px; font-size: 0.85rem; }

/* =========================================
   استایل جدید و حرفه‌ای فوتر
   ========================================= */
.main-footer {
    background: var(--text-dark); /* خاکستری تیره */
    color: #d1d8e0;
    padding: 60px 0 20px 0;
    margin-top: 80px;
    border-top: 5px solid var(--primary-orange); /* خط نارنجی بالای فوتر */
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4 span {
    color: var(--primary-orange);
}

/* خط کوچک زیر تیترهای فوتر */
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-orange);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #d1d8e0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-orange);
    padding-right: 10px; /* افکت جابجایی در هاور */
}

.social-btn {
    display: inline-block;
    background: var(--primary-orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: bold;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

/* =========================================
   9. رسپانسیو و بهینه‌سازی موبایل
   ========================================= */
@media (max-width: 768px) {
    /* =====================================
       تغییر عکس بنر اختصاصی برای موبایل
       ===================================== */
    .hero-section {
        /* اسم عکس موبایل خود را در خط زیر جایگزین کنید */
        background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)), url('ban1112.png') !important;
        background-size: cover;
        background-position: center;
        padding: 20px 0 20px 0 !important; /* ارتفاع بنر را در موبایل کمی جمع‌وجورتر کردیم */
    }
    /* هدر و منوی کشویی */
    .hamburger-menu { display: block; }
    .top-bar .d-flex-between { flex-direction: column; gap: 5px; text-align: center; }
    .navbar .d-flex-between { justify-content: space-between; flex-wrap: wrap; }
    .search-form { order: 3; width: 100%; margin-top: 15px; }
    .nav-actions { display: none; }
    
    .header-bottom-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--text-dark);
        z-index: 1000;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    .header-bottom-menu.active { display: block; }
    .header-bottom-menu .d-flex-between { flex-direction: column; align-items: flex-start; padding: 0; }
    .nav-menu { flex-direction: column; width: 100%; gap: 0; }
    .nav-menu li a { padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; }
    .menu-contact { display: flex; flex-direction: column; padding: 20px; gap: 15px; background: #1e2426; width: 100%; }
/* لایه تاریک پشت منو */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.6);
        z-index: 990 !important; /* این عدد باید کمتر از ۱۰۰۰ باشد */
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
    }
    .menu-overlay.active { opacity: 1; visibility: visible; }

    /* استایل منوی کشویی از سمت راست */
    .header-bottom-menu {
        display: block !important;
        position: fixed;
        top: 0;
        right: -300px; /* منو در ابتدا بیرون از کادر سمت راست است */
        width: 260px; /* عرض منو در موبایل */
        height: 100vh;
        background: var(--text-dark);
        z-index: 2000 !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* انیمیشن نرم ورود */
        overflow-y: auto; /* اگر منو طولانی بود اسکرول بخورد */
        padding-top: 60px; /* باز کردن فضا برای دکمه بستن */
    }
    .header-bottom-menu.active { right: 0; /* ورود به صفحه */ }
    
    .header-bottom-menu .d-flex-between { flex-direction: column; align-items: flex-start; padding: 0; }
    
    /* دکمه بستن (ضربدر) */
    .close-menu-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        color: var(--white);
        font-size: 2.5rem;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }
    .close-menu-btn:hover { color: var(--primary-orange); }

    .nav-menu { flex-direction: column; width: 100%; gap: 0; }
    .nav-menu li a { padding: 15px 25px; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; }
    .menu-contact { display: flex; flex-direction: column; padding: 25px; gap: 15px; background: #1e2426; width: 100%; margin-top: auto;}
    /* بنر، مشتریان و دسته‌بندی‌ها */
    .hero-content h1 { font-size: 1.8rem; }
/* مخفی کردن کارت‌های دسته‌بندی فقط در نسخه موبایل */
    .category-cards { 
        display: none !important; 
    }    /* مخفی کردن بخش مشتریان فقط در نسخه موبایل */
    .clients-section { 
        display: none !important; 
    }

    /* گرید محصولات دو ستونه مینیمال */
    .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; padding: 0 5px; }
    .product-card { border-radius: 8px; }
    
    /* تنظیمات لمس و ورق زدن (Swiper) در موبایل */
    .product-grid .swiper { touch-action: pan-y; -webkit-overflow-scrolling: touch; }
    .product-grid .swiper-slide { pointer-events: auto !important; }
    .product-grid .swiper-pagination, .swiper-button-next, .swiper-button-prev { display: none !important; }
    .product-grid .swiper-slide img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 8px !important; padding: 0 !important; }

    /* اطلاعات کارت در موبایل */
    .product-info { padding: 10px 5px !important; }
    .product-title { font-size: 0.85rem !important; margin-bottom: 5px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .product-price { font-size: 0.95rem !important; margin-bottom: 5px !important; }

    /* صفحه تکی در موبایل */
    .single-product-container { grid-template-columns: 1fr; gap: 20px; padding: 15px; }
    .product-gallery { grid-column: 1; grid-row: 1; }
    .product-details { grid-column: 1; grid-row: 2; }
    .main-image img { height: 280px; }
}
/* =========================================
   استایل نهایی دکمه‌های گالری (دسکتاپ و موبایل)
   ========================================= */

/* کادر اصلی عکس - بسیار مهم که relative باشد */
.main-image {
    position: relative !important;
    display: block;
    width: 100%;
    overflow: hidden;
}

.gallery-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: #ff6a00 !important;
    border: none !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    cursor: pointer;
    z-index: 100 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: all 0.2s ease-in-out !important;
    padding: 0 !important;
}

.gallery-nav-btn:hover {
    background: #ff6a00 !important;
    color: #ffffff !important;
}

/* تنظیم فاصله از لبه‌ها در سایت راست‌چین */
.right-btn { 
    right: 15px !important; 
    left: auto !important; 
}

.left-btn { 
    left: 15px !important; 
    right: auto !important; 
}

/* اصلاح برای موبایل (دکمه‌ها کمی کوچک‌تر شوند تا روی محتوا را نگیرند) */
@media (max-width: 768px) {
    .gallery-nav-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 18px !important;
    }
    .right-btn { right: 8px !important; }
    .left-btn { left: 8px !important; }
}
/* =========================================
   شخصی‌سازی متون بنر اصلی (رنگ‌بندی و جابجایی)
   ========================================= */

/* ۱. تغییر رنگ کلمه "نورا" به مشکی شیک */
.hero-section h1 {
    color: #222222 !important; 
}

/* ۲. تغییر رنگ کلمه "پک" به نارنجی */
.hero-section h1 span {
    color: #ff6a00 !important; 
}

/* ۳. رنگ مستقل برای متن پایین (تضمین قیمت و کیفیت) */
.hero-section p {
    color: #ff6a00 !important; /* این یک رنگ خاکستری تیره است، می‌توانید کد رنگش را تغییر دهید */
}


/* =========================================
   شخصی‌سازی بنر (حذف قطعی نوارهای اسکرول)
   ========================================= */

/* جلوگیری از اسکرول افقی کل صفحه */
body, html {
    overflow-x: hidden !important;
}

/* ۱. رنگ‌بندی متون */
.hero-section h1 { color: #222222 !important; }
.hero-section h1 span { color: #ff6a00 !important; }
.hero-section p { color: #555555 !important; }

/* ۲. جابجایی به سمت چپ (فقط دسکتاپ) و نابود کردن اسکرول‌ها */
@media (min-width: 769px) {
    .hero-section h1, 
    .hero-section h2, 
    .hero-section a, 
    .hero-section button {
        transform: translateX(-310px) !important; 
        
        /* این ۳ خط جلوی هرگونه نوار اسکرول داخلی را می‌گیرند */
        overflow: hidden !important; 
        height: auto !important; 
        line-height: normal !important;
        
        /* کمی فاصله از پایین تا نقطه‌های حروف فارسی (مثل پ، ی) قیچی نشود */
        padding-bottom: 5px !important; 
    }
}

/* ۳. تنظیمات ویژه برای موبایل (جمع‌وجور و مرتب) */
@media (max-width: 768px) {
    .hero-section {
        min-height: 250px !important; 
        background-position: right center !important; 
    }
    
    .hero-section h1, 
    .hero-section h2, 
    .hero-section a, 
    .hero-section button {
        transform: none !important; 
        overflow: hidden !important;
        height: auto !important;
    }
}
/* =========================================
   تنظیم سایز فونت‌های بنر (دسکتاپ و موبایل)
   ========================================= */

/* ۱. سایز فونت‌ها در لپ‌تاپ و کامپیوتر */
.hero-section h1 {
    font-size: 55px !important; /* سایز بزرگ برای تیتر "نورا پک" */
}

.hero-section h2 {
    font-size: 40px !important; /* سایز برای متن "تضمین قیمت و کیفیت" */
}

.hero-section a, 
.hero-section button {
    font-size: 18px !important; /* سایز فونت دکمه "مشاوره رایگان" */
}

/* ۲. سایز فونت‌ها در موبایل (صفحه‌های کوچکتر از 768 پیکسل) */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px !important; /* سایز جمع‌وجورتر برای تیتر در موبایل */
    }
    
    .hero-section h2 {
        font-size: 28px !important; /* سایز خوانا برای متن در موبایل */
    }
    
    .hero-section a, 
    .hero-section button {
        font-size: 14px !important; /* سایز دکمه در موبایل */
    }
}
/* =========================================
   استایل اینماد شناور در گوشه صفحه
   ========================================= */
.enamad-floating {
    position: fixed;
    bottom: 20px; /* فاصله از پایین صفحه */
    left: 20px;   /* فاصله از سمت چپ صفحه */
    z-index: 9999; /* قرار گرفتن روی تمام اجزای سایت */
    background-color: rgba(255, 255, 255, 0.95); /* پس‌زمینه سفید شیشه‌ای */
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.enamad-floating:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.3); /* هاله نارنجی در زمان هاور */
}

/* کوچک کردن سایز عکس تا مزاحم دید کاربر نشود */
.enamad-floating img {
    width: 70px !important; 
    height: auto !important;
}

/* تنظیمات بسیار مهم برای موبایل */
@media (max-width: 768px) {
    .enamad-floating {
        bottom: 15px;
        left: 15px;
        padding: 5px;
        border-radius: 8px;
        /* در موبایل کمی شفاف‌تر می‌شود تا روی محتوا را نگیرد */
        background-color: rgba(255, 255, 255, 0.85); 
    }
    
    .enamad-floating img {
        width: 50px !important; /* در موبایل خیلی نقلی و جمع‌وجور می‌شود */
    }
}
/* =========================================
   استایل فرم سفارش سریع (رفع به هم ریختگی)
   ========================================= */
.order-form-box {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.order-form-box h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: right;
}

/* این بخش جادویی تمام فیلدها را به صورت ستونی زیر هم می‌چیند */
.order-form-box form {
    display: flex;
    flex-direction: column; 
    gap: 12px; /* فاصله یکدست و استاندارد بین فیلدها */
}

.order-form-box label {
    font-size: 14px;
    font-weight: bold;
    color: #555;
}

/* تنظیم سایز و ظاهر کادرهای ورودی */
.order-form-box input, 
.order-form-box textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box; /* برای جلوگیری از بیرون زدن کادرها */
    transition: all 0.3s ease;
}

/* تغییر رنگ کادر وقتی کاربر روی آن کلیک می‌کند */
.order-form-box input:focus, 
.order-form-box textarea:focus {
    outline: none;
    border-color: #ff6a00;
    box-shadow: 0 0 5px rgba(255, 106, 0, 0.2);
}

.order-form-box textarea {
    min-height: 80px;
    resize: vertical;
}

/* استایل دکمه پرداخت */
.order-form-box .btn-submit {
    background-color: #ff6a00;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    margin-top: 5px;
}

.order-form-box .btn-submit:hover {
    background-color: #e65c00;
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.3);
}